/* HIVE — Retail Prime, the Calls destination as members see it · prime.css
 *
 * Prime lives INSIDE the HIVE shell (docs: RETAIL_PRIME_AND_EXPLAINER_2026-10-01 §A; HANDBACK_PRIME_IN_HIVE): the HIVE top bar and the
 * destinations (desktop lens rail, phone tabs + More) stay visible and live; #prime is the content pane between them, document-
 * scrolling at full width (never the 592 px lens sheet). Its look is the approved Calls v4.2 prototype's anatomy and density
 * (docs/calls_v42_prototype_2026-09-30.html) expressed in HIVE's palette and type (design-system.css / style.css): the dark hive
 * world, honey #f5b83d, Big Shoulders Display for heads and names, Hanken Grotesk for text, JetBrains Mono for figures.
 * The --p-* names stay (app.js and the checks read the classes) but every value is a HIVE token.
 * Rules kept: every up figure green, bigger = brighter + more glow (no gradient text on figures); motion = transform / opacity only,
 * off under reduced motion.
 */

:root {
  --p-bg: var(--hv-bg-0); --p-bg2: #100d0a; --p-panel: var(--hv-bg-1); --p-panel2: var(--hv-bg-2); --p-panel3: var(--hv-bg-3);
  --p-line: rgba(255, 214, 150, 0.11); --p-line2: var(--hv-line-2);
  --p-ink: var(--hv-ink-1); --p-ink2: var(--hv-ink-2); --p-ink3: var(--hv-ink-3);
  --p-up: var(--hv-win-1); --p-up2: var(--hv-win-3); --p-up4: var(--hv-win-4); --p-upglow: rgba(61, 255, 154, 0.5); --p-upbg: var(--hv-win-bg);
  --p-down: var(--hv-loss); --p-downbg: var(--hv-loss-bg);
  --p-greybg: rgba(157, 145, 128, 0.10);
  --p-amber: var(--hv-mile); --p-honey: var(--hv-honey); --p-honeybg: var(--hv-honey-bg);
  --p-sol: var(--hv-sol); --p-rh: var(--hv-rh);
  --p-r: 14px; --p-r2: 10px;
  --p-display: var(--f-display); --p-body: var(--f-body); --p-fig: var(--f-data);
  --p-tab: calc(var(--tab-h, 58px) + env(safe-area-inset-bottom, 0px));
  --p-top: calc(env(safe-area-inset-top, 0px) + var(--top-h));   /* the HIVE top bar's height: the pane starts under it */
}

/* ── the pane: under the HIVE top bar, beside the desktop lens rail / above the phone tabs (the shell stays put) ── */
#prime {
  position: fixed; z-index: 21; top: var(--p-top); left: 0; right: 0; bottom: var(--p-tab);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--p-bg);   /* opaque: the paused galaxy never shows through */
  color: var(--p-ink); font: 15px/1.45 var(--p-body); -webkit-font-smoothing: antialiased;
  scroll-padding-top: 150px;
}
@media (min-width: 800px) {
  #prime { left: calc(var(--gutter) + var(--nav-w, 78px) + 8px); right: 0; bottom: 0; border-left: 1px solid var(--hv-line-1); }
}
#prime[hidden] { display: none !important; }
/* one shared lens-switch beat (transform / opacity only): Calls ⇄ Hive ⇄ the other lenses fade-rise in; none under reduced motion */
@keyframes hv-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hv-swap-fade { from { opacity: 0.25; } to { opacity: 1; } }
#prime:not([hidden]) { animation: hv-swap 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
body:not([data-prime="1"])[data-lens="hive"] #world { animation: hv-swap-fade 0.24s ease-out both; }
@media (min-width: 800px) { body:not([data-prime="1"]) .lens-sheet:not([hidden]) { animation: hv-swap 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; } }
@media (prefers-reduced-motion: reduce) { #prime:not([hidden]), body #world, body .lens-sheet:not([hidden]) { animation: none !important; } }
body[data-motion="reduced"] #prime:not([hidden]), body[data-motion="reduced"] #world, body[data-motion="reduced"] .lens-sheet:not([hidden]) { animation: none !important; }
#prime *, #p-sheet * { box-sizing: border-box; }
:where(#prime, #p-sheet) a { color: inherit; }
:where(#prime, #p-sheet) button { font: inherit; color: inherit; }   /* zero specificity: every component sets its own type */
#prime .cv-ago { font: inherit; color: inherit; margin-left: 0; white-space: nowrap; }
#prime .num, #prime .p-x, #prime .p-cap { font-family: var(--p-fig); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
#prime .vh, #p-h1 .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p-wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
.p-main { padding-bottom: 32px; }
@media (min-width: 800px) { .p-main { padding-bottom: 40px; } }

/* ── the pane's head (sticky): the HIVE lens title + freshness + Open the Hive + ?, then the ticker ── */
.p-top { position: sticky; top: 0; z-index: 6; background: rgba(11, 10, 8, 0.94); border-bottom: 1px solid var(--p-line); }
@supports (backdrop-filter: blur(4px)) { .p-top { background: rgba(11, 10, 8, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.p-bar { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.p-title { margin: 0; font: 800 26px/1 var(--p-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hv-honey-2); text-shadow: 0 0 18px var(--hv-honey-glow); outline: none; }
.p-snap { font: 500 12px var(--f-data); color: var(--p-ink3); display: flex; align-items: center; gap: 6px; white-space: nowrap; min-width: 0; }
.p-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p-up2); position: relative; flex: none; }
.p-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--p-up2); opacity: 0; animation: p-ring 2s ease-out infinite; }
@keyframes p-ring { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
.p-sp { flex: 1; }
.p-go { border: 1px solid var(--hv-honey-line); background: var(--p-honeybg); color: var(--hv-honey-2); min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer; position: relative; white-space: nowrap;
  font: 700 13px/1 var(--p-display); letter-spacing: 0.12em; text-transform: uppercase; }
.p-go:hover { background: rgba(245, 184, 61, 0.2); }
.p-go[data-hint="1"]::after { content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--p-honey); opacity: 0; animation: p-ring2 1.6s ease-out 3; pointer-events: none; }
@keyframes p-ring2 { 0% { transform: scale(0.96); opacity: 0.8; } 100% { transform: scale(1.12); opacity: 0; } }
.p-ib { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--p-line2); background: var(--p-panel); display: grid; place-items: center; cursor: pointer; flex: none; color: var(--p-ink); padding: 0; }
.p-ib svg { width: 20px; height: 20px; }
.p-ib:hover { border-color: var(--hv-honey-line); }
@media (max-width: 799px) {
  .p-go { display: none; }   /* the phone's HIVE tab is the way to the map (one tap, always in reach) */
  .p-bar { gap: 8px; min-height: 44px; }
  .p-title { font-size: 22px; }
}
.p-ticker { border-top: 1px solid var(--p-line); overflow: hidden; position: relative; height: 44px; }
.p-ticker::before, .p-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 2; pointer-events: none; }
.p-ticker::before { left: 0; background: linear-gradient(90deg, var(--p-bg), transparent); }
.p-ticker::after { right: 0; background: linear-gradient(-90deg, var(--p-bg), transparent); }
.p-track { display: flex; gap: 28px; white-space: nowrap; align-items: center; height: 44px; width: max-content; padding-left: 16px; animation: p-marquee 60s linear infinite; }
.p-ticker:hover .p-track, .p-ticker:focus-within .p-track, .p-ticker[data-hold="1"] .p-track { animation-play-state: paused; }
@keyframes p-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.p-tk { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--p-ink2); }
button.p-tk { background: none; border: 0; padding: 0 2px; min-height: 44px; font-family: inherit; cursor: pointer; }   /* run 2 item 12: each item opens its call / coin */
button.p-tk:focus-visible { outline: 2px solid var(--p-honey); outline-offset: -2px; border-radius: 8px; }
.p-tk b { font: 700 15px var(--p-display); letter-spacing: 0.04em; color: var(--p-ink); }
.p-tk .p-word { padding: 4px 7px; font-size: 11px; border-radius: 8px; }
.p-opbar { background: linear-gradient(90deg, rgba(245, 184, 61, 0.16), rgba(245, 184, 61, 0.04)); border-top: 1px solid rgba(245, 184, 61, 0.35); color: var(--p-honey); font: 700 12px var(--p-body); letter-spacing: 0.12em; text-transform: uppercase; }
.p-opbar .p-wrap { display: flex; gap: 12px; align-items: center; min-height: 32px; }
.p-opbar span { color: var(--p-ink2); letter-spacing: 0; text-transform: none; font-weight: 500; }
.p-opbar button { border: 1px solid rgba(245, 184, 61, 0.45); background: transparent; color: var(--p-honey); border-radius: 8px; min-height: 26px; padding: 0 10px; font: 700 11px var(--p-body); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.p-opbar button:first-of-type { margin-left: auto; }
@media (max-width: 560px) { .p-opbar span { display: none; } }

/* ── chain chips (sticky under the header) + sources ── */
.p-chips { display: flex; gap: 8px; align-items: center; padding-block: 10px; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  position: sticky; top: 91px; z-index: 5; background: linear-gradient(var(--p-bg) 78%, rgba(11, 10, 8, 0)); margin-inline: -16px; padding-inline: 16px; }
#prime[data-op="1"] .p-chips { top: 123px; }
@media (max-width: 799px) { .p-chips { top: 83px; } #prime[data-op="1"] .p-chips { top: 115px; } }
.p-chips::-webkit-scrollbar { display: none; }
.p-chip { flex: none; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--p-line); background: transparent; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; color: var(--p-ink3); }
.p-chip { position: relative; cursor: pointer; font-family: inherit; }   /* run 2 item 12: a real switch */
.p-chip::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }   /* a 44 px target on a 32 px chip */
.p-chip:focus-visible { outline: 2px solid var(--p-honey); outline-offset: 2px; }
.p-chip[data-on="1"] { color: var(--p-ink); border-color: var(--hv-honey-line); background: var(--p-honeybg); }   /* the chain the top bar's switch shows */
.p-chip .n { font: 600 12px var(--p-fig); color: var(--p-ink2); min-width: 2ch; }
.p-cdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.p-cdot.rh { background: var(--p-rh); }
.p-cdot.sol { background: var(--p-sol); }
.p-cdot.all { background: conic-gradient(var(--p-rh) 0 50%, var(--p-sol) 50% 100%); }
.p-jump { display: flex; gap: 6px; margin-left: auto; }
.p-jump button { font-size: 13px; color: var(--p-ink3); border: 0; background: transparent; padding: 8px 10px; border-radius: 10px; min-height: 36px; cursor: pointer; }
.p-jump button:hover { color: var(--p-ink); background: var(--p-panel); }
@media (max-width: 560px) { .p-jump { display: none; } }
.p-srcrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 0; min-height: 46px; }
.p-srcrow .lbl { font-size: 12px; color: var(--p-ink3); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 4px; }
.p-src { min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-panel); font-weight: 600; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--p-ink2); }
.p-src[aria-checked="true"] { color: var(--p-ink); border-color: var(--p-honey); background: var(--p-honeybg); }
.p-src[hidden] { display: none; }
.p-tick { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--p-line2); display: inline-block; position: relative; flex: none; }
.p-src[aria-checked="true"] .p-tick { background: var(--p-honey); border-color: var(--p-honey); }
.p-src[aria-checked="true"] .p-tick::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #0b0a08; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.p-demo { font: 700 11px var(--p-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-amber); border: 1px solid rgba(255, 207, 92, 0.45); border-radius: 6px; padding: 2px 7px; }
.p-src .p-demo { font-size: 11px; padding: 1px 5px; border-radius: 5px; text-transform: none; letter-spacing: 0.04em; }

/* ── hero ── */
.p-hero { margin-top: 8px; border: 1px solid var(--p-line); border-radius: var(--p-r);
  background: radial-gradient(600px 240px at 10% 0%, rgba(61, 255, 154, 0.10), transparent 70%), radial-gradient(500px 220px at 100% 100%, rgba(245, 184, 61, 0.08), transparent 70%), var(--p-panel);
  padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; overflow: hidden; position: relative; min-height: 236px; }
