:root {
  color-scheme: light;
  --navy-950: #061a2e;
  --navy-900: #002e5d;
  --navy-800: #073d70;
  --blue-800: #003d83;
  --blue-700: #004a99;
  --blue-600: #0057b8;
  --blue-500: #1476d4;
  --blue-200: #a9d0f2;
  --blue-100: #dceeff;
  --blue-050: #f0f7fd;
  --sand-200: #e8e1d5;
  --sand-100: #efece6;
  --sand-050: #f7f4ee;
  --gold-700: #8a5a00;
  --gold-500: #d69e2e;
  --gold-100: #fff0ca;
  --ink: #0f172a;
  --muted: #475569;
  --muted-light: #667789;
  --line: #d4dee6;
  --line-dark: #afbeca;
  --paper: #ffffff;
  --background: #f5f3ee;
  --opponent-primary: #9b2c3d;
  --opponent-secondary: #5b1a24;
  --opponent-chart: #9b2c3d;
  --opponent-contrast: #ffffff;
  --opponent-pattern-opacity: 0.2;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Aptos Narrow", "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --content: 1180px;
  --shadow-sm: 0 5px 16px rgb(6 26 46 / 7%);
  --shadow: 0 18px 45px rgb(6 26 46 / 10%);
  --shadow-strong: 0 24px 65px rgb(6 26 46 / 17%);
  font-family: var(--font-body);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 7%, rgb(0 87 184 / 6%), transparent 25rem),
    linear-gradient(120deg, transparent 0 48%, rgb(0 46 93 / 2%) 48% 52%, transparent 52% 100%),
    var(--background);
  font-size: 1rem;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

button,
input[type="range"] {
  cursor: pointer;
}

a {
  color: var(--blue-700);
}

button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid #57aaf4;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 10px 16px;
  color: white;
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-strong);
  font-size: 0.875rem;
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  color: white;
  background:
    linear-gradient(90deg, rgb(0 87 184 / 34%), transparent 35%),
    var(--navy-950);
  border-bottom: 4px solid var(--blue-600);
  box-shadow: 0 8px 25px rgb(6 26 46 / 16%);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--content));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--blue-600);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 12%);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 950;
  font-style: italic;
  line-height: 1;
}

.site-header nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  color: #d8e6f2;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.site-header nav a:hover {
  color: white;
  background: rgb(255 255 255 / 10%);
}

.site-header nav a[aria-current="page"] {
  color: var(--navy-950);
  background: white;
  box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
  font-weight: 900;
}

main,
.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin-right: auto;
  margin-left: auto;
}

