:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f6f4ef;
  --border: #e8e4dc;
  --border-strong: #d4cfc3;
  --text: #1c1917;
  --text-dim: #57534e;
  --text-mute: #a8a29e;

  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-soft: rgba(217, 119, 6, 0.10);
  --accent-glow: rgba(217, 119, 6, 0.22);
  --on-accent: #ffffff;

  --coral: #f97316;
  --mint: #14b8a6;
  --rose: #ec4899;
  --success: #059669;
  --danger: #dc2626;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;

  --shadow-1: 0 1px 2px rgba(28, 25, 23, 0.04), 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow-2: 0 4px 12px rgba(28, 25, 23, 0.06), 0 2px 4px rgba(28, 25, 23, 0.04);
  --shadow-lift: 0 16px 40px rgba(28, 25, 23, 0.12), 0 4px 12px rgba(28, 25, 23, 0.06);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 8% 4%, rgba(254, 215, 170, 0.55), transparent 60%),
    radial-gradient(ellipse 55% 50% at 92% 18%, rgba(252, 231, 243, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 96%, rgba(204, 251, 241, 0.50), transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% 80%, rgba(254, 240, 138, 0.40), transparent 60%),
    var(--bg);
  background-size: 180% 180%, 160% 160%, 200% 200%, 170% 170%, auto;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  animation: aurora 22s ease-in-out infinite alternate;
}

@keyframes aurora {
  0%   { background-position:  0%   0%,  100% 0%,    50% 100%, 100% 100%, 0 0; }
  33%  { background-position: 25%  18%,  75% 28%,    60%  82%,  82%  90%, 0 0; }
  66%  { background-position: 45%   8%,  60%  6%,    40%  92%,  60%  76%, 0 0; }
  100% { background-position: 60%  22%,  40%  18%,   55%  78%,  90%  60%, 0 0; }
}

a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-3);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
textarea { resize: vertical; min-height: 96px; line-height: 1.6; }

::placeholder { color: var(--text-mute); }
::selection { background: var(--accent-soft); color: var(--text); }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(232, 228, 220, 0.6);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--accent);
  position: relative;
  box-shadow: 0 2px 8px var(--accent-glow);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 2px;
  background: var(--surface);
}
.nav-links { display: flex; gap: var(--space-5); align-items: center; }
.nav-link {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s;
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-5) var(--space-10);
  position: relative;
  z-index: 1;
}

.hero { margin-bottom: var(--space-8); }
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: var(--space-3);
  line-height: 1.1;
}
.hero p {
  color: var(--text-dim);
  font-size: 16px;
  text-wrap: pretty;
  max-width: 580px;
}

.status-bar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
  font-size: 12px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-1);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.35;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.status-dot.idle { background: var(--text-mute); }
.status-dot.idle::after { display: none; }
@keyframes ping {
  0%   { transform: scale(0.8); opacity: 0.5; }
  80%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.vote-meta-bar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-3) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-1);
}
.vote-meta-bar > div { display: flex; align-items: center; gap: 6px; }
.vote-meta-bar span { color: var(--text-dim); }
.vote-meta-bar strong { color: var(--text); font-weight: 600; }
.vote-meta-bar strong.amount { color: var(--accent); font-size: 15px; }
.vote-meta-bar .sep { width: 1px; height: 14px; background: var(--border); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .15s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-1);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lift);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-soft);
  cursor: zoom-in;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-img-wrap img { transform: scale(1.04); }
.card-body { padding: var(--space-4); display: flex; flex-direction: column; flex: 1; gap: var(--space-2); }
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.card-foot-hint {
  font-size: 12px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.card-foot-hint.voted { color: var(--accent); font-weight: 500; }

.owner-edit-btn {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  z-index: 2;
  transition: background .15s, border-color .15s;
}
.owner-edit-btn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s, border-color .15s, transform .08s, box-shadow .15s;
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: 0.005em;
  position: relative;
  overflow: hidden;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 2px rgba(217, 119, 6, 0.15), 0 4px 12px rgba(217, 119, 6, 0.18);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  box-shadow: 0 2px 4px rgba(180, 83, 9, 0.18), 0 6px 16px rgba(180, 83, 9, 0.22);
}
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--surface-soft);
  color: var(--text-mute);
  box-shadow: none;
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-soft); }
.btn-danger {
  background: var(--surface);
  border-color: var(--border);
  color: var(--danger);
}
.btn-danger:hover { border-color: var(--danger); background: rgba(220, 38, 38, 0.05); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-voted {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}
.btn-voted:hover { background: rgba(217, 119, 6, 0.16); }
.btn-busy { cursor: progress; opacity: 0.7; pointer-events: none; }

.bar {
  height: 6px;
  background: var(--surface-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: var(--space-2);
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--coral));
  border-radius: var(--radius-pill);
  transition: width .6s cubic-bezier(.2,.7,.3,1);
}

.empty {
  text-align: center;
  padding: var(--space-10) var(--space-4);
  color: var(--text-dim);
}
.empty svg { margin: 0 auto var(--space-4); opacity: 0.5; color: var(--text-mute); }
.empty h3 { color: var(--text); font-weight: 600; margin-bottom: var(--space-1); font-size: 15px; }
.empty p { font-size: 13px; }

