:root {
  --red: #E31837;
  --red-dim: rgba(227, 24, 55, 0.14);
  --navy: #07101c;
  --navy-2: #0b1626;
  --card: #101a2b;
  --card-2: #152033;
  --line: rgba(232, 236, 244, 0.08);
  --line-strong: rgba(232, 236, 244, 0.16);
  --text: #e8edf5;
  --muted: #8b95a8;
  --gold: #d4b483;
  --good: #3dd68c;
  --bad: #ff6b7a;
  --warn: #f0b429;
  --info: #6ea8fe;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --sans: "Instrument Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --ticker-h: 38px;
  --leave-h: 46px;
  --pnl-h: 128px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(227, 24, 55, 0.16), transparent 50%),
    radial-gradient(900px 500px at -10% 20%, rgba(20, 48, 90, 0.45), transparent 45%),
    linear-gradient(180deg, #060b14 0%, var(--navy) 40%, #08101b 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.011em;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.funnel-mark {
  position: fixed; right: -40px; top: 80px; width: 420px; height: 340px;
  fill: none; stroke: rgba(227, 24, 55, 0.09); stroke-width: 3; pointer-events: none; z-index: 0;
}

header, nav, main, .kpis, footer, .bad-ticker { position: relative; z-index: 1; }
a { color: inherit; }

/* Affiliate exit banner — full-width red bar above the bad-news tape */
.leave-banner {
  position: sticky; top: 0; z-index: 41;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 16px;
  min-height: var(--leave-h);
  padding: 8px 20px;
  background: linear-gradient(90deg, #2a0710 0%, #8b1020 42%, #e31837 100%);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 180, 131, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  font-weight: 600;
  font-size: 15px;
}
.leave-banner:hover,
.leave-banner:focus-visible {
  filter: brightness(1.06);
  outline: none;
  text-decoration: none;
}
.leave-banner-kicker {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
.leave-banner-copy.short { display: none; }
.leave-banner-cta {
  background: #fff;
  color: #8b1020;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.leave-banner:hover .leave-banner-cta { background: var(--gold); color: #2a0710; }

@media (max-width: 860px) {
  .leave-banner { gap: 8px 12px; padding: 8px 12px; font-size: 14px; }
  .leave-banner-copy.long { display: none; }
  .leave-banner-copy.short { display: inline; }
}
@media (max-width: 480px) {
  :root { --leave-h: 44px; }
  .leave-banner { min-height: var(--leave-h); padding: 7px 10px; font-size: 13px; }
  .leave-banner-kicker { font-size: 10px; letter-spacing: 0.1em; }
  .leave-banner-cta { padding: 5px 10px; font-size: 11px; }
}


.mast {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 36px 48px 22px; max-width: 1440px; margin: 0 auto;
}
.mast-left { display: flex; gap: 22px; align-items: center; }
.logo { height: 64px; width: auto; border-radius: 6px; background: #fff; padding: 6px 10px; }
.eyebrow {
  margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 11px; color: var(--gold); font-weight: 600;
}
h1 {
  margin: 0; font-family: var(--serif); font-weight: 560; font-size: 34px;
  letter-spacing: -0.03em; line-height: 1.05;
}
.sub { margin: 8px 0 0; color: var(--muted); max-width: 520px; }
.mast-right { text-align: right; }
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); background: rgba(16, 26, 43, 0.8);
  padding: 7px 12px; border-radius: 999px; font-size: 12px; letter-spacing: 0.04em;
}
.live-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.15); }
.live-chip.live .dot { background: var(--good); box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.16); }
.live-chip.blocked .dot { background: var(--muted); box-shadow: none; }
.asof { margin-top: 8px; color: var(--muted); font-size: 12px; }

.sticky-nav {
  position: sticky; top: calc(var(--leave-h, 46px) + var(--pnl-h, 108px) + var(--ticker-h, 38px)); z-index: 20;
  display: flex; gap: 6px; padding: 10px 48px;
  background: rgba(7, 16, 28, 0.82); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sticky-nav a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 12px; border-radius: 8px;
}
.sticky-nav a:hover, .sticky-nav a.active { color: var(--text); background: var(--red-dim); }

