/* supportbid — THE SUPPORT LEADERBOARD.
   Outbid's proven anatomy (centered pill → toggle → priced hero → claim bar →
   tinted #1 → board → today teaser) wearing our skin. A bidding game, not a
   bureaucracy parody: the theater is the climb.
   Laws:
   - ground: cold form-gray; surfaces white; ink near-black; ONE interactive color:
     form-blue (--accent #3f74b8, a soft shade of the mark blue — never X sky-blue); yellow exists ONLY as the highlighter
     swipe behind money; alarm red sparingly; green = RESOLVED only
   - display: Anton for money figures; body: Public Sans; data: IBM Plex Mono
   - rows are hairline lines with rank badges; pills for chips/toggles/fields */

:root {
  --ground: #f6f7f8;
  --surface: #ffffff;
  --ink: #0f1419;
  --dim: #64707a;
  --hairline: #d7dce1;
  --accent: #3f74b8; /* soft blue (interactive shade of the #5E8FCB mark blue) */
  --hl: #ffd400;
  --alarm: #d92d20;
  --ok: #0e8a4a;
  --accent-hover: #1a3ab8;
  --hl-tint: #fff9dc;
  --on-accent: #ffffff;
  color-scheme: light dark;
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #14171b;
    --surface: #1c2127;
    --ink: #e7ebee;
    --dim: #8b97a1;
    --hairline: #313941;
    --accent: #6b9fd8;
    --accent-hover: #85b3e4;
    --alarm: #e5534b;
    --ok: #3fbf7f;
    --hl-tint: #38321a;
    --on-accent: #10151b;
    /* --hl stays #ffd400 — the highlighter is the brand in both schemes */
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); }
body {
  margin: 0; background: var(--ground); color: var(--ink); overflow-x: clip;
  font-family: var(--body); line-height: 1.5; font-size: 15px;
}
/* board pages run at 1080 — a six-column ranked row can't breathe at a blog measure;
   the hero, claim bar and empty-state prose keep a reading measure inside it */
main { max-width: 1080px; margin: 0 auto; padding: 0 20px 72px; }
.hero, .claim-bar, .hero-note, .empty .how, .specimen, .paid-banner { max-width: 680px; margin-left: auto; margin-right: auto; }
a { color: inherit; }

