/* The digest's page (web/digest/digest.js renders it). Light and dark by the
   reader's setting; the tables scroll inside their box, their header and
   first column fixed. */
:root {
  color-scheme: light;
  --page: #f7f7f4; --surface: #ffffff; --surface-2: #f1f1ec;
  --ink: #111110; --ink-2: #4c4b47; --muted: #85837c;
  --grid: #e5e4dd; --axis: #c8c7bd; --ring: rgba(17,17,16,0.09);
  --accent: #2a63c4;
  --up: #157a2c; --dn: #c4372f;
  --ok-ink: #12662a; --ok-bg: rgba(21,122,44,0.07); --ok-line: rgba(21,122,44,0.28);
  --warn-ink: #7a5a00; --warn-bg: rgba(196,150,0,0.09); --warn-line: rgba(196,150,0,0.38);
  --old-ink: #b3261e; --old-bg: rgba(196,55,47,0.08); --old-line: rgba(196,55,47,0.36);
  --partial: rgba(42,99,196,0.06);
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #7d8590;
  --wm: rgba(17,17,16,0.10); --wm-site: rgba(42,99,196,0.30);
  --maint-ink: #1f4f9c; --maint-bg: rgba(42,99,196,0.07); --maint-line: rgba(42,99,196,0.30);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #121212; --surface: #1b1b1a; --surface-2: #232321;
    --ink: #ecebe6; --ink-2: #b9b7af; --muted: #8b8980;
    --grid: #2c2c29; --axis: #44433e; --ring: rgba(236,235,230,0.10);
    --accent: #7aa7f0;
    --up: #5cc97a; --dn: #f07a70;
    --ok-ink: #7fd497; --ok-bg: rgba(92,201,122,0.08); --ok-line: rgba(92,201,122,0.30);
    --warn-ink: #e8c45c; --warn-bg: rgba(232,196,92,0.08); --warn-line: rgba(232,196,92,0.32);
    --old-ink: #f39189; --old-bg: rgba(240,122,112,0.09); --old-line: rgba(240,122,112,0.36);
    --partial: rgba(122,167,240,0.07);
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #8b949e;
    --wm: rgba(236,235,230,0.09); --wm-site: rgba(122,167,240,0.30);
    --maint-ink: #9cc0f5; --maint-bg: rgba(122,167,240,0.08); --maint-line: rgba(122,167,240,0.32);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121212; --surface: #1b1b1a; --surface-2: #232321;
  --ink: #ecebe6; --ink-2: #b9b7af; --muted: #8b8980;
  --grid: #2c2c29; --axis: #44433e; --ring: rgba(236,235,230,0.10);
  --accent: #7aa7f0;
  --up: #5cc97a; --dn: #f07a70;
  --ok-ink: #7fd497; --ok-bg: rgba(92,201,122,0.08); --ok-line: rgba(92,201,122,0.30);
  --warn-ink: #e8c45c; --warn-bg: rgba(232,196,92,0.08); --warn-line: rgba(232,196,92,0.32);
  --old-ink: #f39189; --old-bg: rgba(240,122,112,0.09); --old-line: rgba(240,122,112,0.36);
  --partial: rgba(122,167,240,0.07);
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #8b949e;
  --wm: rgba(236,235,230,0.09); --wm-site: rgba(122,167,240,0.30);
  --maint-ink: #9cc0f5; --maint-bg: rgba(122,167,240,0.08); --maint-line: rgba(122,167,240,0.32);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.page { max-width: 1240px; margin: 0 auto; padding: 28px 16px 56px; }
header h1 { margin: 0; font-size: 28px; letter-spacing: -0.01em; display: flex;
  align-items: center; gap: 10px; flex-wrap: wrap; }
header .sub { color: var(--ink-2); margin: 4px 0 0; }
header .meta { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.pill { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 2px 9px;
  border-radius: 999px; border: 1px solid var(--ring); color: var(--ink-2);
  background: var(--surface-2); }
.pill.usable { color: var(--ok-ink); background: var(--ok-bg); border-color: var(--ok-line); }
.pill.provisional { color: var(--warn-ink); background: var(--warn-bg); border-color: var(--warn-line); }
.pill.inconsistent { color: var(--old-ink); background: var(--old-bg); border-color: var(--old-line); }
.banner { font-size: 14.5px; padding: 10px 14px; border-radius: 10px; margin: 14px 0 0;
  border: 1px solid var(--ring); }
.banner.ok { color: var(--ok-ink); background: var(--ok-bg); border-color: var(--ok-line); }
.banner.warn { color: var(--warn-ink); background: var(--warn-bg); border-color: var(--warn-line); }
.banner.old { color: var(--old-ink); background: var(--old-bg); border-color: var(--old-line);
  font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px; margin: 18px 0 6px; }
.tile { background: var(--surface); border: 1px solid var(--ring);
  border-radius: 10px; padding: 12px 14px; }
.tile.lead { border-color: var(--accent); }
.tile .k { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.tile .v { font-size: 22px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile .s { color: var(--muted); font-size: 12px; margin-top: 3px; }
/* The highlights (the header session, 2026-11-05): six fixed tiles, then
   four tabs on chips, one panel shown; the zeros on one quiet line. */
#tiles .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
#tiles .chip { font: inherit; font-size: 13px; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--ring); background: var(--surface-2); color: var(--ink-2); cursor: pointer; }
#tiles .chip[aria-pressed="true"] { background: var(--surface); color: var(--ink);
  border-color: var(--accent); font-weight: 600; }
#tiles .tpanel { display: none; margin-top: 10px; }
#tiles[data-show="highlights"] .tpanel[data-tab="highlights"],
#tiles[data-show="holders"] .tpanel[data-tab="holders"],
#tiles[data-show="flows"] .tpanel[data-tab="flows"],
#tiles[data-show="pnl"] .tpanel[data-tab="pnl"],
#tiles[data-show="supply"] .tpanel[data-tab="supply"] { display: grid; }
#tiles .zeros { color: var(--muted); font-size: 12.5px; margin: 8px 0 0;
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tile .s a, .tip-body a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* a bridge over the gap, so a mouse can reach a link inside the note */
.tip-body::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
h2 { font-size: 18px; margin: 30px 0 10px; }
h3 { font-size: 15.5px; margin: 22px 0 8px; }
.h-sub { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.up { color: var(--up); font-size: 10px; }
.dn { color: var(--dn); font-size: 10px; }
/* a change or a signed amount in colour (docs/web-design.md, 2026-11-04) */
.chg.pos, .sgn.pos { color: var(--up); }
.chg.neg, .sgn.neg { color: var(--dn); }
td .chg { font-size: 11.5px; }
.chg .g { font-size: 9px; }
/* the clock: UTC, or how long ago */
.rel { display: none; }
html.reltime .rel { display: inline; }
html.reltime .abs { display: none; }
button.clock { display: inline-flex; align-items: center; justify-content: center; width: 20px;
  height: 20px; padding: 0; margin-left: 4px; vertical-align: middle; border-radius: 50%;
  border: 1px solid var(--axis); background: transparent; color: var(--muted); cursor: pointer; }
button.clock:hover, button.clock:focus-visible { color: var(--accent); border-color: var(--accent); outline: none; }
button.clock[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.note { color: var(--muted); font-size: 12.5px; }
.scroll { overflow: auto; max-height: 78vh; border: 1px solid var(--ring);
  border-radius: 10px; background: var(--surface); }
.scroll.tall { max-height: 85vh; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px;
  font-variant-numeric: tabular-nums; }
thead th { position: sticky; z-index: 2; background: var(--surface); }
thead tr:first-child th { top: 0; }
th { text-align: right; color: var(--ink-2); font-weight: 600; padding: 6px 10px;
  border-bottom: 1px solid var(--axis); white-space: nowrap; }
td { text-align: right; padding: 5px 10px; border-bottom: 1px solid var(--grid);
  white-space: nowrap; vertical-align: top; }
th:first-child, td:first-child { text-align: left; position: sticky; left: 0;
  background: var(--surface); z-index: 1; border-right: 1px solid var(--grid); }
thead th:first-child { z-index: 3; }
tbody tr:hover td { background: var(--surface-2); }
tbody tr:hover td:first-child { background: var(--surface-2); }
/* a cell's detail: a tap or a click opens it in one box kept inside the
   screen (the corrections, 2026-11-05) */
.hv { cursor: pointer; }
.hvpop { position: fixed; z-index: 30; max-width: min(300px, calc(100vw - 16px)); padding: 7px 10px;
  border-radius: 8px; background: var(--ink); color: var(--page); font-size: 12.5px; line-height: 1.45;
  white-space: pre-line; text-align: left; box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
.hvpop[hidden] { display: none; }
/* a figure over several windows in one tile, a line each */
.tile.spans .v { font-size: 15px; line-height: 1.45; }
.span-row { display: block; white-space: nowrap; }
.span-k { display: inline-block; min-width: 2.6em; color: var(--muted); font-size: 12px; }
td.tag { color: var(--muted); font-style: italic; text-align: left; }
/* a reading's state in its when cell (birth, open), 2026-11-04 */
span.tag { color: var(--muted); font-style: italic; font-size: 0.85em; }
td .d { color: var(--muted); font-size: 11.5px; }
details { margin: 10px 0 0; }
details > summary { cursor: pointer; color: var(--accent); font-size: 13.5px; font-weight: 600;
  padding: 4px 0; }
details.method { margin-top: 32px; border-top: 1px solid var(--grid); padding-top: 10px; }
details.method > summary { font-size: 16px; color: var(--ink); }
footer { color: var(--ink-2); font-size: 12.5px; }
footer p { margin: 6px 0; }
.age.ok { color: var(--ok-ink); } .age.warn { color: var(--warn-ink); } .age.old { color: var(--old-ink); font-weight: 600; }
table.index td:first-child a { font-weight: 600; }

/* The header and the recap (DEC-295; the rules in docs/web-design.md) */
header.head { display: flex; align-items: center; gap: 14px; }
.logo { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; background: var(--surface-2); border: 1px solid var(--ring);
  display: inline-flex; align-items: center; justify-content: center; }
.logo .ini { font-weight: 700; color: var(--ink-2); font-size: 20px; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.logo.sm { width: 24px; height: 24px; }
.logo.sm .ini { font-size: 12px; }
header .name { color: var(--ink-2); font-weight: 500; font-size: 0.72em; }
.chain { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 1px 9px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--ring); color: var(--ink-2); }
.updated::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 6px; vertical-align: 1px; background: var(--muted); }
.updated.ok::before { background: var(--up); }
.updated.warn::before { background: var(--warn-ink); }
.updated.old { color: var(--old-ink); }
.updated.old::before { background: var(--dn); }
.stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 4px; padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--ring); border-radius: 10px; }
.stat .k, .tile .k { color: var(--ink-2); font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; gap: 4px; }
.stat .v { font-size: 19px; font-variant-numeric: tabular-nums; }
.stat .s { color: var(--muted); font-size: 12px; }
.stat .v .up, .stat .v .dn, .tile .v .up, .tile .v .dn { font-size: 0.72em; }
.tile .v .up, .tile .v .dn { font-size: inherit; }
.tile .v .d { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tipwrap { position: relative; display: inline-flex; }
.tip { width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 1px solid var(--axis);
  background: transparent; color: var(--muted); font: italic 600 10.5px/14px Georgia, serif;
  cursor: help; }
.tip:hover, .tip:focus-visible { color: var(--accent); border-color: var(--accent); outline: none; }
.tip-body { display: none; position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%);
  z-index: 20; width: max-content; max-width: 240px; padding: 7px 10px; border-radius: 8px;
  background: var(--ink); color: var(--page); font-size: 12.5px; font-weight: 400; line-height: 1.4;
  text-align: left; white-space: normal; box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
/* a mouse: hover alone; a tap: .open (digest.js); the keyboard: focus-visible */
.tipwrap:hover .tip-body, .tipwrap.open .tip-body, .tip:focus-visible + .tip-body { display: block; }
th .tipwrap { margin-left: 4px; vertical-align: middle; }
table.index td.tok a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
table.index td.tok .sym { font-weight: 700; color: var(--ink); }
table.index td.tok .name { color: var(--muted); font-size: 12px; }
table.index { font-size: 13.5px; }
table.index .up, table.index .dn { font-size: inherit; }
table.index .g { font-size: 9px; }
.scroll:has(table.index) { overflow-x: auto; max-height: none; }
.page:has(table.index) { max-width: 1600px; }
details.internal { margin-top: 40px; border-top: 2px dashed var(--axis); padding-top: 10px; }
details.internal > summary { font-size: 16px; color: var(--ink); }
.internal-list { color: var(--ink-2); font-size: 13px; padding-left: 18px; }
.page.wide { max-width: none; }
table.internal-table th, table.internal-table td { text-align: left; }
table.internal-table td { white-space: normal; min-width: 70px; }
table.internal-table td:nth-child(3) { min-width: 280px; }
@media (max-width: 640px) {
  .page { padding: 18px 16px 40px; }
  header h1 { font-size: 23px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile .v { font-size: 18px; }
  .stats { gap: 8px 18px; }
  .stat { min-width: 40%; }
  .logo { width: 40px; height: 40px; }
  .tip-body { max-width: 200px; }
}
/* The cohort card (DEC-301): one bar per cohort from a centre line, right
   bought and left sold, three windows on chips. */
#cohorts .chips { display: flex; gap: 6px; margin: 0 0 10px; }
#cohorts .chip { font: inherit; font-size: 13px; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--ring); background: var(--surface-2); color: var(--ink-2); cursor: pointer; }
#cohorts .chip[aria-pressed="true"] { background: var(--surface); color: var(--ink);
  border-color: var(--accent); font-weight: 600; }
#cohorts .cpanel { display: none; background: var(--surface); border: 1px solid var(--ring);
  border-radius: 10px; padding: 12px 14px; max-width: 760px; }
#cohorts[data-show="24h"] .cpanel[data-span="24h"],
#cohorts[data-show="7d"] .cpanel[data-span="7d"],
#cohorts[data-show="30d"] .cpanel[data-span="30d"] { display: block; }
#cohorts .cprice { color: var(--ink-2); font-size: 14px; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
#cohorts .cprice .sgn { font-size: 17px; font-weight: 600; margin-left: 4px; }
#cohorts .cpanel .d { color: var(--muted); font-size: 12px; }
.cbars { display: grid; gap: 8px; }
.crow { display: grid; grid-template-columns: 74px minmax(90px, 1fr) minmax(130px, auto) 54px;
  align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.crow.total { border-top: 1px solid var(--grid); padding-top: 8px; font-weight: 600; }
.crow.trips { grid-template-columns: auto 1fr; }
.crow.trips .cname { white-space: nowrap; }
.crow.trips .ctext { color: var(--ink-2); font-size: 13px; }
.crow.trips .tipwrap { margin-left: 4px; }
.crow .cname { color: var(--ink-2); }
.crow .cval { text-align: right; white-space: nowrap; }
.crow .cw { color: var(--muted); font-size: 12px; white-space: nowrap; text-align: right; }
.crow .cw .tipwrap { margin-left: 3px; }
.cbar { display: grid; grid-template-columns: 1fr 1fr; height: 10px; }
.cbar .half { display: flex; align-items: center; height: 10px; }
.cbar .half.l { justify-content: flex-end; border-right: 1px solid var(--axis); }
.cbar i { display: block; height: 8px; border-radius: 4px; }
.cbar i.pos { background: var(--up); }
.cbar i.neg { background: var(--dn); }
@media (max-width: 520px) {
  .crow { grid-template-columns: 62px minmax(36px, 1fr) auto 50px; gap: 6px; font-size: 13px; }
  #cohorts .cpanel { padding: 10px 10px; }
  .crow.trips { grid-template-columns: auto 1fr; }
}

/* The price chart (2026-11-05): the candle and the indicators two menus at
   the top, the legend the candle under the cursor and the indicators'
   values, two arrows to the first and the last candle. The series colours
   are the four validated slots (--s1..--s4), each named in the legend, and a
   neutral fifth (--s5, Q1) for the figure that is every owner or nobody. */
#chart .chart-bar { position: relative; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
#chart select.chart-frame, #chart .chart-menu > summary, #chart .chart-unit button {
  font: inherit; font-size: 13px; height: 30px; line-height: 28px; padding: 0 10px; margin: 0;
  box-sizing: border-box; border-radius: 6px; border: 1px solid var(--axis); background: var(--surface);
  color: var(--ink); cursor: pointer; vertical-align: middle; }
#chart .chart-menu { display: flex; margin: 0; padding: 0; }
#chart .chart-menu > summary { display: flex; align-items: center; }
#chart .chart-unit { display: inline-flex; }
#chart .chart-unit button { color: var(--muted); }
#chart .chart-unit button:first-child { border-radius: 6px 0 0 6px; }
#chart .chart-unit button:last-child { border-radius: 0 6px 6px 0; border-left: 0; }
#chart .chart-unit button[aria-pressed="true"] { color: var(--ink); background: var(--surface-2); font-weight: 600; }
#chart .chart-menu { position: static; }
#chart .chart-menu > summary { list-style: none; }
#chart .chart-menu > summary::-webkit-details-marker { display: none; }
#chart .chart-menu > summary::after { content: " ▾"; color: var(--muted); }
#chart .ci-list { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0;
  display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 6px 18px;
  padding: 10px 14px; background: var(--surface); border-radius: 8px;
  box-shadow: 0 0 0 1px var(--ring), 0 6px 20px rgba(0,0,0,0.12); max-width: calc(100vw - 32px); }
#chart .ci-head { font-size: 12px; color: var(--muted); margin: 0 0 2px; }
#chart .ci-group label { display: block; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap; }
@media (max-width: 600px) { #chart .ci-list { grid-template-columns: 1fr 1fr; } }
#chart .chart-legend { font-size: 12.5px; color: var(--ink-2); min-height: 1.6em;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#chart .chart-legend .cl-t { color: var(--muted); }
/* a pinned candle's cards (C-3a): each swarm and farm minute it holds */
#chart .chart-card { font-size: 12px; line-height: 1.45; color: var(--ink-2); margin: 4px 0 6px;
  display: grid; gap: 6px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#chart .chart-card[hidden] { display: none; }
#chart .chart-card .sc { padding: 6px 9px; border-radius: 6px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--ring); }
#chart .chart-legend .sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  margin: 0 3px 0 0; vertical-align: 0; }
#chart .chart-wrap { position: relative; }
#chart .chart-pop { position: absolute; z-index: 6; top: 6px; left: 6px; max-width: calc(100% - 80px);
  padding: 6px 9px; font-size: 12px; line-height: 1.45; color: var(--ink-2); background: var(--surface);
  border-radius: 6px; box-shadow: 0 0 0 1px var(--ring), 0 4px 14px rgba(0,0,0,0.14);
  font-variant-numeric: tabular-nums; pointer-events: none; }
#chart .chart-pop[hidden] { display: none; }
/* each pane's tag (DEC-317): its name, its views, its lines, over the pane's top left */
#chart .chart-tags { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
#chart .chart-tag { position: absolute; left: 6px; display: flex; flex-direction: column; gap: 2px;
  max-width: calc(100% - 90px); }
#chart .ct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; pointer-events: auto;
  font-size: 11.5px; color: var(--ink-2); background: var(--surface); border-radius: 4px; padding: 1px 4px; opacity: 0.92; }
