/* =====================================================================
   v2 — WM 2026 + Pick Detail
   Overlay styles on top of landing.css (Source of Truth).
   Stays inside the same token system (--accent green, Geist Mono numbers).
   ===================================================================== */

/* ---------- WM-specific tokens (semantic aliases over landing tokens) ---------- */
:root {
  /* Tournament "gold" used VERY sparingly — only on the trophy mark and tournament eyebrow */
  --wm-gold: oklch(0.82 0.13 80);

  /* Probability ramp — same hue, varying lightness/chroma. Single-accent discipline. */
  --p-high:  var(--accent);                /* favorite — full accent */
  --p-mid:   oklch(0.78 0.16 145 / 0.45);  /* draw — semi-faded accent */
  --p-low:   oklch(0.78 0.16 145 / 0.20);  /* underdog — faint accent */
}

/* =====================================================================
   Brand mark — replaces the trophy emoji with a tight SVG monogram
   ===================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-mark {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, oklch(0.82 0.13 80 / 0.18), oklch(0.82 0.13 80 / 0.06));
  border: 1px solid oklch(0.82 0.13 80 / 0.35);
  color: var(--wm-gold);
}
.brand-mark svg { width: 16px; height: 16px; }
.brand-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-name .brand-divider { color: var(--text-dim); margin: 0 6px; }
.brand-name .brand-sub { color: var(--text-2); font-weight: 500; }

/* =====================================================================
   Hero — WM
   ===================================================================== */
.wm-hero {
  padding: 88px 0 56px;
  text-align: center;
}
.wm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: oklch(0.78 0.16 145 / 0.10);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid oklch(0.78 0.16 145 / 0.22);
  margin-bottom: 24px;
}
.wm-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.78 0.16 145 / 0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
.wm-hero h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0 0 20px;
  text-wrap: balance;
}
.wm-hero h1 .em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.wm-hero p.sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Inline stat strip — no chunky box, just a horizontal mono row with dividers */
.wm-stat-strip {
  display: inline-flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  gap: 0;
  margin-bottom: 36px;
}
.wm-stat-strip .stat {
  padding: 0 28px;
  border-right: 1px solid var(--line);
  text-align: center;
  min-width: 100px;
}
.wm-stat-strip .stat:last-child { border-right: 0; }
.wm-stat-strip .stat-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.wm-stat-strip .stat-num.accent { color: var(--accent); }
.wm-stat-strip .stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-top: 8px;
}