/* the highlighter — the one analog motif, money only */
.hl {
  background: var(--hl); color: #0f1419;  /* marker ink is black in both schemes */
  padding: .04em .16em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ── header: white system bar ─────────────────────────── */
.top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px;
  background: var(--surface); border-bottom: 1px solid var(--hairline);
  padding: 12px 20px;
}
.top-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { font: 600 21px/1 "Fredoka", var(--body); color: var(--ink); text-decoration: none; }
.brand-sub { display: block; font: 600 8.5px/1 var(--mono); letter-spacing: .32em; color: var(--dim); margin-top: 4px; }
.board-toggle { display: inline-flex; background: var(--ground); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px; }
.board-toggle button {
  font: 600 13.5px/1 var(--body); padding: 8px 16px;
  background: transparent; color: var(--dim); border: 0; border-radius: 999px; cursor: pointer;
}
.board-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 2px rgba(15,20,25,.08); }
/* Today is a second board, not a filter — it gets the live dot */
.board-toggle button[data-w="today"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok, #2f9e5f); margin-right: 7px; vertical-align: 1px; }
/* centered ceremony below the header: pill, then toggle (outbid's axis) */
.center-strip { display: grid; justify-items: center; gap: 12px; padding: 24px 16px 0; }
.top-nav { display: flex; gap: 12px; }
.top-nav a { font: 600 14px/1 var(--body); color: var(--dim); text-decoration: none; }
.top-nav a:hover { color: var(--accent); }
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 999px;
  background: var(--ok); margin-right: 7px; vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.top-stats {
  font: 500 11.5px/1.4 var(--mono); color: var(--dim); letter-spacing: .02em; font-variant-numeric: tabular-nums;
  background: var(--ground); border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 14px;
}
.top-stats span, .top-stats b { color: var(--ink); font-weight: 600; }
.top-stats a { color: var(--accent); text-decoration: none; font-weight: 600; }


/* ── hero: Claim #1 for [−] $X [+] ─────────────────────── */
.hero { padding: 28px 0 0; text-align: center; }
.hero-claim {
  font: 800 clamp(30px, 5.6vw, 52px)/1.15 var(--body); letter-spacing: -.02em; margin: 0 0 10px;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--hairline);
  background: var(--surface); color: var(--dim); font: 600 18px/1 var(--body); cursor: pointer;
}
.stepper button:hover { color: var(--accent); border-color: var(--accent); }
.hero-amt { font-family: var(--display); font-weight: 400; font-size: 1.18em; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.hero-amt .hl { display: inline-block; line-height: 1.14; padding: 0 .14em; border-radius: 4px; }
.hero-hl { cursor: text; }
.hero-hl input {
  font: inherit; color: inherit; background: transparent; border: 0; outline: none;
  padding: 0; margin: 0; width: auto; min-width: 1ch; max-width: 5.2ch;
  field-sizing: content; caret-color: #0f1419;
  appearance: none; -webkit-appearance: none; border-radius: 0;
}
.hero-hl input:focus, .hero-hl input:focus-visible {
  outline: 0 !important; box-shadow: none !important; border: 0 !important;
}
.hero-hl input::selection { background: #0f1419; color: var(--hl); }
.hero-law { font: 500 15px/1.5 var(--body); color: var(--dim); margin: 0 0 24px; }
.hero-law strong { color: var(--ink); }
.claim-bar {
  display: flex; gap: 8px; max-width: 680px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; padding: 7px;
  transition: border-color .12s, box-shadow .12s;
}
.claim-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.claim-bar input:focus-visible, .claim-bar select:focus-visible { outline: none; }
.claim-bar input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline-offset: -2px;
  font: 500 15px/1.3 var(--body); color: var(--ink); padding: 14px 12px 14px 18px;
}
.claim-bar select {
  appearance: none; border: 0; background: transparent; color: var(--dim); cursor: pointer;
  font: 600 13px/1.3 var(--body); padding: 10px 26px 10px 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%2364707a'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
}
.claim-bar .btn-primary { border-radius: 999px; white-space: nowrap; }
.claim-fallback { max-width: 680px; margin: 10px auto 0; }
.claim-fallback input {
  width: 100%; font: 500 14px/1.3 var(--body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--alarm); border-radius: 999px; padding: 11px 18px;
}
.hero .error { margin-top: 12px; }

@media (max-width: 640px) {
  .claim-bar { flex-wrap: wrap; background: transparent; border: 0; border-radius: 0; padding: 0; gap: 10px; }
  .claim-bar:focus-within { box-shadow: none; }
  .claim-bar input, .claim-bar select {
    flex: 1 1 100%; background: var(--surface); border: 1px solid var(--hairline);
    border-radius: 999px; padding: 17px 22px;
  }
  .claim-bar input:focus, .claim-bar select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
  .claim-bar select { background-position: right 18px center; color: var(--ink); }
  .claim-bar .btn-primary { flex: 1 1 100%; text-align: center; padding: 16px 20px; }
}

/* buttons */
.btn-primary {
  font: 700 13.5px/1 var(--body); letter-spacing: .02em;
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 6px;
  padding: 13px 20px; cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outbid {
  font: 700 13px/1 var(--body); letter-spacing: .02em; font-variant-numeric: tabular-nums;
  background: var(--surface); color: var(--accent); border: 1.5px solid var(--accent); border-radius: 999px;
  padding: 9px 16px; cursor: pointer;
}
.btn-outbid:hover { background: var(--accent); color: var(--on-accent); }
.btn-quiet {
  font: 600 13px/1 var(--body); background: var(--surface); color: var(--dim);
  border: 1px solid var(--hairline); border-radius: 6px; padding: 10px 14px; cursor: pointer;
}
.btn-quiet:hover { color: var(--ink); border-color: var(--dim); }
button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* post-payment takeover */
.paid-banner {
  background: var(--surface); border: 1px solid var(--hairline); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 18px 20px; margin: 24px 0 0;
}
.paid-line { font: 800 clamp(16px, 3vw, 24px)/1.3 var(--body); margin-bottom: 14px; }
.paid-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* bid sheet — outbid's confirm anatomy */
.confirm-card {
  display: flex; justify-content: space-between; gap: 16px;
  background: var(--ground); border: 1px solid var(--hairline); border-radius: 8px; padding: 14px 16px;
}
.confirm-card span { display: block; font: 600 9px/1 var(--mono); letter-spacing: .18em; color: var(--dim); margin-bottom: 6px; }
.confirm-card b { display: block; font: 800 22px/1.1 var(--body); font-variant-numeric: tabular-nums; }
.confirm-card i { display: block; font: 500 11px/1.5 var(--mono); font-style: normal; color: var(--dim); margin-top: 3px; }
.cc-right { text-align: right; }
.tos { display: flex; gap: 10px; align-items: flex-start; font: 400 12.5px/1.5 var(--body); color: var(--dim); cursor: pointer; }
.tos input { margin-top: 2px; accent-color: var(--accent); width: 16px; height: 16px; }
.tos a { color: var(--accent); }
.btn-primary:disabled { opacity: .45; cursor: default; }
.btn-primary:disabled:hover { background: var(--accent); }
.supporter-input { border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface); color: var(--ink); font: 400 13px/1 var(--body); padding: 11px 12px; outline: none; width: 100%; }
.supporter-input:focus { border-color: var(--accent); }
.hero-note { font: 400 13.5px/1.6 var(--body); color: var(--dim); margin: 10px 0 0; }
.tier { list-style: none; text-align: center; font: 600 10px/1 var(--mono); letter-spacing: .16em; color: var(--dim); padding: 16px 0 6px; border-bottom: 0 !important; }
/* Ledger rows close themselves. Every row draws a bottom hairline, and the next
   section's .board-head draws a top one 42px below it — so the last row of a
   section left two parallel rules framing an empty band, reading as a section
   that failed to load. The section divider is the .board-head rule; the row
   above it should not draw a second one. */
.board > .row:last-child,
.activity-list li:last-child,
.teaser-list li:last-child .teaser-row { border-bottom: 0; }

.activity { margin-top: 34px; }
.activity-list { list-style: none; margin: 6px 0 0; padding: 0; }
.activity-list li { display: flex; gap: 10px; align-items: baseline; padding: 9px 2px; border-bottom: 1px solid var(--hairline); font: 500 12.5px/1.4 var(--mono); color: var(--dim); }
.activity-list li b { color: var(--ink); font: 400 17px/1 var(--display); font-variant-numeric: tabular-nums; }
.activity-list li .aw { color: var(--ink); font-family: var(--body); font-weight: 600; }
.activity-list li .at { margin-left: auto; font-size: 11px; }
/* pressed things move — the whole site was motionless (micro fork M8) */
.btn-primary, .btn-outbid, .btn-quiet, .stepper button, .filters button, .board-toggle button, .p-visit {
  transition: transform .06s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.btn-primary:active, .btn-outbid:active, .btn-quiet:active, .stepper button:active, .filters button:active, .p-visit:active { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-outbid, .btn-quiet, .stepper button, .filters button, .board-toggle button, .p-visit { transition: none; }
  .btn-primary:active, .btn-outbid:active, .btn-quiet:active, .stepper button:active, .filters button:active, .p-visit:active { transform: none; }
}
.row, .pcard { cursor: pointer; }
/* hover steal pill — the priced takeover, offered at the card (outbid's move) */
.pcard { position: relative; }
.pcard .steal {
  position: absolute; bottom: -13px; left: 50%; transform: translateX(-50%);   /* bottom edge — the ribbon owns the top */
  white-space: nowrap; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 12px/1 var(--body); padding: 8px 14px;
  background: var(--accent); color: var(--on-accent);
  opacity: 0; pointer-events: none; transition: opacity .12s ease;
}
.pcard:hover .steal, .pcard:focus-within .steal { opacity: 1; pointer-events: auto; }
@media (hover: none) { .pcard .steal { display: none; } }
/* touch: 44px targets, 16px inputs (iOS zooms anything smaller), a first screen that reaches the board */
@media (hover: none), (max-width: 640px) {
  .btn-outbid, .btn-quiet, .p-visit, .filters button, .board-toggle button { min-height: 44px; }
  .claim-bar input, .claim-bar select, .supporter-input, #sheet-custom { font-size: 16px; }
}
@media (max-width: 640px) {
  .center-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 12px 12px 0; gap: 8px; }
  .hero { padding: 12px 0 0; }
  .hero-law { margin-bottom: 14px; }
  .hero-note { font-size: 12.5px; margin-top: 8px; }
}
.brand-mark { width: 24px; height: 24px; vertical-align: -6px; margin-right: 7px; }
/* bid sheet */
.sheet-wrap { position: fixed; inset: 0; background: rgba(15,20,25,.45); display: grid; place-items: center; padding: 16px; z-index: 10; }
.sheet { background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; max-width: 430px; width: 100%; padding: 22px; display: grid; gap: 14px; }
.sheet-sub { font: 500 13px/1.5 var(--body); color: var(--dim); margin: 0; }
/* the listing, before it's paid for: the face, the name, the words — or whose case this already is */
.sheet-preview { display: grid; grid-template-columns: 44px 1fr; gap: 10px 12px; align-items: start; border: 1px solid var(--hairline); border-radius: 8px; padding: 12px; }
.sheet-preview .pfp, .sheet-preview .pfp-fallback { width: 44px; height: 44px; border-radius: 10px; font-size: 18px; }
.sheet-preview .pv-name { font: 700 14px/1.35 var(--body); margin: 0; }
.sheet-preview .pv-name .handle { color: var(--dim); font: 500 12px/1 var(--mono); }
.sheet-preview .pv-text { font: 400 13px/1.5 var(--body); color: var(--dim); margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sheet-preview .pv-note { grid-column: 1 / -1; font: 600 11px/1.5 var(--mono); letter-spacing: .04em; color: var(--accent); margin: 0; }
.sheet-preview .pv-note.warn { color: var(--alarm); }
.sheet-preview.loading { color: var(--dim); font: 500 13px/1.5 var(--body); grid-template-columns: 1fr; }
.sheet-row { display: flex; gap: 8px; }
.sheet-row .btn-quiet { flex: 1; }
.sheet-row .btn-primary { flex: 2; text-align: center; }

/* filing form — the intake form */
.filing-head { font: 600 10px/1 var(--mono); letter-spacing: .3em; color: var(--dim); }
.filing input:not([type="radio"]):not([type="number"]), .filing select {
  font: 500 15px/1.3 var(--body); color: var(--ink); background: var(--ground);
  border: 1px solid var(--hairline); border-radius: 6px; padding: 11px 12px; width: 100%;
}
.filing select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%2364707a'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.amounts { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.amounts legend { font: 600 10px/1.5 var(--mono); letter-spacing: .14em; color: var(--dim); margin-bottom: 8px; text-transform: uppercase; }
.amounts label {
  display: inline-flex; align-items: center; cursor: pointer;
  border: 1px solid var(--hairline); border-radius: 999px; padding: 9px 15px; background: var(--surface);
  font: 600 13px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink);
}
.amounts input[type="radio"] { position: absolute; opacity: 0; }
.amounts label:has(input:checked) { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.amounts .custom input[type="number"] { width: 72px; border: 0; background: transparent; color: inherit; font: inherit; outline: none; }
.fine { font-size: 11.5px; color: var(--dim); margin: 0; }
.fine a { color: var(--accent); }
.error { color: var(--alarm); font: 600 13px/1.4 var(--body); margin: 0; }

/* board */
.board-head {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline); margin-top: 42px; padding-top: 18px;
}
.board-head > span { font: 600 10px/1 var(--mono); letter-spacing: .3em; color: var(--dim); }
.board-head-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 34px 0 4px; }
.filters button {
  font: 600 13px/1 var(--body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 10px 16px; cursor: pointer;
}
.filters button:hover { border-color: var(--dim); }
.filters button[aria-pressed="true"] { color: var(--ground); background: var(--ink); border-color: var(--ink); }

.board { list-style: none; margin: 4px 0 0; padding: 0; }
.row {
  display: grid;
  grid-template:
    "rank avatar body total" auto
    "rank avatar body acts"  1fr
    "rank .      meta meta"  auto
    / 44px 44px minmax(0, 1fr) auto;
  column-gap: 16px; row-gap: 8px; align-items: start;
  padding: 20px 12px; border-bottom: 1px solid var(--hairline);
}
.row .rank { grid-area: rank; align-self: center; }
.row > div:nth-child(2) { grid-area: avatar; }
.row > div:nth-child(3) { grid-area: body; }
.row .total { grid-area: total; }
.row .acts { grid-area: acts; justify-self: end; align-self: start; }
.row .meta { grid-area: meta; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.rank-1 {
  background: var(--hl-tint); border: 1px solid var(--hl); border-radius: 10px;
  margin: 4px 0 6px; padding: 18px 14px; border-bottom: 1px solid var(--hl);
}
.row .meta .open-stamp { color: var(--alarm); font-weight: 600; letter-spacing: .06em; }
.row .meta .open-stamp.mild { color: var(--dim); }
.row .rank { font: 700 20px/1 var(--body); color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.row .total { text-align: right; font: 400 22px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.row .title { font: 700 17px/1.4 var(--body); margin: 0 0 2px; overflow-wrap: break-word; }
.case-chip {
  display: none; font: 600 10px/1 var(--mono); letter-spacing: .06em;
  background: var(--ground); border: 1px solid var(--hairline); border-radius: 5px;
  padding: 4px 7px; margin-right: 9px; vertical-align: 2px; color: var(--dim); text-decoration: none;
}
.row.rank-1 .case-chip { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.row .title .handle, .throne-id .handle { color: var(--dim); font-weight: 500; font-family: var(--mono); font-size: .85em; }
.row .desc { font: 400 15px/1.5 var(--body); color: var(--dim); margin: 0 0 5px; max-width: 70ch; overflow-wrap: break-word; }
.postlink { text-decoration: none; display: block; }
.postlink:hover .desc { color: var(--ink); }
.postlink:hover .pfp, .postlink:hover .pfp-fallback { outline: 2px solid var(--accent); }
.row .meta { font: 500 12px/1.8 var(--mono); color: var(--dim); }
.row .meta .cat { color: var(--accent); font-weight: 600; letter-spacing: .06em; }
.row .meta a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.row .acts { display: flex; gap: 8px; }
.row.flash { animation: takeover 1s ease-out; }
@keyframes takeover { 0% { background: #ffd40040; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .row.flash { animation: none; } }
.row.resolved .title::after { content: " — RESOLVED"; font: 700 9.5px/1 var(--mono); color: var(--ok); letter-spacing: .1em; }
.pcard.resolved .p-title::after { content: " — RESOLVED"; font: 700 9.5px/1 var(--mono); color: var(--ok); letter-spacing: .1em; }

/* avatars — real pfp when X still serves it, monogram when suspended ate it */
.pfp { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: var(--ground); display: block; }
.pfp-fallback {
  width: 44px; height: 44px; border-radius: 8px; display: none;
  align-items: center; justify-content: center;
  background: var(--ground); border: 1px solid var(--hairline);
  font: 700 18px/1 var(--body); color: var(--dim); text-transform: uppercase;
}
.throne .pfp, .throne .pfp-fallback { width: 64px; height: 64px; border-radius: 10px; font-size: 26px; }

.empty { padding: 6px 0 26px; text-align: center; }
.empty-line { color: var(--dim); font: 500 14px/1.6 var(--body); margin: 18px 0 24px; }
.how { list-style: none; counter-reset: step; margin: 0 auto 34px; padding: 0; max-width: 560px; text-align: left; }
.how li { counter-increment: step; position: relative; padding: 13px 0 13px 44px; border-top: 1px solid var(--hairline); font: 400 14px/1.55 var(--body); color: var(--ink); }
.how li:last-child { border-bottom: 1px solid var(--hairline); }
.how li::before { content: "0" counter(step); position: absolute; left: 2px; top: 15px; font: 600 12px/1 var(--mono); color: var(--dim); }
.how b { font-weight: 800; }
.specimen { position: relative; max-width: 680px; margin: 0 auto; text-align: left; pointer-events: none; user-select: none; }
.specimen .row { opacity: .5; border: 1px dashed var(--hairline); border-radius: 10px; border-bottom: 1px dashed var(--hairline); background: var(--surface); }
.spec-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-6deg); font: 700 13px/1 var(--mono); letter-spacing: .3em; text-indent: .3em; color: var(--dim); border: 2px solid currentColor; padding: 7px 11px; border-radius: 4px; z-index: 2; background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--surface) 40%, transparent); }
.spec-pfp { display: inline-flex; }
.spec-handle { color: var(--dim); font-weight: 400; }

/* today teaser — the second act under the all-time board */
.teaser-list { list-style: none; margin: 6px 0 0; padding: 0; }
.teaser-row {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 13px 12px; border-bottom: 1px solid var(--hairline);
}
.teaser-row:hover .t-who { color: var(--accent); }
.t-rank { font: 600 12px/1 var(--mono); color: var(--dim); min-width: 26px; }
.t-who { font: 700 14px/1.3 var(--body); color: var(--ink); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-amt { font: 400 17px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }

footer {
  max-width: 1080px; margin: 0 auto; padding: 10px 20px 52px;
  font-size: 12px; color: var(--dim); line-height: 1.7; text-align: center;
}
footer a { color: var(--accent); text-decoration: none; }
.foot-law { margin: 0 0 8px; }
.foot-links { margin: 0; }

/* the bottom brag — outbid's since-launch counter beat */
.brag { text-align: center; padding: 54px 0 26px; }
.brag-sub { font: 500 14px/1.6 var(--body); color: var(--dim); margin: 0; }
.brag-amt { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 8vw, 76px); line-height: 1.25; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.brag-amt .hl { display: inline-block; line-height: 1.12; padding: 0 .14em; border-radius: 4px; }

@media (max-width: 640px) {
  /* narrow: drop the rank gutter (inline badge instead), avatar rail stays */
  .row {
    grid-template:
      "avatar body total" auto
      "avatar body acts"  1fr
      "meta   meta meta"  auto
      / 48px minmax(0, 1fr) auto;
    column-gap: 14px;
  }
  .row .rank { display: none; }
  .row .meta { white-space: normal; overflow: visible; text-overflow: clip; }
  .stepper button { width: 42px; height: 42px; }
  .filters button { padding: 9px 14px; }
  .case-chip { display: inline-block; }
  .row .total { font-size: 17px; padding-top: 2px; }
}

/* ---- podium (top 3 as cards, outbid's current composition in our skin) ---- */
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.podium:has(.pcard:only-child) { grid-template-columns: minmax(0, 440px); justify-content: center; }
@media (max-width: 760px) { .podium { grid-template-columns: 1fr; } }
.pcard { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 9px; }
.pcard.rank-1 { border: 1.5px solid var(--accent); box-shadow: 0 1px 12px rgba(63, 116, 184, .13); }
.pcard.rank-2 { border-color: #c6d3e2; }
/* the rank is a ribbon hanging off the card's top edge (the one named candidate from the
   2026-09-01 side-by-side with outbid): a tab, not a chip floating inside the card */
.p-top { display: flex; justify-content: flex-end; align-items: center; min-height: 22px; }
.p-rank { position: absolute; top: -1px; left: 14px; font: 700 11px/1 var(--mono); letter-spacing: .06em; color: #fff; background: var(--ink); border-radius: 0 0 6px 6px; padding: 9px 10px 10px; }
.pcard.rank-1 .p-rank { background: var(--accent); top: -1.5px; }
.pcard.rank-3 .p-rank { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); border-top: 0; padding: 8px 8.5px 8.5px; }
.p-amt { font: 400 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.p-ava { align-self: flex-start; margin-top: 2px; }
.pcard .pfp, .pcard .pfp-fallback { width: 60px; height: 60px; border-radius: 14px; font-size: 24px; }
.p-title { font: 700 16px/1.35 var(--body); margin: 0; }
.p-desc { font: 400 14.5px/1.55 var(--body); color: var(--dim); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { font: 500 11px/1.5 var(--mono); letter-spacing: .04em; color: var(--dim); }
.p-acts { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 10px; }
.p-visit { font: 600 12.5px/1 var(--body); color: var(--on-accent); background: var(--accent); padding: 9px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.p-visit:hover { filter: brightness(1.07); }
.p-case { font: 600 11px/1 var(--mono); color: var(--dim); text-decoration: none; }
.p-case:hover { color: var(--accent); }