#chart .ct-name { margin-right: 3px; }
#chart .ct-modes { display: inline-flex; margin-right: 3px; }
#chart .ct-row button { font: inherit; font-size: 11px; line-height: 1.4; padding: 0 5px; cursor: pointer;
  color: var(--muted); background: transparent; border: 1px solid var(--grid); }
#chart .ct-modes button + button { border-left: 0; }
#chart .ct-modes button:first-child { border-radius: 3px 0 0 3px; }
#chart .ct-modes button:last-child { border-radius: 0 3px 3px 0; }
#chart .ct-row button[aria-pressed="true"] { color: var(--ink); border-color: var(--axis); }
#chart .ct-line { border-radius: 3px; }
#chart .ct-line .sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 3px; }
/* a line turned off (DEC-330): its swatch hollow, its name and value grey, still read */
#chart .ct-line[aria-pressed="false"] { color: var(--muted); }
#chart .ct-line[aria-pressed="false"] .sw { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--muted); }
#chart .ct-line[aria-pressed="false"] .ct-v { color: var(--muted); font-weight: 500; }
#chart .chart-box { width: 100%; height: 400px; background: var(--surface);
  border-radius: 8px; box-shadow: 0 0 0 1px var(--ring); overflow: hidden; }
#chart .chart-nav { position: absolute; right: 64px; bottom: 34px; display: flex; gap: 4px; z-index: 5; }
#chart .chart-nav button { font: inherit; font-size: 14px; line-height: 1; width: 26px; height: 26px;
  border-radius: 6px; border: 1px solid var(--axis); background: var(--surface-2); color: var(--ink-2);
  cursor: pointer; opacity: 0.85; }
