/* WRLD: the screen inside the PC. A clean dark trading desk: mint for YES, coral for NO, beige for the brand. */
@font-face { font-family: Inter; src: url(/assets/fonts/inter-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/inter-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/inter-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/inter-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/inter-extrabold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jbm-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jbm-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jbm-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jbm-extrabold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --bg: #0f191f; --bg2: #0d171d; --pane: #121e25; --pane2: #15232b; --hover: #172730; --sel: #1a2e38; --inset: #0c151a;
  --line: #1c2b33; --line2: #263842; --fg: #e6ecef; --fg2: #b9c6cd; --dim: #7d919b; --dim2: #55686f;
  --yes: #3eec9e; --no: #ff5f64; --beige: #e9dfc4; --beige2: #cdbf9c; --yesbg: rgba(62, 236, 158, .1); --nobg: rgba(255, 95, 100, .1);
  --pm: #79a6ff; --ks: #b9a3ff; --hl: #67d8e6; --warn: #f2c26b;
  --ui: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg2); color: var(--fg); font: 400 13px/1.45 var(--ui); overflow: hidden; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; font-feature-settings: "cv11", "ss01"; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
::selection { background: rgba(233, 223, 196, .3); color: #fff; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 2px; border-radius: 4px; }
kbd { font: 600 10.5px/1 var(--mono); padding: 2px 5px; border-radius: 4px; border: 1px solid var(--line2); background: var(--inset); color: var(--fg2); }
code, .mono { font-family: var(--mono); }
.muted { color: var(--dim); } .sm { font-size: 12px; }
.yes { color: var(--yes); } .no { color: var(--no); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }

/* ---------- intro ---------- */
.space { position: fixed; inset: 0; z-index: 50; display: none; background: #05080a; }
html.pre .space { display: block; }
.introbar { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.skipi { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: rgba(13, 23, 29, .72); border: 1px solid rgba(233, 223, 196, .18); color: var(--beige); font: 500 12px/1 var(--ui); backdrop-filter: blur(6px); }
.skipi:hover { background: rgba(23, 39, 48, .9); }
html.pre .pc { opacity: 0; pointer-events: none; }
html.pre .mtabs { display: none; }
html.entering .pc { animation: dive 1s var(--ease) both; }
@keyframes dive { 0% { opacity: 0; transform: scale(.86); filter: blur(10px) brightness(1.8); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }

/* ---------- the screen: a wide desk scaled to fit (desktop) ---------- */
.pc { position: fixed; inset: 0; overflow: hidden; background: var(--bg); transition: opacity .4s ease; }
.scr { position: absolute; left: 0; top: 0; width: var(--sw, 1440px); height: var(--sh, 100vh); transform: scale(var(--ts, 1)); transform-origin: 0 0;
  display: grid; grid-template-rows: 54px 50px 34px minmax(0, 1fr) 30px; background: radial-gradient(120% 70% at 50% 0%, #12212a 0, var(--bg) 55%); overflow: hidden; }
.crt { position: absolute; inset: 0; pointer-events: none; z-index: 70; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .014) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 140px rgba(0, 0, 0, .38); }

/* top bar */
.top { display: flex; align-items: center; gap: 22px; padding: 0 16px 0 14px; border-bottom: 1px solid var(--line); background: rgba(13, 23, 29, .85); }
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand img { image-rendering: pixelated; }
.brand b { font: 800 17px/1 var(--ui); letter-spacing: .08em; color: var(--beige); }
.tabs { display: flex; gap: 2px; flex: none; }
.tabs a { padding: 7px 12px; border-radius: 7px; color: var(--dim); font-weight: 500; font-size: 13.5px; transition: color .15s, background .15s; }
.tabs a:hover { color: var(--fg); background: var(--hover); }
.tabs a.on { color: var(--fg); background: var(--sel); box-shadow: inset 0 -2px 0 var(--beige); }
.gsearch { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); color: var(--dim); margin-left: auto; }
.gsearch:focus-within { border-color: var(--beige); background: #0a1317; }
.gsearch input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 13px; color: var(--fg); }
.gsearch input::-webkit-search-cancel-button { filter: invert(.6); }
.tr { display: flex; align-items: center; gap: 8px; flex: none; }
.ib { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--dim); border: 1px solid var(--line); background: var(--pane); }
.ib:hover { color: var(--fg); border-color: var(--line2); }
.ib[aria-pressed="true"] { color: var(--beige); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 8px; background: var(--beige); color: #10191e; font-weight: 600; font-size: 13px; white-space: nowrap; border: 1px solid var(--beige); transition: filter .15s, background .15s, transform .1s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line2); }
.btn.ghost:hover { background: var(--hover); }
.btn.yesb { background: var(--yes); border-color: var(--yes); color: #062015; }
.btn.nob { background: var(--no); border-color: var(--no); color: #2a0608; }
.btn.big { height: 46px; font-size: 15px; width: 100%; }
.btn.wal { min-width: 132px; font-family: var(--ui); }
.btn.wal.on { background: var(--pane2); color: var(--fg); border-color: var(--line2); font-family: var(--mono); font-weight: 500; }
.mini { font: 500 11px/1 var(--ui); padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line2); color: var(--fg2); background: var(--pane2); white-space: nowrap; }
.mini:hover { color: var(--fg); background: var(--hover); }

/* stats strip */
.strip { display: flex; align-items: stretch; gap: 0; padding: 0 6px; border-bottom: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.st1, .stv { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 16px; border-right: 1px solid var(--line); white-space: nowrap; }
.st1 span, .stv > span { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.st1 b { font: 700 15px/1.1 var(--mono); color: var(--fg); }
.stv { flex-direction: row; align-items: center; gap: 10px; }
.vh { display: inline-flex; align-items: center; gap: 4px; }
.vh i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim2); }
.vh.ok i { background: var(--yes); box-shadow: 0 0 0 3px rgba(62, 236, 158, .15); }
.vh.off i { background: var(--no); }
.stt { margin-left: auto; align-self: center; padding: 0 12px; font: 600 14px/1 var(--ui); color: var(--fg2); white-space: nowrap; }
.stt em { font-style: normal; color: var(--beige); }

/* venue badges + tags */
.vb { display: inline-grid; place-items: center; min-width: 22px; height: 16px; padding: 0 3px; border-radius: 4px; font: 700 9.5px/1 var(--mono); letter-spacing: .02em; flex: none; }
.v-polymarket { color: var(--pm); background: rgba(121, 166, 255, .13); }
.v-kalshi { color: var(--ks); background: rgba(185, 163, 255, .13); }
.v-hyperliquid { color: var(--hl); background: rgba(103, 216, 230, .13); }
.tag { display: inline-grid; place-items: center; height: 17px; padding: 0 5px; border-radius: 4px; font: 700 9.5px/1 var(--mono); letter-spacing: .05em; flex: none; }
.tag.bet { color: var(--yes); background: var(--yesbg); }
.tag.view { color: var(--dim); background: rgba(125, 145, 155, .12); }
.ch { font: 500 12px/1 var(--mono); color: var(--dim); white-space: nowrap; }
.ch.up { color: var(--yes); } .ch.dn { color: var(--no); }

/* tape */
.tape { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.tk { display: inline-flex; height: 100%; align-items: center; white-space: nowrap; animation: tape var(--dur, 120s) linear infinite; will-change: transform; }
.tape:hover .tk, .tape:focus-within .tk { animation-play-state: paused; }
.dup { display: inline-flex; }
@keyframes tape { to { transform: translateX(-50%); } }
.ti { display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; height: 34px; border-right: 1px solid var(--line); font-size: 12.5px; }
.ti:hover { background: var(--hover); }
.ti .tq { color: var(--fg2); max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
.ti b { font: 700 12.5px/1 var(--mono); color: var(--fg); }
.tk0 { padding: 0 16px; line-height: 34px; color: var(--dim); font-size: 12px; }

/* main + panes */
.main { position: relative; min-height: 0; padding: 10px; }
.panes { height: 100%; display: grid; gap: 10px; grid-template-columns: minmax(0, 1.78fr) minmax(0, 1.06fr) minmax(0, .82fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "board prev movers" "board prev ending"; transition: opacity .25s, filter .25s; }
.pane { position: relative; min-height: 0; display: flex; flex-direction: column; background: var(--pane); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pane.board { grid-area: board; } .pane.prev { grid-area: prev; } .pane.movers { grid-area: movers; } .pane.ending { grid-area: ending; }
.ph { flex: none; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; border-bottom: 1px solid var(--line); }
.ph h2 { font-size: 13.5px; font-weight: 600; }
.pn { font: 500 11px/1 var(--mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz { margin-left: auto; width: 26px; height: 26px; border-radius: 6px; color: var(--dim); font-size: 14px; }
.pz:hover { color: var(--fg); background: var(--hover); }
.board .ph .pz { margin-left: 0; }
.pb { flex: 1; min-height: 0; overflow: auto; }
.panes.zoomed { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "z"; }
.panes.zoomed > .pane { display: none; }
.panes.zoomed > .pane.z { display: flex; grid-area: z; animation: pin .3s var(--ease) both; }
@keyframes pin { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
html.haswin:not(.mob) .panes { opacity: .28; filter: saturate(.6); pointer-events: none; }

/* scrollbars */
.pb, .rows, .wb, .cout, .plist, .elist, .ct { scrollbar-width: thin; scrollbar-color: #2a3b44 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: #2a3b44; border-radius: 8px; } ::-webkit-scrollbar-track { background: transparent; }

/* board controls */
.seg { display: inline-flex; padding: 2px; gap: 2px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); flex: none; }
.seg button { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--dim); white-space: nowrap; }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--sel); color: var(--fg); }
.board .seg { margin-left: auto; }
.sortsel { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px 0 9px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); color: var(--dim); font-size: 12px; flex: none; }
.sortsel select { background: transparent; border: 0; outline: 0; color: var(--fg); font-size: 12px; font-weight: 500; padding: 4px 2px; cursor: pointer; }
.sortsel select option { background: var(--pane); }
.cats { flex: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.cats::-webkit-scrollbar { display: none; }
.cats button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 7px; color: var(--dim); font-size: 12.5px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.cats button img { width: 16px; height: 16px; }
.cats button i { font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--dim2); }
.cats button:hover { color: var(--fg); background: var(--hover); }
.cats button[aria-selected="true"] { color: var(--fg); background: var(--sel); border-color: var(--line2); }
.cats button[aria-selected="true"] i { color: var(--beige); }
.bsearch { display: none; }
.bhead, a.row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 96px 62px 56px 58px 64px 36px; align-items: center; gap: 8px; padding: 0 12px 0 12px; }
.bhead { flex: none; height: 30px; white-space: nowrap; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim2); border-bottom: 1px solid var(--line); }
.bhead span:nth-child(n+4) { text-align: right; }
.rows { flex: 1; min-height: 0; overflow: auto; outline: 0; position: relative; }
.rows.busy { opacity: .55; transition: opacity .2s .1s; }
a.row { padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); transition: background .12s; }
a.row:hover { background: var(--hover); }
a.row.sel { background: var(--sel); box-shadow: inset 2px 0 0 var(--beige); }
.rows:focus-visible a.row.sel { box-shadow: inset 0 0 0 1px rgba(233, 223, 196, .35); }
.ic { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.ic.sm { width: 22px; height: 22px; } .ic.lg { width: 40px; height: 40px; }
.q { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.q b { font-weight: 500; font-size: 13.5px; line-height: 1.3; color: var(--fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.q small { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--dim); font-size: 11.5px; }
.q small span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odds { display: flex; flex-direction: column; gap: 5px; }
.odds b { font: 700 15px/1 var(--mono); color: var(--fg2); }
.bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 95, 100, .55); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--yes); border-radius: 4px 0 0 4px; }
a.row .ch, a.row .vol, a.row .end { text-align: right; font: 500 12px/1 var(--mono); }
a.row .vol { color: var(--fg2); } a.row .end { color: var(--dim); }
a.row .tag { justify-self: end; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 40px 20px; color: var(--dim); }
.empty b { color: var(--fg); font-size: 15px; font-weight: 600; }
.empty .btn { margin-top: 6px; }
.empty.sm { padding: 20px 14px; font-size: 12.5px; }
.empty.big { grid-column: 1 / -1; padding: 70px 20px; gap: 14px; }
.empty.big img { image-rendering: pixelated; }
.warnrow { padding: 10px 14px; color: var(--warn); font-size: 12px; }
.skel { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.skel i { display: block; height: 30px; border-radius: 6px; background: linear-gradient(90deg, var(--pane2) 0, #1b2c35 50%, var(--pane2) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* side lists (movers, ending) */
.li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.li:hover { background: var(--hover); }
.lq { min-width: 0; font-size: 12.5px; line-height: 1.3; display: flex; flex-direction: column; gap: 4px; }
.lq { overflow: hidden; }
.lq > small { display: flex; align-items: center; gap: 6px; color: var(--dim); font: 500 11px/1 var(--mono); }
.lr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lr b { font: 700 13.5px/1 var(--mono); }
.cd { color: var(--warn); font: 500 11px/1 var(--mono); }

/* one market (preview + event) */
.mv { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.mvh { display: flex; gap: 12px; align-items: flex-start; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--dim); font-size: 11.5px; margin-bottom: 5px; }
.meta i { font-style: normal; color: var(--dim2); }
.mvh h2 { font-size: 17px; line-height: 1.3; font-weight: 600; }
.mvh h1 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.et { color: var(--dim); font-size: 12px; margin-top: 4px; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 9px; border: 1px solid; }
.side.yes { background: var(--yesbg); border-color: rgba(62, 236, 158, .28); }
.side.no { background: var(--nobg); border-color: rgba(255, 95, 100, .28); }
.side .sl { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side.yes .sl, .side.yes b { color: var(--yes); } .side.no .sl, .side.no b { color: var(--no); }
.side b { font: 800 26px/1 var(--mono); }
.side small { font: 500 11px/1 var(--mono); color: var(--fg2); }
.chartbox { border: 1px solid var(--line); border-radius: 9px; background: var(--inset); padding: 8px 8px 4px; }
.rng { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.rng button { height: 24px; padding: 0 9px; border-radius: 6px; font: 600 11px/1 var(--mono); color: var(--dim); }
.rng button:hover { color: var(--fg); }
.rng button[aria-pressed="true"] { background: var(--sel); color: var(--fg); }
.rng .muted { margin-left: auto; padding-right: 4px; font-size: 11px; }
.cv { display: block; width: 100%; height: 170px; cursor: crosshair; touch-action: pan-y; }
.ev .cv { height: 300px; }
.kv { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--line); }
.kv > div { background: var(--pane); padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kv span { font: 500 9.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.kv b { font: 600 13px/1.1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prev .kv { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.prev .kv > div { grid-column: span 2; } .prev .kv > div:nth-child(n+4) { grid-column: span 3; }
.prev .acts .btn { flex: 1 1 auto; } .prev .acts .btn.ghost { flex: 0 1 auto; }
.cmp h3, .sibs h3, .sh, .lprev h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--fg2); margin-bottom: 8px; }
.cmp h3 .muted, .sibs h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }
.ct { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.cr { display: grid; grid-template-columns: 24px minmax(0, 1fr) 44px 44px 48px 36px; gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.cr:last-child { border-bottom: 0; }
.cr:hover { background: var(--hover); }
.cr.me { background: var(--pane2); }
.cq { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg2); }
.cy, .cn, .cd2 { font: 700 12px/1 var(--mono); text-align: right; }
.cd2 { color: var(--dim); font-weight: 500; }
.sibs { display: flex; flex-direction: column; }
.sr { display: grid; grid-template-columns: minmax(0, 1fr) 46px 80px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.sr:hover { color: #fff; }
.sr b { font: 700 12.5px/1 var(--mono); text-align: right; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.viewonly { font-size: 12px; color: var(--dim); padding: 8px 10px; border: 1px dashed var(--line2); border-radius: 8px; flex-basis: 100%; }
.ends { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.ends span:first-child { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.ends b { font: 600 13px/1 var(--mono); }

/* windows */
.wins { position: absolute; inset: 10px; pointer-events: none; z-index: 10; }
.win { position: absolute; inset: 0; pointer-events: auto; display: flex; flex-direction: column; background: var(--pane); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: win .28s var(--ease) both; overflow: hidden; }
.win.sm { inset: 60px auto auto 50%; width: 520px; transform: translateX(-50%); animation: none; }
@keyframes win { from { opacity: 0; transform: translateY(8px) scale(.995); } to { opacity: 1; transform: none; } }
.wh { flex: none; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); background: var(--pane2); }
.wh b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.wp { font: 500 11px/1 var(--mono); color: var(--dim2); white-space: nowrap; }
.x { margin-left: auto; height: 28px; padding: 0 10px; border-radius: 7px; font: 500 11.5px/1 var(--mono); color: var(--dim); border: 1px solid var(--line2); white-space: nowrap; }
.x:hover { color: var(--fg); background: var(--hover); }
.wb { flex: 1; min-height: 0; overflow: auto; padding: 20px 24px 28px; }
.evw { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 22px; align-items: start; }
.evl, .evr { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ev .sides b { font-size: 32px; }
.lp { margin-bottom: 14px; }

/* coins */
.cw { display: flex; flex-direction: column; gap: 16px; }
.cwh { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cwh .seg { margin-left: auto; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; }
.coin { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 12px; background: var(--pane2); border: 1px solid var(--line); min-width: 0; }
.coin:hover { border-color: var(--line2); }
.ch1 { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cimg { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; background: var(--inset); border: 1px solid var(--line2); }
.cimg.ph { display: grid; place-items: center; font: 800 16px/1 var(--mono); color: var(--beige); }
.cimg.xl { width: 88px; height: 88px; border-radius: 14px; font-size: 26px; }
.cn1 { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cn1 b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn1 span { font: 600 12px/1.2 var(--mono); color: var(--beige); }
.st { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; flex: none; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-waiting { color: var(--dim); background: rgba(125, 145, 155, .14); }
.st-funding { color: var(--beige); background: rgba(233, 223, 196, .12); }
.st-funding::before { animation: blink 1.6s ease-in-out infinite; }
.st-open { color: var(--hl); background: rgba(103, 216, 230, .12); }
.st-won { color: var(--yes); background: var(--yesbg); }
.st-lost { color: var(--no); background: var(--nobg); }
.st-rolled { color: var(--ks); background: rgba(185, 163, 255, .12); }
@keyframes blink { 50% { opacity: .3; } }
.bond { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.bond > span:first-child { font: 500 10px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.bond b { justify-self: end; font: 600 12px/1 var(--mono); }
.bond .bar { grid-column: 1 / -1; background: var(--inset); height: 5px; }
.bond .bar i { background: linear-gradient(90deg, var(--beige2), var(--beige)); border-radius: 4px; }
.ca { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.ca code { font-size: 12px; color: var(--fg2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca .muted { margin-left: auto; font-size: 11.5px; }
.slip { border: 1px dashed var(--line2); border-radius: 10px; padding: 10px 12px; background: var(--inset); display: flex; flex-direction: column; gap: 10px; }
.slip .mk { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.slip .mk .vb { margin-top: 1px; }
a.mk:hover span { color: #fff; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.slip dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.slip dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; border-bottom: 1px solid rgba(38, 56, 66, .6); padding-bottom: 5px; }
.slip dt { font: 500 9.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.slip dd { margin: 0; font: 600 12px/1.2 var(--mono); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slip dd .muted { font-weight: 500; }
.sidep { display: inline-block; padding: 2px 7px; border-radius: 5px; font: 800 11px/1.2 var(--mono); letter-spacing: .04em; }
.sidep.yes { background: var(--yesbg); color: var(--yes); } .sidep.no { background: var(--nobg); color: var(--no); }
.stmsg { font-size: 12px; color: var(--fg2); }
.pay { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--yesbg); border: 1px solid rgba(62, 236, 158, .22); }
.pay span { font: 500 10px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--fg2); }
.pay b { margin-left: auto; font: 800 16px/1 var(--mono); color: var(--yes); white-space: nowrap; }
.pay small { font: 500 11px/1 var(--mono); color: var(--dim); white-space: nowrap; }
.cdesc { font-size: 12.5px; color: var(--fg2); overflow-wrap: anywhere; }
.cwin { display: flex; flex-direction: column; gap: 16px; max-width: 1100px; }
.cwtop { display: grid; grid-template-columns: auto minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.cwid { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cwid h1 { font-size: 26px; font-weight: 700; } .cwid h1 span { font: 700 16px/1 var(--mono); color: var(--beige); margin-left: 6px; }
.cwid .ca code { font-size: 12.5px; }
.links { display: flex; gap: 8px; flex-wrap: wrap; }
.cwst { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--pane2); align-items: flex-start; }
.cwst .bond { width: 100%; }
.cwin .slip dl { grid-template-columns: repeat(3, 1fr); }
.sh { margin-top: 6px; }

/* ledger */
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.lt { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lt th { text-align: left; font: 500 10px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); padding: 11px 12px; border-bottom: 1px solid var(--line); background: var(--pane2); white-space: nowrap; }
.lt td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.lt tr:last-child td { border-bottom: 0; }
.lt tr:hover td { background: var(--hover); }
.lt .r { text-align: right; } .lt td.note { white-space: normal; color: var(--fg2); min-width: 220px; }
.lt a { color: var(--fg); border-bottom: 1px solid var(--line2); }
.lt a:hover { border-color: var(--beige); }
.kind { font: 600 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 3px 6px; border-radius: 5px; background: rgba(125, 145, 155, .14); color: var(--fg2); }
.k-launch { color: var(--beige); background: rgba(233, 223, 196, .12); }
.k-bet { color: var(--hl); background: rgba(103, 216, 230, .12); }
.k-settle, .k-buyback, .k-burn { color: var(--yes); background: var(--yesbg); }

/* docs */
.docs { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 34px; }
.toc { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.toc a { padding: 7px 10px; border-radius: 7px; color: var(--dim); font-size: 13px; font-weight: 500; }
.toc a:hover { color: var(--fg); background: var(--hover); }
.dsec { padding: 4px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 22px; font-size: 14px; line-height: 1.65; color: var(--fg2); }
.dsec h2 { font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 12px; }
.dsec p { margin: 0 0 10px; } .dsec ul, .dsec ol { margin: 0 0 10px; padding-left: 20px; } .dsec li { margin: 4px 0; }
.dsec b { color: var(--fg); font-weight: 600; }
.dsec a { color: var(--beige); border-bottom: 1px solid rgba(233, 223, 196, .3); }
.dsec code { font-size: 12.5px; padding: 1px 5px; border-radius: 4px; background: var(--inset); }
.lead { font-size: 17px; color: var(--fg); font-weight: 500; }
.steps li { padding-left: 4px; }
.dt { border-collapse: collapse; width: 100%; margin: 6px 0 12px; font-size: 13.5px; }
.dt th, .dt td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dt th { font: 500 10px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.dt td:first-child { white-space: nowrap; color: var(--fg); }
.dt.keys td:first-child { width: 120px; }
.faq dt { color: var(--fg); font-weight: 600; margin-top: 12px; } .faq dd { margin: 4px 0 0; }

/* launch */
.lw { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; max-width: 1220px; }
.lf { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lead2 { font-size: 14px; color: var(--fg2); }
fieldset { margin: 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--pane2); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 600; font-size: 13.5px; }
legend i { font: 700 11px/1 var(--mono); font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--beige); color: #10191e; }
.fl { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--fg2); min-width: 0; }
.fl input, .fl textarea, .tk1 { height: 38px; padding: 0 11px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line2); outline: 0; font-size: 13.5px; color: var(--fg); width: 100%; }
.fl textarea { height: auto; padding: 9px 11px; resize: vertical; min-height: 92px; line-height: 1.45; }
.fl input:focus, .fl textarea:focus, .tk1:focus-within, .psearch:focus-within { border-color: var(--beige2); }
.tk1 { display: flex; align-items: center; gap: 4px; padding: 0 0 0 11px; }
.tk1 b { font: 700 14px/1 var(--mono); color: var(--beige); }
.tk1 input { border: 0; background: none; height: 100%; padding: 0 11px 0 0; font: 600 14px/1 var(--mono); letter-spacing: .04em; outline: 0; }
.g2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.g3 { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; }
.g3b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.drop { width: 132px; height: 132px; border-radius: 12px; border: 1.5px dashed var(--line2); background: var(--inset); display: grid; place-items: center; text-align: center; color: var(--dim); font-size: 12px; line-height: 1.4; overflow: hidden; }
.drop small { font-size: 10.5px; color: var(--dim2); }
.drop:hover, .drop.over { border-color: var(--beige2); color: var(--fg); }
.drop img { width: 100%; height: 100%; object-fit: cover; }
.links2 summary { cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--fg2); }
.pick .picked { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(233, 223, 196, .35); background: rgba(233, 223, 196, .06); }
.pq { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; font-weight: 500; line-height: 1.3; text-align: left; }
.pq small { display: flex; align-items: center; gap: 6px; color: var(--dim); font: 500 11px/1 var(--mono); }
.psearch { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line2); color: var(--dim); }
.psearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; height: 100%; font-size: 13px; color: var(--fg); }
.plist { max-height: 236px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--inset); }
.pi { width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.pi:last-child { border-bottom: 0; }
.pi:hover { background: var(--hover); }
.pi.on { background: var(--sel); box-shadow: inset 2px 0 0 var(--beige); }
.pi b { font: 700 13px/1 var(--mono); }
.sidesel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 52px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line2); background: var(--inset); font-weight: 600; min-width: 0; }
.sb span { font: 700 13px/1.2 var(--mono); letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb b { font: 800 20px/1 var(--mono); }
.sb.yes span, .sb.yes b { color: var(--yes); } .sb.no span, .sb.no b { color: var(--no); }
.sb.yes[aria-pressed="true"] { border-color: var(--yes); background: var(--yesbg); }
.sb.no[aria-pressed="true"] { border-color: var(--no); background: var(--nobg); }
.sb[aria-pressed="false"] { opacity: .6; } .sb[aria-pressed="false"]:hover { opacity: .9; }
.buy { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 14px; align-items: center; }
.buy input[type=range] { width: 100%; accent-color: var(--beige); }
.buyn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 11px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line2); }
.buyn input { width: 100%; min-width: 0; background: none; border: 0; outline: 0; font: 600 14px/1 var(--mono); color: var(--fg); }
.buyn span { font: 600 12px/1 var(--mono); color: var(--dim); }
.lerr { padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255, 95, 100, .4); background: var(--nobg); color: #ffb3b5; font-size: 13px; }
.lsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: s; }
.lsteps li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; background: var(--pane2); border: 1px solid var(--line); color: var(--dim); font-size: 12px; font-weight: 500; }
.lsteps li::before { content: counter(s); font: 700 10px/1 var(--mono); width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--line2); color: var(--fg2); flex: none; }
.lsteps li.on { color: var(--fg); border-color: var(--beige2); } .lsteps li.on::before { background: var(--beige); color: #10191e; animation: blink 1.2s ease-in-out infinite; }
.lsteps li.done { color: var(--yes); } .lsteps li.done::before { content: "✓"; background: var(--yes); color: #062015; }
.lsteps li.bad { color: var(--no); border-color: rgba(255, 95, 100, .5); } .lsteps li.bad::before { background: var(--no); color: #2a0608; }
.ldone { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 12px; border: 1px solid rgba(62, 236, 158, .4); background: var(--yesbg); }
.ldone b { font-size: 16px; color: var(--yes); } .ldone p { color: var(--fg2); }
.lprev { position: sticky; top: 0; display: flex; flex-direction: column; gap: 12px; }
.coin.pv { background: var(--pane2); }

/* earth */
.earth { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; height: 100%; }
.emap { position: relative; align-self: start; aspect-ratio: 2 / 1; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(80% 90% at 50% 50%, #12222b, var(--inset)); overflow: hidden; }
#ecv { position: absolute; inset: 0; width: 100%; height: 100%; }
.epins { position: absolute; inset: 0; }
.epin { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; display: grid; place-items: center; }
.epin i { width: 9px; height: 9px; border-radius: 50%; background: var(--yes); box-shadow: 0 0 0 4px rgba(62, 236, 158, .2); }
.epin i.no { background: var(--no); box-shadow: 0 0 0 4px rgba(255, 95, 100, .2); }
.epin:hover i { transform: scale(1.4); }
.elist { min-height: 0; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.elist h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg2); padding: 12px 12px 6px; }

/* status bar + console */
.sbar { display: flex; align-items: center; gap: 12px; padding: 0 10px; border-top: 1px solid var(--line); background: var(--bg2); font-size: 11.5px; color: var(--dim); }
.keys { display: flex; gap: 2px; }
.keys button { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 5px; color: var(--dim); font-size: 11.5px; }
.keys button:hover { color: var(--fg); background: var(--hover); }
.keys kbd { padding: 1px 4px; font-size: 10px; }
.sbm { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--dim2); }
.clk { font: 500 11.5px/1 var(--mono); color: var(--fg2); }
.con { position: absolute; left: 10px; right: 10px; bottom: 34px; height: 44%; z-index: 40; display: flex; flex-direction: column; background: rgba(9, 16, 20, .97); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 -20px 60px rgba(0, 0, 0, .45); animation: con .22s var(--ease) both; font: 500 12.5px/1.6 var(--mono); }
@keyframes con { from { opacity: 0; transform: translateY(12px); } }
.cout { flex: 1; min-height: 0; overflow: auto; padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cl { min-height: 1.6em; } .cl.er { color: var(--no); } .cl.cmd { color: var(--fg2); margin-top: 6px; }
.cp { color: var(--beige); } .ck { color: var(--beige); white-space: pre; } .cx { color: var(--dim2); }
.cl a { color: var(--fg); border-bottom: 1px solid var(--line2); } .cl a:hover { border-color: var(--beige); }
.cin { flex: none; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-top: 1px solid var(--line); }
.cin span { color: var(--beige); font-weight: 700; }
.cin input { flex: 1; background: none; border: 0; outline: 0; font: 500 13px/1 var(--mono); color: var(--fg); }

/* modal + toast */
.modal { position: absolute; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(5, 10, 13, .62); backdrop-filter: blur(3px); }
.mbox { width: 400px; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 14px; background: var(--pane2); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); animation: win .22s var(--ease) both; }
.mh { display: flex; align-items: center; } .mh b { font-size: 15px; font-weight: 600; } .mh .x { margin-left: auto; }
.wl { display: flex; flex-direction: column; gap: 6px; }
.wi { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--inset); text-align: left; }
.wi:hover { border-color: var(--beige2); }
.wi img { border-radius: 7px; } .wi b { font-weight: 600; } .wi .muted { font-size: 12px; }
.wph { width: 28px; height: 28px; border-radius: 7px; background: var(--line2); display: grid; place-items: center; font-weight: 700; color: var(--beige); }
.mwal { display: flex; gap: 12px; align-items: center; min-width: 0; } .mwal div { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .mwal code { font-size: 11.5px; color: var(--fg2); overflow-wrap: anywhere; }
.merr { color: var(--no); font-size: 12.5px; } .merr:empty { display: none; }
.toast { position: absolute; left: 50%; bottom: 48px; z-index: 90; transform: translate(-50%, 10px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 10px; background: var(--fg); color: #10191e; font-weight: 600; font-size: 13px; transition: opacity .2s, transform .2s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.good { background: var(--yes); color: #062015; } .toast.bad { background: var(--no); color: #2a0608; }
.mtabs { display: none; }

/* ---------- pro desk: window chrome, layouts, live, sparks, book, calculator, heat, palette, boot, live toasts ---------- */
.wico { flex: none; width: 9px; height: 9px; border-radius: 2px; border: 1.5px solid var(--beige2); opacity: .7; box-shadow: inset 0 2px 0 rgba(233, 223, 196, .55); }
.ph { background: linear-gradient(180deg, rgba(233, 223, 196, .035), transparent); }
.pane:focus-within > .ph .wico, .pane.z > .ph .wico { border-color: var(--beige); opacity: 1; }
.pz { display: grid; place-items: center; border: 1px solid transparent; }
.pz:hover { border-color: var(--line2); }
.pz[aria-pressed="true"] { color: var(--beige); border-color: var(--line2); }
.pane.heat, .pane.calcp { display: none; }
.panes { transition: none; }
.panes[data-lay="explore"] { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.06fr) minmax(0, .9fr); grid-template-rows: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "heat heat movers" "board prev ending"; }
.panes[data-lay="explore"] > .pane.heat { display: flex; grid-area: heat; }
.panes[data-lay="launch"] { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.06fr) minmax(0, .95fr); grid-template-rows: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "board prev calc" "board prev movers"; }
.panes[data-lay="launch"] > .pane.calcp { display: flex; grid-area: calc; }
.panes[data-lay="launch"] > .pane.ending { display: none; }
.panes.zoomed > .pane { display: none !important; }
.panes.zoomed > .pane.z { display: flex !important; }
.panes.zoomed[data-lay] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "z"; }
.panes.zoomed[data-lay] > .pane.z { grid-area: z; }
.pane.board, .pane.prev { container-type: inline-size; }
@container (max-width: 700px) { #venf button > span:not(.vb) { display: none; } .board .ph { gap: 8px; } .sortsel > span { display: none; } }
@container (max-width: 640px) { .bhead, a.row { grid-template-columns: 26px minmax(0, 1fr) 84px 58px 54px 34px; } .bhead span:nth-child(6), .bhead span:nth-child(7), a.row .vol, a.row .end { display: none; } }
.lays { display: inline-flex; align-items: center; gap: 2px; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); font: 500 10.5px/1 var(--mono); color: var(--dim2); }
.lays > span { margin-right: 6px; text-transform: uppercase; letter-spacing: .08em; }
.lays button { height: 22px; padding: 0 8px; border-radius: 5px; color: var(--dim); font: 500 11px/1 var(--ui); }
.lays button:hover { color: var(--fg); background: var(--hover); }
.lays button[aria-pressed="true"] { color: var(--fg); background: var(--sel); box-shadow: inset 0 -1.5px 0 var(--beige); }
.live { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); color: var(--dim); white-space: nowrap; margin-right: 12px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim2); flex: none; }
.live b { font-weight: 700; letter-spacing: .06em; color: var(--fg2); }
.live.on i { background: var(--yes); box-shadow: 0 0 0 0 rgba(62, 236, 158, .55); animation: pulse 1.8s ease-out infinite; }
.live.on b { color: var(--yes); }
.live.off i { background: var(--no); } .live.off b { color: var(--no); }
.live.paused i { background: var(--warn); } .live.paused b { color: var(--warn); }
.live.sm { margin: 0 0 0 2px; font-size: 10px; } .live.sm span { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 236, 158, .5); } 70% { box-shadow: 0 0 0 6px rgba(62, 236, 158, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 236, 158, 0); } }
.fl-up, .fl-dn { animation: flup 1.6s var(--ease); border-radius: 5px; }
.fl-dn { animation-name: fldn; }
@keyframes flup { 0%, 30% { background-color: rgba(62, 236, 158, .32); } 100% { background-color: transparent; } }
@keyframes fldn { 0%, 30% { background-color: rgba(255, 95, 100, .32); } 100% { background-color: transparent; } }
.side.fl-up, .side.fl-dn { border-radius: 10px; }
.spkc { display: flex; align-items: center; justify-content: center; min-width: 0; height: 22px; }
.spkc svg { display: block; overflow: visible; }
.spk0 { font: 500 11px/1 var(--mono); color: var(--dim2); font-style: normal; }
.li.wsp { grid-template-columns: 22px minmax(0, 1fr) 52px auto; }
/* compare table */
.cmp { container-type: inline-size; }
.cmps { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; font: 500 11px/1.3 var(--mono); color: var(--dim); }
.cmps b { font-weight: 700; color: var(--fg); } .cmps b.yes { color: var(--yes); } .cmps b.no { color: var(--no); } .cmps i { font-style: normal; color: var(--fg2); }
.ctw { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.cmpt { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; }
.cmpt th { text-align: left; font: 500 9.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--dim); padding: 8px 8px; background: var(--pane2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.cmpt th:nth-child(1) { width: 38px; } .cmpt th:nth-child(3), .cmpt th:nth-child(4) { width: 58px; } .cmpt th:nth-child(5) { width: 62px; } .cmpt th:nth-child(6) { width: 70px; } .cmpt th:nth-child(7) { width: 50px; }
.cmpt td { padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.cmpt tr:last-child td { border-bottom: 0; }
.cmpt tr.me td { background: rgba(233, 223, 196, .04); }
.cmpt .r { text-align: right; }
.cmpt .cq { overflow: hidden; text-overflow: ellipsis; }
.cmpt .cq a:hover { text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.cmpt td.best { font-weight: 700; } .cmpt td.best.y { color: var(--yes); background: var(--yesbg); } .cmpt td.best.n { color: var(--no); background: var(--nobg); }
.cmpt td.best::before { content: "★ "; font-size: 9px; opacity: .8; }
.cmp > .muted.sm { margin-top: 6px; font-size: 11px; }
@container (max-width: 520px) { .cmpt .cdx, .cmpt .cvx { display: none; } .cmpt th:nth-child(7) { width: 46px; } }
/* order book */
.book, .calc { border: 1px solid var(--line); border-radius: 10px; background: var(--inset); padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.bkh, .calh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bkh h3, .calh h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--fg2); }
.bkh .seg button, .calin .seg button { height: 24px; padding: 0 10px; font: 600 11px/1 var(--mono); }
.bkst { margin-left: auto; display: flex; gap: 12px; font: 500 11px/1 var(--mono); color: var(--dim); }
.bkst b { color: var(--fg); font-weight: 600; }
.lhd, .lrow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; font: 500 11.5px/1 var(--mono); }
.lhd { color: var(--dim2); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; padding: 0 8px 4px; }
.lhd span:nth-child(n+2), .lrow span:nth-child(n+3) { text-align: right; }
.lrow { position: relative; height: 21px; padding: 0 8px; border-radius: 4px; align-items: center; grid-template-rows: 21px; overflow: hidden; }
.lrow span { line-height: 21px; height: 21px; white-space: nowrap; }
.lrow i { position: absolute; right: 0; top: 1px; bottom: 1px; border-radius: 3px; opacity: .16; }
.lrow.a i { background: var(--no); } .lrow.b i { background: var(--yes); }
.lrow.a .lpx { color: var(--no); } .lrow.b .lpx { color: var(--yes); }
.lrow span { position: relative; } .lrow span:nth-child(3) { text-align: right; } .lrow span:nth-child(4) { text-align: right; color: var(--dim); }
.lrow.e { display: block; color: var(--dim2); text-align: center; }
.lmid { display: flex; justify-content: space-between; padding: 5px 8px; margin: 2px 0; border-top: 1px dashed var(--line2); border-bottom: 1px dashed var(--line2); font: 600 11px/1 var(--mono); color: var(--beige); }
.bk0 { padding: 8px 2px; }
.dcw { height: 96px; border-top: 1px solid var(--line); padding-top: 6px; }
.dcv { width: 100%; height: 100%; display: block; }
.bkf { display: flex; gap: 12px; font: 500 10.5px/1 var(--mono); }
.bkf .muted { margin-left: auto; }
/* slip calculator */
.ctag { margin-left: auto; font: 600 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(242, 194, 107, .35); background: rgba(242, 194, 107, .08); padding: 4px 6px; border-radius: 5px; }
.calin { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.amt { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line2); flex: 1 1 110px; min-width: 0; }
.amt:focus-within { border-color: var(--beige2); }
.amt span { font: 700 13px/1 var(--mono); color: var(--beige); }
.amt input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: 0; font: 600 14px/1 var(--mono); color: var(--fg); }
.qk { display: flex; gap: 4px; }
.calo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--line); }
.calo > div { background: var(--pane); padding: 7px 9px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.calo dt { font: 500 9px/1.1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calo dd { margin: 0; font: 700 13px/1.1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calo dd .muted { font-size: 10px; font-weight: 500; }
.calb { font: 500 11px/1.45 var(--mono); color: var(--fg2); }
.lprev .calc { margin-top: 12px; }
.lprev .calo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cpw .calh h3 { display: none; } .cpw .ctag { margin-left: 0; }
.cpw { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cpm { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 13px; line-height: 1.35; }
.cpm:hover span { text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.cpw .acts { display: flex; gap: 8px; } .cpw .acts .btn { flex: 1 1 0; height: 32px; font-size: 12px; padding: 0 8px; }
#calcp { overflow: auto; }
/* event view */
.ev .evw { grid-template-columns: minmax(0, 1fr) 420px; }
.evr .acts { display: flex; flex-wrap: wrap; gap: 8px; }
/* world heat */
.heatb { position: relative; flex: 1; min-height: 0; overflow: hidden; margin: 6px; }
.ht, .hst { position: absolute; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; padding: 8px 9px; border-radius: 6px; border: 1px solid rgba(233, 223, 196, .08); text-align: left; overflow: hidden; color: var(--fg); transition: filter .15s, border-color .15s; }
.ht:hover, .hst:hover { filter: brightness(1.25); border-color: rgba(233, 223, 196, .3); }
.ht.on { border-color: var(--beige); box-shadow: inset 0 0 0 1px var(--beige); }
.ht b { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ht span { font: 700 12px/1 var(--mono); white-space: nowrap; } .ht span i { font-style: normal; font-weight: 500; color: var(--fg2); }
.ht small { font: 500 10.5px/1.2 var(--mono); color: var(--fg2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ht b, .ht span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ht.hp { padding-top: 7px; }
.hpct { position: absolute; right: 10px; bottom: 6px; font: 800 30px/1 var(--mono); font-style: normal; color: var(--fg); opacity: .16; letter-spacing: -.02em; }
.hst { padding: 5px 6px; gap: 2px; z-index: 1; border-color: rgba(233, 223, 196, .12); }
.hst b { font-size: 11px; font-weight: 600; white-space: nowrap; } .hst small { font: 500 10px/1 var(--mono); color: var(--fg2); white-space: nowrap; }
/* command palette */
.pal { position: absolute; inset: 0; z-index: 95; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; background: rgba(5, 10, 13, .55); backdrop-filter: blur(3px); }
.palbox { width: 640px; max-width: calc(100% - 24px); display: flex; flex-direction: column; border-radius: 14px; background: var(--pane2); border: 1px solid var(--line2); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); overflow: hidden; animation: win .18s var(--ease) both; }
.pali { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--dim); }
.pali input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 500 15px/1 var(--ui); color: var(--fg); }
.pall { max-height: 380px; overflow: auto; padding: 6px; scrollbar-width: thin; scrollbar-color: #2a3b44 transparent; }
.palg { font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim2); padding: 10px 8px 6px; }
.palr { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; min-width: 0; }
.palr.on { background: var(--sel); box-shadow: inset 2px 0 0 var(--beige); }
.palt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palr b { font: 700 12.5px/1 var(--mono); } .palr b.yes { color: var(--yes); } .palr b.no { color: var(--no); }
.palk { font: 500 9.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--dim); width: 48px; flex: none; }
.pal0 { padding: 18px 12px; color: var(--dim); font-size: 13px; }
.palf { display: flex; gap: 14px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); font: 500 11px/1 var(--mono); color: var(--dim); }
.palf .muted { margin-left: auto; font-family: var(--ui); }
.palbox { position: relative; }
/* WRLD OS boot */
.bootseq { position: absolute; inset: 0; z-index: 99; display: grid; place-items: center; background: rgba(8, 14, 18, .94); backdrop-filter: blur(2px); transition: opacity .25s; }
.bootseq.out { opacity: 0; pointer-events: none; }
.bsq { width: 520px; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid var(--line2); border-radius: 12px; background: #0b1419; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.bsh { display: flex; align-items: center; gap: 10px; } .bsh b { font: 800 15px/1 var(--ui); letter-spacing: .1em; color: var(--beige); } .bsh span { font: 500 11px/1 var(--mono); color: var(--dim); }
.bsl { margin: 0; min-height: 168px; font: 500 12.5px/1.75 var(--mono); color: var(--fg2); white-space: pre-wrap; }
.bsl .b-d { color: var(--dim2); } .bsl .b-ok { color: var(--yes); } .bsl .b-bad { color: var(--no); } .bsl .b-sb { color: var(--warn); } .bsl .b-rdy { color: var(--beige); font-weight: 700; }
.bsk { font: 500 10.5px/1 var(--mono); color: var(--dim2); text-align: right; }
/* live toasts */
.lts { position: absolute; right: 14px; bottom: 40px; z-index: 85; display: flex; flex-direction: column; gap: 8px; width: 330px; pointer-events: none; }
.lto { pointer-events: auto; display: grid; grid-template-columns: 4px minmax(0, 1fr); column-gap: 10px; row-gap: 4px; padding: 10px 12px 10px 10px; border-radius: 10px; background: rgba(18, 30, 37, .97); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); animation: lto .3s var(--ease) both; font-size: 12px; transition: opacity .3s, transform .3s; }
.lto.out { opacity: 0; transform: translateX(16px); }
.lto > i { grid-row: 1 / 4; border-radius: 3px; background: var(--yes); } .lto.dn > i { background: var(--no); }
.lth { font: 500 11px/1.2 var(--mono); color: var(--fg2); } .lth b { font-weight: 700; } .lth b.yes { color: var(--yes); } .lth b.no { color: var(--no); }
.ltq { display: flex; gap: 6px; align-items: center; min-width: 0; font-weight: 600; } .ltq span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lto small { font: 500 10.5px/1 var(--mono); color: var(--dim); }
.lto:hover { border-color: var(--beige2); }
@keyframes lto { from { opacity: 0; transform: translateY(10px); } }

/* ---------- v2: volume control, spin the world, hover preview, motion ---------- */
.volc { position: relative; display: inline-flex; align-items: center; }
.volc .volb[aria-pressed="true"] { color: var(--beige); }
.volc.m .volb { color: var(--dim); }
.volp { position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(13, 23, 29, .97); border: 1px solid var(--line2); box-shadow: 0 14px 36px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .15s, transform .15s var(--ease); }
.volp::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.volc.up .volp { top: auto; bottom: calc(100% + 8px); transform: translateY(4px); }
.volc.up .volp::before { top: auto; bottom: -10px; }
.volc:hover .volp, .volc:focus-within .volp, .volc.open .volp { opacity: 1; pointer-events: auto; transform: none; }
.volp input[type="range"] { width: 120px; height: 18px; margin: 0; accent-color: var(--beige); cursor: pointer; }
.volv { font: 600 11px/1 var(--mono); color: var(--fg2); min-width: 26px; text-align: right; }
.introbar .volb { width: 40px; height: 40px; border-radius: 10px; background: rgba(13, 23, 29, .72); border-color: rgba(233, 223, 196, .2); backdrop-filter: blur(6px); }
.introbar .volb:hover { background: rgba(23, 39, 48, .9); }
.spinb { color: var(--beige2); }
.spinb:hover svg { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinx { position: absolute; inset: 0; z-index: 96; display: grid; place-items: center; background: rgba(5, 10, 13, .5); backdrop-filter: blur(2px); animation: win .18s var(--ease) both; transition: opacity .25s; }
.spinx.out { opacity: 0; }
.spb { width: 560px; max-width: calc(100% - 32px); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 24px; border-radius: 14px; background: var(--pane2); border: 1px solid var(--line2); box-shadow: 0 30px 90px rgba(0, 0, 0, .55); text-align: center; }
.spg svg { width: 34px; height: 34px; color: var(--beige); animation: spin 1s linear infinite; }
.spinx.land .spg svg { animation: none; color: var(--yes); }
.spl { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.spq { font-size: 17px; font-weight: 600; line-height: 1.35; min-height: 46px; display: grid; place-items: center; }
.spinx.land .spq { color: #fff; animation: pop .35s var(--ease); }
.spo { display: flex; align-items: center; gap: 10px; font: 700 14px/1 var(--mono); } .spo b.yes { color: var(--yes); } .spo b.no { color: var(--no); } .spo span { font-weight: 500; color: var(--dim); font-size: 12px; }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: none; } }
.hvtip { position: absolute; z-index: 30; width: 300px; padding: 10px 12px; border-radius: 10px; background: rgba(15, 25, 31, .98); border: 1px solid var(--line2); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); pointer-events: none; display: flex; flex-direction: column; gap: 7px; animation: win .16s var(--ease) both; }
.hvtip[hidden] { display: none; }
.hvh { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.3; } .hvh b { font-weight: 600; }
.hvn { display: flex; gap: 10px; align-items: center; font: 600 12px/1 var(--mono); } .hvn .yes { color: var(--yes); } .hvn .no { color: var(--no); } .hvn .muted { font-weight: 500; margin-left: auto; }
.hvc svg { display: block; }
.hvl { display: flex; justify-content: space-between; margin-top: 4px; font: 500 10.5px/1 var(--mono); color: var(--dim); } .hvl .yes { color: var(--yes); } .hvl .no { color: var(--no); }
.rows.anim a.row { animation: rowin .42s var(--ease) both; animation-delay: calc(var(--i, 24) * 16ms); }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } }
.cats button.pop { animation: pop .32s var(--ease); }
.pane { transition: border-color .2s, box-shadow .2s; }
.pane.focus { border-color: rgba(233, 223, 196, .26); box-shadow: 0 0 0 1px rgba(233, 223, 196, .06), 0 12px 32px rgba(0, 0, 0, .28); }
.pane.focus > .ph h2 { color: var(--beige); }
.pane.focus > .ph .wico { border-color: var(--beige); opacity: 1; }
.crd { margin-left: auto; white-space: nowrap; } .crd b { font: 700 12px/1 var(--mono); color: var(--fg); } .crd .yes { color: var(--yes); } .crd .no { color: var(--no); }
.chartbox .rng .muted.sm.crd { margin-left: auto; }
.cv { touch-action: pan-y; cursor: crosshair; }
.lrow[data-lp] { cursor: pointer; }
.lrow[data-lp]:hover, .lrow[data-lp]:focus-visible { background: rgba(233, 223, 196, .07); outline: 0; }
.calc.hit { animation: hit .5s var(--ease); }
@keyframes hit { 0% { box-shadow: 0 0 0 0 rgba(233, 223, 196, .35); } 100% { box-shadow: 0 0 0 8px rgba(233, 223, 196, 0); } }
.calb .mini { margin-left: 4px; }
.epin i { position: relative; }
.epin i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: pin 2.4s ease-out infinite; }
.epin i.yes { color: var(--yes); } .epin i.no { color: var(--no); }
.epin:nth-child(3n) i::after { animation-delay: .8s; } .epin:nth-child(3n+1) i::after { animation-delay: 1.6s; }
@keyframes pin { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.epin { transition: transform .15s; } .epin:hover, .epin:focus-visible { transform: translate(-50%, -50%) scale(1.5); z-index: 3; }
.epin::before { content: attr(data-q); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) scale(.67); transform-origin: 50% 100%; white-space: nowrap; padding: 5px 8px; border-radius: 6px; background: rgba(13, 23, 29, .96); border: 1px solid var(--line2); font: 600 11px/1 var(--ui); color: var(--fg); opacity: 0; pointer-events: none; transition: opacity .12s; }
.epin:hover::before, .epin:focus-visible::before { opacity: 1; }
.cl.in { animation: clin .22s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes clin { from { opacity: 0; transform: translateX(-4px); } }
.cl.typing::after { content: "▍"; color: var(--beige); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- narrower desks ---------- */
@media (max-width: 1360px) and (min-width: 861px) {
  .stt { display: none; }
}

/* ---------- phones: a simple stacked layout with a bottom tab bar ---------- */
html.mob body { overflow: auto; overflow-x: hidden; }
html.mob .pc { position: static; overflow: visible; }
html.mob .scr { position: static; width: auto; height: auto; transform: none; display: block; padding-bottom: calc(68px + env(safe-area-inset-bottom)); background: var(--bg); overflow: visible; }
html.mob .crt { display: none; }
html.mob .top { position: sticky; top: 0; z-index: 30; height: 54px; gap: 10px; padding: 0 12px; backdrop-filter: blur(8px); background: rgba(13, 23, 29, .92); }
html.mob .tabs, html.mob .gsearch, html.mob #replay, html.mob .sbar { display: none; }
html.mob .tr { margin-left: auto; }
html.mob .btn.wal { min-width: 0; padding: 0 12px; }
html.mob .strip { overflow-x: auto; scrollbar-width: none; height: 52px; padding: 0; }
html.mob .strip::-webkit-scrollbar { display: none; }
html.mob .st1, html.mob .stv { padding: 0 14px; }
html.mob .stt { display: none; }
html.mob .tape { height: 34px; }
html.mob .main { padding: 10px; }
html.mob .panes { height: auto; display: flex; flex-direction: column; gap: 10px; }
html.mob .pane { overflow: visible; }
html.mob .pane.prev, html.mob .pane.heat, html.mob .pane.calcp, html.mob .lays { display: none !important; }
html.mob .live.sm span { display: none; }
html.mob .spkc { display: none; }
html.mob .li.wsp { grid-template-columns: 22px minmax(0, 1fr) auto; }
html.mob .pal { position: fixed; padding-top: 70px; }
html.mob .pall { max-height: 55vh; }
html.mob .palf .muted { display: none; }
html.mob .pali input { font-size: 16px; }
html.mob .bootseq { position: fixed; }
html.mob .lts { position: fixed; left: 10px; right: 10px; width: auto; bottom: calc(74px + env(safe-area-inset-bottom)); }
html.mob .ev .evw { grid-template-columns: minmax(0, 1fr); }
html.mob .calo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.mob .ctag { margin-left: 0; }
html.mob .amt input { font-size: 16px; }
html.mob .pz { display: none; }
html.mob .board .ph .spinb { display: grid; margin-left: 0; }
html.mob .hvtip { display: none !important; }
html.mob .volp input[type="range"] { width: 140px; }
html.mob .spinx { position: fixed; z-index: 120; }
html.mob .board .ph { flex-wrap: wrap; height: auto; padding: 10px 12px; row-gap: 8px; }
html.mob .board .seg { margin-left: 0; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
html.mob .board .seg::-webkit-scrollbar { display: none; }
html.mob .board .seg button { flex: 1 0 auto; }
html.mob .sortsel { margin-left: auto; }
html.mob .cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html.mob .cats::-webkit-scrollbar { display: none; }
.more { display: block; width: calc(100% - 20px); margin: 10px; height: 40px; border-radius: 8px; border: 1px solid var(--line2); color: var(--fg); font-weight: 500; }
.more:hover { background: var(--hover); }
html.mob .bsearch { display: flex; align-items: center; gap: 8px; height: 38px; margin: 8px 10px 4px; padding: 0 10px; border-radius: 8px; background: var(--inset); border: 1px solid var(--line); color: var(--dim); }
html.mob .bsearch input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 16px; color: var(--fg); }
html.mob .bhead { display: none; }
html.mob .rows { overflow: visible; max-height: none; }
html.mob a.row { grid-template-columns: 26px minmax(0, 1fr) 64px; grid-template-areas: "ic q odds" "ic q ch"; row-gap: 6px; padding: 10px 12px; align-items: start; }
html.mob a.row .ic { grid-area: ic; align-self: start; }
html.mob a.row .q { grid-area: q; }
html.mob a.row .odds { grid-area: odds; align-self: start; }
html.mob a.row .odds b { text-align: right; }
html.mob a.row .ch { grid-area: ch; justify-self: end; align-self: start; }
html.mob a.row .vol, html.mob a.row .end, html.mob a.row .tag { display: none; }
html.mob a.row .q b { font-size: 14px; }
html.mob .pane.movers .pb, html.mob .pane.ending .pb { overflow: visible; }
html.mob .wins { position: static; inset: auto; pointer-events: auto; }
html.mob .win { position: static; border-radius: 12px; animation: none; box-shadow: none; overflow: visible; }
html.mob .win.sm { width: auto; transform: none; }
html.mob .wh { position: sticky; top: 54px; z-index: 5; border-radius: 12px 12px 0 0; }
html.mob .wp { display: none; }
html.mob .wb { overflow: visible; padding: 16px 14px 22px; }
html.mob.haswin .panes { display: none; }
html.mob .evw, html.mob .lw, html.mob .earth, html.mob .docs, html.mob .cwtop { grid-template-columns: minmax(0, 1fr); }
html.mob .ev .cv { height: 220px; }
html.mob .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.mob .kv > div:last-child { grid-column: 1 / -1; }
html.mob .mvh h1 { font-size: 19px; }
html.mob .cr { grid-template-columns: 24px minmax(0, 1fr) 40px 40px 36px; }
html.mob .cr .tag { display: none; }
html.mob .cgrid { grid-template-columns: minmax(0, 1fr); }
html.mob .cwin .slip dl, html.mob .slip dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
html.mob .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
html.mob .toc a { padding: 5px 9px; background: var(--pane2); font-size: 12px; }
html.mob .g2, html.mob .g3b { grid-template-columns: minmax(0, 1fr); }
html.mob .g3 { grid-template-columns: 110px minmax(0, 1fr); }
html.mob .drop { width: 110px; height: 110px; }
html.mob .lsteps { grid-template-columns: 1fr 1fr; }
html.mob .lprev { position: static; }
html.mob .buy { grid-template-columns: minmax(0, 1fr) 120px; }
html.mob .fl input, html.mob .fl textarea, html.mob .psearch input, html.mob .buyn input, html.mob .tk1 input { font-size: 16px; }
html.mob .con { position: fixed; left: 8px; right: 8px; bottom: calc(70px + env(safe-area-inset-bottom)); height: 50vh; }
html.mob .modal, html.mob .toast { position: fixed; }
html.mob .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
html.mob .mtabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(13, 23, 29, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.mtabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--dim); font-size: 11px; font-weight: 500; }
.mtabs svg { width: 20px; height: 20px; }
.mtabs a.on { color: var(--beige); }
html.mob .earth .emap { aspect-ratio: 2 / 1; }
html.mob .elist { overflow: visible; }
html.mob .ldone .acts .btn { flex: 1 1 auto; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tk { animation: none !important; }
  .live.on i { animation: none !important; }
  .fl-up, .fl-dn { animation: none !important; }
  .epin i::after, .spg svg, .spinb:hover svg, .cl.typing::after { animation: none !important; }
  .fl-up { box-shadow: inset 0 0 0 1px rgba(62, 236, 158, .5); } .fl-dn { box-shadow: inset 0 0 0 1px rgba(255, 95, 100, .5); }
  .tape { overflow-x: auto; scrollbar-width: none; }
  .tape .dup { display: none; }
}

/* ---- launch window, clean layout (v3): coin → bet → launch, optional fields folded away ---- */
.lw2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; max-width: 1080px; margin: 0 auto; }
.lw2 .lf { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lw2 .llead { display: block; margin: 0 0 4px; color: var(--fg2); font: 400 14px/1.55 var(--ui); letter-spacing: 0; text-transform: none; padding: 0; max-width: 600px; }
.lw2 .lsec { display: flex; flex-direction: column; gap: 10px; }
.lw2 .lst { display: flex; align-items: center; gap: 9px; font: 600 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); }
.lw2 .lst i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--beige); color: #10191e; font: 700 11px/1 var(--mono); letter-spacing: 0; }
.lw2 .lcoin { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.lw2 .lpic .drop { width: 104px; height: 104px; border-radius: 14px; }
.lw2 .lpic .drop img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.lw2 .lnames { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: center; }
.lw2 .lfind { display: flex; flex-direction: column; gap: 8px; }
.lw2 .lfind[hidden] { display: none; }
.lw2 .plist { max-height: 264px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--inset); }
.lw2 .pick:empty { display: none; }
.lw2 .picked { border-color: var(--line2); background: var(--pane2); border-radius: 12px; }
.lw2 .sides2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lw2 .sides2:empty { display: none; }
.lw2 .sides2 .sb { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: end; gap: 2px 10px; height: auto; min-height: 76px; padding: 12px 14px; border-radius: 12px; text-align: left; }
.lw2 .sides2 .sb span { grid-column: 1 / -1; font: 600 12px/1.2 var(--ui); letter-spacing: .04em; }
.lw2 .sides2 .sb b { font: 700 26px/1 var(--mono); }
.lw2 .sides2 .sb small { justify-self: end; font: 500 11px/1 var(--mono); color: var(--dim); }
.lw2 .lmore { border: 1px solid var(--line); border-radius: 10px; background: var(--pane); }
.lw2 .lmore > summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 600; color: var(--fg2); display: flex; gap: 8px; align-items: baseline; }
.lw2 .lmore > summary::-webkit-details-marker { display: none; }
.lw2 .lmore > summary::before { content: '+'; font: 600 13px/1 var(--mono); color: var(--beige); width: 12px; }
.lw2 .lmore[open] > summary::before { content: '−'; }
.lw2 .lmore > :not(summary) { margin: 0 14px 12px; }
.lw2 .lfoot { margin-top: -6px; }
.lw2 .lprev { position: sticky; top: 0; }
@media (max-width: 860px) {
  .lw2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lw2 .lprev { position: static; order: 2; }
  .lw2 .lcoin { grid-template-columns: 88px minmax(0, 1fr); }
  .lw2 .lpic .drop { width: 88px; height: 88px; }
}
/* the venue line is gone from the status bar: the live dot takes the right side */
.sb .live, footer .live { margin-left: auto; }
/* the coin's contract address, next to the wallet button: click to copy */
.cab { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(233, 223, 196, .35); background: rgba(233, 223, 196, .07); color: var(--beige); font: 600 12.5px/1 var(--mono); white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.cab:hover { background: rgba(233, 223, 196, .14); border-color: rgba(233, 223, 196, .6); }
.cab .cal { font: 700 10.5px/1 var(--ui); letter-spacing: .08em; padding: 3px 5px; border-radius: 4px; background: var(--beige); color: #10191e; }
.cab .cai { opacity: .75; flex: none; }
.cab.ok { border-color: var(--yes); color: var(--yes); }
.cab.ok .cal { background: var(--yes); }
html.mob .cab { padding: 0 9px; gap: 6px; }
html.mob .cab .cav { display: none; }
@media (max-width: 860px) { .cab .cav { display: none; } .cab { padding: 0 9px; gap: 6px; } }

