:root {
  --bg: #05070b;
  --bg-2: #090c12;
  --ink: #eef0f3;
  --ink-2: rgba(238, 240, 243, 0.7);
  --ink-3: rgba(238, 240, 243, 0.46);
  --line: rgba(238, 240, 243, 0.14);
  --red: #ff3b30;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Fragment Mono", ui-monospace, monospace;
  --pad: clamp(20px, 3.4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 12.5px; line-height: 1.6; letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dim { color: var(--ink-3); }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 32px; height: 64px; padding: 0 var(--pad);
  background: linear-gradient(to bottom, rgba(5, 7, 11, 0.72), rgba(5, 7, 11, 0)); transition: background .3s; }
.bar.solid { background: rgba(5, 7, 11, 0.94); box-shadow: 0 1px 0 var(--line); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: 0.2em; }
.mark .kh { width: 15px; height: 26px; display: block; overflow: visible; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.ghost { background: none; border: 1px solid var(--line); padding: 9px 16px; font-size: 14.5px; color: var(--ink); transition: border-color .2s, background .2s; }
.ghost:hover { border-color: rgba(238, 240, 243, 0.4); }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(238, 240, 243, 0.3); text-underline-offset: 4px; transition: color .2s; }
.link:hover { color: var(--ink); }
.primary { background: var(--red); color: #fff; border: 0; padding: 0 26px; font-weight: 500; font-size: 16px; transition: filter .2s; }
.primary:hover { filter: brightness(1.08); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #000; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
@media (pointer: fine) { .hero.idle #sky { cursor: none; } }
.loupe-label { position: absolute; left: 0; top: 0; z-index: 3; display: grid; gap: 2px; pointer-events: none; opacity: 0; transition: opacity .25s;
  color: var(--ink); font-size: 12px; line-height: 1.5; white-space: nowrap; padding: 8px 11px; background: rgba(5, 7, 11, 0.78); will-change: transform; }
.loupe-label b { font-weight: 500; color: var(--ink); font-family: var(--sans); font-size: 15px; margin-bottom: 1px; }
.loupe-label .band { color: var(--ink-2); }
.loupe-label.flip { text-align: right; }
.loupe-label.under { text-align: center; }
.primary.breathe { animation: breathe 1.7s cubic-bezier(.3, .6, .3, 1) 1; }
@keyframes breathe { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.55); transform: scale(1); } 35% { transform: scale(1.035); } 100% { box-shadow: 0 0 0 18px rgba(255, 59, 48, 0); transform: scale(1); } }
#sky.dragging { cursor: grabbing; }
.reticle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.reticle line, .reticle path, .reticle rect, .reticle circle { stroke: var(--red); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.reticle text { fill: var(--red); font: 11px var(--mono); }
.scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(5, 7, 11, 0.86) 0%, rgba(5, 7, 11, 0.45) 30%, rgba(5, 7, 11, 0) 56%); transition: opacity .8s; }
.hero-copy { position: absolute; left: var(--pad); bottom: clamp(36px, 7vh, 72px); width: min(980px, calc(100% - 2 * var(--pad))); transition: opacity .6s, transform .6s; }
.hero-copy h1 { margin: 0; font-weight: 500; font-size: clamp(42px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.035em; }
.lede { margin: 20px 0 32px; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 44em; }
.look { display: flex; height: 54px; max-width: 560px; }
.look input { flex: 1; min-width: 0; background: rgba(5, 7, 11, 0.6); border: 1px solid rgba(238, 240, 243, 0.26); border-right: 0; color: var(--ink);
  padding: 0 18px; font: 14px var(--mono); outline: none; transition: border-color .2s; }
.look input::placeholder { color: var(--ink-3); font-family: var(--sans); font-size: 16px; }
.look input:focus { border-color: rgba(238, 240, 243, 0.6); }
.hint { margin: 14px 0 0; font-size: 15px; color: var(--ink-3); min-height: 24px; }
.hint .err { color: var(--ink); margin-right: 14px; }
.hint .err .wallet-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hidden-ui { opacity: 0; pointer-events: none; transform: translateY(8px); }

.readout { position: absolute; right: var(--pad); bottom: clamp(36px, 7vh, 72px); display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  font: 12.5px/1.6 var(--mono); color: var(--ink-2); text-align: right; transition: opacity .6s; pointer-events: none; }
.hud { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; gap: 14px; align-items: baseline; white-space: nowrap;
  font: 12.5px var(--mono); color: var(--ink-2); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hud.on { opacity: 1; }
.hud-fov { color: var(--ink); font-size: 15px; }

/* the reading after the dive */
.result { position: absolute; inset: 64px 0 0 0; display: grid; grid-template-columns: minmax(0, 1fr) var(--patch, 600px) minmax(0, 1fr); align-items: end; pointer-events: none; }
.result[hidden] { display: none; }
.result > div { pointer-events: auto; padding: 0 var(--pad) clamp(28px, 5vh, 56px); opacity: 0; transform: translateY(10px); transition: opacity .8s, transform .8s; }
.result.on > div { opacity: 1; transform: none; }
.result.on > .res-side { transition-delay: .25s; }
.res-main { grid-column: 1; padding-right: 20px !important; }
.res-side { grid-column: 3; padding-left: 20px !important; }
.res-field { margin: 0 0 14px; color: var(--ink-3); }
.res-head { margin: 0; font-weight: 500; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.res-sub { margin: 12px 0 22px; color: var(--ink-2); font-size: 16px; }
.res-data { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin: 0 0 24px; }
.res-data dt { color: var(--ink-3); }
.res-data dd { margin: 0; color: var(--ink); }
.res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.res-actions .link { font-size: 15px; }
.res-side-h { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.res-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.res-list li { display: grid; gap: 1px; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: default; }
.res-list .nm { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-list .ty { color: var(--ink-3); }
.res-list li:hover .ty { color: var(--ink-2); }
.res-note { margin: 12px 0 0; color: var(--ink-3); }

/* ---------- sections ---------- */
.sect { padding: clamp(96px, 13vw, 168px) 0 0; }
.sect h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.sect h3 { margin: 0 0 18px; font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.sect-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.sect-head p { margin: 0; color: var(--ink-2); max-width: 36em; }
.fine { color: var(--ink-3); margin: 18px 0 0; }

/* plates */
.plate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.plate { display: block; text-align: left; background: none; border: 0; padding: 0; }
.plate-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; }
.plate-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }

.plate-img .corner { position: absolute; width: 16px; height: 16px; border-color: var(--red); border-style: solid; border-width: 0; opacity: 0; transition: opacity .3s, inset .4s; }
.plate-img .c1 { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.plate-img .c2 { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.plate-img .c3 { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.plate-img .c4 { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.plate:hover .corner, .plate:focus-visible .corner { opacity: 1; }
.plate-cap { display: grid; gap: 2px; margin-top: 16px; }
.plate-cap .t { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.plate-cap .age { font-size: 15.5px; color: var(--ink-2); margin-bottom: 6px; }
.plate-cap .mono { color: var(--ink-3); font-size: 12px; }
.plate-cap .tier { color: var(--ink-2); }

/* thesis */
.thesis-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px 96px; align-items: start; }
.thesis-h { grid-column: 1 / -1; margin-bottom: -8px !important; }
.thesis-copy p { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.5; margin: 0 0 1.05em; max-width: 30em; color: var(--ink); }
.thesis-copy p + p { color: var(--ink-2); }
.thesis-copy .zline { font-size: 17px; color: var(--ink-3); margin-top: 32px; }
.thesis-copy i { font-family: var(--mono); font-style: normal; color: var(--ink); }
.scale { margin: 6px 0 0; }
.scale svg { width: 100%; max-width: 420px; display: block; }
.scale .moon { fill: rgba(238, 240, 243, 0.035); stroke: rgba(238, 240, 243, 0.4); stroke-width: 1; }
.scale .tick { stroke: rgba(238, 240, 243, 0.4); stroke-width: 1; }
.scale .patch { fill: none; stroke: var(--red); stroke-width: 1; }
.scale figcaption { display: grid; gap: 4px; margin-top: 22px; color: var(--ink-2); max-width: 420px; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line); max-width: 420px; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }

/* depth */
.depth-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.depth-cell figure { margin: 0; }
.depth-cell .img { aspect-ratio: 1; background: #000; overflow: hidden; }
.depth-cell img { width: 100%; height: 100%; object-fit: cover; }
.depth-cell figcaption { display: grid; gap: 2px; padding-top: 16px; }
.depth-cell .n { font-size: 17px; font-weight: 500; }
.depth-cell .d { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; min-height: 2.9em; }
.depth-cell .tier { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); }

/* holders */
.map { position: relative; aspect-ratio: 2 / 1; }
.map img { width: 100%; height: 100%; }
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.tip { position: absolute; z-index: 2; pointer-events: none; background: rgba(5, 7, 11, 0.94); border: 1px solid var(--line); padding: 10px 12px; min-width: 210px; line-height: 1.55; transform: translate(14px, -50%); }
.tip b { font-weight: 400; color: var(--ink); }
.tip span { display: block; color: var(--ink-2); }
.map-key { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); margin: 14px 0 0; }
.below { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 96px; margin-top: 88px; }
.rarity-list { list-style: none; margin: 0; padding: 0; }
.rarity-list li { display: grid; grid-template-columns: 1fr 3.4em 3.6em; gap: 0 12px; padding: 12px 0 0; align-items: baseline; }
.rarity-list .nm { font-family: var(--sans); font-size: 15.5px; color: var(--ink); }
.rarity-list .nm em { font-style: normal; color: var(--ink-3); margin-left: 8px; font-family: var(--mono); font-size: 12px; }
.rarity-list .n, .rarity-list .pc { text-align: right; color: var(--ink-2); }
.rarity-list .bar-in { grid-column: 1 / -1; height: 2px; background: rgba(238, 240, 243, 0.08); position: relative; margin-top: 10px; }
.rarity-list .bar-in i { position: absolute; inset: 0 auto 0 0; background: rgba(238, 240, 243, 0.55); }
.ledger-copy { margin: 0 0 18px; color: var(--ink-2); max-width: 34em; }
.ledger-table { border-top: 1px solid var(--line); }
.lrow { display: grid; grid-template-columns: 4.2em 8.6em minmax(0, 1fr) 9.4em 4.6em; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lrow > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow.head { color: var(--ink-3); }
.lrow .f { color: var(--ink); }
.lrow .a, .lrow .c { color: var(--ink-2); }
.lrow .z { text-align: right; color: var(--ink-2); }
.lrow.mine .f, .lrow.mine .c { color: var(--ink); }
.lrow.more { color: var(--ink-3); border-bottom: 0; }

/* footer */
.foot { margin-top: clamp(110px, 14vw, 180px); border-top: 1px solid var(--line); padding: 48px 0 56px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 40px 56px; }
.foot-brand p { color: var(--ink-2); margin: 18px 0 0; max-width: 24em; }
.foot-meta p { margin: 0 0 6px; color: var(--ink-2); }
.foot-meta a { text-decoration: none; }
.foot-credits p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .plate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depth-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .thesis-grid, .below { grid-template-columns: 1fr; }
  .sect-head { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-credits { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .connect { margin-left: auto; padding: 7px 12px; font-size: 13.5px; }
  .bar { height: 56px; gap: 12px; }
  .hero { min-height: 600px; }
  .hero-copy { bottom: 28px; }
  .hero-copy h1 { font-size: 44px; line-height: 1.02; }
  .lede { margin: 14px 0 22px; }
  .look { height: 52px; }
  .look input { padding: 0 14px; font-size: 13px; }
  .look input::placeholder { font-size: 15px; }
  .primary { padding: 0 20px; }
  .readout { top: 68px; bottom: auto; right: auto; left: var(--pad); align-items: flex-start; text-align: left; font-size: 11.5px; }
  .readout #roHint { display: none; }
  .hud { bottom: auto; top: 66px; }
  .result { inset: auto 0 0 0; display: block; max-height: 50%; overflow-y: auto; background: linear-gradient(to bottom, rgba(5, 7, 11, 0) 0, rgba(5, 7, 11, 0.95) 44px, rgba(5, 7, 11, 0.98)); padding-top: 40px; }
  .result > div { padding: 0 var(--pad) 18px; }
  .res-head { font-size: 24px; }
  .res-sub { margin: 8px 0 16px; font-size: 15px; }
  .res-side { padding-bottom: 28px !important; }
  .plate-grid { gap: 36px 14px; }
  .plate-cap .t { font-size: 16px; }
  .plate-cap .age { font-size: 14px; }
  .plate-cap .mono { font-size: 11px; }
  .plate-cap .mono.addr, .plate-cap .mono.pos { display: none; }
  .depth-cell .d { font-size: 13.5px; }
  .depth-cell .tier { font-size: 11.5px; }
  .lrow { grid-template-columns: 3.6em minmax(0, 1fr) 7.6em; gap: 10px; font-size: 11.5px; }
  .lrow .a, .lrow .z { display: none; }
  .map { margin: 0 calc(-1 * var(--pad)); }
  .foot-grid { grid-template-columns: 1fr; }
  .tip { min-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01s !important; }
}

/* headless full-page captures: header scrolls with the page */
.static-shot .bar { position: absolute; }

/* ---------- the plate studio ---------- */
.studio { position: absolute; inset: 0; z-index: 20; background: rgba(5, 7, 11, 0.97); display: grid; place-items: center; padding: 84px var(--pad) 36px; overflow-y: auto;
  opacity: 0; transition: opacity .5s; }
.studio[hidden] { display: none; }
.studio.on { opacity: 1; }
.studio-inner { display: grid; grid-template-columns: auto minmax(300px, 420px); gap: 64px; align-items: center; max-width: 1180px; width: 100%; }
.studio-preview canvas { display: block; height: min(72vh, 680px); width: auto; aspect-ratio: 4 / 5; }
.studio-controls h2 { margin: 0 0 14px; font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.025em; }
.studio-note { margin: 0 0 30px; color: var(--ink-2); font-size: 15.5px; }
.ctl { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ctl-l { font-size: 14px; color: var(--ink-3); }
.seg { display: flex; gap: 22px; }
.seg button { background: none; border: 0; padding: 2px 0 6px; font-size: 16px; color: var(--ink-2); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.seg button:disabled { color: rgba(238, 240, 243, 0.25); cursor: default; }
.seg-icons button { width: 34px; height: 40px; display: grid; place-items: center; }
.seg-icons svg { width: 20px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.seg-icons button[data-v="keyhole"] svg { stroke-width: 3; }
.ctl-d { margin: 0; color: var(--ink-3); font-size: 12px; }
.field-row { display: flex; align-items: center; gap: 16px; }
.field-row .mono { min-width: 3.4em; color: var(--ink); }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; height: 22px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: rgba(238, 240, 243, 0.35); }
input[type="range"]::-moz-range-track { height: 1px; background: rgba(238, 240, 243, 0.35); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 3px; height: 20px; margin-top: -10px; background: var(--ink); border: 0; }
input[type="range"]::-moz-range-thumb { width: 3px; height: 20px; background: var(--ink); border: 0; }
.title-in { background: transparent; border: 0; border-bottom: 1px solid rgba(238, 240, 243, 0.3); color: var(--ink); font: 500 19px var(--sans); padding: 6px 0; outline: none; }
.title-in:focus { border-bottom-color: var(--ink); }
.studio-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.studio-actions .primary { height: 46px; }
.mint-note { color: var(--ink-2); margin: 14px 0 0; font-size: 12px; }
.res-actions .primary { height: 44px; }
@media (max-width: 760px) {
  .studio { place-items: start center; padding: 70px 20px 40px; }
  .studio-inner { grid-template-columns: 1fr; gap: 26px; }
  .studio-preview canvas { width: 100%; height: auto; }
  .studio-controls h2 { font-size: 26px; }
}

/* survey-tile readout overlay (reveal.js) */
canvas.readout { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.depth-cell .img { position: relative; }
.plate-img img { will-change: transform; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.plate-img .corner { transition: opacity .3s, transform .6s cubic-bezier(.2, .7, .2, 1); }
#light { z-index: 2; }
#light path { fill: none; stroke: rgba(238, 240, 243, 0.55); stroke-width: 1; vector-effect: non-scaling-stroke; }
#light circle { fill: #fff; }
.sky-line { margin: 26px 0 0; font-size: 17px; color: var(--ink-2); max-width: 46em; }
.sky-line b { font-weight: 500; color: var(--ink); }

/* ---------- the observatory (v3) ---------- */
.schematic { margin: 12px auto 0; max-width: 1200px; }
.schematic svg { width: 100%; height: auto; display: block; overflow: visible; }
.schematic .edge { fill: none; stroke: rgba(238, 240, 243, 0.38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.schematic .edge.later { stroke-dasharray: 3 4; stroke: rgba(238, 240, 243, 0.3); }
.schematic .val { font: 12px var(--mono); fill: var(--ink); }
.schematic .mk, .schematic .mk circle, .schematic .mk path { fill: var(--bg); stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.schematic .node.later .mk, .schematic .node.later .mk circle, .schematic .node.later .mk path { stroke: rgba(238, 240, 243, 0.7); }
.schematic .mk.red { stroke: var(--red); }
.schematic .nn { font: 500 15.5px var(--sans); fill: var(--ink); }
.schematic .ns { font: 11.5px var(--mono); fill: var(--ink-2); }
.schematic .nt { font: 11px var(--mono); fill: var(--ink-3); }
.schematic .node.later .nn { fill: rgba(238, 240, 243, 0.82); }
.schematic .dot { fill: var(--ink); }
.schematic .dot.later { fill: rgba(238, 240, 243, 0.55); }
.honesty { display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--ink-3); margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.obs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 56px 72px; margin-top: 80px; }
.obs-grid h3 { margin: 0 0 16px; font-weight: 500; font-size: 20px; }
.obs-grid h3 span { color: var(--ink-2); }
.alt-chart { width: 100%; height: auto; display: block; margin: 18px 0 14px; }
.alt-chart .twi { fill: rgba(238, 240, 243, 0.035); }
.alt-chart .drk { fill: rgba(238, 240, 243, 0.05); }
.alt-chart .g { stroke: rgba(238, 240, 243, 0.12); stroke-width: 1; }
.alt-chart .gmin { stroke: rgba(238, 240, 243, 0.35); stroke-width: 1; stroke-dasharray: 2 4; }
.alt-chart .ax { font: 10.5px var(--mono); fill: var(--ink-3); }
.alt-chart .tgt { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.alt-chart .moon { fill: none; stroke: rgba(238, 240, 243, 0.45); stroke-width: 1; stroke-dasharray: 4 4; }
.alt-chart .win { stroke: var(--red); stroke-width: 3; }
.alt-chart .wl { font: 11px var(--mono); fill: var(--ink); }
.alt-chart .now { stroke: rgba(238, 240, 243, 0.5); stroke-width: 1; }
.site-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.site-list li { display: grid; grid-template-columns: 13.5em 1fr; gap: 4px 16px; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.site-list .sn { color: var(--ink-3); }
.site-list .sv { color: var(--ink-2); }
.site-list li.ok .sv { color: var(--ink); }
.site-list li:hover .sn { color: var(--ink-2); }
.next-slot { margin: 0 0 16px; font-size: 16.5px; color: var(--ink); }
.queue-table { border-top: 1px solid var(--line); }
.qrow { display: grid; grid-template-columns: 7.2em 5.6em 3.6em minmax(0, 1fr) 2.8em 5.2em; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: baseline; color: var(--ink-2); }
.qrow > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrow i { font-style: normal; color: var(--ink-3); }
.qrow.head { color: var(--ink-3); }
.qrow.next { color: var(--ink); }
.qrow { position: relative; }
.qrow.next::before { content: ""; position: absolute; left: -15px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border: 1px solid var(--red); transform: rotate(45deg); }
.qrow.held { color: var(--ink-3); }
.qrow.preview { color: rgba(238, 240, 243, 0.32); }
.qrow.preview i { color: rgba(238, 240, 243, 0.22); }
.qrow.more { color: var(--ink-3); border-bottom: 0; }
.qa, .qw { text-align: right; }
.mine-slot { margin: 18px 0 0; color: var(--ink); font-size: 15.5px; }
.mine-slot:empty { display: none; }
.watch { margin-top: 72px; max-width: 46em; }
.watch h3 { margin: 0 0 12px; font-weight: 500; font-size: 20px; }
.watch p { margin: 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 1100px) { .obs-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .honesty { flex-direction: column; }
  .site-list li { grid-template-columns: 1fr; }
  .qrow { grid-template-columns: 3.4em 5.6em 3.2em minmax(0, 1fr) 2.6em; font-size: 11.5px; gap: 8px; }
  .qrow i { display: none; }
  .qrow .qw { display: none; }
  .schematic .nn { font-size: 14px; }
}

/* ---------- transitions (v3): one overlay canvas ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; display: block; }
#fx.block { pointer-events: auto; cursor: pointer; }

/* ---------- real site: wallet, saving, empty states, First light ---------- */
.wallet-wrap { position: relative; }
.connect.signed { font-family: var(--mono); font-size: 13px; }
.wallet-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 290px; background: rgba(9, 12, 18, 0.98); border: 1px solid var(--line); padding: 14px; display: grid; gap: 6px; z-index: 40; }
.wallet-menu[hidden] { display: none; }
.wallet-menu .wm-h { margin: 0; color: var(--ink); word-break: break-all; font-size: 11.5px; }
.wallet-menu .wm-s { margin: 0 0 6px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.wallet-menu .wm-s.err { color: var(--ink); }
.wallet-menu .wm-s a { color: var(--ink); }
.wallet-menu button, .wallet-menu a[role="menuitem"] { background: none; border: 1px solid var(--line); color: var(--ink); text-align: left; padding: 10px 12px; font-size: 15px; text-decoration: none; }
.wallet-menu button:hover, .wallet-menu a[role="menuitem"]:hover { border-color: rgba(238, 240, 243, 0.45); }
.res-saved { margin: 14px 0 0; color: var(--ink-2); }
.res-saved a, .res-saved .link { color: var(--ink); font-family: var(--mono); font-size: 12.5px; }
.res-field a { color: var(--ink-2); }
.map-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 12px 16px; background: rgba(5, 7, 11, 0.82); color: var(--ink-2); text-align: center; max-width: 28em; font-size: 15px; }
.map-empty[hidden] { display: none; }
.empty-state { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); font-family: var(--sans); font-size: 15.5px; line-height: 1.5; }
.lrow .f a { color: var(--ink); text-decoration: none; }
.lrow .f a:hover { text-decoration: underline; }
.qrow a { color: inherit; text-decoration: none; }
.qrow a:hover { text-decoration: underline; }
.qrow.done { color: var(--ink-3); }
.firstlight { margin-top: 72px; }
.firstlight h3 { margin: 0 0 16px; font-weight: 500; font-size: 20px; }
.fl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fl-grid .empty-state { grid-column: 1 / -1; max-width: 46em; }
.fl-card { text-decoration: none; color: var(--ink-2); display: grid; gap: 8px; }
.fl-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.fl-card span { font-size: 12px; }
#beaconLine a, .queue .fine a { color: var(--ink-2); }
@media (max-width: 760px) { .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wallet-menu { position: fixed; left: 16px; right: 16px; top: 60px; width: auto; } }

/* ---------- the hero's action (real site) ---------- */
.look { max-width: 720px; }
.look .use-wallet { margin-left: 10px; padding: 0 18px; height: 100%; font-size: 15px; background: rgba(5, 7, 11, 0.6); white-space: nowrap; }
.look input.cycling::placeholder { font-family: var(--mono); font-size: 14px; color: rgba(238, 240, 243, 0.5); }
.hint .paste-note { margin-left: 18px; color: var(--ink-3); }
@media (max-width: 760px) {
  .look { flex-wrap: wrap; height: auto; row-gap: 10px; }
  .look input, .look .primary { height: 52px; }
  .look input { flex: 1 1 60%; }
  .look .use-wallet { margin-left: 0; height: 46px; flex: 1 1 100%; }
  .look input.cycling::placeholder { font-size: 12px; }
  .hint .paste-note { display: none; }
}