#chart .chart-nav button:hover { opacity: 1; color: var(--ink); }

/* Q2b (the maintainer, 2026-11-12): the values in each pane's tag, the
   live price past our data, the site's state, a newer page's note, the
   chart's two actions. */
#chart .ct-v { margin-left: 4px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
#chart .ct-v:empty { display: none; }
#chart .ct-note { color: var(--ink-2); margin-left: 3px; }
#chart .chart-legend .cl-live { color: var(--accent); font-weight: 600; }
#chart .chart-acts { display: inline-flex; gap: 6px; margin-left: auto; }
#chart .chart-acts button { font: inherit; font-size: 13px; height: 30px; padding: 0 10px; border-radius: 6px;
  border: 1px solid var(--axis); background: var(--surface); color: var(--ink-2); cursor: pointer; }
#chart .chart-acts button:hover, #chart .chart-acts button:focus-visible { color: var(--ink); border-color: var(--accent); }
#chart .chart-edge { position: absolute; top: 0; width: 0; border-left: 1px dashed var(--muted);
  pointer-events: none; z-index: 3; }
#chart .chart-edge[hidden] { display: none; }
/* the pinned candle (DEC-330): a dashed line through every pane */
#chart .chart-pin { position: absolute; top: 0; width: 0; border-left: 1px dashed var(--accent);
  pointer-events: none; z-index: 3; }
