/* ==========================================================================
 *  Litterbox — shared design system
 *  Modrinth-inspired dark theme: near-black surfaces, brand-green accent,
 *  extrabold display type. One token set + one set of component styles,
 *  used by every page. Change it once here.
 *  ========================================================================== */

:root {
  --color-bg: #16181c;
  --color-bg-soft: #111215;
  --color-surface: #202329;
  --color-surface-hover: #262a32;
  --color-border: #2c2f37;
  --color-border-strong: #3d414b;

  --color-text: #f5f7fa;
  --color-text-muted: #9aa4b2;
  --color-text-faint: #6b7280;

  --color-accent: #1bd96a;
  --color-accent-dark: #14b859;
  --color-accent-ink: #062712;
  --color-accent-tint: rgba(27, 217, 106, 0.14);

  --color-gold: #f5b942;

  --color-error: #ff5c72;
  --color-error-bg: rgba(255, 92, 114, 0.09);
  --color-error-border: rgba(255, 92, 114, 0.35);

  --color-btn-secondary-bg: #33363d;
  --color-btn-secondary-bg-hover: #3d414c;

  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --weight-heading: 800;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);

  --header-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-accent); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }

h1, h2, h3 { font-weight: var(--weight-heading); letter-spacing: -0.4px; }

/* slim, dark scrollbars everywhere */
* { scrollbar-width: thin; scrollbar-color: var(--color-border-strong) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: var(--radius-pill); border: 2px solid var(--color-bg); }
*::-webkit-scrollbar-thumb:hover { background: #4a4f5a; }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  padding: 0 clamp(16px, 5vw, 40px);
  border-bottom: 1px solid var(--color-border);
  background: rgba(17, 18, 21, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-text); }
.brand-mark { height: 30px; width: 30px; display: block; border-radius: 8px; object-fit: cover; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: -0.3px; }

.site-nav, .header-right { display: flex; align-items: center; gap: 6px; }
.user-name { font-family: var(--font-mono); font-size: 12px; color: var(--color-text-faint); margin-right: 4px; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--color-text-muted); padding: 8px 14px; border-radius: var(--radius-md);
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  transition: background .12s ease, color .12s ease;
}
.nav-link:hover { background: var(--color-surface); color: var(--color-text); }
.nav-link.primary { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; }
.nav-link.primary:hover { background: var(--color-accent-dark); }

/* ---------- generic surfaces ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px; letter-spacing: -0.1px;
  border-radius: var(--radius-md); border: none; cursor: pointer;
  padding: 11px 20px; text-decoration: none; white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, opacity .12s ease, filter .12s ease, transform .06s ease;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover:not(:disabled) { background: var(--color-accent-dark); }
.btn-secondary { background: var(--color-btn-secondary-bg); color: var(--color-text); border: 1px solid transparent; }
.btn-secondary:hover:not(:disabled) { background: var(--color-btn-secondary-bg-hover); }
.btn-danger { background: var(--color-error); color: #2a0508; }
.btn-danger:hover:not(:disabled) { filter: brightness(1.08); }
.btn-block { width: 100%; }

/* ---------- forms ---------- */
label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; color: var(--color-text-muted); }
.field { margin-bottom: 18px; }
.field-hint { font-size: 12px; color: var(--color-text-faint); margin: 6px 0 0; }
.field-hint-inline { font-size: 11.5px; font-weight: 500; color: var(--color-text-faint); text-transform: none; letter-spacing: 0; float: right; }

input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent;
}
input::placeholder, textarea::placeholder { color: var(--color-text-faint); }
textarea { resize: vertical; min-height: 90px; }

.file-input {
  display: flex; align-items: center; gap: 10px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.file-input:hover { border-color: var(--color-accent); background: var(--color-accent-tint); }
.file-input input[type="file"] {
  flex: 1; min-width: 0; font-size: 13px; font-family: var(--font-body); color: var(--color-text-muted);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .two-col { grid-template-columns: 1fr; } }

.form-msg { font-size: 13px; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 18px; display: none; font-weight: 600; }
.form-msg.error { display: block; color: var(--color-error); background: var(--color-error-bg); border: 1px solid var(--color-error-border); }
.form-msg.success { display: block; color: var(--color-accent); background: var(--color-accent-tint); border: 1px solid var(--color-accent); }

/* ---------- badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--color-text-muted);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); padding: 4px 10px;
}
.verified-badge { vertical-align: -2px; margin-left: 3px; flex-shrink: 0; }
.preview-pill { color: var(--color-gold); border-color: rgba(245, 185, 66, 0.4); background: rgba(245, 185, 66, 0.1); }
.pending-pill { color: #8ab4ff; border-color: rgba(138, 180, 255, 0.4); background: rgba(138, 180, 255, 0.1); }
.rejected-pill { color: var(--color-error); border-color: var(--color-error-border); background: var(--color-error-bg); }

/* small mono tag chip, e.g. the game the mod is for */
.tag-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--color-text-muted); background: var(--color-bg);
  border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  padding: 3px 10px; white-space: nowrap;
}