.p-hero .k { font: 600 12px var(--p-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-ink3); }
.p-hero .big { font: 700 clamp(40px, 9vw, 68px)/1 var(--p-display); color: var(--p-up2); text-shadow: 0 0 28px var(--p-upglow); margin: 6px 0 4px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.p-hero .big .p-count { display: inline-block; min-width: var(--p-cw, 3ch); }
.p-hero .big .of { color: var(--p-ink); text-shadow: none; font: 700 0.5em/1 var(--p-display); letter-spacing: 0.02em; }
.p-hero .big.p-flat { color: var(--p-ink); text-shadow: none; }
.p-hero p { margin: 0; color: var(--p-ink2); max-width: 52ch; }
.p-hero .p-rule { font-size: 13px; color: var(--p-ink2); margin-top: 2px; }
.p-hero .p-rule b { font: 700 13px var(--p-display); }
.p-split { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.p-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--p-line); background: var(--p-bg2); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--p-ink2); white-space: nowrap; }
.p-pill b { font: 700 13px var(--p-display); color: var(--p-ink); }
.p-pill b.p-up { color: var(--p-up2); }
.p-pill b.p-dn { color: var(--p-down); }
.p-hex { width: 92px; height: 92px; opacity: 0.9; }
.p-hero.p-skel .big { color: var(--p-ink3); text-shadow: none; }
@media (max-width: 560px) { .p-hero { grid-template-columns: 1fr; padding: 16px 18px; } .p-hex { display: none; } }

/* ── sections ── */
.p-blk { margin-top: 24px; }   /* run 4 item 2: one rhythm — 12 px inside a block, 16 px between desktop cards, 24 px between sections */
.p-h { display: flex; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; flex-wrap: wrap; }
.p-h h2 { margin: 0; font: 700 22px/1.1 var(--p-display); letter-spacing: -0.01em; }
.p-h .sub { color: var(--p-ink3); font-size: 13px; }
.p-cefresh { margin: -6px 0 10px; color: var(--p-ink3); font-size: 12px; }   /* verify D2: "live · 8 s ago" under Live now (pop-ups from the event stream) */
/* v5 × Prime fix pass: the record's own date ("Record · 30 Sep"), the core recordChip in Prime's look; amber only when overdue */
.p-rec { display: inline-flex; align-items: center; font: 700 11px/1 var(--p-body); letter-spacing: 0.04em; text-transform: none; color: var(--p-ink2); border: 1px solid var(--p-line2); border-radius: 6px; padding: 3px 7px; white-space: nowrap; vertical-align: 1px; }
.p-rec[data-hold="1"] { visibility: hidden; }
.p-rec[data-old="1"] { color: var(--p-amber); border-color: rgba(255, 207, 92, 0.45); }
.p-recw:empty { display: none; }
.p-hwcw:empty { display: none; }
.p-h .p-hwcw { align-self: center; }
.p-h .p-recw { align-self: center; }
.p-snap[data-level="late"] .p-dot, .p-snap[data-level="stale"] .p-dot { background: var(--p-amber); }
.p-snap[data-level="late"] .p-dot::after, .p-snap[data-level="stale"] .p-dot::after { display: none; }
.p-h .p-maplink { margin-left: auto; border: 0; background: transparent; color: var(--p-honey); font-weight: 600; font-size: 13px; min-height: 36px; padding: 0 4px; cursor: pointer; }
.p-empty { padding: 22px 16px; border: 1px dashed var(--p-line2); border-radius: var(--p-r); color: var(--p-ink3); text-align: center; }
.p-pend { padding: 18px 16px; border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); display: grid; gap: 10px; justify-items: start; }
.p-btn { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--p-honey); background: var(--p-honeybg); color: var(--p-ink); font-weight: 600; font-size: 13px; cursor: pointer; }
.p-more { display: block; margin: 12px auto 0; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--p-line2); background: var(--p-panel); color: var(--p-ink2); font-weight: 600; font-size: 13px; cursor: pointer; }

/* ── avatars: CSS gradient circles + the chain dot (no SVG ids) ── */
.p-av { width: 42px; height: 42px; border-radius: 50%; flex: none; position: relative; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font: 700 15px/1 var(--p-display); color: #fff; letter-spacing: 0.01em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.p-av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--p-cd, var(--p-sol)); box-shadow: 0 0 0 2px var(--p-bg2); }
.p-av[data-chain="rh"] { --p-cd: var(--p-rh); }
.p-av[data-chain="sol"] { --p-cd: var(--p-sol); }
.p-who { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; }
.p-who:focus-visible, .p-run:focus-visible, .p-li:focus-visible { outline: 2px solid var(--p-honey); outline-offset: 2px; }

/* ── figures: up is ALWAYS green, bigger = brighter + more glow; down red ── */
.p-x { font-weight: 700; white-space: nowrap; }
/* the win scale (design system WIN SCALE 1 to 5; v3.1): every up figure green, brighter and glowing more as it grows */
.p-x.u1 { color: var(--hv-win-1); }
.p-x.u2 { color: var(--hv-win-2); text-shadow: 0 0 10px var(--hv-win-aura-3); }
.p-x.u3 { color: var(--hv-win-3); text-shadow: var(--hv-win-shadow-3); }
.p-x.u4 { color: var(--hv-win-4); text-shadow: var(--hv-win-shadow-4); }
.p-x.u5 { color: var(--hv-win-5); text-shadow: var(--hv-win-shadow-5); }
.p-x.d { color: var(--p-down); }
.p-x.z { color: var(--p-ink2); }
.p-x.nm { color: var(--p-ink3); font-family: var(--p-body); font-weight: 500; font-size: 13px; white-space: normal; }

/* ── runners rail ── */
.p-rail { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: thin; }
.p-run { scroll-snap-align: start; flex: 0 0 min(300px, 82vw); border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); padding: 16px; position: relative; overflow: hidden; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.p-run::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px; background: radial-gradient(closest-side, rgba(61, 255, 154, 0.18), transparent); pointer-events: none; }
.p-run .rk { position: absolute; top: 14px; right: 14px; font: 700 13px var(--p-display); color: var(--p-honey); background: var(--p-honeybg); border: 1px solid rgba(245, 184, 61, 0.35); border-radius: 999px; padding: 3px 9px; }
.p-run .p-whoi { display: flex; gap: 10px; align-items: center; padding-right: 44px; }
.p-run .sym { font: 700 19px/1.1 var(--p-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.p-run .meta { font-size: 12px; color: var(--p-ink3); margin-top: 2px; line-height: 1.5; }
.p-run .bigx { font: 700 50px/1 var(--p-display); margin: 14px 0 2px; letter-spacing: -0.02em; min-height: 50px; }
.p-run .lab { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.p-tag { font: 700 11px var(--p-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--p-line2); color: var(--p-ink2); white-space: nowrap; }
.p-tag.top { color: var(--p-amber); border-color: rgba(255, 207, 92, 0.4); background: rgba(255, 207, 92, 0.08); }
.p-tag b { font-weight: 700; text-transform: none; }
.p-tag .d { color: var(--p-down); }
.p-tag .u { color: var(--p-up2); }
.p-shape { width: 100%; height: 46px; margin-top: 10px; display: block; }
.p-kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 12px 0 0; font-size: 13px; }
.p-kv > dt, .p-kv > span { color: var(--p-ink3); margin: 0; }
.p-kv > dd, .p-kv > b { font: 600 13px var(--p-display); text-align: right; margin: 0; }
.p-kv > dd.txt { font: 500 13px var(--p-body); text-align: left; grid-column: 1 / -1; color: var(--p-ink2); }

/* ── live feed ── */
.p-feed { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .p-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; } }   /* run 4 item 2: equal columns, one grid */
.p-card { border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); overflow: hidden; transition: border-color 0.2s; }
.p-card:not([data-frame="rare"]):not([data-frame="epic"]):not([data-frame="legendary"]):hover { border-color: var(--p-line2); }   /* v3.1 (review r2 P2-2): a hover never dims a honey or foil frame */
.p-in { animation: p-in 0.5s ease-out both; animation-delay: var(--p-d, 0ms); }
@keyframes p-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.p-card .row1 { display: flex; gap: 12px; align-items: center; padding: 14px 14px 0; }
.p-card .nm { min-width: 0; flex: 1; }
.p-card .sym, .p-li .sym { font: 700 18px/1.15 var(--p-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.p-card .meta, .p-li .meta { font-size: 12px; color: var(--p-ink3); margin-top: 2px; line-height: 1.5; display: block; }
.p-ch { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.p-ch .p-cdot { width: 8px; height: 8px; }
.p-word { position: relative; font: 700 14px/1 var(--p-display); letter-spacing: 0.06em; padding: 9px 12px; border-radius: 10px; white-space: nowrap; border: 1px solid transparent; flex: none; cursor: pointer; background: none; color: inherit; }
.p-word.g { color: var(--p-up2); background: var(--p-upbg); border-color: rgba(95, 227, 156, 0.35); }
.p-word.r { color: var(--p-down); background: var(--p-downbg); border-color: rgba(255, 107, 87, 0.35); }
.p-word.n { color: var(--p-ink2); background: var(--p-greybg); border-color: var(--p-line2); }
.p-word::after { content: ""; position: absolute; inset: -1px; border-radius: 10px; box-shadow: 0 0 0 5px rgba(61, 255, 154, 0.32), 0 0 14px rgba(61, 255, 154, 0.35); opacity: 0; pointer-events: none; }
.p-word.p-pulse.p-on::after { animation: p-wpulse 1.8s ease-out infinite; }
@keyframes p-wpulse { 0% { transform: scale(0.92); opacity: 0.9; } 70%, 100% { transform: scale(1.12); opacity: 0; } }
.p-wline { margin: 8px 14px 0; font-size: 13px; color: var(--p-ink2); }
.p-opstrip { margin: 10px 14px 0; padding: 8px 10px; border-radius: 10px; background: rgba(245, 184, 61, 0.06); border: 1px dashed rgba(245, 184, 61, 0.35); font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--p-ink2); word-break: break-word; }
.p-opstrip b { color: var(--p-honey); font-weight: 600; }
.p-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; padding: 12px 14px; }   /* run 4 item 2: equal tracks, equal rows */
.p-stats[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* 10-04 fix F: no called-at cap = no "Called at" tile; the two tiles fill the row */
.p-stat { display: grid; grid-template-rows: 14px minmax(26px, 1fr) 14px; align-content: start; gap: 2px; background: var(--p-bg2); border: 1px solid var(--p-line); border-radius: var(--p-r2); padding: 9px 10px; min-width: 0; }   /* label · figure · caption in every tile */
.p-stat > span { display: block; font-size: 11px; line-height: 14px; color: var(--p-ink3); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-stat > b { display: block; font: 700 20px/26px var(--p-display); white-space: nowrap; }
.p-stat > b.nm { font: 500 13px/1.3 var(--p-body); color: var(--p-ink3); white-space: normal; align-self: center; }
.p-stat > small { display: block; font-size: 11px; line-height: 14px; color: var(--p-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .p-stat { padding: 9px 8px; } }
.p-stat[data-k="now"][data-now-fresh="0"] > span { white-space: nowrap; }   /* fix pass (VERIFY_FLOWS minor 5): a stale card's "Last check · 7h 37m ago" wraps, never "LAST CHECK…" */   /* look verify m1: the value stays 20 px (the prototype's) */
.p-stats[data-pk24] { grid-auto-rows: auto; grid-template-rows: auto minmax(26px, auto) auto; }   /* #115: a scored call's peak tile reads "Peak in the first 24 hours": */
.p-stats[data-pk24] > .p-stat { grid-row: span 3; grid-template-rows: subgrid; }   /* the tiles share their label, figure and caption rows (subgrid), */
.p-stats[data-pk24] > .p-stat > span { white-space: normal; overflow: visible; text-overflow: clip; }   /* so the label wraps and the figures stay level */
.p-flow { padding: 0 14px 12px; }
.p-fbar { height: 8px; border-radius: 999px; background: var(--p-downbg); overflow: hidden; }
.p-fbar[data-zero="1"] { background: var(--p-greybg); }
.p-fbar i { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, var(--p-up), var(--p-up2)); border-radius: 999px; transform-origin: left center; }
.p-fbar.p-fill i { animation: p-fill 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes p-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.p-fleg { display: flex; justify-content: space-between; font-size: 12px; color: var(--p-ink3); margin-top: 6px; gap: 8px; }
.p-fleg b { font: 600 12px var(--p-display); }
.p-fleg .by b { color: var(--p-up); }
.p-fleg .sl b { color: var(--p-down); }
.p-behind { display: flex; gap: 4px 8px; align-items: center; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--p-line); font-size: 13px; color: var(--p-ink2); }
.p-behind .p-addr, .lrow .lrow-addr { border: 0; background: transparent; padding: 0; min-height: 28px; font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--p-ink); text-decoration: underline; text-decoration-color: var(--p-line2); text-underline-offset: 3px; cursor: pointer; }   /* tune 1: the launcher's address on a Pro coin sheet (.lrow outside .p-behind) drew the browser's own grey button */
.p-role { font: 700 11px var(--p-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--p-honeybg); color: var(--p-honey); border: 1px solid rgba(245, 184, 61, 0.3); white-space: nowrap; }
.p-links { display: flex; gap: 8px; padding: 0 14px 14px; flex-wrap: wrap; align-items: center; }
.p-lnk { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-bg2); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--p-ink2); cursor: pointer; white-space: nowrap; }
.p-lnk:hover { color: var(--p-ink); border-color: var(--p-line2); }
.p-lnk.p-trace { color: var(--p-ink); border-color: rgba(245, 184, 61, 0.45); background: var(--p-honeybg); }
.p-lnk.p-trace[data-busy="1"] { opacity: 0.8; cursor: progress; }
.p-det { border: 0; background: transparent; color: var(--p-ink3); font-size: 13px; cursor: pointer; min-height: 36px; padding: 0 6px; margin-left: auto; }
.p-det:hover { color: var(--p-ink); }
.p-detail { padding: 0 14px 14px; font-size: 13px; color: var(--p-ink2); }
.p-detail[hidden] { display: none; }
.p-detail .p-kv { margin-top: 0; }
.p-dlinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.p-dlinks .cv-ca { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-bg2); text-decoration: none; font-size: 13px; color: var(--p-ink2); }
.p-dlinks .cv-ca code { font-size: 12px; }
.p-bar3 { margin: 12px 0 2px; }
.p-bar3 .cv-bar { margin: 0; }
.p-opline { font: 500 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--p-ink3); word-break: break-all; margin: 10px 0 0; }
.p-check { font: 700 11px var(--p-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--p-amber); border: 1px solid rgba(255, 207, 92, 0.45); border-radius: 5px; padding: 1px 5px; margin-left: 6px; vertical-align: middle; }
/* K2 (v3.1, review r1 P2-5): a changed figure flashes on the figure itself; win and loss colours never reach a card's frame */
.p-card.p-fl-up .p-stat[data-k="now"] > b { text-shadow: var(--hv-flash-up); }
.p-card.p-fl-dn .p-stat[data-k="now"] > b { text-shadow: var(--hv-flash-dn); }