main {
  padding: 48px 0 72px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: condensed;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 0.93;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.data-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 32px;
  padding: 7px 12px;
  color: #633c00;
  background: var(--gold-100);
  border: 1px solid #e2c16c;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.season-hero {
  padding: 20px 26px 17px;
  background:
    linear-gradient(100deg, var(--blue-050), transparent 58%),
    white;
  border-top: 5px solid var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.season-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.season-heading .eyebrow {
  margin-bottom: 3px;
  color: var(--blue-700);
}

.season-heading h1 {
  margin-bottom: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.season-badges {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.season-badges .data-badge {
  gap: 4px;
}

.archive-badge {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  color: var(--muted);
  background: var(--sand-050);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.archive-badge strong {
  color: var(--navy-900);
}

.season-performance-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--blue-800);
  background: var(--blue-050);
  border: 1px solid #bfd6e8;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 850;
  transition: background 160ms ease, transform 160ms ease;
}

.season-performance-link:hover {
  color: white;
  background: var(--navy-900);
  transform: translateY(-1px);
}

.historical-note {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 13px;
  padding-top: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.45;
}

.note-icon {
  flex: 0 0 auto;
  color: var(--gold-700);
  font-size: 0.875rem;
  line-height: 1;
}

.live-season-hero {
  background:
    linear-gradient(100deg, rgb(220 238 255 / 78%), transparent 62%),
    white;
}

.prospective-note .note-icon {
  color: var(--blue-600);
  font-size: 0.625rem;
}

.season-outlook {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 16px;
  padding: 19px 21px;
  color: white;
  background:
    radial-gradient(circle at 0 0, rgb(0 87 184 / 48%), transparent 15rem),
    var(--navy-950);
  border-radius: 12px;
}

.projected-wins-value {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1px 8px;
  align-items: baseline;
  min-width: 185px;
}

.projected-wins-value span {
  grid-column: 1 / -1;
  color: #bcd1e2;
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.projected-wins-value strong {
  color: white;
  font-family: var(--font-display);
  font-size: 2.65rem;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
}

.projected-wins-value small,
.projected-wins-copy small {
  color: #bcd1e2;
  font-size: 0.6875rem;
}

.projected-wins-copy {
  padding-left: 22px;
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.projected-wins-copy p {
  margin-bottom: 2px;
  color: white;
  font-size: 0.875rem;
  font-weight: 800;
}

.season-games {
  margin-top: 34px;
}

.section-heading,
.distribution-heading,
.performance-section-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading > p,
.section-heading-meta > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.section-heading-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.schedule-key {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.schedule-key strong {
  color: var(--navy-900);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.loading-state,
.page-error {
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--muted);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  text-align: center;
}

.page-error {
  color: #7c2d12;
  background: #fff7ed;
  border-left: 5px solid #c2410c;
}

.game-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 23px 21px 18px;
  overflow: hidden;
  color: var(--ink);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.game-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--opponent-primary), var(--opponent-secondary));
  content: "";
}

.game-card::after {
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 190px;
  height: 190px;
  background: var(--opponent-primary);
  border-radius: 50%;
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

.game-card:hover {
  box-shadow: 0 18px 42px rgb(6 26 46 / 15%);
  transform: translateY(-4px);
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-card-tags {
  display: flex;
  gap: 7px;
  align-items: center;
}

.game-date {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.site-pill,
.opponent-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-pill {
  padding: 6px 10px;
  color: var(--blue-800);
  background: var(--blue-050);
}

.opponent-pill {
  min-width: 38px;
  padding: 6px 9px;
  color: var(--opponent-contrast);
  background: var(--opponent-primary);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 18%);
}

.game-card-matchup {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 16px 0 15px;
}

.opponent-card-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--opponent-contrast);
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 8px,
      rgb(255 255 255 / var(--opponent-pattern-opacity)) 8px 10px
    ),
    var(--opponent-primary);
  border: 4px solid var(--opponent-secondary);
  border-radius: 18px;
  box-shadow: 0 7px 15px rgb(6 26 46 / 15%);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.game-card h3 {
  margin: 0 0 3px;
  color: var(--navy-950);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.game-venue {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.game-card-statbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
  align-items: baseline;
  padding: 11px 13px;
  background: var(--sand-050);
  border: 1px solid var(--sand-200);
  border-radius: 10px;
}

.card-stat {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  min-width: 0;
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.card-stat + .card-stat::before {
  margin: 0 10px;
  color: var(--line-dark);
  content: "·";
  font-weight: 900;
}

.card-stat b {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 750;
}

.card-stat strong {
  color: var(--navy-900);
  font-weight: 900;
}

.game-card-result {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-top: 13px;
  color: var(--muted);
  border-top: 1px solid var(--sand-200);
  font-size: 0.75rem;
}

.game-card-result strong {
  color: var(--ink);
  font-size: 0.75rem;
}

.result-code {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: var(--blue-600);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 950;
}

.result-code.l {
  color: var(--opponent-contrast);
  background: var(--opponent-primary);
}

.view-game {
  margin-left: auto;
  color: var(--blue-700);
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.schedule-card:not(.forecast-card):not(.preview-card):hover {
  box-shadow: var(--shadow-sm);
  transform: none;
}

.schedule-card-status {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  padding: 10px 2px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 800;
}

.schedule-current-outlook {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--navy-950);
  background: var(--blue-050);
  border: 1px solid #bed9ed;
  border-radius: 10px;
  font-size: 0.75rem;
}

.schedule-current-outlook strong {
  text-align: right;
}

.current-outlook-label {
  flex: 0 0 auto;
  color: var(--blue-800);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.schedule-preview-cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  gap: 11px;
  align-items: center;
  min-height: 58px;
  margin-top: 12px;
  padding: 10px 12px;
  color: var(--navy-950);
  background:
    linear-gradient(110deg, rgb(0 87 184 / 9%), transparent 58%),
    white;
  border: 1px solid #9fc6e4;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(6 26 46 / 6%);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.preview-card:hover .schedule-preview-cta {
  border-color: var(--blue-600);
  box-shadow: 0 8px 18px rgb(6 26 46 / 11%);
}

.schedule-preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 8px;
  color: white;
  background: var(--navy-900);
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.schedule-preview-copy {
  display: grid;
  min-width: 0;
}

.schedule-preview-copy strong {
  color: var(--navy-950);
  font-size: 0.75rem;
}

.schedule-preview-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.625rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-preview-arrow {
  color: var(--blue-700);
  font-size: 1.15rem;
  font-weight: 900;
}

.preview-available-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 9px;
  color: white;
  background: var(--navy-900);
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
}

.back-link:hover {
  color: var(--blue-700);
}

.game-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(26px, 4vw, 40px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 10% 20%, rgb(0 87 184 / 50%), transparent 24rem),
    linear-gradient(125deg, transparent 0 72%, color-mix(in srgb, var(--opponent-primary) 40%, transparent)),
    var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.game-hero::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 94px, rgb(255 255 255 / 5%) 94px 96px),
    linear-gradient(0deg, transparent 49.5%, rgb(255 255 255 / 7%) 49.5% 50.5%, transparent 50.5%);
  content: "";
  pointer-events: none;
}

.game-heading,
.final-score {
  position: relative;
  z-index: 1;
}

.game-heading {
  min-width: 0;
}

.matchup-lockup {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(130px, 0.7fr) minmax(190px, 1fr);
  gap: 22px;
  align-items: center;
}

.team-lockup {
  display: flex;
  gap: 15px;
  align-items: center;
  min-width: 0;
}

.opponent-lockup {
  justify-content: flex-end;
  text-align: right;
}

.team-mark {
  display: grid;
  width: 76px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
}

.byu-mark {
  color: white;
  background: var(--blue-600);
  border: 3px solid white;
  box-shadow: 0 0 0 5px rgb(0 87 184 / 28%);
  font-size: 1.85rem;
  font-style: italic;
}

.opponent-mark {
  color: var(--opponent-contrast);
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 9px,
      rgb(255 255 255 / var(--opponent-pattern-opacity)) 9px 11px
    ),
    var(--opponent-primary);
  border: 4px solid var(--opponent-secondary);
  box-shadow: 0 0 0 5px rgb(255 255 255 / 9%);
}

