/* ==========================================================================
   NEXT SUPERSTAR — India's pay-to-rank talent leaderboard
   Design: clean minimal board (outbid-style) + single-screen cinema signals.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #fbfaf7;
  --bg-2: #f5f2ec;
  --card: #ffffff;
  --ink: #171310;
  --muted: #7d766d;
  --faint: #aaa39a;
  --line: #eae6df;
  --line-soft: #f2efe9;

  --accent: #e0483b;
  --accent-2: #c2372c;
  --accent-soft: #f6c3bd;
  --accent-wash: #fdf1ef;

  --gold: #c9992f;
  --gold-ink: #8a6614;
  --gold-wash: #fdf7e8;
  --gold-line: #f0e2bd;

  --live: #1f9c68;
  --down: #b0463b;

  --shadow-sm: 0 1px 2px rgba(23, 19, 16, .05), 0 6px 18px rgba(23, 19, 16, .04);
  --shadow-md: 0 2px 4px rgba(23, 19, 16, .05), 0 14px 40px rgba(23, 19, 16, .08);
  --shadow-gold: 0 2px 4px rgba(201, 153, 47, .12), 0 18px 48px rgba(201, 153, 47, .18);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font-ui: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", "Poppins", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1100px;
  --board: 940px;
}

html.dark {
  --bg: #12100e;
  --bg-2: #1a1714;
  --card: #1b1815;
  --ink: #f6f1e9;
  --muted: #a49c92;
  --faint: #6e675f;
  --line: #2c2724;
  --line-soft: #241f1c;

  --accent: #f0604f;
  --accent-2: #ff7f6d;
  --accent-soft: #5c2b25;
  --accent-wash: #2a1714;

  --gold: #e5b65c;
  --gold-ink: #e5b65c;
  --gold-wash: #292013;
  --gold-line: #4a3a1c;

  --live: #3dce86;
  --down: #ef7263;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, .45);
  --shadow-gold: 0 12px 44px rgba(229, 182, 92, .16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
.board-shell { width: 100%; max-width: var(--board); margin: 0 auto; padding: 0 20px; }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 66px; display: flex; align-items: center; gap: 18px;
  max-width: var(--shell); margin: 0 auto; padding: 0 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 30px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 25px; line-height: 1; letter-spacing: .045em;
  padding-top: 3px;
}
.brand-name em { font-style: normal; color: var(--accent); }

/* segmented all-time / today toggle */
.seg {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px;
}
.seg-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; color: var(--muted);
  font-size: 13.5px; font-weight: 500; letter-spacing: -.005em;
  padding: 6px 14px; border-radius: 999px;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn[aria-selected="true"] {
  background: var(--card); color: var(--ink); font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.seg-btn .seg-ico { width: 14px; height: 14px; flex: 0 0 14px; opacity: .85; }
.seg-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.header-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.header-nav a {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 7px 12px; border-radius: 999px; transition: color .16s ease, background .16s ease;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--ink); background: var(--accent-wash); }
.header-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  border: 0; background: transparent; color: var(--muted);
  transition: color .16s ease, background .16s ease;
}
.icon-btn:hover { color: var(--ink); background: var(--accent-wash); }
.theme-btn .sun { display: none; }
html.dark .theme-btn .sun { display: block; }
html.dark .theme-btn .moon { display: none; }

@media (max-width: 860px) {
  .header-inner { height: 60px; gap: 10px; }
  .header-nav a { display: none; }
  .header-nav a.always { display: inline-block; }
  .seg-btn { padding: 6px 11px; font-size: 13px; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 21px; }
  .seg-btn { padding: 6px 11px; font-size: 12.5px; }
}
@media (max-width: 430px) {
  /* keep the All-time / Today labels legible; the wordmark drops to the mark */
  .brand-name { display: none; }
  .header-inner { gap: 8px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 34px 0 26px; overflow: hidden; }
.hero-glow {
  position: absolute; left: 50%; top: -220px; transform: translateX(-50%);
  width: 900px; height: 520px; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%);
  filter: blur(6px);
}
html.dark .hero-glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%); }
.doodles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.doodle {
  position: absolute; color: var(--ink); opacity: .1;
  animation: float 9s ease-in-out infinite;
}
html.dark .doodle { opacity: .14; }
.doodle svg { display: block; width: 100%; height: 100%; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-11px) rotate(calc(var(--rot, 0deg) + 3deg)); }
}
@media (prefers-reduced-motion: reduce) { .doodle { animation: none; } }
@media (max-width: 1080px) { .doodle:not(.d-keep):not(.d-sm) { display: none; } }
@media (max-width: 720px) { .doodle:not(.d-sm) { display: none; } .doodle { opacity: .08; } }

