/* BLIP HUNT · the look is Grokkies' own: the first block below is projects/blips/public/css/blips.css lines 1-146 AS THEY ARE (tokens,
   fonts, light + dark theme, top bar, buttons, type, panels; owner 11-23 "same UI as the og page"). The game's parts follow in the same tokens. */
/* BLIPS — grokbot edition (2026-10-29, owner: "change the pips things to grokbots ... change colours etc and the characters to fit
   the grokbot style"). Grok Bot's own world: an off-white page, ink type, black buttons, and all the colour in the blips
   themselves (flat shapes, two white pill eyes). Type (designreg CLEAR, used by no other site): Geologica (display: round,
   techy, friendly), Albert Sans (reading), Spline Sans Mono (every number, address and time). A dark mode (graphite, Grok's
   own dark) is the same tokens under html[data-theme=dark]. Fixed slots where a number changes; tabular figures; phone first. */
@font-face { font-family: "Geologica"; src: url(/fonts/geologica.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(/fonts/albert-sans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Spline Sans Mono"; src: url(/fonts/spline-sans-mono.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
:root {
  /* surfaces: Grok Bot's off-white page; cards a step whiter, wells a step greyer */
  --bg: #F6F6F3; --s1: #FFFFFF; --s2: #FBFBF9; --s3: #EFEFEA; --s4: #E6E6E0;
  --fg-rgb: 14, 15, 18;                     /* tints and hairlines are the ink, thin (dark mode: white, thin) */
  --line: rgba(14, 15, 18, .075); --line2: rgba(14, 15, 18, .13); --line3: rgba(14, 15, 18, .24);
  /* ink */
  --ink: #0E0F12; --ink2: #3A3D45; --muted: #6C6F79; --faint: #A1A4AC;
  /* the action colour is ink (black pill buttons, white words), the accent word is the Hunter's orange */
  --amber: #0E0F12; --amber2: #2A2C33; --amber-ink: #FFFFFF; --amber-wash: rgba(14, 15, 18, .08);
  --accent: #FF6A13; --accent-wash: rgba(255, 106, 19, .1);
  /* the squad's own colours (the blips are these colours) */
  --hunter: #FF7A1A; --copy: #2F7CFF; --sniper: #FF3D5E; --guard: #12B76A; --scout: #7B5CFA; --ping: #2F9BFF;
  /* state */
  --good: #0C9F5B; --bad: #E5484D; --warn: #C27C0E;
  --r: 22px; --r2: 16px; --r3: 11px;
  --shadow: 0 1px 2px rgba(14, 15, 18, .05), 0 18px 44px -26px rgba(14, 15, 18, .28);
  --blip-shadow: rgba(14, 15, 18, .09);
  --display: "Geologica", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* old names the scripts still read */
  --page: var(--bg); --real: var(--amber);
  /* COLOUR AS TEXT (2026-10-29 restyle): a role or state colour mixed toward the ink is readable in both themes (a shade darker
     on the off-white, a shade lighter on graphite): declared once, computed per theme, since --ink is */
  --hunter-ink: color-mix(in srgb, var(--hunter) 70%, var(--ink)); --copy-ink: color-mix(in srgb, var(--copy) 80%, var(--ink));
  --sniper-ink: color-mix(in srgb, var(--sniper) 80%, var(--ink)); --guard-ink: color-mix(in srgb, var(--guard) 65%, var(--ink));
  --scout-ink: color-mix(in srgb, var(--scout) 85%, var(--ink)); --accent-ink: color-mix(in srgb, var(--accent) 72%, var(--ink));
  --warn-ink: color-mix(in srgb, var(--warn) 80%, var(--ink));
  /* the Hunter's ladders (his terminal's tiers): green, lime, gold, fire */
  --l2: var(--good); --l3: color-mix(in srgb, #8BD200 55%, var(--ink)); --ltop: color-mix(in srgb, #F5A623 60%, var(--ink)); --lfire: color-mix(in srgb, #FF6A13 72%, var(--ink));
  /* the approve / run button, popovers (bubbles, sheets, menus), the dim behind a sheet */
  --go: #0B8A50; --go-ink: #FFFFFF;
  --pop: #FFFFFF; --pop-shadow: 0 1px 2px rgba(14, 15, 18, .06), 0 28px 64px -28px rgba(14, 15, 18, .36);
  --scrim: rgba(14, 15, 18, .3);
  /* the live blips (js/blipfig.js): the eyes are holes (the backdrop shows through: a stage sets its own), the one accessory is ink */
  --blip-eye: var(--bg); --blip-acc: var(--ink);
  color-scheme: light;
}
html[data-theme=dark] {
  --bg: #16171A; --s1: #1D1E22; --s2: #222327; --s3: #2A2B30; --s4: #33353B;
  --fg-rgb: 255, 255, 255;
  --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .12); --line3: rgba(255, 255, 255, .22);
  --ink: #F3F3EF; --ink2: #C7C8CC; --muted: #8E9098; --faint: #63656D;
  --amber: #F3F3EF; --amber2: #FFFFFF; --amber-ink: #0E0F12; --amber-wash: rgba(255, 255, 255, .1);
  --accent: #FF8A3D; --accent-wash: rgba(255, 138, 61, .12);
  --good: #3DDC97; --bad: #FF6B6B; --warn: #FFC861;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 24px 50px -30px rgba(0, 0, 0, .8);
  --blip-shadow: rgba(0, 0, 0, .35);
  --go: #3DDC97; --go-ink: #04140C;
  --pop: #222327; --pop-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 30px 70px -24px rgba(0, 0, 0, .85);
  --scrim: rgba(0, 0, 0, .55);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* a class that sets display never un-hides an element */
html { background: var(--bg); }
body { margin: 0; color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image: radial-gradient(rgba(var(--fg-rgb), .07) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%); }
main, footer { position: relative; z-index: 1; }
::selection { background: rgba(255, 106, 19, .25); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
/* EVERY FIELD LOOKS LIKE THE SITE'S, wherever it sits (2026-10-13: a Withdraw box drew browser-grey fields). :where() keeps
   these at zero specificity, so a component's own style always wins and a field nobody styled still looks finished. */
:where(input:not([type=checkbox], [type=radio], [type=range], [type=file], [type=color], [type=hidden]), select, textarea) { height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: var(--s1); padding: 0 13px; outline: none; color: var(--ink); min-width: 0; transition: border-color .15s, box-shadow .15s, background-color .15s; }
:where(textarea) { height: auto; min-height: 84px; padding: 11px 13px; line-height: 1.5; resize: vertical; }
:where(select) { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
:where(input, textarea)::placeholder { color: var(--faint); opacity: 1; }
:where(input:not([type=checkbox], [type=radio], [type=range]), select, textarea):hover { border-color: var(--line3, rgba(var(--fg-rgb),.18)); }
:where(input:not([type=checkbox], [type=radio], [type=range]), select, textarea):focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-wash); background-color: var(--s2); }
:where(input[type=checkbox], input[type=radio]) { accent-color: var(--amber); }
:where(input[type=number]) { -moz-appearance: textfield; }
:where(input[type=number])::-webkit-inner-spin-button, :where(input[type=number])::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
:where(.form input:not([type=checkbox], [type=radio]), .form select, .form textarea) { width: 100%; }
:where(option) { background: var(--s1); color: var(--ink); }
.num, td.n, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .good { color: var(--good); } .bad { color: var(--bad); } .warn { color: var(--warn); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ── the top bar */
/* THE BAR IS SOLID (it was glass: .72 + a 14 px blur). The page's words slid under it as smudges through its own words (the
   squad's tabs through "Wallet", a heading through "blips"), and a blur over the hero's live canvas is paid for on every frame. */
.top { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line2); }      /* fully opaque: at .96 the words under it still showed on a phone */
.top .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .dots { display: flex; gap: 3px; }
.brand .dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.brand b { font: 800 27px/1 var(--display); letter-spacing: -.05em; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; padding: 7px 12px; border-radius: 999px; color: var(--muted); white-space: nowrap; font-weight: 500; font-size: 14.5px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: rgba(var(--fg-rgb), .04); }
.nav a.on { color: var(--ink); background: rgba(var(--fg-rgb), .07); box-shadow: inset 0 0 0 1px var(--line2); }
.nav a.ext { color: var(--ink); font-weight: 650; } .nav a.ext::after { content: " ↗"; font-size: 11px; opacity: .6; } .nav a.ext:hover { background: var(--amber-wash); }
.who { flex: none; display: flex; gap: 8px; align-items: center; }
.pill { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font: 600 11.5px/1 var(--mono); letter-spacing: .08em; border: 1px solid var(--line2); background: rgba(var(--fg-rgb), .03); white-space: nowrap; color: var(--ink2); }
.pill.real { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); }
.pill .led { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.pill.nowallet { color: var(--ink); border-color: var(--line3); background: var(--s1); } .pill.nowallet .led { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.pill.live .led { background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 18%, transparent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(var(--fg-rgb), .04); cursor: pointer; font-weight: 700; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; color: var(--ink); transition: transform .08s, background .15s, border-color .15s, box-shadow .2s; }
.btn:hover { background: rgba(var(--fg-rgb), .08); border-color: var(--line3); }
.btn:active { transform: translateY(1px); }
.btn.ink { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); box-shadow: 0 10px 26px -14px rgba(14, 15, 18, .55); }
.btn.ink:hover { background: var(--amber2); border-color: var(--amber2); }
.btn.lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn.sm { height: 32px; padding: 0 13px; font-size: 13px; }
.btn.go { background: var(--go); border-color: var(--go); color: var(--go-ink); }
.btn.go:hover { background: color-mix(in srgb, var(--go) 88%, var(--ink)); border-color: color-mix(in srgb, var(--go) 88%, var(--ink)); }
.btn.stop { color: var(--bad); }
.btn[disabled] { opacity: .4; pointer-events: none; }
@media (max-width: 720px) {
  .top .wrap { height: 56px; gap: 10px; }
  .nav { display: none; }
  .who { margin-left: auto; min-width: 0; }
  .brand b { font-size: 25px; }
  .who .acct { display: none; }   /* the account (sign out) is in the tab bar's More sheet */
  .who .pill { padding: 0 10px; letter-spacing: .05em; min-width: 0; overflow: hidden; }
}
@media (max-width: 380px) { .brand-mark { display: none; } }

/* ── type */
h1, h2, h3 { font-family: var(--display); font-weight: 640; letter-spacing: -.03em; margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(40px, 8vw, 92px); line-height: .98; letter-spacing: -.04em; font-weight: 660; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.02; }
h3 { font-size: 21px; line-height: 1.15; }
.kicker { font: 500 11.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.kicker b { color: var(--amber); font-weight: 600; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink2); max-width: 600px; }

/* ── cards and panels */
.panel { background: var(--s1); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
.panel > header { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; }

/* ================================================================ BLIP HUNT (the game's parts, Grokkies tokens) */
/* no stock scrollbars (owner rule; larpcheck/scrollbars.css) */
:root { --sb-thumb: rgba(var(--fg-rgb), .18); --sb-thumb-hover: rgba(var(--fg-rgb), .32); }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--sb-thumb, rgba(140,140,150,.35)); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover, rgba(160,160,170,.6)); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb, rgba(140,140,150,.35)) transparent; } }
.no-sb { scrollbar-width: none; } .no-sb::-webkit-scrollbar { display: none; }

