/* ==========================================================================
   VOID — design system
   Black. White type. One violet. Ember only when something burns.
   Square corners, 1px rules, numbers in mono. The glyph field lives behind
   everything; content sits on solid black so it always reads.
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }

:root {
  --bg: #000;
  --fg: #f3f1fa;
  --fg-2: #a9a5b8;
  --fg-3: #6a6679;
  --fg-4: #3a3745;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --panel: #030305;
  --panel-2: #0a0a0e;
  --vio: #a78bfa;
  --vio-2: #8b5cf6;
  --vio-3: #2a1857;
  --vio-a: rgba(167, 139, 250, .14);
  --ember: #ff6d2b;
  --ember-a: rgba(255, 109, 43, .14);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --gut: clamp(16px, 3.6vw, 48px);
  --max: 1440px;
  --top: 60px;
  --tape: 34px;
}

html, body { background: var(--bg); color: var(--fg); }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--vio-2); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--vio); outline-offset: 3px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.vio { color: var(--vio); }
.ember { color: var(--ember); }
.dim { color: var(--fg-3); }
[hidden] { display: none !important; }
.preview { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 22px; display: flex; align-items: center; justify-content: center; background: var(--vio-3); color: var(--vio); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
body.is-preview .top { top: 22px; }
.vnote { padding: 12px 18px 16px; font-size: 13px; color: var(--fg-3); border-top: 1px solid var(--line); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The field ---------------------------------------------------------------- */
#field { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; pointer-events: none; }
body.nofield #field { display: none; }
body.nofield {
  background:
    radial-gradient(ellipse 34vmax 12vmax at 70% 38%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(circle 9vmax at 70% 38%, #000 60%, transparent 62%),
    radial-gradient(circle 12vmax at 70% 38%, rgba(167, 139, 250, .25), transparent 70%),
    #000;
  background-attachment: fixed;
}
main, .top, .tape, footer { position: relative; z-index: 2; }

/* Small parts ---------------------------------------------------------------- */
.label {
  font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-3); font-weight: 500;
}
.label b { color: var(--fg); font-weight: 500; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px;
  border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap;
}
.chip.vio { color: var(--vio); border-color: rgba(167, 139, 250, .45); }
.chip.ember { color: var(--ember); border-color: rgba(255, 109, 43, .5); }
.pulse { width: 6px; height: 6px; background: var(--vio); display: inline-block; flex: none; animation: pulse 1.6s ease-in-out infinite; }
.pulse.ember { background: var(--ember); }
@keyframes pulse { 50% { opacity: .25; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; background: #fff; color: #000;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid #fff; transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { background: var(--vio); border-color: var(--vio); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--vio); color: #fff; background: var(--vio-a); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 11px; }
.btn .arr { font-family: var(--sans); font-weight: 400; }

.copy {
  display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .7);
  font-family: var(--mono); font-size: 12px; max-width: 100%; transition: border-color .2s;
}
.copy:hover { border-color: var(--vio); }
.copy .k { padding: 0 10px; display: flex; align-items: center; color: var(--fg-3); border-right: 1px solid var(--line-2); letter-spacing: .1em; }
.copy .v { padding: 9px 12px; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy .i { padding: 0 12px; display: flex; align-items: center; color: var(--vio); border-left: 1px solid var(--line-2); letter-spacing: .1em; font-size: 10px; }
.copy.done .i { color: #fff; background: var(--vio-2); }

.spark { font-family: var(--mono); letter-spacing: -.02em; line-height: 1; color: var(--fg-3); white-space: nowrap; overflow: hidden; }
.spark i { font-style: normal; color: var(--fg); }
.up { color: var(--vio); }
.down { color: var(--fg-3); }

/* Top bar -------------------------------------------------------------------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; height: var(--top); z-index: 20;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  background: linear-gradient(180deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .6) 70%, transparent);
  transition: background .3s;
}
.top.solid { background: rgba(0, 0, 0, .94); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .32em; font-size: 14px; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); transition: color .2s; position: relative; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--vio); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.livebadge { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--fg-3); text-transform: uppercase; }
.livebadge b { color: var(--fg-2); font-weight: 500; }
@media (max-width: 1100px) { .nav { display: none; } }
@media (max-width: 640px) { .livebadge { display: none; } }

/* Tape: the live feed along the bottom edge -------------------------------------- */
.tape {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--tape); z-index: 20;
  display: flex; align-items: center; background: rgba(0, 0, 0, .94); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; overflow: hidden;
}
.tape .k { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 100%; border-right: 1px solid var(--line); color: var(--fg-2); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; background: #000; z-index: 1; }
.tape .track { position: relative; flex: 1; height: 100%; overflow: hidden; }
.tape .rail { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; white-space: nowrap; will-change: transform; }
.tape .it { display: inline-flex; gap: 8px; align-items: center; padding: 0 22px; color: var(--fg-3); border-right: 1px solid var(--line); height: 100%; }
.tape .it b { font-weight: 500; color: var(--fg); }
.tape .it .buy { color: var(--vio); }
.tape .it .sell { color: var(--fg-2); }
.tape .it.burn { background: var(--ember-a); }
.tape .it.burn b, .tape .it.burn .t { color: var(--ember); }
@media (max-width: 640px) { .tape .k span { display: none; } }

/* Layout ------------------------------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(96px, 14vh, 160px) 0 0; }
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.sec-head .idx { font-family: var(--mono); font-size: 11px; color: var(--vio); letter-spacing: .1em; }
.sec-head .rule { flex: 1; height: 1px; background: var(--line); }
.sec-title { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; margin-bottom: 48px; }
.sec-title h2 {
  font-size: clamp(42px, 6vw, 96px); line-height: .93; font-weight: 500; letter-spacing: -.045em; color: #fff;
}
.sec-title h2 em { font-style: normal; color: var(--vio); }
.sec-title p { color: var(--fg-2); font-size: 17px; max-width: 46ch; }
.sec-title p b { color: #fff; font-weight: 500; }
@media (max-width: 900px) { .sec-title { grid-template-columns: 1fr; } }

.panel { background: var(--panel); border: 1px solid var(--line); position: relative; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-b { padding: 18px; }

/* Hero ---------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--top); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 36%, transparent 58%);
}
.hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 720px; padding: 48px 0 40px; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(60px, 9.4vw, 156px); line-height: .88; font-weight: 500; letter-spacing: -.055em; color: #fff;
  text-shadow: 0 0 40px rgba(0, 0, 0, .9);
}
.hero h1 .l2 { color: var(--fg-3); }
.lede { margin-top: 28px; font-size: clamp(16px, 1.35vw, 19px); color: var(--fg-2); max-width: 50ch; text-shadow: 0 0 18px #000, 0 0 6px #000; }
.lede b { color: #fff; font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero .copy { margin-top: 14px; }

.statrail {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line); background: rgba(0, 0, 0, .82); margin-bottom: calc(var(--tape) + 22px);
}
.stat { padding: 16px 18px 15px; border-right: 1px solid var(--line); min-width: 0; position: relative; }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(19px, 1.75vw, 27px); font-weight: 500; letter-spacing: -.02em; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.stat .v small { font-size: .5em; color: var(--fg-3); margin-left: 4px; letter-spacing: .04em; }
.stat .s { font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .bar { height: 2px; background: var(--fg-4); margin-top: 10px; position: relative; overflow: hidden; }
.stat .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--vio); }
.stat.hot .v { color: var(--ember); }
@media (max-width: 1100px) {
  .statrail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .statrail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .hero::before { background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, .7) 44%, rgba(0, 0, 0, .85)); }
  .hero-copy { justify-content: flex-end; padding-top: 34vh; }
}

/* Odometer: digits roll, never jump ---------------------------------------------------- */
.odo { display: inline-flex; align-items: flex-start; vertical-align: top; line-height: 1.15em; }
.odo .col { display: inline-block; height: 1.15em; overflow: hidden; }
.odo .col span { display: block; line-height: 1.15em; transition: transform 1.4s cubic-bezier(.2, .9, .25, 1); white-space: pre; }
.odo .sep { color: var(--fg-3); line-height: 1.15em; }

/* Machine ------------------------------------------------------------------------- */
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--panel); position: relative; }
.node { padding: 20px 20px 22px; border-right: 1px solid var(--line); position: relative; min-width: 0; }
.node:last-child { border-right: 0; }
.node .n { display: flex; justify-content: space-between; align-items: center; }
.node h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; margin: 18px 0 4px; color: #fff; }
.node .what { font-size: 13px; color: var(--fg-3); min-height: 40px; }
.node .big { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(17px, 1.5vw, 22px); color: #fff; margin-top: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node .sub { font-family: var(--mono); font-size: 11px; color: var(--fg-3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node.burn { background: linear-gradient(180deg, var(--ember-a), transparent 70%); }
.node.burn .big { color: var(--ember); }
.node .arrow { position: absolute; right: -7px; top: 50%; width: 13px; height: 13px; background: var(--panel); border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.node:last-child .arrow { display: none; }
.flow { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.flow i { position: absolute; top: 0; width: 18%; height: 2px; background: linear-gradient(90deg, transparent, var(--vio), transparent); animation: flow 3.2s linear infinite; }
@keyframes flow { from { left: -18%; } to { left: 100%; } }
.pipe-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 12px 0 0; }
.split { display: flex; height: 6px; margin-top: 12px; gap: 2px; }
.split i { background: var(--vio); }
.split i + i { background: var(--fg-4); }
@media (max-width: 1000px) {
  .pipe { grid-template-columns: 1fr; }
  .node { border-right: 0; border-bottom: 1px solid var(--line); }
  .node .arrow { right: auto; left: 28px; top: auto; bottom: -7px; transform: rotate(135deg); }
  .node .what { min-height: 0; }
}

.mgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.15fr); gap: 14px; margin-top: 14px; }
@media (max-width: 1100px) { .mgrid { grid-template-columns: 1fr; } }
.clock { display: flex; flex-direction: column; }
.clock .ring { position: relative; width: min(220px, 70%); aspect-ratio: 1; margin: 22px auto 12px; }
.clock .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.clock .ring .t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.clock .ring .t b { font-family: var(--mono); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clock .foot { margin-top: auto; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-2); }

.sched .track { position: relative; height: 54px; margin: 30px 4px 10px; }
.sched .line { position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--fg-4); }
.sched .fill { position: absolute; left: 0; top: 26px; height: 2px; background: var(--vio); }
.sched .mk { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font-family: var(--mono); font-size: 10px; color: var(--fg-3); letter-spacing: .06em; }
.sched .mk::after { content: ""; display: block; width: 1px; height: 10px; background: var(--line-2); margin: 6px auto 0; }
.sched .mk span { display: block; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--fg-2); }
.sched .now { position: absolute; top: 20px; width: 14px; height: 14px; transform: translateX(-50%); background: var(--vio); box-shadow: 0 0 0 4px var(--vio-a), 0 0 24px var(--vio); }
.sched table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; margin-top: 26px; }
.sched td { padding: 9px 0; border-top: 1px solid var(--line); color: var(--fg-3); }
.sched td:last-child { text-align: right; }
.sched tr.on td { color: #fff; }
.sched tr.on td:first-child::before { content: "▸ "; color: var(--vio); }
.sched tr.done td { color: var(--fg-4); text-decoration: line-through; text-decoration-color: var(--fg-4); }

.lanes { display: grid; gap: 10px; }
.lane { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); }
.lane .dir { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.lane .path { position: relative; height: 1px; background: var(--line-2); }
.lane .path::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left-color: var(--line-2); }
.lane .path i { position: absolute; top: -2px; width: 5px; height: 5px; animation: lane 2.4s linear infinite; }
.lane.b .path i { background: var(--ember); }
.lane.s .path i { background: var(--vio); }
@keyframes lane { from { left: 0; } to { left: calc(100% - 5px); } }
.lane .out { text-align: right; font-size: 13px; color: var(--fg-2); }
.lane .out b { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.lane.b .out b { color: var(--ember); }
.lane.s .out b { color: var(--vio); }
.quote { margin-top: 16px; font-size: 19px; line-height: 1.35; letter-spacing: -.015em; color: #fff; }

/* Orbits ---------------------------------------------------------------------------- */
.agg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--panel); margin-bottom: 14px; }
.agg > div { padding: 18px; border-right: 1px solid var(--line); }
.agg > div:last-child { border-right: 0; }
.agg .v { font-family: var(--mono); font-size: clamp(20px, 2vw, 30px); font-weight: 500; margin-top: 8px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { .agg { grid-template-columns: repeat(2, 1fr); } .agg > div { border-bottom: 1px solid var(--line); } .agg > div:nth-child(even) { border-right: 0; } .agg > div:last-child { grid-column: 1 / -1; border-bottom: 0; } }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: #000; }
.search input { flex: 1; background: none; border: 0; outline: 0; font-family: var(--mono); font-size: 13px; min-width: 0; }
.search input::placeholder { color: var(--fg-3); }
.seg { display: inline-flex; border: 1px solid var(--line-2); background: #000; height: 40px; }
.seg button { padding: 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); border-right: 1px solid var(--line); transition: color .2s, background .2s; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: #fff; }
.seg button.on { color: #000; background: #fff; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 12px; }
.pcard { background: var(--panel); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, transform .2s; position: relative; scroll-margin-top: 90px; }
.pcard:hover { border-color: rgba(167, 139, 250, .5); }
.pcard.flash { animation: flash 1.8s ease-out; }
@keyframes flash { 0% { border-color: var(--vio); box-shadow: 0 0 0 4px var(--vio-a), 0 0 60px rgba(139, 92, 246, .35); } 100% { border-color: var(--line); box-shadow: none; } }
.pcard .top-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pcard .pair { display: flex; align-items: center; gap: 12px; }
.pcard .coins { display: flex; flex: none; }
.coin { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; background: #fff; color: #000; border: 2px solid var(--panel); }
.coin.v { background: #000; border-color: var(--vio); color: var(--vio); }
.coin + .coin { margin-left: -9px; }
.pcard .nm { font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.pcard .nm span { color: var(--fg-3); }
.pcard .full { font-size: 12px; color: var(--fg-3); }
.pcard .tvl { display: flex; align-items: baseline; justify-content: space-between; }
.pcard .tvl b { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.pcard .spark { font-size: 15px; height: 18px; color: var(--fg-4); }
.pcard .spark i { color: var(--fg-2); }
.pcard .kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-family: var(--mono); font-size: 12px; }
.pcard .kv .label { font-size: 10px; margin-bottom: 3px; }
.mix { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--fg-3); letter-spacing: .06em; }
.mix .m { flex: 1; height: 3px; background: var(--fg-4); display: flex; }
.mix .m i { background: var(--vio); }
.more { display: flex; justify-content: center; margin-top: 18px; }
.empty { grid-column: 1 / -1; padding: 30px 24px; border: 1px dashed var(--line-2); background: rgba(0, 0, 0, .8); color: var(--fg-2); font-size: 15px; }
.empty b { color: #fff; font-weight: 500; }
.claims td.emptyrow { text-align: left; color: var(--fg-2); padding: 24px 16px; }

.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
table.ptable { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; min-width: 820px; }
.ptable th { text-align: right; font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding: 12px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; white-space: nowrap; user-select: none; }
.ptable th:hover { color: #fff; }
.ptable th.on { color: var(--vio); }
.ptable td { text-align: right; padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--fg-2); }
.ptable th:nth-child(-n+2), .ptable td:nth-child(-n+2) { text-align: left; }
.ptable td b { color: #fff; font-weight: 500; }
.ptable tr:hover td { background: var(--panel-2); }
.ptable .spark { font-size: 13px; color: var(--fg-4); }
.ptable .spark i { color: var(--fg-2); }

/* Ledger ------------------------------------------------------------------------------ */
.lgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 1000px) { .lgrid { grid-template-columns: 1fr; } }
.chart { position: relative; height: 360px; padding: 0; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; background: #000; border: 1px solid var(--line-2); padding: 10px 12px; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--fg-2); white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 2; }
.chart .tip b { color: #fff; font-weight: 500; }
.chart .tip .ember { color: var(--ember); }
.lstats { display: grid; grid-template-columns: 1fr 1fr; }
.lstats > div { padding: 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.lstats > div:nth-child(2n) { border-right: 0; }
.lstats > div:nth-last-child(-n+2) { border-bottom: 0; }
.lstats .v { font-family: var(--mono); font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; margin-top: 8px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lstats .v.ember { color: var(--ember); }

.claims { margin-top: 14px; }
.claims table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; min-width: 760px; }
.claims th { text-align: right; font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding: 12px 16px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.claims td { text-align: right; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--fg-2); white-space: nowrap; }
.claims th:first-child, .claims td:first-child, .claims th:nth-child(2), .claims td:nth-child(2) { text-align: left; }
.claims td.b { color: var(--ember); }
.claims td a { color: var(--vio); }
.claims td a:hover { color: #fff; }
.claims tr.new td { animation: newrow 3s ease-out; }
@keyframes newrow { from { background: var(--ember-a); } to { background: transparent; } }
.claims .scroll { overflow-x: auto; }

/* Ranks -------------------------------------------------------------------------------- */
.rgrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 1000px) { .rgrid { grid-template-columns: 1fr; } }
.rinput { display: flex; border: 1px solid var(--line-2); background: #000; }
.rinput input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 16px; height: 52px; font-family: var(--mono); font-size: 14px; }
.rinput input::placeholder { color: var(--fg-3); }
.rinput .btn { height: 52px; border: 0; }
.rpresets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rpresets button { font-family: var(--mono); font-size: 11px; color: var(--fg-3); border: 1px solid var(--line); padding: 5px 9px; transition: color .2s, border-color .2s; }
.rpresets button:hover { color: #fff; border-color: var(--vio); }
.rout { margin-top: 30px; }
.rcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); gap: 26px; align-items: start; }
.rfig { margin: 0; min-width: 0; }
.rart { width: 100%; aspect-ratio: 4 / 5; display: block; border: 1px solid var(--line); background: #000; cursor: crosshair; touch-action: pan-y; }
.rnone { display: grid; place-items: center; cursor: default; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); line-height: 1.8; }
.rfig figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 620px) { .rcard { grid-template-columns: 1fr; } .rfig { grid-row: 1; max-width: 360px; width: 100%; } }
.rname { font-size: clamp(38px, 4.6vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: .95; color: #fff; overflow-wrap: anywhere; }
.rname.long { font-size: clamp(32px, 3.4vw, 52px); }
.rname small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--fg-3); margin-bottom: 12px; }
.rname span { color: var(--vio); }
.rnext { font: inherit; color: #fff; letter-spacing: inherit; text-transform: inherit; border-bottom: 1px solid var(--fg-4); transition: color .2s, border-color .2s; }
.rnext:hover { color: var(--vio); border-color: var(--vio); }
.rmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rprog { margin-top: 26px; }
.rprog .b { height: 4px; background: var(--fg-4); margin: 10px 0 8px; position: relative; }
.rprog .b i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--vio); transition: width .8s cubic-bezier(.2, .9, .25, 1); }
.share { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.share .v { font-family: var(--mono); font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.02em; margin-top: 6px; }
.share .arrow { color: var(--vio); font-size: 22px; }
.ladder { position: relative; max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--fg-4) transparent; }
.ladder button { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; width: 100%; text-align: left; padding: 9px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--fg-3); cursor: pointer; transition: background .15s; }
.ladder button b { font-weight: 400; color: var(--fg-2); font-family: var(--sans); font-size: 14px; transition: color .15s; }
.ladder button:hover { background: rgba(255, 255, 255, .03); }
.ladder button:hover b { color: #fff; }
.ladder button:focus-visible { outline: 1px solid var(--vio); outline-offset: -1px; }
.ladder button.got b { color: #fff; }
.ladder button.me { background: var(--vio-a); }
.ladder button.me b { color: var(--vio); }

/* Verify ------------------------------------------------------------------------------ */
.addrs { display: grid; grid-template-columns: 1fr; }
.addr { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.addr:last-child { border-bottom: 0; }
.addr .v { font-family: var(--mono); font-size: 13px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr a, .addr button { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--vio); }
.addr a:hover, .addr button:hover { color: #fff; }
@media (max-width: 760px) { .addr { grid-template-columns: 1fr auto auto; } .addr .label { grid-column: 1 / -1; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--panel); margin-top: 14px; }
.fact { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact:nth-child(4n) { border-right: 0; }
.fact:nth-last-child(-n+4) { border-bottom: 0; }
.fact .v { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 16px; color: #fff; }
.fact .v::before { content: ""; width: 8px; height: 8px; background: var(--vio); flex: none; }
.fact p { font-size: 13px; color: var(--fg-3); margin-top: 6px; }
@media (max-width: 1000px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2n) { border-right: 0; } .fact:nth-child(4n) { border-right: 0; }
  .fact:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); } .fact:nth-last-child(-n+2) { border-bottom: 0; }
}
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 800px) { .vgrid { grid-template-columns: 1fr; } }
.vlist div { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--fg-2); display: flex; gap: 12px; }
.vlist div:last-child { border-bottom: 0; }
.vlist.no div::before { content: "×"; color: var(--ember); font-family: var(--mono); }
.vlist.yes div::before { content: "✓"; color: var(--vio); font-family: var(--mono); }

/* The end: falling in -------------------------------------------------------------------- */
.fall { height: 170vh; position: relative; }
.inside { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: calc(var(--tape) + 40px); }
.inside .big { font-family: var(--mono); font-size: clamp(34px, 7vw, 108px); font-weight: 500; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.inside .of { color: var(--fg-3); font-family: var(--mono); font-size: 13px; margin-top: 8px; }
.endrow { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-end; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.endlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.endrow > * { min-width: 0; max-width: 100%; }
@media (max-width: 520px) { .sec-head .label:last-child { display: none; } }
.fine { font-size: 12px; color: var(--fg-3); max-width: 70ch; line-height: 1.6; }

/* Reveal on scroll ----------------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .pulse, .flow i, .lane .path i, .flyarcs path { animation: none; }
  .odo .col span { transition: none; }
}

/* ==========================================================================
   Paper
   ========================================================================== */
.paper .scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .88) 50%, rgba(0, 0, 0, .3) 76%, transparent);
}
@media (max-width: 1000px) { .paper .scrim { background: rgba(0, 0, 0, .86); } }
.readbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.readbar i { display: block; height: 100%; width: 0; background: var(--vio); box-shadow: 0 0 10px var(--vio); }
.pwrap {
  position: relative; z-index: 2; max-width: 1280px; margin: 0 auto;
  padding: calc(var(--top) + 32px) var(--gut) 120px;
  display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 80px;
}
.toc { position: sticky; top: calc(var(--top) + 40px); align-self: start; padding-top: 90px; }
.toc a { display: flex; gap: 12px; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--fg-3); transition: color .2s, border-color .2s; }
.toc a span { color: var(--fg-4); transition: color .2s; }
.toc a:hover, .toc a.on { color: #fff; border-left-color: var(--vio); }
.toc a.on span { color: var(--vio); }
.toc-live { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; }
.toc-live .label { margin-bottom: 8px; }
.toc-live div:not(.label) { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: var(--fg-3); }
.toc-live b { color: #fff; font-weight: 500; }
@media (max-width: 1000px) { .pwrap { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } .hide-sm { display: none !important; } }

.doc { min-width: 0; }
.dhead { padding: 64px 0 16px; }
.dhead h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: .9; letter-spacing: -.055em; font-weight: 500; margin-top: 24px; color: #fff; }
.dhead h1 span { color: var(--fg-3); }
.dlede { margin-top: 30px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--fg-2); max-width: 56ch; }
.dmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.dmeta .copy { max-width: min(100%, 440px); }

.ps { padding-top: 104px; }
.phead { display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.phead .n { font-family: var(--mono); font-size: 12px; color: var(--vio); }
.phead h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.04em; color: #fff; line-height: 1; }
.doc p { font-size: 17px; line-height: 1.72; color: var(--fg-2); margin-bottom: 18px; max-width: 68ch; }
.doc p b { color: #fff; font-weight: 500; }
.doc p i { color: var(--fg); }
.doc h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--vio); font-weight: 500; margin: 48px 0 14px; }
.doc .fine { font-size: 13.5px; line-height: 1.65; color: var(--fg-3); }
.pull { margin: 38px 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--vio); font-size: clamp(21px, 2.3vw, 29px); line-height: 1.28; letter-spacing: -.025em; color: #fff; max-width: 28em; }
.note { margin: 32px 0 0; padding: 22px 24px; border: 1px solid var(--line); background: var(--panel); }
.note .label { margin-bottom: 10px; }
.doc .note p { font-size: 15px; margin: 0; }

.steps { list-style: none; counter-reset: s; margin: 26px 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; position: relative; padding: 15px 0 15px 56px; border-bottom: 1px solid var(--line); color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-family: var(--mono); font-size: 12px; color: var(--vio); }
.steps li:nth-child(3)::before { color: var(--ember); }
.steps li b { color: #fff; font-weight: 500; }
.tbl { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); background: var(--panel); }
.tbl table { border-collapse: collapse; width: 100%; font-family: var(--mono); font-size: 13px; }
.tbl th { text-align: left; font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); padding: 12px 18px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 13px 18px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.vio { color: var(--vio); }
.tbl td.ember { color: var(--ember); }
.tbl tr.on td { color: #fff; background: var(--vio-a); }
.tbl tr.on td:first-child::before { content: "▸ "; color: var(--vio); }
.tbl tr.done td { color: var(--fg-4); }
.livechip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(167, 139, 250, .35); background: #000; font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.livechip b { color: #fff; font-weight: 500; }

.math { margin: 28px 0; padding: 24px 26px; border: 1px solid var(--line); background: var(--panel); font-family: var(--mono); font-size: 14px; line-height: 2.1; overflow-x: auto; }
.math .label { margin-bottom: 8px; }
.math .eq { color: var(--fg); white-space: nowrap; }
.math .eq span { color: var(--fg-3); padding: 0 6px; }
.math .eq.hi { color: var(--vio); }
.math .as { font-size: 11.5px; color: var(--fg-3); line-height: 1.8; margin-top: 12px; }
.sim { margin: 32px 0; border: 1px solid rgba(167, 139, 250, .32); background: #000; }
.sim-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sim-b { padding: 22px 18px 6px; }
.slider { display: block; margin-bottom: 20px; }
.slider .label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.slider .label b { color: #fff; font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--fg-4); outline: 0; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: var(--vio); box-shadow: 0 0 0 5px var(--vio-a); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; background: var(--vio); border: 0; border-radius: 0; }
.sim-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); margin: 6px 0 14px; }
.sim-out.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sim-out > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.sim-out > div:last-child { border-right: 0; }
.sim-out .v { font-family: var(--mono); font-size: clamp(17px, 2vw, 26px); margin-top: 6px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sim-chart { height: 130px; margin-bottom: 14px; border: 1px solid var(--line); }
.sim-chart svg { width: 100%; height: 100%; display: block; }

.fly { margin: 30px 0; border: 1px solid var(--line); background: var(--panel); padding: 8px 8px 16px; }
.fly svg { width: 100%; height: auto; display: block; }
.fly figcaption { padding: 0 12px; }
@media (max-width: 600px) { .fly { overflow-x: auto; } .fly svg { min-width: 600px; } }
.flyarcs path { stroke-dasharray: 3 7; animation: dashflow 1.4s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -20; } }
.road { list-style: none; display: flex; flex-wrap: wrap; row-gap: 8px; margin: 20px 0 24px; counter-reset: r; }
.road li { counter-increment: r; display: flex; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.road li span { padding: 8px 12px; border: 1px solid var(--line-2); background: #000; white-space: nowrap; }
.road li span::before { content: counter(r) "  "; color: var(--vio); }
.road li:not(.last)::after { content: ""; width: 14px; height: 1px; background: var(--line-2); }
.road li.last span { border-color: var(--vio); color: #fff; background: var(--vio-a); }
.risks { list-style: none; border-top: 1px solid var(--line); margin: 18px 0; }
.risks li { padding: 15px 0 15px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--fg-2); font-size: 15.5px; line-height: 1.6; }
.risks li::before { content: "!"; position: absolute; left: 6px; top: 15px; font-family: var(--mono); color: var(--ember); }
.risks li b { color: #fff; font-weight: 500; }
.dfoot { margin-top: 110px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
@media (max-width: 600px) {
  .sim-out { grid-template-columns: 1fr; }
  .sim-out > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .sim-out > div:last-child { border-bottom: 0; }
}

@media print {
  html, body.paper { background: #fff !important; color: #111 !important; }
  .paper #field, .paper .scrim, .paper .top, .paper .toc, .paper .sim, .paper .dfoot, .paper .livechip, .paper .dmeta { display: none !important; }
  .paper .pwrap { display: block; padding: 0; max-width: none; }
  .paper .doc p, .paper .steps li, .paper .risks li, .paper .tbl td, .paper .vlist div, .paper .math .eq { color: #222 !important; }
  .paper h1, .paper h2, .paper .pull, .paper .doc p b, .paper .steps li b, .paper .risks li b { color: #000 !important; }
  .paper .tbl, .paper .math, .paper .note, .paper .fly, .paper .panel { background: #fff !important; border-color: #ccc !important; }
  .paper .ps { padding-top: 28px; }
  .paper .phead { break-after: avoid; }
}

/* Burns | Buybacks switch in the chart panel header */
.seg.seg-sm { height: 28px; }
.seg.seg-sm button { padding: 0 10px; font-size: 10px; }
.lstats .v.vio { color: var(--vio); }
#claimsTable td.vio { color: var(--vio); }

/* All | Side switch inside the Fees 24h box */
.agg-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.seg.seg-xs { height: 20px; }
.seg.seg-xs button { padding: 0 6px; font-size: 9px; letter-spacing: .08em; }

/* Tape items link to Solscan */
a.it { text-decoration: none; cursor: pointer; transition: background .15s; }
a.it:hover { background: rgba(167, 139, 250, .08); }
.tape .it .tm { color: var(--fg-3); opacity: .7; }
.tape .it .go { color: var(--fg-3); opacity: .5; }
a.it:hover .go { opacity: 1; color: var(--vio); }

.sec-title p:empty { display: none; }