.hero-inner { position: relative; z-index: 2; text-align: center; }

.stat-pill {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px 8px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 16px;
  font-size: 13px; color: var(--muted); box-shadow: var(--shadow-sm);
}
.stat-pill .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--live); font-weight: 600;
}
.stat-pill .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live);
  animation: pulse-live 2.2s infinite;
}
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.stat-pill .sep { color: var(--faint); }
.stat-pill a { color: var(--ink); font-weight: 600; text-decoration: none; }
.stat-pill a:hover { color: var(--accent); }

.hero-title {
  font-family: var(--font-ui);
  font-size: clamp(34px, 6.2vw, 60px);
  font-weight: 600; letter-spacing: -.035em; line-height: 1.04;
  margin: 30px auto 0; max-width: 15ch;
}
.hero-title .flare { position: relative; white-space: nowrap; color: var(--accent); }
.hero-title .flare::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .14em;
  background: color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 999px; z-index: -1;
}
.hero-sub {
  margin: 18px auto 0; max-width: 46ch;
  font-size: clamp(15px, 1.9vw, 17.5px); line-height: 1.62; color: var(--muted);
}
.hero-sub b { color: var(--ink); font-weight: 600; }

.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding: 13px 26px; text-decoration: none;
  transition: transform .12s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 22px color-mix(in srgb, var(--accent) 34%, transparent); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 42%, transparent); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent); }
.btn-lg { font-size: 16.5px; padding: 15px 32px; }
.btn-block { width: 100%; }
.hero-note { font-size: 12.5px; color: var(--faint); }
.hero-note b { color: var(--accent); font-weight: 600; }

/* ==========================================================================
   Industry filter bar
   ========================================================================== */
.filter-bar {
  position: sticky; top: 66px; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 12px 0; margin-top: 26px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 860px) { .filter-bar { top: 60px; } }
.filter-wrap {
  display: flex; align-items: center; gap: 9px;
  max-width: var(--shell); margin: 0 auto; padding: 0 20px;
}
.filter-rail {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 7px;
  overflow-x: auto; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
}
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 8px 15px;
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: all .15s ease;
}
.chip:hover { color: var(--ink); border-color: var(--accent-soft); }
.chip svg { width: 15px; height: 15px; flex: 0 0 15px; opacity: .8; }
.chip[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent);
}
.chip[aria-pressed="true"] svg { opacity: 1; }
.chip .chip-count { font-family: var(--font-mono); font-size: 11px; opacity: .65; }

.chip-more { position: relative; flex: 0 0 auto; }
.sheet {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 50;
  width: min(560px, 84vw); max-height: 62vh; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 14px;
  display: none; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 4px;
}
.sheet.open { display: grid; }
.sheet-item {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  background: transparent; border: 0; border-radius: var(--r-sm);
  padding: 9px 11px; font-size: 13.5px; color: var(--ink);
}
.sheet-item:hover { background: var(--accent-wash); }
.sheet-item svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--muted); }
.sheet-item .n { font-family: var(--font-mono); font-size: 11px; color: var(--faint); margin-left: auto; }

/* ==========================================================================
   Section headings — film-strip rule
   ========================================================================== */
