/* Memescope, dark 3D ASCII (owner 2026-11-04: "go dark 3D ASCII vibes"). A text-mode world: one mono face for
   everything, panels framed like box-drawing art, block characters for every bar and sparkline, the scope drawn in
   characters, a slowly turning ASCII shape, coin pictures as ASCII portraits. One cyan does every job that needs
   attention; everything else is shades of grey on near black. No glow, no glass, no motion on hover. */

:root {
  --paper: #07090B;
  --sheet: #0D1013;
  --sunk: #13171B;
  --ink: #D6DDE3;
  --ink2: #98A3AD;
  --ink3: #5E6872;
  --rule: #1C2228;
  --rule2: #2C343C;
  --app: #45E8FF;
  --app-ink: #07090B;
  --app-wash: rgba(69, 232, 255, 0.08);
  --down: #FF5C7A;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --display: var(--mono);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 400 12.5px/1.5 var(--mono); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--app); color: var(--app-ink); }
:focus-visible { outline: 1px dashed var(--app); outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--rule2) transparent; }
img { display: block; }
pre { margin: 0; font: inherit; }

.shell { min-height: 100vh; display: flex; flex-direction: column; padding: 0 18px 32px; }

/* ---- the bar ---- */
.top { display: flex; align-items: center; gap: 14px; height: 52px; border-bottom: 1px dashed var(--rule2); flex: none; position: sticky; top: 0; z-index: 40; background: var(--paper); }
.brand { font-size: 11px; letter-spacing: .3em; color: var(--ink3); flex: none; }
.brand:hover { color: var(--ink); }
.slash { color: var(--rule2); flex: none; }
.appmark { font-weight: 800; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; color: var(--app); flex: none; }
.appmark::before { content: '[' ; color: var(--ink3); margin-right: 4px; font-weight: 400; }
.appmark::after { content: ']'; color: var(--ink3); margin-left: 4px; font-weight: 400; }
.nav { display: flex; gap: 2px; margin: 0 auto 0 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.nav a { font-size: 12px; text-transform: lowercase; color: var(--ink3); padding: 6px 9px; white-space: nowrap; }
.nav a::before { content: './'; color: var(--rule2); }
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--app); }
.nav a.on::before { content: '> '; color: var(--app); }
.find { min-width: 0; flex: 0 1 230px; }
.find input { width: 100%; height: 30px; padding: 0 10px; background: var(--sunk); border: 1px solid var(--rule2); font-size: 12px; }
.find input::placeholder { color: var(--ink3); }
.find input:focus { outline: none; border-color: var(--app); }
.pulse { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink3); white-space: nowrap; flex: none; }
.pulse i { font-style: normal; width: 8px; height: 8px; background: var(--app); flex: none; }
.pulse.late i { background: var(--down); }
.sw { position: relative; flex: none; }
.swb, .ghost { white-space: nowrap; border: 1px solid var(--rule2); background: none; font-size: 11.5px; padding: 6px 10px; color: var(--ink2); text-transform: lowercase; }
.swb:hover, .swb[aria-expanded="true"], .ghost:hover { color: var(--app); border-color: var(--app); }
.swm { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; z-index: 50; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.swh { margin: 4px 8px 6px; font-size: 10.5px; letter-spacing: .3em; color: var(--ink3); }
.swi { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 10px; border-left: 2px solid transparent; }
.swi b { font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.swi b::before { content: '■ '; color: var(--mark, var(--ink3)); }
.swi small { grid-column: 1; font-size: 11px; color: var(--ink3); }
.swi em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 10px; font-style: normal; color: var(--ink3); border: 1px dashed var(--rule2); padding: 2px 5px; }
a.swi:hover { background: var(--sunk); }
.swi.on { border-left-color: var(--app); background: var(--sunk); }
.swi.soon b { color: var(--ink3); }

/* ---- the kit: panels framed like box-drawing art ---- */
.panel { position: relative; background: var(--sheet); border: 1px solid var(--rule2); display: flex; flex-direction: column; min-width: 0; }
.panel::before { content: '+'; position: absolute; top: -9px; left: -4px; color: var(--ink3); font-size: 12px; line-height: 1; }
.panel::after { content: '+'; position: absolute; bottom: -8px; right: -4px; color: var(--ink3); font-size: 12px; line-height: 1; }
.ph { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-bottom: 1px dashed var(--rule2); flex-wrap: wrap; }
.ix { font-size: 11px; color: var(--app); }
.ix::before { content: '['; color: var(--ink3); } .ix::after { content: ']'; color: var(--ink3); }
.ph h2 { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; white-space: nowrap; }
.ph small { font-size: 11.5px; color: var(--ink3); }
.ph small::before { content: '// '; color: var(--rule2); }
.ph .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.page { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.lead { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lead h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; line-height: 1; }
.lead h1::before { content: '> '; color: var(--app); }
.lead p { margin: 0; max-width: 680px; font-size: 12px; line-height: 1.6; color: var(--ink3); }
.lead .back { font-size: 12px; color: var(--ink3); }
.lead .back::before { content: '< cd ../'; }
.lead .back:hover { color: var(--app); }
.empty { margin: 0; padding: 22px 14px; font-size: 12px; color: var(--ink3); }
.empty::before { content: '_ '; color: var(--app); }
.muted, .dim { color: var(--ink3); }
.mono { font-family: var(--mono); }
.note { margin: 0; padding: 10px 12px; font-size: 12px; line-height: 1.55; color: var(--ink2); border-bottom: 1px dashed var(--rule2); }
.note.warn { color: var(--app); background: var(--app-wash); }
.note.warn::before { content: '! '; }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ink3); cursor: pointer; white-space: nowrap; }
.check input { accent-color: var(--app); margin: 0; }

