@font-face { font-family: 'Solway'; font-weight: 700; font-display: swap; src: url(/fonts/solway-700.woff2) format('woff2'); }
@font-face { font-family: 'Solway'; font-weight: 800; font-display: swap; src: url(/fonts/solway-800.woff2) format('woff2'); }
@font-face { font-family: 'Varta'; font-weight: 300 700; font-display: swap; src: url(/fonts/varta-300-700.woff2) format('woff2'); }
@font-face { font-family: 'DotGothic16'; font-weight: 400; font-display: swap; src: url(/fonts/dotgothic16-400.woff2) format('woff2'); }

/* Lev: a lever-frame signal box. Chocolate-brown woodwork and cream enamel, an illuminated track diagram with black
   roads, a row of numbered levers (green long, red short, white flat) with polished steel handles, and a block
   instrument on a mahogany case as the clock. Solway (slab, 700/800) for the word mark, headings and numbers,
   Varta for text, DotGothic16 only for the amber train-describer digits. */
:root {
  --cream: #f3ecda; --cream-2: #e9e0c8; --enamel: #fbf7ec;
  --ink: #17181b; --ink-2: #3b3a37; --muted: #6e6a61; --line: #ddd3bb; --line-2: #b9ad90;
  --choc: #4a2b1f; --choc-d: #2e1912; --choc-l: #6b4231;
  --iron: #26292e; --steel: #d3d6d9;
  --yel: #e3a817; --yel-l: #f1c650; --yel-d: #9c6f08;
  --lev-red: #c4342b; --lev-green: #1f7a46;
  --up: #1d7445; --down: #b5322a;
  --amber: #ffb53f;
  --display: 'Solway', Rockwell, Georgia, serif;
  --text: 'Varta', 'Helvetica Neue', Arial, sans-serif;
  --dots: 'DotGothic16', ui-monospace, monospace;
  --r: 4px;
  --boards: repeating-linear-gradient(0deg, transparent 0 46px, rgba(74, 43, 31, .045) 46px 47px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--cream); }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.55 var(--text); font-variant-numeric: tabular-nums; font-synthesis: none;
  background: var(--boards), linear-gradient(180deg, #f7f1e2 0, var(--cream) 45%, var(--cream-2) 100%);
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
a { color: var(--choc-l); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .45em; color: var(--ink); }
h3, h4 { font-family: var(--text); font-weight: 700; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(40px, 4.8vw, 64px); }
h2 { font-size: clamp(26px, 2.5vw, 34px); }
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; }
.loading { padding: 80px 0; }