.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-5);
  z-index: 1000;
  opacity: 0;
  transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.3,1);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  max-width: 90vw;
  box-shadow: var(--shadow-lift);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }
.toast-icon { width: 16px; height: 16px; flex-shrink: 0; }

.skeleton {
  background: var(--surface-soft);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  max-width: 580px;
  margin: 0 auto;
  box-shadow: var(--shadow-2);
}
.form-row { margin-bottom: var(--space-4); }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.form-row .hint { font-size: 12px; color: var(--text-mute); margin-top: 6px; }
.char-count {
  float: right;
  font-size: 11px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: var(--surface-soft);
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.dropzone-icon { width: 36px; height: 36px; margin: 0 auto var(--space-2); color: var(--text-mute); stroke-width: 1.5; }
.dropzone-text { color: var(--text); font-size: 14px; font-weight: 500; }
.dropzone-hint { color: var(--text-mute); font-size: 12px; margin-top: var(--space-1); font-variant-numeric: tabular-nums; }
.dropzone-preview { max-height: 200px; margin: 0 auto; border-radius: var(--radius-sm); }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-5);
}
.tab {
  padding: var(--space-3) var(--space-4);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: color .15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
.tab .count {
  margin-left: var(--space-2);
  font-size: 11px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}
.tab.active .count { color: var(--accent); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s, transform .2s;
}
.stat:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.stat-label { font-size: 11px; color: var(--text-mute); margin-bottom: var(--space-1); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.stat-value { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
.stat-sub { font-size: 12px; color: var(--text-mute); margin-top: var(--space-1); font-variant-numeric: tabular-nums; }
.stat.alert .stat-value { color: var(--accent); }

.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-1);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  gap: var(--space-3);
  flex-wrap: wrap;
}
.section-head h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.section-head .meta { font-size: 12px; color: var(--text-mute); }

.list { display: flex; flex-direction: column; gap: var(--space-2); }
.row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s;
}
.row:hover { border-color: var(--border); background: var(--surface); }
.row-img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
}
.row-body { flex: 1; min-width: 0; }
.row-title { font-size: 13px; font-weight: 500; margin-bottom: 2px; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.row-meta { font-size: 12px; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.row-meta + .row-meta { margin-top: 2px; color: var(--text-dim); font-variant-numeric: normal; }
.row-actions { display: flex; gap: var(--space-2); flex-shrink: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid;
}
.badge-pending { color: var(--accent-hover); border-color: var(--accent-soft); background: var(--accent-soft); }
.badge-approved { color: var(--success); border-color: rgba(5, 150, 105, 0.25); background: rgba(5, 150, 105, 0.10); }
.badge-rejected { color: var(--text-mute); border-color: var(--border); background: var(--surface-soft); }
.badge-open { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.badge-closed { color: var(--text-mute); border-color: var(--border); background: var(--surface-soft); }
.badge-draft { color: var(--text-dim); border-color: var(--border); background: var(--surface-soft); }

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(28, 25, 23, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.modal-backdrop.open { display: flex; animation: fadeIn .18s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lift);
  animation: scaleIn .22s cubic-bezier(.2,.7,.3,1);
}
@keyframes scaleIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.modal-body { padding: var(--space-5); }
.modal-foot { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--border); display: flex; gap: var(--space-2); justify-content: flex-end; align-items: center; }

.checklist {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-1);
  background: var(--surface-soft);
}
.check-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .12s;
}
.check-item:hover { background: var(--surface); }
.check-item input { width: auto; margin: 0; accent-color: var(--accent); }
.check-item img { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.check-item-title { font-size: 13px; flex: 1; }

.result-stats {
  display: flex;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.result-stats > div { flex: 1; }
.result-stats .label { color: var(--text-mute); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.result-stats .value { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.2; margin-top: 2px; color: var(--text); }

.rank-num {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-mute);
  width: 28px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.rank-num.top { color: var(--accent); }

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  position: relative;
  z-index: 1;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-lift);
  animation: scaleIn .25s cubic-bezier(.2,.7,.3,1);
}
.login-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent);
  position: relative;
  margin: 0 auto var(--space-4);
  box-shadow: 0 6px 20px var(--accent-glow);
}
.login-mark::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 3px;
  background: var(--surface);
}
.login-title {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-1);
}
.login-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: var(--space-6);
}
.login-error {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: 13px;
  display: none;
}
.login-error.show { display: block; }
.login-back {
  text-align: center;
  margin-top: var(--space-5);
  font-size: 12px;
  color: var(--text-mute);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  body { animation: none; background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
}

@media (max-width: 720px) {
  .container { padding: var(--space-5) var(--space-4) var(--space-8); }
  .nav-inner { padding: var(--space-3) var(--space-4); }
  .nav-links { gap: var(--space-3); }
  .grid { grid-template-columns: 1fr; }
  .form-section { padding: var(--space-5) var(--space-4); }
  .vote-meta-bar { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .vote-meta-bar .sep { display: none; }
  .login-card { padding: var(--space-6) var(--space-5); }
}
