/* TRACON · the radar room. Cold instrument palette (ink blue, electric cyan, ice white), ONE hot colour for locks.
   Type: Michroma (wide display, the kit's wordmark face), Golos Text (reading), Google Sans Code (every number, address, time, tag). */
@font-face { font-family: "Michroma"; src: url(/fonts/michroma-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Google Sans Code"; src: url(/fonts/gsanscode-var.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url(/fonts/golos-var.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg0: #071526; --bg1: #0a1b31; --bg2: #0e223b; --bg3: #15294a;
  --glass: rgba(5, 12, 24, .78); --glass2: rgba(5, 12, 24, .93);
  --line: rgba(150, 205, 255, .10); --line2: rgba(150, 205, 255, .18); --line3: rgba(150, 205, 255, .34);
  --ink: #eaf6ff; --ink2: #a9bdd3; --ink3: #6f8496; --ink4: #3f5470;
  --cyan: #38e8ff; --cyan2: #a6f3ff; --ice: #eaf6ff;
  --lock: #ff4d2e; --lock2: #ffab9a; --lockline: rgba(255, 77, 46, .5);
  --kol: #38e8ff; --smart: #a4b8ff; --crew: #a58bff; --whale: #f2f8ff;
  --up: #4cf0b4; --down: #ff6b9a; --red: #ff3f8f;
  --f-disp: "Michroma", "Golos Text", system-ui, sans-serif;
  --f-ui: "Golos Text", system-ui, -apple-system, sans-serif;
  --f-mono: "Google Sans Code", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hud-h: 66px; --bot-h: 54px; --pad: 20px;
  --sb-thumb: rgba(150, 205, 255, .22); --sb-thumb-hover: rgba(150, 205, 255, .42);
}

/* NO STOCK SCROLLBARS (owner rule; from /root/tools/larpcheck/scrollbars.css) */
:root { color-scheme: dark; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--sb-thumb, rgba(140, 140, 150, .35)); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover, rgba(160, 160, 170, .6)); }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-corner { background: transparent; }
@supports (-moz-appearance: none) {
  * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb, rgba(140, 140, 150, .35)) transparent; }
}
.no-sb { scrollbar-width: none; }
.no-sb::-webkit-scrollbar { display: none; }

* { box-sizing: border-box; }
html { font-synthesis: none; background: var(--bg0); color: var(--ink); font: 400 14px/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { margin: 0; overflow-x: hidden; }
::selection { background: rgba(56, 232, 255, .32); color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 1px solid var(--cyan); outline-offset: 2px; }
.is-hidden { display: none !important; }
[hidden] { display: none !important; }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up) !important; } .down { color: var(--down) !important; } .dim { color: var(--ink3); } .hot { color: var(--lock) !important; }
.k { font: 500 9.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); font-style: normal; }

/* ================= THE STAGE: the radar fills the first screen, fixed; the sheet below scrolls over it ================= */
#stage { position: fixed; inset: 0; z-index: 1; overflow: hidden; background: #04070d; }
#radar { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; outline: none; touch-action: pan-y; cursor: grab; }
#radar:active { cursor: grabbing; }
#radar.point { cursor: pointer; }
#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#lines path { fill: none; stroke: var(--lock); stroke-width: 1; opacity: .85; }
#lines .ll-dot { fill: none; stroke: var(--lock); stroke-width: 1.2; }
#lines .ll-port { fill: var(--lock); }
#mapview { position: absolute; left: 0; right: 0; top: calc(var(--hud-h) + 6px); bottom: calc(var(--bot-h) + 6px); pointer-events: none; }
.vignette { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to bottom, rgba(4, 7, 13, .82), rgba(4, 7, 13, 0) 120px),
  linear-gradient(to top, rgba(4, 7, 13, .86), rgba(4, 7, 13, 0) 120px); }

/* HUD frame: corner brackets + edge rulers, drawn once */
.frame { position: absolute; left: 14px; right: 14px; top: calc(var(--hud-h) + 2px); bottom: calc(var(--bot-h) + 2px); pointer-events: none; }
.frame > i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--line3); }
.frame > i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.frame > i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.frame > i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.frame > i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.frame .rule { position: absolute; top: 34px; bottom: 34px; width: 9px; opacity: .9;
  background: repeating-linear-gradient(to bottom, var(--line3) 0 1px, transparent 1px 60px), repeating-linear-gradient(to bottom, var(--line2) 0 1px, transparent 1px 12px);
  background-size: 9px 100%, 5px 100%; background-repeat: no-repeat; }
.frame .rule.l { left: 0; background-position: 0 0, 0 0; }
.frame .rule.r { right: 0; background-position: 0 0, 4px 0; }

/* ---------- top HUD ---------- */
.top { position: absolute; left: 0; right: 0; top: 0; height: var(--hud-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 0 var(--pad); pointer-events: none; z-index: 4; }
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; justify-self: start; }
.brand .mk { position: relative; width: 34px; height: 34px; flex: none; display: grid; place-items: center; color: var(--ice); }
.brand .mk svg { width: 34px; height: 34px; }
.brand .mk img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--line3); }
.brand .bw { display: flex; flex-direction: column; min-width: 0; }
.brand .word { font: 700 15px/1 var(--f-disp); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand .bw i { margin-top: 6px; font: 500 9px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); font-style: normal; white-space: nowrap; }