/* ---------- icon-backed stat chips (downloads / rating / clock etc.) ---------- */
.stat-chip { display: inline-flex; align-items: center; gap: 5px; color: var(--color-text-muted); font-size: 13.5px; font-weight: 500; }
.stat-chip svg { flex-shrink: 0; color: var(--color-text-faint); }
.stat-chip.stat-rating svg { color: var(--color-gold); }
.stat-chip strong { color: var(--color-text); font-weight: 700; }

/* ---------- empty / loading / error states ---------- */
.empty-state, .error-state, .loading-state {
  font-size: 14px; color: var(--color-text-muted); text-align: center;
  padding: 48px 20px; border-radius: var(--radius-lg);
}
.empty-state, .error-state { border: 1px dashed var(--color-border); background: var(--color-surface); }
.error-state { color: var(--color-error); border-color: var(--color-error-border); background: var(--color-error-bg); }
.loading-state { color: var(--color-text-faint); }

.gate-state { max-width: 420px; margin: 96px auto; text-align: center; color: var(--color-text-muted); font-size: 14px; padding: 0 20px; }

footer.site-footer {
  text-align: center; padding: 28px 20px 44px; color: var(--color-text-faint); font-size: 12px;
}

/* ---------- notifications ---------- */
.icon-btn { position: relative; padding: 8px 10px; }
.notif-dot {
  position: absolute; top: 6px; right: 7px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--color-gold); border: 2px solid var(--color-bg-soft);
}
.notif-panel {
  position: absolute; top: calc(var(--header-h) + 6px); right: clamp(16px, 5vw, 40px);
  width: 320px; max-height: 380px; overflow-y: auto;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-hover); z-index: 20;
}
.notif-item { display: block; padding: 12px 14px; border-bottom: 1px solid var(--color-border); text-decoration: none; color: inherit; transition: background .1s ease; }
.notif-item:last-child { border-bottom: none; }
a.notif-item:hover { background: var(--color-surface-hover); }
.notif-item p { margin: 0 0 3px; font-size: 13.5px; color: var(--color-text); }
.notif-item span { font-size: 11.5px; color: var(--color-text-faint); }
.notif-item.unread { background: var(--color-accent-tint); }
.notif-empty { padding: 20px 14px; font-size: 13px; color: var(--color-text-faint); text-align: center; }

/* ---------- favorite button ---------- */
.fav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--color-btn-secondary-bg); border: 1px solid transparent;
  color: var(--color-text-muted); border-radius: var(--radius-pill);
  padding: 9px 14px; font-family: var(--font-body); font-weight: 700; font-size: 13.5px; cursor: pointer;
  transition: color .12s ease, border-color .12s ease, background .12s ease;
}
.fav-btn:hover { color: var(--color-text); background: var(--color-btn-secondary-bg-hover); }
.fav-btn.active { color: var(--color-accent); border-color: var(--color-accent); background: var(--color-accent-tint); }
.follow-btn.active { color: var(--color-gold); border-color: var(--color-gold); background: rgba(245, 185, 66, 0.14); }

/* ---------- badges ---------- */
.badge-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-earned {
  background: var(--color-accent-tint); border-color: var(--color-accent); color: var(--color-accent);
  font-weight: 700;
}
.empty-inline { font-size: 13px; color: var(--color-text-faint); margin: 0; }