#chart .chart-pin[hidden] { display: none; }
#chart .chart-legend .cl-pin { font: inherit; font-size: 11.5px; line-height: 1.4; padding: 0 6px; cursor: pointer;
  color: var(--accent); background: transparent; border: 1px solid var(--accent); border-radius: 999px; }
/* an owner on the candles (block D's D5): a chip each, its name, × */
#chart .chart-legend .cl-own { max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
#chart .chart-edge span { position: absolute; top: 4px; right: 5px; white-space: nowrap; font-size: 11px;
  color: var(--muted); background: var(--surface); padding: 0 4px; border-radius: 3px; opacity: 0.9; }
.live-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; font-size: 10.5px;
  font-weight: 600; letter-spacing: 0.03em; vertical-align: 2px; color: var(--accent);
  border: 1px solid var(--accent); cursor: help; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  vertical-align: 2px; animation: livepulse 2.4s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.banner.maint { color: var(--maint-ink); background: var(--maint-bg); border-color: var(--maint-line); margin: 0 0 16px; }
.updated.maint { color: var(--maint-ink); }
.updated.maint::before { background: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); opacity: 0; z-index: 50;
  padding: 8px 14px; border-radius: 8px; font-size: 13.5px; color: var(--surface); background: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18); transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* The index as the site's front (Q2b, item 7): the name and what it does,
   the demo's words, the tokens as cards on a phone and a table past it. */
