/* BREAKER house style.
   Layout concept: an electrical panel at night. Hairline-ruled modules on a graphite-blue stage, labels like
   panel stencils, one breaker-blue accent for anything you can switch. Red and green are state only
   (tripped/halted, filled), never decoration.
   Bold moment: the hero replays the real NVDA token through the 5-6 Nov sell-off while the exchanges are shaded
   closed or halted; you drag the ladder rungs and watch which ones would have filled. */
:root {
  --stage: #090c13; --panel: #0e131c; --panel-2: #141a26; --line: #1e2533; --line-2: #2b3446;
  --ink: #ece7dd; --mute: #9ba0aa; --dim: #646a78; --orb: #24324f; --orb-2: #3e5285;
  --accent: #8aa4ff; --accent-ink: #0a0d14; --gold: #cdb68a; --ivory: #efe9dc;
  --halt: #e07a6f; --fill: #6cc49a; --warn: #d9b264;
  --display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 3px; --ease: cubic-bezier(.23, 1, .32, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(1400px 700px at 75% -10%, rgba(138, 164, 255, .06), transparent 60%) no-repeat, radial-gradient(900px 500px at 0% 40%, rgba(205, 182, 138, .035), transparent 60%) no-repeat, var(--stage); color: var(--ink); font: 400 16px/1.62 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, canvas, svg { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .004em; line-height: .92; text-wrap: balance; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h3 { font-size: 1.6rem; line-height: 1; }
p { margin: 0; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.stencil { font: 500 .66rem/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 4px; border: 1px solid #9db3ff; background: linear-gradient(180deg, #9cb2ff, #7c97f4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); color: var(--accent-ink); letter-spacing: .01em; font: 700 .95rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .16s var(--ease), background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: linear-gradient(180deg, #acbfff, #8aa4ff); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 28px -14px rgba(138, 164, 255, .8); } .btn.ghost:hover { box-shadow: none; background: transparent; border-color: var(--gold); } }
.btn:active { transform: scale(.97); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.sm { height: 36px; padding: 0 14px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line-2); font-weight: 600; transition: text-decoration-color .2s ease, text-underline-offset .2s var(--ease); }
.link:hover { text-decoration-color: var(--accent); text-underline-offset: 7px; }

/* launch bar (coin contract) */
.lbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: #070a10; border-bottom: 1px solid var(--line); font: 500 .72rem/1 var(--mono); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: #070a10; }
.lbar .wrap { display: flex; align-items: center; gap: 14px; height: 38px; overflow-x: auto; scrollbar-width: none; }
.lbar .wrap::-webkit-scrollbar { display: none; }
.lbar b { color: var(--accent); font-weight: 600; }
.lbar .ca { color: var(--mute); white-space: nowrap; }
.lbar button, .lbar a { background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; text-decoration: none; white-space: nowrap; padding: 4px 0; }
.lbar a:hover, .lbar button:hover { color: var(--accent); }
.lbar .sp { flex: 1; }
.lbar .blk { color: var(--dim); white-space: nowrap; }
.lbar .blk i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--fill); margin-right: 6px; vertical-align: 1px; }

/* nav */
.nav { border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.5rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand svg { width: 26px; height: 26px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { position: relative; text-decoration: none; color: var(--mute); font-weight: 600; font-size: .92rem; transition: color .2s ease; }
.nav nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav nav a:not(.btn):hover::after, .nav nav a[aria-current]::after { transform: scaleX(1); }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }
.nav nav a.btn, .nav nav a.btn:hover { color: var(--accent-ink); }
@media (max-width: 720px) { .nav nav a:not(.keep) { display: none; } .nav .wrap { gap: 14px; } }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 .62rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 2px; border: 1px solid currentColor; white-space: nowrap; }
.pill.live { color: var(--fill); } .pill.build { color: var(--warn); } .pill.plan { color: var(--mute); } .pill.halt { color: var(--halt); }
.pill.live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--stage); padding: 10px 16px; border-radius: var(--r); font-weight: 600; font-size: .9rem; transition: .25s var(--ease); z-index: 60; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

footer.foot { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--mute); font-size: .88rem; }
footer.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer.foot a { color: var(--ink); text-decoration: none; display: block; padding: 3px 0; }
footer.foot a:hover { color: var(--accent); }
footer.foot p + p { margin-top: 10px; }
@media (max-width: 720px) { footer.foot .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* the ball field (orbs.js) sits behind a section and never takes the pointer */
.lg { position: relative; display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2); vertical-align: middle; }
.lg i { font: 700 .55em/1 var(--mono); font-style: normal; color: var(--mute); }
.lg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.mark { width: 36px; height: 36px; border-radius: 9px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); -webkit-text-fill-color: initial; }
.brand { font-family: "Montserrat", var(--body); font-weight: 600; font-size: 1.12rem; letter-spacing: .24em; background: linear-gradient(180deg, #fff1cf 0%, #e3c68d 45%, #b48d4f 75%, #e9d2a0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .mark { border-radius: 9px; }
.brand .mark { flex: none; }
.orbs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* segmented toggle */
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel); }
.seg button { font: 600 .74rem/1 var(--mono); letter-spacing: .04em; padding: 8px 12px; border: 0; border-radius: 2px; background: none; color: var(--mute); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.seg button:active { transform: scale(.97); }
#board tr.more td{text-align:center;padding:14px 0}

/* CA and X pills (home hero, desk header) */
.ids { display: flex; gap: 8px; flex-wrap: wrap; }
.idp { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 4px; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(11, 15, 24, .75); color: var(--ink); font: 500 .78rem var(--body); text-decoration: none; cursor: pointer; transition: border-color .18s ease, transform .16s var(--ease); }
.idp:hover { border-color: var(--accent); }
.idp:active { transform: scale(.97); }
.idp[aria-disabled="true"] { cursor: default; }
.idp[aria-disabled="true"]:hover { border-color: var(--line-2); }
.idp .k { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 3px; background: var(--panel-2); font: 700 .66rem var(--mono); letter-spacing: .08em; color: var(--accent); }
.idp .k svg { width: 14px; height: 14px; color: var(--ink); }
.idp .v { color: var(--mute); }
.idp > svg { width: 14px; height: 14px; color: var(--dim); }
.nav .ids { flex-wrap: nowrap; }
.nav .idp { height: 34px; font-size: .74rem; }
.nav .idp .k { min-width: 26px; height: 26px; }
@media (max-width: 1100px) { .nav .ids { display: none; } }
.site-banner { padding: 9px 16px; background: var(--accent); color: #0b0f18; font: 600 .78rem/1.4 var(--mono); text-align: center; }
