body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 10px;
  background: #f5f5f5;
}

.form-box {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.form-box textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  resize: none;
  box-sizing: border-box;
  outline: none;
}

.form-box textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}

.form-box button {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #3b82f6;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.form-box button:active {
  background: #1d4ed8;
}

.post {
  background: #fff;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

.post-tags {
  font-weight: bold;
  color: #444;
  margin-bottom: 6px;
  display: block;
}

.post-text {
  margin-bottom: 10px;
  line-height: 1.4;
  white-space: pre-wrap;
}

.post-meta {
  background: #f0f4ff;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #555;
}

.post-meta a {
  color: #3b82f6;
  text-decoration: none;
}

.post-meta a:hover {
  text-decoration: underline;
}

.time-ago {
  color: #888;
  margin-top: 5px;
  display: inline-block;
  font-size: 12px;
}

.tags-filter {
  margin-bottom: 14px;
}

.tag-btn {
  display: inline-block;
  background: #e5e7eb;
  padding: 6px 10px;
  margin: 4px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  transition: 0.2s;
}

.tag-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #2563eb;
}