.sec-head { display: flex; align-items: center; gap: 14px; margin: 42px 0 18px; }
.sec-head h2 {
  margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1;
  letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
.sec-head .tail {
  flex: 1; height: 12px; border-radius: 2px;
  background: radial-gradient(circle, var(--ink) 1.9px, transparent 2.2px) repeat-x left center / 12px 12px;
  opacity: .18;
}
.sec-head .hint { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
@media (max-width: 820px) {
  .sec-head { margin: 34px 0 14px; }
  .sec-head .hint { display: none; }
  .sec-head h2 { font-size: 21px; }
}
.rank-marker { display: flex; align-items: center; gap: 14px; padding: 22px 0 14px; }
.rank-marker .rule { flex: 1; height: 1px; background: var(--line); }
.rank-marker span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  color: var(--faint); text-transform: uppercase;
}

/* ==========================================================================
   How it works — the first thing a visitor needs when the board is empty
   ========================================================================== */
.how { margin: 28px 0 0; }
.how h2 {
  margin: 0 0 16px; font-family: var(--font-display); font-size: 20px;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  text-align: center;
}
.how-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (max-width: 720px) { .how-steps { grid-template-columns: 1fr; } }
.how-steps li {
  display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px;
}
.how-steps .n {
  grid-row: 1 / 3;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-wash); border: 1px solid var(--accent-soft);
  color: var(--accent-2); font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.how-steps b { font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; }
.how-steps li > span:last-child { font-size: 13px; line-height: 1.55; color: var(--muted); }
.how-note {
  margin: 14px auto 0; max-width: 60ch; text-align: center;
  font-size: 12.5px; line-height: 1.6; color: var(--faint);
}

/* ==========================================================================
   Podium (top 3) — attention-grabbing poster cards
   ========================================================================== */
.podium {
  display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 16px; align-items: end;
}
@media (max-width: 880px) {
  .podium { grid-template-columns: 1fr; gap: 14px; }
  .podium .slot-1 { order: -1; }
}

.star-card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  animation: rise .45s ease both;
}
.star-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .star-card { animation: none; } }

.star-card.slot-1 {
  border-color: var(--gold); background: linear-gradient(180deg, var(--gold-wash), var(--card) 42%);
  box-shadow: var(--shadow-gold);
}
.star-card.slot-2 { border-color: color-mix(in srgb, var(--accent) 26%, var(--line)); }

/* marquee bulbs across the #1 card */
.bulbs { display: none; height: 14px; background:
    radial-gradient(circle at 9px 7px, var(--gold) 2.6px, transparent 3.1px) repeat-x left center / 18px 14px;
  opacity: .95; }
.star-card.slot-1 .bulbs { display: block; animation: blink 2.6s steps(2) infinite; }
@keyframes blink { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .star-card.slot-1 .bulbs { animation: none; } }

.star-media { position: relative; }
.star-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--bg-2);
  display: block;
}
.star-card.slot-1 .star-photo { aspect-ratio: 4 / 4.3; }
.star-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .48));
  pointer-events: none;
}
.rank-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  min-width: 38px; height: 38px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; line-height: 1; padding-top: 4px;
  border-radius: 11px; background: var(--ink); color: var(--bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}
.star-card.slot-1 .rank-badge {
  background: var(--gold); color: #241a05; min-width: 46px; height: 46px; font-size: 27px;
}
.tag-industry {
  position: absolute; top: 14px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(15, 12, 10, .72); color: #fff; backdrop-filter: blur(6px);
  border-radius: 999px; padding: 5px 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
}
.tag-industry svg { width: 11px; height: 11px; }
.star-overlay {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff;
}
.star-overlay .nm {
  font-family: var(--font-display); font-size: 27px; line-height: 1.02; letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.star-card.slot-1 .star-overlay .nm { font-size: 33px; }
.star-overlay .loc {
  font-family: var(--font-mono); font-size: 10.5px; opacity: .82; margin-top: 3px;
  display: inline-flex; align-items: center; gap: 5px;
}

.star-body { padding: 14px 16px 16px; }
.star-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.punch {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 14.5px; line-height: 1.45; color: var(--ink); margin: 0 0 12px;
}
.punch::before { content: "\201C"; }
.punch::after { content: "\201D"; }

.bid-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.bid-label {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); display: block;
}
.bid-amt {
  font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: .01em;
  color: var(--ink); display: block; margin-top: 3px;
}
.star-card.slot-1 .bid-amt { font-size: 36px; color: var(--gold-ink); }
.held { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); text-align: right; white-space: nowrap; }

.gap-line {
  margin: 9px 0 0; font-family: var(--font-mono); font-size: 11px;
  color: var(--accent-2); letter-spacing: -.005em;
}
.star-card.slot-1 .gap-line { color: var(--gold-ink); }