.wm-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.wm-countdown b {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.wm-countdown .label { color: var(--text-faint); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }

@media (max-width: 700px) {
  .wm-stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
  .wm-stat-strip .stat { padding: 12px 16px; border-right: 1px solid var(--line); }
  .wm-stat-strip .stat:nth-child(2n) { border-right: 0; }
  .wm-stat-strip .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* =====================================================================
   Match of the day — the centerpiece
   ===================================================================== */
.motd-section { padding: 24px 0 64px; }
.motd-section .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.motd-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  overflow: hidden;
  isolation: isolate;
}
.motd-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 85% -20%, oklch(0.78 0.16 145 / 0.10), transparent 70%);
  z-index: -1;
}
.motd-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.motd-when {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.motd-when b { color: var(--text); }
.motd-where {
  font-size: 12px;
  color: var(--text-faint);
  margin-left: 12px;
}
.motd-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.motd-side {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.motd-side.away { flex-direction: row-reverse; text-align: right; }
.motd-flag {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 8px;
  flex-shrink: 0;
}
.motd-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.motd-elo {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.motd-score {
  text-align: center;
  padding: 0 16px;
}
.motd-score-pred {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.motd-score-pred .sep { color: var(--text-dim); padding: 0 8px; }
.motd-score-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}
.motd-score-label b { color: var(--text-2); }

@media (max-width: 720px) {
  .motd-card { padding: 24px 20px; }
  .motd-body { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .motd-side, .motd-side.away { flex-direction: column; text-align: center; gap: 12px; }
  .motd-flag { width: 56px; height: 56px; }
  .motd-name { font-size: 18px; }
  .motd-score-pred { font-size: 48px; }
}

/* Probability stack — single accent, three shades. The signature element. */
.prob-stack {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prob-bar-row {
  display: grid;
  grid-template-columns: 100% 1fr;
  align-items: center;
  position: relative;
}
.prob-stack-segments {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--card-2);
}
.prob-stack-segments .seg {
  height: 100%;
  transition: opacity .15s ease;
}
.prob-stack-segments .seg-1 { background: var(--accent); }
.prob-stack-segments .seg-x { background: oklch(0.78 0.16 145 / 0.45); }
.prob-stack-segments .seg-2 { background: oklch(0.78 0.16 145 / 0.20); }
.prob-stack-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}
.prob-stack-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prob-stack-legend .legend-item .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.prob-stack-legend .legend-item.h .dot { background: var(--accent); }
.prob-stack-legend .legend-item.d .dot { background: oklch(0.78 0.16 145 / 0.45); }
.prob-stack-legend .legend-item.a .dot { background: oklch(0.78 0.16 145 / 0.20); }
.prob-stack-legend .legend-item span.tag {
  color: var(--text-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prob-stack-legend .legend-item b { color: var(--text); font-weight: 500; }

/* Alternative scores chip row */
.motd-alts {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.motd-alts .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.alt-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 10px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.alt-chip small {
  font-size: 11px;
  color: var(--text-faint);
}
.motd-alts .lambda {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}
.motd-alts .lambda b { color: var(--text-2); font-weight: 500; }

/* =====================================================================
   Tabs
   ===================================================================== */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 32px;
}
.tabs button {
  background: transparent;
  border: 0;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background .15s, color .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tabs button:hover { color: var(--text); }
.tabs button.active {
  background: var(--card-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tabs button .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 4px;
}
.tabs button.active .count { color: var(--accent); }
.tabs button .pending {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tab-view { display: none; }
.tab-view.active { display: block; }

/* =====================================================================
   Groups view
   ===================================================================== */
.section-eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-eyebrow-row .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-eyebrow-row h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  margin: 8px 0 0;
  font-weight: 600;
  line-height: 1.1;
}
.section-eyebrow-row h2 .muted { color: var(--text-dim); font-weight: 500; }
.section-eyebrow-row .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .group-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .group-grid { grid-template-columns: 1fr; } }

.group-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.group-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--line);
}
.group-card-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.group-card-head h3 .letter {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-right: 8px;
  vertical-align: -2px;
}
.group-card-head .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.group-teams {
  padding: 8px 8px 8px;
  display: flex;
  flex-direction: column;
}
.group-team-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.group-team-row:hover { background: var(--card-2); }
.group-team-row .seed {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}
.group-team-row .flag {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  object-fit: contain;
  padding: 2px;
  flex-shrink: 0;
}
.group-team-row .name {
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.group-team-row .name .flag-inline { width: 18px; height: 18px; border-radius: 3px; flex-shrink: 0; }
.group-team-row .elo {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
}
.group-team-row .elo small {
  color: var(--text-faint);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}
.group-team-row .winprob {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  min-width: 36px;
  text-align: right;
}

/* Expandable fixtures section */
.group-fixtures {
  border-top: 1px solid var(--line);
  background: oklch(0.16 0.005 250);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Compact fixture row inside group cards */
.fxr {
  display: grid;
  grid-template-columns: 56px 1fr 36px 1fr 60px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 13px;
}
.fxr .when {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.fxr .when .day { color: var(--text-2); }
.fxr .team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.fxr .team.away { flex-direction: row-reverse; }
.fxr .team .flag { width: 18px; height: 18px; border-radius: 3px; flex-shrink: 0; }
.fxr .team .name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.fxr .score {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-align: center;
}
.fxr .score .sep { color: var(--text-dim); padding: 0 2px; }
.fxr .conf {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  text-align: right;
}

/* =====================================================================
   Schedule (matchday) view — larger match cards
   ===================================================================== */
.matchday {
  margin-bottom: 32px;
}
.matchday-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.matchday-head h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.matchday-head .day-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.matchday-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .matchday-list { grid-template-columns: 1fr; } }

/* Full match card — used in schedule view */
.match-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .15s, background .15s;
}
.match-card:hover { border-color: var(--line-strong); background: oklch(0.19 0.007 250); }

.mc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.mc-when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.mc-when .sep { color: var(--text-dim); margin: 0 6px; }
.mc-tags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mc-conf {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.mc-conf.clear { background: oklch(0.78 0.16 145 / 0.14); color: var(--accent-strong); }
.mc-conf.mid   { background: oklch(0.78 0.16 145 / 0.07); color: var(--accent); }
.mc-conf.open  { background: var(--card-2); color: var(--text-faint); }

.mc-group {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 3px 8px;
  background: var(--card-2);
  border-radius: 4px;
}

.mc-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.mc-side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mc-side.away { flex-direction: row-reverse; text-align: right; }
.mc-flag {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 3px;
  flex-shrink: 0;
}
.mc-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-elo {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  margin-top: 2px;
}
.mc-score {
  text-align: center;
  min-width: 88px;
}
.mc-score-pred {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.mc-score-pred .sep { color: var(--text-dim); padding: 0 4px; }
.mc-score-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.mc-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* compact prob bar inside match cards */
.prob-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prob-mini-bar {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--card-2);
}
.prob-mini-bar .seg-1 { background: var(--accent); }
.prob-mini-bar .seg-x { background: oklch(0.78 0.16 145 / 0.45); }
.prob-mini-bar .seg-2 { background: oklch(0.78 0.16 145 / 0.20); }
.prob-mini-legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.prob-mini-legend b { color: var(--text); font-weight: 500; }

.mc-alts {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.mc-alts .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.mc-alts .chips {
  display: inline-flex;
  gap: 4px;
}
.mc-alts .chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  background: var(--card-2);
  border-radius: 4px;
  color: var(--text-2);
}
.mc-alts .chip small { color: var(--text-faint); font-size: 10px; margin-left: 3px; }

@media (max-width: 540px) {
  .mc-body { grid-template-columns: 1fr; gap: 8px; }
  .mc-side, .mc-side.away { flex-direction: row; text-align: left; }
  .mc-bottom { grid-template-columns: 1fr; }
  .mc-alts { align-items: flex-start; }
}

/* =====================================================================
   KO-phase placeholder
   ===================================================================== */
.ko-placeholder {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 14px, oklch(0.21 0.008 250 / 0.4) 14px, oklch(0.21 0.008 250 / 0.4) 15px);
}
.ko-placeholder .ico {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.ko-placeholder h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.ko-placeholder p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

/* =====================================================================
   PICK DETAIL PAGE
   ===================================================================== */
.pick-page { padding: 32px 0 64px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
  transition: color .15s;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 12px; height: 12px; }

/* Hero thesis */
.pick-thesis {
  margin-bottom: 32px;
}
.pick-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pick-eyebrow .league {
  color: var(--accent);
}
.pick-eyebrow .sep { color: var(--text-dim); }

.thesis-title {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 12px;
  text-wrap: balance;
}
.thesis-title .em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.thesis-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Matchup card */
.matchup {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.matchup::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 500px 200px at 50% -10%, oklch(0.78 0.16 145 / 0.06), transparent 70%);
}
.matchup-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}
.matchup-team {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.matchup-team.away { flex-direction: row-reverse; text-align: right; }
.matchup-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 6px;
  flex-shrink: 0;
}
.matchup-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.matchup-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.matchup-center {
  text-align: center;
}
.matchup-vs {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-dim);
}
.matchup-score {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.matchup-score.hit  { color: var(--accent); }
.matchup-score.miss { color: var(--miss); }
.matchup-score .sep { color: var(--text-dim); padding: 0 6px; }
.matchup-result {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.matchup-result.hit  { background: var(--accent-soft); color: var(--accent-strong); }
.matchup-result.miss { background: var(--miss-soft); color: var(--miss); }
.matchup-when {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .matchup { padding: 24px 18px; }
  .matchup-body { grid-template-columns: 1fr; gap: 18px; }
  .matchup-team, .matchup-team.away { flex-direction: column; text-align: center; gap: 10px; }
  .matchup-name { font-size: 18px; }
  .matchup-score { font-size: 38px; }
}

/* Engine vs Market — comparison card */
.evm {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
}
.evm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.evm-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.evm-head .sub {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 4px;
}
.evm-delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.evm-delta.edge   { background: var(--accent-soft); color: var(--accent-strong); }
.evm-delta.align  { background: var(--card-2); color: var(--text-2); }
.evm-delta.risk   { background: var(--miss-soft); color: var(--miss); }

.evm-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.evm-row {
  display: grid;
  grid-template-columns: 100px 1fr 64px;
  gap: 16px;
  align-items: center;
}
.evm-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.evm-label.engine { color: var(--accent); }
.evm-label.market { color: var(--text-faint); }
.evm-track {
  height: 24px;
  border-radius: var(--radius-sm);
  background: var(--card-2);
  position: relative;
  overflow: hidden;
}
.evm-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: var(--radius-sm);
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}
.evm-fill.engine { background: linear-gradient(90deg, var(--accent-faint), var(--accent)); }
.evm-fill.market { background: var(--card-2); border: 1px solid var(--line-strong); }
.evm-fill.market::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 6px, oklch(1 0 0 / 0.04) 6px, oklch(1 0 0 / 0.04) 7px);
}
.evm-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: right;
}
.evm-val.engine { color: var(--accent); }
.evm-val.market { color: var(--text-2); }

.evm-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.evm-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.evm-stat .val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

@media (max-width: 600px) {
  .evm-row { grid-template-columns: 64px 1fr 52px; gap: 10px; }
  .evm-val { font-size: 15px; }
  .evm-foot { grid-template-columns: 1fr; gap: 12px; }
}

/* Form trend visualization */
.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 800px) { .form-section { grid-template-columns: 1fr; } }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.form-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.form-card-team {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-card-team img { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); padding: 3px; }
.form-card-team .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.form-card-team .rank {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.form-summary {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.form-summary span { display: inline-flex; align-items: center; gap: 4px; }
.form-summary .w { color: var(--accent); }
.form-summary .d { color: var(--text-faint); }
.form-summary .l { color: var(--miss); }
.form-summary .dot { width: 6px; height: 6px; border-radius: 50%; }
.form-summary .w .dot { background: var(--accent); }
.form-summary .d .dot { background: var(--text-faint); }
.form-summary .l .dot { background: var(--miss); }

.form-dots {
  display: flex;
  gap: 6px;
  margin: 14px 0 16px;
}
.form-dot {
  flex: 1;
  height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  position: relative;
}
.form-dot.w { background: var(--accent-soft); color: var(--accent-strong); border: 1px solid oklch(0.78 0.16 145 / 0.25); }
.form-dot.d { background: var(--card-2); color: var(--text-2); border: 1px solid var(--line); }
.form-dot.l { background: var(--miss-soft); color: var(--miss); border: 1px solid oklch(0.68 0.18 25 / 0.3); }
.form-dot:hover { transform: translateY(-1px); }

.form-game-list {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 12px;
}
.form-game {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  padding: 8px 0;
  align-items: center;
  font-size: 12.5px;
}
.form-game + .form-game { border-top: 1px solid oklch(0.21 0.008 250 / 0.6); }
.form-game .badge {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}
.form-game .badge.w { background: var(--accent-soft); color: var(--accent-strong); }
.form-game .badge.d { background: var(--card-2); color: var(--text-2); }
.form-game .badge.l { background: var(--miss-soft); color: var(--miss); }
.form-game .opp { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form-game .opp small { color: var(--text-faint); }
.form-game .score { font-family: var(--font-mono); color: var(--text); font-size: 13px; }
.form-game .when { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* Reasoning bullets */
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
}
.why-card h3 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: oklch(0.16 0.005 250);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent);
}
.why-item .ico {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.why-item .ico svg { width: 16px; height: 16px; }
.why-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.why-item .val {
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
}
.why-item .val b {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
}

/* Disclaimer footer */
.pick-disclaimer {
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}
.pick-disclaimer svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--text-faint); }
