/* Layout: one calm column like a ranked index (list + narrow sidebar). Cover art brings the color;
   the interface stays neutral with a single accent for money and links. Light by default, matching dark. */
:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --sunk: #efefec;
  --text: #17171a;
  --muted: #6c6c72;
  --faint: #9a9aa0;
  --line: #e4e4e0;
  --accent: #3b4ef0;
  --accent-ink: #ffffff;
  --accent-soft: #eef0ff;
  --top-tint: #f1f2fd;
  --hot: #d9363e;
  --good: #1f9d55;
  --dark-btn: #17171a;
  --dark-btn-ink: #ffffff;

  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --num: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 12px;
  --maxw: 1080px;
  --gutter: clamp(16px, 4vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111113; --surface: #18181b; --sunk: #202024; --text: #ededef; --muted: #a0a0a8; --faint: #6f6f78;
    --line: #2a2a2f; --accent: #8a96ff; --accent-ink: #111113; --accent-soft: #1d2038; --top-tint: #1a1c2c;
    --hot: #ff6b6b; --good: #4cc38a; --dark-btn: #ededef; --dark-btn-ink: #111113; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111113; --surface: #18181b; --sunk: #202024; --text: #ededef; --muted: #a0a0a8; --faint: #6f6f78;
  --line: #2a2a2f; --accent: #8a96ff; --accent-ink: #111113; --accent-soft: #1d2038; --top-tint: #1a1c2c;
  --hot: #ff6b6b; --good: #4cc38a; --dark-btn: #ededef; --dark-btn-ink: #111113; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; border: 1px solid transparent; white-space: nowrap; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-dark { background: var(--dark-btn); color: var(--dark-btn-ink); }
.btn-dark:hover { opacity: .88; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { opacity: .9; }
.btn-line { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--faint); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: var(--sunk); color: var(--text); }
.icon-btn svg { width: 17px; height: 17px; fill: currentColor; }
.link-sm { background: none; border: 0; padding: 0; color: var(--accent); font-size: .82rem; font-weight: 600; }
.link-sm:hover { text-decoration: underline; }

/* ── Header ── */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 26px; height: 26px; flex: none; }
.lm-tile { fill: var(--text); }
.lm-up { fill: none; stroke: var(--bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lm-base { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.logo-word { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; font-stretch: 105%; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--surface); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.live b { color: var(--text); font-weight: 600; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: var(--muted); font-size: .88rem; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .live { display: none; } }
@media (max-width: 520px) { .nav { display: none; } .top-in { justify-content: space-between; } .icon-btn { margin-left: auto; } }

/* ── Page ── */
.page { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); padding-block: 16px 64px; display: flex; flex-direction: column; gap: 20px; }
.mock { font-size: .8rem; color: var(--muted); background: var(--sunk); border-radius: 10px; padding: 8px 12px; }
.mock b { color: var(--text); }

.cats { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 5px 12px; font-size: .84rem; font-weight: 500; white-space: nowrap; }
.cat:hover { color: var(--text); }
.cat[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.cat .pi { width: 13px; height: 13px; }

.windows { align-self: center; display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.windows button { border: 0; background: transparent; border-radius: 999px; padding: 5px 14px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.windows button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }

/* ── Claim ── */
.claim { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-block: 6px 4px; }
.claim h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper .amt { color: var(--accent); font-weight: 600; letter-spacing: -.04em; }
.stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 1rem; line-height: 1; display: grid; place-items: center; }
.stepper button:hover { color: var(--text); border-color: var(--faint); }
.claim-sub { color: var(--muted); font-size: .92rem; }
.claim-form { display: flex; gap: 8px; width: 100%; max-width: 620px; margin-top: 4px; }
.url-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; }
.url-field:focus-within { border-color: var(--accent); }
.url-field svg { width: 16px; height: 16px; fill: var(--faint); flex: none; }
.url-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; font: inherit; color: var(--text); outline: none; }
.claim-hint { font-size: .82rem; color: var(--muted); min-height: 1.2em; }
@media (max-width: 520px) { .claim-form { flex-direction: column; } }

/* ── Layout ── */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; margin-top: 6px; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } }

/* ── The list ── */
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 2.6rem 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.row:hover { background: var(--surface); }
.rk { font-family: var(--num); font-size: .9rem; color: var(--faint); text-align: center; }
.thumb { width: 76px; aspect-ratio: 460 / 215; border-radius: 6px; object-fit: cover; background: var(--sunk); display: block; }
.thumb.ph { display: grid; place-items: center; font-weight: 800; color: var(--muted); font-size: 1.1rem; }
.row-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-title { background: none; border: 0; padding: 0; text-align: left; font-weight: 650; font-size: .98rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-title:hover { text-decoration: underline; }
.hook { color: var(--muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: .78rem; color: var(--faint); }
.meta .plats { display: inline-flex; gap: 5px; color: var(--muted); }
.meta .pi { width: 13px; height: 13px; }
.meta .sep::before { content: "\00b7"; }
.meta .soon { color: var(--hot); }
.meta button { background: none; border: 0; padding: 0; color: var(--muted); font-size: inherit; }
.meta button:hover { color: var(--text); text-decoration: underline; }
.row-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.price { font-family: var(--num); font-weight: 600; color: var(--accent); font-size: .98rem; }
.claim-row { background: none; border: 0; padding: 0; font-size: .74rem; color: var(--faint); }
.claim-row:hover { color: var(--accent); text-decoration: underline; }
.row.you .row-title::after { content: "You"; margin-left: 8px; font-size: .68rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 1px 6px; border-radius: 999px; vertical-align: 2px; }
.row.flash { animation: flash 1.4s ease-out; }
@keyframes flash { from { background: var(--accent-soft); } }
@media (prefers-reduced-motion: reduce) { .row.flash { animation: none; } }

/* Top 3: featured with full cover art */
.row.top { grid-template-columns: 2.6rem 200px minmax(0, 1fr) auto; background: var(--top-tint); border: 0; border-radius: var(--radius); margin-bottom: 8px; padding: 12px; }
.row.top .thumb { width: 200px; border-radius: 8px; }
.row.top .rk { color: var(--accent); font-weight: 600; font-size: 1rem; }
.row.top .row-title { font-size: 1.12rem; }
.row.top .hook { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.row.top .price { font-size: 1.1rem; }
.row.top + .row:not(.top) { border-top: 0; }
@media (max-width: 640px) {
  .row { grid-template-columns: 2rem 60px minmax(0, 1fr); gap: 10px; padding: 10px 4px; }
  .thumb { width: 60px; }
  .row-right { grid-column: 3; flex-direction: row; justify-content: space-between; align-items: baseline; text-align: left; }
  .row.top { grid-template-columns: 2rem minmax(0, 1fr); padding: 10px; }
  .row.top .thumb { grid-column: 2; width: 100%; }
  .row.top .row-main, .row.top .row-right { grid-column: 2; }
  .hook { white-space: normal; }
}
.list-foot { font-size: .8rem; color: var(--faint); padding: 12px 10px; }
.list-empty { padding: 28px; text-align: center; color: var(--muted); }

/* ── Sidebar ── */
.side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 72px; }
@media (max-width: 900px) { .side { position: static; } }
.side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.side-head h2, .side-head h3 { font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.side-note { font-size: .74rem; color: var(--faint); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mini li { display: grid; grid-template-columns: 1.8rem 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 4px; border-radius: 8px; }
.mini li:hover { background: var(--surface); }
.mini .mrk { font-family: var(--num); font-size: .75rem; color: var(--faint); }
.mini img, .mini .ph { width: 34px; height: 22px; border-radius: 4px; object-fit: cover; background: var(--sunk); display: block; }
.mini .mt { background: none; border: 0; padding: 0; text-align: left; font-size: .84rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: var(--text); }
.mini .mt:hover { text-decoration: underline; }
.mini .mv { font-family: var(--num); font-size: .8rem; color: var(--accent); font-weight: 600; }
.vote { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 1px 8px; font-size: .74rem; font-family: var(--num); color: var(--muted); }
.vote[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.side-foot { font-size: .76rem; color: var(--faint); margin-top: 8px; }
.activity { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.activity li { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.activity b { color: var(--text); font-weight: 600; }
.activity time { display: block; font-size: .72rem; color: var(--faint); }

/* ── Sections ── */
.sec { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.sec-head { display: flex; flex-direction: column; gap: 4px; }
.sec-head h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); max-width: 64ch; }
.hof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.hof li { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.hof .d { font-size: .74rem; color: var(--faint); font-family: var(--num); }
.hof b { font-size: .95rem; }
.hof span { font-size: .8rem; color: var(--muted); }
.hof .v { font-family: var(--num); color: var(--accent); font-weight: 600; font-size: .85rem; margin-top: 4px; }
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px 32px; }
.rules h3 { font-size: .98rem; font-weight: 700; margin-bottom: 8px; }
.rules ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .88rem; }
.rules li::marker { color: var(--faint); font-family: var(--num); font-size: .8rem; }
.rules b { color: var(--text); }
.faq { display: flex; flex-direction: column; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 2px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 2px 14px; color: var(--muted); max-width: 68ch; }
code { font-family: var(--num); font-size: .84em; background: var(--sunk); padding: 1px 5px; border-radius: 4px; color: var(--text); }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.foot-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: .84rem; color: var(--muted); }
.foot-stats b { color: var(--text); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: .84rem; }
.foot-links a, .foot-links button { color: var(--accent); background: none; border: 0; padding: 0; font-size: inherit; }
.foot-note { font-size: .76rem; color: var(--faint); max-width: 60ch; }

/* ── Dialogs ── */
.dlg { border: 1px solid var(--line); padding: 0; border-radius: 16px; background: var(--surface); color: var(--text); width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.dlg[open] { display: flex; flex-direction: column; }
.dlg::backdrop { background: rgba(10, 10, 14, .45); }
.dlg-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); flex: none; }
.dlg-bar h2 { font-size: 1.05rem; font-weight: 700; }
.crumb { font-size: .82rem; color: var(--muted); }
.x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--sunk); color: var(--muted); font-size: 1.2rem; line-height: 1; flex: none; }
.x:hover { color: var(--text); }
.dlg-body { padding: 20px; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 22px; }
.dlg-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); flex: none; }