.st { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 1px 5px; color: var(--ink2); white-space: nowrap; }
.st::before { content: '['; color: var(--ink3); } .st::after { content: ']'; color: var(--ink3); }
.st.hot { color: var(--app-ink); background: var(--app); }
.st.hot::before, .st.hot::after { color: var(--app-ink); }
.st.forming, .st.rising, .st.new { color: var(--app); }
.st.candidate, .st.quiet, .st.dead, .st.fading { color: var(--ink3); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 1px 6px; border: 1px dashed var(--rule2); color: var(--ink2); white-space: nowrap; margin: 0 4px 4px 0; }
.chip b { font-weight: 600; color: var(--ink); }
.chip a:hover { color: var(--app); }
.chip.on { border-color: var(--app); color: var(--app); border-style: solid; }

.pic { position: relative; flex: none; width: 44px; height: 44px; background: var(--sunk); border: 1px solid var(--rule2); overflow: hidden; display: grid; place-items: center;
  font-size: 18px; font-weight: 800; color: var(--ink3); text-transform: uppercase; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.1); }
.pic.l { width: 64px; height: 64px; font-size: 24px; }
.pic.xl { width: 88px; height: 88px; font-size: 32px; }
.pic.s { width: 28px; height: 28px; font-size: 12px; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--rule2); background: var(--sheet); }
.kpis > div { padding: 12px 14px; border-right: 1px dashed var(--rule2); }
.kpis dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); }
.kpis dd { margin: 8px 0 0; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.kpis > div:first-child dd { color: var(--app); }
.kpis small { display: block; margin-top: 4px; font-size: 11px; color: var(--ink3); }

/* ---- Radar rows ---- */
.metas { display: flex; flex-direction: column; }
.mrow { display: grid; grid-template-columns: 4px 64px minmax(220px, 1.6fr) minmax(150px, 1fr) minmax(300px, 1.4fr) 130px 64px; gap: 14px; align-items: center;
  padding: 14px 14px 14px 0; border-bottom: 1px dashed var(--rule2); cursor: pointer; }
.mrow:last-child { border-bottom: 0; }
.mrow:hover { background: var(--sunk); }
.mrow .rail { align-self: stretch; background: var(--rule2); }
.mrow .rail.hot { background: var(--app); }
.mrow .rail.forming { background: repeating-linear-gradient(180deg, var(--app) 0 4px, transparent 4px 8px); }
.mrow .who { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mrow .who .t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mrow .who h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.mrow .who p { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mrow .who .with { font-size: 11px; color: var(--ink3); }
.mrow .anc { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mrow .anc span { font-size: 10.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .2em; }
.mrow .anc b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .anc em { font-style: normal; font-size: 12px; color: var(--app); }
.babies { display: flex; gap: 3px; margin-top: 4px; }
.babies .more { align-self: center; font-size: 11px; color: var(--ink3); margin-left: 4px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; }
.nums div { display: flex; flex-direction: column; gap: 4px; }
.nums dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); white-space: nowrap; }
.nums dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.nums dd small { font-size: 10.5px; color: var(--app); font-weight: 400; margin-left: 4px; }
.score { text-align: right; }
.score b { display: block; font-size: 26px; font-weight: 800; color: var(--app); }
.score small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); }
.spark { display: block; color: var(--ink2); letter-spacing: 0; line-height: 1; font-size: 15px; white-space: pre; }
.spark .on { color: var(--app); }
.spark-l { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin-top: 6px; }

