/* Hoodey — soft (neumorphic) light theme in Robinhood Chain green.
   Accent and background colors come from THEME_* variables, injected into :root by the server. */
:root {
  --bg: #F3F8F4;
  --surface: #FFFFFF;
  --ink: #13261A;
  --muted: #56685B;
  --faint: #C3D3C7;
  --track: #E1EBE3;
  --accent: #00C805;
  --accent-ink: #078A33;
  --on-accent: #0B1A0F;
  --dark: #0B1F14;
  --dark-line: #1E4A2C;
  --sh-d: #D3E0D6;
  --sh-in: #D8E4DB;
  --sh-l: #FFFFFF;
  --danger: #B42318;
  --warn: #8A5A00;
  --down: #C2410C;
  --down-soft: #F08A5D;
  --raise-sm: 5px 5px 14px var(--sh-d), -5px -5px 14px var(--sh-l);
  --raise: 8px 8px 20px var(--sh-d), -8px -8px 20px var(--sh-l);
  --raise-lg: 10px 10px 28px var(--sh-d), -10px -10px 28px var(--sh-l);
  --inset-sm: inset 2px 2px 5px var(--sh-in), inset -2px -2px 5px var(--sh-l);
  --inset: inset 4px 4px 10px var(--sh-in), inset -4px -4px 10px var(--sh-l);
  --inset-lg: inset 5px 5px 12px var(--sh-in), inset -5px -5px 12px var(--sh-l);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
a { color: var(--ink); }
a:hover { color: var(--accent-ink); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.wrap { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 32px 32px 80px; display: flex; flex-direction: column; gap: 36px; }

/* ── header ─────────────────────────────────────────────────────────── */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 52px; height: 52px; border-radius: 16px; background: var(--surface); box-shadow: 6px 6px 14px var(--sh-d), -6px -6px 14px var(--sh-l); display: flex; align-items: center; justify-content: center; }
.brand-name { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav a {
  width: 84px; height: 76px; border-radius: 18px; background: var(--bg); box-shadow: 6px 6px 14px var(--sh-d), -6px -6px 14px var(--sh-l);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 11px; color: var(--muted);
}
.nav a svg { width: 22px; height: 22px; }
.nav a[aria-current="page"] { box-shadow: var(--inset); color: var(--accent-ink); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ro-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--bg); box-shadow: inset 3px 3px 8px var(--sh-in), inset -3px -3px 8px var(--sh-l); font-size: 12px; font-weight: 600; }

/* ── buttons & inputs ───────────────────────────────────────────────── */
.btn { min-height: 48px; padding: 0 24px; border-radius: 14px; border: 0; background: var(--surface); box-shadow: var(--raise-sm); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn-lg { min-height: 52px; padding: 0 28px; border-radius: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); filter: brightness(0.96); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.field { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--bg); box-shadow: var(--inset); }
.field input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; outline-offset: 4px; }
.field-dark { display: flex; gap: 8px; }
.field-dark input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid #2B5A3A; background: #06140C; color: #fff; }
.form-error { font-size: 12px; color: var(--danger); min-height: 18px; }
.dark .form-error { color: #FFB4A8; }

/* ── type ───────────────────────────────────────────────────────────── */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.display { font-weight: 700; font-size: clamp(32px, 5vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.lede { font-size: 16px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.h2 { font-size: 15px; font-weight: 700; }
.big { font-weight: 700; font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; }
.up { color: var(--accent-ink); }
.down { color: var(--down); }
.danger { color: var(--danger); }

/* ── layout blocks ──────────────────────────────────────────────────── */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero > div:first-child { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.split > .main { flex: 999 1 640px; min-width: 0; }
.split > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.panel { background: var(--surface); border-radius: 32px; box-shadow: var(--raise-lg); padding: 30px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.panel-sm { border-radius: 28px; padding: 26px; gap: 16px; }
.panel.dark { background: var(--dark); color: #fff; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.well { background: var(--bg); box-shadow: var(--inset); border-radius: 18px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.chip-raised { background: var(--surface); box-shadow: 3px 3px 7px var(--sh-d), -3px -3px 7px var(--sh-l); }
.chip-inset { background: var(--bg); box-shadow: var(--inset-sm); }
.chip-accent { background: var(--accent); color: var(--on-accent); }
.chip-dark { background: var(--dark); color: #fff; }
.src { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); padding: 3px 10px; border-radius: 8px; background: var(--bg); box-shadow: var(--inset-sm); white-space: nowrap; }
.src[hidden] { display: none; }
.empty { padding: 28px; text-align: center; color: var(--muted); border-radius: 18px; background: var(--bg); box-shadow: var(--inset); }
.note { font-size: 12px; color: var(--muted); }

.segmented { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--bg); box-shadow: var(--inset); }
.segmented button { min-height: 44px; padding: 0 20px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--accent-ink); font-weight: 600; box-shadow: 4px 4px 10px var(--sh-d), -4px -4px 10px var(--sh-l); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 18px 20px; border-radius: 20px; background: var(--bg); box-shadow: var(--inset); display: flex; flex-direction: column; }
.stat.raised { background: var(--surface); box-shadow: 6px 6px 16px var(--sh-d), -6px -6px 16px var(--sh-l); }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-weight: 700; font-size: 30px; }

/* bars with knob */
.bar { position: relative; height: 10px; border-radius: 5px; background: var(--bg); box-shadow: var(--inset-sm); }
.bar.thin { height: 8px; border-radius: 4px; }
.bar .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--accent); }
.bar .knob { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: 3px 3px 7px var(--sh-d), -2px -2px 6px var(--sh-l); transform: translate(-50%, -50%); }
.bar.thin .knob { width: 18px; height: 18px; }

/* gauge */
.gauge { position: relative; border-radius: 50%; background: var(--bg); box-shadow: 8px 8px 18px var(--sh-d), -8px -8px 18px var(--sh-l); display: flex; align-items: center; justify-content: center; flex: none; }
.gauge svg { position: absolute; inset: 0; }
.gauge .core { border-radius: 50%; background: var(--bg); box-shadow: var(--inset); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* switch */
.switch { width: 76px; height: 40px; border-radius: 20px; border: 0; padding: 4px; background: var(--bg); box-shadow: inset 3px 3px 8px var(--sh-in), inset -3px -3px 8px var(--sh-l); display: flex; justify-content: flex-start; flex: none; }
.switch span { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); box-shadow: 2px 2px 5px var(--sh-d); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.switch[aria-checked="true"] { justify-content: flex-end; }
.switch[aria-checked="true"] span { background: var(--accent); color: var(--on-accent); box-shadow: none; }

/* ── radar ──────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.stock-card { text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 0; border-radius: 26px; background: var(--surface); box-shadow: var(--raise); }
.stock-card[aria-pressed="true"] { background: var(--bg); box-shadow: var(--inset-lg); outline: 2px solid var(--accent); outline-offset: -2px; }
.stock-card .row { display: flex; justify-content: space-between; align-items: center; }
.stock-card .tk { font-weight: 700; font-size: 18px; }
.stock-card svg { width: 100%; height: 52px; display: block; }
.chart { position: relative; height: 230px; border-radius: 22px; background: var(--bg); box-shadow: var(--inset-lg); overflow: hidden; }
.chart svg { position: absolute; left: 0; top: 24px; width: 100%; height: calc(100% - 40px); }
.chart .spike { position: absolute; top: 16px; bottom: 16px; width: 0; border-left: 2px dashed #9AA4B2; }
.chart .spike-label { position: absolute; top: 12px; margin-left: 8px; padding: 3px 10px; border-radius: 8px; font-size: 11px; font-weight: 600; background: var(--surface); box-shadow: 3px 3px 7px var(--sh-d), -3px -3px 7px var(--sh-l); }
.timeline { position: relative; height: 92px; border-radius: 22px; background: var(--surface); box-shadow: 6px 6px 16px var(--sh-d), -6px -6px 16px var(--sh-l); overflow: hidden; }
.timeline .line { position: absolute; left: 64px; right: 64px; top: 30px; height: 4px; border-radius: 2px; background: var(--accent); }
.timeline .pt { position: absolute; top: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 2px 2px 5px var(--sh-d); }

.table-scroll { overflow-x: auto; padding: 8px 10px 14px; margin: 0 -10px; }
.ttable { min-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.trow { display: grid; grid-template-columns: minmax(170px, 2fr) 54px 54px 62px 68px 50px minmax(140px, 1.5fr) 70px 78px; gap: 10px; padding: 12px 18px; align-items: center; border-radius: 18px; background: var(--surface); box-shadow: var(--raise-sm); font-size: 13px; }
.trow.head { background: none; box-shadow: none; padding: 0 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tok .av { flex: none; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--bg); box-shadow: inset 3px 3px 7px var(--sh-in), inset -3px -3px 7px var(--sh-l); }
.tok .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tok .sy { font-size: 11px; color: var(--muted); }
.tok > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.risk { display: inline-block; padding: 5px 12px; border-radius: 10px; font-size: 12px; font-weight: 600; background: var(--bg); box-shadow: var(--inset-sm); }
.risk.high { color: var(--danger); }
.risk.medium { color: var(--warn); }
.risk.low { color: var(--accent-ink); }

.hist { display: flex; align-items: flex-end; gap: 14px; height: 96px; padding: 0 6px; }
.hist span { flex: 1; border-radius: 12px; background: var(--accent); }

/* ── copycat ────────────────────────────────────────────────────────── */
.thumb { flex: none; display: flex; align-items: center; justify-content: center; background: var(--bg); box-shadow: inset 3px 3px 7px var(--sh-in), inset -3px -3px 7px var(--sh-l); }
.thumb i { display: block; border-radius: 50%; background: var(--accent); }
.thumb.dead i { background: #9AA4B2; }
.match { display: grid; grid-template-columns: 52px minmax(0, 1fr) 110px; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--raise-sm); }
.fate { font-size: 11px; font-weight: 600; }
.fate.dead { color: var(--danger); }
.fate.alive { color: var(--accent-ink); }
.history { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.history > div { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--raise-sm); }

/* ── clock ──────────────────────────────────────────────────────────── */
.dial { position: relative; width: 320px; height: 320px; flex: none; border-radius: 50%; background: var(--bg); box-shadow: 10px 10px 24px var(--sh-d), -10px -10px 24px var(--sh-l); }
.dial svg { position: absolute; inset: 0; }
.dial .face { position: absolute; left: 70px; top: 70px; width: 180px; height: 180px; border-radius: 50%; background: var(--bg); box-shadow: inset 6px 6px 14px var(--sh-in), inset -6px -6px 14px var(--sh-l); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.gap-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--raise-sm); }
.gap-row .bar .mid { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; background: var(--faint); }
.gap-row .bar .fill { left: auto; }
.hours { display: flex; align-items: flex-end; gap: 6px; height: 220px; padding: 16px 16px 0; border-radius: 22px; background: var(--bg); box-shadow: var(--inset-lg); }
.hours > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.hours i { width: 100%; max-width: 28px; border-radius: 8px 8px 4px 4px; display: block; }
.hours small { font-size: 10px; color: var(--muted); min-height: 15px; }

/* ── family ─────────────────────────────────────────────────────────── */
.tree-scroll { overflow-x: auto; padding: 8px 4px 12px; }
.tree { position: relative; }
.tree svg { position: absolute; left: 0; top: 0; overflow: visible; }
.node { position: absolute; width: 196px; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--surface); box-shadow: var(--raise-sm); text-align: left; }
.node[aria-pressed="true"] { background: var(--bg); box-shadow: var(--inset); outline: 2px solid var(--accent); outline-offset: -2px; }
.node.stock { background: var(--dark); color: #fff; cursor: default; box-shadow: 6px 6px 16px var(--sh-d), -6px -6px 16px var(--sh-l); }
.node .d { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.node .n { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.node .s { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.node.stock .s { color: #A9C2B0; }
.node.dead .n { color: var(--muted); text-decoration: line-through; }
.node > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--bg); box-shadow: inset 3px 3px 8px var(--sh-in), inset -3px -3px 8px var(--sh-l); }

/* ── roadmap ────────────────────────────────────────────────────────── */
.progress { position: relative; height: 110px; border-radius: 26px; background: var(--surface); box-shadow: var(--raise); }
.progress .rail { position: absolute; left: 12.5%; right: 12.5%; top: 38px; height: 6px; border-radius: 3px; background: var(--bg); box-shadow: var(--inset-sm); }
.progress .done { position: absolute; left: 12.5%; width: 12%; top: 38px; height: 6px; border-radius: 3px; background: var(--accent); }
.progress .steps { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.progress .steps > div { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 30px; }
.progress .pdot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--faint); }
.progress .pdot.now { background: var(--accent); border: 4px solid var(--surface); box-shadow: 2px 2px 6px var(--sh-d); }
.phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: start; }
.item { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: var(--bg); box-shadow: inset 3px 3px 8px var(--sh-in), inset -3px -3px 8px var(--sh-l); }
.item .t { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.st-live { background: var(--accent); color: var(--on-accent); }
.st-building { background: #0F5A2E; color: #fff; }
.st-planned { background: var(--surface); box-shadow: 2px 2px 5px var(--sh-d), -2px -2px 5px var(--sh-l); }
.st-research { color: var(--muted); box-shadow: inset 0 0 0 1px var(--faint); }
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.track { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 22px; background: var(--surface); box-shadow: 6px 6px 16px var(--sh-d), -6px -6px 16px var(--sh-l); }
.track .n { width: 40px; height: 40px; border-radius: 12px; background: var(--dark); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.track li { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.track li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--accent); }
.track ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }

/* ── footer ─────────────────────────────────────────────────────────── */
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 12px; font-size: 12px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot code { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--surface); }

/* ── loading skeleton ───────────────────────────────────────────────── */
.skel { border-radius: 18px; background: linear-gradient(90deg, var(--track), #EEF4EF, var(--track)); background-size: 200% 100%; animation: sh 1.4s infinite linear; min-height: 64px; }
@keyframes sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

/* ── small screens ──────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .wrap { padding: 20px 16px 64px; gap: 28px; }
  .nav { gap: 10px; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding: 6px 6px 14px; margin: 0 -6px; }
  .nav a { flex: none; width: 72px; height: 66px; }
  .panel { padding: 22px; border-radius: 26px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dial { transform: scale(0.85); margin: -24px; }
  .match { grid-template-columns: 44px minmax(0, 1fr) 72px; gap: 12px; }
  .timeline .pt:not(:first-child):not(:last-child) .chip { display: none; }
}

/* ── front page: high-tech hero ────────────────────────────────────── */
.hero-x { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hx-left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.live-line { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; max-width: 100%; overflow: hidden; padding: 9px 16px; border-radius: 999px; background: var(--dark); color: #CFE3D4; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; box-shadow: var(--raise-sm); white-space: nowrap; }
.live-line .mono, .mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.live-line .mono { color: var(--accent); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.live-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.display.xl { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; }
.grad { background: linear-gradient(90deg, var(--accent-ink), var(--accent) 55%, #7FD957); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pulse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pulse { padding: 16px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--raise-sm); display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.pulse::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); opacity: 0.8; }
.pulse .v { font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.pulse .k { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.pulse.warn::before { background: var(--danger); }
.pulse.warn .v { color: var(--danger); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.eye-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; min-width: 0; }
.eye-stage { position: relative; width: min(100%, 500px); aspect-ratio: 1.12; }
#orbit { position: absolute; inset: 0; }
.big-eye { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; padding: 5%; background: var(--surface); box-shadow: 16px 16px 40px var(--sh-d), -16px -16px 40px var(--sh-l); z-index: 2; }
.sclera { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 45% 40%, #FFFFFF 0%, #F3F8F4 60%, #E3EEE6 100%); box-shadow: inset 6px 6px 16px var(--sh-in), inset -6px -6px 16px var(--sh-l); }
.iris { position: absolute; left: 50%; top: 50%; width: 62%; height: 62%; margin: -31% 0 0 -31%; will-change: transform; filter: drop-shadow(0 6px 12px rgba(0, 80, 20, 0.18)); }
.lid { position: absolute; left: -5%; right: -5%; height: 52%; background: linear-gradient(var(--surface), #EEF5F0); transform: scaleY(0); transition: transform 0.12s ease-in; z-index: 3; }
.lid.top { top: 0; transform-origin: top; border-bottom: 2px solid #D3E0D6; }
.lid.bottom { bottom: 0; transform-origin: bottom; border-top: 2px solid #D3E0D6; }
.blinking .lid { transform: scaleY(1); }
.chip-orb { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--surface); box-shadow: 6px 6px 14px var(--sh-d), -4px -4px 12px var(--sh-l); font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; will-change: transform, opacity; }
.chip-orb:hover { color: var(--accent-ink); outline: 2px solid var(--accent); }
.chip-orb i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.chip-orb i.high { background: #E2553A; } .chip-orb i.medium { background: #D9A21B; }
.chip-orb small { font-weight: 600; color: var(--muted); font-size: 11px; }
.chip-orb.fresh { animation: pop 0.6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { scale: 0.2; } to { scale: 1; } }

.stream { width: min(100%, 500px); border-radius: 22px; background: var(--surface); box-shadow: var(--raise); padding: 16px 18px 10px; }
.stream-head { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; padding-bottom: 10px; border-bottom: 1px solid var(--track); }
.stream-head .muted { margin-left: auto; letter-spacing: 0.04em; font-weight: 600; }
.stream-list { list-style: none; margin: 0; padding: 0; }
.stream-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 64px; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #EEF4EF; font-size: 13px; }
.stream-list li:last-child { border-bottom: 0; }
.stream-list li i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.stream-list li i.high { background: #E2553A; } .stream-list li i.medium { background: #D9A21B; }
.stream-list li .nm { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-list li .nm b { margin-right: 6px; }
.stream-list li .age { text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.stream-list li.enter { animation: slidein 0.55s cubic-bezier(.2, .9, .3, 1); }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px); background: #E4FBD8; } to { opacity: 1; transform: none; background: transparent; } }
.badge-s { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 8px; white-space: nowrap; }
.badge-s.copy { background: #FDE8E4; color: var(--danger); }
.badge-s.orig { background: #E8F7EC; color: var(--accent-ink); }
.badge-s.tk { background: var(--accent); color: var(--on-accent); }

.ticker { position: relative; overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: var(--raise-sm); padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: marquee 60s linear infinite; padding-left: 34px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; text-decoration: none; color: var(--ink); }
.tk-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.tk-item i.high { background: #E2553A; } .tk-item i.medium { background: #D9A21B; }
.tk-item b { font-weight: 700; }
.tk-item .muted { font-size: 12px; }

.stock-card.spike { outline: 2px solid var(--accent); outline-offset: -2px; }
.stock-card .flag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; padding: 3px 8px; border-radius: 8px; background: var(--accent); color: var(--on-accent); }
.stock-card .quiet { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }

.feed-row { display: grid; grid-template-columns: minmax(200px, 2fr) 90px 110px minmax(150px, 1.4fr) 110px 86px 76px; cursor: pointer; gap: 12px; align-items: center; padding: 12px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--raise-sm); font-size: 13px; text-decoration: none; color: var(--ink); }
.feed-row:hover { color: var(--ink); outline: 2px solid var(--accent); outline-offset: -2px; }
.feed-row.head { background: none; box-shadow: none; padding: 0 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.feed-row.head:hover { outline: none; }
.feed-row.new { animation: flashin 1.6s ease-out; }
@keyframes flashin { 0% { background: #E4FBD8; } 100% { background: var(--surface); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .live-dot::after, .feed-row.new, .stream-list li.enter, .chip-orb.fresh { animation: none; }
}
@media (max-width: 980px) {
  .hero-x { grid-template-columns: minmax(0, 1fr); }
  .pulse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .chip-orb { padding: 6px 10px; font-size: 11px; }
  .chip-orb small { display: none; }
  .live-line { font-size: 10px; letter-spacing: 0.08em; }
  .pulse .v { font-size: 24px; }
}

/* ── Hot right now board ───────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters button { min-height: 38px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: var(--raise-sm); font-size: 13px; font-weight: 600; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--dark); color: #fff; box-shadow: none; }
.filters button[aria-pressed="true"]::before { content: '✓ '; color: var(--accent); }
.hot-row { display: grid; grid-template-columns: 34px minmax(190px, 1.8fr) 150px 92px 70px 74px minmax(130px, 1fr) 76px minmax(150px, 1.3fr) 76px; gap: 12px; align-items: center; padding: 12px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--raise-sm); font-size: 13px; text-decoration: none; color: var(--ink); }
.hot-row { cursor: pointer; }
.hot-row:hover, .hot-row:focus-visible, .feed-row:focus-visible { color: var(--ink); outline: 2px solid var(--accent); outline-offset: -2px; }
.hot-row.head { background: none; box-shadow: none; padding: 0 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.hot-row.head:hover { outline: none; }
.hot-row .rank { font-weight: 800; font-size: 15px; color: var(--muted); text-align: center; }
.hot-row .rank.top { color: var(--accent-ink); }
.hot-row .chg { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.hot-row .chg svg { width: 64px; height: 26px; flex: none; }
.bp { display: flex; flex-direction: column; gap: 5px; }
.bp-track { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #F6D9D3; }
.bp-track span { display: block; height: 100%; background: var(--accent); }
#hot-sort { max-width: 100%; overflow-x: auto; }
#hot-sort button { flex: none; }
.bp small { font-size: 11px; color: var(--muted); }
.flagset { display: flex; flex-wrap: wrap; gap: 5px; }
.flag-c { font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 7px; white-space: nowrap; }
.flag-c.copy, .flag-c.wash { background: #FDE8E4; color: var(--danger); }
.flag-c.repeat, .flag-c.whale { background: #FBF0D6; color: #8A5A00; }
.flag-c.clean { background: #E8F7EC; color: var(--accent-ink); }
.hot-row .go { color: var(--muted); font-size: 16px; }

/* Links to the token page on ponsfamily.com */
.pons-link { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.pons-link:hover { text-decoration: underline; }
.pons-link svg, .pons-btn svg { width: 10px; height: 10px; flex: none; }
.pons-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: flex-start; margin-top: 8px; min-height: 36px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent, #fff); font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: var(--raise-sm); white-space: nowrap; }
.pons-btn:hover { color: var(--on-accent, #fff); filter: brightness(0.95); }
.pons-btn.sm { margin-top: 0; min-height: 30px; padding: 0 10px; border-radius: 10px; font-size: 12px; }

/* Token logos (served from /img/<address>, layered over the initials) */
.tok .av, .thumb { position: relative; overflow: hidden; }
.tok-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: var(--surface); }
.node .nimg { flex: none; width: 30px; height: 30px; border-radius: 10px; object-fit: cover; margin-left: -4px; }
.tok-links { display: flex; gap: 12px; margin-top: 6px; font-size: 12px; font-weight: 600; }
.tok-links a { color: var(--accent-ink); text-decoration: none; }
.tok-links a:hover { text-decoration: underline; }

/* ── Heat core (Hot right now) ─────────────────────────────────────────── */
.seg-sm button { min-height: 38px; padding: 0 16px; font-size: 13px; }
.hotx-bar { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.hotx-size { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.hotx-size .segmented { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.hotx-size .segmented button { min-height: 38px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
.hotx-stage { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: stretch; }
.hotx-stage[hidden] { display: none; }
.hotx-field { position: relative; height: 520px; border-radius: 24px; overflow: hidden; background: var(--bg); box-shadow: var(--inset-lg); padding: 0; }
.hotx-field > .empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; background: none; box-shadow: none; }

.tile { position: absolute; border: 0; margin: 0; padding: 12px 14px 14px; border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-width: 0;
  background: var(--tbg); color: var(--tink); font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  transition: left 0.7s cubic-bezier(.2, .8, .2, 1), top 0.7s cubic-bezier(.2, .8, .2, 1), width 0.7s cubic-bezier(.2, .8, .2, 1), height 0.7s cubic-bezier(.2, .8, .2, 1), background-color 0.6s ease, opacity 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%); }
.tile.in, .tile.out { opacity: 0; transform: scale(0.94); }
.tile:hover { transform: scale(1.012); z-index: 3; box-shadow: 0 10px 26px rgba(19, 38, 26, 0.18); }
.tile.on { z-index: 4; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink), 0 12px 28px rgba(19, 38, 26, 0.2); }
.tile:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.t-top { display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 6px; }
.t-top .av { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; position: relative; overflow: hidden; font-size: 13px; font-weight: 800; color: var(--accent-ink); background: rgba(255, 255, 255, 0.85); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.tile.xl .t-top .av { width: 52px; height: 52px; border-radius: 14px; }
.t-id { display: flex; flex-direction: column; min-width: 0; }
.t-sym { font-weight: 800; font-size: var(--fsym, 15px); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-name { font-size: 12px; opacity: 0.8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-chg { font-weight: 800; font-size: var(--fchg, 15px); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: clip; max-width: 100%; }
.tile.xl .t-chg, .tile.lg .t-chg { line-height: 1.05; }
.t-vol { font-size: 12px; font-weight: 600; opacity: 0.78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-flag { position: absolute; top: 0; right: 0; max-width: 70%; padding: 3px 8px 4px 10px; border-radius: 0 0 0 10px; background: #D93A1F; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-flag.mini, .tile.sm .t-flag { width: 0; height: 0; padding: 0; border-radius: 0; background: none; border-style: solid; border-width: 0 14px 14px 0; border-color: transparent #D93A1F transparent transparent; }
.t-bp { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #00A804 0 var(--bp), rgba(0, 0, 0, 0.12) var(--bp) 100%); }
.tile.strong .t-bp { background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0 var(--bp), rgba(0, 0, 0, 0.18) var(--bp) 100%); }
.tile.sm { padding: 6px 8px 8px; justify-content: center; align-items: flex-start; gap: 0; }
.tile.sm .t-sym { max-width: 100%; }
.tile.sm .t-chg { font-weight: 700; }
.tile.tiny > span:not(.t-bp) { display: none; }
.tile.md { padding: 9px 10px 10px; }

.hotx-focus { border-radius: 28px; background: var(--surface); box-shadow: var(--raise); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; overflow: hidden; }
.hotx-focus::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.7; }
.fx-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fx-head .tok { min-width: 0; }
.fx-head .tok .av { width: 48px; height: 48px; border-radius: 14px; }
.fx-head .nm { font-size: 17px; font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-rank { flex: none; font-weight: 800; font-size: 13px; color: var(--accent-ink); background: var(--bg); box-shadow: var(--inset-sm); border-radius: 10px; padding: 6px 9px; }
.fx-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fx-big { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.fx-chg { font-weight: 800; font-size: 15px; padding: 4px 10px; border-radius: 10px; background: var(--bg); }
.fx-chg.up { color: var(--accent-ink); } .fx-chg.down { color: var(--down); }
.fx-spark { width: 100%; height: 76px; display: block; }
.fx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fx-stats div { background: var(--bg); box-shadow: var(--inset-sm); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.fx-stats span { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.fx-stats b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.fx-stats b.bad { color: var(--danger); }
.fx-bp { display: flex; flex-direction: column; gap: 6px; }
.fx-bp-top { display: flex; justify-content: space-between; font-size: 13px; }
.fx-bp-top span { color: var(--muted); font-weight: 600; }
.fx-bp .bp-track { height: 10px; }
.fx-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.fx-actions .pons-btn { margin-top: 0; min-height: 44px; padding: 0 18px; flex: 1 1 auto; }
.fx-check { min-height: 44px; flex: 1 1 auto; font-size: 13px; padding: 0 16px; color: var(--ink); }

.hotx-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 12px; color: var(--muted); }
.hotx-legend[hidden] { display: none; }
.hotx-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.hotx-legend b { color: var(--ink); }
.lg-scale { gap: 0 !important; }
.lg-scale i { width: 26px; height: 12px; display: inline-block; }
.lg-scale i:first-of-type { border-radius: 4px 0 0 4px; } .lg-scale i:last-of-type { border-radius: 0 4px 4px 0; }
.lg-scale em { font-style: normal; font-weight: 700; margin: 0 8px; }
.lg-bp { width: 26px; height: 4px; border-radius: 2px; display: inline-block; background: linear-gradient(90deg, #00A804 0 65%, rgba(0, 0, 0, 0.12) 65%); }
.lg-flag { width: 12px; height: 12px; display: inline-block; border-radius: 3px; background: #D93A1F; }

/* ── Launch tape (Latest Pons launches) ─────────────────────────────────── */
.lx-count { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 18px; background: var(--bg); box-shadow: var(--inset); }
.lx-count b { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.lx-count span:last-child { font-size: 11px; line-height: 1.25; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.tape { position: relative; height: 96px; border-radius: 22px; background:
    linear-gradient(90deg, var(--bg) 0, rgba(243, 248, 244, 0) 8%),
    repeating-linear-gradient(90deg, rgba(19, 38, 26, 0.05) 0 1px, transparent 1px 2.5%), var(--bg);
  box-shadow: var(--inset); overflow: hidden; }
.tp-track { position: absolute; left: 18px; right: 64px; top: 0; bottom: 0; }
.tp-track::before { content: ''; position: absolute; left: 0; right: 0; bottom: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(0, 200, 5, 0), rgba(0, 200, 5, 0.5)); }
.tp-tick { position: absolute; bottom: 8px; transform: translateX(-50%); font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.tp-tick::before { content: ''; position: absolute; left: 50%; bottom: 20px; width: 1px; height: 8px; background: var(--faint); }
.tp-now { position: absolute; left: 100%; top: 10px; bottom: 8px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: var(--accent-ink); letter-spacing: 0.08em; text-transform: uppercase; }
.tp-now i { position: absolute; top: 0; bottom: 22px; width: 2px; left: 50%; margin-left: -1px; background: linear-gradient(var(--accent), rgba(0, 200, 5, 0)); }
.tp-now i::after { content: ''; position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -4px 0 0 -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.5); animation: nowping 1.6s ease-out infinite; }
@keyframes nowping { 0% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(0, 200, 5, 0); } }
.tp-dot { position: absolute; bottom: calc(26px + var(--lane) * 15px); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(0, 200, 5, 0.45);
  transition: left 1.2s linear, transform 0.2s ease; }
.tp-dot.medium { background: #D9A21B; box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(217, 162, 27, 0.45); }
.tp-dot.high { background: #E2553A; box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(226, 85, 58, 0.5); }
.tp-dot:hover, .tp-dot:focus-visible { transform: scale(1.5); z-index: 2; }
.tp-dot.new { animation: dropin 0.9s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes dropin { 0% { transform: translateY(-50px) scale(0.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.lcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: var(--raise-sm); cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.lcard::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.lcard.medium::before { background: #D9A21B; } .lcard.high::before { background: #E2553A; }
.lcard:hover, .lcard:focus-visible { transform: translateY(-3px); box-shadow: var(--raise); outline: none; }
.lcard:focus-visible { box-shadow: var(--raise), 0 0 0 2px var(--accent); }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.lc-top .tok { min-width: 0; }
.lc-top .tok .av { width: 46px; height: 46px; border-radius: 14px; }
.lc-top .nm { display: block; font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-age { flex: none; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--bg); box-shadow: var(--inset-sm); border-radius: 10px; padding: 5px 9px; font-variant-numeric: tabular-nums; }
.lc-verdict { display: flex; gap: 9px; align-items: center; font-size: 13px; padding: 9px 12px; border-radius: 12px; background: var(--bg); }
.lc-verdict i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(0, 200, 5, 0.6); }
.lc-verdict.bad { color: var(--danger); background: #FDF1EE; }
.lc-verdict.bad i { background: #E2553A; box-shadow: 0 0 8px rgba(226, 85, 58, 0.6); }
.lc-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.lc-dep.warn { color: var(--warn); font-weight: 700; }
.lc-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.lc-risk { display: flex; gap: 3px; }
.lc-risk i { width: 16px; height: 6px; border-radius: 3px; background: var(--track); }
.lcard.low .lc-risk i.on { background: var(--accent); }
.lcard.medium .lc-risk i.on { background: #D9A21B; }
.lcard.high .lc-risk i.on { background: #E2553A; }
.lc-risk-l { font-size: 12px; font-weight: 600; color: var(--muted); flex: 1; }
.lc-scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.lcard.new { animation: cardin 0.7s cubic-bezier(.2, 1.2, .4, 1); }
.lcard.new .lc-scan { opacity: 1; background: linear-gradient(180deg, rgba(0, 200, 5, 0) 0, rgba(0, 200, 5, 0.18) 48%, rgba(0, 200, 5, 0.5) 50%, rgba(0, 200, 5, 0) 52%); background-size: 100% 220%; animation: scan 1.6s ease-out forwards; }
@keyframes cardin { 0% { transform: translateY(14px) scale(0.97); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes scan { 0% { background-position: 0 100%; } 100% { background-position: 0 -120%; opacity: 0; } }

@media (max-width: 1100px) {
  .hotx-stage { grid-template-columns: 1fr; }
  .hotx-field { height: 480px; }
}
@media (max-width: 640px) {
  .hotx-field { height: 440px; border-radius: 18px; }
  .tile { border-radius: 10px; }
  .hotx-bar { gap: 12px; }
  .hotx-size { width: 100%; }
  .hotx-size > .small { display: none; }
  .hotx-focus { padding: 18px; }
  .fx-big { font-size: 26px; }
  .lx-count b { font-size: 26px; }
  .tape { height: 118px; }
  .tp-dot { width: 10px; height: 10px; margin-left: -5px; bottom: calc(28px + var(--lane) * 12px); }
  .tp-track { right: 46px; left: 12px; }
  .tp-tick:first-of-type { display: none; }
  .lgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 16px; margin: 0 -16px; scrollbar-width: none; }
  .lgrid::-webkit-scrollbar, .hotx-bar .filters::-webkit-scrollbar { display: none; }
  .lcard { scroll-snap-align: center; }
  .hotx-bar .filters { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 6px 16px 10px; scrollbar-width: none; }
  .hotx-bar .filters > span { display: none; }
  .hotx-bar .filters button { flex: none; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-now i::after, .tp-dot.new, .lcard.new, .lcard.new .lc-scan { animation: none; }
  .tile { transition: none; }
}
.lx-swipe { display: none; }
@media (max-width: 640px) { .lx-swipe { display: inline; } }

/* ════════════════════════════════════════════════════════════════════════
   Flat "hairline" theme (v2): white and Robinhood green, thin 1px lines,
   leaf corners (big top-left / bottom-right), Funnel type, mono numbers.
   It sits on top of the base rules above and replaces the soft 3D look.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #F7FAF8;
  --surface: #FFFFFF;
  --ink: #0E1F15;
  --muted: #5B6E61;
  --line: #DFEAE2;
  --line-2: #C9DDCF;
  --mint: #DDF7E6;
  --mint-ink: #05652A;
  --accent-ink: #067A2E;
  --sh-d: transparent; --sh-l: transparent; --sh-in: transparent;
  --raise-sm: 0 0 0 1px var(--line);
  --raise: 0 0 0 1px var(--line), 0 1px 2px rgba(14, 31, 21, 0.04);
  --raise-lg: 0 0 0 1px var(--line), 0 18px 40px -28px rgba(14, 31, 21, 0.25);
  --inset-sm: inset 0 0 0 1px var(--line);
  --inset: inset 0 0 0 1px var(--line);
  --inset-lg: inset 0 0 0 1px var(--line);
  --font: 'Funnel Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Funnel Display', 'Funnel Sans', ui-sans-serif, system-ui, sans-serif;
  --mono-f: 'Spline Sans Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --leaf-xl: 28px 8px; --leaf-lg: 22px 6px; --leaf: 14px 4px; --leaf-sm: 10px 3px; --leaf-xs: 8px 2px;
}
body { font-family: var(--font); background: var(--bg); }
::selection { background: var(--mint); color: var(--mint-ink); }

/* type */
h1, h2, .display, .big, .brand-name, .fx-big, .lx-count b, .pulse .v, .stat .v, .stock-card .tk, .t-chg, .fx-head .nm { font-family: var(--display); }
.display, h2 { font-weight: 600 !important; letter-spacing: -0.03em !important; }
.display.xl { font-size: clamp(44px, 6.6vw, 84px); font-weight: 500 !important; line-height: 0.98; letter-spacing: -0.045em !important; }
.grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.mono, .live-line .mono, .eyebrow, .src, .fx-stats span, .lc-age, .tp-tick, .tp-now, .pulse .k, .stat .k, .lx-count span:last-child, .foot code, .fx-rank, .hot-row.head, .feed-row.head, .trow.head { font-family: var(--mono-f); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--accent-ink); }
.eyebrow::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 1px; background: var(--accent); border-radius: 3px 1px; }
.pulse .v, .stat .v, .fx-stats b, .fx-big { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* header: sticky, text navigation, hairline underneath */
.top { position: sticky; top: 0; z-index: 60; margin: -32px -32px 0; padding: 14px 32px; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.brand-mark { width: 40px; height: 40px; border-radius: var(--leaf); box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.brand-name { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.nav { gap: 2px; }
.nav a { width: auto; height: 38px; padding: 0 14px; flex-direction: row; gap: 8px; border-radius: var(--leaf-sm); background: transparent; box-shadow: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav a svg { width: 16px; height: 16px; opacity: 0.8; }
.nav a:hover { color: var(--ink); background: #F1F6F2; }
.nav a[aria-current="page"] { background: var(--mint); color: var(--mint-ink); box-shadow: none; font-weight: 600; }
.ro-badge { border-radius: var(--leaf-sm); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-weight: 500; color: var(--muted); }

/* surfaces */
.panel { border-radius: var(--leaf-xl); padding: 32px; }
.panel-sm { border-radius: var(--leaf-lg); }
.panel.dark { background: #0B2014; box-shadow: 0 0 0 1px #12321F; }
.well, .chart, .hours, .timeline, .tape, .hotx-field, .empty { border-radius: var(--leaf-lg); }
.stock-card, .hotx-focus, .stream, .lcard, .track, .progress { border-radius: var(--leaf-lg); }
.stat, .pulse, .match, .history > div, .gap-row, .node, .kv, .item, .trow, .feed-row, .hot-row, .ticker, .lx-count, .fx-stats div, .skel { border-radius: var(--leaf); }
.chip, .risk, .src, .badge-s, .flag-c, .lc-verdict, .fx-chg, .fx-rank, .lc-age, .stock-card .flag, .chart .spike-label, .orb-tag { border-radius: var(--leaf-sm); }
.tile { border-radius: 12px 4px; }
.chip-raised, .st-planned, .stat.raised, .chart .spike-label { box-shadow: 0 0 0 1px var(--line); }
.chip-inset, .risk, .src, .fx-chg, .fx-rank, .lc-age { background: #F1F6F2; box-shadow: none; }
.chip-accent, .badge-s.tk, .st-live, .stock-card .flag { background: var(--mint); color: var(--mint-ink); }
.src { color: var(--muted); }
.empty { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pulse::before { width: 2px; }
.stat { background: var(--surface); }
.stock-card { box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.stock-card:hover { box-shadow: 0 0 0 1px var(--line-2), 0 10px 24px -16px rgba(14, 31, 21, 0.3); transform: translateY(-1px); }
.stock-card[aria-pressed="true"] { background: var(--surface); box-shadow: 0 0 0 1.5px var(--accent); outline: none; }
.trow, .feed-row, .hot-row, .match, .history > div, .gap-row, .node, .lcard { box-shadow: 0 0 0 1px var(--line); }
.hot-row:hover, .feed-row:hover { outline: none; box-shadow: 0 0 0 1.5px var(--accent); }
.node[aria-pressed="true"] { background: var(--surface); box-shadow: 0 0 0 1.5px var(--accent); outline: none; }
.node.stock { box-shadow: none; background: #0B2014; }
.kv, .item, .fx-stats div { background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); }
.track .n { border-radius: var(--leaf-sm); }
.tok .av, .thumb { background: #F1F6F2; box-shadow: inset 0 0 0 1px var(--line); border-radius: 10px 3px; }
.thumb { border-radius: var(--leaf); }
.gauge, .dial { box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.gauge .core, .dial .face { box-shadow: inset 0 0 0 1px var(--line); background: #F6FAF7; }
.bar { background: #EAF2EC; box-shadow: none; }
.bar .knob { box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(14, 31, 21, 0.12); }
.timeline .dot, .progress .pdot.now { box-shadow: none; }
.progress .rail { box-shadow: none; background: #EAF2EC; }
.switch { box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px 4px; }
.switch span { border-radius: 9px 3px; box-shadow: 0 0 0 1px var(--line); }

/* buttons, inputs, toggles */
.btn { border-radius: var(--leaf); box-shadow: 0 0 0 1px var(--line-2); font-weight: 600; transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.btn:hover { box-shadow: 0 0 0 1px var(--accent-ink); color: var(--ink); }
.btn-lg { border-radius: 16px 5px; }
.btn-primary { box-shadow: none; background: var(--accent); color: #062611; }
.btn-primary:hover { background: #00B304; color: #062611; box-shadow: none; filter: none; }
.btn:active { transform: translateY(1px); }
.pons-btn { border-radius: 12px 4px; box-shadow: none; color: #062611; }
.pons-btn.sm { border-radius: 9px 3px; }
.pons-btn:hover { color: #062611; }
.field { border-radius: var(--leaf); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.segmented { border-radius: var(--leaf); background: #F1F6F2; box-shadow: inset 0 0 0 1px var(--line); padding: 4px; gap: 2px; }
.segmented button { border-radius: 10px 3px; min-height: 38px; font-weight: 500; }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(14, 31, 21, 0.06); font-weight: 600; }
.filters button { border-radius: 10px 3px; box-shadow: 0 0 0 1px var(--line); background: var(--surface); min-height: 36px; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 1px #A8E7BE; }

/* front page hero bits */
.live-line { border-radius: var(--leaf-sm); background: var(--surface); color: var(--muted); box-shadow: 0 0 0 1px var(--line); letter-spacing: 0.08em; font-weight: 500; }
.live-line .mono { color: var(--accent-ink); }
.big-eye { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(6, 101, 42, 0.45); }
.sclera { box-shadow: inset 0 0 0 1px var(--line); }
.chip-orb { border-radius: var(--leaf-sm); box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(14, 31, 21, 0.3); font-weight: 600; }
.chip-orb:hover { outline: none; box-shadow: 0 0 0 1.5px var(--accent); }
.stream { box-shadow: 0 0 0 1px var(--line); }
.stream-head { border-bottom-color: var(--line); font-family: var(--mono-f); font-weight: 500; }
.stream-list li { border-bottom-color: #EEF4F0; }
.ticker { box-shadow: 0 0 0 1px var(--line); }

/* heat map + focus + launch tape */
.hotx-field { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 0; }
.hotx-focus { box-shadow: 0 0 0 1px var(--line); }
.hotx-focus::before { height: 2px; }
.lx-count { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.tape { background:
    repeating-linear-gradient(90deg, rgba(14, 31, 21, 0.045) 0 1px, transparent 1px 2.5%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); }
.tp-dot { box-shadow: 0 0 0 3px var(--surface); }
.tp-dot.medium, .tp-dot.high { box-shadow: 0 0 0 3px var(--surface); }
.lcard { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.lcard:hover, .lcard:focus-visible { box-shadow: 0 0 0 1.5px var(--accent), 0 14px 30px -22px rgba(14, 31, 21, 0.35); }
.lc-verdict { background: #F3F8F4; }
.lc-verdict.bad { background: #FDF1EE; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-top: 22px; }

@media (max-width: 760px) {
  .top { margin: -20px -16px 0; padding: 10px 16px; }
  .nav { gap: 2px; padding: 4px 0 2px; margin: 0; }
  .nav a { flex: none; width: auto; height: 34px; padding: 0 11px; font-size: 13px; }
  .panel { padding: 22px; border-radius: 22px 6px; }
}
.top { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0;
  box-shadow: 0 0 0 100vmax #FFFFFF, 0 1px 0 100vmax var(--line); clip-path: inset(0 -100vmax -1px); }
.stock-card.spike { outline: none; box-shadow: 0 0 0 1.5px var(--accent); }
.stock-card.spike[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent), 0 12px 28px -18px rgba(0, 120, 30, 0.45); }
@media (max-width: 760px) {
  .top .ro-badge { display: none; }
  .top { gap: 8px; }
}

/* ── hero: particle mark (replaces the eye + orbiting chips) ─────────── */
.pmark-stage { position: relative; width: min(100%, 540px); aspect-ratio: 1.08; }
#pmark { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: pan-y; }
.pm-cap { position: absolute; display: flex; gap: 10px; align-items: flex-start; pointer-events: none; font-family: var(--mono-f); }
.pm-cap span { display: flex; flex-direction: column; line-height: 1.25; }
.pm-cap b { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.pm-cap small { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.pm-cap i { width: 8px; height: 8px; margin-top: 5px; background: var(--accent); border-radius: 3px 1px; flex: none; }
.pm-tr { right: 2%; top: 4%; text-align: right; flex-direction: row-reverse; }
.pm-tr span { align-items: flex-end; }
.pm-bl { left: 2%; bottom: 3%; max-width: 60%; }
.pm-bl b { font-size: 13px; }
@media (max-width: 760px) {
  .pmark-stage { width: 100%; aspect-ratio: 1; }
  .pm-bl { display: none; }
}

/* ── Cabal Eye ──────────────────────────────────────────────────────────── */
.cb-hint { text-align: left; }
.cb-card { gap: 18px; position: relative; overflow: hidden; }
.cb-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent); }
.cb-card.medium::before { background: #D9A21B; } .cb-card.high::before { background: #D93A1F; }
.cb-tok .av { width: 52px; height: 52px; position: relative; overflow: hidden; }
.cb-tok .nm { font-size: 20px; font-family: var(--display); }
.cb-score { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cb-score b { font-family: var(--display); font-size: 88px; line-height: 0.9; font-weight: 600; letter-spacing: -0.05em; }
.cb-card.low .cb-score b { color: var(--accent-ink); } .cb-card.medium .cb-score b { color: #B07400; } .cb-card.high .cb-score b { color: #C42A12; }
.cb-score > span { font-family: var(--display); font-size: 28px; color: #9DB8A6; font-weight: 600; }
.cb-verdict { margin-left: auto; font-style: normal; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: var(--leaf-sm); }
.cb-verdict.low { background: var(--mint); color: var(--mint-ink); } .cb-verdict.medium { background: #FFF3D6; color: #8A5A00; } .cb-verdict.high { background: #FDE8E4; color: #B42318; }
.cb-meter { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #DDF7E6 0 30%, #FFF0CC 30% 60%, #FDE1DB 60%); overflow: hidden; }
.cb-meter span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #00C805, #D9A21B 55%, #D93A1F); }
.cb-meter i { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; }
.cb-reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cb-reasons li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: var(--leaf-sm); background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.cb-reasons b { font-family: var(--mono-f); font-weight: 600; color: var(--muted); }
.cb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.cb-actions .btn { min-height: 44px; padding: 0 18px; }
.cb-actions .pons-btn { margin-top: 0; min-height: 44px; }

.cm { width: 100%; height: auto; display: block; border-radius: var(--leaf); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cm-t, .cm-l { font-family: var(--mono-f); font-size: 10px; fill: var(--muted); }
.cm-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--muted); }
.cm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cm-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cb-stats div { padding: 12px 14px; border-radius: var(--leaf); background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 2px; }
.cb-stats span { font-family: var(--mono-f); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cb-stats b { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.cb-stats b.bad, .cr-stats b.bad { color: #C42A12; }

.cw-row { display: grid; grid-template-columns: 130px minmax(200px, 2fr) 80px 110px 110px minmax(130px, 1fr) 90px; gap: 12px; align-items: center; padding: 11px 16px; border-radius: var(--leaf); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; }
.cw-row.head { background: none; box-shadow: none; padding: 0 16px; font-family: var(--mono-f); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
.cw-row.flagged { box-shadow: 0 0 0 1px #F3D2C8; background: #FFFBFA; }
.ctags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; align-self: center; }
.ctag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 8px 2px; white-space: nowrap; }
.ctag.deployer { background: #B42318; color: #fff; } .ctag.sniper { background: #FDE8E4; color: #B42318; } .ctag.bundle { background: #FFF3D6; color: #8A5A00; }
.ctag.circle { background: #F3E8FF; color: #6B21A8; } .ctag.crew { background: #0B2014; color: #7CF08A; }
.cw-hold { display: inline-block; width: 60px; height: 6px; margin-right: 8px; border-radius: 3px; background: #EAF2EC; vertical-align: middle; overflow: hidden; }
.cw-hold i { display: block; height: 100%; background: var(--accent); }
.cw-st { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 8px 2px; background: #F1F6F2; color: var(--muted); }
.cw-st.holding { background: var(--mint); color: var(--mint-ink); } .cw-st.exited { background: #FDE8E4; color: #B42318; } .cw-st.trimming { background: #FFF3D6; color: #8A5A00; }

.crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.crew { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--leaf-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.crew.active { box-shadow: 0 0 0 1.5px #E7A99A; }
.cr-head { display: flex; align-items: center; gap: 14px; }
.cr-head h3 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.cr-net { width: 58px; height: 58px; flex: none; }
.cr-net .l line { stroke: #BFD8C7; stroke-width: 1; }
.cr-net circle { fill: #0B2014; }
.cr-net.on circle { fill: #D93A1F; }
.cr-net.on .l line { stroke: #F0B4A6; }
.cr-badge { margin-left: auto; align-self: flex-start; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 8px 2px; background: #FDE8E4; color: #B42318; white-space: nowrap; }
.cr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cr-stats div { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: var(--leaf-sm); background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.cr-stats span { font-family: var(--mono-f); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cr-stats b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.cr-stats b.good { color: var(--accent-ink); }
.cr-tokens { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cr-tokens a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 10px 3px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-size: 12px; font-weight: 700; color: var(--ink); }
.cr-tokens a:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.cr-tokens .av, .cr-entry .av { width: 22px; height: 22px; border-radius: 7px 2px; font-size: 9px; display: grid; place-items: center; position: relative; overflow: hidden; background: #F1F6F2; color: var(--accent-ink); font-weight: 800; }
.crew details summary { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.crew details ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 12px; }
.cr-live { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; border-radius: var(--leaf); background: #FFF8F6; box-shadow: inset 0 0 0 1px #F3D2C8; }
.cr-live-h { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono-f); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #B42318; margin-right: 6px; }
.cr-live-h .live-dot { background: #D93A1F; } .cr-live-h .live-dot::after { border-color: #D93A1F; }
.cr-entry { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 10px 3px; background: var(--surface); box-shadow: 0 0 0 1px #F3D2C8; text-decoration: none; color: var(--ink); font-size: 12px; }
.cr-entry small { color: var(--muted); }
@media (max-width: 760px) {
  .cb-score b { font-size: 68px; }
  .cb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-grid { grid-template-columns: 1fr; }
}

.cw-row > span { align-self: center; }
.cb-bundles { display: flex; flex-direction: column; gap: 6px; }
.cb-bundle { display: grid; grid-template-columns: 36px 110px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 12px; border-radius: var(--leaf-sm); background: #FFFAEE; box-shadow: inset 0 0 0 1px #F2E1B5; font-size: 12px; }
.cb-bundle b { color: #8A5A00; font-family: var(--mono-f); }
.cb-bundle .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }

.share-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: start; }
.share-img { width: 100%; height: auto; display: block; border-radius: var(--leaf); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(14, 31, 21, 0.35); background: #fff; }
.share-side { display: flex; flex-direction: column; gap: 10px; }
.share-side .btn { width: 100%; }
.btn svg { flex: none; }
@media (max-width: 900px) { .share-wrap { grid-template-columns: 1fr; } }

.pm-bl { top: 3%; bottom: auto; }

/* ── particle dial (Market Clock) ───────────────────────────────────── */
.dial.pdial { background: none; box-shadow: none; border-radius: 0; }
.pdial-canvas { position: absolute; inset: 0; display: block; cursor: crosshair; }
.pd-face { position: absolute; inset: 0; pointer-events: none; }
.pd-city { position: absolute; left: 0; right: 0; top: 34%; text-align: center; font-family: var(--mono-f); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.pd-chip { position: absolute; left: 50%; top: 61%; transform: translateX(-50%); font-size: 11px; }

.brand-word { display: block; height: 28px; width: auto; transform: translateY(3px); }
@media (max-width: 760px) { .brand-word { height: 24px; } }

/* ── X-Ray: Death Clock + Wallet X-Ray ─────────────────────────────────── */
.xr-quick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.xr-quick .btn { min-height: 44px; padding: 0 16px; }
.xr-quick .btn-primary { margin-left: auto; }
.av { position: relative; overflow: hidden; }

.dc-card, .xr-card { gap: 16px; position: relative; overflow: hidden; }
.dc-card::before, .xr-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #D9A21B; }
.dc-card.overtime::before, .dc-card.dead::before { background: #D93A1F; }
.dc-card .cb-tok { align-items: center; }
.dc-chip { margin-left: auto; align-self: center; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: var(--leaf-sm); background: #FFF3D6; color: #8A5A00; }
.dc-chip.overtime, .dc-chip.dead { background: #FDE8E4; color: #B42318; }
.dc-card.overtime .dc-chip.alive { background: #FDE8E4; color: #B42318; }
.dc-clock { position: relative; height: clamp(96px, 13vw, 132px); margin: 2px -4px 0; }
.dc-clock canvas { display: block; }
.dc-cap { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.dc-life { position: relative; height: 10px; border-radius: 5px; background: repeating-linear-gradient(90deg, #EAF2EC 0 6px, transparent 6px 8px); overflow: hidden; }
.dc-life span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: linear-gradient(90deg, #00C805, #D9A21B 65%, #D93A1F); }
.dc-life-l { display: flex; justify-content: space-between; margin-top: -10px; font-family: var(--mono-f); font-size: 10.5px; }
.dc-signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dc-sign { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--leaf-sm); background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.dc-sign span { font-family: var(--mono-f); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-sign b { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.dc-sign.bad { background: #FFF8F6; box-shadow: inset 0 0 0 1px #F3D2C8; }
.dc-sign.bad b { color: #C42A12; }
.dc-twinstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dc-twinstats div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--leaf); background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); }
.dc-twinstats span { font-family: var(--mono-f); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dc-twinstats b { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.dc-twinstats b.bad { color: #C42A12; }
.dc-hist { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-items: end; height: 130px; padding: 10px 12px 0; border-radius: var(--leaf); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.dc-hist div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; min-width: 0; }
.dc-hist i { display: block; width: 100%; max-width: 46px; min-height: 2px; border-radius: 6px 6px 2px 2px; background: repeating-linear-gradient(0deg, #D93A1F 0 4px, rgba(217, 58, 31, 0.55) 4px 6px); }
.dc-hist div:nth-last-child(-n+2) i { background: repeating-linear-gradient(0deg, #00C805 0 4px, rgba(0, 200, 5, 0.5) 4px 6px); }
.dc-hist b { font-family: var(--mono-f); font-size: 11px; font-weight: 600; }
.dc-hist small { font-family: var(--mono-f); font-size: 10px; color: var(--muted); padding-bottom: 8px; white-space: nowrap; }
.dc-twins { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-twin { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 12px 3px; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-size: 12px; background: var(--surface); }
.dc-twin:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.dc-twin .av, .dr-row .av, .xt-row .av { width: 28px; height: 28px; border-radius: 8px 3px; font-size: 10px; display: grid; place-items: center; background: #F1F6F2; color: var(--accent-ink); font-weight: 800; flex: none; }
.dc-twin > span { display: flex; flex-direction: column; line-height: 1.15; }
.dc-twin small { color: var(--muted); font-size: 10.5px; }
.dc-twin em { font-style: normal; font-family: var(--mono-f); font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px 2px; }
.dc-twin em.dead { background: #FDE8E4; color: #B42318; } .dc-twin em.alive { background: var(--mint); color: var(--mint-ink); }

/* Wallet X-Ray */
.xr-card.bad::before { background: #D93A1F; } .xr-card.warn::before { background: #D9A21B; } .xr-card.good::before { background: var(--accent); } .xr-card.neutral::before { background: #0B2014; }
.xr-wallet { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: var(--leaf-sm); background: #0B2014; color: #CFEFD6; overflow: hidden; }
.xr-wallet a { color: #7CF08A; }
.xr-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0, rgba(124, 240, 138, 0.0) 40%, rgba(124, 240, 138, 0.35) 50%, transparent 60%); background-size: 250% 100%; animation: xrscan 2.8s linear infinite; }
@keyframes xrscan { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.xr-arch { margin: 2px 0 0; font-family: var(--display); font-size: clamp(40px, 6vw, 64px); line-height: 0.95; font-weight: 700; letter-spacing: -0.04em; }
.xr-card.bad .xr-arch { color: #C42A12; } .xr-card.warn .xr-arch { color: #B07400; } .xr-card.good .xr-arch { color: var(--accent-ink); }
.xr-why { margin: -6px 0 0; color: var(--muted); font-size: 15px; }
.xr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ctag.farmer { background: #B42318; color: #fff; } .ctag.bot { background: #E8EEF9; color: #1E3A8A; } .ctag.exit { background: #FFF3D6; color: #8A5A00; } .ctag.flipper { background: #F1F6F2; color: var(--ink); } .ctag.holder { background: var(--mint); color: var(--mint-ink); }
.xr-pnl { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.xr-pnl b { font-family: var(--display); font-size: clamp(48px, 7vw, 72px); line-height: 0.95; font-weight: 600; letter-spacing: -0.05em; }
.xr-pnl span { font-family: var(--display); font-size: 20px; font-weight: 600; color: #9DB8A6; }
.xr-pnl.good b, .xt-row .good, .wb-row .good { color: var(--accent-ink); } .xr-pnl.bad b, .xt-row .bad, .wb-row .bad, .dr-stats b.bad { color: #C42A12; }
.xr-dna { display: flex; flex-direction: column; gap: 10px; }
.xr-gene { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; }
.xr-gene b { font-family: var(--mono-f); font-size: 13px; text-align: right; }
.xr-bar { position: relative; height: 12px; border-radius: 6px; background: repeating-linear-gradient(90deg, #EAF2EC 0 8px, #F6FAF7 8px 10px); overflow: hidden; }
.xr-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: repeating-linear-gradient(90deg, #9DB8A6 0 8px, rgba(157, 184, 166, 0.6) 8px 10px); animation: grow 0.9s cubic-bezier(.2, .9, .3, 1) both; transform-origin: left; }
.xr-gene.hi .xr-bar i { background: repeating-linear-gradient(90deg, #D93A1F 0 8px, rgba(217, 58, 31, 0.6) 8px 10px); }
@keyframes grow { from { transform: scaleX(0); } }
.xr-card .cb-stats, .xr-card + section .cb-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cb-stats small { font-size: 11px; }
.xt-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) 80px 100px 100px 100px 110px 100px; gap: 12px; align-items: center; padding: 10px 16px; border-radius: var(--leaf); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; text-decoration: none; color: var(--ink); }
a.xt-row:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.xt-row.head { background: none; box-shadow: none; padding: 0 16px; font-family: var(--mono-f); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
.xt-row .tok { display: flex; align-items: center; gap: 10px; min-width: 0; }
.xt-row .nm { font-weight: 700; }
.xt-dead { margin-left: 6px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 6px 2px; background: #FDE8E4; color: #B42318; }
.cw-st.seller { background: #F1F6F2; }

/* Death Row + boards */
.dr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dr-stats div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--leaf); background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); }
.dr-stats span { font-family: var(--mono-f); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dr-stats b { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.dr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.dr-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 54px auto; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: var(--leaf); background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; }
.dr-row:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.dr-row .av { width: 36px; height: 36px; border-radius: 10px 3px; }
.dr-name { display: flex; flex-direction: column; min-width: 0; }
.dr-name b { font-weight: 700; }
.dr-name small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-score { height: 6px; border-radius: 3px; background: #EAF2EC; overflow: hidden; }
.dr-score i { display: block; height: 100%; background: linear-gradient(90deg, #00C805, #D9A21B 55%, #D93A1F); }
.dr-left { font-family: var(--mono-f); font-size: 12.5px; font-weight: 600; padding: 5px 9px; border-radius: var(--leaf-sm); background: #FFF3D6; color: #8A5A00; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dr-row.overtime .dr-left { background: #FDE8E4; color: #B42318; }
.dr-row.dead { opacity: 0.6; }
.dr-row.dead .dr-left { background: #0B2014; color: #F2B8AA; }
.wb-list { display: flex; flex-direction: column; gap: 8px; }
.wb-row { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--leaf-sm); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-size: 13px; background: var(--surface); }
.wb-row:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.wb-row .ctag { flex: none; }
.wb-row > .muted { margin-left: auto; white-space: nowrap; }
.wb-row b { white-space: nowrap; }
.wb-row .ctag + .muted, .wb-row .mono + .muted { margin-left: auto; }
.wb-rank { width: 18px; flex: none; }
.wb-row b { font-family: var(--mono-f); font-weight: 600; }
.wb-rank { font-family: var(--mono-f); font-size: 11px; color: var(--muted); }

/* Death Clock on Launch Tape cards */
.lc-death { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--leaf-sm); background: #FFF8EA; box-shadow: inset 0 0 0 1px #F2DFAE; color: #8A5A00; text-decoration: none; font-size: 12.5px; }
.lc-death b { font-family: var(--mono-f); font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-death small { margin-left: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.lc-death.overtime, .lc-death.dead { background: #FFF4F1; box-shadow: inset 0 0 0 1px #F3D2C8; color: #B42318; }
.lcd-i { display: inline-flex; animation: hg 3s ease-in-out infinite; }
@keyframes hg { 0%, 80% { transform: rotate(0); } 90%, 100% { transform: rotate(180deg); } }

@media (max-width: 760px) {
  .dc-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-twinstats b, .dr-stats b { font-size: 22px; }
  .xr-card .cb-stats, .xr-card + section .cb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xr-gene { grid-template-columns: 96px minmax(0, 1fr) 34px; }
  .dr-list { grid-template-columns: 1fr; }
  .wb-row > .muted { display: none; }
  .wb-row b { margin-left: auto; }
  .xr-quick .btn-primary { margin-left: 0; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .xr-scan, .lcd-i, .xr-bar i { animation: none; } }
.xr-tags, .xr-wallet, .wb-row, .dc-twin { align-items: center; }
.xr-tags .ctag, .xr-wallet .ctag, .wb-row .ctag { align-self: center; line-height: 1.35; }
/* .crew is also the Cabal Map card class; keep crew tags small */
.ctag.crew { display: inline-block; padding: 3px 8px; gap: 0; border-radius: 8px 2px; box-shadow: none; background: #0B2014; color: #7CF08A; text-decoration: none; }
.wb-row .mono { white-space: nowrap; }
.lc-death b { white-space: nowrap; }
/* homepage hook: three lines that stay on one line each on desktop */
.display.xl.hook { font-size: clamp(36px, 4.1vw, 60px); }
.display.xl.hook .hl { display: block; }
@media (min-width: 761px) { .display.xl.hook .hl { white-space: nowrap; } }
@media (max-width: 760px) { .display.xl.hook { font-size: clamp(32px, 9vw, 44px); } }

/* ── LARP Scanner ──────────────────────────────────────────────────────── */
.lp-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-link { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: var(--leaf); background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); min-width: 0; position: relative; }
a.lp-link:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lp-link b { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-k { font-family: var(--mono-f); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lp-link em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px 2px; background: #FFF3D6; color: #8A5A00; }
.lp-link.bad { background: #FFF8F6; box-shadow: inset 0 0 0 1px #F3D2C8; }
.lp-link.bad b { color: #C42A12; }
.lp-link.bad em { background: #D93A1F; color: #fff; }
.lp-link.none { opacity: 0.6; }
.lp-prof { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--leaf); background: #0B2014; color: #CFEFD6; }
.lp-prof-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.lp-prof-h b { color: #fff; }
.lp-prof .muted { color: #8FB59A; }
.lp-bio { margin: 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.lp-prof-s { display: flex; gap: 16px; font-size: 12px; color: #8FB59A; }
.lp-prof-s b { color: #7CF08A; }
.lp-tl { display: flex; flex-direction: column; gap: 6px; }
.lp-tl-row { display: grid; grid-template-columns: 12px auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 12px 7px 10px; border-radius: var(--leaf-sm); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-size: 13px; background: var(--surface); }
.lp-tl-row:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.lp-tl-row.self { box-shadow: 0 0 0 1.5px #D93A1F; background: #FFFBFA; }
.lp-tl-row .av { width: 26px; height: 26px; border-radius: 8px 3px; font-size: 10px; display: grid; place-items: center; background: #F1F6F2; color: var(--accent-ink); font-weight: 800; }
.lp-tl-row > span:nth-child(3) { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.lp-tl-row small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-tl-dot { width: 10px; height: 10px; border-radius: 50%; background: #C9DDCF; }
.lp-tl-dot.first { background: var(--accent); box-shadow: 0 0 0 3px var(--mint); }
.lp-tl-tag { font-family: var(--mono-f); font-size: 10.5px; padding: 2px 7px; border-radius: 6px 2px; background: #F1F6F2; color: var(--muted); white-space: nowrap; }
.lp-tl-row.self .lp-tl-tag { background: #FDE8E4; color: #B42318; }
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.lb-acc { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--leaf-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.lb-acc.famous { box-shadow: 0 0 0 1.5px #E7A99A; }
.lb-head { display: flex; align-items: center; gap: 10px; }
.lb-handle { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-handle:hover { color: var(--accent-ink); }
.lb-acc .cr-stats b.bad { color: #C42A12; }
.lp-row { grid-template-columns: auto minmax(0, 1fr) 0 auto; }
.lp-row .dr-left { background: #FDE8E4; color: #B42318; }
.lp-row.reused .dr-left, .lp-row.tweet .dr-left { background: #FFF3D6; color: #8A5A00; }
.lc-larp { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--leaf-sm); background: #FFF4F1; box-shadow: inset 0 0 0 1px #F3D2C8; color: #B42318; text-decoration: none; font-size: 12.5px; font-weight: 600; }
.lc-larp.reused, .lc-larp.tweet { background: #FFF8EA; box-shadow: inset 0 0 0 1px #F2DFAE; color: #8A5A00; }
.lc-larp i { font-style: normal; font-family: var(--mono-f); font-size: 10px; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 5px 2px; background: currentColor; }
.lc-larp i span { color: #fff; }
@media (max-width: 760px) {
  .lp-links { grid-template-columns: 1fr; }
  .lp-tl-row { grid-template-columns: 12px auto minmax(0, 1fr) auto; }
  .lp-tl-row > small:last-child { display: none; }
}

/* ── Hoodey engine: live scan log ──────────────────────────────────────── */
.agent { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: var(--leaf-xl); background: #0B2014; color: #CFEFD6; box-shadow: 0 30px 60px -40px rgba(11, 32, 20, 0.6); min-height: 300px; }
.ag-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ag-head b { color: #fff; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.ag-label { font-family: var(--mono-f); font-size: 12px; color: #8FB59A; }
.ag-time { margin-left: auto; font-family: var(--mono-f); font-size: 12px; color: #7CF08A; font-variant-numeric: tabular-nums; }
.ag-orb { position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B8FFBF, #00C805 55%, #046B1A); box-shadow: 0 0 18px rgba(0, 200, 5, 0.65); animation: agpulse 1.6s ease-in-out infinite; }
.ag-orb i { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(124, 240, 138, 0.5); border-top-color: transparent; animation: agspin 1.1s linear infinite; }
.ag-orb.sm { width: 14px; height: 14px; }
.ag-orb.sm i { inset: -4px; }
@keyframes agpulse { 50% { transform: scale(0.86); box-shadow: 0 0 8px rgba(0, 200, 5, 0.4); } }
@keyframes agspin { to { transform: rotate(360deg); } }
.ag-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-family: var(--mono-f); font-size: 13px; }
.ag-steps li, .ag-log li { display: flex; gap: 10px; align-items: flex-start; animation: agin 0.25s ease-out both; }
.ag-steps li > i, .ag-log li > i { flex: none; width: 16px; height: 16px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; margin-top: 1px; }
.ag-run span { color: #fff; }
.ag-ok span { color: #8FB59A; }
.ag-ok > i, .ag-good > i { color: #7CF08A; }
.ag-good span { color: #B8FFBF; }
.ag-bad > i { color: #fff; background: #D93A1F; border-radius: 4px; }
.ag-bad span { color: #FFB4A3; }
.ag-info > i { color: #7CF08A; }
.ag-info span { color: #E6F5E9; }
.ag-fail span { color: #FFB4A3; }
.ag-spin { border: 2px solid rgba(124, 240, 138, 0.25); border-top-color: #7CF08A; border-radius: 50%; width: 13px !important; height: 13px !important; animation: agspin 0.7s linear infinite; }
.ag-div { margin: 6px 0 2px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #5E8A6B; border-top: 1px dashed #24452F; padding-top: 10px; }
.ag-scanline { position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(124, 240, 138, 0.06) 70%, rgba(124, 240, 138, 0.18) 100%); animation: agscan 2.4s linear infinite; pointer-events: none; }
@keyframes agscan { from { transform: translateY(-120px); } to { transform: translateY(420px); } }
@keyframes agin { from { opacity: 0; transform: translateY(4px); } }

.ag-after { display: flex; flex-direction: column; gap: 10px; }
.ag-read { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; border-radius: var(--leaf-lg); background: #0B2014; color: #E6F5E9; }
.ag-read-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono-f); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #7CF08A; }
.ag-read p { margin: 0; font-size: 16.5px; line-height: 1.5; min-height: 1.5em; }
.ag-read p.typing::after { content: ''; display: inline-block; width: 8px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #7CF08A; animation: agblink 0.8s steps(1) infinite; }
@keyframes agblink { 50% { opacity: 0; } }
.ag-log { border-radius: var(--leaf-sm); box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.ag-log summary { display: flex; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; font-family: var(--mono-f); font-size: 12px; color: var(--accent-ink); list-style: none; }
.ag-log summary::-webkit-details-marker { display: none; }
.ag-log summary::before { content: '›'; font-weight: 700; transition: transform 0.2s; }
.ag-log[open] summary::before { transform: rotate(90deg); }
.ag-log summary small { color: var(--muted); margin-left: auto; }
.ag-log ol { list-style: none; margin: 0; padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono-f); font-size: 12px; }
.ag-log .ag-ok span, .ag-log .ag-info span { color: var(--muted); }
.ag-log .ag-good span { color: var(--accent-ink); }
.ag-log .ag-bad span { color: #B42318; }
.ag-log .ag-info > i, .ag-log .ag-ok > i, .ag-log .ag-good > i { color: var(--accent); }
@media (max-width: 760px) { .agent { padding: 18px; } .ag-time { margin-left: 0; } .ag-read p { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .ag-orb, .ag-orb i, .ag-spin, .ag-scanline, .ag-steps li { animation: none; } }

/* ── Follow gate ───────────────────────────────────────────────────────── */
.fg-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(11, 32, 20, 0.35); backdrop-filter: blur(6px); animation: fgin 0.25s ease-out; }
.fg { position: relative; width: min(440px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 28px 24px; border-radius: var(--leaf-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(11, 32, 20, 0.5); text-align: center; animation: fgpop 0.35s cubic-bezier(.2, 1.2, .4, 1); }
.fg-mark svg { width: 54px; height: 54px; }
.fg h2 { margin: 2px 0 0; font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.fg h2 b { color: var(--accent-ink); }
.fg p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.fg .btn { width: 100%; min-height: 50px; justify-content: center; font-size: 16px; }
.fg-follow { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.fg-done:disabled { opacity: 0.5; cursor: not-allowed; }
.fg small { font-size: 12px; }
.fg-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.fg-x:hover { background: #F1F6F2; }
@keyframes fgin { from { opacity: 0; } }
@keyframes fgpop { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .fg-wrap, .fg { animation: none; } }

/* ── Official bar: X account + CA ──────────────────────────────────────── */
.official { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 14px 0 0; padding: 10px 16px; border-radius: var(--leaf); background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; }
.of-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono-f); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.of-k i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 200, 5, 0.15); }
.of-x { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 10px 3px; background: #0B2014; color: #F2FFF4; font-weight: 700; text-decoration: none; }
.of-x:hover { background: #123A20; }
.of-ca { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 11px; border-radius: 10px 3px; background: #F6FAF7; box-shadow: inset 0 0 0 1px var(--line); }
.of-ca b { font-family: var(--mono-f); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.of-ca em { font-style: normal; font-weight: 700; padding: 3px 10px; border-radius: 8px 2px; background: #FFF3D6; color: #8A5A00; }
.of-ca code { font-family: var(--mono-f); font-size: 13px; color: var(--ink); }
.of-ca a, .of-copy { font-size: 12px; font-weight: 700; padding: 4px 9px; border: 0; border-radius: 8px 2px; background: var(--mint); color: var(--mint-ink); text-decoration: none; cursor: pointer; font-family: inherit; }
.of-ca.live { box-shadow: inset 0 0 0 1.5px var(--accent); }
.of-warn { margin-left: auto; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .official { margin-top: 10px; } .of-warn { margin-left: 0; flex-basis: 100%; } }

/* page loading bar + live-section loading states */
.loadbar{position:fixed;left:0;right:0;top:0;height:3px;z-index:1000;pointer-events:none;opacity:0;transition:opacity .3s}
.loadbar.on{opacity:1}
.loadbar.done{opacity:0;transition:opacity .35s .15s}
.loadbar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#00C805,#4FD853);box-shadow:0 0 10px rgba(0,200,5,.7),0 0 4px rgba(0,200,5,.9);border-radius:0 2px 2px 0;transition:width .2s ease-out}
.loading-note{display:flex;align-items:center;justify-content:center;gap:10px;padding:28px 16px;font-family:var(--mono, 'DejaVu Sans Mono', monospace);font-size:13px;letter-spacing:.08em;color:var(--muted, #5B6E61)}
.loading-note::before{content:'';width:9px;height:9px;border-radius:50%;background:#00C805;animation:ldpulse 1s ease-in-out infinite}
@keyframes ldpulse{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
@media (prefers-reduced-motion: reduce){.loading-note::before{animation:none}}

/* Copycat Eye: logo / name match tags */
.mtags{display:flex;flex-wrap:wrap;gap:6px}
.mtag{font-family:var(--mono, 'DejaVu Sans Mono', monospace);font-size:11px;letter-spacing:.08em;padding:4px 8px;border-radius:7px 2px;background:var(--track, #EAF2EC);color:var(--muted, #5B6E61)}
.mtag.hot{background:#FFF1EE;color:#B42318;font-weight:700}
.gauge-k{font-weight:600;color:var(--ink)}