header.brand { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
header.brand .brand-mark { color: var(--accent); flex: none; }
header.brand .brand-name { font-size: 30px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.1; }
header.brand .brand-line { margin: 2px 0 0; color: var(--ink-2); font-size: 16px; }
section.demo { background: var(--surface); border: 1px solid var(--ring); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 12px 16px; max-width: 860px; margin: 0 0 22px; }
section.demo p { margin: 0; color: var(--ink-2); }
section.demo p + p { margin-top: 6px; }
section.demo b { color: var(--ink); }
section.demo a { font-weight: 600; }
.tokens-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; }
.tokens-head h2 { margin: 0; }
.tokens-head .sub { margin: 0; color: var(--muted); font-size: 13px; }
table.index { background: var(--surface); border-radius: 10px; box-shadow: 0 0 0 1px var(--ring); }
table.index tbody tr { transition: background .12s; }
table.index tbody tr:hover { background: var(--surface-2); }
table.index td.tok .logo { width: 26px; height: 26px; }
table.index td.c-price { font-weight: 600; }
td.spark { padding-top: 2px; padding-bottom: 2px; }
svg.spk { display: block; overflow: visible; }
svg.spk polyline { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
svg.spk.pos polyline { stroke: var(--up); }
svg.spk.neg polyline { stroke: var(--dn); }
.tcards { display: none; }
.tcard { display: block; text-decoration: none; color: inherit; background: var(--surface); border-radius: 12px;
  box-shadow: 0 0 0 1px var(--ring); padding: 12px 14px; }
.tcard + .tcard { margin-top: 10px; }
.tcard .tc-head { display: flex; align-items: center; gap: 8px; }
.tcard .tc-head .sym { font-weight: 700; font-size: 16px; }
.tcard .tc-head .name { color: var(--muted); font-size: 12px; }
.tcard .tc-spark { margin-left: auto; }
.tcard .tc-price { margin: 6px 0 8px; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.tcard .tc-price .c-chg { font-size: 14px; font-weight: 500; }
.tcard .tc-price .up, .tcard .tc-price .dn { font-size: 14px; }
.tcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 0; }
.tcard dt { color: var(--muted); font-size: 12px; }
.tcard dd { margin: 0; font-variant-numeric: tabular-nums; font-size: 14px; }
.tcard dd .up, .tcard dd .dn { font-size: inherit; }
.tcard .tc-foot { margin-top: 8px; font-size: 12px; }
footer.foot { margin: 28px 0 0; color: var(--muted); font-size: 12.5px; max-width: 860px; }
footer.foot a { color: inherit; }
/* the way back to the index on a token's page, and the contact (DEC-330) */
nav.crumb { margin: 0 0 14px; font-size: 13.5px; }
nav.crumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
nav.crumb a:hover, nav.crumb a:focus-visible { color: var(--accent); }
nav.crumb .brand-mark { color: var(--accent); }
nav.crumb b { color: var(--ink); font-weight: 700; }
section.contact { margin: 28px 0 0; padding: 12px 16px; background: var(--surface); border: 1px solid var(--ring);
  border-left: 3px solid var(--accent); border-radius: 8px; color: var(--ink-2); max-width: 860px; }
section.contact p { margin: 0; }
section.contact b { color: var(--ink); }
section.contact a { font-weight: 600; }
section.demo p.builders { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ring); }
@media (max-width: 720px) {
  .tcards { display: block; }
  section.tokens .scroll { display: none; }
  header.brand .brand-name { font-size: 25px; }
  header.brand .brand-line { font-size: 14.5px; }
  #chart .chart-acts { margin-left: 0; }
}