/* ---- tables ---- */
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px dashed var(--rule); vertical-align: middle; }
th { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--ink3); white-space: nowrap; background: var(--sheet); position: sticky; top: 0; border-bottom-color: var(--rule2); }
td.n, th.n { text-align: right; white-space: nowrap; }
td.n { font-size: 12.5px; }
tbody tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--sunk); }
tr.faint td { opacity: .45; }
.tok { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tok .nm { font-weight: 700; font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.tok a.nm:hover { color: var(--app); }
.tok .sym { font-size: 11px; color: var(--ink3); }
.big { font-weight: 700; font-size: 13px; color: var(--ink); }
.lift { display: flex; align-items: center; gap: 8px; min-width: 170px; }
.lift .track { position: relative; flex: 1; height: 12px; color: var(--rule2); font-size: 12px; line-height: 12px; overflow: hidden; white-space: nowrap; }
.lift .track::before { content: '░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░'; position: absolute; inset: 0; }
.lift .now { position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden; color: var(--ink2); }
.lift .now::before { content: '▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓'; }
.lift .now.up { color: var(--app); }
.lift .usual { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--ink); }
.lift b { font-size: 12.5px; min-width: 46px; text-align: right; }
.lift b.up { color: var(--app); }

/* ---- a meta ---- */
.hero { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 16px; }
.hero h1 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: .06em; }
.hero .meta-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 11.5px; color: var(--ink3); }
.hero .peak { text-align: right; }
.hero .peak span { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink3); }
.hero .peak b { display: block; margin-top: 6px; font-size: 30px; font-weight: 800; color: var(--app); }
.ascii-pic { font-size: 4.6px; line-height: 4.6px; letter-spacing: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--rule2); padding: 3px; white-space: pre; user-select: none; }
.recipe { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.recipe .rule { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); max-width: 960px; }
.recipe .rule::before { content: '$ '; color: var(--app); }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.timeline { display: flex; padding: 16px; overflow-x: auto; }
.timeline .ev { flex: 1; min-width: 130px; padding-top: 10px; position: relative; border-top: 1px dashed var(--rule2); }
.timeline .ev::before { content: 'o'; position: absolute; top: -10px; left: 0; color: var(--ink3); background: var(--sheet); padding-right: 4px; }
.timeline .ev.hot::before { content: '@'; color: var(--app); }
.timeline .ev.forming::before { content: 'O'; color: var(--app); }
.timeline .ev small { display: block; margin-top: 6px; font-size: 11px; color: var(--ink3); }
.tree { padding: 6px 12px 10px; max-height: 640px; overflow-y: auto; }
.node { display: flex; align-items: center; gap: 10px; padding: 6px 0; flex-wrap: wrap; }
.node .elbow { width: 14px; height: 14px; color: var(--rule2); flex: none; margin-top: -8px; border-left: 1px dashed var(--rule2); border-bottom: 1px dashed var(--rule2); }
.node .off { font-size: 11px; color: var(--ink3); min-width: 44px; }
.node .cap { font-size: 12px; font-weight: 700; min-width: 62px; }
.node .why { display: flex; flex-wrap: wrap; flex-basis: 100%; padding-left: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; padding: 14px; }
.grid figure { margin: 0; }
.grid a { display: block; aspect-ratio: 1; background: var(--sunk); border: 1px solid var(--rule2); overflow: hidden; }
.grid a img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.1); }
.grid a:hover { border-color: var(--app); }
.grid a:hover img { filter: none; }
.grid figcaption { font-size: 10.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }

/* ---- Live chain and bubbles ---- */
.groups { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px dashed var(--rule2); }
.groups a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 9px; border: 1px dashed var(--rule2); font-size: 12px; color: var(--ink2); }
.groups a:hover { color: var(--ink); border-color: var(--ink2); }
.groups a.on { border: 1px solid var(--app); color: var(--ink); }
.chart { padding: 8px 6px 4px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .ax line { stroke: var(--rule2); }
.chart .ax line.g { stroke: var(--rule); stroke-dasharray: 2 5; }
.chart .ax text { font: 11px var(--mono); fill: var(--ink3); }
.chart .link { fill: none; stroke: var(--app); stroke-width: 1; opacity: .16; }
.chart .dot { fill: var(--sunk); stroke: var(--ink3); stroke-width: 1; }
.chart .dot.mig { fill: var(--ink2); stroke: var(--ink2); }
.chart .dot.anc { stroke: var(--app); stroke-width: 3; }
.chart .lab { font: 600 11px var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.chart .lab tspan { fill: var(--app); }
.chart g.click { cursor: pointer; }
.chart g.click:hover .dot { stroke: var(--app); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 8px 14px 12px; font-size: 11px; color: var(--ink3); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--ink3); }
.legend i.mig { background: var(--ink2); border-color: var(--ink2); }
.legend i.anc { border: 3px solid var(--app); }
.bub { fill: var(--sunk); stroke: var(--rule2); stroke-width: 1; }
.bub.hot { stroke: var(--app); stroke-width: 3; }
.bub.forming { stroke: var(--app); stroke-width: 1.5; stroke-dasharray: 4 4; }
.bub.saturated { stroke: var(--ink3); }
.bimg { pointer-events: none; opacity: .85; }
.bl, .bn { text-anchor: middle; dominant-baseline: middle; pointer-events: none; fill: var(--ink); font-family: var(--mono); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.bl { font-weight: 800; letter-spacing: .04em; }
.bn { font-size: 11px; fill: var(--app); stroke-width: 3px; }

/* ---- days, bars ---- */
.days { display: flex; gap: 4px; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px dashed var(--rule2); }
.days a { padding: 4px 8px; border: 1px dashed var(--rule2); font-size: 11.5px; color: var(--ink2); }
.days a b { color: var(--ink); margin-left: 4px; }
.days a:hover { border-color: var(--ink2); }
.days a.on { background: var(--app); border: 1px solid var(--app); color: var(--app-ink); }
.days a.on b { color: var(--app-ink); }
.hbar { height: 12px; color: var(--app); font-size: 12px; line-height: 12px; overflow: hidden; white-space: nowrap; }
.hbar::before { content: '████████████████████████████████████████████████████████████'; }
.yes { color: var(--app); font-weight: 700; }

/* ---- the scope, in characters ---- */
.scopewrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); }
.scope { position: relative; padding: 14px; border-right: 1px dashed var(--rule2); display: grid; place-items: center; overflow: hidden; }
.ascope { font-size: 11px; line-height: 11px; letter-spacing: 0; white-space: pre; color: var(--rule2); user-select: none; }
.ascope .r1 { color: #2A333B; } .ascope .r2 { color: #36414B; }
.ascope .sw { color: var(--app); opacity: .55; }
.ascope .swl { color: var(--app); }
.ascope .ct { color: var(--ink); font-weight: 700; cursor: pointer; }
.ascope .ct.hot { color: var(--app-ink); background: var(--app); }
.ascope .ct.forming { color: var(--app); }
.ascope .lb { color: var(--ink2); cursor: pointer; }
.ascope .lb:hover, .ascope .ct:hover { color: var(--app); }
.ascope .ct.hot:hover { color: var(--app-ink); }
.ascope .ax { color: var(--ink3); }
.board { display: flex; flex-direction: column; min-width: 0; }
.board .row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px dashed var(--rule2); cursor: pointer; }
.board .row:hover { background: var(--sunk); }
.board .row b { font-size: 13px; font-weight: 800; display: block; }
.board .row small { display: block; font-size: 11px; color: var(--ink3); margin-top: 4px; }
.board .row .num { font-size: 12px; font-weight: 700; color: var(--app); text-align: center; }
.board .row .num::before { content: '['; color: var(--ink3); } .board .row .num::after { content: ']'; color: var(--ink3); }
.board .row .bn2 { text-align: right; font-size: 22px; font-weight: 800; }
.board .row .bn2 small { font-size: 10px; }
.board .key { padding: 12px 14px; font-size: 11px; line-height: 1.7; color: var(--ink3); border-top: 1px dashed var(--rule2); margin-top: auto; }
.board .key b { color: var(--ink); font-weight: 600; }

