:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --white: #fdfcf9;
  --ink: #242b29;
  --muted: #5f625f;
  --line: #d6d4cc;
  --sage: #e7efeb;
  --sage-line: #becdc4;
  --green: #007948;
  --green-soft: #d6f7e5;
  --red: #a23543;
  --orange: #eb602e;
  --rust: #a53d1b;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rust); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
p, h1, h2, h3, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: 18px; }
.frame { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.masthead { border-bottom: 1px solid #282928; }
.masthead-inner { min-height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { font-size: 35px; letter-spacing: -.09em; font-weight: 840; line-height: 1; }
.logo span { color: var(--rust); padding-left: 2px; }
.masthead nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 680; }
.demo-tag { border: 1px solid var(--line); padding: 5px 9px; color: var(--muted); font-size: 12px; }
.league-strip { display: flex; min-height: 57px; align-items: center; gap: 22px; margin: 18px 0 16px; padding: 8px 18px; background: #e8e9e2; border-block: 1px solid #d1d3c8; }
.league-title { display: grid; gap: 2px; padding-right: 20px; border-right: 1px solid #cfd1c6; white-space: nowrap; }
.league-title strong { font-size: 14px; }
.league-title span { color: var(--muted); font-size: 12px; }
.league-strip ul { display: flex; gap: 23px; flex: 1; font-size: 14px; }
.league-strip li { min-width: 0; }
.league-strip li a { font-size: 16px; font-weight: 740; }
.league-strip li b { margin-left: 5px; font-variant-numeric: tabular-nums; }
.league-sample { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.line-link { color: var(--rust); font-size: 14px; font-weight: 710; white-space: nowrap; }
.line-link:hover { text-decoration: underline; }

.match-head { display: grid; grid-template-columns: minmax(0, 1fr) 29%; min-height: 135px; margin-top: 10px; border: 1px solid var(--line); background: var(--white); }
.match-copy { align-self: center; padding: 16px 21px; }
.eyebrow { color: var(--rust); font-size: 12px; font-weight: 790; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow span { margin-inline: 4px; }
h1 { display: flex; flex-wrap: wrap; align-items: center; gap: .21em; font-size: clamp(39px, 4.85vw, 70px); font-weight: 820; letter-spacing: -.073em; line-height: 1; margin: 10px 0 13px; }
h1 span { color: #a8a7a0; font-weight: 430; }
.match-team { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.match-team img { width: 42px; height: 42px; flex: none; object-fit: contain; }
.match-info { display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: 12px; }
.match-info time { font-weight: 660; color: var(--ink); }
.status { display: inline-flex; align-items: center; flex: none; gap: 6px; padding: 4px 8px; background: #f4e5dc; color: #903613; font-size: 12px; font-weight: 770; white-space: nowrap; }
.status i { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.match-image { position: relative; min-height: 0; overflow: hidden; background: var(--sage); }
.match-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.jump-nav { display: flex; align-items: center; gap: 29px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 620; }
.stage-switch { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.stage-label { color: var(--muted); font-size: 12px; font-weight: 660; }
.stage-options { display: inline-flex; padding: 2px; background: #ece8e0; border: 1px solid #cbc2b6; border-radius: 5px; white-space: nowrap; }
.stage-options > * { display: grid; place-items: center; min-height: 34px; padding: 5px 14px; border-radius: 3px; color: var(--ink); font-size: 14px; font-weight: 740; }
.stage-options [aria-current="page"] { background: var(--rust); color: #fff; }
.stage-options a:hover { background: #f8ded1; color: var(--rust); }
.share { margin-left: auto; border: 0; padding: 0; background: none; color: var(--rust); font: inherit; cursor: pointer; }
.share:hover { text-decoration: underline; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.section { margin-top: 28px; }
h2 { font-size: 33px; line-height: 1.08; letter-spacing: -.049em; font-weight: 800; }
.section-intro { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.factor-grid, .forecast-grid, .stats-grid, .other-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.factor, .forecast, .stats figure { min-width: 0; padding: 16px 17px; background: var(--white); border: 1px solid var(--line); }
.factor { border-top: 2px solid var(--orange); }
.factor h3 { font-size: 15px; line-height: 1.3; font-weight: 760; }
.factor .metric { display: flex; gap: 8px; align-items: baseline; margin: 7px 0 2px; color: var(--ink); font-weight: 650; font-size: 14px; }
.metric b { color: var(--rust); font-size: clamp(27px, 3.25vw, 43px); letter-spacing: -.068em; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sample { font-size: 12px; color: var(--muted); line-height: 1.4; }
.factor > p:last-child { margin-top: 12px; line-height: 1.42; font-size: 14px; }
.stats { margin-top: 12px; }
summary { cursor: pointer; }
.stats summary { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 9px 14px; border: 1px solid var(--line); background: #ebe9e2; font-weight: 740; font-size: 14px; list-style: none; }
.stats summary::-webkit-details-marker { display: none; }
.stats summary:hover { background: #e5e2d9; }
.stats summary small { font-size: 12px; font-weight: 540; color: var(--muted); }
.expand-icon { position: relative; width: 25px; height: 25px; border-radius: 50%; background: var(--white); color: var(--rust); margin-left: auto; }
.expand-icon::before, .expand-icon::after { content: ""; position: absolute; top: 12px; left: 7px; width: 11px; height: 1px; background: currentColor; }
.expand-icon::after { transform: rotate(90deg); }
.stats[open] .expand-icon::after { display: none; }
.stats-grid { margin-top: 10px; }
figcaption { display: grid; gap: 4px; font-size: 14px; margin-bottom: 14px; }
figcaption span, .chart-note { font-size: 12px; color: var(--muted); }
.shot-bars { display: flex; justify-content: space-between; align-items: end; gap: 3px; height: 114px; border-bottom: 1px solid var(--line); }
.shot-bars li { flex: 1; min-width: 0; display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.shot-bars i { background: #9faba4; height: calc(var(--value) * 2.2px); width: min(100%, 17px); }
.shot-bars li:nth-last-child(-n+3) i, .chart-note i { background: var(--orange); }
.chart-note { margin-top: 8px; }
.chart-note i { display: inline-block; width: 7px; height: 7px; margin-right: 3px; }
.compare-bar { position: relative; display: flex; justify-content: space-between; gap: 8px; border-bottom: 5px solid #ecebe6; padding-bottom: 6px; margin: 18px 0; font-size: 14px; isolation: isolate; }
.compare-bar i { position: absolute; left: 0; bottom: -5px; width: var(--fill); height: 5px; background: var(--orange); }
.compare-bar.muted i { background: #9faba4; }

.forecast-grid { align-items: start; }
#forecasts .forecast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.forecast-release { margin-top: 12px; padding: 15px 17px; border-left: 3px solid var(--orange); background: #f2e7dc; }
.forecast-release strong { color: var(--rust); }
.forecast-release p, .forecast-channel { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.forecast-subscribe { display: inline-block; width: fit-content; margin-top: 10px; padding: 6px 9px; border: 1px solid #bd9582; background: #f4e4da; color: var(--rust); font: inherit; font-size: 12px; font-weight: 740; text-decoration: none; }
.forecast-subscribe:is(:hover, :focus-visible) { background: var(--rust); color: #fff; }
.forecast h3 { font-size: 18px; line-height: 1.24; letter-spacing: -.03em; margin-bottom: 3px; }
.forecast.featured { border-color: #cb8e73; background: #fffaf4; }
.pick { margin: 13px 0 8px; font-size: 25px; line-height: 1.1; font-weight: 800; letter-spacing: -.044em; }
.forecast-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.forecast-meta b { color: var(--green); background: var(--green-soft); padding: 3px 6px; font-size: 14px; }
.forecast-meta span:last-child { margin-left: auto; }
.forecast details { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.forecast details summary { color: var(--rust); font-weight: 740; }
.forecast details p { padding-top: 8px; line-height: 1.48; }
.editorial-pick { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 12px; padding: 22px 24px; border: 1px solid var(--sage-line); border-top: 2px solid var(--rust); background: var(--sage); color: var(--ink); }
.editorial-pick h3 { font-size: 34px; line-height: 1.1; letter-spacing: -.055em; margin: 5px 0 7px; }
.editorial-pick p { color: var(--ink); font-size: 14px; line-height: 1.45; }
.editorial-pick .publication { margin-top: 5px; color: var(--muted); font-size: 14px; }
.forecast-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin: 0 0 8px; }
.forecast-byline > span { color: var(--muted); font-size: 12px; }
.forecast-byline a, .matchday-forecast strong a { color: var(--rust); font-size: 16px; font-weight: 760; }
.editorial-pick a { text-decoration: underline; text-underline-offset: 2px; }
.editorial-pick aside { display: grid; flex: none; gap: 3px; padding-left: 22px; border-left: 1px solid var(--sage-line); font-size: 14px; color: var(--muted); }
.editorial-pick aside b { font-size: clamp(30px, 3.2vw, 42px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.match-first-outcome { margin-top: 17px; }
.match-first-outcome h2 { font-size: clamp(22px, 2.4vw, 31px); }
.match-first-outcome + .league-strip { margin-top: 14px; margin-bottom: 4px; background: var(--sage); border-color: var(--sage-line); }
.match-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 1fr);
  grid-template-areas: "offer money" "notes money";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 9px 22px;
  margin-top: 9px;
  padding: 14px;
  background: var(--white);
}
.match-offer-copy { grid-area: offer; padding: 4px 0 0 5px; }
.match-offer-copy .publication strong { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.match-offer-notes { grid-area: notes; padding-left: 5px; }
.match-offer-notes p + p { margin-top: 4px; }
.match-offer-notes .publication { color: var(--muted); }
.match-money {
  grid-area: money;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #a8d9c0;
  background: #eaf8ef;
}
.match-money[data-result="lost"] { background: #fbebed; border-color: #e5b8c0; }
.match-money[data-result="void"] { background: #f2f0e9; border-color: var(--line); }
.match-money-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 11px; }
.match-money-heading b { font-size: clamp(32px, 3.7vw, 48px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.match-money-heading span { color: var(--ink); font-size: 14px; font-weight: 720; }
.match-money-units { font-variant-numeric: tabular-nums; }
.match-secondary-title { font-size: clamp(21px, 2vw, 28px); }

.postgame { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 18px 20px; background: #e8e9e2; border-block: 1px solid #d1d3c8; }
.postgame h2 { font-size: 23px; }
.postgame p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.postgame .status { background: var(--white); color: var(--muted); }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; margin-top: 12px; }
.history-grid li { display: grid; grid-template-columns: 78px 1fr 63px 1fr; gap: 8px; align-items: center; padding: 10px 8px; border-top: 1px solid var(--line); background: var(--white); font-size: 14px; }
.history-grid li span:nth-child(2) { text-align: right; }
.history-grid time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.history-grid li b { text-align: center; font-variant-numeric: tabular-nums; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.other-grid a { padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); background: var(--white); font-size: 14px; }
.other-grid a span { font-size: 12px; color: var(--rust); white-space: nowrap; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); margin-top: 30px; padding-block: 13px 24px; font-size: 12px; color: var(--muted); }
.page-footer strong { font-size: 14px; color: var(--ink); }

.settled-head .match-copy { padding-block: 16px; }
.settled-head h1 { margin: 7px 0 12px; font-size: clamp(34px, 4.35vw, 64px); }
.settled-head .final-score { padding: .065em .18em .11em; color: var(--ink); background: var(--sage); font-weight: 830; line-height: 1; font-variant-numeric: tabular-nums; }
.final-status { color: var(--ink); background: var(--sage); }
.final-status i { background: var(--muted); }
.score-context { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: var(--muted); font-size: 12px; }
.score-context b { color: var(--ink); font-variant-numeric: tabular-nums; }
.score-context span { border-left: 1px solid var(--line); padding-left: 9px; margin-left: 2px; }
.settled-pick { margin-top: 12px; padding-block: 17px; }
.settled-pick h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.settled-badge { color: var(--green); background: var(--green-soft); padding: 5px 8px; font-size: 14px; letter-spacing: 0; white-space: nowrap; }
.review-intro { margin-top: 11px; }
.model-audits { display: grid; gap: 6px; margin-top: 10px; }
.model-audit { border: 1px solid var(--line); background: var(--white); }
.model-audit > summary { display: grid; grid-template-columns: 1.05fr 2fr minmax(82px, .7fr) 25px; align-items: center; gap: 12px; min-height: 43px; padding: 7px 13px; color: var(--muted); font-size: 12px; list-style: none; }
.model-audit > summary::-webkit-details-marker { display: none; }
.model-audit > summary:hover, .model-audit[open] > summary { background: #ebe9e2; }
.model-audit > summary strong { color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.model-audit > summary .positive { font-weight: 780; text-align: right; font-variant-numeric: tabular-nums; }
.model-audit[open] .expand-icon::after { display: none; }
.audit-body { padding: 8px 13px 11px; }
.audit-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.audit-meta a { color: var(--rust); font-weight: 720; }
.audit-meta a:hover { text-decoration: underline; }
.review-table { width: 100%; border-collapse: collapse; margin-top: 7px; font-size: 12px; line-height: 1.36; }
.review-table th, .review-table td { border-bottom: 1px solid var(--line); padding: 7px 9px 7px 0; vertical-align: top; text-align: left; }
.review-table th { color: var(--muted); font-size: 12px; font-weight: 680; }
.review-table th:first-child { width: 31%; }
.review-table th:nth-child(2) { width: 25%; }
.review-table td span { margin-left: 6px; font-size: 12px; font-weight: 630; }
.audit-context { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.factor-result { border-top: 1px solid var(--line); padding-top: 9px; }
.factor-result b { color: var(--green); }

@media (max-width: 780px) {
  .frame { width: calc(100% - 30px); }
}

@media (max-width: 1000px) {
  .league-strip { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 10px; padding: 9px 11px; }
  .league-title { border: 0; padding: 0; }
  .league-strip ul { grid-column: 1 / -1; grid-row: 2; min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .league-strip li { white-space: normal; overflow-wrap: anywhere; }
  .league-strip li b, .league-sample { display: block; margin: 2px 0 0; }
  .league-strip > .line-link { grid-column: 2; grid-row: 1; }
  .jump-nav, .match-info, .score-context, .stage-switch { flex-wrap: wrap; gap: 7px 13px; }
  .section-head { flex-wrap: wrap; gap: 8px; }
  .history-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 680px) {
  .match-head { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .match-image { display: none; }
  .match-copy, .settled-head .match-copy { padding: 12px; }
  .match-head h1 {
    display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 6px;
    margin-block: 12px; font-size: clamp(17px, 5.3vw, 28px); letter-spacing: -.05em;
  }
  .match-team { justify-content: center; flex-direction: column; gap: 4px; min-width: 0; white-space: normal; text-align: center; }
  .match-team img { order: -1; width: 28px; height: 28px; }
  .section { margin-top: 22px; }
  h2 { font-size: 26px; }
  .factor-grid, .forecast-grid, .stats-grid, .other-grid, #forecasts .forecast-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .stats summary, .audit-meta, .postgame { flex-wrap: wrap; gap: 8px; }
  .stats summary { min-height: 44px; }
  .stats summary small { flex: 1 0 75%; }
  .review-table { table-layout: fixed; overflow-wrap: anywhere; }
  .review-table td span { display: block; margin: 3px 0 0; }
  .model-audit > summary { grid-template-columns: minmax(0,1fr) auto 25px; gap: 5px 8px; }
  .model-audit > summary > :nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
  .editorial-pick { flex-direction: column; align-items: stretch; gap: 12px; padding: 15px; }
  .editorial-pick h3 { font-size: 26px; }
  .editorial-pick aside { border-left: 0; border-top: 1px solid var(--sage-line); padding: 10px 0 0; }
  .match-first-outcome { margin-top: 14px; }
  .match-feature {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "offer" "money" "notes";
    grid-template-rows: auto;
    gap: 10px;
    padding: 11px;
  }
  .match-offer-copy, .match-offer-notes { padding: 0; }
  .match-money { padding: 10px; }
  .history-grid li { grid-template-columns: 65px minmax(0,1fr) 44px minmax(0,1fr); gap: 4px; font-size: 12px; }
  .history-grid li span { overflow-wrap: anywhere; }
  .forecast-subscribe { display: inline-flex; min-height: 44px; align-items: center; }
}