/* the owners table (Q4b, DEC-328; DEC-357, after GMGN and DexScreener): a
   header sorts on a tap (two halves each sort), a figure with its second
   line small and grey, green bought and red sold, a wallets count opens the
   owner's wallets as rows beneath, a name its card */
/* the alias map's button above the table and its box (DEC-361) */
#owners .own-map { margin: 6px 0 10px; }
#owners .own-map[hidden], #aliasmap-box[hidden] { display: none; }
#owners .chip { font: inherit; font-size: 13px; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--ring); background: var(--surface-2); color: var(--ink-2); cursor: pointer; }
#owners .chip[aria-expanded="true"] { background: var(--surface); color: var(--ink); border-color: var(--accent); }
/* the nets' window (block D's D7): one selector above the table */
#owners .own-win { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; color: var(--muted); font-size: 13px; }
#owners .own-win .chip { padding: 2px 10px; }
#owners .chip[aria-pressed="true"] { background: var(--surface); color: var(--ink); border-color: var(--accent); font-weight: 600; }
#aliasmap-box { margin-top: 8px; }
#owners select { font: inherit; background: var(--surface); color: inherit;
  border: 1px solid var(--ring); border-radius: 4px; padding: 1px 4px; }
table.owners { font-size: 13px; }
table.owners th { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: none; }
table.owners td { vertical-align: middle; padding: 7px 10px; }
table.owners button.osort, table.owners button.owal, table.owners button.oname-btn { font: inherit; color: inherit;
  background: none; border: 0; padding: 0; cursor: pointer; }