:root { --run: #12B76A; --moon: #F5A623; --rug: #E5484D; }
.brand-logo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line2); background: var(--s1); }
.brand b { text-transform: lowercase; }
.tick { font: 600 11px/1 var(--mono); letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
.top .sp { flex: 1; }
.pill.ca { cursor: pointer; } .pill.ca:hover { border-color: var(--line3); color: var(--ink); } .pill.ca.done { border-color: var(--good); }
#ca-t { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
.pill .num { color: var(--ink); }
.themesw { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: var(--s1); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink2); flex: none; }
.themesw:hover { border-color: var(--line3); color: var(--ink); }
.toplink { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14.5px; white-space: nowrap; padding: 7px 10px; border-radius: 999px; }
.toplink:hover { color: var(--ink); background: rgba(var(--fg-rgb), .04); }

.hero { position: relative; padding: 26px 0 0; text-align: center; }
.hero h1 { margin: 14px auto 0; font-size: clamp(36px, 4.6vw, 64px); }
.hero .lead { margin: 14px auto 0; text-align: center; font-size: 18px; max-width: 640px; }
.kicker.pillk { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--s1); }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 16%, transparent); animation: pulse 2s ease-in-out infinite; display: inline-block; flex: none; }
@keyframes pulse { 50% { opacity: .45; } }