/* ---- Changelogs / announcements ---- */
.changelog-list { display: flex; flex-direction: column; gap: 12px; }
.changelog-item { padding: 14px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.changelog-item-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.changelog-item-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.announcement-pill { color: var(--color-accent); border-color: rgba(27, 217, 106, 0.4); background: var(--color-accent-tint); }
.changelog-title { font-size: 14.5px; font-weight: 700; margin: 0; letter-spacing: -0.2px; color: var(--color-text); }
.changelog-date { font-size: 12px; color: var(--color-text-faint); white-space: nowrap; }
.changelog-body { font-size: 13.5px; }
.changelog-body p:last-child { margin-bottom: 0; }
.changelog-delete-btn {
  margin-top: 8px; background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--color-text-faint);
}
.changelog-delete-btn:hover { color: var(--color-error); }
.changelog-delete-btn:disabled { opacity: .6; cursor: not-allowed; }
.changelog-divider { height: 1px; background: var(--color-border); margin: 22px 0 18px; }
.main-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- markdown editor ---------- */
.md-editor { border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); overflow: hidden; }
.md-toolbar {
  display: flex; align-items: center; gap: 2px; padding: 6px; flex-wrap: wrap;
  border-bottom: 1px solid var(--color-border); background: var(--color-surface);
}
.md-btn {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: var(--radius-sm); color: var(--color-text-muted);
  font-size: 13px; cursor: pointer; font-family: var(--font-body);
}
.md-btn:hover { background: var(--color-surface-hover); color: var(--color-text); }
.md-tabs { margin-left: auto; display: flex; gap: 2px; }
.md-tab {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-pill);
  background: none; border: none; color: var(--color-text-faint); cursor: pointer; font-family: var(--font-body);
}
.md-tab.active { background: var(--color-btn-secondary-bg); color: var(--color-text); }
.md-textarea {
  display: block; width: 100%; min-height: 160px; border: none; background: transparent;
  color: var(--color-text); font-family: var(--font-body); font-size: 14px; padding: 12px; resize: vertical;
}
.md-textarea:focus { outline: none; }
.md-preview { padding: 12px 14px; min-height: 160px; font-size: 14px; }

/* rendered markdown content (mod description, preview pane) */
.md-content, .md-preview { color: var(--color-text); line-height: 1.6; }
.md-content p, .md-preview p { margin: 0 0 12px; }
.md-content h1, .md-content h2, .md-content h3,
.md-preview h1, .md-preview h2, .md-preview h3 { margin: 18px 0 8px; letter-spacing: -0.3px; }
.md-content ul, .md-content ol, .md-preview ul, .md-preview ol { margin: 0 0 12px; padding-left: 22px; }
.md-content blockquote, .md-preview blockquote {
  margin: 0 0 12px; padding: 4px 14px; border-left: 3px solid var(--color-accent);
  color: var(--color-text-muted); background: var(--color-surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.md-content code, .md-preview code {
  font-family: var(--font-mono); font-size: 12.5px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: 5px; padding: 1px 5px;
}
.md-content pre, .md-preview pre {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 12px; overflow-x: auto; margin: 0 0 12px;
}
.md-content pre code, .md-preview pre code { border: none; padding: 0; background: none; }
.md-content img, .md-preview img { border-radius: var(--radius-sm); margin: 4px 0 12px; }
.md-content a, .md-preview a { text-decoration: underline; }
.embed-yt { position: relative; padding-top: 56.25%; margin: 4px 0 14px; border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg); }
.embed-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- profile page ---------- */
.profile-head { display: flex; align-items: center; gap: 20px; padding: 32px clamp(16px, 5vw, 56px) 8px; max-width: 1180px; margin: 0 auto; flex-wrap: wrap; }
.profile-avatar {
  width: 96px; height: 96px; border-radius: 50%; background: var(--color-accent-tint);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
  font-family: var(--font-mono); font-weight: 700; font-size: 26px; color: var(--color-accent);
  border: 3px solid var(--color-border);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info h1 { margin: 0 0 4px; font-size: 26px; letter-spacing: -0.5px; }
.profile-bio { color: var(--color-text-muted); font-size: 14px; max-width: 60ch; margin: 4px 0 0; }
.profile-stats-row { display: flex; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.profile-section { max-width: 1180px; margin: 0 auto; padding: 20px clamp(16px, 5vw, 56px); }
.profile-section > h2 { font-size: 13px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--color-text-faint); font-weight: 800; }
.profile-edit-form { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }

/* ---------- mod card (browse list, live preview, anywhere) ---------- */
.mod-row {
  display: flex; gap: 18px; padding: 18px 20px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  transition: border-color .12s ease, background .12s ease, transform .12s ease, box-shadow .12s ease;
  text-decoration: none; color: inherit;
}
a.mod-row:hover {
  border-color: var(--color-border-strong); background: var(--color-surface-hover);
  transform: translateY(-2px); box-shadow: var(--shadow-hover);
}
a.mod-row:hover .mod-name { color: var(--color-accent); }

.mod-icon {
  width: 72px; height: 72px; border-radius: var(--radius-md);
  background: var(--color-accent-tint); flex-shrink: 0; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--color-accent);
  overflow: hidden;
}
.mod-icon img { width: 100%; height: 100%; object-fit: cover; }

.mod-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.mod-title-row { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.mod-name { font-weight: 800; font-size: 17.5px; margin: 0; letter-spacing: -0.3px; color: var(--color-text); transition: color .12s ease; }
.mod-author { font-family: var(--font-mono); font-size: 12.5px; color: var(--color-text-faint); }

.mod-desc {
  color: var(--color-text-muted); font-size: 14px; margin: 0;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

.mod-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1px; }
.manage-link { font-size: 12px; font-weight: 700; color: var(--color-accent); }

.mod-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; flex-shrink: 0; }
.mod-stats-row { display: flex; align-items: center; gap: 14px; }

/* ---- grid view ---- */
.mods-list.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mods-list.grid .mod-row { flex-direction: column; align-items: flex-start; }
.mods-list.grid .mod-main { width: 100%; }
.mods-list.grid .mod-desc { -webkit-line-clamp: 3; }
.mods-list.grid .mod-side { flex-direction: row-reverse; justify-content: space-between; width: 100%; align-items: center; margin-top: 4px; }
.mods-list.grid .mod-stats-row { flex-direction: row-reverse; }

@media (max-width: 480px) {
  .mod-row { flex-wrap: wrap; padding: 12px; gap: 10px; }
  .mod-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); }
  .mod-name { font-size: 14.5px; }
  .mod-desc { font-size: 13px; }
  .mod-side { width: 100%; align-items: flex-start; flex-direction: row; justify-content: space-between; }
  .mods-list.grid .mod-side { flex-direction: row; }
}