table.owners button.osort.on { color: var(--ink); font-weight: 700; }
table.owners .osep { color: var(--axis); margin: 0 3px; }
table.owners button.owal { text-decoration: underline dotted; font-weight: 600; }
table.owners button.oname-btn { font-weight: 600; color: var(--accent); }
table.owners button.oname-btn:hover, table.owners button.oname-btn:focus-visible { text-decoration: underline; outline: none; }
table.owners .up, table.owners .dn { font-size: inherit; }
table.owners td.orank { color: var(--muted); font-weight: 600; }
table.owners td.own, table.owners th[data-col="owner"] { text-align: left; }
table.owners .o2 { color: var(--muted); font-size: 11px; line-height: 1.2; margin-top: 1px; }
table.owners tr.owal-row td { background: var(--surface-2); font-size: 12px; padding-top: 4px; padding-bottom: 4px; }
table.owners tr.owal-row td.own { padding-left: 22px; }
table.owners a.oxt { text-decoration: none; color: var(--muted); }
.obadge { display: inline-block; font-size: 10px; font-weight: 700; line-height: 15px; padding: 0 5px;
  border-radius: 4px; vertical-align: 1px; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--maint-ink); background: var(--maint-bg); border: 1px solid var(--maint-line); }
.obadge-team, .obadge-dev { color: var(--warn-ink); background: var(--warn-bg); border-color: var(--warn-line); }
.obadge-insider { color: var(--old-ink); background: var(--old-bg); border-color: var(--old-line); }
.obadge-sniper, .obadge-early { color: var(--ink-2); background: var(--surface); border-color: var(--axis); }
/* the owner's card (DEC-357): a panel over the page, a sheet at phone width */
.ocard { position: fixed; z-index: 40; right: 16px; top: 64px; width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 80px); overflow: auto; background: var(--surface); color: var(--ink);
  border: 1px solid var(--axis); border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28); font-size: 13px; }
