/* TERRARIUM: one token sheet, then the bar, the rails, the coin card, the sheets. Panels over the live canvas are opaque
   gradients (no backdrop blur: it halves the frame rate over WebGL). */
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/InstrumentSerif-Italic.woff2) format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/InstrumentSerif.woff2) format('woff2'); font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  /* the theme of the logo he set (owner 2026-10-16, Pair K: a near-black mark on solid mint #63f1cb) */
  --bg0: #050608; --bg1: #090b0e; --bg2: #0e1115; --bg3: #13171c; --bg4: #1a1f26;
  --panel: rgba(8, 9, 12, 0.94); --panel2: rgba(11, 13, 17, 0.96);
  --ink: #eef2f1; --ink2: #a8b3b0; --ink3: #6c7774; --ink4: #48514f;
  --line: rgba(214, 240, 232, 0.08); --line2: rgba(214, 240, 232, 0.15); --line3: rgba(214, 240, 232, 0.26);
  --mint: #63f1cb; --mint2: #3cd3ab; --mint-d: rgba(99, 241, 203, 0.12);
  --gold: #ffd27a; --coral: #ff7c66; --violet: #b9a2ff; --sky: #8fd8ff;
  --up: #63f1cb; --down: #ff7c66;
  --f-d: 'Geist', ui-sans-serif, system-ui, sans-serif; --f-t: 'Geist', ui-sans-serif, system-ui, sans-serif; --f-m: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  --r: 3px; --ease: cubic-bezier(.2, .7, .2, 1);
  --bar: 56px; --railL: 318px; --railR: 372px; --gap: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg0); color: var(--ink); font: 400 14px/1.45 var(--f-t); -webkit-font-smoothing: antialiased; overflow: hidden; }
body { font-feature-settings: 'ss01', 'cv11'; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--mint); color: var(--bg0); }
:focus-visible { outline: 1px solid var(--mint); outline-offset: 2px; }
.is-hidden { display: none !important; }
.mono { font-family: var(--f-m); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.h-serif { font-family: var(--f-d); font-style: normal; font-weight: 700; letter-spacing: -0.025em; }
.eyebrow { margin: 0; font: 500 10.5px/1 var(--f-m); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); display: flex; align-items: center; gap: 8px; }
.lab { font: 500 10.5px/1.2 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); }
.sub { color: var(--ink2); font-size: 13px; margin: 0; }
.hint { font: 400 12px/1.3 var(--f-t); letter-spacing: 0; text-transform: none; color: var(--ink3); }
.empty { color: var(--ink3); font-size: 13px; margin: 6px 0 0; }
.err { color: var(--coral); font-size: 13px; margin: 0; min-height: 18px; }

#world { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; outline: none; touch-action: none; }
#track { position: fixed; inset: 0; pointer-events: none; z-index: 2; }

/* the bar */
.bar { position: fixed; z-index: 10; top: 0; left: 0; right: 0; height: var(--bar); display: flex; align-items: center; gap: 22px; padding: 0 18px;
  background: linear-gradient(180deg, rgba(3, 10, 7, 0.96), rgba(3, 10, 7, 0.82)); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 21px/1 var(--f-d); letter-spacing: -0.03em; white-space: nowrap; }
.brand em { font-style: normal; color: var(--mint); }
.brand img { border-radius: 7px; box-shadow: 0 0 0 1px var(--line2), 0 4px 16px rgba(125, 255, 178, 0.12); }
.brand i { color: var(--mint); }
.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav a { position: relative; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 11px; border-radius: var(--r); color: var(--ink2); font-size: 13.5px; white-space: nowrap; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: rgba(180, 255, 214, 0.05); }
.nav a.is-on { color: var(--ink); }
.nav a.is-on::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: -12px; height: 1px; background: var(--mint); }
.pill-n { font: 500 10.5px/1 var(--f-m); color: var(--bg0); background: var(--mint); border-radius: 99px; padding: 2px 6px; }
.pill-n:empty { display: none; }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.round { display: flex; align-items: baseline; gap: 8px; height: 34px; padding: 0 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg1); }
.round b { font-size: 13.5px; font-weight: 500; min-width: 44px; }
.round b + .lab { margin-left: 4px; }
#r-prize { min-width: 96px; color: var(--mint); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r); background: var(--mint); color: #03130a; font-weight: 600; font-size: 13.5px; letter-spacing: -0.005em; transition: transform .15s var(--ease), box-shadow .15s, background .15s; box-shadow: 0 0 0 1px rgba(125, 255, 178, 0.4), 0 6px 22px rgba(125, 255, 178, 0.18); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #9dffc6; }
.btn:disabled { opacity: .5; transform: none; cursor: default; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line2); color: var(--ink); font-size: 13.5px; background: rgba(180, 255, 214, 0.02); white-space: nowrap; transition: border-color .15s, background .15s; }
.btn-ghost:hover { border-color: var(--line3); background: rgba(180, 255, 214, 0.06); }
.btn-ghost:disabled { opacity: .5; cursor: default; }
.w { width: 100%; }
#b-me { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }

/* the CA slot (launch kit) */
.ca-pill { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 4px 0 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg1); max-width: 380px; }
.ca-pill.is-live { border-color: rgba(125, 255, 178, 0.45); }
.ca-lab { font: 500 11px/1 var(--f-m); letter-spacing: 0.06em; color: var(--mint); white-space: nowrap; }
.ca-addr { display: flex; align-items: center; gap: 8px; min-width: 0; height: 26px; padding: 0 4px; font: 500 12px/1 var(--f-m); color: var(--ink); cursor: copy; }
.ca-addr:disabled { cursor: default; color: var(--ink3); padding-right: 8px; }
.ca-addr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy { flex: none; font: 600 11px/1 var(--f-t); font-style: normal; padding: 6px 9px; border-radius: 2px; background: var(--mint); color: #03130a; }
.ca-link { flex: none; font: 500 11px/1 var(--f-t); padding: 7px 9px; border-radius: 2px; background: var(--bg3); color: var(--ink2); white-space: nowrap; }
.ca-link:hover { color: var(--ink); }

/* rails */
.rail { position: fixed; z-index: 5; top: calc(var(--bar) + var(--gap)); bottom: var(--gap); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.rail > * { pointer-events: auto; }
.rail-l { left: var(--gap); width: var(--railL); }
.rail-r { right: var(--gap); width: var(--railR); }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(180, 255, 214, 0.04); }
.card::before, .card::after { content: ''; position: absolute; width: 7px; height: 7px; border: 1px solid var(--line3); pointer-events: none; }
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.more { font-size: 12.5px; color: var(--ink2); }
.more:hover { color: var(--mint); }
.spec h1 { margin: 10px 0 8px; font-size: 34px; line-height: 1.02; }
.lede { margin: 0 0 14px; color: var(--ink2); font-size: 13.5px; max-width: 52ch; }
.cta-row { display: flex; gap: 8px; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px 10px; }
.stats > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.stats b { font-size: 17px; font-weight: 500; white-space: nowrap; }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.legend li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink2); min-width: 0; }
.legend li .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.legend li b { margin-left: auto; font: 500 11.5px/1 var(--f-m); color: var(--ink3); }
.legend li span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-card { flex: 1 1 auto; min-height: 120px; display: flex; flex-direction: column; overflow: hidden; }
.feed { list-style: none; margin: 10px 0 0; padding: 0; overflow: hidden; flex: 1; mask-image: linear-gradient(180deg, #000 70%, transparent); }
.feed li { display: grid; grid-template-columns: 54px 1fr; gap: 8px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); animation: rise .5s var(--ease) both; }
.feed li:first-child { border-top: 0; }
.feed li .t { font: 400 11px/1 var(--f-m); color: var(--ink4); }
.feed li b { color: var(--ink); font-weight: 500; }
.feed li .k-bond { color: var(--gold); } .feed li .k-rug { color: var(--coral); } .feed li .k-call { color: var(--gold); } .feed li .k-farm { color: var(--violet); } .feed li .k-me { color: var(--mint); }
.feed li a { cursor: pointer; }
.feed li a:hover b { color: var(--mint); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* board (right rail) */
.board-card { max-height: 100%; display: flex; flex-direction: column; }
.lb { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.lb li { display: grid; grid-template-columns: 22px 1fr 86px 66px; align-items: center; gap: 8px; height: 38px; border-top: 1px solid var(--line); cursor: pointer; }
.lb li:first-child { border-top: 0; }
.lb li:hover .bn { color: var(--mint); }
.lb .pl { font: 500 12px/1 var(--f-m); color: var(--ink3); text-align: right; }
.lb .who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lb .bn { font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.lb .ow { font-size: 11.5px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb .eq { font: 500 13px/1 var(--f-m); text-align: right; }
.lb .pn { font: 500 12.5px/1 var(--f-m); text-align: right; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--ink3); }
.bdot { flex: none; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.last-round { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); }
.last-round:empty { display: none; }
.last-round b { color: var(--ink); font-weight: 500; }

/* THE FLOOR */
body.live #world, body.live #track, body.live .rail-l, body.live .rail-r:not(.open), body.live .caption { display: none !important; }
body.live .rail-r.open { z-index: 20; top: calc(var(--bar) + 112px); right: 364px; bottom: 14px; }
body.live .rail-r.open > :not(#p-coin) { display: none; }
.floor { position: fixed; z-index: 3; top: var(--bar); left: 0; right: 0; bottom: 0; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  background: radial-gradient(1200px 500px at 20% -10%, rgba(125, 255, 178, 0.06), transparent 60%), radial-gradient(900px 600px at 100% 120%, rgba(185, 162, 255, 0.05), transparent 60%), var(--bg0); }
.floor-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.floor-t h1 { margin: 8px 0 6px; font-size: 38px; line-height: 1.02; }
.floor-t .lede { margin: 0; max-width: 110ch; }
.floor-k { display: grid; grid-template-columns: repeat(5, auto); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.floor-k > div { background: var(--bg1); padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 112px; }
.floor-k b { font: 500 19px/1 var(--f-m); }
.floor-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 10px; }
.scr { position: relative; display: flex; flex-direction: column; min-height: 0; background: linear-gradient(180deg, var(--bg2), var(--bg1)); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(180, 255, 214, 0.04); transition: border-color .2s, transform .2s var(--ease); }
.scr::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: hsl(var(--h) 90% 62%); opacity: .7; }
.scr:hover { border-color: hsla(var(--h), 90%, 66%, .5); transform: translateY(-1px); }
.scr.hit.buy { animation: hitb .9s var(--ease); } .scr.hit.sell { animation: hits .9s var(--ease); }
@keyframes hitb { 0% { box-shadow: 0 0 0 1px hsla(var(--h), 90%, 66%, .9), 0 0 30px hsla(var(--h), 90%, 60%, .35); } 100% { box-shadow: none; } }
@keyframes hits { 0% { box-shadow: 0 0 0 1px rgba(255, 124, 102, .8), 0 0 26px rgba(255, 124, 102, .3); } 100% { box-shadow: none; } }
.scr.cand::after { content: 'candidate'; position: absolute; right: 10px; top: 42px; font: 500 9.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: #03130a; background: var(--mint); padding: 4px 6px; border-radius: 2px; }
.scr header { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 12px 6px 14px; }
.scr .gw { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: hsla(var(--h), 90%, 60%, .1); box-shadow: inset 0 0 0 1px hsla(var(--h), 90%, 66%, .25); }
.scr .nm { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.scr .nm b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr .vl { font: 400 10.5px/1.2 var(--f-m); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr .rk { font-size: 12px; color: var(--ink3); }
.scr .cvw { position: relative; flex: 1; min-height: 0; margin: 0 8px 0 14px; }
.scr canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scr .cap { position: absolute; left: 4px; top: 2px; font-size: 11px; color: var(--ink2); pointer-events: none; text-shadow: 0 1px 2px #000; }
.scr .cap b { color: var(--ink); font-weight: 600; }
.scr .cap .vd { color: var(--ink4); margin-left: 6px; }
.scr .wait { position: absolute; inset: 0; display: grid; place-items: center; font: 400 11.5px/1 var(--f-m); color: var(--ink4); letter-spacing: .04em; }
.scr footer { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.scr footer > div { background: rgba(3, 10, 7, 0.75); padding: 7px 12px 8px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.scr footer .lab { font-size: 9.5px; }
.scr footer b { font-size: 14px; font-weight: 500; }
.scr footer i { font: 400 10.5px/1 var(--f-m); font-style: normal; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl { display: block; }
.vt td .lbl { font: 400 12px/1.3 var(--f-m); color: var(--ink2); white-space: normal; }
.vt tr.cand td:first-child { box-shadow: inset 2px 0 0 var(--mint); }
.badge-c { font: 500 9.5px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: #03130a; background: var(--mint); padding: 3px 5px; border-radius: 2px; margin-left: 6px; }
.tbl td.sep, .tbl th.sep { border-left: 1px solid var(--line2); }
@media (max-width: 1500px) { .floor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .floor-t h1 { font-size: 32px; } }
@media (max-width: 1100px) { .floor { overflow: auto; } .floor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; } .floor-h { grid-template-columns: 1fr; } .floor-k { grid-template-columns: repeat(3, auto); } }
@media (max-width: 860px) { .floor { top: calc(var(--bar) + 40px); padding: 10px; } .floor-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; } .floor-t h1 { font-size: 26px; } .floor-k { grid-template-columns: repeat(2, 1fr); } }
/* the lab: strategies in the rail */
.lab-card { flex: none; }
.labr { list-style: none; margin: 0; padding: 0; }
.labr li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 54px 74px; gap: 8px; align-items: center; height: 30px; border-top: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.labr li:first-child { border-top: 0; }
.labr li:hover .ln { color: var(--mint); }
.labr .rk { font: 500 11.5px/1 var(--f-m); color: var(--ink3); text-align: right; }
.labr .ln { min-width: 0; display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.labr .tr { font: 400 11.5px/1 var(--f-m); color: var(--ink3); text-align: right; }
.labr .pn { font: 500 12.5px/1 var(--f-m); text-align: right; }
.lab-chart { width: 100%; height: 230px; display: block; border: 1px solid var(--line); border-radius: 2px; background: rgba(2, 8, 5, 0.5); margin: 10px 0 4px; }
.lab-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 12px; font-size: 12px; color: var(--ink2); }
.lab-legend span { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.lab-legend span.off { opacity: .35; }
.tbl td .what { display: block; font-size: 11.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
.tbl tr.ctrl td { color: var(--ink3); }
.lab-method { font-size: 12.5px; color: var(--ink3); max-width: 100ch; margin: 14px 0 0; line-height: 1.55; }
.lab-method a { color: var(--ink2); text-decoration: underline; text-decoration-color: var(--line3); }
.lnk { color: var(--ink2); font-size: 12px; } .lnk:hover { color: var(--mint); }
.coin-links { display: flex; gap: 8px; }
.coin-links a { font: 500 11px/1 var(--f-t); padding: 6px 9px; border: 1px solid var(--line2); border-radius: 2px; color: var(--ink2); }
.coin-links a:hover { color: var(--ink); border-color: var(--line3); }
.lab-in { font-size: 12px; color: var(--ink2); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.lab-in:empty { display: none; }
.lab-in b { font-weight: 500; }
/* hot coins */
.hot-card { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.hot { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.hot li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 72px 64px; gap: 10px; align-items: center; height: 40px; border-top: 1px solid var(--line); cursor: pointer; }
.hot li:first-child { border-top: 0; }
.hot li:hover .hs { color: var(--mint); }
.hot .glyph { width: 26px; height: 26px; font-size: 11px; }
.hot .hn { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hot .hs { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot .ha { font: 400 11px/1 var(--f-m); color: var(--ink3); white-space: nowrap; }
.hot .hm { font: 500 12.5px/1 var(--f-m); text-align: right; }
.hot .hb { height: 4px; background: var(--bg3); border-radius: 2px; overflow: hidden; }
.hot .hb i { display: block; height: 100%; background: var(--mint); border-radius: 2px; }
.hot li.pool .hb i { background: var(--gold); } .hot li.rug .hb i { background: var(--coral); }
/* coin card */
.coin-card { max-height: 100%; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.coin-h { display: flex; justify-content: space-between; align-items: flex-start; }
.coin-id { display: flex; gap: 11px; align-items: center; min-width: 0; }
.coin-id > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.glyph { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--f-m); color: #03130a; }
.sym { font: 500 17px/1 var(--f-t); letter-spacing: -0.01em; }
.cname { font-size: 12.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.x { width: 30px; height: 30px; border-radius: var(--r); color: var(--ink3); font-size: 20px; line-height: 1; border: 1px solid transparent; }
.x:hover { color: var(--ink); border-color: var(--line2); }
.coin-mc { display: flex; align-items: baseline; gap: 10px; }
.big { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.chg { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.badge { white-space: nowrap; flex: none; margin-left: auto; font: 500 10.5px/1 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px; border-radius: 2px; border: 1px solid var(--line2); color: var(--ink2); }
.badge.b-pool { color: var(--gold); border-color: rgba(255, 210, 122, 0.4); }
.badge.b-rug { color: var(--coral); border-color: rgba(255, 124, 102, 0.4); }
.badge.b-dead { color: var(--ink3); }
.chart { width: 100%; height: 170px; display: block; border: 1px solid var(--line); border-radius: 2px; background: rgba(2, 8, 5, 0.6); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.chips > div { background: var(--panel2); padding: 8px 9px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chips b { font: 500 13px/1 var(--f-m); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips .lab { font-size: 9.5px; }
.types-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--bg3); }
.types-bar > i { display: block; height: 100%; }
.tape { list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1; min-height: 60px; mask-image: linear-gradient(180deg, #000 75%, transparent); }
.tape li { display: grid; grid-template-columns: 10px 76px 1fr 76px; gap: 8px; align-items: center; height: 24px; font: 400 12px/1 var(--f-m); color: var(--ink2); border-top: 1px solid var(--line); }
.tape li .side.b { color: var(--up); } .tape li .side.s { color: var(--down); }
.tape li .tt { color: var(--ink3); font-family: var(--f-t); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tape li .mc { text-align: right; color: var(--ink3); }
.tape li.me { color: var(--ink); background: var(--mint-d); }

.caption { position: fixed; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 16px; font-size: 11.5px; color: var(--ink3); letter-spacing: 0.04em; white-space: nowrap; pointer-events: none; }

/* tracking boxes over the 3D scene (the player's bots, the coin you picked) */
.trk { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.trk .bx { position: absolute; border: 1px solid rgba(230, 255, 240, 0.85); width: 22px; height: 22px; transform: translate(-50%, -50%); }
.trk .bx::before, .trk .bx::after { content: ''; position: absolute; width: 4px; height: 4px; background: var(--mint); }
.trk .bx::before { left: -2px; top: -2px; } .trk .bx::after { right: -2px; bottom: -2px; }
.trk .ln { position: absolute; left: 11px; top: -11px; width: 26px; height: 1px; background: rgba(230, 255, 240, 0.6); transform-origin: 0 0; transform: rotate(-30deg); }
.trk .tx { position: absolute; left: 34px; top: -30px; font: 500 10.5px/1.25 var(--f-m); color: var(--ink); white-space: nowrap; background: rgba(3, 10, 7, 0.82); padding: 3px 6px; border-left: 1px solid var(--mint); }
.trk .tx em { font-style: normal; color: var(--ink3); }
.trk.coin .bx { width: 40px; height: 40px; border-color: rgba(255, 255, 255, 0.9); }
.trk.coin .ln { left: 20px; top: -20px; }
.trk.coin .tx { left: 42px; top: -40px; }
.tip { position: fixed; z-index: 30; pointer-events: none; background: var(--panel2); border: 1px solid var(--line2); padding: 8px 10px; font-size: 12.5px; border-radius: var(--r); min-width: 150px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.tip b { font-weight: 500; }
.tip .mono { color: var(--ink2); font-size: 12px; }

/* sheets */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(2, 6, 4, 0.62); animation: fade .25s var(--ease) both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 21; left: 50%; top: calc(var(--bar) + 26px); transform: translateX(-50%); width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - var(--bar) - 52px); display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--bg2), var(--bg1)); border: 1px solid var(--line2); border-radius: 4px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(180, 255, 214, 0.05); animation: sheet .35s var(--ease) both; }
@keyframes sheet { from { opacity: 0; transform: translate(-50%, 10px); } }
.sheet-wide { width: min(1180px, calc(100vw - 32px)); }
.sheet-narrow { width: min(560px, calc(100vw - 32px)); }
.sheet-h { display: flex; align-items: flex-end; gap: 20px; padding: 20px 24px 16px; border-bottom: 1px solid var(--line); }
.sheet-h h2 { margin: 8px 0 0; font-size: 36px; line-height: 1; }
.sheet-h .x { margin-left: auto; align-self: flex-start; }
.sheet-b { padding: 18px 24px 24px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--bg4) transparent; }
.tabs { display: flex; gap: 2px; margin-left: 12px; }
.tabs button { height: 32px; padding: 0 12px; border-radius: var(--r); color: var(--ink2); font-size: 13px; border: 1px solid transparent; }
.tabs button:hover { color: var(--ink); }
.tabs button.is-on { color: var(--ink); border-color: var(--line2); background: rgba(180, 255, 214, 0.04); }
.tbl { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; table-layout: fixed; }
.tbl th { white-space: nowrap; text-align: left; font: 500 10.5px/1 var(--f-m); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink3); padding: 0 8px 10px; border-bottom: 1px solid var(--line2); }
.tbl td { padding: 0 8px; height: 38px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl td.n, .tbl th.n { text-align: right; font-family: var(--f-m); font-variant-numeric: tabular-nums; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: rgba(180, 255, 214, 0.03); }
.tbl tr.mine td:first-child { box-shadow: inset 2px 0 0 var(--mint); }
.tbl .nm { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.tbl .ow { color: var(--ink3); }
.h3 { margin: 22px 0 10px; font: 600 12px/1 var(--f-t); letter-spacing: 0.02em; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.h3:first-child { margin-top: 0; }

/* builder */
.build { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 26px; }
.tpl { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tpl button { height: 30px; padding: 0 11px; border: 1px solid var(--line2); border-radius: 99px; font-size: 12.5px; color: var(--ink2); }
.tpl button:hover { color: var(--ink); border-color: var(--line3); }
.tpl button.is-on { color: #03130a; background: var(--mint); border-color: var(--mint); }
.field-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.field-row .lab { width: 130px; flex: none; }
input:not([type=checkbox]) { height: 34px; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--bg0); outline: none; min-width: 0; transition: border-color .15s; }
input:not([type=checkbox]):focus { border-color: var(--mint); }
input::placeholder { color: var(--ink4); }
#bl-name, #me-n, #me-addr { flex: 1; }
.num { width: 92px; font-family: var(--f-m); font-variant-numeric: tabular-nums; text-align: right; }
.num.sm { width: 64px; }
.seg { display: flex; align-items: center; gap: 2px; margin: 8px 0; flex-wrap: wrap; }
.seg .lab { margin-right: 8px; }
.seg button { height: 30px; padding: 0 11px; border-radius: var(--r); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); }
.seg button.is-on { border-color: var(--mint); color: var(--ink); background: var(--mint-d); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; border-top: 1px solid var(--line); }
.rule { display: grid; grid-template-columns: minmax(0, 1fr) 70px 10px 70px; align-items: center; gap: 6px; height: 42px; border-bottom: 1px solid var(--line); }
.rule .rl { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rule .rl span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rule .rl em { font: 400 10.5px/1 var(--f-m); font-style: normal; color: var(--ink4); }
.rule input { width: 70px; height: 30px; font-size: 12.5px; padding: 0 7px; }
.rule .dash { color: var(--ink4); text-align: center; }
.rule.set .rl span { color: var(--mint); }
.size-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.size-row .seg { margin: 0; }
.exits { border-top: 1px solid var(--line); }
.ex-row { display: flex; align-items: center; gap: 8px; min-height: 46px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ex-row > .lab { width: 120px; flex: none; }
.unit { font-size: 12.5px; color: var(--ink3); }
.tp { display: flex; gap: 10px; flex-wrap: wrap; }
.tp .step { display: flex; align-items: center; gap: 5px; }
.tp .step input { width: 58px; height: 30px; font-size: 12.5px; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); margin-right: 18px; cursor: pointer; }
.chk input { accent-color: var(--mint); width: 15px; height: 15px; }
.build-r { display: flex; flex-direction: column; gap: 12px; }
.inset { box-shadow: none; background: rgba(3, 10, 7, 0.55); }
.match { margin: 10px 0 8px; font-size: 13px; color: var(--ink2); }
.match b { font-size: 24px; color: var(--ink); font-weight: 500; margin-right: 6px; }
.match-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 5px; max-height: 64px; overflow: hidden; }
.match-list li { font: 500 11.5px/1 var(--f-m); padding: 5px 7px; border: 1px solid var(--line2); border-radius: 2px; color: var(--ink2); cursor: pointer; }
.match-list li:hover { color: var(--mint); border-color: var(--mint); }
.test { min-height: 150px; margin: 10px 0; }
.test canvas { width: 100%; height: 110px; display: block; }
.test .kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.test .kv > div { background: var(--bg1); padding: 7px 8px; display: flex; flex-direction: column; gap: 4px; }
.test .kv b { font: 500 13.5px/1 var(--f-m); }
.test .run { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 13px; height: 150px; justify-content: center; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--mint); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rule-line { font-size: 11.5px; color: var(--ink3); margin: 0; line-height: 1.5; word-break: break-word; }

/* my bots, a bot */
.mb-list { display: flex; flex-direction: column; gap: 8px; }
.mb { display: grid; grid-template-columns: 14px minmax(0, 1fr) 96px 96px 180px; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(3, 10, 7, 0.4); }
.mb .nm { font-weight: 600; font-size: 14.5px; cursor: pointer; } .mb .nm:hover { color: var(--mint); }
.mb .rl { font: 400 11px/1.4 var(--f-m); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb .v { display: flex; flex-direction: column; gap: 4px; text-align: right; } .mb .v b { font: 500 14px/1 var(--f-m); }
.mb .act { display: flex; gap: 6px; justify-content: flex-end; }
.mb .act button { height: 30px; padding: 0 10px; font-size: 12.5px; }
.mb.off { opacity: .62; }
.mb-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 14px 0 6px; }
.kpis > div { background: var(--bg1); padding: 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.kpis b { font: 500 19px/1 var(--f-m); }
.bt-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.bars { width: 100%; height: 150px; display: block; }
.mini { list-style: none; padding: 0; margin: 0; }
.mini li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; height: 32px; align-items: center; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.mini li .mono { font-size: 12px; }

/* prizes + real */
.prz { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.prz p { color: var(--ink2); max-width: 64ch; }
.prz .lead { font: 700 24px/1.25 var(--f-d); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 14px; }
.nums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 14px 0; }
.nums > div { background: var(--bg1); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.nums b { font: 500 18px/1 var(--f-m); }
.split { display: flex; gap: 3px; align-items: flex-end; height: 70px; margin: 10px 0 4px; }
.split i { flex: 1; background: linear-gradient(180deg, var(--mint), rgba(125, 255, 178, 0.25)); border-radius: 2px 2px 0 0; position: relative; }
.split i span { position: absolute; top: -16px; left: 0; right: 0; text-align: center; font: 400 10px/1 var(--f-m); color: var(--ink3); }
.cmp td .bar2 { display: grid; grid-template-columns: 1fr; gap: 3px; }
.cmp .real { color: var(--ink2); }
.cmp .sim { color: var(--mint); }
.qbar { position: relative; height: 4px; background: var(--bg3); border-radius: 2px; }
.qbar i { position: absolute; top: 0; height: 100%; border-radius: 2px; }
.note { font-size: 12.5px; color: var(--ink3); margin-top: 14px; max-width: 90ch; }
.me .acct { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.me .acct .field-row input { flex: 1; }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 46px; transform: translateX(-50%); padding: 10px 16px; background: var(--panel2); border: 1px solid var(--line2); border-left: 2px solid var(--mint); border-radius: var(--r); font-size: 13px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); animation: rise .3s var(--ease) both; }
.boot { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, #0b2018, var(--bg0)); transition: opacity .6s var(--ease), visibility .6s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot-in { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.boot-in img { border-radius: 14px; box-shadow: 0 0 60px rgba(125, 255, 178, 0.25); }
.boot-in .h-serif { font-size: 40px; margin: 6px 0 0; } .boot-in .h-serif i { color: var(--mint); }
.boot-in .mono { color: var(--ink3); font-size: 12px; letter-spacing: 0.08em; }

/* smaller screens */
@media (max-width: 1500px) { :root { --railL: 290px; --railR: 340px; } .spec h1 { font-size: 30px; } .nav a { padding: 0 8px; } .ca-pill { max-width: 260px; } }
@media (max-width: 1280px) { .nav a[data-go="/real"] { display: none; } .legend-card { display: none; } }
@media (max-width: 1100px) { .rail-l .spec .lede, .feed-card { display: none; } }
@media (max-width: 860px) {
  :root { --bar: 52px; }
  html, body { overflow: hidden; }
  .nav, .round .lab, #b-me, .ca-pill { display: none; }
  .bar { gap: 10px; padding: 0 12px; }
  .round { margin-left: auto; padding: 0 9px; gap: 6px; } .round b { font-size: 12.5px; } .bar-r { gap: 8px; } .brand { font-size: 18px; gap: 8px; } .x-btn { width: 32px; height: 32px; }
  .rail-l { left: 10px; right: 10px; width: auto; top: auto; bottom: 10px; }
  .rail-l .card:not(.spec) { display: none; }
  .spec h1 { font-size: 26px; margin: 6px 0 10px; }
  .spec .lede { display: none; }
  .rail-r { display: none; }
  .rail-r.open { display: flex; left: 10px; right: 10px; width: auto; top: calc(var(--bar) + 10px); bottom: 10px; z-index: 15; }
  .caption { display: none; }
  .build { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .mb { grid-template-columns: 12px 1fr; } .mb .v, .mb .act { grid-column: 2; text-align: left; justify-content: flex-start; }
  .kpis { grid-template-columns: repeat(3, 1fr); } .bt-cols, .prz { grid-template-columns: 1fr; }
  .sheet { top: calc(var(--bar) + 48px); max-height: calc(100dvh - var(--bar) - 56px); }
  .rail-r.open { top: calc(var(--bar) + 50px); }
  .sheet-h h2 { font-size: 28px; } .tabs { margin-left: 0; flex-wrap: wrap; } .sheet-h { flex-wrap: wrap; }
  .mnav { display: flex !important; }
  .toast { top: calc(var(--bar) + 52px); bottom: auto; max-width: calc(100vw - 24px); }
}
.mnav { display: none; position: fixed; z-index: 11; left: 0; right: 0; top: var(--bar); height: 40px; gap: 2px; padding: 4px 10px; background: rgba(3, 10, 7, 0.9); border-bottom: 1px solid var(--line); overflow-x: auto; }
.mnav a { flex: none; height: 30px; padding: 0 10px; display: flex; align-items: center; font-size: 13px; color: var(--ink2); border-radius: var(--r); }
.mnav a.is-on { color: var(--ink); background: var(--mint-d); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; } }

/* ================================================================ THE GRID (live home, inspo #9: JEV decision grid)
   near-black HUD, hairline panels, heavy mono caps, one accent = the focused strategy's colour (--acc-h, set by grid.js) */
:root { --acc-h: 164; --acc: hsl(var(--acc-h) 95% 62%); --acc-d: hsla(var(--acc-h), 95%, 62%, .14); --g-bg: #050608; --g-p: rgba(7, 10, 16, .94); --g-l: rgba(170, 200, 255, .09); --g-l2: rgba(170, 200, 255, .17); --g-ink: #e8eef8; --g-ink2: #a3b0c4; --g-ink3: #66738a; }
body.live { background: var(--g-bg); }
body.live .bar { background: linear-gradient(180deg, #03050a, rgba(3, 5, 10, .96)); border-bottom-color: var(--g-l); }
.grid { position: fixed; z-index: 3; top: var(--bar); left: 0; right: 0; bottom: 0; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background: var(--g-bg); color: var(--g-ink); }
.grid .lab { color: var(--g-ink3); font-size: 10px; letter-spacing: .12em; }
.g-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; flex: none; }
.g-kpi { position: relative; height: 100px; padding: 10px 14px 9px; background: var(--g-p); border: 1px solid var(--g-l); border-top: 2px solid var(--acc); display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; }
.g-kpi .big { font: 700 32px/1 var(--f-m); letter-spacing: -.03em; color: var(--g-ink); white-space: nowrap; }
.g-kpi .big.up { color: var(--acc); } .g-kpi .big.down { color: #ff6a7a; } .g-kpi .big.skip { color: #ff8a5c; }
.g-kpi .kr { display: flex; align-items: flex-end; gap: 8px; min-width: 0; }
.g-kpi .unit { font-size: 13px; color: var(--g-ink2); padding-bottom: 3px; }
.g-kpi .sp { flex: 1; min-width: 60px; height: 32px; }
.g-kpi .ks { font-size: 10.5px; color: var(--g-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: auto; }
.g-kpi .dots, .g-kpi .segbar { display: flex; gap: 2px; height: 6px; }
.g-kpi .dots i, .g-kpi .segbar i { display: block; min-width: 3px; background: hsl(var(--h) 95% 62%); box-shadow: 0 0 6px hsla(var(--h), 95%, 62%, .6); }
.g-kpi .pill { font: 700 12px/1 var(--f-m); font-style: normal; padding: 6px 10px; margin-bottom: 4px; letter-spacing: .06em; }
.g-kpi .pill.pass { background: var(--acc); color: #03050a; box-shadow: 0 0 14px var(--acc); } .g-kpi .pill.wait { border: 1px solid var(--g-l2); color: var(--g-ink2); }
.g-kpi .gate { position: relative; display: block; height: 4px; background: rgba(255, 255, 255, .06); } .g-kpi .gate i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.g-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; gap: 10px; }
.g-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.g-p { position: relative; background: var(--g-p); border: 1px solid var(--g-l); padding: 9px 11px 10px; display: flex; flex-direction: column; gap: 7px; min-height: 0; overflow: hidden; }
.g-p > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 10px/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--g-ink2); flex: none; }
.g-p > header > span { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-p > header > span::before { content: ''; width: 7px; height: 7px; background: var(--acc); box-shadow: 0 0 8px var(--acc); flex: none; }
.g-p > header > b { font-weight: 500; color: var(--acc); letter-spacing: .04em; text-transform: none; white-space: nowrap; }
.g-p > footer { font-size: 9.5px; color: var(--g-ink3); }
.g-p-fams { flex: none; }
.g-fams { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.g-fams button { position: relative; height: 27px; padding: 4px 7px 6px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; text-align: left; background: rgba(255, 255, 255, .02); border: 1px solid var(--g-l); color: var(--g-ink2); font-size: 11px; transition: border-color .2s, background .2s; }
.g-fams button b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--g-ink); }
.g-fams button .i { font-size: 9px; color: var(--g-ink3); }
.g-fams button .v { font-size: 10px; } .g-fams .v.up { color: #6cf0b6; } .g-fams .v.down { color: #ff6a7a; } .g-fams .v.flat { color: var(--g-ink3); }
.g-fams button .u { position: absolute; left: 6px; right: 6px; bottom: 3px; height: 2px; background: hsl(var(--h) 95% 62%); box-shadow: 0 0 6px hsla(var(--h), 95%, 62%, .7); }
.g-fams button:hover { border-color: hsla(var(--h), 95%, 62%, .5); }
.g-fams button.on { background: hsl(var(--h) 95% 60%); border-color: hsl(var(--h) 95% 70%); box-shadow: 0 0 18px hsla(var(--h), 95%, 60%, .45); }
.g-fams button.on b, .g-fams button.on .i, .g-fams button.on .v { color: #03050a !important; font-weight: 700; } .g-fams button.on .u { background: #03050a; box-shadow: none; }
.g-p-stream { flex: 1; min-height: 150px; } .g-p-stream canvas { flex: 1; min-height: 0; width: 100%; }
.g-k { font-size: 10px; color: var(--g-ink); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; } .g-k i { width: 14px; height: 2px; background: hsl(var(--h) 95% 62%); box-shadow: 0 0 6px hsl(var(--h) 95% 62%); } .g-k span { color: var(--g-ink3); }
.g-p-split { flex: none; }
.g-split { display: flex; flex-direction: column; gap: 6px; }
.g-split .sp { display: grid; grid-template-columns: 112px minmax(0, 1fr) 62px; gap: 8px; align-items: center; font-size: 10.5px; color: var(--g-ink2); }
.g-split .bar { position: relative; height: 9px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 5px, transparent 5px 7px); }
.g-split .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, var(--acc) 0 5px, transparent 5px 7px); filter: drop-shadow(0 0 4px var(--acc)); }
.g-split b { text-align: right; font-size: 10.5px; color: var(--g-ink); font-weight: 500; }
/* the scene */
.g-scene { position: relative; min-height: 0; overflow: hidden; border: 1px solid var(--g-l); background: #03050a; }
.g-scene .g-gl { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.g-scene .g-css { position: absolute !important; inset: 0; }
.g-case { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px 22px; background: linear-gradient(180deg, rgba(3, 5, 10, .92) 30%, rgba(3, 5, 10, 0)); pointer-events: none; }
.g-case-l { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.g-pill { flex: none; font: 700 13px/1 var(--f-m); font-style: normal; letter-spacing: .04em; color: #03050a; background: var(--acc); padding: 8px 11px; box-shadow: 0 0 18px hsla(var(--acc-h), 95%, 60%, .55); }
.g-case-x { min-width: 0; }
.g-case h2 { margin: 0; font: 800 28px/1 var(--f-m); letter-spacing: -.01em; color: var(--g-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 22px hsla(var(--acc-h), 95%, 60%, .35); }
.g-case p { margin: 7px 0 0; font-size: 11.5px; color: var(--g-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-case p b { color: var(--g-ink); font-weight: 600; } .g-case p b.up { color: #6cf0b6; } .g-case p b.down { color: #ff6a7a; } .g-case p span { color: var(--g-ink3); }
.g-tabs { display: flex; gap: 6px; pointer-events: auto; flex: none; }
.g-tabs i, .g-tabs button { font: 600 10.5px/1 var(--f-m); font-style: normal; letter-spacing: .08em; padding: 8px 11px; border: 1px solid var(--g-l2); color: var(--g-ink3); background: rgba(3, 5, 10, .8); transition: all .25s; }
.g-tabs i.on { color: #03050a; background: var(--acc); border-color: var(--acc); box-shadow: 0 0 14px hsla(var(--acc-h), 95%, 60%, .55); }
.g-tabs button { color: var(--acc); border-color: hsla(var(--acc-h), 95%, 62%, .5); } .g-tabs button:hover { background: var(--acc-d); }
.g-cam { position: absolute; z-index: 2; left: 14px; bottom: 10px; margin: 0; font-size: 10.5px; color: var(--acc); letter-spacing: .04em; pointer-events: none; text-shadow: 0 0 10px #03050a; }
/* the column heads and the coin cards (DOM placed in 3D by CSS3DRenderer: no backdrop blur, solid-ish fills) */
.g-colh { width: 252px; display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 6px; border-bottom: 1px solid rgba(170, 200, 255, .22); font: 700 13px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: #dfe8f6; pointer-events: none; }
.g-colh span { font-size: 12px; color: #7f8ca3; letter-spacing: 0; }
.gc { --h: 150; position: relative; width: 252px; height: 78px; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 9px; align-items: center; padding: 7px 10px 7px 8px; background: linear-gradient(180deg, rgba(12, 16, 26, .84), rgba(6, 9, 15, .84)); border: 1px solid rgba(170, 200, 255, .16); border-radius: 4px; color: #e4ebf6; font: 400 11px/1.2 var(--f-t); cursor: pointer; transition: border-color .35s, box-shadow .35s; }
.gc:hover { border-color: rgba(220, 235, 255, .5); }
.gc-ic { position: relative; width: 46px; height: 46px; border-radius: 4px; overflow: hidden; background: radial-gradient(circle at 35% 30%, hsl(var(--ch) 85% 70%), hsl(calc(var(--ch) + 40) 65% 36%)); display: grid; place-items: center; font: 700 18px/1 var(--f-m); font-style: normal; color: rgba(255, 255, 255, .9); }
.gc-ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-m { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.gc-t { display: grid; grid-template-columns: auto minmax(0, 1fr) 34px; gap: 6px; align-items: baseline; }
.gc-s { font: 700 13px/1 var(--f-t); white-space: nowrap; max-width: 104px; overflow: hidden; text-overflow: ellipsis; }
.gc-n { color: #7f8ca3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; }
.gc-a { color: #6cf0b6; font-size: 10.5px; text-align: right; }
.gc-r { display: grid; grid-template-columns: 1.25fr 1.15fr .8fr .8fr; gap: 4px; font-size: 10px; color: #6f7c92; white-space: nowrap; }
.gc-r b { color: #dfe8f6; font-weight: 500; }
.gc-f { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 9.5px; color: #6f7c92; white-space: nowrap; }
.gc-bond { position: relative; height: 4px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; } .gc-bond i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #5cf0b0, #ffd45c); }
.gc.mig .gc-bond i { background: #7dc4ff; }
.gc-tags { overflow: hidden; text-overflow: ellipsis; }
.gc-fams { display: flex; gap: 3px; } .gc-fams i { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--h) 95% 62%); box-shadow: 0 0 6px hsl(var(--h) 95% 62%); }
.gc-x { position: absolute; right: 8px; top: -8px; font: 700 9px/1 var(--f-m); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; color: #fff; background: #e0364f; box-shadow: 0 0 10px rgba(224, 54, 79, .6); display: none; }
.gc.fake { opacity: .55; border-color: rgba(224, 54, 79, .45); } .gc.fake .gc-x { display: block; }
.gc.lit { border-color: hsl(var(--h) 95% 64%); box-shadow: 0 0 0 1px hsla(var(--h), 95%, 64%, .6), 0 0 22px hsla(var(--h), 95%, 60%, .55), inset 0 0 18px hsla(var(--h), 95%, 60%, .18); }
.gc.flash { border-color: hsl(var(--h) 100% 72%); box-shadow: 0 0 0 2px hsla(var(--h), 100%, 70%, .8), 0 0 34px hsla(var(--h), 100%, 62%, .85), inset 0 0 26px hsla(var(--h), 100%, 62%, .3); }
.gc-ring { position: absolute; right: -34px; top: 50%; width: 132px; height: 132px; margin-top: -66px; border-radius: 50%; border: 2px solid hsl(var(--h) 100% 70%); box-shadow: 0 0 18px hsla(var(--h), 100%, 62%, .8), inset 0 0 18px hsla(var(--h), 100%, 62%, .4); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.gc.ring .gc-ring { opacity: 1; transform: scale(1); }
/* the right side */
.g-p-chart { flex: none; height: 196px; } .g-p-chart canvas { flex: 1; min-height: 0; width: 100%; } .g-p-chart header b#g-chart-n { color: var(--g-ink); letter-spacing: 0; text-transform: none; font-weight: 600; }
.g-p-code { flex: none; }
.g-code { font-size: 10.5px; line-height: 1.55; color: #c7d2e4; white-space: nowrap; overflow: hidden; } .g-code div { overflow: hidden; text-overflow: ellipsis; }
.g-code i { font-style: normal; } .g-code .c { color: #66738a; } .g-code .k { color: var(--acc); } .g-code .s { color: #ffd45c; } .g-code .n { color: #8fd8ff; } .g-code .f { color: #ff9ad5; }
.g-code div:nth-child(5) { background: hsla(var(--acc-h), 95%, 60%, .1); box-shadow: inset 2px 0 0 var(--acc); padding-left: 4px; }
.g-p-log { flex: 1; min-height: 110px; }
.g-log { display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; overflow: hidden; }
.g-log div { display: grid; grid-template-columns: 58px 66px 32px minmax(0, 1fr) 52px; gap: 6px; color: var(--g-ink2); white-space: nowrap; }
.g-log div.on { color: var(--g-ink); background: hsla(var(--acc-h), 95%, 60%, .08); }
.g-log .t { color: var(--g-ink3); } .g-log .f { color: hsl(var(--h) 95% 66%); overflow: hidden; text-overflow: ellipsis; } .g-log .up { color: #6cf0b6; } .g-log .down { color: #ff6a7a; } .g-log .s { overflow: hidden; text-overflow: ellipsis; } .g-log .m { text-align: right; }
.g-p-guard { flex: none; }
.g-guard { display: flex; flex-direction: column; gap: 5px; }
.g-guard .gr { display: grid; grid-template-columns: minmax(0, 1fr) 100px 52px; gap: 8px; align-items: center; font-size: 10.5px; color: var(--g-ink2); white-space: nowrap; }
.g-guard .gr > span { overflow: hidden; text-overflow: ellipsis; }
.g-guard .seg { display: flex; gap: 2px; height: 8px; } .g-guard .seg i { width: 5px; background: hsl(var(--h) 95% 60%); box-shadow: 0 0 5px hsla(var(--h), 95%, 60%, .6); }
.g-guard b { text-align: right; color: var(--g-ink); font-weight: 500; }
.g-guard .gl { margin: 3px 0 0; font-size: 9.5px; color: #ffd45c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1500px) { .g-stage { grid-template-columns: 260px minmax(0, 1fr) 300px; } .g-kpi .big { font-size: 28px; } .g-case h2 { font-size: 22px; } .g-tabs i:nth-child(1), .g-tabs i:nth-child(2) { display: none; } }
@media (max-width: 1100px) {
  .grid { overflow-y: auto; } .g-kpis { grid-template-columns: 1fr 1fr; } .g-stage { display: flex; flex-direction: column; } .g-scene { height: 62vh; flex: none; order: -1; }
  .g-side { flex: none; } .g-p-stream { height: 190px; flex: none; } .g-p-log { height: 200px; flex: none; }
}
@media (max-width: 860px) {
  .grid { top: calc(var(--bar) + 40px); padding: 8px; gap: 8px; } .g-kpi { height: auto; min-height: 0; padding: 8px 10px; gap: 5px; } .g-kpi .big { font-size: 22px; } .g-kpi .sp { display: none; }
  .grid .g-kpi .lab { font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .g-kpi .ks { font-size: 9px; } .g-kpi .pill { font-size: 10px; padding: 4px 6px; } .g-kpi .kr .pill { display: none; }      /* phone: the number needs the width; the bar under it shows the same state */
  .g-case { flex-direction: column; padding: 8px 10px 16px; } .g-case h2 { font-size: 17px; } .g-pill { font-size: 10.5px; padding: 6px 8px; } .g-case p { font-size: 10px; white-space: normal; } .g-tabs i, .g-tabs button { padding: 5px 7px; font-size: 9px; }
  .g-scene { height: 58vh; } .g-cam { display: none; }
}

/* the evolver's panel */
.g-p-evo { flex: none; }
.g-evo { display: flex; flex-direction: column; gap: 6px; }
.g-evo .ev-ph { margin: 0; font-size: 10.5px; color: var(--acc); display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-evo .ev-ph i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); animation: evp 1.2s ease-in-out infinite; flex: none; }
@keyframes evp { 50% { opacity: .25; } }
.g-evo .ev-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.g-evo .ev-k div { display: flex; flex-direction: column; gap: 3px; } .g-evo .ev-k b { font: 700 19px/1 var(--f-m); color: var(--g-ink); } .g-evo .ev-k span { font-size: 9.5px; color: var(--g-ink3); text-transform: uppercase; letter-spacing: .08em; }
.g-evo .ev-bars { display: flex; gap: 2px; height: 38px; }
.g-evo .ev-bars i { position: relative; flex: 1; } .g-evo .ev-bars b, .g-evo .ev-bars em { position: absolute; left: 0; right: 0; min-height: 1px; }
.g-evo .ev-bars b { bottom: 50%; background: var(--acc); box-shadow: 0 0 5px var(--acc); } .g-evo .ev-bars em { top: calc(50% + 1px); background: #ff6a7a; opacity: .75; }
.g-evo .ev-l { margin: 0; font-size: 10px; color: var(--g-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .g-evo .ev-l b { color: var(--g-ink); font-weight: 600; } .g-evo .up { color: #6cf0b6; } .g-evo .down { color: #ff6a7a; }

.evo-t { table-layout: auto; } .evo-t td { height: auto; padding-top: 7px; padding-bottom: 7px; } .evo-t td.rules { white-space: normal; min-width: 380px; max-width: 470px; } .evo-t td.rules .nm { display: flex; width: 100%; } .evo-t td.rules .what { display: block; max-width: none; white-space: normal; overflow: visible; line-height: 1.4; margin-top: 3px; }

/* FUNDED BOTS: the track on a bot's page, the chip in My bots, the program on Prizes */
.fchip { display: inline-block; font: 600 10px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border: 1px solid var(--line2); color: var(--ink2); border-radius: 2px; }
.fchip.qual { color: #03130a; background: var(--mint); border-color: var(--mint); } .fchip.funded { color: #1a1200; background: var(--gold); border-color: var(--gold); }
.fund { margin: 12px 0 14px; padding: 14px 16px; border: 1px solid var(--line2); background: linear-gradient(180deg, var(--bg2), var(--bg1)); display: flex; flex-direction: column; gap: 8px; }
.fund:empty { display: none; }
.fund-h { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.fund-p { margin: 0 0 4px; font-size: 13px; color: var(--ink2); max-width: 110ch; } .fund-p b { color: var(--ink); }
.fr { display: grid; grid-template-columns: 18px minmax(220px, 1.4fr) minmax(120px, 1fr) minmax(200px, 1.1fr); gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink2); }
.fr i { width: 16px; height: 16px; border: 1px solid var(--line3); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; color: #03130a; }
.fr.ok i { background: var(--mint); border-color: var(--mint); } .fr.ok span { color: var(--ink); }
.fr .bar { position: relative; height: 5px; background: rgba(255, 255, 255, .06); } .fr .bar b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--mint2); }
.fr strong { font-weight: 500; text-align: right; color: var(--ink); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prz.fundp { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line2); }
.bl-fund { margin: 6px 0 0; font-size: 13px; }
/* the grid, data-driven pass: results rising over coins, price lines on cards, the market cap flashing */
.g-pl { --h: 150; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 9px 6px; border-radius: 3px; pointer-events: none; font: 700 17px/1 var(--f-m); letter-spacing: -.02em; white-space: nowrap; background: rgba(4, 7, 12, .82); border: 1px solid; }
.g-pl span { font: 500 9.5px/1 var(--f-m); letter-spacing: .02em; color: #a3b0c4; }
.g-pl.up { color: #6cf6b8; border-color: rgba(108, 246, 184, .55); box-shadow: 0 0 18px rgba(108, 246, 184, .45); }
.g-pl.down { color: #ff6f84; border-color: rgba(255, 111, 132, .5); box-shadow: 0 0 14px rgba(255, 111, 132, .35); }
.g-pl.on { font-size: 22px; padding: 7px 12px 8px; }
.gc-sp { position: absolute; right: 9px; top: 25px; width: 52px; height: 15px; overflow: visible; }
.gc-sp polyline { fill: none; stroke: #5cf0b0; stroke-width: 1.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px rgba(92, 240, 176, .7)); }
.gc-sp.dn polyline { stroke: #ff6a7a; filter: drop-shadow(0 0 2px rgba(255, 106, 122, .7)); }
.gc-r { padding-right: 58px; grid-template-columns: 1.25fr 1.2fr .75fr; }
.v-mc.fu { animation: mcu .7s ease-out; } .v-mc.fd { animation: mcd .7s ease-out; }
@keyframes mcu { 0% { color: #fff; text-shadow: 0 0 10px #5cf0b0; background: rgba(92, 240, 176, .35); } 100% { background: transparent; } }
@keyframes mcd { 0% { color: #fff; text-shadow: 0 0 10px #ff6a7a; background: rgba(255, 106, 122, .35); } 100% { background: transparent; } }
.g-log .m.up { color: #6cf0b6; } .g-log .m.down { color: #ff6a7a; }
.gc.chk .gc-x { display: block; background: #c98a12; box-shadow: 0 0 10px rgba(201, 138, 18, .5); }
.g-pl.kolb { color: #ffd45c; border-color: rgba(255, 212, 92, .55); box-shadow: 0 0 16px rgba(255, 212, 92, .4); font-size: 13px; }
.g-log .kolf { color: #ffd45c !important; } .g-log .kolr { color: #ffe9a8; }
.g-kpi.click { cursor: pointer; } .g-kpi.click:hover { border-color: var(--acc); }
/* strategy tiles: an activity bar (how busy it is now) and a flash on each trade */
.g-fams button .u { background: hsla(var(--h), 95%, 62%, .18); box-shadow: none; overflow: hidden; }
.g-fams button .u i { display: block; height: 100%; width: 0; background: hsl(var(--h) 95% 62%); box-shadow: 0 0 6px hsl(var(--h) 95% 62%); transition: width .6s; }
.g-fams button.fl-b { animation: tfb .7s ease-out; } .g-fams button.fl-s { animation: tfs .7s ease-out; }
@keyframes tfb { 0% { background: hsla(var(--h), 95%, 60%, .45); border-color: hsl(var(--h) 95% 70%); } 100% { } }
@keyframes tfs { 0% { background: rgba(255, 106, 122, .3); border-color: #ff6a7a; } 100% { } }
.g-fams button.on .u i { background: #03050a; box-shadow: none; }
/* the live lane on Ready for funding: real SOL, real record */
.lane { border: 1px solid color-mix(in srgb, var(--mint) 35%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--mint) 7%, transparent), transparent 70%); border-radius: 6px; padding: 12px 14px 6px; margin: 0 0 16px; }
.lane-h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; font: 500 12px/1.2 var(--f-m); letter-spacing: .04em; }
.lane-h b { letter-spacing: .1em; }
.lane-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); animation: laneDot 1.6s ease-out infinite; }
@keyframes laneDot { to { box-shadow: 0 0 0 9px transparent; } }
.lane-h .kv { display: inline-flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
.lane-h .kv i { font-style: normal; color: var(--ink3, var(--ink2)); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.lane-open { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.lane-open .chip { font-size: 11px; padding: 3px 7px; border-radius: 3px; background: var(--bg3, rgba(255,255,255,.05)); color: var(--ink); text-decoration: none; }
.lane .tbl { margin-top: 10px; }
.badge-live { font: 600 9.5px/1 var(--f-m); letter-spacing: .1em; color: #03130a; background: var(--mint); padding: 3px 5px; border-radius: 2px; margin-left: 8px; vertical-align: 1px; }
/* the clock: hour of day x weekday */
.ck-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 6px 0 18px; }
.ck-two section { min-width: 0; }
.ck { display: grid; gap: 2px; font: 500 10.5px/1 var(--f-m); }
.ck-row { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)) 58px; gap: 2px; align-items: center; }
.ck-row > span { color: var(--ink2); }
.ck-row > i { height: 20px; border-radius: 2px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.ck-head > i { height: auto; box-shadow: none; color: var(--ink3); font-style: normal; text-align: left; }
.ck-row > b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.ck-head > b { color: var(--ink3); font-weight: 400; }
.ck-foot { margin-top: 4px; }
.ck-foot > i { height: 26px; }
.ck-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.ck-chip { font: 500 11px/1 var(--f-m); padding: 5px 8px; border-radius: 3px; background: var(--bg3, rgba(255,255,255,.05)); color: var(--ink2); cursor: pointer; }
.ck-chip.on { background: var(--mint); color: #03130a; }
.ck-note { margin-top: 10px; }
.ck-act { display: flex; align-items: flex-end; gap: 10px; margin-top: 6px; font: 500 10.5px/1 var(--f-m); color: var(--ink3); }
.ck-act span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ck-act span i { width: 18px; background: color-mix(in srgb, var(--mint) 45%, transparent); border-radius: 2px; }
.ck-act em { font-style: normal; margin-left: 8px; align-self: center; }
.g-no3d { position: absolute; z-index: 2; right: 14px; bottom: 10px; font: 500 10.5px/1 var(--f-m); color: var(--ink3); letter-spacing: .04em; }
#g-scene:has(.g-no3d) { background: radial-gradient(120% 90% at 50% 40%, #0a1a16 0%, #03050a 70%); }
.g-fams button.bench { opacity: .42; border-style: dashed; } .g-fams button.bench:hover, .g-fams button.bench.on { opacity: .8; }
.lab-t tr.benched td { opacity: .5; } .badge-bench { background: var(--bg4, #2a2f36) !important; color: var(--ink2) !important; }
.x-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg1); color: var(--ink); transition: border-color .15s, background .15s; }
.x-btn:hover { border-color: var(--mint); background: var(--mint-d); } .x-btn svg { width: 14px; height: 14px; fill: currentColor; }
/* the coin chart's legend: every bot's trades on it */
.c-mk { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0; min-height: 15px; font-size: 10.5px; color: var(--ink2); }
.c-mk span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } .c-mk .who { color: var(--ink3); overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.c-mk .mk { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.c-mk .mk.b { border-bottom: 7px solid #63f1cb; } .c-mk .mk.s { border-top: 7px solid #ff7c66; } .c-mk .mk.o { border-bottom: 7px solid #63f1cb; filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 1px #fff); } .c-mk .mk.r { width: 7px; height: 7px; border: 0; background: #ffd27a; transform: rotate(45deg); }
/* the Optima view: only the fee wallet's real trades */
.g-empty { position: absolute; inset: 0; z-index: 2; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; pointer-events: none; }
.g-empty.on { display: flex; } .g-empty b { font: 700 18px/1.2 var(--f-t); letter-spacing: -0.01em; color: var(--ink); } .g-empty span { font: 500 12px/1.5 var(--f-m); color: var(--ink2); max-width: 44ch; }
body.optima .g-kpi { border-top-color: #ffd27a; } body.optima .g-log a { color: #ffd27a; text-decoration: none; }
.g-ledger { color: #ffd27a; cursor: pointer; margin-left: 4px; } .g-ledger:hover { text-decoration: underline; }
.g-empty b, .g-empty span { background: rgba(6, 8, 12, 0.86); padding: 4px 12px; border-radius: 4px; }
.pay-wrap { max-height: 360px; overflow: auto; }