.team-copy {
  display: grid;
  min-width: 0;
}

.team-copy small {
  color: #a9c8e2;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-copy strong {
  overflow-wrap: anywhere;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.opponent-lockup .team-copy strong {
  padding-bottom: 5px;
  border-bottom: 4px solid var(--opponent-primary);
}

.team-copy em {
  width: max-content;
  margin-top: 7px;
  padding: 4px 8px;
  color: #d6e2ed;
  background: rgb(255 255 255 / 9%);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.opponent-lockup .team-copy em {
  justify-self: end;
}

.matchup-center {
  display: grid;
  gap: 6px;
  place-items: center;
  color: #cbd9e6;
  text-align: center;
}

.matchup-center > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 950;
  letter-spacing: 0.07em;
}

.matchup-center time {
  max-width: 170px;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
}

.matchup-center small {
  max-width: 180px;
  color: #a9bed1;
  font-size: 0.6875rem;
  line-height: 1.3;
}

.game-meta {
  margin: 24px 0 0;
  padding-top: 16px;
  color: #c5d4e1;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.75rem;
}

.final-score {
  display: grid;
  min-width: 190px;
  padding: 23px 25px;
  color: white;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-top: 5px solid var(--blue-500);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgb(0 0 0 / 18%);
  text-align: center;
}

#game-page[data-result="l"] .final-score {
  border-top-color: var(--opponent-primary);
}

.final-score span,
.final-score small {
  color: #bdd0e1;
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.final-score strong {
  margin: 4px 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.final-score.pregame-status strong {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  letter-spacing: -0.035em;
}

#game-page > .historical-note {
  margin-top: 12px;
  padding: 10px 4px 0;
  border-top: 0;
}

.forecast-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 20px;
}

.forecast-summary article {
  min-width: 0;
  min-height: 156px;
  padding: 23px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.forecast-summary article:first-child {
  background:
    radial-gradient(circle at 100% 0, rgb(0 87 184 / 42%), transparent 10rem),
    var(--navy-950);
}

.forecast-summary article:nth-child(2) {
  background:
    linear-gradient(140deg, rgb(255 255 255 / 10%), transparent 60%),
    var(--blue-600);
}

.forecast-summary article:last-child {
  background: var(--sand-100);
}

.forecast-summary span,
.forecast-summary small,
.postgame-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.forecast-summary strong {
  display: block;
  margin: 9px 0 5px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
}

.forecast-summary .range-estimate {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.05;
}

.forecast-summary article:first-child span,
.forecast-summary article:first-child small,
.forecast-summary article:nth-child(2) span,
.forecast-summary article:nth-child(2) small {
  color: #c9d9e7;
}

.forecast-summary article:first-child strong,
.forecast-summary article:nth-child(2) strong {
  color: white;
}

.market-comparison {
  margin: 0 0 20px;
  overflow: hidden;
  background: white;
  border-top: 6px solid var(--gold-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.market-comparison-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  padding: 25px 28px 20px;
  background:
    linear-gradient(90deg, #fff8e8, transparent 62%),
    white;
  border-bottom: 1px solid var(--line);
}

.market-comparison-heading > p {
  max-width: 390px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: right;
}

.market-comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 22px 28px 16px;
}

.comparison-source,
.comparison-gap {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 132px;
  padding: 21px;
  border-radius: var(--radius-md);
}

.comparison-source {
  border: 1px solid var(--line);
}

.fundamentals-source {
  color: white;
  background:
    radial-gradient(circle at 100% 0, rgb(0 87 184 / 38%), transparent 10rem),
    var(--navy-950);
  border-color: var(--blue-700);
}

.market-source {
  background: #fff8e8;
  border-color: #dfbd71;
}

.comparison-source span,
.comparison-gap span,
.market-reference-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.comparison-source strong,
.comparison-gap strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1;
}

.comparison-source small,
.comparison-gap small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.fundamentals-source span,
.fundamentals-source small {
  color: #c9d9e7;
}

.fundamentals-source strong {
  color: white;
}

.comparison-gap {
  place-items: center;
  background: var(--sand-050);
  border: 1px dashed var(--line-dark);
  text-align: center;
}

.comparison-gap strong {
  color: var(--blue-700);
}

.market-comparison[data-reference-kind="current_preview"] .market-source,
.market-comparison[data-reference-kind="illustrative_placeholder"] .market-source {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 12px,
      rgb(178 106 0 / 4%) 12px 15px
    ),
    #fff8e8;
}

