/* Exogeny Hive. Black ground, one amber, IBM Plex: the landing page's language
   carried into a trading board. Heat is amber, cooling is blue, and red is kept
   for one thing: confirmed exploitation. */
:root {
  --bg: #000000;
  --panel: #090908;
  --raise: #121210;
  --line: #222220;
  --line-2: #34342F;
  --fg: #F4F4F1;
  --sub: #C8C8C3;
  --mute: #96968F;
  --faint: #5E5E5A;
  --accent: #F5A524;
  --hot: #F5A524;
  --cool: #6FB2FF;
  /* data marks sit a step darker than text so fills stay calm (validated pair) */
  --mark-hot: #C98209;
  --mark-cool: #3D8BE0;
  --crit: #FF6B5E;
  --font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(16px, 3vw, 40px);
  --r: 3px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---- top bar ---- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  height: 52px; padding: 0 var(--pad);
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand svg { color: var(--accent); flex: none; }
.brand-name { font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; }
.brand-sep { color: var(--faint); }
.brand-sub { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--mute); padding: 6px 0; }
.nav a:hover { color: var(--fg); }
.session { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); white-space: nowrap; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(245, 165, 36, 0.65); animation: pulse 2.4s ease-in-out infinite; }
.session.stale .pulse { background: var(--faint); box-shadow: none; animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---- tape ---- */
.tape { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--panel); height: 34px; }
.tape-track { display: inline-flex; align-items: center; height: 34px; white-space: nowrap; will-change: transform; animation: tape var(--tape-s, 90s) linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 20px; font: 400 12px/1 var(--mono); color: var(--mute); border-right: 1px solid var(--line); height: 14px; }
.tape-item b { font-weight: 500; color: var(--fg); }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- layout ---- */
main { padding: 0 var(--pad) 48px; max-width: 1560px; margin: 0 auto; }
section { margin-top: 20px; }
.intro { margin-top: clamp(28px, 5vw, 56px); margin-bottom: clamp(20px, 3vw, 36px); max-width: 46rem; }
.intro h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.intro p { margin-top: 12px; color: var(--sub); font-size: 16px; line-height: 1.6; text-wrap: pretty; max-width: 40rem; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 20px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.eyebrow { font: 500 11px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub); }
.hint { font: 400 11px/1.3 var(--mono); letter-spacing: 0.02em; color: var(--mute); }
.caption { margin-top: 12px; color: var(--mute); font-size: 13px; line-height: 1.5; max-width: 34rem; text-wrap: pretty; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.index { display: flex; flex-direction: column; }
.index-figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; }
.index-value { font-size: clamp(44px, 6vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.delta { font: 500 14px/1 var(--mono); color: var(--mute); white-space: nowrap; }
.delta.up { color: var(--hot); }
.delta.down { color: var(--cool); }
.chart { position: relative; margin-top: 18px; flex: 1 1 auto; min-height: 190px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart text { font: 400 10.5px var(--mono); fill: var(--mute); }

/* ---- comb ---- */
.comb { display: flex; flex-direction: column; }
.comb-stage { margin-top: 14px; flex: 1 1 auto; display: grid; place-items: center; min-height: 240px; }
.comb-stage svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.comb-stage polygon { cursor: pointer; transition: opacity 120ms ease; }
.comb-stage polygon.on { stroke: var(--fg); stroke-width: 1.5; }
.seg { display: inline-flex; flex: none; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.seg button { background: transparent; border: 0; padding: 6px 11px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: 12px; font: 400 11px/1 var(--mono); color: var(--mute); min-height: 14px; }
.legend .ramp { width: 132px; height: 6px; border-radius: 3px; }
.legend .key { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; }
.legend .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }

/* ---- stat tiles ---- */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--panel); padding: 16px 20px 18px; min-width: 0; }
.stat-label { font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.stat-value { margin-top: 10px; font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.stat-note { margin-top: 8px; font-size: 12px; color: var(--mute); line-height: 1.35; }
.split { display: flex; height: 4px; gap: 2px; margin-top: 12px; }
.split i { display: block; height: 4px; border-radius: 2px; min-width: 2px; }
.split .a { background: var(--mark-hot); }
.split .b { background: var(--line-2); }
.split .c { background: var(--mark-cool); }

/* ---- movers ---- */
.movers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rows { list-style: none; margin: 12px 0 0; padding: 0; }
.rows li { border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; width: 100%; padding: 9px 0; background: none; border: 0; text-align: left; }
.row:hover .row-name { color: var(--fg); }
.row-tick { font: 500 12px/1.3 var(--mono); color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-price { font: 500 12px/1.3 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.row-name { grid-column: 1; font-size: 12.5px; line-height: 1.35; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-delta { font: 400 12px/1.35 var(--mono); text-align: right; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-delta.up { color: var(--hot); }
.row-delta.down { color: var(--cool); }
.empty { padding: 14px 0 4px; color: var(--mute); font-size: 13px; }
.meter { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.meter i { display: block; height: 3px; background: var(--mark-hot); border-radius: 2px; }

/* ---- board ---- */
.board { margin-top: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.005em; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.search { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); color: var(--mute); flex: 1 1 240px; max-width: 360px; }
.search:focus-within { border-color: var(--sub); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 13.5px; color: var(--fg); }
.search input::placeholder { color: var(--mute); }
.chip { height: 34px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sub); white-space: nowrap; }
.chip:hover { border-color: var(--sub); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
select { height: 34px; padding: 0 30px 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2396968F' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 11px center; appearance: none; -webkit-appearance: none; font-size: 13px; color: var(--sub); max-width: 100%; }

.table-wrap { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { position: sticky; top: 0; text-align: left; padding: 0; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel); }
.tbl th button, .tbl th:not(:has(button)) { padding: 12px 14px; }
.tbl th button { background: none; border: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; width: 100%; text-align: inherit; }
.tbl th button:hover { color: var(--fg); }
.tbl th[aria-sort] button { color: var(--fg); }
.tbl th[aria-sort="descending"] button::after { content: " ↓"; color: var(--accent); }
.tbl th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--accent); }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { cursor: pointer; }
.tbl tbody tr:hover { background: var(--raise); }
.tbl .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl th.num { text-align: right; }
.tick { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); color: var(--fg); white-space: nowrap; background: none; border: 0; padding: 0; }
.c-name { width: 44%; }
.name { display: block; max-width: 520px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--fg); }
.sub { display: block; max-width: 520px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mute); font-size: 12px; margin-top: 2px; }
.price { color: var(--fg); font-weight: 500; }
.up { color: var(--hot); }
.down { color: var(--cool); }
.flat { color: var(--faint); }
.flag { display: inline-flex; align-items: center; gap: 4px; height: 17px; padding: 0 5px; border: 1px solid currentColor; border-radius: 2px; font: 500 9.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.flag.kev { color: var(--crit); }
.flag.rw { color: var(--sub); }
.flag.new { color: var(--accent); }
.flag svg { flex: none; }
.c-spark { width: 104px; }
.spark { display: block; }
.more { display: flex; justify-content: center; margin-top: 14px; }
.btn { height: 36px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #000; }
.btn.primary:hover { background: var(--fg); border-color: var(--fg); }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.loading { opacity: 0.45; transition: opacity 120ms ease; }

/* ---- check + agents ---- */
.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.duo .panel { padding: 22px 24px 24px; }
.lede { margin-top: 8px; color: var(--sub); font-size: 14px; line-height: 1.55; max-width: 36rem; text-wrap: pretty; }
.field { margin-top: 16px; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.field-head label { font: 500 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); }
.field-tools { display: inline-flex; align-items: center; gap: 12px; }
.field-tools select { height: 28px; font-size: 12px; }
.link { font: 400 12px/1 var(--mono) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--mute) !important; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--fg) !important; }
textarea { display: block; width: 100%; resize: vertical; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); font: 400 12.5px/1.55 var(--mono); color: var(--fg); min-height: 80px; }
textarea::placeholder { color: var(--faint); }
textarea:focus { outline: 0; border-color: var(--sub); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.verdict { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line-2); border-left-width: 3px; border-radius: var(--r); background: var(--raise); }
.verdict.v-act_now { border-left-color: var(--crit); }
.verdict.v-verify, .verdict.v-schedule { border-left-color: var(--accent); }
.verdict.v-monitor { border-left-color: var(--mark-cool); }
.verdict.v-clear { border-left-color: var(--sub); }
.verdict-word { font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.verdict-text { font-size: 13.5px; color: var(--sub); line-height: 1.45; }
.findings { list-style: none; margin: 12px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); }
.finding { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: start; }
.finding:first-child { border-top: 0; }
.tier { display: inline-flex; align-items: center; justify-content: center; height: 20px; padding: 0 7px; border-radius: 2px; font: 500 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--line-2); color: var(--sub); }
.tier.t-now { background: var(--crit); border-color: var(--crit); color: #000; }
.tier.t-sched { border-color: var(--accent); color: var(--accent); }
.tier.t-mon { color: var(--mute); }
.f-main { min-width: 0; }
.f-id { font: 500 12.5px/1.3 var(--mono); background: none; border: 0; padding: 0; color: var(--fg); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.f-comp { font: 400 12px/1.3 var(--mono); color: var(--mute); margin-left: 8px; overflow-wrap: anywhere; }
.f-title { margin-top: 3px; font-size: 13px; color: var(--sub); line-height: 1.4; overflow-wrap: anywhere; }
.f-act { margin-top: 3px; font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.f-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.f-price { font: 500 14px/1.2 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.f-price small { display: block; font-size: 10.5px; font-weight: 400; color: var(--mute); margin-top: 3px; }
.notes { margin: 12px 0 0; padding-left: 18px; color: var(--mute); font-size: 12.5px; line-height: 1.5; }

.endpoint { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); }
.endpoint-label { font: 500 10.5px/1 var(--mono); letter-spacing: 0.1em; color: var(--accent); }
.endpoint code { flex: 1; min-width: 0; font: 400 13px/1.3 var(--mono); overflow-wrap: anywhere; }
.copy { flex: none; background: none; border: 0; padding: 4px 2px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.copy:hover { color: var(--fg); }
.tabs { display: flex; gap: 18px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 8px 0; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.snip { position: relative; margin-top: 12px; }
.snip pre { margin: 0; padding: 12px 56px 12px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); overflow-x: auto; }
.snip code { font: 400 12.5px/1.6 var(--mono); color: var(--sub); white-space: pre; }
.snip .copy { position: absolute; top: 9px; right: 10px; }
.tools { margin: 20px 0 0; }
.tools div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.tools dt { font: 500 12px/1.4 var(--mono); color: var(--fg); }
.tools dd { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.4; }
.links { display: flex; gap: 18px; margin-top: 16px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.links a { color: var(--sub); }

/* ---- method ---- */
.method { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 18px; }
.method p { color: var(--sub); font-size: 14px; line-height: 1.6; margin-top: 12px; text-wrap: pretty; }
.method h3 { font: 500 11px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub); }
.formula { font: 400 17px/1.4 var(--mono) !important; color: var(--fg) !important; margin-top: 0 !important; }
.formula span { color: var(--accent); }
.tiers, .sources { list-style: none; margin: 14px 0 0; padding: 0; }
.tiers li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); line-height: 1.45; align-items: start; }
.tiers li:first-child, .sources li:first-child { border-top: 0; }
.sources li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.fine { font-size: 12px !important; color: var(--mute) !important; line-height: 1.5 !important; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px var(--pad) 28px; border-top: 1px solid var(--line); font: 400 11.5px/1.4 var(--mono); color: var(--mute); max-width: 1560px; margin: 0 auto; }

/* ---- drawer ---- */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 30; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); z-index: 31; background: var(--panel); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; animation: slide 180ms ease-out; }
/* transform only: if a frame is ever dropped the quote is still readable */
@keyframes slide { from { transform: translateX(28px); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 20px 0 24px; border-bottom: 1px solid var(--line); flex: none; font-size: 13px; color: var(--sub); }
.icon { display: inline-grid; place-items: center; width: 32px; height: 32px; background: none; border: 0; color: var(--mute); border-radius: var(--r); }
.icon:hover { color: var(--fg); background: var(--raise); }
.drawer-body { overflow-y: auto; padding: 22px 24px 40px; overscroll-behavior: contain; }
.q-title { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; text-wrap: balance; overflow-wrap: anywhere; }
.q-sub { margin-top: 6px; color: var(--mute); font-size: 13px; }
.q-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.q-figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; }
.q-price { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.q-deltas { display: flex; gap: 16px; font: 400 12px/1 var(--mono); color: var(--mute); }
.q-deltas b { font-weight: 500; margin-left: 5px; }
.q-chart { height: 170px; margin-top: 16px; }
.q-h { margin-top: 26px; font: 500 11px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sub); }
.q-p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--sub); overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 8px; }
.kv > * { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.kv > :nth-child(-n + 2) { border-top: 0; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 12.5px; color: var(--fg); overflow-wrap: anywhere; padding-left: 16px; }
.kv .total { color: var(--fg); font-weight: 500; }
.aff { list-style: none; margin: 8px 0 0; padding: 0; }
.aff li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.aff li:first-child { border-top: 0; }
.aff b { font-weight: 500; }
.aff span { display: block; margin-top: 2px; font: 400 12px/1.45 var(--mono); color: var(--mute); overflow-wrap: anywhere; }
.aff em { font-style: normal; font: 400 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-left: 8px; }
.refs { list-style: none; margin: 8px 0 0; padding: 0; }
.refs li { padding: 5px 0; font: 400 12px/1.45 var(--mono); overflow-wrap: anywhere; }
.refs a { color: var(--sub); }
.q-note { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 12.5px; color: var(--sub); line-height: 1.5; }

/* ---- tooltip ---- */
.tip { position: fixed; z-index: 40; pointer-events: none; max-width: 280px; padding: 9px 11px; background: #1A1A18; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6); font-size: 12px; line-height: 1.4; }
.tip-v { font: 500 13px/1.2 var(--mono); color: var(--fg); }
.tip-l { margin-top: 3px; color: var(--sub); overflow-wrap: anywhere; }
.tip-m { margin-top: 3px; font: 400 11px/1.3 var(--mono); color: var(--mute); }
.noscript { padding: 24px var(--pad); color: var(--sub); }

/* ---- responsive ---- */
@media (max-width: 1180px) {
  .movers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .method-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .method-grid > :first-child { grid-column: 1 / -1; }
  .hide-m { display: none; }
}
@media (max-width: 900px) {
  .hero, .duo { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .c-name { width: auto; }
  .name, .sub { max-width: 46vw; }
}
@media (max-width: 640px) {
  .movers, .method-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hide-s { display: none; }
  .tbl td, .tbl th button, .tbl th:not(:has(button)) { padding-left: 10px; padding-right: 10px; }
  .name, .sub { max-width: 38vw; }
  .panel { padding: 16px; }
  .duo .panel { padding: 18px 16px 20px; }
  .finding { grid-template-columns: minmax(0, 1fr) auto; }
  .finding .tier { grid-column: 1 / -1; justify-self: start; }
  .tools div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .session { font-size: 11px; }
  .brand-name { letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse, .drawer { animation: none; }
  .tape-track { animation: none; }
  .tape { overflow-x: auto; }
}