/* the play area: radar left, the picker / the round's numbers right */
.play { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; margin-top: 22px; align-items: start; text-align: left; }
.radar-box { position: relative; padding: 16px; }
.radar-wrap { position: relative; width: 100%; aspect-ratio: 1; max-width: min(560px, calc(100vh - 250px)); min-width: 280px; margin: 0 auto; }
#radar { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; border-radius: 50%; }
.radar-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; pointer-events: none; }
.radar-over .count { font: 700 120px/1 var(--display); letter-spacing: -.05em; color: var(--ink); text-shadow: 0 2px 0 var(--s1); }
.radar-over .msg { font: 500 13px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--s1); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); }
.hudrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin: 0 4px 12px; }
.hud-n .k, .side-k { font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.hud-n b { display: block; font: 700 40px/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hud-n.r { text-align: right; }
.mult { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--s3); font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.mult.hot { background: var(--accent); color: #fff; }
.timebar { height: 6px; border-radius: 3px; background: var(--s3); overflow: hidden; margin: 12px 4px 0; }
.timebar i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 3px; transform-origin: left; }
.legend { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; font: 500 12.5px/1.3 var(--sans); color: var(--ink2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

.side { padding: 18px; }
.side h3 { margin: 6px 0 12px; }
.pals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pal { position: relative; padding: 6px 2px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--s2); cursor: pointer; text-align: center; transition: border-color .15s, transform .15s, background .15s; }
.pal:hover { transform: translateY(-2px); border-color: var(--line3); }
.pal.on { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 10%, var(--s1)); box-shadow: 0 0 0 1px var(--pc); }
.pal img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.pal b { display: block; font: 700 13px/1.1 var(--display); }
.perk { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink2); min-height: 66px; }
.perk b { color: var(--ink); }
.field { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.field input { width: 100%; font: 600 16px/1 var(--sans); }
.go { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.go .btn.lg { width: 100%; }
.err { min-height: 18px; font-size: 13px; color: var(--bad); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13.5px; }
.linkbtn:hover { color: var(--ink); }
.result { display: none; }
.result.on { display: block; }
.result .big { font: 700 64px/1 var(--display); letter-spacing: -.05em; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.result .rk { font-size: 15px; color: var(--ink2); }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.cells > div { padding: 10px 12px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); min-width: 0; }
.cells .k { font: 500 10.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.cells .v { font: 700 22px/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.palcard { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.palcard img { width: 56px; height: 56px; object-fit: contain; transition: transform .15s; }
.palcard img.hop { animation: hop .32s ease-out; } .palcard img.oops { animation: oops .36s ease-out; }
@keyframes hop { 40% { transform: translateY(-10px) scale(1.06); } } @keyframes oops { 25% { transform: translateX(-6px) rotate(-6deg); } 60% { transform: translateX(5px) rotate(5deg); } }
.palcard b { display: block; font: 700 18px/1.1 var(--display); } .palcard span { font-size: 13px; color: var(--muted); }

/* below the game: the board, the chat, how it works */
.sec { padding: 70px 0 0; }
.sec-head { display: flex; align-items: flex-end; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.sec-head > div { flex: 1; min-width: 0; }
.sec-head h2 { margin-top: 10px; }
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.panel > header { justify-content: space-between; }
.tabs { display: flex; gap: 4px; }
.tabs button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--s1); font: 600 12px/1 var(--sans); color: var(--muted); cursor: pointer; }
.tabs button.on { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.bl { list-style: none; margin: 0; padding: 0 8px 10px; max-height: 520px; overflow-y: auto; }
.bl li { display: grid; grid-template-columns: 30px 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; }
.bl li:nth-child(odd) { background: var(--s2); }
.bl li.me { box-shadow: inset 0 0 0 1px var(--accent); }
.bl .r { font: 600 13px/1 var(--mono); color: var(--muted); text-align: right; }
.bl li:nth-child(1) .r { color: var(--accent); }
.bl img { width: 34px; height: 34px; object-fit: contain; }
.bl .w b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl .w span { font: 500 12px/1.2 var(--mono); color: var(--muted); }
.bl .s { font: 700 20px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bl .empty { display: block; text-align: center; color: var(--muted); padding: 26px 8px; background: none !important; }
.mine { padding: 0 18px 16px; font-size: 13.5px; color: var(--ink2); }
.chat { display: flex; flex-direction: column; height: 560px; }
.chat .pinbar { display: none; margin: 0 14px 8px; padding: 9px 12px; border-radius: 12px; background: var(--accent-wash); font-size: 13.5px; }
.chat .pinbar.on { display: block; } .chat .pinbar b { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--accent); margin-right: 8px; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 0 14px; display: flex; flex-direction: column; gap: 7px; }
.m { font-size: 14px; line-height: 1.45; color: var(--ink2); word-wrap: break-word; }
.m b { color: var(--ink); margin-right: 6px; }
.m.empty { color: var(--muted); font-style: italic; }
.m.dev { padding: 8px 10px; border-radius: 12px; background: var(--accent-wash); color: var(--ink); }
.m.dev b::before { content: 'DEV'; font: 600 10px/1 var(--mono); letter-spacing: .12em; color: #fff; background: var(--accent); padding: 3px 6px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.m .ops { display: none; } .devmode .m .ops { display: inline; }
.m .ops button { background: none; border: 0; padding: 0; margin-left: 8px; font: 600 10px/1 var(--mono); letter-spacing: .1em; color: var(--muted); cursor: pointer; } .m .ops button:hover { color: var(--bad); }
.say { display: flex; gap: 8px; padding: 12px 14px 4px; }
.say input { flex: 1; }
.chat-err { min-height: 18px; padding: 0 14px 10px; font-size: 12.5px; color: var(--bad); }
.how3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how3 .panel { padding: 20px; }
.how3 .n { font: 600 12px/1 var(--mono); color: var(--muted); }
.how3 h3 { margin: 10px 0 6px; }
.how3 p { margin: 0; color: var(--ink2); font-size: 14.5px; }
footer.foot { padding: 60px 20px 40px; text-align: center; color: var(--muted); font-size: 13px; }
footer.foot a { color: var(--ink2); }
.toast { position: fixed; left: 50%; top: 74px; transform: translateX(-50%); z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font: 600 12px/1 var(--mono); letter-spacing: .1em; visibility: hidden; opacity: 0; transition: opacity .18s; }
.toast.on { visibility: visible; opacity: 1; }
.devban { position: fixed; left: 50%; top: 74px; transform: translateX(-50%) translateY(-8px); z-index: 70; max-width: min(560px, 92vw); padding: 12px 16px; border-radius: 16px; background: var(--pop); border: 1px solid var(--line2); box-shadow: var(--pop-shadow); font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; }
.devban.on { opacity: 1; visibility: visible; transform: translateX(-50%); }
.devban b { font: 600 10px/1 var(--mono); letter-spacing: .12em; color: #fff; background: var(--accent); padding: 4px 7px; border-radius: 999px; margin-right: 8px; }

@media (max-width: 1000px) { .play { grid-template-columns: minmax(0, 1fr); } .two { grid-template-columns: minmax(0, 1fr); } .chat { height: 440px; } .how3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .toplink, .pill.today { display: none; }
  .tick { font-size: 10px; padding: 4px 7px; }
  .hero { padding-top: 24px; } .hero h1 { font-size: 40px; } .hero .lead { font-size: 16px; }
  .radar-box { padding: 10px; } .hud-n b { font-size: 30px; } .radar-over .count { font-size: 84px; }
  .play { margin-top: 18px; gap: 14px; }
  .side { padding: 14px; } .pal b { font-size: 11.5px; }
  .sec { padding-top: 46px; }
}