.market-reference-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 28px;
  overflow: hidden;
  background: var(--sand-050);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.market-reference-strip > div {
  min-width: 0;
  padding: 13px 15px;
}

.market-reference-strip > div + div {
  border-left: 1px solid var(--line);
}

.market-reference-strip strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-size: 0.8125rem;
  font-weight: 900;
  line-height: 1.35;
}

.market-reference-note {
  margin: 0;
  padding: 16px 28px 21px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.market-details {
  margin: 0 28px 20px;
  border-top: 1px solid var(--line);
}

.market-details summary {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 850;
}

.market-details .market-reference-strip {
  margin: 0 0 12px;
}

.market-details .market-reference-note {
  padding: 0 0 4px;
}

.distribution-card {
  overflow: hidden;
  background: white;
  border-top: 6px solid var(--blue-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.distribution-heading {
  padding: 25px 28px 20px;
  background:
    linear-gradient(90deg, var(--blue-050), transparent 55%),
    white;
  border-bottom: 1px solid var(--line);
}

.distribution-heading h2 {
  font-size: 1.8rem;
}

.distribution-heading > p {
  max-width: 340px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.chart-wrap {
  width: 100%;
  padding: 9px 18px 0;
  background: white;
}

#distribution-chart {
  display: block;
  width: 100%;
  height: auto;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.odds-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 0;
  margin: 0 28px;
  overflow: hidden;
  background: var(--sand-050);
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.odds-panel > div {
  min-height: 94px;
  padding: 17px 19px;
}

.odds-panel span,
.odds-panel strong {
  display: block;
}

.odds-panel span {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.odds-panel strong {
  margin-top: 4px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.odds-panel small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.6875rem;
}

.odds-panel .odds-answer strong {
  font-size: 2.35rem;
}

.odds-panel .selected-threshold {
  color: var(--threshold-contrast, white);
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 11px,
      rgb(255 255 255 / 8%) 11px 13px
    ),
    var(--threshold-color, var(--navy-900));
  transition: background-color 180ms ease, color 180ms ease;
}

.odds-panel .selected-threshold span,
.odds-panel .selected-threshold strong {
  color: var(--threshold-contrast, white);
}

.range-control {
  display: block;
  padding: 18px 28px 3px;
}

.range-control > span {
  display: block;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.range-control input,
.timeline-control input {
  width: 100%;
  height: 44px;
  margin: 0;
  appearance: none;
  background: transparent;
  accent-color: var(--blue-600);
}

.range-control input::-webkit-slider-runnable-track,
.timeline-control input::-webkit-slider-runnable-track {
  height: 8px;
  background: linear-gradient(90deg, var(--navy-900), var(--blue-600));
  border-radius: 999px;
}

.range-control input::-moz-range-track,
.timeline-control input::-moz-range-track {
  height: 8px;
  background: linear-gradient(90deg, var(--navy-900), var(--blue-600));
  border-radius: 999px;
}

.range-control input::-webkit-slider-thumb,
.timeline-control input::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -10px;
  appearance: none;
  background: white;
  border: 5px solid var(--navy-900);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(0 87 184 / 17%), 0 4px 10px rgb(6 26 46 / 25%);
}

.range-control input::-moz-range-thumb,
.timeline-control input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 5px solid var(--navy-900);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(0 87 184 / 17%), 0 4px 10px rgb(6 26 46 / 25%);
}

.quick-thresholds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 28px 20px;
}

.quick-thresholds > span {
  margin-right: 3px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.quick-thresholds button {
  min-height: 44px;
  padding: 9px 14px;
  color: var(--blue-800);
  background: var(--blue-050);
  border: 1px solid #b9d3e8;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.quick-thresholds button:hover,
.quick-thresholds button[aria-pressed="true"] {
  color: white;
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  padding: 16px 28px 19px;
  color: var(--muted);
  background: var(--sand-050);
  border-top: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.025em;
}

.chart-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.legend-fill {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 4px;
}

.legend-fill.opponent {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 4px,
      rgb(255 255 255 / 45%) 4px 6px
    ),
    var(--opponent-chart);
}

.legend-fill.byu {
  background: var(--blue-600);
}

.legend-line {
  width: 20px;
  height: 0;
  flex: 0 0 auto;
  border-top: 3px solid var(--navy-900);
}

.legend-line.actual {
  border-color: var(--gold-700);
  border-top-style: dashed;
}

.legend-line.sportsbook {
  border-color: #6D28D9;
  border-top-style: dashed;
}

.legend-line.selected {
  border-color: var(--ink);
}

.postgame-summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(160px, auto) minmax(160px, auto);
  gap: 26px;
  align-items: center;
  margin-top: 20px;
  padding: 31px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 100% 0, rgb(0 87 184 / 58%), transparent 25rem),
    linear-gradient(125deg, var(--navy-950), var(--navy-800));
  border-top: 6px solid var(--blue-500);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgb(0 46 93 / 20%);
}

#game-page[data-result="l"] .postgame-summary {
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--opponent-primary) 48%, transparent), transparent 25rem),
    linear-gradient(125deg, var(--navy-950), var(--navy-800));
  border-top-color: var(--opponent-primary);
}