/* ---- the turning shape in the header ---- */
.torus { font-size: 9.5px; line-height: 9px; letter-spacing: 0; white-space: pre; color: var(--app); user-select: none; flex: none; }

/* ---- sign in ---- */
.login { width: min(420px, calc(100vw - 32px)); margin: 14vh auto 0; }
.login .body { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.login h1 { margin: 0; display: flex; align-items: center; gap: 10px; }
.login p { margin: 0; font-size: 12px; color: var(--ink3); }
.login input { width: 100%; height: 40px; padding: 0 12px; background: var(--sunk); border: 1px solid var(--rule2); font-size: 14px; letter-spacing: .1em; }
.login input:focus { outline: none; border-color: var(--app); }
.btn { display: block; width: 100%; text-align: center; height: 40px; border: 1px solid var(--app); background: var(--app); color: var(--app-ink); font: 800 12.5px/38px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.btn.dark { background: none; color: var(--app); }
.btn:hover { background: none; color: var(--app); }
.err { color: var(--down); font-size: 12px; }

@media (max-width: 1600px) { .pulse span { display: none; } }
@media (max-width: 1280px) {
  .mrow { grid-template-columns: 4px 56px minmax(200px, 1.4fr) minmax(130px, 1fr) minmax(260px, 1.4fr) 64px; }
  .mrow .sparkc { display: none; }
}
@media (max-width: 1000px) {
  .mrow { grid-template-columns: 4px 56px 1fr 64px; row-gap: 10px; }
  .mrow .anc, .mrow .numc { grid-column: 3 / 5; }
  .two, .scopewrap { grid-template-columns: 1fr; }
  .scope { border-right: 0; border-bottom: 1px dashed var(--rule2); }
  .torus { display: none; }
}
@media (max-width: 760px) {
  .top { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .nav { order: 3; width: 100%; margin: 0; }
  .brand, .slash, .pulse { display: none; }
  .find { order: 4; flex-basis: 100%; }
  .sw { margin-left: auto; }
  .mrow { grid-template-columns: 4px 48px 1fr; padding-right: 10px; }
  .mrow .pic.l { width: 48px; height: 48px; }
  .mrow .anc, .mrow .numc, .mrow .score { grid-column: 2 / 4; }
  .mrow .score { text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: auto 1fr; } .hero .peak { grid-column: 1 / 3; text-align: left; }
  .hide-s { display: none; }
  .lead h1 { font-size: 24px; }
  .ascope { font-size: 7px; line-height: 7px; }
}

/* ---- compact (owner 2026-11-04: "optimise the UI, it's AI sloppy and huge"): smaller type, one line of numbers,
   explanations in tooltips, the Radar on one screen ---- */
body { font-size: 12px; }
.page { gap: 12px; margin-top: 12px; }
.lead { gap: 12px; }
.lead h1 { font-size: 15px; letter-spacing: .2em; }
.lead p { display: none; }
.ph { min-height: 32px; padding: 5px 10px; gap: 8px; }
.ph h2 { font-size: 11.5px; letter-spacing: .16em; text-transform: lowercase; }
.ph h2::before { content: '# '; color: var(--app); }
.ph small { font-size: 11px; cursor: help; }
.ph .ct { margin-left: 4px; color: var(--ink3); font-size: 11px; }
.ix { display: none; }
.statline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 0; padding: 8px 12px; border: 1px dashed var(--rule2); background: var(--sheet); font-size: 12px; }
.statline span { white-space: nowrap; cursor: default; }
.statline em { font-style: normal; color: var(--ink3); }
.statline b { color: var(--ink); font-weight: 700; }
.statline b.a { color: var(--app); }
.statline i { font-style: normal; color: var(--ink3); }
.statline .end { margin-left: auto; }
.radar { display: grid; grid-template-columns: minmax(380px, 520px) minmax(0, 1fr); gap: 12px; align-items: start; }
.scopep .scope { padding: 8px; border: 0; }
.ascope { font-size: 8.6px; line-height: 8.6px; }
table.tight th { padding: 6px 8px; font-size: 10px; letter-spacing: .12em; }
table.tight td { padding: 5px 8px; font-size: 12px; }
table.tight .tok { gap: 7px; }
table.tight .tok .nm { font-size: 12px; max-width: 220px; }
table.tight .pic.s { width: 22px; height: 22px; font-size: 10px; }
table.tight .st { font-size: 10px; padding: 0 3px; letter-spacing: .04em; }
table.tight .spark { font-size: 11px; }
td .a, .a { color: var(--app); }
td .mu, td.mu, .mu { color: var(--ink3); }
.kpis dd { font-size: 18px; margin-top: 4px; }
.kpis > div { padding: 8px 12px; }
.kpis dt { font-size: 9.5px; }
.kpis small { font-size: 10.5px; margin-top: 2px; }
.hero { padding: 10px 12px; gap: 14px; }
.hero h1 { font-size: 18px; margin-bottom: 4px; }
.hero .peak b { font-size: 20px; margin-top: 4px; }
.ascii-pic { font-size: 3.4px; line-height: 3.4px; }
.recipe { padding: 10px 12px; gap: 8px; }
.recipe .rule { font-size: 13px; }
.timeline { padding: 12px; }
.tree { max-height: 520px; }
.node { padding: 4px 0; }
.grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; padding: 10px; }
th, td { padding: 6px 10px; }
.groups { padding: 6px 10px; }
.days { padding: 6px 10px; }
.top { height: 46px; }
.appmark { font-size: 13px; }
.torus.mini { font-size: 2.6px; line-height: 2.6px; margin: 0 -4px 0 0; }
@media (max-width: 1100px) { .radar { grid-template-columns: 1fr; } }

/* ---- the drawn radar (owner 2026-11-04: "for the live radar I don't like it in ASCII") ---- */
.svgscope { width: 100%; height: auto; display: block; max-height: 64vh; margin: 0 auto; }
.svgscope .face { fill: #090C0F; }
.svgscope .ring { fill: none; stroke: var(--app); stroke-opacity: .16; }
.svgscope .ring.outer { stroke-opacity: .5; stroke-width: 1.5; }
.svgscope .spoke { stroke: var(--app); stroke-opacity: .07; }
.svgscope .tick { stroke: var(--app); stroke-opacity: .35; }
.svgscope .rl { font: 10px var(--mono); fill: var(--ink3); }
.svgscope .sweep { transform-box: view-box; transform-origin: 300px 300px; animation: sweep 7s linear infinite; }
.svgscope .sweep path { fill: var(--app); fill-opacity: .07; }
.svgscope .sweep line { stroke: var(--app); stroke-width: 1.4; stroke-opacity: .8; }
@keyframes sweep { to { transform: rotate(360deg); } }
.svgscope .ct { cursor: pointer; outline: none; }
.svgscope .ct .blip { fill: var(--sunk); stroke: var(--ink3); stroke-width: 1.5; }
.svgscope .ct.hot .blip { stroke: var(--app); stroke-width: 3; }
.svgscope .ct.forming .blip { stroke: var(--app); stroke-width: 2; stroke-dasharray: 4 3; }
.svgscope .ct .leader { stroke: var(--ink3); stroke-opacity: .6; }
.svgscope .ct .lab { font: 700 12px var(--mono); fill: var(--ink); paint-order: stroke; stroke: #090C0F; stroke-width: 4px; }
.svgscope .ct .lab tspan.n { font-weight: 400; fill: var(--app); }
.svgscope .ct:hover .blip, .svgscope .ct:focus-visible .blip { stroke: var(--app); stroke-width: 3; }
.svgscope .letter { font: 800 14px var(--mono); fill: var(--ink3); text-anchor: middle; dominant-baseline: central; }