.ocard[hidden] { display: none; }
.ocard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 15px; }
.ocard-head .d { font-size: 12px; color: var(--muted); }
.ocard-x { font: inherit; font-size: 20px; line-height: 1; background: none; border: 0; color: var(--muted); cursor: pointer; }
.ocard-w { margin: 6px 0 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; }
.ocard-w .ocopy, .ocard-acts button { font: inherit; cursor: pointer; border-radius: 6px; }
.ocard-w .ocopy { background: none; border: 0; color: var(--muted); padding: 0 2px; }
.ocard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px;
  padding: 10px 0; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
.ocs-k { color: var(--muted); font-size: 11.5px; }
.ocs-v { font-size: 15px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ocs-v .up, .ocs-v .dn, .ocard .up, .ocard .dn { font-size: inherit; }
.ocs-v .d { font-size: 12px; font-weight: 500; color: var(--muted); }
.ocs-s { color: var(--muted); font-size: 11.5px; }
.obar { display: block; height: 3px; margin-top: 4px; background: var(--grid); border-radius: 2px; overflow: hidden; }
.obar i { display: block; height: 100%; background: var(--accent); }
.ocard-acts { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 0 6px; }
.ocard-acts button { padding: 6px 12px; background: var(--ink); color: var(--page); border: 0; font-weight: 600; }
.ocard-acts button[aria-pressed="true"] { background: var(--accent); }
.ocard-acts select { font: inherit; background: var(--surface); color: inherit; border: 1px solid var(--ring); border-radius: 4px; }
.ocard-list { max-height: 320px; }
table.oacts td, table.oacts th { padding: 5px 8px; }
table.oacts td:first-child, table.oacts th:first-child { position: static; border-right: 0; }
.otype { display: inline-block; min-width: 3.6em; text-align: center; font-size: 11px; font-weight: 700;
  padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--ink-2); }
.otype-b { color: var(--up); background: var(--ok-bg); }
.otype-s { color: var(--dn); background: var(--old-bg); }
table.oacts button.otx { font: inherit; background: none; border: 0; color: var(--accent); cursor: pointer; }
table.oacts tr.otxs td { text-align: left; white-space: normal; font-size: 11.5px; line-height: 1.6; }
table.oacts tr.otxs a { margin-right: 10px; }
@media (max-width: 600px) {
  .ocard { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 85vh;
    border-radius: 14px 14px 0 0; padding: 12px 16px; }
  .ocard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
