/* PIPS — night edition (2026-10-12, after "dont like the colour"); type since 2026-10-12 evening ("change font to something
   better"): Bricolage Grotesque (display: warm, round, confident, like the toys) + Satoshi (reading) + Geist Mono (numbers).
   A dark, tinted night-navy world where the glossy pips glow; ONE warm accent (the Hunter's lantern amber) for actions and
   state of focus; the five pip colours only as their roles. Fraunces (soft, rounded serif) for display, Geist for reading,
   Geist Mono for every number, address and time. Fixed slots everywhere a number changes; tabular figures; phone first. */
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Satoshi"; src: url(/fonts/satoshi-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/fonts/satoshi-500.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/fonts/satoshi-700.woff2) format("woff2"); font-weight: 700 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 {
  /* surfaces: night navy, lighter as they come forward */
  --bg: #06080E; --s1: #0B0F18; --s2: #10151F; --s3: #161C29; --s4: #1D2433;
  --line: rgba(205, 218, 255, .075); --line2: rgba(205, 218, 255, .13); --line3: rgba(205, 218, 255, .22);
  /* ink */
  --ink: #EEF1F8; --ink2: #B6BDCC; --muted: #7E879A; --faint: #566074;
  /* the one accent: lantern amber */
  --amber: #FFB547; --amber2: #FFCB7A; --amber-ink: #1B1205; --amber-wash: rgba(255, 181, 71, .12);
  /* the squad's own colours (roles only) */
  --hunter: #FFB547; --copy: #5CC8FF; --sniper: #FF6F91; --guard: #57D195; --scout: #B69CFF;
  /* state */
  --good: #3DDC97; --bad: #FF6B6B; --warn: #FFC861;
  --r: 20px; --r2: 14px; --r3: 10px;
  --shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 30px 60px -34px rgba(0, 0, 0, .85);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* old names the scripts still read */
  --page: var(--bg); --paper: var(--s2); --real: var(--amber);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* a class that sets display never un-hides an element */
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh;
  background:
    radial-gradient(900px 520px at 50% -140px, rgba(255, 181, 71, .13), transparent 70%),
    radial-gradient(1200px 700px at 85% 10%, rgba(92, 120, 255, .07), transparent 70%),
    var(--bg); background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
main, footer { position: relative; z-index: 1; }
::selection { background: rgba(255, 181, 71, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.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 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(6, 8, 14, .72); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.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; box-shadow: inset -1px -2px 2px rgba(0,0,0,.25), inset 1px 1px 2px rgba(255,255,255,.55), 0 0 10px currentColor; }
.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(255, 255, 255, .04); }
.nav a.on { color: var(--ink); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line2); }
.nav a.ext { color: var(--amber); } .nav a.ext::after { content: " ↗"; font-size: 11px; opacity: .7; } .nav a.ext:hover { background: rgba(255, 181, 71, .08); }
.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(255, 255, 255, .03); white-space: nowrap; color: var(--ink2); }
.pill.paper { 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.paper .led { background: var(--copy); box-shadow: 0 0 8px var(--copy); }
.pill.nowallet { color: var(--amber); border-color: rgba(255, 181, 71, .45); } .pill.nowallet .led { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.pill.live .led { background: var(--good); box-shadow: 0 0 0 3px rgba(61, 220, 151, .18); }
.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(255, 255, 255, .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(255, 255, 255, .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 8px 30px -10px rgba(255, 181, 71, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.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(--good); border-color: var(--good); color: #04140C; }
.btn.stop { color: var(--bad); }
.btn[disabled] { opacity: .4; pointer-events: none; }
@media (max-width: 720px) {
  .top .wrap { height: 56px; }
  .nav { display: none; }
  .who { margin-left: auto; }
  .brand b { font-size: 25px; }
}

/* ── 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(--amber); }
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: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0) 40%), var(--s2); 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; }
.panel > header h3 { flex: 1; }
.panel .body { padding: 0 18px 18px; }
.grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .grid.two { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--s2); border-radius: var(--r2); padding: 14px 16px; border: 1px solid var(--line); min-height: 84px; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.stat .k { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat .v { font: 600 24px/1.2 var(--mono); font-variant-numeric: tabular-nums; margin-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.02em; }
.stat .s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── tables: exact numbers, fixed rows */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line2); white-space: nowrap; position: sticky; top: 0; background: var(--s2); z-index: 1; }
.tbl td { padding: 0 12px; height: 44px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td.n, .tbl th.n { text-align: right; }
.tbl tr.click { cursor: pointer; transition: background .12s; }
.tbl tr.click:hover td { background: rgba(255, 181, 71, .05); }
.tbl tr.sel td { background: var(--amber-wash); }
.tbl a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line3); }
.tbl a:hover { color: var(--amber); border-color: var(--amber); }
.scroll { overflow: auto; -webkit-overflow-scrolling: touch; }
.addr { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.tag { display: inline-block; font: 500 10.5px/19px var(--mono); padding: 0 7px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--ink2); letter-spacing: .04em; vertical-align: 1px; }
.tag.kol { background: rgba(182, 156, 255, .14); color: #CDBBFF; } .tag.rug { background: rgba(255, 107, 107, .14); color: #FF9A9A; } .tag.ok { background: rgba(61, 220, 151, .13); color: #7BEBB8; } .tag.real { background: var(--amber); color: var(--amber-ink); } .tag.warn { background: rgba(255, 200, 97, .13); color: var(--warn); }

/* ── the world: the pocket room at night and its pips */
.world { position: relative; aspect-ratio: 3 / 2; width: 100%; border-radius: var(--r); overflow: hidden; background: #050912; }
.world .room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; pointer-events: none; }
.world::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px 10px rgba(5, 7, 12, .55); border-radius: inherit; }
.pip { position: absolute; width: 14%; aspect-ratio: 1; transform: translate(-50%, -88%); cursor: pointer; z-index: 3; }
.pip .body { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center bottom; transform-origin: 50% 100%; animation: breathe 3.6s ease-in-out infinite; filter: brightness(.93) drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.pip .twin { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center bottom; opacity: 0; transform-origin: 50% 100%; }
.pipname { position: absolute; transform: translate(-50%, 5px); z-index: 150; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; color: var(--ink2); white-space: nowrap; background: rgba(8, 11, 18, .72); backdrop-filter: blur(6px); padding: 4px 8px; border-radius: 999px; pointer-events: none; border: 1px solid var(--line2); }
.pip .say { position: absolute; z-index: 200; left: 50%; bottom: 104%; transform: translate(-50%, 6px) scale(.96); width: max-content; max-width: 220px; padding: 9px 12px; font-size: 12.5px; line-height: 1.35; color: var(--ink); background: rgba(16, 21, 31, .94); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.8); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; white-space: normal; }
.pip .say.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.pip .say::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 11px; height: 11px; background: rgba(16, 21, 31, .94); border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); transform: translateX(-50%) rotate(45deg); }
.pip .fx { position: absolute; inset: 0; pointer-events: none; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.02, .975); } }
/* reactions, each tied to a real event (world.js REACT) */
.pip.r-bounce .body { animation: bounce .9s cubic-bezier(.3, 1.6, .5, 1) 2; }
@keyframes bounce { 0% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(0) scale(1.1, .86); } 50% { transform: translateY(-34%) scale(.94, 1.08); } 80% { transform: translateY(0) scale(1.06, .92); } 100% { transform: translateY(0) scale(1); } }
.pip.r-flash .fx { background: radial-gradient(circle at 50% 42%, rgba(120, 240, 255, .95) 0, rgba(120, 240, 255, 0) 38%); animation: flash .9s ease-out 3; mix-blend-mode: screen; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
.pip.r-split .twin { animation: split 1.6s ease-in-out 1; }
.pip.r-split .body { animation: splitA 1.6s ease-in-out 1; }
@keyframes split { 0% { opacity: 0; transform: translateX(0); } 25% { opacity: .95; transform: translateX(46%); } 75% { opacity: .95; transform: translateX(46%); } 100% { opacity: 0; transform: translateX(0); } }
@keyframes splitA { 0%, 100% { transform: translateX(0); } 25%, 75% { transform: translateX(-24%); } }
.pip.r-shield .body { animation: shield 1.4s ease-in-out 1; }
.pip.r-shield .fx { background: radial-gradient(circle at 50% 55%, rgba(87, 209, 149, 0) 30%, rgba(87, 209, 149, .6) 46%, rgba(87, 209, 149, 0) 60%); animation: flash 1.4s ease-out 2; }
@keyframes shield { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.08) translateY(-6%); } 60% { transform: scale(1.04) translateY(-3%); } }
.pip.r-look .body { animation: look 1.8s ease-in-out 1; }
@keyframes look { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) translateX(-4%); } 60% { transform: rotate(8deg) translateX(4%); } }
.pip.r-sad .body { animation: sad 1.4s ease-in-out 1; }
@keyframes sad { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.04, .9) translateY(3%); } }
.pip.r-cheer .body { animation: bounce .7s cubic-bezier(.3, 1.6, .5, 1) 3; }
.confetti { position: absolute; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; z-index: 6; animation: conf 1.3s ease-out forwards; }
@keyframes conf { to { transform: translate(var(--dx), var(--dy)) rotate(540deg); opacity: 0; } }
.ticker { display: flex; gap: 10px; align-items: center; justify-content: center; height: 48px; padding: 0 16px; overflow: hidden; font-size: 13.5px; border-top: 1px solid var(--line); background: rgba(6, 8, 14, .55); color: var(--ink2); }
.ticker .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 10px currentColor; }
.ticker .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }
.ticker .ago { font: 12px var(--mono); color: var(--faint); flex: none; }