/* ---------- header: chocolate woodwork with a cream rule ---------- */
.top {
  position: sticky; top: 0; z-index: 20; color: var(--cream);
  background: linear-gradient(180deg, #57331f 0, var(--choc) 60%, #3d2318 100%);
  border-bottom: 3px solid var(--cream); box-shadow: 0 1px 0 var(--choc-d), 0 4px 10px rgba(23, 24, 27, .16);
}
.top-in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font: 800 36px/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: 6px; }
.nav { display: flex; gap: 24px; flex: 1; }
.nav a { color: #e0cfb4; text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; border-bottom-color: var(--yel); }
.top-r { display: flex; align-items: center; gap: 14px; }
.xlink { color: var(--cream); font-size: 20px; display: inline-flex; }
.xlink .ico { margin: 0; }
.ca-strip { background: var(--ink); color: #fff; 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(--yel-l); }

/* ---------- buttons: lever-yellow with a black lip; long and short as lever handles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 17px/1 var(--text); border: 0; border-radius: 4px; padding: 15px 24px 12px; cursor: pointer; text-decoration: none; transition: transform .06s, box-shadow .06s, background .15s; }
.btn:active { transform: translateY(2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-main { background: linear-gradient(180deg, var(--yel-l) 0, var(--yel) 100%); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 2px 0 #fbe39a, 0 4px 0 var(--ink); }
.btn-main:hover { background: linear-gradient(180deg, #f6d36c 0, #eab52a 100%); color: var(--ink); }
.btn-main:active { box-shadow: inset 0 0 0 1.5px var(--ink), 0 2px 0 var(--ink); }
.top .btn-main { box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 2px 0 #fbe39a, 0 3px 0 var(--choc-d); }
.btn-quiet { background: var(--enamel); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--choc), 0 4px 0 var(--choc-l); }
.btn-quiet:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--choc), 0 4px 0 var(--choc); }
.btn-long, .btn-short { position: relative; color: #fff; flex: 1; padding-top: 22px; }
.btn-long::before, .btn-short::before { content: ''; position: absolute; left: 50%; top: 5px; width: 34px; height: 8px; translate: -50% 0; border-radius: 4px; background: linear-gradient(90deg, #8d9399, #f4f6f7 35%, #c3c8cc 60%, #7c8288); box-shadow: inset 0 0 0 1px rgba(0,0,0,.45); }
.btn-long { background: var(--lev-green); box-shadow: inset 0 0 0 1.5px var(--ink), 0 4px 0 #0c3d22; }
.btn-short { background: var(--lev-red); box-shadow: inset 0 0 0 1.5px var(--ink), 0 4px 0 #6d1812; }
.btn-small { padding: 10px 16px 8px; font-size: 15px; }
.wide { width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--choc-l); text-decoration: underline; 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) 360px; gap: 56px; align-items: center; padding: 46px 0 30px; }
.hero h1 { max-width: 17ch; }
.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 19px/1 var(--dots); background: #0d0d0e; color: var(--amber); padding: 5px 9px 4px; border-radius: 3px; box-shadow: inset 0 0 0 1px #3a3d41; }

/* ---------- the clock: a block instrument on a mahogany case ---------- */
.blk { width: 100%; max-width: 270px; margin: 0 auto; text-align: center; }
.blk-big { max-width: 360px; }
.bk-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 16px rgba(23, 24, 27, .22)); }
.bk-needle { transition: transform 1s cubic-bezier(.3,.7,.2,1); }
.bk-word { font: 700 9.5px var(--text); letter-spacing: .08em; fill: #a49c8a; }
.bk-word.on { fill: var(--ink); }
.bk-label { font: 700 10px var(--text); letter-spacing: .18em; fill: var(--ink-2); }
.bk-count { font: 800 30px var(--display); fill: var(--ink); }
.blk-last5 .bk-count { fill: var(--down); }
.bk-name { font: 700 10.5px var(--text); fill: var(--ink); letter-spacing: .16em; }
.bk-lamp { fill: #3a1d12; transition: fill .3s; }
.bk-lamp.on { fill: #fff1c2; }
.bk-lamp.on.red { fill: #ff8a74; }
.bk-cap { font-size: 15px; color: var(--muted); margin: 8px 0 0; }

/* ---------- lobby: each cup on an enamel lever lead plate ---------- */
.block { padding: 28px 0 8px; }
.block h2 { margin-bottom: 16px; }
.rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.slot {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 0 20px 18px; color: var(--ink); text-decoration: none; border-radius: 6px; overflow: hidden;
  background: var(--enamel); box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 5px var(--enamel), inset 0 0 0 6px var(--ink), 0 4px 0 var(--choc), 0 10px 18px rgba(23, 24, 27, .08); transition: transform .15s;
}
.slot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--yel); border-bottom: 2px solid var(--ink); }
.slot-live::before { background: var(--lev-green); }
.slot:hover { transform: translateY(-3px); color: var(--ink); }
.slot-name { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 24px 0 2px; font: 800 28px/1.05 var(--display); color: var(--ink); }
.slot-name .mono { font: 400 16px/1 var(--dots); color: var(--muted); }
.slot-when { grid-column: 1 / -1; font: 700 15px/1.1 var(--text); color: var(--ink-2); }
.slot-state { grid-column: 1 / -1; font-size: 15px; border-bottom: 1.5px solid var(--ink); padding-bottom: 10px; margin-bottom: 4px; }
.slot-state b, .thead-state b { font: 800 22px/1 var(--display); color: var(--ink); }
.slot-kv { display: flex; flex-direction: column; }
.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; }
.next-line { margin-top: 18px; }

/* how a cup is scored: four operating notices */
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.how-item { position: relative; padding: 20px 22px 18px; border-radius: 3px; background: var(--enamel); border-top: 6px solid var(--choc); box-shadow: inset 0 0 0 1px var(--line-2), 0 3px 0 var(--line-2); }
.how-item h3 { font: 800 22px/1.1 var(--display); color: var(--ink); margin: 4px 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(--enamel); color: var(--ink); text-decoration: none; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); }
.result:hover { box-shadow: inset 0 0 0 1.5px 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 cup ---------- */
.thead { display: grid; grid-template-columns: minmax(0, 1fr) 260px; 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: 12px; }
.board-head h2 { margin: 0; }
.board-head .muted { font-size: 15px; }

/* the track diagram */
.board-art { margin-bottom: 16px; border-radius: 6px; overflow: hidden; background: #e3d9c0; box-shadow: inset 0 0 0 1.5px var(--line-2), 0 4px 0 var(--choc); padding: 10px; }
.diag-svg { display: block; width: 100%; height: auto; }
.lv-scale { font: 700 13px var(--text); fill: var(--ink-2); }
.lv-zero { font-weight: 700; fill: var(--ink); }
.lv-road { font: 800 14px var(--display); fill: var(--ink); }
.lv-desc { font: 400 15px var(--dots); letter-spacing: .04em; }
.lv-read { font: 800 19px var(--display); }
.lv-read-n { font-size: 16px; }
.lv-lead { font: 800 10.5px var(--display); fill: var(--ink); }
.lv-foot { font: 400 13px var(--text); fill: var(--muted); }
.lv-lever { transition: transform .6s cubic-bezier(.3,.7,.2,1); }

/* the standings list */
.board { list-style: none; margin: 0; padding: 0; border-radius: 4px; overflow: hidden; background: var(--enamel); box-shadow: inset 0 0 0 1.5px 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: 11px 16px; color: var(--ink); border-bottom: 1px solid var(--line);
}
.tcard:last-child { border-bottom: 0; }
.tc-rank { font: 800 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-lever { display: inline-block; flex: none; width: 7px; height: 22px; border-radius: 2px; position: relative; margin: 0 4px 0 6px; box-shadow: inset 0 0 0 1px var(--ink); background: #ece6d6; rotate: -12deg; }
.tc-lever::before { content: ''; position: absolute; left: -1px; top: -7px; width: 9px; height: 9px; border-radius: 4px; background: linear-gradient(90deg, #8d9399, #f4f6f7 40%, #7c8288); box-shadow: inset 0 0 0 1px var(--ink); }
.tc-long { background: var(--lev-green); rotate: 14deg; }
.tc-short { background: var(--lev-red); rotate: 14deg; }
.tc-id a { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-pnl b { font: 800 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; }
.tc-prize { font: 800 18px/1 var(--display); color: var(--ink); background: var(--yel); padding: 7px 12px 5px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.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; }
.tcard-p1 .tc-rank, .tcard-p2 .tc-rank, .tcard-p3 .tc-rank { font-size: 19px; width: 46px; height: 40px; display: grid; place-items: center; margin: 0 auto; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tcard-p1 .tc-rank { background: var(--yel); }
.tcard-p2 .tc-rank, .tcard-p3 .tc-rank { background: var(--enamel); }
.tcard-me { background: #fbf0c9; box-shadow: inset 5px 0 0 var(--yel); }
.stamped .tc-pnl b { animation: flash .6s ease-out; }
@keyframes flash { 0% { background: #f6dd8a; } 100% { background: transparent; } }

.tside { display: flex; flex-direction: column; gap: 18px; }
.panel { background: var(--enamel); border-radius: 4px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line-2); }
.panel h3 { font: 800 23px/1.1 var(--display); color: var(--ink); }
.panel .addr { font-size: 13px; overflow-wrap: anywhere; }
.join { box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 8px 0 var(--yel), inset 0 10px 0 var(--ink), 0 4px 0 var(--choc); padding-top: 26px; }
.mine { box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 8px 0 var(--lev-green), inset 0 10px 0 var(--ink), 0 4px 0 var(--choc); padding-top: 26px; }
.warnline { background: #f8e7b0; padding: 8px 10px; border-radius: 4px; font-size: 15px; }
.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 7px; border: 0; border-radius: 4px; background: var(--cream); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.seg button:hover { background: #fff; }
.inp { font: inherit; font-size: 16px; padding: 11px 14px 8px; border-radius: 4px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); width: 100%; }
.inp:focus { outline: 2px solid var(--yel); outline-offset: 1px; }
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: an enamel plate with a chocolate top rail ---------- */
.dlg { border: 0; border-radius: 6px; padding: 0; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: var(--enamel); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 10px 0 var(--choc), 0 30px 80px rgba(23, 24, 27, .32); }
.dlg::backdrop { background: rgba(23, 24, 27, .55); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 6px; border-bottom: 1.5px 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: 4px; border: 0; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); font: 700 16px var(--text); color: var(--ink); cursor: pointer; }
.wallet-pick:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.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: 4px; border: 0; background: var(--cream); box-shadow: inset 0 0 0 1px 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 2px var(--ink); background: #fbf0c9; }
.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: inset 0 0 0 1px var(--line-2); }
.tbl { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--enamel); }
.tbl th { text-align: left; font-weight: 700; color: var(--cream); background: var(--choc); 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; }

.foot { background: linear-gradient(180deg, var(--choc), var(--choc-d)); color: #e0cfb4; padding: 24px 0 22px; font-size: 15px; border-top: 3px solid var(--cream); margin-top: 14px; }
.foot-in { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot a { color: #e0cfb4; }
.foot a:hover { color: #fff; }
.foot-brand { font: 800 28px var(--display); color: var(--cream); margin-right: auto; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--choc); color: var(--cream); padding: 12px 18px 9px; border-radius: 5px; font-size: 16px; z-index: 50; max-width: calc(100vw - 32px); box-shadow: inset 0 0 0 1.5px var(--yel), 0 10px 30px rgba(23, 24, 27, .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: 8px 16px 10px; }
  .brand { font-size: 32px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav { order: 3; flex-basis: 100%; gap: 16px; 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: 28px 0 12px; }
  .hero .blk { max-width: 290px; }
  .thead { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .thead .blk { max-width: 210px; margin: 0; }
  .facts { grid-template-columns: 100px minmax(0, 1fr); font-size: 15px; }
  .board-art { padding: 5px; }
  .tcard { grid-template-columns: 46px minmax(0, 1fr) auto; padding: 10px 12px; }
  .tc-rank { font-size: 24px; grid-row: span 2; }
  .tcard-p1 .tc-rank, .tcard-p2 .tc-rank, .tcard-p3 .tc-rank { width: 40px; height: 34px; font-size: 17px; }
  .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: 14px; }
  .rack { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .bk-needle, .lv-lever, .bk-lamp, .stamped .tc-pnl b { transition: none; animation: none; } .slot { transition: none; } }
