@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --gray-50: #f6f6f6;
  --gray-100: #ebebeb;
  --gray-200: #d6d6d6;
  --gray-300: #b0b0b0;
  --gray-400: #888888;
  --gray-500: #6d6d6d;
  --gray-600: #505050;
  --gray-700: #383838;
  --gray-800: #282828;
  --accent: #e8390e;
  --accent-bg: #fef1ee;
  --blue: #0969da;
  --blue-bg: #ddf4ff;
  --amber: #9a6700;
  --amber-bg: #fff8c5;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Geist", -apple-system, sans-serif;
  --font-mono: "Geist Mono", monospace;
  --bg: var(--white);
  --card: var(--white);
  --ink: var(--black);
  --muted: var(--gray-500);
  --line: var(--gray-100);
  --red: var(--accent);
  --red-bg: var(--accent-bg);
  --green: #1a7f37;
  --green-bg: #dafbe1;
  --pill-active-bg: var(--black);
  --pill-active-ink: var(--white);
  --mono: var(--font-mono);
  --sans: var(--font-body);
  --status-strengthening: var(--green);
  --status-strengthening-bg: var(--green-bg);
  --status-alive: var(--blue);
  --status-alive-bg: var(--blue-bg);
  --status-weakening: var(--amber);
  --status-weakening-bg: var(--amber-bg);
  --status-falsified: var(--accent);
  --status-falsified-bg: var(--accent-bg);
  --status-indeterminate: var(--gray-600);
  --status-indeterminate-bg: var(--gray-100);
}

::selection { background: #fef1ee; color: #e8390e; }

[data-theme="dark"] {
  --bg: #171613;
  --card: #201f1b;
  --ink: #ece8de;
  --muted: #8a857a;
  --line: #32302a;
  --red: #ef6b5e;
  --red-bg: #3a221f;
  --green: #5fc07a;
  --green-bg: #1e3220;
  --pill-active-bg: #ece8de;
  --pill-active-ink: #171613;
  --status-strengthening: #6bd3a8;
  --status-strengthening-bg: #19372d;
  --status-alive: #82b5ef;
  --status-alive-bg: #1d3045;
  --status-weakening: #efb65e;
  --status-weakening-bg: #3b2d18;
  --status-falsified: #ef8178;
  --status-falsified-bg: #40211f;
  --status-indeterminate: #c0add9;
  --status-indeterminate-bg: #302839;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { max-width: 640px; margin: 0 auto; padding: 20px 20px 60px; }

/* header */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0 26px;
}
.wordmark { font-family: var(--mono); font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: -0.02em; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right a { text-decoration: none; color: var(--muted); font-size: 13px; }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 14px; color: var(--muted); padding: 2px; }

.demo-banner {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 6px;
  padding: 6px 10px; margin-bottom: 22px;
}

/* headline */
h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
h1 .date { font-weight: 400; color: var(--muted); }
.updated { color: var(--muted); font-size: 12px; margin-top: 2px; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-left: 6px; vertical-align: 2px; }

/* filters */
.filters { display: flex; gap: 8px; margin: 18px 0 16px; flex-wrap: wrap; }
.creator-filter-block { margin: 22px 0 4px; }
.creator-filter-label {
  margin-bottom: 8px; color: var(--muted); font-family: var(--mono);
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
}
.creator-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.creator-tab { padding: 5px 9px; }
.creator-tab-sealed { border-style: dashed; }
.creator-tab-sealed.active { border-style: solid; }
.pill {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; text-decoration: none; font-family: inherit;
}
.pill.active { background: var(--pill-active-bg); color: var(--pill-active-ink); border-color: var(--pill-active-bg); }
.pill .count { color: inherit; opacity: 0.6; }
.filters .spacer { flex: 1; }

/* trade cards */
.board { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; }
.rank { width: 16px; text-align: right; color: var(--muted); font-family: var(--mono); font-size: 12px; flex-shrink: 0; }
.card {
  flex: 1;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: transform 0.06s ease;
}
.card:hover { transform: none; border-color: var(--black); }
.card .avatar {
  width: 30px; height: 30px; border-radius: 7px; background: var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted); flex-shrink: 0;
}
.card .mid { flex: 1; min-width: 0; }
.card .line1 { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ticker { font-weight: 700; font-family: var(--mono); font-size: 14px; }
.badge {
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; letter-spacing: 0.03em;
}
.badge.short { color: var(--red); background: var(--red-bg); }
.badge.long { color: var(--green); background: var(--green-bg); }
.badge.lev { color: var(--green); background: var(--green-bg); }
.card .line2 {
  color: var(--muted); font-size: 12px; margin-top: 4px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.speaker-chip {
  display: inline-flex; padding: 1px 5px; border: 1px solid var(--line);
  border-radius: 3px; color: var(--ink); background: var(--gray-50);
  font-family: var(--mono); font-size: 9px; line-height: 1.35;
}
.pnl {
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  padding: 3px 8px; border-radius: 6px; flex-shrink: 0;
}
.pnl.up { color: var(--green); background: var(--green-bg); }
.pnl.down { color: var(--red); background: var(--red-bg); }
.trade-capsule-status { min-height: 18px; padding: 2px 5px; font-size: 8px; letter-spacing: .04em; }

.footnote { color: var(--muted); font-size: 12px; margin-top: 18px; }
.applink { display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: 13px; }
.empty { color: var(--muted); padding: 30px 0; text-align: center; }

/* ---- detail page ---- */
.back { font-family: var(--mono); font-size: 12px; text-decoration: none; color: var(--muted); letter-spacing: 0.05em; }

.source-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; margin-top: 18px;
}
.source-head { display: flex; align-items: baseline; gap: 8px; }
.source-head .handle { font-weight: 700; }
.source-head .meta { color: var(--muted); font-size: 12px; }
.source-text { margin-top: 10px; font-size: 15px; line-height: 1.55; }

.trade-strip {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; margin-top: 10px;
  font-family: var(--mono); font-size: 13px;
}
.trade-strip .quote { color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--sans); font-style: italic; }

.section-rule {
  display: flex; align-items: center; gap: 12px; margin: 30px 0 18px;
  color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
}
.section-rule::before, .section-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.idea-label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 8px; }
.idea-quote { font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.idea-attr { color: var(--muted); font-size: 13px; margin-top: 6px; }
.idea-thesis { margin-top: 14px; font-size: 15px; line-height: 1.6; }

.price-block {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; margin-top: 22px;
}
.price-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; }
.price-big { font-family: var(--mono); font-size: 30px; font-weight: 700; margin-top: 10px; letter-spacing: -0.02em; }
.price-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.chart { width: 100%; height: 120px; margin-top: 14px; }

.cta {
  display: block; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 700;
  background: var(--pill-active-bg); color: var(--pill-active-ink);
  border-radius: 8px; padding: 12px; margin-top: 18px; text-decoration: none;
}
.reasoning-toggle {
  display: block; width: 100%; margin-top: 12px; text-align: center;
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-family: var(--mono); font-size: 12px;
}
.reasoning { display: none; margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.reasoning.open { display: block; }

.time-machine-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 12px; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 8px;
  background: var(--ink); color: var(--bg); text-decoration: none;
}
.time-machine-cta[hidden] { display: none; }
.time-machine-cta small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; opacity: .64; }
.time-machine-cta strong { display: block; margin-top: 3px; font-family: var(--mono); font-size: 15px; }
.time-machine-arrow { font-size: 22px; }

/* ---- macro page ---- */
.muted { color: var(--muted); font-weight: 400; font-size: 12px; }

.state-grid {
  display: grid; grid-template-columns: 92px 1fr 1fr; gap: 6px;
  margin-top: 20px;
}
.sg-head { font-family: var(--mono); font-size: 11px; color: var(--muted); align-self: end; padding: 4px 2px; letter-spacing: 0.04em; }
.sg-head.side { align-self: center; }
.sg-cell {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 12px; font-size: 13px; color: var(--muted);
}
.sg-cell.active {
  background: var(--pill-active-bg); color: var(--pill-active-ink);
  border-color: var(--pill-active-bg); font-weight: 700;
}
.state-caption { margin-top: 12px; font-size: 14px; }
.state-caption .muted { display: block; margin-top: 4px; }

.macro-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px;
}
.score-line { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.score-num { font-family: var(--mono); font-weight: 700; font-size: 20px; }
.sleeve {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted);
  text-transform: uppercase; margin: 12px 0 2px; display: flex; gap: 8px; align-items: baseline;
}
.comp {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px;
}
.comp-name { flex: 1; min-width: 0; }
.comp-name em { color: var(--muted); font-style: normal; font-size: 11px; display: block; }
.comp-raw { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.comp-detail { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.comp-z { font-family: var(--mono); font-size: 12px; font-weight: 700; width: 64px; text-align: right; }
.zbar { position: relative; width: 110px; height: 8px; background: var(--bg); border-radius: 4px; flex-shrink: 0; }
.zbar .mid { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--line); }
.zbar .fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; }

.method { margin-top: 26px; color: var(--muted); font-size: 12px; }
.method summary { font-family: var(--mono); cursor: pointer; letter-spacing: 0.05em; }
.method ul { margin: 10px 0 0 18px; display: flex; flex-direction: column; gap: 5px; }

