@font-face { font-family: 'Prata'; font-weight: 400; font-display: swap; src: url(/fonts/prata.woff2) format('woff2'); }
@font-face { font-family: 'Nata Sans'; font-weight: 100 900; font-display: swap; src: url(/fonts/nata-sans.woff2) format('woff2'); }

/* Wicks: a dark walnut room, a shelf of candles. Beeswax for the house colour, bayberry green above the start line,
   claret below it, brass for edges and plates. Prata for display, Nata Sans for everything else. */
:root {
  --room: #16100b; --room-2: #1d150e; --room-3: #261b12; --panel: #21180f; --panel-2: #2a1f14;
  --cream: #f3e7cf; --muted: #b3a389; --faint: #7d6d57; --line: #3d2d1d; --line-2: #54402a;
  --bee: #e4b35a; --bee-hi: #f5d995; --bee-lo: #a8711f; --brass: #c49a4a; --brass-hi: #ecd08b; --brass-lo: #6f5220;
  --walnut: #5a3a21; --walnut-2: #3a2413; --walnut-3: #24160b;
  --bay: #7ea455; --bay-ink: #9ccb6d; --claret: #b23b2e; --claret-ink: #f07a62; --soot: #4a4440;
  --display: 'Prata', Georgia, serif;
  --text: 'Nata Sans', system-ui, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--room); }