.verdict { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.vote {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 500;
  transition: all .14s ease;
}
.vote svg { width: 14px; height: 14px; }
.vote .n { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; }
.vote.up:hover, .vote.up.on { color: var(--live); border-color: color-mix(in srgb, var(--live) 45%, transparent); background: color-mix(in srgb, var(--live) 9%, var(--card)); }
.vote.down:hover, .vote.down.on { color: var(--down); border-color: color-mix(in srgb, var(--down) 42%, transparent); background: color-mix(in srgb, var(--down) 8%, var(--card)); }
.vote.on { font-weight: 600; }
.meter { flex: 1; height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; min-width: 30px; }
.meter i { display: block; height: 100%; background: var(--live); border-radius: 999px; transition: width .3s ease; }

.card-actions { display: flex; gap: 8px; }
.btn-cert {
  width: 100%; margin-top: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--gold-wash); border: 1px solid var(--gold-line); color: var(--gold-ink);
  border-radius: var(--r-sm); padding: 10px 14px; font-size: 12.5px; font-weight: 600;
  transition: all .15s ease;
}
.btn-cert:hover { background: var(--gold); color: #241a05; border-color: var(--gold); }
.btn-cert:disabled { opacity: .6; }
.btn-outbid {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--ink); color: var(--bg); border: 0; border-radius: var(--r-sm);
  padding: 11px 14px; font-size: 13.5px; font-weight: 600;
  transition: background .16s ease, transform .12s ease;
}
.btn-outbid:hover { background: var(--accent); color: #fff; }
.btn-outbid:active { transform: translateY(1px); }
.star-card.slot-1 .btn-outbid { background: var(--accent); color: #fff; }
.star-card.slot-1 .btn-outbid:hover { background: var(--accent-2); }
.btn-share {
  flex: 0 0 auto; width: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  border-radius: var(--r-sm); transition: all .14s ease;
}
.btn-share:hover { color: var(--accent); border-color: var(--accent-soft); }
.btn-share svg { width: 15px; height: 15px; }

/* ==========================================================================
   Ranked rows (4–20)
   ========================================================================== */
.rows { display: flex; flex-direction: column; }
.row {
  display: grid; grid-template-columns: 34px 52px minmax(0, 1fr) auto;
  gap: 14px; align-items: center;
  padding: 15px 12px; border-top: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: background .14s ease, transform .14s ease;
}
.row:first-child { border-top: 0; }
.row:hover { background: var(--card); transform: translateX(2px); box-shadow: var(--shadow-sm); }
.row-rank {
  font-family: var(--font-display); font-size: 20px; line-height: 1;
  color: var(--faint); text-align: center; padding-top: 3px;
}
.row-photo {
  width: 50px; height: 50px; border-radius: 14px; object-fit: cover;
  background: var(--bg-2); border: 1px solid var(--line);
}
.row-main { min-width: 0; }
.row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-name { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 2px 9px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase;
}
.pill svg { width: 11px; height: 11px; }
.pill.hot { background: var(--accent-wash); border-color: var(--accent-soft); color: var(--accent-2); }
.pill.new { background: var(--gold-wash); border-color: var(--gold-line); color: var(--gold-ink); }
.row-punch {
  font-family: var(--font-serif); font-style: italic; font-size: 13.5px; color: var(--muted);
  margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.row-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--faint);
}
.row-meta .mi { display: inline-flex; align-items: center; gap: 4px; }
.row-meta .mi svg { width: 12px; height: 12px; }
.row-meta button { background: 0; border: 0; padding: 0; font: inherit; color: inherit; }
.row-meta button:hover { color: var(--ink); }
.row-meta button.on-up { color: var(--live); }
.row-meta button.on-down { color: var(--down); }
.row-right { display: flex; align-items: center; gap: 14px; }
.row-bid { text-align: right; }
.row-bid .amt { font-family: var(--font-display); font-size: 22px; line-height: 1; }
.row-bid .lbl { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.row-cta {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 600;
  transition: all .15s ease;
}
.row-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.row-cta svg { width: 13px; height: 13px; }

@media (max-width: 720px) {
  .row { grid-template-columns: 28px 44px minmax(0, 1fr); gap: 10px; padding: 14px 8px; }
  .row-photo { width: 44px; height: 44px; border-radius: 12px; }
  .row-right { grid-column: 1 / -1; justify-content: space-between; padding-left: 82px; }
  .row-punch { white-space: normal; }
  .row:hover { transform: none; }
}
@media (max-width: 460px) { .row-right { padding-left: 0; } }

/* ==========================================================================
   The Board (compact, two columns)
   ========================================================================== */
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 760px) { .board-grid { grid-template-columns: 1fr; } }
.brow {
  display: grid; grid-template-columns: 34px 36px minmax(0, 1fr) auto auto;
  gap: 10px; align-items: center; padding: 10px 6px;
  border-bottom: 1px solid var(--line-soft);
}
.brow:hover { background: var(--card); }
.brow-rank { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); }
.brow-photo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; background: var(--bg-2); }
.brow-main { min-width: 0; }
.brow-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow-meta { font-family: var(--font-mono); font-size: 10px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brow-bid { font-family: var(--font-display); font-size: 16px; }
.brow-cta {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 600;
  transition: all .14s ease;
}
.brow-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ==========================================================================
   Activity rail
   ========================================================================== */
.activity {
  margin-top: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px;
}
.activity h3 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: -.01em;
}
.activity h3::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.4s infinite;
}
.activity h3 .when { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); font-weight: 400; }
.act-rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.act-card {
  flex: 0 0 auto; min-width: 186px;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 10px 12px; transition: border-color .15s ease;
}
.act-card:hover { border-color: var(--accent-soft); }
.act-card img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; flex: 0 0 30px; background: var(--bg-2); }
.act-card .t { min-width: 0; }
.act-card .n { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-card .s { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.act-card .s b { color: var(--accent); font-weight: 600; }

/* ==========================================================================
   Empty / load-more / revenue
   ========================================================================== */
.empty { text-align: center; padding: 34px 20px 56px; }
.empty svg { width: 54px; height: 54px; color: var(--faint); margin: 0 auto 16px; opacity: .7; }
.empty h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; }
.empty p { margin: 0 auto 20px; max-width: 38ch; color: var(--muted); font-size: 14px; }

.more-wrap { display: flex; justify-content: center; gap: 10px; padding: 28px 0 4px; }

.revenue { text-align: center; padding: 64px 20px 20px; }
.revenue p.lead { font-size: 19px; letter-spacing: -.02em; color: var(--muted); margin: 0; }
.revenue p.lead b { color: var(--accent); font-weight: 600; }
.revenue .amount {
  display: inline-flex; align-items: baseline; gap: 2px; margin-top: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 30px; box-shadow: var(--shadow-sm);
  font-family: var(--font-mono); font-size: clamp(30px, 6vw, 48px); font-weight: 600; letter-spacing: .02em;
}
.revenue .amount span { color: var(--accent); }
.revenue .since { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* ==========================================================================
   Ticket strip (theatre flourish before footer)
   ========================================================================== */
.ticket-strip {
  position: relative; margin-top: 56px; padding: 34px 24px;
  background: var(--ink); color: var(--bg); overflow: hidden;
}
.ticket-strip::before, .ticket-strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: radial-gradient(circle at 8px 6px, var(--bg) 5.4px, transparent 5.8px) repeat-x left center / 22px 12px;
}
.ticket-strip::before { top: -6px; }
.ticket-strip::after { bottom: -6px; }
.ticket-inner {
  position: relative; z-index: 1; max-width: var(--board); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.ticket-inner h3 {
  margin: 0; font-family: var(--font-display); font-size: clamp(26px, 4.4vw, 40px);
  letter-spacing: .045em; line-height: 1.04;
}
.ticket-inner p { margin: 8px 0 0; font-size: 14px; opacity: .72; max-width: 44ch; }
.ticket-inner .btn-primary { box-shadow: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; padding: 34px 0 44px; }
.footer-inner {
  max-width: var(--shell); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-cols { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-col h4 {
  margin: 0 0 10px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 500;
}
.footer-col a {
  display: block; text-decoration: none; color: var(--muted);
  font-size: 13.5px; padding: 3.5px 0; transition: color .14s ease;
}
.footer-col a:hover { color: var(--accent); }
.legal {
  max-width: var(--shell); margin: 26px auto 0; padding: 20px 20px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1.7; color: var(--faint);
}

/* ==========================================================================
   Modal
   ========================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 18px;
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.overlay.open { display: flex; }
.modal {
  position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 26px;
  animation: pop .22s cubic-bezier(.2, .9, .3, 1.2) both;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 0; border-radius: 999px; color: var(--muted);
}
.modal-close:hover { background: var(--accent-wash); color: var(--accent); }
.modal h3 {
  margin: 0; font-family: var(--font-display); font-size: 30px; letter-spacing: .035em; line-height: 1.05;
}
.modal .msub { margin: 6px 0 18px; font-size: 13px; color: var(--muted); }
.callout {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-wash); border: 1px solid var(--accent-soft);
  border-radius: var(--r-md); padding: 11px 13px; margin-bottom: 16px; font-size: 13px;
}
.callout svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: var(--accent); }
.callout b { font-weight: 600; }
.callout.gold { background: var(--gold-wash); border-color: var(--gold-line); }
.callout.gold svg { color: var(--gold-ink); }

.field { margin-bottom: 14px; }
.field label {
  display: block; margin-bottom: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; font-family: var(--font-ui); font-size: 14.5px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.field .hint { margin-top: 5px; font-size: 11.5px; color: var(--faint); }
.field.err input, .field.err select { border-color: var(--down); }
.field .err-msg { display: none; margin-top: 5px; font-size: 11.5px; color: var(--down); font-weight: 500; }
.field.err .err-msg { display: block; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .two-up { grid-template-columns: 1fr; } }

.photo-pick { display: flex; align-items: center; gap: 14px; }
.photo-prev {
  width: 62px; height: 62px; border-radius: 16px; object-fit: cover;
  background: var(--bg-2); border: 1px dashed var(--line); flex: 0 0 62px;
}
.photo-pick .btn-ghost { padding: 9px 16px; font-size: 13px; }

/* crowd number under the amount — the story on every card */
.from-crowd {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--muted);
}
.from-crowd svg { width: 12px; height: 12px; opacity: .8; }
.row-meta .gap { color: var(--accent-2); font-weight: 500; }
.brow-bid { display: flex; align-items: baseline; gap: 5px; }
.brow-bid small {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 400; color: var(--faint);
}
.brow-bid small::before { content: "·"; margin-right: 4px; }

/* boost sheet */
.modal-sm { max-width: 400px; }
.boost-head { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; padding-right: 34px; }
.boost-head img {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px;
  object-fit: cover; background: var(--bg-2);
}
.boost-head h3 { font-size: 24px; line-height: 1.05; }
.boost-head .msub { margin: 3px 0 0; font-size: 12px; }

.packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 1px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 11px 13px; text-align: left; transition: all .14s ease;
}
.pack:hover { border-color: var(--accent-soft); }
.pack.on {
  border-color: var(--accent); background: var(--accent-wash);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.pack b { font-family: var(--font-display); font-size: 21px; line-height: 1.05; letter-spacing: .01em; }
.pack.on b { color: var(--accent-2); }
.pack span { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.pack-tag {
  position: absolute; top: -8px; right: 9px;
  background: var(--gold); color: #241a05; border-radius: 999px;
  padding: 2px 7px; font-family: var(--font-mono); font-size: 8.5px;
  letter-spacing: .06em; text-transform: uppercase; font-style: normal;
}

/* who-is-this toggle */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.who-btn {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 11px 13px; transition: all .15s ease;
}
.who-btn:hover { border-color: var(--accent-soft); }
.who-btn[aria-checked="true"] {
  border-color: var(--accent); background: var(--accent-wash);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.who-t { font-size: 14px; font-weight: 600; letter-spacing: -.015em; }
.who-btn[aria-checked="true"] .who-t { color: var(--accent-2); }
.who-s { font-size: 11.5px; color: var(--muted); line-height: 1.35; }

/* report reasons */
.reasons { display: flex; flex-direction: column; gap: 7px; }
.reason {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 11px 13px; transition: all .15s ease;
}
.reason:hover { border-color: var(--accent-soft); }
.reason[aria-checked="true"] {
  border-color: var(--accent); background: var(--accent-wash);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}
.reason b { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.reason[aria-checked="true"] b { color: var(--accent-2); }
.reason span { font-size: 11.5px; color: var(--muted); }
#reportErr { margin-top: 8px; }
#reportErr.show { display: block; }

/* the small report control on each card */
.btn-report {
  flex: 0 0 auto; width: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--faint);
  border-radius: var(--r-sm); transition: all .14s ease;
}
.btn-report:hover { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
.btn-report svg { width: 15px; height: 15px; }
.row-meta .report-link { margin-left: auto; color: var(--faint); }
.row-meta .report-link:hover { color: var(--down); }

.bid-quick { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
.bid-quick button {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 5px 12px; font-family: var(--font-mono); font-size: 11.5px;
}
.bid-quick button:hover { border-color: var(--accent); color: var(--accent); }
.modal-foot { margin-top: 18px; }
.modal-note { margin-top: 10px; text-align: center; font-size: 11px; color: var(--faint); line-height: 1.6; }

/* success state */
.win { text-align: center; }
.win .seal {
  width: 74px; height: 74px; margin: 4px auto 14px; color: var(--gold);
  animation: stamp .4s cubic-bezier(.2, .9, .3, 1.4) both;
}
@keyframes stamp { from { opacity: 0; transform: scale(1.7) rotate(-12deg); } to { opacity: 1; transform: none; } }
.win h3 { font-size: 32px; }
.win p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.win .share-row { display: flex; gap: 8px; margin-top: 20px; }

/* toast */
.toast-wrap {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none; width: min(420px, calc(100vw - 32px));
}
.toast {
  display: flex; align-items: center; gap: 9px; width: 100%;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; padding: 11px 18px; font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-md); animation: toast-in .28s ease both;
}
.toast svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--gold); }
.toast.out { animation: toast-out .28s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Content pages (about / rules / stats / categories)
   ========================================================================== */
.page { max-width: 820px; margin: 0 auto; padding: 46px 20px 20px; }
/* on content pages the pill is its own block so the eyebrow starts a new line */
.page > .stat-pill { display: flex; width: max-content; max-width: 100%; }
.page-wide { max-width: var(--shell); }
.page h1 {
  margin: 0; font-size: clamp(32px, 5.6vw, 46px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06;
}
.page .lede { margin: 16px 0 0; font-size: 17px; line-height: 1.72; color: var(--muted); }
.page h2 {
  margin: 42px 0 12px; font-family: var(--font-display); font-size: 26px;
  letter-spacing: .05em; text-transform: uppercase;
}
.page h3 { margin: 26px 0 8px; font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; }
.page p { font-size: 15px; line-height: 1.78; color: var(--muted); }
.page p b, .page li b { color: var(--ink); font-weight: 600; }
.page ul { padding-left: 20px; }
.page li { font-size: 15px; line-height: 1.78; color: var(--muted); margin-bottom: 8px; }
.page a { color: var(--accent); text-decoration: none; font-weight: 500; }
.page a:hover { text-decoration: underline; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px;
  background: var(--accent-wash); border: 1px solid var(--accent-soft); color: var(--accent-2);
  border-radius: 999px; padding: 5px 13px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
}

.verify {
  display: flex; align-items: center; gap: 9px; margin: 22px 0 0;
  background: var(--gold-wash); border: 1px solid var(--gold-line); border-radius: var(--r-md);
  padding: 11px 14px; font-size: 13.5px; color: var(--ink);
}
.verify a { color: var(--gold-ink); font-weight: 600; }
.as-of {
  margin: 12px 0 0; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--faint); line-height: 1.6;
}

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 24px; }
.stat-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px;
}
.stat-box .k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--faint);
}
.stat-box .v { margin-top: 8px; font-family: var(--font-display); font-size: 34px; line-height: 1; letter-spacing: .01em; }
.stat-box .v.accent { color: var(--accent); }
.stat-box .s { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

.list-card {
  margin-top: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.list-card .li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-top: 1px solid var(--line-soft);
}
.list-card .li:first-child { border-top: 0; }
.list-card .li:hover { background: var(--bg); }
.list-card .li img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex: 0 0 34px; background: var(--bg-2); }
.list-card .li .t { min-width: 0; flex: 1; }
.list-card .li .n { font-size: 14px; font-weight: 600; }
.list-card .li .s { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.list-card .li .amt { font-family: var(--font-display); font-size: 20px; color: var(--accent); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 26px; }
.cat-card {
  display: flex; align-items: center; gap: 13px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; transition: all .16s ease;
}
.cat-card:hover { border-color: var(--accent-soft); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-ico {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-wash); color: var(--accent);
}
.cat-ico svg { width: 18px; height: 18px; }
.cat-card .t { min-width: 0; flex: 1; }
.cat-card .n { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; }
.cat-card .s { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.cat-card .c { font-family: var(--font-display); font-size: 20px; color: var(--muted); }

.faq { margin-top: 22px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 30px 16px 0; position: relative;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font-family: var(--font-mono); font-size: 19px; color: var(--accent); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; font-size: 14.5px; }

.note-box {
  margin-top: 26px; background: var(--gold-wash); border: 1px solid var(--gold-line);
  border-radius: var(--r-lg); padding: 18px 20px;
}
.note-box h3 { margin: 0 0 6px; color: var(--gold-ink); }
.note-box p { margin: 0; font-size: 14px; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide { display: none !important; }
@media print { .site-header, .filter-bar, .overlay, .toast-wrap { display: none !important; } }
