/* ─── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f0f2f5;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --primary: #667eea;
  --primary-hover: #5a6fd6;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --success: #10b981;
  --warning: #f59e0b;
  --border: #e8ecf1;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "JetBrains Mono", "Consolas", monospace;
  --max-width: 720px;
  --nav-height: 64px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--primary-hover); }

img { max-width: 100%; height: auto; border-radius: var(--radius-xs); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Navbar ─────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,236,241,0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand {
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links a:hover {
  background: var(--bg);
  color: var(--primary);
}

.nav-links a.nav-active {
  background: var(--primary-gradient);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
}

/* ─── Profile Header ─────────────────────────────────────────────── */
.profile-header {
  position: relative;
  margin: 0 -20px 24px;
  padding: 60px 20px 32px;
  background: var(--primary-gradient);
  text-align: center;
  border-radius: 0 0 32px 32px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 3px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2rem;
  color: #fff;
  backdrop-filter: blur(10px);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.profile-bio {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  max-width: 400px;
  margin: 0 auto;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
}

.profile-stat {
  text-align: center;
  color: rgba(255,255,255,0.9);
}

.profile-stat-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.profile-stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ─── Category Filter ────────────────────────────────────────────── */
.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 0 4px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
  cursor: pointer;
}

.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(102,126,234,0.06);
}

.tag.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}

/* ─── Post Cards (Weibo-style feed) ──────────────────────────────── */
.posts-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  border: 1px solid var(--border);
  overflow: hidden;
}

.post-card:hover {
  box-shadow: var(--shadow);
  border-color: #dce0e8;
}

.post-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 0;
}

.post-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.post-card-author {
  flex: 1;
  min-width: 0;
}

.post-card-author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.post-card-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(102,126,234,0.1);
  color: var(--primary);
}

.post-card-body {
  padding: 12px 24px 20px;
}

.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.post-card-title a {
  color: var(--text);
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-summary {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 24px 16px;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 12px;
}

.post-card-action {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.post-card-action:hover {
  background: var(--bg);
  color: var(--primary);
}

/* ─── Full Post Page ─────────────────────────────────────────────── */
.post-full-wrapper {
  margin: 20px 0;
}

.post-full {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 32px 40px;
}

.post-full .post-card-header {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.post-full .post-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.post-full .post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-full .post-category {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(102,126,234,0.1);
  color: var(--primary);
}

/* ─── Post Content (Markdown) ────────────────────────────────────── */
.post-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #2d3748;
}

.post-content h1, .post-content h2, .post-content h3,
.post-content h4, .post-content h5, .post-content h6 {
  margin: 1.8em 0 0.6em;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.3px;
}

.post-content h1 { font-size: 1.7rem; }
.post-content h2 { font-size: 1.4rem; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.post-content h3 { font-size: 1.2rem; }
.post-content p { margin-bottom: 1.1em; }
.post-content ul, .post-content ol { margin-bottom: 1.1em; padding-left: 1.8em; }
.post-content li { margin-bottom: 0.3em; }

.post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 14px 22px;
  margin: 1.2em 0;
  background: rgba(102,126,234,0.04);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  color: var(--text-secondary);
}

.post-content pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.88rem;
  margin: 1.2em 0;
  font-family: var(--font-mono);
  line-height: 1.6;
}

.post-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: #f0f2f5;
  padding: 2px 6px;
  border-radius: 4px;
  color: #e83e8c;
}

.post-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

.post-content img {
  display: block;
  margin: 1.5em auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.9rem;
}

.post-content th, .post-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.post-content th {
  background: var(--bg);
  font-weight: 600;
}

.post-content hr {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 2.2em 0;
}

.post-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.post-content a:hover { text-decoration: underline; }

.post-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
}

.post-nav-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}

.post-nav-item {
  flex: 1;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
}

.btn:hover {
  background: #e8ecf1;
  color: var(--text);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff !important;
  border-color: transparent;
}

.btn-primary:hover {
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger);
  color: #fff !important;
  border-color: transparent;
}

.btn-danger:hover {
  background: var(--danger-hover);
  transform: translateY(-1px);
}

.btn-block { width: 100%; }

