@font-face { font-family: 'Bakbak One'; font-weight: 400; font-display: swap; src: url(/fonts/bakbak-one-400.woff2) format('woff2'); }
@font-face { font-family: 'Kulim Park'; font-weight: 400; font-display: swap; src: url(/fonts/kulim-park-400.woff2) format('woff2'); }
@font-face { font-family: 'Kulim Park'; font-weight: 600; font-display: swap; src: url(/fonts/kulim-park-600.woff2) format('woff2'); }
@font-face { font-family: 'Kulim Park'; font-weight: 700; font-display: swap; src: url(/fonts/kulim-park-700.woff2) format('woff2'); }
@font-face { font-family: 'Knewave'; font-weight: 400; font-display: swap; src: url(/fonts/knewave-400.woff2) format('woff2'); }

/* rekt: a county-fair demolition derby by day. The page is whitewashed plywood, the header is tyre rubber with a
   tread edge, the footer is arena mud. The standings are the arena floor: one mud lane per car, a wall of stacked
   tyres is the 100 USDC line, cars sit right of it on a gain and get pushed back and dented on a loss; a wrecking
   ball drops towards any car whose open position nears its liquidation price. The hand-painted parts (place, car
   number, value) are plywood. Buttons are derby yellow. Bakbak One (poster letters) for the word mark, headings and
   figures, Kulim Park for text, Knewave only for numbers painted on cars. */