/* ── strategy cards (HOTBOT's "give the team your strategy", approved one by one) */
.cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.cards > .empty { grid-column: 1 / -1; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scard { position: relative; background: var(--s3); border-radius: 16px; border: 1px solid var(--line); padding: 15px 15px 13px; min-height: 176px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.scard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--c, var(--faint)), transparent 70%); opacity: .9; }
.scard .h { display: flex; align-items: center; gap: 10px; }
.scard .h .ico { width: 32px; height: 32px; border-radius: 50%; background-size: 120%; background-position: center 70%; flex: none; background-color: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); }
.scard .h b { flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scard dl { display: grid; grid-template-columns: 82px 1fr; gap: 4px 10px; margin: 0; font-size: 13px; }
.scard dt { color: var(--muted); font: 500 10.5px/19px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.scard dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); }
.scard .foot { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.scard .state { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.scard.armed .state { color: var(--good); } .scard.draft .state { color: var(--warn); } .scard.paused .state { color: var(--faint); }
.scard .why { font-size: 12px; color: var(--warn); min-height: 0; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.1); border: 0; cursor: pointer; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .15s; }
.switch.on { background: var(--good); } .switch.on::after { transform: translateX(18px); }

/* ── asks: they float over the room, so nothing below them moves */
.asks { display: grid; gap: 8px; }
.asks.over { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 20; pointer-events: none; }
.asks.over .ask { pointer-events: auto; box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); }
.body.slot { height: 300px; overflow: auto; }
.ask { display: flex; gap: 10px; align-items: center; background: rgba(28, 22, 10, .92); border: 1px solid rgba(255, 181, 71, .35); border-radius: 14px; padding: 10px 12px; min-height: 56px; backdrop-filter: blur(8px); }
.ask .t { flex: 1; font-size: 13.5px; }
.ask .bar { height: 3px; background: var(--amber); border-radius: 2px; transition: width 1s linear; margin-top: 6px; }

/* ── the chat */
.chat { display: flex; flex-direction: column; height: 540px; }
.chat .log { flex: 1; overflow-y: auto; padding: 4px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 92%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--amber); color: var(--amber-ink); border-bottom-right-radius: 5px; font-weight: 500; }
.msg.them { align-self: flex-start; background: var(--s3); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.msg .from { display: flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.msg .from i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.msg .scard { margin-top: 8px; min-height: 0; background: var(--s4); }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat input { flex: 1; height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: var(--s1); padding: 0 18px; outline: none; color: var(--ink); }
.chat input::placeholder, .field input::placeholder, .field textarea::placeholder, .search::placeholder { color: var(--faint); }
.chat input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-wash); }
.hints { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 10px; scrollbar-width: none; }
.hints button { flex: none; border: 1px solid var(--line2); background: rgba(255,255,255,.03); border-radius: 999px; height: 30px; padding: 0 12px; font-size: 12.5px; cursor: pointer; color: var(--ink2); transition: border-color .15s, color .15s; }
.hints button:hover { border-color: var(--amber); color: var(--amber); }

/* ── forms */
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: var(--s1); padding: 0 13px; outline: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; 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; padding-right: 34px; }
.field textarea { height: 80px; padding: 11px 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-wash); }
.field .help { font-size: 12px; color: var(--muted); }
.form { display: grid; gap: 14px; align-items: start; }
.form > *, .form.cols > * { min-width: 0; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-width: 0; }
.field .row > input { flex: 1; width: auto; }
.field input[type=checkbox] { width: 18px; height: 18px; padding: 0; border-radius: 5px; accent-color: var(--amber); flex: none; }
.check { display: flex; align-items: center; gap: 9px; font: 14px/1.3 var(--sans) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; cursor: pointer; min-height: 30px; }
.search { height: 40px; border-radius: 999px; border: 1px solid var(--line2); background: var(--s1); padding: 0 16px; outline: none; min-width: 0; flex: 1; color: var(--ink); }
.search:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-wash); }
@media (min-width: 720px) { .form.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .form.cols .wide { grid-column: 1 / -1; } }
.seg { display: inline-flex; background: var(--s1); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; height: 30px; padding: 0 13px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--muted); }
.seg button.on { background: var(--s4); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }

/* ── the Hunter */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .tabs { mask: linear-gradient(90deg, #000 85%, transparent); padding-right: 30px; } .panel > header { position: relative; } .panel > header > .num:last-child { position: absolute; top: 18px; right: 18px; font-size: 12px; } .panel > header > div:first-child { padding-right: 0; } .panel > header h3 { padding-right: 64px; } .honest { font-size: 12.5px; } }
.tabs button { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--ink2); transition: border-color .15s, color .15s; }
.tabs button:hover { border-color: var(--line3); color: var(--ink); }
.tabs button.on { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.drawer { position: fixed; z-index: 50; inset: auto 0 0 0; max-height: 88vh; background: var(--s1); border-top: 1px solid var(--line2); border-radius: 22px 22px 0 0; box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .8); transform: translateY(105%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.drawer.on { transform: none; }
@media (min-width: 960px) { .drawer { inset: 62px 0 0 auto; width: 580px; max-height: none; border-radius: 22px 0 0 22px; border-top: 0; border-left: 1px solid var(--line2); transform: translateX(105%); } }
.drawer > header { display: flex; align-items: center; gap: 10px; padding: 16px 20px 12px; border-bottom: 1px solid var(--line); }
.drawer > header b { flex: 1; font-family: var(--mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; color: var(--ink2); }
.drawer .in { overflow-y: auto; padding: 18px 20px 30px; display: grid; gap: 16px; }
.drawer .stat { background: var(--s2); }
.words { font-size: 14.5px; line-height: 1.55; background: var(--s2); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; color: var(--ink2); }
canvas.chart { width: 100%; height: 150px; display: block; }
.honest { font-size: 13px; color: var(--muted); border-left: 2px solid var(--amber); padding: 2px 0 2px 14px; }
.honest b { color: var(--ink); } .honest b.good { color: var(--good); } .honest b.bad { color: var(--bad); }

/* ── shared page head (desk pages) */
.pagehead { display: flex; align-items: flex-end; gap: 18px; padding: 30px 0 6px; }
.pagehead img { filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); }

/* ── landing (2026-10-12 round 2: the bar is agencypad.fun's finish — a living halftone field, hairline cells, a live
   tape, art in every block — with a layout of our own: the room as the stage, a character select, a staged product
   moment, a dossier, the 25 shapes, the payback flow, a giant wordmark) */
.landing .top { background: rgba(6, 8, 14, .55); }
.hero { position: relative; overflow: hidden; padding: 40px 0 0; text-align: center; isolation: isolate; }
.hero .dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mask-image: linear-gradient(180deg, rgba(0,0,0,.16) 0, rgba(0,0,0,.24) 30%, #000 52%, #000 84%, transparent 100%); }   /* faint behind the words, full around the room */
.hero::after { content: ""; position: absolute; left: 50%; top: 52%; width: min(1100px, 120vw); height: 560px; transform: translate(-50%, -20%); background: radial-gradient(closest-side, rgba(255, 168, 60, .22), transparent); z-index: -1; pointer-events: none; }
.hero-copy { position: relative; }
.kicker.pillk { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(10, 13, 21, .7); backdrop-filter: blur(8px); }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); animation: pulse 2s ease-in-out infinite; display: inline-block; flex: none; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { margin: 18px auto 0; max-width: 1200px; font-size: clamp(44px, 7.2vw, 100px); }
.hero .lead { margin: 18px auto 0; text-align: center; font-size: 19px; max-width: 700px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.btn.ghost { background: rgba(10, 13, 21, .6); backdrop-filter: blur(8px); }
.hero-room { position: relative; max-width: 1040px; margin: -18px auto 0; padding: 0 12px; }
.hero-room .world { background: transparent; border-radius: 0; overflow: visible; }
.hero-room .world .room { mask-image: radial-gradient(ellipse 52% 54% at 50% 54%, #000 66%, transparent 100%); }
.hero-room .world::after { display: none; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -10px; position: relative; text-align: left; }
.hero-stats > div { padding: 18px 20px 20px; border-top: 1px solid var(--line2); border-left: 1px solid var(--line); min-height: 98px; }
.hero-stats > div:nth-child(2n+1) { border-left: 0; }
@media (min-width: 760px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hero-stats > div:nth-child(2n+1) { border-left: 1px solid var(--line); } .hero-stats > div:first-child { border-left: 0; } }
.hero-stats .k, .cells .k { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-stats .v { font: 600 34px/1.1 var(--mono); letter-spacing: -.04em; margin-top: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-stats .s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
/* the tape */
.tape { display: flex; align-items: center; height: 54px; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); background: rgba(8, 11, 18, .78); backdrop-filter: blur(10px); margin-top: 0; position: relative; }
.tape-k { flex: none; display: flex; align-items: center; gap: 9px; padding: 0 18px 0 20px; height: 100%; border-right: 1px solid var(--line2); font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); background: rgba(6, 8, 14, .9); z-index: 1; }
.tape-run { flex: 1; min-width: 0; overflow: hidden; height: 100%; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tape-track { display: flex; width: max-content; height: 100%; align-items: center; animation: tape 60s linear infinite; }
.tape-track.idle { animation: none; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape-i { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; white-space: nowrap; font-size: 13.5px; color: var(--ink2); border-right: 1px solid var(--line); height: 26px; }
.tape-i img { width: 26px; height: 26px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.tape-a { font: 12px var(--mono); color: var(--faint); }
/* sections */
.sec { padding: 120px 20px 0; }
.sec-head { display: flex; align-items: flex-end; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.sec-head > div { flex: 1; min-width: 0; }
.sec-head h2 { margin-top: 12px; font-size: clamp(34px, 5vw, 60px); }
.sec-head .more { color: var(--ink2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.sec-head .more:hover { color: var(--amber); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
/* 01 · character select */
.select-stage { position: relative; border-radius: 28px; overflow: hidden; background: #040813; border: 1px solid var(--line); min-height: 560px; }
.select-art { position: absolute; inset: 0; }
.select-art .st { position: absolute; inset: 0; background-color: #040813; background-repeat: no-repeat; background-size: auto 122%; background-position: 82% 44%; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.select-art .st.on { opacity: 1; transform: none; }
.select-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 8, 19, .92) 0%, rgba(4, 8, 19, .5) 38%, transparent 62%); pointer-events: none; }
.select-card { position: absolute; left: 0; top: 0; bottom: 0; width: min(470px, 48%); padding: 40px 40px 34px; display: flex; flex-direction: column; z-index: 1; }
.select-card .role-k { font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.select-card h3 { font-size: 76px; line-height: .95; margin-top: 14px; letter-spacing: -.045em; font-weight: 680; }
.select-card p { color: var(--ink); font-size: 17px; line-height: 1.5; margin: 16px 0 0; min-height: 52px; }
.select-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.select-card li { position: relative; padding-left: 20px; color: var(--ink2); font-size: 14.5px; line-height: 1.45; }
.select-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.select-foot { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line2); }
.select-foot .live { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select-foot .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); flex: none; }
.select-card.swap > * { animation: swapin .6s var(--ease) both; }
.select-card.swap > *:nth-child(2) { animation-delay: .04s; } .select-card.swap > *:nth-child(3) { animation-delay: .08s; } .select-card.swap > *:nth-child(4) { animation-delay: .12s; }
@keyframes swapin { from { opacity: 0; transform: translateY(10px); } }
.select-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.select-tabs .tab { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); cursor: pointer; text-align: left; overflow: hidden; transition: border-color .2s, background .2s; }
.select-tabs .tab:hover { border-color: var(--line3); }
.select-tabs .tab img { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); transition: transform .3s var(--ease); }
.select-tabs .tab b { display: block; font: 600 16px/1.1 var(--display); letter-spacing: -.02em; }
.select-tabs .tab i { display: block; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-top: 5px; }
.select-tabs .tab.on { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 9%, var(--s1)); }
.select-tabs .tab.on img { transform: translateY(-3px) scale(1.06); }
.select-tabs .tab.on i { color: var(--c); }
.select-tabs .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--c); }
.select-tabs .tab.on.auto .bar { animation: fill 7s linear forwards; }
@keyframes fill { to { width: 100%; } }
@media (max-width: 860px) {
  .select-stage { min-height: 0; }
  .select-art { position: relative; aspect-ratio: 3 / 2; }
  .select-art .st { background-size: cover; background-position: 50% 50%; }
  .select-stage::after { background: linear-gradient(180deg, transparent 45%, rgba(4, 8, 19, .9) 66.6%, #040813 66.6%); }
  .select-card { position: relative; width: auto; padding: 4px 22px 24px; margin-top: -54px; }
  .select-card h3 { font-size: 52px; }
  .select-card p { min-height: 0; font-size: 16px; }
  .select-foot { margin-top: 20px; }
  .select-tabs { gap: 6px; }
  .select-tabs .tab { flex-direction: column; gap: 6px; padding: 10px 4px 12px; text-align: center; }
  .select-tabs .tab img { width: 38px; height: 38px; }
  .select-tabs .tab b { font-size: 13px; } .select-tabs .tab i { display: none; }
}
/* 02 · the product moment */
.moment { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); counter-reset: f; }
@media (min-width: 960px) { .moment { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; } }
.frame { position: relative; display: flex; flex-direction: column; }
.frame-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--mono); color: var(--amber-ink); background: var(--amber); box-shadow: 0 0 0 6px rgba(255, 181, 71, .12), 0 0 30px rgba(255, 181, 71, .35); }
@media (min-width: 960px) { .frame:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 50px; right: -26px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 181, 71, .55) 0 6px, transparent 6px 12px); background-size: 24px 1px; animation: march 1.2s linear infinite; } }
@keyframes march { to { background-position: 24px 0; } }
.frame-t { font: 600 24px/1.15 var(--display); letter-spacing: -.025em; margin: 18px 0 14px; }
.frame-body { flex: 1; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 50%), var(--s2); padding: 18px; min-height: 236px; box-shadow: var(--shadow); }
.chatlet { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.chatlet .b { max-width: 92%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.chatlet .b.me { align-self: flex-end; background: var(--amber); color: var(--amber-ink); border-bottom-right-radius: 5px; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.chatlet .b.them { align-self: flex-start; background: var(--s4); border: 1px solid var(--line2); border-bottom-left-radius: 5px; color: var(--ink); position: relative; padding-left: 50px; }
.chatlet .b.them img { position: absolute; left: 8px; top: 9px; width: 34px; height: 34px; }
.cardlet { border-radius: 16px; border: 1px solid var(--line2); background: var(--s1); overflow: hidden; }
.cardlet-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(92, 200, 255, .12), transparent 70%); }
.cardlet-h img { width: 30px; height: 30px; }
.cardlet-h b { flex: 1; font-size: 14.5px; }
.cardlet dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 16px; margin: 0; padding: 14px; font-size: 13.5px; }
.cardlet dt { color: var(--muted); font: 500 10.5px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.cardlet dd { margin: 0; font-family: var(--mono); font-size: 13px; text-align: right; color: var(--ink); }
.switch.demo { pointer-events: none; }
.reveal.in .switch.demo { animation: flip .01s .7s forwards; }
.reveal.in .switch.demo::after { animation: knob .35s .7s var(--ease) forwards; }
@keyframes flip { to { background: var(--good); } }
@keyframes knob { to { transform: translateX(18px); } }
.evlist { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.evlist .ev { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--s1); font-size: 13.5px; color: var(--ink2); }
.evlist .ev img { width: 30px; height: 30px; flex: none; }
.evlist .ev b { color: var(--ink); font-weight: 600; } .evlist .ev b.good { color: var(--good); }
html.js .reveal .evlist .ev { opacity: 0; transform: translateX(-8px); }
.phone-only { display: none; }
.reveal.in .evlist .ev { animation: evin .5s var(--ease) forwards; }
.reveal.in .evlist .ev:nth-child(1) { animation-delay: 1.1s; } .reveal.in .evlist .ev:nth-child(2) { animation-delay: 1.6s; } .reveal.in .evlist .ev:nth-child(3) { animation-delay: 2.1s; }
@keyframes evin { to { opacity: 1; transform: none; } }
.moment-note { margin: 22px 0 0; max-width: 780px; color: var(--muted); font-size: 14px; line-height: 1.6; }
/* 03 · the dossier */
.dossier { border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(700px 260px at 0% 0%, rgba(255, 181, 71, .08), transparent 70%), var(--s2); overflow: hidden; box-shadow: var(--shadow); }
.dossier-top { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.dossier-top img { filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); flex: none; }
.dossier-top .who { flex: 1; min-width: 0; }
.dossier-top .addr { margin-top: 7px; font: 500 14px/1.3 var(--mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dossier-big { padding: 26px 26px 0; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.dossier-big .big { font: 600 clamp(44px, 7vw, 84px)/1 var(--mono); letter-spacing: -.05em; min-width: 4ch; }
.dossier-big .muted { font-size: 14px; max-width: 360px; }
.dossier canvas.chart { margin: 18px 0 0; padding: 0 16px; }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 720px) { .cells { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cells > div { background: var(--s2); padding: 18px 22px; min-height: 90px; }
.cells .s { font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cells .v { font: 600 26px/1.15 var(--mono); letter-spacing: -.03em; margin-top: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 04 · the 25 shapes */
.shapes { display: grid; grid-template-columns: 110px repeat(5, minmax(0, 1fr)); gap: 10px; align-items: center; max-width: 960px; margin: 0 auto; }
.sh-col { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; padding-bottom: 4px; }
.sh-row { font: 600 20px/1 var(--display); letter-spacing: -.02em; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.sh-row::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.sh { position: relative; aspect-ratio: 1; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--c) 20%, transparent), transparent 62%), var(--s1); display: grid; place-items: center; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.sh img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0,0,0,.55)); transition: transform .35s var(--ease); }
.sh:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--c) 60%, transparent); }
.sh:hover img { transform: scale(1.08) rotate(-3deg); }
.sh.def::after { content: "default"; position: absolute; top: 9px; right: 10px; font: 500 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c); opacity: .8; }
@media (max-width: 720px) { .shapes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .sh-corner, .sh-row { display: none; } .sh { border-radius: 14px; } .sh.def::after { display: none; } .sh-col { font-size: 9px; letter-spacing: .06em; } }
/* 05 · the payback */
.payback { position: relative; text-align: center; padding: 70px 26px 60px; border-radius: 32px; border: 1px solid rgba(255, 181, 71, .22); background: radial-gradient(800px 380px at 50% 0%, rgba(255, 181, 71, .16), transparent 70%), var(--s1); overflow: hidden; }
.payback::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 200, 120, .16) 1px, transparent 1.4px); background-size: 14px 14px; mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent); pointer-events: none; }
.payback h2 { margin: 16px auto 0; max-width: 900px; font-size: clamp(36px, 5.6vw, 68px); position: relative; }
.flow { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; margin: 44px auto 0; max-width: 1060px; }
.flow .node { flex: none; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line2); background: rgba(6, 8, 14, .75); text-align: left; min-width: 170px; }
.flow .node span { display: block; font: 600 20px/1.1 var(--display); letter-spacing: -.02em; }
.flow .node b { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.flow .node.amber { border-color: rgba(255, 181, 71, .55); background: rgba(255, 181, 71, .1); box-shadow: 0 0 40px -10px rgba(255, 181, 71, .5); }
.flow .node.amber span { color: var(--amber); }
.flow .wire { flex: 1; min-width: 22px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 181, 71, .7) 0 6px, transparent 6px 12px); background-size: 24px 1px; animation: march 1s linear infinite; }
@media (max-width: 860px) { .flow { flex-direction: column; align-items: stretch; max-width: 340px; } .flow .wire { min-width: 0; width: 1px; height: 22px; flex: none; align-self: center; background: repeating-linear-gradient(180deg, rgba(255, 181, 71, .7) 0 6px, transparent 6px 12px); background-size: 1px 24px; animation: marchv 1s linear infinite; } .flow .node { text-align: center; } }
@keyframes marchv { to { background-position: 0 24px; } }
.payback .cells { margin: 34px auto 0; max-width: 860px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-align: left; }
.payback .cells > div { background: var(--s1); }
.risk-line { margin: 22px auto 0; font-size: 13px; color: var(--muted); max-width: 640px; }
/* the footer with the giant wordmark */
.site-foot { margin-top: 130px; border-top: 1px solid var(--line); padding: 50px 0 0; overflow: hidden; position: relative; z-index: 1; }
.site-foot .cols { display: grid; gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .site-foot .cols { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); } }
.site-foot h4 { margin: 0 0 12px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-foot a { display: block; color: var(--ink2); text-decoration: none; padding: 4px 0; font-size: 14px; }
.site-foot a:hover { color: var(--amber); }
.site-foot .brandline { font: 720 30px/1.1 var(--display); letter-spacing: -.035em; }
.site-foot .fine { margin-top: 34px; font-size: 12.5px; color: var(--faint); max-width: 760px; line-height: 1.6; }
.giant { font: 800 clamp(120px, 31vw, 470px)/.8 var(--display); letter-spacing: -.06em; text-align: center; margin: 40px 0 -2.2vw; color: transparent; background: linear-gradient(180deg, rgba(255, 181, 71, .2) 0%, rgba(255, 181, 71, .07) 45%, rgba(255, 181, 71, 0) 88%); -webkit-background-clip: text; background-clip: text; user-select: none; }   /* a fill, not a stroke: the variable font's overlapping outlines would show through a stroke */
.rise { opacity: 0; transform: translateY(14px); filter: blur(3px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
/* the Scout's empty state */
.peek { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
@media (min-width: 720px) { .peek { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.peek > div { border: 1px dashed var(--line2); border-radius: var(--r2); padding: 20px 22px; background: rgba(255,255,255,.012); }
.peek h3 { font-size: 22px; margin-top: 10px; }
.peek p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 8px 0 0; }
@media (max-width: 640px) {
  .wide-only { display: none; }
  .hero { padding-top: 34px; }
  .hero .kicker.pillk { letter-spacing: .1em; font-size: 10.5px; }
  .hero .lead { font-size: 16.5px; }
  .pipname { font-size: 8.5px; padding: 2px 5px; letter-spacing: .02em; }
  .hero-stats .v { font-size: 26px; }
  .tape-k { padding: 0 14px; } .phone-only { display: inline; }
  .select-foot { flex-direction: column; align-items: stretch; } .select-foot .btn { justify-content: center; }
  .sec { padding-top: 84px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dossier-top { flex-wrap: wrap; padding: 18px; } .dossier-top .btn { width: 100%; justify-content: center; }
  .dossier-big { padding: 20px 18px 0; }
  .payback { padding: 50px 18px 40px; }
}
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; filter: none; } .pip .body, .tape-track, .flow .wire, .frame::after { animation: none; } html.js .reveal:not(.in) { opacity: 1; transform: none; } }
/* the old landing roles and hero (kept for pages that still use them) */
.roles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .roles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.section { padding: 34px 0; }
.foot { padding: 30px 0 60px; color: var(--muted); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.prose { max-width: 760px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--ink2); }
.prose p b, .prose li b { color: var(--ink); }
.prose h1 { margin-top: 14px; }
.prose h2 { margin: 40px 0 12px; font-size: 32px; } .prose h3 { margin: 26px 0 8px; }
.prose a { color: var(--amber); }
.prose code { font-family: var(--mono); font-size: 13px; background: var(--s3); padding: 1px 6px; border-radius: 6px; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.03) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 10px; color: transparent !important; border-color: transparent !important; }
@keyframes sk { to { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--s4); border: 1px solid var(--line2); color: var(--ink); padding: 12px 18px; border-radius: 14px; font-size: 14px; z-index: 80; transition: transform .3s var(--ease); max-width: 92vw; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); }
.toast.on { transform: translate(-50%, 0); }
.qr { width: 184px; height: 184px; background: #fff; border-radius: 14px; padding: 10px; }
.empty { padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp { flex: 1; }
.mt { margin-top: 18px; } .mt2 { margin-top: 30px; }

/* ── desk pages: each desk opens on its pip's own station (image-model art, the same night world as the room) */
.desk-hero { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #040813; min-height: 320px; display: flex; align-items: center; margin: 8px 0 6px; isolation: isolate; }
.desk-hero .desk-art { position: absolute; inset: 0; background-repeat: no-repeat; background-size: auto 134%; background-position: 94% 28%; z-index: -2; }
.desk-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #040813 0%, rgba(4, 8, 19, .94) 34%, rgba(4, 8, 19, .35) 62%, transparent 80%); }
.desk-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 14px 14px; mask-image: linear-gradient(90deg, #000, transparent 55%); }
.desk-copy { padding: 34px 38px; max-width: min(620px, 60%); }
.desk-copy .kicker { display: flex; align-items: center; gap: 9px; color: var(--ink2); }
.desk-copy .kicker .dot { width: 8px; height: 8px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.desk-copy h1 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 14px; line-height: 1.02; }
.desk-copy h1 em { color: var(--c); }
.desk-copy p { color: var(--ink2); font-size: 15.5px; line-height: 1.55; margin: 14px 0 0; }
.desk-copy form { margin-top: 18px; display: flex; gap: 8px; }
.desk-copy form input { flex: 1; min-width: 0; height: 44px !important; background: rgba(6, 8, 14, .8) !important; }
@media (max-width: 760px) {
  .desk-hero { display: block; min-height: 0; }
  .desk-hero .desk-art { position: relative; inset: auto; aspect-ratio: 16 / 9; background-size: cover; background-position: 50% 42%; }
  .desk-hero::before { background: linear-gradient(180deg, transparent 0, transparent 30%, #040813 56.25vw); }
  .desk-copy { max-width: none; padding: 0 20px 22px; margin-top: -30px; position: relative; }
}
.payback.slim { padding: 46px 26px 40px; margin: 8px 0 22px; }
.payback.slim h1 { margin: 14px auto 0; max-width: 820px; font-size: clamp(32px, 4.6vw, 54px); position: relative; }
.payback.slim .flow { margin-top: 32px; }
.payback.slim .lead { margin: 28px auto 0; max-width: 720px; font-size: 15.5px; position: relative; }
/* the desk forms as numbered steps */
.steps-form { display: block; }
.grp { border: 0; margin: 0; padding: 20px 0 6px; border-top: 1px solid var(--line); min-width: 0; }
.grp:first-child { border-top: 0; padding-top: 2px; }
.grp legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 14px; font: 600 19px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.grp legend b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-wash); border: 1px solid rgba(255, 181, 71, .35); color: var(--amber); font: 600 12px/1 var(--mono); }
.grp-body { clear: both; display: grid; gap: 12px 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grp-body { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grp-body > .wide { grid-column: 1 / -1; } }
.form-go { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
/* stats as hairline cells everywhere (one family with the landing's cells) */
.stats { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stats > .stat { border: 0; border-radius: 0; box-shadow: none; background: var(--s2); }
/* the squad's room on the dot texture, its edges dissolving */
.room-panel { background: radial-gradient(ellipse at 50% 60%, rgba(255, 168, 60, .12), transparent 65%), radial-gradient(rgba(205, 218, 255, .09) 1px, transparent 1.4px) 0 0 / 14px 14px, var(--s1); }
.room-panel .world { background: transparent; }
.room-panel .world::after { display: none; }
.room-panel .world .room { mask-image: radial-gradient(ellipse 54% 56% at 50% 54%, #000 70%, transparent 100%); }
/* the reading pages: a big serif title over a hairline, a calm column */
.prose > h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1; letter-spacing: -.045em; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.prose > .kicker:first-child { margin-top: 18px; }
.prose h2 { padding-top: 10px; }
/* the chat: the agent's typing dots, its memory */
.panel.chat { position: relative; }
.panel.chat > header .tag { margin-left: auto; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink2); opacity: .35; animation: typing 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: .35; transform: none; } }
.memnote { display: inline-flex; margin-top: 8px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 181, 71, .35); background: var(--amber-wash); color: var(--amber2); font: 500 12px/1.4 var(--sans); cursor: pointer; }
.mem { position: absolute; inset: 58px 12px 12px; z-index: 5; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line2); background: rgba(11, 15, 24, .97); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.mem-h, .mem-f { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.mem-h { border-bottom: 1px solid var(--line); } .mem-h b { flex: 1; font: 600 17px/1.2 var(--display); }
.mem-f { border-top: 1px solid var(--line); font-size: 12.5px; } .mem-f span { flex: 1; min-width: 0; }
.mem-l { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.mem-i { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 10px 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--s2); font-size: 13.5px; }
.mem-i small { font: 11px var(--mono); }
.mem-i button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--muted); cursor: pointer; }
.mem-i button:hover { color: var(--bad); border-color: var(--bad); }

/* ── the Hunter as a tool (his terminal's Hunter: screens + filters on the left, a stats bar, dense sortable rows, the
   evidence under the row, ticks and a mass strip), in the night theme */
.hunt-wrap { max-width: 1560px; padding-top: 16px; padding-bottom: 30px; }
.desk-hero.slim { min-height: 0; margin-bottom: 14px; }
.desk-hero.slim .desk-art { background-size: auto 240%; background-position: 92% 52%; }
.desk-hero.slim .desk-copy { padding: 22px 30px; max-width: min(720px, 64%); }
.desk-hero.slim h1 { font-size: clamp(26px, 3vw, 40px); margin-top: 10px; }
.desk-hero.slim form { max-width: 560px; }
.desk-hero.slim form input { height: 40px !important; border-radius: 999px; border: 1px solid var(--line2); padding: 0 16px; color: var(--ink); font-family: var(--mono); font-size: 13px; }
.hunt { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--s1); min-height: 70vh; }
.hunt-side { border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 18px; background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 40%), var(--s1); font-size: 12.5px; color: var(--ink2); }
.hs-sec { display: flex; flex-direction: column; gap: 8px; }
.hs-sec > h4 { margin: 0; display: flex; justify-content: space-between; font: 500 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hs-x { cursor: pointer; text-transform: none; letter-spacing: 0; } .hs-x:hover { color: var(--bad); }
.hs-filters { display: flex; flex-direction: column; gap: 18px; }
.hs-screens { display: flex; flex-direction: column; gap: 3px; }
.hs-scr { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 9px; height: 36px; padding: 0 10px 0 8px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--ink2); cursor: pointer; text-align: left; font: 500 13px/1.2 var(--sans); position: relative; }
.hs-scr:hover { background: rgba(255,255,255,.035); color: var(--ink); }
.hs-scr.on { background: var(--amber-wash); border-color: rgba(255, 181, 71, .3); color: var(--ink); }
.hs-scr.on::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--amber); }
.hs-scr .hs-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-scr .hs-n { font-size: 11px; color: var(--muted); }
.hs-k { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 600 10px/1 var(--mono); }
.hs-k.wallet { background: rgba(92, 200, 255, .13); color: var(--copy); } .hs-k.dev { background: rgba(255, 111, 145, .13); color: var(--sniper); }
.hs-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hs-chip { height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--ink2); font: 500 12px/1 var(--sans); cursor: pointer; }
.hs-chip:hover { color: var(--ink); border-color: var(--line3); }
.hs-chip.on { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); }
.hs-ranges { display: flex; flex-direction: column; gap: 5px; }
.hs-r { display: grid; grid-template-columns: 86px minmax(0, 1fr) minmax(0, 1fr); gap: 5px; align-items: center; }
.hs-r label { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-r input, .hs-save input { height: 28px; min-width: 0; width: 100%; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg); color: var(--ink); padding: 0 8px; font: 500 12px/1 var(--mono); }
.hs-r input:focus, .hs-save input:focus { outline: none; border-color: var(--amber); }
.hs-saved { display: flex; flex-direction: column; gap: 4px; }
.hs-sv { display: flex; align-items: center; gap: 4px; }
.hs-sv button { flex: 1; text-align: left; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink2); cursor: pointer; font: 500 12.5px/1 var(--sans); }
.hs-sv button.x { flex: none; width: 28px; padding: 0; text-align: center; } .hs-sv button.x:hover { color: var(--bad); }
.hs-save { display: flex; gap: 5px; }
.hunt-main { display: flex; flex-direction: column; min-width: 0; position: relative; }
.hunt-bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(6, 8, 14, .4); font-size: 12.5px; color: var(--muted); }
.hb-q { width: min(340px, 40%); height: 32px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg); color: var(--ink); padding: 0 14px; font: 500 12.5px/1 var(--sans); }
.hb-q:focus { outline: none; border-color: var(--amber); }
.hb-n b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.hb-st { font-family: var(--mono); font-size: 11.5px; }
.hb-sp { flex: 1; }
.hb-ib { height: 32px; min-width: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--ink2); cursor: pointer; font: 500 12.5px/1 var(--sans); }
.hb-ib:hover { color: var(--ink); border-color: var(--line3); }
#filters { display: none; }
.hunt-note { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; min-height: 104px; }
.hn-name { font: 600 22px/1.1 var(--display); letter-spacing: -.02em; }
.hn-notes { color: var(--ink2); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-honest { font-size: 12.5px; color: var(--ink2); line-height: 1.5; border-left: 2px solid var(--amber); padding-left: 12px; }
.hn-honest b { color: var(--ink); } .hn-honest b.good { color: var(--good); } .hn-honest b.bad { color: var(--bad); }
.hunt-look { border-bottom: 1px solid var(--line); background: rgba(255, 181, 71, .035); }
.hl-h { display: flex; align-items: center; gap: 12px; padding: 10px 16px 0; font-size: 13px; } .hl-h .addr { color: var(--ink2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; } .hl-h .sp { flex: 1; }
.hunt-table { flex: 1; min-height: 0; overflow: auto; max-height: calc(100vh - 210px); }
.ht { font-size: 13px; }
.ht-h, .ht-r { display: grid; align-items: center; column-gap: 0; }
.ht-h { position: sticky; top: 0; z-index: 2; height: 38px; background: rgba(11, 15, 24, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line2); font: 500 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ht-h > span, .ht-r > span { padding: 0 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-h .srt { cursor: pointer; } .ht-h .srt:hover { color: var(--ink); } .ht-h .cur { color: var(--amber); }
.ht-h .n, .ht-r .n { text-align: right; justify-content: flex-end; }
.ht-r { height: 46px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; transition: background .12s; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--ink); }
.ht-r:hover { background: rgba(255, 255, 255, .025); }
.ht-r.open { background: var(--amber-wash); box-shadow: inset 3px 0 0 var(--amber); }
.ht-r.sel { background: rgba(92, 200, 255, .06); }
.ht-r.done > span:not(.act):not(.ck) { opacity: .45; }
.ht-r:focus { outline: none; }
.ht-r .rk { color: var(--faint); font-size: 11.5px; }
.ht-r .tx { font-family: var(--sans); color: var(--ink2); }
.ck { display: flex; justify-content: center; } .ck input { width: 15px; height: 15px; accent-color: var(--amber); cursor: pointer; }
.hw { display: flex; align-items: center; gap: 9px; }
.hw .av { width: 24px; height: 24px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.06); }
.hw i.av { opacity: .85; background-image: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 45%) !important; }
.hw .addr { font-size: 12.5px; color: var(--ink); }
.hw .tag { flex: none; font-size: 10.5px; padding: 1px 7px; }
.d7 { display: flex; gap: 3px; align-items: center; }
.d7 i { width: 7px; height: 7px; border-radius: 2px; background: rgba(205, 218, 255, .1); }
.d7 i.on { background: var(--good); box-shadow: 0 0 6px rgba(61, 220, 151, .5); }
.act { display: flex; gap: 4px; justify-content: flex-end; align-items: center; position: sticky; right: 0; z-index: 1; height: 100%; background: linear-gradient(90deg, transparent, var(--s1) 18px); padding-left: 22px !important; }
.ht-r:hover .act { background: linear-gradient(90deg, transparent, #12161f 18px); } .ht-r.open .act { background: linear-gradient(90deg, transparent, #1b1912 18px); }
.act-h { position: sticky; right: 0; height: 100%; background: inherit; }
.act button { height: 26px; min-width: 26px; padding: 0 7px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font: 500 12px/1 var(--sans); }
.act button:hover { color: var(--ink); border-color: var(--line3); }
.act button.on { color: var(--good); border-color: rgba(61, 220, 151, .4); }
.act button.go { color: var(--amber); border-color: rgba(255, 181, 71, .35); padding: 0 10px; }
.act button.go:hover { background: var(--amber); color: var(--amber-ink); }
/* the ladders: his terminal's tiers in the night palette */
.l-0 { color: var(--faint); } .l-1 { color: var(--ink); } .l-2 { color: #3DDC97; } .l-3 { color: #A6F024; } .l-top { color: var(--amber); font-weight: 600; } .l-fire { color: #FF8A3D; font-weight: 700; }
.l-bad { color: var(--bad); } .l-warn { color: var(--warn); }
/* the evidence under a row */
.hx { position: sticky; left: 0; box-sizing: border-box; padding: 16px 16px 18px; border-bottom: 1px solid var(--line2); background: linear-gradient(180deg, rgba(255, 181, 71, .05), transparent 140px), var(--s2); display: grid; gap: 14px; cursor: default; font-family: var(--sans); animation: hxin .25s var(--ease); }
@keyframes hxin { from { opacity: 0; transform: translateY(-4px); } }
.hx-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .hx-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.hx-l { display: grid; gap: 12px; align-content: start; }
.hx-r { border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 6px; background: var(--s1); }
.hx-cells { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hx-cells > div { padding: 12px 14px; min-height: 0; background: var(--s1); }
.hx-cells .v { font-size: 20px; margin-top: 8px; }
.hx-list { display: grid; gap: 8px; }
.hx-list .scroll { max-height: 280px; }
/* the mass strip */
.hunt-mass { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 14px; border-top: 1px solid var(--line2); background: rgba(11, 15, 24, .96); backdrop-filter: blur(8px); font-size: 13px; color: var(--muted); z-index: 3; }
.hm-n b { color: var(--ink); font-family: var(--mono); } .hm-sp { flex: 1; } .hm-st { font-size: 12.5px; color: var(--ink2); max-width: 48%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .hunt { grid-template-columns: minmax(0, 1fr); }
  .hunt-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; gap: 12px; }
  .hs-screens { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .hs-scr { flex: none; grid-template-columns: 22px auto auto; border-color: var(--line); }
  .hs-scr.on::before { display: none; }
  .hs-filters { display: none; }
  body.hf-open .hs-filters { display: flex; }
  #filters { display: inline-block; }
  .hunt-bar { gap: 8px; } .hb-q { width: auto; flex: 1; min-width: 0; } .hb-st, .hb-n { display: none; }
  .hunt-table { max-height: none; }
  .desk-hero.slim .desk-art { background-size: cover; }
  .desk-hero.slim .desk-copy { max-width: none; padding: 0 18px 18px; margin-top: -24px; }
  .hm-st { display: none; }
  .act, .act-h { position: static; background: none !important; padding-left: 10px !important; } .act button:not(.go) { display: none; }
  .hw .tag { display: none; }
}
/* slot charts and result charts (public/js/slotchart.js, lightweight-charts) */
.sc { position: relative; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(600px 200px at 70% 0%, rgba(255, 181, 71, .05), transparent 70%), var(--bg); overflow: hidden; display: flex; flex-direction: column; }
.sc.res { height: 268px; } .sc.slot { height: 470px; }
.sc-top { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px 4px; min-height: 40px; }
.sc-leg { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 500 11.5px/1.5 var(--mono); color: var(--ink2); }
.sc-leg b { font: 600 14px/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; }
.sc-leg i { font-style: normal; color: var(--ink); } .sc-leg .good, .sc-leg i.good { color: var(--good); } .sc-leg .bad, .sc-leg i.bad { color: var(--bad); }
.sc-leg .tag { font-size: 10px; padding: 0 7px; }
.sc-tools { display: flex; gap: 4px; flex: none; }
.sc-tools button { height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(6, 8, 14, .6); color: var(--ink2); cursor: pointer; font: 500 11.5px/1 var(--sans); }
.sc-tools button:hover { color: var(--ink); border-color: var(--line3); } .sc-tools button.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.sc-stage { flex: 1; min-height: 0; position: relative; }
.sc-foot { padding: 4px 12px 8px; font: 500 10.5px/1.4 var(--mono); color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-empty { margin: auto; padding: 30px 20px; text-align: center; color: var(--muted); font-size: 13px; }
.sc-empty.skeleton { margin: 12px; border-radius: 12px; flex: 1; display: grid; place-items: center; }
.hx-r.sc-empty { border: 1px dashed var(--line2); border-radius: 14px; display: grid; place-items: center; }
.hx-r { padding: 0; border: 0; background: none; display: grid; gap: 8px; align-content: start; min-width: 0; }
.hx-l { min-width: 0; }
.hx-slot { display: grid; gap: 8px; }
.hx-sh { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hx-sh .kicker { flex: none; }
.sc-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.sc-chips::-webkit-scrollbar { display: none; }
.sc-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line2); background: var(--s1); color: var(--ink2); cursor: pointer; font: 500 12px/1 var(--sans); }
.sc-chip b { color: var(--ink); font-weight: 600; } .sc-chip span { font-family: var(--mono); font-size: 11.5px; } .sc-chip i { font-style: normal; font-size: 10.5px; color: var(--muted); font-family: var(--mono); }
.sc-chip.up span { color: var(--good); } .sc-chip.dn span { color: var(--bad); }
.sc-chip:hover { border-color: var(--line3); } .sc-chip.on { border-color: var(--amber); background: var(--amber-wash); box-shadow: 0 0 0 1px rgba(255, 181, 71, .3); }
.tbl.click tbody tr { cursor: pointer; } .tbl.click tbody tr:hover td { background: rgba(255, 255, 255, .025); } .tbl.click tbody tr.on td { background: var(--amber-wash); }
@media (max-width: 900px) { .sc.slot { height: 400px; } .sc.res { height: 230px; } .hx-sh { flex-direction: column; align-items: stretch; gap: 6px; } .sc-foot { display: none; } }

.dossier .sc.best-res { margin: 18px 16px 16px; height: 300px; }

/* ── the Hunter, smooth (2026-10-12 pass 2): one page scroll, stickies under the top bar, the evidence slides open,
   the open row stays at the top while you read it, charts crossfade and only zoom after a click */
:root { --topH: 62px; --barH: 52px; --headH: 38px; }
.hunt { overflow: clip; }
.hunt-side { position: sticky; top: calc(var(--topH) + 10px); align-self: start; max-height: calc(100vh - var(--topH) - 20px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent; }
.hunt-bar { position: sticky; top: var(--topH); z-index: 6; background: rgba(9, 12, 19, .92); backdrop-filter: blur(12px) saturate(1.2); }
.hunt-table { overflow: visible; max-height: none; transition: opacity .22s var(--ease); }
.hunt-table.fade { opacity: .25; }
.ht-h { top: calc(var(--topH) + var(--barH)); z-index: 5; }
.ht-r { transition: background .16s var(--ease), box-shadow .16s var(--ease); }
.ht-r:focus-visible { box-shadow: inset 3px 0 0 var(--amber); }
.ht-g > .ht-r.open { position: sticky; top: calc(var(--topH) + var(--barH) + var(--headH)); z-index: 4; background: #1A1710; box-shadow: inset 3px 0 0 var(--amber), 0 10px 24px -14px rgba(0, 0, 0, .9); }
.hx-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .36s var(--ease), opacity .26s var(--ease); }
.hx-wrap.on { grid-template-rows: 1fr; opacity: 1; }
.hx-wrap.now { transition: none; }
.hx-in { overflow: hidden; min-height: 0; }
.hx { position: static; width: auto; animation: none; }
.hx.enter > * { animation: hxin .34s var(--ease) both; }
.hx.enter > *:nth-child(2) { animation-delay: .04s; } .hx.enter > *:nth-child(3) { animation-delay: .08s; } .hx.enter > *:nth-child(4) { animation-delay: .12s; }
@keyframes hxin { from { opacity: 0; transform: translateY(6px); } }
.hx-skel i { display: block; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.03) 100%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
.hx-skel .hx-l { display: grid; gap: 12px; }
/* the charts' layers: a new coin draws under the old one and fades in; the old fades out */
.sc { position: relative; }
.sc-layer { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity .28s var(--ease); }
.sc-layer.in { opacity: 1; } .sc-layer.out { opacity: 0; pointer-events: none; }
.sc.loading .sc-layer { opacity: .45; filter: saturate(.6); transition: opacity .2s, filter .2s; }
.sc.loading::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 40%; z-index: 3; background: linear-gradient(90deg, transparent, var(--amber), transparent); animation: scbar 1s var(--ease) infinite; }
@keyframes scbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.sc-skel { position: absolute; inset: 0; display: grid; place-items: center; }
.sc-skel i { position: absolute; inset: 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.02) 100%); background-size: 200% 100%; animation: sk 1.3s linear infinite; }
.sc-skel span { position: relative; font: 500 12px var(--mono); color: var(--muted); }
.sc.live { box-shadow: 0 0 0 1px rgba(255, 181, 71, .55), 0 0 30px -10px rgba(255, 181, 71, .35); }
.sc.live .sc-hint { color: var(--amber); }
.sc.live .sc-hint::after { content: " · zoom on"; }
.sc-foot { display: flex; gap: 12px; } .sc-foot > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sc-hint { flex: none; transition: color .2s; }
.sc-chips { scroll-behavior: smooth; }
.sc-chip { transition: border-color .15s, background .15s, transform .15s var(--ease); } .sc-chip:active { transform: scale(.97); }
@media (max-width: 900px) { .hunt-bar { top: var(--topH); } .ht-h { position: static; } .ht-g > .ht-r.open { position: static; } .hunt-side { position: static; max-height: none; } }
.hx-keys { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin: -4px 0 -6px; font-size: 11.5px; color: var(--faint); }
.hx-keys kbd { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 6px; border: 1px solid var(--line2); border-bottom-width: 2px; background: var(--s1); color: var(--ink2); font: 500 11px/1 var(--mono); }
.hx-keys kbd:nth-of-type(3), .hx-keys kbd:nth-of-type(5) { margin-left: 10px; }
@media (max-width: 900px) { .hx-keys { display: none; } }
@media (max-width: 900px) { .hunt-mass:not(.has) { display: none; } .hunt-mass .hm-n { white-space: nowrap; } .act button.go { padding: 0 8px; } }
@media (max-width: 900px) { .sc-hint { display: none; } .sc-leg > span:nth-of-type(n+3) { display: none; } .sc-top { flex-wrap: wrap; } .sc-tools button { height: 24px; padding: 0 8px; } }
/* the empty chat */
.hello { margin: auto; text-align: center; display: grid; justify-items: center; gap: 10px; padding: 18px 10px; animation: hxin .5s var(--ease) both; }
.hello .faces { display: flex; gap: 2px; margin-bottom: 4px; }
.hello .faces img { width: 46px; height: 46px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); animation: breathe 4s ease-in-out infinite; }
.hello .faces img:nth-child(2) { animation-delay: -.8s; } .hello .faces img:nth-child(3) { animation-delay: -1.6s; } .hello .faces img:nth-child(4) { animation-delay: -2.4s; } .hello .faces img:nth-child(5) { animation-delay: -3.2s; }
.hello b { font: 640 22px/1.15 var(--display); letter-spacing: -.02em; }
.hello p { margin: 0; max-width: 360px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.hello .tries { display: grid; gap: 7px; margin-top: 8px; width: min(100%, 360px); }
.hello .tries button { text-align: left; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.025); color: var(--ink2); cursor: pointer; font: 500 13.5px/1.3 var(--sans); transition: border-color .15s, color .15s, transform .15s var(--ease); }
.hello .tries button:hover { color: var(--ink); border-color: rgba(255, 181, 71, .45); transform: translateY(-1px); }
.log { display: flex; flex-direction: column; }

/* phones: the tab bar at the foot (like an app), More opens a sheet above it */
.tabbar, .tabs-more { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; height: 62px; padding: 6px; border-radius: 22px; border: 1px solid var(--line2); background: rgba(12, 16, 25, .86); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 16px; text-decoration: none; color: var(--muted); font: 600 10.5px/1 var(--sans); background: none; border: 0; cursor: pointer; transition: color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
  .tabbar img { width: 26px; height: 26px; filter: grayscale(.85) brightness(.75) drop-shadow(0 3px 4px rgba(0,0,0,.5)); transition: filter .2s, transform .25s var(--ease); }
  .tabbar .on { color: var(--ink); background: rgba(255, 255, 255, .06); }
  .tabbar .on img { filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); transform: translateY(-1px) scale(1.06); }
  .more-dots { display: flex; gap: 3px; height: 26px; align-items: center; } .more-dots b { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .tabs-more { position: fixed; left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 41; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px; border-radius: 20px; border: 1px solid var(--line2); background: rgba(12, 16, 25, .96); backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); animation: hxin .22s var(--ease) both; }
  .tabs-more[hidden] { display: none !important; }
  .tabs-more a { padding: 13px 14px; border-radius: 14px; text-decoration: none; color: var(--ink2); background: rgba(255,255,255,.03); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
  .tabs-more a.on { color: var(--ink); border-color: rgba(255, 181, 71, .45); }
  .hunt-mass.has { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
.sc.mins { height: 340px; }
@media (max-width: 720px) { .sc.mins { height: 280px; } }
/* empty places */
.nothing { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 26px 18px 24px; border: 1px dashed var(--line2); border-radius: 18px; background: radial-gradient(260px 120px at 50% 20%, rgba(255, 181, 71, .06), transparent 70%); }
.nothing img { width: 64px; height: 64px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); animation: breathe 4s ease-in-out infinite; }
.nothing b { font: 640 18px/1.2 var(--display); letter-spacing: -.02em; }
.nothing p { margin: 0 0 6px; max-width: 340px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
/* the wallet: the four steps to a real squad */
.journey { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: j; }
.journey li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); color: var(--muted); }
.journey li i { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--mono); font-style: normal; border: 1px solid var(--line2); color: var(--muted); }
.journey li b { font: 640 15.5px/1.2 var(--display); color: var(--ink2); letter-spacing: -.01em; }
.journey li span { font-size: 12.5px; line-height: 1.35; }
.journey li.now { border-color: rgba(255, 181, 71, .5); background: linear-gradient(180deg, rgba(255, 181, 71, .08), transparent), var(--s1); box-shadow: 0 0 40px -16px rgba(255, 181, 71, .5); }
.journey li.now i { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.journey li.now b { color: var(--ink); }
.journey li.done i { background: rgba(61, 220, 151, .14); border-color: rgba(61, 220, 151, .5); color: var(--good); }
.journey li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 12px; height: 1px; background: var(--line3); }
@media (max-width: 860px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } .journey li::after { display: none; } }
@media (max-width: 480px) { .journey li span { display: none; } }
/* the Guard's alarm rows: the card takes the whole row of the cards grid; each label keeps a readable width and its
   sell / ask / off drops under it when the card is narrow (never one word per line) */