.postgame-summary::before {
  position: absolute;
  right: 32px;
  bottom: -66px;
  color: rgb(255 255 255 / 4%);
  content: "Y";
  font-family: var(--font-display);
  font-size: 15rem;
  font-style: italic;
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

.postgame-summary > * {
  position: relative;
  z-index: 1;
}

.postgame-summary h2 {
  margin-bottom: 9px;
  color: #bdd6e6;
  font-size: 0.875rem;
  letter-spacing: 0.035em;
}

.postgame-summary .eyebrow {
  color: #8fcaff;
}

.postgame-heading > strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.postgame-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.postgame-reading {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  color: #ffecb3;
  background: rgb(255 232 171 / 10%);
  border: 1px solid rgb(255 232 171 / 27%);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 850;
}

.postgame-stat {
  min-width: 150px;
  padding: 17px;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 12px;
}

.postgame-stat strong {
  display: block;
  margin-top: 5px;
  color: white;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.05;
}

.postgame-stat span {
  color: #b9cde0;
}

.postgame-summary > p {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  padding-top: 16px;
  color: #cfdae5;
  border-top: 1px solid rgb(255 255 255 / 16%);
  font-size: 0.75rem;
}

.game-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 25px;
}

.game-navigation a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 13px 17px;
  color: var(--navy-900);
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
}

.game-navigation a:last-child {
  grid-column: 2;
  justify-content: flex-end;
  text-align: right;
}

.game-navigation a:hover {
  box-shadow: var(--shadow);
}

.performance-hero {
  position: relative;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgb(0 87 184 / 50%), transparent 22rem),
    linear-gradient(125deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.performance-hero::after {
  position: absolute;
  right: 5%;
  bottom: -45%;
  width: 300px;
  height: 300px;
  border: 32px solid rgb(255 255 255 / 4%);
  border-radius: 50%;
  content: "";
}

.performance-hero > * {
  position: relative;
  z-index: 1;
}

.performance-hero h1 {
  color: white;
}

.performance-hero .eyebrow {
  color: #9fd2ff;
}

.performance-hero .historical-note {
  max-width: 790px;
  color: var(--blue-200);
  border-top-color: rgb(255 255 255 / 20%);
}

.performance-hero .note-icon {
  color: #ffe7a3;
}

.performance-lead {
  max-width: 760px;
  margin-bottom: 27px;
  color: #d0deea;
  font-size: 1.05rem;
}

.performance-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 19px 32px;
  align-items: end;
  margin-top: 22px;
  padding: 24px 27px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.performance-controls h2,
.performance-section-heading h2 {
  font-size: 1.6rem;
}

.scope-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: var(--blue-050);
  border: 1px solid #bfd6e8;
  border-radius: 12px;
}

.scope-switch button {
  min-width: 130px;
  min-height: 44px;
  padding: 9px 13px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 850;
}

.scope-switch button[aria-pressed="true"] {
  color: white;
  background: var(--navy-900);
  box-shadow: 0 4px 12px rgb(0 46 93 / 20%);
}

.timeline-control {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  color: var(--navy-900);
  font-size: 0.875rem;
  font-weight: 850;
}

.timeline-control output {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 650;
  text-align: right;
}