/* ── scored list + DOWN 80%+ fold ── */
.p-xofy { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.p-list { border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); overflow: hidden; }
.p-li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 0; border-top: 1px solid var(--p-line); width: 100%; background: transparent; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.p-li:first-child { border-top: 0; }
.p-li:hover { background: var(--p-panel2); }
.p-li .sym { font-size: 16px; }
.p-li .rt { text-align: right; }
.p-li .rt .p-x { font-size: 22px; display: block; line-height: 1.1; }
.p-li .rt small { font-size: 12px; color: var(--p-ink3); display: block; white-space: nowrap; }
.p-li .rt small .d { color: var(--p-down); }
.p-li .rt small .u { color: var(--p-up); }
@media (max-width: 420px) { .p-li .rt small { white-space: normal; max-width: 130px; } }
@media (max-width: 480px) { .p-li .rt small[data-stale] { white-space: normal; max-width: 130px; } .p-li .rt small[data-glue] { width: min-content; margin-left: auto; line-height: 15px; } .p-li .rt small[data-glue][data-later] { width: auto; } }   /* R0-RC5: "24 h peak · last check −59%" is longer than "... · now −59%": it wraps like the phone's rows up to 480 px, instead of widening the right column and adding a line to the row at 428-440 px. R0-RC6: a row that has the figure (data-glue: "last check −59%" is one unbreakable piece, with the "·" before it) wraps at its narrowest, "24 h peak" / "· last check −59%": 98 px wide, kept at the right edge (margin-left: auto: a wider figure column left it 8-104 px short of the figure), and two 15 px lines, so the text column keeps the width a fresh row leaves it (the 130 px column took a line from it at 360, 375 and 414 px) and the right column stays shorter than the text column; a later-call row (its line is longer by itself) keeps the 130 px */
@media (min-width: 481px) and (max-width: 520px) { #prime:not([data-op="1"]) .p-li .rt small[data-glue] { white-space: normal; width: min-content; margin-left: auto; max-width: 130px; line-height: 15px; } #prime:not([data-op="1"]) .p-li .rt small[data-glue][data-later] { width: auto; } }   /* R0-RC6: the same wrap for a Member's row at 490-510 px, where a stale row was a line taller (149 px against 117 px); the Operator's line carries the rule exit as well ("... · rule −49%": three lines at this width), so above 480 px it keeps the one line */
.p-grave { margin-top: 12px; }
.p-grave > summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); font-weight: 600; color: var(--p-ink2); }
.p-grave > summary::-webkit-details-marker { display: none; }
.p-grave > summary .p-word { cursor: inherit; }
.p-word.p-static { cursor: default; }   /* run 4: a word with no line to open is a label, not a button */
.p-grave[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.p-grave .p-list { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }

/* ── Operator / pump.fun / FOMO blocks (today's builders, prototype styling) ── */
#prime .cv-sec { margin-top: 28px; }
#prime .cv-sec-h { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 12px; }
#prime .cv-sec-h h3 { margin: 0; font: 700 22px/1.1 var(--p-display); }
#prime .cv-sub { color: var(--p-ink3); font-size: 13px; }
#prime .cv-demo { font: 700 11px var(--p-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-amber); border: 1px solid rgba(255, 207, 92, 0.45); border-radius: 6px; padding: 2px 7px; }
#prime .cv-pfgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { #prime .cv-pfgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#prime .cv-pfc { border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); padding: 14px; display: grid; gap: 8px; }
#prime .cv-pftop { display: flex; gap: 10px; align-items: center; }
#prime .cv-pfsym { font: 700 17px var(--p-display); }
#prime .cv-pfbig { display: flex; align-items: center; gap: 8px; font: 700 34px/1 var(--p-display); }
#prime .cv-pfc p { margin: 0; font-size: 13px; color: var(--p-ink2); }
#prime .cv-lchip { font: 700 11px var(--p-body); letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid rgba(255, 207, 92, 0.4); color: var(--p-amber); background: rgba(255, 207, 92, 0.08); }
#prime .cv-links { display: flex; gap: 8px; flex-wrap: wrap; }
#prime .cv-lk { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-bg2); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--p-ink2); }
#prime .cv-empty { padding: 18px 16px; border: 1px dashed var(--p-line2); border-radius: var(--p-r); color: var(--p-ink3); margin: 0; }
#prime .cv-up { color: var(--p-up2); } #prime .cv-dn { color: var(--p-down); } #prime .cv-flat { color: var(--p-ink2); }
/* look verify M5: every up figure green in the Operator tables too (td.n.cv-up lost to the table's ink); tiers by brightness + glow */
#prime table.lt td.cv-up, #prime .cv-up.cv-t1 { color: var(--p-up); }
#prime table.lt td.cv-up.cv-t2, #prime table.lt td.cv-up.cv-t3, #prime .cv-up.cv-t2, #prime .cv-up.cv-t3 { color: var(--p-up2); text-shadow: 0 0 12px var(--p-upglow); }
#prime table.lt td.cv-up.cv-t4, #prime .cv-up.cv-t4 { color: var(--p-up4); text-shadow: 0 0 22px var(--p-upglow); }
#prime table.lt td.cv-dn { color: var(--p-down); }
#prime .cv-internal { border: 1px solid rgba(255, 207, 92, 0.45); background: rgba(255, 207, 92, 0.08); color: var(--p-amber); border-radius: var(--p-r2); padding: 12px 14px; font-size: 13px; margin-top: 28px; }
#prime .cv-pfhero { border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); padding: 18px 20px; }
#prime .cv-eyebrow { font: 600 12px var(--p-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-ink3); margin: 0; }
#prime .cv-res-h { font: 700 28px/1.15 var(--p-display); margin: 6px 0; }
#prime .tbl-wrap, #prime .ltable { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); }
#prime table.lt { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 13px; font-family: var(--p-body); }
#prime table.lt th, #prime table.lt td { padding: 10px 12px; border-top: 1px solid var(--p-line); text-align: left; white-space: nowrap; color: var(--p-ink); font-variant-numeric: tabular-nums; }
#prime table.lt thead th { font: 600 11px var(--p-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--p-ink3); border-top: 0; }
#prime table.lt .sub { display: block; font: 500 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--p-ink3); }
#prime table.lt td.n, #prime table.lt th.n { text-align: right; }
#prime .cv-chain { font: 700 11px var(--p-body); letter-spacing: 0.08em; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--p-line2); color: var(--p-ink2); }
#prime .chain-tag { font: 700 11px var(--p-body); letter-spacing: 0.06em; color: var(--p-ink2); }
.p-foot { margin: 36px 0 0; color: var(--p-ink3); font-size: 12px; }
.p-foot p { margin: 0 0 6px; }

/* ── skeleton (reserved heights before the first snapshot) ── */
.p-skel-bar { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--p-panel2), var(--p-panel3), var(--p-panel2)); }
.p-skel-card { border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); }
.p-skel-rail .p-skel-card { flex: 0 0 min(300px, 82vw); height: 325px; }
.p-skel-feed .p-skel-card { height: 256px; }
/* opt-in sweep (#333): a Member's skeleton opens on the #178 block as the page does since #321 (app.js primeSkelC178): the Latest call card's
   place and the side column (the chip row, then More calls) at the heights measured with data (fixture 10-01: 390 and 1440 px), so the
   card does not move when the data lands (rss-skel) */
.p-skel-c178hero { min-height: 431px; }
.p-skel-badge { min-width: 50px; }
.p-skel-chip { flex: none; width: 72px; height: 44px; border-radius: 999px; border: 1px solid var(--p-line); }
.p-skel-c178rows { min-height: 1174px; }
@media (min-width: 1100px) { .p-skel-c178hero { min-height: 456px; } .p-skel-c178rows { min-height: 1086px; } }

/* ── the ? sheet ── */
.p-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 50; }
.p-scrim[hidden], .p-sheet[hidden] { display: none !important; }
.p-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; background: var(--p-panel); color: var(--p-ink); border-top: 1px solid var(--p-line2); border-radius: 20px 20px 0 0; max-height: 80vh; overflow: auto; overscroll-behavior: contain;
  padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px)); font: 15px/1.45 var(--p-body); animation: p-sheetin 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@media (min-width: 800px) { .p-sheet { left: 50%; right: auto; width: min(640px, 100vw - 32px); transform: translateX(-50%); bottom: 24px; border-radius: 20px; border: 1px solid var(--p-line2); animation: none; } }
@keyframes p-sheetin { from { transform: translateY(100%); } to { transform: none; } }
.p-sheet .grip { width: 44px; height: 5px; border-radius: 9px; background: var(--p-line2); margin: 0 auto 14px; }
.p-sheet .p-shx { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--p-line); background: var(--p-panel2); color: var(--p-ink); cursor: pointer; font-size: 18px; }
.p-sheet h3 { margin: 0 0 10px; font: 700 18px var(--p-display); }
.p-legend { display: grid; gap: 8px; margin-bottom: 18px; }
.p-legend > div { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--p-ink2); }
.p-legend .p-word, .p-legend .p-role { min-width: 120px; text-align: center; cursor: default; }
.p-sheet .p-note { font-size: 13px; color: var(--p-ink3); margin: 8px 0 0; max-width: 70ch; }

/* ── pop-ups (events + highlights) in the prototype's anatomy, bottom-right, above the tab bar ── */
body[data-prime="1"] .cv-toasts { top: auto; right: 16px; bottom: calc(16px + var(--p-tab)); width: min(360px, calc(100vw - 32px)); max-width: none; display: flex; flex-direction: column-reverse; gap: 10px; }
@media (min-width: 800px) { body[data-prime="1"] .cv-toasts { bottom: 16px; } }
/* merge v5 (pop-ups never over a sheet): over the layer a desktop docks the stack left of an open token sheet (no lens panel or nav
   there); too narrow for 220 px, app.js holds them (cvHoldWhy → cvDockRoom reads the same geometry) */