body {
  margin: 0; color: var(--cream); font: 400 16px/1.55 var(--text); font-variant-numeric: tabular-nums;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 118px, rgba(0, 0, 0, .18) 118px 120px),
    linear-gradient(180deg, #21170f 0, var(--room) 520px, var(--room) 100%);
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
a { color: var(--bee-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.005em; margin: 0 0 .4em; color: #fbf1dc; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p { margin: 0 0 .8em; }
code, .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .86em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.up { color: var(--bay-ink); }
.down { color: var(--claret-ink); }
.flat { color: var(--cream); }
.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: a walnut shelf edge with a brass strip ---------- */
.top { background: linear-gradient(180deg, #3b2614, var(--walnut-2) 55%, var(--walnut-3)); border-bottom: 2px solid var(--brass); box-shadow: 0 3px 0 #0b0805; position: sticky; top: 0; z-index: 20; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 400 32px/1 var(--display); }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; }
.brand-mark.sm { width: 24px; height: 24px; vertical-align: -6px; margin-right: 6px; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: #d9c9ac; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; border-bottom-color: var(--bee); }
.top-r { display: flex; align-items: center; gap: 14px; }
.xlink { color: #d9c9ac; font-size: 20px; display: inline-flex; }
.xlink .ico { margin: 0; }
.testbar { margin: 0; background: #2b1f12; color: #e8cf98; text-align: center; font-size: 13px; padding: 5px 16px; border-bottom: 1px solid var(--line-2); }
.ca-strip { background: var(--bee); color: #1c130a; 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: #1c130a; }

/* ---------- buttons: beeswax bars that press in ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 16px/1 var(--text); border: 0; border-radius: 7px; padding: 14px 22px; 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(--bee-hi), var(--bee) 55%, #d39d3e); color: #1f150a; box-shadow: 0 4px 0 var(--bee-lo), 0 8px 18px rgba(0, 0, 0, .45); }
.btn-main:hover { background: linear-gradient(180deg, #fae3aa, #ecc06c 55%, #dba84b); color: #1f150a; }
.btn-main:active { box-shadow: 0 2px 0 var(--bee-lo); }
.btn-quiet { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line-2), 0 3px 0 #0d0906; }
.btn-quiet:hover { background: var(--panel-2); color: #fff; }
.btn-long { background: linear-gradient(180deg, #8db763, var(--bay) 60%, #5f8640); color: #10170a; box-shadow: 0 4px 0 #3d5a28; flex: 1; }
.btn-short { background: linear-gradient(180deg, #cc5241, var(--claret) 60%, #8f2c22); color: #fff3ef; box-shadow: 0 4px 0 #5e1914; flex: 1; }
.btn-small { padding: 10px 16px; font-size: 14px; }
.wide { width: 100%; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--bee-hi); 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) 340px; gap: 48px; align-items: center; padding: 56px 0 36px; }
.hero h1 { max-width: 13ch; }
.lede { font-size: 19px; max-width: 54ch; color: #e1d3b8; }
.hero-next { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.hero-next p { font-size: 18px; }
.hero-next .mono { font-size: 15px; background: var(--panel-2); padding: 2px 7px; border-radius: 4px; color: var(--bee-hi); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- the taper clock ---------- */
.taper { width: 100%; max-width: 210px; margin: 0 auto; text-align: center; }
.taper-big { max-width: 300px; }
.t-svg { width: 100%; height: auto; display: block; overflow: visible; }
.t-count { font: 600 17px var(--text); fill: var(--bee-hi); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.t-cap { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* ---------- lobby: tournaments as brass-capped panels ---------- */
.block { padding: 28px 0 8px; }
.block h2 { margin-bottom: 16px; }
.rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.slot { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 18px 18px 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border-radius: 8px; color: var(--cream); text-decoration: none; box-shadow: inset 0 2px 0 var(--brass), inset 0 0 0 1px var(--line), 0 10px 22px rgba(0, 0, 0, .35); transition: transform .15s, box-shadow .15s; }
.slot:hover { transform: translateY(-3px); color: var(--cream); box-shadow: inset 0 2px 0 var(--brass-hi), inset 0 0 0 1px var(--line-2), 0 14px 26px rgba(0, 0, 0, .45); }
.slot-name { grid-column: 1 / -1; font: 400 26px/1.05 var(--display); color: #fbf1dc; }
.slot-name .mono { font-size: 15px; }
.slot-when { grid-column: 1 / -1; font: 600 15px var(--text); color: var(--bee); letter-spacing: .02em; margin-top: 2px; }
.slot-state { grid-column: 1 / -1; font-size: 15px; color: #e1d3b8; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.slot-state b, .thead-state b { font: 600 18px var(--text); letter-spacing: .02em; color: var(--bee-hi); }
.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: 600; }
.slot-live { box-shadow: inset 0 2px 0 #ffcf73, inset 0 0 0 1px #6a4c25, 0 10px 22px rgba(0, 0, 0, .35); }
.slot-live .slot-state { color: var(--bay-ink); font-weight: 600; }
.next-line { margin-top: 18px; }

.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.how-item { border-top: 1px solid var(--brass); padding-top: 14px; }
.how-item h3 { font-size: 23px; }
.how-item p { font-size: 15px; color: #d3c4a8; }

.results { display: flex; flex-direction: column; gap: 2px; }
.result { display: grid; grid-template-columns: 60px 150px 170px 1fr; gap: 12px; align-items: baseline; padding: 10px 12px; background: var(--panel); color: var(--cream); text-decoration: none; border-radius: 4px; }
.result:hover { background: var(--panel-2); color: #fff; }
.result-win { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.fine { font-size: 13px; color: var(--faint); max-width: 90ch; margin-top: 40px; }

/* ---------- a tournament ---------- */
.thead { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; align-items: start; padding: 36px 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 shelf: one candle per trader, start line dashed */
.board-art { position: relative; margin-bottom: 18px; border-radius: var(--r) var(--r) 0 0; padding: 18px 0 0; background: radial-gradient(90% 120% at 50% 100%, #2c1f13 0%, #1a120b 70%); box-shadow: inset 0 0 0 1px var(--line); }
.sh-wall { position: relative; height: 250px; margin: 0 18px; }
.sh-line { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed rgba(236, 208, 139, .45); z-index: 1; pointer-events: none; transition: bottom .9s cubic-bezier(.2, .8, .2, 1); }
.sh-line-l { position: absolute; left: 0; top: -30px; width: 58px; font-size: 11px; line-height: 1.2; color: var(--brass-hi); opacity: .85; }
.sh-row { position: absolute; inset: 0 0 0 60px; display: flex; justify-content: space-around; align-items: stretch; z-index: 2; }
.sh-plank { height: 22px; background: linear-gradient(180deg, #8a5c35 0, #6b4425 3px, var(--walnut) 9px, var(--walnut-2) 100%); box-shadow: 0 6px 10px rgba(0, 0, 0, .5); position: relative; z-index: 3; }
.sh-labels { display: flex; justify-content: space-around; padding: 10px 18px 14px 78px; background: var(--walnut-3); border-radius: 0 0 var(--r) var(--r); }
.cn { position: relative; flex: 1 1 0; min-width: 0; height: 100%; }
.cn-wax { position: absolute; bottom: 0; left: 50%; width: clamp(16px, calc(48% - 4px), 38px); transform: translateX(-50%); height: var(--h); border-radius: 2px 2px 0 0; transition: height .9s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(90deg, #8f5f1c 0, #d9a446 22%, #f5d792 46%, #dba245 70%, #7f5317 100%); box-shadow: 0 -1px 0 #f7dc9c inset; }
.cn-wax::before { content: ''; position: absolute; left: 0; right: 0; top: -3px; height: 6px; border-radius: 50%; background: inherit; filter: brightness(1.12); }
.cn-drip { position: absolute; top: 0; left: 8%; width: 18%; height: 26px; border-radius: 0 0 6px 6px; background: inherit; filter: brightness(1.08); }
.cn-drip-2 { left: auto; right: 12%; width: 14%; height: 15px; }
.cn-up .cn-wax { background: linear-gradient(90deg, #34492a 0, #6f9349 22%, #a8c784 46%, #729648 70%, #2f4425 100%); box-shadow: 0 -1px 0 #bcd79a inset; }
.cn-down .cn-wax { background: linear-gradient(90deg, #4c1410 0, #a8362a 22%, #d86352 46%, #ad3a2c 70%, #46120e 100%); box-shadow: 0 -1px 0 #e78575 inset; }
.cn-void .cn-wax { background: linear-gradient(90deg, #262220 0, #4d4642 30%, #6d6560 46%, #4a4440 70%, #1f1b19 100%); }
.cn-wick { position: absolute; left: 50%; bottom: calc(var(--h) + 1px); width: 2.2px; height: 10px; margin-left: -1px; background: #120c07; border-radius: 1px; transform: rotate(4deg); transform-origin: bottom; transition: bottom .9s cubic-bezier(.2, .8, .2, 1); }
.cn-flame { display: none; position: absolute; left: 50%; bottom: calc(var(--h) + 7px); width: 14px; height: 30px; margin-left: -7px; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; transform-origin: 50% 90%;
  background: radial-gradient(60% 55% at 50% 72%, #fffbea 0%, #ffe39a 38%, #ffad42 72%, rgba(240, 115, 28, .85) 100%); transition: bottom .9s cubic-bezier(.2, .8, .2, 1); animation: flick 2.4s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.cn-flame::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 8px; margin-left: -2.5px; border-radius: 50%; background: rgba(80, 110, 210, .55); }
.cn-lit .cn-flame { display: block; }
.cn-lit .cn-wick { height: 11px; }
.cn-smoke { display: none; position: absolute; left: 50%; bottom: calc(var(--h) + 10px); width: 16px; height: 40px; margin-left: -6px; opacity: .5;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 40'%3E%3Cpath d='M6 40c-5-6 6-11 2-18c-4-7 5-11 2-22' fill='none' stroke='%23a39a8f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); animation: rise 4s ease-out infinite; }
.cn-out .cn-smoke { display: block; }
.cn.cn-me::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: clamp(24px, 62%, 50px); height: 8px; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(180deg, var(--brass-hi), var(--brass-lo)); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
@keyframes flick { 0%, 100% { transform: scale(1, 1) rotate(-1deg); } 30% { transform: scale(.94, 1.06) rotate(1.5deg); } 55% { transform: scale(1.04, .95) rotate(-.5deg); } 80% { transform: scale(.97, 1.03) rotate(1deg); } }
@keyframes rise { 0% { opacity: 0; transform: translateY(4px); } 30% { opacity: .55; } 100% { opacity: 0; transform: translateY(-10px); } }
.cn-label { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 12px; line-height: 1.3; color: var(--muted); }
.cn-no { white-space: nowrap; }
.cn-pnl { font: 600 15px var(--text); white-space: nowrap; }
.cn-prize { color: var(--brass-hi); font-size: 12px; white-space: nowrap; min-height: 1em; }
.cn-label.cn-me .cn-no { color: var(--brass-hi); }

/* the standings list under the shelf */
.board { list-style: none; margin: 0; padding: 0; }
.board .empty { padding: 26px; text-align: center; background: var(--panel); border-radius: 6px; margin-bottom: 10px; }
.tcard {
  position: relative; display: grid; grid-template-columns: 54px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 4px 14px; align-items: center;
  padding: 12px 16px; margin-bottom: 6px; border-radius: 6px; color: var(--cream); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
}
.tc-rank { font: 400 30px/1 var(--display); color: var(--muted); text-align: center; }
.tc-id { display: flex; flex-direction: column; min-width: 0; }
.tc-no { font: 600 15px var(--text); letter-spacing: .02em; color: var(--bee); }
.tc-id a { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-pnl b { font: 600 26px/1 var(--text); letter-spacing: .01em; }
.tc-pnl small { font-size: 13px; color: var(--muted); }
.tc-pnl.up b { color: var(--bay-ink); }
.tc-pnl.down b { color: var(--claret-ink); }
.tc-pos { font-size: 13px; display: flex; flex-wrap: wrap; gap: 2px 10px; color: #d6c7ab; }
.tc-pos .pos em { font-style: normal; }
.tc-prize { font: 600 17px var(--text); color: #1f150a; background: linear-gradient(180deg, var(--brass-hi), var(--brass)); padding: 4px 9px; border-radius: 4px; }
.tc-note { grid-column: 2 / -1; font-size: 13px; color: var(--claret-ink); }
.tcard-refused, .tcard-paid { opacity: .6; }
.tcard-disqualified .tc-pnl b { text-decoration: line-through; }
.tcard-top .tc-rank { color: var(--bee-hi); }
.tcard-p1 { background: linear-gradient(90deg, rgba(228, 179, 90, .14), transparent 60%), var(--panel); box-shadow: inset 3px 0 0 var(--bee), inset 0 0 0 1px var(--line-2); }
.tcard-me { box-shadow: inset 0 0 0 2px var(--brass-hi); }
.stamped .tc-pnl b { animation: warm .7s ease-out; }
@keyframes warm { 0% { color: #fff6d8; } 100% { } }

.tside { display: flex; flex-direction: column; gap: 18px; }
.panel { background: var(--panel); border-radius: var(--r); padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.panel h3 { font-size: 24px; }
.panel .addr { font-size: 13px; overflow-wrap: anywhere; }
.join { background: linear-gradient(180deg, #2f2214, var(--panel)); box-shadow: inset 0 2px 0 var(--brass), inset 0 0 0 1px var(--line-2); }
.mine { box-shadow: inset 0 0 0 2px var(--brass); }
.warnline { background: #3a2a12; color: #f1d796; padding: 8px 10px; border-radius: 6px; font-size: 14px; }
.ready { font-weight: 600; }
.orders { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.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: 600 14px var(--text); padding: 7px 0; border: 0; border-radius: 6px; background: var(--panel-2); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.seg button:hover { background: #3a2a1a; }
.inp { font: inherit; font-size: 15px; padding: 11px 12px; border-radius: 7px; border: 1px solid var(--line-2); background: #120d08; color: var(--cream); width: 100%; }
.inp:focus { outline: 2px solid var(--bee); 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 70px 1fr auto; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.feed-t { color: var(--bee); }
.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 ---------- */
.dlg { border: 0; border-radius: 12px; padding: 0; width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: #1f170f; color: var(--cream); box-shadow: inset 0 2px 0 var(--brass), 0 30px 80px rgba(0, 0, 0, .6); }
.dlg::backdrop { background: rgba(8, 5, 3, .72); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px; }
.dlg-head h2 { margin: 0; font-size: 30px; }
.dlg-x { background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--cream); padding: 6px; }
.dlg-x .ico { margin: 0; }
.dlg-body { padding: 8px 20px 22px; }
.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: 9px; border: 0; background: var(--panel-2); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 16px var(--text); cursor: pointer; }
.wallet-pick:hover { box-shadow: inset 0 0 0 2px var(--bee); }
.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: 9px; border: 0; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; cursor: pointer; color: var(--cream); }
.choice span { font-size: 14px; color: var(--muted); }
.choice.on { box-shadow: inset 0 0 0 2px var(--bee); background: #31240f; }
.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; }
.tbl { border-collapse: collapse; width: 100%; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--brass-lo); padding: 8px 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(--walnut-3); color: #bfae90; padding: 22px 0; font-size: 14px; border-top: 1px solid var(--line-2); }
.foot-in { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.foot a { color: #bfae90; }
.foot-brand { font: 400 22px var(--display); color: var(--cream); margin-right: auto; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--bee); color: #1c130a; padding: 12px 18px; border-radius: 9px; font-size: 15px; font-weight: 600; z-index: 50; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

@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; }
  .brand { font-size: 28px; }
  .brand-mark { width: 34px; height: 34px; }
  .nav { order: 3; flex-basis: 100%; gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: 14px; white-space: nowrap; }
  .top-r { margin-left: auto; }
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 30px 0 12px; }
  .hero .taper { max-width: 200px; }
  .thead { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .thead .taper { max-width: 150px; margin: 0; }
  .facts { grid-template-columns: 100px minmax(0, 1fr); font-size: 14px; }
  .sh-wall { height: 190px; margin: 0 8px; }
  .sh-labels { padding: 8px 8px 12px 68px; }
  .cn-label { font-size: 10px; }
  .cn-pnl { font-size: 12px; }
  .cn-prize { font-size: 10px; }
  .tcard { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 10px 12px; }
  .tc-rank { font-size: 26px; grid-row: span 2; }
  .tc-pnl { grid-column: 3; grid-row: 1; text-align: right; }
  .tc-pnl b { font-size: 22px; }
  .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: 16px; }
  .rack { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .cn-no { display: none; } }
@media (prefers-reduced-motion: reduce) { .cn-flame, .cn-smoke, .stamped .tc-pnl b { animation: none; } .slot { transition: none; } }
