/* tractor web — themes + scaffold.
   Every color is a token; a theme redefines tokens under
   [data-theme="…"] on <html>. Card SVGs read the --card-* tokens too,
   so faces re-skin with the theme (docs/archive/09-web.org). Add themes here;
   the picker persists the choice in localStorage ("tractor-theme"). */
:root, [data-theme="felt"] {
  --felt: #1d5c3e;
  --felt-deep: #14432d;
  --ink: #eef3ee;
  --dim: #a8bfae;
  --gold: #e8c35a;
  --danger: #e0716d;
  --ok: #5cc98c;
  /* cards */
  --card-face: #fdfdf8;
  --card-black: #1d1f24;
  --card-red: #c8102e;
  --card-edge: #c9c4b6;
  --trump-badge: #e8c35a;       /* N55: the trump corner badge (fill) */
  --trump-badge-ink: #2a2410;   /* …and the index on it */
  /* "tractor-glyphs" (web/fonts, N51) comes LAST: system fonts draw what they
     can; the bundle fills only the glyphs a machine lacks. */
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace, "tractor-glyphs";
  /* N29: prose surfaces read in a UI face; mono stays where it earns its
     place (card tokens, scores, badges — tabular data). */
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif, "tractor-glyphs";
}
[data-theme="midnight"] {
  --felt: #1c2733;
  --felt-deep: #0e151d;
  --ink: #e8edf2;
  --dim: #93a4b3;
  --gold: #d9b356;
  --danger: #e0716d;
  --ok: #5cc98c;
  --card-face: #f2f4f6;
  --card-black: #14181e;
  --card-red: #b3273b;
  --card-edge: #aab4bd;
  --trump-badge: #d9b356;
  --trump-badge-ink: #2a2410;
}
[data-theme="parlor"] {
  --felt: #e9e5da;
  --felt-deep: #d8d2c2;
  --ink: #2a2d2a;
  --dim: #6d7468;
  --gold: #a8842c;
  --danger: #b2453f;
  --ok: #2e8f5b;
  --card-face: #ffffff;
  --card-black: #23262b;
  --card-red: #c8102e;
  --card-edge: #b9b4a4;
  --trump-badge: #d9b356;       /* lighter than parlor's UI gold: dark ink needs it */
  --trump-badge-ink: #2a2410;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(ellipse at 50% 30%, var(--felt), var(--felt-deep) 75%);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px; line-height: 1.5;
}
/* The product's voice stays mono where it reads as DATA (N29). */
h1, .brand, .trump-badge, .gauge, .lvl, .seat .ai, .invite-url,
.hist-idx, .hist-pts, .empty-card, .glabel, .announce-head {
  font-family: var(--mono);
}
main {
  max-width: 1140px; margin: 0 auto; padding: 48px 20px;
  display: flex; flex-direction: column; gap: 20px;
}
h1 {
  font-size: 28px; letter-spacing: 0.04em; margin: 0;
}
/* The wordmark always uses the bundled glyphs (N51) — the same 拖拉机 everywhere. */
h1 .zh, .brand .zh { font-family: "tractor-glyphs", var(--ui); }
h1 .zh { color: var(--gold); font-size: 20px; margin-left: 10px; }
p.dim { color: var(--dim); margin: 0; }
button, input[type=text] {
  font-family: var(--ui); font-size: 15px;
  padding: 10px 16px; border-radius: 6px; border: 1px solid var(--dim);
}
button {
  background: var(--gold); color: #2a2410; border-color: transparent;
  cursor: pointer; font-weight: 700;
}
button:hover { filter: brightness(1.07); }
button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
input[type=text] { background: rgba(0,0,0,0.25); color: var(--ink); }
form { display: flex; gap: 10px; flex-wrap: wrap; }

.share {
  background: rgba(0,0,0,0.25); border: 1px dashed var(--dim);
  border-radius: 6px; padding: 10px 14px; user-select: all;
  overflow-wrap: anywhere;
}

.roster { display: flex; gap: 10px; flex-wrap: wrap; }
.seat {
  border: 1px solid var(--dim); border-radius: 6px;
  padding: 8px 14px; min-width: 130px;
  background: rgba(0,0,0,0.2);
}
.seat.open { border-style: dashed; color: var(--dim); }
.seat.you { border-color: var(--gold); color: var(--gold); }
.seat .num { font-size: 11px; color: var(--dim); display: block; }