.timeline-control input {
  grid-column: 1 / -1;
  margin-top: 5px;
}

.timeline-endpoints {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: -8px;
  color: var(--muted);
}

.timeline-endpoints small {
  font-size: 0.6875rem;
  font-weight: 650;
}

.season-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.season-scoreboard article {
  position: relative;
  min-width: 0;
  min-height: 166px;
  padding: 24px;
  overflow: hidden;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.season-scoreboard article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--blue-600);
  content: "";
}

.season-scoreboard article:nth-child(2)::before {
  background: var(--navy-900);
}

.season-scoreboard article:nth-child(3)::before {
  background: var(--gold-500);
}

.season-scoreboard span,
.range-results span {
  display: block;
  color: var(--blue-800);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.season-scoreboard strong,
.range-results strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
}

.season-scoreboard small,
.range-results small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.calibration-card,
.range-check {
  margin-top: 20px;
  padding: 28px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.calibration-card {
  border-top: 6px solid var(--blue-600);
}

.performance-section-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.performance-section-heading > p {
  max-width: 380px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.calibration-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
  padding: 17px 0 5px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 750;
}

.calibration-key span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.calibration-key i {
  display: inline-block;
  width: 22px;
  height: 8px;
  border-radius: 999px;
}

.calibration-axis {
  display: grid;
  grid-template-columns: 160px minmax(300px, 1fr) 180px;
  gap: 22px;
  align-items: end;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 750;
}

.chance-axis {
  display: grid;
  grid-template-columns: 52px minmax(140px, 1fr) 58px;
  gap: 10px;
}

.chance-axis-track {
  display: flex;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-dark);
}

.chance-axis-track i {
  font-style: normal;
}

.model-bar-key {
  background: var(--blue-600);
}

.result-bar-key {
  background: var(--gold-500);
}

.expected-band-key {
  background: #c9deef;
  border: 1px solid #729dc0;
}

.calibration-bins {
  margin-top: 5px;
}

.calibration-row {
  display: grid;
  grid-template-columns: 160px minmax(300px, 1fr) 180px;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #e7ecef;
}

.calibration-row:first-child {
  border-top: 0;
}

.calibration-bin-label {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.calibration-bin-label strong {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  color: var(--muted);
  background: var(--sand-050);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 750;
}

.chance-comparison {
  display: grid;
  gap: 9px;
}

.chance-lane {
  display: grid;
  grid-template-columns: 52px minmax(140px, 1fr) 58px;
  gap: 10px;
  align-items: center;
}

.chance-label {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chance-track {
  position: relative;
  display: block;
  height: 13px;
  overflow: visible;
  background:
    linear-gradient(to right, transparent 49.5%, rgb(15 23 42 / 12%) 49.5% 50.5%, transparent 50.5%),
    #e7edf1;
  border-radius: 999px;
}

.chance-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--blue-600);
  border-radius: inherit;
}

.actual-chance .chance-fill {
  background: var(--gold-500);
}

.chance-marker {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 17px;
  height: 17px;
  background: white;
  border: 4px solid var(--blue-600);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgb(6 26 46 / 24%);
  transform: translate(-50%, -50%);
}

.actual-chance .chance-marker {
  border-color: #ad7611;
}

.expected-band {
  position: absolute;
  z-index: 1;
  top: -5px;
  height: 23px;
  background: rgb(123 175 212 / 30%);
  border: 1px solid #6e99b9;
  border-radius: 6px;
}

.chance-value {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  text-align: right;
}

.calibration-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 850;
  text-align: center;
}

.calibration-status.within {
  color: var(--navy-900);
  background: var(--blue-100);
  border: 1px solid #a8cce8;
}

.calibration-status.outside {
  color: #684400;
  background: var(--gold-100);
  border: 1px solid #dec477;
}

.empty-checkpoint {
  margin: 17px 0 0;
  padding: 22px;
  color: var(--muted);
  background: var(--sand-050);
  border-radius: 10px;
  font-size: 0.75rem;
  text-align: center;
}

.range-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.range-results article {
  padding: 23px;
  background: var(--sand-050);
  border-radius: 12px;
}

.target-line {
  position: relative;
  height: 11px;
  margin-top: 31px;
  background: #dfe6eb;
  border-radius: 999px;
}

.target-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--navy-900), var(--blue-600));
  border-radius: inherit;
}