.g-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 640px) { .g-card { grid-template-columns: minmax(0, 1fr); } }
.g-cover { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 10px; background: var(--sunk); display: block; }
.g-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.g-main h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.g-meta { font-size: .82rem; color: var(--muted); }
.g-hook { font-size: .98rem; }
.g-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.g-links .btn { padding: 6px 12px; font-size: .84rem; }
.g-links .pi { width: 14px; height: 14px; }
.g-ranks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .g-ranks { grid-template-columns: minmax(0, 1fr); } }
.rank-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.rank-card .l { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 600; }
.rank-card .v { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.rank-card .s { font-size: .8rem; color: var(--muted); }
.g-raise, .g-about, .g-near { display: flex; flex-direction: column; gap: 8px; }
.g-raise h3, .g-about h3 { font-size: 1rem; font-weight: 700; }
.raise-form { display: flex; gap: 8px; max-width: 420px; }
.money-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding-left: 12px; background: var(--surface); }
.money-field:focus-within { border-color: var(--accent); }
.money-field span { color: var(--faint); font-family: var(--num); }
.money-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 10px 9px 0; font: inherit; font-family: var(--num); font-size: 1rem; color: var(--text); outline: none; }
.money-field.big input { font-size: 1.4rem; font-weight: 600; }
.raise-note, .readout { font-size: .86rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.raise-note .bad, .readout .bad, .err { color: var(--hot); }
.raise-note b, .readout b { color: var(--text); }
.g-about dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.g-about dt { font-weight: 600; font-size: .9rem; }
.g-about dd { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.g-tools { display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; }

/* Insert flow */
.steps { list-style: none; margin: 0; padding: 10px 20px; display: flex; gap: 18px; border-bottom: 1px solid var(--line); flex: none; counter-reset: s; }
.steps li { counter-increment: s; font-size: .8rem; color: var(--faint); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.steps li::before { content: counter(s); width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); font-size: .72rem; }
.steps li[aria-current="step"] { color: var(--text); }
.steps li[aria-current="step"]::before { background: var(--text); color: var(--bg); border-color: var(--text); }
.steps li.done::before { content: "\2713"; background: var(--good); color: #fff; border-color: var(--good); }
.step { display: flex; flex-direction: column; gap: 14px; }
.step[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--muted); min-width: 0; }
.field > span { display: flex; justify-content: space-between; gap: 8px; }
.field small { font-weight: 400; color: var(--faint); }
input[type=text], input[type=url], textarea { font: inherit; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 100%; min-width: 0; }
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--accent); outline: none; }
.url-row { display: flex; gap: 8px; }
.url-row input { flex: 1; }
.hint { font-size: .82rem; color: var(--faint); }
.scan { margin: 0; background: var(--sunk); color: var(--muted); font-family: var(--num); font-size: .78rem; padding: 12px; border-radius: 10px; white-space: pre-wrap; }
.scan.bad { color: var(--hot); }
.listing { display: flex; flex-direction: column; gap: 12px; }
.plats { display: flex; flex-wrap: wrap; gap: 6px; }
.plat { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; color: var(--muted); }
.plat .pi { width: 12px; height: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-family: var(--num); color: var(--muted); }
.quick button:hover { color: var(--text); border-color: var(--faint); }
.receipt { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: .9rem; display: flex; flex-direction: column; gap: 8px; }
.receipt .r { display: flex; justify-content: space-between; gap: 10px; }
.receipt .r span:last-child { font-family: var(--num); }
.receipt .tot { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 700; }
.receipt .n { font-size: .78rem; color: var(--faint); }
.done-big { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.preview { border-top: 1px solid var(--line); padding-top: 14px; }
.preview .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; margin-bottom: 4px; }
.err { font-size: .86rem; font-weight: 600; }
.dlg-brag { width: min(720px, calc(100vw - 24px)); }
#bragCanvas { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }

/* Icons */
.pi { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.15em; }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; z-index: 60; max-width: min(360px, calc(100vw - 32px)); }
.toast { background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-size: .86rem; animation: pop .18s ease-out; }
.toast.bad { background: var(--hot); color: #fff; }
@keyframes pop { from { transform: translateY(6px); opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
/* The claim field's input sits inside a styled pill; keep the inner input bare. */
.claim .url-field input { border: 0; background: transparent; border-radius: 0; padding: 10px 0; }
.stepper .amt { font-family: var(--body); font-variant-numeric: tabular-nums; letter-spacing: -.03em; font-weight: 800; }

/* ── v1.1: lighter, nothing pinned, podium for the top 3 ── */
/* Nothing follows you down the page. */
.top { position: static; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.side { position: static; }

/* Type with a little more character: slightly wide, lighter weights. */
.logo-word { font-weight: 700; font-stretch: 118%; letter-spacing: -.01em; }
.claim h1 { font-weight: 700; font-stretch: 115%; letter-spacing: -.035em; }
.stepper .amt { font-weight: 700; }
.sec-head h2 { font-weight: 700; font-stretch: 112%; }
.row-title, .pod-title { font-stretch: 108%; }

/* Outlines instead of fills. */
.mock { background: transparent; border: 1px dashed var(--line); }
.cat[aria-pressed="true"] { background: var(--surface); color: var(--text); border-color: var(--text); }
.windows { background: transparent; }
.windows button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.vote[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.hof li { background: transparent; }
.row:hover { background: transparent; }
.row:hover .thumb { transform: scale(1.04); }
.thumb { transition: transform .2s ease; }
.mini li:hover { background: transparent; }
.mini li:hover .mt { text-decoration: underline; }

/* Podium: three cover cards, no panels. */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 14px; }
.podium:empty { display: none; }
@media (max-width: 640px) { .podium { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.pod { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pod-cover { position: relative; display: block; padding: 0; border: 0; background: none; border-radius: 10px; overflow: hidden; }
.pod-img { display: block; width: 100%; aspect-ratio: 460 / 215; object-fit: cover; transition: transform .25s ease; background: var(--sunk); }
.pod-img.ph { display: grid; place-items: center; font-size: 2rem; font-weight: 700; color: var(--muted); }
.pod-cover:hover .pod-img { transform: scale(1.03); }
.pod-rk { position: absolute; left: 8px; top: 8px; font-family: var(--num); font-weight: 600; font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--text); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pod:first-child .pod-rk { background: var(--accent); color: var(--accent-ink); }
.pod-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pod-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pod-title { background: none; border: 0; padding: 0; text-align: left; font-weight: 650; font-size: 1.02rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pod-title:hover { text-decoration: underline; }
.pod .hook { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pod .meta button:hover { color: var(--accent); }
.pod.you .pod-title::after { content: "You"; margin-left: 6px; font-size: .68rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 1px 6px; border-radius: 999px; vertical-align: 2px; }
.pod.flash .pod-cover { animation: podflash 1.4s ease-out; }
@keyframes podflash { from { box-shadow: 0 0 0 3px var(--accent); } }
.list { border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .thumb, .pod-img { transition: none; } .pod.flash .pod-cover { animation: none; } }

/* ── Rules: key numbers first, then one aligned row per section ── */
.keys { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.keys div { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.keys div + div { border-left: 1px solid var(--line); }
.keys dt { font-size: 1.6rem; font-weight: 700; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; }
.keys div:nth-child(2) dt { color: var(--accent); }
.keys dd { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 760px) {
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys div + div { border-left: 0; }
  .keys div { border-top: 1px solid var(--line); }
  .keys div:nth-child(-n+2) { border-top: 0; }
  .keys div:nth-child(even) { border-left: 1px solid var(--line); }
  .keys div:last-child { grid-column: 1 / -1; border-left: 0; }
}
.rulebook { display: flex; flex-direction: column; }
.rule { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule:first-child { padding-top: 6px; }
.rule:last-child { border-bottom: 0; }
@media (max-width: 760px) { .rule { grid-template-columns: minmax(0, 1fr); } }
.rule-head h3 { font-size: 1rem; font-weight: 700; }
.rule-head p { font-size: .84rem; color: var(--faint); margin-top: 2px; }
.rule ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; max-width: 68ch; }
.rule li { position: relative; padding-left: 16px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.rule li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.rule li b { color: var(--text); font-weight: 600; }
/* Raise form: the button gets a fixed column, so a longer "Pay $1,234" never squeezes the amount field. */
.raise-form { display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem; gap: 8px; max-width: 460px; }
.raise-form .btn { width: 100%; font-variant-numeric: tabular-nums; }

/* ── Stable widths: values that change never push their neighbours around ── */
.stepper .amt { display: inline-block; min-width: 5.2ch; text-align: center; }
.row { grid-template-columns: 2.6rem 76px minmax(0, 1fr) 7.6rem; }
.row-right { min-width: 0; }
.claim-row { white-space: nowrap; }
@media (max-width: 640px) { .row { grid-template-columns: 2rem 60px minmax(0, 1fr); } }
.mini li { grid-template-columns: 1.8rem 34px minmax(0, 1fr) 3.9rem; }
.mini .mv, .mini .vote { justify-self: end; }
.live, .foot-stats, .side-foot { font-variant-numeric: tabular-nums; }
.stepper .amt { min-width: 7ch; }

/* ── Production additions ── */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: minmax(0, 1fr); } }
.verified { display: inline-flex; vertical-align: -2px; margin-left: 5px; }
.verified svg { width: 15px; height: 15px; fill: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share-label { font-size: .8rem; font-weight: 600; color: var(--faint); margin-right: 4px; }
.share .btn { padding: 6px 12px; font-size: .82rem; }
.share .pi { width: 14px; height: 14px; }
.brag-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#bragCanvas { border-radius: 14px; border: 1px solid var(--line); }
.already { font-size: .86rem; background: var(--accent-soft); color: var(--text); border-radius: 10px; padding: 10px 12px; }
.hof-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--text); text-align: left; }
.hof-link:hover { text-decoration: underline; }
.hof-empty { grid-column: 1 / -1; color: var(--muted); }
.g-cover { border-radius: 12px; }
.mini img, .mini .ph { border-radius: 5px; }

.fine-print { font-size: .8rem; color: var(--faint); }

/* ── Empty states ── */
.mini li.mini-empty, .activity li.mini-empty { display: block; padding: 4px; color: var(--faint); font-size: .84rem; }
.stepper .amt { min-width: 0; }
.open-cover { display: grid; place-items: center; gap: 4px; aspect-ratio: 460 / 215; width: 100%; border: 1.5px dashed var(--line); border-radius: 10px; background: transparent; color: var(--muted); align-content: center; }
.open-cover:hover { border-color: var(--accent); color: var(--accent); }
.open-rk { font-size: 2rem; font-weight: 700; font-stretch: 112%; letter-spacing: -.03em; color: var(--text); }
.open-cover:hover .open-rk { color: var(--accent); }
.open-txt { font-size: .82rem; }
.pod-title.muted { color: var(--muted); font-weight: 600; }

/* ── Identity A: spawnrank¹, and gold only for #1 ── */
:root { --gold: #e8a400; --gold-text: #9a6b00; --gold-ink: #121214; --accent: var(--text); --accent-ink: var(--bg); --accent-soft: var(--sunk); --top-tint: var(--sunk); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --gold: #ffc23d; --gold-text: #ffc23d; --accent: var(--text); --accent-ink: var(--bg); --accent-soft: var(--sunk); } }
:root[data-theme="dark"] { --gold: #ffc23d; --gold-text: #ffc23d; --accent: var(--text); --accent-ink: var(--bg); --accent-soft: var(--sunk); }
.logo-word { font-family: "Bricolage Grotesque", var(--body); font-weight: 800; font-stretch: normal; font-size: 1.32rem; letter-spacing: -.035em; line-height: 1; }
.logo-word sup { color: var(--gold); font-size: .58em; vertical-align: .62em; margin-left: 1px; line-height: 0; }
/* Prices and links go neutral; gold is spent only on #1. */
.price, .mini .mv, .hof .v { color: var(--text); }
a, .link-sm, .foot-links a, .foot-links button { color: var(--text); }
a:hover, .link-sm:hover { text-decoration: underline; }
.btn-accent { background: var(--text); color: var(--bg); }
.pod:first-child .pod-rk { background: var(--gold); color: var(--gold-ink); }
.pod:first-child:not(.open-spot) .price { color: var(--gold-text); }
.mini li:first-child .mrk, .mini li:first-child .mv { color: var(--gold-text); }
#picks li .mrk, #picks li .mv, .g-near .mini li .mrk, .g-near .mini li .mv { color: var(--faint); }
.stepper .amt { color: var(--gold-text); }
.hof .v { color: var(--gold-text); }
.dot { background: var(--gold); }
.verified svg { fill: var(--text); }
.rank-card .v.is-1 { color: var(--gold-text); }
.doc .logo { margin-bottom: 8px; display: inline-flex; color: var(--text); text-decoration: none; }

/* ── Skeleton loading ── */
.sk { display: block; background: linear-gradient(90deg, var(--sunk) 0%, color-mix(in srgb, var(--sunk) 55%, var(--surface)) 50%, var(--sunk) 100%); background-size: 200% 100%; border-radius: 6px; animation: sk 1.4s ease-in-out infinite; }
.sk-line { height: .78rem; border-radius: 4px; }
.sk-cover { width: 100%; aspect-ratio: 460 / 215; border-radius: 10px; }
.sk-amt { display: inline-block; width: 4.5ch; height: .78em; border-radius: 10px; vertical-align: middle; }
.row .sk.thumb { border-radius: 6px; }
.row-main .sk-line + .sk-line, .pod-body .sk-line + .sk-line { margin-top: 6px; }
.row-right .sk-line + .sk-line { margin-top: 6px; }
.activity li .sk-line { display: block; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
/* Skeleton colors per theme: always a step darker (light) or lighter (dark) than the page */
:root { --sk-a: #e6e6e1; --sk-b: #f0f0ec; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sk-a: #1f1f23; --sk-b: #2a2a30; } }
:root[data-theme="dark"] { --sk-a: #1f1f23; --sk-b: #2a2a30; }
.sk { background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%); background-size: 200% 100%; }