#feed {
  background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; padding: 12px 14px;
  height: 50vh; overflow-y: auto;
  font-size: 13.5px; line-height: 1.55;
  white-space: pre-wrap;
}
#feed .win { color: var(--gold); }
#feed .rej { color: var(--danger); }
#feed .sys { color: var(--dim); }
.badge {
  display: inline-block; font-size: 11px; letter-spacing: 0.08em;
  border: 1px solid var(--dim); color: var(--dim);
  padding: 1px 8px; border-radius: 999px;
}

/* ── the visual table (N8: hand center-stage, log to a side rail) ─────── */
.k { color: var(--dim); }
.win { color: var(--gold); }

/* topbar: brand · trump spelled out · are-we-winning gauge */
.topbar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.brand { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.brand .zh { color: var(--gold); font-size: 15px; margin-left: 8px; }
.trump-badge { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.24); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 6px 12px; }
[data-theme="parlor"] .trump-badge, [data-theme="parlor"] .panel, [data-theme="parlor"] .trickzone { background: rgba(255,255,255,0.4); border-color: rgba(0,0,0,0.15); }
.trump-badge .k { font-size: 12px; letter-spacing: 0.06em; }
.trump-badge .val { font-size: 18px; font-weight: 700; }
.trump-badge .val.red { color: var(--card-red); } .trump-badge .val.black { color: var(--ink); }
.gauge { margin-left: auto; min-width: 260px; }
.gauge .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-bottom: 4px; }
.gauge .row b { color: var(--gold); }
.bar { height: 9px; border-radius: 5px; background: rgba(0,0,0,0.4); position: relative; overflow: hidden; }
.bar > span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--gold-soft, var(--gold)), var(--gold)); border-radius: 5px; }
.bar .thresh { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: 0.55; }
.lead-note { font-size: 11px; color: var(--dim); margin-top: 4px; }
.lead-note b { color: var(--gold); }

/* main grid: center trick + right rail */
.stage { display: grid; grid-template-columns: 1fr 240px; gap: 18px; margin-top: 16px; }
@media (max-width: 820px) { .stage { grid-template-columns: 1fr; } }
.panel { background: rgba(0,0,0,0.24); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 14px; }
.panel h3 { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; font-weight: 600; }
.panel h3.clickable { cursor: pointer; }

