/* ZODIAC — the sky's chrome. One token sheet; nothing hard-coded after it.
 * Look: a planetarium dome at night. Deep blue-black, ivory ink, ONE gold accent for the figures and the sign; real star colours
 * stay in the sky. Type: Cormorant (an old star atlas) for names and the astronomer, Geist for reading, Geist Mono for every number.
 * No backdrop-filter and no blend modes over the live canvas (memory webgl-page-no-blur-overlays): panels are opaque gradients. */
@font-face { font-family: 'Cormorant'; font-weight: 400 700; font-style: normal; font-display: swap; src: url(/fonts/cormorant.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant'; font-weight: 400 700; font-style: italic; font-display: swap; src: url(/fonts/cormorant-italic.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant SC'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/cormorant-sc-600.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 100 900; font-display: swap; src: url(/fonts/geist.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 100 900; font-display: swap; src: url(/fonts/geist-mono.woff2) format('woff2'); }

:root {
  --bg: #04050a; --bg-2: #080a12; --bg-3: #0d1019; --bg-4: #141826;
  --panel: linear-gradient(180deg, rgba(10, 12, 20, 0.93), rgba(6, 7, 13, 0.95));
  --ink: #efe9dc; --ink-2: #b9b2a3; --ink-3: #7b7668; --ink-4: #4d4a43;
  --line: rgba(239, 233, 220, 0.09); --line-2: rgba(239, 233, 220, 0.16); --line-3: rgba(232, 196, 120, 0.35);
  --gold: #e3bf74; --gold-2: #f4dca6; --gold-d: #9c7c3c;
  --up: #9fc3ff; --down: #ff8a5c; --hole: #ff6a2b; --ok: #7fe0b0; --bad: #ff7a6b;
  --f-atlas: 'Cormorant', 'Cormorant Garamond', Georgia, serif; --f-sc: 'Cormorant SC', 'Cormorant', Georgia, serif;
  --f-t: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --f-m: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --r: 2px; --gap: 14px; --top: 56px; --side: 340px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font: 400 13px/1.45 var(--f-t); overflow: hidden; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(227, 191, 116, 0.3); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.mono { font-family: var(--f-m); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.is-hidden { display: none !important; }
.link { color: var(--ink-2); } .link:hover { color: var(--gold-2); }

/* ---- the sky ---- */
.stage { position: fixed; inset: 0; z-index: 0; }
.stage canvas { display: block; width: 100%; height: 100%; }
.labels { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.lay-c, .lay-r, .lay-s { position: absolute; inset: 0; }
.clabel { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; white-space: nowrap; opacity: 0; transition: opacity .5s var(--ease); will-change: transform, opacity; text-align: center; }
.clabel span { font: 600 12.5px/1 var(--f-sc); letter-spacing: 0.22em; margin-right: -0.22em; color: #e9d3a4; text-shadow: 0 0 10px #020308, 0 0 3px #020308; }
.clabel small { margin-top: 5px; font: 500 9.5px/1 var(--f-m); letter-spacing: .06em; color: var(--ink-3); text-shadow: 0 0 6px #020308; white-space: pre; }
.clabel.up small { color: #b9cdf0; }
.clabel em { display: none; margin-bottom: 6px; font: 600 8.5px/1 var(--f-m); font-style: normal; letter-spacing: .3em; margin-right: -.3em; color: #120d03; background: var(--gold); padding: 3px 6px 3px 7px; }
.clabel.is-sign em { display: block; }
.clabel.is-vis span { pointer-events: auto; cursor: pointer; } .clabel.is-vis span:hover { color: #fff1d0; }
.film-2 .clabel.is-vis span { pointer-events: none; }
.clabel.is-sign span { font-size: 15px; color: #fff1d0; text-shadow: 0 0 18px rgba(227, 191, 116, .45), 0 0 4px #020308; }
.clabel.is-focus span { color: #fff1d0; } .clabel.is-quiet em { display: none; } .clabel.is-quiet span { font-size: 12.5px; color: #e9d3a4; }
.rlabel { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; will-change: transform, opacity; transition: opacity .6s; text-shadow: 0 0 6px #020308; }
.rl-h { font: 500 9px/1 var(--f-m); color: #8f8268; letter-spacing: .04em; }
.rl-d { font: 500 8.5px/1 var(--f-m); color: #6f6a5e; }
.rl-z { font: 600 9.5px/1 var(--f-sc); color: #b39459; letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; }
.slabel { position: absolute; left: 0; top: 0; display: flex; gap: 6px; align-items: baseline; white-space: nowrap; opacity: 0; transition: opacity .35s; will-change: transform, opacity; text-shadow: 0 0 6px #020308, 0 0 2px #020308; pointer-events: none; }
.slabel b { font: 500 11px/1 var(--f-t); color: var(--ink); } .slabel span { font: 500 9.5px/1 var(--f-m); color: var(--ink-3); }
.hring { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1px solid rgba(244, 220, 166, .75); border-radius: 50%; opacity: 0; transition: opacity .15s; pointer-events: none; will-change: transform; }
.tip { position: fixed; z-index: 12; left: 0; top: 0; min-width: 210px; max-width: 300px; padding: 10px 12px 10px; background: linear-gradient(180deg, rgba(12, 14, 22, .97), rgba(7, 8, 14, .97)); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); pointer-events: none; opacity: 0; transition: opacity .12s; will-change: transform; }
.tip.is-on { opacity: 1; }
.tip::before { content: ''; position: absolute; left: -1px; top: -1px; width: 8px; height: 8px; border-left: 1px solid var(--gold); border-top: 1px solid var(--gold); }
.tip-h { display: flex; align-items: baseline; gap: 8px; min-width: 0; } .tip-h b { font: 600 17px/1.1 var(--f-atlas); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .tip-h span { font-size: 10.5px; color: var(--gold); flex: none; }
.tip-cons { margin-top: 3px; font: 500 italic 13px/1.2 var(--f-atlas); color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 15px; } .tip-cons.is-none { visibility: hidden; }
.tip-n { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.tip-n i { display: block; font-style: normal; font-size: 8.5px; letter-spacing: .12em; color: var(--ink-4); } .tip-n b { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: var(--ink); }
.tip-flag { position: absolute; right: 12px; bottom: 10px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--hole); }
.is-film .top, .is-film .panel, .is-film .card, .is-film .toast, .is-film .tip, .is-film .reticle, .is-film .sheet { display: none !important; }
.is-film .rlabel, .is-film .slabel, .is-film .readout, .is-film .dock, .is-film .announce, .is-film .hring, .is-film .top-mid { display: none !important; }
.reticle { position: fixed; z-index: 2; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; will-change: transform; }
.reticle i { position: absolute; width: 10px; height: 10px; border: 1px solid var(--gold); }
.reticle i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; } .reticle i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.reticle i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; } .reticle i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.reticle b { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border: 1px dashed rgba(227, 191, 116, 0.45); border-radius: 50%; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- top bar ---- */
.top { position: fixed; z-index: 10; left: 0; right: 0; top: 0; height: var(--top); display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 0 18px;
  background: linear-gradient(180deg, rgba(4, 5, 10, 0.96), rgba(4, 5, 10, 0.72) 70%, rgba(4, 5, 10, 0)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.brand-mark { width: 26px; height: 26px; } .brand-logo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.brand-name { font: 600 19px/1 var(--f-sc); letter-spacing: 0.3em; color: var(--ink); }
.tabs { display: flex; gap: 2px; }
.tab { height: 30px; padding: 0 12px; font: 500 12px/1 var(--f-t); color: var(--ink-3); letter-spacing: .02em; border-bottom: 1px solid transparent; }
.tab:hover { color: var(--ink); } .tab.is-on { color: var(--ink); border-bottom-color: var(--gold); }
.top-mid { display: flex; justify-content: center; min-width: 0; }
.sign-chip { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; border: 1px solid var(--line-3); background: rgba(227, 191, 116, 0.06); max-width: 100%; min-width: 0; }
.sign-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }
.sign-chip .lab { font: 500 10px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); flex: none; }
.sign-chip b { font: 600 17px/1 var(--f-atlas); font-style: italic; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sign-chip .d { font: 500 11px/1 var(--f-m); color: var(--up); flex: none; }
.top-right { display: flex; align-items: center; gap: 10px; position: relative; }
.search { display: flex; align-items: center; gap: 8px; height: 32px; width: 250px; padding: 0 10px; border: 1px solid var(--line-2); background: rgba(8, 10, 18, 0.9); color: var(--ink-3); }
.search svg { width: 14px; height: 14px; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 400 12.5px/1 var(--f-t); }
.search input::placeholder { color: var(--ink-4); }
.search kbd { font: 500 10px/1 var(--f-m); color: var(--ink-4); border: 1px solid var(--line-2); padding: 2px 5px; }
.search-out { position: absolute; top: 38px; left: 0; width: 320px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); z-index: 20; }
.search-out button { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 10px; align-items: baseline; width: 100%; padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.search-out button:hover, .search-out button.is-on { background: var(--bg-4); }
.search-out b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .search-out b i { display: block; margin-top: 3px; font: 500 italic 12.5px/1 var(--f-atlas); color: var(--gold-2); overflow: hidden; text-overflow: ellipsis; } .search-out span { color: var(--gold); font-size: 11px; } .search-out em { font-style: normal; color: var(--ink-3); font-size: 11px; text-align: right; } .search-out .none { display: block; color: var(--ink-3); }
.ca-pill { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 4px 0 10px; border: 1px solid var(--line-2); background: rgba(8, 10, 18, 0.9); max-width: 330px; }
.ca-pill.is-live { border-color: var(--line-3); } .ca-pill.is-empty { display: none; }
.ca-lab { font: 600 11px/1 var(--f-m); color: var(--gold); white-space: nowrap; }
.ca-addr { display: flex; align-items: center; gap: 8px; min-width: 0; font: 500 11.5px/1 var(--f-m); color: var(--ink); cursor: copy; }
.ca-addr:disabled { cursor: default; color: var(--ink-3); }
.ca-addr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-copy { font: 600 10px/1 var(--f-m); font-style: normal; padding: 5px 8px; background: var(--gold); color: #120d03; text-transform: uppercase; letter-spacing: .06em; }
.ca-link { font: 500 11px/1 var(--f-t); padding: 6px 8px; color: var(--ink-2); border-left: 1px solid var(--line); } .ca-link:hover { color: var(--gold-2); }
.xbtn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2); color: var(--ink); background: rgba(8, 10, 18, 0.9); }
.xbtn svg { width: 15px; height: 15px; } .xbtn:hover { border-color: var(--gold); color: var(--gold-2); }
.utc { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 11px; color: var(--ink-3); width: 112px; } .utc b { font-weight: 400; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px rgba(127, 224, 176, .6); flex: none; } .live-dot.is-off { background: var(--ink-4); box-shadow: none; } .live-dot.beat { animation: beat .9s var(--ease); }
@keyframes beat { 0% { transform: scale(1.8); } 100% { transform: scale(1); } }

/* ---- panels: dark instrument plates, hairline frame, gold corner ticks ---- */
.panel { position: fixed; z-index: 5; background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 30px 80px rgba(0, 0, 0, 0.5); }
.panel::before, .panel::after, .card::before, .card::after { content: ''; position: absolute; width: 9px; height: 9px; pointer-events: none; }
.panel::before, .card::before { left: -1px; top: -1px; border-left: 1px solid var(--gold-d); border-top: 1px solid var(--gold-d); }
.panel::after, .card::after { right: -1px; bottom: -1px; border-right: 1px solid var(--gold-d); border-bottom: 1px solid var(--gold-d); }
.eyebrow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 500 10px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow > span:first-child { color: var(--gold); }
.eyebrow-l { font: 500 10px/1 var(--f-m); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.panel-sign { left: var(--gap); top: calc(var(--top) + 6px); width: var(--side); height: calc(100vh - var(--top) - 236px); padding: 18px 18px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.sign-name { margin: 2px 0 0; font: 600 italic 34px/1.02 var(--f-atlas); letter-spacing: -0.01em; color: var(--ink); min-height: 35px; cursor: pointer; flex-shrink: 0; }
.sign-name:hover { color: var(--gold-2); }
.sign-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sign-sub { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 12px; align-items: center; flex-shrink: 0; margin-top: -2px; }
.glyph-slot { display: block; } .glyph-slot .glyph { display: block; width: 100%; height: auto; } .glyph line { stroke: var(--gold); stroke-width: 0.9; stroke-linecap: round; opacity: .85; } .glyph circle { fill: #fff1d0; }
#sign-glyph { width: 46px; height: 46px; } .cc-glyph { width: 40px; height: 40px; flex: none; align-self: center; }
.sign-line { margin: 0; color: var(--ink-2); font-size: 12.5px; min-height: 18px; flex-shrink: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spark-rp { margin-left: 8px; margin-right: 10px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--gold); } .spark-rp:hover { color: #fff1d0; } .is-flat .spark-rp { display: none; }
.spark-h > span:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .spark-h > * { white-space: nowrap; flex: none; }
.spark { flex-shrink: 0; } .spark-h { display: flex; justify-content: space-between; gap: 6px; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 4px; } .spark-h span:last-child { color: var(--ink-3); }
.spark-cv { display: block; width: 100%; height: 54px; }
.sign-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: center; flex-shrink: 0; height: 24px; font-size: 10.5px; }
.sign-top i { font-style: normal; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-right: 2px; }
.sign-top button { display: flex; gap: 6px; align-items: baseline; justify-content: space-between; min-width: 0; height: 24px; padding: 0 6px; border: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.sign-top button:hover { border-color: var(--gold-d); } .sign-top b { color: var(--gold); font-weight: 500; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .sign-top span { color: var(--ink-2); flex: none; }
.sign-top button.up span { color: var(--up); } .sign-top button.down span { color: var(--down); }
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); flex-shrink: 0; }
.nums > div { background: var(--bg-2); padding: 9px 10px; min-width: 0; }
.nums dt { font: 500 9.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.nums dd { margin: 6px 0 0; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .nums dd small { font-size: inherit; }
.nums dt .s { display: none; }
@media (min-width: 821px) and (min-height: 521px) {
  .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } .nums > div { padding: 8px 8px 9px; } .nums dt { font-size: 8.5px; letter-spacing: .08em; white-space: nowrap; }
  .nums dt .l { display: none; } .nums dt .s { display: inline; } .nums dd { font-size: 13px; margin-top: 6px; text-overflow: clip; letter-spacing: -.01em; } .nums dd small { display: none; }
}
@media (min-width: 821px) and (max-width: 1500px) { .nums dd { font-size: 11.5px; } .nums > div { padding: 7px 6px 8px; } }
.reading { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1 1 0; overflow: hidden; }
.reading-text { margin: 0; font: 500 16px/1.4 var(--f-atlas); color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; flex: none; }
.forecast { border-top: 1px solid var(--line-2); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.fc-claim { margin: 0; font: 600 15px/1.3 var(--f-atlas); color: var(--gold-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fc-now { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; } .fc-now span { overflow: hidden; text-overflow: ellipsis; min-width: 0; } .fc-now b { flex: none; } .fc-now b { font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 9.5px; } .fc-now b.ok, .rr-v.ok { color: var(--ok); } .fc-now b.bad, .rr-v.bad { color: var(--bad); }
.fc-track { display: block; height: 1px; background: var(--line-2); overflow: hidden; } .fc-track i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.fc-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; color: var(--ink-4); }
.fc-foot b { color: var(--ink-2); font-weight: 500; }
.panel-cons { right: var(--gap); top: calc(var(--top) + 6px); width: var(--side); max-height: calc(100vh - var(--top) - 30px); padding: 18px 0 8px; display: flex; flex-direction: column; gap: 10px; }
.panel-cons > .eyebrow { padding: 0 18px; }
.cons-head, .cons-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 88px 46px; gap: 8px; align-items: center; padding: 0 18px; }
.cons-head { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; } .cons-head span:nth-child(n+3) { text-align: right; }
.cons-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; }
.cons-list li { height: 40px; cursor: pointer; border-top: 1px solid var(--line); position: relative; }
.cons-list li:hover { background: rgba(227, 191, 116, 0.05); }
.cons-list li.is-sign { background: linear-gradient(90deg, rgba(227, 191, 116, 0.12), rgba(227, 191, 116, 0.03)); }
.cons-list li.is-open::before, .cons-list li.is-tour::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); }
.cons-list li.is-tour { background: rgba(227, 191, 116, 0.07); }
.cons-list .rk { font: 500 10.5px/1 var(--f-m); color: var(--ink-4); }
.cons-list .nm { min-width: 0; } .cons-list .nm b { display: block; font: 600 15.5px/1.1 var(--f-atlas); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cons-list .nm span { display: block; font: 400 10px/1.2 var(--f-m); color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cons-list .sh { position: relative; height: 16px; font: 500 11px/16px var(--f-m); color: var(--ink-2); text-align: right; }
.cons-list .sh i { position: absolute; left: 0; top: 7px; height: 2px; background: var(--gold-d); transform-origin: 0 50%; width: 40px; }
.cons-list li.is-sign .sh i { background: var(--gold); }
.cons-list .dl { font: 500 11px/1 var(--f-m); text-align: right; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--ink-3); }
.panel-feed { left: var(--gap); bottom: var(--gap); width: var(--side); height: 214px; padding: 14px 0 6px; display: flex; flex-direction: column; gap: 8px; }
.panel-feed > .eyebrow { padding: 0 18px; }
.feed-list { list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1; }
.feed-list li .x { font: 500 10px/1 var(--f-m); font-style: normal; color: var(--gold); }
.feed-list li { display: grid; grid-template-columns: 54px 14px minmax(0, 1fr) auto; gap: 8px; align-items: center; height: 25px; padding: 0 18px; font-size: 12px; color: var(--ink-2); animation: rise .5s var(--ease); cursor: pointer; }
.feed-list li:hover { color: var(--ink); background: rgba(255, 255, 255, 0.02); }
.feed-list time { font-size: 10.5px; color: var(--ink-4); }
.feed-list .k { width: 8px; height: 8px; border-radius: 50%; justify-self: center; }
.feed-list .k.nova { background: #fff1c4; box-shadow: 0 0 8px #ffd27a; } .feed-list .k.hole { background: #000; box-shadow: 0 0 0 1.5px var(--hole); }
.feed-list .k.whale { background: var(--up); box-shadow: 0 0 6px rgba(159, 195, 255, .6); } .feed-list .k.bond { background: none; box-shadow: 0 0 0 1.5px var(--gold); } .feed-list .k.born, .feed-list .k.rising { background: var(--gold); transform: rotate(45deg); border-radius: 0; width: 7px; height: 7px; } .feed-list .k.join { background: #fff3d6; width: 4px; height: 4px; }
.feed-list .k.hit { background: none; width: 9px; height: 9px; border-radius: 0; box-shadow: none; border: 0; } .feed-list .k.hit::before { content: '✓'; display: block; margin: -4px 0 0 -1px; font: 600 11px/1 var(--f-m); color: var(--ok); font-style: normal; }
.feed-list .k.miss::before { content: '×'; display: block; margin: -5px 0 0 -1px; font: 600 13px/1 var(--f-m); color: var(--bad); font-style: normal; } .feed-list .k.miss { background: none; border-radius: 0; }
.feed-list .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .feed-list .t b { color: var(--ink); font-weight: 500; } .feed-list .t b.g { color: var(--gold-2); font: 600 italic 13.5px/1 var(--f-atlas); }
.feed-quiet { display: none; margin: 0; padding: 0 18px; font-size: 10.5px; color: var(--ink-4); letter-spacing: .04em; }
.panel-feed.is-quiet .feed-quiet { display: block; } .panel-feed.is-quiet .feed-quiet::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--gold); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- the readout strip ---- */
.readout { overflow: hidden; position: fixed; z-index: 4; bottom: var(--gap); left: calc(var(--side) + var(--gap) * 2 + 24px); right: calc(var(--side) + var(--gap) * 2 + 24px); height: 46px; display: flex; align-items: center; justify-content: center; gap: 22px; pointer-events: none; transition: opacity .3s; }
.has-card .readout, .has-sheet .readout { opacity: 0; }
.ro { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; } .ro-pt { min-width: 108px; padding-right: 20px; border-right: 1px solid var(--line-2); pointer-events: auto; cursor: pointer; } .ro-pt:hover b { color: #fff1d0; } .ro-pt:hover i { color: var(--gold); } .ro-pt b { color: var(--gold-2); font-size: 13px; } .ro b { font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; } .ro i { font: 500 8.5px/1 var(--f-m); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.lg { display: flex; align-items: center; gap: 7px; font: 500 9px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.lg-temp { margin-left: 18px; padding-left: 22px; border-left: 1px solid var(--line-2); height: 28px; }
.lg-temp { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; } .lg-temp span { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; } .lg-temp em { font-style: normal; } .lg-temp .temp { width: 120px; }
.temp { display: block; width: 70px; height: 4px; background: linear-gradient(90deg, #ff6a2e, #ffd9b0 45%, #f4f2ff 55%, #8db8ff); }
.g-nova { width: 11px; height: 11px; background: radial-gradient(circle, #fff 0 18%, rgba(255, 220, 150, .7) 30%, transparent 62%), linear-gradient(0deg, transparent 45%, rgba(255, 230, 180, .9) 45% 55%, transparent 55%), linear-gradient(90deg, transparent 45%, rgba(255, 230, 180, .9) 45% 55%, transparent 55%); }
.g-hole { width: 11px; height: 11px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1.5px var(--hole), 0 0 6px rgba(255, 106, 43, .6); }
.g-shot { width: 18px; height: 2px; background: linear-gradient(90deg, transparent, #c4d8ff); }

/* ---- cards (a star, a constellation) ---- */
.card { position: fixed; z-index: 8; left: 50%; bottom: var(--gap); width: 620px; margin-left: -310px; background: linear-gradient(180deg, rgba(11, 13, 21, 0.97), rgba(6, 7, 13, 0.98)); border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7); padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 12px; animation: rise .35s var(--ease); }
.card-x { position: absolute; right: 8px; top: 6px; font-size: 20px; color: var(--ink-3); width: 28px; height: 28px; z-index: 2; } .card-x:hover { color: var(--ink); }
.card-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-width: 0; padding-right: 26px; }
.card-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: radial-gradient(circle at 35% 30%, #2a2f42, #0d1019); box-shadow: 0 0 0 1px var(--line-2); }
.card-img.is-empty { content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><circle cx="24" cy="24" r="3" fill="%23f4dca6"/><circle cx="24" cy="24" r="9" fill="none" stroke="%23e3bf74" stroke-opacity=".35"/></svg>'); }
.card-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-id b { font: 600 23px/1 var(--f-atlas); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { display: flex; gap: 10px; align-items: baseline; } .card-sub .mono { font-size: 11px; color: var(--gold); }
.card-state { font-size: 9.5px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--up) !important; } .card-state.hole { color: var(--hole) !important; } .card-state.bond { color: var(--gold-2) !important; }
.card-cons { max-width: 210px; font: 500 italic 15px/1.1 var(--f-atlas); color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; padding: 6px 0 6px 10px; border-left: 1px solid var(--line); }
.card-cons:not(:disabled):hover { color: #fff1d0; } .card-cons:disabled { color: var(--ink-4); cursor: default; }
.card-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card-nums > div { background: var(--bg-2); padding: 8px 10px; min-width: 0; } .card-nums i { display: block; font: 500 9px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-nums b { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-chart { width: 100%; height: 96px; display: block; }
.card-desc { margin: 0; font-size: 12px; color: var(--ink-2); height: 34px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-links { display: flex; gap: 8px; align-items: center; }
.card-links > * { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--ink-2); flex: none; }
.card-links > *:hover { border-color: var(--gold); color: var(--gold-2); }
.card-links #card-ca { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; justify-content: flex-start; cursor: copy; font-size: 11px; }
.cc { width: 640px; margin-left: -320px; }
.cc-head { display: flex; align-items: baseline; gap: 12px; padding-right: 30px; min-width: 0; } .cc-head > span:first-child { font-size: 10.5px; color: var(--ink-4); flex: none; } #cc-rank { white-space: nowrap; flex: none; font-size: 10.5px; color: var(--ink-4); }
.cc-head b { font: 600 italic 28px/1 var(--f-atlas); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cc-sign { flex: none; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #120d03; background: var(--gold); padding: 4px 7px; align-self: center; }
.cc-post { margin-left: 6px !important; }
.cc-link { margin-left: auto; flex: none; height: 24px; padding: 0 9px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); align-self: center; } .cc-link:hover { color: var(--gold-2); border-color: var(--gold); }
.cc-line { margin: -4px 0 0; font-size: 12.5px; color: var(--ink-2); height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-nums { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cc-chart { display: block; width: 100%; height: 70px; }
.cc-th, .cc-coins li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 76px 70px 70px 48px; gap: 10px; align-items: center; }
.cc-th { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); padding: 0 6px; } .cc-th span:nth-child(n+4) { text-align: right; }
.cc-tabs { display: flex; gap: 14px; } .cc-tabs button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink-4); padding: 2px 0; border-bottom: 1px solid transparent; } .cc-tabs button:hover { color: var(--ink-2); } .cc-tabs button.is-on { color: var(--gold); border-bottom-color: var(--gold); }
.cc-coins { list-style: none; margin: -6px 0 0; padding: 0; height: 186px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; }
.cc-coins li { height: 31px; padding: 0 6px; border-top: 1px solid var(--line); cursor: pointer; font-size: 12px; }
.cc-coins li:hover { background: rgba(227, 191, 116, 0.06); } .cc-coins li.cc-wait { display: flex; border: 0; cursor: default; color: var(--ink-4); font-size: 10.5px; letter-spacing: .06em; } .cc-coins li.cc-wait:hover { background: none; }
.cc-coins .rk { font-size: 10px; color: var(--ink-4); } .cc-coins b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cc-coins .sym { font-size: 10.5px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-coins .v, .cc-coins .a, .cc-coins .t { text-align: right; font-size: 11.5px; } .cc-coins .a, .cc-coins .t { color: var(--ink-3); }
.cc-coins li.bonded b::after { content: ' ◦'; color: var(--gold); } .cc-coins li.rugged b { color: var(--ink-3); } .cc-coins li.rugged b::after { content: ' ●'; color: #000; text-shadow: 0 0 0 var(--hole), 0 0 3px var(--hole); } .cc-coins li.rugged .v { color: var(--hole) !important; }

/* ---- sheets over the sky (record, observatory) ---- */
.sheet { position: fixed; z-index: 9; left: 50%; top: calc(var(--top) + 10px); max-height: calc(100vh - var(--top) - 10px - var(--gap)); width: min(1000px, calc(100vw - 2 * var(--side) - 80px)); transform: translateX(-50%); background: linear-gradient(180deg, rgba(8, 10, 17, 0.98), rgba(5, 6, 11, 0.99)); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75); padding: 30px 34px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; animation: rise .35s var(--ease); }
.sheet-x { position: absolute; right: 14px; top: 10px; font-size: 24px; color: var(--ink-3); width: 34px; height: 34px; } .sheet-x:hover { color: var(--ink); }
.sheet h2 { margin: 10px 0 8px; font: 600 italic 40px/1.02 var(--f-atlas); letter-spacing: -.01em; } .sheet .sub { color: var(--ink-2); margin: 0 0 18px; max-width: 64ch; font-size: 13px; }
.rec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; padding-bottom: 10px; }
.rec-big { display: flex; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 18px; }
.rb { background: var(--bg-2); padding: 12px 16px; min-width: 104px; } .rb b { display: block; font-size: 26px; font-weight: 400; color: var(--ink); } .rb.gold b { color: var(--gold-2); } .rb i { display: block; margin-top: 6px; font: 500 9px/1 var(--f-m); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.rec-sec { margin: 22px 0 6px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.rec-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 190px; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.rr-t b { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-2); } .rr-t span { display: block; margin-top: 4px; font-size: 10px; color: var(--ink-4); }
.rec-row .claim { font: 600 17px/1.3 var(--f-atlas); color: var(--ink); } .rec-row .why { font-size: 12px; color: var(--ink-3); margin-top: 5px; line-height: 1.45; }
.rec-row .hash { margin-top: 6px; font-size: 9.5px; color: var(--ink-4); word-break: break-all; }
.rr-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } .rr-v { font-size: 11px; color: var(--ink-3); } .rr-spark { width: 170px; height: 34px; display: block; }
.hist-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 70px 90px; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; cursor: pointer; }
.hist-row:hover b { color: var(--gold-2); } .hist-row b { font: 600 16px/1.2 var(--f-atlas); } .hist-row .mono { font-size: 11px; color: var(--ink-3); }
.pill { display: inline-block; padding: 4px 8px; font: 600 10px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--ink-3); white-space: nowrap; }
.pill.hit { color: var(--ok); border-color: rgba(127, 224, 176, .4); } .pill.miss { color: var(--bad); border-color: rgba(255, 122, 107, .4); } .pill.open { color: var(--gold); border-color: var(--line-3); }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; background: var(--gold); color: #120d03; font: 600 12.5px/1 var(--f-t); letter-spacing: .02em; } .btn:hover { background: var(--gold-2); }
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--line-2); }
.obs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 6px 0 18px; }
.obs-tile { background: linear-gradient(180deg, var(--bg-2), var(--bg)); padding: 18px 18px 20px; } .obs-tile i { font-style: normal; font-size: 10px; color: var(--gold); letter-spacing: .1em; } .obs-tile b { display: block; margin: 10px 0 6px; font: 600 italic 22px/1.1 var(--f-atlas); } .obs-tile p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.obs-gate { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line-3); background: rgba(227, 191, 116, 0.04); } .obs-gate .mono { font-size: 11px; color: var(--ink-3); } .obs-gate .who { color: var(--ink); }
.vote-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.vote-opt { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid var(--line-2); background: var(--bg-2); text-align: left; transition: border-color .2s, background .2s; }
.vote-opt i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; }
.vote-opt b { font: 600 italic 19px/1.1 var(--f-atlas); color: var(--ink); } .vote-opt span { font-size: 10.5px; color: var(--ink-3); }
.vote-opt:not(:disabled):hover { border-color: var(--gold); background: rgba(227, 191, 116, 0.06); } .vote-opt:disabled { cursor: default; } .vote-opt.is-mine { border-color: var(--gold); box-shadow: 0 0 30px rgba(227, 191, 116, 0.15) inset; }
.obs-alerts { margin-top: 10px; }

.announce { position: fixed; z-index: 13; left: 50%; top: calc(var(--top) + 18px); transform: translate(-50%, -12px); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 34px 18px; min-width: 420px; max-width: 640px; text-align: center; background: linear-gradient(180deg, rgba(14, 12, 6, 0.96), rgba(8, 7, 4, 0.96)); border: 1px solid var(--line-3); box-shadow: 0 0 60px rgba(227, 191, 116, 0.12), 0 30px 80px rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.announce.is-on { opacity: 1; transform: translate(-50%, 0); }
.announce .mono { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.announce b { font: 600 italic 34px/1.05 var(--f-atlas); color: #fff1d0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce i { font-style: normal; font-size: 12px; color: var(--ink-2); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pop { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 3px; align-items: center; padding: 6px 10px 7px 8px; background: rgba(5, 6, 11, 0.86); border: 1px solid var(--line-2); white-space: nowrap; opacity: 0; will-change: transform, opacity; pointer-events: none; margin-left: 14px; }
.pop i { grid-row: 1 / span 2; width: 8px; height: 8px; border-radius: 50%; background: #fff1c4; box-shadow: 0 0 10px #ffd27a; }
.pop b { font: 600 13px/1 var(--f-atlas); color: var(--ink); max-width: 200px; overflow: hidden; text-overflow: ellipsis; } .pop span { font: 500 9.5px/1 var(--f-m); letter-spacing: .06em; color: var(--gold); }
.pop-whale i { background: var(--up); box-shadow: 0 0 10px rgba(159, 195, 255, .8); } .pop-whale span { color: var(--up); }
.pop-hole i { background: #000; box-shadow: 0 0 0 1.5px var(--hole), 0 0 8px rgba(255, 106, 43, .6); } .pop-hole span { color: var(--hole); }
.pop-bond i { background: none; box-shadow: 0 0 0 1.5px var(--gold); }
.pre .top, .pre .panel, .pre .readout { opacity: 0 !important; transform: translateY(8px); }
.assemble .top, .assemble .panel, .assemble .readout { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease) !important; }
.assemble .top { transition-delay: .3s !important; } .assemble .panel-sign { transition-delay: 1.1s !important; } .assemble .panel-cons { transition-delay: 1.35s !important; } .assemble .panel-feed { transition-delay: 1.6s !important; } .assemble .readout { transition-delay: 1.9s !important; }

.how-btn { font: 600 14px/1 var(--f-atlas); color: var(--gold-2); }
.sheet-atlas { width: min(1240px, calc(100vw - 2 * var(--side) - 60px)); }
.atlas-wrap { width: 100%; margin-top: 4px; } .atlas { display: block; cursor: crosshair; }
.how-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.how-grid li { background: linear-gradient(180deg, var(--bg-2), var(--bg)); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.how-grid svg { width: 96px; height: 60px; margin: -4px 0 6px -4px; }
.how-grid i { font-style: normal; font-size: 10px; color: var(--gold); letter-spacing: .1em; } .how-grid b { font: 600 italic 21px/1.1 var(--f-atlas); } .how-grid p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.how-foot + .how-foot { margin-top: 6px; }
.how-foot { margin: 16px 0 0; font-size: 10.5px; letter-spacing: .06em; color: var(--ink-4); }

.hint { position: fixed; z-index: 6; left: 50%; top: calc(var(--top) + 12px); transform: translate(-50%, -6px); display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 14px; font: 500 11.5px/1 var(--f-t); color: var(--ink-2); background: rgba(6, 7, 12, 0.92); border: 1px solid var(--line-2); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hint.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; } .hint:hover { color: var(--ink); border-color: var(--gold-d); } .hint b { color: var(--gold); font-weight: 500; }
.hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.has-card .hint, .has-sheet .hint, .is-film .hint { display: none; }

.replay-btn { pointer-events: auto; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; margin-left: 14px; border: 1px solid var(--line-3); background: rgba(227, 191, 116, 0.05); font: 500 9.5px/1 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }
.replay-btn i { width: 0; height: 0; border-left: 7px solid var(--gold); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.replay-btn:hover { background: rgba(227, 191, 116, 0.12); border-color: var(--gold); }
.is-flat .replay-btn { display: none; }
.has-replay .readout { opacity: 0; pointer-events: none; } .has-replay .readout * { pointer-events: none !important; }
.replay { position: fixed; z-index: 8; bottom: var(--gap); left: 50%; width: min(860px, calc(100vw - 2 * var(--side) - 80px)); transform: translateX(-50%); height: 70px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 0 14px; background: linear-gradient(180deg, rgba(11, 13, 21, 0.96), rgba(6, 7, 13, 0.97)); border: 1px solid var(--line-3); box-shadow: 0 24px 70px rgba(0, 0, 0, .6); animation: rise .35s var(--ease); --u: 0; }
.rp-play { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; }
.rp-play i { width: 0; height: 0; border-left: 11px solid var(--gold); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.replay.is-playing .rp-play i { width: 10px; height: 12px; border: 0; margin: 0; border-left: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.rp-mid { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rp-top { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.rp-top b { font-weight: 500; font-size: 13px; color: #fff1d0; width: 74px; flex: none; } .rp-top span { letter-spacing: .12em; text-transform: uppercase; font-size: 9px; flex: none; }
.rp-top em { font: 600 italic 15px/1 var(--f-atlas); color: var(--gold-2); overflow: hidden; text-overflow: ellipsis; min-width: 0; } .rp-top .rp-share { margin-left: auto; color: var(--ink-2); letter-spacing: 0; text-transform: none; font-size: 10.5px; }
.rp-track { position: relative; height: 26px; } .rp-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rp-track::after { content: ''; position: absolute; top: -2px; bottom: -2px; left: calc(var(--u) * 100%); width: 1px; background: #fff1d0; box-shadow: 0 0 8px rgba(255, 241, 208, .8); pointer-events: none; }
.rp-track input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.rp-speed { display: flex; border: 1px solid var(--line-2); } .rp-speed button { height: 26px; padding: 0 9px; font-size: 10px; color: var(--ink-3); } .rp-speed button.is-on { color: #120d03; background: var(--gold); }
.rp-x { height: 30px; padding: 0 12px; border: 1px solid var(--line-2); font: 500 10px/1 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 7px; } .rp-x::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.rp-x:hover { color: var(--ink); border-color: var(--gold-d); }
.replay.is-loading .rp-track { opacity: .3; } .replay.is-loading .rp-top em { font: 500 10.5px/1 var(--f-m); font-style: normal; color: var(--ink-3); }

/* ---- the phone dock (hidden on desktop) ---- */
.dock { display: none; }

/* ---- first paint ---- */
.boot { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 45%, #0b0e1a 0%, #04050a 70%); transition: opacity .8s var(--ease); }
.boot.is-gone { opacity: 0; pointer-events: none; }
.boot-in { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--gold); }
.boot-mark { width: 54px; height: 54px; } .boot-name { font: 600 30px/1 var(--f-sc); letter-spacing: .4em; color: var(--ink); margin-right: -.4em; }
.boot-step { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.boot-bar { width: 220px; height: 1px; background: var(--line-2); overflow: hidden; } .boot-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0.05); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.toast { position: fixed; z-index: 60; left: 50%; top: 70px; transform: translateX(-50%); padding: 10px 16px; background: var(--bg-3); border: 1px solid var(--line-3); color: var(--ink); font-size: 12.5px; }

/* ---- smaller screens ---- */
@media (max-width: 1800px) { .lg:not(.lg-temp) { display: none; } .readout { gap: 18px; } }
@media (max-width: 1660px) { .lg-temp { display: none; } }
@media (max-width: 1500px) { :root { --side: 300px; } .search { width: 200px; } .utc { display: none; } .lg:not(.lg-temp) { display: none; } .readout { gap: 16px; } .cons-head, .cons-list li { grid-template-columns: 20px minmax(0, 1fr) 50px 42px; gap: 6px; padding: 0 14px; } .cons-list .sh i { display: none; } .cons-head { font-size: 8.5px; letter-spacing: .05em; } .sign-sub { grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; } #sign-glyph { width: 40px; height: 40px; } }
@media (max-width: 1400px) { .ro-pt { display: none; } }
@media (max-width: 1200px) { .panel-cons { display: none; } .tabs { display: none; } .readout { right: var(--gap); } .lg-temp { display: none; } .replay { left: calc(var(--side) + var(--gap) * 2 + 10px); right: var(--gap); width: auto; transform: none; } }
@media (max-height: 820px) and (min-height: 521px) and (min-width: 821px) {
  .panel-feed { height: 170px; } .panel-sign { height: calc(100vh - var(--top) - 192px); gap: 9px; padding-top: 14px; } .spark-cv { height: 26px; } .sign-top { display: none; } .spark-h { margin-bottom: 2px; } .sign-name { font-size: 29px; } .sign-line { -webkit-line-clamp: 1; min-height: 0; }

  .card-chart { height: 72px; } .cc-coins { height: 124px; } }
@media (max-width: 820px), (max-height: 520px) {
  :root { --top: 52px; --gap: 8px; --dock: 54px; }
  .top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 0 10px; }
  .brand-name { font-size: 15px; letter-spacing: .22em; } .brand-mark { width: 22px; height: 22px; }
  .top-mid { position: fixed; left: var(--gap); right: var(--gap); bottom: calc(var(--dock) + 10px); justify-content: center; z-index: 6; transition: opacity .25s; }
  .sign-chip { height: 36px; background: rgba(6, 7, 12, 0.94); width: 100%; justify-content: center; } .sign-chip b { font-size: 16px; }
  body[data-dock]:not([data-dock=""]) .top-mid, .has-card .top-mid, .has-sheet .top-mid, .has-replay .top-mid { opacity: 0; pointer-events: none; }
  .rp-top span:not(.rp-share), .rp-top .rp-share { display: none; } .rp-top b { width: auto; } .replay { height: 64px; }
  .top-right { gap: 6px; grid-column: 3; justify-self: end; } .search { width: 34px; padding: 0 9px; border-color: transparent; background: none; } .search input, .search kbd { display: none; }
  .top-right.is-searching .search { position: fixed; left: 8px; right: 8px; top: 8px; width: auto; z-index: 30; background: var(--bg-2); border-color: var(--line-2); height: 38px; }
  .top-right.is-searching .search input { display: block; font-size: 16px; }
  .search-out { position: fixed; left: 8px; right: 8px; top: 50px; width: auto; }
  .ca-pill { max-width: 170px; } .ca-link { display: none; } .xbtn { width: 30px; height: 30px; } .how-btn { border-color: transparent; background: none; font-size: 17px; }
  .panel-sign, .panel-cons, .panel-feed { left: var(--gap); right: var(--gap); width: auto; top: auto; bottom: calc(var(--dock) + 8px); max-height: 58vh; height: auto !important; display: none; animation: rise .3s var(--ease); }
  body[data-dock="sign"] .panel-sign, body[data-dock="cons"] .panel-cons, body[data-dock="feed"] .panel-feed { display: flex; }
  .sign-sub { grid-template-columns: minmax(0, 1fr) 52px; } #sign-glyph { width: 52px; height: 52px; }
  .panel-sign { padding: 14px; gap: 10px; overflow-y: auto; } .panel-sign .reading { flex: none; overflow: visible; } .panel-sign .spark-cv { height: 40px; } .sign-name { font-size: 28px; } .reading-text { -webkit-line-clamp: 9; font-size: 15px; }
  .panel-feed { height: 230px; }
  .readout { display: none; } .replay { left: var(--gap); right: var(--gap); width: auto; transform: none; bottom: calc(var(--dock) + 8px); grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; } .rp-speed { display: none; } .rp-play { width: 36px; height: 36px; }
  .card { left: var(--gap); right: var(--gap); width: auto; margin: 0; bottom: calc(var(--dock) + 8px); max-height: calc(100vh - var(--top) - var(--dock) - 24px); overflow-y: auto; padding: 14px; gap: 10px; }
  .card-head { grid-template-columns: 40px minmax(0, 1fr); } .card-img { width: 40px; height: 40px; } .card-cons { grid-column: 1 / -1; text-align: left; border-left: 0; padding: 0; max-width: none; }
  .card-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); } #card .card-nums > div:nth-child(5) { grid-column: span 2; } .card-chart { height: 72px; } .card-desc:empty { display: none; } .card-links { flex-wrap: wrap; } .card-links #card-ca { flex-basis: 100%; }
  .cc-head { flex-wrap: wrap; row-gap: 8px; } .cc-head b { font-size: 24px; order: 9; flex: 1 0 100%; } .cc-head .cc-post { margin-left: 6px !important; } .cc-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cc-th, .cc-coins li { grid-template-columns: 20px minmax(0, 1fr) 60px 62px 0 40px; gap: 6px; } .cc-th span:nth-child(5), .cc-coins .a { visibility: hidden; } .cc-coins { height: 160px; }
  .sheet { left: 0; right: 0; width: auto; transform: none; top: var(--top); bottom: var(--dock); padding: 20px 16px; border-left: 0; border-right: 0; }
  .sheet h2 { font-size: 30px; } .rec-head { grid-template-columns: 1fr; gap: 0; } .rec-big { margin-bottom: 8px; } .rb { min-width: 0; flex: 1; padding: 10px 12px; } .rb b { font-size: 21px; }
  .rec-row { grid-template-columns: 1fr; gap: 8px; } .rr-r { flex-direction: row; align-items: center; justify-content: space-between; } .hist-row { grid-template-columns: 90px minmax(0, 1fr) 50px; } .hist-row > :last-child { display: none; }
  .sheet-atlas { width: auto; } .obs-grid, .how-grid { grid-template-columns: 1fr; } .obs-gate { flex-wrap: wrap; } .how-grid svg { width: 72px; height: 45px; }
  .tip, .hint { display: none !important; }
  .dock { position: fixed; z-index: 11; left: 0; right: 0; bottom: 0; height: var(--dock); display: grid; grid-template-columns: repeat(5, 1fr); background: linear-gradient(180deg, rgba(6, 7, 12, 0.96), #04050a); border-top: 1px solid var(--line-2); padding-bottom: env(safe-area-inset-bottom); }
  .dock button { font: 500 9.5px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-top: 2px solid transparent; margin-top: -1px; }
  .dock button.is-on { color: var(--gold-2); border-top-color: var(--gold); }
  .clabel span { font-size: 11px; letter-spacing: .18em; } .clabel small { display: none; } .rl-z { font-size: 8px; } .rl-h, .rl-d { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
