@font-face { font-family: 'Oxanium'; font-weight: 400 800; font-display: swap; src: url(/fonts/oxanium.woff2) format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 400; font-display: swap; src: url(/fonts/hind-400.woff2) format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 500; font-display: swap; src: url(/fonts/hind-500.woff2) format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 600; font-display: swap; src: url(/fonts/hind-600.woff2) format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 700; font-display: swap; src: url(/fonts/hind-700.woff2) format('woff2'); }

/* Hyper: a physics lab. Pale lab wall, a black-green epoxy bench, cream instrument housings with screws, the dark
   screen of an oscilloscope with phosphor traces, the blue magnets of an accelerator ring. Oxanium for the word mark,
   headlines and readouts, Hind for everything else. */
:root {
  --wall: #ebede7; --wall-2: #dfe2db; --card: #fbfbf7;
  --ink: #13201b; --ink-2: #33433c; --muted: #66736c; --line: #d5d9d1; --line-2: #a9b0a7;
  --bench: #1d3a30; --bench-2: #132a22; --cream: #d9d5c6; --cream-2: #bdb8a6; --screw: #8b8778;
  --crt: #0b1a12; --grat: #24442f; --phos: #74f59a; --phos-2: #3fbf6a; --magnet: #2f62b0; --signal: #e8662c; --amber: #ffc45a;
  --up: #1b8a4c; --down: #cc3b2c;
  --display: 'Oxanium', 'Eurostile', sans-serif;
  --text: 'Hind', system-ui, sans-serif;
  --r: 12px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--wall); }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.55 var(--text); font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #f1f2ed 0, var(--wall) 38%, #e3e6df 100%);
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
a { color: var(--magnet); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .45em; color: var(--bench); }
h3, h4 { font-family: var(--text); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(38px, 4.8vw, 64px); }
h2 { font-size: clamp(26px, 2.5vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0 0 .8em; }
code, .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .82em; }
.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: the epoxy bench top with its cream edge ---------- */
.top { position: sticky; top: 0; z-index: 20; color: var(--cream); background: linear-gradient(180deg, #23443a 0, var(--bench) 60%, var(--bench-2) 100%); border-bottom: 5px solid var(--cream); box-shadow: 0 2px 0 var(--cream-2); }
.top-in { max-width: 1240px; margin: 0 auto; padding: 11px 24px; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; color: #f1eee3; text-decoration: none; font: 700 34px/1 var(--display); letter-spacing: .01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 42px; height: 42px; }
.brand-mark.sm { width: 26px; height: 26px; vertical-align: -6px; margin-right: 6px; }
.nav { display: flex; gap: 24px; flex: 1; }
.nav a { color: #b9c9bf; 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(--phos); }
.top-r { display: flex; align-items: center; gap: 14px; }
.xlink { color: #f1eee3; 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(--phos); }

/* ---------- buttons: instrument push keys ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 17px/1 var(--text); border: 0; border-radius: 8px; 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: var(--bench); color: #f4f1e6; box-shadow: inset 0 0 0 2px var(--ink), inset 0 2px 0 #3d6556, 0 4px 0 var(--ink); }
.btn-main:hover { background: #285044; color: #fff; }
.btn-main:active { box-shadow: inset 0 0 0 2px var(--ink), 0 2px 0 var(--ink); }
.top .btn-main { background: var(--cream); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), inset 0 2px 0 #f2efe4, 0 3px 0 #0a1712; }
.top .btn-main:hover { background: #e6e2d4; }
.btn-quiet { background: var(--card); 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); }
.btn-long { background: var(--up); color: #fff; box-shadow: 0 4px 0 #0f5a31; flex: 1; }
.btn-short { background: var(--down); color: #fff; box-shadow: 0 4px 0 #84241a; flex: 1; }
.btn-small { padding: 10px 16px 8px; font-size: 15px; }
.wide { width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--magnet); 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) 380px; gap: 56px; align-items: center; padding: 46px 0 30px; }
.hero h1 { max-width: 13ch; }
.lede { font-size: 19px; max-width: 58ch; color: var(--ink-2); }
.hero-next { margin-top: 24px; padding-top: 18px; border-top: 2px solid var(--line-2); }
.hero-next p { font-size: 18px; }
.hero-next .mono { font: 800 18px/1 var(--text); background: var(--bench); color: #f1eee3; padding: 6px 10px 3px; border-radius: 6px; }

/* ---------- the clock: a ring of accelerator magnets with a readout in the middle ---------- */
.ring { width: 100%; max-width: 280px; margin: 0 auto; text-align: center; }
.ring-big { max-width: 380px; }
.rg-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 18px rgba(19, 32, 27, .2)); }
.rg-mag { transition: fill .5s; }
.rg-label { font: 600 12px var(--display); letter-spacing: .16em; fill: #8fbf9f; }
.rg-count { font: 700 40px var(--display); fill: var(--phos); letter-spacing: .01em; }
.rg-name { font: 600 13px var(--display); fill: var(--ink-2); letter-spacing: .06em; }
.ring-last5 .rg-count { fill: var(--amber); }
.ring-stopped .rg-count { fill: #f1eee3; }
.rg-orbit { transform-box: view-box; transform-origin: 150px 150px; }
.ring-running .rg-orbit { animation: orbit 2.2s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.rg-cap { font-size: 15px; color: var(--muted); margin: 8px 0 0; }

/* ---------- lobby: each session on a white lot tag ---------- */
.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: 50px 20px 18px; background: var(--card); border-radius: var(--r); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 2px var(--ink), 0 5px 0 var(--ink); transition: transform .15s; overflow: hidden; }
.slot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 34px; background: linear-gradient(var(--phos), var(--phos)) 0 50% / 100% 2px no-repeat, var(--crt); box-shadow: inset 0 -2px 0 var(--ink); }
.slot::after { content: ''; position: absolute; inset: 40px 6px 6px; pointer-events: none; background: radial-gradient(circle, var(--screw) 0 2.4px, transparent 3px) 0 100% / 8px 8px no-repeat, radial-gradient(circle, var(--screw) 0 2.4px, transparent 3px) 100% 100% / 8px 8px no-repeat; }
.slot:nth-child(3n+2)::before { background: linear-gradient(var(--amber), var(--amber)) 0 50% / 100% 2px no-repeat, var(--crt); }
.slot:nth-child(3n)::before { background: linear-gradient(#6fd6ef, #6fd6ef) 0 50% / 100% 2px no-repeat, var(--crt); }
.slot:hover { transform: translateY(-3px); color: var(--ink); }
.slot-name { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font: 700 26px/1.05 var(--display); color: var(--bench); }
.slot-name .mono { font: 800 15px/1 var(--text); 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: 2px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.slot-state b, .thead-state b { font: 800 22px/1 var(--text); color: var(--ink); }
.slot-kv { display: flex; flex-direction: column; }
.slot-kv i { font-style: normal; font-size: 12px; color: var(--muted); }
.slot-kv b { font-size: 16px; font-weight: 800; }
.slot-live .slot-state { color: var(--up); font-weight: 800; }
.next-line { margin-top: 18px; }

/* how it is scored: four lab-notebook pages */
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.how-item { padding: 18px 20px 16px; border-radius: 6px; background: linear-gradient(rgba(63, 191, 106, .13) 1px, transparent 1px) 0 0 / 100% 18px, linear-gradient(90deg, rgba(63, 191, 106, .13) 1px, transparent 1px) 0 0 / 18px 100%, var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2), inset 4px 0 0 var(--bench); }
.how-item h3 { font: 700 20px/1.1 var(--display); color: var(--bench); margin: 2px 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(--card); color: var(--ink); text-decoration: none; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.result:hover { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.result-win { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); max-width: 90ch; margin-top: 40px; }

/* ---------- a session ---------- */
.thead { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; align-items: start; padding: 34px 0 24px; }
.crumb { font-size: 14px; 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: 14px; }

/* the oscilloscope: cream housing, dark screen with a graticule, one phosphor trace per trader */
.board-art { margin-bottom: 16px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #e4e0d2, var(--cream) 50%, #ccc7b5); box-shadow: inset 0 0 0 2px var(--ink), inset 0 3px 0 #f4f1e6, 0 5px 0 var(--ink); padding: 14px; }
.scope-svg { display: block; width: 100%; height: auto; }
.sc-grat { stroke: var(--grat); stroke-width: 1; }
.sc-axis { stroke: #3f6b4f; stroke-width: 1.2; }
.sc-tick { stroke: #3f6b4f; stroke-width: 1; }
.sc-zero { stroke: #8fbf9f; stroke-width: 1.2; stroke-dasharray: 6 5; }
.sc-t { font: 600 13px var(--display); fill: #8fbf9f; letter-spacing: .04em; }
.sc-tr { fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; opacity: .55; }
.sc-tr.top { stroke-width: 2.8; opacity: 1; }
.sc-tr.me { stroke-width: 3; opacity: 1; }
.sc-gap { fill: none; stroke-width: 1.4; stroke-dasharray: 2 5; opacity: .45; }
.sc-head { stroke: #fff; stroke-width: 1.2; }
.sc-plate { fill: var(--crt); stroke-width: 1.4; }
.sc-me .sc-plate { fill: #26402f; }
.sc-text { font: 700 13px var(--display); white-space: pre; }
.sc-knob-t { font: 600 10px var(--display); fill: var(--ink-2); letter-spacing: .08em; }
.sc-beam { fill: var(--phos); }

/* the standings list: the floor sheet */
.board { list-style: none; margin: 0; padding: 0; border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 2px 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: 1.5px solid var(--line);
}
.tcard:last-child { border-bottom: 0; }
.tc-rank { font: 700 28px/1 var(--display); color: var(--bench); text-align: center; }
.tc-id { display: flex; flex-direction: column; min-width: 0; }
.tc-no { font: 800 15px var(--text); color: var(--ink); display: flex; align-items: center; gap: 8px; }
.tc-chan { display: inline-block; width: 22px; height: 14px; border-radius: 3px; flex: none; background: var(--crt); position: relative; box-shadow: inset 0 0 0 1px var(--ink); }
.tc-chan::after { content: ''; position: absolute; left: 3px; right: 3px; top: 6px; height: 2.4px; border-radius: 2px; background: var(--c, var(--phos)); }
.tc-id a { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-pnl b { font: 700 27px/1 var(--display); letter-spacing: -.01em; }
.tc-pnl small { font-size: 13px; color: var(--muted); }
.tc-pnl.up b { color: var(--up); }
.tc-pnl.down b { color: var(--down); }
.tc-pos { font-size: 13px; display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--ink-2); }
.tc-pos .pos em { font-style: normal; }
.tc-prize { font: 800 17px/1 var(--text); color: var(--ink); background: var(--amber); padding: 7px 12px 4px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tc-note { grid-column: 2 / -1; font-size: 13px; 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: 21px; width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
.tcard-p1 .tc-rank { background: var(--crt); color: var(--phos); }
.tcard-p2 .tc-rank { background: var(--cream); color: var(--ink); }
.tcard-p3 .tc-rank { background: #fff; color: var(--ink); }
.tcard-me { background: #eef8ef; box-shadow: inset 5px 0 0 var(--phos-2); }
.stamped .tc-pnl b { animation: flash .6s ease-out; }
@keyframes flash { 0% { background: #ffe9a8; } 100% { background: transparent; } }

.tside { display: flex; flex-direction: column; gap: 18px; }
.panel { background: var(--card); border-radius: var(--r); padding: 18px 20px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.panel h3 { font-size: 21px; color: var(--bench); }
.panel .addr { font-size: 13px; overflow-wrap: anywhere; }
.join { box-shadow: inset 0 0 0 2px var(--ink), 0 5px 0 var(--ink); }
.mine { box-shadow: inset 0 0 0 2px var(--ink), inset 0 8px 0 var(--phos-2), 0 5px 0 var(--ink); padding-top: 24px; }
.warnline { background: #fff0bf; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.ready { font-weight: 800; }
.orders { margin-top: 14px; padding-top: 14px; border-top: 2px 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: 800 15px/1 var(--text); padding: 10px 0 8px; border: 0; border-radius: 8px; background: var(--wall); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); cursor: pointer; }
.seg button:hover { background: #fff; }
.inp { font: inherit; font-size: 16px; padding: 11px 14px 9px; border-radius: 8px; border: 2px solid var(--line-2); background: #fff; color: var(--ink); width: 100%; }
.inp:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
select.inp { width: auto; flex: 0 0 110px; }
.feed-list, .pay-list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.feed-list li { display: grid; grid-template-columns: 64px 84px 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 lot tag ---------- */
.dlg { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), inset 0 12px 0 var(--bench), 0 30px 80px rgba(19, 32, 27, .32); }
.dlg::backdrop { background: rgba(11, 26, 18, .55); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 22px 6px; }
.dlg-head h2 { margin: 0; font-size: 32px; }
.dlg-x { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); padding: 6px; }
.dlg-x .ico { margin: 0; }
.dlg-body { padding: 8px 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: 10px; border: 0; background: var(--wall); 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); }
.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: 10px; border: 0; background: var(--wall); box-shadow: inset 0 0 0 1.5px var(--line-2); font: inherit; cursor: pointer; color: var(--ink); }
.choice span { font-size: 14px; color: var(--muted); }
.choice.on { box-shadow: inset 0 0 0 2.5px var(--ink); background: #eef8ef; }
.inp-wrap { margin-top: 8px; }
.kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; 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: 10px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tbl { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--card); }
.tbl th { text-align: left; font-weight: 800; color: #f1eee3; background: var(--bench); 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: var(--bench); color: #b9c9bf; padding: 24px 0 22px; font-size: 14px; border-top: 7px solid var(--cream); margin-top: 14px; }
.foot-in { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot a { color: #b9c9bf; }
.foot a:hover { color: #fff; }
.foot-brand { font: 700 28px var(--display); color: #f1eee3; margin-right: auto; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--bench); color: #f1eee3; padding: 12px 18px 10px; border-radius: 10px; font-size: 15px; z-index: 50; max-width: calc(100vw - 32px); box-shadow: inset 0 0 0 2px var(--cream), 0 10px 30px rgba(19, 32, 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: 34px; }
  .brand-mark { width: 36px; height: 36px; }
  .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 .ring { max-width: 300px; }
  .thead { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .thead .ring { max-width: 220px; margin: 0; }
  .facts { grid-template-columns: 100px minmax(0, 1fr); font-size: 14px; }
  .board-art { padding: 8px; border-radius: 12px; }
  .tcard { grid-template-columns: 46px minmax(0, 1fr) auto; padding: 10px 12px; }
  .tc-rank { font-size: 26px; 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: 24px; }
  .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) { .ring-running .rg-orbit, .stamped .tc-pnl b { animation: none; } .slot { transition: none; } }