.trickzone { background: rgba(0,0,0,0.24); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 16px; }
.trickzone .title { font-size: 12px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; text-align: center; margin-bottom: 12px; }
.trick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trick-slot { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trick-slot .who { font-size: 12px; color: var(--dim); }
.trick-slot.us .who { color: var(--gold); }
.trick-slot .crown { color: var(--gold); }
.trick-slot .lead-tag { font-size: 10px; color: var(--dimmer, #7b9184); letter-spacing: 0.08em; min-height: 12px; }
.trick-slot .empty-card { width: 92px; height: 130px; border: 1px dashed rgba(255,255,255,0.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 20px; }
.mini { display: inline-flex; gap: 3px; --card-width: 40px; vertical-align: middle; }
.mini t-card { width: var(--card-width); }
.mini.winning t-card svg { box-shadow: 0 0 0 2.5px var(--gold); border-radius: 6px; }
/* The trick is the focal point (N16): its cards must be glanceable — near
   hand-size, wrapping for pairs/throws. Minis elsewhere (trump badge) stay small. */
.trick-grid .mini { --card-width: 92px; flex-wrap: wrap; justify-content: center; }
.trick-grid .who { font-size: 14px; }
.trick-grid .lead-tag { font-size: 12px; }
.trick-foot { text-align: center; margin-top: 14px; font-size: 14px; color: var(--dim); }
.trick-foot .win { color: var(--gold); }

/* invite / share (create-table flow) */
.share-btn {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,0.24); color: var(--dim); border: 1px solid var(--line);
  border-radius: 7px; padding: 6px 12px; cursor: pointer; white-space: nowrap;
}
.share-btn:hover { color: var(--gold); border-color: var(--gold); }
.share-btn.big { font-size: 14px; padding: 10px 18px; background: var(--gold); color: #2a2410; border-color: transparent; font-weight: 700; }
.share-btn.big:hover { filter: brightness(1.07); color: #2a2410; }
.invite { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 10px; }
.invite-lead { color: var(--dim); font-size: 13px; }
.invite-url {
  font-size: 13px; color: var(--ink); background: rgba(0,0,0,0.3); border: 1px dashed var(--dim);
  border-radius: 6px; padding: 8px 14px; user-select: all; overflow-wrap: anywhere; max-width: 100%;
}

.rail { display: flex; flex-direction: column; gap: 12px; }
.seat { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; }
.seat .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dimmer, #7b9184); flex: none; }
.seat.us { color: var(--gold); }
.seat.turn .dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(232,195,90,0.25); }
.seat.thinking .dot { background: var(--gold); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }
.seat .tag { margin-left: auto; font-size: 11px; color: var(--dim); }
.seat .tag.think { color: var(--gold); }
.seat .role { margin-left: auto; font-size: 11px; color: var(--dimmer, #7b9184); }
.seat .lvl {
  margin-left: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--gold-soft, var(--gold)); border: 1px solid rgba(232,195,90,0.4);
  border-radius: 4px; padding: 0 5px;
}
/* Seat state pill (N18c/N37): 🟢 LLM · 🟡 LLM ~ (transient fallback, decays)
   · 🔴 LLM ✕ (API down) · ⚪ away (socket dropped) · ⚫ bot. Every pill has a
   hover reason — cursor:help + dotted underline make that discoverable. */
.seat .ai {
  margin-left: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.03em;
  border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; opacity: 0.9;
  cursor: help; text-decoration: underline dotted; text-underline-offset: 2px;
  flex: none;
}
.seat .ai.ok   { color: var(--ok); }
.seat .ai.warn { color: var(--gold); }
.seat .ai.bad  { color: var(--danger); }
.seat .ai.away { color: var(--dim); border-style: dashed; }
.seat .ai.bot  { color: var(--dim); }
.log-rail .line { font-size: 11.5px; color: var(--dim); padding: 1px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-rail .line.win { color: var(--gold); } .log-rail .line.rej { color: var(--danger); } .log-rail .line.sys { color: var(--dimmer, #7b9184); }

/* the hand — the hero: big readable cards, centered */
/* N65: each group is a FAN — cards overlap so only the left edge (the corner
   index) of each shows; the last card is whole; a group never wraps. Hovering
   or selecting a card lifts it ABOVE its neighbours, fully visible. */
.handpanel { --fan-peek: 30px; display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 22px; }
.handrow { display: flex; flex-wrap: nowrap; gap: 0; align-items: flex-end; justify-content: center; padding-top: 16px; }
.handrow .glabel { margin-right: 10px; }
.handpanel t-card { position: relative; margin-left: calc(-1 * (var(--card-width) - var(--fan-peek))); }
.handpanel t-card:first-of-type { margin-left: 0; }
/* Hover (set by the row from the pointer's strip — not :hover, which would
   follow whatever is painted on top) brings the card to the front. Selection
   only RAISES it, keeping its place in the stack, so every neighbour's strip
   stays exposed and cards can be selected in any order. */
.handpanel t-card.hover { z-index: 10; }
@media (max-width: 820px) { .handpanel { --fan-peek: 24px; } }
.glabel { width: 24px; text-align: center; color: var(--dim); font-size: 19px; }
.handpanel t-card { --card-width: 92px; width: var(--card-width); }
.handpanel t-card svg { display: block; filter: drop-shadow(0 3px 7px rgba(0,0,0,0.34)); transition: transform 110ms; }
.handpanel t-card.clickable { cursor: pointer; }
.handpanel t-card.clickable.hover svg { transform: translateY(-12px); }
.handpanel t-card.selected svg { transform: translateY(-16px); outline: 3px solid var(--gold); outline-offset: -2px; border-radius: 8px; }

/* sticky action bar, centered (N15) */
.actionbar {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px;
  padding: 12px 4px;
  background: linear-gradient(to top, var(--felt-deep) 62%, transparent);
}
.actionbar .turn { color: var(--gold); font-weight: 700; letter-spacing: 0.06em; }
.actionbar button[disabled] { opacity: 0.4; cursor: default; }

.modal {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  /* Above the sticky action bar (z-index 5) — otherwise "waiting for your
     turn…" floats on top of the round-summary overlay (N22). */
  z-index: 50;
}
.modalbox {
  background: var(--felt-deep); border: 2px solid var(--gold); border-radius: 10px;
  padding: 26px 34px; font-size: 20px; color: var(--gold); font-weight: 700;
}
.modalbox.summary {
  display: flex; flex-direction: column; gap: 12px; min-width: 320px;
  font-size: 14px; font-weight: 400; color: var(--ink);
}
.modalbox.summary .summary-title { font-size: 18px; font-weight: 700; color: var(--gold); text-align: center; }
.summary-grid { display: flex; flex-direction: column; gap: 2px; }
.summary-grid .trow { display: grid; grid-template-columns: 1fr 60px 60px; gap: 8px; min-height: 0; }
.summary-grid .trow.me { color: var(--gold); font-weight: 700; }
.summary-grid .trow span:not(.k) { font-variant-numeric: tabular-nums; }
.modalbox.summary button { align-self: center; margin-top: 6px; }

/* ── N21: three-way points gauge ─────────────────────────────────────── */
.bar.split { display: flex; justify-content: space-between; }
.bar.split .def { position: absolute; left: 0; top: 0; bottom: 0; background: #6fb8ad; border-radius: 5px 0 0 5px; }
.bar.split .atk { position: absolute; right: 0; top: 0; bottom: 0; left: auto; background: linear-gradient(90deg, var(--gold-soft, var(--gold)), var(--gold)); border-radius: 0 5px 5px 0; }
.lead-note .defc { color: #6fb8ad; }
.lead-note .atkc { color: var(--gold); }

/* ── N20/N24: trick linger + graphical history ───────────────────────── */
.trick-slot.resolved t-card svg { opacity: 0.82; }
.hist-toggle { font-size: 10px; padding: 3px 8px; margin-left: 8px; vertical-align: middle; }
.hist-list { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.hist-row { display: grid; grid-template-columns: 58px repeat(4, 1fr); gap: 8px; align-items: start; background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 6px 8px; }
.hist-idx { font-size: 11px; color: var(--dimmer, #7b9184); padding-top: 4px; }
.hist-pts { color: var(--gold); font-weight: 700; font-size: 12px; }
.hist-cell { display: flex; flex-direction: column; gap: 3px; }
.hist-cell .hist-who { font-size: 11px; color: var(--dim); white-space: nowrap; }
.hist-cell.win .hist-who { color: var(--gold); }
.mini.hist { --card-width: 48px; flex-wrap: wrap; }
@media (min-width: 1400px) { .mini.hist { --card-width: 58px; } }
.hist-row { cursor: pointer; }
.hist-row.expanded .mini.hist { --card-width: 78px; }
.hist-cell.win .mini t-card svg { box-shadow: 0 0 0 2px var(--gold); border-radius: 4px; }

/* ── N19: intent-colored selection ───────────────────────────────────── */
.handpanel.intent-bury t-card.selected svg { outline-color: #b48ead; }
.handpanel.intent-declare t-card.selected svg { outline-color: #6fb8ad; }
.handpanel.intent-steal t-card.selected svg { outline-color: #6fb8ad; }
.actionbar.intent-bury .turn { color: #b48ead; }
.actionbar.intent-declare .k, .actionbar.intent-steal .turn { color: #6fb8ad; }

/* ── reconnection: away-seat status ──────────────────────────────────── */
.seat.away { opacity: 0.6; }
.seat.away .dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(224,113,109,0.2); }
.seat .tag.away { color: var(--danger); }

/* Center-table declaration / steal announcement (N34/N35). */
.announce {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 12px; text-align: center;
  animation: announce-flash 1.2s ease-out;
}
.announce .announce-head { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.announce.steal .announce-head { color: var(--gold); }
.announce .announce-sub { font-size: 12px; color: var(--dim); }
/* N64: the phase banner. The countdown box lights up gold (the announce flash)
   once per second, at the tick — `beat` is re-applied by the client when the
   digit changes; no entrance flash of its own. An open steal window glows. */
.announce.phase { animation: none; border-radius: 10px; }
.announce.phase.beat { animation: announce-flash 1s ease-out both; }
.announce.phase .announce-head { font-size: 44px; color: var(--gold); font-variant-numeric: tabular-nums; }
.announce .phase-line.open { color: var(--gold); }
.announce .mini t-card, .announce t-card { --card-width: 84px; }
@keyframes announce-flash {
  0% { box-shadow: inset 0 0 0 3px var(--gold); background: rgba(232, 195, 90, 0.12); }
  100% { box-shadow: inset 0 0 0 0 transparent; background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .announce { animation: none; }
}

/* Waiting-table seat picker (N26). */
.seat-grid { display: grid; grid-template-columns: repeat(2, minmax(150px, 200px)); gap: 10px; justify-content: center; margin: 14px 0 4px; }
.seat-slot { border: 1px solid var(--line, rgba(255,255,255,0.14)); border-radius: 10px; padding: 10px 12px; text-align: center; }
.seat-slot .who { font-weight: 700; }
.seat-slot.open { border-style: dashed; color: var(--dim); }
.seat-slot .team { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin: 3px 0 7px; }
.seat-slot.team-a .team { color: var(--ok); }
.seat-slot.team-b .team { color: var(--danger); }
.seat-slot .share-btn { font-size: 11px; }
.seat-slot .swap.armed { outline: 2px solid var(--gold); }
.nudge-btn { background: none; border: 1px solid var(--gold); color: var(--gold); border-radius: 4px; font-size: 10px; padding: 0 4px; cursor: pointer; margin-left: 6px; flex: none; }

/* N33: the SEATS rail must contain its rows — names ellipsize, chips keep
   their space. */
.seat { display: flex; align-items: center; min-width: 0; gap: 4px; }
.seat .pname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat .lvl, .seat .ai, .seat .nudge-btn, .seat .tag, .seat .dot { flex: none; }

/* N29: comfort controls (font size / four-color deck) in the topbar. */
.pref-btn { background: none; border: 1px solid var(--dim); color: var(--dim); border-radius: 5px; font-size: 11px; padding: 2px 7px; cursor: pointer; }
.pref-btn.active { color: var(--gold); border-color: var(--gold); }

/* N48/N63: the bottom chip — whose bottom it is this round. */
.seat .bottom-chip { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--gold); border: 1px solid var(--gold); border-radius: 4px; padding: 0 5px; flex: none; cursor: help; }

/* N43.3: rejection/punish toast — impossible to miss, easy to dismiss. */
.toast {
  position: fixed; top: 64px; left: 50%; transform: translateX(-50%);
  max-width: min(620px, 90vw); z-index: 60; cursor: pointer;
  background: color-mix(in srgb, var(--danger) 18%, var(--felt-deep));
  border: 1.5px solid var(--danger); color: var(--ink);
  border-radius: 10px; padding: 12px 18px; font-size: 14.5px; line-height: 1.45;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  animation: toast-in 180ms ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
/* N52a: the LLM-fill timeout note under the invite controls */
.fill-note { color: var(--dim); font-size: 13px; margin-top: 6px; text-align: center; }
/* N54: links (the table-gone page and the "couldn't join" message) in the theme ink */
main a { color: var(--gold); }
/* N59: the bottom in the round summary */
.modalbox.summary { width: min(490px, 92vw); box-sizing: border-box; }
.bottom-sec { display: flex; flex-direction: column; gap: 6px; }
.bottom-sec h3 { margin: 0; font-size: 11px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; font-weight: 600; }
.bcards { --card-width: 46px; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; padding: 8px 0 2px; }
.bcard { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bcard.nopt t-card { opacity: 0.42; filter: saturate(0.6); }
.bcard.pt t-card { transform: translateY(-5px); border-radius: 6px; box-shadow: 0 0 0 2px #fff6cf, 0 4px 12px rgba(0,0,0,0.45); }
.bcard .chip { font-size: 11px; font-weight: 700; color: #fff6cf; min-height: 14px; font-variant-numeric: tabular-nums; }
.lastline { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.lastline .lt { flex: 1; line-height: 1.9; }
.lastline .lead-mini { --card-width: 26px; vertical-align: middle; }
.mult { flex: none; font-weight: 700; color: var(--gold); border: 1px solid var(--gold); border-radius: 5px; padding: 1px 7px; font-size: 13px; }
.mult.none { color: var(--dim); border-color: var(--dim); font-weight: 400; }
.earned { font-size: 15px; }
.earned b { color: var(--gold); font-size: 18px; }
.earned.zero b { color: var(--dim); }
.recon b { color: var(--ink); }