@media (min-width: 800px) {
  body[data-prime="1"][data-drawer="open"] .cv-toasts { right: calc(var(--gutter) + max(var(--rail-w), 380px) + 12px); width: min(360px, calc(100vw - 2 * var(--gutter) - max(var(--rail-w), 380px) - 24px)); }
}
.p-toast { background: rgba(20, 17, 13, 0.96); border: 1px solid var(--p-line2); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); color: var(--p-ink); font: 15px/1.35 var(--p-body); animation: p-tin 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; cursor: pointer; text-align: left; width: 100%; }
.p-toast.out { animation: p-tout 0.3s ease-in both; }
@keyframes p-tin { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes p-tout { to { opacity: 0; transform: translateX(24px); } }
.p-toast .t0 { min-width: 0; flex: 1; }
.p-toast .t1 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--p-honey); text-transform: uppercase; display: block; }
.p-toast .t2 { font: 700 15px/1.25 var(--p-display); display: block; }
.p-toast .p-x { font-size: 22px; margin-left: auto; font-family: var(--p-display); }
.p-toast .p-tfig { margin-left: auto; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.p-toast .p-tfig .p-x { margin-left: 0; }
.p-toast .p-tlbl { font: 700 11px/1.2 var(--p-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--p-ink3); white-space: nowrap; }
/* N4: the newest new-call pop-up carries Trade on its own row; the level reads inside the first line, in its words */
.p-toast-trade { flex-wrap: wrap; cursor: pointer; }
.p-toast .pop-trade { flex-basis: 100%; margin-top: 0; }
.p-toast .t1 .pop-lvl { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; color: inherit; font: inherit; }

/* ── the shell around Prime: the HIVE top bar and the destinations stay visible and live; only the map surfaces behind the pane
 *    (galaxy, lens sheet, engine rails, dock, latest, coach, notes, hover card) are hidden + inert (app.js primeInert) ── */
body[data-prime="1"] #world { visibility: hidden; }
body[data-prime="1"] #lens, body[data-prime="1"] .rail-left, body[data-prime="1"] .rail-right, body[data-prime="1"] #dock, body[data-prime="1"] #latest,
body[data-prime="1"] #coach, body[data-prime="1"] #view-note, body[data-prime="1"] #world-note, body[data-prime="1"] #hovercard { display: none !important; }
body[data-prime="1"] #topbar { background: rgba(11, 10, 8, 0.97); }   /* no map under it: the bar reads solid over the pane's ground */
body[data-prime="1"] #btn-filters { display: none; }   /* map filters: no map on this destination (back with the Hive) */
/* #215 AC-FLASH1: the demo's Filters (the top bar's button, the Calls fold) is never seen before the first call card renders: nokey.js sets
   html[data-flw] before the first paint; app.js flwSync lifts it with the first card, or when the page opens on another view. Its space is kept. */
html[data-flw] #btn-filters, html[data-flw] #p-fold { visibility: hidden !important; }
#lenstabs button.p-hint::after { content: ""; position: absolute; inset: 3px 10px; border-radius: 12px; border: 2px solid var(--p-honey); opacity: 0; animation: p-ring2 1.6s ease-out 3; pointer-events: none; }

/* ── reduced motion: no animation under Prime (media and the in-app Calm setting) ── */
@media (prefers-reduced-motion: reduce) {
  #prime *, #prime *::before, #prime *::after, #p-sheet, .p-toast, #lenstabs button.p-hint::after { animation: none !important; transition: none !important; }
  .p-track { transform: none !important; }
  .p-ticker { overflow-x: auto; }
}
body[data-motion="reduced"] #prime *, body[data-motion="reduced"] #prime *::before, body[data-motion="reduced"] #prime *::after,
body[data-motion="reduced"] #p-sheet, body[data-motion="reduced"] .p-toast, body[data-motion="reduced"] #lenstabs button.p-hint::after { animation: none !important; transition: none !important; }
body[data-motion="reduced"] .p-ticker { overflow-x: auto; }
@media (hover: hover) and (pointer: fine) {
  .p-run { transition: transform 0.2s, border-color 0.2s; }
  .p-run:hover { transform: translateY(-2px); border-color: var(--p-line2); }
}
.p-dim { color: var(--p-ink3); }
.p-opl { color: var(--p-honey); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.p-opn { color: var(--p-ink3); font-size: 12px; }
[data-p-slot] { min-width: 108px; justify-content: center; }
.p-hero.p-skel { min-height: 259px; }   /* reserved: the hero's height with data in HIVE type (layout shift ≤ 0.05 when it lands; + the record chip's line on a phone) */
@media (min-width: 561px) { .p-hero.p-skel { min-height: 246px; } }
.p-hero.p-skel.p-norule { min-height: 236px; }   /* 10-03: the Member hero (no rule line: 21 px less); R0-RC8: no note line and no odds slot, 236 px at every width (measured 360 to 1440) */
@media (min-width: 561px) { .p-hero.p-skel.p-norule { min-height: 236px; } }
.p-skel .p-rule { min-height: 19px; }
@media (max-width: 799px) {   /* Live now: "See on the map ›" on the title row, the count line under it (the skeleton's header too) */
  [data-p-sec="live"] > .p-h .p-maplink { order: 2; }
  [data-p-sec="live"] > .p-h .sub { order: 3; flex-basis: 100%; }
}
@media (max-width: 560px) { [data-p-sec="runners"] > .p-h .sub { flex-basis: 100%; } }   /* one height, skeleton or data (code verify item 4) */
.p-h .p-skel-map { display: inline-flex; align-items: center; color: var(--hv-ink-3); cursor: default; }   /* axe sweep: dimmed by its ink (4.5:1), not by opacity (3.44:1) */
.tcall .tcall-top { display: block; }   /* the token sheet's calls line (core, Retail): its top on a line of its own (≤ 12 words a line) */

/* ── the entity explainer (docs: RETAIL_PRIME_AND_EXPLAINER_2026-10-01 §B1): every side panel opens with What this is / Balance /
 *    What it did / What it usually does next; today's rows sit in a Details fold. Fonts and surfaces follow the drawer's variables
 *    (HIVE type everywhere). Figures here are balances and amounts, not gains: neutral ink, never red / green. ── */
#drawer { --x-honey: #f5b83d; --x-honeybg: rgba(245, 184, 61, 0.10); --x-line: rgba(255, 255, 255, 0.08); --x-ink3: color-mix(in srgb, var(--ink-2) 78%, transparent); }
.xpl { display: grid; gap: 14px; }
.xpl-row { display: grid; gap: 5px; min-width: 0; }
.xpl-row + .xpl-row:not(.xpl-next) { border-top: 1px solid var(--x-line); padding-top: 12px; }
.xpl-k { margin: 0; font: 700 11px/1.2 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.xpl-what { margin: 0; font: 600 18px/1.3 var(--f-display); color: var(--ink); letter-spacing: 0; overflow-wrap: anywhere; }
.xpl-who { margin: 0; font: 13px/1.4 var(--f-body); color: var(--ink-2); }
.xpl-fig { margin: 0; display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.xpl-big { font: 700 30px/1.05 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.xpl-pre { font: 600 15px var(--f-body); color: var(--ink-2); }
.xpl-sub { font: 13px var(--f-body); color: var(--ink-2); }
.xpl-nt { margin: 0; font: 600 15px/1.6 var(--f-body); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.xpl-st { color: var(--ink); }
.xpl-act { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--x-honey) 55%, transparent);
  background: var(--x-honeybg); color: var(--x-honey); font: 700 13px var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.xpl-act:hover { background: color-mix(in srgb, var(--x-honey) 18%, transparent); }
@media (max-width: 799px) {   /* quality sweep 27 Oct (row 17): the sheet's actions ("See it on Blockscout ↗" was 32 px) and the Details fold's row links
  (a funder's name was 18 px) take the 44 px phone floor; the type stays the same size */
  .xpl-act { min-height: 44px; }
  .xpl-det .rowlink { min-height: 44px; align-items: center; }
}
.xpl-grp { justify-self: start; margin-top: 4px; }
.xpl-did, .xpl-pats, .xpl-basis { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; }
.xpl-did li, .xpl-pat { position: relative; padding-left: 16px; font: 15px/1.4 var(--f-body); color: var(--ink); overflow-wrap: anywhere; }
.xpl-did li::before { content: ""; position: absolute; left: 2px; top: 0.52em; width: 6px; height: 6px; border-radius: 50%; background: var(--x-honey); box-shadow: 0 0 8px rgba(245, 184, 61, 0.55); }
.xpl-next { border: 1px solid rgba(245, 184, 61, 0.28); border-radius: 14px; padding: 12px 14px 10px; gap: 8px;
  background: linear-gradient(160deg, rgba(245, 184, 61, 0.10), rgba(245, 184, 61, 0.02) 60%); }
.xpl-kh { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; }
.xpl-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(245, 184, 61, 0.5); background: rgba(245, 184, 61, 0.14);
  color: var(--x-honey); font: 700 11px var(--f-body); letter-spacing: 0.04em; cursor: pointer; white-space: nowrap; }
.xpl-chip[data-static] { cursor: default; }
.xpl-chip[aria-expanded="true"] { background: var(--x-honey); color: #0b0a08; }
.xpl-pat::before { content: "↻"; position: absolute; left: 0; top: 0; font-size: 12px; color: var(--x-honey); }
.xpl-pat.win::before { content: "→"; }
.xpl-pat.fixed::before { content: "•"; }
.xpl-pat[hidden] { display: none; }
.xpl-more { justify-self: start; border: 0; background: transparent; padding: 4px 0; min-height: 28px; color: var(--x-honey); font: 700 13px var(--f-body); cursor: pointer; }
.xpl-basis { border-top: 1px dashed rgba(245, 184, 61, 0.3); padding-top: 8px; gap: 4px; }
.xpl-basis li { font: 13px/1.4 var(--f-body); color: var(--ink-2); }
.xpl-src { font-family: var(--f-data); font-size: 11px; color: var(--x-honey); }
.xpl-age { margin: 0; font: 12px var(--f-body); color: var(--ink-2); }
.xpl-ch { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--f-body); color: var(--ink-2); }
.xpl-rt { font: 600 13px var(--f-body); color: var(--x-honey); margin-top: 3px; }
.xpl-det { border-top: 1px solid var(--x-line); padding-top: 4px; }
.xpl-det > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; font: 700 13px var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.xpl-det > summary::-webkit-details-marker { display: none; }
.xpl-det > summary::before { content: "▸"; color: var(--x-honey); transition: transform 0.2s; }
.xpl-det[open] > summary::before { transform: rotate(90deg); }
.xpl-dbody { display: grid; gap: 16px; padding-top: 4px; }
.xpl-addr code { font: 12px/1.4 var(--f-data); overflow-wrap: anywhere; user-select: all; }
body[data-scope="retail"] #drawer .drawer-sub { gap: 6px 10px; }
/* fade-up stagger the first time a panel opens (transform / opacity only; none under reduced motion) */
.xpl[data-in="1"] > * { animation: x-up 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.xpl[data-in="1"] > :nth-child(2) { animation-delay: 0.05s; }
.xpl[data-in="1"] > :nth-child(3) { animation-delay: 0.1s; }
.xpl[data-in="1"] > :nth-child(4) { animation-delay: 0.15s; }
@keyframes x-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .xpl[data-in="1"] > *, .xpl-det > summary::before { animation: none !important; transition: none !important; } }
body[data-motion="reduced"] .xpl[data-in="1"] > *, body[data-motion="reduced"] .xpl-det > summary::before { animation: none !important; transition: none !important; }
body[data-prime="1"] #drawer .drawer-actions .trace-btn, body[data-prime="1"] #drawer .drawer-hact .trace-btn { color: var(--p-ink); border-color: var(--p-honey); background: var(--p-honeybg); }
body[data-prime="1"] #drawer .drawer-hact { grid-column: 2 / -1; grid-row: 2; }   /* under the title at every width (the 380 px sheet kept a 3-line title beside it) */
/* Retail panels: "Copy address" in the panel's type (sentence case, Hanken Grotesk), not the core's mono caps */
body[data-scope="retail"] #drawer .mini-btn { font: 600 12px var(--f-body); letter-spacing: 0.01em; text-transform: none; }

/* ── look verify M3: ▲ / ▼ as a small raised glyph before the figure (the prototype's .arrow) ── */
.p-ar { font-size: max(0.7em, 11px); vertical-align: 0.15em; margin-right: 2px; }
.p-lnk[hidden] { display: none; }

/* ── look verify M4: pump.fun "Called first" in the prototype's card anatomy (demo-tagged) ── */
.p-pf .p-h .p-demo { align-self: center; }
.p-pfgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .p-pfgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-pfc { border: 1px solid var(--p-line); border-radius: var(--p-r); background: var(--p-panel); padding: 14px; display: grid; gap: 10px; min-width: 0; }
.p-pfc .top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.p-pfc .sym { font: 700 17px/1.2 var(--p-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-pfc .meta { font-size: 12px; color: var(--p-ink3); margin-top: 2px; }
.p-pfc .big { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p-pfc .big .p-x { font: 700 34px/1 var(--p-display); }
.p-pfc p { margin: 0; font-size: 13px; color: var(--p-ink2); }
.p-pfc p b { font: 600 13px var(--p-display); color: var(--p-ink); }
.p-pfl { display: flex; gap: 8px; flex-wrap: wrap; }
.p-fomo { margin-top: 28px; padding: 14px 16px; text-align: left; }


/* v6 P0-1: Prime's pop-up takes the tap (its stack is pointer-events: none, so a tap fell through to the page under it) */
.p-toast { pointer-events: auto; }
/* #285 row 20: a pop-up on a control with no clear height for the stack steps aside (app.js primePopGuard); its slot stays, so the stack holds still */
#cv-toasts > [data-hl-cover="1"] { visibility: hidden; pointer-events: none; }

/* v6 P0-6: a loser's pop-up (down 50 %) reads red, as loud as a winner's; the crossing line under the name */
.p-toast.dn { border-color: rgba(255, 107, 87, 0.45); }
.p-toast.dn .t1 { color: var(--p-down); }
.p-dlinks .ca-pop .ca-exp { border: 0; background: none; padding: 0; min-height: 36px; }
.p-dlinks .ca-chip:has(.ca-pop:not([hidden])) { flex-basis: 100%; }

/* run 2 item 13: the top runners time filter (Simple: All time · 7 days (+ 30 days once it differs); Advanced: every window) */
.p-rwins { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.p-rwin[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.p-tag.win { color: var(--p-ink3); }
/* run 2 item 18: a token's icon sits over its letter avatar (same box: no layout shift); a failed load leaves the letters */
.p-av { position: relative; }   /* run 4: the icon keeps its own circle (border-radius: inherit); overflow: hidden cut the chain dot */
.p-av::after { z-index: 1; }
.p-av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: var(--p-bg, #0b0a08); }
/* run 2 item 17: Degen Pit v2 — tiles, presets / sorts / Filters, the preset record, the face bar, Share + Open in my bot, the collapsed tabs */
.p-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; margin: 0 0 12px; }   /* run 4 item 2: ONE grid, equal tracks and rows: 2 × 2 on a phone, one row of four from 800 px */
@media (min-width: 800px) { .p-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* R0-RC8 (): a Member's Pit has three tiles (no odds tile). Equal tiles at every width (, run4_render tiles): one column on a phone, three across from 561 px; never two and a spanning third, never a hole */
.p-tiles[data-n="3"] { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 561px) { .p-tiles[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Two tiles fill the row at every width. Higher specificity than the 4-column rule, so no empty track. */
.p-tiles[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-tile { display: grid; grid-template-rows: 14px 26px 30px; align-content: start; gap: 4px; min-width: 0; padding: 12px; border-radius: 14px; border: 1px solid var(--p-line); background: var(--p-card, #211b14); overflow: hidden; }
.p-tile .p-tl { font: 700 11px/14px var(--p-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-tile b { font: 700 20px/26px var(--p-mono, var(--hv-f-data)); color: var(--p-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-tile b.cv-up { color: var(--hv-win-2, #4cf69e); }
.p-tile small { min-width: 0; font: 500 11px/15px var(--p-body, var(--hv-f-body)); color: var(--p-ink2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
/* 10-04: HIVE's record per chain, one compact labelled row under the tiles (it left the Players page) */
.p-bychain { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--p-line); font: 500 12.5px/1.35 var(--p-body, var(--hv-f-body)); color: var(--p-ink2); }
/* run 4 item 2: the By chain row sits in line with the tiles (the same edges, the same 12 px step). On a phone it is a small table: the
   label and its note on one line, then one line a chain (name left, x of y right); from 800 px it is one line */
@media (max-width: 799px) {
  .p-bychain { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; }
  .p-bychain .p-bcl { grid-row: 1; grid-column: 1; }
  .p-bychain .p-bci { grid-column: 1 / -1; display: flex; }
  .p-bychain .p-bci b { margin-left: auto; }
  .p-bychain .p-bcgap { grid-column: 1 / -1; }
}
.p-bychain[hidden] { display: none; }
.p-bcl { font: 700 11px var(--p-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-ink2); }
.p-bci { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; color: var(--p-ink); }
.p-bci .p-cdot { align-self: center; }
.p-bci b { font: 700 13px var(--p-mono, var(--hv-f-data)); color: var(--p-ink); }
.p-pitctl { display: grid; gap: 8px; margin: 0 0 12px; }
.p-pitrow { display: flex; flex-wrap: wrap; gap: 8px; }
.p-pit, .p-pitf { min-height: 44px; }
.p-pitrec { margin: 0; font: 500 12px/1.35 var(--p-body, var(--hv-f-body)); color: var(--p-ink2); }
.p-pitrec b { color: var(--p-ink); }
.p-insl { margin: 4px 0 0; font: 600 12.5px/1.35 var(--p-body, var(--hv-f-body)); color: var(--hv-win-2, #4cf69e); }
.p-facebar { margin: 8px 0 2px; }
.p-barl { margin: 4px 0 0; font: 600 12px/1.3 var(--p-mono, var(--hv-f-data)); color: var(--p-ink2); }
.p-barl[data-stale] { font-family: var(--p-body, var(--hv-f-body)); }   /* R0-RC5 (M9): "Last check ▲2.01× · Peak ▲2.01× · not a trade result" is 52 characters, 375 px in the mono face against the card's 359-368 px on a 421-430 px phone (and 328 at 390); the body face keeps the size (12 px, above the 11 px floor, P1-15) and the same 15.6 px line box, and fits one line at every width (282-298 px) */
@media (max-width: 420px) { .p-barl { font-family: var(--p-body, var(--hv-f-body)); } }   /* R0-RC6: the fresh caption too, on a phone: "Now ▲1,234× · Peak ▲1,234× · not a trade result" is 339 px in the mono face against the card's 298 px at 360, 313 at 375, 328 at 390 and 338 at 400 (the ellipsis cut it); in the body face it is about 260 px */
@media (max-width: 380px) { .p-barl { font-size: 11.5px; line-height: 15.6px; } }   /* R0-RC6: the worst stale caption (7-character figures, 298 px in the body face) was 0.2 px inside the 298 px box at 360; 11.5 px (above the 11 px floor, P1-15) keeps the 15.6 px line box and leaves 12 px */
.p-face { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.p-tabs { margin-top: 8px; border-top: 1px solid var(--p-line); }
.p-tabsum { min-height: 44px; display: flex; align-items: center; cursor: pointer; font: 700 12px var(--p-body, var(--hv-f-body)); color: var(--p-ink2); list-style: none; }
.p-tabsum::-webkit-details-marker { display: none; }
.p-tabbar { display: flex; flex-wrap: wrap; gap: 6px; }
.p-tab { min-height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--p-line); background: none; color: var(--p-ink2); font: 600 12px var(--p-body, var(--hv-f-body)); cursor: pointer; }
.p-tab[aria-selected="true"] { color: var(--p-honey, #f5b83d); border-color: var(--hv-honey-line); }
.p-tabpane { padding: 8px 0 2px; font: 500 12.5px/1.4 var(--p-body, var(--hv-f-body)); color: var(--p-ink); }
/* run 3 patch 6: the Member state row (sticky under the strip) and the plain chain counts */
.p-state { position: sticky; top: 0; z-index: 3; display: grid; gap: 8px; padding: 12px 0; background: var(--p-bg, #0b0a08); border-bottom: 1px solid var(--p-line); }
.p-state[hidden], .p-counts[hidden] { display: none; }
.p-strow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.p-st { min-height: 44px; }
.p-stl { font: 700 11px var(--p-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-ink2); }
.p-counts { margin: 12px 0 0; font: 600 12px/16px var(--p-mono, var(--hv-f-data)); color: var(--p-ink2); }
/* major-r1-calls2: the level row (its "no levels yet" line) and the investor's table / By day */
.p-lvnone { font: 500 12px/1.3 var(--p-body, var(--hv-f-body)); color: var(--p-ink3); }
.p-tbl { width: 100%; table-layout: fixed; border-collapse: collapse; font: 500 12.5px/1.3 var(--p-mono, var(--hv-f-data)); color: var(--p-ink); }
.p-tbl th, .p-tbl td { padding: 0 6px; height: 44px; text-align: right; border-bottom: 1px solid var(--p-line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-tbl thead th { height: 32px; font: 700 11px var(--p-display, var(--hv-f-body)); letter-spacing: 0.06em; text-transform: uppercase; color: var(--p-ink2); white-space: normal; line-height: 1.15; }
.p-tbl th:first-child, .p-tbl td:first-child { text-align: left; padding-left: 0; }
.p-tbl col, .p-tbl th:first-child { width: 28%; }
.p-tbl b.cv-up { color: var(--up, #5fe39c); } .p-tbl b.cv-dn { color: var(--down, #ff6b57); }
.p-tcoin { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: var(--p-ink); font: 700 13px var(--p-body, var(--hv-f-body)); text-align: left; cursor: pointer; }
.p-tsym { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-byday { display: grid; gap: 16px; }
.p-dayh { margin: 0 0 4px; font: 700 13px var(--p-body, var(--hv-f-body)); color: var(--p-ink); }
.p-dayh .p-dim { font-weight: 500; color: var(--p-ink3); }

/* run 4 item 2: the Telegram banner under the tiles (dismissible): icon · one line · the button · × */
.p-tgslot:empty { display: none; }
.p-hmslot:empty { display: none; }
/* N2: the one-time house-money tip, under the controls: the line's swatch · one breath · Got it */
.hm-tip { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 8px 8px 8px 12px; border-radius: 14px; border: 1px solid rgba(95, 227, 156, 0.35); background: rgba(95, 227, 156, 0.06); color: var(--p-ink); }
.hm-tip-line { flex: none; width: 2px; height: 28px; border-radius: 1px; background: repeating-linear-gradient(to bottom, #5fe39c 0 3px, transparent 3px 5px); }
.hm-tip p { flex: 1; min-width: 0; margin: 0; font: 500 13px/1.35 var(--p-body, var(--hv-f-body)); }
.hm-tip p b { font-weight: 700; }
.hm-tip-ok { flex: none; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(95, 227, 156, 0.55); background: transparent; color: #5fe39c; font: 700 13px var(--p-body, var(--hv-f-body)); cursor: pointer; white-space: nowrap; }
.p-tg { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 8px 8px 8px 12px; border-radius: 14px; border: 1px solid var(--hv-honey-line, rgba(245, 184, 61, 0.45)); background: var(--p-honeybg); color: var(--p-ink); }
.tg-ico { width: 20px; height: 20px; flex: none; color: var(--p-honey); }
.tg-t { flex: 1; min-width: 0; margin: 0; font: 500 13px/1.3 var(--p-body, var(--hv-f-body)); color: var(--p-ink); }
.tg-t b { font-weight: 700; }
.tg-btn { flex: none; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--p-honey); background: var(--p-honey); color: #0b0a08; font: 700 13px var(--p-body, var(--hv-f-body)); cursor: pointer; white-space: nowrap; }
.tg-btn[data-tg-state="soon"], .tg-btn[data-tg-state="wait"] { background: transparent; color: var(--p-honey); }
.tg-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--p-ink2); font: 400 22px/1 var(--p-body, var(--hv-f-body)); cursor: pointer; }
.tg-x:hover { color: var(--p-ink); }
.tg-btn:focus-visible, .tg-x:focus-visible { outline: 2px solid var(--p-honey); outline-offset: 2px; }

/* run 4 item 2: every row of a call card starts on the card's own inner edge (14 px), one grid: the class line, the face bar and the
   folded tabs sat on the border */
.p-card > .p-insl, .p-card > .p-facebar, .p-card > .p-tabs, .p-card > .sig-strip, .p-card > .p-wline { margin-inline: 14px; }
.p-card > .p-facebar { margin-top: 0; margin-bottom: 12px; }
.p-card > .p-tabs { margin-top: 0; }
/* run 4 item 2: the Connect Telegram flow (the modal system) */
.tg-steps { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; font: 500 14px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }
.tg-open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.tg-soon { margin: 0 0 8px; font: 500 14px/1.4 var(--hv-f-body); color: var(--hv-ink-1); }

/* run 4 item 3: the Buy button (an outside terminal, a new tab) — honey fill, first in a card's one action row; the same look while no
   terminal is live (it then carries aria-disabled and answers a tap with its reason); the terminal picker and the referral line */
.buy-btn { min-height: 44px; min-width: 64px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 10px; border: 1px solid var(--p-honey, #f5b83d); background: var(--p-honey, #f5b83d); color: #0b0a08;
  font: 800 13px/1 var(--p-body, var(--hv-f-body)); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.p-lnk.buy-btn, .cv-lk.buy-btn, .icon-btn.buy-btn { background: var(--p-honey, #f5b83d); color: #0b0a08; border-color: var(--p-honey, #f5b83d); font-weight: 800; }
.buy-btn:hover { filter: brightness(1.08); color: #0b0a08; }
.buy-btn:focus-visible, .buy-via:focus-visible { outline: 2px solid var(--p-ink, #f1e8da); outline-offset: 2px; }
.buy-via { min-height: 44px; min-width: 44px; margin-left: -6px; padding: 0; border: 1px solid var(--p-line2, rgba(255, 214, 150, 0.17)); border-radius: 10px; background: transparent; color: var(--p-honey, #f5b83d); font: 700 14px/1 var(--p-body, var(--hv-f-body)); cursor: pointer; }
.buy-via:hover { border-color: var(--p-honey, #f5b83d); }
.buy-say { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hv-honey-line, rgba(245, 184, 61, 0.45)); background: var(--p-honeybg, rgba(245, 184, 61, 0.12)); color: var(--p-ink, #f1e8da); font: 600 12px/1.2 var(--p-body, var(--hv-f-body)); white-space: nowrap; }
.buy-say[hidden] { display: none; }
.buy-note { margin: 0; font: 500 11.5px/1.4 var(--p-body, var(--hv-f-body)); color: var(--p-ink3, #9d9180); }
.p-card > .buy-note { margin: -6px 14px 12px; }
/* R0-05: the Buy row on every Top runners rail (the Pit, the core feed, the Dashboard; as on every call card); a live Buy carries its line */
.cv-rbuy, .p-run-buy, .mn-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.cv-rbuy > .buy-note, .p-run-buy > .buy-note, .mn-buy > .buy-note { flex-basis: 100%; }
/* ───────── 10-06 ONE CARD SHAPE (operator: "some coins have an extension menu bar below ... but some do not. It looks inconsistent").
   Every .p-card carries the same slots in the same order, each at ONE height: head · reason · odds · entries · signal · tiles ·
   bar · flow · launcher · actions · tabs. A slot whose fact we do not hold stays in place, dim, with a plain reason. web_tests/card_shape_check.py
   measures it (identical slot list, three tiles, heights within 2 px, no empty slot). ── */
.p-slot { min-width: 0; }
.p-slot-none { margin: 0; font: 500 12px/1.35 var(--p-body); color: var(--p-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-slot .p-dim { color: var(--p-ink3); }
.p-slot-head .p-who .nm { min-width: 0; }
.p-slot-head .p-who .sym { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-slot-head > .p-metarow { display: flex; align-items: baseline; gap: 8px; margin: 4px 14px 0; height: 18px; white-space: nowrap; overflow: hidden; }
.p-metarow > .p-meta-l { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.p-metarow > .p-meta-r { flex: none; margin-left: auto; }
.p-slot-head > .p-wline { margin-inline: 14px; }
.p-slot-reason, .p-slot-odds, .p-slot-signal { margin: 6px 14px 0; height: 20px; display: flex; align-items: center; overflow: hidden; }
.p-slot-reason > p, .p-slot-odds > p { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-insl-real { color: var(--p-ink2); }
/* the two entries: two equal halves, the same height on every card; the second half is dim until the feed confirms it */
.p-slot-entries { margin: 8px 14px 0; }
.p-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.p-entry { display: grid; gap: 2px; min-width: 0; height: 46px; align-content: center; padding: 0 10px; border-radius: var(--p-r2); border: 1px solid var(--p-line); background: var(--p-bg2); }
.p-entry-k { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--p-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-entry-v { font: 600 13px/16px var(--p-body); color: var(--p-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-entry-v b { font: 700 14px/16px var(--p-display); }
.p-entry-none { border-style: dashed; background: transparent; }
.p-entry .p-dim { font-weight: 500; }
.p-slot-signal > .sig-strip { margin: 0; flex-wrap: nowrap; min-width: 0; width: 100%; white-space: nowrap; overflow: hidden; }
.p-slot-signal .sig-chips { flex-wrap: nowrap; flex: none; }
.p-slot-signal .sig-note { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.p-slot-signal > .sig-strip.sig-open { flex-wrap: wrap; white-space: normal; overflow: visible; }
.p-slot-signal.p-slot-open { height: auto; overflow: visible; }
.p-slot-bar { margin-inline: 14px; }
.p-slot-bar > .p-facebar { margin: 0 0 12px; }
.p-slot-bar .p-barl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-slot-bar .p-barl[data-pk24] { white-space: normal; overflow: visible; text-overflow: clip; }   /* #115: "Peak in the first 24 hours" takes a second line, never an ellipsis */
.p-barl[data-pk24] .p-barpk { white-space: nowrap; }   /* the peak's words stay with their figure */
.p-flatbar { height: 22px; background: linear-gradient(var(--p-line), var(--p-line)) center / 100% 6px no-repeat; }   /* the real bar's own box, with a flat dim track */
.p-slot-flow > .p-flow[data-none] .p-fbar i { background: var(--p-line); }
.p-slot-launcher > .lrow { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-top: 1px solid var(--p-line); font-size: 12px; color: var(--p-ink3); white-space: nowrap; overflow: hidden; cursor: pointer; flex-wrap: nowrap; }
.lrow-chip { flex: none; display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--p-line); font: 600 12px var(--p-display); letter-spacing: 0.04em; color: var(--p-ink2); white-space: nowrap; }
.lrow-txt { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow[data-empty] .lrow-chip, .lrow-dim { color: var(--p-ink3); }
.lrow .lrow-addr { flex: none; }
.lrow .lrow-lock { flex: none; margin-left: auto; min-height: 28px; padding: 2px 6px; }
.p-slot-actions > .p-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.p-slot-actions > .p-links::-webkit-scrollbar { display: none; }
.p-slot-actions > .p-links > * { flex: none; }
.p-buycell { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
/* a phone: the actions are a grid of three, so four to six of them always make two rows and none hides behind a sideways scroll */
@media (max-width: 799px) {
  .p-slot-actions > .p-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .p-slot-actions > .p-links > * { justify-content: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 6px; }
  .p-slot-actions > .p-links > [hidden] { display: none; }
}
.p-slot-actions > .buy-note { margin: -6px 14px 12px; }
/* major-r1-calls2: a Member's card at seven rows (plan §4.3): hex + state ring, $TICKER, chain, level · signal · called line · tiles · bar ·
   class chips · actions. Each row one line, one height, on every chain. */
.p-row1m { flex-wrap: nowrap; }
.p-row1m .p-who { flex: 1 1 auto; }
.p-row1m > .p-ch { flex: none; font-size: 12px; color: var(--p-ink3); }
.p-card-m .sym[data-tk] { font-variant-numeric: tabular-nums; }   /* r1b-calls (): the "$" is the ticker's own text (primeTick) */
.p-card-m .p-who .nm { min-width: 0; display: grid; }
.p-card-m .p-rsnl { margin-top: 0; font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-av.p-hex { width: 42px; height: 42px; border-radius: 0; background: var(--ring, #ffd98c); box-shadow: none; text-shadow: none;
  clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%); }
.p-av.p-hex::after { display: none; }
.p-hexin { position: relative; display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; background: #2a1f0e; color: #f5b83d; font: 800 13px/1 var(--p-display); font-style: normal;
  clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%); }
.p-hexin .p-av-img { border-radius: 0; }
.p-level { flex: none; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--hv-honey-line, rgba(245, 184, 61, 0.45)); color: var(--p-honey, #f5b83d); font: 700 11px/16px var(--p-body, var(--hv-f-body)); letter-spacing: 0.04em; text-transform: uppercase; }
.p-slot-called { margin: 6px 14px 0; height: 18px; overflow: hidden; }
.p-slot-called > .p-calledl { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-calledl b { color: var(--p-ink); font-weight: 700; }
.p-slot-classes { margin: 0 14px 10px; height: 28px; display: flex; align-items: center; overflow: hidden; }
.p-clsrow { display: flex; gap: 6px; min-width: 0; flex-wrap: nowrap; overflow: hidden; }
.p-cls { flex: none; display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--p-line2); background: var(--p-bg2); color: var(--p-ink2); font: 600 12px/1 var(--p-body, var(--hv-f-body)); white-space: nowrap; }
.p-card-m .p-slot-actions .trk-star.p-lnk { min-width: 0; }
.p-dtop { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--p-ink2); }
.p-detail > .p-insl, .p-detail > .p-slot-none, .p-detail > .p-entries, .p-detail > .p-flow, .p-detail > .lrow, .p-detail > .p-tabs { margin: 0 0 10px; padding-inline: 0; }
.p-detail > .lrow { display: flex; align-items: center; gap: 6px; min-height: 36px; border-top: 0; white-space: nowrap; overflow: hidden; font-size: 12px; color: var(--p-ink3); }
.p-slot-tabs { margin-inline: 14px; }
.p-slot-tabs > .p-tabs { margin-top: 0; }
/* the same launcher row on the calls card and the token sheet (one line there too) */
p.lrow { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }

.cv-card > .buy-note { margin-top: 4px; }
.drawer-body > .buy-note { margin: 0 0 8px; }
.p-links { gap: 8px; }
.p-links .p-det { margin-left: auto; }

/* ───────── r1b-calls (the Calls lane, 13 Oct) ─────────
   the bar (review P2): one compact bar, its groups side by side (two lines at 390 px, one on a desktop), sticky on a desktop only;
   the level row only once a call carries a level (, NEW-301) */
.p-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0; }
.p-state > .p-strow { flex-wrap: nowrap; gap: 6px; }
.p-state .p-st { min-height: 40px; padding-inline: 12px; }
.p-state .p-sfrow { margin-left: auto; }
.p-sortb .p-stl { margin-right: 2px; }
@media (max-width: 799px) {
  .p-state { position: static; gap: 8px; }
  .p-state .p-st { min-height: 40px; padding-inline: 10px; font-size: 13px; }
  .p-state .p-sfrow { margin-left: 0; }
}
/* the hero's 7-day line () and the 24 h recap () */
.p-how7, .p-recap { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--p-line); }
.p-how7 .k, .p-recap .k { font: 600 12px var(--p-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-ink3); }
.p-hero p.p-how7l { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--p-ink2); max-width: none; }
.p-how7l b { font: 700 15px var(--p-display); color: var(--p-ink); }
.p-how7l b.p-up { color: var(--p-up2); }
.p-how7l b.p-dn { color: var(--p-down); }
.p-rcps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 6px 8px; margin-top: 6px; }
.p-rcp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-bg2); color: var(--p-ink); font: 600 13px var(--p-body); text-align: left; cursor: pointer; }
.p-rcp:hover { border-color: var(--p-line2); }
.p-rcp:focus-visible { outline: 2px solid var(--p-honey); outline-offset: 2px; }
.p-rcp-play { color: var(--p-honey); font-size: 12px; }
.p-rcp-sym { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-rcp-l { font-size: 12px; color: var(--p-ink3); white-space: nowrap; }
.p-rcp b { font: 700 14px var(--p-display); white-space: nowrap; }
/* the table and By day (review P2): the feed's whole width on a desktop, nothing cut: a cell wraps instead */
.p-feed > .p-tbl, .p-feed > .p-byday, .p-feed > .p-tz, .p-feed > .p-empty { grid-column: 1 / -1; }
.p-tz { margin: 0; font: 500 12px var(--p-body); color: var(--p-ink3); }
.p-tbl th, .p-tbl td { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; height: auto; min-height: 44px; padding-block: 8px; }
.p-tbl td { height: 44px; }
.p-tbl col, .p-tbl th:first-child { width: 30%; }
.p-tsym { display: grid; white-space: normal; overflow: visible; line-height: 1.25; }
.p-tca { font: 500 11px var(--p-mono, var(--hv-f-data)); color: var(--p-ink3); }
/* class chips are never cut (small-lanes review: pwa_browser_check "clipped: offscreen span.p-cls"): the row wraps, so a chip that does
   not fit whole moves to a second line the one-line slot does not show; every chip that shows is whole (the count line is in Details) */
.p-clsrow { flex-wrap: wrap; align-content: flex-start; max-height: 28px; row-gap: 8px; overflow: hidden; }
/* r1b fixs3b (N-8): the phone's Bee is docked in the tab bar (style.css), so it no longer steps aside while the Calls feed scrolls */
/* : the leaderboards beside the calls (the Wallets board's top five) */
.p-lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (min-width: 900px) { .p-lb { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; } }
.p-lbr { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--p-line); background: var(--p-panel); color: var(--p-ink); text-align: left; cursor: pointer; font: 600 13px var(--p-body); }
.p-lbr:hover { border-color: var(--p-line2); }
.p-lbr:focus-visible { outline: 2px solid var(--p-honey); outline-offset: 2px; }
.p-lbk { font: 700 13px var(--p-display); color: var(--p-ink3); }
.p-lbn { display: grid; min-width: 0; gap: 2px; }
.p-lbn > b { font-weight: 700; overflow-wrap: anywhere; }
.p-lbc { font-size: 12px; color: var(--p-ink3); }
.p-lbf { font-size: 12px; color: var(--p-ink2); white-space: nowrap; }
.p-lbf b { font: 700 14px var(--p-display); color: var(--p-ink); }
.p-lbf b.p-up { color: var(--p-up2); }
.p-lball { display: inline-flex; margin-top: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--hv-honey); font-weight: 600; font-size: 13px; padding: 0 4px; cursor: pointer; }   /* tune 1: the link look of the other "›" links (.p-h .p-maplink); it sat outside .p-h and drew the browser's own grey button */
/* review P2 (G3, a 5-second answer): on a phone a Member's first screen holds the record and the first call card. The sources row is one
   line (it scrolls sideways), the hero is compact (the recap scrolls sideways), and Live now shows its cards first: the tiles, the
   By chain row, the Telegram banner and the call types (also in Filters) follow the feed */
@media (max-width: 799px) {
  #prime:not([data-op="1"]) .p-srcrow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 8px 0; min-height: 0; }
  #prime:not([data-op="1"]) .p-srcrow::-webkit-scrollbar { display: none; }
  #prime:not([data-op="1"]) .p-srcrow > * { flex: none; }
  #prime:not([data-op="1"]) .p-hero { min-height: 0; padding: 14px 16px; gap: 8px; }
  #prime:not([data-op="1"]) .p-hero .big { margin: 4px 0 2px; }
  .p-how7, .p-recap { margin-top: 10px; padding-top: 10px; }
  .p-rcps { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .p-rcps::-webkit-scrollbar { display: none; }
  .p-rcp { flex: none; width: 216px; }
  #prime:not([data-op="1"]) #p-live { display: flex; flex-direction: column; }
  #prime:not([data-op="1"]) #p-live > .p-hmslot { order: 1; }
  #prime:not([data-op="1"]) #p-live > .p-feed { order: 2; }
  #prime:not([data-op="1"]) #p-live > .p-livemore { order: 3; }
  #prime:not([data-op="1"]) #p-live > .p-tiles { order: 4; margin-top: 16px; }
  #prime:not([data-op="1"]) #p-live > .p-bychain { order: 5; }
  #prime:not([data-op="1"]) #p-live > .p-tgslot { order: 6; }
  #prime:not([data-op="1"]) #p-live > .p-pitctl { order: 7; }
  /* review P3: the card's action row on one line at 390 px (Buy · Track · Follow · Replay · Share · Details) */
  .p-card-m .p-slot-actions > .p-links { display: flex; flex-wrap: nowrap; gap: 4px; overflow: visible; }
  .p-card-m .p-slot-actions > .p-links > * { flex: 1 1 auto; min-width: 0; padding-inline: 6px; justify-content: center; font-size: 12.5px; }
  .p-card-m .p-slot-actions > .p-links > .p-buycell > .buy-btn, .p-card-m .p-slot-actions .buy-btn { min-width: 0; padding-inline: 10px; }
  .p-card-m .p-slot-actions .fw-bell, .p-card-m .p-slot-actions .trk-star { margin: 0; }
  .p-card-m .p-links .p-det { margin-left: 0; }
}
/* sweep 2 row 9: a phone of 430 px or less keeps the phone grid of three (two rows), as every other card: on one line at 360 px "Details"
   read "Deta…" and Replay, Share and Buy ran past their boxes */
@media (max-width: 430px) { .p-card-m .p-slot-actions > .p-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.p-how7 .p-split { margin-top: 8px; }
.p-how7 .p-pill { padding: 4px 10px; font-size: 12px; gap: 6px; }
.p-tbl thead th { font-size: 11px; }   /* the 11 px floor (P1-15) */
.p-hero > div { min-width: 0; }   /* the recap's sideways row never widens the hero's column */
/* a narrow phone: Track is its star (its name stays the button's label, as the Follow bell's does), so the row is whole on one line */
@media (max-width: 420px) { .p-card-m .p-slot-actions .trk-star .trk-t { display: none; } }
/* review P2 (G3) on a phone: the update's counts and the sources switch follow the feed (the switch is still one scroll away), the hero
   drops its repeat sentence (the big number and its label say it), and Live now's head is one line plus its count */
@media (max-width: 799px) {
  #prime:not([data-op="1"]) .p-main { display: flex; flex-direction: column; }
  #prime:not([data-op="1"]) .p-main > #p-body { order: 1; }
  #prime:not([data-op="1"]) .p-main > #p-counts { order: 2; margin-top: 24px; }
  #prime:not([data-op="1"]) .p-main > #p-src { order: 3; }
  #prime:not([data-op="1"]) .p-main > #p-foot { order: 4; }
  #prime:not([data-op="1"]) .p-hero .p-hero-l { display: none; }
  #prime:not([data-op="1"]) #p-live > .p-h { margin-bottom: 8px; }
}
@media (max-width: 799px) {
  .p-how7, .p-recap { margin-top: 8px; padding-top: 8px; }
  .p-recap { display: flex; align-items: center; gap: 10px; }
  .p-recap > .k { flex: none; max-width: 4.5em; line-height: 1.25; }
  .p-recap > .p-rcps { flex: 1 1 auto; min-width: 0; margin-top: 0; }
  .p-how7 .p-split { margin-top: 6px; }
  #prime:not([data-op="1"]) .p-hero { padding-top: 12px; padding-bottom: 12px; }
  #prime:not([data-op="1"]) #p-live { margin-top: 18px; }
}
/* review P2 (G3) on a phone: Live now follows the hero; Top runners and the rest after it */
@media (max-width: 799px) {
  #prime:not([data-op="1"]) #p-body { display: flex; flex-direction: column; }
  #prime:not([data-op="1"]) #p-body > * { order: 2; }
  #prime:not([data-op="1"]) #p-body > #p-hero { order: 0; }
  #prime:not([data-op="1"]) #p-body > #p-live { order: 1; }
  #prime:not([data-op="1"]) #p-body > .c178-host { order: -1; }   /* #178 AC-A1: the Latest call hero stays the first block */
}

/* ───────── r1b-fixchd (review 2 of the Calls / Hive / Dashboard, 13 Oct) ─────────
   P2-4: the Calls bar's chips show the pick (view, range, level): honey text, a honey ring and fill (the ring is 9:1 on the ground) */
.p-state .p-st[aria-pressed="true"] { color: var(--p-honey); border-color: var(--p-honey); background: var(--p-honeybg); box-shadow: inset 0 0 0 1px var(--p-honey); }
/* QA gate (levels.state-row-reachable): a desktop's sticky bar sticks under the pane's sticky head (--p-head, primeHeadSync), never under it */
@media (min-width: 800px) { #prime .p-state { top: var(--p-head, 0px); z-index: 4; } }
/* P2-5, P1-2: the 7-day figure is one labelled line under the hero's one head; P2-7: the 24 h recap is one fold (Last 24 h · Best · Worst) */
.p-how7 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.p-hero p.p-how7l { margin: 0; }
.p-how7 .p-split { flex-basis: 100%; }
.p-how7k { color: var(--p-ink3); font-weight: 600; }
.p-recap { display: block; }
.p-rcpsum { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; }
.p-rcpsum::-webkit-details-marker { display: none; }
.p-rcpsum:focus-visible { outline: 2px solid var(--p-honey); outline-offset: 2px; border-radius: 8px; }
.p-rcpsm { font: 600 12px var(--p-body); color: var(--p-ink3); white-space: nowrap; }
.p-rcpsm b { font: 700 14px var(--p-display); margin-left: 3px; }
.p-rcpchev { margin-left: auto; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--p-ink3); border-bottom: 2px solid var(--p-ink3); transform: translateY(-2px) rotate(45deg); }
.p-recap[open] .p-rcpchev { transform: translateY(2px) rotate(-135deg); }
@media (max-width: 799px) {
  .p-recap { display: block; }
  .p-recap > .p-rcps { display: grid; grid-template-columns: 1fr; overflow: visible; margin-top: 6px; }
  .p-rcp { width: auto; }
  /* P1-2: the record's two chain pills on one row */
  #prime:not([data-op="1"]) .p-hero > div > .p-split { margin-top: 8px; gap: 6px; }
  #prime:not([data-op="1"]) .p-hero > div > .p-split .p-pill { padding: 4px 9px; font-size: 12px; gap: 6px; }
  /* P1-2: on a phone the first card follows the hero; the house-money tip comes after it (the feed's cards join Live now's column) */
  #prime:not([data-op="1"]) #p-live[data-p-view="cards"] > .p-feed { display: contents; }
  #prime:not([data-op="1"]) #p-live[data-p-view="cards"] > .p-feed > * { order: 4; margin-top: 12px; }
  #prime:not([data-op="1"]) #p-live[data-p-view="cards"] > .p-feed > :first-child { order: 2; margin-top: 0; }
  #prime:not([data-op="1"]) #p-live > .p-hmslot { order: 3; }
  #prime:not([data-op="1"]) #p-live > .p-hmslot:not(:empty) { margin-top: 12px; }
  #prime:not([data-op="1"]) #p-live > .p-hmslot .hm-tip { margin: 0; }
  #prime:not([data-op="1"]) #p-live > .p-livemore { order: 5; }
  #prime:not([data-op="1"]) #p-live > .p-tiles { order: 6; }
  #prime:not([data-op="1"]) #p-live > .p-bychain { order: 7; }
  #prime:not([data-op="1"]) #p-live > .p-tgslot { order: 8; }
  #prime:not([data-op="1"]) #p-live > .p-pitctl { order: 9; }
  /* P3 ("6 h" with its space): the bar keeps two lines at 390 px: tighter chips */
  .p-state > .p-strow { gap: 4px; }
  .p-state .p-st { padding-inline: 8px; }
  .p-state .p-sortb .p-stl { margin-right: 0; }
  /* P3: the card's reason line wraps, never cut ("Real buyers · Called 5 min after launch") */
  .p-card-m .p-rsnl { white-space: normal; overflow: visible; text-overflow: clip; }
}
/* r1b fix-s3a (review 3 N-1): a tile with no record reads "Not tracked yet", wrapped and smaller than a figure */
.p-tile b.p-tnone { font: 600 14px/1.25 var(--p-body, var(--hv-f-body)); color: var(--p-ink2); white-space: normal; }
/* r1b fix-s3a (review 3 P3): the loading hero holds its shapes without a dash standing for a number */
.p-skel-n { display: inline-block; width: 2.4ch; height: 0.72em; border-radius: 8px; background: var(--p-line, rgba(255, 255, 255, 0.08)); vertical-align: middle; }
.p-pill.p-skel-pill { min-width: 104px; min-height: 28px; }

/* r1b-calls4 (): with Super Degen and each level's feed size a day the level row can outgrow a phone: it wraps (the other rows keep one line) */
.p-state > .p-strow.p-lvrow { flex-wrap: wrap; row-gap: 6px; }
/* r1b-calls4 (): the 7-day line breaks between its counts, never inside one */
.p-how7l .p-how7b { white-space: nowrap; }
/* #178 review 2 P2: a card whose signal slot carries the facts chips wraps them instead of clipping them at 390 */
.p-slot-signal:has(> .sig-strip[data-mxf-row]) { height: auto; min-height: 20px; overflow: visible; }
.p-slot-signal > .sig-strip[data-mxf-row], .p-slot-signal > .sig-strip[data-mxf-row] .sig-chips { flex-wrap: wrap; white-space: normal; overflow: visible; row-gap: 6px; }

/* ── Max EV web A (operator 19 Oct: "hyper simple … loud buttons to bring the user to the gold"): a Member's Calls opens on the first
   call. The control rows, the chain chips and counts, the ticker, the Pulse strip and the Pit's tiles fold behind ONE Filters button
   (#prime[data-pfold="1"]); the record is one chip until tapped (.p-hero[data-fold="1"]). The Operator has no fold. ── */
#prime[data-pfold="1"] .p-ticker, #prime[data-pfold="1"] #p-pulse, #prime[data-pfold="1"] #p-state, #prime[data-pfold="1"] #p-src,
#prime[data-pfold="1"] .p-chips, #prime[data-pfold="1"] #p-counts, #prime[data-pfold="1"] .p-tiles, #prime[data-pfold="1"] .p-bychain,
#prime[data-pfold="1"] .p-tgslot, #prime[data-pfold="1"] .p-pitctl { display: none !important; }
.p-fold { border: 1px solid var(--hv-honey-line); background: var(--p-honeybg); color: var(--hv-honey-2); min-height: 44px; min-width: 44px; padding: 0 16px;
  border-radius: 999px; cursor: pointer; white-space: nowrap; font: 600 14px var(--p-body); }
.p-fold[aria-expanded="true"] { background: rgba(245, 184, 61, 0.22); }
.p-fold[hidden] { display: none; }
.p-recchip { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--p-line); background: var(--p-panel); color: var(--p-ink); font: 600 14px var(--p-body); cursor: pointer; }
.p-recchip b { color: var(--p-up2); font-weight: 700; }
.p-hero[data-fold="1"] { min-height: 0; padding: 0; border: 0; background: none; display: block; overflow: visible; }
.p-hero[data-fold="1"] > :not(.p-recchip):not(.p-recgaps) { display: none; }   /* #159: the record's gap lines stay under the folded chip */
.p-hero[data-chip="1"] #p-hero-k, .p-hero[data-chip="1"] [data-hero-rate] { display: none; }   /* Max EV web A r2: open, the chip is the record line (no copy below it) */
.p-hero > .p-recchip { grid-column: 1 / -1; }
/* #152 AC-K2a: a visitor's risk line sits right under the headline record, folded or open (the record page's .rec-risk words and size) */
.p-hero > .rec-risk[data-nk-risk] { grid-column: 1 / -1; margin: -8px 0 0; max-width: none; font: 500 13px/1.4 var(--p-body); color: var(--p-ink3); }
.p-hero[data-fold="1"] > .rec-risk[data-nk-risk] { display: block; margin-top: 8px; }
/* #159: the calls a record leaves out, each on its own plain line under the record line (hero chip, 7 days line, By chain, Top runners) */
.p-recgaps { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-hero > .p-recgaps { grid-column: 1 / -1; margin-top: -8px; }
.p-hero[data-fold="1"] > .p-recgaps { margin-top: 8px; }
.p-hero .p-how7 > .p-recgaps { flex-basis: 100%; margin-top: -2px; }
.p-hero p.p-recgap, .p-recgap { margin: 0; max-width: none; font: 500 13px/1.4 var(--p-body); color: var(--p-ink2); overflow-wrap: anywhere; }
.p-bcgap { flex-basis: 100%; white-space: normal; font: 500 12px/1.35 var(--p-body); color: var(--p-ink2); overflow-wrap: anywhere; }
.p-recgaps[hidden] { display: none; }
.p-rgaps { margin: -6px 0 10px; }   /* Top runners: the box sits under the header, apart from its record lines */
.p-rgaps .p-recgap { font-size: 12px; color: var(--p-ink3); }
/* Max EV web A: the build string stays the Operator's (and Settings'); a Member's Calls header shows no "v78" */
#prime:not([data-op="1"]) #hive-build { display: none; }
/* #192: a visitor's zero-cards state under the Calls title: the muted line, the early-access button (44 px on touch, the words as written), the risk line */
.p-nkea { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; padding: 4px 0; }
.p-nkea .p-nkea-line { font-size: 14px; line-height: 1.45; }
.p-nkea a.p-nkea-go { min-height: 44px; padding: 0 18px; text-transform: none; letter-spacing: 0; text-decoration: none; color: var(--honey-2); border-color: rgba(245, 184, 61, 0.45); }

/* #178 Calls hero and filter row (rebuilt on main; replaces PR 274). Layout A: the card on the left at 1440, the chips under it at 390. */
.c178-host { min-width: 0; }
.c178 { min-width: 0; margin: 0 0 28px; }
.c178-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.c178-sub { margin: 0; flex: 1 1 220px; color: var(--p-ink2); font: 500 14px/1.4 var(--p-body); }
.c178-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--p-honeybg); color: var(--p-honey); font: 700 12px var(--p-body); letter-spacing: .04em; }
.c178-grid { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.c178-hero, .c178-side { min-width: 0; }
.c178-main { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }   /* #215 row 570: the hero, then Filters right under it */
.c178-main > .c178-hero { align-self: stretch; }
.c178-main > .p-skel-c178hero { align-self: stretch; }
.c178-pitf { border: 1px solid var(--hv-honey-line); background: var(--p-honeybg); color: var(--hv-honey-2); min-height: 44px; min-width: 44px; padding: 0 16px;
  border-radius: 999px; cursor: pointer; white-space: nowrap; font: 600 14px var(--p-body); }   /* the Calls fold's Filters look (.p-fold) */
.c178-pitf.p-skel-pitf { display: block; width: 92px; height: 44px; background: none; border-color: var(--p-line); cursor: default; }
.c178-hero { padding: 16px; border-radius: var(--p-r); border: 1px solid var(--p-line); background: var(--p-panel); }
.c178-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.c178-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--p-honeybg); color: var(--p-honey); font: 700 12px var(--p-body); }
.c178-id { display: flex; gap: 12px; align-items: center; margin-top: 12px; min-width: 0; }
.c178-idt { min-width: 0; }
.c178-sym { font: 700 24px/1.1 var(--p-display); letter-spacing: .01em; overflow-wrap: anywhere; }
.c178-called { margin: 4px 0 0; color: var(--p-ink2); font: 500 14px/1.35 var(--p-body); }
.c178-chain { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--p-ink2); font: 600 13px var(--p-body); }
.c178-nowbox { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--p-bg2); }
.c178-nowbox .c178-k { display: block; }
.c178-fig { font-family: var(--p-fig); font-weight: 650; background: none; -webkit-text-fill-color: currentColor; }
.c178-nowbox .c178-fig { font-size: 24px; }
.c178-fig[data-tone="up"] { color: var(--p-up); text-shadow: 0 0 12px var(--p-upglow); }
.c178-fig[data-tone="dn"] { color: var(--p-down); text-shadow: none; }
.c178-fig[data-tone="flat"] { color: var(--p-ink2); text-shadow: none; }
.c178-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.c178-tile { padding: 10px 12px; border-radius: 12px; background: var(--p-bg2); min-width: 0; }
.c178-k { color: var(--p-ink3); font: 700 12px var(--p-body); letter-spacing: .04em; }
.c178-money { display: block; margin-top: 2px; font: 650 18px var(--p-fig); }
.c178-money[data-tone="up"] { color: var(--p-up); }
.c178-money[data-tone="dn"] { color: var(--p-down); }
.c178-subl, .c178-checked { display: block; color: var(--p-ink3); font: 500 12px/1.3 var(--p-body); }
.c178-checked { margin-top: 4px; }
.c178-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.c178-filters { position: sticky; top: var(--p-toph, 0px); z-index: 5; display: flex; flex-wrap: nowrap; gap: 8px; padding: 8px 0; background: var(--p-bg); overflow-x: auto; scrollbar-width: none; }
/* click audit 3 Nov (Free, 390): the chip row sticks right under the pane's sticky head (.p-top: Calls and its ?), never over it. --p-toph is
   the head's height (app.js primeTopH); z-index 5 keeps the head (6) on top while it is unmeasured */
/* Max EV web B (every Member control at least 44 x 44, meb-browser-b): the hero's buttons, its record link, the chip row and Show more
   reach 44 px at every width and pointer by min-height / min-width; the type stays as set below (c178-tap44) */
.c178-chip, .c178-btn, .c178-link, .c178-star, .c178-showmore, .c178-buy { min-height: 44px; min-width: 44px; }
.c178-chip { display: inline-flex; align-items: center; flex: none; gap: 6px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--p-line); background: transparent; color: var(--p-ink); font: 600 14px/1 var(--p-body); cursor: pointer; }
.c178-chip[aria-pressed="true"] { background: var(--p-honeybg); color: var(--p-honey); border-color: var(--p-honey); box-shadow: inset 0 0 0 1px var(--p-honey); }
.c178-tick { width: 12px; height: 12px; flex: none; }
.c178-btn { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 160px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--p-honey); color: #1a1206; font: 700 15px var(--p-body); cursor: pointer; }
.c178-buy { display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 12px; border: 1px solid var(--p-honey); background: transparent; color: var(--p-honey); font: 700 15px var(--p-body); text-decoration: none; }
.c178-buy:hover { color: var(--p-honey); }   /* #212: .buy-btn's honey fill and dark hover text left "Buy" honey on honey (an empty yellow button) */
.c178-link { display: inline-flex; align-items: center; color: var(--p-ink); font: 600 14px var(--p-body); text-decoration: underline; text-underline-offset: 3px; }
.c178-count { margin: 8px 0 0; color: var(--p-ink2); font: 600 13px var(--p-body); }
.c178-more { margin: 14px 0 6px; font: 700 18px/1.2 var(--p-display); }
.c178-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; min-height: 44px; padding: 12px 4px; border: 0; border-top: 1px solid var(--p-line); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.c178-row:hover { background: var(--p-bg2); }
.c178-rowid { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.c178-rowid .c178-sym { font-size: 16px; }
.c178-state { padding: 2px 8px; border-radius: 999px; background: var(--p-bg2); color: var(--p-ink2); font: 600 12px var(--p-body); }
.c178-rownow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 4px 8px; text-align: right; }
.c178-rowmc { color: var(--p-ink2); font: 500 13px var(--p-fig); }
.c178-showmore { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 8px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--p-line); background: transparent; color: var(--p-ink); font: 600 14px var(--p-body); cursor: pointer; }
.c178-empty { margin: 12px 0 0; color: var(--p-ink2); }
.c178-risk { margin: 16px 0 0; color: var(--p-ink3); font: 500 12px/1.4 var(--p-body); }
@media (min-width: 1100px) {
  .c178-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 28px; align-items: start; }
  .c178-side { position: sticky; top: 12px; align-self: start; }
  .c178-sym { font-size: 34px; }
  .c178-nowbox .c178-fig { font-size: 44px; }
}
@media (max-width: 799px) {   /* a phone's floating Bee rests at the side edge: the More calls rows and Show more leave it a lane (sweep-fbp-bee-text) */
  .c178-rows, .c178-showmore { width: auto; margin-right: 44px; }
}
#prime:not([data-op="1"]):has(.c178) #p-sub { display: none; }