.cards > .gcard { grid-column: 1 / -1; }
.grow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; min-height: 42px; }
.grow > span { flex: 1 1 170px; min-width: 0; font-size: 14px; color: var(--ink2); line-height: 1.3; }
.grow .seg { flex: none; width: 150px; display: grid; grid-template-columns: repeat(3, 1fr); }
.grow .seg button { padding: 0; }
.grow .seg button.on { color: var(--amber-ink); background: var(--amber); box-shadow: none; }
.grow .seg button:first-child.on { background: var(--bad); color: #1A0606; }
.grow .seg button:last-child.on { background: var(--s4); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
/* the coin pill and the X button in the top bar */
.coinbits { display: flex; align-items: center; gap: 6px; flex: none; }
.pill.ca, .pill.soon { gap: 8px; cursor: pointer; background: rgba(255, 181, 71, .08); border-color: rgba(255, 181, 71, .3); color: var(--ink2); font-family: var(--mono); }
.pill.ca b, .pill.soon b { color: var(--amber); font-weight: 600; letter-spacing: .02em; }
.pill.ca:hover { border-color: var(--amber); color: var(--ink); }
.pill.soon { cursor: default; } .pill.soon span { color: var(--muted); }
.xbtn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ink2); border: 1px solid var(--line2); background: rgba(255,255,255,.03); transition: color .15s, border-color .15s; }
.xbtn:hover { color: var(--ink); border-color: var(--line3); }
.tabs-more .xrow { grid-column: 1 / -1; color: var(--amber2); border-color: rgba(255, 181, 71, .3); background: rgba(255, 181, 71, .06); }
@media (max-width: 720px) { .coinbits { display: none; } }
@media (max-width: 1100px) and (min-width: 721px) { .coinbits .pill span { display: none; } }
/* the landing footer's follow column */
.site-foot .ca-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255, 181, 71, .3); background: rgba(255, 181, 71, .06); font: 500 12.5px/1.2 var(--mono); color: var(--ink2); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-foot .ca-line b { color: var(--amber); }
/* the sign-in card (pages that need an account) and its sheet */
.gate { max-width: 720px; margin: 7vh auto 10vh; text-align: center; display: grid; justify-items: center; gap: 14px; padding: 0 10px; }
.gate-faces { display: flex; gap: 4px; margin-bottom: 6px; }
.gate-faces img { width: 74px; height: 74px; filter: drop-shadow(0 14px 16px rgba(0,0,0,.55)); animation: rise .8s var(--ease) both, breathe 4s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms), calc(var(--i) * -.8s); }
.gate h1 { font-size: clamp(34px, 5.4vw, 64px); }
.gate .lead { text-align: center; margin: 0 auto; }
.gate-list { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gate-list li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); font-size: 13px; color: var(--ink2); }
.gate-msg { min-height: 22px; font-size: 13.5px; color: var(--muted); }
.gate-sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 10, .72); backdrop-filter: blur(8px); animation: hxin .25s var(--ease) both; }
.gate.in-sheet { margin: 0; padding: 30px 22px 22px; border-radius: 26px; border: 1px solid var(--line2); background: radial-gradient(500px 220px at 50% 0%, rgba(255, 181, 71, .1), transparent 70%), var(--s1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); max-width: 620px; }
.gate.in-sheet h1 { font-size: clamp(30px, 4.6vw, 46px); }
.chat .log .earlier { align-self: center; margin: 4px 0 6px; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--ink2); font: 600 12.5px/1 var(--sans); cursor: pointer; }
.chat .log .earlier:hover { color: var(--ink); border-color: var(--line3); }
.msg .from .when { margin-left: 8px; font: 500 10.5px var(--mono); color: var(--faint); }