.btn-sm {
  padding: 5px 14px;
  font-size: 0.8rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-sm:hover {
  background: #e8ecf1;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--bg); }

/* ─── Forms ───────────────────────────────────────────────────────── */
.form-container {
  max-width: 460px;
  margin: 40px auto;
  background: var(--bg-card);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.form-container.form-wide { max-width: 860px; }

.form-container h1 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  font-weight: 700;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--bg-card);
  color: var(--text);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(102,126,234,0.12);
}

.form-group textarea {
  font-family: var(--font-mono);
  line-height: 1.6;
  resize: vertical;
  min-height: 300px;
}

.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.toolbar {
  display: inline-flex;
  gap: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

.toolbar button {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.toolbar button:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── Alerts ─────────────────────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger  { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ─── Admin Panel ────────────────────────────────────────────────── */
.admin-page {
  padding: 24px 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
}

.admin-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--bg);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.admin-tab {
  padding: 8px 20px;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-tab.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.post-card.admin-post-item {
  margin-bottom: 0;
}

.post-card.admin-post-item .post-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.admin-post-info {
  flex: 1;
}

.admin-post-info .post-card-title {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.admin-post-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* ─── Image Grid ─────────────────────────────────────────────────── */
.upload-box {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-bottom: 24px;
  transition: all 0.2s;
}

.upload-box:hover {
  border-color: var(--primary);
  background: rgba(102,126,234,0.02);
}

.upload-box h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.image-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.2s;
}

.image-item:hover {
  box-shadow: var(--shadow);
}

.image-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
}

.image-info {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.image-url {
  padding: 0 14px 14px;
}

.image-url input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: var(--bg);
}

/* ─── Archive ────────────────────────────────────────────────────── */
.archive-page { padding: 24px 0; }
.archive-page h1 { font-size: 1.4rem; margin-bottom: 24px; font-weight: 700; }

.archive-group {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 16px;
}

.archive-month {
  font-size: 1.05rem;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.archive-list {
  list-style: none;
}

.archive-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
}

.archive-item:last-child { border-bottom: none; }

.archive-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 36px;
  font-family: var(--font-mono);
}

.archive-item a {
  flex: 1;
  font-weight: 500;
  color: var(--text);
  font-size: 0.92rem;
}

.archive-item a:hover { color: var(--primary); }

/* ─── Pagination ─────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 36px 0;
}

.page-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Empty State ────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

/* ─── Animations ─────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.post-card {
  animation: fadeInUp 0.4s ease both;
}

.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.2s; }
.post-card:nth-child(5) { animation-delay: 0.25s; }
.post-card:nth-child(6) { animation-delay: 0.3s; }
.post-card:nth-child(7) { animation-delay: 0.35s; }
.post-card:nth-child(8) { animation-delay: 0.4s; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }
  .nav-links.show { display: flex; }
  .nav-links a { width: 100%; padding: 10px 16px; border-radius: var(--radius-xs); }
  .nav-toggle { display: block; }

  .profile-header { padding: 40px 20px 28px; }
  .profile-avatar { width: 60px; height: 60px; font-size: 1.6rem; }
  .profile-name { font-size: 1.2rem; }
  .profile-stats { gap: 20px; }

  .post-card-header { padding: 16px 18px 0; }
  .post-card-body { padding: 10px 18px 16px; }
  .post-card-footer { padding: 0 18px 14px; }

  .post-full { padding: 20px 22px; }
  .post-full .post-title { font-size: 1.3rem; }

  .admin-header { flex-direction: column; gap: 12px; align-items: flex-start; }

/* ─── Visits Table ───────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 16px;
}

.visits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.visits-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.visits-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.visits-table tr:last-child td { border-bottom: none; }

.visits-table tr:hover { background: #f8f9ff; }

.visit-wechat { background: #f0fdf4; }
.visit-wechat:hover { background: #dcfce7; }

.visit-time { white-space: nowrap; color: var(--text-secondary); }
.visit-ip { font-family: monospace; font-size: 0.78rem; color: var(--text-secondary); }
.visit-page { font-weight: 500; }
.visit-ref { color: var(--text-muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visit-ua { color: var(--text-muted); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: help; }

.visit-count { font-weight: 700; font-size: 1rem; color: var(--primary); }

.wechat-badge {
  display: inline-block;
  background: #10b981;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

  .form-row { flex-direction: column; gap: 0; }
  .image-grid { grid-template-columns: 1fr 1fr; }

  .profile-header { border-radius: 0 0 24px 24px; margin-left: -20px; margin-right: -20px; }
}

@media (max-width: 480px) {
  .image-grid { grid-template-columns: 1fr; }
  .archive-item { flex-wrap: wrap; }
  .post-card-footer { flex-wrap: wrap; }
}