@media (max-width: 560px) {
  .zbar { display: none; }
  .state-grid { grid-template-columns: 64px 1fr 1fr; }
  .comp { flex-wrap: wrap; }
  .comp-detail { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  #backtestCard { overflow-x: auto; }
  #backtestCard table.bt { min-width: 435px; }
}

/* ===== v0.2 real-data additions (macro page) ===== */
.demo-banner.real { background: color-mix(in srgb, var(--green) 12%, transparent); border-color: var(--green); color: var(--ink); }
table.bt { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0 4px; }
table.bt th { text-align: right; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted2, #8a8577); font-weight: 600; padding: 6px 8px; }
table.bt td { text-align: right; padding: 7px 8px; border-top: 1px solid var(--line, #e2ddd2); font-variant-numeric: tabular-nums; }
table.bt th:first-child, table.bt td:first-child { text-align: left; }
table.bt tr.now td { font-weight: 700; background: color-mix(in srgb, var(--gold, #ad741f) 8%, transparent); }
.memo-head { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2, #8a8577); margin-bottom: 10px; }
#memoCard p { margin: 0 0 10px; line-height: 1.6; font-size: 14.5px; }
.lock-strip { border: 1px dashed var(--line, #e2ddd2); border-radius: 8px; padding: 9px 12px; font-size: 12.5px; color: var(--muted2, #8a8577); margin-top: 8px; }
/* ---- landing page ---- */
:root { --amber: #9a6b00; --amber-bg: #f3e8cd; }
[data-theme="dark"] { --amber: #d9a94b; --amber-bg: #3a2f16; }

.landing .block { margin-top: 54px; position: relative; }
.landing .hero { margin-top: 26px; position: relative; }
.landing h1.big { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.landing h2.big { font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 12px; }
.landing h1.big em, .landing h2.big em { font-style: italic; color: var(--red); }
.landing .sub-h { font-size: 16px; margin: 4px 0 8px; }
.landing p { font-size: 15px; line-height: 1.6; margin-top: 8px; }
.hero-sub { font-size: 16px; }
.hero-cta { display: inline-block; margin-top: 18px; padding: 12px 26px; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.num { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.solves { font-family: var(--mono); font-weight: 700; font-size: 16px; margin-top: 22px; }

.concept-stamp {
  position: absolute; top: 0; right: 0;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--amber); background: var(--amber-bg); border: 1px solid var(--amber);
  border-radius: 4px; padding: 3px 8px; transform: rotate(2deg);
}
.concept-inline { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--amber); background: var(--amber-bg); border-radius: 3px; padding: 1px 5px; }
.target-tag { font-family: var(--mono); font-size: 9px; font-weight: 700; color: var(--amber); background: var(--amber-bg); border-radius: 3px; padding: 1px 5px; vertical-align: 1px; }

.stat-row { display: flex; gap: 10px; margin-top: 18px; }
.stat { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat-num { font-family: var(--mono); font-size: 24px; font-weight: 700; }
.stat-label { color: var(--muted); font-size: 12px; margin-top: 4px; }

.lf-card { background: #111; color: #f2efe8; border-radius: 12px; padding: 18px; margin-top: 16px; }
[data-theme="dark"] .lf-card { border: 1px solid #3a3a3a; }
.lf-head { display: flex; align-items: center; gap: 8px; }
.lf-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4b3d; animation: lfpulse 1.4s ease-in-out infinite; }
@keyframes lfpulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,75,61,.5); } 50% { opacity: .6; box-shadow: 0 0 0 6px rgba(239,75,61,0); } }
.lf-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #ef4b3d; }
.lf-body { margin-top: 10px; font-size: 14px; line-height: 1.55; color: #d8d4ca; }
.ticks { margin: 14px 0 0 2px; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ticks li::before { content: "✓  "; color: var(--green); font-weight: 700; }
.closer { color: var(--muted); font-style: italic; margin-top: 14px; }

.sandbox { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 16px; }
.sb-inputs { display: flex; flex-direction: column; gap: 12px; }
.sb-inputs label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); }
.sb-field { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink); }
.sb-field input { width: 120px; font-family: var(--mono); font-size: 15px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); }
.sb-pills { display: flex; gap: 6px; }
input[type="range"] { accent-color: var(--ink); }
.sb-outputs { display: flex; gap: 10px; margin-top: 18px; }
.sb-out { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.sb-out.hot { border-color: var(--green); background: var(--green-bg); }
.sb-val { font-family: var(--mono); font-size: 19px; font-weight: 700; }
.sb-cap { color: var(--muted); font-size: 11px; margin-top: 4px; line-height: 1.4; }
.fineprint { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.fineprint summary { font-family: var(--mono); cursor: pointer; }

.cmp-scroll { overflow-x: auto; margin-top: 14px; }
.cmp { border-collapse: collapse; width: 100%; font-size: 13px; }
.cmp th, .cmp td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.cmp th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.cmp td:first-child { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.cmp .us { background: var(--card); font-weight: 600; }

.proof { margin-top: 22px; }
.proof .board { margin-top: 6px; }

.stand-grid, .trust-grid, .inbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stand, .trust, .inbox { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 13px; }
.stand p, .trust p, .inbox p { color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.5; }
.stand-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.inbox-when { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 2px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tagrow .pill { cursor: default; }

.faq { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.faq p { color: var(--muted); font-size: 13.5px; margin-top: 8px; line-height: 1.55; }

.desknote { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; padding: 16px; margin-top: 12px; }
.desknote p { font-size: 13.5px; }
.fineprint-block { margin-top: 16px; color: var(--muted); }
.fineprint-block p { font-size: 12.5px; }

.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.tl { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.tl-when { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--muted); width: 76px; flex-shrink: 0; line-height: 1.5; }
.tl p { color: var(--muted); font-size: 13px; margin-top: 3px; }

.join { text-align: center; padding: 30px 0 10px; }
.signup { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.signup input { flex: 1; max-width: 280px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: var(--card); color: var(--ink); }
.signup .cta { margin: 0; padding: 11px 20px; }

@media (max-width: 560px) {
  .stat-row, .sb-outputs { flex-direction: column; }
  .stand-grid, .trust-grid, .inbox-grid { grid-template-columns: 1fr; }
  .landing h1.big { font-size: 28px; }
}

.record-strip { display: flex; gap: 18px; align-items: baseline; font-size: 13px; padding: 10px 14px; border: 1px solid var(--line, #e2ddd2); border-radius: 10px; margin: 10px 0 14px; }
.record-strip b { font-variant-numeric: tabular-nums; }
.record-strip .muted { font-size: 11.5px; }

/* ---- CheckTheCall Time Machine ---- */
.tm-wrap { max-width: 1080px; margin: 0 auto; padding: 20px 28px 72px; }
.tm-error { border: 1px solid var(--red); color: var(--red); padding: 14px; border-radius: 8px; font-family: var(--mono); }
.tm-hero { margin-top: 20px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.tm-eyebrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .11em; color: var(--muted); }
.status-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border-radius: 4px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.status-strengthening { color: var(--status-strengthening); background: var(--status-strengthening-bg); }
.status-alive { color: var(--status-alive); background: var(--status-alive-bg); }
.status-weakening { color: var(--status-weakening); background: var(--status-weakening-bg); }
.status-falsified { color: var(--status-falsified); background: var(--status-falsified-bg); }
.status-indeterminate { color: var(--status-indeterminate); background: var(--status-indeterminate-bg); }
.tm-identity { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-top: 24px; }
.tm-claimant { font-size: 16px; font-weight: 700; }
.tm-handle { margin-top: 2px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tm-expression { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.tm-quote { max-width: 920px; margin-top: 24px; font-size: clamp(25px, 4vw, 46px); line-height: 1.13; font-weight: 650; letter-spacing: 0; }
.tm-source-line { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; font-size: 12px; color: var(--muted); }
.tm-source-line a { color: var(--ink); font-weight: 600; }
.seal-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; padding-top: 12px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 10px; color: var(--muted); }
.seal-copy { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 4px 0; }
.tm-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.tm-section-head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 20px; }
.tm-section-head > div { display: flex; align-items: baseline; gap: 10px; }
.tm-section-head h2 { font-size: 19px; letter-spacing: 0; }
.section-index { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.section-note { max-width: 420px; text-align: right; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.starting-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.starting-cell { min-width: 0; padding: 16px; border-right: 1px solid var(--line); }
.starting-cell:first-child { padding-left: 0; }
.starting-cell:last-child { border-right: 0; }
.starting-label { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; }
.starting-value { display: block; margin-top: 5px; font-family: var(--mono); font-size: 20px; overflow-wrap: anywhere; }
.known-list { margin: 18px 0 0 18px; display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
.known-asof { color: var(--ink); }
.argument-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 38px; }
.argument-grid h3 { margin-bottom: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.evidence-rows { border-top: 1px solid var(--line); }
.evidence-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.evidence-row.falsifier.rule { border-left: 3px solid var(--ink); padding-left: 12px; }
.evidence-row.falsifier.inference { border-left: 1px dashed var(--muted); padding-left: 12px; }
.evidence-row-top { display: flex; align-items: center; gap: 7px; min-height: 22px; }
.evidence-id { font-family: var(--mono); font-size: 11px; font-weight: 700; }
.epistemic-pill { padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; color: var(--muted); }
.epistemic-pill.rule { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.epistemic-pill.inference { border-style: dashed; cursor: help; }
.evidence-status { margin-left: auto; font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.evidence-status.confirmed, .mini-status.confirmed { color: var(--status-strengthening); }
.evidence-status.contradicted, .mini-status.contradicted { color: var(--status-falsified); }
.evidence-status.untested, .mini-status.untested { color: var(--muted); }
.evidence-text { margin-top: 9px; font-size: 15px; line-height: 1.5; }
.source-fragment { margin-top: 9px; padding-left: 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.watch-condition, .threshold-line { display: grid; grid-template-columns: 72px 1fr; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.watch-label, .committee-label, .receipt-label { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.threshold-line code { white-space: normal; overflow-wrap: anywhere; color: var(--ink); }
.linked-assumptions { margin-top: 8px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.row-history { margin-top: 10px; font-size: 10px; color: var(--muted); }
.history-line { display: grid; grid-template-columns: 72px 82px 1fr; gap: 8px; padding-top: 5px; }
.mini-status { font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.committee-summary { padding: 12px 14px; border-left: 3px solid var(--ink); background: var(--card); font-family: var(--mono); font-size: 11px; line-height: 1.5; }
.committee-summary.empty-committee { border-left-color: var(--muted); color: var(--muted); }
.committee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.committee-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px; min-width: 0; }
.committee-card.net-holds { border-top: 3px solid var(--status-strengthening); }
.committee-card.net-breaks { border-top: 3px solid var(--status-falsified); }
.committee-card.net-untestable { border-top: 3px solid var(--status-indeterminate); }
.committee-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.committee-model strong, .committee-model span { display: block; }
.committee-model strong { font-size: 14px; }
.committee-model span { margin-top: 2px; font-family: var(--mono); font-size: 9px; color: var(--muted); overflow-wrap: anywhere; }
.committee-score { display: grid; grid-template-columns: auto auto; gap: 2px 8px; align-items: center; text-align: right; }
.committee-score strong { font-family: var(--mono); font-size: 18px; }
.committee-score small { grid-column: 1 / -1; color: var(--muted); font-size: 9px; }
.net-badge { padding: 2px 5px; border-radius: 3px; font-family: var(--mono); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.net-badge.holds { color: var(--status-strengthening); background: var(--status-strengthening-bg); }
.net-badge.breaks { color: var(--status-falsified); background: var(--status-falsified-bg); }
.net-badge.untestable { color: var(--status-indeterminate); background: var(--status-indeterminate-bg); }
.decisive-list { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.decisive-chip { padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--mono); font-size: 9px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.case-panel { min-width: 0; }
.case-panel p, .change-evidence p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.case-panel.bull { border-left: 2px solid var(--status-strengthening); padding-left: 9px; }
.case-panel.failure { border-left: 2px solid var(--status-falsified); padding-left: 9px; }
.change-evidence { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.preserved-verdict { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 11px; }
.preserved-verdict summary { cursor: pointer; font-family: var(--mono); }
.preserved-body { display: grid; gap: 8px; margin-top: 10px; line-height: 1.5; }
.tm-timeline { border-top: 1px solid var(--line); }
.timeline-event { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.event-code { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--mono); font-size: 9px; color: var(--muted); }
.type-status_change .event-code { border-color: var(--status-weakening); color: var(--status-weakening); }
.type-creator_response .event-code { border-color: var(--status-alive); color: var(--status-alive); }
.type-no_response_noted .event-code { border-color: var(--status-falsified); color: var(--status-falsified); }
.timeline-body time { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.timeline-body p { margin-top: 4px; font-size: 13px; line-height: 1.5; }
.event-ref { display: block; margin-top: 5px; font-size: 9px; color: var(--muted); overflow-wrap: anywhere; }
.version-thread { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.version-node { min-width: 148px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.version-node.current { border-color: var(--ink); }
.version-node span, .version-node strong, .version-node small { display: block; }
.version-node span { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.version-node strong { margin-top: 3px; }
.version-node small { margin-top: 5px; color: var(--muted); }
.status-text.strengthening { color: var(--status-strengthening); }
.status-text.alive { color: var(--status-alive); }
.status-text.weakening { color: var(--status-weakening); }
.status-text.falsified { color: var(--status-falsified); }
.status-text.indeterminate { color: var(--status-indeterminate); }
.version-arrow { font-family: var(--mono); color: var(--muted); }
.tm-actions { display: flex; align-items: center; gap: 18px; padding-top: 28px; }
.tm-actions .cta { width: auto; min-width: 220px; margin: 0; padding-left: 20px; padding-right: 20px; }
.tm-secondary { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ---- Time Machine index ---- */
.capsule-index-hero { padding: 54px 0 48px; }
.capsule-index-hero h1 { margin-top: 8px; font-size: 52px; line-height: 1.06; }
.capsule-index-hero > p:last-of-type { max-width: 580px; margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.capsule-index-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capsule-index-stat { padding: 16px; border-left: 1px solid var(--line); }
.capsule-index-stat:first-child { padding-left: 0; border-left: 0; }
.capsule-index-stat strong, .capsule-index-stat span { display: block; }
.capsule-index-stat strong { font-family: var(--font-display); font-size: 28px; font-weight: 400; line-height: 1; }
.capsule-index-stat span { margin-top: 4px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.capsule-index-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; }
.capsule-index-filterbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.capsule-search {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 9px;
}
.capsule-search span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .05em;
}
.capsule-search input {
  width: 100%;
  min-width: 0;
  min-height: 32px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}
.capsule-search:focus-within { border-color: var(--ink); }
.capsule-filter-group { display: flex; flex-wrap: wrap; gap: 5px; }
.capsule-status-filters { grid-column: 1 / -1; }
.index-filter-button {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.index-filter-button.active {
  border-color: var(--ink);
  color: var(--ink);
}
.capsule-index-views {
  display: flex;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.index-view-button, .follow-button, .row-follow-button {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.index-view-button { min-height: 30px; padding: 5px 10px; }
.index-view-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.following-empty {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.following-empty strong, .following-empty span { display: block; }
.following-empty strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}
.following-empty span { max-width: 470px; margin-top: 7px; font-size: 12px; line-height: 1.6; }
.capsule-index-list { border-bottom: 1px solid var(--line); }
.capsule-index-card { display: block; padding: 26px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.capsule-index-card:hover h2 { color: var(--accent); }
.capsule-index-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.capsule-index-type { color: var(--accent); font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.capsule-index-card.is-fixture .capsule-index-type { color: var(--muted); }
.capsule-index-card h2 { margin-top: 4px; font-family: var(--font-display); font-size: 31px; font-weight: 400; line-height: 1.1; transition: color .15s ease; }
.capsule-index-expression { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; font-family: var(--font-mono); }
.capsule-index-expression strong { font-size: 15px; }
.capsule-index-expression span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.capsule-index-latest { display: grid; grid-template-columns: 110px 1fr; gap: 18px; margin-top: 18px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.capsule-index-latest p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.capsule-index-card-foot { display: flex; align-items: center; gap: 18px; margin-top: 12px; color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.capsule-index-card-foot strong { margin-left: auto; color: var(--ink); font-weight: 500; }
.capsule-index-chain { border-top: 1px solid var(--line); }
.capsule-index-chain > .capsule-index-card { border-top: 0; }
.capsule-index-history { margin: -10px 0 22px; border: 1px solid var(--line); }
.capsule-index-history summary { display: flex; align-items: center; gap: 16px; padding: 11px 13px; cursor: pointer; list-style: none; color: var(--muted); font-family: var(--font-mono); font-size: 9px; }
.capsule-index-history summary::-webkit-details-marker { display: none; }
.capsule-index-history summary::after { content: "+"; margin-left: auto; color: var(--ink); font-size: 14px; }
.capsule-index-history[open] summary::after { content: "−"; }
.capsule-index-history summary strong { color: var(--ink); font-weight: 500; }
.capsule-index-history-count { color: var(--accent); font-weight: 600; letter-spacing: .08em; }
.capsule-index-prior-list { border-top: 1px solid var(--line); }
.capsule-index-prior { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto auto; align-items: center; gap: 14px; padding: 13px; color: inherit; text-decoration: none; }
.capsule-index-prior + .capsule-index-prior { border-top: 1px dashed var(--line); }
.capsule-index-prior:hover .capsule-index-prior-open { color: var(--accent); }
.capsule-index-prior-identity strong, .capsule-index-prior-identity span { display: block; }
.capsule-index-prior-identity strong { font-family: var(--font-mono); font-size: 10px; }
.capsule-index-prior-identity span, .capsule-index-prior-date, .capsule-index-prior-open { margin-top: 3px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; }
.capsule-index-prior-open { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tm-follow-button {
  min-height: 34px;
  margin-top: 18px;
  padding: 7px 10px;
}
.pro-preview-section { padding-bottom: 8px; }
.pro-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.pro-lock {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
}
.pro-lock-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
}
.pro-lock-head > span {
  grid-row: 1 / 3;
  color: var(--muted);
  font-size: 13px;
}
.pro-lock-head strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
}
.pro-lock-head small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.pro-lock-blur {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  filter: blur(4px);
  opacity: .5;
}
.pro-lock-blur span {
  display: block;
  height: 7px;
  background: var(--line);
}
.pro-lock-blur span:nth-child(2) { width: 78%; }
.pro-lock-blur span:nth-child(3) { width: 54%; }
.follow-button.is-following, .row-follow-button.is-following {
  border-color: var(--accent);
  color: var(--accent);
}
.watchlist-count {
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  padding: 0 4px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
  vertical-align: 1px;
}
.watchlist-count[hidden] { display: none; }

/* ---- receipt ---- */
.receipt-page { max-width: 980px; margin: 0 auto; padding: 20px 28px 60px; }
.receipt-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 34px 0 18px; }
.receipt-heading h1 { max-width: 560px; font-size: 26px; }
.receipt-card { position: relative; min-height: 620px; display: flex; flex-direction: column; padding: 34px; overflow: hidden; background: #0a0a0a; color: #fafafa; border-radius: 8px; }
.receipt-card::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.13); border-radius: inherit; pointer-events: none; }
.receipt-top, .receipt-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.receipt-brand { display: flex; align-items: baseline; gap: 12px; font-family: var(--mono); }
.receipt-brand strong { font-size: 13px; letter-spacing: .02em; }
.receipt-brand span { color: #888; font-size: 9px; letter-spacing: .11em; }
.receipt-status-stack { display: flex; align-items: center; gap: 8px; }
.receipt-who { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-top: 26px; }
.receipt-who-identity > * { display: block; }
.receipt-who-identity strong { margin-top: 4px; font-size: 15px; }
.receipt-who-identity > span:last-child { color: #8f9189; font-family: var(--mono); font-size: 9px; }
.receipt-who .receipt-expression { padding: 4px 7px; border: 1px solid #353730; border-radius: 3px; color: #d9dbd2; font-family: var(--mono); font-size: 10px; }
.receipt-claim { max-width: 850px; margin: 18px 0 24px; font-size: clamp(24px, 4.2vw, 43px); line-height: 1.08; font-weight: 650; letter-spacing: 0; }
.receipt-claim-long { font-size: clamp(20px, 3.3vw, 34px); }
.receipt-claim-xlong { font-size: clamp(18px, 2.8vw, 29px); }
.receipt-score { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; border-top: 1px solid #31332e; border-bottom: 1px solid #31332e; }
.receipt-metric { min-width: 0; padding: 14px 18px; border-left: 1px solid #31332e; }
.receipt-metric:first-child { padding-left: 0; border-left: 0; }
.receipt-metric:last-child { padding-right: 0; }
.receipt-metric > * { display: block; }
.receipt-metric-value { margin-top: 4px; font-family: var(--font-display); font-size: 27px; font-weight: 400; line-height: 1; }
.receipt-metric-detail { margin-top: 5px; color: #888; font-size: 10px; line-height: 1.3; }
.receipt-metric.metric-weakening .receipt-metric-value { color: #f2b84b; }
.receipt-metric.metric-falsified .receipt-metric-value { color: #ff5a36; }
.receipt-metric.metric-strengthening .receipt-metric-value { color: #5fc07a; }
.receipt-changed { padding: 14px 0; border-bottom: 1px solid #31332e; }
.receipt-event-line { display: grid; grid-template-columns: 94px 1fr; gap: 18px; margin-top: 6px; }
.receipt-event-line time { color: #888; font-family: var(--mono); font-size: 9px; }
.receipt-changed p { color: #d2d3cc; font-size: 12px; line-height: 1.45; }
.receipt-bottom { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); margin-top: 16px; align-items: end; }
.receipt-sealed span, .receipt-sealed strong, .receipt-sealed code { display: block; }
.receipt-sealed strong { margin-top: 4px; font-size: 12px; }
.receipt-sealed code { margin-top: 3px; color: #767970; font-size: 9px; }
.receipt-source > *, .receipt-url > * { display: block; }
.receipt-source strong { max-width: 300px; margin-top: 3px; font-size: 10px; line-height: 1.3; }
.receipt-source > span:last-child { margin-top: 2px; color: #767970; font-family: var(--mono); font-size: 9px; }
.receipt-url { font-family: var(--mono); font-size: 9px; color: #a9aba3; overflow-wrap: anywhere; text-align: right; }
.receipt-url strong { max-width: 260px; margin-top: 3px; font-size: 9px; font-weight: 400; }
.receipt-retro-stamp { padding: 4px 7px; border: 1px solid #ef6b5e; color: #ef6b5e; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.receipt-fixture { position: absolute; top: 50%; right: -64px; transform: rotate(90deg); padding: 4px 10px; background: #e2a846; color: #11120f; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.receipt-superseded-strip { display: block; margin: -34px -34px 24px; padding: 10px 34px; position: relative; z-index: 2; background: #ff5a36; color: #0a0a0a; font-family: var(--mono); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-align: center; text-decoration: none; }
.receipt-superseded-strip:hover { background: #ff7457; }
.receipt-og-root, .receipt-og-body { width: 1200px; height: 630px; overflow: hidden; }
.receipt-og-body { margin: 0; background: #0a0a0a; }
.receipt-card-og { width: 1200px; height: 630px; min-height: 630px; border-radius: 0; padding: 34px 44px; }
.receipt-card-og .receipt-who { margin-top: 18px; }
.receipt-card-og .receipt-claim { max-width: 1050px; margin: 14px 0 18px; font-size: 38px; }
.receipt-card-og .receipt-claim-long { font-size: 31px; }
.receipt-card-og .receipt-claim-xlong { font-size: 25px; }
.receipt-card-og .receipt-score { margin-top: auto; }
.receipt-card-og .receipt-metric { padding-top: 10px; padding-bottom: 10px; }
.receipt-card-og .receipt-metric-value { font-size: 24px; }
.receipt-card-og .receipt-changed { padding: 10px 0; }
.receipt-card-og .receipt-changed p { font-size: 11px; line-height: 1.35; }
.receipt-card-og .receipt-bottom { margin-top: 12px; }
.receipt-card-og .receipt-superseded-strip { position: absolute; top: 24px; left: 50%; width: auto; margin: 0; padding: 5px 8px; transform: translateX(-50%); border: 1px solid #ff5a36; background: #0a0a0a; color: #ff5a36; font-size: 8px; }

/* ---- report cards ---- */
.report-wrap { max-width: 1160px; }
.report-hero { max-width: 760px; padding: 28px 0 10px; }
.report-hero h1 { font-size: 38px; line-height: 1.14; }
.report-hero > p:last-child { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.report-table-wrap { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.report-table th { padding: 9px 10px; border-bottom: 1px solid var(--ink); text-align: right; font-family: var(--mono); font-size: 9px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.report-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: right; font-family: var(--mono); vertical-align: top; }
.report-table th:nth-child(2), .report-table td:nth-child(2) { text-align: left; }
.rank-cell { color: var(--muted); }
.model-cell { white-space: pre-line; font-weight: 700; }
.unavailable-cell { color: var(--muted); }
.schema-caveat { margin-top: 12px; color: var(--muted); font-size: 11px; }
.fixture-rehearsal-banner { margin-bottom: 14px; padding: 9px 11px; border: 1px solid var(--amber); background: var(--amber-bg); color: var(--amber); font-family: var(--mono); font-size: 9px; line-height: 1.5; letter-spacing: .04em; }
.judgment-list { border-top: 1px solid var(--line); }
.judgment-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.judgment-row.is-fixture { padding-left: 12px; border-left: 2px solid var(--amber); }
.judgment-population { display: block; margin-bottom: 5px; font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .08em; }
.judgment-population.real { color: var(--accent); }
.judgment-population.fixture { color: var(--amber); }
.judgment-head { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: start; }
.judgment-confidence { font-family: var(--mono); font-weight: 700; }
.judgment-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 16px; }
.judgment-cases p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 760px) {
  .tm-wrap, .receipt-page { padding-left: 18px; padding-right: 18px; }
  .tm-quote { font-size: 29px; }
  .starting-strip { grid-template-columns: 1fr 1fr; }
  .starting-cell:nth-child(2) { border-right: 0; }
  .starting-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .starting-cell:nth-child(3) { padding-left: 0; }
  .argument-grid, .committee-grid, .case-grid, .judgment-cases { grid-template-columns: 1fr; }
  .tm-section-head, .receipt-heading { align-items: start; flex-direction: column; }
  .section-note { text-align: left; }
  .history-line { grid-template-columns: 70px 76px 1fr; }
  .receipt-card { min-height: 600px; padding: 24px; }
  .receipt-top { align-items: start; flex-direction: column; gap: 10px; }
  .receipt-status-stack { width: 100%; justify-content: space-between; }
  .receipt-who { align-items: start; flex-direction: column; }
  .receipt-who .receipt-expression { width: 100%; margin: 4px 0 0; }
  .receipt-claim { font-size: 28px; }
  .receipt-score { grid-template-columns: 1fr; }
  .receipt-metric { padding: 12px 0; border-left: 0; border-top: 1px solid #31332e; }
  .receipt-metric:first-child { border-top: 0; }
  .receipt-event-line { grid-template-columns: 1fr; gap: 4px; }
  .receipt-bottom { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .receipt-url { max-width: 100%; text-align: left; }
  .capsule-index-latest { grid-template-columns: 1fr; gap: 5px; }
  .capsule-index-card-foot { align-items: start; flex-direction: column; gap: 4px; }
  .capsule-index-card-foot strong { margin: 6px 0 0; }
  .capsule-index-history summary { align-items: start; flex-direction: column; gap: 5px; padding-right: 36px; position: relative; }
  .capsule-index-history summary::after { position: absolute; top: 10px; right: 13px; }
  .capsule-index-prior { grid-template-columns: 1fr auto; }
  .capsule-index-prior-date, .capsule-index-prior-open { grid-column: 1 / -1; }
  .receipt-superseded-strip { margin: -24px -24px 20px; padding: 9px 24px; }
  .report-hero h1 { font-size: 30px; }
  .tm-actions { align-items: stretch; flex-direction: column; }
  .tm-actions .cta { width: 100%; }
}

/* ===== AlphaHunter v3 editorial adaptation for CheckTheCall ===== */
.brand-accent { color: var(--accent); }
.wordmark {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.topbar {
  position: sticky; top: 0; z-index: 20; margin: 0 -1px 26px;
  padding: 14px 1px; border-bottom: 1px solid var(--gray-100);
  background: rgba(250,250,250,.88); backdrop-filter: blur(20px);
}
[data-theme="dark"] .topbar { background: rgba(23,22,19,.88); }
.topbar-right a { font-family: var(--font-mono); font-size: 11px; }
.demo-banner {
  border: 1px solid var(--gray-100); border-radius: 3px; padding: 8px 10px;
  background: var(--gray-50); font-family: var(--font-mono); font-size: 10px;
}
[data-theme="dark"] .demo-banner {
  border-color: var(--line);
  background: var(--card);
}
.pill, .badge, .pnl, .card .avatar, .card, .source-card, .trade-strip, .price-block,
.macro-card, .record-strip { border-radius: 3px; }
.cta, .time-machine-cta {
  border-radius: 3px; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
}
.cta:hover, .time-machine-cta:hover { background: var(--accent); border-color: var(--accent); }
.tm-wrap, .report-wrap, .receipt-page { max-width: 720px; padding: 0 24px 120px; }
.tm-wrap h1, .receipt-page h1, .report-wrap h1,
.tm-wrap h2, .receipt-page h2, .report-wrap h2 {
  font-family: var(--font-display); font-weight: 400; color: var(--black); letter-spacing: 0;
}
.tm-wrap h1 em, .receipt-page h1 em, .report-wrap h1 em,
.tm-wrap h2 em, .receipt-page h2 em, .report-wrap h2 em {
  color: var(--accent); font-style: italic;
}
.tm-hero { margin-top: 56px; padding: 0 0 56px; }
.tm-eyebrow { color: var(--accent); font-weight: 600; }
.tm-identity { margin-top: 30px; }
.tm-quote {
  max-width: 100%; margin-top: 30px; font-family: var(--font-display);
  font-size: 46px; line-height: 1.1; font-weight: 400; color: var(--black);
}
.tm-source-line { line-height: 1.5; }
.tm-source-line a { color: var(--accent); }
.seal-line { border-top-color: var(--gray-100); }
.tm-section { padding: 56px 0; }
.tm-section-head { align-items: start; margin-bottom: 24px; }
.tm-section-head > div { display: block; }
.tm-section-head h2 { margin-top: 5px; font-size: 32px; line-height: 1.2; }
.section-index {
  display: block; color: var(--accent); font-family: var(--font-mono);
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
}
.section-note { max-width: 210px; line-height: 1.5; }
.starting-strip {
  gap: 1px; border: 1px solid var(--gray-100); border-radius: 6px;
  overflow: hidden; background: var(--gray-100);
}
.starting-cell { border: 0; padding: 18px 16px; background: var(--white); }
.starting-cell:first-child, .starting-cell:nth-child(3) { padding-left: 16px; }
.starting-value { font-family: var(--font-display); font-size: 27px; font-weight: 400; }
.known-list { line-height: 1.65; }
.argument-grid { grid-template-columns: 1fr; gap: 40px; }
.argument-grid h3 { color: var(--black); font-weight: 600; }
.evidence-row { padding: 20px 0; }
.evidence-row.falsifier.rule { border-left-color: var(--accent); }
.evidence-text { font-size: 15px; line-height: 1.65; }
.source-fragment {
  margin: 14px 0 0; padding-left: 16px; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 18px; font-style: italic; line-height: 1.5;
}
.epistemic-pill, .evidence-status, .decisive-chip, .net-badge, .status-badge {
  border-radius: 3px;
}
.committee-summary, .livefire {
  margin: 24px 0; padding: 24px; border: 0; border-radius: 6px;
  background: var(--black); color: var(--gray-200);
}
.committee-summary .lf-label, .livefire .lf-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  color: var(--accent); font-family: var(--font-mono); font-size: 11px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.committee-summary .lf-dot, .livefire .lf-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: lf-pulse 1.6s ease-in-out infinite;
}
@keyframes lf-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.committee-summary p, .livefire p { margin: 0; font-size: 14px; line-height: 1.7; }
.committee-summary strong, .livefire strong { color: var(--white); }
.committee-summary.empty-committee { color: var(--gray-200); border: 0; }
.committee-grid { grid-template-columns: 1fr; gap: 16px; }
.committee-card { border-radius: 6px; padding: 20px; }
.case-panel p, .change-evidence p { line-height: 1.7; }
.timeline-event { padding: 18px 0; }
.event-code { border-radius: 3px; }
.version-node { border-radius: 3px; }
.tm-actions .cta { padding: 10px 20px; }
.tm-secondary {
  padding: 9px 14px; border: 1px solid var(--gray-200); border-radius: 3px;
  color: var(--black); text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
}
.tm-secondary:hover { border-color: var(--black); }
button.tm-secondary {
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.tm-stakes {
  margin-top: 22px;
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
  text-transform: uppercase;
}
.starting-details {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.starting-details summary {
  padding: 16px 0;
  color: var(--black);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}
.starting-details-body { padding: 0 0 22px; }
.score-lead {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
  padding: 24px 0;
  border-top: 2px solid var(--black);
  border-bottom: 1px solid var(--line);
}
.score-status {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.score-lead p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.score-stat {
  min-width: 0;
  padding: 17px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--black);
  text-decoration: none;
}
.score-stat:hover { background: var(--card); }
.score-stat strong,
.score-stat span,
.score-stat small { display: block; }
.score-stat strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.score-stat span {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}
.score-stat small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.score-share { margin-top: 16px; }
.receipt-groups { display: grid; gap: 44px; }
.receipt-group { scroll-margin-top: 24px; }
.receipt-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.receipt-group-head h3 {
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.receipt-group-head span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.receipt-card-row { scroll-margin-top: 24px; }
.receipt-card-row.status-confirmed { border-left: 3px solid var(--status-strengthening); padding-left: 14px; }
.receipt-card-row.status-contradicted { border-left: 3px solid var(--status-falsified); padding-left: 14px; }
.receipt-card-row.status-untested { border-left: 3px solid var(--line); padding-left: 14px; }
.evidence-kind { display: flex; align-items: center; gap: 7px; }
.receipt-falsifier {
  display: grid;
  grid-template-columns: auto 104px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.receipt-falsifier strong {
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
}
.falsifier-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}
.kill-condition-note {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  background: var(--card);
}
.kill-condition-note p {
  display: grid;
  grid-template-columns: auto 92px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.kill-condition-note strong {
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 9px;
}
.section-empty {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.confidence-bar {
  height: 4px;
  margin-top: 14px;
  background: var(--gray-100);
}
.confidence-bar::before {
  display: block;
  width: var(--confidence);
  height: 100%;
  background: var(--black);
  content: "";
}
.full-verdict {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.full-verdict summary,
.preserved-verdict summary {
  color: var(--black);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.full-verdict-body { margin-top: 16px; }
.decisive-chip { color: var(--black); text-decoration: none; }
.decisive-chip:hover { border-color: var(--black); }
.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.timeline-legend span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}
.timeline-event { grid-template-columns: 112px 1fr; }
.event-code {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 30px;
  padding: 5px 7px;
  border-radius: 3px;
  line-height: 1.3;
  text-align: center;
}
.event-ref {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.event-ref a { color: var(--accent); text-decoration: none; }
.event-ref span { color: var(--muted); }
.tm-actions { flex-wrap: wrap; }
.tm-fine-print {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
[data-theme="dark"] .tm-wrap h1,
[data-theme="dark"] .tm-wrap h2,
[data-theme="dark"] .tm-quote,
[data-theme="dark"] .tm-stakes,
[data-theme="dark"] .starting-details summary,
[data-theme="dark"] .score-stat,
[data-theme="dark"] .receipt-group-head h3,
[data-theme="dark"] .receipt-falsifier strong,
[data-theme="dark"] .kill-condition-note strong,
[data-theme="dark"] .full-verdict summary,
[data-theme="dark"] .preserved-verdict summary,
[data-theme="dark"] .decisive-chip {
  color: var(--ink);
}
[data-theme="dark"] .score-lead { border-top-color: var(--ink); }
[data-theme="dark"] .confidence-bar { background: var(--line); }
[data-theme="dark"] .confidence-bar::before { background: var(--ink); }
.share-link.is-copied { border-color: var(--green); color: var(--green); }
.share-link[aria-busy="true"] { cursor: wait; opacity: .72; }
.receipt-heading-actions { display: flex; align-items: center; gap: 8px; }
.receipt-heading { margin: 56px 0 24px; }
.receipt-heading h1 { max-width: 520px; font-size: 42px; line-height: 1.1; }
.receipt-card { border-radius: 6px; background: var(--black); }
.receipt-claim { font-family: var(--font-display); font-weight: 400; line-height: 1.12; }
.receipt-card-og { border-radius: 0; }
.report-hero { padding: 56px 0 8px; }
.report-hero h1 { font-size: 52px; line-height: 1.08; }
.report-hero > p:last-child { line-height: 1.75; }
.report-livefire { margin: 32px 0 8px; }
.report-table th { border-bottom: 2px solid var(--black); }
.judgment-cases p { line-height: 1.7; }

[data-theme="dark"] .tm-wrap h1,
[data-theme="dark"] .receipt-page h1,
[data-theme="dark"] .report-wrap h1,
[data-theme="dark"] .tm-wrap h2,
[data-theme="dark"] .receipt-page h2,
[data-theme="dark"] .report-wrap h2,
[data-theme="dark"] .tm-quote,
[data-theme="dark"] .argument-grid h3,
[data-theme="dark"] .tm-secondary {
  color: var(--ink);
}
[data-theme="dark"] .starting-cell { background: var(--card); }
[data-theme="dark"] .tm-secondary { border-color: var(--line); }
[data-theme="dark"] .tm-secondary:hover,
[data-theme="dark"] .report-table th { border-color: var(--ink); }

@media (max-width: 640px) {
  .tm-wrap, .report-wrap, .receipt-page { padding-left: 20px; padding-right: 20px; }
  .tm-hero { margin-top: 40px; }
  .tm-quote { font-size: 37px; }
  .tm-identity { align-items: start; flex-direction: column; gap: 10px; }
  .tm-section-head { flex-direction: column; gap: 8px; }
  .section-note { max-width: 100%; text-align: left; }
  .score-lead { grid-template-columns: 1fr; gap: 12px; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .score-stat:last-child { grid-column: 1 / -1; }
  .receipt-falsifier, .kill-condition-note p { grid-template-columns: auto 1fr; }
  .receipt-falsifier > span:last-child, .kill-condition-note p > span:last-child { grid-column: 1 / -1; }
  .timeline-event { grid-template-columns: 1fr; gap: 8px; }
  .event-code { width: fit-content; }
  .starting-strip { grid-template-columns: 1fr 1fr; }
  .starting-cell:nth-child(-n+2) { border-bottom: 0; }
  .starting-cell:nth-child(3) { padding-left: 16px; }
  .case-grid { grid-template-columns: 1fr; }
  .capsule-index-hero h1 { font-size: 42px; }
  .capsule-index-stats { grid-template-columns: 1fr; }
  .capsule-index-stat { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .capsule-index-stat:first-child { border-top: 0; }
  .receipt-heading h1 { font-size: 36px; }
  .receipt-heading-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .receipt-heading-actions .tm-secondary { width: 100%; text-align: center; }
  .report-hero h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .committee-summary .lf-dot, .livefire .lf-dot { animation: none; }
}

/* ===== CheckTheCall v3: Ideas + Trade Detail ===== */
.ideas-page, .trade-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.ideas-page .nav-current, .trade-page .nav-current { color: var(--ink); }

.ideas-hero {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.ideas-hero .kicker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}
.ideas-hero h1 {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.02;
}
.ideas-hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.ideas-deck {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.ideas-freshness {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.crawl-stale {
  margin-top: 14px;
  padding: 9px 11px;
  border: 1px solid #c78916;
  background: rgba(199, 137, 22, .08);
  color: #9a6710;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: uppercase;
}
[data-theme="dark"] .crawl-stale {
  border-color: #d7a340;
  color: #e2b760;
}
.onboarding-card {
  position: relative;
  margin: 0 0 34px;
  padding: 20px 48px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
}
.onboarding-card[hidden] { display: none; }
.onboarding-card p {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.55;
}
.onboarding-card p + p {
  margin-top: 6px;
  color: var(--muted);
}
.onboarding-card a {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.onboarding-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 19px;
  line-height: 1;
}
.onboarding-dismiss:hover { color: var(--accent); }
.ideas-freshness .live-dot { margin: 0; vertical-align: 0; }

/* ---- Dispute protocol ---- */
.dispute-page { width: min(920px, calc(100% - 36px)); margin: 0 auto; padding-bottom: 80px; }
.dispute-hero { padding: 62px 0 52px; border-bottom: 1px solid var(--line); }
.dispute-hero h1 { margin-top: 10px; font-size: 66px; line-height: .98; }
.dispute-hero > p:last-child { max-width: 610px; margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.dispute-protocol { padding: 44px 0; border-bottom: 1px solid var(--line); }
.dispute-protocol-head h2, .dispute-action h2 { max-width: 620px; margin-top: 8px; font-size: 32px; line-height: 1.08; }
.dispute-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border: 1px solid var(--line); }
.dispute-rules article { min-width: 0; padding: 20px; border-left: 1px solid var(--line); }
.dispute-rules article:first-child { border-left: 0; }
.dispute-rules article > span { color: var(--accent); font-family: var(--font-mono); font-size: 9px; }
.dispute-rules h3 { margin-top: 18px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.dispute-rules p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.dispute-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 28px; padding-top: 44px; }
.dispute-action p { max-width: 620px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.dispute-mail-link { grid-column: 2; grid-row: 1; align-self: end; min-width: 180px; margin: 0; text-align: center; }
.dispute-action .tm-secondary { grid-column: 1 / -1; }

@media (max-width: 700px) {
  .dispute-hero { padding: 42px 0 38px; }
  .dispute-hero h1 { font-size: 42px; }
  .dispute-rules { grid-template-columns: 1fr; }
  .dispute-rules article { border-top: 1px solid var(--line); border-left: 0; }
  .dispute-rules article:first-child { border-top: 0; }
  .dispute-action { grid-template-columns: 1fr; align-items: stretch; }
  .dispute-mail-link, .dispute-action .tm-secondary { grid-column: 1; grid-row: auto; }
  .dispute-mail-link { width: 100%; }
}

.ideas-record { padding: 38px 0 48px; }
.ideas-page .record-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.record-metric {
  display: flex;
  min-width: 0;
  padding: 18px 16px;
  background: var(--bg);
  flex-direction: column;
}
.record-metric + .record-metric { border-left: 1px solid var(--line); }
.record-metric b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}
.record-metric b i {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
}
.record-metric small {
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
}
.record-note {
  grid-column: 1 / -1;
  padding: 10px 16px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ideas-ledger { padding-top: 16px; }
.ideas-section-head, .trade-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
}
.ideas-section-head h2, .trade-section-head h2 {
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}
.ideas-section-head h2 em, .trade-section-head h2 em {
  color: var(--accent);
  font-style: italic;
}
.ideas-section-head > p, .trade-section-head > p {
  max-width: 160px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.ideas-page .creator-filter-block {
  margin: 28px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.ideas-page .creator-filter-label {
  margin-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .04em;
}
.ideas-page .creator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ideas-page .creator-tab-sealed { border-style: dashed; }
.ideas-page .creator-tab-sealed.active { border-style: solid; }
.ideas-page .filters {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-group-lens { justify-content: flex-end; }
.ideas-page .pill {
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.ideas-page .board {
  gap: 0;
  border-top: 1px solid var(--line);
}
.ideas-page .row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: stretch;
}
.ideas-page .rank {
  width: auto;
  padding-top: 21px;
  font-size: 9px;
  text-align: left;
}
.ideas-page .card {
  display: grid;
  position: relative;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  min-width: 0;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.ideas-page .card:hover { border-color: var(--accent); }
.card-main-link {
  position: absolute;
  z-index: 1;
  inset: 0;
}
.card-main-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ideas-page .card .line1 { gap: 6px; }
.ideas-page .card .line2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}
.row-open-call {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.board-speaker { color: var(--ink); font-weight: 600; }
.ideas-page .speaker-chip {
  position: relative;
  z-index: 2;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.35;
  text-transform: uppercase;
  text-decoration: none;
}
.show-lockup {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ideas-page .pnl {
  align-self: center;
  min-width: 74px;
  padding: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  text-align: right;
}
.row-watch-slot {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}
.row-follow-button {
  width: 64px;
  min-height: 28px;
  padding: 4px 5px;
  font-size: 7px;
}
.show-more-button {
  width: 100%;
  min-height: 40px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.show-more-button:hover { border-color: var(--accent); color: var(--accent); }
.show-more-button[hidden] { display: none; }
.ideas-page .empty {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.ideas-page .empty button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  text-transform: inherit;
}

.media-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.media-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-monogram {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
}
.ticker-logo {
  width: 42px;
  height: 42px;
  border-radius: 3px;
}
.ticker-logo img { padding: 6px; }
.show-avatar {
  width: 17px;
  height: 17px;
  border-radius: 50%;
}
.show-avatar img { object-fit: cover; }

.ideas-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
}
.ideas-footer .footnote { max-width: 390px; margin: 0; line-height: 1.6; }
.ideas-footer .applink {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.trade-page .back {
  display: inline-block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.trade-hero { padding: 52px 0 48px; }
.trade-source-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.show-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.show-avatar-large img { object-fit: cover; }
.trade-page .source-head {
  gap: 7px;
  margin-top: 3px;
}
.trade-page .source-head .handle {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}
.trade-page .source-show {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}
.trade-source-text {
  margin-top: 34px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.12;
}
.trade-expression-strip {
  display: grid;
  grid-template-columns: 52px auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ticker-logo-large {
  width: 52px;
  height: 52px;
  border-radius: 3px;
}
.ticker-logo-large img { padding: 7px; }
.trade-expression-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.trade-expression-quote {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}
.trade-expression-strip .pnl {
  padding: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}

.trade-page .time-machine-cta {
  margin-top: 0;
  padding: 22px 24px;
  border: 0;
  border-radius: 0;
  background: var(--black);
  color: var(--white);
}
.trade-page .time-machine-cta:hover { background: var(--accent); }
.trade-page .time-machine-cta strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.request-time-machine {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.request-time-machine[hidden] { display: none; }
.request-time-machine small, .request-time-machine strong { display: block; }
.request-time-machine small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .06em;
}
.request-time-machine strong {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
}
.request-time-machine-mark {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}
.request-time-machine:hover strong { color: var(--accent); }
.request-time-machine.is-requested { cursor: default; }
.request-time-machine.is-requested strong, .request-time-machine.is-requested .request-time-machine-mark { color: var(--green); }

.trade-editorial-section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}
.trade-editorial-section .idea-quote {
  margin-top: 32px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}
.trade-editorial-section .idea-thesis {
  max-width: 610px;
  margin-top: 22px;
  color: var(--ink);
  line-height: 1.75;
}
.trade-tape { padding-bottom: 0; }
.trade-page .price-block {
  margin: 34px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.trade-page .price-big {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
}
.trade-page .price-sub { margin-top: 7px; }
.trade-page .chart {
  height: 170px;
  margin-top: 28px;
}
.trade-page .cta {
  margin-top: 28px;
  padding: 12px 16px;
  border-radius: 3px;
  background: var(--black);
  color: var(--white);
}
.trade-page .reasoning-toggle {
  padding: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.trade-page .reasoning {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  line-height: 1.75;
}

/* ---- speaker record ---- */
.speaker-page {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0 24px 70px;
}
.speaker-page .back {
  display: inline-block;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-decoration: none;
  text-transform: uppercase;
}
.speaker-error {
  padding: 52px 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}
.speaker-hero { padding: 48px 0 42px; }
.speaker-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}
.speaker-avatar-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.speaker-avatar-large img { object-fit: cover; }
.speaker-identity h1 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
}
.speaker-identity p {
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.speaker-deck {
  max-width: 500px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.speaker-record { padding-bottom: 54px; }
.speaker-record .record-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.speaker-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
}
.speaker-section-head h2 {
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
}
.speaker-section-head h2 em { color: var(--accent); font-style: italic; }
.speaker-section-head > span {
  max-width: 160px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  text-align: right;
}
.speaker-call-list { border-top: 1px solid var(--line); }
.speaker-call-row {
  display: grid;
  grid-template-columns: 20px 42px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.speaker-call-rank {
  padding-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}
.speaker-call-main > div { display: flex; align-items: center; gap: 7px; }
.speaker-call-main > div strong { font-family: var(--font-mono); font-size: 13px; }
.speaker-call-main blockquote {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
}
.speaker-call-main > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.speaker-call-pnl {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}
.speaker-call-pnl.up { color: var(--green); }
.speaker-call-pnl.down { color: var(--red); }
.speaker-source-link {
  grid-column: 3 / -1;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  text-decoration: none;
  text-transform: uppercase;
}
.speaker-source-link:hover { color: var(--accent); }
.source-unavailable {
  color: var(--muted);
  cursor: default;
  text-decoration: none;
}

@media (max-width: 640px) {
  .ideas-page, .trade-page, .speaker-page { padding-left: 20px; padding-right: 20px; }
  .ideas-hero { padding: 40px 0; }
  .ideas-hero h1 { font-size: 44px; }
  .ideas-page .record-strip { grid-template-columns: 1fr 1fr; }
  .record-metric:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .ideas-section-head, .trade-section-head { flex-direction: column; gap: 8px; }
  .ideas-section-head > p, .trade-section-head > p {
    max-width: 100%;
    text-align: left;
  }
  .ideas-page .filters { align-items: start; flex-direction: column; }
  .filter-group-lens { justify-content: start; }
  .ideas-page .row { grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
  .ideas-page .card {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .ticker-logo { width: 36px; height: 36px; }
  .ideas-page .pnl { min-width: 62px; font-size: 18px; }
  .ideas-page .card .line2 { font-size: 9px; }
  .row-watch-slot {
    grid-column: 2;
    min-height: 28px;
    margin-top: -8px;
    padding-bottom: 8px;
  }
  .ideas-footer { flex-direction: column; gap: 16px; }
  .trade-source-text { font-size: 28px; }
  .trade-expression-strip {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .ticker-logo-large { width: 46px; height: 46px; }
  .trade-expression-quote { grid-column: 1 / -1; grid-row: 2; }
  .trade-expression-strip .pnl { font-size: 21px; }
  .trade-page .time-machine-cta { padding: 18px; }
  .trade-page .time-machine-cta strong { font-size: 22px; }
  .trade-editorial-section { padding: 46px 0; }
  .trade-editorial-section .idea-quote { font-size: 25px; }
  .speaker-identity h1 { font-size: 40px; }
  .speaker-record .record-strip { grid-template-columns: 1fr 1fr; }
  .speaker-section-head { align-items: start; flex-direction: column; gap: 8px; }
  .speaker-section-head > span { max-width: none; text-align: left; }
  .speaker-call-row { grid-template-columns: 16px 36px minmax(0, 1fr) auto; gap: 9px; }
  .speaker-call-row .ticker-logo { width: 36px; height: 36px; }
  .speaker-call-main blockquote { font-size: 16px; }
  .speaker-call-pnl { font-size: 18px; }
  .speaker-source-link { grid-column: 3 / -1; }
  .capsule-index-filterbar { grid-template-columns: 1fr; }
  .capsule-status-filters { grid-column: auto; }
  .pro-preview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .topbar {
    align-items: start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .topbar-right {
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-contrast: more) {
  [data-theme="dark"] {
    --muted: #d2cec4;
    --line: #767168;
  }
  :where(a, button, input, summary, [tabindex]):focus-visible {
    outline-width: 3px;
  }
}

/* T20 — the clock on every call */
.call-clock { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.call-clock-item { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.call-clock-horizon { color: var(--ink); }
.call-clock-horizon.no-horizon { color: var(--muted); font-style: italic; text-transform: none; }
.horizon-chip { font-family: var(--mono); font-size: 10.5px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .horizon-chip { max-width: 140px; } }

/* Records tape — claim dividers (verdicts grouped under what they judge) */
.judgment-claim { margin: 34px 0 10px; padding: 14px 16px; border-left: 3px solid var(--ink); background: var(--card, rgba(0,0,0,0.03)); display: flex; flex-direction: column; gap: 6px; }
.judgment-claim.is-fixture { border-left-style: dashed; opacity: 0.85; }
.judgment-claim-title { font-size: 15px; }
.judgment-claim-quote { font-style: italic; color: var(--muted); margin: 0; max-width: 70ch; }

/* T24 — matchup-first product frame */
.fight-home {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 96px;
}
.fight-home-hero {
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--line);
}
.fight-home-hero h1 {
  max-width: 820px;
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 400;
  line-height: .92;
}
.fight-home-hero h1 em { color: var(--accent); font-style: italic; }
.fight-home-hero > p:not(.kicker) {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.fight-home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
}
.fight-home-proof span::before {
  margin-right: 7px;
  color: var(--accent);
  content: "●";
}
.fight-home-loading { min-height: 140px; }
.fight-home-section,
.fight-home-routes {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}
.fight-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.fight-home-section-head h2 {
  max-width: 680px;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.08;
}
.fight-home-count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}
.fight-home-grid {
  display: grid;
  gap: 22px;
}
.fight-home-caveat {
  max-width: 720px;
  margin: -6px 0 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.55;
}
.fight-home-rewinds .matchup-card { border-style: dashed; }
.fight-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fight-route-grid a {
  min-height: 180px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.fight-route-grid a:hover { background: var(--gray-50); }
[data-theme="dark"] .fight-route-grid a:hover { background: var(--card); }
.fight-route-grid span,
.fight-route-grid strong {
  display: block;
  font-family: var(--font-mono);
}
.fight-route-grid span { color: var(--accent); font-size: 9px; }
.fight-route-grid strong { margin-top: 26px; font-size: 12px; text-transform: uppercase; }
.fight-route-grid p { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.fight-home-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}
.fight-home-footer strong { color: var(--ink); }

.season-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-top: -1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.season-score span { display: inline-flex; gap: 4px; align-items: baseline; }
.season-score b { color: var(--accent); font-size: 14px; }
.season-score i { color: var(--muted); font-style: normal; }
.season-score small { margin-left: 8px; color: var(--muted); font-size: 8px; }

.matchup-home-hero {
  padding-bottom: 38px;
  border-bottom: 0;
}
.matchup-home-hero h1 { max-width: 760px; font-size: 76px; line-height: .94; }
.matchup-home-hero .ideas-deck { max-width: 680px; font-size: 17px; }
.featured-matchup-shell { padding: 24px 0 48px; border-bottom: 1px solid var(--line); }
.featured-matchup-head { margin-bottom: 20px; }

.matchup-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #303030;
  border-radius: 6px;
  padding: 24px;
  background: #0b0b0b;
  color: #f7f5ee;
}
.matchup-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.matchup-rail,
.matchup-sides,
.matchup-actions,
.matchup-bracket-labels {
  display: flex;
  align-items: center;
}
.matchup-rail {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #343434;
  color: #8f8f8f;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.matchup-live { color: #ff5a36; font-weight: 700; }
.matchup-rail .status-badge { margin-left: auto; }
.matchup-sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.matchup-side { display: flex; align-items: center; gap: 14px; min-width: 0; }
.matchup-models { justify-content: flex-end; text-align: right; }
.matchup-face,
.matchup-model-count {
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid #4b4b4b;
  border-radius: 50%;
  color: #f7f5ee;
  font-family: var(--font-display);
  font-size: 23px;
}
.matchup-model-count {
  border-radius: 4px;
  border-color: #ff5a36;
  color: #ff5a36;
  font-family: var(--font-mono);
  font-size: 17px;
  order: 2;
}
.matchup-side-label {
  display: block;
  color: #8f8f8f;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.matchup-side strong,
.matchup-side small { display: block; }
.matchup-side strong { margin-top: 3px; color: #f7f5ee; font-family: var(--font-display); font-size: 26px; font-weight: 400; }
.matchup-side small { margin-top: 3px; color: #aaa; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.matchup-panel-models {
  display: block;
  margin-top: 6px;
  color: #d5d5cf;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  text-transform: uppercase;
}
.matchup-side .matchup-panel-labs {
  margin-top: 4px;
  color: #777;
  font-size: 7px;
  line-height: 1.35;
}
.matchup-versus {
  color: #ff5a36;
  font-family: var(--font-display);
  font-size: 26px;
  text-align: center;
}
.matchup-claim {
  max-width: 900px;
  margin-top: 28px;
  color: #f7f5ee;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1.12;
}
.matchup-read {
  max-width: 780px;
  margin-top: 12px;
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.6;
}
.matchup-bracket { margin-top: 24px; padding-top: 18px; border-top: 1px solid #343434; }
.matchup-bracket-labels { justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 10px; }
.matchup-bracket-labels span:first-child { color: #ff6b58; }
.matchup-bracket-labels span:last-child { color: #67ca92; }
.matchup-bracket-labels strong { color: #f7f5ee; font-weight: 600; }
.matchup-bracket-track {
  position: relative;
  height: 7px;
  margin-top: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #a94136 0%, #777 50%, #287b50 100%);
}
.matchup-bracket-marker {
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 3px solid #0b0b0b;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.matchup-bracket-caption {
  margin-top: 8px;
  color: #777;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.matchup-tripwires { margin-top: 24px; padding-top: 18px; border-top: 1px solid #343434; }
.matchup-tripwire-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 9px; background: #343434; }
.matchup-tripwire { min-width: 0; padding: 12px; background: #111; }
.matchup-tripwire strong { color: #ff5a36; font-family: var(--font-mono); font-size: 8px; }
.matchup-tripwire p { margin-top: 5px; color: #bdbdbd; font-size: 10px; line-height: 1.45; }
.matchup-actions {
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}
.matchup-call,
.matchup-open,
.matchup-follow {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: #f7f5ee;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  text-decoration: none;
  text-transform: uppercase;
}
.matchup-call { display: inline-flex; align-items: center; color: #f7f5ee; }
.matchup-open { display: inline-flex; align-items: center; color: #ff5a36; }
.matchup-follow { border: 1px solid #555; border-radius: 3px; padding: 8px 12px; }
.matchup-follow:hover,
.matchup-follow.is-following { border-color: #67ca92; color: #67ca92; }
.matchup-card.is-compact { padding: 18px; }
.matchup-card.is-compact .matchup-claim { margin-top: 20px; font-size: 24px; }
.matchup-card.is-compact .matchup-sides { margin-top: 18px; }
.matchup-card.is-compact .matchup-face,
.matchup-card.is-compact .matchup-model-count { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; }
.matchup-card.is-compact .matchup-side strong { font-size: 21px; }

.onboarding-card {
  margin: 26px 0 8px;
  border-left-color: var(--accent);
}
.onboarding-card > strong { font-family: var(--font-mono); font-size: 9px; color: var(--accent); }
.pipeline-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.pipeline-strip a { color: var(--ink); text-decoration: none; }
.pipeline-strip a:hover { color: var(--accent); }
.pipeline-strip span { color: var(--muted); }
.matchup-row-badge {
  min-height: 18px;
  padding: 3px 6px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
}
.matchup-row-badge.is-fixture { border-style: dashed; border-color: var(--muted); color: var(--muted); }
.trade-matchup-preview { margin-top: 14px; }
.call-matchup-pulse {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--font-mono);
  text-decoration: none;
}
.call-matchup-pulse[hidden] { display: none; }
.call-matchup-pulse span { color: var(--accent); font-size: 8px; }
.call-matchup-pulse strong { font-size: 11px; }
.call-matchup-pulse small { color: var(--muted); font-size: 8px; text-align: right; }
.call-matchup-pulse:hover { border-color: var(--accent); }
.trade-discovery,
.receipt-discovery {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}
.trade-discovery a,
.receipt-discovery a { color: var(--accent); text-decoration: none; }

.tm-matchup-stage { margin-top: 24px; }
.tm-hero .tm-matchup-stage .matchup-claim,
.tm-hero .tm-matchup-stage .matchup-read { display: none; }
.tm-hero .tm-matchup-stage .matchup-bracket { margin-top: 18px; }
.capsule-index-matchup { padding: 18px 0; border-top: 1px solid var(--line); }
.capsule-index-chain > .capsule-index-matchup { border-top: 0; }
.capsule-index-chain { border-top: 1px solid var(--line); }
.capsule-index-chain .capsule-index-history { border-top: 0; }

.receipt-card .matchup-bracket { margin-top: 14px; padding-top: 12px; }
.receipt-card .matchup-bracket-caption { margin-bottom: 0; }
.receipt-discovery { justify-content: flex-end; margin-top: 16px; }
.receipt-card-og .matchup-bracket { margin-top: 6px; padding-top: 6px; }
.receipt-card-og .matchup-bracket-caption { display: none; }
.receipt-card-og .matchup-bracket-labels { font-size: 8px; }
.receipt-card-og .matchup-bracket-track { height: 5px; margin-top: 5px; }
.receipt-card-og .matchup-bracket-marker { width: 11px; height: 11px; border-width: 2px; }

.report-fights-first { padding-top: 36px; }
.report-resolution-lead {
  margin: 18px 0;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--ink);
  font-size: 13px;
}
.judgment-matchup-group {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
}
.judgment-matchup-group.is-real { border-top: 3px solid var(--accent); }
.judgment-matchup-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.judgment-matchup-score { text-align: right; }
.judgment-matchup-head > div:first-child > span,
.judgment-matchup-head > div:first-child > strong { display: block; }
.judgment-matchup-head > div:first-child > strong { margin-top: 4px; }
.judgment-matchup-score span,
.judgment-matchup-score strong { display: block; }
.judgment-matchup-score span { color: var(--muted); font-family: var(--font-mono); font-size: 8px; }
.judgment-matchup-score strong { margin-top: 4px; color: var(--accent); font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.judgment-matchup-group .judgment-claim-quote { margin-top: 18px; color: var(--ink); font-family: var(--font-display); font-size: 22px; line-height: 1.25; }
.judgment-matchup-group > .applink { display: inline-block; margin-top: 14px; }
.judgment-answers { margin-top: 18px; border-top: 1px solid var(--line); }
.judgment-row { border-bottom: 1px solid var(--line); padding: 0; }
.judgment-row > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
}
.judgment-row > summary::-webkit-details-marker { display: none; }
.judgment-row .judgment-cases { padding: 0 0 18px; }
.judgment-read-more { color: var(--muted); font-family: var(--font-mono); font-size: 8px; }
.judgment-row[open] .judgment-read-more { color: var(--accent); }
.fixture-report-section > summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.fixture-report-section > summary strong { color: var(--ink); }
.fixture-report-section[open] > summary { margin-bottom: 18px; }
.prior-verdicts {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.prior-verdicts > summary {
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.prior-verdicts[open] > summary { color: var(--accent); }
.how-hero-cta { margin-top: 24px; }

.demo-banner {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 8px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .fight-home { width: calc(100% - 32px); padding-bottom: 64px; }
  .fight-home-hero { padding: 42px 0 38px; }
  .fight-home-hero h1 { font-size: 52px; }
  .fight-home-hero > p:not(.kicker) { font-size: 15px; }
  .fight-home-section,
  .fight-home-routes { padding: 42px 0; }
  .fight-home-section-head { align-items: start; flex-direction: column; gap: 10px; }
  .fight-home-section-head h2 { font-size: 31px; }
  .fight-route-grid { grid-template-columns: 1fr; }
  .fight-route-grid a { min-height: 0; }
  .fight-home-footer { flex-direction: column; gap: 10px; }
  .matchup-home-hero h1 { font-size: 48px; }
  .featured-matchup-shell { padding-top: 8px; }
  .matchup-card { padding: 17px; }
  .matchup-rail { flex-wrap: wrap; }
  .matchup-sides { grid-template-columns: 1fr 30px 1fr; gap: 8px; }
  .matchup-side { align-items: flex-start; flex-direction: column; gap: 8px; }
  .matchup-models { align-items: flex-end; text-align: right; }
  .matchup-model-count { order: 0; }
  .matchup-face,
  .matchup-model-count { width: 40px; height: 40px; flex-basis: 40px; font-size: 17px; }
  .matchup-side strong { font-size: 19px; }
  .matchup-side small { font-size: 7px; }
  .matchup-versus { font-size: 20px; }
  .matchup-claim { font-size: 24px; }
  .matchup-actions { align-items: stretch; flex-direction: column; }
  .matchup-follow { width: 100%; }
  .matchup-bracket-labels { font-size: 8px; }
  .matchup-bracket-labels strong { text-align: center; }
  .matchup-tripwire-grid { grid-template-columns: 1fr; }
  .pipeline-strip { align-items: center; flex-direction: column; }
  .pipeline-strip span { transform: rotate(90deg); }
  .trade-discovery,
  .receipt-discovery { align-items: flex-start; flex-direction: column; }
  .call-matchup-pulse { grid-template-columns: 1fr auto; }
  .call-matchup-pulse small { grid-column: 1 / -1; text-align: left; }
  .judgment-matchup-group { padding: 16px; }
  .judgment-matchup-head { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 8px; }
  .judgment-matchup-group .judgment-claim-quote { font-size: 19px; }
  .judgment-row > summary { grid-template-columns: minmax(0, 1fr) auto auto; }
  .judgment-read-more { grid-column: 1 / -1; }
  .season-score { flex-wrap: wrap; gap: 6px; padding: 5px 0; }
  .season-score small { width: 100%; margin-left: 0; text-align: center; }
  .tm-hero { margin-top: 28px; }
  .tm-identity { margin-top: 18px; }
  .tm-quote { margin-top: 22px; font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .matchup-card *,
  .season-score * { animation: none !important; transition: none !important; }
}