.ro { display: flex; height: 42px; border: 1px solid var(--line2); background: rgba(3, 9, 18, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ro .r { width: 106px; padding: 7px 12px 0; border-left: 1px solid var(--line); text-align: left; position: relative; }
.ro .r:first-child { border-left: 0; }
.ro .r i { display: block; font: 500 8.5px/1 var(--f-mono); letter-spacing: .17em; text-transform: uppercase; color: var(--ink3); font-style: normal; white-space: nowrap; }
.ro .r b { display: block; margin-top: 5px; font: 500 17px/1.1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.ro .r.lk { cursor: pointer; }
.ro .r.lk b { color: var(--lock); }
.ro .r.lk::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--lock); opacity: .9; }
.ro .r.lk:hover { background: rgba(255, 77, 46, .08); }

.acts { display: flex; align-items: center; gap: 8px; justify-self: end; min-width: 0; }
.clock { display: flex; align-items: baseline; gap: 6px; padding: 0 8px 0 4px; white-space: nowrap; }
.clock b { font: 500 13px/1 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.clock i { font: 500 9px/1 var(--f-mono); letter-spacing: .16em; color: var(--ink3); font-style: normal; }
.hbtn { height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line2); background: rgba(3, 9, 18, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 11.5px/1 var(--f-mono); color: var(--ink); white-space: nowrap; transition: border-color .15s, background .15s; }
.hbtn:hover { border-color: var(--line3); background: rgba(12, 26, 46, .8); }
.hbtn svg { width: 14px; height: 14px; flex: none; }
.ca i { font-style: normal; font-weight: 600; color: var(--cyan); }
.ca b { font-weight: 500; color: var(--ink2); min-width: 86px; }
.ca.none b { color: var(--ink3); }
.xbtn { width: 34px; padding: 0; justify-content: center; }
.clr { height: 34px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px 0 13px; background: var(--ice); color: #04101e; font: 700 9.5px/1 var(--f-disp); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); transition: background .15s; }
.clr:hover { background: #fff; }
.clr .dot { width: 6px; height: 6px; background: #04101e; flex: none; }
.clr.holder { background: rgba(56, 232, 255, .12); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.clr.holder .dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- map controls ---------- */
.mapctl { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; border: 1px solid var(--line2); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); z-index: 4; }
.mapctl button { width: 36px; height: 36px; display: grid; place-items: center; border-top: 1px solid var(--line); color: var(--ink2); font: 500 15px/1 var(--f-mono); position: relative; transition: color .15s, background .15s; }
.mapctl button:first-child { border-top: 0; }
.mapctl button:hover { color: var(--ink); background: rgba(56, 232, 255, .06); }
.mapctl button.on { color: var(--cyan); background: rgba(56, 232, 255, .12); }
.mapctl button.pending { color: var(--cyan2); }
.mapctl button svg { width: 15px; height: 15px; }
.mapctl button.txt { font: 600 10px/1 var(--f-mono); letter-spacing: .06em; }
.mapctl .sep { height: 6px; border-top: 1px solid var(--line2); }
.mapctl button[data-tip]:hover::after { content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 6px 9px; background: var(--glass2); border: 1px solid var(--line2); font: 500 10.5px/1 var(--f-mono); color: var(--ink); pointer-events: none; }

/* ---------- bottom HUD: legend · radio · tools ---------- */
.bot { position: absolute; left: 0; right: 0; bottom: 0; height: var(--bot-h); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 0 var(--pad) 4px; z-index: 4; pointer-events: none; }
.bot > * { pointer-events: auto; }
.legend { display: flex; align-items: center; gap: 14px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); white-space: nowrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend svg { width: 13px; height: 13px; }
.radio { display: flex; align-items: center; height: 32px; min-width: 0; border: 1px solid var(--line); background: rgba(3, 9, 18, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.radio .rl { flex: none; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px; border-right: 1px solid var(--line); font: 600 9px/1 var(--f-mono); letter-spacing: .2em; color: var(--ink2); }
.radio .rl i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: blink 2.4s infinite; }
.tape { flex: 1; min-width: 0; height: 100%; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
.tape-in { display: flex; height: 100%; will-change: transform; }
.rr { flex: 0 0 auto; width: 268px; height: 100%; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 14px 0 12px; border-right: 1px solid var(--line); font: 400 11px/1 var(--f-mono); color: var(--ink2); text-align: left; white-space: nowrap; }
.rr:hover { background: rgba(56, 232, 255, .05); }
.rr .t { color: var(--ink3); font-variant-numeric: tabular-nums; }
.rr .w { overflow: hidden; text-overflow: ellipsis; }
.rr .w b { font-weight: 600; }
.rr .w em { font-style: normal; color: var(--ink); }
.rr .s { color: var(--ink); font-variant-numeric: tabular-nums; }
.rr.off .s, .rr.trim .s { color: var(--ink3); }
.rr.sq .w b, .rr.sq .w em { color: var(--red); }
.rr.lk { background: rgba(255, 77, 46, .1); }
.rr.lk .w b { color: var(--lock); }
.tools { display: flex; align-items: center; gap: 8px; }
.search { position: relative; height: 32px; width: 236px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line2); background: rgba(3, 9, 18, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.search svg { width: 13px; height: 13px; color: var(--ink3); flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font: 400 11.5px/1 var(--f-mono); color: var(--ink); }
.search input::placeholder { color: var(--ink3); }
.search kbd { font: 500 10px/1 var(--f-mono); color: var(--ink3); border: 1px solid var(--line2); padding: 3px 5px; }
.results { position: absolute; right: -1px; bottom: calc(100% + 8px); width: 340px; max-height: 360px; overflow: auto; background: var(--glass2); border: 1px solid var(--line2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 6px 0; z-index: 6; }
.results .rh { padding: 8px 14px 6px; font: 500 9px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink3); }
.results button { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 14px; text-align: left; }
.results button.on, .results button:hover { background: rgba(56, 232, 255, .08); }
.results .rn { font: 600 12px/1.2 var(--f-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results .rnm { font-style: normal; font-weight: 400; color: var(--ink3); }
.results .rs { font: 400 11px/1 var(--f-mono); color: var(--ink3); }
.results .empty { padding: 12px 14px; color: var(--ink3); font: 400 12px/1.4 var(--f-mono); }
.tbtn { height: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line2); background: rgba(3, 9, 18, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 9.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.tbtn:hover { color: var(--ink); border-color: var(--line3); }
.tbtn svg { width: 13px; height: 13px; }
.tbtn em { font-style: normal; color: var(--lock); font-weight: 600; }
.tbtn.ic { width: 32px; padding: 0; justify-content: center; }
.cue { position: absolute; left: calc(var(--pad) + 2px); bottom: calc(var(--bot-h) + 14px); display: inline-flex; align-items: center; gap: 10px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); z-index: 4; transition: color .15s; }
.cue:hover { color: var(--ink); }
.cue i { width: 1px; height: 26px; background: linear-gradient(var(--cyan), transparent); position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ice); animation: drop 2.2s var(--ease) infinite; }

/* ---------- the LOCK card ---------- */
.lastlock { position: absolute; left: calc(var(--pad) + 8px); top: calc(var(--hud-h) + 14px); width: 360px; height: 32px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid rgba(255, 77, 46, .38); background: rgba(24, 8, 2, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 11px/1 var(--f-mono); color: var(--ink2); z-index: 4; text-align: left; white-space: nowrap; transition: border-color .15s; }
.lastlock:hover { border-color: var(--lock); }
.lastlock .k { color: var(--lock); display: inline-flex; align-items: center; gap: 7px; letter-spacing: .2em; }
.lastlock .k::before { content: ""; width: 6px; height: 6px; background: var(--lock); transform: rotate(45deg); box-shadow: 0 0 8px var(--lock); }
.lastlock .v { overflow: hidden; text-overflow: ellipsis; }
.lastlock .v b { color: var(--ink); font-weight: 600; }
.lastlock .x { font-weight: 600; }

.lockcard { position: absolute; left: calc(var(--pad) + 8px); top: calc(var(--hud-h) + 58px); width: 360px; z-index: 5; background: var(--glass2); border: 1px solid var(--lockline); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55), 0 0 48px rgba(255, 77, 46, .13); }
.lockcard::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--lock); box-shadow: 0 0 14px var(--lock); }
.lockcard::after { content: ""; position: absolute; inset: -6px; pointer-events: none;
  background: linear-gradient(var(--lock), var(--lock)) 0 0 / 10px 1px, linear-gradient(var(--lock), var(--lock)) 0 0 / 1px 10px,
    linear-gradient(var(--lock), var(--lock)) 100% 100% / 10px 1px, linear-gradient(var(--lock), var(--lock)) 100% 100% / 1px 10px; background-repeat: no-repeat; opacity: .8; }
.lockcard.in { animation: lc-in .62s var(--ease) both; }
.lockcard.out { animation: lc-out .3s ease-in both; }
.lockcard .lc-scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--lock2); box-shadow: 0 0 12px var(--lock); opacity: 0; pointer-events: none; }
.lockcard.in .lc-scan { animation: lc-scan .9s .15s var(--ease) both; }
.lc-top { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 8px 0 16px; border-bottom: 1px solid rgba(255, 77, 46, .2); }
.lc-k { display: inline-flex; align-items: center; gap: 9px; font: 700 9.5px/1 var(--f-disp); letter-spacing: .26em; text-transform: uppercase; color: var(--lock); }
.lc-k i { width: 7px; height: 7px; background: var(--lock); transform: rotate(45deg); box-shadow: 0 0 10px var(--lock); animation: blink 1.2s infinite; }
.lc-t { margin-left: auto; font: 400 10.5px/1 var(--f-mono); color: var(--ink3); white-space: nowrap; }
.lc-close { width: 26px; height: 26px; display: grid; place-items: center; color: var(--ink3); font: 400 18px/1 var(--f-mono); }
.lc-close:hover { color: var(--ink); }
.lc-id { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 16px 12px; text-align: left; }
.lc-nm { min-width: 0; }
.lc-nm b { display: block; font: 700 19px/1.1 var(--f-mono); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-nm i { display: block; margin-top: 4px; font: 400 12.5px/1.2 var(--f-ui); color: var(--ink2); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-xx { text-align: right; }
.lc-xx b { display: block; font: 700 22px/1 var(--f-disp); letter-spacing: -.02em; color: var(--ink); }
.lc-xx i { display: block; margin-top: 6px; font: 500 8.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); font-style: normal; }
.lc-rule { margin: 0 16px; padding: 10px 0; border-top: 1px solid var(--line); font: 500 10px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.lc-rule b { color: var(--ink); font-weight: 600; }
.lc-faces { display: flex; align-items: center; height: 30px; padding: 0 16px; margin-bottom: 12px; }
.lc-faces .face { width: 26px; height: 26px; margin-right: -6px; box-shadow: 0 0 0 2px #070f1c; }
.lc-faces .more { margin-left: 14px; font: 500 10.5px/1 var(--f-mono); color: var(--ink3); }
.lc-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.lc-nums > div { padding: 11px 16px 12px; border-left: 1px solid var(--line); }
.lc-nums > div:first-child { border-left: 0; }
.lc-nums i { display: block; font: 500 8.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink3); font-style: normal; white-space: nowrap; }
.lc-nums b { display: block; margin-top: 6px; font: 600 14px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 8px 8px 8px 16px; border-top: 1px solid var(--line); background: rgba(255, 77, 46, .05); font: 400 11.5px/1.35 var(--f-ui); color: var(--ink2); }
.lc-foot b { color: var(--ink); font-weight: 600; }
.lc-foot button { flex: none; height: 26px; padding: 0 10px; border: 1px solid var(--line3); font: 600 9px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.lc-foot button:hover { border-color: var(--cyan); color: var(--cyan); }

/* coin + face chips */
.coin, .face { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; background: var(--bg2) center / cover no-repeat; box-shadow: 0 0 0 1px var(--line2); font: 600 12px/1 var(--f-mono); color: var(--ink3); overflow: hidden; }
.face { width: 26px; height: 26px; border-radius: 50%; font-size: 10px; }
.face.np { background: color-mix(in srgb, var(--fc, var(--kol)) 16%, #08111f); color: var(--fc, var(--kol)); }
.coin.s { width: 26px; height: 26px; font-size: 9.5px; }
.coin.m { width: 40px; height: 40px; font-size: 11px; }

/* ---------- the dossier: a plane or a coin, on demand ---------- */
.dossier { position: absolute; right: calc(var(--pad) + 50px); top: calc(var(--hud-h) + 12px); bottom: calc(var(--bot-h) + 12px); width: 396px; display: flex; flex-direction: column; z-index: 5; background: var(--glass2); border: 1px solid var(--line2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.dossier.in { animation: ds-in .38s var(--ease) both; }
.dossier::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--cyan); opacity: .8; }
.ds-h { flex: none; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; border-bottom: 1px solid var(--line); }
.ds-h .k { color: var(--cyan); }
.ds-h .g { margin-left: auto; font: 500 10.5px/1 var(--f-mono); color: var(--ink3); }
.ds-x { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink3); font: 400 19px/1 var(--f-mono); }
.ds-x:hover { color: var(--ink); }
.ds-b { flex: 1; min-height: 0; overflow: auto; }
.ds { padding: 16px; border-bottom: 1px solid var(--line); }
.ds:last-child { border-bottom: 0; }
.ds-sh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.ds-sh span { font: 600 9.5px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); }
.ds-sh b { font: 400 10.5px/1 var(--f-mono); color: var(--ink3); font-weight: 400; }
.idn { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg2) center / cover no-repeat; box-shadow: 0 0 0 1px var(--line2); font: 600 14px/1 var(--f-mono); color: var(--c, var(--kol)); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.idn .cs { display: block; font: 700 19px/1.15 var(--f-mono); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idn .sub { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-width: 0; font: 400 12.5px/1.2 var(--f-ui); color: var(--ink2); white-space: nowrap; overflow: hidden; }
.idn .sub > span { overflow: hidden; text-overflow: ellipsis; }
.chip { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border: 1px solid color-mix(in srgb, var(--c, var(--kol)) 55%, transparent); color: var(--c, var(--kol)); font: 600 9px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.status { margin-top: 14px; padding: 9px 12px; border: 1px solid var(--line); background: rgba(56, 232, 255, .04); font: 400 11.5px/1.35 var(--f-mono); color: var(--ink2); }
.status b { color: var(--ink); font-weight: 600; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--line); }
.kv > div { padding: 10px 12px 11px; border-left: 1px solid var(--line); min-width: 0; }
.kv > div:first-child { border-left: 0; }
.kv i { display: block; font: 500 8.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink3); font-style: normal; white-space: nowrap; }
.kv b { display: block; margin-top: 6px; font: 600 14px/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv + .kv { margin-top: -1px; }
.dacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dbtn { height: 30px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line2); font: 500 10.5px/1 var(--f-mono); color: var(--ink2); white-space: nowrap; transition: color .15s, border-color .15s; }
.dbtn:hover { color: var(--ink); border-color: var(--line3); }
.dbtn svg { width: 13px; height: 13px; }
.dbtn.on { color: var(--cyan); border-color: var(--cyan); background: rgba(56, 232, 255, .08); }
.dbtn.lock { color: var(--ink3); }
.dbtn.ic { width: 30px; padding: 0; justify-content: center; }
.tbl { border: 1px solid var(--line); max-height: 228px; overflow: auto; }
.tbl .tr { display: grid; grid-template-columns: 48px minmax(0, 1fr) 58px 58px 64px; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-top: 1px solid var(--line); font: 400 11.5px/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; }
.tbl .tr > span { overflow: hidden; text-overflow: ellipsis; }
.tbl .tr:hover { background: rgba(56, 232, 255, .05); }
.tbl .tr.hd { position: sticky; top: 0; z-index: 1; height: 26px; border-top: 0; background: #08121f; font: 500 8.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink3); cursor: default; }
.tbl.b3 .tr { grid-template-columns: 46px minmax(0, 1fr) 62px; }
.tbl .r { text-align: right; }
.boards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.boards .tbl { max-height: 250px; }
.boards .tbl .tr { grid-template-columns: 40px minmax(0, 1fr) 52px; padding: 0 8px; font-size: 11px; }
.list-empty { padding: 14px 12px; font: 400 12px/1.45 var(--f-ui); color: var(--ink3); }
.list-empty b { color: var(--ink2); font-weight: 600; }
.bigrec { display: flex; align-items: baseline; gap: 10px; }
.bigrec b { font: 700 30px/1 var(--f-disp); letter-spacing: -.02em; }
.bigrec i { font: 500 10px/1 var(--f-mono); letter-spacing: .16em; color: var(--ink3); font-style: normal; }
.bestl { margin-top: 12px; border-top: 1px solid var(--line); }
.bestl > div { display: grid; grid-template-columns: minmax(0, 1fr) 60px 70px; gap: 8px; height: 28px; align-items: center; border-bottom: 1px solid var(--line); font: 400 11.5px/1 var(--f-mono); }
.bestl > div > span:not(:first-child) { text-align: right; }
.ground { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.gp { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 6px; border: 1px solid var(--line); text-align: left; font: 400 11px/1 var(--f-mono); }
.gp:hover { border-color: var(--line3); }
.gp b { font-weight: 600; color: var(--c, var(--kol)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp em { font-style: normal; font-variant-numeric: tabular-nums; }
.skel { height: 12px; margin: 10px 0; background: linear-gradient(90deg, rgba(150, 205, 255, .05), rgba(150, 205, 255, .12), rgba(150, 205, 255, .05)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

/* ---------- small states ---------- */
.netstate { position: absolute; left: 50%; top: calc(var(--hud-h) + 12px); transform: translateX(-50%); z-index: 6; height: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line2); background: var(--glass2); font: 500 10.5px/1 var(--f-mono); color: var(--ink2); white-space: nowrap; }
.netstate b { color: var(--lock); }
.hint { position: absolute; right: calc(var(--pad) + 50px); top: 50%; transform: translateY(-50%); z-index: 6; padding: 8px 12px; border: 1px solid var(--line2); background: var(--glass2); font: 500 11px/1.3 var(--f-mono); color: var(--ink); white-space: nowrap; pointer-events: none; animation: fade-in .2s ease both; }
.toast { position: fixed; left: 50%; bottom: calc(var(--bot-h) + 22px); transform: translateX(-50%); z-index: 40; max-width: calc(100vw - 32px); padding: 10px 16px; border: 1px solid var(--line3); background: var(--glass2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 500 12px/1.35 var(--f-mono); color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); animation: rise .25s var(--ease) both; }

/* ---------- boot ---------- */
#boot { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; background: #04070d; transition: opacity .7s ease, visibility .7s; }
#boot.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.boot-scope { position: relative; width: 112px; height: 112px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line3); display: grid; place-items: center; }
.boot-scope::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(56, 232, 255, .35), transparent 22%); animation: spin 1.6s linear infinite; }
.boot-scope::after { content: ""; position: absolute; inset: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); }
.boot-scope img { width: 46px; height: 46px; border-radius: 50%; position: relative; z-index: 1; }
.boot-scope svg { width: 46px; height: 46px; position: relative; z-index: 1; color: var(--ice); }
.boot-word { font: 700 18px/1 var(--f-disp); letter-spacing: .4em; text-transform: uppercase; padding-left: .4em; }
#boot-line { font: 500 10px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink3); font-style: normal; }

/* ---------- overlays (centred) ---------- */
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(4, 7, 13, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade-in .18s ease both; }
.modal-card { position: relative; width: min(560px, 100%); max-height: min(780px, calc(100svh - 40px)); display: flex; flex-direction: column; background: var(--bg1); border: 1px solid var(--line2); box-shadow: 0 40px 120px rgba(0, 0, 0, .65); animation: rise .3s var(--ease) both; }
.modal-card.wide { width: min(920px, 100%); }
.modal-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--cyan); }
.modal-card.lockm::before { background: var(--lock); }
#modal-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.modal-x { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; display: grid; place-items: center; font: 400 20px/1 var(--f-mono); color: var(--ink3); z-index: 2; }
.modal-x:hover { color: var(--ink); }
.mh { flex: none; padding: 24px 28px 18px; border-bottom: 1px solid var(--line); }
.mh .k { color: var(--cyan); }
.modal-card.lockm .mh .k { color: var(--lock); }
.mh h3 { margin: 10px 0 0; font: 700 19px/1.15 var(--f-disp); letter-spacing: .16em; text-transform: uppercase; }
.mh p { margin: 10px 0 0; max-width: 58ch; color: var(--ink2); font-size: 14px; line-height: 1.55; }
.mtabs { display: flex; gap: 2px; margin-top: 16px; }
.mtabs button { height: 30px; padding: 0 14px; border: 1px solid var(--line); font: 600 9.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.mtabs button.on { color: var(--ink); border-color: var(--line3); background: rgba(56, 232, 255, .06); }
.mtabs button em { font-style: normal; color: var(--ink3); margin-left: 6px; }
.mb { flex: 1; min-height: 0; overflow: auto; padding: 18px 28px 24px; }
.mbar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.mbar input { flex: 1; min-width: 180px; height: 34px; padding: 0 12px; background: rgba(3, 9, 18, .6); border: 1px solid var(--line2); outline: none; font: 400 12px/1 var(--f-mono); }
.mbar input:focus { border-color: var(--line3); }
.fchips { display: flex; gap: 2px; }
.fchips button { height: 34px; padding: 0 12px; border: 1px solid var(--line); font: 600 9.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.fchips button.on { color: var(--ink); border-color: var(--line3); }
.fleet-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--line2); background: rgba(56, 232, 255, .04); font-size: 13px; color: var(--ink2); }
.fleet-note button { flex: none; }
.frow { width: 100%; display: grid; grid-template-columns: 3px minmax(0, 1fr) 190px; align-items: center; gap: 12px; height: 46px; padding-right: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.frow:hover { background: rgba(56, 232, 255, .04); }
.frow > i { height: 22px; background: var(--c, var(--kol)); }
.frow .fn { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.frow .fn b { font: 600 12.5px/1.1 var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow .fn span { font: 400 12px/1.1 var(--f-ui); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow .fs { font: 400 11px/1.25 var(--f-mono); color: var(--ink2); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow .fs em { display: block; font-style: normal; color: var(--ink3); }
.lrow { width: 100%; display: grid; grid-template-columns: 70px 30px minmax(0, 1fr) 58px 84px 84px 64px; align-items: center; gap: 12px; height: 48px; padding: 0 8px; border-bottom: 1px solid var(--line); text-align: left; font: 400 12px/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrow:hover { background: rgba(255, 77, 46, .05); }
.lrow.hd { height: 30px; font: 500 8.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink3); cursor: default; position: sticky; top: -18px; background: var(--bg1); z-index: 1; }
.lrow.hd:hover { background: var(--bg1); }
.lrow .s { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lrow .s b { font-weight: 600; }
.lrow .s i { font-style: normal; color: var(--ink3); margin-left: 6px; font-family: var(--f-ui); }
.lrow .r { text-align: right; }
.lrow .xb { font-weight: 700; }
.lrow.live { box-shadow: inset 2px 0 0 var(--lock); }
.rug { display: inline-block; margin-left: 6px; padding: 2px 5px; border: 1px solid var(--red); color: var(--red); font: 600 8.5px/1 var(--f-mono); letter-spacing: .1em; vertical-align: 1px; }
.recsum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); margin-bottom: 16px; }
.recsum > div { padding: 12px 14px; border-left: 1px solid var(--line); }
.recsum > div:first-child { border-left: 0; }
.recsum i { display: block; font: 500 8.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink3); font-style: normal; }
.recsum b { display: block; margin-top: 7px; font: 600 17px/1 var(--f-mono); }
.passline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid rgba(255, 77, 46, .3); background: rgba(255, 77, 46, .06); font-size: 13px; color: var(--ink2); }
.passline b { color: var(--ink); }
.perkl { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 4px 0 20px; }
.perkl > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; padding: 14px 16px; background: var(--bg1); }
.perkl .n { font: 500 10.5px/1.5 var(--f-mono); color: var(--cyan); }
.perkl b { display: block; font: 700 11px/1.4 var(--f-disp); letter-spacing: .14em; text-transform: uppercase; }
.perkl span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.mrow { display: flex; gap: 10px; flex-wrap: wrap; }
.note { margin-top: 14px; min-height: 20px; font: 400 12px/1.45 var(--f-mono); color: var(--ink2); }
.note.err { color: var(--down); }
.note a { color: var(--cyan); }

/* ---------- buttons ---------- */
.btn { height: 46px; display: inline-flex; align-items: center; gap: 12px; padding: 0 24px 0 20px; background: var(--ice); color: #04101e; font: 700 10.5px/1 var(--f-disp); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); transition: background .15s, transform .15s; }
.btn:hover { background: #fff; }
.btn i { width: 7px; height: 7px; background: #04101e; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line3); clip-path: none; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--cyan); color: var(--cyan); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 9px; }

/* ================= THE SHEET: sections below the radar ================= */
#below { position: relative; z-index: 2; pointer-events: none; }
#below .spacer { height: 100vh; height: 100svh; }
.sheet { pointer-events: auto; position: relative; background-color: var(--bg0);
  background-image: linear-gradient(rgba(150, 205, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 205, 255, .028) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top; border-top: 1px solid var(--line3); }
.sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--line3) 0 1px, transparent 1px 96px), repeating-linear-gradient(90deg, var(--line2) 0 1px, transparent 1px 12px);
  background-size: 100% 9px, 100% 5px; background-repeat: no-repeat; }
.sec { max-width: 1260px; margin: 0 auto; padding: 120px 36px 110px; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: 24px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.eyebrow { font: 500 10.5px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.sh h2 { margin: 16px 0 0; font: 700 clamp(26px, 3.3vw, 46px)/1.08 var(--f-disp); letter-spacing: .02em; text-transform: uppercase; }
.sh h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--ink2); }
.sh .meta { flex: none; font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); text-align: right; }
.sh .meta b { color: var(--ink2); font-weight: 500; }
.lede { max-width: 62ch; margin: -22px 0 44px; font-size: 17px; line-height: 1.6; color: var(--ink2); }

/* 01 how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.step + .step { border-left: 1px solid var(--line); }
.step { background: var(--bg0); padding-bottom: 32px; min-width: 0; }
.dia { position: relative; height: 220px; border-bottom: 1px solid var(--line); overflow: hidden; background: radial-gradient(ellipse 60% 70% at 50% 58%, rgba(56, 232, 255, .07), transparent 72%), #060e1a; }
.dia svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dia .tag { position: absolute; left: 16px; top: 14px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .18em; color: var(--ink3); }
.dia .tag b { color: var(--cyan); font-weight: 500; }
.step h3 { margin: 26px 30px 12px; font: 700 15px/1.3 var(--f-disp); letter-spacing: .16em; text-transform: uppercase; }
.step p { margin: 0 30px; font-size: 15px; line-height: 1.62; color: var(--ink2); max-width: 44ch; }
.step p b { color: var(--ink); font-weight: 600; }
.d-fly { offset-rotate: auto; animation: fly 5.5s linear infinite; }
.d-ping { transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.d-ping.b { animation-delay: 1.3s; }
.d-sweep { transform-origin: 200px 112px; animation: spin 6s linear infinite; }
.d-dash { stroke-dasharray: 3 5; animation: dash 1.6s linear infinite; }
.d-beam { animation: beam 2.6s ease-in-out infinite; }

/* 02 the record */
.bign { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); background: rgba(6, 14, 26, .7); }
.bign > div { position: relative; padding: 28px 26px 24px; border-left: 1px solid var(--line); min-width: 0; }
.bign > div:first-child { border-left: 0; }
.bign b { display: block; font: 400 clamp(26px, 3vw, 44px)/1 var(--f-disp); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bign i { display: block; margin-top: 16px; font: 500 10px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); font-style: normal; }
.bign .best b { color: var(--lock); }
.bign .best::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--lock); }
.bars { margin-top: 40px; }
.bars-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; font: 500 10px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.bars-h .lg { display: flex; gap: 16px; }
.bars-h .lg span { display: inline-flex; align-items: center; gap: 7px; }
.bars-h .lg i { width: 8px; height: 8px; }
.barbox { position: relative; height: 150px; border-bottom: 1px solid var(--line3); }
.barbox svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.barbox .gl { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line2); pointer-events: none; }
.barbox .gl span { position: absolute; right: 0; top: -16px; font: 500 9.5px/1 var(--f-mono); color: var(--ink3); }
.barbox .tip { position: absolute; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 8px 10px; background: var(--glass2); border: 1px solid var(--line2); font: 400 11px/1.45 var(--f-mono); color: var(--ink2); white-space: nowrap; pointer-events: none; z-index: 2; }
.barbox .tip b { color: var(--ink); }
.bars-f { display: flex; justify-content: space-between; margin-top: 10px; font: 400 10px/1 var(--f-mono); color: var(--ink3); }
.bestg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); }
.bl { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 22px; background: var(--bg0); text-align: left; min-width: 0; transition: background .15s; }
.bl:hover { background: var(--bg1); }
.bl .nm { min-width: 0; }
.bl .nm b { display: block; font: 600 14px/1.2 var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl .nm span { display: block; margin-top: 5px; font: 400 11px/1.3 var(--f-mono); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl .xx { font: 700 24px/1 var(--f-disp); letter-spacing: -.02em; color: var(--up); }
.bl.skel-c { height: 82px; }
.rec-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.rec-foot p { margin: 0; max-width: 64ch; font-size: 14px; line-height: 1.6; color: var(--ink3); }

/* 03 clearance */
.clrg { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.clr-copy .lede { margin: 0 0 30px; }
.perks { list-style: none; margin: 0 0 34px; padding: 0; border-top: 1px solid var(--line); }
.perks li { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 20px 0; border-bottom: 1px solid var(--line); }
.perks .n { font: 500 11px/1.5 var(--f-mono); color: var(--cyan); }
.perks b { display: block; font: 700 12.5px/1.4 var(--f-disp); letter-spacing: .14em; text-transform: uppercase; }
.perks p { margin: 6px 0 0; font-size: 15px; line-height: 1.58; color: var(--ink2); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.pass { position: relative; background: linear-gradient(160deg, #0f2038, #0a1626 60%); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.pass::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--cyan); }
.pass.ok::before { box-shadow: 0 0 18px var(--cyan); }
.pass-h { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px dashed var(--line2); }
.pass-h b { font: 700 18px/1 var(--f-disp); letter-spacing: .3em; }
.pass-h span { font: 500 10px/1 var(--f-mono); letter-spacing: .16em; color: var(--ink3); }
.pass-rows { padding: 8px 26px; }
.pass-rows > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pass-rows > div:last-child { border-bottom: 0; }
.pass-rows i { font: 500 9.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); font-style: normal; }
.pass-rows b { font: 600 14px/1.2 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass-rows s { color: var(--ink4); font-weight: 400; margin-left: 10px; }
.pass-f { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 26px 22px; border-top: 1px dashed var(--line2); }
.pass-st { font: 700 11px/1 var(--f-disp); letter-spacing: .26em; color: var(--ink3); }
.pass.ok .pass-st { color: var(--cyan); }
.pass-code { height: 34px; flex: 1; max-width: 220px; background: repeating-linear-gradient(90deg, var(--ink2) 0 1px, transparent 1px 3px, var(--ink2) 3px 5px, transparent 5px 7px, var(--ink2) 7px 8px, transparent 8px 12px); opacity: .32; }
.pass-cut { position: absolute; top: 72px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg0); box-shadow: inset 0 0 0 1px var(--line2); }
.pass-cut.l { left: -9px; } .pass-cut.r { right: -9px; }

/* footer */
.foot { max-width: 1260px; margin: 0 auto; padding: 46px 36px 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; border-top: 1px solid var(--line); }
.fb .word { font: 700 15px/1 var(--f-disp); letter-spacing: .3em; text-transform: uppercase; }
.fb p { margin: 12px 0 0; color: var(--ink3); font-size: 13.5px; max-width: 46ch; }
.fl { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.fd { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 10.5px/1.5 var(--f-mono); letter-spacing: .06em; color: var(--ink4); }

/* ---------- motion ---------- */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translate(var(--tx, 0), 10px); } }
.toast { --tx: -50%; }
@keyframes drop { to { top: 100%; } }
@keyframes lc-in { 0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-12px); } 60% { opacity: 1; } 100% { opacity: 1; clip-path: inset(-20px -20px -20px -20px); transform: none; } }
@keyframes lc-out { to { opacity: 0; transform: translateX(-14px); } }
@keyframes lc-scan { 0% { opacity: 1; top: 0; } 85% { opacity: .8; } 100% { opacity: 0; top: 100%; } }
@keyframes ds-in { from { opacity: 0; transform: translateX(14px); } }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -16; } }
@keyframes beam { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- laptop ---------- */
@media (max-width: 1440px) { .ro .r { width: 96px; } .clock { display: none; } }
@media (max-width: 1280px) { .legend .key { display: none; } .ro .r { width: 90px; padding: 7px 10px 0; } .search { width: 190px; } .rr { width: 248px; } }
@media (max-width: 1140px) { .ro .r.opt { display: none; } .brand .bw i { display: none; } .legend { display: none; } .bot { grid-template-columns: minmax(0, 1fr) auto; } .bign { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bign > div:nth-child(4) { border-left: 0; } .bign > div:nth-child(n+4) { border-top: 1px solid var(--line); } .bestg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .clrg { gap: 40px; } }
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); } .step + .step { border-left: 0; border-top: 1px solid var(--line); } .clrg { grid-template-columns: minmax(0, 1fr); } .dossier { width: 360px; } }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --hud-h: 58px; --bot-h: 50px; --pad: 12px; }
  .top { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .brand .mk, .brand .mk svg, .brand .mk img { width: 28px; height: 28px; }
  .brand .word { font-size: 12px; letter-spacing: .22em; }
  .ro { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--hud-h) - 2px); height: 38px; }
  .ro .r { flex: 1; width: auto; padding: 6px 10px 0; }
  .ro .r.opt, .ro .r.opt2 { display: none; }
  .ro .r b { font-size: 15px; margin-top: 4px; }
  .acts { gap: 6px; }
  .ca { width: 34px; padding: 0; justify-content: center; }
  .ca i, .ca b { display: none; }
  .clr { padding: 0 12px 0 10px; letter-spacing: .16em; font-size: 8.5px; }
  .frame { display: none; }
  .mapctl { top: auto; bottom: calc(var(--bot-h) + 10px); transform: none; right: var(--pad); }
  .mapctl .ph-x { display: none; }
  .bot { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-bottom: max(4px, env(safe-area-inset-bottom)); }
  .legend, .search kbd { display: none; }
  .radio .rl { padding: 0 9px; }
  .radio .rl span { display: none; }
  .rr { width: 232px; grid-template-columns: minmax(0, 1fr) auto; padding: 0 10px; }
  .rr .t { display: none; }
  .search { width: 32px; padding: 0; justify-content: center; }
  .search input { display: none; }
  .search.open { position: fixed; left: var(--pad); right: var(--pad); bottom: calc(var(--bot-h) + 6px); width: auto; z-index: 8; padding: 0 10px; justify-content: flex-start; height: 40px; }
  .search.open input { display: block; }
  .results { left: -1px; right: -1px; width: auto; }
  .tbtn.wd span { display: none; }
  .tbtn.wd { width: 32px; padding: 0; justify-content: center; }
  .cue { display: none; }
  .lastlock { left: var(--pad); right: var(--pad); width: auto; top: calc(var(--hud-h) + 44px); }
  .lockcard { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: calc(var(--bot-h) + 10px); }
  .lc-faces { display: none; }
  .lockcard.in { animation-name: lc-in-ph; }
  .dossier { left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 64svh; z-index: 9; border-left: 0; border-right: 0; }
  .dossier.in { animation-name: sheet-in; }
  .hint { right: auto; left: 50%; top: calc(var(--hud-h) + 52px); transform: translateX(-50%); }
  .netstate { top: calc(var(--hud-h) + 46px); }
  .sec { padding: 76px 18px 70px; }
  .sh { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .sh .meta { text-align: left; }
  .lede { margin: -10px 0 30px; font-size: 15.5px; }
  .dia { height: 190px; }
  .step h3 { margin: 22px 20px 10px; } .step p { margin: 0 20px; }
  .bign { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bign > div { padding: 20px 16px 18px; }
  .bign > div:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .bign > div:nth-child(odd) { border-left: 0; }
  .bign > div:nth-child(-n+2) { border-top: 0; }
  .bign > div:last-child { grid-column: 1 / -1; border-left: 0; }
  .barbox { height: 120px; }
  .bars-h { flex-direction: column; align-items: flex-start; }
  .bestg { grid-template-columns: minmax(0, 1fr); }
  .bl { padding: 16px; }
  .pass-rows > div { grid-template-columns: 110px minmax(0, 1fr); }
  .pass-rows, .pass-h, .pass-f { padding-left: 18px; padding-right: 18px; }
  .foot { grid-template-columns: minmax(0, 1fr); padding: 36px 18px 48px; }
  .fl { justify-content: flex-start; }
  .fd { flex-direction: column; }
  .mh { padding: 22px 20px 16px; } .mb { padding: 16px 20px 20px; }
  .recsum { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recsum > div:nth-child(n+4) { display: none; }
  .lrow { grid-template-columns: 44px 26px minmax(0, 1fr) 70px 56px; }
  .lrow .o1, .lrow .o2 { display: none; }
  .frow { grid-template-columns: 3px minmax(0, 1fr) 120px; }
  .modal { padding: 0; align-items: end; }
  .modal-card, .modal-card.wide { width: 100%; max-height: 88svh; }
}
@keyframes lc-in-ph { from { opacity: 0; transform: translateY(16px); } }
@keyframes sheet-in { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* lock record bars */
#bars rect { shape-rendering: crispEdges; transition: fill .12s; }
#bars rect.b1 { fill: #34475f; }
#bars rect.b2 { fill: var(--cyan); }
#bars rect.b5 { fill: var(--lock); }
#bars rect.bR { fill: var(--red); }
#bars rect.hi { fill: #fff; }
.barbox { cursor: pointer; }
@media (max-width: 760px) { #mapview { top: calc(var(--hud-h) + 82px); } }

/* flat (2D) radar labels: DOM */
.lb { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; font: 600 10.5px/17px var(--f-mono); }
.lb-ap { padding: 0 6px 0 7px; background: rgba(3, 9, 18, .78); color: var(--ink); box-shadow: inset 2px 0 0 rgba(166, 220, 255, .38); }
.lb-ap span { margin-left: 6px; font-weight: 400; color: var(--ink3); }
.lb-ap.hot { box-shadow: inset 2px 0 0 var(--cyan); } .lb-ap.tw { background: rgba(40, 12, 2, .88); color: var(--lock2); box-shadow: inset 2px 0 0 var(--lock); }
.lb-ap.sel { background: var(--ink); color: #04101e; }
.lb-pl { padding: 0 6px; background: var(--c, var(--kol)); color: #04101e; font-size: 10px; line-height: 16px; }
.lb-pl span { margin-left: 6px; opacity: .7; font-weight: 400; }
.lb-pl.sel { background: #fff; }
.lb-cont { text-align: center; font: 700 11px/1.2 var(--f-disp); letter-spacing: .4em; text-transform: uppercase; color: rgba(220, 240, 255, .5); }
.lb-cont em { display: block; margin-top: 4px; font: 400 9.5px/1 var(--f-mono); letter-spacing: .16em; color: rgba(120, 200, 255, .42); font-style: normal; }
.lb-grid { font: 400 10px/1 var(--f-mono); color: rgba(140, 200, 255, .45); }
.lb-tower { padding: 5px 10px 6px; text-align: center; background: rgba(30, 9, 2, .9); border: 1px solid var(--lockline); font: 700 9px/1.2 var(--f-disp); letter-spacing: .3em; color: var(--lock); }
.lb-tower span { display: block; margin-top: 3px; font: 600 12px/1 var(--f-mono); letter-spacing: .05em; color: #fff; }
.brackets { position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border: 1px solid transparent; pointer-events: none;
  background: linear-gradient(#fff, #fff) 0 0 / 12px 1.5px, linear-gradient(#fff, #fff) 0 0 / 1.5px 12px, linear-gradient(#fff, #fff) 100% 0 / 12px 1.5px, linear-gradient(#fff, #fff) 100% 0 / 1.5px 12px,
    linear-gradient(#fff, #fff) 0 100% / 12px 1.5px, linear-gradient(#fff, #fff) 0 100% / 1.5px 12px, linear-gradient(#fff, #fff) 100% 100% / 12px 1.5px, linear-gradient(#fff, #fff) 100% 100% / 1.5px 12px; background-repeat: no-repeat; }
.brackets .ring { position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(234, 244, 255, .5); }