.kpis {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px; padding: 22px 48px 8px; max-width: 1440px; margin: 0 auto;
}
.kpi {
  background: linear-gradient(180deg, var(--card) 0%, #0d1726 100%);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px;
  box-shadow: var(--shadow); min-width: 0; position: relative; overflow: hidden;
}
.kpi::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red);
}
.kpi .lab { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.kpi .val { font-family: var(--serif); font-size: 26px; margin: 6px 0 2px; letter-spacing: -0.03em; }
.kpi .hint { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up { color: var(--good); } .down { color: var(--bad); }

main { max-width: 1440px; margin: 0 auto; padding: 8px 48px 80px; }
.panel { padding: 48px 0 16px; border-top: 1px solid var(--line); }
.section-head { max-width: 860px; margin-bottom: 28px; }
.kicker { margin: 0 0 8px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
h2 { margin: 0; font-family: var(--serif); font-size: 36px; letter-spacing: -0.03em; line-height: 1.1; font-weight: 560; }
.lede { color: var(--muted); margin: 12px 0 0; font-size: 16px; }
.lede em { color: var(--text); font-style: normal; font-weight: 600; }
code { font-size: 12px; color: var(--gold); }

.thesis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.thesis {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 24px 20px; min-height: 210px;
}
.thesis .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 999px; margin-bottom: 10px;
}
.tag.bad { background: rgba(255, 107, 122, 0.12); color: var(--bad); }
.tag.good { background: rgba(61, 214, 140, 0.12); color: var(--good); }
.tag.warn { background: rgba(240, 180, 41, 0.12); color: var(--warn); }
.tag.info { background: rgba(110, 168, 254, 0.12); color: var(--info); }
.thesis h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 24px; letter-spacing: -0.02em; }
.thesis p { margin: 0; color: var(--muted); }
.thesis .statline { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.thesis .statline div { min-width: 90px; }
.thesis .statline b { display: block; font-family: var(--serif); font-size: 22px; color: var(--text); }
.thesis .statline span { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.ops-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.ops {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.ops b { display: block; font-family: var(--serif); font-size: 22px; }
.ops span { color: var(--muted); font-size: 12px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; margin-top: 16px;
}
.card h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.muted { color: var(--muted); } .muted.tight { margin: 0 0 14px; font-size: 13px; }
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.chart-card + .chart-card { margin-top: 16px; }
.chart-wrap { position: relative; width: 100%; }
.chart-wrap.tall { height: 360px; } .chart-wrap.mid { height: 260px; }
.chart-toggles { display: flex; gap: 14px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.chart-toggles label { cursor: pointer; }
.value-charts { margin-top: 4px; }
#value-table { margin-top: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#value-table table.data tr { cursor: default; }
#value-table table.data tr:hover td { background: transparent; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.meta-list { list-style: none; margin: 12px 0 0; padding: 0; }
.meta-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta-list span { color: var(--muted); }
.meta-list b { font-weight: 600; }

.filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filters.wrap { align-items: end; }
.filters label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
select {
  background: #0b1422; color: var(--text); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 8px 10px; font: inherit; min-width: 140px;
}
.chip {
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 7px 12px; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer;
}
.chip.on { background: var(--red); color: #fff; border-color: var(--red); }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.news {
  display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px; transition: border-color 0.15s, transform 0.15s;
}
.news:hover { border-color: rgba(227, 24, 55, 0.45); transform: translateY(-1px); }
.news-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.pill {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px;
}
.pill.negative { background: rgba(255, 107, 122, 0.14); color: var(--bad); }
.pill.positive { background: rgba(61, 214, 140, 0.14); color: var(--good); }
.pill.neutral { background: rgba(110, 168, 254, 0.14); color: var(--info); }
.pill.high, .pill.medium-high { background: rgba(227, 24, 55, 0.18); color: #ff8b96; }
.pill.medium { background: rgba(240, 180, 41, 0.14); color: var(--warn); }
.pill.low-medium { background: rgba(139, 149, 168, 0.16); color: var(--muted); }
.news time { color: var(--muted); font-size: 12px; margin-left: auto; }
.news h4 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.015em; }
.news p { margin: 0; color: var(--muted); font-size: 13px; }
.news .ship { margin-top: 10px; color: var(--gold); font-size: 12px; }

.incident-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.incident {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.incident h4 { margin: 8px 0; font-family: var(--serif); font-size: 20px; letter-spacing: -0.02em; }
.incident p { margin: 0; color: var(--muted); font-size: 13px; }
.incident a { color: var(--gold); font-size: 12px; display: inline-block; margin-top: 10px; }

.verdict {
  background: linear-gradient(180deg, rgba(61, 214, 140, 0.08), var(--card));
  border: 1px solid rgba(61, 214, 140, 0.22); border-radius: 18px; padding: 20px 24px; margin-bottom: 8px;
}
.verdict h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 24px; }
.verdict p { margin: 0; color: var(--muted); }

table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th {
  text-align: left; color: var(--muted); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; padding: 8px 8px; border-bottom: 1px solid var(--line-strong);
  position: sticky; top: 0; background: var(--card);
}
table.data td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr { cursor: pointer; }
table.data tr:hover td { background: rgba(227, 24, 55, 0.06); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.sold { color: var(--gold); }
.table-scroll { max-height: 560px; overflow: auto; margin-top: 10px; }

.promo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.promo { background: #0c1626; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.promo b { display: block; margin-bottom: 6px; }
.promo span { display: block; color: var(--muted); font-size: 12px; }

.foot {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 48px 48px; max-width: 1440px; margin: 0 auto;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}
.foot-logo { height: 42px; width: auto; opacity: 0.85; background: #fff; border-radius: 4px; padding: 4px 8px; }
.tiny { font-size: 12px; opacity: 0.8; }

@media (max-width: 1200px) {
  .kpis, .ops-row, .promo-grid { grid-template-columns: repeat(3, 1fr); }
  .incident-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mast, .sticky-nav, main, .kpis, .foot { padding-left: 16px; padding-right: 16px; }
  .kpis, .ops-row, .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thesis-grid, .split-2, .split-3, .news-grid, .incident-grid { grid-template-columns: 1fr; }
  .logo { height: 40px; }
  h1 { font-size: 24px; } h2 { font-size: 26px; }
}

/* Tabs — JS showTab toggles .on. Without this, preventDefault nav would not hide other panels. */
main > .panel { display: none; }
main > .panel.on { display: block; }
.sticky-nav a { cursor: pointer; }

/* High-margin emphasis */
.kpi.gold::before { background: var(--gold); }
.kpi.warn::before { background: var(--warn); }
.kpi.good::before { background: var(--good); }
.val.gold { color: var(--gold); }

.flag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.flag.sold { background: rgba(255, 107, 122, 0.16); color: var(--bad); }
.flag.open { background: rgba(61, 214, 140, 0.14); color: var(--good); }
.flag.missing { background: rgba(139, 149, 168, 0.16); color: var(--muted); }
.flag.note { background: rgba(212, 180, 131, 0.14); color: var(--gold); }

table.data td.hero { color: var(--gold); font-weight: 650; font-size: 14px; }
table.data td.cmp { color: var(--muted); }
.flags { display: flex; flex-wrap: wrap; gap: 4px; }

.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.brand-card {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.brand-card b { display: block; font-size: 14px; }
.brand-card span { color: var(--muted); font-size: 12px; }

.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.earn {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.earn h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 20px; }
.earn p { margin: 0; color: var(--muted); font-size: 13px; }
.earn a { color: var(--gold); font-size: 12px; }

.unverified { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.unverified li { margin: 4px 0; }

.ta-box {
  background: rgba(240, 180, 41, 0.06);
  border: 1px solid rgba(240, 180, 41, 0.22);
  border-radius: 16px; padding: 16px 18px; margin-top: 16px;
}
.ta-box h3 { margin: 0 0 8px; }
.ta-box p { margin: 0; color: var(--muted); font-size: 13px; }
.ta-box a { color: var(--gold); }

.loading, .boot-err { padding: 48px; text-align: center; color: var(--muted); }
.boot-err { color: var(--bad); }

.peer-table td, .peer-table th { white-space: nowrap; }

.legend-row { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

.note-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.note-list li { margin: 6px 0; }

.verdict.warn {
  background: linear-gradient(180deg, rgba(240, 180, 41, 0.08), var(--card));
  border-color: rgba(240, 180, 41, 0.22);
}

@media (max-width: 1200px) {
  .brand-grid, .earn-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .brand-grid, .earn-grid { grid-template-columns: 1fr; }
}


.fight-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
.player-frame { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.player-frame iframe, .player-frame .empty-vid { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; color: var(--muted); display: flex; align-items: center; justify-content: center; padding: 18px; }
.fight-list { display: flex; flex-direction: column; gap: 8px; max-height: 640px; overflow: auto; }
.fight-item { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); cursor: pointer; display: flex; flex-direction: column; gap: 4px; font: inherit; }
.fight-item.on { border-color: var(--red); background: var(--red-dim); }
.fight-item .muted { font-size: 12px; }
@media (max-width: 860px) { .fight-layout { grid-template-columns: 1fr; } }


table.data th.hero { color: var(--gold); }

.book-kpis {
  padding-left: 0; padding-right: 0; max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
}

.si-kpis {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin: 12px 0 16px;
}
.read-line {
  margin: 0 0 8px; font-family: var(--serif); font-size: 22px;
  letter-spacing: -0.02em; color: var(--text);
}

.video-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.fight {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 14px 16px; min-width: 0;
}
.fight h4 { margin: 8px 0 6px; font-size: 16px; letter-spacing: -0.015em; }
.fight p { margin: 0; color: var(--muted); font-size: 13px; }
.fight .ship { margin-top: 8px; color: var(--gold); font-size: 12px; }
.fight-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #05080e; border-radius: 10px; overflow: hidden;
  margin-bottom: 10px; border: 1px solid var(--line);
}
.fight-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fight-offyt {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 18px; height: 100%; color: var(--muted); font-size: 13px;
}
.fight-offyt a { color: var(--gold); }
.novid {
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.novid h4 { margin: 6px 0; font-size: 15px; }
.novid p { margin: 0; color: var(--muted); font-size: 13px; }
.novid .why { color: var(--warn); font-size: 12px; margin-top: 6px; }

@media (max-width: 1200px) {
  .si-kpis, .book-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; }
  .si-kpis, .book-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.fight a { color: var(--gold); font-size: 12px; display: inline-block; margin-top: 8px; }
.novid a { color: var(--gold); font-size: 12px; display: inline-block; margin-top: 6px; }


.exec-group { margin-top: 28px; }
.exec-group:first-child { margin-top: 0; }
.exec-group h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.exec-group .muted.tight { margin-bottom: 12px; }
.exec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.exec-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; min-width: 0;
}
.exec-card h4 { margin: 6px 0 4px; font-family: var(--serif); font-size: 20px; letter-spacing: -0.02em; }
.exec-card .role { color: var(--gold); font-size: 13px; font-weight: 600; }
.exec-card .reports { color: var(--muted); font-size: 12px; margin: 4px 0 8px; }
.exec-card p { margin: 0; color: var(--muted); font-size: 13px; }
.exec-card a { color: var(--gold); font-size: 12px; display: inline-block; margin-top: 10px; }
.exec-card .since { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 1200px) { .exec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .exec-grid { grid-template-columns: 1fr; } }

.exec-card .exec-src {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px; margin-bottom: 6px;
  background: rgba(212, 180, 131, 0.14); color: var(--gold);
}


.my-short-card {
  border-color: rgba(212, 180, 131, 0.28);
  background: linear-gradient(180deg, rgba(212, 180, 131, 0.06), var(--card));
}
.my-short-card[hidden] { display: none; }
.kpi.mine::before { background: var(--gold); }
.my-short-fills { margin-top: 8px; }
.my-short-fills table.data tr { cursor: default; }


/* Bad-news stock tape — top of page, above the mast */
.bad-ticker {
  position: sticky; top: calc(var(--leave-h, 46px) + var(--pnl-h, 108px)); z-index: 40;
  display: flex; align-items: stretch;
  height: var(--ticker-h);
  background: #05080e;
  border-bottom: 1px solid rgba(227, 24, 55, 0.55);
  box-shadow: 0 1px 0 rgba(212, 180, 131, 0.18);
  overflow: hidden;
  font-family: var(--sans);
}
.bad-ticker-label {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: var(--red);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 8px 0 16px rgba(5, 8, 14, 0.45);
}
.bad-ticker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 180, 131, 0.28);
  animation: ticker-pulse 1.6s ease-in-out infinite;
}
.bad-ticker-track {
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; display: flex; align-items: center;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent);
}
.bad-ticker-tape {
  display: flex; align-items: center;
  width: max-content;
  animation: ticker-scroll 80s linear infinite;
  will-change: transform;
}
.bad-ticker:hover .bad-ticker-tape,
.bad-ticker:focus-within .bad-ticker-tape {
  animation-play-state: paused;
}
.bad-ticker-tape a {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 0 28px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
  border-right: 1px solid var(--line-strong);
}
.bad-ticker-tape a:hover,
.bad-ticker-tape a:focus-visible {
  color: var(--gold);
  outline: none;
}
.bad-ticker-tape time {
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  font-family: var(--sans);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes ticker-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .bad-ticker-tape { animation: none; }
  .bad-ticker-dot { animation: none; }
  .bad-ticker-track { overflow-x: auto; }
}
@media (max-width: 860px) {
  .bad-ticker-label { letter-spacing: 0.1em; padding: 0 10px; font-size: 10px; }
  .bad-ticker-tape a { padding: 0 18px; font-size: 12px; }
}

/* ===== Mobile layout — desktop (>1200px) unchanged ===== */

/* Constrain media / charts so they cannot force a page-wide x-scroll */
img, video, iframe { max-width: 100%; }
.logo, .foot-logo { width: auto; }
.mast, .mast-left, .mast-titles, .mast-right,
.kpis, main, .card, .chart-card, .chart-wrap,
.split-2, .split-3, .thesis-grid, .news-grid, .incident-grid,
.exec-grid, .video-grid, .promo-grid, .ops-row, .foot {
  min-width: 0;
  max-width: 100%;
}
.chart-wrap { overflow: hidden; }
.chart-wrap canvas { display: block; max-width: 100%; }

/* Tables scroll inside the card, not the page */
.table-scroll,
.card,
#vsp-table, #outbreak-table, #floor-table, #peer-table, #value-table, #my-short-fills {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Sticky tab bar: one row, finger-scroll, ~44px targets */
.sticky-nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.sticky-nav::-webkit-scrollbar { height: 0; display: none; }
.sticky-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
}

/* Ticker is viewport-wide, never a 1200px strip */
.bad-ticker {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.bad-ticker-tape { max-width: none; }

@media (max-width: 1200px) {
  .funnel-mark { opacity: 0.4; width: 280px; right: -80px; }
}

@media (max-width: 860px) {
  .funnel-mark { display: none; }

  .mast {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .mast-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }
  .mast-titles { width: 100%; }
  .mast-right { text-align: left; }

  .eyebrow {
    letter-spacing: 0.08em;
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  h1 {
    overflow-wrap: break-word;
    line-height: 1.15;
  }
  .sub { max-width: none; }

  .sticky-nav { padding-top: 6px; padding-bottom: 6px; gap: 4px; }

  .panel { padding-top: 28px; }
  h2 { overflow-wrap: break-word; }
  .lede { font-size: 15px; }

  .card-top { flex-wrap: wrap; }
  .chart-toggles { flex-wrap: wrap; }
  .chart-wrap.tall { height: 240px; }
  .chart-wrap.mid { height: 220px; }

  .kpi .val { font-size: 22px; }
  .kpi .hint { white-space: normal; }

  .thesis { min-height: 0; padding: 18px; }
  .thesis h3 { font-size: 20px; }

  .chip {
    min-height: 44px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
  }
  select {
    min-height: 44px;
    min-width: 0;
    width: 100%;
  }
  .filters label { flex: 1 1 140px; min-width: 0; }
  .filters.wrap { width: 100%; }

  .foot {
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .read-line { font-size: 18px; overflow-wrap: break-word; }
  .verdict h3, .earn h4, .incident h4, .exec-card h4 { overflow-wrap: break-word; }

  .fight-item { min-height: 44px; }

  .bad-ticker-label { letter-spacing: 0.08em; padding: 0 10px; font-size: 10px; }
  .bad-ticker-tape a { padding: 0 16px; font-size: 12px; }
}

/* Phones 360–430px (and up to 480) */
@media (max-width: 480px) {
  :root { --ticker-h: 36px; }

  body { font-size: 14px; }
  .mast, .sticky-nav, main, .kpis, .foot { padding-left: 12px; padding-right: 12px; }

  .logo { height: 36px; padding: 4px 8px; }
  .foot-logo { height: 32px; }

  h1 { font-size: 22px; letter-spacing: -0.02em; }
  h2 { font-size: 22px; }
  .thesis h3 { font-size: 18px; }
  .exec-group h3 { font-size: 18px; }

  .kpis, .ops-row, .si-kpis, .book-kpis, .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .kpis { padding-top: 14px; }
  .kpi { padding: 12px 10px 10px; }
  .kpi .val { font-size: 20px; }
  .kpi .lab { font-size: 10px; letter-spacing: 0.08em; }

  .filters { gap: 8px; }
  .filters.wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .filters.wrap label { flex: none; }

  .chart-wrap.tall { height: 220px; }
  .chart-wrap.mid { height: 200px; }

  .bad-ticker-label {
    letter-spacing: 0.06em;
    padding: 0 8px;
    font-size: 9px;
  }
  .bad-ticker-tape a {
    padding: 0 12px;
    font-size: 12px;
    gap: 6px;
    min-height: var(--ticker-h);
    align-items: center;
  }
  .bad-ticker-tape time { font-size: 10px; }
}


/* Personal short P&L banner */
.pnl-banner {
  position: sticky; top: var(--leave-h, 46px); z-index: 40;
  background: linear-gradient(180deg, #14100a 0%, #1c160c 100%);
  border-bottom: 1px solid rgba(212, 180, 131, 0.45);
  color: var(--text);
}
.pnl-banner-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 14px 48px 16px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
}
.pnl-kicker {
  margin: 0; width: 100%;
  color: var(--gold); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.pnl-money {
  margin: 0; font-family: var(--serif); font-weight: 700;
  font-size: 52px; letter-spacing: -0.04em; line-height: 1;
}
.pnl-banner.up .pnl-money { color: var(--good); }
.pnl-banner.down .pnl-money { color: var(--bad); }
.pnl-meta, .pnl-market {
  margin: 0; color: var(--muted); font-size: 14px; max-width: 920px;
}
.pnl-market { width: 100%; font-size: 13px; }
@media (max-width: 860px) {
  :root { --pnl-h: 168px; }
  .pnl-banner-inner { padding: 12px 16px 14px; }
  .pnl-money { font-size: 36px; }
}
@media (max-width: 480px) {
  :root { --pnl-h: 196px; }
  .pnl-banner-inner { padding: 10px 12px 12px; }
  .pnl-money { font-size: 32px; }
  .pnl-meta, .pnl-market { font-size: 12px; }
}
