/* OVERHANG · Oxanium / Barlow / Kode Mono · void + volt + cobalt */
:root, html { color-scheme: dark !important; }
:root {
  --void: #0B0C10; --studio: #111318; --panel: #15181f; --panel-2: #1b1f28; --line: #262A34; --line-2: #343946;
  --volt: #EBFA3D; --volt-2: #E6EF06; --cobalt: #1A5BFE; --cobalt-2: #0038E5; --deep: #010E30;
  --chalk: #EEF0E8; --mute: #9AA0AE; --dim: #6B7180;
  --long: #2FD67B; --short: #FF4D5E; --warn: #FFB547;
  --f-d: 'Oxanium', 'Barlow', system-ui, sans-serif; --f-b: 'Barlow', system-ui, -apple-system, sans-serif; --f-m: 'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 6px; --gut: clamp(16px, 4vw, 56px); --max: 1320px;
  --chamfer: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: #343946 transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: #343946; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--volt); }
::-webkit-scrollbar-button { display: none; }
html, body { background: var(--void); color: var(--chalk); margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font: 16px/1.55 var(--f-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
body.is-loading { overflow: hidden; }
body.sheet-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, .mono { font-family: var(--f-m); font-size: .92em; letter-spacing: -.01em; }
code { background: rgba(255,255,255,.05); padding: 1px 5px; border-radius: 4px; word-break: break-all; }
code.wrap { overflow-wrap: anywhere; word-break: break-word; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 58px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: -999px; top: 8px; z-index: 99; background: var(--volt); color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }
.up { color: var(--long); } .down { color: var(--short); } .dim { color: var(--dim); } .sub { color: var(--mute); font-size: 12px; }
.noscript { padding: 40px; max-width: 760px; }

/* ---------- layers ---------- */
#studio { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; transition: opacity .8s; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .foot { position: relative; z-index: 2; }
main { min-height: 100vh; outline: none; }
.view.app { padding-top: 96px; padding-bottom: 80px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- cursor ---------- */
#cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; }
#cursor.on { opacity: 1; }
#cursor::before { content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--volt); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%); transition: transform .25s; mix-blend-mode: difference; }
#cursor.hot::before { transform: scale(2.6) rotate(90deg); }

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 90; background: #07080b; display: grid; place-items: center; }
.ld-stage { position: relative; width: min(420px, 74vw); }
.ld-svg { width: 100%; overflow: visible; }
.ld-b { fill: var(--cobalt); } .ld-y { fill: var(--volt); }
.ld-floor { height: 2px; margin-top: 18px; background: linear-gradient(90deg, transparent, var(--volt), var(--cobalt), transparent); transform: scaleX(0); opacity: 0; box-shadow: 0 0 24px var(--volt); }
.ld-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-family: var(--f-m); font-size: 12px; color: var(--mute); }
.ld-name { font-family: var(--f-d); font-weight: 700; letter-spacing: .32em; color: var(--chalk); font-size: 14px; }
.ld-lev { color: var(--volt); font-size: 22px; }

/* ---------- shear transition ---------- */
#shear { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
.sh-top, .sh-bot { position: absolute; left: -2%; right: -2%; }
.sh-top { top: 0; height: 56%; background: var(--volt); clip-path: polygon(0 0, 100% 0, 100% 100%, 9vh 100%, 0 calc(100% - 9vh)); }
.sh-bot { bottom: 0; height: 50%; background: var(--cobalt); clip-path: polygon(0 0, calc(100% - 9vh) 0, 100% 9vh, 100% 100%, 0 100%); }
.sh-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: baseline; gap: 16px; padding: 10px 22px; background: #07080b; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
.sh-idx { font-family: var(--f-m); color: var(--volt); font-size: 13px; }
.sh-name { font-family: var(--f-d); font-weight: 800; font-size: clamp(26px, 4vw, 44px); letter-spacing: -.02em; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-d); font-weight: 800; letter-spacing: .14em; font-size: 15px; }
.brand .mk { width: 38px; height: auto; }
.mk-y { fill: var(--volt); } .mk-b { fill: var(--cobalt); }
.float-brand { position: fixed; top: 14px; left: calc(var(--gut) - 14px); z-index: 40; padding: 10px 16px 10px 14px; background: rgba(11,12,16,.78); backdrop-filter: blur(10px); clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); }

/* ---------- ledge (desktop nav) ---------- */
.ledge { position: fixed; top: 14px; right: 0; z-index: 40; display: flex; align-items: center; gap: 22px; height: 54px; padding: 0 var(--gut) 0 46px; background: var(--volt); color: #0a0b06; clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px); transition: transform .5s cubic-bezier(.7,0,.2,1); filter: drop-shadow(0 10px 30px rgba(0,0,0,.4)); }
.ledge::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--cobalt); }
.lg-nav { display: flex; gap: 4px; }
.lg-nav a { position: relative; padding: 8px 10px; font-family: var(--f-d); font-weight: 600; font-size: 14px; letter-spacing: .01em; display: flex; align-items: baseline; gap: 5px; }
.lg-nav a small { font-family: var(--f-m); font-size: 10px; opacity: .55; }
.lg-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: #0a0b06; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.lg-nav a:hover::after { transform: scaleX(1); }
.lg-nav a.on { background: #0a0b06; color: var(--volt); clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px); }
.lg-nav a.on::after { display: none; }
.lg-end { display: flex; align-items: center; gap: 8px; }
.ledge .btn.trade { background: var(--cobalt); color: #fff; height: 36px; padding: 0 18px; }
.ledge .btn.wal { background: #0a0b06; color: var(--chalk); height: 36px; padding: 0 14px; font-family: var(--f-m); font-size: 13px; }
.ledge .soc { color: #0a0b06; }
.ledge .soc svg { fill: currentColor; }
.lg-nav { max-width: 900px; overflow: hidden; transition: max-width .5s cubic-bezier(.7,0,.2,1), opacity .3s; }
body.ledge-in .ledge:not(:hover):not(:focus-within) .lg-nav { max-width: 0; opacity: 0; }
body.ledge-in .base { transform: translateX(-105%); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); margin-right: 7px; vertical-align: 1px; }
.dot.ok { background: var(--long); box-shadow: 0 0 8px var(--long); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--short); }

/* ---------- base slab ---------- */
.base { transition: transform .5s cubic-bezier(.7,0,.2,1); position: fixed; left: 0; bottom: 16px; z-index: 40; height: 34px; display: flex; align-items: center; padding: 0 34px 0 var(--gut); background: var(--cobalt); color: #fff; font-size: 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%); }
.base .dot.ok { background: #fff; box-shadow: 0 0 8px #fff; }

/* ---------- mobile bar + sheet ---------- */
.mbar { display: none; }
.msheet { position: fixed; inset: 0; z-index: 38; background: #07080b; transform: translateY(-100%); transition: transform .55s cubic-bezier(.7,0,.2,1); overflow-y: auto; }
.msheet.open { transform: none; }
.ms-in { padding: 92px var(--gut) 40px; display: flex; flex-direction: column; min-height: 100%; }
.ms-in nav { display: flex; flex-direction: column; }
.ms-in nav a { font-family: var(--f-d); font-weight: 700; font-size: clamp(30px, 9vw, 46px); padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.ms-in nav a small { font-family: var(--f-m); font-size: 12px; color: var(--volt); }
.ms-in nav a.ms-trade { color: var(--volt); }
.ms-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 16px; font-size: 12px; color: var(--mute); }
.ms-soc { display: flex; gap: 10px; }

/* ---------- type helpers ---------- */
.kick { font-size: 12px; letter-spacing: .04em; color: var(--mute); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; text-transform: uppercase; }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: #c4c8d2; max-width: 640px; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
[data-split] .w > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; background: var(--panel-2); color: var(--chalk); font-family: var(--f-d); font-weight: 700; font-size: 14px; letter-spacing: .02em; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); transition: background .2s, color .2s, opacity .2s; white-space: nowrap; }
.btn.primary { background: var(--volt); color: #0a0b06; }
.btn.primary:hover { background: #fff; }
.btn.primary.short { background: var(--short); color: #fff; }
.btn.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); clip-path: none; }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--volt); color: var(--volt); }
.btn.ghost { background: rgba(255,255,255,.06); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.dark { background: #0a0b06; color: var(--volt); }
.btn.sm { height: 30px; padding: 0 12px; font-size: 12px; clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.soc { display: inline-grid; place-items: center; width: 34px; height: 34px; }
.soc svg { width: 17px; height: 17px; fill: currentColor; }
.soc.big { width: 54px; height: 54px; background: var(--panel-2); clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.soc.big:hover { background: var(--volt); color: #000; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 3px; background: rgba(255,255,255,.07); color: #c9ccd6; font: 500 11px/1 var(--f-m); white-space: nowrap; letter-spacing: 0; text-transform: none; }
.chip i { width: 6px; height: 6px; border-radius: 1px; background: currentColor; }
.chip.ok, .chip.st-Active { background: rgba(47,214,123,.13); color: var(--long); }
.chip.st-ReduceOnly, .chip.warn { background: rgba(255,181,71,.14); color: var(--warn); }
.chip.st-SettleOnly, .chip.st-Paused, .chip.bad { background: rgba(255,77,94,.14); color: var(--short); }
.chip.blue { background: rgba(26,91,254,.22); color: #8fb0ff; }
.chip.volt { background: var(--volt); color: #0a0b06; }
.chip.dim { color: var(--dim); }
.side { font-family: var(--f-d); font-weight: 700; font-size: 13px; }
.side.long { color: var(--long); } .side.short { color: var(--short); }
.tdot { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; background: hsl(var(--h) 70% 55% / .18); color: hsl(var(--h) 85% 72%); font: 700 12px var(--f-d); clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px); margin-right: 8px; vertical-align: middle; }

/* ---------- panels, stats ---------- */
.panel { background: rgba(21,24,31,.86); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; backdrop-filter: blur(6px); min-width: 0; }
.panel > h3 { margin-bottom: 14px; font-size: 16px; }
.mt { margin-top: 20px; }
.phead { padding-top: 24px; padding-bottom: 28px; }
.phead h1 { font-size: clamp(40px, 6vw, 84px); margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 20px; border-radius: var(--r); overflow: hidden; }
.stats.six { grid-template-columns: repeat(6, 1fr); }
.stat { background: rgba(17,19,24,.94); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat > span { font: 11px var(--f-m); color: var(--mute); text-transform: uppercase; }
.stat b { font-family: var(--f-d); font-size: clamp(20px, 2vw, 28px); font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stat small { color: var(--dim); font-size: 12px; }
.meter { display: inline-block; width: 70px; height: 6px; background: var(--line-2); position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--warn); }
.empty { padding: 28px 18px; text-align: center; color: var(--mute); border: 1px dashed var(--line-2); border-radius: var(--r); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.empty.big { padding: 54px 18px; }
.empty.big b { font-family: var(--f-d); font-size: 22px; color: var(--chalk); }
.banner { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; border-left: 4px solid; background: rgba(255,77,94,.08); font-size: 14px; }
.banner b { font-family: var(--f-d); }
.banner.bad { border-color: var(--short); } .banner.bad b { color: var(--short); }
.banner.warn { border-color: var(--warn); background: rgba(255,181,71,.08); } .banner.warn b { color: var(--warn); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; overscroll-behavior: contain; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 500 11px var(--f-m); color: var(--mute); text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid rgba(38,42,52,.6); vertical-align: middle; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: rgba(235,250,61,.035); }
.tbl tr[data-href] { cursor: pointer; }
.tbl.doc td { vertical-align: top; }
.mk-cell { display: flex; align-items: center; }
.mk-cell b { font-family: var(--f-d); display: block; }
.mk-cell small { color: var(--mute); font-size: 12px; }
.oi-cell { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.oi-cell small { color: var(--dim); font-size: 11px; }
.oib { display: block; height: 5px; background: var(--line-2); position: relative; min-width: 60px; }
.oib i { position: absolute; inset: 0 auto 0 0; background: var(--cobalt); }
.oib.hi i { background: var(--warn); } .oib.full i { background: var(--short); }
.spark { width: 110px; height: 30px; fill: none; stroke-width: 1.6; }
.spark.up { stroke: var(--long); } .spark.down { stroke: var(--short); }
.liqv { color: var(--volt) !important; }
.hash { font-family: var(--f-m); font-size: 12px; color: #8fb0ff; background: none; border: 0; padding: 0; text-decoration: underline dotted; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); padding: 3px; gap: 2px; border-radius: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 12px; font: 600 13px var(--f-d); color: var(--mute); border-radius: 3px; }
.seg button.on { background: var(--volt); color: #0a0b06; }
.seg.sm button { padding: 4px 9px; font-size: 12px; }
.seg.full { display: flex; width: 100%; margin-bottom: 16px; } .seg.full button { flex: 1; }
.tb-r { display: flex; gap: 8px; flex-wrap: wrap; }
input[type=search], select, .fld input, .c-in input, .rc-in input { background: var(--studio); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 12px; height: 40px; outline: none; min-width: 0; }
input:focus, select:focus { border-color: var(--volt); }
select { padding-right: 28px; }

/* ---------- toasts / modal ---------- */
#toasts { position: fixed; right: 16px; bottom: 64px; z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { background: var(--panel-2); border-left: 3px solid var(--cobalt); padding: 12px 16px; font-size: 14px; max-width: 360px; transform: translateX(30px); opacity: 0; transition: all .35s; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.toast.in { transform: none; opacity: 1; }
.toast.ok { border-color: var(--long); } .toast.bad { border-color: var(--short); }
.modal-wrap { position: fixed; inset: 0; z-index: 96; background: rgba(4,5,8,.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; overflow-y: auto; }
.modal-wrap.in { opacity: 1; }
.modal { position: relative; width: min(560px, 100%); background: var(--studio); border: 1px solid var(--line-2); padding: 28px; clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px); transform: translateY(14px); transition: transform .3s; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.modal-wrap.in .modal { transform: none; }
.modal.narrow { width: min(460px, 100%); }
.modal::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--volt) 60%, var(--cobalt) 60%); }
.m-x { position: absolute; right: 14px; top: 12px; background: none; border: 0; font-size: 26px; color: var(--mute); line-height: 1; }
.m-k { font: 11px var(--f-m); color: var(--volt); text-transform: uppercase; margin-bottom: 6px; }
.modal h3 { font-size: 24px; margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; font-size: 14px; }
.kv dt { color: var(--mute); } .kv dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.m-act { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.m-act.wrap { justify-content: flex-start; }
.m-note { font-size: 13px; color: var(--mute); margin: 14px 0 0; }
.m-err { background: rgba(255,77,94,.1); color: #ff9aa5; padding: 10px 12px; font-size: 13px; margin-top: 10px; overflow-wrap: anywhere; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.steps li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--panel); font-size: 13px; border-left: 3px solid var(--line-2); }
.steps li b { font-family: var(--f-m); color: var(--mute); }
.steps li span { font-family: var(--f-m); font-size: 12px; overflow-wrap: anywhere; }
.steps li em { font-style: normal; font-size: 12px; color: var(--mute); text-align: right; }
.steps li.run { border-color: var(--volt); } .steps li.run em { color: var(--volt); }
.steps li.ok { border-color: var(--long); } .steps li.ok em { color: var(--long); }
.steps li.bad { border-color: var(--short); } .steps li.bad em { color: var(--short); }
.w-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; margin-bottom: 8px; transition: border-color .2s; }
.w-opt:hover { border-color: var(--volt); }
.w-opt b { font-family: var(--f-d); } .w-opt span { font-size: 12px; color: var(--mute); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 70px; overflow: hidden; isolation: isolate; }
.hero-3d { position: absolute; inset: 0; z-index: -1; }
.hero-3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-sky { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 80% at 70% 30%, #3b3d36 0%, #23241f 45%, #121310 100%); transition: opacity 1.4s; }
.hero[data-mix="1"] .hero-sky { opacity: 0; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; z-index: -1; background: linear-gradient(transparent, var(--void)); pointer-events: none; }
.hero-copy { padding-top: 120px; }
.hero-h { font-size: clamp(52px, 9.6vw, 150px); letter-spacing: -.045em; line-height: .9; margin-bottom: 22px; display: flex; flex-direction: column; }
.hero-h .h-a, .hero-h .h-b { transition: color 1.2s, opacity 1.2s; }
.hero[data-mix="0"] .h-a { color: #fff; } .hero[data-mix="0"] .h-b { color: rgba(238,240,232,.22); }
.hero[data-mix="1"] .h-a { color: rgba(238,240,232,.28); } .hero[data-mix="1"] .h-b { color: var(--volt); text-shadow: 0 0 40px rgba(235,250,61,.25); }
.hero .lede { max-width: 560px; }
.cycle { display: inline-flex; margin-top: 8px; border: 1px solid var(--line-2); background: rgba(11,12,16,.5); backdrop-filter: blur(6px); }
.cycle button { border: 0; background: none; padding: 9px 14px; font: 600 13px var(--f-d); color: var(--mute); display: flex; align-items: center; gap: 8px; }
.cycle button.on { background: var(--chalk); color: #0a0b06; }
.hero[data-mix="1"] .cycle button.on { background: var(--cobalt); color: #fff; }
.cycle i { width: 10px; height: 10px; display: block; }
.cycle i.sun { border-radius: 50%; background: currentColor; }
.cycle i.moon { border-radius: 50%; box-shadow: inset -3px -1px 0 0 currentColor; }
.qrail { display: flex; gap: 8px; overflow-x: auto; margin-top: 36px; padding-bottom: 6px; scrollbar-width: none; }
.qrail::-webkit-scrollbar { display: none; }
.qchip { flex: none; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 10px 14px; background: rgba(17,19,24,.72); border: 1px solid var(--line); backdrop-filter: blur(8px); position: relative; transition: border-color .2s; }
.qchip:hover { border-color: var(--volt); }
.qchip b { font-family: var(--f-d); font-size: 14px; } .q-px { font-size: 13px; text-align: right; } .q-f { font-size: 11px; color: var(--mute); grid-column: 2; text-align: right; }
.qchip .sd { position: absolute; left: 14px; bottom: 12px; width: 6px; height: 6px; }
.sd.st-Active { background: var(--long); } .sd.st-ReduceOnly { background: var(--warn); } .sd.st-SettleOnly, .sd.st-Paused { background: var(--short); }
.qempty { color: var(--mute); font-size: 14px; }

/* ---------- clock ---------- */
.clock-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 140px; padding-bottom: 120px; }
.clock-copy h2 { margin-bottom: 18px; }
.stn-card { margin-top: 26px; padding: 20px 22px; background: rgba(21,24,31,.86); border-left: 4px solid var(--volt); min-height: 150px; }
.stn-card > span { font-size: 12px; color: var(--mute); }
.stn-card h3 { margin: 6px 0 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 24px; }
.stn-card p { color: #c4c8d2; margin: 0; }
.clock svg { width: 100%; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.clock .cr { fill: rgba(17,19,24,.6); stroke: var(--line-2); }
.clock .arc-day { fill: none; stroke: #6b6d62; stroke-width: 3; }
.clock .arc-night { fill: none; stroke: var(--cobalt); stroke-width: 3; }
.clock .ticks line { stroke: var(--line-2); }
.stn { cursor: pointer; }
.stn circle { fill: var(--studio); stroke: var(--mute); stroke-width: 2; transition: all .3s; }
.stn text { fill: var(--mute); font: 11px var(--f-m); }
.stn.on circle { stroke: var(--volt); fill: var(--volt); }
.stn.sel circle { stroke: var(--volt); stroke-width: 4; }
.stn.sel text { fill: var(--volt); }
#hand { transform-origin: 200px 200px; transition: transform 1s cubic-bezier(.6,0,.2,1); }
#hand line { stroke: var(--volt); stroke-width: 3; }
#hand circle { fill: var(--volt); }
.clk-t { fill: var(--chalk); font-size: 22px; }

/* ---------- load test ---------- */
.load { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(180deg, transparent, rgba(1,14,48,.55) 20%, rgba(1,14,48,.55) 80%, transparent); }
.load-in { padding-top: 40px; padding-bottom: 40px; }
.load-head h2 { max-width: 880px; margin-bottom: 26px; font-size: clamp(28px, 3.6vw, 50px); }
.load-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start; }
.bp { background: #04102e; border: 1px solid #1d3a86; padding: 8px; }
.bp svg { width: 100%; display: block; font-family: var(--f-m); }
.bp-grid line { stroke: #12296a; stroke-width: 1; }
.bp-ground { stroke: #9fb6ff; stroke-width: 2; }
.bp-water { fill: none; stroke: #2b56d8; stroke-width: 1.5; }
.bp-base { fill: rgba(26,91,254,.85); stroke: #9fb6ff; transition: all .7s cubic-bezier(.6,0,.2,1); }
#bpBeam { transform-origin: 80px 210px; transform-box: view-box; transition: transform .8s cubic-bezier(.6,0,.2,1); }
.bp-beam { fill: var(--volt); transition: all .8s cubic-bezier(.6,0,.2,1); }
.bp-lbl { fill: #cfdcff; font-size: 13px; letter-spacing: .06em; } .bp-lbl.dark { fill: #0a0b06; font-weight: 600; }
.bp-num { fill: #fff; font-size: 16px; }
.bp-dim line { stroke: #9fb6ff; } .bp-dim text { fill: #9fb6ff; font-size: 13px; }
.wt line { stroke: #cfdcff; stroke-dasharray: 3 3; }
.wt rect { fill: #0a1a4a; stroke: var(--volt); }
.wt text { fill: var(--volt); font-size: 12px; }
.wt.drop { animation: drop 1.4s .3s both cubic-bezier(.5,0,.8,.4); }
.wt.drop rect { stroke: var(--short); } .wt.drop text { fill: var(--short); }
.wt.rej { animation: rej 1.2s .2s both; } .wt.rej rect { stroke: var(--short); } .wt.rej text { fill: var(--short); }
@keyframes drop { 0%, 30% { transform: none; opacity: 1; } 100% { transform: translateY(160px); opacity: 0; } }
@keyframes rej { 0% { transform: translateY(-60px); opacity: 0; } 50% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
.devm line { stroke: #cfdcff; stroke-width: 2; } .devm text { fill: #cfdcff; font-size: 13px; }
.devm .sp { stroke: var(--warn); fill: var(--warn); }
.ghost polygon { fill: none; stroke: var(--volt); stroke-dasharray: 8 6; } .ghost text { fill: var(--volt); font-size: 14px; }
.bp-lamp rect { fill: #020a20; stroke: #2b56d8; }
.bp-state { font-family: var(--f-d); font-size: 24px; font-weight: 700; fill: var(--long); }
.bp-state.s-ReduceOnly { fill: var(--warn); } .bp-state.s-SettleOnly, .bp-state.s-Paused { fill: var(--short); } .bp-state.s-— { fill: var(--mute); }
.bp-stamp rect { fill: none; stroke: var(--short); stroke-width: 3; } .bp-stamp text { fill: var(--short); font: 700 18px var(--f-d); letter-spacing: .06em; }
.bp-stamp.pop { animation: stamp .5s both; transform-origin: 505px 63px; transform-box: view-box; }
@keyframes stamp { 0% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.lt-dots { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.lt-dots button { border: 1px solid var(--line-2); background: none; font: 12px var(--f-m); color: var(--mute); padding: 6px 9px; }
.lt-dots button.on { background: var(--volt); color: #000; border-color: var(--volt); }
.lt-k { font-size: 12px; color: var(--volt); }
#ltCase h3 { font-size: clamp(20px, 2vw, 28px); margin: 6px 0 10px; }
.lt-r { color: #c4c8d2; }
#ltCase .kv { background: rgba(4,16,46,.7); padding: 14px; border: 1px solid #1d3a86; }

/* ---------- sections ---------- */
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.board, .recipe, .seats, .phase, .faq, .comm { padding-top: 110px; }
.recipe { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.recipe h2 { margin-bottom: 16px; }
.formula { background: rgba(17,19,24,.85); border-left: 3px solid var(--volt); padding: 16px; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 22px; }
.rc-card, .ph-card { background: rgba(21,24,31,.9); border: 1px solid var(--line); padding: 22px; position: relative; overflow: hidden; }
.glare::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, -50%) var(--gy, -50%), rgba(235,250,61,.08), transparent 45%); }
.rc-in, .c-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.c-in.two { grid-template-columns: 1fr 1fr; }
.rc-in label, .c-in label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--mute); }
.rc-in input, .c-in input, .c-in select { font-family: var(--f-m); color: var(--chalk); width: 100%; }
.rc-in label.core > span { display: flex; gap: 8px; align-items: center; }
.rc-in input:disabled { opacity: .4; }
.rc-in input[type=checkbox] { width: 16px; height: 16px; padding: 0; accent-color: var(--volt); flex: none; }
.rc-big { display: flex; flex-direction: column; padding: 16px; background: var(--studio); border-left: 4px solid var(--volt); margin-bottom: 10px; }
.rc-big span { font-size: 12px; color: var(--mute); } .rc-big b { font-size: clamp(26px, 3vw, 38px); } .rc-big small { color: var(--dim); }
.rc-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.rc-row span { color: var(--mute); }
.err { color: var(--short); font-size: 14px; }
.seats h2 { margin-bottom: 26px; }
.seat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.seat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 22px; background: rgba(21,24,31,.86); border: 1px solid var(--line); min-height: 280px; transition: border-color .25s, transform .25s; clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px); }
.seat:hover { border-color: var(--volt); transform: translateY(-4px); }
.seat-k { color: var(--volt); font-size: 13px; text-transform: uppercase; }
.seat p { color: #c4c8d2; font-size: 15px; margin: 0; }
.seat-live { margin-top: auto; display: flex; flex-direction: column; }
.seat-live .mono { font-size: 22px; font-family: var(--f-d); font-weight: 700; } .seat-live small { color: var(--dim); font-size: 12px; }
.seat-cta { font: 600 13px var(--f-d); color: var(--mute); }
.seat:hover .seat-cta { color: var(--volt); }
.phase { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.phase h2 { margin-bottom: 16px; }
.road { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.road li { display: flex; gap: 14px; color: #c4c8d2; } .road b { font-family: var(--f-d); color: var(--volt); min-width: 28px; }
.lc-l { font: 11px var(--f-m); color: var(--mute); text-transform: uppercase; }
.stake { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 4px; flex-wrap: wrap; }
.stake b { font-family: var(--f-d); font-size: clamp(44px, 5vw, 72px); color: var(--volt); line-height: 1; }
.stake span { color: var(--mute); }
.stake-usd { font-family: var(--f-m); font-size: 14px; margin-bottom: 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.live-ok { color: var(--long); font-size: 11px; font-family: var(--f-m); } .live-bad { color: var(--warn); font-size: 11px; font-family: var(--f-m); }
.ms-list { display: flex; flex-direction: column; gap: 6px; font-size: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.ms-list span { color: var(--mute); padding-left: 16px; position: relative; }
.ms-list span::before { content: ''; position: absolute; left: 0; top: 5px; width: 7px; height: 7px; border: 1px solid var(--mute); }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
details { background: rgba(21,24,31,.86); border: 1px solid var(--line); padding: 0 18px; }
details summary { cursor: pointer; padding: 16px 0; font-family: var(--f-d); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--volt); font-family: var(--f-m); }
details[open] summary::after { content: '−'; }
details p { color: #c4c8d2; font-size: 15px; }
.comm { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.comm-soc { display: flex; gap: 12px; }
.closer { position: relative; margin-top: 130px; min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.cl-img { position: absolute; inset: -10% 0; z-index: -1; }
.cl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.closer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--void) 10%, rgba(11,12,16,.4) 60%, rgba(11,12,16,.1)), linear-gradient(0deg, var(--void), transparent 30%, transparent 70%, var(--void)); }
.closer h2 { font-size: clamp(36px, 5.6vw, 82px); margin-bottom: 28px; max-width: 820px; }

/* ---------- footer ---------- */
.foot { margin-top: 120px; padding-bottom: 70px; }
.ft-ledge { position: relative; height: 300px; }
.ft-slab { position: absolute; right: 0; top: 0; width: min(1040px, 88vw); background: var(--volt); color: #0a0b06; padding: 40px var(--gut) 40px 80px; clip-path: polygon(70px 0, 100% 0, 100% 100%, 0 100%, 0 70px); z-index: 1; }
.ft-k { font-size: 12px; margin-bottom: 6px; text-transform: uppercase; }
.ft-slab h2 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.04em; }
.ft-cta { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.ft-slab .btn.line { color: #0a0b06; box-shadow: inset 0 0 0 1px #0a0b06; }
.ft-slab .btn.line:hover { background: #0a0b06; color: var(--volt); }
.ft-base { position: absolute; left: 0; bottom: 0; width: 44%; height: 90px; background: var(--cobalt); clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%); }
.ft-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; max-width: var(--max); margin: 50px auto 0; padding: 0 var(--gut); }
.ft-cols h4 { font: 500 11px var(--f-m); text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.ft-cols a { display: block; padding: 4px 0; color: #c4c8d2; font-size: 15px; }
.ft-cols a:hover { color: var(--volt); }
.ft-brand p { color: var(--mute); font-size: 14px; margin-top: 14px; max-width: 340px; }
.ft-soc { display: flex; gap: 6px; }
.ft-status { max-width: var(--max); margin: 40px auto 0; padding: 14px var(--gut) 0; border-top: 1px solid var(--line); display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: #c4c8d2; }
.ft-status .muted { color: var(--dim); }
.ft-status .ft-up { margin-left: auto; color: var(--dim); }

/* ---------- markets ---------- */
.mk-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.feed { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.feed li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(38,42,52,.6); font-size: 13px; }
.feed .ago { font: 11px var(--f-m); color: var(--dim); min-width: 52px; }
.feed b { font-family: var(--f-d); }
.feed-p { position: sticky; top: 96px; }
.sub-h { font: 500 11px var(--f-m); text-transform: uppercase; color: var(--mute); margin: 18px 0 6px; }

/* ---------- trade ---------- */
.t-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 16px 20px; background: rgba(21,24,31,.9); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; }
.t-pick { display: flex; align-items: center; gap: 6px; position: relative; }
.t-pick select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.t-pick b, .t-pick h1 { font-family: var(--f-d); font-size: 20px; display: block; letter-spacing: -.01em; } .t-pick small { color: var(--mute); font-size: 12px; }
.t-pick::after { content: '▾'; color: var(--volt); margin-left: 6px; }
.t-stats { display: flex; gap: 22px; flex-wrap: wrap; flex: 1; }
.t-stats > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.t-stats > div > span { font: 10px var(--f-m); color: var(--mute); text-transform: uppercase; }
.t-stats .oib { width: 70px; }
.t-grid { display: grid; grid-template-columns: 1fr 360px; gap: 14px; align-items: start; }
.t-chart { padding: 14px; }
.ch-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 12px; color: var(--mute); gap: 10px; flex-wrap: wrap; }
#tChart { position: relative; }
.candles { width: 100%; height: clamp(260px, 42vw, 430px); display: block; }
.candles .grid { stroke: rgba(255,255,255,.05); }
.candles .ax { fill: var(--dim); font: 11px var(--f-m); }
.cu line { stroke: var(--long); } .cu rect { fill: var(--long); }
.cd line { stroke: var(--short); } .cd rect { fill: var(--short); }
.pl line { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pl text { font: 11px var(--f-m); }
.pl.mark line { stroke: #fff; stroke-dasharray: 2 3; } .pl.mark rect { fill: #fff; } .pl.mark text { fill: #000; }
.pl.index line { stroke: var(--cobalt); stroke-dasharray: 6 4; } .pl.index rect { fill: var(--cobalt); } .pl.index text { fill: #fff; }
.pl.liq line { stroke: var(--volt); stroke-width: 2; stroke-dasharray: 8 4; } .pl.liq rect { fill: var(--volt); } .pl.liq text { fill: #000; font-weight: 600; }
.pl.liq.pv line { opacity: .6; }
.pl.entry line { stroke: var(--mute); stroke-dasharray: 1 3; } .pl.entry rect { fill: var(--panel-2); } .pl.entry text { fill: var(--chalk); }
.xh { stroke: rgba(255,255,255,.2); vector-effect: non-scaling-stroke; }
.ohlc { position: absolute; left: 6px; top: 4px; font-size: 11px; color: var(--mute); background: rgba(11,12,16,.7); padding: 3px 6px; }
.legend { display: flex; gap: 18px; font-size: 11px; color: var(--mute); margin-top: 8px; flex-wrap: wrap; }
.legend span::before { content: ''; display: inline-block; width: 16px; height: 0; border-top: 2px dashed; vertical-align: middle; margin-right: 6px; }
.lg-mark::before { border-color: #fff !important; } .lg-index::before { border-color: var(--cobalt) !important; } .lg-liq::before { border-color: var(--volt) !important; }
.t-form { position: sticky; top: 96px; }
.oform .ls { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 16px; }
.ls button { border: 1px solid var(--line-2); background: none; height: 42px; font: 700 15px var(--f-d); color: var(--mute); }
.ls button.long.on { background: var(--long); border-color: var(--long); color: #04140b; }
.ls button.short.on { background: var(--short); border-color: var(--short); color: #fff; }
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; font-size: 13px; color: var(--mute); }
.fld > span { display: flex; justify-content: space-between; gap: 10px; }
.fld em { font-style: normal; color: var(--dim); font-size: 12px; }
.in-u { display: flex; align-items: center; background: var(--studio); border: 1px solid var(--line-2); border-radius: 4px; }
.in-u:focus-within { border-color: var(--volt); }
.in-u input { flex: 1; border: 0; background: none; height: 42px; padding: 0 12px; font-family: var(--f-m); font-size: 16px; color: var(--chalk); outline: none; min-width: 0; }
.in-u b { font: 12px var(--f-m); color: var(--mute); padding: 0 8px; }
.in-u .max { border: 0; background: rgba(235,250,61,.12); color: var(--volt); font: 600 11px var(--f-m); height: 26px; margin-right: 8px; padding: 0 8px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--line-2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--volt); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--volt); border: 0; border-radius: 0; }
.levs { display: flex; gap: 4px; }
.levs button { flex: 1; border: 1px solid var(--line-2); background: none; font: 12px var(--f-m); color: var(--mute); height: 28px; }
.levs button.on { border-color: var(--volt); color: var(--volt); }
.sum { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; font-size: 13px; margin: 6px 0 12px; padding: 12px; background: var(--studio); }
.sum dt { color: var(--mute); } .sum dd { margin: 0; text-align: right; }
.sum small { font-size: 11px; margin-left: 4px; }
.oerr p { color: #ff9aa5; font-size: 13px; margin: 0 0 6px; }
.fine { font-size: 12px; color: var(--dim); margin: 12px 0 0; }
.t-lower { margin-top: 14px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 10px 14px; font: 600 14px var(--f-d); color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--chalk); border-color: var(--volt); }
.kvgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.kvgrid > div { background: var(--studio); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.kvgrid span { font: 10px var(--f-m); color: var(--mute); text-transform: uppercase; } .kvgrid small { color: var(--dim); font-size: 12px; }
.mbar-act { display: none; }

/* ---------- vault ---------- */
.v-grid { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.vc svg { width: 100%; display: block; }
.vc .area { height: auto; }
.vc-l { display: flex; gap: 16px; font: 11px var(--f-m); color: var(--mute); margin-bottom: 8px; }
.vc-l span::before { content: ''; display: inline-block; width: 12px; height: 3px; margin-right: 6px; vertical-align: middle; }
.vl-nav::before { background: var(--volt); } .vl-pnl::before { background: var(--cobalt); }
.vc-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); }
.area .ln { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.area .ln.nav { stroke: var(--volt); } .area .fill.nav { fill: rgba(235,250,61,.07); }
.area .ln.pnl { stroke: var(--cobalt); }
.area .zero { stroke: var(--line-2); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.mine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mine > div { background: var(--studio); padding: 10px; display: flex; flex-direction: column; font-size: 13px; min-width: 0; }
.mine span { font: 10px var(--f-m); color: var(--mute); text-transform: uppercase; }
.mine b { overflow-wrap: anywhere; }
.locks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.locks li { display: grid; grid-template-columns: 64px 1fr 90px; gap: 12px; align-items: center; font-size: 13px; }
.locks b { font-family: var(--f-d); }
.lk { height: 8px; background: var(--line); position: relative; } .lk i { position: absolute; inset: 0 auto 0 0; background: var(--cobalt); }
.locks .mono { text-align: right; }

/* ---------- liquidations / risk / listings ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.tier { padding: 14px 16px; border: 1px solid var(--line); background: rgba(17,19,24,.85); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tier b { font-family: var(--f-d); font-size: 24px; } .tier span { color: var(--mute); font-size: 13px; }
.tier.on { border-color: var(--volt); } .tier.on b { color: var(--volt); }
.lq-grid, .rk-grid, .ls-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.calc h3 { margin-bottom: 14px; font-size: 16px; }
.calc .c-in { grid-template-columns: 1fr 1fr; }
.lgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px; }
.lcard { position: relative; overflow: hidden; background: rgba(21,24,31,.9); border: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lcard b { font-family: var(--f-d); font-size: 20px; overflow-wrap: anywhere; }
.lcard em { font-style: normal; font-size: 11px; color: var(--dim); font-family: var(--f-m); overflow-wrap: anywhere; }
.rules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 16px; }
.rules.three { grid-template-columns: repeat(3, 1fr); }
.rules > div { background: rgba(1,14,48,.75); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.rules b { font-family: var(--f-d); color: var(--volt); } .rules span { font-size: 13px; color: #c4c8d2; }
.ph-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.ph-row h3 { margin: 0; font-size: 16px; }
.ck { display: inline-grid; place-items: center; width: 18px; height: 18px; font-style: normal; font-size: 11px; margin-right: 6px; }
.ck.ok { background: rgba(47,214,123,.16); color: var(--long); } .ck.no { background: rgba(255,77,94,.16); color: var(--short); }
.score { display: inline-block; width: 60px; height: 6px; background: var(--line-2); position: relative; margin-right: 8px; vertical-align: middle; }
.score i { position: absolute; inset: 0 auto 0 0; background: var(--volt); }
.why { display: block; margin-top: 4px; max-width: 200px; }
.why-p p { color: #c4c8d2; font-size: 15px; }
.reads { display: flex; flex-direction: column; gap: 6px; background: var(--studio); padding: 12px; margin-top: 8px; }
.rd { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.rd > span { font: 11px var(--f-m); color: var(--mute); min-width: 48px; }
.rd small { color: var(--mute); }

/* ---------- docs ---------- */
.docs-idx .phead { padding-left: 0; padding-right: 0; }
.ds-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; align-items: stretch; }
.ds-top input { width: min(420px, 100%); height: 46px; font-size: 15px; }
.tblock { display: grid; grid-template-columns: repeat(4, auto); border: 1px solid var(--line-2); }
.tblock > div { padding: 6px 14px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; font-size: 12px; }
.tblock > div:first-child { border-left: 0; }
.tblock span { font-size: 9px; color: var(--dim); text-transform: uppercase; }
.ds-group { margin-bottom: 34px; }
.ds-group h2 { font-size: 22px; display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.ds-group h2 .mono { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--volt); color: #000; font-size: 15px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.ds-rows { border-top: 1px solid var(--line-2); }
.ds-row { display: grid; grid-template-columns: 90px 1fr 80px 30px; gap: 16px; align-items: center; padding: 15px 6px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.ds-row:hover { background: rgba(235,250,61,.05); padding-left: 14px; }
.ds-row .no { color: var(--volt); font-size: 13px; }
.ds-row b { font-family: var(--f-d); font-size: 18px; font-weight: 600; }
.ds-row .rt { color: var(--dim); font-size: 12px; text-align: right; }
.ds-row .arr { color: var(--mute); }
.crumb { font-size: 12px; color: var(--mute); margin: 10px 0 20px; }
.crumb a { color: var(--volt); }
.sh-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.sh-side { position: sticky; top: 96px; }
.sh-list { max-height: calc(100vh - 220px); overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
.sh-list p { font-size: 10px; color: var(--dim); text-transform: uppercase; margin: 14px 0 4px; }
.sh-list a { display: flex; gap: 10px; padding: 6px 8px; font-size: 14px; color: #c4c8d2; border-left: 2px solid transparent; }
.sh-list a .mono { color: var(--dim); font-size: 11px; min-width: 42px; }
.sh-list a.on { border-color: var(--volt); color: var(--volt); background: rgba(235,250,61,.05); }
.sh-body { max-width: 820px; min-width: 0; padding-left: 56px; position: relative; padding-bottom: 80px; }
.sh-body h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 28px; }
.prose { font-size: 16.5px; color: #d1d4dc; }
.prose .lead { font-size: 19px; color: var(--chalk); }
.prose h2 { font-size: 24px; margin: 36px 0 12px; position: relative; }
.prose h2::before { content: attr(data-n); position: absolute; left: -56px; top: 2px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--volt); color: var(--volt); font: 12px var(--f-m); border-radius: 50%; }
.prose ul { padding-left: 18px; } .prose li { margin-bottom: 6px; }
.prose a { color: var(--volt); }
.prose .tbl-wrap { margin: 14px 0 18px; border: 1px solid var(--line); }
.prose .tbl { font-size: 14px; }
.code { background: #07080b; border: 1px solid var(--line); border-left: 3px solid var(--cobalt); padding: 16px; font: 13px/1.7 var(--f-m); white-space: pre-wrap; overflow-x: hidden; overflow-wrap: anywhere; word-break: break-word; overscroll-behavior: contain; max-height: 520px; overflow-y: auto; margin: 14px 0; }
.code code { background: none; padding: 0; word-break: break-word; }
.callout { border-left: 4px solid var(--volt); background: rgba(235,250,61,.06); padding: 14px 16px; margin: 20px 0; font-size: 15px; }
.callout.warn { border-color: var(--short); background: rgba(255,77,94,.07); }
.srcs { list-style: none; padding: 0 !important; }
.srcs li { display: flex; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.srcs .mono { color: var(--dim); min-width: 32px; }
.console { border: 1px solid var(--line); background: var(--studio); padding: 12px; }
.con-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.con-bar select { flex: 1; min-width: 0; font-family: var(--f-m); font-size: 13px; }
.tests { list-style: none; padding: 0 !important; margin: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.tests li { display: grid; grid-template-columns: 46px 1fr auto; gap: 4px 12px; padding: 12px 14px; background: var(--studio); border-left: 3px solid var(--long); }
.tests li.bad { border-color: var(--short); }
.tests li b { font-family: var(--f-d); font-weight: 600; }
.tests li em { font-style: normal; font: 600 12px var(--f-m); color: var(--long); }
.tests li.bad em { color: var(--short); }
.tests li small { grid-column: 2 / 4; color: var(--mute); font-family: var(--f-m); font-size: 12px; overflow-wrap: anywhere; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 50px; }
.pager a { padding: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-family: var(--f-d); font-weight: 600; transition: border-color .2s; }
.pager a:hover { border-color: var(--volt); }
.pager a small { color: var(--volt); font-size: 11px; }
.pager .nx { text-align: right; }
.tb-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: grid; grid-template-columns: repeat(4, auto); background: rgba(11,12,16,.92); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.tb-float > div { padding: 6px 12px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; font-size: 11px; }
.tb-float > div:first-child { border-left: 0; }
.tb-float span { font-size: 9px; color: var(--dim); text-transform: uppercase; }
.tb-float b { font-weight: 500; }
.nf { padding-top: 120px; min-height: 70vh; }
.nf h1 { font-size: clamp(44px, 7vw, 96px); margin-bottom: 16px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (hover: none) { #cursor { display: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .lg-nav a small { display: none; }
  .lgrid { grid-template-columns: repeat(3, 1fr); }
  .stats.six { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .ledge, .float-brand { display: none; }
  .mbar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 42; height: 58px; align-items: center; gap: 10px; padding: 0 var(--gut); background: var(--volt); color: #0a0b06; }
  .mbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cobalt); }
  .mbar .brand { margin-right: auto; font-size: 14px; } .mbar .brand .mk { width: 32px; }
  .mbar .mk-y { fill: #0a0b06; }
  .m-wal { border: 0; background: #0a0b06; color: var(--chalk); height: 34px; padding: 0 12px; font: 12px var(--f-m); }
  .m-menu { width: 40px; height: 34px; border: 0; background: none; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 8px; }
  .m-menu i { display: block; height: 2px; background: #0a0b06; transition: transform .3s; }
  .m-menu.x i:first-child { transform: translateY(4px) rotate(45deg); } .m-menu.x i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .view.app { padding-top: 84px; }
  .mk-layout, .t-grid, .v-grid { grid-template-columns: 1fr; }
  .feed-p, .t-form { position: static; }
  .seat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .base { display: none; }
  .clock-sec, .recipe, .phase, .load-grid, .lq-grid, .rk-grid, .ls-grid { grid-template-columns: 1fr; gap: 28px; }
  .clock-sec { padding-top: 90px; padding-bottom: 60px; }
  .load { min-height: auto; padding: 70px 0; }
  .board, .recipe, .seats, .phase, .faq, .comm { padding-top: 80px; }
  .faq-list { grid-template-columns: 1fr; }
  .stats, .stats.six { grid-template-columns: 1fr 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .rules.three { grid-template-columns: 1fr; }
  .lgrid { grid-template-columns: 1fr 1fr; }
  .kvgrid { grid-template-columns: 1fr 1fr; }
  .sh-grid { grid-template-columns: 1fr; gap: 0; }
  .sh-side { position: static; margin-bottom: 20px; }
  .sh-list { max-height: 200px; border: 1px solid var(--line); padding: 4px 10px; }
  .sh-body { padding-left: 0; }
  .prose h2 { padding-left: 44px; } .prose h2::before { left: 0; top: -4px; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .tb-float { display: none; }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .hero { min-height: 92svh; }
  .hero-3d { opacity: .4; }
  .hero { padding-bottom: 28px; }
  .hero-copy { padding-top: 96px; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,12,16,.2), rgba(11,12,16,.75) 55%); pointer-events: none; }
  .seat-grid { grid-template-columns: 1fr; }
  .seat { min-height: 0; }
  .rc-in, .c-in, .c-in.two, .calc .c-in { grid-template-columns: 1fr 1fr; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border: 1px solid var(--line); margin-bottom: 10px; padding: 8px 12px; background: rgba(17,19,24,.85); }
  .tbl td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border: 0; text-align: right !important; flex-wrap: wrap; }
  .tbl td::before { content: attr(data-l); font: 10px var(--f-m); color: var(--mute); text-transform: uppercase; text-align: left; }
  .tbl td[data-l=""]::before { display: none; }
  .tbl td:first-child { border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
  .oi-cell { align-items: flex-end; min-width: 0; }
  .tbl-wrap { overflow: visible; }
  .hide-s { display: none !important; }
  .t-head { padding: 14px; flex-direction: column; align-items: stretch; gap: 14px; }
  .t-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .view.v-trade { padding-bottom: 90px; }
  .mbar-act { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(11,12,16,.95); border-top: 1px solid var(--line); }
  .mbar-act button { height: 48px; border: 0; font: 700 16px var(--f-d); }
  .mbar-act .long { background: var(--long); color: #04140b; } .mbar-act .short { background: var(--short); color: #fff; }
  .ft-ledge { height: 340px; }
  .ft-slab { width: 94vw; padding: 32px 20px 32px 46px; clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px); }
  .ft-base { width: 70%; }
  .ft-status .ft-up { margin-left: 0; }
  .ds-row { grid-template-columns: 70px 1fr 24px; } .ds-row .rt { display: none; }
  .tblock { grid-template-columns: 1fr 1fr; width: 100%; }
  .tblock > div:nth-child(3) { border-left: 0; }
  .tblock > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .locks li { grid-template-columns: 54px 1fr 74px; }
  .mine { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { text-align: left; margin-bottom: 8px; }
  .modal { padding: 22px 18px; }
  .lt-dots button { padding: 5px 7px; }
  .closer { min-height: 60vh; }
  #toasts { bottom: 74px; left: 12px; right: 12px; align-items: stretch; }
}
@media (max-width: 420px) {
  .rc-in, .c-in, .c-in.two, .calc .c-in { grid-template-columns: 1fr; }
  .stats, .stats.six, .lgrid, .rules, .kvgrid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 12px; }
  .ft-cols { grid-template-columns: 1fr; }
}
