/* HIVE — operator live view · style.css
 *
 * One committed dark world (no light theme by design): a warm propolis-black ground,
 * honey for our own hubs, saturated flow colours for transfers so moving light always
 * reads over the static swarm. Tokens below are the single source of truth; app.js reads
 * the --k-* / --n-* / semantic tokens at boot for canvas and WebGL colours.
 *
 * Layout: full-bleed hive canvas; glass rails float left (state: health, lanes, gauges,
 * program) and right (stream); below 800 px the rails fold into bottom tabs and sheets.
 * v2 (lenses): a lens bar + search in the top bar; a lens panel replaces the left rail while a
 * lens is on (desktop) or rises as a peek / half / full bottom sheet (phones, tabs ALPHA · PAIRS ·
 * ENTITIES · P&L · MORE, where MORE holds today's five panels). Card text uses --ink / --ink-2 / --ink-2b
 * on --card-bg (all ≥ 4.5:1, pinned by web_tests).
 *
 * Fonts (Google Fonts, with real fallbacks): Big Shoulders Display for display/labels,
 * Hanken Grotesk for body, JetBrains Mono for every number (tabular).
 * No selectors here style data-bearing HTML; app.js only ever inserts text nodes.
 */

:root {
  /* Layout: full-bleed hive; glass rails left (state) + right (stream); phones fold rails into bottom tabs */
  --void: #0b0a08;          /* ground */
  --comb: #15120e;          /* rail glass base */
  --wax: #211b14;           /* raised control */
  --wax-2: #2b231a;         /* hover */
  --seam: rgba(255, 214, 150, 0.09);
  --seam-2: rgba(255, 214, 150, 0.17);
  --ink: #f1e8da;
  --ink-2: #b4a794;
  --ink-3: #7c7061;
  --honey: #f5b83d;
  --honey-2: #ffd98c;
  --glass: rgba(20, 17, 13, 0.74);
  --glass-solid: rgba(20, 17, 13, 0.96);

  /* chains (tags only) */
  --rh: #35d0ba;
  --sol: #a98bff;

  /* transfer kinds (particles, trails, ticker chips) */
  --k-fund: #f5b83d;
  --k-buy: #5fe39c;
  --k-sell: #ff6b57;
  --k-swap: #8fd8c8;
  --k-fire: #56c8ff;
  --k-exit: #d67dff;
  --k-alert: #ff2f6d;
  --k-detect: #c3cedc;
  --k-birth: #fff0c4;
  --k-machine: #ff7ad9;     /* v2: operator-machine swaps: never buy green / sell red */

  /* v2 swap classes: two stops for machine share (organic teal → machine magenta), no traffic lights */
  --cls-org: #5fd4c4;
  --cls-op: #ff7ad9;
  --cls-bot: #8c8478;
  --cls-unres: #4a443c;
  --cls-ours: #56c8ff;

  /* v2 cards */
  --card-bg: #14110d;       /* lens panel / side panel ground (text contrast is measured against it) */
  --ink-2b: #9d9180;        /* secondary card text: 6:1 on --card-bg (--ink-3 is decoration only) */
  --study: #b98cff;         /* STUDY badge */
  --lens-w: clamp(360px, 33vw, 560px);
  --more-h: 100px;   /* FFQ-10: two rows of ≥ 44 px targets (Retail: 6+ entries) */

  /* node families */
  --n-operator: #ffc24d;
  --n-engine: #56c8ff;
  --n-wallet: #cbbca6;
  --n-pool: #5fd4c4;
  --n-token: #f6e7c1;
  --n-funder: #e38a58;
  --n-service: #5f5b55;
  --n-ghost: #8c8478;

  /* semantic state (separate from the accent) */
  --ok: #6fdc8c;
  --warn: #ffb547;
  --crit: #ff4d5e;
  --idle: #71695e;

  /* v3 calls: the green rule (): up = green, brighter + stronger glow + bigger with the multiple; down = red;
     milestone chips amber; no gradient text on figures */
  --up: #5fe39c;
  --up-2: #7dffb5;
  --up-3: #a6ffcd;
  --up-4: #d2ffe6;
  --down: #ff6b57;
  --ms: #ffcf4a;
  --ms-bg: rgba(255, 207, 74, 0.14);

  --f-display: "Big Shoulders Display", "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --f-data: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* type scale */
  --t-cap: 0.6875rem;   /* 11 */
  --t-small: 0.78rem;   /* 12.5 */
  --t-body: 0.875rem;   /* 14 */
  --t-val: 1.0625rem;   /* 17 */
  --t-big: 1.375rem;    /* 22 */
  --t-mark: 1.75rem;    /* 28 */

  --r-s: 6px;
  --r-m: 12px;
  --gutter: 16px;
  --top-h: 60px;
  --tab-h: 58px;
  --rail-w: 330px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  background: var(--void);
  color: var(--ink);
  font: 400 var(--t-body)/1.45 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--honey-2); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
  border-radius: 4px;
}

.num, .mono { font-family: var(--f-data); font-variant-numeric: tabular-nums; }

/* ---------- the hive (canvas world) ---------- */

#world {
  position: fixed;
  inset: 0;
  z-index: 0;
  /* faint honeycomb lattice + warm core glow, fading toward the edges */
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(245, 184, 61, 0.07), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%),
    var(--void);
}
#world::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16.2 L56 48.5 L28 64.7 L0 48.5 L0 16.2 Z M28 64.7 L28 97' fill='none' stroke='%23f5b83d' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 20%, transparent 85%);
  mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 20%, transparent 85%);
  pointer-events: none;
}

#hive {
  position: absolute;
  inset: 0;
  z-index: 1;
}
#hive canvas { display: block; outline: none; }
#hive .clickable { cursor: pointer; }
#hive .grabbable { cursor: grab; }
/* library chrome we never use (its tooltip would use innerHTML) */
#hive .scene-nav-info, #hive .scene-tooltip, #hive .graph-tooltip, #hive .float-tooltip-kap { display: none !important; }

#world-note {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: var(--t-small);
  text-align: center;
  pointer-events: none;
}
#world-note .hexspin {
  width: 34px;
  height: 34px;
  animation: spin 3.2s linear infinite;
}

/* ---------- top bar ---------- */

#topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gutter) 10px;
  min-height: var(--top-h);
  background: linear-gradient(to bottom, rgba(11, 10, 8, 0.94) 0%, rgba(11, 10, 8, 0.72) 65%, transparent 100%);
  pointer-events: none;
}
#topbar > * { pointer-events: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.brand svg { width: 26px; height: 26px; flex: none; }
.wordmark {
  font: 800 var(--t-mark)/1 var(--f-display);
  letter-spacing: 0.14em;
  color: var(--honey-2);
  text-shadow: 0 0 18px rgba(245, 184, 61, 0.35);
}
.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--seam-2);
  font: 700 var(--t-cap)/1 var(--f-display);
  letter-spacing: 0.16em;
  color: var(--ink-2);
  white-space: nowrap;
}
.mode-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--idle);
}
.mode-badge[data-state="fresh"] .dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.mode-badge[data-state="stale"] .dot { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.mode-badge[data-state="down"] .dot { background: var(--crit); box-shadow: 0 0 8px var(--crit); }
.mode-badge[data-state="demo"] { color: var(--honey-2); border-color: rgba(245, 184, 61, 0.45); }
.mode-badge[data-state="demo"] .dot { background: var(--honey); box-shadow: 0 0 8px var(--honey); }
.mode-badge.beat .dot { animation: beat 0.6s ease-out; }

.seg {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  background: rgba(33, 27, 20, 0.85);
  border: 1px solid var(--seam);
}
.seg button {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  border-radius: 999px;
  font: 700 var(--t-small)/1 var(--f-display);
  letter-spacing: 0.12em;
  color: var(--ink-2);
  min-height: 28px;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] {
  background: var(--wax-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--seam-2);
}
.seg button[data-chain="rh"][aria-pressed="true"] { color: var(--rh); }
.seg button[data-chain="sol"][aria-pressed="true"] { color: var(--sol); }

.top-stats {
  display: flex;
  gap: 14px;
  color: var(--ink-2b);
  font-size: var(--t-small);
  white-space: nowrap;
}
.top-stats b { color: var(--ink-2); font-weight: 500; font-family: var(--f-data); font-variant-numeric: tabular-nums; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--seam-2);
  background: rgba(33, 27, 20, 0.85);
  color: var(--ink-2);
  font: 700 var(--t-small)/1 var(--f-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.icon-btn:hover { color: var(--ink); background: var(--wax-2); }
.icon-btn[aria-pressed="true"], .icon-btn[aria-expanded="true"] { color: var(--honey-2); border-color: rgba(245, 184, 61, 0.45); }
#btn-fit[data-on="1"] { color: var(--honey-2); border-color: rgba(245, 184, 61, 0.45); }   /* run 2 item 12: Fit answers */
/* #114 (replaces #116): Back to Hive sits in the dock before Fit, in Fit's look, lit; a 44 px target at every width; only on the Hive tab */
#dock #btn-back-hive { color: var(--honey-2); border-color: rgba(245, 184, 61, 0.45); min-width: 44px; min-height: 44px; }
body:not([data-lens="hive"]) #btn-back-hive, body[data-prime="1"] #btn-back-hive, body[data-tm] #btn-back-hive { display: none; }
.icon-btn svg { width: 16px; height: 16px; flex: none; }
.icon-btn .count {
  font-family: var(--f-data);
  font-size: 11px;
  letter-spacing: 0;
  background: var(--honey);
  color: var(--void);
  border-radius: 999px;
  padding: 1px 5px;
}

/* ---------- banner (stale / offline) ---------- */

#banner {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 4px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(58, 32, 12, 0.94);
  border: 1px solid rgba(255, 181, 71, 0.5);
  color: #ffe2b0;
  font-size: var(--t-small);
  box-shadow: var(--shadow);
}
#banner[data-level="crit"] { background: rgba(62, 14, 22, 0.95); border-color: rgba(255, 77, 94, 0.55); color: #ffd3d8; }
#banner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; animation: blink 1.2s ease-in-out infinite; }
#banner[data-level="crit"] .dot { background: var(--crit); }

/* ---------- rails & panels ---------- */

.rail {
  position: fixed;
  z-index: 20;
  top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 6px);
  bottom: var(--gutter);
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--seam);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.rail-left { left: var(--gutter); }
.rail-right { right: var(--gutter); }
.rail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--wax-2) transparent;
}

.panel {
  padding: 14px 16px 16px;
  min-width: 0;
}
.panel + .panel { border-top: 1px solid var(--seam); }
.panel-stream { display: flex; flex-direction: column; min-height: 0; flex: 1; padding-bottom: 0; }

.panel-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.panel-head h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 800 0.95rem/1 var(--f-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.panel-head h2::before {
  content: "";
  width: 9px;
  height: 10px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  flex: none;
}
.panel-head .age {
  margin-left: auto;
  font: 400 var(--t-cap)/1 var(--f-data);
  color: var(--ink-2b);
  font-variant-numeric: tabular-nums;
}
.panel-head .age[data-level="warn"] { color: var(--warn); }
.panel-head .age[data-level="crit"] { color: var(--crit); }

.empty {
  color: var(--ink-2b);
  font-size: var(--t-small);
  padding: 6px 0;
}

.cap {
  font: 700 var(--t-cap)/1.2 var(--f-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2b);
}

/* health cells */
.cells {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.cell {
  display: grid;
  gap: 5px;
  padding: 9px 10px 10px;
  border-radius: var(--r-s);
  background: rgba(33, 27, 20, 0.55);
  border: 1px solid var(--seam);
  min-width: 0;
}
.cell .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cell .v {
  font: 500 var(--t-val)/1.1 var(--f-data);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cell .v small { font-size: var(--t-cap); color: var(--ink-2b); font-weight: 400; margin-left: 2px; }
.cell .sub { font-size: var(--t-cap); color: var(--ink-2b); font-family: var(--f-data); font-variant-numeric: tabular-nums; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px 2px 6px;
  border-radius: 999px;
  font: 700 11px/1.3 var(--f-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  color: var(--ink-2);
  background: rgba(113, 105, 94, 0.18);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill[data-level="ok"] { color: var(--ok); background: rgba(111, 220, 140, 0.1); border-color: rgba(111, 220, 140, 0.25); }
.pill[data-level="warn"] { color: var(--warn); background: rgba(255, 181, 71, 0.1); border-color: rgba(255, 181, 71, 0.3); }
.pill[data-level="crit"] { color: var(--crit); background: rgba(255, 77, 94, 0.12); border-color: rgba(255, 77, 94, 0.35); }
.pill[data-level="idle"] { color: var(--ink-2b); }
.pill[data-level="live"] { color: #ffd0d6; background: rgba(255, 47, 109, 0.2); border-color: rgba(255, 47, 109, 0.55); }
.pill[data-level="paper"] { color: var(--honey-2); background: rgba(245, 184, 61, 0.1); border-color: rgba(245, 184, 61, 0.35); }
.pill.nodot::before { display: none; }

.units {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.unit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--r-s);
  background: rgba(33, 27, 20, 0.55);
  border: 1px solid var(--seam);
  font: 400 var(--t-cap)/1.2 var(--f-data);
  color: var(--ink-2);
  max-width: 100%;
  min-width: 0;
}
.unit span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unit .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--idle); }
.unit[data-level="ok"] .dot { background: var(--ok); }
.unit[data-level="warn"] .dot { background: var(--warn); }
.unit[data-level="crit"] { border-color: rgba(255, 77, 94, 0.45); color: #ffd3d8; }
.unit[data-level="crit"] .dot { background: var(--crit); box-shadow: 0 0 6px var(--crit); }

.metaline {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font: 400 var(--t-cap)/1.4 var(--f-data);
  color: var(--ink-2b);
}
.metaline .src { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.metaline .src i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.metaline .src em { font-style: normal; opacity: 0.85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 26ch; }
.metaline .src em::before { content: "· "; }
.metaline .src[data-level="idle"] i { background: var(--idle); }
.metaline .src[data-level="warn"] i { background: var(--warn); }
.metaline .src[data-level="warn"] { color: #ffd9a3; }
.metaline .src[data-level="crit"] i { background: var(--crit); box-shadow: 0 0 6px var(--crit); }
.metaline .src[data-level="crit"] { color: #ffb3bc; }

/* lanes */
.lane {
  display: grid;
  gap: 10px;
}
.lane + .lane { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--seam); }
.lane-head { display: flex; align-items: center; gap: 8px; }
.lane-head .name {
  font: 800 1.05rem/1 var(--f-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lane-head .chain { margin-left: 0; }
.lane-head .pill { margin-left: auto; }

.kv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.kv > div { display: grid; gap: 3px; min-width: 0; }
.kv .v {
  font: 500 var(--t-val)/1.1 var(--f-data);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kv .cap .tag {
  display: inline-block;
  font: 700 11px/1 var(--f-display);
  letter-spacing: 0.14em;
  color: var(--honey-2);
  border: 1px solid rgba(245, 184, 61, 0.45);
  border-radius: 3px;
  padding: 2px 3px 1px;
  vertical-align: 1px;
}

.tbl-wrap { overflow-x: auto; }
/* a table wider than its card fades at the edge that hides columns (app.js markScroll sets data-more): the fade says "scroll" */
.tbl-wrap[data-more="r"] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
.tbl-wrap[data-more="l"] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 24px), transparent); }
.tbl-wrap[data-more="l r"] { -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.nw { white-space: nowrap; }
table.mini {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
}
table.mini th {
  text-align: left;
  font: 700 var(--t-cap)/1 var(--f-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2b);
  padding: 0 6px 6px 0;
  border-bottom: 1px solid var(--seam);
}
table.mini td {
  padding: 6px 6px 6px 0;
  border-bottom: 1px solid var(--seam);
  vertical-align: middle;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
table.mini td.n, table.mini th.n { text-align: right; font-family: var(--f-data); font-variant-numeric: tabular-nums; padding-right: 0; }
table.mini tr:last-child td { border-bottom: 0; }

.bands { display: flex; flex-wrap: wrap; gap: 6px; }
.band {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--r-s);
  background: rgba(33, 27, 20, 0.55);
  border: 1px solid var(--seam);
  font-size: var(--t-cap);
  color: var(--ink-2);
}
.band b { font: 700 var(--t-cap)/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; }
.band[data-tone="hot"] b { color: var(--ok); }
.band[data-tone="normal"] b { color: var(--honey-2); }
.band[data-tone="cold"] b { color: #8fc2ff; }
.band .num { color: var(--ink-2b); }

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  font-size: var(--t-small);
}
.facts dt { color: var(--ink-2b); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facts dd { margin: 0; text-align: right; font-family: var(--f-data); font-variant-numeric: tabular-nums; color: var(--ink-2); max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* gauges */
.gauge + .gauge { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--seam); }
.gauge-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.gauge-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.gauge-big .v { font: 500 var(--t-big)/1 var(--f-data); font-variant-numeric: tabular-nums; }
.delta { font: 500 var(--t-small)/1 var(--f-data); font-variant-numeric: tabular-nums; }
.delta[data-sign="up"] { color: var(--ok); }
.delta[data-sign="down"] { color: var(--k-sell); }

.flowbar {
  display: grid;
  gap: 5px;
  margin: 6px 0 8px;
}
.flowbar .track {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--wax);
}
.flowbar .buy { background: linear-gradient(90deg, rgba(95, 227, 156, 0.55), var(--k-buy)); }
.flowbar .sell { background: linear-gradient(90deg, var(--k-sell), rgba(255, 107, 87, 0.55)); }
.flowbar .legend {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font: 400 var(--t-cap)/1.2 var(--f-data);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2b);
}
.flowbar .legend .b { color: var(--k-buy); }
.flowbar .legend .s { color: var(--k-sell); }

/* program */
.goal {
  margin: 0 0 12px;
  font: 700 1.2rem/1.2 var(--f-display);
  letter-spacing: 0.02em;
  text-wrap: balance;
  color: var(--honey-2);
}
.miles { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 3px 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--seam);
}
.mile:last-child { border-bottom: 0; }
.mile .t { min-width: 0; font-size: var(--t-small); color: var(--ink); overflow-wrap: anywhere; }
.mile .t .id { color: var(--ink-2b); font-family: var(--f-data); font-size: var(--t-cap); margin-right: 6px; }
.mile .pill { grid-row: span 2; margin-top: 1px; }
.mile .by { grid-column: 2; font: 400 var(--t-cap)/1.2 var(--f-data); color: var(--ink-2b); font-variant-numeric: tabular-nums; }
.mile .by[data-late="1"] { color: var(--crit); }
.mile[data-status="done"] .t { color: var(--ink-2b); text-decoration: line-through; text-decoration-color: rgba(124, 112, 97, 0.6); }

/* stream */
.stream-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}
.stream-meta canvas { width: 100%; height: 38px; display: block; }
.rate { text-align: right; }
.rate .v { font: 500 var(--t-big)/1 var(--f-data); font-variant-numeric: tabular-nums; color: var(--honey-2); }
.rate .cap { display: block; margin-top: 4px; }

.ticker {
  list-style: none;
  margin: 0 -16px;
  padding: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--wax-2) transparent;
}
.ev { border-top: 1px solid var(--seam); }
.ev.new { animation: evin 0.5s ease-out; }
.ev-hit {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas: "time kind what amt" "sub sub sub nat";
  align-items: center;
  gap: 2px 8px;
  padding: 8px 16px 8px 13px;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--kc, var(--idle));
  text-align: left;
}
.ev-hit:hover { background: rgba(255, 214, 150, 0.04); }
.ev-time { grid-area: time; font: 400 var(--t-cap)/1 var(--f-data); color: var(--ink-2b); font-variant-numeric: tabular-nums; }
.ev-kind {
  grid-area: kind;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 800 var(--t-cap)/1 var(--f-display);
  letter-spacing: 0.14em;
  color: var(--kc, var(--ink-2));
}
.ev-what {
  grid-area: what;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: var(--t-small);
  color: var(--ink);
}
.ev-amt { grid-area: amt; font: 500 var(--t-small)/1 var(--f-data); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.ev-sub {
  grid-area: sub;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 400 var(--t-cap)/1.3 var(--f-data);
  color: var(--ink-2b);
}
.ev-nat { grid-area: nat; font: 400 var(--t-cap)/1.3 var(--f-data); color: var(--ink-2b); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.chain {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px 1px;
  border-radius: 3px;
  font: 800 11px/1 var(--f-display);
  letter-spacing: 0.14em;
  border: 1px solid currentColor;
  flex: none;
}
.chain[data-chain="rh"] { color: var(--rh); }
.chain[data-chain="sol"] { color: var(--sol); }


/* ---------- v2: lens bar + search (top bar) ---------- */

#lensbar {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(33, 27, 20, 0.85);
  border: 1px solid var(--seam);
  flex: none;
}
#lensbar button {
  border: 0;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  font: 700 var(--t-small)/1 var(--f-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  min-height: 28px;
  white-space: nowrap;
}
#lensbar button:hover { color: var(--ink); }
#lensbar button[aria-selected="true"] { background: var(--wax-2); color: var(--honey-2); box-shadow: inset 0 0 0 1px rgba(245, 184, 61, 0.45); }
#lensbar .s { display: none; }

.search {
  position: relative;
  flex: 1 1 220px;
  max-width: 380px;
  min-width: 150px;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.search .search-ico { position: absolute; left: 11px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; color: var(--ink-2b); pointer-events: none; }
#search {
  width: 100%;
  min-height: 34px;
  padding: 0 12px 0 32px;
  border-radius: 999px;
  border: 1px solid var(--seam-2);
  background: rgba(20, 17, 13, 0.9);
  color: var(--ink);
  font: 400 var(--t-small)/1 var(--f-body);
  -webkit-appearance: none;
  appearance: none;
}
#search::placeholder { color: var(--ink-2b); }
#search:focus { outline: none; border-color: rgba(245, 184, 61, 0.6); box-shadow: 0 0 0 3px rgba(245, 184, 61, 0.15); }
#search::-webkit-search-cancel-button { display: none; }
#search-close { display: none; }
#btn-search { display: none; }
#search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(440px, 92vw);
  max-height: min(70vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 70;
  display: grid;
  gap: 10px;
  padding: 8px;
  background: var(--glass-solid);
  border: 1px solid var(--seam-2);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
}
.sgroup { display: grid; gap: 2px; }
.sgroup > .cap { padding: 4px 6px 2px; color: var(--ink-2b); }
.sgroup .more { letter-spacing: 0; text-transform: none; font-weight: 400; }
.sres {
  display: grid;
  gap: 3px;
  text-align: left;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--r-s);
  background: transparent;
  min-width: 0;
}
.sres:hover, .sres[aria-selected="true"] { background: rgba(245, 184, 61, 0.1); }
.sres .t { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--t-small); color: var(--ink); overflow-wrap: anywhere; }
.sres .s { font: 400 var(--t-cap)/1.3 var(--f-data); color: var(--ink-2b); overflow-wrap: anywhere; }
.snone { display: grid; gap: 8px; padding: 4px 6px 6px; }
.snone p { margin: 0; font-size: var(--t-small); color: var(--ink-2); }
.snone a.icon-btn { justify-self: start; text-decoration: none; }
.snone .ticker { margin: 0; }
.snothing { padding: 6px 8px; }

#coach {
  position: fixed;
  z-index: 29;
  top: calc(env(safe-area-inset-top, 0px) + var(--top-h));
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px 6px 12px;
  border-radius: 12px;
  background: var(--glass-solid);
  border: 1px solid rgba(245, 184, 61, 0.35);
  font-size: var(--t-small);
  color: var(--ink-2);
}
#coach button[data-lens] {
  border: 0;
  background: none;
  color: var(--honey-2);
  font-weight: 700;
  padding: 6px 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#coach .close-btn { margin-left: auto; width: 30px; height: 30px; }

/* ---------- v2: the lens panel (left rail on desktop, bottom sheet on phones) ---------- */

.lens-sheet {
  position: fixed;
  z-index: 21;
  top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 6px);
  bottom: var(--gutter);
  left: var(--gutter);
  width: var(--lens-w);
  display: flex;
  flex-direction: column;
  background: rgba(20, 17, 13, 0.94);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--seam);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  overflow: hidden;
}
@media (min-width: 800px) {
  body:not([data-lens="hive"]) .rail-left { display: none; }
}
.lens-head { display: grid; gap: 6px; padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--seam); }
.sheet-grip { display: none; }
.lens-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.lens-title-row h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 800 1.1rem/1 var(--f-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lens-title-row h2::before {
  content: "";
  width: 10px;
  height: 11px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.lens-title-row .age { margin-left: auto; font: 400 var(--t-cap)/1 var(--f-data); color: var(--ink-2b); font-variant-numeric: tabular-nums; }
/* review 10-01 F12: a long age ("Last check · 1 h ago") wraps inside its own slot; it never pushes the close button onto a row of its own */
.lens-title-row .age { flex: 1 1 0; min-width: 0; text-align: right; line-height: 1.25; overflow-wrap: anywhere; }
.lens-title-row .age[data-level="crit"] { color: var(--crit); font-weight: 700; }
#lens-close { width: 30px; height: 30px; flex: none; }
.lens-verdict { margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
@media (min-width: 800px) {
  .lens-verdict.dup { display: none; }   /* the first card carries the same line on desktop */
}
.lens-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 12px 18px 14px;
  display: grid;
  gap: 12px;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: var(--wax-2) transparent;
}

/* cards: one small table + one verdict line. #136 (audit 21 Oct): every panel card on the v3.1 Common frame (design-system.css tokens):
   the bg-2 fill, 1 px ink-3, radius 18 (12 on a phone, below) */
.lcard {
  display: grid;
  gap: 9px;
  padding: 12px;
  min-width: 0;
  border-radius: 18px;
  background: var(--hv-bg-2);
  border: 1px solid var(--hv-frame-common);
}
.lcard[data-stale="1"] { opacity: 0.6; filter: grayscale(0.75); }
.lcard.wait { border-style: dashed; }
.lcard-head { display: flex; align-items: center; gap: 6px 7px; flex-wrap: wrap; min-width: 0; }
.lcard-title { margin: 0 4px 0 0; font: 800 0.95rem/1.15 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
button.lcard-title { border: 0; background: none; padding: 0; text-align: left; color: var(--honey-2); cursor: pointer; }
button.lcard-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.lcard-head .stale { font: 700 11px/1 var(--f-display); letter-spacing: 0.12em; color: var(--crit); }
.lcard .pill { font-size: 11px; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px 1px;
  border-radius: 3px;
  border: 1px solid currentColor;
  font: 700 11px/1.2 var(--f-display);
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--honey);
}
.badge[data-basis="study"] { color: var(--study); }
.badge[data-old="1"] { color: var(--warn); background: rgba(255, 181, 71, 0.1); }
.badge[data-basis="file"] { color: var(--ink-2); }
.badge[data-basis="computed"] { color: var(--ink-2b); border-style: dashed; }
.badge[data-basis="none"] { color: var(--ink-2b); }
.badge.sm { font-size: 11px; padding: 1px 4px 0; letter-spacing: 0.1em; }
.verdict { margin: 0; font-size: var(--t-small); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.verdict::before { content: "▸ "; color: var(--honey); }
.lnote-line { margin: 0; font-size: var(--t-cap); line-height: 1.5; color: var(--ink-2b); }
.lnote-line .tag, .kvt .tag, table.lt th .tag {
  display: inline-block;
  font: 700 11px/1 var(--f-display);
  letter-spacing: 0.14em;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 2px 3px 1px;
  vertical-align: 1px;
}
.tag[data-tag="GROSS"] { color: var(--honey-2); }
.tag[data-tag="NET"] { color: var(--cls-org); }
.lwarn { margin: 0; padding: 6px 9px; border-radius: var(--r-s); background: rgba(255, 181, 71, 0.08); border: 1px solid rgba(255, 181, 71, 0.3); color: #ffd9a3; font-size: var(--t-small); }
.lfoot { margin: 0; padding-top: 7px; border-top: 1px dashed var(--seam); font-size: var(--t-cap); line-height: 1.45; color: var(--ink-2); }
.identity { margin: 0; font-size: var(--t-small); color: var(--ink-2); }
.identity em { font-style: normal; color: var(--ink-2b); }

/* lens tables: real tables; desktop-only columns (.d) fold away below 800 px (≤ 4 columns on a phone) */
table.lt th { color: var(--ink-2b); white-space: nowrap; }
table.lt td { max-width: none; }
table.lt tbody tr[data-focus] { cursor: pointer; }
table.lt tbody tr[data-focus]:hover { background: rgba(245, 184, 61, 0.05); }
table.lt td.tk { white-space: normal; overflow-wrap: break-word; min-width: 64px; max-width: 150px; }
table.lt td.wrap { white-space: normal; overflow-wrap: anywhere; min-width: 160px; font-size: var(--t-cap); color: var(--ink-2); }
table.lt td.mono { font-family: var(--f-data); font-size: var(--t-cap); }
table.lt td.tags { white-space: normal; max-width: 118px; color: var(--ink-2); }
table.lt td.pos { color: var(--ok); }
table.lt td.neg { color: var(--k-sell); }
table.lt td.stale-v { color: var(--warn); }
table.lt td.emptyrow { white-space: normal; color: var(--ink-2b); }
table.lt tr.sum th, table.lt tr.sum td { font-weight: 700; }
table.lt tbody.fold-row td { padding: 2px 0; }
.pv { cursor: help; }
td.pv { text-decoration: underline dotted rgba(255, 214, 150, 0.35); text-underline-offset: 3px; }
span.pv { border-bottom: 1px dotted rgba(255, 214, 150, 0.35); }
.pv:hover { color: var(--honey-2); }
.kvt th[scope="row"] {
  text-align: left;
  font: 400 var(--t-small)/1.3 var(--f-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid var(--seam);
  white-space: normal;
  vertical-align: middle;
}
table.lt tr:last-child th[scope="row"] { border-bottom: 0; }
table.lt tbody th[scope="row"] {
  text-align: left;
  font: 600 var(--t-small)/1.3 var(--f-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  padding: 6px 6px 6px 0;
  border-bottom: 1px solid var(--seam);
  white-space: nowrap;
}
/* key/value cards (the OPERATORS card, side-panel summaries): labels and long study values WRAP, so the short right-aligned
   numbers stay on screen (render check 09-29: a nowrap label pushed 'Machine share' off a 346-px sheet with no scroll hint) */
table.lt.kvt tbody th[scope="row"] { white-space: normal; min-width: 7.5em; }
table.lt.kvt td { white-space: normal; overflow-wrap: break-word; }
/* a numeric column never touches the next column (render check 09-29: '$11309-23 → 09-29', 'MACHINEVETO') */
table.lt td.n:not(:last-child), table.lt th.n:not(:last-child) { padding-right: 12px; }
.rowlink {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  text-align: left;
  font: inherit;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 2px;
  max-width: 100%;
  cursor: pointer;
}
.rowlink:hover b { color: var(--honey-2); }
.rowlink b { font-weight: 700; }
.rowlink small { color: var(--ink-2b); font-size: var(--t-cap); }
.rowlink small.sub { flex-basis: 100%; color: var(--k-fire); }
.rowlink small.pfact { flex-basis: 100%; color: var(--ink-2b); font: 500 11px/1.3 var(--hv-f-data); font-variant-numeric: tabular-nums; }   /* v6 P0-5 Pairs age */
.rowlink small.pfact .up { color: var(--up); }
.rowlink small.pfact .dn { color: var(--down); }
.rowlink .noticker { color: var(--ink-2b); font-style: italic; }
.fold-btn {
  border: 0;
  background: none;
  color: var(--honey-2);
  font: 700 var(--t-cap)/1 var(--f-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0 4px;
}

/* split bar: organic | machine | bots | ours (never a single demand total) */
.split { display: flex; height: 9px; min-width: 64px; border-radius: 999px; overflow: hidden; background: var(--wax); }
.split i { display: block; width: var(--w); flex: none; }
.split .s-org { background: var(--cls-org); }
.split .s-op { background: var(--cls-op); }
.split .s-bot { background: var(--cls-bot); }
.split .s-ours { background: var(--cls-ours); }
.split.none { background: none; height: auto; min-width: 0; color: var(--ink-2b); }
td.splitcell { min-width: 76px; width: 32%; }
.totals { display: grid; gap: 6px; }
.totals-line { font-size: var(--t-small); color: var(--ink-2); line-height: 1.4; }
.totals-line b { color: var(--ink); font-family: var(--f-data); font-weight: 500; }
.totals .split { height: 11px; }
.split-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 400 var(--t-cap)/1.2 var(--f-data); color: var(--ink-2); }
.split-key i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
[data-cls="org"] > i { background: var(--cls-org); }
[data-cls="op"] > i { background: var(--cls-op); }
[data-cls="bot"] > i { background: var(--cls-bot); }
[data-cls="ours"] > i { background: var(--cls-ours); }
.sortchips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip.sm { min-height: 26px; padding: 4px 9px; font-size: var(--t-cap); color: var(--ink-2); }
.chip.sm[aria-pressed="true"] { color: var(--honey-2); border-color: rgba(245, 184, 61, 0.55); }

.rpill, .tierpill {
  display: inline-block;
  font: 700 11px/1.2 var(--f-display);
  letter-spacing: 0.1em;
  padding: 2px 6px 1px;
  border-radius: 3px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.rpill[data-risk="high"] { color: var(--crit); background: rgba(255, 77, 94, 0.12); }
.rpill[data-risk="watch"] { color: var(--warn); background: rgba(255, 181, 71, 0.1); }
.rpill[data-risk="no_signal"] { color: var(--ink-2); }
.rpill[data-risk="not_probed"] { color: var(--ink-2b); border-style: dashed; }
/* copy fix 09-29: 'T-A (would veto) · study list' cut off a 390-px sheet; the pill is an inline block that wraps between its
   parts (each part nowrap), so the Veto column shrinks to its widest part inside a nowrap table cell */
.vpill { display: inline-block; font-size: var(--t-cap); white-space: normal; }
.vpill > span, .vpill em { white-space: nowrap; }
.vpill[data-level="crit"] { color: var(--crit); font-weight: 700; }
.vpill[data-level="warn"] { color: var(--warn); }
.vpill[data-level="idle"] { color: var(--ink-2b); }
.vpill em, em.lnk { font-style: normal; color: var(--ink-2); }
.tier { font: 700 11px/1 var(--f-display); letter-spacing: 0.12em; }
.tier[data-tier="fired"] { color: var(--k-fire); }
.tier[data-tier="watch"] { color: var(--ink-2b); }
.tierpill { font-family: var(--f-data); letter-spacing: 0; }
.tierpill[data-tier="A"] { color: var(--ok); }
.tierpill[data-tier="B"] { color: var(--honey-2); }
.tierpill[data-tier="C"] { color: var(--ink-2); }
.tierpill[data-tier="Q"] { color: var(--crit); }
.tierpill[data-tier="none"] { color: var(--ink-2b); border-style: dashed; }
.clspill { font: 700 var(--t-cap)/1 var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; }
.clspill[data-cls="op"] { color: var(--cls-op); }
.clspill[data-cls="org"] { color: var(--cls-org); }
.clspill[data-cls="bot"] { color: var(--ink-2); }
.clspill[data-cls="ours"] { color: var(--cls-ours); }
.clspill[data-cls="unres"], .clspill[data-cls="none"] { color: var(--ink-2b); }
.gen-sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; background: var(--c); box-shadow: 0 0 5px var(--c); }
.bstat[data-s="active"] { color: var(--ok); }
.bstat[data-s="retired"], .bstat[data-s="study"] { color: var(--ink-2b); }
.bstat[data-s="returned"] { color: var(--warn); }

/* rotation clock: past cutovers, today, the computed next window */
.rotclock { position: relative; height: 42px; margin: 2px 8px 0; }
.rc-axis { position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--seam-2); border-radius: 1px; }
.rc-next { position: absolute; left: var(--x); width: var(--w); top: 7px; height: 16px; background: rgba(245, 184, 61, 0.2); border: 1px dashed rgba(245, 184, 61, 0.65); border-radius: 3px; }
.rc-dot { position: absolute; left: var(--x); top: 10px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); }
.rc-dot b, .rc-now b { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); font: 700 11px/1 var(--f-display); letter-spacing: 0.08em; color: var(--ink-2); white-space: nowrap; }
.rc-now { position: absolute; left: var(--x); top: 3px; width: 2px; height: 24px; margin-left: -1px; background: var(--honey-2); }
.rc-now b { top: 26px; color: var(--honey-2); }

/* lens footer: not measured + sources */
.lnote { font-size: var(--t-small); color: var(--ink-2); border-top: 1px solid var(--seam); padding-top: 8px; }
.lnote summary { cursor: pointer; font: 700 var(--t-cap)/1.5 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.lnote ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lnote li { line-height: 1.4; }
.nmv { font: 700 var(--t-cap)/1 var(--f-data); color: var(--warn); border: 1px dashed rgba(255, 181, 71, 0.55); padding: 1px 4px; border-radius: 3px; }
.why { color: var(--ink-2b); }
.srclist { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; margin: 8px 0 0; font-size: var(--t-cap); }
.srclist dt { display: flex; gap: 6px; align-items: center; }
.srclist code { font-family: var(--f-data); color: var(--ink-2); }
.srclist dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; line-height: 1.4; }
.srclist .doc { color: var(--ink-2b); }
.lbuild { margin: 0; font: 400 var(--t-cap)/1.4 var(--f-data); color: var(--ink-2b); }

/* provenance popover */
#prov {
  position: fixed;
  z-index: 80;
  left: var(--px, 50%);
  top: var(--py, 50%);
  transform: var(--pt, translate(-50%, -50%));
  width: min(320px, calc(100vw - 16px));
  max-height: 62vh;
  overflow-y: auto;
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: var(--glass-solid);
  border: 1px solid var(--seam-2);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  font-size: var(--t-small);
  color: var(--ink);
}
.prov-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.prov-head .close-btn { width: 30px; height: 30px; flex: none; }
.prov-val { margin-top: 4px; font: 500 var(--t-val)/1.2 var(--f-data); color: var(--ink); overflow-wrap: anywhere; }
.prov-src { display: grid; gap: 5px; padding-top: 8px; border-top: 1px solid var(--seam); }
.prov-src p { margin: 0; }
.prov-src-head { display: flex; gap: 6px; align-items: center; }
.prov-src-head code { font: 400 var(--t-cap)/1 var(--f-data); color: var(--ink-2); }
.prov-src .facts { font-size: var(--t-cap); }
.prov-src .facts dd { max-width: 190px; white-space: normal; overflow-wrap: anywhere; }
.prov-note { margin: 0; color: var(--ink-2); line-height: 1.45; }
.prov-nm { margin: 0; color: #ffd9a3; line-height: 1.45; }
.prov-foot { margin: 0; font: 400 var(--t-cap)/1.3 var(--f-data); color: var(--ink-2b); }

/* side panel v2 */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px; font-size: var(--t-small); }
.crumb { border: 0; background: rgba(245, 184, 61, 0.09); color: var(--honey-2); padding: 4px 9px; border-radius: 999px; font: 600 var(--t-cap)/1.2 var(--f-body); }
button.crumb:hover { background: rgba(245, 184, 61, 0.18); }
.crumbs button.crumb { min-height: 24px; }   /* quality sweep 26 Oct (row 22): a 24 px target at least (WCAG 2.2, 2.5.8); was 21 px */
.crumb.here { background: none; color: var(--ink); font-weight: 700; padding-left: 2px; }
.crumbs .sep { color: var(--ink-2b); }
.dsec { display: grid; gap: 8px; min-width: 0; }
.dsec > h4 { margin: 0; }
.drawer-sub .ent { font: 700 11px/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
#drawer .lcard { background: var(--hv-bg-2); }   /* #136: the v3.1 fill in the sheet too */
.riskline { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--t-small); color: var(--ink-2); }

/* ---------- filters ---------- */

#filters {
  position: fixed;
  z-index: 45;
  top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 4px);
  right: calc(var(--gutter) + var(--rail-w) + 12px);
  width: min(360px, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100% - var(--top-h) - 40px);
  overflow-y: auto;
  padding: 16px;
  background: var(--glass-solid);
  border: 1px solid var(--seam-2);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.fgroup { display: grid; gap: 8px; min-width: 0; }
.fgroup .cap { display: flex; justify-content: space-between; align-items: baseline; }
.fgroup .cap output { font: 500 var(--t-small)/1 var(--f-data); color: var(--honey-2); letter-spacing: 0; text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--seam-2);
  background: var(--wax);
  font: 700 var(--t-small)/1 var(--f-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2b);
  min-height: 30px;
}
.chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--kc);
  opacity: 0.35;
  flex: none;
}
.chip[aria-pressed="true"] { color: var(--ink); border-color: var(--kc); }
.chip[aria-pressed="true"] i { opacity: 1; box-shadow: 0 0 8px var(--kc); }
.chip .n { font: 400 11px/1 var(--f-data); color: var(--ink-2b); letter-spacing: 0; }

input[type="range"] {
  width: 100%;
  accent-color: var(--honey);
  height: 28px;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  font-size: var(--t-small);
  color: var(--ink-2);
}
.legend-grid > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.howto { margin: 0; font-size: var(--t-small); color: var(--ink-2b); line-height: 1.5; }

.sw {
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--sc, var(--ink-3));
  border-radius: 50%;
}
.sw[data-shape="hub"] { width: 14px; height: 14px; box-shadow: 0 0 10px 2px var(--sc); }
.sw[data-shape="dot"] { width: 7px; height: 7px; margin: 0 3.5px; }
.sw[data-shape="hex"] { border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sw[data-shape="diamond"] { border-radius: 1px; width: 10px; height: 10px; margin: 0 2px; transform: rotate(45deg); }
.sw[data-shape="square"] { border-radius: 2px; width: 11px; height: 11px; margin: 0 1.5px; opacity: 0.8; }
.sw[data-shape="ring"] { background: transparent; border: 1.5px dashed var(--sc); width: 12px; height: 12px; margin: 0 1px; }
/* richness R1: the template shield (same 6-segment outline as the canvas glyph) */
.sw[data-shape="shield"] { border-radius: 0; width: 11px; height: 13px; margin: 0 1.5px; vertical-align: -2px; clip-path: polygon(50% 0, 93% 19%, 87% 67%, 50% 100%, 13% 67%, 7% 19%); }

/* ---------- dock (view controls) ---------- */

#dock {
  position: fixed;
  z-index: 22;
  left: 50%;
  bottom: var(--gutter);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--seam);
  box-shadow: var(--shadow);
}
/* desktop with a lens open: the dock centres over the graph between the lens and the stream rail and sits under the lens (render
   check 09-29: centred on the page it covered the lens's bottom-right corner); its colour key folds away where the gap is narrow */
@media (min-width: 800px) {
  body:not([data-lens="hive"]) #dock { left: calc(50% + (var(--lens-w) - var(--rail-w)) / 2); z-index: 20; }
}
@media (min-width: 800px) and (max-width: 1519px) {
  body:not([data-lens="hive"]) .dock-key, body:not([data-lens="hive"]) .dock-key-sep { display: none; }
}
#dock .icon-btn { background: transparent; border-color: transparent; }
#dock .icon-btn:hover { background: var(--wax-2); }
#dock .icon-btn[aria-pressed="true"] { border-color: rgba(245, 184, 61, 0.35); }
#dock .sep { width: 1px; height: 20px; background: var(--seam-2); }

.dock-key {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 10px;
  font: 700 var(--t-cap)/1 var(--f-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2b);
  white-space: nowrap;
}
.dock-key .k { display: inline-flex; align-items: center; gap: 5px; }
.dock-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--kc); box-shadow: 0 0 7px var(--kc); }
.dock-key [data-k="buy"] { --kc: var(--k-buy); }
.dock-key [data-k="sell"] { --kc: var(--k-sell); }
.dock-key [data-k="machine"] { --kc: var(--k-machine); }
.dock-key [data-k="fund"] { --kc: var(--k-fund); }
body[data-scope="retail"] .dock-key [data-k="fund"] { --kc: var(--ink-2); }   /* hbees (lead audit 12 Oct): honey is coins only; a Member's fund lines are --ink-2 */
.dock-key [data-k="fire"] { --kc: var(--k-fire); }
.dock-key [data-k="exit"] { --kc: var(--k-exit); }
.dock-key [data-k="alert"] { --kc: var(--k-alert); }

#view-note {
  position: fixed;
  z-index: 22;
  left: 50%;
  bottom: calc(var(--gutter) + 56px);
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass-solid);
  border: 1px solid var(--seam-2);
  font-size: var(--t-small);
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- drawer (node detail) ---------- */

#drawer {
  position: fixed;
  z-index: 40;
  top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 6px);
  right: var(--gutter);
  bottom: var(--gutter);
  width: max(var(--rail-w), 380px);
  display: flex;
  flex-direction: column;
  background: var(--glass-solid);
  border: 1px solid var(--seam-2);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: drawerin 0.25s ease-out;
}
.drawer-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 12px 16px;
  border-bottom: 1px solid var(--seam);
}
.drawer-head .sw { width: 18px; height: 18px; }
.drawer-title {
  margin: 0;
  min-width: 0;
  font: 800 1.35rem/1.05 var(--f-display);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}
.drawer-sub { display: flex; align-items: center; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
.addr {
  font: 400 var(--t-small)/1.2 var(--f-data);
  color: var(--ink-2);
  user-select: all;
  overflow-wrap: anywhere;
}
.close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--seam-2);
  background: var(--wax);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.close-btn:hover { color: var(--ink); background: var(--wax-2); }
.close-btn svg { width: 14px; height: 14px; }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px 18px; display: grid; gap: 16px; align-content: start; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-actions a.icon-btn { text-decoration: none; }
.drawer-body .ticker { margin: 0 -16px; overflow: visible; }
.mini-btn {
  border: 1px solid var(--seam-2);
  background: var(--wax);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 3px 9px;
  font: 700 11px/1.3 var(--f-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mini-btn:hover { color: var(--ink); }

/* ---------- hover card ---------- */

#hovercard {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: var(--r-s);
  background: var(--glass-solid);
  border: 1px solid var(--seam-2);
  box-shadow: var(--shadow);
  display: grid;
  gap: 3px;
}
#hovercard .t { font: 700 var(--t-body)/1.2 var(--f-display); letter-spacing: 0.05em; overflow-wrap: anywhere; }
#hovercard .s { font: 400 var(--t-cap)/1.3 var(--f-data); color: var(--ink-2b); overflow-wrap: anywhere; }

/* ---------- mobile-only pieces (hidden on desktop) ---------- */

#tabs, #latest, #lenstabs { display: none; }
#lenstabs .nav-tabs { display: contents; }   /* quality sweep 27 Oct (row 31): the tablist adds no box; its tabs stay the bar's grid slots */

/* ---------- gate (no key / expired) ---------- */

#gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;   /* #137 round 2: the Scores panel makes the card taller than a phone; auto margins centre it and never clip its top */
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px var(--gutter);
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(245, 184, 61, 0.1), transparent 70%),
    rgba(11, 10, 8, 0.97);
}
/* #145: the Close icon of "Get your key" (a dialog; "Link expired" has none), top right of the box, a 44 px target */
#gate .gate-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; }
#gate .gate-x[hidden] { display: none; }
.gate-card {
  margin: auto;
  width: min(520px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.gate-card svg { width: 64px; height: 64px; }
.gate-card h1 {
  margin: 0;
  font: 800 2rem/1.05 var(--f-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--honey-2);
}
.gate-card p { margin: 0; color: var(--ink-2); max-width: 36ch; line-height: 1.55; }
.gate-card .fine { font-size: var(--t-small); color: var(--ink-2b); }
.gate-card a.icon-btn { text-decoration: none; margin-top: 6px; }
.gate-card p[hidden], .gate-card section[hidden] { display: none; }
/* Max EV web A (Chief Q5): Get your key. Step 1 is the one loud button; Step 2 takes a key; a tagged Preview; the free account panel. */
.gate-card { grid-template-columns: minmax(0, 1fr); }
.gate-steps, .gate-step, .gate-prev, .gate-prev-in, .gate-acct, .gate-keyf { min-width: 0; max-width: 100%; }
.gate-step { grid-template-columns: minmax(0, 1fr); }
.gate-card a.gate-go { white-space: normal; text-align: center; letter-spacing: 0.02em; }
.gate-steps { margin: 0; padding: 0; list-style: none; width: 100%; display: grid; gap: 12px; text-align: left; }
.gate-step { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--seam-2); border-radius: 12px; background: var(--card-bg); }
.gate-card .gate-sn { margin: 0; font: 700 var(--t-small)/1.2 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2b); }
.gate-sh { margin: 0; font: 700 1.1rem/1.25 var(--f-body); color: var(--ink); }
.gate-card a.gate-go { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 0 18px; border-radius: 12px;
  font: 800 1.05rem/1.2 var(--f-body); color: var(--hv-bg-0); background: var(--honey); border: 1px solid var(--honey); box-shadow: 0 0 18px rgba(245, 184, 61, 0.35); }
.gate-keyf { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.gate-kl { grid-column: 1 / -1; font-size: var(--t-small); color: var(--ink-2b); }
.gate-key { min-height: 44px; min-width: 0; padding: 0 12px; border-radius: 10px; border: 1px solid var(--seam-2); background: rgba(0, 0, 0, 0.35); color: var(--ink); font: 500 1rem/1.2 var(--f-data); }
.gate-use { min-height: 44px; }
.gate-key[aria-invalid="true"] { border-color: var(--down); }
.gate-prev { width: 100%; text-align: left; }
.gate-prev-in { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--seam-2); border-radius: 12px; background: var(--card-bg); }
.gate-card .gate-ptag { justify-self: start; margin: 0; padding: 2px 8px; border: 1px solid var(--seam-2); border-radius: 999px; font: 700 var(--t-small)/1.4 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2b); }
.gate-pname { margin: 0; font: 800 1.3rem/1.2 var(--f-display); color: var(--ink); overflow-wrap: anywhere; }
.gate-card .gate-prow, .gate-card .gate-pband, .gate-card .gate-pdef { margin: 0; max-width: none; color: var(--ink); line-height: 1.4; }
.gate-card .gate-pk { color: var(--ink-2b); }
.gate-card .gate-pdef { color: var(--ink-2); }
.gate-acct { width: 100%; display: grid; gap: 4px; padding: 4px 0 0; border: 0; text-align: left; }   /* Max EV web A r1 (P2): plain text, not a box that looks like a control */
.gate-acct-l { margin: 0; color: var(--ink-2, #b4a794); font-size: 15px; line-height: 1.4; }
.gate-card .gate-risk { font-size: var(--t-small); color: var(--ink-2b); }
/* #137 round 2: the Scores panel a visitor with no key reads above the key screen. Neutral inks only: a band is never red or green
   because of its name (red is for falls and rugs). */
.gate-scores { width: 100%; text-align: left; }
.gate-scores[hidden] { display: none; }
.gs-in { display: grid; gap: 12px; }
.gs-title { margin: 0; font: 800 var(--t-small)/1.2 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2b); }
.gs-score { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--seam-2); border-radius: 12px; background: var(--card-bg); }
.gs-h { margin: 0; font: 700 1.05rem/1.25 var(--f-body); color: var(--ink); }
.gs-scale { font-weight: 500; color: var(--ink-2b); }
.gate-card .gs-def { margin: 0; max-width: none; color: var(--ink); line-height: 1.45; }
.gs-bands { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.gs-band { color: var(--ink-2); font-size: var(--t-body); line-height: 1.4; overflow-wrap: anywhere; }
.gs-code { font: 600 var(--t-small)/1.4 var(--f-data); color: var(--ink); }
.gs-range { color: var(--ink-2b); }
.gs-gloss { color: var(--ink-2); }
.gs-rec { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--seam); }
.gate-card .gs-rec-l { margin: 0; max-width: none; font: 600 var(--t-body)/1.4 var(--f-data); color: var(--ink); }
.gate-card .gs-rec-b { margin: 0; max-width: none; font-size: var(--t-small); color: var(--ink-2b); line-height: 1.45; }
.gs-rec-b b { color: var(--ink); font-weight: 600; }

/* ---------- motion ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0.35; } }
@keyframes beat { 0% { transform: scale(1); } 35% { transform: scale(1.8); } 100% { transform: scale(1); } }
@keyframes evin { from { background: rgba(245, 184, 61, 0.12); transform: translateY(-3px); } to { background: transparent; transform: none; } }
@keyframes drawerin { from { transform: translateX(12px); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes sheetin { from { transform: translateY(16px); opacity: 0.5; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body[data-motion="reduced"] *, body[data-motion="reduced"] *::before, body[data-motion="reduced"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

/* ---------- mid widths ---------- */

@media (max-width: 1560px) {
  .top-stats { display: none; }
}
@media (max-width: 1340px) {
  #lensbar .l { display: none; }
  #lensbar .s { display: inline; }
  #lensbar button { padding: 5px 9px; }
}
@media (max-width: 1180px) {
  :root { --rail-w: 292px; --lens-w: 320px; }
  .search { max-width: 240px; }
  #btn-filters .lbl { display: none; }
  .top-stats .opt { display: none; }
  #dock .icon-btn .lbl { display: none; }
  #dock .icon-btn { padding: 0 9px; }
  .dock-key, .dock-key-sep { display: none; }
}

/* ---------- tablets and phones: search behind an icon, full-screen when open ---------- */

@media (max-width: 1040px) {
  .search { display: none; }
  #btn-search { display: inline-flex; margin-left: auto; padding: 0 10px; }
  body[data-search="open"] .search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    position: fixed;
    inset: 0;
    z-index: 70;
    max-width: none;
    margin: 0;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 12px;
    background: rgba(11, 10, 8, 0.985);
  }
  body[data-search="open"] .search .search-ico { top: calc(env(safe-area-inset-top, 0px) + 32px); left: 24px; }
  body[data-search="open"] #search { min-height: 44px; font-size: 16px; }
  body[data-search="open"] #search-close { display: inline-flex; width: 40px; height: 40px; }
  body[data-search="open"] #search-results { position: static; grid-column: 1 / -1; width: auto; max-height: none; height: 100%; align-self: stretch; align-content: start; box-shadow: none; }
}

/* ---------- tablets: a lens panel + the stream rail would squeeze the hive, so the stream steps aside ---------- */

@media (min-width: 800px) and (max-width: 1180px) {
  body:not([data-lens="hive"]) .rail-right { display: none; }
}
@media (min-width: 800px) and (max-width: 960px) {
  .wordmark { display: none; }
  .seg button { padding: 5px 9px; }
}

/* ---------- phones & small tablets: rails become bottom tabs ---------- */

@media (max-width: 799px) {
  :root { --top-h: 54px; --gutter: 16px; }

  #topbar { gap: 10px; padding-left: 12px; padding-right: 12px; }
  .wordmark { font-size: 1.45rem; letter-spacing: 0.1em; }
  .brand svg { width: 22px; height: 22px; }
  .top-stats { display: none; }
  #lensbar { display: none; }
  #btn-filters { padding: 0 10px; }
  #btn-filters .lbl { display: none; }

  .seg button { padding: 5px 9px; }
  .mode-badge .txt-long { display: none; }

  .rail {
    top: auto;
    left: 0;
    right: 0;
    bottom: calc(var(--tab-h) + var(--more-h) + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: min(62%, 560px);
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    display: none;
    animation: sheetin 0.22s ease-out;
  }
  .panel { display: none; }
  body[data-tab="health"] .rail-left,
  body[data-tab="lanes"] .rail-left,
  body[data-tab="gauges"] .rail-left,
  body[data-tab="program"] .rail-left,
  body[data-tab="stream"] .rail-right { display: flex; }
  body[data-tab="health"] .panel[data-panel="health"],
  body[data-tab="lanes"] .panel[data-panel="lanes"],
  body[data-tab="gauges"] .panel[data-panel="gauges"],
  body[data-tab="program"] .panel[data-panel="program"],
  body[data-tab="stream"] .panel[data-panel="stream"] { display: block; }
  body[data-tab="stream"] .panel[data-panel="stream"] { display: flex; }
  .panel + .panel { border-top: 0; }
  body[data-tab="stream"] .rail-right { height: min(62%, 560px); }

  /* bottom bar (integration v3 M4): NOW · CALLS · HIVE · PLAYERS · MORE (5 tabs; ~76 px per tab at 390 px) */
  #lenstabs {
    position: fixed;
    z-index: 35;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(var(--tab-n, 6), minmax(0, 1fr));   /* major-r1 C1: navSync sets --tab-n (a Member's bar has six slots) */
    padding: 4px 6px env(safe-area-inset-bottom, 0px);
    height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 13, 10, 0.97);
    border-top: 1px solid var(--seam);
  }
  #lenstabs button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: var(--ink-2);
    font: 700 11px/1 var(--f-display);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 10px;
    position: relative;
    min-width: 0;
    white-space: nowrap;
  }
  #lenstabs button svg { width: 20px; height: 20px; }
  #lenstabs button[aria-selected="true"], #tab-more[aria-expanded="true"], #tab-stream[aria-expanded="true"] { color: var(--honey-2); background: rgba(245, 184, 61, 0.08); }
  #lenstabs .alarm {
    position: absolute;
    top: 7px;
    right: calc(50% - 16px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--crit);
    box-shadow: 0 0 6px var(--crit);
  }

  /* MORE: today's five panels; their tab strip sits on the bottom bar */
  #tabs {
    position: fixed;
    z-index: 34;
    left: 0;
    right: 0;
    bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    display: none;
    grid-template-columns: repeat(var(--more-cols, 5), minmax(0, 1fr));   /* tune 2: moreFit spreads the items evenly over the rows (no item alone on a row) */
    grid-auto-rows: minmax(46px, 1fr);   /* M4: Retail 5 entries (one row), Operator 10 (two rows; --more-h doubles). r1b aw: a row is ≥ 46 px (moreFit sets --more-h for the rows shown) */
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 3px 6px;
    height: var(--more-h);
    background: rgba(20, 17, 13, 0.985);
    border-top: 1px solid var(--seam-2);
  }
  body:not([data-tab=""]) #tabs { display: grid; }
  /* #168: the Stream opens from its bar tab with no More sheet under it; its panel sits right on the tab bar */
  body[data-tab="stream"] #tabs { display: none; }
  body[data-tab="stream"] .rail-right { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); z-index: 32; }   /* over the Hive head and Pulse (31 / 30): its Minimise / Close stay reachable */
  #tabs button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: var(--ink-2b);
    font: 700 11px/1 var(--f-display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 10px;
    position: relative;
  }
  #tabs button svg { width: 16px; height: 16px; }
  #tabs button[aria-selected="true"] { color: var(--honey-2); background: rgba(245, 184, 61, 0.08); }
  #tabs button .alarm {
    position: absolute;
    top: 7px;
    right: calc(50% - 16px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--crit);
    box-shadow: 0 0 6px var(--crit);
  }

  #latest {
    position: fixed;
    z-index: 21;
    left: 12px;
    right: 12px;
    bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 10px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--seam);
    border-left: 3px solid var(--kc, var(--seam));
    font-size: var(--t-small);
    text-align: left;
    min-width: 0;
  }
  #latest .ev-kind { flex: none; }
  #latest .what { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  #latest .amt { flex: none; font-family: var(--f-data); font-variant-numeric: tabular-nums; }
  body:not([data-tab=""]) #latest { display: none; }
  body[data-drawer="open"] #latest { display: none; }
  body:not([data-lens="hive"]) #latest { display: none; }

  /* lens sheet: peek (verdict line) / half / full; hidden while MORE or the side panel is open */
  .lens-sheet {
    top: auto;
    left: 0;
    right: 0;
    bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: var(--sheet-h, 104px);
    max-height: calc(100% - var(--top-h) - var(--tab-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 6px);
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    transition: height 0.22s ease;
    animation: sheetin 0.22s ease-out;
  }
  body[data-sheet="peek"] .lens-sheet { --sheet-h: 112px; }
  body[data-sheet="half"] .lens-sheet { --sheet-h: 52vh; }
  body[data-sheet="full"] .lens-sheet { --sheet-h: 100vh; }
  body[data-sheet="peek"] .lens-body { display: none; }
  body:not([data-tab=""]) .lens-sheet, body[data-drawer="open"] .lens-sheet, body[data-search="open"] .lens-sheet { display: none; }
  .sheet-grip { display: block; width: 100%; height: 20px; margin: -6px 0 -4px; border: 0; background: none; padding: 0; }
  .sheet-grip i { display: block; width: 42px; height: 4px; margin: 0 auto; border-radius: 2px; background: var(--seam-2); }
  .lens-head { padding: 10px 12px 10px 14px; }
  .lens-verdict { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body:not([data-sheet="peek"]) .lens-verdict { display: block; }
  .lens-body { padding: 10px 10px 16px; }
  .lcard { padding: 10px; }
  table.lt .d { display: none; }
  table.lt td, table.lt th { padding-right: 5px; }
  #coach:not([hidden]) + #banner { top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 52px); }

  #dock {
    left: auto;
    right: 12px;
    top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 6px);
    bottom: auto;
    transform: none;
    flex-direction: column;
    border-radius: 14px;
    padding: 4px;
    gap: 2px;
  }
  #dock .sep { width: 20px; height: 1px; }
  #dock .icon-btn { width: 42px; height: 42px; padding: 0; }
  #dock .icon-btn .lbl { display: none; }
  /* R0-RL3: on the Hive a Member's head (z 31) and the Pulse strip (z 30) span the top under the bar and sat over the dock's column
     (z 22): its fit button under the Legend button, its 2D / 3D button under the strip (the Operator's strip covered all three). With
     the head or the strip shown the dock stands at the bottom right above the latest bar and the tabs, as a column on a tall phone and
     a row on a shorter one (the 3D dock has 4 buttons: a 195 px column); a phone panel (the stream, More) covers the map, so its
     controls wait (review 1: the dock sat over the stream's rows) */
  body[data-tab=""][data-hivehead="1"] #dock, body[data-tab=""][data-hivehead="2"] #dock, body[data-tab=""][data-pulse="1"] #dock { top: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 56px); }
  body:not([data-tab=""])[data-hivehead="1"] #dock, body:not([data-tab=""])[data-hivehead="2"] #dock, body:not([data-tab=""])[data-pulse="1"] #dock { display: none; }
  body[data-drawer="open"][data-hivehead="1"] #dock, body[data-drawer="open"][data-hivehead="2"] #dock, body[data-drawer="open"][data-pulse="1"] #dock { display: none; }   /* review 2: an open sheet (a pasted contract) covers the map too */
  /* a full-height lens sheet owns the screen: the dock (z 22, above the sheet's 21) would cover its age, close button and the
     end of its verdict line (render check 09-29); peek / half leave the dock clear of the sheet, so it stays */
  body[data-sheet="full"][data-tab=""]:not([data-lens="hive"]):not([data-drawer="open"]):not([data-search="open"]) #dock { display: none; }
  #view-note { bottom: auto; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 8px); left: 12px; transform: none; max-width: calc(100vw - 90px); white-space: normal; border-radius: 12px; }
  /* R0-RL2: a Member's Hive head (z 31) sat over that spot, so a Member never read the notice (the Operator has no head). On the Hive the
     notice sits below the head, at the Pulse strip's offsets, and above the strip while it shows (7 s) */
  body[data-pulse="1"] #view-note { z-index: 32; background: var(--hv-bg-1); }   /* review 1: the Pulse strip (z 30) covered it for the Operator too */
  body[data-hivehead="1"] #view-note { top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + var(--hh-h, 58px) + 8px); z-index: 32; background: var(--hv-bg-1); }
  body[data-hivehead="2"] #view-note { top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + var(--hh-h, 126px) + 8px); z-index: 32; background: var(--hv-bg-1); }   /* solid: the glass let the strip's text show through (as #drawer, M3) */

  #filters {
    left: 0;
    right: 0;
    width: auto;
    top: calc(env(safe-area-inset-top, 0px) + var(--top-h));
    max-height: calc(100% - var(--top-h) - var(--tab-h) - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px) - 8px);
    border-radius: 0 0 16px 16px;
    border-top: 0;
    padding: 14px 16px 18px;
  }

  #drawer {
    top: auto;
    left: 0;
    right: 0;
    bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: min(66%, 600px);
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    animation: sheetin 0.22s ease-out;
  }
  /* opened from a lens: a full-height sheet with a back chevron */
  body:not([data-lens="hive"]) #drawer { max-height: calc(100% - var(--top-h) - var(--tab-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 6px); height: 100%; }
  /* v2.2 tracing: the sheet drops to a peek (head, back pill, Stop tracing, the note) so the lit lineage and the comets show above it */
  /* 10-03 (operator, phone): the held chip / Recent dock under an open sheet — the sheet stands above them, so they never cover its text */
  body[data-drawer="open"][data-pdock="1"] #drawer { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 46px); }
  body[data-drawer="open"][data-pdock="2"] #drawer { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 58px); }   /* run 2 item 9: the two share one row */
  body:not([data-lens="hive"])[data-drawer="open"][data-pdock="1"] #drawer { max-height: calc(100% - var(--top-h) - var(--tab-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 52px); }
  body:not([data-lens="hive"])[data-drawer="open"][data-pdock="2"] #drawer { max-height: calc(100% - var(--top-h) - var(--tab-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 64px); }
  body[data-tracing="1"] #drawer, body[data-tracing="1"]:not([data-lens="hive"]) #drawer { max-height: min(36%, 300px); height: auto; }
  #prov { left: 8px; right: 8px; top: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 8px); transform: none; width: auto; }

  #hovercard { display: none !important; }
  #banner { top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 2px); border-radius: 12px; }
}
/* R0-RL3: below 600 px of height the dock's column would reach the head and strip again (review 1: 481-530 px in 3D): it lies as a
   row above the latest bar */
@media (max-width: 799px) and (max-height: 599px) {
  body[data-tab=""][data-hivehead="1"] #dock, body[data-tab=""][data-hivehead="2"] #dock, body[data-tab=""][data-pulse="1"] #dock { flex-direction: row; z-index: 32; }   /* review 2: a short narrow window (a split screen) brings the strip down to the row: the row stays above it */
  body[data-tab=""][data-hivehead="1"] #dock .sep, body[data-tab=""][data-hivehead="2"] #dock .sep, body[data-tab=""][data-pulse="1"] #dock .sep { width: 1px; height: 20px; }
  /* review 2: Recent (bottom centre, tab-h + 52) shared the row's band and took Fit's taps: it lifts above the row, its list above it */
  body[data-tab=""][data-hivehead="1"] .cv-recent-btn, body[data-tab=""][data-hivehead="2"] .cv-recent-btn, body[data-tab=""][data-pulse="1"] .cv-recent-btn { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 114px); }
  /* review 3: lifted, the list (60vh) ran off the top below ~560 px: it fits between the top bar and Recent; where even a head and two
     rows (148 px) do not fit there it comes down over Recent and the dock (its own x closes it) */
  body[data-tab=""][data-hivehead="1"] .cv-recent, body[data-tab=""][data-hivehead="2"] .cv-recent, body[data-tab=""][data-pulse="1"] .cv-recent { bottom: min(calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 166px), calc(100% - var(--top-h) - env(safe-area-inset-top, 0px) - 156px));
    max-height: min(60vh, max(148px, calc(100% - var(--top-h) - env(safe-area-inset-top, 0px) - 8px - var(--tab-h) - env(safe-area-inset-bottom, 0px) - 166px))); }
}
/* R0-RL3: a short, wide phone (landscape) has no room for the row above the latest bar: it sits in the bar's line, and the bar gives it
   room for the 3D row (195 px; review 1: 180 px covered the bar's amount in 3D). A short, narrow window keeps the row above the bar
   (review 1: the bar beside it was too narrow to read) */
@media (max-width: 799px) and (max-height: 419px) and (min-width: 480px) {
  body[data-tab=""][data-hivehead="1"] #dock, body[data-tab=""][data-hivehead="2"] #dock, body[data-tab=""][data-pulse="1"] #dock { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 6px); z-index: 32; }   /* at 320 px of height an open legend or the Operator's strip reaches the latest bar's line: the dock stays above them */
  body[data-tab=""][data-hivehead="1"] #latest, body[data-tab=""][data-hivehead="2"] #latest, body[data-tab=""][data-pulse="1"] #latest { right: 228px; }
  /* review 3: Recent stands just above the row's band (at 480-510 px wide the centred button met the 3D row) and its list fits the screen */
  body[data-tab=""][data-hivehead="1"] .cv-recent-btn, body[data-tab=""][data-hivehead="2"] .cv-recent-btn, body[data-tab=""][data-pulse="1"] .cv-recent-btn { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 66px); }
  body[data-tab=""][data-hivehead="1"] .cv-recent, body[data-tab=""][data-hivehead="2"] .cv-recent, body[data-tab=""][data-pulse="1"] .cv-recent { bottom: min(calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 118px), calc(100% - var(--top-h) - env(safe-area-inset-top, 0px) - 156px));
    max-height: min(60vh, max(148px, calc(100% - var(--top-h) - env(safe-area-inset-top, 0px) - 8px - var(--tab-h) - env(safe-area-inset-bottom, 0px) - 118px))); }
}


@media (max-width: 380px) {
  .seg button { padding: 5px 7px; letter-spacing: 0.08em; }
  .mode-badge { padding: 3px 6px; }
  .mode-badge .txt { display: none; }
}

/* ── CALLS lens (v2.1) ── */
body[data-lens="calls"] .lens-body { grid-template-columns: minmax(0, 1fr); }   /* the lanes strip scrolls inside; it never widens the panel */
.calls-ctl { min-width: 0; max-width: 100%; }
body[data-lens="calls"] table.lt th { white-space: normal; }   /* long heads (CAPTURABLE) wrap instead of widening the table */
.calls-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.calls-ctl .calls-tabs { flex: 1 1 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.calls-ctl .calls-tabs::-webkit-scrollbar { display: none; }
.seg button[role="tab"][aria-selected="true"] { background: var(--wax-2); color: var(--honey-2); box-shadow: inset 0 0 0 1px rgba(245, 184, 61, 0.45); }
.seg.calls-tabs button, .seg.calls-cmp button { white-space: nowrap; }
.seg.calls-cmp { margin: 0 0 10px; }
.rugpill { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font: 700 11px/1.4 var(--f-display); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--crit); background: rgba(255, 77, 94, 0.12); border: 1px solid rgba(255, 77, 94, 0.35); vertical-align: middle; }
.tlkind { display: inline-block; padding: 1px 6px; border-radius: 6px; font: 700 11px/1.4 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.05); }
.tlkind[data-kind="funded"] { color: var(--honey-2); }
.tlkind[data-kind="bought"], .tlkind[data-kind="launch"] { color: var(--cls-org); }
.tlkind[data-kind="sold"], .tlkind[data-kind="swept"] { color: var(--cls-op); }
.tlkind[data-kind="rotation"] { color: var(--warn); }
.rstate { font: 700 11px/1.4 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.rstate[data-state="confirmed"] { color: var(--crit); }
.rstate[data-state="false alarm"] { color: var(--warn); }
.rstate[data-state="pending"] { color: var(--ink-2b); }
.meter { display: inline-block; width: 56px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); vertical-align: middle; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w, 0%); background: var(--warn); }
.pill.beta { color: var(--warn); }
.graphbox { display: flex; justify-content: center; margin: 4px 0 8px; }
.graphbox canvas.callgraph { width: 100%; max-width: 340px; height: auto; aspect-ratio: 340 / 240; background: rgba(0, 0, 0, 0.18); border-radius: 10px; }
.lcard.empty-state .verdict { color: var(--ink-2); }
table.lt td .sub.reads { margin-top: 4px; color: var(--ink-2); font-size: 11px; }
table.lt td .sub, table.lt th .sub { display: block; font-size: 11px; color: var(--ink-2b); font-weight: 400; white-space: normal; }
.graphbox canvas.callgraph { display: block; }
table.lt td .sub.facts { color: var(--ink-2); font-style: italic; }
@media (min-width: 800px) { table.lt td .sub.ph { display: none; } }   /* phone-only copy of a desktop column */
body[data-lens="calls"] table.lt td.tk { max-width: 190px; }
table.lt td .sub.facts[data-prov="1"] { color: var(--warn); font-style: normal; }
table.lt td .sub.addr { font-family: var(--f-mono, monospace); letter-spacing: 0; }
.rstate[data-state="open"] { color: var(--ink-2); }
@media (max-width: 799px) {
  .calls-ctl { gap: 6px; }
  /* phone: the seven lane tabs wrap onto two rows instead of hiding Callers / Definitions off-screen */
  .calls-ctl .calls-tabs { flex-wrap: wrap; overflow-x: visible; row-gap: 4px; border-radius: 14px; }
  /* hindsight / appendix tables: the token cell takes the room, the one number column never clips */
  body[data-lens="calls"] table.lt td.tk { max-width: none; }
  body[data-lens="calls"] table.lt td.n { white-space: nowrap; }
}

/* ---------- v2.2 trace-back (09-30): side-panel transfer rows, links, history, trace, cohort chips, wallet history ---------- */
.ev-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 0 16px 8px 16px; border-left: 3px solid var(--kc, var(--idle)); }
.ev[data-ghost="1"] .ev-hit .ev-sub::after { content: " · not drawn"; color: var(--ink-2b); }
a.xl { color: var(--k-fire); font: 500 var(--t-cap)/1.5 var(--f-data); text-decoration: none; white-space: nowrap; border-bottom: 1px dotted rgba(86, 200, 255, 0.45); }
a.xl:hover, a.xl:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }
.tap-hint { margin: 0 0 4px; color: var(--ink-2b); font-size: var(--t-cap); }
.cochip { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; border: 1px solid currentColor; font: 700 11px/1.3 var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.cochip[data-co="precursor"] { color: #ffd98c; }
.cochip[data-co="pump_crew"] { color: #ff9a52; }
.cochip[data-co="insider"] { color: #c99bf0; }
.cochip[data-co="wash"] { color: var(--ink-2b); }
.coline { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 8px; align-items: baseline; }
.cotext { color: var(--ink-2); font-size: var(--t-small); line-height: 1.45; }
.histback { justify-self: start; min-height: 28px; border: 1px solid var(--seam-2); background: var(--wax); color: var(--honey-2); border-radius: 999px; padding: 5px 11px; font: 600 var(--t-cap)/1.2 var(--f-body); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.histback:hover { background: var(--wax-2); }
.trace-btn.on { color: var(--honey-2); border-color: rgba(245, 184, 61, 0.55); background: rgba(245, 184, 61, 0.1); }
.trace-note, .ghost-note { margin: 0; padding: 7px 10px; border-radius: 6px; font-size: var(--t-small); line-height: 1.45; }
.trace-note { color: var(--honey-2); background: rgba(245, 184, 61, 0.08); border: 1px solid rgba(245, 184, 61, 0.25); }
.ghost-note { color: var(--ink-2); background: rgba(255, 214, 150, 0.04); border: 1px dashed var(--seam-2); }
.withlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--t-small); color: var(--ink-2); }
.withlist li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.dos-t td.tk small.links { display: flex; gap: 8px; margin-top: 2px; }
.dos-t td small.sub { display: block; color: var(--ink-2b); font-size: var(--t-cap); }
.dos-t td.n { white-space: normal; }
.fundv { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; justify-content: flex-end; }
.fundv small { color: var(--ink-2); font: 400 var(--t-cap)/1.4 var(--f-data); }
.cohorts .coline + .coline { margin-top: 2px; }
table.lt.dos-t th { white-space: normal; }
table.lt.dos-t td.tk { max-width: 118px; min-width: 0; }
.dos-t td.n { white-space: normal; }
.dos-t td .sub { white-space: normal; }

/* ---------- v3 CALLS feed (09-30): results first, runners first, losers visible, graveyard; design docs/CALLS_CX_STUDY_2026-09-30.md,
   look docs/calls_v3_prototype_2026-09-30.html. Figures are solid colours only (gradient text vanished inside counting digits). ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 1041px) {
  body[data-lens="calls"] { --lens-w: clamp(420px, 42vw, 680px); }   /* the feed takes more of the page; the hive stays in view */
}
.cv-up { color: var(--up); }
.cv-dn { color: var(--down); }
.cv-flat { color: var(--ink); }
.cv-up.cv-t1 { color: var(--up); text-shadow: 0 0 8px rgba(95, 227, 156, 0.22); }
.cv-up.cv-t2 { color: var(--up-2); text-shadow: 0 0 12px rgba(125, 255, 181, 0.34); }
.cv-up.cv-t3 { color: var(--up-3); text-shadow: 0 0 16px rgba(125, 255, 181, 0.46), 0 0 2px rgba(125, 255, 181, 0.5); }
.cv-up.cv-t4 { color: var(--up-4); text-shadow: 0 0 22px rgba(125, 255, 181, 0.62), 0 0 4px rgba(125, 255, 181, 0.7); }
.cv-lchip { display: inline-block; font: 700 11px/1 var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px;
  background: var(--wax-2); color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.cv-lchip.lp { background: var(--ms-bg); color: var(--ms); }
.cv-ms { display: inline-flex; align-items: center; font: 700 11px/1 var(--f-data); padding: 5px 8px; border-radius: 999px; background: var(--ms-bg); color: var(--ms); white-space: nowrap; }
.cv-ms.dn { background: rgba(255, 107, 87, 0.13); color: var(--down); }
.cv-ms.cv-pop { animation: cvpop 600ms cubic-bezier(.2, .8, .2, 1); }
@keyframes cvpop { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.08); } }
.noticker { color: var(--ink-2); font-style: italic; }

/* results block */
.lcard.cv-res { gap: 10px; padding: 14px; background: radial-gradient(120% 90% at 0% 0%, rgba(255, 207, 74, 0.08), transparent 60%), rgba(33, 27, 20, 0.7); border-color: rgba(245, 184, 61, 0.35); }
.cv-eyebrow { margin: 0; font: 600 11px/1.45 var(--f-body); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2b); }
.cv-res-h { margin: 0; font: 800 26px/1.1 var(--f-display); letter-spacing: 0.02em; text-wrap: balance; }
.cv-res-h .cv-big { font: 700 34px/1 var(--f-data); letter-spacing: -0.02em; }
.cv-res-h .cv-mid { font: 700 28px/1 var(--f-data); color: var(--ink); }
.cv-res-h b { font-family: var(--f-data); }
.cv-res-best, .cv-res-q, .cv-res-gy { margin: 0; font: 500 13px/1.5 var(--f-data); color: var(--ink-2); }
.cv-res-best b { color: var(--ink); }
.cv-res-best b.cv-up, .cv-res-best b.cv-dn { color: inherit; }
.cv-res-best b.cv-up { color: var(--up); }
.cv-res-q { font-size: 12px; }
.cv-res code, .cv-card code { font: 500 12px var(--f-data); }
.cv-pod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; align-items: end; }
.cv-pd { min-width: 0; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--wax); border: 1px solid var(--seam); }
.cv-pd.cv-p1 { padding-block: 14px; border-color: rgba(245, 184, 61, 0.45); box-shadow: 0 8px 26px rgba(255, 207, 74, 0.08); }
.cv-pn { font: 800 12px/1 var(--f-display); letter-spacing: 0.06em; color: var(--ink-2b); text-transform: uppercase; }
.cv-ptk { max-width: 100%; overflow-wrap: anywhere; font: 700 16px/1.1 var(--f-display); letter-spacing: 0.03em; }
.cv-ptk.addr { font: 500 11.5px/1.25 var(--f-data); letter-spacing: 0; color: var(--ink-2); }
.cv-pv { font: 700 22px/1 var(--f-data); letter-spacing: -0.02em; white-space: nowrap; }
.cv-p1 .cv-pv { font-size: 30px; }
.cv-pm { font: 500 11px/1.35 var(--f-data); color: var(--ink-2); overflow-wrap: anywhere; }

/* controls + sections */
.cv-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cv-ctl .seg button { min-height: 36px; }
.cv-pause { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--seam-2); background: var(--wax); color: var(--ink-2); font: 600 12px var(--f-body); }
.cv-pause[aria-pressed="true"] { color: var(--ms); border-color: rgba(255, 207, 74, 0.45); }
.cv-pnote { font: 500 11.5px var(--f-body); color: var(--ink-2b); }
.cv-n { flex: 1 1 100%; margin: 0; font: 500 11.5px/1.45 var(--f-data); color: var(--ink-2b); }
.cv-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }   /* integration v5 ( #4): a bounded track, so the record's runner rail scrolls inside it and never widens the Calls panel */
.cv-sec[data-stale="1"] { opacity: 0.6; filter: grayscale(0.75); }
.cv-sec-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cv-sec-h h3 { margin: 0; font: 800 1rem/1.15 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; }
.cv-count { font: 700 14px var(--f-data); color: var(--ink); }
.cv-sub { flex: 1 1 100%; font-size: 12px; color: var(--ink-2b); }
.cv-list { display: grid; gap: 10px; min-width: 0; }
.cv-empty { margin: 0; font-size: 12.5px; color: var(--ink-2b); }
.cv-more { justify-self: start; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--seam-2); background: var(--wax); color: var(--honey-2); font: 600 12.5px var(--f-body); }
.cv-sec[data-sec="gy"] { padding: 10px; border: 1px dashed var(--seam-2); border-radius: 12px; background: rgba(20, 17, 13, 0.6); }

/* the call card */
.cv-card { position: relative; display: grid; gap: 7px; min-width: 0; padding: 12px; border-radius: 12px; background: var(--wax); border: 1px solid var(--seam); overflow: hidden; }
.cv-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transform: translateX(-100%);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 217, 140, 0.16) 50%, transparent 65%); }
.cv-card.cv-sdn::before { background: linear-gradient(105deg, transparent 35%, rgba(255, 107, 87, 0.14) 50%, transparent 65%); }
.cv-card.cv-sweep::before { animation: cvsweep 1s cubic-bezier(.2, .8, .2, 1); }
@keyframes cvsweep { 0% { transform: translateX(-100%); opacity: 1; } 100% { transform: translateX(100%); opacity: 1; } }
.cv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; min-width: 0; }
.cv-tk { margin: 0; font: 700 21px/1.05 var(--f-display); letter-spacing: 0.03em; overflow-wrap: anywhere; }
.cv-tkaddr { font: 500 13px var(--f-data); color: var(--ink-2); letter-spacing: 0; }
.cv-chain { display: inline-flex; align-items: center; gap: 4px; font: 600 11px/1 var(--f-data); color: var(--ink-2); }
.cv-chain::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rh); }
.cv-chain[data-chain="sol"]::before { background: var(--sol); }
.cv-src { font: 600 11px/1 var(--f-body); padding: 4px 6px; border-radius: 6px; border: 1px solid rgba(245, 184, 61, 0.4); color: var(--honey-2); white-space: nowrap; }
.cv-ago { margin-left: auto; font: 500 11.5px var(--f-data); color: var(--ink-2); white-space: nowrap; }
.cv-hero-row { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 4px 6px; margin-inline: -6px; border-radius: 10px; }
.cv-hero-row::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; pointer-events: none; background: var(--cv-fl, rgba(95, 227, 156, 0.28)); }
.cv-hero-row.cv-fl-up::after { --cv-fl: rgba(95, 227, 156, 0.28); animation: cvflash 600ms ease-out; }
.cv-hero-row.cv-fl-dn::after { --cv-fl: rgba(255, 107, 87, 0.28); animation: cvflash 600ms ease-out; }
@keyframes cvflash { 0%, 100% { opacity: 0; } 30% { opacity: 1; } }
.cv-hero-l { min-width: 0; }
.cv-hero { display: block; font: 600 38px/1 var(--f-data); letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; cursor: help; }
.cv-hero.cv-t2 { font-size: 42px; }
.cv-hero.cv-t3 { font-size: 46px; }
.cv-hero.cv-t4 { font-size: 50px; }
.cv-hero.cv-flat { font-size: 28px; color: var(--ink); }
.cv-hsub { margin-top: 6px; }
.cv-xm { font: 600 17px var(--f-data); white-space: nowrap; padding-bottom: 22px; }
.cv-chg { font: 700 14px var(--f-data); padding-bottom: 22px; }
.cv-burst { position: absolute; left: 18%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; border: 3px solid var(--ms); opacity: 0; pointer-events: none; z-index: -1; }
.cv-hero-row.cv-burst-on .cv-burst { animation: cvburst 700ms cubic-bezier(.2, .8, .2, 1); }
.cv-card.cv-sdn .cv-burst { border-color: var(--down); }
@keyframes cvburst { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.cv-mc { margin: 0; font: 500 13px/1.5 var(--f-data); color: var(--ink-2); overflow-wrap: anywhere; }
.cv-mc b { color: var(--ink); font-weight: 600; }
.cv-mc b.cv-up { color: var(--up); } .cv-mc b.cv-dn { color: var(--down); }
.cv-card .pv { cursor: help; text-decoration: underline dotted rgba(255, 214, 150, 0.25); text-underline-offset: 3px; }
.cv-card .cv-hero.pv { text-decoration: none; }
.cv-bar { position: relative; padding: 8px 6px; margin-inline: -6px; overflow: hidden; }
.cv-trk { position: relative; height: 6px; border-radius: 3px; background: var(--wax-2); }
.cv-sg { position: absolute; inset: 0; border-radius: 3px; transform-origin: 0 50%; transform: translateX(var(--a, 0%)) scaleX(var(--w, 0)); }
.cv-sg-rise { background: var(--up); }
.cv-sg-rise.dn { background: var(--down); }
.cv-sg-gb { background: rgba(245, 184, 61, 0.34); }
.cv-mk { position: absolute; inset: 0; pointer-events: none; transform: translateX(var(--p, 0%)); transition: transform 300ms ease-out; }
.cv-mk b { position: absolute; left: 0; top: 50%; }
.cv-mk-call b { width: 2px; height: 16px; margin: -8px 0 0 -1px; background: var(--ink-2); border-radius: 1px; }
.cv-mk-peak b { width: 3px; height: 18px; margin: -9px 0 0 -1.5px; background: var(--ms); border-radius: 2px; }
.cv-mk-now b { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--wax); }
/* N2: the house-money line at 2× the market cap at the call (green: an up level); tap-and-hold reads its line */
.cv-mk-hm b { width: 2px; height: 20px; margin: -10px 0 0 -1px; border-radius: 1px; background: repeating-linear-gradient(to bottom, var(--up) 0 3px, transparent 3px 5px); pointer-events: auto; }
.cv-mk-hm b::before { content: ''; position: absolute; inset: -4px -9px; }
.cv-cap { margin: -4px 0 0; font-size: 12px; color: var(--ink-2); }
.cv-pk, .cv-rl, .cv-st { margin: 0; font: 500 12.5px/1.5 var(--f-data); color: var(--ink-2); overflow-wrap: anywhere; }
.cv-pk b, .cv-rl b { font-weight: 700; }
.cv-pk.na, .cv-rl.na { color: var(--ink-2b); }
.cv-st { font-size: 11.5px; color: var(--ink-2b); }
.cv-when { color: var(--ink-2b); }
.cv-facts { display: flex; flex-wrap: wrap; gap: 5px; }
.cv-fc { font: 600 11.5px/1.3 var(--f-body); padding: 4px 8px; border-radius: 8px; background: var(--wax-2); color: var(--ink-2); overflow-wrap: anywhere; }
.cv-fc.flag { background: rgba(227, 138, 88, 0.12); color: #e38a58; box-shadow: inset 0 0 0 1px #e38a58; }
.cv-fc.ent { color: var(--ink); box-shadow: inset 0 0 0 1px #e38a58; }
.cv-fc.prov { color: var(--warn); }
.cv-fc.also { color: var(--honey-2); }
.cv-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cv-lk { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 11px; border-radius: 10px; background: var(--wax-2); border: 1px solid var(--seam);
  color: var(--ink); font: 600 12.5px var(--f-body); text-decoration: none; white-space: nowrap; }
.cv-lk:hover, .cv-lk:focus-visible { border-color: var(--seam-2); background: #372c20; }
.cv-lk.ext::after { content: "↗"; margin-left: 5px; color: var(--ink-2); font-size: 11px; }
.cv-lk.cv-hive { color: var(--honey-2); border-color: rgba(245, 184, 61, 0.4); }
.cv-lk.sm { min-height: 36px; padding: 0 9px; font-size: 12px; }
.cv-ca { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 4px; color: var(--ink-2); font: 500 12px var(--f-data); text-decoration: none; }
a.cv-ca:hover code, a.cv-ca:focus-visible code { color: var(--ink); text-decoration: underline; }
.cv-ca-k { font: 700 11px var(--f-body); letter-spacing: 0.08em; color: var(--ink-2b); }
/* graveyard cards: dimmed, smaller, still every fact and link */
.cv-card.cv-gy { background: rgba(20, 17, 13, 0.85); gap: 5px; }
.cv-card.cv-gy .cv-hero { font-size: 26px; }
.cv-card.cv-gy .cv-tk, .cv-card.cv-gy .cv-mc b { color: var(--ink-2); }
.cv-card.cv-gy .cv-xm { padding-bottom: 16px; font-size: 14px; }
.cv-defs dl { margin: 6px 0 0; display: grid; gap: 6px; }
.cv-defs dt { font-weight: 700; font-size: 12.5px; }
.cv-defs dd { margin: 0; font-size: 12.5px; color: var(--ink-2); }

/* pop-ups */
.cv-toasts { position: fixed; z-index: 55; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 8px); right: var(--gutter); width: 360px; max-width: calc(100vw - 2 * var(--gutter));
  display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.cv-toast { pointer-events: auto; position: relative; display: grid; gap: 4px; padding: 10px 12px 12px; border-radius: 12px; background: var(--glass-solid); border: 1px solid var(--seam-2);
  box-shadow: var(--shadow); overflow: hidden; transition: opacity 220ms ease-out, transform 220ms ease-out; }
@starting-style { .cv-toast { opacity: 0; transform: translateY(-12px); } }
.cv-toast.out { opacity: 0; transform: translateX(24px); transition: opacity 160ms ease-in, transform 160ms ease-in; }
.cv-tl1 { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; min-height: 30px; padding-right: 40px; }
.cv-tl1 .cv-tk { font: 700 19px/1 var(--f-display); letter-spacing: 0.03em; }
.cv-tl1 .cv-src { padding: 3px 5px; }
.cv-ev { font: 700 11px/1 var(--f-body); padding: 5px 8px; border-radius: 999px; background: var(--ms-bg); color: var(--ms); white-space: nowrap; }
.cv-ev.dn { background: rgba(255, 107, 87, 0.13); color: var(--down); }
.cv-ev.new { background: none; color: var(--honey-2); box-shadow: inset 0 0 0 1px rgba(245, 184, 61, 0.45); }
.cv-x { position: absolute; top: 2px; right: 2px; min-width: 44px; min-height: 44px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-size: 22px; line-height: 1; }
.cv-tl2 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.cv-tl2v { font: 600 28px/1.1 var(--f-data); letter-spacing: -0.02em; white-space: nowrap; }
.cv-tl3 { font: 500 12px var(--f-data); color: var(--ink-2); overflow-wrap: anywhere; }
.cv-tl4 { font: 500 12px var(--f-data); color: var(--up); }
.cv-tlk { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.cv-tp { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--honey); transform-origin: 0 50%; transition: transform 200ms linear; }
.cv-toast ~ .cv-toast .cv-tl3, .cv-toast ~ .cv-toast .cv-tl4, .cv-toast ~ .cv-toast .cv-tlk { display: none; }
/* N4: the newest new-call pop-up's Trade row and a new call's level (app.js popTradeRow, popLevelEl) */
.pop-trade { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; }
.pop-trade > .buy-note { flex-basis: 100%; margin: 0; }
.pop-lvl { display: inline-flex; align-items: center; min-height: 20px; padding: 0 7px; border-radius: 999px; border: 1px solid rgba(245, 184, 61, 0.4); color: var(--honey-2); font: 700 11px/1 var(--f-body); }
/* major-r1 hplay: every pop-up is a performance card: the three tiles with ▶ Replay beside them. The newest keeps its big figure and its
   links; an older one shows its name and the card row (its Now tile carries the figure), so a stack of three stays short on a phone */
.cv-toast ~ .cv-toast .cv-tl2 { display: none; }
.hp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 6px; margin-top: 2px; }
.hp-row.hp-noplay { grid-template-columns: minmax(0, 1fr); }
.hp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
/* every tile is three fixed rows (label 14 · value 18 · sub 15), so every card is one height on every chain; an unknown value takes
   the two lower rows ("Not tracked yet" may wrap) and its sub steps aside */
.hp-t { display: grid; grid-template-rows: minmax(14px, auto) minmax(18px, auto) minmax(15px, auto); gap: 1px; min-width: 0; padding: 6px; border-radius: 9px; container-type: inline-size;
  background: rgba(255, 214, 150, 0.04); border: 1px solid var(--seam); }
/* #171: a label wraps on spaces at 11px. A long label ("Peak so far") takes a second line. No ellipsis. */
.hp-l { font: 600 11px/14px var(--f-body); letter-spacing: 0.02em; color: var(--ink-2); white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: normal; word-break: normal; }
.hp-v { font: 600 14px/18px var(--f-data); font-size: clamp(11px, 14cqw, 14px); letter-spacing: -0.01em; color: var(--ink); white-space: normal; overflow-wrap: break-word; }   /* r1b hive: a figure is never cut (Settings → Numbers Full: "$7,694,012"): it steps down to 11 px with its tile; sweep 2 row 8: the row restacks (hpTilesFit) before a figure would break */
.hp-v[data-none] { grid-row: 2 / span 2; align-self: start; font: 500 11px/15px var(--f-body); color: var(--ink-2); white-space: normal; padding-top: 2px; }
.hp-v[data-none] + .hp-s { display: none; }
.hp-s { font: 500 11px/15px var(--f-data); color: var(--ink-2); white-space: normal; overflow-wrap: break-word; }   /* r1b hive: never cut (a figure); sweep 2 row 8: it wraps between words, the row restacks (hpTilesFit) before a word would break */
/* #171: the multiple and the percent each stay one line. A figure may break only at the space before "(". */
.hp-fig { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.hp-v.cv-up, .hp-s.cv-up { color: var(--up); }
.hp-v.cv-dn, .hp-s.cv-dn { color: var(--down); }
.hp-play { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 52px; min-height: 44px; padding: 6px;
  border: 0; border-radius: 9px; background: var(--honey); color: #1a1408; font: 700 12px/1 var(--f-body); cursor: pointer; }
.hp-play .hp-pi { font-size: 15px; line-height: 1; }
.hp-play:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cv-rcard { display: grid; gap: 6px; padding: 4px 4px 10px; border-bottom: 1px solid var(--seam); }
.cv-rcard:last-child { border-bottom: 0; }
.cv-rcard .hp-row { padding: 0 6px; }
.cv-tmore { pointer-events: auto; align-self: flex-end; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--glass-solid); border: 1px solid var(--seam-2); color: var(--ink); font: 600 12.5px var(--f-body); box-shadow: var(--shadow); }
/* v5 × Prime fix pass (VERIFY_FLOWS M-1): one status chip while pop-ups are held (a sheet, the ? sheet, search, a trace), on every
   surface (Prime, the core lenses, the phone tabs): under the top bar, above the sheets, never taking a tap */
.cv-held { position: fixed; z-index: 60; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 8px); left: 50%; translate: -50% 0; max-width: calc(100vw - 32px);
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 207, 74, 0.45); background: rgba(16, 21, 28, 0.96); color: var(--ms, #ffcf4a);
  font: 600 12px/1.3 var(--f-body); white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.cv-held[hidden], body[data-cine] .cv-held { display: none; }
@media (max-width: 799px) {   /* a phone: above the tab bar, where the pop-ups land (a sheet's title stays clear); above the HUD + crumbs in a trace */
  .cv-held { top: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 10px); }
  body[data-tm] .cv-held { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 118px); }
  body[data-tm][data-tmd="1"] .cv-held { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 10px); }   /* 10-03: Details hides the HUD; the chip docks under the sheet */
}
@media (min-width: 800px) {   /* 10-03: with the side panel open the chip and Recent centre in the room left of it (at 820 px they sat on it) */
  body[data-drawer="open"] .cv-held, body[data-drawer="open"] .cv-recent-btn, body[data-drawer="open"] .cv-recent { left: calc((100vw - max(var(--rail-w), 380px) - var(--gutter)) / 2); }
}

@media (max-width: 799px) {
  /* phone: above the tab bar (safe area included). Newest card stays at the bottom; older cards clip. The box itself takes no taps. */
  #cv-toasts {
    pointer-events: none;
    top: auto;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 10px);
    max-height: min(42vh, calc(100vh - env(safe-area-inset-top, 0px) - var(--top-h) - var(--tab-h) - env(safe-area-inset-bottom, 0px) - 20px));
    overflow: hidden;
    flex-direction: column-reverse;
    z-index: 33;
  }
  /* #170: the 2D/3D button stays where it is. On the phone Hive the call pop-up opens in the lower
     band, clear of that column: its right edge stops short of it (12 px dock inset + 44 px button
     + 8 px padding + 2 px border + 8 px gap), so Fit, 2D/3D and Hide menu stay visible and
     tappable. The column already ends on the tab bar, so the card cannot sit under it. Desktop
     is untouched. */
  body[data-lens="hive"][data-tab=""][data-hivehead="1"] #cv-toasts,
  body[data-lens="hive"][data-tab=""][data-hivehead="2"] #cv-toasts,
  body[data-lens="hive"][data-tab=""][data-pulse="1"] #cv-toasts { right: 74px; }
  /* #170 lines: the phone Hive card is narrower than the other phone cards. A tall card needs
     the room under the header, or the 42vh cap clips its name and its close control. The hero
     figure stays one line: 8.6cqi of this row fits the longest demo multiple, and the row
     stays within the card. */
  body[data-lens="hive"][data-tab=""][data-hivehead="1"] #cv-toasts,
  body[data-lens="hive"][data-tab=""][data-hivehead="2"] #cv-toasts,
  body[data-lens="hive"][data-tab=""][data-pulse="1"] #cv-toasts {
    max-height: calc(100vh - env(safe-area-inset-top, 0px) - var(--top-h) - var(--tab-h) - env(safe-area-inset-bottom, 0px) - 20px);
  }
  body[data-lens="hive"][data-tab=""][data-hivehead="1"] #cv-toasts .cv-tl2,
  body[data-lens="hive"][data-tab=""][data-hivehead="2"] #cv-toasts .cv-tl2,
  body[data-lens="hive"][data-tab=""][data-pulse="1"] #cv-toasts .cv-tl2 { container-type: inline-size; min-width: 0; }
  body[data-lens="hive"][data-tab=""][data-hivehead="1"] #cv-toasts .cv-tl2v,
  body[data-lens="hive"][data-tab=""][data-hivehead="2"] #cv-toasts .cv-tl2v,
  body[data-lens="hive"][data-tab=""][data-pulse="1"] #cv-toasts .cv-tl2v { min-width: 0; max-width: 100%; font-size: min(28px, 8.6cqi); }
  #cv-toasts .cv-toast, #cv-toasts .p-toast, #cv-toasts .cv-tmore { pointer-events: auto; flex: none; }
  .cv-res-h { font-size: 23px; }
  .cv-res-h .cv-big { font-size: 30px; }
  .cv-res-h .cv-mid { font-size: 24px; }
  .cv-hero { font-size: 34px; }
  .cv-hero.cv-t2 { font-size: 37px; }
  .cv-hero.cv-t3 { font-size: 40px; }
  .cv-hero.cv-t4 { font-size: 43px; }
  .cv-pv { font-size: 19px; }
  .cv-p1 .cv-pv { font-size: 25px; }
  .cv-lk { min-height: 44px; }
  .cv-ca { min-height: 44px; }
  .cv-lk.sm { min-height: 44px; }   /* quality sweep 27 Oct (row 17): a pop-up's link-outs (DEXScreener, GeckoTerminal, the explorer, Replay in the Hive) were 36 px */
}
@media (max-width: 380px) {
  .cv-pod { gap: 5px; }
  .cv-pv { font-size: 16px; }
  .cv-p1 .cv-pv { font-size: 21px; }
}
/* calm motion / reduced motion: no flash, sweep, burst, pop or slide (the global rules above also cut every duration) */
body[data-motion="reduced"] .cv-hero-row::after, body[data-motion="reduced"] .cv-card::before, body[data-motion="reduced"] .cv-burst,
body[data-motion="reduced"] .cv-ms.cv-pop { animation: none !important; }
body[data-motion="reduced"] .cv-toast, body[data-motion="reduced"] .cv-mk { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .cv-hero-row::after, .cv-card::before, .cv-burst, .cv-ms.cv-pop { animation: none !important; }
  .cv-toast, .cv-mk { transition: none !important; }
}
/* an open replay stays above the stack (the player is z-index 95) */
body[data-modal="replay"] #cv-toasts { z-index: 30; }
/* a dismiss control on a Prime card anchors to that card (the card is not positioned otherwise) */
#cv-toasts .p-toast { position: relative; }
.hive-build, #hive-build { font: 500 12px/1.3 var(--f-data); color: var(--hv-ink-3, #9d9180); letter-spacing: 0.02em; white-space: nowrap; flex: none; }
#hive-build:empty { display: none; }

/* v3 chain filter (): chips in the lens control row (one tap on a phone), the blended per-chain split, the SOL live note */
.seg.calls-chain button { white-space: nowrap; }
.cv-split { display: grid; gap: 5px; padding: 8px 10px; border-radius: 10px; background: rgba(20, 17, 13, 0.55); border: 1px solid var(--seam); }
.cv-split-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; font: 500 12px/1.45 var(--f-data); color: var(--ink-2); }
.cv-split-row b { color: var(--ink); font-weight: 700; }
.cv-split-row b.cv-up { color: var(--up); }
.cv-split-row b.cv-dn { color: var(--down); }
.cv-sec.cv-note { padding: 10px 12px; border: 1px dashed var(--seam-2); border-radius: 12px; background: rgba(20, 17, 13, 0.6); }
.cv-sec.cv-note .cv-empty { color: var(--ink-2); line-height: 1.5; }

/* ── richness R0: ?fxdebug=1 frame-time readout (debug only, off by default; never takes a tap) ── */
#fxdebug {
  position: fixed;
  z-index: 60;
  top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 8px);
  left: calc(var(--gutter) + var(--rail-w) + 12px);
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(11, 10, 8, 0.84);
  border: 1px solid var(--seam-2);
  color: var(--ink-2);
  font: 500 11px/1.45 var(--f-data);
  white-space: pre;
  pointer-events: none;
}
@media (max-width: 799px) {
  /* left, below the first-visit coach row (Pick a lens · …): clear of the coach's buttons and of the dock on the right */
  #fxdebug { left: 8px; right: auto; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 62px); font-size: 11px; padding: 4px 7px; }
}

/* ── richness R1: the Rug catcher (beta) section of a template-matched pool ── */
.shield-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: var(--t-small); color: var(--ink); }
.shield-line[data-level="crit"] b { color: var(--crit); }
.shield-line[data-level="warn"] b { color: var(--warn); }
.shield-line .pill.beta { margin-left: 2px; }
#legend-shield .sw { display: inline-block; }

/* ── richness R3: the launch-timeline phase ribbon (DOM, above the side panel's sections; lit = events in the last 15 min) ── */
.phase-ribbon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.phase-ribbon .phase { min-width: 0; display: grid; gap: 2px; padding: 7px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--seam); color: var(--ink-2b); font: 600 var(--t-cap)/1.25 var(--f-body); overflow-wrap: anywhere; }
.phase-ribbon .phase .num { font: 800 1.15rem/1 var(--f-display); letter-spacing: 0.02em; color: var(--ink-2b); }
.phase-ribbon .phase small { font-size: 11px; color: var(--ink-2b); font-weight: 500; }
.phase-ribbon .phase[data-on="1"] { color: var(--ink); border-color: var(--seam-2); background: rgba(255, 255, 255, 0.06); }
.phase-ribbon .phase[data-phase="build"][data-on="1"] { box-shadow: inset 0 2px 0 var(--k-fund); }
.phase-ribbon .phase[data-phase="bait"][data-on="1"] { box-shadow: inset 0 2px 0 var(--cls-org); }
.phase-ribbon .phase[data-phase="extract"][data-on="1"] { box-shadow: inset 0 2px 0 var(--cls-op); }
.phase-ribbon .phase[data-phase="rotate"][data-on="1"] { box-shadow: inset 0 2px 0 var(--warn); }
.phase-ribbon .phase[data-on="1"] .num { color: var(--ink); }
@media (max-width: 420px) { .phase-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- integration v3 (docs/INTEGRATION_BRIEF_2026-09-30.md) ---------- */
/* M8: every rule below reads the design system's --hv-* tokens (design-system.css, loaded first; spec DESIGN_SYSTEM.md on
   cloud/design-system, migration map §8.2). The older rules above keep the bridge names until their own pass. */
/* M2 Retail | Operator: a top-bar segment; Retail renders no operator content (app.js), the CSS only lays the control out */
.scope-seg .sh { display: none; }
/* Run 5: "View as". From 1100 px the level choices sit in the strip; under it the switch is the current level and a tap opens the choices (app.js). */
.scope-seg button[hidden] { display: none; }
.scope-seg .pv { display: none; }
.tier-chip { align-self: center; padding: 3px 9px; border-radius: 999px; border: 1px dashed var(--hv-honey-line); color: var(--hv-honey-2);
  font: 700 11px/1.3 var(--hv-f-display); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.tier-chip[hidden] { display: none; }
@media (max-width: 1099px) {
  .scope-seg .lg { display: none; }
  .scope-seg .sh { display: inline; }
  .scope-seg { padding: 2px; }
  .scope-seg button[aria-pressed="false"] { display: none; }
  .scope-seg button { min-width: 44px; min-height: 40px; padding: 0 9px; }
  /* the one chip carries the preview word itself: no second chip in a narrow strip */
  .tier-chip { display: none; }
  body[data-preview="1"] .scope-seg button[data-view]:not([data-view="op"]) { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 7px; border: 1px dashed var(--hv-honey-line); }
  body[data-preview="1"] .scope-seg button[data-view]:not([data-view="op"])[aria-pressed="false"] { display: none; }
  body[data-preview="1"] .scope-seg .pv { display: block; font: 600 11px/1 var(--hv-f-display); letter-spacing: 0.06em; color: var(--hv-honey-2); }
  body[data-preview="1"] .scope-seg .tn { display: block; line-height: 1; }
}
/* Run 5 fix (10-06): the preview chip on a phone. Under 600 px the strip has no room for the brand's live badge AND a two-word chip:
   the chip sat on the logo and the live dot showed through its word. There the chip is short ("Free ▾" / "Pro ▾" / "Prem ▾") and
   carries the strip's live dot and its age on a second line ("● 5m", written by stripLiveMirror); the brand's own badge and the
   wordmark step aside. The strip then reads logo · chip · chain switch · search · bell · Filters with no two of them overlapping
   at 390 px (web_tests/run5_tiers.py holds that in all four views). */
.scope-seg .pvl, .scope-seg .tn-s { display: none; }
@media (max-width: 599px) {
  body[data-preview="1"] #topbar .wordmark, body[data-preview="1"] #topbar .mode-badge { display: none; }
  body[data-preview="1"] #topbar .brand { flex: none; }
  body[data-preview="1"] .scope-seg { flex: none; padding: 0; border: 0; background: none; }
  body[data-preview="1"] .scope-seg .pv, body[data-preview="1"] .scope-seg .tn-l { display: none; }
  body[data-preview="1"] .scope-seg .tn-s { display: inline; }
  body[data-preview="1"] .scope-seg button[data-view]:not([data-view="op"]) { min-width: 44px; min-height: 44px; padding: 0 6px; gap: 4px; border-radius: 14px; background: rgba(33, 27, 20, 0.85); }
  body[data-preview="1"] .scope-seg .tn { font: 700 12px/1 var(--hv-f-display); letter-spacing: 0.05em; white-space: nowrap; }
  body[data-preview="1"] .scope-seg .tn::after { content: ' \25BE'; }
  body[data-preview="1"] .scope-seg .pvl { display: inline-flex; align-items: center; gap: 4px; min-height: 11px; font: 600 11px/1 var(--hv-f-data); letter-spacing: 0.02em; color: var(--hv-ink-2); white-space: nowrap; }
  .scope-seg .pvl i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--hv-idle); }
  .scope-seg .pvl[data-state="fresh"] i { background: var(--hv-ok); }
  .scope-seg .pvl[data-state="stale"] i { background: var(--hv-warn); }
  .scope-seg .pvl[data-state="down"] i { background: var(--hv-crit); }
  .scope-seg .pvl[data-state="demo"] i { background: var(--hv-honey); }
  .scope-seg .pvl b { font-weight: 600; }
  .scope-seg .pvl b:empty { display: none; }
}
@media (max-width: 440px) {
  body[data-preview="1"] #topbar { gap: 4px; padding-left: 8px; padding-right: 8px; }   /* five 44 px controls and the logo in 390 px */
}
.va-rows { display: grid; gap: 8px; }
.va-row { display: grid; gap: 2px; justify-items: start; min-height: 56px; padding: 8px 14px; text-align: left; }
.va-row b { font: 700 14px/1.2 var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; }
.va-l { font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
/* a lock: a small lock, the level chip, one factual line; a tap opens "Pick your level" */
.tlock { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 44px; max-width: 100%; padding: 6px 10px; border-radius: 10px; border: 1px dashed var(--hv-line-2);
  background: rgba(33, 27, 20, 0.3); color: var(--hv-ink-2); font: 500 12px/1.35 var(--hv-f-body); text-align: left; cursor: pointer; }
.tlock:hover, .tlock:focus-visible { border-color: var(--hv-honey-line); color: var(--hv-ink-1); }
.tlock:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
.tlock-chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--hv-honey-line); color: var(--hv-honey-2);
  font: 700 11px/1.5 var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.tlock-l { min-width: 0; overflow-wrap: anywhere; }
.tlock.tl-slim { min-height: 32px; padding: 3px 8px; }
.tlock.tl-slim::after { content: ''; position: absolute; inset: -6px 0; }
.tlock.tl-slim { position: relative; }
.tlock.tl-block { display: flex; width: 100%; }
/* an address kit: the short address, Copy, an explorer link (a paid level, a wallet outside the protected clusters) */
.ta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; max-width: 100%; vertical-align: middle; }
.ta-a { font: 500 12px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.ta .ta-copy, .ta .ta-x, .ta .ta-show { min-height: 32px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 8px; font: 600 11.5px/1 var(--hv-f-body); position: relative; }
.ta .ta-copy::after, .ta .ta-x::after, .ta .ta-show::after { content: ''; position: absolute; inset: -6px -2px; }   /* a 44 px target */
.ta .ta-show { white-space: nowrap; }   /* major-r1 (): a shut kit, "Show address" */
.ta .ta-show[data-ta-wait] { color: var(--hv-ink-3); }
.ta .ta-x { border: 1px solid var(--hv-line-2); color: var(--hv-ink-2); text-decoration: none; white-space: nowrap; }
.ta .ta-x:hover { color: var(--hv-ink-1); }
.ta-row { margin: 6px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.ta-prot { font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
/* the wallets on the coin in view (the coin sheet's Insiders tab), a group's wallets, the Wallets board, a trace step */
.ciw-l { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 6px; }
.ciw-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 44px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--hv-line-1); font: 500 13px/1.35 var(--hv-f-body); color: var(--hv-ink-1); }
.ciw-m { color: var(--hv-ink-3); font-size: 12px; }
.ciw-n { margin: 0 0 8px; }
.ciw .ta-prot, .evd .ta-prot { margin: 6px 0 0; }
.evd-row.evd-kit { grid-template-columns: minmax(0, 1fr); }
.evd-row .evd-ta { padding: 0 10px 8px 52px; }
.plm-tar { margin: 0; padding: 0 8px 8px 48px; }
@media (max-width: 799px) { .plm-tar { padding-left: 10px; } .evd-row .evd-ta { padding-left: 10px; } }
#tm-l3 .ta { flex-wrap: nowrap; gap: 6px; }
#tm-l3 .tm-who { color: var(--hv-ink-3); }
#tm-l3:has(.ta), #tm-l3:has(.tlock) { overflow: visible; }
.follow-btn[aria-pressed="true"] { border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.follow-l { font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.trk-psig { margin: 6px 0 0; font: 500 12.5px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.pu-lv { min-height: 36px; justify-self: start; padding: 0 10px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: none; color: var(--hv-honey-2); font: 600 11.5px/1.3 var(--hv-f-body); cursor: pointer; }
.pu-lv:hover, .pu-lv:focus-visible { border-color: var(--hv-honey-line); }
.bot-lock { display: grid; gap: 8px; }
.ent-lock { display: grid; gap: 8px; }   /* major-r1 (): the Entities table's lock at Free */
.lk-full { margin-top: 10px; }
/* "Pick your level" */
.tier-cols { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier-col { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 12px; border: 1px solid var(--hv-line-2); background: rgba(33, 27, 20, 0.35); }
.tier-col[data-cur="1"] { border-color: var(--hv-honey-line); }
.tier-n { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font: 800 16px/1.2 var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-1); }
.tier-you { padding: 1px 7px; border-radius: 999px; border: 1px solid var(--hv-honey-line); color: var(--hv-honey-2); font: 700 11px/1.5 var(--hv-f-display); letter-spacing: 0.06em; }
.tier-p { margin: 0; font: 600 13px/1.3 var(--hv-f-body); color: var(--hv-ink-2); }
.tier-deal { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.tier-was { color: var(--hv-ink-3); font: 500 13px/1.3 var(--hv-f-body); text-decoration: line-through; }
.tier-found { font: 700 16px/1.2 var(--hv-f-body); color: var(--hv-ink-1); }
.tier-save { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--hv-honey-line); background: var(--hv-honey-bg); color: var(--hv-honey-2); font: 700 12px/1.4 var(--hv-f-display); letter-spacing: 0.04em; white-space: nowrap; }
.tier-annual { margin: 0; font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.tier-col > .tier-o, .tier-col > .tier-annual, .tier-col > .tier-deal, .tier-focus > .tier-o, .tier-focus > .tier-annual { margin: 0; }
.tier-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tier-l li { display: grid; gap: 1px; padding-top: 8px; border-top: 1px solid var(--hv-line-1); }
.tier-l li[data-hl="1"] .tier-f { color: var(--hv-honey-2); }
.tier-f { font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.tier-v { display: inline-flex; align-items: center; font: 600 12.5px/1.35 var(--hv-f-body); color: var(--hv-ink-1); }
.tier-l li.off .tier-v { color: var(--hv-ink-3); }
.tier-go { min-height: 44px; margin: 4px 0 0; justify-content: center; }
.tier-go[aria-disabled="true"] { opacity: 0.7; cursor: default; }
p.tier-go { display: flex; align-items: center; justify-content: center; font: 600 12px/1 var(--hv-f-body); color: var(--hv-ink-3); }
p.tier-shut, a.tier-tg { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 4px 0 0; font: 600 12px/1 var(--hv-f-body); }   /* #161: the inert "Pro: not open yet" (laid out as "Included", no action) and the Telegram link under it (a 44 px tap) */
p.tier-shut { color: var(--hv-ink-3); }
#hmodal[data-hm="tiers"] .hm-panel { width: min(860px, 100%); }
@media (max-width: 799px) { .tier-cols { grid-template-columns: minmax(0, 1fr); } }
.scope-seg button[data-scope="op"][aria-pressed="true"] { color: var(--hv-honey-2); }
body[data-scope="retail"] .rail-left { display: none; }
/* M3 token sheet: "who is behind this token" leads the side panel for any token (app.js tokenSheetSections) */
.tsheet .tstub { margin: 0; font: 500 12px/1.4 var(--hv-f-data); color: var(--hv-ink-3); overflow-wrap: anywhere; }
.tsheet .tchart { margin-top: 6px; flex-wrap: wrap; }
.tsheet .tcoll { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--hv-ink-2); }
.tsheet .tbadge { display: inline-block; font: 600 11px/1 var(--hv-f-body); padding: 4px 7px; border-radius: var(--hv-r-pill); border: 1px dashed var(--hv-honey-2); color: var(--hv-honey-2); white-space: nowrap; }
.tsheet .tlead { margin: 2px 0 8px; font: 600 15px/1.45 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.tsheet .tchain { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; font: 500 12.5px/1.45 var(--hv-f-data); color: var(--hv-ink-2); }
.tsheet .tchain .rowlink { min-height: 32px; text-align: left; overflow-wrap: anywhere; }
.tsheet .tchain .src, .tsheet .why { color: var(--hv-ink-3); font-size: 11.5px; }
.tsheet .tstate { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border-radius: var(--hv-r-pill); font: 700 13px/1 var(--hv-f-body); background: var(--hv-bg-3); color: var(--hv-ink-1); }
.tsheet .tstate[data-st="up"] { color: var(--hv-win-1); background: rgba(95, 227, 156, 0.12); }
.tsheet .tstate[data-st="dn"] { color: var(--hv-loss); background: rgba(255, 107, 87, 0.13); }   /* equal weight both ways: same size and weight */
.tsheet .tstate[data-st="nm"] { color: var(--hv-ink-2); }
.tsheet .tburn, .tsheet .tcalls { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13px; line-height: 1.5; }
.tsheet .tbtag { display: inline-block; font: 600 11px/1 var(--hv-f-body); letter-spacing: 0.05em; padding: 4px 6px; border-radius: var(--hv-r-sm); border: 1px solid var(--hv-line-2); color: var(--hv-ink-2); }
.tsheet .tbtag[data-tag="study"] { color: #e8c877; border-color: rgba(232, 200, 119, 0.45); }
.tsheet .tbtag[data-tag="live"] { color: var(--hv-win-1); border-color: rgba(95, 227, 156, 0.45); }
.tsheet .tcall { font: 500 12.5px/1.55 var(--hv-f-data); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.tsheet .tcall b { color: var(--hv-ink-1); }
.tsheet .nmw { color: var(--hv-ink-3); }
.gdetails { margin-top: 6px; }
.gdetails > summary { cursor: pointer; min-height: 32px; font: 600 12px var(--hv-f-body); color: var(--hv-ink-2); }
#drawer { background: var(--hv-bg-1); }   /* M3: the token sheet is read here; the 4 % see-through let the stream's text show behind it */

/* M4 navigation: phone More holds destinations and panels; Operator adds a second row */
body[data-scope="op"] { --more-h: 146px; }   /* FFQ-10: three rows of ≥ 44 px */
#tabs button[hidden], #lensbar button[hidden], #lenstabs button[hidden] { display: none !important; }
/* axe sweep: each bar's tabs sit in their own tablist, and the other buttons beside it; the wrapper adds no box, so the bar lays out as before */
.nav-tabs { display: contents; }

/* M4 · desktop: the destinations are a left rail; the lens panel and the engine rail move right of it */
@media (min-width: 800px) {
  :root { --nav-w: 78px; }
  #lensbar {
    position: fixed; z-index: 22;
    top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 6px); left: var(--gutter); bottom: var(--gutter);
    width: var(--nav-w); display: flex; flex-direction: column; gap: 4px; padding: 6px;
    background: var(--hv-glass-solid); border: 1px solid var(--hv-line-1); border-radius: var(--hv-r-lg); box-shadow: var(--hv-e-3); overflow-y: auto;
  }
  #lensbar button {
    display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 58px; padding: 8px 2px;
    border: 0; border-radius: var(--hv-r-md); background: none; color: var(--hv-ink-2);
    font: 700 11px/1.1 var(--hv-f-display); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
  }
  #lensbar button svg { width: 21px; height: 21px; }
  #lensbar .l { display: inline !important; }
  #lensbar button:hover { color: var(--hv-ink-1); background: rgba(255, 214, 150, 0.05); }
  #lensbar button[aria-selected="true"] { color: var(--hv-honey-2); background: var(--hv-bg-3); box-shadow: inset 0 0 0 1px var(--hv-honey-line); }
  .rail-left, .lens-sheet { left: calc(var(--gutter) + var(--nav-w) + 8px); }
  body[data-lens="now"], body[data-lens="dashboard"] { --lens-w: clamp(420px, 46vw, 720px); }
}
@media (max-width: 799px) { #lensbar { display: none; } }

/* M4 · the Now home */
.now-intro .now-lead { margin: 0; font: 600 16px/1.45 var(--hv-f-body); color: var(--hv-ink-1); text-wrap: pretty; }
.now-sub { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--hv-ink-2); }
.now-demo { margin: 0 0 6px; justify-self: start; font: 600 11px/1 var(--hv-f-body); padding: 5px 8px; border-radius: var(--hv-r-sm); border: 1px dashed var(--hv-honey-2); color: var(--hv-honey-2); }
.now-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.now-tile { display: grid; gap: 3px; align-content: start; min-width: 0; padding: 10px 12px; border-radius: var(--hv-r-md); background: var(--hv-bg-2); border: 1px solid var(--hv-line-1); }
.nt-l { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font: 600 12px/1.3 var(--hv-f-body); color: var(--hv-ink-2); }
.nt-v { font: 700 26px/1.1 var(--hv-f-data); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nt-s { font: 500 11.5px/1.4 var(--hv-f-data); color: var(--hv-ink-3); overflow-wrap: anywhere; }
.nt-split { font: 500 11.5px/1.4 var(--hv-f-data); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.now-pair { display: grid; gap: 10px; min-width: 0; }
.now-pair .np { display: grid; gap: 6px; min-width: 0; align-content: start; }
@media (min-width: 1400px) { .now-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the pair: one compact card size for both (equal weight), so side by side never clips */
.now-pair .cv-hero, .now-pair .cv-hero.cv-t2, .now-pair .cv-hero.cv-t3, .now-pair .cv-hero.cv-t4 { font-size: 30px; }
.now-pair .cv-hero-row { flex-wrap: wrap; row-gap: 2px; }
.now-pair .cv-xm, .now-pair .cv-chg { padding-bottom: 0; font-size: 14px; }
.now-pair .cv-ago { margin-left: 0; }
.now-graph .ng-n { margin: 0; font: 500 13px/1.5 var(--hv-f-data); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.now-graph .ng-s { margin: 0; font-size: 12.5px; color: var(--hv-ink-2); }
.now-graph .ng-go { justify-self: start; min-height: 44px; }

/* M4 · first-run tour (docs/ONBOARDING.md): a card above the page; the step's target gets a honey ring */
#tour {
  position: fixed; z-index: 65; left: 16px; right: 16px;
  bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 10px); max-height: 55vh; overflow-y: auto;
  display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--hv-r-lg);
  background: var(--hv-bg-1); border: 1px solid var(--hv-honey-line); box-shadow: var(--hv-e-3);
}
@media (min-width: 800px) { #tour { left: 50%; right: auto; width: 420px; transform: translateX(-50%); top: calc(var(--top-h) + 40px); bottom: auto; max-height: 70vh; } }
/* #132: on a phone the card rests on whatever sits on the tab bar, never over a tab: the Stream's restore bar (44 px) or chip (8 + 44 px),
   and the open More sheet (#tabs, --more-h; the same condition that shows it) */
@media (max-width: 799px) {
  body[data-strm="fold"] #tour { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 54px); }
  body[data-strm="closed"] #tour { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 62px); }
  body:not([data-tab=""]):not([data-tab="stream"]) #tour { bottom: calc(var(--tab-h) + var(--more-h) + env(safe-area-inset-bottom, 0px) + 10px); }
}
.tour-top { display: flex; align-items: center; gap: 8px; }
.tour-count { margin-left: auto; font: 500 12px var(--hv-f-data); color: var(--hv-ink-3); }
.tour-demo { font: 600 11px/1.2 var(--hv-f-body); color: var(--hv-honey-2); }
.tour-title { margin: 0; font: 800 20px/1.15 var(--hv-f-display); letter-spacing: 0.03em; }
.tour-lead { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hv-ink-1); }
.tour-sub, .tour-fine { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--hv-ink-2); }
.tour-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--hv-ink-2); }
.tour-rows b { color: var(--hv-ink-1); }
.tour-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tour-btns button { min-height: 44px; }
.tour-btns .primary { color: var(--hv-bg-0); background: var(--hv-honey); border-color: var(--hv-honey); }
.tour-hl { outline: 2px solid var(--hv-honey-2) !important; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(245, 184, 61, 0.18) !important; border-radius: var(--hv-r-lg); }
#tour-note { position: fixed; z-index: 64; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 10px); max-width: calc(100vw - 32px); padding: 8px 12px; border-radius: var(--hv-r-md); background: var(--hv-glass-solid); border: 1px solid var(--hv-line-2); font-size: 13px; color: var(--hv-ink-1); }
#tour-replay { margin-top: 8px; min-height: 36px; }

/* M5 · UX audit P1: P1-14 text on --ink-2b (6:1), never --ink-3 (3.9:1; rules and icons only); P1-15 an 11 px floor (above);
   P1-9 44 px targets for the phone's primary controls; P1-7 the ticker-collision badge; P1-13 "Check the data"; P1-1 More */
@media (max-width: 799px) {
  #topbar { background: var(--hv-bg-0); }   /* quality sweep 26 Oct (row 26): opaque over the map on a phone; canvas labels drew through the fade between the controls */
  #topbar .seg button { min-height: 44px; min-width: 44px; }
  #btn-search, #btn-filters { min-height: 44px; min-width: 44px; }
  #lens-close, #drawer .close-btn, #coach-x { width: 44px; height: 44px; min-height: 44px; }
  .sheet-grip { height: 44px; min-height: 44px; margin: -18px 0 -16px; position: relative; z-index: 1; }   /* a 44 px target in the same 10 px of layout */
}
.tbadge { display: inline-block; font: 600 11px/1.2 var(--hv-f-body); padding: 3px 6px; border-radius: var(--hv-r-pill); border: 1px dashed var(--hv-honey-2); color: var(--hv-honey-2); white-space: nowrap; margin-left: 4px; }
td.tk .tstub { font: 500 11px var(--hv-f-data); color: var(--hv-ink-3); }
tr[data-check="1"] td { opacity: 0.8; }
.cv-check { color: var(--hv-warn); border: 1px dashed rgba(255, 181, 71, 0.55); background: rgba(255, 181, 71, 0.08); }
.lv-more { margin-left: 4px; min-height: 28px; padding: 0 8px; border-radius: var(--hv-r-pill); border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-honey-2); font: 600 11.5px var(--hv-f-body); }
@media (max-width: 799px) { .lv-more { min-height: 26px; padding: 0 7px; } body[data-sheet="peek"] .lens-sheet { --sheet-h: 118px; } }
/* M5 P1-9: with 44 px targets the phone top bar needs the room: the hex logo stays, the wordmark text and the status word step aside
   (the status dot keeps its colour; the banner spells a stale or offline state out) */
@media (max-width: 440px) {
  #topbar .wordmark { display: none; }
  #topbar .mode-badge .txt { display: none; }
  #topbar .mode-badge { padding: 0 4px; }
  #topbar { gap: 6px; }
  #topbar .seg button { padding-inline: 8px; }
}

td.mono { font-family: var(--hv-f-data); white-space: nowrap; }
@media (max-width: 799px) {
  body[data-scope="op"] #tabs { grid-template-columns: repeat(var(--more-cols, 6), minmax(0, 1fr)); padding-inline: 4px; }
  body[data-scope="op"] #tabs button { font-size: 11px; letter-spacing: 0; }
  td.mono { white-space: normal; }
}

/* M7 · Players: a winners board and a player card (ported from docs/prototypes/players_real.html). Rings are record states, never
   advice: halo = gate met (n ≥ 20, often ≥ 30 %), dashed gold = gate met but exposure not measured, coral = entity exposure (outranks
   any record), plain = ranked under "often", dotted = too few. */
.phint { position: relative; margin: 0 0 10px; padding: 10px 44px 10px 12px; border: 1px dashed var(--hv-honey-line); border-radius: var(--hv-r-lg); background: var(--hv-honey-bg); font-size: 13px; line-height: 1.5; color: var(--hv-ink-2); }
.phint b { color: var(--hv-honey-2); }
.phint-x { position: absolute; top: 4px; right: 4px; font-size: 18px; }
.ptabs { display: flex; gap: 4px; margin: 0 0 10px; flex-wrap: wrap; }
.ptabs button { min-height: 36px; }
.ptabs button[aria-selected="true"] { color: var(--hv-honey-2); background: var(--hv-bg-3); box-shadow: inset 0 0 0 1px var(--hv-honey-line); }
.phead { margin: 0 0 6px; font-size: 14px; line-height: 1.45; color: var(--hv-ink-2); }
.phead b { font: 700 18px/1.2 var(--hv-f-data); color: var(--hv-ink-1); }
.psub { margin: 4px 0; font-size: 12.5px; line-height: 1.5; color: var(--hv-ink-3); }
.psep { margin: 12px 0 4px; font: 600 12px var(--hv-f-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-3); }
.pboard-l { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 4px; }
.prow { width: 100%; display: grid; grid-template-columns: 30px 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; padding: 6px 8px; text-align: left; border: 1px solid transparent; border-radius: var(--hv-r-lg); background: rgba(255, 214, 150, 0.025); color: var(--hv-ink-1); font: inherit; cursor: pointer; }
.prow:hover { background: var(--hv-bg-2); border-color: var(--hv-line-2); }
.prow.top3 { background: rgba(95, 227, 156, 0.05); }
.prk { font: 700 13px var(--hv-f-data); color: var(--hv-ink-3); text-align: center; }
.prow.top3 .prk { color: var(--hv-honey-2); }
.pwho { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pwho b { font: 700 15px/1.2 var(--hv-f-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pln { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; line-height: 1.35; color: var(--hv-ink-3); }
.pval { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.pval small { font-size: 11px; color: var(--hv-ink-3); white-space: nowrap; }
.pfig { font: 700 20px/1.1 var(--hv-f-data); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.pfig.few { font: 700 15px/1.1 var(--hv-f-display); letter-spacing: 0.04em; color: var(--hv-ink-3); text-transform: uppercase; }
.pxf { color: var(--hv-flag); font-weight: 600; }
.pchip { display: inline-block; padding: 1px 7px; border-radius: var(--hv-r-pill); border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); font: 600 11px/1.5 var(--hv-f-body); color: var(--hv-ink-2); }
.pchip[data-k="insider"] { border-color: var(--hv-co-insider); color: var(--hv-co-insider); }
.pchip[data-k="precursor"] { border-color: var(--hv-co-precursor); color: var(--hv-co-precursor); }
.pchip[data-k="pump_crew"] { border-color: var(--hv-co-crew); color: var(--hv-co-crew); }
.pchip[data-k="wash"] { border-color: rgba(255, 122, 217, 0.5); color: var(--cls-op); }
.pchip[data-k="caller"] { border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.pring { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--hv-bg-2); font: 700 11px var(--hv-f-data); color: var(--hv-ink-2); border: 2px dotted var(--hv-ink-4); box-sizing: border-box; flex: none; }
.pring[data-ring="halo"] { border: 3px solid var(--hv-honey); box-shadow: 0 0 0 3px rgba(245, 184, 61, 0.22), 0 0 14px var(--hv-honey-line); color: var(--hv-honey-2); }
.pring[data-ring="withheld"] { border: 2px dashed var(--hv-honey); color: var(--hv-honey-2); }
.pring[data-ring="exposure"] { border: 3px solid var(--hv-flag); color: var(--hv-flag); }
.pring[data-ring="plain"] { border: 2px solid var(--hv-ink-3); }
.pcard .ptop { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.pback { align-self: flex-start; min-height: 36px; }
.ptop-id { display: flex; align-items: center; gap: 12px; }
.ptop-id .pring { width: 52px; height: 52px; font-size: 13px; }
.pid { font: 800 22px/1.1 var(--hv-f-display); letter-spacing: 0.03em; }
.psec { padding: 12px 0; border-top: 1px solid var(--hv-line-2); }
.psec h4 { margin: 0 0 8px; font: 700 13px var(--hv-f-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-2); }
.peyebrow { font: 600 11.5px var(--hv-f-body); letter-spacing: 0.05em; text-transform: uppercase; color: var(--hv-ink-3); }
.phero { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
.phero .pfig { font-size: 44px; }
.phero .pfig.few { font-size: 34px; }
.ptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ptile { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: var(--hv-r-md); background: var(--hv-bg-2); border: 1px solid var(--hv-line-2); }
.ptl { font-size: 11.5px; color: var(--hv-ink-3); }
.ptv { font: 700 17px/1.2 var(--hv-f-data); color: var(--hv-ink-1); }
.pts { font-size: 11px; color: var(--hv-ink-3); }
.pcoh { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--hv-ink-2); }
.ptok { padding: 8px 0; border-bottom: 1px dashed var(--hv-line-2); font-size: 13px; line-height: 1.5; }
.ptok p { margin: 2px 0; }
.ptok-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.ptok-h small { color: var(--hv-ink-3); font-size: 11.5px; }
.pnm { color: var(--hv-ink-3); font-style: italic; }
.pxrow { display: grid; grid-template-columns: minmax(0, 11em) auto minmax(0, 1fr); gap: 4px 10px; padding: 6px 0; font-size: 12.5px; line-height: 1.4; border-bottom: 1px dashed rgba(255, 214, 150, 0.08); }
.pxrow .lbl { color: var(--hv-ink-2); }
.pxrow .v { font: 600 12.5px var(--hv-f-data); color: var(--hv-ink-1); }
.pxrow .why { color: var(--hv-ink-3); }
.pxrow.hit .v { color: var(--hv-flag); }
@media (max-width: 799px) { .pxrow { grid-template-columns: minmax(0, 1fr) auto; } .pxrow .why { grid-column: 1 / -1; } }
.plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--hv-ink-2); }
.plist code { font: 500 12px var(--hv-f-data); color: var(--hv-ink-1); }
.plink, .pshare { min-height: 36px; }
.pshare { color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.plk { color: var(--hv-honey-2); font-size: 13px; }
.pnoshare { margin: 0 0 6px; font-size: 12.5px; color: var(--hv-flag); }
.cv-share { color: var(--hv-honey-2); }

/* M7 · the share composer: a dialog over the page; the preview is the real PNG canvas scaled down */
.share { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: var(--hv-scrim); }
.share[hidden] { display: none; }
.share-box { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--hv-r-xl); background: var(--hv-bg-1); border: 1px solid var(--hv-line-2); box-shadow: var(--hv-e-3); }
.share-top { display: flex; align-items: center; justify-content: space-between; }
.share-top h3 { margin: 0; font: 800 20px var(--hv-f-display); letter-spacing: 0.04em; }
.share-close { min-width: 44px; min-height: 44px; }
.share-sizes { display: flex; gap: 4px; flex-wrap: wrap; }
.share-sizes button { min-height: 36px; font-size: 12px; }
.share-sizes button[aria-pressed="true"] { color: var(--hv-honey-2); background: var(--hv-bg-3); box-shadow: inset 0 0 0 1px var(--hv-honey-line); }
.share-prev { display: grid; place-items: center; padding: 8px; border-radius: var(--hv-r-lg); background: #080706; }
.share-cv { display: block; width: 100%; height: auto; max-height: 52vh; object-fit: contain; border-radius: 8px; }
.share-prev[data-shape="9x16"] .share-cv { width: auto; max-width: 100%; }
.share-locks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; color: var(--hv-ink-2); }
.share-locks li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.share-lock { font: 600 11px var(--hv-f-body); letter-spacing: 0.05em; text-transform: uppercase; color: var(--hv-ink-3); }
.share-fine { margin: 0; font-size: 12px; line-height: 1.45; color: var(--hv-ink-3); }
.share-acts { display: flex; gap: 8px; justify-content: flex-end; }
.share-acts button { min-height: 44px; padding-inline: 16px; }
.share-save, .share-share { color: var(--hv-bg-0); background: var(--hv-honey); border-color: var(--hv-honey); font-weight: 700; }
.share-share { order: 2; }
@media (prefers-reduced-motion: no-preference) { .share-box { animation: share-in 0.18s ease-out; } }
@keyframes share-in { from { opacity: 0; } to { opacity: 1; } }
.pback, .pshare, .plink, .share-close, .share-sizes button, .ptabs button, .share-acts button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; border-radius: var(--hv-r-md);
  background: var(--hv-bg-3); border: 1px solid var(--hv-line-1); color: var(--hv-ink-1); font: 600 12.5px var(--hv-f-body); cursor: pointer; }
.pback:hover, .pshare:hover, .plink:hover, .share-close:hover, .share-sizes button:hover, .ptabs button:hover { border-color: var(--hv-line-2); background: var(--hv-bg-4); }
.plink { min-height: 32px; padding: 0 8px; font-family: var(--hv-f-data); font-size: 12px; }
.pshare { color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.share-acts .share-save, .share-acts .share-share { color: var(--hv-bg-0); background: var(--hv-honey); border-color: var(--hv-honey); font-weight: 700; }
@media (max-width: 520px) { .share-sizes .ss-d { display: none; } .share-sizes button { flex: 1; } }
/* Retail language pass: the big flow words on call cards (they describe the market cap; they never advise) */
.cv-flow { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--hv-r-pill); font: 800 12px/1.2 var(--hv-f-display); letter-spacing: 0.08em; }
.cv-flow[data-flow="up"] { color: var(--hv-win-1); background: rgba(95, 227, 156, 0.12); box-shadow: inset 0 0 0 1px rgba(95, 227, 156, 0.45); }
.cv-flow[data-flow="cool"] { color: var(--hv-ink-2); background: var(--hv-bg-3); box-shadow: inset 0 0 0 1px var(--hv-line-2); }
.cv-flow[data-flow="dn"] { color: var(--hv-loss); background: var(--hv-loss-bg); box-shadow: inset 0 0 0 1px var(--hv-loss-line); }

/* M10 · the Calls Feed toward v4 (docs/calls_v4_prototype_2026-09-30.html) on the design system's tokens: sticky one-tap chain chips
   with counts, a Top runners rail (big glowing multiple, TOP / NOW chips, the call → top → now shape), live cards with one big state
   word, Top so far / Now / Called at, the buy / sell bar, "Launched by … · ROLE"; DOWN 80%+ collapsed. Up green only; no gradient text. */
.calls-chain { position: sticky; top: 0; z-index: 3; background: var(--hv-bg-1); box-shadow: 0 6px 10px -8px rgba(0, 0, 0, 0.6); }
/* QA 09-30: sticky under the lens body's top padding (12 px desktop, 10 px phone): rows no longer show through the gap above the chips */
.lens-body .calls-chain { top: -12px; }
@media (max-width: 799px) { .lens-body .calls-chain { top: -10px; } }
.calls-chain .cf-n { margin-left: 6px; font: 600 11px var(--hv-f-data); color: var(--hv-ink-3); }
.calls-chain button[aria-pressed="true"] .cf-n { color: var(--hv-honey-2); }
.cv-runners .cv-rstrip + .cv-rstrip { margin-top: 12px; }
.cv-rden { display: block; margin: 4px 0 8px; font-size: 12.5px; line-height: 1.6; color: var(--hv-ink-2); }
.cv-rden .chain { margin-right: 6px; }
.cv-rden small { color: var(--hv-ink-3); font-size: 11px; }
.cv-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
/* v5 fix pass ( #4, VERIFY_FLOWS #10): on a desktop nothing in the Calls panel scrolls sideways, not even inside it (a
   Windows browser drew the rail's thin bar at the panel's foot): the record's runners wrap into a grid, Operator's lane tabs wrap.
   The phone keeps its swipe carousel. */
@media (min-width: 800px) {
  .cv-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); overflow-x: visible; scroll-snap-type: none; padding-bottom: 0; }
  .cv-rail .cv-runner { min-width: 0; }
  .calls-ctl .calls-tabs { flex-wrap: wrap; overflow-x: visible; row-gap: 4px; border-radius: 14px; }
}
.cv-runner { position: relative; flex: 0 0 min(230px, 78%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: var(--hv-r-lg); background: var(--hv-bg-2); border: 1px solid var(--hv-line-2); overflow: hidden; }
.cv-runner::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px; background: radial-gradient(closest-side, rgba(95, 227, 156, 0.14), transparent); pointer-events: none; }
.cv-rk { position: absolute; top: 10px; right: 10px; font: 700 12px var(--hv-f-data); color: var(--hv-honey-2); background: var(--hv-honey-bg); border: 1px solid var(--hv-honey-line); border-radius: var(--hv-r-pill); padding: 2px 8px; }
.cv-rwho { display: flex; flex-direction: column; gap: 2px; padding-right: 42px; min-width: 0; }
.cv-rwho b { font: 800 18px/1.1 var(--hv-f-display); letter-spacing: 0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-rwho small { font-size: 11px; color: var(--hv-ink-3); }
.cv-rfig { display: flex; align-items: center; gap: 8px; }
.cv-rbig { font: 700 40px/1 var(--hv-f-data); letter-spacing: -0.02em; }
.cv-rbig.cv-up { text-shadow: 0 0 22px rgba(95, 227, 156, 0.45); }
.cv-rnow, .cv-rrule { margin: 0; font-size: 12.5px; color: var(--hv-ink-2); }
.cv-run { width: 100%; height: 46px; display: block; }
.cv-run-base { stroke: var(--hv-line-2); stroke-width: 1; stroke-dasharray: 3 4; }
.cv-run-line { fill: none; stroke: var(--hv-win-1); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cv-run-line.dn { stroke: var(--hv-loss); }
.cv-run-call { fill: var(--hv-ink-2); }
.cv-run-top { fill: var(--hv-honey); }
.cv-run-now { fill: var(--hv-win-1); }
.cv-run-now.dn { fill: var(--hv-loss); }
.cv-wordrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 6px; }
.cv-word { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: var(--hv-r-md); font: 800 15px/1 var(--hv-f-display); letter-spacing: 0.08em; white-space: nowrap; border: 1px solid transparent; }
.cv-word[data-tone="g"] { color: var(--hv-win-1); background: rgba(95, 227, 156, 0.12); border-color: rgba(95, 227, 156, 0.4); }
.cv-word[data-tone="r"] { color: var(--hv-loss); background: var(--hv-loss-bg); border-color: var(--hv-loss-line); }
.cv-word[data-tone="n"] { color: var(--hv-ink-2); background: var(--hv-bg-3); border-color: var(--hv-line-2); }
.cv-wline { font-size: 12.5px; color: var(--hv-ink-2); }
.cv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 6px 0; }
.cv-stat { min-width: 0; padding: 7px 9px; border-radius: var(--hv-r-md); background: var(--hv-bg-1); border: 1px solid var(--hv-line-1); }
.cv-stat > span { display: block; font: 600 11px var(--hv-f-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-3); }
.cv-stat b { display: block; margin-top: 2px; font: 700 17px/1.2 var(--hv-f-data); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-flowwrap { margin: 4px 0 6px; }
.cv-flowbar { height: 8px; border-radius: var(--hv-r-pill); background: var(--hv-loss-bg); box-shadow: inset 0 0 0 1px var(--hv-loss-line); overflow: hidden; }
.cv-flowbar i { display: block; height: 100%; width: var(--w, 50%); background: var(--hv-win-1); border-radius: var(--hv-r-pill); transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
@starting-style { .cv-flowbar i { width: 0; } }
.cv-fleg { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11.5px; color: var(--hv-ink-3); }
.cv-fleg b { font: 600 12px var(--hv-f-data); }
.cv-fleg .by { color: var(--hv-win-1); }
.cv-fleg .sl { color: var(--hv-loss); }
.cv-fleg [data-zero] { color: var(--hv-ink-2); }   /* #154: a zero tally ("0 sells") is neutral ink */
.p-fleg .by[data-zero] b, .p-fleg .sl[data-zero] b { color: var(--hv-ink-2); }   /* the Prime card's legend (beats prime.css .p-fleg .sl b) */
.cv-behind { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--hv-line-1); font-size: 12.5px; color: var(--hv-ink-2); }
.cv-behind code { font: 500 12px var(--hv-f-data); color: var(--hv-ink-1); }
.cv-role { font: 700 11px var(--hv-f-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--hv-r-sm); color: var(--hv-honey-2); background: var(--hv-honey-bg); border: 1px solid var(--hv-honey-line); }
.cv-role-e { color: var(--hv-flag); background: var(--hv-flag-bg); border-color: var(--hv-flag-line); }
.cv-behind .cv-lk { min-height: 32px; margin-left: auto; }
.cv-gyfold > summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 10px; }
.cv-gyfold > summary::-webkit-details-marker { display: none; }
.cv-gyfold > summary::after { content: "▸"; margin-left: auto; color: var(--hv-ink-3); }
.cv-gyfold[open] > summary::after { content: "▾"; }

/* Calls v4.2 · sources (independent on / off, one tap), pump.fun cards (Retail: tokens and caps only), FOMO empty state */
.cv-srcrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 10px; }
.cv-srcrow .lbl { font: 600 11px var(--hv-f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-3); margin-right: 2px; }
button.cv-src { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: var(--hv-r-md); border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-2); font: 600 13px var(--hv-f-body); cursor: pointer; }
button.cv-src[aria-checked="true"] { color: var(--hv-ink-1); border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.cv-src[hidden] { display: none; }
.cv-tick { position: relative; flex: none; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--hv-line-3, #85714f); }
.cv-src[aria-checked="true"] .cv-tick { background: var(--hv-honey); border-color: var(--hv-honey); }
.cv-src[aria-checked="true"] .cv-tick::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid var(--hv-bg-0); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cv-demo { font: 700 11px var(--hv-f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-warn); border: 1px solid var(--hv-warn-line); border-radius: var(--hv-r-sm); padding: 1px 6px; }
@media (max-width: 799px) { button.cv-src { min-height: 44px; } }   /* major-r1 hplay: the source chips' tap size (a pop-up's HIVE tag is a label, not a target: it stood 44 px tall) */
.cv-pfgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cv-pfc { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: var(--hv-r-lg); background: var(--hv-bg-2); border: 1px solid var(--hv-line-2); min-width: 0; }
.cv-pfc p { margin: 0; font-size: 12.5px; color: var(--hv-ink-2); }
.cv-pftop { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.cv-pfsym { font: 800 18px/1.1 var(--hv-f-display); letter-spacing: 0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-pfbig { display: flex; align-items: center; gap: 8px; }
.cv-pfbig > span:first-child { font: 700 34px/1 var(--hv-f-data); }
.cv-pfc .cv-links { margin-top: 4px; }
/* major-r1 callers: pump.fun caller cards (Member view), core feed and Prime (.p-pfc keeps its frame from prime.css) */
.pfc .pfc-id { min-width: 0; }
.pfc .pfc-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfc-l { font: 600 11px/1.3 var(--hv-f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.pfc .pfc-rec, .pfc .pfc-dumpn { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pfc .pfc-rec b, .pfc .pfc-dumpn b { font: 700 14px/1.35 var(--hv-f-data); color: var(--hv-ink-1); }
.pfc-fs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px 10px; }
.pfc-f { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pfc-v { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font: 700 15px/1.2 var(--hv-f-data); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.pfc-s { font-size: 11.5px; color: var(--hv-ink-3); }
.pfc-calls > b { font: 700 13px var(--hv-f-data); color: var(--hv-ink-1); }
.pfc-calls ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.pfc-c { display: grid; gap: 4px; padding-top: 8px; border-top: 1px solid var(--hv-line-1); min-width: 0; }
.pfc-ct { font-size: 12.5px; color: var(--hv-ink-2); overflow-wrap: anywhere; }
.pfc-ct b { color: var(--hv-ink-1); }
.pfc-cx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 700 15px/1.2 var(--hv-f-data); }
.pfc .pfc-dump { margin: 0; padding: 4px 8px; border-left: 3px solid var(--hv-warn); border-radius: 0 6px 6px 0; background: var(--hv-warn-bg); color: var(--hv-warn-ink); font-size: 12px; line-height: 1.4; }
.pfc-c .pfc-lk { justify-self: start; }
.pfc-more { justify-self: start; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); font: 600 13px var(--hv-f-body); cursor: pointer; }
.p-pfcall .pfc-more { margin-top: 12px; }
@media (max-width: 799px) { .pfc-more { min-height: 44px; } }
.cv-nosrc { padding: 18px; border: 1px dashed var(--hv-line-2); border-radius: var(--hv-r-lg); text-align: center; }
.cv-internal { margin: 4px 0 10px; padding: 10px 12px; border-radius: var(--hv-r-md); background: var(--hv-warn-bg); border: 1px solid var(--hv-warn-line); color: var(--hv-warn-ink); font-size: 13px; line-height: 1.45; }
.cv-acct { color: var(--hv-honey-2); font: 500 12px var(--hv-f-data); }
.cv-first { font: 700 11px var(--hv-f-body); letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--hv-r-sm); color: var(--hv-honey-2); background: var(--hv-honey-bg); }
.cv-first.pf { color: var(--hv-warn); background: var(--hv-warn-bg); }
.cv-opstrip { margin: 0 0 8px; padding: 7px 9px; border-radius: var(--hv-r-md); background: var(--hv-honey-bg); border: 1px dashed var(--hv-honey-line); font: 500 12px/1.5 var(--hv-f-data); color: var(--hv-ink-2); word-break: break-word; }
.cv-opstrip b { color: var(--hv-honey-2); font-weight: 600; }
.cv-legend > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.cv-legend > summary::-webkit-details-marker { display: none; }
.cv-legend > summary::after { content: "▸"; margin-left: auto; color: var(--hv-ink-3); }
.cv-legend[open] > summary::after { content: "▾"; }
.cv-legl { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 8px; }
.cv-legl li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--hv-ink-2); }
.cv-legl .cv-word, .cv-legl .cv-role { min-width: 118px; justify-content: center; text-align: center; flex: none; }
/* v4.2 Operator tables fit the phone: cells wrap instead of widening the table */
[data-pf-first] table.lt td:not(.n), [data-pf-top] table.lt td:not(.n), [data-lane-board] table.lt td:not(.n), [data-pf-lanes] table.lt th, [data-lane-board] table.lt th, [data-pf-first] table.lt th, [data-pf-top] table.lt th { white-space: normal; }
[data-pf-first] table.lt td code { word-break: break-all; }
.cv-flowbar[data-zero="1"] { background: var(--hv-bg-3); box-shadow: inset 0 0 0 1px var(--hv-line-2); }
.cv-flowbar[data-zero="1"] i { display: none; }
.precord { margin: 2px 0 8px; font-size: 13px; color: var(--hv-ink-2); }
.precord b { color: var(--hv-ink-1); font-family: var(--hv-f-data); }
.cv-res-slice, .cv-res-win { margin: 2px 0; font-size: 12.5px; color: var(--hv-ink-2); }
/* demo pass M4: the Retail figure pair; the state word is a button that shows its line on a tap */
.cv-pair .cv-stat { display: flex; flex-direction: column; gap: 2px; }
.cv-pair .cv-stat .cv-lchip { align-self: flex-start; }
.cv-rliq .cv-lchip { white-space: normal; line-height: 1.3; }   /* R0-05j: "… after the peak" wraps in a 230 px card */
.cv-rnow .cv-lchip, #prime .cv-rnow .cv-lchip { text-transform: none; letter-spacing: 0.02em; }   /* #188 row 30 (AC-W14): the runner chip reads "Now" / "Last check · {ago}" as written */
.cv-pair .cv-stat small { font: 500 11.5px var(--hv-f-data); color: var(--hv-ink-3); }
/* review 10-01 F2: a Retail pair figure is never cut to "▼ −99.…": it wraps (and shrinks a little on a phone) instead */
.cv-pair .cv-stat b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-size: clamp(14px, 3.6vw, 17px); }
@media (min-width: 800px) { .now-pair .cv-pair .cv-stat b:not(.cv-nmv) { font-size: 15px; } }   /* the two narrow Now cards: "▼ −99.7%" on one line */
.cv-stat b.cv-nmv { font: 600 12.5px/1.3 var(--hv-f-body); white-space: normal; overflow: visible; text-overflow: clip; color: var(--hv-ink-2); }   /* integration v4: the Operator tiles too ("No pool reading in 24 h" was cut to "…") */
button.cv-word { cursor: pointer; min-height: 36px; }
@media (max-width: 799px) { .cv-ctl .seg button, .cv-pause, button.cv-word { min-height: 44px; } }   /* quality sweep 27 Oct (row 37): the core Calls lens (?lens=calls&prime=0) keeps no 36 px control on a phone */
.cv-wline[hidden] { display: none; }
.cv-record > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 10px; }
.cv-record > summary::-webkit-details-marker { display: none; }
.cv-record > summary::after { content: "▸"; margin-left: auto; color: var(--hv-ink-3); }
.cv-record[open] > summary::after { content: "▾"; }

/* demo pass M5: paste a CA (dash-lookup sheet) + the token sheet's insider tape */
.lk-status { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--hv-ink-2); }
.lk-status b { color: var(--hv-ink-1); font-weight: 600; }
.lk-status .mini-btn { margin-left: 6px; }
.lk-links { flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.lk-stale { margin: 0 0 8px; font-size: 12px; color: var(--hv-ink-3); }
.lk-line { margin: 2px 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.tier-o { margin: -2px 0 6px; font-size: 12px; color: var(--hv-ink-3); }
/* FA-B16 Coin check: one row per part; a flagged part carries an amber edge and a "Flag" chip, an unread part reads dimmer */
.cc-head b { font-family: var(--hv-f-data); }
.cc-parts { list-style: none; margin: 6px 0; padding: 0; }
.cc-row { display: grid; gap: 2px; padding: 7px 0 7px 10px; border-left: 2px solid transparent; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.cc-row[data-flag="1"] { border-left-color: var(--hv-warn); }
.cc-row[data-nc="1"] .cc-fact { color: var(--hv-ink-3); }
.cc-name { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cc-flag { font-family: var(--hv-f-data); font-size: var(--hv-text-cap); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-warn);
  border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; line-height: 1.5; }
.cc-fact { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.cc-rule { font-size: 11px; line-height: 1.4; color: var(--hv-ink-3); overflow-wrap: anywhere; }
.cc-more { margin: 6px 0; font-size: 12px; }
.cc-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.cc-list { margin: 2px 0 6px; padding-left: 22px; line-height: 1.55; overflow-wrap: anywhere; }
/* major-r1-cchead (N5 + S33): the people count under the head (unread: the reason opens on a tap); Solana's holder counts above its groups */
.cc-people { margin: 2px 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
details.cc-people summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--hv-ink-2); }
details.cc-people p { margin: 0 0 6px; font-size: 12px; line-height: 1.4; color: var(--hv-ink-3); }
.cc-counts { margin-top: 8px; }
/* major-r1 C1 (founders' ): Replays, its own tab. One row per call: the coin and chain, the call's line, ▶ Replay on the right;
   an up call carries a green edge, a down call a red one (losers stay in the list). */
.rp-n { margin: 0 0 var(--hv-s-2); }
.rp-list { list-style: none; margin: var(--hv-s-1) 0; padding: 0; }
.rp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id play" "line play"; column-gap: var(--hv-s-3); row-gap: 2px;
  align-items: center; padding: var(--hv-s-2) 0 var(--hv-s-2) var(--hv-s-2); border-top: 1px solid var(--hv-line-1); border-left: 2px solid transparent; }
.rp-row[data-tone="up"] { border-left-color: var(--hv-win-2); }
.rp-row[data-tone="dn"] { border-left-color: var(--hv-loss); }
.rp-id { grid-area: id; display: flex; align-items: center; gap: var(--hv-s-2); min-width: 0; }
.rp-id b { font-family: var(--hv-f-data); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-line { grid-area: line; margin: 0; font-size: var(--hv-text-sm); line-height: var(--hv-lh-snug); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.rp-play { grid-area: play; min-height: 44px; min-width: 44px; padding: 0 var(--hv-s-3); border-radius: var(--hv-r-pill); border: 1px solid var(--hv-honey-line);
  background: var(--hv-honey-bg); color: var(--hv-honey-2); font: 700 var(--hv-text-sm)/1 var(--hv-f-body); cursor: pointer; white-space: nowrap; }
.rp-line .rp-up { color: var(--hv-win-2); }
.rp-line .rp-dn { color: var(--hv-loss); }
.rp-fig { flex: none; margin-left: auto; font-size: var(--hv-text-sm); color: var(--hv-ink-2); white-space: nowrap; }   /* r1b replays (P3): the move since the call */
.rp-fig b { font-family: var(--hv-f-data); color: var(--hv-ink-1); }
.rp-fig .rp-up { color: var(--hv-win-2); }
.rp-fig .rp-dn { color: var(--hv-loss); }
.rp-play:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
/* r1b replays (NEW-208): a phone's floating Bee (right 12 px, 52 px, above the tabs) never sits over a row's ▶ Replay: the button leads the
   row at the left edge, and the list ends with room to scroll its last row clear of the Bee */
@media (max-width: 799px) {
  .rp-row { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "play id" "play line"; }
  body[data-lens="replays"] #lens-body { padding-bottom: calc(52px + 28px + env(safe-area-inset-bottom, 0px)); }
  body[data-lens="tracked"] #lens-body { padding-bottom: calc(52px + 28px + env(safe-area-inset-bottom, 0px)); }   /* r1b aw: Tracked ends on Check my wallet's button: room to scroll it clear of the Bee */
}
.lk-line code { font-size: 12px; }
.lk-insider, [data-tsheet="insider"] { border-left: 2px solid var(--hv-honey); padding-left: 10px; }
.lk-cov { color: var(--hv-ink-3); font-size: 12px; }
.lk-sub { padding-left: 12px; }   /* : an insider group sits under "Insider groups, all time:" */
.lk-sig, .lk-top, .lk-trades, .lk-legend { list-style: none; margin: 4px 0; padding: 0; font-size: 12px; line-height: 1.5; }
.lk-sig li, .lk-top li, .lk-trades li, .lk-legend li { padding: 2px 0; overflow-wrap: anywhere; }
.lk-legend { color: var(--hv-ink-3); }
.lk-go { margin-left: 6px; }
.tmore { font-size: 12px; margin: 4px 0; }

/* demo pass M6: pusher 2.2.6 hooks on the runners strip */
.cv-rexpl { margin: 2px 0 6px; font-size: 12px; line-height: 1.45; color: var(--hv-ink-2); }
.cv-rliq { margin: 2px 0; }

/* demo pass M8: a retail key (dash-read-v2 scope) — the pill replaces the Member | Operator switch */
.scope-pill { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hv-honey); background: transparent; color: var(--hv-honey); font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.scope-pill[hidden], .scope-note[hidden] { display: none; }
.scope-note { position: absolute; top: calc(100% + 6px); left: 16px; right: 16px; max-width: 360px; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--hv-bg-2); border: 1px solid var(--hv-honey); color: var(--hv-ink-1); font-size: 13px; line-height: 1.45; z-index: 60; }
@media (max-width: 799px) { .scope-pill { padding: 0 10px; font-size: 12px; flex-shrink: 0; } }
.scope-pill .sh { display: none; }
@media (max-width: 799px) { .scope-pill .lg { display: none; } .scope-pill .sh { display: inline; } }

/* demo pass M9: data age on every block — amber "Last check", dimmed "Data is n h old"; the Operator Data health strip */
.agechip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; border: 1px solid currentColor; }
.agechip[data-level="warn"] { color: var(--hv-warn); background: var(--hv-warn-bg); }
.agechip[data-level="crit"] { color: var(--hv-ink-2); background: var(--hv-bg-2); }
.agechip small { font-size: inherit; font-weight: 500; opacity: 0.85; }
#lens-body[data-age="stale"] .lcard, #lens-body[data-age="stale"] .cv-sec, #lens-body[data-age="stale"] .now-tiles-card, #lens-body[data-age="stale"] .now-pair, .lcard[data-age-level="stale"] { opacity: 0.62; }
.cv-eyebrow .agechip { margin-left: 6px; vertical-align: middle; }
.datahealth { margin: 0 0 10px; }
.datahealth tr[data-state="stale"] th, .datahealth tr[data-state="missing"] th { color: var(--hv-loss); }

/* DATA DEPTH (docs/DATA_DEPTH_2026-09-30.md §3): the size of our tapes. Plain counts in neutral ink (activity is not a gain: only
   records and up-moves are green); no count-up on these figures; a real between-poll change gets the tick flash (transform/opacity). */
.dstrips { display: grid; gap: 6px; margin-top: 10px; }
.dstrip-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; }
.dstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.dstrip-i { display: grid; gap: 2px; align-content: start; min-width: 0; padding: 7px 8px; border-radius: var(--hv-r-md); background: var(--hv-bg-2); border: 1px solid var(--hv-line-1); }
.dstrip-i b { font: 700 17px/1.1 var(--hv-f-data); letter-spacing: -0.01em; color: var(--hv-ink-1); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dstrip-i span { font: 600 11px/1.25 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.pl-chsec .dstrip { margin: 4px 0 8px; }
.dd-tick { animation: ddtick 0.9s ease-out 1; }
@keyframes ddtick { 0% { opacity: 0.35; transform: translateY(-2px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dd-tick { animation: none; } }
body[data-motion="reduced"] .dd-tick { animation: none; }
/* "Our data" on Now: label · figure · window; Operator adds the def, the source badge and the as-of */
.now-data .dd-chain { display: grid; gap: 4px; margin-top: 6px; }
.now-data .dd-ch { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; font: 700 12px var(--hv-f-body); color: var(--hv-ink-2); }
.dd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 2px 10px; padding: 6px 2px; border-bottom: 1px dashed rgba(255, 214, 150, 0.08); font-size: 13px; }
.dd-row .dd-l { color: var(--hv-ink-2); min-width: 0; }
.dd-row .dd-v { font: 700 14px/1.2 var(--hv-f-data); color: var(--hv-ink-1); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; }
.dd-row .dd-v.nm { color: var(--hv-ink-3); font-weight: 600; }
.dd-row .dd-w { font: 500 11px var(--hv-f-data); color: var(--hv-ink-3); white-space: nowrap; min-width: 4.5em; text-align: right; }
.dd-row .dd-x { grid-column: 1 / -1; font-size: 11.5px; line-height: 1.4; color: var(--hv-ink-3); }
.dd-row .dd-b { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 11px; color: var(--hv-ink-3); }
.dd-row .dd-b small { font-size: 11px; }
.dd-row[data-old="1"] .dd-w, .dd-row[data-old="1"] .dd-b small { color: var(--hv-warn); }
.dd-foot { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--hv-ink-3); }
.now-graph .ng-d { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 500 12.5px/1.5 var(--hv-f-data); color: var(--hv-ink-2); }
.fc-depth { margin: 2px 0 0; font: 500 12px/1.5 var(--hv-f-data); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.fc-depth:empty { display: none; }
.fc-depth .fc-d { display: block; }   /* review 09-30: one line per chain */
/* QA 09-30: a dated strip figure shows its date; the hive card's chain line keeps its text beside the tag */
.dstrip-i .dstrip-d { font: 500 11px/1.2 var(--hv-f-data); color: var(--hv-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-graph .ng-d { align-items: baseline; }
.now-graph .ng-d .ng-dt { flex: 1 1 0; min-width: 0; }
.pl-more-fig { color: var(--hv-ink-2); font-weight: 500; }
.both-ch { font: 500 11px var(--hv-f-body); letter-spacing: 0; text-transform: none; color: var(--hv-ink-3); }
/* Players → Wallets: one section per chain, board chips with counts, 25 rows a page */
.pl-chain { margin: 0 0 10px; }
.pl-chain button { white-space: nowrap; }
.pl-chain .cf-n { margin-left: 2px; font: 600 11px var(--hv-f-data); color: var(--hv-ink-3); }
.pl-chain button[aria-pressed="true"] .cf-n { color: var(--hv-honey-2); }
.pl-chsec { padding: 10px 0 4px; border-top: 1px solid var(--hv-line-2); }
.pl-chsec:first-of-type { border-top: 0; padding-top: 2px; }
.pl-chhead { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 700 14px var(--hv-f-body); color: var(--hv-ink-1); }
.pln2 { flex-basis: 100%; color: var(--hv-ink-3); }
.pln2.pnm { font-style: normal; color: var(--hv-ink-3); opacity: 0.9; }
.pfig-w { display: inline-flex; align-items: center; gap: 6px; }
.pchips { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pfig.plast { font: 600 14px/1.1 var(--hv-f-data); color: var(--hv-ink-2); }
.pmore { width: 100%; min-height: 44px; margin: 6px 0 2px; border-radius: var(--hv-r-lg); border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); font: 600 13px var(--hv-f-body); cursor: pointer; }
.pmore:hover { background: var(--hv-bg-3); }
/* Players · the Member wallet board (): ONE sticky state row (class chips · sort · ranked only), rows with the wallet's
   newest buy and two quick buttons, the top 10 then "Show 10 more", the unranked wallets behind one row. Up figures stay green. */
.plm-state { position: sticky; top: -12px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; margin: -4px 0; padding: 8px 0; background: var(--hv-bg-1); box-shadow: 0 6px 10px -8px rgba(0, 0, 0, 0.6); }
.plm-chips, .plm-sort { display: flex; align-items: center; gap: 6px; min-width: 0; }
.plm-chips { flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }   /* a long class list scrolls sideways inside its own row */
.plm-chips::-webkit-scrollbar { display: none; }
.plm-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-2); font: 600 12.5px var(--hv-f-body); white-space: nowrap; cursor: pointer; }
.plm-chip:hover { color: var(--hv-ink-1); border-color: var(--hv-ink-4); }
.plm-chip[aria-pressed="true"] { color: var(--hv-honey-2); border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.plm-chip .cf-n { font: 600 11px var(--hv-f-data); color: var(--hv-ink-3); }
.plm-chip.plm-churn { border-style: dashed; }   /* fix B: the back-and-forth (churn) class sits apart: last, off by default, never in "All" */
.plm-chip[aria-pressed="true"] .cf-n { color: var(--hv-honey-2); }
.plm-chip:focus-visible, .plm-sw:focus-visible, .plm-open:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
/* #95: Wallets empty and error. The lines are ink-2; Try again is a 44 px tap; no red on either state */
.wl-state, .wl-err { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 160px; margin: 8px 0; text-align: center; max-width: 100%; }
.wl-empty, .wl-err-t { margin: 0; max-width: 36ch; color: var(--hv-ink-2); font: 500 15px/1.4 var(--hv-f-body); overflow-wrap: anywhere; }
.wl-retry { flex: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); font: 600 14px/1 var(--hv-f-body); cursor: pointer; }
.wl-retry:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
.wl-retry[disabled] { cursor: default; }
.wl-spin { display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .wl-spin { animation: none; } }
body[data-motion="reduced"] .wl-spin { animation: none; }
.plm-stl { font: 700 11px var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-3); }
.plm-sw { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: none; color: var(--hv-ink-2); font: 600 12.5px var(--hv-f-body); white-space: nowrap; cursor: pointer; }
.plm-sw-k { position: relative; flex: none; width: 28px; height: 16px; border-radius: 999px; background: var(--hv-bg-4); }
.plm-sw-k::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--hv-ink-3); transition: transform 0.15s ease; }
.plm-sw[aria-checked="true"] { color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.plm-sw[aria-checked="true"] .plm-sw-k { background: var(--hv-honey-bg); }
.plm-sw[aria-checked="true"] .plm-sw-k::after { transform: translateX(12px); background: var(--hv-honey); }
@media (prefers-reduced-motion: reduce) { .plm-sw-k::after { transition: none; } }
body[data-motion="reduced"] .plm-sw-k::after { transition: none; }
.plm-sort .plm-chip { padding: 0 9px; font-size: 12px; }
.plm-state > .plm-sw { padding: 0 9px 0 7px; gap: 6px; font-size: 12px; }   /* sort + the switch share one line in the 476 px lens panel; they wrap when they cannot */
.plm-fbtn { display: none; }
.plm-chip.set-c { min-height: 44px; border-radius: 14px; }
.plm-line { margin: 0; font-size: 14px; line-height: 1.4; color: var(--hv-ink-1); }
.plm-leg { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.plm-legchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--hv-line-2); font: 600 11.5px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.pring.plm-legring { width: 14px; height: 14px; border-width: 2px; box-shadow: none; }
.plm-l { gap: 6px; }
.plm-li { display: grid; min-width: 0; border: 1px solid var(--hv-line-1); border-radius: var(--hv-r-lg); background: rgba(255, 214, 150, 0.025); }
.plm-li .prow { background: none; }
.prow.plm-nork { grid-template-columns: 40px minmax(0, 1fr) auto; }   /* quality sweep 26 Oct (row 10, #80): no rank, no rank column */
@media (min-width: 800px) { .plm-li[data-plm-row="unranked"] .plm-buy, .plm-li[data-plm-row="unranked"] .plm-tar { padding-left: 8px; } }   /* under the ring, as a ranked row's */
.plm-li .pwho b { font-size: 15px; white-space: normal; overflow: visible; overflow-wrap: anywhere; }   /* the class word is never cut to "…" */
.plm-li .pring { font-size: 12px; }
.plm-buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; min-width: 0; padding: 0 8px 8px 48px; }
.plm-buy-t { min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--hv-ink-2); overflow-wrap: anywhere; }
.plm-buy-l { margin-right: 2px; font: 700 11px var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-3); }
.plm-tk { font-weight: 700; color: var(--hv-ink-1); white-space: nowrap; }
/* a coin with no ticker carries its CA chip: the line takes the row's width (never "Unnamed / token" over three lines on a phone); the
   two buttons sit under it, to the right */
.plm-buy[data-noname="1"] { grid-template-columns: minmax(0, 1fr); }
.plm-buy[data-noname="1"] .plm-acts { justify-self: end; }
.plm-born { display: block; color: var(--hv-ink-3); }   /* item H, Advanced: "coin 11m old at the buy", on its own line */
.plm-buy .ca-chip { vertical-align: baseline; font-size: 12px; }
.plm-buy .ca-pop { min-width: 0; }
.plm-dim { color: var(--hv-ink-3); }
.plm-acts { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.plm-open, .trk-star.plm-trk { position: relative; min-height: 34px; white-space: nowrap; }
.plm-open { padding: 0 11px; }
.trk-star.plm-trk { min-width: 0; padding: 0 10px 0 7px; }
.trk-star.plm-trk .trk-ico { width: 18px; height: 18px; }
.plm-open::before, .trk-star.plm-trk::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; }   /* a 44 px target on a 34 px button */
.plm-left { font-weight: 500; color: var(--hv-ink-3); }
.plm-fold[aria-expanded="true"] { background: none; }
@media (max-width: 799px) {
  .plm-state { top: -10px; flex-wrap: nowrap; gap: 6px; }
  .plm-fbtn { display: inline-flex; }
  .plm-state > .plm-sort, .plm-state > .plm-sw { display: none; }   /* a phone keeps ONE sticky line: Filters + the class chips; sort and the switch sit in the sheet */
  .plm-chips { flex: 1 1 auto; }
  .plm-chip, .plm-sw { min-height: 44px; }
  .plm-buy { padding-left: 10px; }
}
.pl-d0 { margin: 4px 0 6px; font-size: 13px; line-height: 1.5; color: var(--hv-ink-2); }
.pl-d0 b { font: 700 14px var(--hv-f-data); color: var(--hv-ink-1); }
.pchip[data-k="rh_bot"], .pchip[data-k="rh_op"] { border-color: var(--hv-flag); color: var(--hv-flag); }
.chain-note { display: grid; gap: 10px; justify-items: start; }
.chain-note .chip { min-height: 44px; }
.sfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 799px) {
  .dstrip { gap: 4px; }
  .dstrip-i { padding: 6px 6px; }
  .dstrip-i b { font-size: 15px; }
  .dstrip-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .dstrip-row > .chain { justify-self: start; }
}

/* data pass: the token sheet's lookup row (a tap; results cached 5 min) */
.lk-sheet { margin: 4px 0 12px; padding-left: 10px; border-left: 2px solid var(--hv-honey); }
.lk-sheet .lk-go { margin-left: 0; }
.lk-line small, .lk-sig .why, .lk-top .why, .lk-trades .why { font-size: 11px; }
[data-lk] dd small, [data-lk] th small { font-size: 11px; }
.lk-win { margin: 2px 0 6px; } .lk-win button { min-height: 44px; padding: 0 12px; font-size: 12px; }
.lk-def { display: block; margin-top: 1px; font-size: 12px; color: var(--hv-ink-3); }

/* ── Trace Mode v3 (docs/TRACE_MODE_V3.md, B1). Motion is translate + opacity only; nothing over the canvas uses backdrop-filter
      (a blur over WebGL re-composites every frame on phones); the sheet state is never touched: panels slide with the individual
      `translate` property, which composes with any transform the sheet already has. ── */
#tm-vignette { position: fixed; inset: 0; z-index: 11; pointer-events: none; display: none;
  background: radial-gradient(ellipse 78% 72% at 50% 46%, transparent 52%, rgba(0, 0, 0, 0.42) 100%); }
#tm-vignette.on { display: block; }
#tm-vignette.on.fade { animation: tmfade 0.4s ease both; }
@keyframes tmfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tmup { from { translate: 0 100%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes tmin { from { opacity: 0; } to { opacity: 1; } }

/* the panels step aside (phone: down; desktop: the lens left, the drawer and the rails out) */
body[data-tm] .lens-sheet, body[data-tm]:not([data-tmd="1"]) #drawer, body[data-tm] .rail {
  translate: 0 110%; opacity: 0; visibility: hidden; pointer-events: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: translate 0.22s ease, opacity 0.22s ease, visibility 0s linear 0.22s;
}
@media (min-width: 800px) {
  body[data-tm] .lens-sheet, body[data-tm] .rail-left { translate: calc(-100% - 40px) 0; }
  body[data-tm]:not([data-tmd="1"]) #drawer, body[data-tm] .rail-right { translate: calc(100% + 40px) 0; }
}
body[data-tm] #dock, body[data-tm] #latest, body[data-tm] #coach, body[data-tm] #view-note, body[data-tm] #cv-toasts,
body[data-tm] #tour, body[data-tm] #tour-note, body[data-tm] #hovercard { display: none !important; }
body[data-tm][data-tmd="1"] #tm-hud, body[data-tm][data-tmd="1"] #tm-crumbs, body[data-tm][data-tmd="1"] #tm-hint { display: none; }
@media (max-width: 799px) { body[data-tm][data-tmd="1"] #drawer { max-height: 52%; height: 52%; } }

/* the HUD: a slim bar above the tab bar (phone), a floating bar bottom centre (desktop); solid, no blur */
#tm-hud { position: fixed; z-index: 36; left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); height: 56px;
  display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(15, 13, 10, 0.94); border-top: 1px solid var(--hv-line-2);
  animation: tmup 0.18s ease-out 0.12s both; }
#tm-hud[hidden] { display: none; }
@media (min-width: 800px) {
  #tm-hud { left: 50%; right: auto; bottom: 16px; width: min(560px, calc(100vw - 32px)); height: 64px; translate: -50% 0; padding: 8px 12px;
    border: 1px solid var(--hv-line-2); border-radius: var(--hv-r-lg); box-shadow: var(--hv-e-3); animation: tmin 0.18s ease-out 0.12s both; }
}
.tm-btn { min-height: 44px; min-width: 44px; border-radius: var(--hv-r-pill); cursor: pointer; }
.tm-btn:focus-visible, .tm-cr:focus-visible, .tm-mi:focus-visible, .sres-tr:focus-visible, .tm-go:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
#tm-back { flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 0 14px; background: transparent; border: 1px solid var(--hv-line-2);
  color: var(--hv-ink-1); font: 700 14px/1 var(--hv-f-body); white-space: nowrap; }
#tm-back .tm-chev { font-size: 20px; line-height: 0; margin-top: -2px; color: var(--hv-honey-2); }
.tm-mid { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
#tm-play { padding: 0 16px; background: var(--hv-honey); border: 0; color: var(--hv-on-accent); font: 800 15px/1 var(--hv-f-display);
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; box-shadow: var(--hv-glow-honey); }
#tm-play.on { background: var(--hv-bg-3); color: var(--hv-honey-2); box-shadow: none; border: 1px solid var(--hv-honey-line); }
#tm-more { flex: none; width: 44px; padding: 0; background: transparent; border: 1px solid var(--hv-line-2); color: var(--hv-ink-1); font: 800 20px/1 var(--hv-f-body); }
#tm-more[aria-expanded="true"] { border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.tm-none { margin: 0; color: var(--hv-ink-3); font: 600 13px/1.2 var(--hv-f-body); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-tape, .tm-tape-why { margin: 0; color: var(--hv-ink-2); font: 600 12px/1.25 var(--hv-f-body); text-align: center; }   /* run 2 item 5 */
.tm-tape-go { min-height: 44px; }
.tm-mid[data-tape="offer"] { flex-direction: column; gap: 2px; }
.tm-mid[data-tape="offer"] .tm-none, .tm-mid[data-tape="offer"] .tm-tape-why { font-size: 12px; white-space: normal; max-width: 100%; }
.tm-tape-go[data-busy="1"] { opacity: 0.75; cursor: progress; }
.tm-count { margin: 0; display: grid; gap: 2px; text-align: center; min-width: 0; }
.tm-count b { font: 800 17px/1 var(--hv-f-display); letter-spacing: 0.03em; color: var(--hv-ink-1); white-space: nowrap; }
.tm-legend { font: 600 12px/1.2 var(--hv-f-body); color: var(--hv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-legend .up { font-style: normal; color: var(--hv-win-1); }
.tm-legend .flat { font-style: normal; color: var(--hv-ink-3); }
.tm-step { margin: 0; font: 500 12px/1.2 var(--hv-f-data); color: var(--hv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* the breadcrumb (after a hop), the first-time hint, the ⋯ menu, a launch's facts: all sit above the HUD */
#tm-crumbs, #tm-hint { position: fixed; z-index: 37; left: 12px; right: 12px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 64px); }
#tm-crumbs { display: flex; align-items: center; gap: 4px; height: 28px; overflow: hidden; pointer-events: none; }
#tm-crumbs[hidden], #tm-hint[hidden], #tm-menu[hidden], #tm-fact[hidden] { display: none; }
.tm-cr { pointer-events: auto; height: 28px; max-width: 34vw; padding: 0 10px; border-radius: var(--hv-r-pill); border: 1px solid var(--hv-line-2);
  background: rgba(15, 13, 10, 0.9); color: var(--hv-ink-2); font: 600 12px/26px var(--hv-f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-cr.here { color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.tm-cr.more { pointer-events: none; }
#tm-crumbs .sep { color: var(--hv-ink-4); }
#tm-hint { margin: 0; justify-self: center; text-align: center; font: 600 13px/1.3 var(--hv-f-body); color: var(--hv-ink-1); }
#tm-hint.slide { animation: tmup 0.24s ease-out both; }
#tm-hint::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--hv-honey); box-shadow: var(--hv-glow-honey); }
#tm-menu { position: fixed; z-index: 38; right: 12px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 64px); min-width: 230px; max-width: calc(100vw - 24px);
  display: grid; gap: 2px; padding: 6px; background: var(--hv-glass-solid); border: 1px solid var(--hv-line-2); border-radius: var(--hv-r-lg); box-shadow: var(--hv-e-3); }
.tm-mi { min-height: 44px; padding: 0 12px; text-align: left; background: transparent; border: 0; border-radius: var(--hv-r-md); color: var(--hv-ink-1); font: 600 14px var(--hv-f-body); cursor: pointer; }
.tm-mi:hover { background: var(--hv-bg-3); }
.tm-mn { margin: 4px 12px 6px; color: var(--hv-ink-3); font: 500 12px/1.35 var(--hv-f-body); }
.tm-mn.op { font-family: var(--hv-f-data); font-size: 11.5px; color: var(--hv-ink-2); word-break: break-all; }
#tm-fact { position: fixed; z-index: 37; left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 56px); padding: 10px 14px 8px;
  background: rgba(15, 13, 10, 0.97); border-top: 1px solid var(--hv-line-2); display: grid; gap: 4px; animation: tmup 0.16s ease-out both; }
.tm-fh { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tm-fh b { font: 800 18px/1 var(--hv-f-display); letter-spacing: 0.03em; color: var(--hv-ink-1); }
.tm-fb { flex: 1; min-width: 0; color: var(--hv-ink-3); font: 500 12px var(--hv-f-data); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-x { flex: none; width: 44px; height: 44px; margin: -8px -8px -8px 0; background: none; border: 0; color: var(--hv-ink-2); font: 400 24px/1 var(--hv-f-body); cursor: pointer; }
.tm-fr { margin: 0; font: 500 13px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.tm-fr b { font-family: var(--hv-f-data); font-weight: 600; color: var(--hv-ink-1); }
.tm-fr.nm { color: var(--hv-ink-3); }
.tm-fr.lk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.tm-lk { display: inline-flex; align-items: center; min-height: 44px; color: var(--hv-honey-2); font: 600 13px var(--hv-f-body); }
.tm-chip { display: inline-block; padding: 1px 6px; border-radius: var(--hv-r-sm); font: 700 11px/1.4 var(--hv-f-body); letter-spacing: 0.06em; background: var(--hv-bg-3); }
.tm-chip.lp { color: var(--hv-mile); background: var(--hv-mile-bg); }
.tm-fr .cv-up, .tm-chip.cv-up { color: var(--hv-win-2); }
.tm-fr .cv-dn, .tm-chip.cv-dn { color: var(--hv-loss); }
.tm-go { color: var(--hv-honey-2); background: var(--hv-honey-bg); border: 1px solid var(--hv-honey-line); min-height: 40px; white-space: nowrap; }
@media (min-width: 800px) {
  #tm-crumbs, #tm-hint { left: 50%; right: auto; width: min(560px, calc(100vw - 32px)); translate: -50% 0; bottom: 92px; }
  #tm-hint { text-align: left; }
  #tm-menu { right: auto; left: calc(50% + min(280px, 50vw - 16px) - 230px); bottom: 92px; }
  #tm-fact { left: 50%; right: auto; width: min(560px, calc(100vw - 32px)); translate: -50% 0; bottom: 88px; border: 1px solid var(--hv-line-2); border-radius: var(--hv-r-lg); box-shadow: var(--hv-e-3); animation: tmin 0.16s ease-out both; }
}
@media (max-width: 799px) { body[data-tmf="1"] #tm-crumbs, body[data-tmf="1"] #tm-hint { display: none; } }

/* labels over the hive: DOM (sharp at native DPR), never a tap target; placed by app.js with transform only */
#tm-labels { position: fixed; inset: 0; z-index: 12; pointer-events: none; overflow: hidden; contain: strict; }
.tm-lbl { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.tm-lbl[hidden] { display: none; }
.tm-lbl > span { display: block; width: max-content; max-width: 220px; transform: translateX(-50%); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.95), 0 1px 8px rgba(0, 0, 0, 0.9); }
.tm-l1 { font: 700 12px/1.15 var(--hv-f-display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--hv-honey-2); }
.tm-l2 { font: 600 11px/1.25 var(--hv-f-body); color: var(--hv-ink-2); }
.tm-l2[hidden] { display: none; }
.tm-lbl.hub .tm-l1 { font-size: 13px; color: var(--hv-ink-1); }
.tm-lbl.subj .tm-l1 { font: 800 19px/1.1 var(--hv-f-display); letter-spacing: 0.04em; color: var(--hv-ink-1); }
.tm-lbl.subj .tm-l2 { font-size: 12px; color: var(--hv-honey-2); }
.tm-lbl.star .tm-l2 { color: var(--hv-honey); letter-spacing: 0.02em; }
.tm-lbl.up .tm-l1 { color: var(--hv-win-1); }
.tm-lbl.up.t2 .tm-l1 { color: var(--hv-win-2); text-shadow: 0 0 3px rgba(0, 0, 0, 0.95), var(--hv-win-shadow-3); }
.tm-lbl.up.t3 .tm-l1 { color: var(--hv-win-3); text-shadow: 0 0 3px rgba(0, 0, 0, 0.95), var(--hv-win-shadow-4); }
.tm-lbl.up.t4 .tm-l1 { color: var(--hv-win-4); text-shadow: 0 0 3px rgba(0, 0, 0, 0.95), var(--hv-win-shadow-5); font-size: 14px; }
.tm-lbl.dn .tm-l1 { color: var(--hv-loss); }
.tm-lbl.subj.up .tm-l1, .tm-lbl.subj.dn .tm-l1 { font-size: 19px; }
.tm-lbl.nm .tm-l1 { color: var(--hv-honey); }
.tm-lbl.tc .tm-l2 { color: var(--hv-honey-2); font-weight: 700; }
.tm-lbl.sat .tm-l2 { font: 700 11px/1.25 var(--hv-f-body); letter-spacing: 0.06em; }
.tm-lbl.mark .tm-l1, .tm-lbl.more .tm-l1 { font: 600 11px/1.2 var(--hv-f-data); letter-spacing: 0; text-transform: none; color: var(--hv-ink-3); }
.tm-lbl.more .tm-l1 { color: var(--hv-honey); }
.tm-lbl.amt .tm-l1 { font: 600 11px/1.3 var(--hv-f-data); letter-spacing: 0; text-transform: none; padding: 1px 7px; border-radius: var(--hv-r-pill);
  color: var(--hv-honey-2); background: rgba(11, 10, 8, 0.8); border: 1px solid var(--hv-line-2); text-shadow: none; }

/* entry surfaces: the card's one HIVE button (honey-bordered), the sheet head, search rows, the deployer line */
.cv-links .cv-hive { border-color: var(--hv-honey-line); color: var(--hv-honey-2); background: var(--hv-honey-bg); }   /* a link, or the launcher's button (no address in a link) */
.drawer-head { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.drawer-hact { display: flex; align-items: center; gap: 6px; }
/* Max EV web A: a Member's coin sheet: Buy (loud) · Track · ⋯ (Replay, Chart ↗ under it) */
.drawer-hact[data-hact="m"] { flex-wrap: wrap; gap: 8px; }
.drawer-hact[data-hact="m"] .buy-btn { min-height: 44px; min-width: 96px; font-size: 1.05rem; }
.ts-more { min-width: 44px; min-height: 44px; font-size: 1.2rem; line-height: 1; }
.ts-menu { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.ts-menu[hidden] { display: none; }
.ts-menu .ts-mi { min-height: 44px; }
@media (max-width: 799px) { .drawer-hact { grid-column: 2 / -1; grid-row: 2; flex-wrap: wrap; min-width: 0; } }   /* FFQ-11: Track · Trace · Details ⌃ wrap at 390 px */
/* run 5: a coin sheet's head on a wide screen. Track · Buy · Replay · Chart · Trace in HIVE are five controls in a 380 px panel: on one
   line with the title they squeezed it to a letter a line and pushed Trace off the panel. Four or more controls take the row under the
   title (as on a phone); a wallet's or a group's one or two stay beside it. major-r1 QA (NEW-604 controls-on-screen): Track · Follow ·
   Trace in HIVE (three, since Follow joined the head) did the same at 1440 px, so three or more take the row under the title. */
@media (min-width: 800px) { .drawer-hact:has(> :nth-child(3)) { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; min-width: 0; } }
.srow { display: flex; align-items: stretch; gap: 6px; }
.srow > .sres { flex: 1; min-width: 0; }
.sres-l { display: grid; gap: 3px; padding: 7px 8px; }
.sres-tr { flex: none; min-width: 64px; min-height: 44px; padding: 0 10px; border-radius: var(--hv-r-md); border: 1px solid var(--hv-honey-line);
  background: var(--hv-honey-bg); color: var(--hv-honey-2); font: 700 13px var(--hv-f-body); cursor: pointer; }
.tm-lline { margin: 6px 0 0; }
/* B1-8: a Hive-tab tap opens the details as a peek (head, Trace in HIVE, Details ⌃) */
@media (max-width: 799px) { body[data-dpeek="1"] #drawer { max-height: min(36%, 300px); height: auto; } }
.dpeek-more { min-height: 40px; }

@media (prefers-reduced-motion: reduce) {
  body[data-tm] .lens-sheet, body[data-tm] #drawer, body[data-tm] .rail, #tm-hud, #tm-hint, #tm-fact, #tm-vignette.on.fade { transition: none !important; animation: none !important; }
}
body[data-motion="reduced"] #tm-hud, body[data-motion="reduced"] #tm-hint, body[data-motion="reduced"] #tm-fact, body[data-motion="reduced"] #tm-vignette { animation: none !important; }
body[data-motion="reduced"][data-tm] .lens-sheet, body[data-motion="reduced"][data-tm] #drawer, body[data-motion="reduced"][data-tm] .rail { transition: none !important; }
.tm-fg { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.tm-lbl.star .tm-l2 { max-width: 300px; white-space: pre-line; }
/* QA: the measuring box (one layout per label batch) and a launch label's leader to its dot (1 px, stretched by transform) */
.tm-measure { position: absolute; left: 0; top: 0; visibility: hidden; pointer-events: none; }
.tm-lead { position: absolute; left: 0; top: 0; width: 1px; height: 1px; transform-origin: 0 50%; background: rgba(255, 214, 140, 0.42); pointer-events: none; will-change: transform; }
.tm-lead[hidden] { display: none; }
.tm-lbl.up .tm-lead { background: rgba(76, 246, 158, 0.5); }
.tm-lbl.dn .tm-lead { background: rgba(255, 107, 87, 0.42); }
#tm-play.on { padding: 0 12px; font-size: 14px; }
@media (min-width: 800px) {
  .tm-l1 { font-size: 13px; }
  .tm-lbl.subj .tm-l1 { font-size: 22px; }
  .tm-lbl.subj .tm-l2 { font-size: 13px; }
  .tm-lbl.sat .tm-l1 { font-size: 14px; }
}
.tm-sq { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 2px; background: currentColor; vertical-align: 1px; }
/* the hidden launch / step lists stay inside the page (a 1 px box; still focusable and read) */
#tm-launches-sr, #tm-steps-sr { position: fixed; left: 0; top: 0; margin: 0; padding: 0; list-style: none; }
#tm-launches-sr button { display: block; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-step { display: grid; gap: 1px; text-align: center; line-height: 1.15; }
.tm-step b { font-weight: 600; color: var(--hv-ink-1); }
.tm-step span { color: var(--hv-ink-3); }

/* ── Trace Mode v3, B2: Play (◀ the step line ▶ over ⏯ scrubber 1x ■), the end beat, the auto camera chip, the hero label, quality,
      cine. Every control is ≥ 44 px; motion is transform / opacity only; nothing over the canvas blurs. ── */
#tm-hud[data-mode="play"], #tm-hud[data-mode="end"] { height: 112px; flex-direction: column; align-items: stretch; justify-content: center; gap: 2px; padding: 3px 10px 5px; }
#tm-hud[data-mode="play"] > #tm-back, #tm-hud[data-mode="play"] > #tm-mid, #tm-hud[data-mode="play"] > #tm-more,
#tm-hud[data-mode="end"] > #tm-back, #tm-hud[data-mode="end"] > #tm-mid, #tm-hud[data-mode="end"] > #tm-more { display: none; }
@media (min-width: 800px) { #tm-hud[data-mode="play"], #tm-hud[data-mode="end"] { height: 122px; padding: 6px 12px; } }
.tm-pui { display: grid; gap: 2px; min-width: 0; }
.tm-pui[hidden] { display: none; }
.tm-r1, .tm-r2 { display: flex; align-items: center; gap: 8px; min-width: 0; height: 44px; }
.tm-line { flex: 1; min-width: 0; margin: 0; display: grid; gap: 1px; text-align: center; }
#tm-l1 { font: 700 14px/1.15 var(--hv-f-body); color: var(--hv-ink-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tm-l2 { font: 600 12.5px/1.2 var(--hv-f-data); color: var(--hv-ink-2); white-space: nowrap; }
#tm-l2 .tm-mcat { color: var(--hv-ink-1); }   /* 10-03: the market cap reads as a fact, not in the side's colour */
@media (max-width: 419px) { #tm-l2 { font-size: 11.5px; letter-spacing: -0.01em; } }   /* 10-03: amount · market cap · time fit between ◀ and ▶ at 360–390 px */
#tm-l2.fund { color: var(--hv-honey-2); }
#tm-l2.buy { color: var(--hv-win-2); }
#tm-l2.sell { color: var(--hv-loss); }
#tm-l2.birth { color: var(--hv-honey); }
#tm-l2.ex { font: 500 12.5px/1.2 var(--hv-f-body); color: var(--hv-ink-3); }
.tm-rpi { margin-right: 6px; font: 700 16px/1 var(--hv-f-body); }
#tm-l3 { font: 500 11px/1.2 var(--hv-f-data); color: var(--hv-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tm-l3[hidden] { display: none; }
#tm-l3 a { color: var(--hv-honey-2); }
.tm-ic { flex: none; width: 44px; padding: 0; display: inline-grid; place-items: center; background: transparent; border: 1px solid var(--hv-line-2); color: var(--hv-ink-1); }
.tm-ic:disabled { opacity: 0.32; cursor: default; }
.tm-ic[hidden], .tm-sp[hidden] { display: none; }
#tm-pp { background: var(--hv-honey); border: 0; color: var(--hv-on-accent); box-shadow: var(--hv-glow-honey); }
#tm-pp.on { background: var(--hv-bg-3); color: var(--hv-honey-2); box-shadow: none; border: 1px solid var(--hv-honey-line); }
.tm-sp { font: 700 13px/1 var(--hv-f-data); color: var(--hv-honey-2); }
#tm-stop .tm-sq { margin: 0; width: 11px; height: 11px; }
/* drawn glyphs: text arrows render as emoji on some phones */
.tm-i { display: block; width: 14px; height: 14px; background: currentColor; }
.tm-i.play { clip-path: polygon(14% 0, 100% 50%, 14% 100%); }
.tm-i.pause { background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66% 100%); }
.tm-i.prev { clip-path: polygon(0 0, 18% 0, 18% 44%, 100% 0, 100% 100%, 18% 56%, 18% 100%, 0 100%); }
.tm-i.next { clip-path: polygon(100% 0, 82% 0, 82% 44%, 0 0, 0 100%, 82% 56%, 82% 100%, 100% 100%); }
.tm-i.replay { width: 13px; height: 13px; margin-right: 6px; background: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
#tm-play.ic { width: 44px; padding: 0; display: inline-grid; place-items: center; flex: none; }
/* the scrubber: a drag track with a 44 px hit area around a 4 px line; ticks by log-compressed real time; no per-tick targets */
.tm-scrub { position: relative; flex: 1; min-width: 150px; height: 44px; cursor: pointer; touch-action: none; --p: 0; }
.tm-scrub[hidden], .tm-end[hidden] { display: none; }
.tm-scrub:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; border-radius: 6px; }
.tm-track, .tm-fill { position: absolute; left: 6px; top: 20px; height: 4px; border-radius: 2px; }
.tm-track { right: 6px; background: var(--hv-line-2); }
.tm-fill { width: calc((100% - 12px) * var(--p)); background: var(--hv-honey); }
.tm-ticks { position: absolute; left: 6px; right: 6px; top: 0; bottom: 0; pointer-events: none; }
.tm-tick { position: absolute; top: 17px; width: 2px; height: 10px; margin-left: -1px; border-radius: 1px; background: var(--hv-ink-4, #5b544a); }
.tm-tick.on { background: var(--hv-honey-2); }
.tm-tick.on.buy { background: var(--hv-win-2); }   /* 10-03: a played buy tick green, a sell red */
.tm-tick.on.sell { background: var(--hv-loss); }
.tm-tick.new { background: var(--hv-honey-2); height: 12px; top: 16px; }
.tm-tick.new b { position: absolute; bottom: 13px; left: 50%; translate: -50% 0; font: 800 11px/1 var(--hv-f-body); letter-spacing: 0.06em; color: var(--hv-honey-2); }
/* 10-03 (GENIE trace): the coin's market cap under the step ticks (same x as the ticks), up green / down red; its "now" line under the row */
.tm-mcl { position: absolute; left: 6px; right: 6px; top: 29px; height: 13px; pointer-events: none; }
.tm-mcl svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tm-mcl[data-dir="up"] { color: var(--hv-win-2); }
.tm-mcl[data-dir="down"] { color: var(--hv-loss); }
.tm-mcl[data-dir="flat"] { color: var(--hv-ink-3); }
.tm-mc { margin: 0; height: 16px; font: 600 11.5px/16px var(--hv-f-data); color: var(--hv-ink-2); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .tm-mc.stale { font-family: var(--hv-f-body); letter-spacing: -0.02em; } }   /* R0-RC5 (M9): "Last check $1.50M mcap · 12h 34m ago · ▲8.33× in trace" is 378 px in the mono face against the line's 370 at 390 wide; the body face (a hair tighter) keeps the 11.5 px size and fits even with a 4-digit multiple */
.tm-mc b { font-weight: 700; color: var(--hv-ink-1); }
.tm-mc .up { color: var(--hv-win-2); }
.tm-mc .dn { color: var(--hv-loss); }
.tm-mc.nm { color: var(--hv-ink-3); font-family: var(--hv-f-body); font-weight: 500; }
.tm-mc[hidden] { display: none; }
/* 10-03: BUY / SELL in words on the step line, in the side's colour (green up, red down) */
.tm-side { display: inline-block; margin-right: 4px; padding: 0 5px; border-radius: 4px; font: 800 11.5px/16px var(--hv-f-body); letter-spacing: 0.04em; vertical-align: 1px; }
.tm-side.buy { color: #08140d; background: var(--hv-win-2); }
.tm-side.sell { color: #1a0703; background: var(--hv-loss); }
.tm-knob { position: absolute; top: 14px; left: calc(6px + (100% - 12px) * var(--p)); width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--hv-honey-2); box-shadow: var(--hv-glow-honey); pointer-events: none; }
/* the end beat: Replay and up to two "Trace to …" chips where the scrubber was */
.tm-end { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.tm-rp { flex: none; display: inline-flex; align-items: center; padding: 0 12px; background: var(--hv-honey); border: 0; color: var(--hv-on-accent); font: 800 14px/1 var(--hv-f-display); letter-spacing: 0.05em; text-transform: uppercase; box-shadow: var(--hv-glow-honey); }
.tm-to { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; background: var(--hv-honey-bg); border: 1px solid var(--hv-honey-line); color: var(--hv-honey-2); font: 700 13px/1 var(--hv-f-body); }
.tm-to span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-to b { flex: none; margin-left: 4px; }
@media (max-width: 419px) { .tm-to + .tm-to { display: none; } }   /* phones: one readable "Trace to …" chip, never a truncated pair */
@media (max-width: 799px) { .tm-to { padding: 0 8px; } }
@media (max-width: 799px) { .tm-rp { padding: 0 11px; font-size: 13px; } }
/* the auto camera chip (Play only): above the HUD at the right; a 44 px hit area around a 36 px chip */
.tm-cam { position: fixed; z-index: 37; right: 12px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 120px); min-height: 36px; min-width: 44px; padding: 0 14px;
  border-radius: var(--hv-r-pill); border: 1px solid var(--hv-honey-line); background: rgba(15, 13, 10, 0.92); color: var(--hv-honey-2); font: 700 12px/1 var(--hv-f-body); cursor: pointer; }
.tm-cam::after { content: ""; position: absolute; inset: -4px -2px; }
.tm-cam[aria-pressed="false"] { color: var(--hv-ink-3); border-color: var(--hv-line-2); }
.tm-cam[hidden] { display: none; }
.tm-cam:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
@media (min-width: 800px) { .tm-cam { right: auto; left: calc(50% + min(280px, 50vw - 16px)); translate: -100% 0; bottom: 146px; } }
/* the hero comet's amount rides its head */
.tm-lbl.hero .tm-l1 { font: 700 13px/1.2 var(--hv-f-data); letter-spacing: 0; text-transform: none; padding: 2px 8px; border-radius: var(--hv-r-pill);
  color: var(--hv-ink-1); background: rgba(11, 10, 8, 0.82); border: 1px solid var(--hv-line-2); text-shadow: none; }
.tm-lbl.hero.fund .tm-l1 { color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.tm-lbl.hero.buy .tm-l1 { color: var(--hv-win-2); border-color: rgba(76, 246, 158, 0.45); }
.tm-lbl.hero.sell .tm-l1 { color: var(--hv-loss); border-color: rgba(255, 107, 87, 0.45); }
.tm-lbl.hero.birth .tm-l1 { color: #fff0c4; border-color: var(--hv-honey-line); font-family: var(--hv-f-display); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
/* B2-5 quality: the label layer dips over 200 ms when the tier steps down; Q1 has no vignette */
#tm-labels.qfade { animation: tmqf 0.2s ease-out; }
#tm-labels.qfade.qfade2 { animation-name: tmqf2; }
@keyframes tmqf { from { opacity: 0.35; } to { opacity: 1; } }
@keyframes tmqf2 { from { opacity: 0.35; } to { opacity: 1; } }
#tm-vignette.q1 { display: none !important; }
@media (prefers-reduced-motion: reduce) { #tm-labels.qfade { animation: none; } }
body[data-motion="reduced"] #tm-labels.qfade { animation: none; }

/* ── B2-4 cine (?cine=): the canvas takes the whole viewport, the chrome hides, and no CSS transition or animation runs, so a
      frame-stepped screenshot never catches a wall-clock fade half-way ── */
body[data-cine], body[data-cine] *, body[data-cine] *::before, body[data-cine] *::after { transition: none !important; animation: none !important; }
body[data-cine] #topbar, body[data-cine] #lenstabs, body[data-cine] #tabs, body[data-cine] #tab-more, body[data-cine] #dock, body[data-cine] .lens-sheet, body[data-cine] #lens,
body[data-cine] #drawer, body[data-cine] #banner, body[data-cine] #cv-toasts, body[data-cine] #coach, body[data-cine] #tour, body[data-cine] #tour-note,
body[data-cine] #latest, body[data-cine] #view-note, body[data-cine] #world-note, body[data-cine] #hovercard, body[data-cine] #tm-hud, body[data-cine] #tm-crumbs,
body[data-cine] #tm-hint, body[data-cine] #tm-menu, body[data-cine] #tm-fact, body[data-cine] #tm-cam, body[data-cine] .rail, body[data-cine] #lensbar,
body[data-cine] #fxdebug { display: none !important; }
body[data-cine] { overflow: hidden; background: #050403; }
body[data-cine] #hive { position: fixed; inset: auto; z-index: 1; }
.cine-cap { position: fixed; z-index: 40; left: 6%; right: 6%; bottom: 21%; margin: 0; display: grid; gap: 4px; text-align: left; pointer-events: none;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.95), 0 2px 14px rgba(0, 0, 0, 0.9); }
.cine-cap[hidden] { display: none; }
.cine-cap b { font: 800 clamp(22px, 4.2vmin, 52px)/1.05 var(--hv-f-display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-1); }
.cine-cap span { font: 600 clamp(15px, 2.4vmin, 30px)/1.2 var(--hv-f-data); color: var(--hv-honey-2); }
.cine-cap span.buy { color: var(--hv-win-2); }
.cine-cap span.sell { color: var(--hv-loss); }
.cine-cap span.birth { color: var(--hv-honey); }
.cine-tag { position: fixed; z-index: 40; top: 3vmin; right: 3vmin; margin: 0; padding: 4px 10px; border: 1px solid var(--hv-honey-line); border-radius: var(--hv-r-pill);
  font: 800 13px/1 var(--hv-f-display); letter-spacing: 0.12em; color: var(--hv-honey-2); background: rgba(11, 10, 8, 0.7); }
.cine-tag[hidden] { display: none; }
/* #152 AC-K2c: a visitor's cine page reads the one risk line, below the caption band (the bottom 20 % stays clear) */
.cine-risk { position: fixed; z-index: 40; left: 6%; right: 6%; bottom: 3vmin; margin: 0; text-align: center; pointer-events: none;
  font: 500 clamp(12px, 1.8vmin, 20px)/1.35 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.cine-risk[hidden] { display: none; }
body:not([data-cine]) .cine-cap, body:not([data-cine]) .cine-tag, body:not([data-cine]) .cine-risk { display: none; }
body[data-cine] .tm-lbl.subj .tm-l1 { font-size: clamp(22px, 3.4vmin, 44px); }
body[data-cine] .tm-lbl .tm-l1 { font-size: clamp(13px, 1.9vmin, 24px); }
body[data-cine] .tm-lbl .tm-l2 { font-size: clamp(12px, 1.6vmin, 20px); }
body[data-cine] .tm-lbl.hero .tm-l1 { font-size: clamp(14px, 2.2vmin, 28px); }
/* the throttled step announcer is visually hidden; its text ellipsizes visually (screen readers read all of it) */
#tm-say { white-space: nowrap; text-overflow: ellipsis; }

/* integration v5 (pop-ups,  #2): a desktop docks the stack between the lens panel and an open sheet, never over either;
   too narrow for 220 px there, app.js holds them and the Calls control says "Pop-ups held · n · sheet open" */
@media (min-width: 800px) {
  /* room = the page − the left nav (gutter + nav-w + 8) − the lens panel − the sheet (gutter + max(rail, 380)) − 12 px each side */
  body[data-drawer="open"] .cv-toasts { right: calc(var(--gutter) + max(var(--rail-w), 380px) + 12px); width: min(360px, calc(100vw - 2 * var(--gutter) - var(--nav-w, 0px) - 8px - max(var(--rail-w), 380px) - 24px)); }
  body[data-drawer="open"]:not([data-lens="hive"]) .cv-toasts { width: min(360px, calc(100vw - 2 * var(--gutter) - var(--nav-w, 0px) - 8px - max(var(--rail-w), 380px) - var(--lens-w) - 24px)); }
}

/* integration v5 ( #1): Show in HIVE from every wallet / token / group surface */
.pcard .ptop-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pcard .ptop-row .show-hive { min-height: 36px; padding: 0 12px; font: 700 12.5px var(--hv-f-body); }
.pgroups { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.show-hive.plink { min-height: 32px; padding: 0 8px; font: 600 12px var(--hv-f-data); white-space: nowrap; }
.lk-links .show-hive { min-height: 40px; }
.tm-away { margin: 0; display: grid; gap: 2px; min-width: 0; text-align: center; font: 600 12px/1.25 var(--hv-f-body); color: var(--hv-ink-2); }
.tm-away b { font: 700 13px/1.2 var(--hv-f-body); color: var(--hv-ink-1); }
.tm-away-l { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11.5px; line-height: 1.2; }
.tm-away .tm-ext { color: var(--hv-honey-2); }
/* integration v5 ( #5): a SOL size read from forward_trades (booked ~2×) carries an amber RAW chip in Operator */
.rawtag { display: inline-block; margin-left: 2px; padding: 1px 5px; border-radius: 4px; font: 700 11px/1.3 var(--hv-f-body); letter-spacing: 0.04em; color: var(--hv-warn-ink); background: var(--hv-warn-bg); box-shadow: inset 0 0 0 1px var(--hv-warn-line); vertical-align: 1px; }
.ftre { color: var(--hv-ink-3); font-style: italic; }
.ftx { color: var(--hv-ink-2); }

/* integration v5 ( #6): the Stream with context: a one-line why, its own chips, sentence rows, WHO, cap, ×N, Trace */
.stream-why { margin: -2px 0 8px; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.stream-filters { display: grid; gap: 6px; margin: 0 0 10px; }
.sf-row { display: flex; flex-wrap: wrap; gap: 5px; }
.sf-chip { min-height: 30px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: transparent; color: var(--hv-ink-2); font: 600 11.5px/1 var(--hv-f-body); cursor: pointer; }
.sf-chip[aria-pressed="false"] { color: var(--hv-ink-3); border-style: dashed; }
.sf-chip[aria-pressed="true"] { color: var(--hv-honey-2); background: var(--hv-honey-bg); border-color: var(--hv-honey-line); }
.sf-chip:focus-visible, .ev-tr:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.ev.sv { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
.ev.sv .ev-hit { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "time kind what amt" "sub sub sub mc" "raw raw raw raw"; padding-right: 8px; }
.ev.sv .ev-tok { font-weight: 700; }
.ev.sv .ev-tok[data-noticker] { font-weight: 500; font-style: italic; color: var(--hv-ink-2); }
.ev.sv .ev-tokid { font-style: normal; font-family: var(--hv-f-data); }
.ev.sv .ev-n { font-family: var(--hv-f-data); color: var(--hv-honey-2); }
.ev.sv .ev-sub { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ev.sv .ev-who { color: var(--hv-ink-1); font-weight: 600; }
.ev.sv .ev-who[data-linked="1"] { color: var(--k-machine); }
.ev.sv .ev-mc { grid-area: mc; font: 400 var(--hv-text-cap)/1.3 var(--hv-f-data); color: var(--hv-ink-3); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ev.sv .ev-raw { grid-area: raw; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 11px/1.3 var(--hv-f-data); color: var(--hv-ink-3); }
.ev.sv .ev-tr { align-self: center; margin-right: 10px; min-height: 36px; min-width: 52px; padding: 0 8px; border-radius: 999px; font: 700 11.5px var(--hv-f-body); }
.ev.sv[data-hit="1"] .ev-hit { background: var(--hv-honey-bg); box-shadow: inset 2px 0 0 var(--hv-honey); }
/* r1b alerts (NEW-501): a Member's Stream is a simple tape: two lines a row (who · bought / sold · dollars · age, then coin · chain · cap),
   one Filters button in the head, no lines above the list */
.ev.sv.sv2 .ev-hit.sv2-hit { display: block; min-width: 0; padding-right: 8px; }   /* two block lines (the Operator grid's areas never apply) */
.sv2-l2 { margin-top: 2px; }
.sv2-l1, .sv2-l2 { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv2-l1 { font: 500 13px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.sv2-verb { color: inherit; }   /* #94: "sold" / "bought" read in the text colour, never red or green */
/* #92: the muted line when this poll's new moves all sit behind the filter (no button, no count chip; its age ticks) */
.ev.sv2 .sv2-age { white-space: nowrap; }   /* #92: "2 hours 4 minutes" wraps as one piece */
.sv-quiet { list-style: none; padding: 10px 16px 12px; }
.sv-quiet-line { margin: 0; color: var(--hv-ink-3); font: 500 13px/1.4 var(--hv-f-body); overflow-wrap: anywhere; }
.sv2-usd { font: 700 13px/1.35 var(--hv-f-data); color: var(--hv-ink-1); font-variant-numeric: tabular-nums; }
.sv2-age { color: var(--hv-ink-3); font-variant-numeric: tabular-nums; }
.sv2-l2 { font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.sv2-l2 .chain-tag, .sv2-l2 [class*="chain"] { vertical-align: 1px; }
.plm-age { white-space: nowrap; }   /* r1b fixs3b: "bought 23m ago" stays one piece */
.sv2-l2 { white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }   /* r1b fixs3b (review 3 N-10): line 2 wraps (the rail cut "· size not tr…"): never an ellipsis over words */
@media (min-width: 800px) { .rail-right .ev.sv2 .ev-rm { display: none; } }   /* r1b fixs3b (N-10): the desktop rail's head says it once (FTX_RETAIL); the phone's Stream and the sheets keep the words */
.sv2-l1 { white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }   /* r1b fixs3b: line 1 too ("Launcher-linked wallet bought · 4m" was cut at 1440) */
.panel-stream .panel-head .sf-toggle { margin-left: auto; min-height: 36px; padding: 0 12px; font-size: 12px; }
.ev.sv2 .ev-out, .ev.sv2 .ev-mc, .ev.sv2 .ev-what, .ev.sv2 .ev-amt, .ev.sv2 .ev-who { font: inherit; grid-area: auto; text-align: left; }
.ev.sv2 .ev-who { font-weight: 700; color: var(--hv-ink-1); }
.ev.sv2 .ev-who[data-linked="1"] { color: var(--k-machine); }
.ev.sv2 .ev-tok { font-weight: 700; color: var(--hv-ink-2); }
.ev.sv2 .ev-tok[data-noticker] { font-weight: 500; font-style: italic; }
.ev.sv2 .ev-n { font-family: var(--hv-f-data); color: var(--hv-honey-2); }
.panel-stream .stream-meta[hidden], .stream-filters[hidden], .stream-why[hidden] { display: none; }
/* v5 fix pass (VERIFY_FLOWS #3, #4, #6): the Stream says what it holds (a pin, the lens it follows, everything) with one tap to change it;
   a Retail SOL trade with its size withheld (×2) says why; a sheet sends its moves to the Stream */
.stream-scope { margin: 6px 0 2px; display: grid; gap: 4px; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.stream-scope[hidden] { display: none; }
.stream-scope .ss-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; }
.stream-scope b { color: var(--hv-ink-1); font-weight: 700; }
.stream-scope[data-scope="pin"] .ss-t, .stream-scope[data-scope="lens"] .ss-t { padding: 5px 8px; border-radius: 10px; background: var(--hv-honey-bg); border: 1px solid var(--hv-honey-line); }
.stream-scope .ss-btn { min-height: 28px; color: var(--hv-honey-2); border-color: var(--hv-honey-line); border-style: solid; }
.stream-scope .ss-floor { font-size: 11.5px; color: var(--hv-ink-3); }
.ev.sv .ev-rm { font: 500 12px/1.3 var(--hv-f-data); color: var(--hv-ink-3); cursor: help; }
.ev.sv .ev-amt .rawtag { margin-left: 2px; }
.ev.sv[data-hit="1"] .ev-hit { box-shadow: inset 3px 0 0 var(--hv-honey); }
.dsec-stream { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.dsec-stream .icon-btn { min-height: 36px; }
/* integration v5 ( #3): the head's live badge and the record chip share the slot; on a phone they stack so the age keeps
   its words ("4m ago" was squeezed to one letter a line) */
#lens-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
#lens-badge .badge { white-space: nowrap; }
@media (max-width: 799px) { #lens-badge { flex-direction: column; align-items: flex-start; gap: 3px; } }
.lens-title-row #lens-age { overflow-wrap: normal; word-break: keep-all; min-width: 4.5ch; }

/* v6 P0-1: a pop-up opens its call. The card it lands on carries a ring for 2.4 s (box-shadow only: no layout); Recent lists the
   session's pop-ups while they are held / paused; every target ≥ 44 px on a phone */
.cv-card[data-ring="1"], .p-card[data-ring="1"], .p-li[data-ring="1"] { box-shadow: 0 0 0 2px var(--ms, #ffcf4a), 0 0 22px rgba(255, 207, 74, 0.35); }
.cv-toast { cursor: pointer; }
.cv-toast [data-cross], .p-toast [data-cross] { font-variant-numeric: tabular-nums; }
.p-toast .t3 { display: block; font-size: 12.5px; color: var(--p-ink2, #c9d1db); margin-top: 2px; }
.cv-recent-btn { position: fixed; z-index: 61; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 48px); left: 50%; translate: -50% 0; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--hv-line-2); background: rgba(16, 21, 28, 0.96); color: var(--hv-ink-1); font: 600 13px var(--hv-f-body); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.cv-recent-btn[hidden], .cv-recent[hidden], body[data-cine] .cv-recent-btn { display: none; }
.cv-recent { position: fixed; z-index: 62; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 100px); left: 50%; translate: -50% 0; width: min(380px, calc(100vw - 32px));
  max-height: 60vh; overflow: auto; border-radius: 14px; border: 1px solid var(--hv-line-2); background: rgba(16, 21, 28, 0.98); color: var(--hv-ink-1); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.cv-rhead { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 14px; font: 600 13px var(--hv-f-body); }
.cv-rhead .cv-x { min-width: 44px; min-height: 44px; }
.cv-rlist { display: grid; padding: 0 6px 8px; }
.cv-rrow { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; text-align: left; color: var(--hv-ink-1); font: 500 13px var(--hv-f-body); }
.cv-rrow span:nth-child(2) { color: var(--up, #3ddc84); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-rrow.dn span:nth-child(2) { color: var(--down, #ff5c5c); }
.cv-rrow .cv-ago { color: var(--hv-ink-3, #8b95a1); font-size: 12px; }
@media (max-width: 799px) {
  .cv-recent-btn { top: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 52px); }
  .cv-recent { top: auto; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 104px); }
  /* run 2 item 9: with a sheet open, Recent and the held chip share ONE row under it (Recent left, the chip right), so the sheet gives up
     one row, not two, and neither covers its text */
  body[data-drawer="open"][data-pdock="2"]:not([data-tm]) .cv-recent-btn { left: 16px; translate: none; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 8px); }
  body[data-drawer="open"][data-pdock="2"]:not([data-tm]) .cv-held { left: auto; right: 16px; translate: none; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 15px);
    max-width: calc(100vw - 160px); overflow: hidden; text-overflow: ellipsis; }
  body[data-drawer="open"][data-pdock="2"]:not([data-tm]) .cv-recent { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 60px); }
  .cv-toast .cv-x { min-width: 44px; min-height: 44px; }
  .p-toast { min-height: 44px; }
}

/* v6 P0-2: caChip — "CA 0x12…abcd" opens a popover with the full address, a clipboard button, the explorer link, a v4 pool id */
.ca-chip { display: inline-flex; flex-wrap: wrap; align-items: center; max-width: 100%; padding: 0; }
.ca-chip:has(.ca-pop:not([hidden])) { flex-basis: 100%; }
.ca-tog { display: inline-flex; align-items: center; gap: 2px; min-height: inherit; padding: 0 4px; color: inherit; font: inherit; background: none; border: 0; cursor: pointer; }
.ca-tog:hover code, .ca-tog:focus-visible code { color: var(--hv-ink-1); text-decoration: underline; }
.ca-pop { flex: 1 0 100%; box-sizing: border-box; max-width: 100%; margin: 6px 0 2px; display: grid;   /* in flow: a card / pop-up clips overflow */ gap: 8px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid var(--hv-line-2); background: rgba(16, 21, 28, 0.98); color: var(--hv-ink-1); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); font: 500 12px/1.35 var(--hv-f-body); }
.ca-pop[hidden] { display: none; }
.ca-row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.ca-row .ca-k { grid-column: 1 / -1; font: 700 11px var(--hv-f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-3); }
.ca-full { font: 500 12px/1.35 var(--hv-f-data); word-break: break-all; overflow-wrap: anywhere; color: var(--hv-ink-1); user-select: all; }
.ca-clip { min-width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: var(--hv-glass-solid); color: var(--hv-ink-1); font: 600 14px var(--hv-f-body); }
.ca-clip[data-copied] { color: var(--up); font-size: 12px; }
.ca-clip .ca-ico { display: block; margin: auto; pointer-events: none; }   /* verify D4: the SVG clipboard icon (no font glyph) */
.ca-shared { margin: 0; color: var(--ms, #ffcf4a); }
.ca-pop .ca-exp { min-height: 36px; display: inline-flex; align-items: center; padding: 0; color: var(--hv-ink-2); text-decoration: underline; }

/* v6 P0-3: the Stream's filter rows say what they measure: "Per trade" (the trade's size), "Token cap" (the token's market cap) */
.sf-lbl { align-self: center; min-width: 0; margin-right: 2px; font: 700 11px var(--hv-f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-3); }
.ss-cap .ss-btn { min-height: 32px; }
.ss-cap { display: block; margin-top: 4px; }

/* v6 P0-4 [M6]: a trade row's outcome where the data has a later reading: "pair cap 09:14 → now +12% · $800k → $896k (feed)"; up green,
   down red (figures up are always green), its own line under the row; never a peak, never "since this buy" */
.ev.sv .ev-hit { grid-template-areas: "time kind what amt" "sub sub sub mc" "out out out out" "raw raw raw raw"; }
.ev.sv .ev-out { grid-area: out; min-width: 0; font: 600 11.5px/1.3 var(--hv-f-data); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--hv-ink-3); }
.ev.sv .ev-out.up { color: var(--up); }
.ev.sv .ev-out.dn { color: var(--down); }
.stream-scope .ss-out { display: block; margin-top: 4px; }
.stream-scope .ss-out .up { color: var(--up); font-weight: 600; }
.stream-scope .ss-out .dn { color: var(--down); font-weight: 600; }

/* ── 10-03 Member Now · Track a token · the Tracked destination ── */
@media (min-width: 800px) { body[data-lens="tracked"] { --lens-w: clamp(420px, 46vw, 720px); } }
#lensbar button[data-lens="tracked"], #lenstabs button[data-lens="tracked"] { position: relative; }
#lensbar button[data-trk-n]::after, #lenstabs button[data-trk-n]::after {
  content: attr(data-trk-n); position: absolute; top: 4px; right: calc(50% - 22px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  display: grid; place-items: center; font: 700 11px/17px var(--hv-f-data); letter-spacing: 0; color: var(--hv-on-accent); background: var(--hv-honey);
}
.trk-star {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; min-width: 44px; min-height: 44px; padding: 0 8px; margin: -6px -6px -6px 0;
  border: 0; border-radius: 999px; background: none; color: var(--hv-ink-2); cursor: pointer; font: 700 12px/1 var(--hv-f-body);
}
.trk-star .trk-ico { width: 22px; height: 22px; fill: none; transition: transform 0.18s ease, fill 0.18s ease; }
.trk-star:hover { color: var(--hv-honey-2); background: rgba(245, 184, 61, 0.08); }
.trk-star[aria-pressed="true"] { color: var(--hv-honey); }
.trk-star[aria-pressed="true"] .trk-ico { fill: var(--hv-honey); transform: scale(1.08); }
.trk-star.trk-lbl { border: 1px solid var(--hv-line-2); margin: 0; padding: 0 12px 0 10px; }
.trk-star.trk-lbl[aria-pressed="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
@media (prefers-reduced-motion: reduce) { .trk-star .trk-ico { transition: none; } }
body[data-motion="reduced"] .trk-star .trk-ico { transition: none; }
.ev { position: relative; }
.ev:not(.sv) .trk-star { position: absolute; right: 2px; bottom: 2px; min-width: 40px; min-height: 40px; margin: 0; }
.ev.sv { grid-template-columns: minmax(0, 1fr) auto auto; }
.ev.sv .trk-star { align-self: center; min-width: 40px; min-height: 44px; margin: 0; padding: 0 4px; }
.ev .trk-star .trk-ico { width: 18px; height: 18px; }
.srow .trk-star { margin: 0; }
.cv-top .trk-star { margin-left: auto; }
.drawer-hact .trk-star { margin: 0; }
.p-card .row1 .trk-star, .p-run .trk-star { margin: -6px -8px -6px 0; }
.p-run .trk-star { position: absolute; top: 44px; right: 6px; z-index: 1; }
.lk-head-trk { display: flex; justify-content: flex-end; }

.now-mon, .now-live, .now-trk, .now-tape, .now-rec, .trk-card, .trk-head, .trk-empty { gap: 10px; }
.mn-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.mn-h h3 { margin: 0; font: 800 20px/1.1 var(--hv-f-display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-1); }
.mn-sub { font: 600 12px/1.4 var(--hv-f-body); color: var(--hv-ink-3); }
.mn-xy { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font: 500 13px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.mn-xy b, .nr-pill { font: 700 14px/1.2 var(--hv-f-data); }
.br-slot { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; border: 1px dashed var(--hv-line-3); font: 600 12px/1.2 var(--hv-f-body); color: var(--hv-ink-3); white-space: nowrap; }
.br-slot[data-base-rate="on"] { border-style: solid; color: var(--hv-ink-2); }
.mn-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; min-width: 0; }
@media (max-width: 799px) { .mn-rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(232px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; } .mn-card { scroll-snap-align: start; } }
.mn-card { display: grid; gap: 6px; align-content: start; min-width: 0; padding: 11px 12px; border-radius: var(--hv-r-md); background: var(--hv-bg-2); border: 1px solid var(--hv-line-1); }
/* #136 (audit 21 Oct): no green edge or glow on a pick; its frame is the v3.1 ladder (.v31-frame[data-frame]) */
.mn-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mn-rk { font: 700 12px/1 var(--hv-f-data); color: var(--hv-ink-3); }
.mn-top .p-av { width: 34px; height: 34px; font-size: 12px; }
.mn-nm, .nl-nm, .tc-nm { display: grid; min-width: 0; flex: 1 1 auto; }
.mn-sym, .nl-sym, .tc-sym, .tk-tok { justify-self: start; max-width: 100%; border: 0; background: none; padding: 0; text-align: left; color: var(--hv-ink-1); cursor: pointer;
  font: 700 18px/1.15 var(--hv-f-display); letter-spacing: 0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mn-sym:hover, .nl-sym:hover, .tc-sym:hover, .tk-tok:hover { color: var(--hv-honey-2); }
.mn-meta, .nl-meta, .tc-meta { font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-ink-3); overflow-wrap: anywhere; }
.mn-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mn-x { font: 700 30px/1.05 var(--hv-f-data); letter-spacing: -0.02em; white-space: nowrap; }
.mn-x[data-t="t1"] { font-size: 26px; } .mn-x[data-t="t2"] { font-size: 30px; } .mn-x[data-t="t3"] { font-size: 34px; } .mn-x[data-t="t4"] { font-size: 40px; }
.mn-line, .mn-when { margin: 0; font: 500 12.5px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.mn-line b { font: 600 13px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.mn-line b.cv-up { color: var(--hv-win-1); }
.mn-when { color: var(--hv-ink-3); }
.nl-list, .tk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.nl-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: var(--hv-r-md); background: var(--hv-bg-2); border: 1px solid var(--hv-line-1); }
.nl-row .p-av { width: 32px; height: 32px; font-size: 11px; }
.nl-sym { font-size: 16px; }
.nl-x { flex: none; font: 700 17px/1 var(--hv-f-data); white-space: nowrap; }
.ng-go[data-now-go] { justify-self: start; min-height: 44px; }
.trk-empty-l { margin: 0; font: 600 15px/1.45 var(--hv-f-body); color: var(--hv-ink-1); }
/* r1b alerts (): "Check my wallet" on Tracked: one field + Check on one row (they wrap on a narrow phone); inert until its lookup is live */
.trk-myw .myw-l { margin: 0 0 8px; font: 500 13px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.myw-row { display: flex; flex-wrap: wrap; gap: 8px; }
.myw-in { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2, #211b14); color: var(--hv-ink-1); font: 500 14px var(--hv-f-body); }
.myw-in:disabled { opacity: 0.6; cursor: not-allowed; }
.myw-go { min-height: 44px; }
.myw-go[aria-disabled="true"] { opacity: 0.7; cursor: not-allowed; }
.trk-empty-s { margin: 0; font-size: 12.5px; color: var(--hv-ink-3); }
.trk-empty { justify-items: start; }
.trk-empty h3 { margin: 0; font: 800 20px/1.1 var(--hv-f-display); letter-spacing: 0.04em; text-transform: uppercase; }
.trk-empty-ico .trk-ico { width: 40px; height: 40px; color: var(--hv-honey); fill: var(--hv-honey-bg); }
.trk-empty .mn-rail { justify-self: stretch; }
/* Tune 2 (nuc-a, 3 Nov; sweep row 11): a desktop's "Try one of our biggest calls" sets its cards with no card alone on a row: one row
   of up to three when the panel holds them, else one column. The phone keeps its swipe rail. */
@media (min-width: 800px) {
  .trk-empty { container: trkempty / inline-size; }
  .trk-empty .mn-rail { grid-template-columns: minmax(0, 1fr); }
  @container trkempty (min-width: 520px) {
    .trk-empty .mn-rail { grid-template-columns: repeat(var(--mn-n, 3), minmax(0, 1fr)); }
    .trk-empty .mn-rail[data-n="1"] { --mn-n: 1; }
    .trk-empty .mn-rail[data-n="2"] { --mn-n: 2; }
    .trk-empty .mn-sym { white-space: normal; overflow-wrap: anywhere; font-size: 16px; }   /* a third of the panel: a long name wraps, never cut */
    .trk-empty .mn-top { gap: 6px; }
    .trk-empty .mn-top .p-av { width: 28px; height: 28px; font-size: 11px; }
    .trk-empty .mn-rk { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* the order is the rank; screen readers keep "#1" */
  }
}
.tk-fact { display: grid; gap: 2px; padding: 8px 10px; border-radius: var(--hv-r-md); background: var(--hv-bg-2); border: 1px solid var(--hv-line-1); min-width: 0; }
.tk-fact p { margin: 0; overflow-wrap: anywhere; }
.tk-l1 { font: 600 13.5px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.tk-who { color: var(--hv-honey-2); }
.tk-tok { display: inline; font-size: 15px; vertical-align: baseline; }
.tk-l2 { font: 500 12.5px/1.45 var(--hv-f-data); color: var(--hv-ink-2); }
.tk-l2 b { font-weight: 700; }
.tk-win, .tk-l3 { color: var(--hv-ink-3); }
.tk-l3 { font: 500 12px/1.4 var(--hv-f-body); }
.tk-note { margin: 0; font-size: 12px; color: var(--hv-ink-3); }
.nr-l { margin: 0; font: 500 14px/1.45 var(--hv-f-body); color: var(--hv-ink-1); }
.nr-l b { font: 700 16px/1.2 var(--hv-f-data); }
.nr-xy { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.nr-pill { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--hv-win-bg); border: 1px solid var(--hv-win-line); color: var(--hv-win-1); font-size: 13px; }
.now-map .ng-s { font: 600 14px/1.45 var(--hv-f-body); color: var(--hv-ink-1); }
.now-trust { border-top: 0; padding-top: 0; color: var(--hv-ink-3); }
.trk-head { gap: 8px; }
.trk-hl { margin: 0; font: 600 14px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.trk-al { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trk-alert { min-height: 44px; }
.trk-alert-note { margin: 0; flex: 1 1 220px; font-size: 12.5px; color: var(--hv-ink-2); }
.tc-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tc-sym { font-size: 20px; }
.tc-mc, .tc-last, .tc-24, .tc-xy { margin: 0; font: 500 13px/1.5 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.tc-mc b { font: 600 13.5px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.tc-mc b.cv-up { color: var(--hv-win-1); } .tc-mc b.cv-dn { color: var(--hv-loss); }
.tc-xy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.tc-figs { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.tc-fig { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }   /* a phone: the chip ("since call · last check") takes the next line when the figure leaves it no room; unwrapped, the pair (367 px) widened the card's grid track past the card and #lens-body scrolled sideways (trkov-) */
.tc-x { font: 700 24px/1.05 var(--hv-f-data); white-space: nowrap; }
.tc-muted { color: var(--hv-ink-3); font-size: 12.5px; margin: 0; }
.tc-tape { display: grid; gap: 6px; }
.tc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.xl-off { color: inherit; text-decoration: none; }
.mn-intro { margin: 0; font: 600 14px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }

/* UI fix run C: the odds slot on Member surfaces (where the rule-exit line was). Figures green (up), never gradient text. */
.odds { margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--hv-line-2, rgba(255, 214, 150, 0.17)); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.odds p { margin: 0; line-height: 1.35; overflow-wrap: anywhere; }
.odds .odds-h { font: 700 11px/1.3 var(--hv-f-body, inherit); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-2, #b4a794); }
.odds .odds-r { margin-top: 4px; font-size: 14px; color: var(--hv-ink-1, #f1e8da); }
.odds .odds-r b { font-variant-numeric: tabular-nums; }
.odds .odds-r b.cv-up { color: var(--up, #3ddc84); text-shadow: 0 0 10px rgba(61, 220, 132, 0.35); }
.odds .odds-n { margin-top: 2px; font-size: 12px; color: var(--hv-ink-3, #8b95a1); }
/* UI fix run F: a called coin with no tracked wallets says so where Trace in HIVE would be */
.tm-notrk p { margin: 0; color: var(--hv-ink-2, #b4a794); font-size: 13px; line-height: 1.4; }
.tm-notrk p + p { color: var(--hv-ink-3, #8b95a1); font-size: 12px; }
/* UI fix run G: signal chips (Member). BUY / HODL green, SETUP blue, EXIT red; no read = a plain grey bar. Not advice. */
.sig-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 6px 0 2px; min-width: 0; }
.sig-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sig-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 2px 9px; border-radius: 999px; font: 600 12px/1.2 var(--hv-f-body, inherit); border: 1px solid currentColor; white-space: nowrap; }
.sig-chip b { font-weight: 800; letter-spacing: 0.04em; }
.sig-buy, .sig-hodl { color: var(--up, #3ddc84); background: rgba(61, 220, 132, 0.10); }
.sig-setup { color: #5aa9ff; background: rgba(90, 169, 255, 0.10); }
.sig-exit { color: var(--down, #ff5c5c); background: rgba(255, 92, 92, 0.10); }
.sig-bar { display: block; flex: 1 1 60px; height: 6px; min-width: 40px; border-radius: 3px; background: rgba(255, 255, 255, 0.10); }
.sig-note { font-size: 11px; color: var(--hv-ink-3, #8b95a1); }
/* D20 / F2: "Smart money in" is a button; its tap line (the definition + the record behind it) opens under the chips */
button.sig-chip { cursor: pointer; font: 600 12px/1.2 var(--hv-f-body, inherit); }
.sig-rec { flex: 1 0 100%; display: grid; gap: 2px; padding: 6px 0 2px; font: 500 12.5px/1.4 var(--hv-f-body, inherit); color: var(--hv-ink-1, #f1e8da); white-space: normal; }
.sig-rec p { margin: 0; }
.sig-rec .sig-rec-none { color: var(--hv-ink-3, #8b95a1); }
/* UI fix run H: Play filters in the Trace HUD */
.tmf { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
/* axe sweep: these were the browser's own grey button (4.38:1); they take the HUD's outline control (.tm-ic, #tm-back) */
.tm-tape-go, .tmf-btn, .tmf-r, .tmf-clear { background: transparent; border: 1px solid var(--hv-line-2); color: var(--hv-ink-1); }
.tmf-btn { min-height: 36px; padding: 0 12px; font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmf-btn.on { border-color: var(--hv-honey, #f5b83d); color: var(--hv-honey, #f5b83d); }
.tmf-panel { display: grid; gap: 8px; padding: 8px; border: 1px solid var(--hv-line-2, rgba(255, 214, 150, 0.17)); border-radius: 12px; background: rgba(16, 21, 28, 0.96); max-width: 100%; }
.tmf-rng { display: flex; flex-wrap: wrap; gap: 6px; }
.tmf-r { min-height: 36px; min-width: 44px; padding: 0 10px; font-size: 12px; }
.tmf-r[aria-checked="true"] { border-color: var(--hv-honey, #f5b83d); color: var(--hv-honey, #f5b83d); }
.tmf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tmf-in { display: grid; gap: 2px; font-size: 11px; color: var(--hv-ink-3, #8b95a1); }
.tmf-in input { min-height: 36px; width: 9.5em; max-width: 100%; padding: 0 8px; border-radius: 8px; border: 1px solid var(--hv-line-2, rgba(255, 214, 150, 0.17)); background: rgba(0, 0, 0, 0.3); color: var(--hv-ink-1, #f1e8da); font: 500 13px var(--hv-f-body, inherit); }
.tmf-clear { min-height: 36px; justify-self: start; font-size: 12px; }
/* UI fix run I: Your bot (More → Your bot; the Operator's panel, "Not open yet" for Members). BUY SIGNALS ONLY; no buy button that trades from HIVE. */
.bot-prem { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--hv-honey, #f5b83d); color: var(--hv-honey, #f5b83d); font: 700 11px/1.6 var(--hv-f-body, inherit); letter-spacing: 0.08em; text-transform: uppercase; }
.bot-only { margin: 6px 0 0; font-size: 13px; color: var(--hv-ink-2, #b4a794); }
.bot-mock { margin: 6px 0 0; font-size: 12px; color: var(--hv-ink-3, #8b95a1); }
.bot-form, .bot-tmpl, .bot-list, .bot-sec { display: grid; gap: 10px; }
.bot-form h4, .bot-tmpl h4, .bot-list h4, .bot-sec h4 { margin: 0; font: 800 14px/1.2 var(--hv-f-display, inherit); letter-spacing: 0.04em; text-transform: uppercase; }
.bot-f { display: grid; gap: 4px; border: 0; padding: 0; margin: 0; min-width: 0; font-size: 13px; color: var(--hv-ink-2, #b4a794); }
.bot-f legend { padding: 0; margin-bottom: 4px; }
.bot-f label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; margin-right: 12px; color: var(--hv-ink-1, #f1e8da); }
.bot-f input[type="url"], .bot-f select, .bot-tmpl input { min-height: 44px; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 10px; border-radius: 10px; border: 1px solid var(--hv-line-2, rgba(255, 214, 150, 0.17)); background: rgba(0, 0, 0, 0.3); color: var(--hv-ink-1, #f1e8da); font: 500 14px var(--hv-f-body, inherit); }
.bot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.bot-row .mini-btn, .bot-save { min-height: 44px; }
.bot-tmpl .bot-row input { flex: 1 1 220px; }
.bot-err { margin: 0; color: var(--down, #ff5c5c); font-size: 13px; }
.bot-secret { display: block; max-width: 100%; overflow-wrap: anywhere; padding: 8px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); font-size: 13px; }
.bot-hooks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bot-hook { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--hv-line-2, rgba(255, 214, 150, 0.17)); border-radius: 12px; min-width: 0; }
.bot-hl { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.bot-log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; }
.hk-st { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 700 11px/1.6 var(--hv-f-body, inherit); }
.hk-st.ok { color: var(--up, #3ddc84); background: rgba(61, 220, 132, 0.12); }
.hk-st.pend { color: var(--hv-ink-2, #b4a794); background: rgba(255, 255, 255, 0.06); }
.hk-st.bad { color: var(--down, #ff5c5c); background: rgba(255, 92, 92, 0.12); }
.bot-tmsg { margin: 0; font-size: 12px; color: var(--hv-ink-3, #8b95a1); }

/* run 2 item 2: "Look it up" shows it is working; the market-cap row it lands on is lit (outline only: no layout shift) */
.xpl-act[data-busy="1"]::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 6px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: lk-spin 0.8s linear infinite; }
@keyframes lk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .xpl-act[data-busy="1"]::after { animation: none; } }
body[data-motion="reduced"] .xpl-act[data-busy="1"]::after { animation: none; }
#drawer [data-hl="1"] { outline: 2px solid var(--hv-honey); outline-offset: 3px; border-radius: 10px; }
.lk-why { color: var(--hv-ink-2); }
/* run 2 item 0b: the Simple / Advanced switch (More strip on a phone, the rail on desktop) */
.ui-mode .ui-knob { transition: transform 160ms ease-out; }
.ui-mode[aria-checked="true"] { color: var(--hv-honey-2); }
.ui-mode[aria-checked="true"] .ui-knob { transform: translateX(7px); }
body[data-motion="reduced"] .ui-mode .ui-knob { transition: none; }
@media (prefers-reduced-motion: reduce) { .ui-mode .ui-knob { transition: none; } }
/* run 2 item 10: Tracked pairs phase 1 — the tape fold, pings, inbox, the cap note */
#lensbar button[data-trk-ping]::before, #lenstabs button[data-trk-ping]::before {
  content: ""; position: absolute; top: 6px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--hv-crit); box-shadow: 0 0 0 2px var(--hv-bg-1, #0b0a08);
}
.trk-fold { margin-top: 10px; border-top: 1px solid var(--hv-line-1, rgba(241, 232, 218, 0.08)); padding-top: 4px; }
.trk-sum { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; font: 700 13px var(--hv-f-body); color: var(--hv-honey-2); list-style: none; }
.trk-sum::-webkit-details-marker { display: none; }
.trk-sum::before { content: "▸"; transition: transform 160ms ease-out; }
.trk-fold[open] > .trk-sum::before { transform: rotate(90deg); }
.trk-un { padding: 2px 7px; border-radius: 999px; background: var(--hv-crit); color: var(--hv-on-accent); font: 700 11px var(--hv-f-data); }
.trk-read, .trk-alerts, .trk-ph, .trk-fullbox { display: grid; gap: 6px; margin: 6px 0 10px; }
.trk-flow, .trk-who, .trk-mc { margin: 0; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.trk-word { font: 800 15px/1 var(--hv-f-display); letter-spacing: 0.06em; }
.trk-mvs, .trk-tgs, .trk-pl, .trk-ib { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.trk-mv { font: 500 12px/1.35 var(--hv-f-data); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.trk-mv.up b { color: var(--hv-win-1); } .trk-mv.dn b { color: var(--hv-loss); }
.trk-mv-t { color: var(--hv-ink-3); }
.trk-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trk-readnow, .trk-full { min-height: 44px; }
.trk-readnow[data-busy="1"] { opacity: 0.75; cursor: progress; }
.trk-why, .trk-tg-note { margin: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.trk-tg-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.trk-tg { min-height: 44px; flex: 1 1 200px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px;
  border: 1px solid var(--hv-line-2); background: none; color: var(--hv-ink-1); font: 600 13px var(--hv-f-body); text-align: left; cursor: pointer; }
.trk-tg[aria-checked="true"] { border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.trk-tg-ch { font: 600 11px var(--hv-f-data); color: var(--hv-ink-3); white-space: nowrap; }
.trk-tg[aria-checked="true"] .trk-tg-ch { color: var(--hv-honey-2); }
.trk-tg-tel { min-height: 44px; padding: 0 10px; border-radius: 14px; border: 1px dashed var(--hv-line-2); background: none; color: var(--hv-ink-3); font: 600 12px var(--hv-f-body); cursor: not-allowed; }
.trk-inbox .trk-ibr { width: 100%; min-height: 44px; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 14px;
  border: 0; background: none; color: var(--hv-ink-2); font: 500 13px/1.35 var(--hv-f-body); text-align: left; cursor: pointer; }
.trk-inbox .trk-ibr.un { color: var(--hv-ink-1); font-weight: 700; background: rgba(245, 184, 61, 0.06); }
.trk-ibt { min-width: 0; overflow-wrap: anywhere; }
.trk-pings { position: fixed; z-index: 64; right: 16px; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 8px); display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.trk-pop { pointer-events: auto; min-height: 44px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--hv-honey-line); background: rgba(16, 21, 28, 0.97); color: var(--hv-ink-1);
  font: 500 13px/1.35 var(--hv-f-body); text-align: left; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); cursor: pointer; animation: trkpop 200ms ease-out; }
.trk-pop b { color: var(--hv-honey-2); }
@keyframes trkpop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body[data-motion="reduced"] .trk-pop, body[data-motion="reduced"] .trk-sum::before { animation: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .trk-pop { animation: none; } .trk-sum::before { transition: none; } }
.trk-note { position: fixed; z-index: 66; left: 50%; translate: -50% 0; bottom: calc(var(--tab-h, 0px) + env(safe-area-inset-bottom, 0px) + 16px); max-width: calc(100vw - 32px); margin: 0;
  padding: 8px 14px; border-radius: 14px; border: 1px solid var(--hv-honey-line); background: rgb(16, 21, 28); color: var(--hv-ink-1); font: 600 13px/1.35 var(--hv-f-body);
  pointer-events: none; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.trk-note[hidden] { display: none; }
@media (max-width: 799px) { .trk-pings { left: 16px; right: 16px; width: auto; } }
.trk-dlv { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 12px var(--hv-f-body); color: var(--hv-ink-2); }
/* run 2 item 15: the Members' window panel floats above the trace HUD (app.js sets its bottom from the HUD's top) */
.tmf-panel.tmf-win { position: fixed; z-index: 45; left: 50%; translate: -50% 0; bottom: 120px; width: min(440px, calc(100vw - 24px)); max-width: none; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.tmf-win .tm-btn { min-height: 44px; }
.tmf-cov { margin: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
/* run 2 items 6 + 11: the glossary explainer, the one modal system (Settings, Help), the lens "?" */
.lens-help { font: 800 15px/1 var(--hv-f-body); }
.gloss-pop { position: fixed; z-index: 90; width: min(300px, calc(100vw - 24px)); padding: 12px 44px 12px 14px; border-radius: 14px; border: 1px solid var(--hv-honey-line);
  background: rgba(16, 21, 28, 0.98); color: var(--hv-ink-1); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
.gloss-pop[hidden] { display: none; }
.gloss-w { display: block; font: 800 15px/1.2 var(--hv-f-display); letter-spacing: 0.03em; color: var(--hv-honey-2); }
.gloss-l { margin: 4px 0 0; font: 500 13px/1.4 var(--hv-f-body); }
.gloss-m { margin: 4px 0 0; font: 500 11px var(--hv-f-data); color: var(--hv-ink-3); }
.gloss-x { position: absolute; top: 2px; right: 2px; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--hv-ink-2); font-size: 22px; cursor: pointer; }
.hm { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; }
.hm-scrim { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.66); }
.hm-panel { position: relative; width: min(560px, 100%); max-height: min(86vh, 860px); overflow: auto; border-radius: 14px; border: 1px solid var(--hv-line-2);
  background: var(--hv-bg-1); color: var(--hv-ink-1); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); outline: none; }
.hm-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 6px 8px 16px; background: var(--hv-bg-1); border-bottom: 1px solid var(--hv-line-1); }
.hm-title { margin: 0; font: 800 20px/1.1 var(--hv-f-display); letter-spacing: 0.04em; text-transform: uppercase; }
.hm-x { min-width: 44px; min-height: 44px; border: 0; border-radius: 14px; background: none; color: var(--hv-ink-2); font-size: 24px; cursor: pointer; }
.hm-x:focus-visible, .set-c:focus-visible, .help-q:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
.hm-body { display: grid; gap: 14px; padding: 12px 16px 18px; }
.set-row { display: grid; gap: 8px; }
.set-h { margin: 0; font: 700 12px var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-2); }
.set-sub, .set-foot { margin: 0; font: 500 12px var(--hv-f-body); color: var(--hv-ink-3); }
.set-ch { display: flex; flex-wrap: wrap; gap: 6px; }
.set-c { min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--hv-line-2); background: none; color: var(--hv-ink-1); font: 600 13px var(--hv-f-body); cursor: pointer; }
.set-c[aria-checked="true"] { border-color: var(--hv-honey-line); color: var(--hv-honey-2); background: rgba(245, 184, 61, 0.08); }
.set-tg[aria-disabled="true"] { opacity: 0.7; cursor: not-allowed; }
/* r1b alerts (NEW-530): the tone pick and its Play preview sit on one wrapping row under Sound */
.set-tone { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.set-tone-play { min-height: 44px; }
/* r1b alerts (P3): an inert device-alerts switch says why beside it ("Opens soon"), as the Telegram row does */
.set-why { align-self: center; font: 600 13px var(--hv-f-body); color: var(--hv-ink-2); }
.set-clear[data-sure="1"] { border-color: var(--hv-crit); color: var(--hv-crit); }
.help-q { min-height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2, #211b14); color: var(--hv-ink-1); font: 500 14px var(--hv-f-body); }
.help-sec h3 { margin: 0 0 6px; font: 800 15px var(--hv-f-display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--hv-honey-2); }
.help-cards, .help-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font: 500 13px/1.4 var(--hv-f-body); }
.help-tour { margin-top: 8px; min-height: 44px; }   /* r1b alerts (): Help replays the tour */
.help-card { padding: 10px 12px; border-radius: 14px; background: rgba(241, 232, 218, 0.04); }
.help-gloss { margin: 0; display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 4px 12px; font: 500 13px/1.4 var(--hv-f-body); }
.help-gloss dt { font-weight: 700; color: var(--hv-ink-1); }
.help-gloss dd { margin: 0; color: var(--hv-ink-2); }
.help-p, .help-none { margin: 0; font: 500 13px/1.45 var(--hv-f-body); }
@media (max-width: 799px) { .hm { place-items: end stretch; padding: 0; } .hm-panel { width: 100%; max-height: 88vh; border-radius: 14px 14px 0 0; } .help-gloss { grid-template-columns: 1fr; } }
.help-sec { scroll-margin-top: 64px; }
/* run 2 item 8: the Stream's view (All trades · Insider wallets · HIVE calls) and each Member row's why line (its own full row) */
.sf-chip.sf-view[aria-checked="false"] { color: var(--hv-ink-3); border-style: dashed; }
.sf-chip.sf-view[aria-checked="true"] { color: var(--hv-honey-2); background: var(--hv-honey-bg); border-color: var(--hv-honey-line); border-style: solid; }
.ev.sv .ev-hit { grid-template-areas: "time kind what amt" "sub sub sub mc" "why why why why" "out out out out" "raw raw raw raw"; }
.ev.sv .ev-why { grid-area: why; min-width: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
/* run 2 item 19: the HIVE Pulse strip — terminal look, one row of sections that scrolls sideways; on the Pit under the header, over
   the Hive under the top bar (compact); locked sections greyed with a lock and a "What unlocks" preview */
.pulse-strip { display: grid; gap: 6px; padding: 8px 12px; font: 500 12px/1.35 var(--hv-f-data); color: var(--hv-ink-1); background: rgba(11, 10, 8, 0.94);
  border-bottom: 1px solid var(--hv-line-2); }
.pulse-strip[hidden] { display: none; }
.pu-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pu-name { font: 800 13px/1 var(--hv-f-display); letter-spacing: 0.14em; color: var(--hv-honey-2); }
.pu-ch { display: inline-flex; gap: 4px; }
.pu-c { min-height: 32px; min-width: 44px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: none; color: var(--hv-ink-3); font: 700 11px var(--hv-f-data); letter-spacing: 0.06em; cursor: pointer; }
.pu-c[aria-pressed="true"] { color: var(--hv-honey-2); border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.pu-at { margin-left: auto; color: var(--hv-ink-3); font-size: 11px; }
.pu-secs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 2px; }
.pu-sec { scroll-snap-align: start; display: grid; align-content: start; gap: 4px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--hv-line-1); background: rgba(33, 27, 20, 0.6); min-width: 0; }
.pu-h { margin: 0; display: flex; justify-content: space-between; gap: 6px; font: 700 11px/1.2 var(--hv-f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hv-ink-2); }
.pu-tier { color: var(--hv-honey-2); letter-spacing: 0.04em; }
.pu-big { margin: 0; font-size: 13px; } .pu-big > b:first-child { font-size: 16px; color: var(--hv-ink-1); }
.pu-l, .pu-k, .pu-nm { margin: 0; overflow-wrap: anywhere; }
.pu-k { color: var(--hv-ink-3); font-size: 11px; }
.pu-nm { color: var(--hv-ink-3); font-style: italic; }
.pu-sp { display: flex; align-items: center; gap: 8px; color: var(--hv-honey-2); }
.pu-spark { width: 96px; height: 22px; flex: none; }
.pu-bar { position: relative; height: 18px; border-radius: 6px; background: rgba(255, 107, 87, 0.28); overflow: hidden; }
.pu-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgba(95, 227, 156, 0.45); }
.pu-bar span { position: relative; padding-left: 6px; font-size: 11px; line-height: 18px; color: var(--hv-ink-1); }
.pu-row { display: flex; align-items: center; gap: 6px; min-height: 44px; width: 100%; padding: 2px 0; border: 0; background: none; color: var(--hv-ink-1); font: inherit; text-align: left; cursor: pointer; }
.pu-row .p-av { width: 22px; height: 22px; font-size: 11px; }
.pu-ins { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.pu-lock { background: rgba(33, 27, 20, 0.3); border-style: dashed; }
.pu-lock .pu-h { color: var(--hv-ink-3); }
.pu-ghost { display: grid; gap: 4px; } .pu-ghost i { display: block; height: 8px; border-radius: 4px; background: rgba(241, 232, 218, 0.07); } .pu-ghost i:nth-child(2) { width: 70%; } .pu-ghost i:nth-child(3) { width: 45%; }
.pu-prev { min-height: 36px; justify-self: start; padding: 0 10px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: none; color: var(--hv-ink-2); font: 600 11.5px/1.3 var(--hv-f-body); text-align: left; cursor: pointer; }
.pu-prev[aria-expanded="true"] { color: var(--hv-ink-1); border-color: var(--hv-honey-line); }
.pu-sec .pu-sec { margin-top: 4px; }
.pu-warn, .pu-foot { margin: 0; color: var(--hv-ink-3); font-size: 11px; }
.dash-defs { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 2px 0 0; padding: 0; list-style: none; color: var(--hv-ink-3); font-size: 11px; }   /* R0-05l: one short definition per line on a phone */
.pulse-fixed { position: fixed; z-index: 30; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 4px); left: 12px; right: 12px; border: 1px solid var(--hv-line-2); border-radius: 14px; }
.pulse-fixed .pu-foot, .pulse-fixed .pu-warn { display: none; }
.pulse-fixed .pu-sec { max-height: 116px; overflow: hidden; }
@media (min-width: 800px) { .pulse-fixed { left: calc(var(--lensbar-w, 96px) + 24px); right: calc(var(--rail-w, 340px) + 28px); } }
body[data-tm] .pulse-fixed { display: none; }
/* run 2 item 14: the coin sheet's outcome line carries the pool's honeycomb colour as a dot */
.g-line { display: flex; align-items: baseline; gap: 6px; }
.g-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--g); transform: translateY(1px); }
.rpl-cv { display: block; width: 100%; max-height: 60vh; object-fit: contain; border-radius: 14px; background: #0b0a08; }   /* run 2 item 20 */
/* major-r1 hplay: one plain sentence per step under the line, Previous / Next beside it; the working words in Details */
.rpl-steps { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.rpl-steps .set-c { padding: 0 12px; white-space: nowrap; }
.rpl-steps .set-c[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.rpl-cap { margin: 0; min-height: 2.7em; font: 500 14px/1.35 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.rpl-n { display: block; font: 600 11px/1.3 var(--hv-f-data); letter-spacing: 0.04em; color: var(--hv-ink-2); }
.rpl-det summary { min-height: 44px; display: flex; align-items: center; font: 600 13px var(--hv-f-body); color: var(--hv-ink-2); cursor: pointer; }
.rpl-det .set-foot + .set-foot { margin-top: 6px; }
.rpl-save[open] > .set-ch + .set-ch { margin-top: 8px; }
#hmodal[data-hm="replay"] .rpl-cv { max-height: 50vh; }
/* r1b rc (review 2 P2): on screen the chart alone, its words HTML at 11 px and up over it (the saved files draw every word) */
.rpl-stage { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.rpl-stage .rpl-cv { width: auto; height: auto; max-width: 100%; }
.rpl-ov { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 14px; }
.rpl-ov-sc, .rpl-ov-hold { position: absolute; padding: 1px 4px; border-radius: 4px; background: rgba(11, 10, 8, 0.82); white-space: nowrap; }
.rpl-ov-sc { transform: translateY(-100%); font: 500 11px/1.2 var(--hv-f-data); color: var(--hv-ink-2); }
.rpl-ov-hold { font: 700 12px/1.2 var(--hv-f-data); }
.rpl-ov-hold.rpl-up { color: var(--hv-win-2); }
.rpl-ov-hold.rpl-dn { color: var(--hv-loss); }
.rpl-sub { margin: -4px 0 0; font: 500 12px/1.3 var(--hv-f-body); color: var(--hv-ink-2); }
/* major-r1 hplay2: the transport (Play / Pause, the scrub bar, 1× 2× 4×), the jumps and Candles / Line; reduced motion: steps by tap */
.rpl-tp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.rpl-pp { min-width: 104px; }
.rpl-scrub { width: 100%; min-height: 44px; margin: 0; accent-color: var(--hv-honey, #f5b83d); cursor: pointer; }
.rpl-sp .set-c { padding: 0 10px; min-width: 44px; }
.rpl-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; }
.rpl-jumps .set-c[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.rpl-src { margin: -6px 0 0; font: 500 12px var(--hv-f-body); color: var(--hv-ink-2); }
/* #31: the per-coin replay read. A reason stands in for a chart we cannot draw. Retry is a 44 px target. */
.rpl-delay { margin: 0 0 8px; padding: 8px 12px; border: 1px solid var(--hv-line-1); border-radius: 10px; font: 500 13px/1.35 var(--hv-f-body); color: var(--hv-ink-1); }
.rpl-reason { margin: 8px 0 0; padding: 12px 14px; border: 1px solid var(--hv-line-1); border-radius: 12px; background: var(--hv-glass-solid, #16120d); max-width: 100%; }
.rpl-reason-t { margin: 0; font: 500 14px/1.4 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.rpl-reason .set-c { margin-top: 10px; min-height: 44px; }
[data-rpl-loading] { margin: 0; }
#hmodal[data-rpl-calm="1"] .rpl-pp, #hmodal[data-rpl-calm="1"] .rpl-sp { display: none; }
#hmodal[data-rpl-calm="1"] .rpl-tp { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 420px) { .rpl-tp { grid-template-columns: auto minmax(0, 1fr); } .rpl-tp .rpl-sp { grid-column: 1 / -1; } }
/* over the Hive the player docks to the right (a phone: its sheet) and the scrim lightens, so the lit coin shows beside it */
#hmodal[data-rpl-lit="1"] .hm-scrim { background: rgba(5, 4, 3, 0.28); }
@media (min-width: 800px) { #hmodal[data-rpl-lit="1"] { place-items: center end; padding-right: 24px; } }
/* a phone: the sheet stops at 70 % of the screen and the chart steps down a size, so the lit coin shows in the room above it */
@media (max-width: 799px) { #hmodal[data-rpl-lit="1"] .hm-panel { max-height: 70vh; } #hmodal[data-rpl-lit="1"] .rpl-cv { max-height: 34vh; } }
@media (max-width: 420px) { .rpl-steps { grid-template-columns: 1fr 1fr; } .rpl-cap { grid-column: 1 / -1; grid-row: 1; } }
/* r1b replays (): the tally under the chart; () Show the hold */
.rpl-tally { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; }
.rpl-tc { min-width: 0; padding: 6px 8px; border-radius: 10px; background: var(--hv-glass-solid, #16120d); border: 1px solid var(--hv-line-1); }
.rpl-tc dt { margin: 0; font: 600 11px/1.25 var(--hv-f-body); color: var(--hv-ink-2); }
.rpl-tc dd { margin: 2px 0 0; font: 700 14px/1.3 var(--hv-f-data); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.rpl-tc dd.rpl-up { color: var(--hv-win-2); }
.rpl-tc dd.rpl-dn { color: var(--hv-loss); }
.rpl-hold[aria-pressed="true"] { border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.rpl-hold[aria-disabled="true"] { opacity: 0.4; cursor: default; }
@media (max-width: 520px) { .rpl-tally { grid-template-columns: repeat(6, minmax(0, 1fr)); } .rpl-tc { grid-column: span 2; } .rpl-tc[data-tally="bought"], .rpl-tc[data-tally="sold"] { grid-column: span 3; order: 1; } }   /* a phone: the three figures, then the two counts */
/* run 3 patch 1: the strip on a Member phone — with no scope control there is room for "● LIVE 4m" (mono, one token) */
@media (max-width: 440px) {
  body[data-scope="retail"] #topbar .mode-badge .txt { display: inline; font: 600 11px/1 var(--hv-f-data); letter-spacing: 0.04em; white-space: nowrap; }
  body[data-scope="retail"] #topbar .mode-badge { padding: 3px 7px; }
  /* smoke fix (Tester 18 Oct, 511ef4f): with the time words in full (#152) the status no longer fits beside the chain switch, so the
     pill covered it ("LIVE 3 minu…", "5 mi"; 10-04 fix C's dropped word did not make room). On a Member phone the top bar takes two rows:
     the logo and the whole status on a slim first row, the chain switch and the buttons under it. Nothing in the status is dropped or
     covered, from 320 to 440 px. */
  body[data-scope="retail"]:not([data-preview="1"]) { --top-h: 72px; }   /* the sheet, the Hive head and pop-ups start where the chain switch ends, as before */
  body[data-scope="retail"]:not([data-preview="1"]) #topbar { flex-wrap: wrap; row-gap: 2px; padding-top: calc(env(safe-area-inset-top, 0px) + 6px); padding-bottom: 4px; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .brand { flex: 0 0 100%; gap: 6px; min-height: 20px; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .brand svg { width: 18px; height: 18px; }
}
#btn-bell { position: relative; }
#btn-bell .count { position: absolute; top: 2px; right: 2px; }
/* order #94 (UX Lead / Chief 21 Oct, #65 6309984947 item 2): a Member reads a chain as its icon and its full name. The chip (chainTag's
   chain-m) drops the RH / SOL box; the switches ("All chains" · "Robinhood" · "Solana") carry the Prime chips' dot. On a Member phone the
   full names do not fit beside the three buttons, so the switch takes the second row across the width and the buttons join the status on
   the first; nothing is dropped or covered from 320 to 599 px. */
.chain.chain-m { gap: 4px; padding: 0; border: 0; border-radius: 0; font: 600 11px/1.2 var(--hv-f-body); letter-spacing: 0; color: var(--hv-ink-2); white-space: nowrap; }
.chain.chain-m .p-cdot { width: 7px; height: 7px; }
.seg button .p-cdot, .rec-ch .p-cdot, .set-c .p-cdot, .pu-chn .p-cdot, .dc-ch .p-cdot { display: inline-block; width: 8px; height: 8px; margin: 0 5px 1px 0; vertical-align: middle; }
#topbar .seg.chain-seg-m button { display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0.04em; white-space: nowrap; }
#topbar .seg.chain-seg-m button .p-cdot { margin: 0 5px 0 0; }
@media (max-width: 599px) {
  body[data-scope="retail"]:not([data-preview="1"]) { --top-h: 104px; }   /* the sheet, the Hive head and pop-ups start under the switch's row */
  body[data-scope="retail"]:not([data-preview="1"]) #topbar { flex-wrap: wrap; row-gap: 4px; padding-top: calc(env(safe-area-inset-top, 0px) + 6px); padding-bottom: 4px; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .brand { flex: 1 1 auto; min-width: 0; min-height: 44px; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .seg.chain-seg-m { order: 10; flex: 0 0 100%; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .seg.chain-seg-m button { flex: 1 1 0; min-width: 0; padding-inline: 6px; }
}
/* #145: a visitor with no key. The account button is the right end of the top bar. On a phone the chain names already take a full row, so the button takes its own row under them and the bar grows. */
.gate-create {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--hv-honey); background: var(--hv-honey); color: var(--hv-bg-0);
  font: 800 14px/1 var(--hv-f-body); letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer;
}
.gate-create svg { width: 14px; height: 14px; flex: none; }
.gate-create[hidden] { display: none !important; }
@media (max-width: 599px) {
  body[data-scope="retail"]:not([data-preview="1"])[data-nokey="1"] { --top-h: 152px; }
  body[data-scope="retail"]:not([data-preview="1"])[data-nokey="1"] #btn-create { order: 12; margin-left: auto; flex: 0 0 auto; min-height: 44px; }
}
@media (max-width: 599px) {   /* #94: the Pulse line names its chain in full; on a Member phone its figures take their own line under PULSE · {chain} › */
  body[data-scope="retail"] .pu-line { flex-wrap: wrap; row-gap: 2px; padding-top: 6px; padding-bottom: 6px; }
  body[data-scope="retail"] .pu-line .pu-go { order: 2; margin-left: auto; }
  body[data-scope="retail"] .pu-line .pu-lt { order: 3; flex: 1 0 100%; }
}
@media (max-width: 359px) {   /* the status and the three 44 px buttons share the first row down to 320 px: tighter gaps, no tracking */
  body[data-scope="retail"]:not([data-preview="1"]) #topbar { column-gap: 2px; padding-left: 8px; padding-right: 8px; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .brand { gap: 3px; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .mode-badge { gap: 4px; padding: 3px 5px; }
  body[data-scope="retail"]:not([data-preview="1"]) #topbar .mode-badge .txt { letter-spacing: 0; }
}
/* major-r1 Degen Bee (D12); #168 / #63: the Bee is a floating 44 x 44 bubble at every width (no tab, no header button). app.js places it
   (beePlace: translate only), drags it and snaps it to a side edge; it is hidden until first placed so it never flashes at the corner */
.bee-fab { position: fixed; z-index: 36; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--hv-honey-line); border-radius: 50%; background: rgba(20, 17, 13, 0.94); color: var(--hv-honey-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.bee-fab[hidden] { display: none; }
.bee-fab:not(.placed) { visibility: hidden; }
.bee-fab.placed:not(.dragging) { transition: transform 0.18s ease-out; }
.bee-fab.dragging { cursor: grabbing; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55); }
.bee-fab svg { width: 22px; height: 22px; }
.bee-fab:active { background: rgba(38, 31, 20, 0.96); }
@media (prefers-reduced-motion: reduce) { .bee-fab.placed { transition: none; } }
body[data-motion="reduced"] .bee-fab.placed { transition: none; }
body[data-search="open"] .bee-fab, body[data-tm] .bee-fab, body[data-cine] .bee-fab { display: none; }
.bee-fab:focus-visible, .bee-q:focus-visible, .bee-in:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
#hmodal[data-hm="bee"] .hm-panel { width: min(460px, 100%); }
@media (min-width: 800px) { #hmodal[data-hm="bee"] { place-items: start end; padding-top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 6px); } }
.bee-lead { margin: 0; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.bee-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.bee-q { min-height: 44px; padding: 6px 12px; border-radius: 14px; border: 1px solid var(--hv-line-2); background: rgba(245, 184, 61, 0.06); color: var(--hv-ink-1);
  font: 600 13px/1.25 var(--hv-f-body); text-align: left; cursor: pointer; }
.bee-q:hover { border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.bee-ask { display: flex; gap: 8px; }
.bee-in { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2, #211b14); color: var(--hv-ink-1); font: 500 16px var(--hv-f-body); }
.bee-go { min-height: 44px; min-width: 64px; }
.bee-log { display: grid; gap: 10px; }
.bee-log:empty { display: none; }
.bee-a { display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--hv-line-1); background: rgba(241, 232, 218, 0.03); }
.bee-you { margin: 0; font: 700 12px/1.3 var(--hv-f-body); color: var(--hv-honey-2); }
.bee-body { display: grid; gap: 4px; }
.bee-l { margin: 0; font: 500 13.5px/1.45 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.bee-src { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bee-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--hv-line-2); font: 600 11px/1.2 var(--hv-f-data); color: var(--hv-ink-2); white-space: nowrap; }
.bee-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.bee-act { min-height: 44px; }
.bee-eng { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font: 500 12.5px var(--hv-f-body); color: var(--hv-ink-2); }
.bee-eng .set-sub { flex-basis: 100%; }
.bee-eng-k { font: 700 11px var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; }
.pu-chn { font: 700 11px var(--hv-f-data); letter-spacing: 0.06em; color: var(--hv-ink-2); text-transform: uppercase; }
/* run 3 patch 3: a Member's page head — the title is the tab label (20 px Big Shoulders, title case) + one muted sub-line */
body[data-scope="retail"] #lens-title, body[data-scope="retail"] #p-h1 { font-size: 20px; text-transform: none; letter-spacing: 0.03em; }
.lens-sub, .p-sub { margin: 2px 0 0; font: 500 12.5px/1.3 var(--hv-f-body); color: var(--hv-ink-2); }
.lens-sub[hidden], .p-sub[hidden] { display: none; }
.p-bar .p-sub { flex-basis: 100%; order: 9; }
body[data-scope="retail"] .p-bar { flex-wrap: wrap; row-gap: 0; }

/* Run 3 patch 5: a Member's Hive head (title, sub-line, folding legend); the Pulse strip sits below it */
.hive-head { position: fixed; z-index: 31; top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + 4px); left: 12px; right: 12px; display: grid; gap: 6px;
  padding: 6px 10px; background: rgba(11, 10, 8, 0.9); border: 1px solid var(--hv-line-2); border-radius: 14px; }
.hive-head[hidden] { display: none; }
.hh-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hh-h1 { margin: 0; font: 700 20px/1.2 var(--hv-f-display, inherit); color: var(--hv-ink-1); }
.hh-sub { flex: 1; min-width: 0; font: 500 12px/1.3 var(--hv-f-data); color: var(--hv-ink-2); }   /* r1b-fixchd (review 2 P3): the sub-line wraps, never cut */
.hh-leg-btn { min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: transparent; color: var(--hv-ink-1);
  font: 600 12px var(--hv-f-data); cursor: pointer; }
.hh-leg { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-bottom: 4px; }
.hh-leg[hidden] { display: none; }
.hh-chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--hv-f-data); color: var(--hv-ink-1); }
/* major-r1 C9: a family chip lights its family (tap again for all) */
.hh-fam { background: none; border: 1px solid transparent; border-radius: var(--hv-r-pill); padding: 0 var(--hv-s-2); min-height: 44px; cursor: pointer; }
.hh-fam[aria-pressed="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.hh-fam:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.hh-sw { width: 16px; height: 16px; flex: none; }
/* C9 fix 4: the Pulse strip sits under the head at its measured height (--hh-h, set by hiveHeadWatch; 58 px = the folded head) */
body[data-hivehead="1"] .pulse-fixed { top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + var(--hh-h, 58px) + 8px); }
body[data-hivehead="2"] .pulse-fixed { top: calc(env(safe-area-inset-top, 0px) + var(--top-h) + var(--hh-h, 126px) + 8px); }
.hh-fams { display: flex; flex-wrap: wrap; gap: 0 6px; }
.hh-lines, .hh-shapes { display: flex; flex-wrap: wrap; gap: 4px 12px; }
/* r1b hive (, ): the Hive's latest calls, performance cards with ▶ Replay */
.hh-calls { display: grid; gap: 4px; min-width: 0; }
.hh-calls-btn { justify-self: start; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: transparent; color: var(--hv-ink-1); font: 600 12px var(--hv-f-data); cursor: pointer; }
.hh-calls-btn:focus-visible, .hh-call-nm:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.hh-calls-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: min(46vh, 330px); overflow-y: auto; overscroll-behavior: contain; }
.hh-calls-list[hidden] { display: none; }
.hh-calls-list[data-more] { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); }   /* sweep 2 row 8: more below, the edge fades (hhCallsMore); at the end the last card is whole */
.hh-call { display: grid; gap: 3px; min-width: 0; padding-bottom: 6px; border-bottom: 1px solid var(--hv-line-1); }
.hh-call:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 800px) {   /* a desktop: the three cards side by side (one row) */
  .hh-calls-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hh-call, .hh-call:last-child { border-bottom: 0; padding-bottom: 0; }
}
.hh-call-nm { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 32px; min-width: 0; padding: 0; border: 0; background: none; color: var(--hv-ink-1); font: 600 13px var(--hv-f-data); text-align: left; cursor: pointer; }
.hh-call-nm b { min-width: 0; overflow-wrap: break-word; }   /* sweep 2 row 8: the ticker stays whole (it was squeezed to 16 px, four lines); the age takes the next line when the three do not fit one */
.hh-call-ago { margin-left: auto; font: 500 11px var(--hv-f-data); color: var(--hv-ink-2); white-space: nowrap; }
.hh-how { margin: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }   /* r1b hive: "Hexes are coins, dots are wallets, rings are groups." */
@media (max-height: 700px) { .hh-leg { max-height: max(16px, calc(100dvh - var(--top-h) - var(--tab-h) - 340px)); overflow-y: auto; overscroll-behavior: contain; } }   /* r1b hive: open on the first visit, it never pushes the Pulse strip into the dock on a short screen */
.hh-leg { flex-direction: column; gap: 4px; }
@media (max-width: 799px) {
  .hh-fams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-fams .hh-fam { justify-content: flex-start; min-width: 0; text-align: left; }
  body[data-lens="hive"]:not([data-prime="1"]) .hive-head, body[data-lens="hive"]:not([data-prime="1"]) .pulse-fixed { right: 70px; }   /* the map controls (Fit, 2D / 3D, Hide menu) stay clear on the right; tester 12 Oct: the Pulse strip covered the 2D / 3D switch */
}
@media (min-width: 800px) { .hive-head { left: calc(var(--lensbar-w, 96px) + 24px); right: calc(var(--rail-w, 340px) + 28px); } }
body[data-tm] .hive-head { display: none; }
/* r1b aw (QA gate search.*.opens): the Member's Hive head (z 31) sat over the header's search results (inside #topbar, z 30) on a desktop, so a
   tap on a result hit the head; while the results show, the top bar rises above it */
#topbar:has(#search-results:not([hidden])) { z-index: 32; }
.mm-row { display: flex; align-items: center; gap: 12px; }
.mm-svg { width: 120px; height: 64px; flex: none; }
.mm-go { min-height: 44px; }

/* Run 3 patch 7: a Member's coin sheet head: the figure line under "$TICKER · chain · age"; noun tabs that jump to their sections */
.ts-fig { font: 700 14px/1.3 var(--hv-f-data); margin: 2px 0; }
.ts-fig .cv-up { color: var(--k-buy, #5fe39c); }
.ts-fig .cv-dn { color: var(--k-sell, #ff6b57); }
.ts-fig .ts-mc { color: var(--hv-ink-1); }
/* #208 #209 #210: a ?ca= link's call row under the coin sheet's head: the multiple leads (green, the largest text), its label above it,
   then "Called at $X · 19 Oct 05:31 AEDT" (AC-202k's order) */
.ca-call { gap: 2px; padding: 10px 0 4px; }
.ca-call .ca-fig { margin: 0; font: 700 26px/1.2 var(--hv-f-data); overflow-wrap: anywhere; }
.ca-call .ca-lbl { display: block; font: 600 12px/1.4 var(--hv-f-data); color: var(--ink-2b); }
.ca-call .ca-fig .cv-up { color: var(--k-buy, #5fe39c); }
.ca-call .ca-fig .cv-dn { color: var(--k-sell, #ff6b57); }
.ca-call .ca-line { margin: 0; font: 500 13px/1.4 var(--hv-f-data); color: var(--hv-ink-1, var(--ink)); }
#drawer .drawer-body [data-tsheet], #drawer .dsec-stream { scroll-margin-top: 72px; }
.ts-tabs { position: sticky; top: -14px; z-index: 2; flex: none; min-height: 62px; display: flex; gap: 4px; padding: 12px 0 6px; background: var(--hv-bg-1, #0b0a08); overflow-x: auto; scrollbar-width: none; }
.ts-tab { flex: 1 0 auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--hv-line-2); border-radius: 10px; background: transparent; color: var(--hv-ink-1); font: 600 13px var(--hv-f-data); cursor: pointer; }
.ts-tab[aria-current="true"] { border-color: var(--hv-honey, #f5b83d); color: var(--hv-honey, #f5b83d); }
.ts-act { min-height: 44px; }

/* major-r1 the coin chart (founders'  + F1): one panel, two faces (HIVE · GeckoTerminal), a flip (transform only; reduced motion:
   instant, the JS skips it and the global rule zeroes any transition) */
.chp { display: grid; gap: 8px; min-width: 0; }
.chp-bar { display: flex; gap: 4px; }
.chp-tab { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--hv-line-2); border-radius: 10px; background: transparent; color: var(--hv-ink-2); font: 600 13px var(--hv-f-data); cursor: pointer; }
.chp-tab[aria-pressed="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); color: var(--hv-honey-2); }
.chp-card { perspective: 1000px; }
.chp-stage { border: 1px solid var(--hv-line-1); border-radius: 12px; background: var(--hv-bg-1); overflow: hidden; transform-origin: 50% 50%; backface-visibility: hidden; }
.chp-cv { display: block; width: 100%; height: 180px; }
.chp-frame, .chp-if { display: block; width: 100%; height: 340px; border: 0; }
.chp-none, .chp-hold { margin: 0; min-height: 180px; display: grid; place-content: center; gap: 4px; padding: 16px; text-align: center; color: var(--hv-ink-2); font: 500 13px/1.45 var(--hv-f-body); }
.chp-hold b { color: var(--hv-ink-1); font: 700 15px/1.3 var(--hv-f-body); }
.chp-hold span { font-family: var(--hv-f-data); }
.chp-attr { margin: 0; padding: 6px 10px 8px; font: 500 11.5px/1.4 var(--hv-f-body); color: var(--hv-ink-3); }
@media (min-width: 800px) {
  .chp-cv { height: 220px; }
  .chp-none, .chp-hold { min-height: 220px; }
  .chp-frame, .chp-if { height: 420px; }
}
.chp.chp-out .chp-stage { transform: rotateY(90deg); opacity: 0.3; transition: transform 170ms ease-in, opacity 170ms ease-in; }
.chp.chp-in .chp-stage { animation: chp-in 170ms ease-out; }
@keyframes chp-in { from { transform: rotateY(-90deg); opacity: 0.3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chp.chp-out .chp-stage, .chp.chp-in .chp-stage { transition: none; animation: none; } }
body[data-motion="reduced"] .chp.chp-out .chp-stage, body[data-motion="reduced"] .chp.chp-in .chp-stage { transition: none; animation: none; }

/* Run 3 patch 11 (HEADER_UX_AUDIT §e.11): Advanced density. Simple is the default; Advanced swaps to a tighter type scale and shows the
   extras marked .adv-only (the strip's Pulse readout). It adds and never removes: nothing Simple shows is hidden here. */
.adv-only { display: none !important; }
body[data-density="adv"] .adv-only, body[data-ui="op"] .adv-only { display: revert !important; }
body[data-density="adv"] #lens-body { font-size: 13px; line-height: 1.35; }
body[data-density="adv"] #lens-body .lcard { padding-top: 10px; padding-bottom: 10px; }
body[data-density="adv"] #lens-body td, body[data-density="adv"] #lens-body th { padding-top: 5px; padding-bottom: 5px; }
body[data-density="adv"] .lens-title, body[data-density="adv"] #lens-title { font-size: 18px; }
body[data-density="adv"] .nl-row, body[data-density="adv"] .cv-card { padding-top: 8px; padding-bottom: 8px; }

/* Run 3 patch 12: the strip's Pulse readout (desktop; Advanced / Operator via .adv-only) */
.strip-pulse { font: 500 11px/1 var(--hv-f-data); color: var(--hv-ink-2); white-space: nowrap; margin-left: 10px; }
.strip-pulse .cv-up { color: var(--k-buy, #5fe39c); }
.strip-pulse .cv-dn { color: var(--k-sell, #ff6b57); }
#strip-pulse[hidden] { display: none !important; }
@media (max-width: 799px) { #strip-pulse { display: none !important; } }

/* ── Run 4 () ─────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* Item 1: the Dashboard. ONE grid of equal tiles (equal tracks, equal rows). Every tile has the same three lines: a label, a figure,
   a caption clamped to two lines; a long caption never grows one tile. 2 across on a phone (2 × 3), 3 across in the desktop panel. */
.dash-pulse, .dash-more { gap: 10px; }
.dash-h { align-items: center; }
@media (max-width: 600px) { .dash-h .mn-sub[data-dash-scope] { flex-basis: 100%; } }   /* R0-05l review 1: the scope line takes its own line on every chain (the tiles never jump) */
.dash-chn { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--hv-honey-line); background: var(--hv-honey-bg); color: var(--hv-honey-2); font: 700 11px/1.2 var(--hv-f-data); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.dash-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; min-width: 0; }
@media (min-width: 1100px) { .dash-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dash-tile { position: relative; display: grid; grid-template-rows: 14px 28px 30px; align-content: start; gap: 4px; min-width: 0; padding: 10px 12px 13px; border: 1px solid var(--hv-line-1); border-radius: 14px; background: rgba(33, 27, 20, 0.6); overflow: hidden; }
.dash-tile .dt-tag { position: absolute; top: 9px; right: 10px; line-height: 1; }   /* R0-05l: All chains: row 1's chain (Top flow) */
.dash-tile .dt-tag .chain { padding: 1px 4px 0; }
.dt-l { font: 700 11px/14px var(--hv-f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-v { display: flex; align-items: center; gap: 4px; min-width: 0; height: 28px; font: 700 20px/28px var(--hv-f-data); color: var(--hv-ink-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-v .dt-pair { display: grid; grid-template-rows: 14px 14px; min-width: 0; font: 700 13px/14px var(--hv-f-data); }   /* all chains: RH over SOL, never one sum */
.dt-v .dt-pair > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-v b { font: inherit; color: inherit; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dt-v b.cv-up, .dt-c b.cv-up { color: var(--k-buy, #5fe39c); }
.dt-v b.cv-dn, .dt-c b.cv-dn { color: var(--k-sell, #ff6b57); }
.dt-v .pu-nm { font: italic 500 13px/28px var(--hv-f-data); color: var(--hv-ink-3); }
.dt-v .dt-pair .pu-nm { line-height: 14px; }   /* R0-05c review: "not yet" inside a 14px pair row is not clipped */
.dt-u { font: 600 12px/28px var(--hv-f-data); color: var(--hv-ink-2); }
.dt-c { margin: 0; min-width: 0; font: 500 11px/15px var(--hv-f-data); color: var(--hv-ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.dt-c b { font-weight: 700; }
.dt-k { color: var(--hv-ink-3); }
.dt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 107, 87, 0.55); }
.dt-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgba(95, 227, 156, 0.85); }
.dt-top { position: relative; display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.dt-top::before { content: ""; position: absolute; left: -6px; right: -6px; top: -8px; bottom: -8px; }   /* a 44 px target on a 28 px line */
.dt-top:focus-visible { outline: 2px solid var(--hv-honey, #f5b83d); outline-offset: 2px; border-radius: 6px; }
.dt-top .p-av { width: 22px; height: 22px; font-size: 11px; flex: none; }
.dt-top b { font-size: 16px; }
.dash-spark .dt-v { color: var(--hv-honey-2); }
.dash-spark .pu-spark { width: 100%; height: 24px; }
.dash-spark .dt-pair-spark { flex: 1 1 auto; }   /* R0-05c review 2: the pair takes the row, so each chain's line can fill it */
.dash-spark .dt-pair-spark > span { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; }   /* round 4: the label column, then each chain's line, aligned */
.dash-spark .dt-pair-spark .pu-spark { width: 100%; height: 12px; }   /* R0-05c: all chains, one trend line per chain */
.dash-late { margin: 0; font: 500 11px/1.3 var(--hv-f-data); color: var(--hv-honey-2); }
/* major-r1 C6 (): "More market detail" under the tiles; Traders in profit and the rest of the market facts open behind it */
.dash-more-go { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--hv-line-1); border-radius: 12px; background: rgba(33, 27, 20, 0.4); color: var(--hv-ink-2); font: 600 12.5px/1.2 var(--hv-f-body); text-align: left; cursor: pointer; }
.dash-more-go:hover { color: var(--hv-ink-1); }
.dash-more-go:focus-visible { outline: 2px solid var(--hv-honey, #f5b83d); outline-offset: 2px; }
.dash-more-go .dm-chev { display: inline-block; transition: transform 0.15s ease; }
.dash-more-go[aria-expanded="true"] .dm-chev { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .dash-more-go .dm-chev { transition: none; } }
.dash-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
@media (min-width: 1100px) { .dash-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dm-sec { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 10px 12px; border: 1px solid var(--hv-line-1); border-radius: 14px; background: rgba(33, 27, 20, 0.6); }
.dm-t { margin: 0; font: 700 11px/14px var(--hv-f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hv-ink-2); }
.dm-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; font: 500 12.5px/1.4 var(--hv-f-data); color: var(--hv-ink-1); }
.dm-k { min-width: 84px; color: var(--hv-ink-2); }
.dm-v { min-width: 0; overflow-wrap: anywhere; }
.dm-v b { font-weight: 700; }
.dm-v.pu-nm { color: var(--hv-ink-3); font-style: italic; }
.dm-s, .dm-line { flex-basis: 100%; min-width: 0; color: var(--hv-ink-2); font-size: 11.5px; }
.dm-line { display: flex; align-items: center; gap: 8px; color: var(--hv-honey-2); }
.dm-line .pu-spark { width: 120px; height: 22px; flex: none; }
.dm-def { margin: 0; color: var(--hv-ink-3); font: 500 11px/1.4 var(--hv-f-body); }
.dm-chain { min-width: 0; }
.dm-h { margin: 0 0 2px; font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.dm-sc { color: var(--hv-ink-3); }
.dm-dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; margin: 0; font: 500 12px/1.4 var(--hv-f-data); }
.dm-dl dt { min-width: 0; color: var(--hv-ink-2); }
.dm-dl dd { margin: 0; text-align: right; color: var(--hv-ink-1); white-space: nowrap; }
.dm-dl dd .pu-nm { font-style: italic; font-weight: 500; color: var(--hv-ink-3); }
.dash-secs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
@media (min-width: 1100px) { .dash-secs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dash-secs .pu-sec { font: 500 12px/1.35 var(--hv-f-data); color: var(--hv-ink-1); }
/* the Pit and the Hive keep ONE line of Pulse (a Member); the line opens the Dashboard */
.pulse-strip[data-pu-line] { padding: 0; grid-template-columns: minmax(0, 1fr); }   /* R0-05l review 2: the track never grows past the box */
.pu-line { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--hv-ink-2); font: 500 11.5px/1.2 var(--hv-f-data); text-align: left; cursor: pointer; white-space: nowrap; }
.pu-line .pu-lt { flex: 1; min-width: 0; white-space: normal; }   /* R0-05l review 2: wraps between phrases, never cut */
.pu-line .pu-seg { white-space: nowrap; }
.pu-line .pu-lt b { color: var(--hv-ink-1); font-weight: 700; }
.pu-line .pu-lt b.cv-up { color: var(--k-buy, #5fe39c); }
.pu-line .pu-lt b.cv-dn { color: var(--k-sell, #ff6b57); }
.pu-line .pu-go { color: var(--hv-honey-2); font: 700 16px/1 var(--hv-f-data); }
.pu-line:focus-visible { outline: 2px solid var(--hv-honey, #f5b83d); outline-offset: -2px; }
.lock-ico { width: 11px; height: 11px; margin-right: 4px; vertical-align: -1px; }
.pu-tier { display: inline-flex; align-items: center; white-space: nowrap; }

/* Run 4 item 4: Your bot — ONE switch (Recommended), what arrives, an example message; Advanced folds four plain options */
.bot-rec, .bot-adv { gap: 12px; }
.bot-sw { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); font: 700 15px/1.25 var(--hv-f-body); text-align: left; cursor: pointer; }
.bot-sw-k { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--hv-line-2); }
.bot-sw-k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--hv-ink-2); }
.bot-sw[aria-checked="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.bot-sw[aria-checked="true"] .bot-sw-k { background: var(--hv-honey, #f5b83d); }
.bot-sw[aria-checked="true"] .bot-sw-k::after { left: 21px; background: #0b0a08; }
.bot-sw:focus-visible, .bot-adv-s:focus-visible { outline: 2px solid var(--hv-honey, #f5b83d); outline-offset: 2px; }
.bot-what, .bot-sum { margin: 0; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.bot-sum b { color: var(--hv-ink-1); }
.bot-ex { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--hv-line-2); background: rgba(11, 10, 8, 0.5); }
.bot-ex-h { margin: 0 0 2px; font: 700 11px/1.2 var(--hv-f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hv-ink-3); }
.bot-ex-l { margin: 0; font: 500 12.5px/1.4 var(--hv-f-data); color: var(--hv-ink-1); }
.bot-to { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.bot-to b { color: var(--hv-ink-1); overflow-wrap: anywhere; }
.bot-to .mini-btn, .bot-sec .mini-btn { min-height: 44px; }
.bot-fl { display: grid; gap: 6px; font: 600 13px/1.3 var(--hv-f-body); color: var(--hv-ink-1); }
.bot-fl input { min-height: 44px; width: 100%; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); font: 500 14px var(--hv-f-data); }
.bot-adv > summary { list-style: none; cursor: pointer; }
.bot-adv > summary::-webkit-details-marker { display: none; }
.bot-adv-s { display: grid; gap: 2px; min-height: 44px; align-content: center; }
.bot-adv-t { font: 800 16px/1.2 var(--hv-f-display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-1); }
.bot-adv-t::after { content: " ▾"; color: var(--hv-honey-2); }
.bot-adv[open] .bot-adv-t::after { content: " ▴"; }
.bot-adv-h { font: 500 12.5px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.bot-opt { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--hv-line-1); }
.bot-opt .set-h { margin: 0; }
.bot-ex1, .bot-map { margin: 0; }
.bot-test { min-height: 44px; justify-self: start; }
.bot-tres { margin: 0; font: 600 12.5px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.bot-tres.bad, .bot-tres.need { color: var(--hv-honey-2); }
.bot-prem[data-bot-tier="coming"] { white-space: nowrap; }

/* Run 4 item 5: Settings — "Mute pop-ups overnight" (From / To) and "Pause pop-ups for 1 hour" */
.set-times { display: flex; flex-wrap: wrap; gap: 12px; }
.set-tl { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--hv-f-body); color: var(--hv-ink-2); }
.set-time { min-height: 44px; min-width: 112px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); font: 600 14px var(--hv-f-data); color-scheme: dark; }
.set-time:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
.set-pause, .set-tg, .set-bot, .set-clear { min-height: 44px; justify-self: start; }
/* major-r1 C7 ( + B): Report and the feedback group; an inert route looks the same as a live one (the Buy rule) */
.fb-kit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.fb-btn { min-height: 44px; text-decoration: none; }
.help-sec .fb-kit { margin-top: 8px; }
.set-paused { margin: 0; font: 700 13px var(--hv-f-body); color: var(--hv-honey-2); }

/* Run 4 item 6: the Alerts page — the note, ONE inbox (coin · one line · market cap · age · when · Open coin), a switch a kind */
.al-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--hv-line-2); background: rgba(33, 27, 20, 0.6); }
.al-note-t { flex: 1 1 220px; min-width: 0; margin: 0; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.al-tg, .al-mark, .al-open { min-height: 44px; }
.al-inbox, .al-kinds { gap: 12px; }
.al-h { align-items: center; }
.al-h .al-mark { margin-left: auto; }
.al-mark[disabled] { opacity: 0.5; cursor: default; }
.al-list, .al-ks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.al-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--hv-r-md, 12px); border: 1px solid var(--hv-line-1); background: var(--hv-bg-2); }
.al-row.un { border-color: var(--hv-honey-line); box-shadow: inset 3px 0 0 var(--hv-honey, #f5b83d); }
.al-row .p-av { width: 32px; height: 32px; font-size: 11px; }
.al-main { min-width: 0; display: grid; gap: 2px; }
.al-l1, .al-l2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.al-l1 { font: 500 13.5px/1.35 var(--hv-f-body); color: var(--hv-ink-1); }
.al-sym { font: 800 14px/1.2 var(--hv-f-display); letter-spacing: 0.03em; }
.al-l2 { font: 500 11.5px/1.3 var(--hv-f-data); color: var(--hv-ink-3); }
.al-l2 .al-mc { color: var(--hv-ink-2); }
.al-empty { margin: 0; font: 700 14px var(--hv-f-body); color: var(--hv-ink-1); }
.al-kind { display: grid; gap: 4px; }
.al-sw { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); font: 600 14px/1.25 var(--hv-f-body); text-align: left; cursor: pointer; }
.al-sw[aria-checked="true"] { border-color: var(--hv-honey-line); }
.al-sw[aria-checked="true"] .bot-sw-k { background: var(--hv-honey, #f5b83d); }
.al-sw[aria-checked="true"] .bot-sw-k::after { left: 21px; background: #0b0a08; }
.al-sw-s { font: 700 11px var(--hv-f-data); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.al-sw[aria-checked="true"] .al-sw-s { color: var(--hv-honey-2); }
.al-sw:focus-visible { outline: 2px solid var(--hv-honey, #f5b83d); outline-offset: 2px; }
.al-eg { margin: 0 0 0 12px; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.al-ntrk { font-weight: 500; text-transform: none; letter-spacing: 0; }
.trk-dlv-tg { display: inline-flex; align-items: center; gap: 6px; }
.trk-tg-tel { min-height: 44px; }
@media (max-width: 439px) { .al-row { grid-template-columns: auto minmax(0, 1fr); } .al-row .al-open { grid-column: 1 / -1; justify-self: start; } }
/* r1b replays (): an EXIT alert's "Replay the hold" beside Open coin */
.al-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.al-rpl { min-height: 44px; }
@media (max-width: 439px) { .al-row .al-acts { grid-column: 1 / -1; justify-content: flex-start; } }
.plm-hint { margin: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }   /* run 4 (UX plain pass W5) */
.plm-delay { margin: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }

/* major-r1 N1: ready-made alert sets, the bell, the Following list */
.al-sets, .al-follow { gap: 12px; }
.al-set-ks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.al-set { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--hv-r-md, 12px); border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); }
.al-set[data-on="1"] { border-color: var(--hv-honey-line); box-shadow: inset 3px 0 0 var(--hv-honey, #f5b83d); }
.al-set-t { min-width: 0; display: grid; gap: 2px; }
.al-set-t b { font: 700 14px/1.25 var(--hv-f-body); color: var(--hv-ink-1); }
.al-set-l { margin: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.al-set-go { min-height: 44px; min-width: 64px; }
.al-set-go[aria-pressed="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); color: var(--hv-honey-2); }
.al-set-lock { min-height: 44px; }
.fw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.fw-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--hv-r-md, 12px); border: 1px solid var(--hv-line-1); background: var(--hv-bg-2); }
.fw-main { min-width: 0; display: grid; gap: 2px; }
.fw-l1, .fw-l2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.fw-name { font: 800 14px/1.2 var(--hv-f-display); letter-spacing: 0.03em; color: var(--hv-ink-1); }
.fw-kind { font: 700 11px var(--hv-f-data); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.fw-l2 { font: 500 11.5px/1.3 var(--hv-f-data); color: var(--hv-ink-3); }
.fw-acts { display: flex; gap: 6px; }
.fw-open, .fw-stop { min-height: 44px; }
.fw-more { margin: 0; font: 500 12.5px/1.35 var(--hv-f-body); color: var(--hv-ink-3); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 439px) { .fw-row { grid-template-columns: minmax(0, 1fr); } .fw-acts { justify-self: start; } }
.fw-bell { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: none; min-width: 44px; min-height: 44px; padding: 0 8px; margin: -6px -6px -6px 0; border: 0; border-radius: 999px; background: none; color: var(--hv-ink-2); cursor: pointer; font: 700 12px/1 var(--hv-f-body); }
.fw-bell .fw-ico { width: 22px; height: 22px; fill: none; transition: transform 0.18s ease, fill 0.18s ease; }
.fw-bell:hover { color: var(--hv-honey-2); background: rgba(245, 184, 61, 0.08); }
.fw-bell[aria-pressed="true"] { color: var(--hv-honey); }
.fw-bell[aria-pressed="true"] .fw-ico { fill: var(--hv-honey); transform: scale(1.08); }
.fw-bell.fw-lbl { border: 1px solid var(--hv-line-2); margin: 0; padding: 0 12px 0 10px; }
.fw-bell.fw-lbl[aria-pressed="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.fw-bell:focus-visible { outline: 2px solid var(--hv-honey, #f5b83d); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fw-bell .fw-ico { transition: none; } }
body[data-motion="reduced"] .fw-bell .fw-ico { transition: none; }
.cv-top .trk-star + .fw-bell { margin-left: 0; }
.drawer-hact .fw-bell { margin: 0; }
.p-card .row1 .fw-bell { margin: -6px -8px -6px 0; }

/* ───────── Run 4 items 7 + 8: the coins behind a claim, a group's wallets (drill-down rows), the sheet's path, plain map labels ── */
.evd { display: grid; gap: 8px; min-width: 0; }
.evd-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.evd-h .xpl-k { margin: 0; }
.evd-n { font: 600 12px/1.2 var(--hv-f-body); color: var(--hv-ink-3); white-space: nowrap; }
.evd-cap { margin: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.evd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.evd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; min-width: 0; }
.evd-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; width: 100%; min-width: 0; padding: 8px 10px; text-align: left;
  border-radius: var(--hv-r-lg); border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-1); cursor: pointer; }
.evd-main:hover { background: var(--hv-bg-3); }
.evd-main:focus-visible, .evd-trace:focus-visible, .sheet-min:focus-visible, #nav-show:focus-visible, .spath button.crumb:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.evd-txt { display: grid; gap: 2px; min-width: 0; }
.evd-l1, .evd-l2, .evd-l3 { display: block; min-width: 0; overflow-wrap: anywhere; }
.evd-l1 { font: 600 13px/1.3 var(--hv-f-body); color: var(--hv-ink-2); }
.evd-l1 b { font-weight: 700; color: var(--hv-ink-1); }
.evd-l2, .evd-l3 { font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.evd-pk.cv-up { font-weight: 600; }
.evd-go { color: var(--hv-ink-3); font: 600 18px/1 var(--hv-f-body); }
.evd-trace { min-width: 64px; height: 44px; justify-content: center; }
.evd-ring { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hv-honey-line); color: var(--hv-honey-2);
  font: 700 11px/1 var(--hv-f-body); letter-spacing: 0.04em; }
.evd-more { margin: 0; }
/* run 5 addition: "Coins behind this label" (the snapshot key group_coins): the framing lines sit above the rows, always */
.gc-frame { list-style: none; margin: 0; padding: 8px 10px; display: grid; gap: 4px; border-radius: var(--hv-r-lg); border: 1px solid var(--hv-line-2); font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.gc-frame li { min-width: 0; overflow-wrap: anywhere; }
/* major-r1 C5 (): a record under 20 coins says "small sample"; a new wallet (the feed's flag) says so */
.rec-tag { display: inline-block; padding: 0 6px; border-radius: 999px; border: 1px solid var(--hv-honey-line); color: var(--hv-honey-2); font: 600 11px/16px var(--hv-f-data); white-space: nowrap; vertical-align: 1px; }
.rec-tag.rec-new { border-color: var(--hv-line-2); color: var(--hv-ink-2); }
.gc-row .evd-main { align-items: start; }
.gc-row .evd-go { align-self: center; }
.gc-row .evd-pk b { font-weight: 700; color: var(--hv-ink-1); }
.gc-row .evd-pk b.cv-up { color: var(--hv-win-2); }
.gc-row .cv-lchip { vertical-align: 1px; }
.gc-row .cv-lchip.evd-pkw { text-transform: none; }   /* #188 row 35: a Member reads "Peak 68.6x (+6,760%)" */
.gc-side { display: grid; gap: 6px; justify-items: stretch; }
.gc-copy { min-height: 44px; min-width: 64px; }
.spath { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 5px; font-size: 12px; }   /* the path walked (the hierarchy crumbs keep .crumbs) */
.spath .sep { color: var(--hv-ink-3); }
.spath button.crumb { min-height: 32px; cursor: pointer; }
@media (max-width: 799px) { .spath button.crumb { min-height: 44px; padding: 4px 12px; } }
.spath .crumb.more { background: none; color: var(--hv-ink-3); padding: 4px 2px; }
.tm-lbl.plain .tm-l1 { text-transform: none; letter-spacing: 0.02em; }

/* ───────── Run 4 item 9: the Hive gets the screen (a phone): the sheet's peek / half / full, the menu bar's hide ── */
.drawer-ctl { display: inline-flex; align-items: center; gap: 6px; }
.sheet-min { width: 44px; height: 44px; }
.sheet-min svg { width: 16px; height: 16px; }
.sheet-grab { display: none; }
#btn-menu, #nav-show { display: none; }
@media (max-width: 799px) {
  body[data-lens="hive"] #drawer .drawer-head { position: relative; padding-top: 18px; touch-action: none; }
  body[data-lens="hive"] #drawer .sheet-grab { display: block; position: absolute; left: 50%; top: 6px; width: 44px; height: 10px; margin-left: -22px; }
  .sheet-grab i { display: block; width: 36px; height: 4px; margin: 3px auto 0; border-radius: 999px; background: var(--hv-ink-4, rgba(255, 255, 255, 0.28)); }
  body[data-lens="hive"] .drawer-ctl .close-btn { width: 44px; height: 44px; }
  /* peek: the title row only */
  body[data-lens="hive"][data-dmin="1"] #drawer { max-height: none; height: auto; }
  body[data-lens="hive"][data-dmin="1"] #drawer .drawer-body, body[data-lens="hive"][data-dmin="1"] #drawer .drawer-hact { display: none; }
  body[data-lens="hive"][data-dmin="1"] #drawer .drawer-head { border-bottom: 0; }
  #dock .icon-btn { width: 44px; height: 44px; }
  body[data-lens="hive"]:not([data-prime="1"]) #btn-menu { display: inline-flex; }
  /* the menu bar hidden: a slim "Menu" strip stays; everything that sat on the bar follows it down */
  body[data-lens="hive"]:not([data-prime="1"])[data-navhide="1"] { --tab-h: 32px; }   /* AC-T44: the strip is the target (32 px with a mouse, 44 px on touch, below) */
  body[data-lens="hive"]:not([data-prime="1"])[data-navhide="1"] #lenstabs { transform: translateY(110%); visibility: hidden; pointer-events: none; }
  body[data-lens="hive"]:not([data-prime="1"])[data-navhide="1"] #nav-show:not([hidden]) { display: flex; }
  #lenstabs { transition: transform 0.18s ease-out; }
  #nav-show { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); padding: 0 0 env(safe-area-inset-bottom, 0px);
    align-items: center; justify-content: center; gap: 6px; border: 0; border-top: 1px solid var(--hv-line-1); background: rgba(15, 13, 10, 0.97); color: var(--hv-ink-2);
    font: 600 12px/1 var(--hv-f-body); letter-spacing: 0.04em; cursor: pointer; }
  #nav-show svg { width: 14px; height: 14px; }
}
/* AC-T44 (prod smoke ed7f269, nuc-agent-context #190): a target follows the input, not the width. A coarse pointer (touch) at any width:
   44 px tall; a fine pointer (mouse): 32 px. The control's own box is the target (no hit area outside it): "Show the menu bar", the
   Stream's "Show all" chip, a sheet's row links. */
@media (pointer: fine) {
  .stream-scope .ss-btn, #drawer .rowlink { min-height: 32px; }
  #drawer .rowlink { align-content: center; }
}
@media (pointer: coarse) {
  body[data-lens="hive"]:not([data-prime="1"])[data-navhide="1"] { --tab-h: 44px; }
  .stream-scope .ss-btn, #drawer .rowlink { min-height: 44px; }
  #drawer .rowlink { align-content: center; }
}
@media (prefers-reduced-motion: reduce) { #lenstabs { transition: none; } }
body[data-motion="reduced"] #lenstabs { transition: none; }
/* Run 4 item 8: a coin row's Trace opens with its path already showing ("Group of 10 › ALON"), so the first-time hint sat on top of the
   crumbs for its 4 s: while the path shows, the hint stands one row above it */
#tm-crumbs:not([hidden]) + #tm-hint { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 100px); }
/* major-r1 Dashboard uplift (operator 12 Oct; plan §4.2, register S1–S4): ONE screen at 1280×720 and up. The panel holds the Pulse per
   chain, the crypto macro cells, ONE record line, the live tape and the Hive row; the live Hive fills the room beside the panel (its canvas
   resizes into it; the Stream rail steps aside, the tape is on the page). "Watch the Hive" condenses the panel to a side panel. At 1280×720
   the page never scrolls: the tape takes what is left and shows only the rows that fit whole. Phone: the Pulse and the macro cells swipe,
   the record line, 4 tape rows, a Hive card. */
.dash-sec { gap: 5px; padding: 5px 8px; }
.dash-sh { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; min-width: 0; }
.dash-sh h3, .dash-sec > h3:not(.vh) { margin: 0; font: 800 11.5px/1.2 var(--hv-f-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--hv-ink-3); }
.dash-sh h3 .tp-age { font: 600 11.5px/1.2 var(--hv-f-body); letter-spacing: 0; text-transform: none; color: var(--hv-honey-2); }   /* release fix: the tape's Last check (M9) */
.dp-lab .dash-late { margin: 0; font: 500 11px/1.2 var(--hv-f-data); color: var(--hv-honey-2); }
.dp-rows { display: grid; gap: 5px; min-width: 0; }
.dp-row { display: grid; grid-template-columns: 104px repeat(4, minmax(0, 1fr)); gap: 5px; min-width: 0; }
.dp-lab { display: grid; align-content: center; gap: 2px; min-width: 0; padding: 4px 8px; border-left: 3px solid var(--hv-rh); border-radius: 4px; background: rgba(53, 208, 186, 0.06); }
.dp-row[data-dp-chain="sol"] .dp-lab { border-left-color: var(--hv-sol); background: rgba(169, 139, 255, 0.07); }
.dp-lab b { font: 800 14px/1.15 var(--hv-f-display); letter-spacing: 0.05em; color: var(--hv-ink-1); }
.dp-lab span { font: 500 11px/1.25 var(--hv-f-body); color: var(--hv-ink-3); }
.dp-lab .dp-reg { justify-self: start; padding: 1px 6px; border-radius: 999px; font: 700 11px/1.4 var(--hv-f-data); color: var(--hv-honey-2); background: var(--hv-honey-bg); }
.dash-cell { position: relative; display: grid; grid-template-rows: auto auto auto; align-content: start; gap: 1px; min-width: 0; min-height: 46px; padding: 4px 8px 5px;
  border: 1px solid var(--hv-line-1); border-radius: 10px; background: rgba(33, 27, 20, 0.62); color: var(--hv-ink-1); text-align: left; font: inherit; }
button.dash-cell { cursor: pointer; }
button.dash-cell:hover { border-color: var(--hv-line-2); background: rgba(43, 35, 26, 0.85); }
button.dash-cell:focus-visible, .tp-row:focus-visible, .dl-r:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
.dc-l { font: 700 11px/1.2 var(--hv-f-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.dc-v { font: 700 16.5px/1.2 var(--hv-f-data); color: var(--hv-ink-1); min-width: 0; overflow-wrap: anywhere; }
.dc-v .pu-nm, .dc-v .dc-soonw { font: 600 12.5px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.dc-v .dc-word { font: 700 14px/1.25 var(--hv-f-body); }
.dc-v .ftraw { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.dc-v .ftraw .rawtag { margin-left: 0; }
.dc-v .dc-lock { display: inline-flex; align-items: center; gap: 5px; font: 700 12.5px/1.3 var(--hv-f-body); color: var(--hv-honey-2); }
.dc-v .lock-ico { width: 12px; height: 12px; }
.dc-c { font: 500 11px/1.3 var(--hv-f-body); color: var(--hv-ink-2); min-width: 0; }
.dc-c b { font: 700 11px/1.3 var(--hv-f-data); }
.dc-soon { border-style: dashed; background: rgba(33, 27, 20, 0.35); }
.dc-soon .dc-c { color: var(--hv-ink-3); }
.dm-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; min-width: 0; }
.dm-attr { font: 500 11px/1.25 var(--hv-f-body); letter-spacing: 0; text-transform: none; color: var(--hv-ink-3); }
.dash-rec, .dash-hive { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.dr-line { margin: 0; flex: 1 1 260px; min-width: 0; font: 500 12.5px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.dr-line b { font: 700 13px/1.2 var(--hv-f-data); color: var(--hv-ink-1); }
.dr-line b.cv-up { color: var(--hv-win-1); }
.dr-line .cv-lchip { vertical-align: 1px; padding: 2px 6px; }
.dr-tap { appearance: none; border: 0; margin: 0; padding: 4px 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; text-decoration: underline dotted var(--hv-ink-3); text-underline-offset: 4px; }   /* #156: the record line taps open its detail */
.dr-tap:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; border-radius: 4px; }
.dr-detail { margin: 0; flex: 1 0 100%; font: 500 12.5px/1.4 var(--hv-f-data); color: var(--hv-ink-2); }
.dr-detail.dr-gap { font-family: var(--hv-f-body); overflow-wrap: anywhere; }   /* #159: the left-out calls under the rate, plain words */
#p-hero-k .p-hero-t, #prime .p-hero .k .p-hero-t { text-transform: none; letter-spacing: 0.02em; }   /* #156: the Calls card's heading reads exactly "How our calls did" */
.dr-demo { padding: 2px 7px; border-radius: 999px; font: 700 11px/1.4 var(--hv-f-body); color: var(--hv-warn-ink); background: var(--hv-warn-bg); }
.dr-acts { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.dr-acts .icon-btn, .dh-watch { min-height: 28px; padding: 0 11px; font-size: 12px; white-space: nowrap; }
.dh-l { margin: 0; flex: 1 1 200px; min-width: 0; font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.dh-watch[aria-pressed="true"] { color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.dash-tape { display: flex; flex-direction: column; gap: 5px; }
.tp-views { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.tp-views .sf-chip { min-height: 24px; }
.tp-views .sf-chip[aria-checked="true"] { color: var(--hv-honey-2); border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.tp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 0; }
.tp-li { min-width: 0; }
.tp-empty { padding: 8px 4px; font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-ink-3); }
.tp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 1px; width: 100%; min-height: 40px; padding: 4px 9px 4px 8px;
  border: 0; border-left: 2px solid var(--kc, var(--hv-line-2)); border-radius: 8px; background: rgba(33, 27, 20, 0.5); color: var(--hv-ink-1); text-align: left; font: 500 12px/1.35 var(--hv-f-body); cursor: pointer; }
.tp-row:hover { background: rgba(43, 35, 26, 0.85); }
.tp-row[data-lit="1"] { background: var(--hv-honey-bg); box-shadow: inset 0 0 0 1px var(--hv-honey-line); }
.tp-a { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.tp-k { display: inline-flex; align-items: baseline; gap: 5px; flex: none; font: 700 11px/1.3 var(--hv-f-data); letter-spacing: 0.05em; color: var(--kc, var(--hv-ink-2)); }
.tp-k .chain { padding: 1px 4px 0; }
.tp-t { font: 700 13px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.tp-n { font: 700 11px/1.3 var(--hv-f-data); color: var(--hv-honey-2); }
.tp-z { justify-self: end; font: 700 12.5px/1.3 var(--hv-f-data); color: var(--hv-ink-1); white-space: nowrap; }
.tp-b { min-width: 0; font: 500 11.5px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.tp-who[data-linked="1"] { color: var(--hv-honey-2); }
.tp-tm { justify-self: end; align-self: end; font: 500 11px/1.35 var(--hv-f-data); color: var(--hv-ink-3); white-space: nowrap; }
/* the look-backs (one sheet): range chips, the chart, where our records start */
.dl-box, .dl-sub, .dl-blk { display: grid; gap: 8px; min-width: 0; }
.dl-ranges { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-r { min-height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: transparent; color: var(--hv-ink-2); font: 600 12px/1 var(--hv-f-body); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.dl-r[aria-pressed="true"] { color: var(--hv-honey-2); border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.dl-r[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.dl-r .lock-ico { width: 11px; height: 11px; }
.dl-part, .dl-tier { font-weight: 500; color: var(--hv-ink-3); }
.dl-plot { display: grid; gap: 4px; color: var(--hv-honey-2); }
.dl-chart { display: block; width: 100%; height: 132px; border-radius: 8px; background: var(--hv-bg-2); }
.dl-zero { stroke: var(--hv-line-3); stroke-dasharray: 3 3; }
.dl-axis { display: flex; justify-content: space-between; margin: 0; font: 500 11px/1.2 var(--hv-f-data); color: var(--hv-ink-3); }
.dl-stats, .dl-what, .dl-since, .dl-note, .dl-partl, .dl-attr, .dl-lock { margin: 0; font: 500 12.5px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.dl-stats b, .dl-what b { font: 700 13px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.dl-since { color: var(--hv-honey-2); }
.dl-note, .dl-attr { font-size: 12px; color: var(--hv-ink-3); }
.dl-lock { display: flex; align-items: center; gap: 6px; color: var(--hv-honey-2); }
.dl-h { margin: 4px 0 0; font: 800 12px/1.2 var(--hv-f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hv-ink-3); }
.dl-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dl-rows li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 10px; padding: 7px 9px; border-radius: 8px; background: var(--hv-bg-2); font: 500 12.5px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.dl-rows li b { font: 700 12.5px/1.4 var(--hv-f-data); color: var(--hv-ink-1); }
.dl-rows .dl-c { grid-column: 2; font-size: 12px; color: var(--hv-ink-3); }
#hmodal[data-hm="dash-look"] .hm-panel { width: min(640px, 100%); }
@media (min-width: 800px) {
  body[data-lens="dashboard"] { --lens-w: clamp(560px, 56vw, 940px); }
  body[data-lens="dashboard"][data-dash-watch="1"] { --lens-w: clamp(340px, 28vw, 400px); }
  body[data-lens="dashboard"] .rail-right { display: none; }
  body[data-lens="dashboard"] #hive { left: calc(var(--gutter) + var(--nav-w) + 8px + var(--lens-w)); }
  body[data-lens="dashboard"] #dock { left: calc(50% + (var(--nav-w) + 8px + var(--lens-w)) / 2); }
  .dash-pulse2 .dash-more-go { min-height: 30px; margin-top: 6px; }   /* major-r1 C6 on the uplifted Dashboard: the tap row fits the one screen (a phone keeps 44 px) */
  .dash-macro { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: stretch; column-gap: 5px; }
  .dash-macro > .dash-sh { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 4px 8px; border-left: 3px solid var(--hv-honey-line); border-radius: 4px; background: rgba(245, 184, 61, 0.05); }
  /* condensed (Watch the Hive): each chain keeps its volume and insiders; the macro cells step aside */
  body[data-lens="dashboard"][data-dash-watch="1"] .dp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-lens="dashboard"][data-dash-watch="1"] .dp-lab { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; }
  body[data-lens="dashboard"][data-dash-watch="1"] .dash-cell[data-dc="v1"], body[data-lens="dashboard"][data-dash-watch="1"] .dash-cell[data-dc="net"],
  body[data-lens="dashboard"][data-dash-watch="1"] [data-dash="macro"], body[data-lens="dashboard"][data-dash-watch="1"] .dh-l, body[data-lens="dashboard"][data-dash-watch="1"] .dr-copy { display: none; }
}
@media (min-width: 800px) and (max-width: 1099px) {   /* a tablet: the panel takes the page; "Watch the Hive" gives the Hive the room */
  body[data-lens="dashboard"]:not([data-dash-watch="1"]) { --lens-w: calc(100vw - 2 * var(--gutter) - var(--nav-w) - 8px); }
  body[data-lens="dashboard"]:not([data-dash-watch="1"]) #hive { left: 0; }
}
@media (min-width: 800px) and (min-height: 700px) {
  body[data-lens="dashboard"] .lens-head { padding-top: 9px; padding-bottom: 7px; }
  body[data-lens="dashboard"] #lens-body { display: flex; flex-direction: column; gap: 5px; padding: 6px 9px 8px 10px; }
  body[data-lens="dashboard"] #lens-body > * { flex: none; }
  body[data-lens="dashboard"] #lens-body > [data-dash="tape"] { flex: 1 1 0; min-height: 110px; overflow: hidden; }   /* the tape takes what is left (a phone's tape keeps its own height: there the page scrolls) */
  body[data-lens="dashboard"] .tp-list { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 4px; overflow: hidden; }
  body[data-lens="dashboard"] .tp-li { width: 100%; }
}
@media (max-width: 799px) {
  .dp-rows { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 2px; }
  .dp-rows[data-n="1"] { grid-auto-columns: 100%; }
  .dp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); scroll-snap-align: start; }
  .dp-lab { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 8px; }
  .dm-cells { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 2px; }
  .dm-cells > * { scroll-snap-align: start; }
  .tp-row { min-height: 44px; }
  .tp-li:nth-child(n + 5) { display: none; }
  .dash-hive { padding: 10px 11px; }
  .dh-watch, .dr-acts .icon-btn { min-height: 40px; }
}

/* #78: the one-tap Share on a call card. Building the image dims the button; a failed build reads "Couldn't make the image" in ink-2. */
[data-shc][aria-busy="true"] { opacity: 0.6; }
[data-shc][data-shc-state="fail"] { color: var(--hv-ink-2); }
/* #78 with #163: on a desktop the Replays player docks right over the page (460 px + its 24 px margin); while it is open the Calls
   layer and the lens body end left of it, so no call card's Share (or any of its row) sits under the player's controls.
   4 Nov (Replays list at 1440): the lens panel sits left of the page (gutter + nav + 8 px, --lens-w wide), so its body gives up only the
   part the player covers (its right edge past 100vw - 500 px), never a flat 500 px: a 475 px panel kept a 197 px list and the Latest cards
   broke one or two letters a line. The list keeps 292 px, its width in the narrowest desktop panel (320 px: 2 px border, 14 px left and
   12 px right padding); on a desktop too narrow for both the player docks over the list's right side. */
@media (min-width: 800px) {
  body:has(#hmodal[data-rpl-c="1"]) #prime { right: 500px; }
  body:has(#hmodal[data-rpl-c="1"]) #prime .p-feed { grid-template-columns: minmax(0, 1fr); }   /* one column: a card keeps its full action row */
  body:has(#hmodal[data-rpl-c="1"]) #lens-body { padding-right: clamp(12px, calc(var(--gutter) + var(--nav-w) + 8px + var(--lens-w) + 500px - 100vw), calc(var(--lens-w) - 308px)); }
  /* 4 Nov: the panel head gives up the same part (at 1100 the Dashboard's ?, × and Edit layout sat under the player); its buttons wrap
     into the head's 292 px left of the player */
  body:has(#hmodal[data-rpl-c="1"]) #lens .lens-head { padding-right: clamp(12px, calc(var(--gutter) + var(--nav-w) + 8px + var(--lens-w) + 500px - 100vw), calc(var(--lens-w) - 308px)); }
}
/* AC-DOCK2 (#213, after #326): at 800 and 900 the Dashboard panel ran on under the docked player (its edge and background showed past
   the player's bottom right) and the held chip and Recent, centred on the page, sat under the player's left edge and over Edit layout.
   --rpl-left is the player's left edge (its width as above, plus its 24 px margin). While a replay is docked:
   - the chip, Recent and Recent's list centre in the room left of the player on every lens (never under it);
   - the Dashboard panel ends 8 px left of the player (its content keeps the width the padding above gave it), and the chip and Recent sit
     at the panel's foot, centred on it, in room the body gives up (48 px for the chip, 100 px for the chip over Recent), so they cover
     no head control (Edit layout included) and no word of the panel; Recent's list opens up from there, as wide as the panel allows;
   - the Hive's view bar (#dock), centred on the Hive behind the player, steps aside on the Dashboard (its top ran under the player's foot). */
@media (min-width: 800px) {
  body:has(#hmodal[data-rpl-c="1"]) { --rpl-left: calc(100vw - 24px - min(460px, 100vw - var(--gutter) - var(--nav-w) - 360px)); }
  body:has(#hmodal[data-rpl-c="1"]) :is(.cv-held, .cv-recent-btn) { left: calc(var(--rpl-left) / 2); max-width: calc(var(--rpl-left) - 32px); }
  body:has(#hmodal[data-rpl-c="1"]) .cv-recent { left: calc(var(--rpl-left) / 2); width: min(380px, calc(var(--rpl-left) - 32px)); }
  body[data-lens="dashboard"]:has(#hmodal[data-rpl-c="1"]) { --lens-w: min(clamp(560px, 56vw, 940px), calc(var(--rpl-left) - var(--gutter) - var(--nav-w) - 16px)); }
  body[data-lens="dashboard"][data-dash-watch="1"]:has(#hmodal[data-rpl-c="1"]) { --lens-w: min(clamp(340px, 28vw, 400px), calc(var(--rpl-left) - var(--gutter) - var(--nav-w) - 16px)); }
  body[data-lens="dashboard"]:not([data-prime="1"]):has(#hmodal[data-rpl-c="1"]) :is(.cv-held, .cv-recent-btn, .cv-recent) { left: calc(var(--gutter) + var(--nav-w) + 8px + var(--lens-w) / 2); }
  body[data-lens="dashboard"]:not([data-prime="1"]):has(#hmodal[data-rpl-c="1"]) :is(.cv-held, .cv-recent-btn) { top: auto; bottom: calc(var(--gutter) + 10px); max-width: calc(var(--lens-w) - 24px); }
  body[data-lens="dashboard"][data-pdock="2"]:not([data-prime="1"]):has(#hmodal[data-rpl-c="1"]) .cv-held { bottom: calc(var(--gutter) + 62px); }
  body[data-lens="dashboard"]:not([data-prime="1"]):has(#hmodal[data-rpl-c="1"]) .cv-recent { top: auto; bottom: calc(var(--gutter) + 100px); width: min(380px, calc(var(--lens-w) - 16px));
    max-height: min(60vh, calc(100vh - var(--top-h) - var(--gutter) - 116px)); }
  body[data-lens="dashboard"][data-pdock="1"]:not([data-prime="1"]):has(#hmodal[data-rpl-c="1"]) #lens-body { padding-bottom: 48px; }
  body[data-lens="dashboard"][data-pdock="2"]:not([data-prime="1"]):has(#hmodal[data-rpl-c="1"]) #lens-body { padding-bottom: 100px; }
  body[data-lens="dashboard"]:has(#hmodal[data-rpl-c="1"]) #dock { display: none; }   /* the Hive's view bar sat under the player's foot */
}
/* AC-DOCK3 (#213, fix-forward after #331; Tester FAIL on prod 30457c6): in the Hive view the view bar (#dock), centred on the page, ran
   under the docked player's bottom left at every desktop size (900x800: the bar 365..536 x 726..784, the player 430..876 x 56..744).
   While a replay is docked the bar sits in the room left of the player, never under it:
   - the Hive view: centred between the nav (gutter + nav) and the player (--rpl-left); that room is 336 px at 800 to 913 and grows with
     the page, and the bar fits it at every width (171 px, 223 px with Back to Hive; above 1180 with its words 375 px or less, so its
     colour key folds below 1520 as it does beside a panel; at 1520 and up the key, words and Back take about 716 px of 942 px or more);
   - a panel lens: no colour key (the bar stays inside the player's width: 375 px or less with its words and Back).
     A panel keeps its width (#163: the player docks over its right side), so that strip is 8 px to a few hundred.
   AC-DOCK3 fix-forward (#216, decisions-log row 568, Tester FAIL on 3bcaac1 row 567): the bar is never hidden on a lens. A panel lens
   (Replays, Tracked, Movers, Wallets, Alerts, Calls, every other but the Hive view and the Dashboard) lays it under the player, centred
   on it: the player there keeps var(--gutter) + 70 px clear top and bottom, so its bottom ends 12 px above the bar's top (the bar is
   58 px tall, var(--gutter) off the foot), clear of the panel. Prime's Calls (#prime ends 500 px from the right)
   shows it there too. The Dashboard keeps AC-DOCK2's rule; the Hive view keeps the bar left of the player (G1). */
@media (min-width: 800px) {
  body[data-lens="hive"]:has(#hmodal[data-rpl-c="1"]) #dock { left: calc((var(--gutter) + var(--nav-w) + var(--rpl-left)) / 2); }
  body:not([data-lens="hive"]):has(#hmodal[data-rpl-c="1"]) #dock :is(.dock-key, .dock-key-sep) { display: none; }
  body:not([data-lens="hive"]):not([data-lens="dashboard"]):has(#hmodal[data-rpl-c="1"]) #dock { left: calc((var(--rpl-left) + 100vw - 24px) / 2); }
  body:not([data-lens="hive"]):not([data-lens="dashboard"]) #hmodal[data-rpl-c="1"] .hm-panel { max-height: min(86vh, 860px, calc(100vh - 2 * (var(--gutter) + 70px))); }
  body[data-prime="1"]:not([data-lens="dashboard"]):has(#hmodal[data-rpl-c="1"]) #dock { display: flex !important; }   /* prime.css hides the map's surfaces (!important) */
  /* Prime's pop-up stack (bottom right, a highlight every 6 s) stands left of the player, so no card covers the bar under it */
  body[data-prime="1"]:has(#hmodal[data-rpl-c="1"]) .cv-toasts { right: calc(100vw - var(--rpl-left) + 8px); width: min(360px, calc(var(--rpl-left) - var(--gutter) - var(--nav-w) - 24px)); }
}
@media (min-width: 800px) and (max-width: 1519.98px) {
  body:has(#hmodal[data-rpl-c="1"]) :is(.dock-key, .dock-key-sep) { display: none; }
}

/* Option C (founder ruling 19 Oct, #169): a gain prints "{x}× (+{p}%)". The percentage is its own span (.p-pc, primeFigKids); in the
   Prime card's three tiles it takes its own line under the multiple, in the figure's colour, so a 390 px tile never runs past its edge */
#prime .p-stat > b .p-pc { display: block; font-size: 13px; line-height: 16px; letter-spacing: 0; }
#prime .p-run .bigx .p-pc { display: block; font-size: 22px; line-height: 26px; margin-top: 4px; letter-spacing: 0; }
.p-toast .p-tfig .p-x { text-align: right; }
.p-toast .p-tfig .p-x .p-pc { display: block; font-size: 0.68em; line-height: 1.25; }
#prime .p-rcpsum { flex-wrap: wrap; row-gap: 4px; }
#prime .p-rcpsum > .k { white-space: nowrap; }
#prime .p-rcp b .p-pc { display: block; font-size: 12px; line-height: 14px; text-align: right; }
.cv-pv .p-pc { display: block; margin-top: 3px; font-size: 13px; line-height: 15px; letter-spacing: 0; }
.cv-rbig .p-pc { display: block; margin-top: 4px; font-size: 18px; line-height: 22px; letter-spacing: 0; }
.mn-x .p-pc { display: block; margin-top: 4px; font-size: 0.45em; line-height: 1.2; letter-spacing: 0; }
/* an inline Option C figure never breaks between its multiple and its percentage */
[data-dash-rec-line] b, .rp-line b, .rp-fig b, .tc-x, .nl-x, .dw-x, .xpl-x, .p-rcpsm b { white-space: nowrap; }
/* major-r1 C11 (founders' ) / #85: the Dashboard's Edit layout control sits beside the page's sub-line (Pro; Free and Not signed up
   read a plain lock), and its sheet: one row per section (show / hide, move up / down), Reset layout, Done. The page stays one column. */
.dcz-bar { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.dcz-bar[hidden] { display: none; }
.lens-head[data-dcz] { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; }
.lens-head[data-dcz] > * { grid-column: 1 / -1; }
.lens-head[data-dcz] > .lens-sub { grid-column: 1; align-self: center; }
.lens-head[data-dcz] > .dcz-bar { grid-column: 2; }
.dcz-open { position: relative; min-height: 32px; }
.dcz-open::after { content: ''; position: absolute; inset: -6px 0; }   /* a 44 px target in a 32 px row */
.dcz-open, .dcz-lock { min-width: 44px; }
.dcz-lock { position: relative; min-height: 32px; cursor: default; color: var(--hv-ink-3); }   /* #85: the plain lock (Free, Not signed up) */
.dcz-lock::after { content: ''; position: absolute; inset: -6px 0; }
.dcz-lock:hover { color: var(--hv-ink-3); background: rgba(33, 27, 20, 0.85); }
.dcz-lock .lock-ico { width: 12px; height: 12px; }
.dcz-open[data-custom="1"] { color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.dcz-open:focus-visible, .dcz-mv:focus-visible, .dcz-acts .icon-btn:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
.dcz-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dcz-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 6px; align-items: center; }
.dcz-n { min-width: 0; overflow-wrap: anywhere; }
.dcz-sw[disabled] { cursor: default; opacity: 0.7; }
.dcz-mv { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid var(--hv-line-2);
  background: var(--hv-bg-2); color: var(--hv-ink-1); cursor: pointer; }
.dcz-mv[disabled] { opacity: 0.35; cursor: default; }
.dcz-mv svg { width: 16px; height: 16px; }
.dcz-acts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.dcz-acts .icon-btn { min-height: 44px; min-width: 44px; }
/* quality sweep 26 Oct (row 21, WCAG AA 4.5:1): off reads quiet by its ink and a faint edge, never by opacity (2.8:1) */
.dcz-reset[aria-disabled="true"], .dcz-reset[aria-disabled="true"]:hover { color: var(--hv-ink-3); border-color: var(--hv-line-1); background: transparent; cursor: default; }

/* ── major-r1 Movers (plan §4.11): bubbles / grid / list; size = market cap (√), colour = change (up green, brighter as it grows; down
   red; grey = no change read); an inner honey ring = Swarm, a honey dot = Degen; a phone reads the grid and the list at 390 px ── */
@media (min-width: 800px) { body[data-lens="movers"] { --lens-w: clamp(420px, 46vw, 720px); } }
.mv-ctl { gap: 10px; }
.mv-row1 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mv-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--hv-r-pill); background: var(--hv-bg-2); border: 1px solid var(--hv-line-1); }
.mv-seg button { min-height: 36px; min-width: 44px; padding: 0 12px; border: 0; border-radius: var(--hv-r-pill); background: transparent; color: var(--hv-ink-2); font: 700 var(--hv-text-sm)/1 var(--hv-f-body); cursor: pointer; }
.mv-seg button[aria-pressed="true"] { background: var(--hv-bg-4); color: var(--hv-ink-1); box-shadow: inset 0 0 0 1px var(--hv-line-2); }
.mv-seg button:focus-visible, .mv-chip:focus-visible, .mv-b:focus-visible, .mv-rowb:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.mv-chips { display: flex; flex-wrap: wrap; gap: 8px 6px; }
.mv-chip { position: relative; min-height: 32px; padding: 0 10px; border-radius: var(--hv-r-pill); border: 1px solid var(--hv-line-2); background: transparent; color: var(--hv-ink-2); font: 600 var(--hv-text-xs)/1 var(--hv-f-body); cursor: pointer; }
.mv-chip::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }   /* a 44 px target on a 32 px chip */
.mv-chip[aria-pressed="true"] { color: var(--hv-ink-1); border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.mv-leg { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--hv-text-xs); line-height: 1.4; color: var(--hv-ink-3); }
.mv-leg i { display: inline-block; vertical-align: -1px; width: 10px; height: 10px; border-radius: 50%; }
.mv-leg .mv-ring { border: 2px solid var(--hv-honey-2); }
.mv-leg .mv-dot { width: 7px; height: 7px; margin-left: 4px; background: var(--hv-honey-2); }
.mv-leg .mv-grey { border-radius: 3px; background: var(--hv-bg-4); border: 1px solid var(--hv-line-2); }
.mv-sec { gap: 10px; }
.mv-n { font: 600 var(--hv-text-xs)/1.4 var(--hv-f-data); color: var(--hv-ink-3); }
.mv-note, .mv-hid, .mv-hint { margin: 0; font-size: var(--hv-text-xs); line-height: 1.4; color: var(--hv-ink-3); }
.mv-hint { color: var(--hv-honey-2); }
/* one coin: a bubble or a grid tile */
.mv-t { position: relative; display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 0; padding: 4px; overflow: hidden;
  border: 1px solid var(--hv-line-1); background: var(--hv-bg-3); color: var(--hv-ink-2); text-align: center; font-family: var(--hv-f-body); cursor: pointer; }
.mv-t:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.mv-t .mv-tk { max-width: 100%; font: 700 1em/1.1 var(--hv-f-data); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.mv-t .mv-chg { font: 700 0.92em/1.1 var(--hv-f-data); }
.mv-t .mv-cap { font: 500 0.82em/1.1 var(--hv-f-data); color: var(--hv-ink-2); }
.mv-t[data-tone^="up"], .mv-rowb[data-tone^="up"] { border-color: var(--hv-win-line); }
.mv-t[data-tone="up1"] { background: var(--hv-win-aura-1); }
.mv-t[data-tone="up2"] { background: var(--hv-win-aura-2); }
.mv-t[data-tone="up3"] { background: var(--hv-win-aura-3); }
.mv-t[data-tone="up4"] { background: var(--hv-win-aura-4); }
.mv-t[data-tone="up5"] { background: var(--hv-win-aura-5); box-shadow: var(--hv-win-shadow-3); }
[data-tone="up1"] .mv-chg { color: var(--hv-win-1); }
[data-tone="up2"] .mv-chg { color: var(--hv-win-2); }
[data-tone="up3"] .mv-chg { color: var(--hv-win-3); }
[data-tone="up4"] .mv-chg { color: var(--hv-win-4); text-shadow: var(--hv-win-shadow-3); }
[data-tone="up5"] .mv-chg { color: var(--hv-win-5); text-shadow: var(--hv-win-shadow-4); }
.mv-t[data-tone="dn1"] { background: var(--hv-loss-bg); border-color: var(--hv-loss-line); }
.mv-t[data-tone="dn2"] { background: var(--hv-loss-bg-2); border-color: var(--hv-loss); }   /* r1b hive: a palette token, never a raw colour */
[data-tone^="dn"] .mv-chg { color: var(--hv-loss); }   /* Movers 0a: five bands down */
.mv-t[data-tone="dn3"], .mv-t[data-tone="dn4"], .mv-t[data-tone="dn5"] { background: var(--hv-loss-bg-2); border-color: var(--hv-loss); }
.mv-rowb[data-tone^="dn"] { border-left-color: var(--hv-loss); }
.mv-t[data-tone="nm"], .mv-t[data-tone="flat"] { background: var(--hv-bg-3); }
.mv-t[data-tone="flat"] .mv-chg, .mv-rowb .mv-nm { color: var(--hv-ink-3); }
.mv-rowb .mv-chg.mv-nm { font: 500 var(--hv-text-xs)/1.25 var(--hv-f-body); }   /* "Not tracked yet" in words, not figures: it wraps in its column */
.mv-t[data-lvl="swarm"]::before { content: ""; position: absolute; inset: 3px; border: 2px solid var(--hv-honey-2); border-radius: inherit; pointer-events: none; }
.mv-t[data-lvl="degen"]::after, .mv-rowb[data-lvl="degen"] .mv-c::after { content: ""; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--hv-honey-2); pointer-events: none; }
.mv-t[data-sel="1"], .mv-rowb[data-sel="1"] { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
/* bubbles: the box takes the packed cloud's shape; each circle is placed in fractions of it */
.mv-bub { position: relative; width: 100%; aspect-ratio: var(--ar, 1); container-type: inline-size; }
/* review fixes 20 Oct: on Movers the Recent pill sits in the page above the coins (never floating over a bubble) */
.mv-recent-row { display: flex; justify-content: flex-end; }
.mv-recent-row:has(> [hidden]) { display: none; }
.cv-recent-in { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: rgba(16, 21, 28, 0.96); color: var(--hv-ink-1); font: 600 13px var(--hv-f-body); cursor: pointer; }
.cv-recent-in[hidden] { display: none; }
.mv-bub .mv-tk[data-mv-name] { white-space: nowrap; }
.mv-bubble { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: calc(var(--d) * 100%); height: calc(var(--dh) * 100%);
  padding: 0; border-radius: 50%; font-size: clamp(11px, calc(var(--d) * 15cqw), 15px); }
.mv-bubble .mv-chg { font-size: max(11px, calc(1.12em - 1.32px)); line-height: 1.25; }   /* release render: the 11 px floor (P1-15) on every bubble line (app.js mvBubbleFont) */
.mv-bubble .mv-cap { font-size: max(11px, 0.82em); }
.mv-bubble[data-lvl="degen"]::after { top: 9%; right: auto; left: calc(50% - 4px); }
/* grid: a √-cap tier spans two columns (and two rows at the top); four columns on a phone */
.mv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 64px; grid-auto-flow: dense; gap: 6px; }
.mv-tile { border-radius: var(--hv-r-sm); font-size: 12px; }
.mv-tile .mv-tk[data-long="1"] { font-size: max(11px, 0.86em); }
.mv-tile .mv-chg { font-size: max(11px, 0.92em); }   /* release review: the 11 px floor (P1-15) on grid tiles too */
.mv-tile .mv-cap { font-size: max(11px, 0.82em); }
.mv-tile[data-span="m"] { grid-column: span 2; font-size: 13px; }
.mv-tile[data-span="l"] { grid-column: span 2; grid-row: span 2; font-size: 16px; }
@media (min-width: 800px) { .mv-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); grid-auto-rows: 72px; } }
/* list: coin · market cap · change */
.mv-lh, .mv-rowb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(64px, auto) minmax(64px, 96px); gap: 10px; align-items: center; }
.mv-lh { padding: 0 12px 0 13px; font: 700 var(--hv-text-cap)/1.2 var(--hv-f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.mv-lh span:nth-child(n+2), .mv-rowb .mv-cap, .mv-rowb .mv-chg { text-align: right; }
.mv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mv-rowb { position: relative; width: 100%; min-height: 44px; padding: 6px 12px 6px 10px; border: 1px solid var(--hv-line-1); border-left: 3px solid var(--hv-line-2);
  border-radius: var(--hv-r-sm); background: var(--hv-bg-2); color: var(--hv-ink-2); font: 500 var(--hv-text-sm)/1.25 var(--hv-f-body); text-align: left; cursor: pointer; }
.mv-rowb[data-tone^="up"] { border-left-color: var(--hv-win-1); }
.mv-rowb .mv-c { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; padding-right: 12px; }   /* the chain tag and age wrap before the ticker breaks */
.mv-rowb .mv-tk { flex: 0 1 auto; font: 700 var(--hv-text-md)/1.2 var(--hv-f-data); color: var(--hv-ink-1); min-width: 0; overflow-wrap: anywhere; }
.mv-rowb .mv-age { font: 500 var(--hv-text-xs)/1 var(--hv-f-data); color: var(--hv-ink-3); }
.mv-rowb .mv-cap, .mv-rowb .mv-chg { font: 600 var(--hv-text-sm)/1.2 var(--hv-f-data); }
.mv-rowb[data-lvl="swarm"] { box-shadow: inset 0 0 0 2px var(--hv-honey-2); }
.mv-rowb[data-lvl="degen"] .mv-c::after { position: static; flex: none; align-self: center; }
/* new pairs (RH births on our tape) and the Solana market-wide slot */
.mv-births { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--hv-line-1); }
.mv-births h4 { margin: 0; font: 800 16px/1.1 var(--hv-f-display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-1); }
.mv-bl { display: flex; flex-wrap: wrap; gap: 6px; }
.mv-b { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: var(--hv-r-pill); border: 1px solid var(--hv-line-2);
  background: var(--hv-bg-2); color: var(--hv-ink-2); font: 600 var(--hv-text-xs)/1 var(--hv-f-data); cursor: pointer; }
.mv-b b { color: var(--hv-ink-1); }
.mv-b .mv-bx { color: var(--hv-ink-3); }
.mv-soon { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--hv-line-2);
  border-radius: var(--hv-r-sm); color: var(--hv-ink-2); font-size: var(--hv-text-sm); }
.mv-soon b { color: var(--hv-ink-1); }
@media (max-width: 799px) {
  .mv-seg button { min-height: 44px; }
  .mv-b { min-height: 44px; }
  .mv-rowb .mv-c { padding-right: 0; }
  .mv-rowb .mv-tk { flex-basis: 100%; }   /* a phone row: the ticker on its own line, the chain tag and age under it */
}
@media (prefers-reduced-motion: no-preference) { .mv-t, .mv-rowb { transition: border-color 0.2s, background-color 0.2s; } }

/* major-r1 pages: "Record method" link on every record line, the two document pages */
.hwc-link { position: relative; display: inline-flex; align-items: center; min-height: 28px; padding: 0 2px; margin: 0; border: 0; background: none; color: var(--hv-honey-2, #ffd98c); font: 600 12px/1.2 var(--hv-f-body); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; white-space: nowrap; }
.hwc-link::after { content: ""; position: absolute; left: -6px; right: -6px; top: -8px; bottom: -8px; }   /* a 44 px target on a 28 px link */
.hwc-link:hover { color: var(--hv-honey, #f5b83d); }
.hwc-link:focus-visible { outline: 2px solid var(--hv-honey, #f5b83d); outline-offset: 2px; border-radius: 4px; }
.hwc-row { display: flex; justify-self: start; width: fit-content; margin: 2px 0 6px; }
.p-hwcw .hwc-link { margin-left: 8px; }
.p-hwcp { margin: 0; }
.pg-lead, .pg-sec, .hwc-rec { gap: 10px; }
.pg-st { margin: 0; font: 700 17px/1.25 var(--hv-f-display); letter-spacing: 0.02em; color: var(--hv-ink-1); }
.pg-h { margin: 8px 0 0; font: 700 14px/1.3 var(--hv-f-body); color: var(--hv-ink-1); }
.pg-p, .pg-q { margin: 0; font: 500 14px/1.5 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.pg-p b, .pg-l b, .pg-t b { color: var(--hv-ink-1); font-weight: 700; }
.pg-q { padding-left: 10px; border-left: 3px solid var(--hv-honey-line); color: var(--hv-ink-1); }
.pg-l { margin: 0; padding-left: 20px; display: grid; gap: 6px; font: 500 14px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.pg-tw { overflow-x: auto; max-width: 100%; }
.pg-t { border-collapse: collapse; width: 100%; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.pg-t th, .pg-t td { text-align: left; vertical-align: top; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--hv-line-1); }
.pg-t th { font: 700 11px var(--hv-f-data); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.pg-lk { display: inline; padding: 0; border: 0; background: none; color: var(--hv-honey-2, #ffd98c); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hwc-rec-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hwc-rec-row { font: 500 14px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.hwc-rec-k { display: inline-block; min-width: 118px; font: 700 12px var(--hv-f-data); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-3); }
.hwc-rec-w { margin: 0; font: 500 12px/1.35 var(--hv-f-body); }
.hwc-rec-lk { color: var(--hv-honey-2, #ffd98c); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.camp-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.camp-clip { min-height: 44px; }
.camp-cards, .camp-el { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.camp-card, .camp-entry { padding: 10px 12px; border-radius: var(--hv-r-md, 12px); border: 1px solid var(--hv-line-1); background: var(--hv-bg-2); font: 600 13.5px/1.4 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.camp-post { display: grid; gap: 8px; margin-top: 12px; }
.camp-post-t { margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); font: 500 14px/1.45 var(--hv-f-body); color: var(--hv-ink-1); user-select: all; overflow-wrap: anywhere; }
.camp-post .set-c { justify-self: start; min-height: 44px; }
.camp-pick { margin-top: 8px; }

/* ── r1b coin read ( panes, NEW-309 strip,  coverage tag,  HIVE layer, NEW-522 class taps,  check extras,  HIVE Scan) ── */
.cs { display: grid; gap: 6px; margin: 4px 0 2px; min-width: 0; }
.cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cs-t[data-cs="cap"] { grid-column: 1 / -1; }   /* r1b rc: the market cap leads the strip, a row of its own */
.cs-t { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 7px 8px; border: 1px solid var(--hv-line-1); border-radius: 10px; background: var(--hv-bg-2); }
.cs-l { font: 600 11px/1.2 var(--hv-f-data); letter-spacing: 0.02em; color: var(--hv-ink-3); }
.cs-v { font: 700 14px/1.25 var(--hv-f-data); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.cs-v.cv-up { color: var(--k-buy, #5fe39c); }
.cs-v.cv-dn { color: var(--k-sell, #ff6b57); }
.cs-nt { font: 500 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.cs-sub { font: 500 11px/1.3 var(--hv-f-data); color: var(--hv-ink-2); }
.cs-act { margin: 0; font: 500 12.5px/1.5 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.cs-act .cv-up { color: var(--k-buy, #5fe39c); }
.cs-act .cv-dn { color: var(--k-sell, #ff6b57); }
details.cov-tag { margin: 2px 0 0; }
details.cov-tag summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 44px; cursor: pointer; font: 500 12.5px/1.4 var(--hv-f-body); color: var(--hv-ink-2); list-style: none; }
details.cov-tag summary::-webkit-details-marker { display: none; }
details.cov-tag summary b { color: var(--hv-honey, #f5b83d); }
details.cov-tag[data-cov="nt"] summary b { color: var(--hv-ink-3); }
details.cov-tag p { margin: 0 0 6px; }
.ts-ph { margin: 16px 0 4px; padding-top: 10px; border-top: 1px solid var(--hv-line-2); font: 700 12px/1.2 var(--hv-f-data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-honey, #f5b83d); }
.ts-none { margin: 6px 0; }
.ch-layer .ch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 6px 0; min-width: 0; }
.ch-k { font: 600 11px/1.2 var(--hv-f-data); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-3); min-width: 84px; }
.ch-lv { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--hv-honey, #f5b83d); color: var(--hv-honey, #f5b83d); font: 700 12px/1.5 var(--hv-f-data); }
.ch-lv.ch-early { border-color: var(--hv-line-2); color: var(--hv-ink-1); }
.ch-layer .sig-strip { margin: 0; }
.ch-bees { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ch-acts { margin-top: 8px; }
.ch-act { min-height: 44px; }
button.wx-tap { display: inline-flex; align-items: center; min-height: 32px; padding: 0 8px; margin: 1px 0; border: 1px dashed var(--hv-line-2); border-radius: 8px; background: transparent; color: var(--hv-ink-1); font: 600 12.5px/1.3 var(--hv-f-body); cursor: pointer; }
button.wx-tap[aria-expanded="true"] { border-style: solid; border-color: var(--hv-honey, #f5b83d); }
.wx { display: grid; gap: 2px; margin: 4px 0 6px; padding: 7px 9px; border-radius: 8px; background: var(--hv-bg-2); font: 500 12.5px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.wx-r b { color: var(--hv-ink-1); margin-right: 4px; }
.cc-x { margin-top: 6px; }
.cc-web { list-style: none; margin: 6px 0; padding: 0; }
.cc-wrow { display: grid; gap: 2px; padding: 7px 0 7px 10px; border-left: 2px solid transparent; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.cc-bell { margin: 6px 0 0; }
.scan-row p { margin: 2px 6px 6px; font-size: 12.5px; color: var(--hv-ink-2); }
.scan-row .scan-go, .scan-row .tlock { margin: 0 6px 6px; min-height: 44px; justify-self: start; }
.scan-wrap { max-width: 100%; }   /* no scroll box: the table fits the sheet (a scroll box clipped its last rows) */
@media (min-width: 800px) { .drawer-hact.lk-hact { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; min-width: 0; } }   /* r1b coin: the pasted read's actions under its title */
.scan-tbl { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12.5px; overflow-wrap: anywhere; }
.scan-tbl thead th:first-child { width: 92px; }
.scan-tbl tbody th { overflow-wrap: normal; }
.scan-tbl .scan-lb { display: block; font-size: 11px; color: var(--hv-ink-3); }
.scan-tbl th, .scan-tbl td { padding: 6px 6px; text-align: left; vertical-align: top; border-top: 1px solid rgba(255, 255, 255, 0.06); }
table.mini.scan-tbl td { max-width: none; white-space: normal; overflow: visible; text-overflow: clip; }   /* r1b rc: a cell wraps ("Not tracked yet" was cut to "Not tracked …" by table.mini's one-line rule) */
.scan-tbl thead th { border-top: 0; }
.scan-tbl tbody th { font: 600 11px/1.3 var(--hv-f-data); color: var(--hv-ink-3); }
.scan-tbl .cv-up { color: var(--k-buy, #5fe39c); }
.scan-tbl .cv-dn { color: var(--k-sell, #ff6b57); }
button.scan-coin { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; min-height: 36px; padding: 0 6px; overflow-wrap: anywhere; text-align: left; border: 1px solid var(--hv-line-2); border-radius: 8px; background: transparent; color: var(--hv-ink-1); font: 700 12.5px var(--hv-f-data); cursor: pointer; }
@media (max-width: 799px) {
  .ts-ph { display: none; }
  .drawer-body[data-ts-pane="read"] > [data-ts-p]:not([data-ts-p~="read"]),
  .drawer-body[data-ts-pane="chart"] > [data-ts-p]:not([data-ts-p~="chart"]),
  .drawer-body[data-ts-pane="holders"] > [data-ts-p]:not([data-ts-p~="holders"]),
  .drawer-body[data-ts-pane="flags"] > [data-ts-p]:not([data-ts-p~="flags"]) { display: none; }
  button.wx-tap { min-height: 44px; }   /* quality sweep 27 Oct (row 14): the coin sheet's "Wallets in" class chips take the 44 px phone floor (were 36 px) */
  body[data-search="open"] .hive-head, body[data-search="open"] #pulse-hive { display: none; }   /* the header's paste: the Hive's head and pulse line sat over the results */
}
/* ── R1b Controls (operator 14 Oct): the Operator's screen of founders' switches (CONTROLS in app.js). Two columns of rows on a wide
   screen, one on a phone; every control 44 px; the preview's own band marks "Preview in this browser". ── */
#hmodal[data-hm="controls"] .hm-panel { width: min(1080px, 100%); }
.ctl-lead { max-width: 72ch; }
.ctl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ctl-n { font: 600 13px var(--hv-f-body); color: var(--hv-ink-2); }
.ctl-reset-all, .ctl-reset, .ctl-copy, .ctl-go, .set-ctl { min-height: 44px; justify-self: start; }
.ctl-reset[disabled], .ctl-copy[disabled], .ctl-reset-all[disabled] { opacity: 0.55; cursor: default; }
.ctl-area { display: grid; gap: 10px; }
.ctl-area > .set-h { padding-top: 6px; border-top: 1px solid var(--hv-line-1); }
.ctl-area { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); align-items: start; }
.ctl-area > .set-h { grid-column: 1 / -1; }
.ctl-row { display: grid; gap: 6px; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hv-line-1); background: var(--hv-bg-2); }
.ctl-row[data-ctl-diff="1"] { border-color: var(--hv-honey-line); }
.ctl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ctl-t { margin: 0; flex: 1 1 auto; min-width: 0; font: 700 14px/1.25 var(--hv-f-body); color: var(--hv-ink-1); }
.ctl-dec { min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: none; color: var(--hv-honey-2); font: 700 12px var(--hv-f-data); cursor: pointer; }
.ctl-dec:focus-visible, .ctl-in:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
.ctl-scope { font: 600 11px var(--hv-f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.ctl-src { margin: 0; padding: 8px 10px; border-left: 2px solid var(--hv-honey-line); font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.ctl-src[hidden] { display: none; }
.ctl-ship { margin: 0; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.ctl-k { font-weight: 700; color: var(--hv-ink-3); }
.ctl-v { font: 600 13px var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.ctl-say:empty, .ctl-said:empty { display: none; }
.ctl-where { color: var(--hv-ink-3); font-size: 12px; }
.ctl-prev { display: grid; gap: 6px; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--hv-line-2); }
.ctl-prev[data-on="1"] { border-style: solid; border-color: var(--hv-honey-line); background: rgba(245, 184, 61, 0.06); }
.ctl-pl { margin: 0; font: 700 11px var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-honey-2); }
.ctl-inrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ctl-in { flex: 1 1 180px; min-width: 0; min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-1); color: var(--hv-ink-1); font: 600 13px var(--hv-f-data); }
.ctl-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ctl-code { display: block; padding: 8px 10px; border-radius: 8px; background: var(--hv-bg-1); font: 500 12px/1.45 var(--hv-f-data); color: var(--hv-ink-1); white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.ctl-ro, .ctl-note { margin: 0; font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-ink-3); overflow-wrap: anywhere; }
.ctl-ro b { color: var(--hv-ink-2); }
/* r1b alerts (): the Pro widgets a Member adds from Customize (Movers, Tracked, Daily launches) */
.dw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dw-row { width: 100%; min-height: 44px; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 10px; border: 0; border-radius: 10px;
  background: rgba(241, 232, 218, 0.04); color: var(--hv-ink-1); text-align: left; font: 500 13px var(--hv-f-body); cursor: pointer; }
.dw-row:hover { background: rgba(241, 232, 218, 0.08); }
.dw-row:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.dw-sym { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 12ch; }
.dw-cap { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--hv-ink-3); }
.dw-x { font: 700 13px var(--hv-f-data); font-variant-numeric: tabular-nums; }
.dw-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.dash-w .ng-go { margin-top: 8px; }
/* ── r1b conversion points (app.js convSync / convNudge / openTiers; docs/CONVERSION_MAP.md). Members only; honey, never a gradient. ── */
#btn-pro.pro-cta { min-height: 44px; border-color: var(--hv-honey-line); background: var(--hv-honey-bg); color: var(--hv-honey-2); }
#btn-pro.pro-cta:hover, #btn-pro.pro-cta:focus-visible { border-color: var(--hv-honey); color: var(--hv-ink-1); }
#btn-pro[hidden], .conv-more[hidden] { display: none !important; }
@media (max-width: 799px) { #btn-pro.pro-cta { padding: 0 10px; letter-spacing: 0.04em; } }
/* a phone strip under 460 px holds the logo, LIVE, the chain switch and three 44 px controls with no room left: there "Get Pro" leads
   the More menu instead (the strip never squeezes the logo or the LIVE age) */
@media (max-width: 459px) { #btn-pro.pro-cta { display: none !important; } }
.conv-more { color: var(--hv-honey-2) !important; }
.tier-focus { display: grid; gap: 6px; margin: 0 0 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--hv-honey-line); background: var(--hv-honey-bg); }
.tier-focus .tier-go { justify-self: start; margin: 4px 0 0; }
.tier-fl { margin: 0; font: 600 14px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.tier-fl .tlock-chip { margin-right: 2px; }
.tier-fp { margin: 0; font: 600 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.tier-fp b { color: var(--hv-ink-1); }
/* Pro checkout (operator 14 Oct: USDC on Solana): the plan pick, the request as a QR code (dark on white in either theme), the wallet link,
   the three facts with Copy, and the payment state */
.pay-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0 0 12px; }
.pay-plan { display: grid; gap: 2px; justify-items: start; min-height: 56px; padding: 8px 14px; text-align: left; }
.pay-plan[aria-checked="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); }
.pay-o { font: 600 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.pay-req { display: grid; gap: 8px; justify-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--hv-line-2); }
.pay-qr { width: min(240px, 70vw); height: auto; border-radius: 8px; }
.pay-amt { margin: 0; font: 600 14px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.pay-amt b { color: var(--hv-ink-1); }
.pay-fs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; }
.pay-f { display: grid; grid-template-columns: 76px 1fr auto; gap: 8px; align-items: center; min-height: 44px; }
.pay-fk { font: 600 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.pay-fv { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--hv-ink-1); }
.pay-cp { min-height: 44px; padding: 0 12px; }
.pay-state { margin: 12px 0 0; font: 600 13px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.pay-state[data-pay-state="paid"] { color: var(--hv-win-1); }
.tier-fp .tier-o { margin: 0; }
a.conv-cta, button.conv-cta { min-height: 44px; border-color: var(--hv-honey-line); color: var(--hv-honey-2); text-decoration: none; }
a.conv-cta { background: var(--hv-honey); color: #17120a; border-color: var(--hv-honey); }
.tier-risk { margin-top: 8px; }
.conv-nudge, .conv-foot { position: fixed; z-index: 67; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 8px; width: max-content; max-width: min(560px, calc(100vw - 32px));
  margin: 0; padding: 6px 6px 6px 14px; border-radius: 14px; border: 1px solid var(--hv-honey-line); background: rgb(16, 21, 28); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }   /* r1b fixs3b (review 3 goals P3-6): opaque, text never shows through */
.conv-nudge { bottom: calc(var(--tab-h, 0px) + env(safe-area-inset-bottom, 0px) + 74px); }   /* clear of the floating Bee (tabs + 12 px, 52 px tall) */
.conv-foot { z-index: 64; bottom: calc(var(--tab-h, 0px) + env(safe-area-inset-bottom, 0px) + 10px); }
.conv-l { flex: 1 1 auto; min-width: 0; margin: 0; font: 600 13px/1.35 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.conv-p { font-weight: 700; color: var(--hv-honey-2); }
.conv-go { flex: none; min-height: 44px; border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.conv-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--hv-ink-3); font: 600 20px/1 var(--hv-f-body); cursor: pointer; }
.conv-x:hover, .conv-x:focus-visible { color: var(--hv-ink-1); }
@media (min-width: 800px) { .conv-nudge { bottom: 72px; } .conv-foot { bottom: 16px; } }
/* a status line (trk-note) that lands while a prompt is up sits above it, never under it */
body:has(#conv-nudge) .trk-note { bottom: calc(var(--tab-h, 0px) + env(safe-area-inset-bottom, 0px) + 148px); }
@media (min-width: 800px) { body:has(#conv-nudge) .trk-note { bottom: 144px; } }
/* a phone's footer leaves the floating Bee's column free (bottom right, above the tabs) */
@media (max-width: 799px) { .conv-foot { left: 12px; right: 80px; translate: none; width: auto; max-width: none; } }
@media (prefers-reduced-motion: no-preference) { .conv-nudge { animation: conv-in 0.22s ease-out; } }
@keyframes conv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.set-lvl { margin: 0; font: 600 13px var(--hv-f-body); color: var(--hv-ink-2); }
.set-lvl b { color: var(--hv-ink-1); }
.set-row .conv-go { justify-self: start; }
.chp-hold .conv-go { justify-self: center; margin-top: 6px; }   /* r1b fix-g11: the chart hold's path to Pro */
/* ── r1b alerts4:  (would-fire, digest, Yours),  (exit-room line),  /  (Check my wallet, My trades),  (Community
   replays),  (class-coloured marks legend),  (insider rings on Movers) ── */
.al-would { margin: 2px 0 0; font: 600 12px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.al-would[data-al-would="nm"] { color: var(--hv-ink-3); font-weight: 500; }
.al-room { margin: 4px 0 0 12px; flex-wrap: wrap; }
.al-room .set-c { min-height: 36px; font-family: var(--hv-f-data); }
.al-digest, .al-yours { gap: 10px; }
.al-dg { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.al-dg li { padding: 8px 10px; border-radius: var(--hv-r-sm); border: 1px solid var(--hv-line-1); background: var(--hv-bg-2); font: 500 var(--hv-text-sm)/1.35 var(--hv-f-body); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.al-dg li b { font-family: var(--hv-f-data); color: var(--hv-ink-1); }
.al-digest .ng-go { justify-self: start; }
.yr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.yr-row { display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 12px;
  border: 1px solid var(--hv-line-1); border-radius: var(--hv-r-sm); background: var(--hv-bg-2); color: var(--hv-ink-2); font: 500 var(--hv-text-sm)/1.3 var(--hv-f-body); text-align: left; cursor: pointer; }
.yr-row:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.yr-name { font: 700 var(--hv-text-sm)/1.2 var(--hv-f-data); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.yr-fact { min-width: 0; overflow-wrap: anywhere; }
.yr-fact .cv-up { color: var(--hv-win-2); }
.yr-fact .cv-dn { color: var(--hv-loss); }
.yr-row .cv-ago { font: 500 var(--hv-text-xs)/1 var(--hv-f-data); color: var(--hv-ink-3); white-space: nowrap; }
.myw-why { margin: 6px 0 0; font: 600 13px/1.4 var(--hv-f-body); color: var(--hv-loss); }
.myw-who { margin: 8px 0 0; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.myw-who b { color: var(--hv-ink-1); }
.myw-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.myw-c { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--hv-r-sm); border: 1px solid var(--hv-line-1); background: var(--hv-bg-2); }
.myw-cm { min-width: 0; }
.myw-c1, .myw-c2 { margin: 0; overflow-wrap: anywhere; }
.myw-c1 b { font: 700 var(--hv-text-sm)/1.2 var(--hv-f-data); color: var(--hv-ink-1); }
.myw-c2, .myw-held { font: 500 12px/1.35 var(--hv-f-body); color: var(--hv-ink-3); }
.myw-ca { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.myw-ca .icon-btn, .myw-pnl-go, .myw-forget { min-height: 44px; }
.myw-pnl { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.myw-pnl-go { margin-top: 8px; }
.myw-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.myw-rem { min-height: 44px; }
.rpl-leg { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.rpl-sw { display: inline-block; vertical-align: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--hv-ink-3)); }
.rpl-sw-mine { border-radius: 2px; background: transparent; border: 2px solid var(--hv-ink-1); }
.rpl-mine { flex-wrap: wrap; }
.rpl-mine .set-c[aria-pressed="true"] { border-color: var(--hv-honey-line); background: var(--hv-honey-bg); color: var(--hv-honey-2); }
.rpl-tally[data-mine] { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* My trades: four cells, then P&L and Fumble */
.rpl-tally[data-mine] .rpl-tc, .rpl-tally.myw-pnl .rpl-tc { grid-column: auto; order: 0; }
@media (max-width: 520px) { .rpl-tally[data-mine] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rp-tabs { margin: 0 0 var(--hv-s-2); }
.rp-comm { gap: 10px; }
.rp-tally { margin: 0; font: 500 var(--hv-text-sm)/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.rp-tally b { font-family: var(--hv-f-data); }
.rp-tally .rp-up { color: var(--hv-win-2); }
.rp-tally .rp-dn { color: var(--hv-loss); }
.rp-cseg { align-self: start; }
.rp-feat { flex: none; padding: 2px 8px; border-radius: var(--hv-r-pill); border: 1px solid var(--hv-honey-line); color: var(--hv-honey-2); font: 700 11px/1.3 var(--hv-f-body); }
.rp-soon { grid-area: play; align-self: center; font: 500 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.mv-t[data-ins] { box-shadow: 0 0 0 3px var(--k-machine, #ff7ad9); }   /* : insider wallets traded it (the Makers and insiders colour) */
.mv-rowb[data-ins] .mv-tk { text-decoration: underline 2px var(--k-machine, #ff7ad9); text-underline-offset: 3px; }
.mv-leg .mv-ins { border: 2px solid var(--k-machine, #ff7ad9); }
.mv-t[data-ins][data-tone="up5"] { box-shadow: 0 0 0 3px var(--k-machine, #ff7ad9), var(--hv-win-shadow-3); }
/* r1b coin4 ( ·  ·  ·  ·  ·  · ): the Holders rows, Top traders, the hold read, habits, Add a wallet */
.ch-hold .hc-row { padding: 4px 0; }
.hc-l1, .hc-l2 { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; }
.hc-l2 { margin-top: 2px; font: 500 12px/1.4 var(--hv-f-data); color: var(--hv-ink-2); }
.hc-pill { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--hv-line-2); font: 600 11px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.hc-pill.hc-bot { color: var(--hv-ink-2); }
.hc-usd { font: 700 12.5px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.hc-nt, .hc-fomo { margin: 4px 0 0; font-size: 12px; }
.c4-fol { margin-top: 4px; min-height: 32px; }
.tt-list .tt-row { padding: 3px 0; }
.tt-sub { color: var(--hv-ink-2); }
.tt-scope { margin: 0 0 4px; }
.c4-hold .ch-row, .c4-hb .ch-row { margin: 5px 0; }
.c4-meter { position: relative; display: inline-block; width: 92px; height: 8px; border-radius: 999px; background: var(--hv-bg-3, #2b231a); overflow: hidden; }
.c4-meter i { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(var(--f, 0)); background: var(--hv-honey, #f5b83d); border-radius: 999px; }
.c4-room { font: 700 13px/1.3 var(--hv-f-data); color: var(--hv-ink-1); }
.c4-sold, .c4-none { font: 500 12.5px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.c4-compact { margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid var(--hv-line-2); }
.c4-compact h4 { margin: 0 0 2px; font: 700 11px/1.3 var(--hv-f-data); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-ink-3); }
.pfc .pfc-ahead { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pfc .pfc-ahead b { font: 700 13px/1.35 var(--hv-f-data); color: var(--hv-ink-1); }
.pfc .pfc-ahead b.cv-up { color: var(--up); }
.pfc .pfc-ahead b.cv-dn { color: var(--down); }
.ws-say { margin-top: 6px; }
.ws-say:empty { display: none; }
.c4-hold .tstate { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: var(--hv-r-pill); font: 700 12.5px/1 var(--hv-f-body); background: var(--hv-bg-3); color: var(--hv-ink-1); }
.c4-hold .tstate[data-st="up"] { color: var(--hv-win-1); background: rgba(95, 227, 156, 0.12); }
.c4-hold .tstate[data-st="dn"] { color: var(--hv-loss); background: rgba(255, 107, 87, 0.13); }
.trk-ws .myw-l { margin: 0 0 8px; font: 500 13px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.hc-f { min-width: 0; }
.c4-nw { white-space: nowrap; }
b[data-c4-sign] { white-space: nowrap; }
/* r1b fix-s3a (review 3 N-4): the Dashboard tape names an unread Solana size in words (the Stream's), quiet, never a bare dash */
.tp-z .ev-rm { font: 500 11.5px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
/* r1b fix-s3a (review 3 N-7): the Hive head says the calls are lit and gives the way back */
.hh-lit { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 12px/1.3 var(--hv-f-body); color: var(--hv-honey-2); }
.hh-lit-off { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: transparent; color: var(--hv-ink-1); font: 600 12px var(--hv-f-body); cursor: pointer; }
/* ── r1b-calls4: proof of call (), the known-caller bee ( / ), the market word (), the wallet card's FOMO and bridge
   rows ( / ), the 7-day line's extra counts (), Help's brand line () ── */
.p-rcpt { color: var(--hv-ink-3); }
.kc-ico-b { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 2px; padding: 0; border: 1px solid var(--hv-honey-line); border-radius: 999px; background: var(--hv-honey-bg); cursor: pointer; }
.kc-ico-b .kc-ico { width: 18px; height: 18px; }
.p-kcslot { display: inline-flex; flex: none; }
.p-rcpt-k { color: var(--hv-honey-2); font-weight: 700; }
.rcpt { display: grid; gap: 4px; min-width: 0; }
.rcpt-id { font: 600 12px/1.4 var(--hv-f-data); color: var(--hv-ink-1); }
.rcpt-hash { display: block; font: 500 11px/1.5 var(--hv-f-data); color: var(--hv-ink-2); word-spacing: 2px; overflow-wrap: anywhere; }
.rcpt-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.rpl-rcpt { display: grid; gap: 4px; margin: 4px 0; padding: 8px 10px; border-radius: 8px; background: var(--hv-honey-bg); }
.rpl-rcpt-k { font: 700 11px/1.3 var(--hv-f-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-honey-2); }
.kc-bee { display: grid; gap: 4px; margin: 4px 0 0; padding: 6px 8px; border-left: 3px solid var(--hv-honey); border-radius: 0 6px 6px 0; background: var(--hv-honey-bg); min-width: 0; }
.kc-one { display: grid; gap: 2px; min-width: 0; }
.kc-l { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.kc-l b { color: var(--hv-honey-2); }
.kc-ico { width: 16px; height: 16px; flex: none; }
.kc-rec { margin: 0; font: 500 12px/1.4 var(--hv-f-data); color: var(--hv-ink-2); }
.kc-pre { margin: 0; font: 500 12px/1.4 var(--hv-f-body); color: var(--hv-warn-ink); }
.kc-bee .hwc-row { justify-self: start; }
.dp-regline { margin: 6px 0 0; font: 500 12px/1.45 var(--hv-f-body); color: var(--hv-ink-2); }
.dp-regline .dp-regk { font: 700 11px/1 var(--hv-f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-honey-2); }
.dp-regline .dp-regm { display: inline-block; margin-right: 8px; }   /* regime word (#65): a chain's record wraps as a whole, never mid-way */
@media (max-width: 799px) { .dp-regline .dp-regm { display: block; margin-right: 0; } }
.dp-regline .dp-regm .p-cdot { display: inline-block; width: 7px; height: 7px; margin: 0 4px 1px 4px; border-radius: 50%; vertical-align: middle; }
.dp-regline .dp-regm .p-cdot.rh { background: var(--hv-rh); }
.dp-regline .dp-regm .p-cdot.sol { background: var(--hv-sol); }
.dp-regline b { color: var(--hv-ink-1); }
.dp-regline i { font-style: normal; color: var(--hv-ink-3); }
/* regime word (#65): the word is a state, not a gain: neutral ink, never green or red; its plain line sits under it, dim */
.dp-regline .dp-regw { color: var(--hv-ink-1); font-weight: 700; }
.dp-regmeans { margin: 2px 0 0; font: 400 12px/1.45 var(--hv-f-body); color: var(--hv-ink-3); }
.p-detail .tw-means { display: block; margin-top: 2px; }
.dp-regline + .dp-hwc { display: inline-block; margin-top: 2px; }
.wc-x { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.wc-x b { color: var(--hv-ink-1); }
.p-how7x { white-space: nowrap; }
.help-brand { font-weight: 600; color: var(--hv-ink-1); }
/* #117 If you'd sniped: the snipe_grid record (lane chips, the take-profit × entry-delay grid, the rules and limits). The grid scrolls inside
   its own box on a phone; the take-profit labels stay put (sticky). A cell is a record share ("k of n ahead (P%)"), not a gain: neutral ink,
   never the up green or the down red. */
.sg-head, .sg-card, .sg-rules { gap: 10px; grid-template-columns: minmax(0, 1fr); }
.sg-ans { margin: 0; font: 600 15px/1.45 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.sg-win, .sg-leg, .sg-read, .sg-hint { margin: 0; font: 500 12px/1.45 var(--hv-f-body); color: var(--hv-ink-3); overflow-wrap: anywhere; }
.sg-k { font-weight: 700; color: var(--hv-ink-2); }
.sg-lanes { display: flex; flex-wrap: wrap; gap: 8px 6px; min-width: 0; }
.sg-chip { height: auto; min-height: 32px; max-width: 100%; padding: 6px 10px; line-height: 1.3; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.sg-chip .sg-n { font-weight: 500; color: var(--hv-ink-3); }
.sg-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--hv-line-1); border-radius: 10px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.sg-scroll:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
.sg-grid { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; font-family: var(--hv-f-body); }
.sg-grid th, .sg-grid td { padding: 0; border-bottom: 1px solid var(--hv-line-1); vertical-align: middle; }
.sg-grid tbody tr:last-child th, .sg-grid tbody tr:last-child td { border-bottom: 0; }
.sg-grid thead th { padding: 6px 8px; background: var(--hv-bg-1); font: 600 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); text-align: center; white-space: nowrap; }
.sg-grid thead .sg-axis { color: var(--hv-ink-2); border-bottom-color: transparent; }
.sg-grid .sg-corner, .sg-grid .sg-lad { position: sticky; left: 0; z-index: 1; background: var(--hv-bg-1); text-align: left; box-shadow: 1px 0 0 var(--hv-line-2); }
.sg-grid .sg-corner { z-index: 2; vertical-align: bottom; }
.sg-grid .sg-lad { width: 118px; min-width: 104px; max-width: 128px; padding: 6px 8px; font: 600 12px/1.3 var(--hv-f-body); color: var(--hv-ink-2); white-space: normal; }
.sg-cell { display: grid; gap: 2px; justify-items: center; width: 100%; min-height: 48px; padding: 6px 4px; border: 0; background: transparent; color: var(--hv-ink-2); font: inherit; cursor: pointer; }
.sg-cell:hover { background: var(--hv-bg-2); }
.sg-cell:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: -2px; }
.sg-cell[aria-pressed="true"] { background: var(--hv-honey-bg); box-shadow: inset 0 0 0 1px var(--hv-honey-line); }
/* quality sweep 26 Oct (row 17, WCAG AA 4.5:1): a small sample reads greyed by its figure's ink, never by opacity (opacity took its text to
   2.4:1); a pressed cell or lane chip lifts its quiet line to ink-2 on the honey wash */
.sg-cell.sg-thin .sg-fig { color: var(--hv-ink-2); }
.sg-cell[aria-pressed="true"] .sg-sub, .sg-chip[aria-pressed="true"] .sg-n { color: var(--hv-ink-2); }
.sg-fig { font: 700 13px/1.2 var(--hv-f-body); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--hv-ink-1); }
.sg-sub { font: 500 11px/1.2 var(--hv-f-body); font-variant-numeric: tabular-nums; color: var(--hv-ink-3); white-space: nowrap; }
.sg-lim { display: grid; gap: 4px; margin: 0; padding-left: 18px; font: 500 12px/1.45 var(--hv-f-body); color: var(--hv-ink-3); }
.sg-lim li { overflow-wrap: anywhere; }
.sg-na { display: grid; place-items: center; min-height: 48px; font: 500 12px/1 var(--hv-f-data); color: var(--hv-ink-3); }
.sg-det { display: grid; gap: 6px; min-width: 0; }
.sg-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0; font: 500 13px/1.4 var(--hv-f-body); }
.sg-dl dt { color: var(--hv-ink-3); }
.sg-dl dd { margin: 0; color: var(--hv-ink-1); overflow-wrap: anywhere; }
@media (min-width: 800px) { body[data-lens="snipe"] { --lens-w: clamp(420px, 52vw, 820px); } }   /* #117: the whole grid beside the Hive on a desktop (five "k of n" columns) */
/* #135 Meme pie: the pie against all crypto (a donut, memes in honey), the meme share of DEX trading over time, our own daily share, the
   forecast band (Pro), the method fold. Every chart takes the card's width; nothing scrolls sideways on a phone. */
.mp-card, .mp-lock, .mp-soon { gap: 10px; grid-template-columns: minmax(0, 1fr); }
.mp-sh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; min-width: 0; }
.mp-day { font: 600 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); white-space: nowrap; }
.mp-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; min-width: 0; }
.mp-dw { position: relative; flex: none; width: 136px; height: 136px; }
.mp-donut { display: block; width: 100%; height: 100%; }
.mp-ring { fill: none; stroke: var(--hv-bg-2); stroke-width: 16; }
.mp-arc { fill: none; stroke-width: 16; }
.mp-arc-memes { stroke: var(--hv-honey); stroke-width: 24; }
.mp-arc-majors { stroke: #8a7a62; }
.mp-arc-stables { stroke: #5d6f7d; }
.mp-arc-other { stroke: var(--hv-bg-4); }
.mp-mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; pointer-events: none; }
.mp-mid-v { font: 800 22px/1 var(--hv-f-data); font-variant-numeric: tabular-nums; color: var(--hv-honey); }
.mp-mid-l { font: 600 11px/1.2 var(--hv-f-body); color: var(--hv-ink-3); }
.mp-leg { flex: 1 1 180px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.mp-leg li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: baseline; gap: 2px 8px; font: 500 13px/1.35 var(--hv-f-body); color: var(--hv-ink-2); }
.mp-leg li.mp-hl { color: var(--hv-ink-1); font-weight: 700; }
.mp-sw { width: 10px; height: 10px; border-radius: 3px; align-self: center; }
.mp-sw-memes { background: var(--hv-honey); }
.mp-sw-majors { background: #8a7a62; }
.mp-sw-stables { background: #5d6f7d; }
.mp-sw-other { background: var(--hv-bg-4); box-shadow: inset 0 0 0 1px var(--hv-line-2); }
.mp-lv { font: 700 13px/1.35 var(--hv-f-data); font-variant-numeric: tabular-nums; color: var(--hv-ink-1); text-align: right; }
.mp-lu { font: 500 12px/1.35 var(--hv-f-data); font-variant-numeric: tabular-nums; color: var(--hv-ink-3); text-align: right; }
.mp-coins { grid-column: 2 / -1; font: 500 11.5px/1.35 var(--hv-f-body); color: var(--hv-ink-3); overflow-wrap: anywhere; }
.mp-line { margin: 0; font: 600 15px/1.45 var(--hv-f-body); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.mp-reg { margin: 0; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.mp-reg b { color: var(--hv-ink-1); }
.mp-k { font-weight: 700; color: var(--hv-ink-3); }
.mp-note, .mp-def, .mp-stats, .mp-attr { margin: 0; font: 500 12px/1.45 var(--hv-f-body); color: var(--hv-ink-3); overflow-wrap: anywhere; }
.mp-note b, .mp-stats b { color: var(--hv-ink-1); font-family: var(--hv-f-data); }
.mp-chips { display: flex; flex-wrap: wrap; gap: 8px 6px; min-width: 0; }
.mp-chip { height: auto; min-height: 32px; max-width: 100%; padding: 6px 10px; line-height: 1.2; white-space: normal; }
.mp-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.mp-now { font: 800 26px/1.1 var(--hv-f-data); font-variant-numeric: tabular-nums; color: var(--hv-ink-1); }
.mp-chg { font: 500 13px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.mp-chg b { font: 700 14px/1.3 var(--hv-f-data); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-chg b.cv-up { color: var(--hv-win-1); }
.mp-chg b.cv-dn { color: var(--hv-loss); }
.mp-chg b.cv-flat { color: var(--hv-ink-2); }
.mp-plot { display: grid; gap: 4px; min-width: 0; }
.mp-chart { display: block; width: 100%; max-width: 100%; height: 128px; border-radius: 8px; background: var(--hv-bg-2); color: var(--hv-ink-1); }
.mp-fan { height: 148px; }
.mp-pl { stroke: var(--hv-ink-1); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.mp-pl.mp-pre { stroke: var(--hv-ink-4); }
.mp-mark { stroke: var(--hv-line-3); stroke-width: 1; stroke-dasharray: 3 3; }
.mp-band { fill: var(--hv-honey); fill-opacity: 0.22; stroke: none; }
.mp-midl { stroke: var(--hv-honey); stroke-width: 1.6; stroke-dasharray: 5 4; }
.mp-axis { display: flex; justify-content: space-between; gap: 8px; margin: 0; font: 500 11px/1.3 var(--hv-f-data); color: var(--hv-ink-3); }
.mp-fc-label { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--hv-honey-line); font: 600 11.5px/1.3 var(--hv-f-body); color: var(--hv-honey-2); overflow-wrap: anywhere; }
.mp-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; margin: 0; font: 500 13px/1.45 var(--hv-f-body); }
.mp-dl dt { color: var(--hv-ink-3); }
.mp-dl dd { margin: 0; color: var(--hv-ink-1); overflow-wrap: anywhere; }
.mp-fold summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; font: 600 13px/1.3 var(--hv-f-body); color: var(--hv-ink-2); }
.mp-fold[open] summary { margin-bottom: 6px; }
.mp-quote { margin: 0; padding: 8px 12px; border-left: 3px solid var(--hv-honey-line); display: grid; gap: 4px; }
.mp-quote p { margin: 0; overflow-wrap: anywhere; }
.mp-lock { border-style: dashed; }
.mp-lock-l { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 500 13px/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.mp-go { justify-self: start; }
.dm-pie { min-height: 28px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--hv-honey-line); background: transparent; color: var(--hv-honey-2); font: 600 11.5px/1.2 var(--hv-f-body); cursor: pointer; white-space: nowrap; }
.dm-pie:focus-visible, .mp-chip:focus-visible { outline: 2px solid var(--hv-focus); outline-offset: 2px; }
@media (max-width: 799px) { .mp-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .mp-dl dd + dt { margin-top: 6px; } }

/* ---------- #19 the public call record (?view=record): its own page; the shell is hidden on this route ---------- */
body[data-record="1"] > :not(#record):not(#hmodal):not(script) { display: none !important; }
.rec {
  position: fixed; inset: 0; z-index: 90; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: max(20px, env(safe-area-inset-top)) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(245, 184, 61, 0.08), transparent 70%), var(--hv-bg-0);
  color: var(--hv-ink-1); font-family: var(--hv-f-body);
}
.rec > * { width: min(760px, 100%); margin-left: auto; margin-right: auto; }
.rec-top { display: grid; gap: 4px; margin-bottom: 14px; }
.rec-brand { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 700 13px/1.2 var(--hv-f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hv-honey-2); }
.rec-hex { width: 16px; height: 18px; background: var(--hv-honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); flex: none; }
.rec-h1 { margin: 0; font: 800 clamp(2rem, 7vw, 2.6rem)/1.05 var(--hv-f-display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hv-ink-1); }
.rec-headrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.rec-head { margin: 0; font: 600 1.05rem/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.rec-head b { font-family: var(--hv-f-data); }
.rec-sheet .rec-gap { margin: 0 0 4px; overflow-wrap: anywhere; color: var(--hv-ink-2); }   /* #159: the left-out calls under the sheet's rate */
.rec-sheet .rec-rate:has(+ .rec-gap) { margin-bottom: 6px; }
.rec-sheet .rec-gap + :not(.rec-gap) { margin-top: 12px; }
.rec-headl { display: grid; gap: 4px; min-width: 0; }
.rec-head-btn { appearance: none; border: 0; padding: 4px 0; min-height: 44px; background: none; text-align: left; cursor: pointer; text-decoration: underline dotted var(--hv-ink-3); text-underline-offset: 4px; }
.rec-head-btn:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; border-radius: 4px; }
.rec-detail { margin: 0; font: 500 13px/1.4 var(--hv-f-data); color: var(--hv-ink-2); }
.rec-wins { display: inline-flex; gap: 6px; }
.rec-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 8px; }
.rec-chains { display: inline-flex; gap: 6px; }
.rec-ch { min-height: 36px; min-width: 52px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hv-line-2); background: var(--hv-bg-2); color: var(--hv-ink-2); font: 700 12px/1 var(--hv-f-display); letter-spacing: 0.12em; cursor: pointer; }
.rec-ch[aria-pressed="true"] { background: var(--hv-bg-3); color: var(--hv-honey-2); border-color: var(--hv-honey-line); }
.rec-ch:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
@media (max-width: 799px) { .rec-ch { min-height: 44px; } }   /* quality sweep 16: the record's chips at the 44 px tap size on a phone */
.rec-age { font: 500 12px/1.3 var(--hv-f-data); color: var(--hv-ink-3); }
.rec-sec { margin-top: 18px; }
.rec-sh { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; font: 800 1.15rem/1.2 var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-ink-1); }
.rec-xy { font: 600 12px/1 var(--hv-f-data); letter-spacing: 0; text-transform: none; color: var(--hv-ink-3); }
.rec-sub { margin: 0 0 6px; font-size: var(--hv-text-xs); color: var(--hv-ink-3); }
.rec-sec[data-rec-sec="gy"] .rec-sh { color: var(--hv-ink-2); }
.rec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rec-row { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--hv-line-1); background: var(--hv-bg-1); min-width: 0; }
.rec-r1 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }   /* quality sweep 3: no room on one line → the figure takes the next line, so the name keeps its width */
.rec-r1 > .chain { margin-right: auto; }   /* one line: the figure sits at the right end; wrapped: it starts the next line */
.rec-coin { font: 700 1rem/1.2 var(--hv-f-body); color: var(--hv-ink-1); min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-fig { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; flex: 0 1 auto; min-width: 0; font: 700 1rem/1 var(--hv-f-data); }
.rec-fig:empty { display: none; }   /* #80: a row with no figure has no second line */
@media (max-width: 599px) { .rec-fig { flex-basis: 100%; } }   /* a phone: every row the same, the name and chain on top, the figure on its own line */
.rec-nm { font: 500 12px/1.2 var(--hv-f-body); color: var(--hv-ink-3); }
.rec-mc { margin: 0; font: 500 13px/1.45 var(--hv-f-data); color: var(--hv-ink-2); overflow-wrap: anywhere; }
.rec-when { margin: 0; font: 500 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.rec-held { background: transparent; border-style: dashed; }
.rec-held .rec-coin { color: var(--hv-ink-2); }
.rec-closed { margin: 24px auto; font: 600 1rem/1.5 var(--hv-f-body); color: var(--hv-ink-2); }
.rec-acts { display: flex; flex-wrap: wrap; gap: 10px; }   /* quality sweep 14: Try again (a failed read only) and Open the Hive */
.rec-go { padding: 0 18px; text-decoration: none; }   /* .icon-btn carries the 44 px floor */
.rec-go[data-rec-retry] { border-color: var(--hv-honey-line); color: var(--hv-honey-2); }
.rec-foot { display: grid; justify-items: start; gap: 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hv-line-1); }
.rec-foot .conv-go { min-height: 44px; padding: 0 22px; }
.rec-risk { margin: 0; font-size: var(--hv-text-xs); color: var(--hv-ink-3); }
@media (min-width: 900px) { .rec { padding-top: 40px; } .rec-row { padding: 14px 18px; } }

/* Card frames v3.1 (issue #136). Peak from the call paints the frame. Loss wins when the coin is under the call. */
.p-slot-bar > .p-bar3 { margin: 0 0 12px; }
.p-bar3 > .p-facebar { margin: 0; }
/* Card frame v3.1 (handover INDEX 19 Oct; UX Lead ruling #169 Q2, binding; values from frame-v3.1.css, #157). Fill bg-2; radius 18 (12 on a
   phone). Common and Loss: 1 px ink-3, flat. Rare: 2 px honey + the honey top wash. Epic: 2 px honey + the honey corner wash + the comb +
   honey glow + the hex halo 7 px outside the edge + the filled badge. Legendary: 3 px honey-2 foil + the honey-2 corner wash, sheen and
   comb + honey-2 glow + the hero Peak row + the foil badge. No green or red on a frame: win and loss colours sit on figures. */
:is(.p-card, .cv-card, .hh-call, .v31-frame, .pcard)[data-frame], .pcard, #drawer .cs, .pulse-strip, .hm[data-hm="replay"] .hm-panel {
  background: var(--hv-bg-2); border: 1px solid var(--hv-frame-common); border-radius: 18px; box-shadow: none;
}
:is(.p-card, .cv-card, .hh-call, .v31-frame)[data-frame="rare"] {
  border: 2px solid var(--hv-honey); background: var(--hv-fill-rare), var(--hv-bg-2);
}
:is(.p-card, .cv-card, .hh-call, .v31-frame)[data-frame="epic"] {
  border: 2px solid var(--hv-honey); box-shadow: var(--hv-glow-epic);
  background: var(--hv-fill-epic), var(--hv-comb), var(--hv-bg-2);
  border-image: var(--hv-halo-epic) 25 / 25px / 7px round;   /* the halo and the 2 px edge (design-system.css --hv-halo-epic) */
}
:is(.p-card, .cv-card, .hh-call, .v31-frame)[data-frame="legendary"] {
  border: 3px solid transparent; box-shadow: var(--hv-glow-legend);
  background: var(--hv-fill-legend) padding-box, var(--hv-sheen-legend) padding-box, var(--hv-comb) padding-box, linear-gradient(var(--hv-bg-2), var(--hv-bg-2)) padding-box, var(--hv-foil) border-box;
}
:is(.p-card, .cv-card, .hh-call, .v31-frame)[data-frame="loss"] { border: 1px solid var(--hv-frame-common); box-shadow: none; background: var(--hv-bg-2); }
/* #157: the Epic and Legendary corner wash runs under a card's head (ink-3 there measured 3.3 to 4.5:1). As frame-v3.1.css inks its own
   head: tertiary text reads in ink-2 (its reason line), the Prime card's chain name in ink-1 (its chain chip); both keep 4.5:1 */
:is(.p-card, .v31-frame):is([data-frame="epic"], [data-frame="legendary"]) :is(.p-slot-head, .p-whoi, .lab) { --p-ink3: var(--hv-ink-2); }
.p-card:is([data-frame="epic"], [data-frame="legendary"]) .p-slot-head .p-ch { color: var(--hv-ink-1); }
/* the badge (Epic: filled honey, the Bee peeking; Legendary: foil, the Bee celebrating) and the CALL hex chip */
.v31-badge { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 22px; padding: 0 8px 0 6px; border-radius: var(--hv-r-pill, 999px);
  font: 800 11px/1 var(--hv-f-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-on-accent); background: var(--hv-honey); }
.v31-badge[data-badge="legendary"] { background: var(--hv-foil); box-shadow: var(--hv-glow-legend); }
.v31-bee { width: 14px; height: 14px; flex: none; }
.v31-badge[data-badge="epic"] .v31-bee { transform: translateY(-1px) rotate(-12deg); }
.v31-badge[data-badge="legendary"] .v31-bee { animation: v31-bee 1.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes v31-bee { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-2px) rotate(8deg); } }
.v31-call { display: inline-grid; place-items: center; flex: none; width: 42px; height: 22px; font: 800 11px/1 var(--hv-f-display); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hv-on-accent); background: var(--hv-honey); clip-path: polygon(14% 0, 86% 0, 100% 50%, 86% 100%, 14% 100%, 0 50%); }
.v31-call svg { display: block; width: 16px; height: 16px; }   /* K2 (review r1 P2-3): the Stinger sits whole inside the 22 px hex */
.v31-key-eg { color: var(--hv-ink-3); font-weight: 500; letter-spacing: 0; }
/* K2 (review r1 P2-5): the honey ring of a card opened from a pop-up holds over the frame rules (a honey accent, never win or loss) */
:is(.p-card, .cv-card, .hh-call, .v31-frame)[data-frame][data-ring="1"] { box-shadow: var(--hv-ring-pop); border-image: none; }   /* #157: an Epic halo gives way to the ring */
/* K2 (review r1 P2-4): on a phone a card whose first row carries the Epic / Legendary badge wraps it: the name keeps its own line, whole */
@media (max-width: 799px) {
  #prime .p-row1m.p-row1b { flex-wrap: wrap; row-gap: 6px; }
  #prime .p-row1m.p-row1b .p-who { flex: 1 0 100%; }
}
/* K2 (review r1, colour richness): the five v3 group chips in the design boards' colours (AA on the card fill #211b14) */
.p-cls[data-p-grp="Insiders"] { color: var(--hv-grp-insiders); border-color: var(--hv-grp-insiders-l); }
.p-cls[data-p-grp="Early buyers"] { color: var(--hv-grp-early); border-color: var(--hv-grp-early-l); }
.p-cls[data-p-grp="Snipers"] { color: var(--hv-grp-snipers); border-color: var(--hv-grp-snipers-l); }
.p-cls[data-p-grp="Fast traders"] { color: var(--hv-grp-fast); border-color: var(--hv-grp-fast-l); }
.p-cls[data-p-grp="Other wallets"] { color: var(--hv-grp-other); border-color: var(--hv-grp-other-l); }
.v31-spark { display: inline-block; width: 72px; height: 24px; margin-left: 8px; vertical-align: middle; color: var(--hv-win-1); }
.v31-spark[data-dir="dn"] { color: var(--hv-loss); }
.p-slot-called .v31-spark { width: 48px; height: 16px; vertical-align: top; margin-top: 1px; }   /* K2 (review r1 P3): the called slot is one 18 px line (overflow hidden): the line, its end dot too, sits whole inside it */
/* the coin's hex follows the frame, never the outcome (win and loss colours sit on figures only) */
.p-card[data-frame] .p-av.p-hex { background: var(--hv-frame-common); }
.p-card[data-frame="rare"] .p-av.p-hex, .p-card[data-frame="epic"] .p-av.p-hex { background: var(--hv-honey); }
.p-card[data-frame="legendary"] .p-av.p-hex { background: var(--hv-foil); }
/* the Legendary hero Peak row: the peak tile takes the first row, its figure at the card size */
.p-card[data-frame="legendary"] .p-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-card[data-frame="legendary"] .p-stat[data-k="top"] { grid-column: 1 / -1; order: -1; border-color: var(--hv-honey-2); background: linear-gradient(180deg, var(--hv-wash-legend), transparent), var(--hv-bg-1); }
.p-card[data-frame="legendary"] .p-stat[data-k="top"] > span { color: var(--hv-honey-2); }
.p-card[data-frame="legendary"] .p-stat[data-k="top"] > b { font-size: 40px; line-height: 44px; }
/* #157 (UX Lead, PR #234: the comb barely showed in the body and the Legendary wash had a third of the reference's gold): frame-v3.1.css
   sets its tiles in black at .5 over the card (.tile), so the corner wash and the comb read through them; the Legendary hero tile is its
   .tile.hero fill. Rare, Epic and Legendary only (Common and Loss were approved as they are). */
.p-card:is([data-frame="rare"], [data-frame="epic"], [data-frame="legendary"]) .p-stat { background: var(--hv-tile-frame); }
.p-card[data-frame="legendary"] .p-stat[data-k="top"] { background: var(--hv-tile-hero); }
@keyframes v31-hit {
  0% { box-shadow: none; }
  45% { box-shadow: 0 0 34px var(--hv-honey-2); }
  100% { box-shadow: var(--hv-glow-legend); }
}
.p-card.p-hit { animation: v31-hit 1.1s ease-out 1; }
.p-card.p-hit-still { animation: none; }
.p-vs { margin: 0 0 4px; font: 600 12px/16px var(--p-body, var(--hv-f-body)); color: var(--p-ink2, #d9cbb6); }
.p-vs-ends { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0 0; font: 500 11px/14px var(--p-body, var(--hv-f-body)); color: var(--p-ink3, #a89880); }
.p-bar3 > .p-vs-ends { margin: 0 0 2px; }
.p-vs-ends > [data-end="r"] { margin-left: auto; }   /* sweep 2 row 1: a right end label alone (the knob holds the left end) stays right */
/* quality sweep 27 Oct (row 19): "Now" sits in its own 16 px strip above the bar wherever it lands, so its lower edge clears the knob
   (centred on the bar's top it covered 60 of the knob's 144 px²); nowGeom still places it across */
.p-barline { position: relative; padding-top: 16px; }
.p-now {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(var(--now-x, 0px), 0);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  font: 600 11px/14px var(--p-body, var(--hv-f-body));
  color: var(--p-ink1, #f4efe6);
}
.p-barline:has(.p-now[data-v31-now="above"]) { padding-top: 16px; }
.p-now[data-v31-now="above"] {
  top: 0;
  transform: translate(var(--now-x, 0px), 0);
}
.p-calledl { white-space: nowrap; }
.v31-key { margin-top: 12px; }
.v31-key-h { margin: 0 0 6px; font: 700 12px/16px var(--p-display, var(--hv-f-display)); letter-spacing: 0.04em; }
.v31-key ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.v31-key li { font: 500 12px/16px var(--p-body, var(--hv-f-body)); }
.hh-call[data-frame] { padding: 10px 12px; }
#drawer .cs { padding: 10px 12px; }   /* sweep 2 row 10: the coin sheet's stats in the frame, inset as the Hive's call cards (the tiles sat 1 px inside it) */
#drawer .cs:not(:has(.cs-t, .cs-act)) { display: none; }   /* #80 / #208: a coin sheet whose strip holds no tile (a ?ca= link's older call) shows no empty frame */
/* Movers tiles: the same ladder as an inset edge (a bubble keeps its round shape; its fill shows the change) */
.mv-t[data-frame], .mv-rowb[data-frame] { box-shadow: inset 0 0 0 1px var(--hv-frame-common); }
.mv-t[data-frame="rare"], .mv-rowb[data-frame="rare"] { box-shadow: inset 0 0 0 2px var(--hv-honey); }
.mv-t[data-frame="epic"], .mv-rowb[data-frame="epic"] { box-shadow: inset 0 0 0 2px var(--hv-honey), var(--hv-glow-epic); }
.mv-t[data-frame="legendary"], .mv-rowb[data-frame="legendary"] { box-shadow: inset 0 0 0 3px var(--hv-honey-2), var(--hv-glow-legend); }
.mv-t[data-frame="loss"], .mv-rowb[data-frame="loss"] { box-shadow: inset 0 0 0 1px var(--hv-frame-common); }
@media (max-width: 420px) {
  .p-calledl, .p-vs, .p-vs-ends { white-space: nowrap; }
  :is(.p-card, .cv-card, .hh-call, .v31-frame, .pcard)[data-frame], .pcard, #drawer .cs, .pulse-strip, .hm[data-hm="replay"] .hm-panel { border-radius: 12px; }
  :is(.p-card, .cv-card, .hh-call, .v31-frame)[data-frame="epic"] { border-image-source: var(--hv-halo-epic-sm); border-image-slice: 19; border-image-width: 19px; }   /* #157: the halo on the 12 px corner */
  .p-card[data-frame="legendary"] .p-stat[data-k="top"] > b { font-size: 32px; line-height: 36px; }
}
/* #157 (UX Lead (c), #65 6434206778): the compact Hive latest-calls row reads its tier from its fill and edge alone: no Epic ring, no outer
   glow, so nothing is cut at the list's edges or reaches over the next row (after the 420 px block, so its halo source gives way too) */
.hh-call[data-frame] { border-image: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .p-card.p-hit, .v31-badge .v31-bee { animation: none !important; }
}
body[data-motion="reduced"] .p-card.p-hit, body[data-motion="reduced"] .v31-badge .v31-bee { animation: none !important; }

/* Not signed up Dashboard: the record slot. Normal case on the loading line. Neutral ink. A hidden slot is not in the layout. */
.nsu-dash { display: grid; gap: 8px; min-width: 0; max-width: 100%; padding: 12px; border-radius: var(--hv-r-md); background: var(--hv-bg-2); border: 1px solid var(--hv-line-1); }
.nsu-dash, .nsu-dash * { text-transform: none; min-width: 0; overflow-wrap: anywhere; }
.nsu-load { margin: 0; font: 600 1rem/1.4 var(--hv-f-body); text-transform: none; letter-spacing: 0; color: var(--hv-ink-1); }
.nsu-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.nsu-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: baseline; }
.nsu-name { font: 700 1rem/1.3 var(--hv-f-body); color: var(--hv-ink-1); }
.nsu-score { font: 600 0.95rem/1.3 var(--hv-f-data); color: var(--hv-ink-1); text-align: right; }
.nsu-band { font: 600 0.8rem/1.3 var(--hv-f-body); color: var(--hv-ink-2); letter-spacing: 0; }
.nsu-def { grid-column: 1 / -1; margin: 0; font: 400 0.85rem/1.4 var(--hv-f-body); color: var(--hv-ink-2); }
.nsu-dash[hidden] { display: none; margin: 0; padding: 0; border: 0; min-height: 0; height: 0; }
/* #32 (design pack #71, option C): the replay plays over the app, never a lockout (#87): no dim, the page behind stays usable; the
   player docks right on a desktop and is a bottom sheet on a phone. The frame is the Hive stage over a candle strip (732 × 720). */
#hmodal[data-rpl-c="1"] { pointer-events: none; }
#hmodal[data-rpl-c="1"] .hm-scrim { background: transparent; pointer-events: none; }
#hmodal[data-rpl-c="1"] .hm-panel { pointer-events: auto; width: min(460px, 100%); }
@media (min-width: 800px) { #hmodal[data-rpl-c="1"] { place-items: center end; padding-right: 24px; } }
/* 4 Nov (the player covered Play): a 292 px list (the narrowest readable list, #325) and a 460 px player fit side by side from 914 px. Below
   that the docked player narrows to the room right of the 320 px panel (gutter + nav + 8 px + 320 px + 8 px clear + its 24 px margin: 346 px
   at 800), so it still docks beside the list, never over it, and stays the non-modal player of #32 / #87. */
@media (min-width: 800px) { #hmodal[data-rpl-c="1"] .hm-panel { width: min(460px, calc(100vw - var(--gutter) - var(--nav-w) - 8px - 320px - 8px - 24px)); } }
/* there the head keeps the whole $TICKER and its chain: the Replay / Full tape switch takes a second row when the three do not fit (346 px at 800) */
@media (min-width: 800px) and (max-width: 913px) { #hmodal[data-rpl-head="c"][data-rpl-c="1"] .hm-title { flex-wrap: wrap; row-gap: 6px; } }
@media (max-width: 799px) { #hmodal[data-rpl-c="1"] { place-items: end center; padding: 0; } #hmodal[data-rpl-c="1"] .hm-panel { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; } }
/* #136 (audit 21 Oct): the v3.1 phone radius (12) on the replay panel's top corners; every .lcard panel too */
@media (max-width: 420px) { #hmodal[data-rpl-c="1"] .hm-panel { border-radius: 12px 12px 0 0; } .lcard { border-radius: 12px; } }
/* #136: Top runners wear the ladder (.v31-frame[data-frame]); prime.css's green glow behind the card and its hover edge give way */
.p-run.v31-frame::after { content: none; }
.p-run.v31-frame[data-frame]:hover { border-color: var(--hv-frame-common); }
.p-run.v31-frame:is([data-frame="rare"], [data-frame="epic"]):hover { border-color: var(--hv-honey); }
.p-run.v31-frame[data-frame="legendary"]:hover { border-color: transparent; }
.p-run .lab > .v31-badge { order: -1; }
.mn-big > .v31-badge { align-self: center; }
/* #136: room for the Epic / Legendary glow inside a scrolling rail (a scroller clips what paints outside its padding box) */
#p-runners .p-rail { padding-top: 16px; padding-bottom: 24px; }
@media (max-width: 799px) { .mn-rail { padding: 12px 10px 18px; margin-inline: -10px; scroll-padding-inline: 10px; } }
#hmodal[data-rpl-c="1"] .rpl-stage { width: 100%; }
#hmodal[data-rpl-c="1"] .rpl-cv, #hmodal[data-rpl-c="1"][data-rpl-lit="1"] .rpl-cv { width: 100%; height: auto; max-width: 100%; max-height: none; aspect-ratio: 732 / 720; border-radius: 12px; }
@media (max-width: 799px) and (max-height: 760px) { #hmodal[data-rpl-c="1"] .rpl-stage { width: fit-content; } #hmodal[data-rpl-c="1"] .rpl-cv { max-height: 46vh; width: auto; margin: 0 auto; } }
#hmodal[data-rpl-c="1"] .hm-body { gap: 10px; }
.rpl-lvl { display: inline-block; margin-left: 4px; padding: 1px 8px; border: 1px solid var(--hv-honey-line); border-radius: 999px; font: 700 11px/1.5 var(--hv-f-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-honey-2); }
#hmodal[data-rpl-c="1"] .rpl-cap { min-height: 0; padding: 10px 12px; border-left: 3px solid var(--hv-honey); border-radius: 0 10px 10px 0; background: var(--hv-glass-solid, #16120d); }
#hmodal[data-rpl-c="1"] .rpl-cap .rpl-n { display: none; }
.rpl-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.rpl-fig { min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--hv-glass-solid, #16120d); border: 1px solid var(--hv-line-1); }
.rpl-fig dt { margin: 0; font: 600 11px/1.25 var(--hv-f-body); color: var(--hv-ink-2); }
.rpl-fig dd { margin: 2px 0 0; font: 700 17px/1.25 var(--hv-f-data); color: var(--hv-ink-1); overflow-wrap: anywhere; }
.rpl-fig dd.rpl-up { color: var(--hv-win-2); }
.rpl-fig dd.rpl-dn { color: var(--hv-loss); }
.rpl-fig-s { display: block; font: 500 11px/1.3 var(--hv-f-data); color: var(--hv-ink-3); }
#hmodal[data-rpl-c="1"] .rpl-sp { min-width: 56px; padding: 0 10px; }
#hmodal[data-rpl-c="1"] .rpl-tp { grid-template-columns: auto minmax(0, 1fr) auto; }
#hmodal[data-rpl-c="1"][data-rpl-calm="1"] .rpl-tp { grid-template-columns: minmax(0, 1fr); }
.rpl-more > summary { min-height: 44px; }
.rpl-more[open] { display: grid; gap: 10px; }
#hmodal[data-rpl-c="1"] .rpl-tp .rpl-sp { grid-column: auto; }
#hmodal[data-rpl-c="1"] .rpl-cap { grid-row: auto; grid-column: auto; }
.rpl-fig dd.rpl-nm { font: 500 13px/1.3 var(--hv-f-body); color: var(--hv-ink-2); }
.rpl-cv[data-rpl-rec="1"] { aspect-ratio: auto !important; }
/* #32: the open frame's words (rplOvC), 11 px and up at any width */
.rpl-ov-l { position: absolute; white-space: nowrap; pointer-events: none; font: 600 12px/1.2 var(--hv-f-body); color: var(--hv-ink-2); }
.rpl-ov-tick { font: 800 14px/1.1 var(--hv-f-display); letter-spacing: 0.02em; color: var(--hv-ink-1); }
.rpl-ov-cnt { font: 500 11px/1.2 var(--hv-f-data); color: var(--hv-ink-3); }
.rpl-ov-note { font: 500 12px/1.3 var(--hv-f-body); color: var(--hv-ink-3); }
.rpl-ov-call, .rpl-ov-pk, .rpl-ov-hold { padding: 1px 5px; border-radius: 4px; background: rgba(11, 10, 8, 0.86); font: 600 11px/1.4 var(--hv-f-data); }
.rpl-ov-call { color: var(--hv-honey-2); }
.rpl-ov-l.rpl-up { color: var(--hv-win-2); }
.rpl-ov-l.rpl-dn { color: var(--hv-loss); }
.rpl-ov-grp .rpl-ov-cnt { display: block; }
@media (max-width: 799px) and (max-height: 760px) { #hmodal[data-rpl-c="1"][data-rpl-lit="1"] .rpl-cv { max-height: 46vh; width: auto; } }
/* #32 r163 (Tester round 1, item 6: #71 option C): the head is $TICKER, the chain chip and the level chip; Play / Pause is the filled honey button */
#hmodal[data-rpl-head="c"] .hm-title { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; text-transform: none; }
#hmodal[data-rpl-head="c"] .rpl-tick { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 17px/1.2 var(--hv-f-display); letter-spacing: 0.04em; color: var(--hv-ink-1); }
#hmodal[data-rpl-head="c"] .hm-title .rpl-lvl { margin-left: auto; flex: none; padding: 3px 8px; background: var(--hv-honey-bg, rgba(245, 184, 61, 0.13)); white-space: nowrap; }
#hmodal[data-rpl-c="1"] .rpl-pp { background: var(--hv-honey, #f5b83d); border-color: var(--hv-honey, #f5b83d); color: var(--hv-bg-0, #0b0a08); font-weight: 700; }
#hmodal[data-rpl-c="1"] .rpl-pp:hover { background: var(--hv-honey-2, #ffd98c); border-color: var(--hv-honey-2, #ffd98c); }
/* #80 (HIVE Chief, final): a tile whose figure is missing is left out and its row closes up (no empty box, no gap) */
.cv-stats.cv-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-stats.cv-n1 { grid-template-columns: minmax(0, 1fr); }
.hp-tiles[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-tiles[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
/* #171: a 3-tile row whose figure does not fit at full type stacks Called at and Now over a full-width Peak. Set at render time. */
.hp-tiles[data-hp-fit="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-tiles[data-hp-fit="2"] > .hp-t[data-hp="peak"] { grid-column: 1 / -1; }
.hp-tiles[data-hp-fit="1"] { grid-template-columns: minmax(0, 1fr); }   /* sweep 2 row 8: still too tight two across, one tile a row */
.p-entries[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.myw-pnl[data-n="1"] { grid-template-columns: minmax(0, 1fr); }

/* ── Max EV (pusher 2.6.23): the new facts in the agreed chips (.sig-chip BUY / HODL / EXIT) and a plain age fact, each record one tap
   away (.sig-rec). Self-contained: no frame or card rules here. ── */
.mxf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 2px; }
.mxf-row .sig-rec { margin: 0; }
.mxf-row .sig-rec p { margin: 0; }
.mxf-age { min-height: 26px; padding: 2px 4px; border: 0; background: none; color: var(--hv-ink-2); font: 500 12px/1.2 var(--hv-f-body, inherit);
  text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
.mxf-age[aria-expanded="true"] { color: var(--hv-ink-1); }
.p-detail .mxf-row, .drawer-body .mxf-row { margin: 6px 0 10px; }
.sig-strip .mxf-age { flex: none; margin-left: 2px; }   /* review 178 r1: the age sits in the card's one signal strip, after its chips */
/* Founder ruling 19 Oct (#169): a coin's check state (Track this coin · Checking early buyers… · No result / Couldn't check + Try again) */
.cstate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0; font-size: 13px; line-height: 1.45; color: var(--hv-ink-2); }
.cstate .cstate-t { color: var(--hv-ink-1); font-weight: 600; }
.cstate .cstate-go, .cstate .cstate-again { min-height: 44px; min-width: 44px; margin: 0; }
.cstate .cstate-go { color: var(--hv-honey); border-color: var(--hv-honey); font-weight: 600; }
.cstate[data-cstate="busy"] .cstate-t { font-weight: 500; color: var(--hv-ink-2); }
/* #192 AC-192f: a visitor with no key reads one plain line, then the AC-192c early-access button (44 px, AC-T44) */
.cstate[data-cstate="nokey"] { flex-direction: column; align-items: flex-start; gap: 12px; }
.cstate .cstate-nk-line { font-size: 14px; line-height: 1.45; white-space: normal; }
.cstate a.cstate-nk-go { min-height: 44px; padding: 0 18px; text-transform: none; letter-spacing: 0; text-decoration: none; color: var(--hv-honey-2); border-color: var(--hv-honey-line); }

/* Degen Bee moments (board 9; bee.js). The bees sit in one layer over a card, never take a tap, and move by transform and opacity only.
   Calm and the OS reduced-motion setting draw them still (bee.js), and the wings rest. */
.p-card[data-hb] { position: relative; }
.hb-layer { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.hb-b { position: absolute; left: 0; top: 0; display: block; pointer-events: none; will-change: transform, opacity; }
.hb-bee { display: block; overflow: visible; }
.hb-g-honey { filter: drop-shadow(0 0 7px var(--hv-honey-glow)); }
.hb-g-foil { filter: drop-shadow(0 0 7px var(--hv-honey-2)); }
.hb-g-red { filter: drop-shadow(0 0 7px var(--hv-loss)); }
.hb-g-dim { filter: drop-shadow(0 0 4px var(--hv-ink-4)); }
.hb-wing { transform-box: fill-box; transform-origin: 50% 100%; animation: hb-flap 0.08s ease-in-out infinite alternate; }
.hb-still .hb-wing { animation: none; }
@keyframes hb-flap { from { transform: scaleY(1); } to { transform: scaleY(0.3); } }
.hb-spark { position: absolute; left: 0; top: 0; width: 6px; height: 6px; background: var(--hv-honey-2); pointer-events: none; }
.hb-spark-g { background: var(--hv-win-1); }
@media (prefers-reduced-motion: reduce) { .hb-wing { animation: none !important; } }
body[data-motion="reduced"] .hb-wing { animation: none !important; }

/* ── Wallet tags and FOMO chips (pusher 2.6.24, dash-read-v2 v12d.4): one chip per wallet; the FOMO tab's rows ── */
.dox-wrap { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.dox-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 10px 2px 4px; border-radius: 999px;
  border: 1px solid rgba(255, 214, 150, .17); background: #2b231a; color: #f1e8da; font: inherit; font-size: 13px; line-height: 1.2;
  white-space: nowrap; max-width: 100%; vertical-align: middle; }
.dox-chip .dox-t { overflow: hidden; text-overflow: ellipsis; }
button.dox-chip { cursor: pointer; min-height: 44px; }
button.dox-chip:focus-visible { outline: 2px solid #f5b83d; outline-offset: 2px; }
.dox-ic, .dox-pic { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.dox-pic { object-fit: cover; background: #15120e; }
.evd-dox { margin: 4px 0 8px; }
.fomo-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fomo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: 12px; background: #211b14;
  border: 1px solid rgba(255, 214, 150, .09); }
.fomo-coin { color: #f1e8da; }
.fomo-n { color: #b4a794; font-size: 13px; }
.fomo-top { display: inline-flex; flex-wrap: wrap; gap: 6px; width: 100%; }

/* #168 / #81 (phone): the open Stream's Minimise and Close (44 px), the "Stream" restore bar right above the tab bar (minimised) and the
   "Stream" chip bottom right above the tab bar (closed). Honey accents, no red, no pulse. Desktop keeps its Stream rail as it is. */
.strm-ctl, .strm-back { display: none; }
@media (max-width: 799px) {
  .panel-stream .panel-head .strm-ctl { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -10px -6px -10px 0; padding: 0;
    border: 0; border-radius: 10px; background: transparent; color: var(--hv-ink-2); cursor: pointer; }
  .panel-stream .panel-head .strm-ctl[data-strm="fold"] { margin-left: auto; }
  .panel-stream .panel-head .strm-ctl svg { width: 18px; height: 18px; }
  .panel-stream .panel-head .strm-ctl:active { color: var(--hv-honey-2); background: rgba(245, 184, 61, 0.08); }
  .strm-back:not([hidden]) { position: fixed; z-index: 35; display: flex; align-items: center; gap: 8px; height: 44px; margin: 0; cursor: pointer;
    color: var(--hv-ink-1); font: 700 12px/1 var(--hv-f-display); letter-spacing: 0.05em; text-transform: uppercase; background: rgba(20, 17, 13, 0.97); }
  .strm-back svg { flex: none; width: 18px; height: 18px; color: var(--hv-honey-2); }
  .strm-back .n { color: var(--hv-honey-2); font: 700 12px/1 var(--hv-f-data); letter-spacing: 0; }
  #stream-restore:not([hidden]) { left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); padding: 0 16px; border: 0; border-top: 1px solid var(--hv-line-1); }
  #stream-restore svg:last-child { margin-left: auto; color: var(--hv-ink-2); }
  #stream-chip:not([hidden]) { right: 8px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 8px); padding: 0 14px; border: 1px solid var(--hv-line-2); border-radius: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); }
  body[data-strm="fold"] #latest, body[data-strm="closed"] #latest { display: none; }   /* the bar / chip opens the same Stream */
  body[data-lens="hive"]:not([data-prime="1"])[data-navhide="1"] .strm-back, body[data-search="open"] .strm-back, body[data-tm] .strm-back, body[data-cine] .strm-back { display: none; }
}
.strm-ctl:focus-visible, .strm-back:focus-visible { outline: 2px solid var(--hv-honey); outline-offset: 2px; }
/* #179 review: one lit tab: while the Stream is open the page's own tab is not lit; Free's Calls footer and prompt sit above the
   Stream bar (44 px) or chip (8 + 44 px), never over them */
@media (max-width: 799px) {
  body[data-tab="stream"] #lenstabs button[aria-selected="true"] { color: var(--hv-ink-2); background: transparent; }
  body[data-strm="fold"] .conv-foot { bottom: calc(var(--tab-h, 0px) + env(safe-area-inset-bottom, 0px) + 54px); }
  body[data-strm="closed"] .conv-foot { bottom: calc(var(--tab-h, 0px) + env(safe-area-inset-bottom, 0px) + 62px); }
  body[data-strm="fold"] .conv-nudge, body[data-strm="closed"] .conv-nudge { bottom: calc(var(--tab-h, 0px) + env(safe-area-inset-bottom, 0px) + 136px); }
}

/* Max EV web B: 44 px tap targets (the #169 audit §4 list; min-height / min-width, never a bigger type size) */
.mv-chip, .mv-seg button, .dm-pie, .dcz-open, .dcz-lock, .icon-btn.dr-go, .icon-btn.dr-copy, .dash-more-go, .p-maplink, .hh-leg-btn,
#btn-bell, .close-btn, .dr-tap, .sf-chip, .tp-row,
.dr-acts .icon-btn, .tp-views .sf-chip, .dash-pulse2 .dash-more-go, .dsec-stream .icon-btn,
.seg button, #dock .icon-btn, .dh-watch, .trk-star, .hh-call-nm, .ev.sv .ev-tr, #latest, #topbar .icon-btn,
.ev.sv .trk-star, .ev:not(.sv) .trk-star, .icon-btn.sf-toggle, #stream-ftoggle { min-height: 44px; min-width: 44px; }   /* the contexts that set a smaller floor */
.dm-pie, .p-maplink, .dr-tap { display: inline-flex; align-items: center; justify-content: center; }
.dr-tap { justify-content: flex-start; }
/* Max EV web B r1: the floor on every Member control the round-1 sweep found (Calls / Prime, Movers, Alerts, Wallets, Tracked, Replays,
   the coin sheet). prime.css loads after this file and sets 32 to 40 px floors at equal or higher specificity, so this floor is
   !important: it grows the hit area only (min-height / min-width), never the type */
.p-chip, .p-src, .p-lnk, .p-det, .p-ib, .p-maplink, .p-more, .p-go, .pfc-more, .p-who, .p-jump button, .fw-bell, .trk-star,
.mv-b, .set-c, .icon-btn, .ca-tog, .lv-more, .mini-btn, .plm-chip, .plm-sw, .cv-more,
.mn-sym, .nl-sym, .tc-sym, .tk-tok, .xpl-chip, .p-addr, .tlock, a.xl { min-height: 44px !important; min-width: 44px !important; }
.mn-sym, .nl-sym, .tc-sym, .tk-tok, a.xl { display: inline-flex; align-items: center; }
td.pv { height: 44px; }   /* a table cell takes height as its floor (min-height does not apply to cells) */
#drawer summary, #prime summary, #lens-body summary { min-height: 44px; box-sizing: border-box; }
/* Max EV web B (#90): Movers state chips (agreed words, each with its count) and when the newest market cap was read */
.mv-words .mv-chip[data-tone="g"] { color: var(--hv-win-1); border-color: var(--hv-win-line); }
.mv-words .mv-chip[data-tone="r"] { color: var(--hv-loss); border-color: var(--hv-loss-line); }
.mv-words .mv-chip[aria-pressed="true"][data-tone="g"] { background: var(--hv-win-aura-1); }
.mv-words .mv-chip[aria-pressed="true"][data-tone="r"] { background: var(--hv-loss-bg); }
.mv-upd { margin: 0; font: 500 var(--hv-text-xs)/1.4 var(--hv-f-data); color: var(--hv-ink-3); }
/* /Max EV web B */

/* review fixes 20 Oct: the Dashboard's Phase card per chain (pulse_history.phase, pusher 2.6.26) */
.ph-cards { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 800px) { .ph-cards[data-n="2"] { grid-template-columns: 1fr 1fr; } }
.ph-card { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--hv-line-1); border-radius: 12px; background: rgba(255, 255, 255, 0.02); min-width: 0; }
.ph-h { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--hv-ink-3, #8b95a1); }
.ph-h b { color: var(--hv-ink-1); font-size: 14px; }
.ph-now { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ph-word { font: 800 18px/1.1 var(--hv-f-display); letter-spacing: 0.03em; color: var(--hv-ink-1); overflow-wrap: anywhere; }
.ph-em { font-size: 16px; line-height: 1; min-width: 1em; }
.ph-score { margin-left: auto; font-size: 13px; color: var(--hv-ink-3, #8b95a1); }
.ph-score b { font: 800 22px/1 var(--hv-f-display); }
.ph-score.up b, .ph-row b.up { color: var(--up, #3ddc84); }
.ph-score.dn b, .ph-row b.dn { color: var(--down, #ff5c5c); }
.ph-since { margin: 0; font-size: 12px; color: var(--hv-ink-3, #8b95a1); }
.ph-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.ph-k { color: var(--hv-ink-3, #8b95a1); }
.ph-bars { display: flex; align-items: flex-end; gap: 3px; height: 28px; min-width: 0; }
.ph-bar { flex: 1 1 0; min-width: 3px; height: var(--h, 50%); border-radius: 2px; background: var(--hv-ink-3, #8b95a1); opacity: 0.8; }
.ph-bar.up { background: var(--up, #3ddc84); }
.ph-bar.dn { background: var(--down, #ff5c5c); }
.ph-days { display: flex; gap: 3px; font-size: 11px; color: var(--hv-ink-3, #8b95a1); }
.ph-row[data-ph-last7] .ph-days { grid-column: 2; grid-row: 2; justify-content: space-between; }
.ph-leg summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 13px; color: var(--hv-ink-2, #c9d1db); }
.ph-leg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; }
.ph-leg li { display: grid; grid-template-columns: 1.4em 1fr auto; gap: 6px; align-items: center; color: var(--hv-ink-2, #c9d1db); }
.ph-leg li[data-on] { color: var(--hv-ink-1); font-weight: 700; }
.ph-vol { margin: 0; font-size: 13px; color: var(--hv-ink-2, #c9d1db); }
.tpb { display: grid; gap: 4px; }   /* founder 3 Nov: a Member's Market card, graduates that doubled by day (tape_pay) */
.tpb-bars { height: 48px; gap: 4px; }
.tpb-bar { -webkit-appearance: none; appearance: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; min-width: 6px; opacity: 0.85; }
.tpb-bar.flat { background: var(--hv-ink-3, #8b95a1); opacity: 0.6; }
.tpb-bar[aria-pressed="true"] { opacity: 1; outline: 2px solid var(--hv-ink-1); outline-offset: 1px; }
.tpb-bar:focus-visible { outline: 2px solid var(--hv-ink-1); outline-offset: 1px; }
.tpb-ax { display: flex; justify-content: space-between; font-size: 11px; color: var(--hv-ink-3, #8b95a1); }
.tpb-tip { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--hv-ink-2, #c9d1db); overflow-wrap: anywhere; }
.tpb-tip[hidden] { display: none; }
.tpb-tip b { color: var(--hv-ink-1); margin-right: 2px; }

/* Operator 20 Oct: FOMO traders holding: picture or initials, @handle, dollars held */
.fomo-top { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; }
.fomo-who { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hv-ink-1); }
.fomo-pic, .fomo-ini { width: 20px; height: 20px; border-radius: 50%; flex: none; object-fit: cover; background: var(--hv-bg-3); }
.fomo-ini { display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--hv-honey-2); }
.fomo-usd { color: var(--hv-ink-2); font-weight: 600; }
.fomo-more { font-size: 12px; color: var(--hv-ink-3); }

/* Operator 20 Oct: the Movers map is a heat map of hexagons (a hexagon is a coin, the Hive rule). Movers 0a (Ocula Explore standard,
   operator 20 Oct): every coin with a change is coloured by its SIGN at a clearly visible floor (a 40% tint and a coloured edge, even
   +0.1% or −0.0%); five bands by the size of the move (app.js mvTone: under 2% · 2 to 9 · 9 to 25 · 25 to 50 · 50 and up); a bright
   ring and a glow from 9%; green rising to gold with a glow from +50% (the gold in the heat and the glow; the ring and the text stay
   green, the brightest win token: a rising coin always reads green); the brightest red from −25%. The text takes the colour. The fill
   reads the band only, never the hexagon's size. No change read: neutral with a dash, never dimmed. The hexagon sits inside the packed
   circle; the edge is the element's own fill, the heat a hexagon inset by the edge width, the coin's icon faded over the heat. */
.mv-t.mv-bubble { --hex: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%); --heat: var(--hv-bg-3); --edge: var(--hv-ink-3); --bw: 2px; --mv-ink: var(--hv-ink-1); --mv-ink2: var(--hv-ink-2);
  clip-path: var(--hex); background: var(--edge) !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; isolation: isolate; z-index: 1; }
.mv-t.mv-bubble::before { content: ""; position: absolute; inset: var(--bw); clip-path: var(--hex); background: var(--heat); z-index: 0; pointer-events: none; }
.mv-t.mv-bubble > * { position: relative; z-index: 1; }
.mv-t.mv-bubble > .mv-ic { position: absolute; left: var(--bw); top: var(--bw); width: calc(100% - 2 * var(--bw)); height: calc(100% - 2 * var(--bw)); object-fit: cover;
  clip-path: var(--hex); opacity: 0.2; z-index: 0; pointer-events: none; }
.mv-t.mv-bubble .mv-tk, .mv-t.mv-bubble .mv-chg { color: var(--mv-ink); }
.mv-t.mv-bubble .mv-cap { color: var(--mv-ink2); }
.mv-t.mv-bubble[data-tone^="up"] { --edge: var(--hv-win-1); --mv-ink: var(--hv-win-4); --mv-ink2: var(--hv-win-4); }
.mv-t.mv-bubble[data-tone="up1"] { --heat: var(--hv-mv-up1); }
.mv-t.mv-bubble[data-tone="up2"] { --heat: var(--hv-mv-up2); --edge: var(--hv-win-2); }
.mv-t.mv-bubble[data-tone="up3"] { --heat: var(--hv-mv-up3); --edge: var(--hv-win-3); --bw: 3px; --mv-ink: var(--hv-win-5); }
.mv-t.mv-bubble[data-tone="up4"] { --heat: var(--hv-mv-up4); --edge: var(--hv-win-4); --bw: 3px; --mv-ink: var(--hv-win-5); --mv-ink2: var(--hv-win-5); }
.mv-t.mv-bubble[data-tone="up5"] { --heat: var(--hv-mv-up5); --edge: var(--hv-win-5); --bw: 4px; --mv-ink: var(--hv-win-5); --mv-ink2: var(--hv-win-5); }
.mv-t.mv-bubble[data-tone^="dn"] { --edge: var(--hv-loss); --mv-ink: var(--hv-mv-dn-ink); --mv-ink2: var(--hv-mv-dn-ink); }
.mv-t.mv-bubble[data-tone="dn1"] { --heat: var(--hv-mv-dn1); }
.mv-t.mv-bubble[data-tone="dn2"] { --heat: var(--hv-mv-dn2); }
.mv-t.mv-bubble[data-tone="dn3"] { --heat: var(--hv-mv-dn3); --bw: 3px; }
.mv-t.mv-bubble[data-tone="dn4"] { --heat: var(--hv-mv-dn4); --edge: var(--hv-mv-dn-edge-hi); --bw: 3px; --mv-ink: var(--hv-mv-dn-ink-hi); --mv-ink2: var(--hv-mv-dn-ink-hi); }
.mv-t.mv-bubble[data-tone="dn5"] { --heat: var(--hv-mv-dn5); --edge: var(--hv-mv-dn-edge-hi); --bw: 4px; --mv-ink: var(--hv-mv-dn-ink-hi); --mv-ink2: var(--hv-mv-dn-ink-hi); }
.mv-t.mv-bubble[data-tone="flat"] { --heat: var(--hv-bg-2); --edge: var(--hv-ink-3); }
.mv-t.mv-bubble[data-tone="nm"] { --heat: var(--hv-bg-3); --edge: var(--hv-ink-3); }
.mv-t.mv-bubble[data-tone="flat"] .mv-chg { color: var(--hv-ink-2); }   /* true 0%: the percent, in secondary ink */
.mv-t.mv-bubble[data-tone="flat"][data-fx-only="1"] .mv-chg { color: var(--hv-ink-2); }   /* fx_only: the real percent, in secondary ink */
.mv-t.mv-bubble .mv-none { color: var(--hv-ink-2); }
/* quality sweep 26 Oct (row 11, WCAG AA 4.5:1): each label line sits on a dark plate over the heat and the icon; the text keeps the
   sign's colour and the fill keeps its band */
.mv-t.mv-bubble > .mv-tk, .mv-t.mv-bubble > .mv-chg, .mv-t.mv-bubble > .mv-cap { padding: 0 3px; border-radius: 4px; background: var(--hv-mv-plate); }
/* the glow: a round halo behind a hexagon from the third band (no filter); the bubble field clips it 12 px past its edge */
.mv-bub { overflow: clip; overflow-clip-margin: 12px; }
.mv-glow { position: absolute; left: calc((var(--x) - 0.2 * var(--d)) * 100%); top: calc((var(--y) - 0.2 * var(--dh)) * 100%); width: calc(var(--d) * 140%);
  height: calc(var(--dh) * 140%); border-radius: 50%; z-index: 0; pointer-events: none; --gl: var(--hv-mv-glow-up); opacity: 0.55;
  background: radial-gradient(closest-side, var(--gl), var(--gl) 55%, transparent); }
.mv-glow[data-tone="up4"] { opacity: 0.8; }
.mv-glow[data-tone="up5"] { --gl: var(--hv-mv-glow-gold); opacity: 1; }
.mv-glow[data-tone^="dn"] { --gl: var(--hv-mv-glow-dn); }
.mv-glow[data-tone="dn4"] { opacity: 0.8; }
.mv-glow[data-tone="dn5"] { opacity: 1; }
/* the bees: two or three orbit each of the hottest hexagons (app.js mvHotIdx), a CSS orbit (transform only), wings at rest */
.mv-orb { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: calc(var(--d) * 100%); height: calc(var(--dh) * 100%); z-index: 2; pointer-events: none; }
.mv-ob { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.mv-ob > .hb-bee { position: absolute; left: 0; top: 0; transform: translate(calc(var(--orr, 30px) - 8px), -6px) rotate(90deg); }
/* the float: a slow drift of 3 px, out of step from coin to coin (--fi); the glow and the bees ride with their coin. Quality sweep 26 Oct
   row 8 (keep the phone frame budget): only on screen; a coin out of view carries data-mv-off (app.js mvIo) and holds still */
@media (prefers-reduced-motion: no-preference) {
  body:not([data-motion="reduced"]) .mv-bub > .mv-bubble:not([data-mv-off]), body:not([data-motion="reduced"]) .mv-bub > .mv-glow:not([data-mv-off]), body:not([data-motion="reduced"]) .mv-bub > .mv-orb:not([data-mv-off]) {
    animation: mv-float calc(5s + var(--fi, 0) * 0.7s) ease-in-out calc(var(--fi, 0) * -1.1s) infinite alternate; }
  body:not([data-motion="reduced"]) .mv-orb:not([data-mv-off]) .mv-ob { animation: mv-orbit 7s linear var(--odl, 0s) infinite; }
}
@keyframes mv-float { from { transform: translate(-2px, -3px); } to { transform: translate(2px, 3px); } }
@keyframes mv-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mv-orb { display: none; } }
body[data-motion="reduced"] .mv-orb { display: none; }
/* Tune 1 (founder 3 Nov, the near-empty Dashboard): a Member's first read in flight. Pulse and Crypto macro hold their place as plain
   tiles (app.js dashSkelSec: no words, aria-hidden, inert), a desktop row = its label + four tiles, a phone the label over two by two
   (Pulse) or one row running off the edge as the macro tiles do; a slow breath, opacity only, none with reduced motion */
.dash-skel { display: grid; gap: 8px; padding: 12px; }
.dash-skel .dsk-row { display: grid; grid-template-columns: 112px repeat(4, minmax(0, 1fr)); gap: 6px; }
.dash-skel .dsk-lab, .dash-skel .dsk-t { display: block; height: 58px; border-radius: 10px; border: 1px solid var(--hv-line-1); background: var(--hv-bg-3); }
.dash-skel .dsk-lab { background: var(--hv-bg-2); }
@media (max-width: 799px) {
  .dash-skel .dsk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-skel .dsk-lab { grid-column: 1 / -1; height: 22px; border: 0; width: 45%; }
  .dash-skel-pulse .dsk-row + .dsk-row { display: none; }
  .dash-skel-macro .dsk-row { grid-template-columns: repeat(4, 44%); overflow: hidden; }
  .dash-skel-macro .dsk-lab { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) { body:not([data-motion="reduced"]) .dash-skel .dsk-t { animation: dsk-breathe 1.6s ease-in-out infinite; } }
@keyframes dsk-breathe { 50% { opacity: 0.45; } }

/* #88 G2 bee swarm legend (flag-gated; app.js swarmLegend places it above the replay bar and the Stream chip, on top) */
.bsw-leg { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  max-width: calc(100% - 24px); padding: 6px 10px; border-radius: var(--hv-r-md, 10px); background: var(--hv-glass-solid, rgba(20, 17, 13, .97));
  border: 1px solid var(--hv-line-1, rgba(255, 214, 150, .09)); font: 500 12px/1.3 var(--hv-f-body, system-ui, sans-serif); color: var(--hv-ink-2, #b4a794); }
.bsw-leg[hidden], body:not([data-lens="hive"]) .bsw-leg { display: none; }
.bsw-leg .bsw-t { font-weight: 700; color: var(--hv-ink-1, #f1e8da); }
.bsw-leg .bsw-i { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bsw-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.bsw-dot.bsw-in { background: var(--hv-honey, #f5b83d); }
.bsw-dot.bsw-out { background: transparent; border: 1.5px solid var(--hv-honey, #f5b83d); }
.bsw-dot.bsw-rug { background: var(--hv-loss, #ff6b57); }
.bsw-leg .bsw-calm { color: var(--hv-ink-3, #9d9180); white-space: nowrap; }
.bsw-leg .bsw-calm[hidden] { display: none; }
@media (max-width: 760px) { .bsw-leg { max-width: calc(100% - 92px); } }   /* phone: wrap before the right-hand controls and the Bee bubble */
/* #97 (replaces #104): on a phone More opens as a full-width sheet: a head ("More", Close: aria "Close More menu"), then three even columns
   of 46 px tiles for a Member (the Operator keeps six), on an opaque face. The head sits in the top of #tabs' box (its padding), so
   --more-h (moreFit: rows x 46 + 6 + the head) holds both and everything that rests on the sheet (the tour, a panel) clears it. */
:root { --more-head-h: 58px; }   /* the head (52 px) and a 6 px gap that keeps the first row's focus ring clear of it */
#more-head { display: none; }
@media (max-width: 799px) {
  #tabs { grid-template-columns: repeat(var(--more-cols, 3), minmax(0, 1fr)); background: var(--hv-bg-1); }   /* at most 3 (moreFit; tune 2 spreads the rows evenly) */
  body:not([data-tab=""]):not([data-tab="stream"]) #tabs { padding-top: var(--more-head-h); border-top: 0; }
  body:not([data-tab=""]):not([data-tab="stream"]) #more-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; z-index: 35; left: 0; right: 0;
    bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + var(--more-h) - 52px);
    height: 52px; padding: 0 8px 0 16px;
    background: var(--hv-bg-1); border-top: 1px solid var(--hv-line-2);
  }
  #more-title { margin: 0; font: 800 18px/1.1 var(--hv-f-display); letter-spacing: 0.04em; color: var(--hv-ink-1); }
  #more-close { min-height: 44px; min-width: 64px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--hv-line-2); background: transparent; color: var(--hv-ink-1); font: 700 14px/1 var(--hv-f-display); letter-spacing: 0.04em; cursor: pointer; }
  #more-close:focus-visible { outline: 2px solid var(--hv-honey-2); outline-offset: 2px; }
}