/* ── the result chart as SVG (2026-10-13, owner: "looks like shit. make it better. think again"): one value scale, the running
   total drawn on with a node per copy, each copy as a slim bar in its own lane, dates once a day */
.sc-stage.rc { overflow: hidden; }
.rc-svg { position: absolute; inset: 0; display: block; overflow: visible; font-family: var(--mono); }
.rc-grid { stroke: rgba(205, 218, 255, .055); stroke-width: 1; shape-rendering: crispEdges; }
.rc-zero { stroke: rgba(205, 218, 255, .2); stroke-width: 1; stroke-dasharray: 3 4; shape-rendering: crispEdges; }
.rc-two { stroke: rgba(255, 181, 71, .5); stroke-width: 1; stroke-dasharray: 4 4; shape-rendering: crispEdges; }
.rc-ax { fill: var(--muted); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.rc-ax-two { fill: var(--amber); }
.rc-date { fill: var(--faint); font-size: 10.5px; letter-spacing: .02em; }
.rc-lane { fill: var(--faint); font-size: 9.5px; letter-spacing: .14em; }
.rc-val { font-size: 9.5px; font-variant-numeric: tabular-nums; } .rc-val.up { fill: rgba(61, 220, 151, .75); } .rc-val.dn { fill: rgba(255, 107, 107, .8); }
.rc-line { fill: none; stroke: var(--amber); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 181, 71, .35)); }
.rc-area { opacity: 1; }
.rc-node { stroke: #06080E; stroke-width: 2; transition: r .15s var(--ease), stroke .15s; } .rc-node.up { fill: var(--good); } .rc-node.dn { fill: var(--bad); }
.rc-node.on { stroke: var(--amber); stroke-width: 2.5; r: 6.5px; }
.rc-bar { transform-box: fill-box; transition: fill .15s; } .rc-bar.up { fill: rgba(61, 220, 151, .78); } .rc-bar.dn { fill: rgba(255, 107, 107, .82); } .rc-bar.flat { fill: rgba(126, 135, 154, .5); }
.rc-bar.on { fill: var(--amber); }
.rc-tag rect { fill: var(--amber); } .rc-tag text { fill: var(--amber-ink); font: 600 11px var(--mono); font-variant-numeric: tabular-nums; }
.rc-tag.dn rect { fill: var(--bad); } .rc-tag.dn text { fill: #1a0707; }
.rc-guide { stroke: rgba(255, 181, 71, .35); stroke-width: 1; stroke-dasharray: 2 3; transition: opacity .12s; pointer-events: none; }
.rc-hit { fill: transparent; cursor: pointer; }
/* drawn on when it comes into view: the line draws, the area fades in, nodes and bars rise one after another */
.rc-wait .rc-line { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.rc-wait .rc-area, .rc-wait .rc-tag { opacity: 0; }
.rc-wait .rc-node, .rc-wait .rc-bar { opacity: 0; }
.rc-go .rc-line { stroke-dasharray: var(--len, 2000); animation: rcdraw 1.2s var(--ease) both; }
.rc-go .rc-area { animation: rcfade .9s .35s var(--ease) both; } .rc-go .rc-tag { animation: rcfade .4s 1.05s var(--ease) both; }
.rc-go .rc-node { animation: rcfade .35s var(--d, 0ms) var(--ease) both; }
.rc-go .rc-bar { transform-origin: 50% 100%; animation: rcrise .5s var(--d, 0ms) var(--ease) both; } .rc-go .rc-bar.dn { transform-origin: 50% 0%; }
.rc-now .rc-line, .rc-now .rc-area, .rc-now .rc-tag, .rc-now .rc-node, .rc-now .rc-bar { animation: none; stroke-dashoffset: 0; opacity: 1; }
@keyframes rcdraw { from { stroke-dashoffset: var(--len, 2000); } to { stroke-dashoffset: 0; } }
@keyframes rcfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rcrise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rc-wait .rc-line { stroke-dashoffset: 0; } .rc-wait .rc-area, .rc-wait .rc-tag, .rc-wait .rc-node, .rc-wait .rc-bar { opacity: 1; } .rc-go * { animation: none !important; } }

/* ── 03 · the dossier, round 2: the number and its receipts on the left, the chart on the right, the cells under both */
.dossier-body { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.dossier-num { padding: 26px 26px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dossier-num .kicker { margin: 0; }
.dossier-num .big { display: flex; align-items: flex-start; gap: 8px; font: 650 clamp(52px, 5.6vw, 76px)/.95 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.dossier-num .big .u { font: 600 15px/1 var(--mono); letter-spacing: .06em; margin-top: .55em; opacity: .85; }
.dossier-num .big.skeleton { color: transparent; }
.dossier-num > p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 30ch; }
.receipt { margin: 8px 0 0; padding: 0; display: grid; border-top: 1px dashed var(--line2); }
.receipt > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line2); }
.receipt dt { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.receipt dd { margin: 0; font: 500 13px/1.3 var(--mono); color: var(--ink); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-variant-numeric: tabular-nums; }
.receipt dd b { font-weight: 600; } .receipt dd i { font-style: normal; color: var(--muted); }
.dossier-body .sc.best-res { margin: 16px; height: auto; min-height: 330px; }
@media (max-width: 900px) {
  .dossier-body { grid-template-columns: 1fr; }
  .dossier-num { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 18px; }
  .dossier-body .sc.best-res { margin: 12px; min-height: 260px; }
}