/* ---------- browse tabs (Mods / Creators) ---------- */
.browse-tabs { display: inline-flex; gap: 2px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 3px; }
.browse-tab {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 700; border: none; cursor: pointer;
  padding: 7px 16px; border-radius: var(--radius-pill); background: none; color: var(--color-text-muted);
}
.browse-tab.active { background: var(--color-accent); color: var(--color-accent-ink); }

/* ---------- creator card (Creators tab) ---------- */
.creator-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); text-decoration: none; color: inherit;
  transition: border-color .12s ease, background .12s ease, transform .12s ease, box-shadow .12s ease;
}
.creator-row:hover { border-color: var(--color-border-strong); background: var(--color-surface-hover); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.creator-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--color-accent-tint); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--color-accent);
}
.creator-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-main { flex: 1; min-width: 0; }
.creator-name { font-weight: 800; font-size: 16px; margin: 0 0 2px; }
.creator-bio { font-size: 13.5px; color: var(--color-text-muted); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-stats { display: flex; gap: 14px; flex-shrink: 0; }

/* ---------- live card preview (upload / edit) ---------- */
.form-with-preview { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.preview-pane { position: sticky; top: calc(var(--header-h) + 20px); }
.preview-pane h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--color-text-faint); font-weight: 800; margin: 0 0 10px; }
.preview-pane .mod-row { flex-direction: column; align-items: flex-start; cursor: default; }
.preview-pane .mod-row .mod-main { width: 100%; }
.preview-pane .mod-row .mod-desc { -webkit-line-clamp: 3; }
.preview-pane .mod-row .mod-side { flex-direction: row-reverse; justify-content: space-between; width: 100%; align-items: center; margin-top: 4px; }
.preview-pane .mod-row .mod-stats-row { flex-direction: row-reverse; }
@media (max-width: 860px) {
  .form-with-preview { grid-template-columns: 1fr; }
  .preview-pane { position: static; }
}

/* ---------- moderation / reports ---------- */
.status-banner {
  margin: 24px 0 0; padding: 14px 16px;
  border: 1px solid rgba(138, 180, 255, 0.35); background: rgba(138, 180, 255, 0.08);
  border-radius: var(--radius-lg); font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5;
}
.status-banner strong { color: #8ab4ff; }
.status-banner.rejected { border-color: var(--color-error-border); background: var(--color-error-bg); }
.status-banner.rejected strong { color: var(--color-error); }

.report-link { font-size: 12.5px; font-weight: 600; color: var(--color-text-faint); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; font-family: var(--font-body); }
.report-link:hover { color: var(--color-text); }
.report-form { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.report-form select { width: 100%; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 9px 10px; color: var(--color-text); font-family: var(--font-body); font-size: 13.5px; }

/* ---------- admin dashboard ---------- */
.admin-section { max-width: 1020px; margin: 0 auto; padding: 20px clamp(16px, 5vw, 56px); }
.admin-section > h2 { font-size: 13px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--color-text-faint); font-weight: 800; }
.admin-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
}
.admin-row-main { flex: 1; min-width: 0; }
.admin-row-title { font-weight: 700; font-size: 14.5px; margin: 0 0 2px; }
.admin-row-meta { font-size: 12.5px; color: var(--color-text-faint); margin: 0; }
.admin-row-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-row-actions .btn { padding: 8px 14px; font-size: 13px; }

/* ---------- responsive shell helpers ---------- */
@media (max-width: 480px) {
  .site-header { padding: 0 16px; }
  .brand-name { font-size: 15px; }
  .nav-link { padding: 7px 10px; font-size: 13px; }
  .user-name { display: none; }
}