.target-line b {
  position: absolute;
  bottom: 16px;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.target-line .target-50 {
  left: 50%;
}

.target-line .target-80 {
  left: 80%;
}

.scope-note {
  margin-top: 16px;
  padding: 17px 19px;
  color: #294b66;
  background: var(--blue-050);
  border-left: 5px solid var(--blue-600);
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.6;
}

.live-calibration {
  margin-top: 42px;
}

.calibration-heading {
  align-items: center;
}

.calibration-heading h2 + p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.calibration-scope {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #e4e9ed;
  border-radius: 999px;
}

.calibration-scope button {
  min-height: 38px;
  padding: 7px 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.calibration-scope button[aria-pressed="true"] {
  color: white;
  background: var(--navy-900);
  box-shadow: 0 3px 9px rgb(6 26 46 / 20%);
}

.live-calibration-panel {
  padding: 24px;
  background: white;
  border-top: 5px solid var(--blue-600);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.calibration-empty {
  margin: 0;
  padding: 22px;
  color: var(--muted);
  background: var(--sand-050);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 750;
  text-align: center;
}

.live-calibration-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.live-calibration-metrics article {
  min-width: 0;
  padding: 17px;
  background: var(--sand-050);
  border-radius: 10px;
}

.live-calibration-metrics span,
.live-calibration-metrics small {
  display: block;
  color: var(--muted);
  font-size: 0.6875rem;
}

.live-calibration-metrics span {
  font-weight: 850;
  text-transform: uppercase;
}

.live-calibration-metrics strong {
  display: inline-block;
  margin-top: 7px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.calibration-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.methodology-page {
  max-width: 860px;
}

.methodology-page > h1 {
  margin-bottom: 20px;
}

.methodology-lead {
  max-width: 780px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.methodology-page section {
  position: relative;
  margin-top: 14px;
  padding: 27px 29px 27px 33px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.methodology-page .methodology-start {
  padding: 33px 34px 33px 38px;
  background: var(--blue-050);
  border: 1px solid #c5ddee;
  box-shadow: 0 10px 28px rgb(0 87 184 / 10%);
}

.methodology-page .methodology-start::before {
  width: 8px;
}

.methodology-page section::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--blue-600);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  content: "";
}

.methodology-page section h2 {
  margin-bottom: 9px;
  font-size: 1.25rem;
}

.methodology-page section p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, auto) auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 42px;
  color: var(--muted);
  border-top: 2px solid var(--line-dark);
  font-size: 0.75rem;
}

.footer-brand {
  display: grid;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: center;
  max-width: 470px;
  color: var(--muted);
  font-size: 0.6875rem;
}

.footer-meta span {
  display: inline-flex;
  align-items: center;
}

.footer-meta span + span::before {
  margin-right: 12px;
  color: var(--line-dark);
  content: "·";
}

.site-footer strong {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .game-hero {
    grid-template-columns: 1fr;
  }

  .final-score {
    width: max-content;
    min-width: 220px;
    justify-self: start;
  }

  .postgame-summary {
    grid-template-columns: minmax(280px, 1fr) 1fr 1fr;
  }

  .calibration-row {
    grid-template-columns: 140px minmax(260px, 1fr);
  }

  .calibration-axis {
    grid-template-columns: 140px minmax(260px, 1fr);
  }

  .calibration-axis > :last-child {
    display: none;
  }

  .calibration-status {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .footer-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 820px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

  .forecast-summary {
    grid-template-columns: 1fr;
  }

  .forecast-summary article {
    min-height: auto;
  }

  .market-comparison-heading {
    align-items: start;
    flex-direction: column;
  }

  .market-comparison-heading > p {
    max-width: none;
    text-align: left;
  }

  .market-comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-source,
  .comparison-gap {
    min-height: 124px;
  }

  .market-reference-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-reference-strip > div:nth-child(3) {
    border-left: 0;
  }

  .market-reference-strip > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .distribution-heading {
    align-items: start;
    flex-direction: column;
  }

  .distribution-heading > p {
    max-width: none;
    text-align: left;
  }

  .chart-wrap {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  #distribution-chart {
    min-width: 1080px;
    touch-action: pan-x;
  }

  .postgame-summary {
    grid-template-columns: 1fr 1fr;
  }

  .postgame-summary > div:first-child {
    grid-column: 1 / -1;
  }

  .season-scoreboard {
    grid-template-columns: 1fr;
  }

  .live-calibration-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header-inner,
  main,
  .site-footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header-inner {
    flex-wrap: wrap;
    gap: 2px 16px;
    padding: 10px 0;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-header nav a {
    justify-content: center;
    padding: 0 7px;
  }

  main {
    padding-top: 28px;
  }

  .season-hero {
    padding: 20px 22px 17px;
  }

  .season-heading {
    align-items: start;
    flex-direction: column;
  }

  .season-badges {
    justify-content: flex-start;
  }

  .season-outlook {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .projected-wins-copy {
    padding: 13px 0 0;
    border-top: 1px solid rgb(255 255 255 / 18%);
    border-left: 0;
  }

  .section-heading,
  .performance-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-heading-meta {
    width: 100%;
    justify-content: space-between;
  }

  .schedule-key {
    max-width: 29rem;
    text-align: right;
  }

  .matchup-lockup {
    grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
    gap: 10px;
  }

  .team-lockup,
  .opponent-lockup {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .team-lockup {
    justify-content: center;
  }

  .opponent-lockup .team-copy {
    order: 2;
  }

  .opponent-lockup .opponent-mark {
    order: 1;
  }

  .opponent-lockup .team-copy em {
    justify-self: center;
  }

  .team-copy em {
    justify-self: center;
  }

  .team-mark {
    width: 66px;
    height: 50px;
  }

  .team-copy strong {
    font-size: clamp(1.25rem, 5vw, 1.8rem);
  }

  .game-meta {
    text-align: center;
  }

  .odds-panel {
    grid-template-columns: 1fr;
  }

  .performance-controls {
    grid-template-columns: 1fr;
    padding: 21px;
  }

  .scope-switch,
  .timeline-control {
    grid-column: 1;
  }

  .performance-section-heading > p {
    max-width: none;
    text-align: left;
  }

  .calibration-key {
    justify-content: flex-start;
  }

  .calibration-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .calibration-axis {
    grid-template-columns: 1fr;
  }

  .calibration-axis > span {
    display: none;
  }

  .calibration-status {
    grid-column: 1;
  }

  .range-results {
    grid-template-columns: 1fr;
  }

  .historical-note {
    align-items: flex-start;
  }

  .calibration-heading {
    gap: 15px;
  }
}

@media (max-width: 520px) {
  .site-header-inner,
  main,
  .site-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .brand {
    font-size: 0.875rem;
  }

  .site-header nav a {
    font-size: 0.6875rem;
  }

  .game-card {
    padding-right: 17px;
    padding-left: 17px;
  }

  .game-card-top {
    align-items: start;
  }

  .game-card-tags {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .schedule-key {
    max-width: none;
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }

  .schedule-current-outlook {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .schedule-current-outlook strong {
    text-align: left;
  }

  .section-heading-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-card-statbar {
    gap: 4px 16px;
  }

  .card-stat + .card-stat::before {
    content: none;
  }

  .view-game {
    display: none;
  }

  .game-hero {
    padding: 25px 16px;
  }

  .matchup-lockup {
    grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
    gap: 6px;
  }

  .matchup-center > span {
    width: 42px;
    height: 42px;
  }

  .matchup-center time,
  .matchup-center small {
    font-size: 0.6875rem;
  }

  .team-mark {
    width: 58px;
    height: 45px;
  }

  .team-copy strong {
    font-size: 1.2rem;
  }

  .final-score {
    width: 100%;
    min-width: 0;
  }

  .odds-panel {
    margin: 0 16px;
  }

  .market-comparison-heading,
  .market-comparison-grid,
  .market-reference-note {
    padding-right: 16px;
    padding-left: 16px;
  }

  .market-details {
    margin-right: 16px;
    margin-left: 16px;
  }

  .market-reference-strip {
    grid-template-columns: 1fr;
    margin-right: 16px;
    margin-left: 16px;
  }

  .market-reference-strip > div + div,
  .market-reference-strip > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .range-control,
  .quick-thresholds {
    padding-right: 16px;
    padding-left: 16px;
  }

  .chart-legend {
    padding-right: 16px;
    padding-left: 16px;
  }

  .postgame-summary {
    grid-template-columns: 1fr;
    padding: 25px 20px;
  }

  .postgame-summary > div:first-child,
  .postgame-summary > p {
    grid-column: auto;
  }

  .game-navigation {
    grid-template-columns: 1fr;
  }

  .game-navigation a:last-child {
    grid-column: 1;
  }

  .scope-switch button {
    min-width: 0;
  }

  .calibration-card,
  .range-check {
    padding: 22px 17px;
  }

  .live-calibration-panel {
    padding: 17px;
  }

  .live-calibration-metrics {
    grid-template-columns: 1fr;
  }

  .chance-lane {
    grid-template-columns: 46px minmax(100px, 1fr) 54px;
    gap: 7px;
  }

  .chance-axis {
    grid-template-columns: 46px minmax(100px, 1fr) 54px;
    gap: 7px;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .footer-meta {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    gap: 2px;
  }

  .footer-meta span + span::before {
    content: none;
  }

  .methodology-page .methodology-start {
    padding: 27px 24px 27px 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .game-card::before,
  .season-scoreboard article::before,
  .opponent-card-mark,
  .team-mark,
  .legend-fill,
  .chance-fill,
  .expected-band,
  .target-line i {
    forced-color-adjust: none;
  }

  .quick-thresholds button[aria-pressed="true"],
  .scope-switch button[aria-pressed="true"] {
    outline: 3px solid CanvasText;
  }
}