:root {
  --paper: #eee8dc; --paper-2: #e4ddcd; --sheet: #fbf8f1;
  --ply: #e6cfa2; --ply-2: #d6b984; --ply-grain: #c4a26a;
  --ink: #1a1918; --ink-2: #3d3a35; --muted: #6f685d; --line: #ddd4c3; --line-2: #c3b7a1;
  --tyre: #1c1b1a; --tyre-2: #2b2a28; --tread: #34332f;
  --mud: #5a4330; --mud-d: #3a2b1f; --mud-l: #8a6d50; --mud-dry: #b89c7a;
  --steel: #4a4e52; --steel-d: #24272a; --steel-l: #a2a8ad;
  --yellow: #f5b400; --yellow-d: #a97a00; --yellow-l: #ffc933;
  --red: #d8362a;
  --up: #1f7a3a; --down: #c62f24;
  --display: 'Bakbak One', 'Arial Black', Impact, sans-serif;
  --text: 'Kulim Park', 'Helvetica Neue', Arial, sans-serif;
  --paint: 'Knewave', 'Bakbak One', sans-serif;
  /* tread blocks for the header edge */
  --tread-band: repeating-linear-gradient(90deg, var(--tread) 0 14px, transparent 14px 20px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.6 var(--text); font-variant-numeric: tabular-nums; font-synthesis: none;
  background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
a { color: var(--ink); text-decoration-color: var(--yellow-d); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--mud); }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.005em; margin: 0 0 .45em; color: var(--ink); }
h3, h4 { font-family: var(--text); font-weight: 700; line-height: 1.25; margin: 0 0 .4em; }
h1 { font-size: clamp(40px, 4.6vw, 64px); }
h2 { font-size: clamp(27px, 2.6vw, 36px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
p { margin: 0 0 .8em; }
code, .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .8em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--ink); }
.ico { width: 1em; height: 1em; vertical-align: -.12em; margin-left: .25em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.app { flex: 1; padding-bottom: 64px; position: relative; }
.loading { padding: 80px 0; }

/* ---------- header: tyre rubber with a tread edge ---------- */
.top { position: sticky; top: 0; z-index: 20; color: #fff; background: var(--tyre); box-shadow: 0 6px 14px rgba(26, 25, 24, .16); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 7px; background: var(--tread-band); pointer-events: none; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 400 38px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 44px; height: 44px; }
.brand-mark.sm { width: 26px; height: 26px; vertical-align: -6px; margin-right: 8px; }
.nav { display: flex; gap: 26px; flex: 1; }
.nav a { color: #cfc8bb; text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0 4px; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; border-bottom-color: var(--yellow); }
.top-r { display: flex; align-items: center; gap: 14px; }
.xlink { color: #fff; font-size: 20px; display: inline-flex; }
.xlink .ico { margin: 0; }
.ca-strip { background: var(--yellow); color: var(--ink); font-size: 13px; padding: 6px 16px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ca-strip span { overflow-wrap: anywhere; }
.ca-strip a, .ca-strip .linkish { color: var(--ink); }

/* ---------- buttons: derby yellow with a black painted edge ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 17px/1 var(--text); border: 0; border-radius: 7px; padding: 15px 24px 14px; cursor: pointer; text-decoration: none; transition: transform .06s, box-shadow .06s, background .15s; }
.btn:active { transform: translateY(3px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-main { background: linear-gradient(180deg, var(--yellow-l) 0, var(--yellow) 60%); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--ink); }
.btn-main:hover { background: linear-gradient(180deg, #ffd65c 0, #ffbf14 60%); color: var(--ink); }
.btn-main:active { box-shadow: inset 0 0 0 2px var(--ink), 0 1px 0 var(--ink); }
.top .btn-main { box-shadow: inset 0 0 0 2px #000, 0 3px 0 #000; }
.btn-quiet { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--line-2); }
.btn-quiet:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 var(--mud-dry); }
.btn-long, .btn-short { color: #fff; flex: 1; }
.btn-long { background: var(--up); box-shadow: inset 0 0 0 2px #0f4721, 0 4px 0 #0f4721; }
.btn-short { background: var(--down); box-shadow: inset 0 0 0 2px #7a1913, 0 4px 0 #7a1913; }
.btn-small { padding: 10px 16px 9px; font-size: 15px; }
.wide { width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline 2px var(--yellow-d); text-underline-offset: 3px; cursor: pointer; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; padding: 54px 0 30px; }
.hero h1 { max-width: 15ch; }
.lede { font-size: 19px; max-width: 58ch; color: var(--ink-2); }
.hero-next { margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--ink); }
.hero-next p { font-size: 18px; }
.hero-next .mono { font: 400 22px/1 var(--display); color: var(--ink); background: none; padding: 0 2px; }

/* ---------- the clock: a dashboard fuel gauge ---------- */
.blk { width: 100%; max-width: 280px; margin: 0 auto; text-align: center; }
.blk-big { max-width: 360px; }
.fg-svg { width: 100%; height: auto; display: block; overflow: visible; }
.fg-tick { stroke: #e9e4d8; }
.fg-ef { font: 400 22px var(--display); fill: #f3efe6; }
.fg-half { font: 700 13px var(--text); fill: #bdb6a9; }
.fg-name { font: 600 12px var(--text); fill: #9f988a; letter-spacing: .04em; }
.fg-needle { transition: transform .8s cubic-bezier(.3,.7,.2,1); }
.fg-label { font: 700 12px var(--text); letter-spacing: .14em; fill: var(--ink-2); }
.fg-count { font: 400 42px var(--display); fill: var(--ink); }
.blk-last5 .fg-count { fill: var(--down); }
.bk-cap { font-size: 15px; color: var(--muted); margin: 6px 0 0; }

/* ---------- lobby: one plywood heat board per series, bolted, with a stripe of car paint ---------- */
.block { padding: 30px 0 8px; }
.block h2 { margin-bottom: 18px; }
.rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.slot {
  --paint: var(--red);
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 22px 22px 18px; color: var(--ink); text-decoration: none; border-radius: 4px;
  background: linear-gradient(var(--paint), var(--paint)) 0 0 / 100% 8px no-repeat, var(--sheet);
  box-shadow: 0 0 0 1.5px var(--ink), 0 5px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.rack > .slot:nth-child(4n+2) { --paint: #2f78c4; }
.rack > .slot:nth-child(4n+3) { --paint: #5a9e3a; }
.rack > .slot:nth-child(4n+4) { --paint: var(--yellow); }
/* carriage bolts in the corners */
.slot::before, .slot::after { content: ''; position: absolute; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9ced2, #5b6064 70%); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.slot::before { left: 9px; }
.slot::after { right: 9px; }
.slot:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink), 0 7px 0 var(--ink); }
.slot-name { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font: 400 30px/1.05 var(--display); color: var(--ink); }
.slot-name .mono { font: 400 15px/1 var(--text); color: var(--muted); }
.slot-when { grid-column: 1 / -1; font: 700 15px/26px var(--text); color: var(--ink-2); }
.slot-state { grid-column: 1 / -1; font-size: 15px; line-height: 28px; margin-bottom: 0; }
.slot-state b, .thead-state b { font: 400 23px/1 var(--display); color: var(--ink); }
.slot-kv { display: flex; flex-direction: column; line-height: 1.25; padding-top: 3px; }
.slot-kv i { font-style: normal; font-size: 13px; color: var(--muted); }
.slot-kv b { font-size: 16px; font-weight: 700; }
.slot-live .slot-state { color: var(--up); font-weight: 700; }
.slot-live { box-shadow: 0 0 0 1.5px var(--ink), 0 5px 0 var(--ink), inset 0 -4px 0 var(--up); }
.next-line { margin-top: 18px; }

/* how a heat is scored: four steps, numbers painted in black on yellow discs */
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.how-item { position: relative; padding: 4px 0 0 52px; counter-increment: step; }
.how-item::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; font: 400 22px/1 var(--paint); color: var(--ink); background: var(--yellow); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
.how-item h3 { font: 400 23px/1.1 var(--display); color: var(--ink); margin: 0 0 8px; }
.how-item p { font-size: 15px; color: var(--ink-2); margin: 0; }

.results { display: flex; flex-direction: column; gap: 6px; }
.result { display: grid; grid-template-columns: 60px 150px 170px 1fr; gap: 12px; align-items: baseline; padding: 11px 14px; background: var(--sheet); color: var(--ink); text-decoration: none; border-radius: 4px; box-shadow: 0 0 0 1px var(--line-2); }
.result:hover { box-shadow: 0 0 0 2px var(--ink); color: var(--ink); }
.result-win { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.fine { font-size: 14px; color: var(--muted); max-width: 90ch; margin-top: 40px; }

/* ---------- a heat ---------- */
.thead { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; padding: 34px 0 24px; }
.crumb { font-size: 15px; color: var(--muted); }
.thead-state { font-size: 18px; }
.facts { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 16px; margin: 18px 0 0; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.tbody { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.board-head h2 { margin: 0; }
.board-head .muted { font-size: 15px; }

/* the arena floor with its plywood standings board */
.board-art { margin-bottom: 18px; border-radius: 4px; overflow: hidden; background: var(--mud-d); box-shadow: 0 0 0 2px var(--ink), 0 5px 0 var(--ink); }
.ar-svg { display: block; width: 100%; height: auto; }
.ar-rk { font: 400 26px var(--display); fill: var(--ink); }
.ar-tag { font: 700 15px var(--text); fill: var(--ink-2); }
.ar-tag-n { font-size: 12px; }
.ar-val { font: 400 24px var(--display); }
.ar-val-n { font-size: 17px; }
.ar-door { font: 400 13px var(--paint); fill: var(--ink); }
.ar-liq { font: 700 12.5px var(--text); fill: #9d2a1f; }
.ar-liq-n { font-size: 9.5px; }
.ar-rule { font: 700 12.5px var(--text); fill: #f3e7cf; }
.ar-zero { font: 700 13px var(--text); fill: #f3e7cf; letter-spacing: .02em; }
.ar-foot { font: 400 14px var(--text); fill: #d8c7a8; }

/* the standings list: plywood strips */
.board { list-style: none; margin: 0; padding: 0; border-radius: 4px; overflow: hidden; background: var(--sheet); box-shadow: 0 0 0 1.5px var(--ink), 0 4px 0 var(--ink); }
.board .empty { padding: 26px; text-align: center; }
.tcard {
  position: relative; display: grid; grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 2px 14px; align-items: center;
  padding: 12px 16px; color: var(--ink); border-bottom: 1px solid var(--line);
}
.tcard:last-child { border-bottom: 0; }
.tc-rank { font: 400 26px/1 var(--display); color: var(--ink); text-align: center; }
.tc-id { display: flex; flex-direction: column; min-width: 0; }
.tc-no { font: 700 16px var(--text); color: var(--ink); display: flex; align-items: center; gap: 8px; }
.tc-car { flex: none; width: 34px; height: 17px; }
.tc-id a { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-pnl b { font: 400 27px/1 var(--display); }
.tc-pnl small { font-size: 14px; color: var(--muted); }
.tc-pnl.up b { color: var(--up); }
.tc-pnl.down b { color: var(--down); }
.tc-pos { font-size: 14px; display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--ink-2); }
.tc-pos .pos em { font-style: normal; }
/* the prize: painted on a yellow plate */
.tc-prize { font: 400 18px/1 var(--display); color: var(--ink); padding: 7px 10px 6px; background: var(--yellow); border-radius: 4px; box-shadow: inset 0 0 0 2px var(--ink); white-space: nowrap; }
.tc-note { grid-column: 2 / -1; font-size: 14px; color: var(--down); }
.tcard-refused, .tcard-paid { opacity: .55; }
.tcard-disqualified .tc-pnl b { text-decoration: line-through 2px var(--down); }
.tcard-p1 .tc-rank, .tcard-p2 .tc-rank, .tcard-p3 .tc-rank { font-size: 20px; width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto; background: var(--yellow); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
.tcard-me { background: #fff3c4; box-shadow: inset 5px 0 0 var(--yellow); }
.stamped .tc-pnl b { animation: flash .6s ease-out; }
@keyframes flash { 0% { background: rgba(245, 180, 0, .6); } 100% { background: transparent; } }

.tside { display: flex; flex-direction: column; gap: 18px; }
.panel { background: var(--sheet); border-radius: 4px; padding: 18px 20px; box-shadow: 0 0 0 1.5px var(--ink), 0 4px 0 var(--ink); }
.panel h3 { font: 400 24px/1.1 var(--display); color: var(--ink); }
.panel .addr { font-size: 13px; overflow-wrap: anywhere; }
.join, .mine { background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / 100% 8px no-repeat, var(--sheet); padding-top: 24px; }
.warnline { background: #fff0c2; padding: 8px 10px; border-radius: 4px; font-size: 15px; box-shadow: inset 4px 0 0 var(--down); }
.ready { font-weight: 700; }
.orders { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-row { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.order-row .inp { flex: 1; min-width: 0; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; font: 700 15px/1 var(--text); padding: 10px 0 9px; border: 0; border-radius: 6px; background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; }
.seg button:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.inp { font: inherit; font-size: 16px; padding: 11px 14px 10px; border-radius: 6px; border: 2px solid var(--line-2); background: #fff; color: var(--ink); width: 100%; }
.inp:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
select.inp { width: auto; flex: 0 0 110px; }
.feed-list, .pay-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.feed-list li { display: grid; grid-template-columns: 64px 90px 1fr auto; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.feed-t { color: var(--ink-2); }
.pay-list li { display: grid; grid-template-columns: 54px 1fr auto auto; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); align-items: baseline; }

/* ---------- dialog: a steward's clipboard sheet ---------- */
.dlg { border: 0; border-radius: 6px; padding: 0; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); color: var(--ink);
  background: linear-gradient(var(--tyre), var(--tyre)) 0 0 / 100% 10px no-repeat, var(--sheet); box-shadow: 0 0 0 2px var(--ink), 0 30px 80px rgba(26, 25, 24, .35); }
.dlg::backdrop { background: rgba(28, 22, 16, .55); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 6px; border-bottom: 2px solid var(--ink); margin: 0 22px; }
.dlg-head h2 { margin: 0 0 8px; font-size: 30px; }
.dlg-x { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); padding: 6px; }
.dlg-x .ico { margin: 0; }
.dlg-body { padding: 14px 22px 24px; }
.dlg-body .btn { margin-top: 10px; }
.wallets { display: flex; flex-direction: column; gap: 8px; }
.wallet-pick { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 6px; border: 0; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 700 16px var(--text); color: var(--ink); cursor: pointer; }
.wallet-pick:hover { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.choices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.choice { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 6px; border: 0; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--line-2); font: inherit; cursor: pointer; color: var(--ink); }
.choice span { font-size: 15px; color: var(--muted); }
.choice.on { box-shadow: inset 0 0 0 2.5px var(--ink); background: #fff7d9; }
.inp-wrap { margin-top: 8px; }
.kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; font-size: 15px; margin: 0 0 8px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- documents ---------- */
.doc { max-width: 820px; padding-top: 40px; }
.doc.wide { max-width: 1100px; }
.doc h2 { margin-top: 1.2em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .5em; overflow-wrap: anywhere; }
.doc p { overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin: 10px 0 20px; border-radius: 4px; box-shadow: 0 0 0 1.5px var(--ink); }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--sheet); }
.tbl th { text-align: left; font-weight: 700; color: #fff; background: var(--tyre); padding: 9px 10px; white-space: nowrap; }
.tbl td { border-bottom: 1px solid var(--line); padding: 8px 10px; white-space: nowrap; }
.verify-out { margin: 20px 0; }

/* ---------- footer: arena mud ---------- */
.foot { position: relative; background: var(--mud-d); color: #d8c7a8; padding: 28px 0 22px; font-size: 15px; margin-top: 14px; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--tread-band), var(--tyre); }
.foot-in { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot a { color: #d8c7a8; }
.foot a:hover { color: #fff; }
.foot-brand { font: 400 30px var(--display); color: #fff; margin-right: auto; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--tyre); color: #fff; padding: 12px 18px 11px; border-radius: 6px; font-size: 16px; z-index: 50; max-width: calc(100vw - 32px); box-shadow: inset 4px 0 0 var(--yellow), 0 10px 30px rgba(26, 25, 24, .3); }

@media (max-width: 1020px) {
  .tbody { grid-template-columns: minmax(0, 1fr); }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .top-in { flex-wrap: wrap; gap: 8px 16px; padding: 9px 16px 12px; }
  .brand { font-size: 33px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav { order: 3; flex-basis: 100%; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: 15px; white-space: nowrap; }
  .top-r { margin-left: auto; }
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 30px 0 12px; }
  .hero .blk { max-width: 320px; }
  .thead { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .thead .blk { max-width: 240px; margin: 0; }
  .facts { grid-template-columns: 100px minmax(0, 1fr); font-size: 15px; }
  .tcard { grid-template-columns: 46px minmax(0, 1fr) auto; padding: 10px 12px; }
  .tc-rank { font-size: 23px; grid-row: span 2; }
  .tcard-p1 .tc-rank, .tcard-p2 .tc-rank, .tcard-p3 .tc-rank { width: 38px; height: 38px; font-size: 18px; }
  .tc-pnl { grid-column: 3; grid-row: 1; text-align: right; }
  .tc-pnl b { font-size: 23px; }
  .tc-pnl small { display: block; }
  .tc-pos { grid-column: 2 / -1; }
  .tc-prize { grid-column: 2 / -1; justify-self: start; }
  .result { grid-template-columns: 44px minmax(0, 1fr); }
  .result > :nth-child(3), .result > :nth-child(4) { grid-column: 2; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rack { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .fg-needle, .stamped .tc-pnl b, .ar-ball { transition: none; animation: none; } .slot { transition: none; } }
