:root {
  --ink: #10211e;
  --mast: #101e1a;
  --dark-card: #142e24;
  --paper: #fff;
  --page: #f4f6f2;
  --row: #f6faf7;
  --rule: #d5ded8;
  --tint: #edf2ed;
  --muted: #506258;
  --muted-light: #c4d5cb;
  --mint: #86dfb8;
  --mint-fill: #a0e8c6;
  --dark-track: #425f56;
  --light-track: #cadbd2;
  --teal: #006b5b;
  --loss: #a33e35;
  --hero-meta: #e5f1e9;
  --hero-shade: linear-gradient(90deg, #082b22 4%, #082b22e9 34%, #082b2240 100%);
  --font-body: Barlow, Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-tagline: Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
html, body { overflow-x: clip; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.5 var(--font-body); }
a { color: var(--teal); }
a:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
h1, h2, h3 { color: inherit; font-family: var(--font-display); line-height: 1.08; margin: 0; overflow-wrap: anywhere; min-width: 0; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.frame { width: min(1280px, 94%); margin-inline: auto; }
.masthead { background: var(--mast); color: var(--paper); }
.mast { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; padding-block: 1rem; }
.brand, .brand:hover, .mast nav a { text-decoration: none; white-space: nowrap; }
.brand { color: var(--paper); font-weight: 700; font-size: 2rem; letter-spacing: -.055em; line-height: 1; }
.brand span { color: var(--mint); }
.brand small { display: block; margin-top: 7px; font: 600 9px/1.4 var(--font-tagline); letter-spacing: 1.5px; text-transform: uppercase; }
.mast nav, .sport-filter { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.mast nav { column-gap: 1.75rem; }
.mast nav a { color: var(--muted-light); padding: .45rem 0; font-size: .92rem; font-weight: 600; }
.mast nav a:hover,
.mast nav a:focus-visible { color: var(--paper); text-decoration: none; }
.mast nav [aria-current] { color: var(--paper); box-shadow: inset 0 -2px var(--mint); }
.mast a:focus-visible, .spotlight a:focus-visible { outline-color: var(--mint); }

.hero { position: relative; isolation: isolate; overflow: clip; border-radius: .3rem; margin: 1.5rem 0; background: var(--mast); color: var(--paper); }
.hero > img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero > img { object-fit: cover; object-position: center; }
.hero--home img { object-position: center 40%; }
.hero--about img {  object-position: center 37%; }
.hero::after { content: ''; background: var(--hero-shade); }
.hero h1 { font-size: clamp(2.75rem, 5.1vw, 4.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.075rem; margin: 8px 0 13px; }
.hero > div { padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 3vw, 2.25rem); }
.hero p { margin: .55rem 0 0; }
.hero .eyebrow { margin: 0 0 .4rem; color: var(--mint); font-weight: 700; font-size: .75rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .1125rem; }
.hero .hero-meta { color: var(--hero-meta); font-size: 0.9375rem; font-weight: 400; }

.home-intro, .team-intro { padding-block: 1.7rem 1.2rem; }
.home-intro p, .team-intro p { color: var(--muted); margin: .45rem 0; }
.desk { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; }
.desk--team > .panel { width: min(880px, 100%); }
.panel { min-width: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: .3rem; }
.sectionhead { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: 1rem; }
.sectionhead span, .empty, td small, th small { color: var(--muted); }
.empty { padding: .75rem 1rem; margin: 0; }
.search-tools { padding: 0 1rem .8rem; }
.search-tools label { display: block; margin-bottom: .25rem; font-weight: 600; }
.search-tools input { width: 100%; padding: .5rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: .25rem; font: inherit; }
#search-status { margin: .25rem 0 0; }
#search-status:empty { display: none; }
.team-search-input { position: relative; display: block; }
.team-search-input > svg { position: absolute; inset-inline-start: .65rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.team-search-input > #team-search { padding-inline-start: 2rem; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; }
thead { background: var(--tint); color: var(--muted); }
th, td { padding: .65rem .4rem; border-block-end: 1px solid var(--rule); text-align: center; }
thead th { font-size: .85rem; font-weight: 700; }
.rankings thead th, .schedule thead th { letter-spacing: .04em; text-transform: uppercase; }
th:nth-child(2), td:nth-child(2) { text-align: left; }
.rankings th:first-child { width: 9%; }
.rankings th:nth-child(n+3) { width: 15%; }
.rankings th:last-child { width: 18%; }
.rankings td > .team-link,
.rankings th > .team-link { vertical-align: middle; }
.schedule th:first-child { width: 16%; }
.schedule th:last-child { width: 26%; }
td small, th small, .movers small { display: block; font-size: .83rem; font-weight: 400; color: var(--muted); }
.mover-change { flex: 0 0 auto; white-space: nowrap; }
td, th { overflow-wrap: anywhere; }
.team-link, .teams a, .movers a { font-weight: 650; text-decoration: none; }
.team-link { color: var(--ink); }
.rank-suffix {
  color: var(--muted);
  font-size: .8em;
  font-weight: 600;
  white-space: nowrap;
}
.spotlight .rank-suffix { color: var(--muted-light); }
a:hover { text-decoration: underline; }
.team-link:hover,
.teams a:hover,
.movers a:hover { text-decoration: none; }
[data-team-row] { cursor: pointer; }
[data-team-row]:hover, [data-team-row]:focus-within { background: var(--row); }
.rating, .rise { color: var(--teal); font-weight: 700; }
.rankings .rating { color: var(--ink); font-weight: 400; }
.schedule .schedule-probability { font-weight: 500; }
.fall { color: var(--loss); font-weight: 700; }
.spotlight { padding: 1rem; background: var(--dark-card); color: var(--paper); border-radius: .3rem; }
.spotlight h2 { color: var(--mint); }
.spotlight p { color: var(--muted-light); margin: .5rem 0 0; }
.spotlight a { color: var(--paper); }
.teams, .prob-label { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: .5rem; margin-block: .7rem .35rem; }
.teams > :last-child, .prob-label > :last-child { text-align: right; }
.teams a { overflow-wrap: anywhere; }
.prob-label span, .forecast-note { font-size: .875rem; }
.meter { display: block; height: 7px; background: var(--light-track); }
.meter span { display: block; height: 100%; background: var(--teal); }
.spotlight .meter { background: var(--dark-track); }
.spotlight .meter span { background: var(--mint-fill); }
.movers, .mission { padding: 1rem; }
.movers { margin-top: 1rem; }
.spotlight[hidden] + .movers { margin-top: 0; }
.movers h3, .mission p { margin-top: .85rem; }
.movers ul { padding: 0; margin: .25rem 0; list-style: none; }
.movers li { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; padding-block: .25rem; }
.movers li > :is(.rise, .fall) { align-self: center; flex: 0 0 auto; white-space: nowrap; }
.movers ul { padding: 0; margin: .75rem 0 .25rem; list-style: none; }
.movers .mover-team { color: var(--ink); }
.movers .mover-team small { font-size: .75rem; }
.movers .mover-team-copy { line-height: 1.2; }
.mover-team { min-width: 0; overflow-wrap: anywhere; }
.sport-filter { padding: .75rem 1rem; }
.sport-filter a { white-space: nowrap; padding-block: .3rem; text-decoration: none; font-weight: 600; }
.sport-filter [aria-current] { box-shadow: inset 0 -2px var(--teal); }
.date-heading { font-size: 1.25rem; padding: .55rem 1rem; background: var(--tint); }
.slate-panel .slate-date { font-family: var(--font-body); font-size: .85rem; font-weight: 700; line-height: 1.3; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.fixture { padding: .75rem 1rem 1rem; border-bottom: 1px solid var(--rule); }
.fixture p { color: var(--muted); margin: 0; font-size: .875rem; }
.team-intro h1 { margin-top: .35rem; }
.team-stats { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: .8rem 0 0; }
.team-stats dt { color: var(--muted); }
.team-stats dd { margin: 0; font: 700 1.85rem/1.15 var(--font-display); }
.team-profile { padding: 1rem 1rem 0.5rem; }
.team-profile .team-stats { margin: 1rem 0 0; gap: 0.75rem 1.5rem; }
.team-profile .team-stats dt { font-size: 0.875rem; }
.team-profile { padding-block: 1.25rem 0.5rem; }
.team-profile .team-stats { margin-block-start: 0; }
.methodology { margin-block: 0 2rem; }
.methodology.panel { padding: clamp(1rem, 2.5vw, 1.5rem); }
.methodology.panel > h2:first-child { margin-top: 0; }
.methodology h2 { margin: 1.4rem 0 .45rem; }
.methodology .lead { margin-top: .5rem; font-weight: 650; color: var(--teal); }
.footer { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; border-top: 1px solid var(--rule); margin-top: 1.5rem; padding-block: 1rem; color: var(--muted); }
.footer a { white-space: nowrap; }

.team-link, .with-mark, .team-heading {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  max-width: 100%;
  min-width: 0;
}
.team-link span, .with-mark span, .teams span { min-width: 0; }
.team-mark {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}
.team-placeholder {
  display: inline-grid;
  place-items: center;
  background: var(--tint);
  color: var(--muted);
  border-radius: 50%;
  font: 700 .75rem/1 var(--font-display);
}
.team-heading { gap: .75rem; margin-top: .35rem; }
.team-heading h1 { margin-top: 0; }
.team-heading .team-mark { width: 2.7rem; height: 2.7rem; }
.team-hero-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.team-hero-title > span:last-child { min-width: 0; }
.team-hero-title .team-mark {
  width: clamp(2rem, 3vw, 2.5rem);
  height: clamp(2rem, 3vw, 2.5rem);
  padding: 0.3rem;
  background: var(--paper);
  border-radius: 50%;
  transform: translateY(3px);
}
.team-hero-rank {
  flex: 0 0 auto;
  color: var(--mint);
  font-size: .55em;
  white-space: nowrap;
  transform: translateY(3px);
}
.teams > :is(a, strong) {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.teams > :last-child {
  flex-direction: row-reverse;
}
.spotlight .team-mark {
  background: var(--paper);
  border-radius: 50%;
  padding: .17rem;
}

@media (max-width: 768px) {
  .hero {
    margin-block: 14px;
  }

  .sectionhead {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 15px;
  }

  .mast nav {
    column-gap: 1rem;
  }
}

@media (max-width: 480px) {
  .mast nav,
  .sport-filter {
    column-gap: .75rem;
  }

  .rankings th:first-child { width: 12%; }
  .rankings th:nth-child(n+3) { width: 16%; }
  .rankings th,
  .rankings td { padding-inline: .15rem; }
  .wide-only { display: none; }

  .rankings .team-mark,
  .schedule .team-mark {
    width: 1.1rem;
    height: 1.1rem;
  }
}

@media (min-width: 769px) {
  .desk {
    grid-template-columns: minmax(0, 1fr) 255px;
  }
}

@media (min-width: 851px) {
  .frame {
    width: min(1280px, 92%);
  }

  .hero {
    margin-block: 26px;
  }

  .desk {
    grid-template-columns: minmax(0, 2.28fr) minmax(270px, .94fr);
    gap: 24px;
  }

  .desk .sectionhead {
    gap: 12px;
    padding: 20px 24px 14px;
  }

  .desk .search-tools {
    padding: 0 24px 18px;
  }

  .desk .fixture {
    padding: 14px 23px;
  }

  .team-profile {
    padding: 21px 24px 8px;
  }
}

@media (min-width: 901px) {
  .mast {
    min-height: 79px;
    padding-block: .75rem;
  }
}

.desk--team { grid-template-columns: minmax(0, 1fr); }
.rankings-toolbar { padding: 20px 24px 18px; }
.rankings-toolbar .search-tools { padding: 0; }

@media (max-width: 768px) {
  .rankings-toolbar {
    padding: 16px 15px;
  }
}

.slate-panel { container: home-slate / inline-size; }
.slate-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: .625rem; }
.slate-toolbar .team-search-input { min-width: 0; }
.slate-toolbar input[type="search"],
.slate-toolbar select { min-width: 0; min-height: 38px; border: 1px solid var(--rule); border-radius: .25rem; background: var(--paper); color: var(--ink); font: inherit; }
.slate-toolbar input[type="search"] { width: 100%; padding: .4rem .5rem .4rem 2rem; }
.slate-toolbar select { width: auto; justify-self: end; padding: .25rem; color: var(--muted); font-size: .75rem; }
.slate-toolbar select:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.slate-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--paper); border-block-end: 1px solid var(--rule); }
.slate-grid > .fixture { min-width: 0; border-block-end: 0; background: var(--paper); box-shadow: 0 1px var(--rule); }
@container home-slate (min-width: 38rem) {
  .slate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slate-grid > .fixture:nth-child(odd) { box-shadow: 1px 0 var(--rule), 0 1px var(--rule); }
}
@container home-slate (max-width: 20rem) { .slate-toolbar { grid-template-columns: minmax(0, 1fr); } }
.slate-grid .slate-sport { margin-block-end: .45rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.slate-teams { display: grid; gap: .45rem; }
.slate-team-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem; }
.slate-team-copy { min-width: 0; overflow-wrap: anywhere; line-height: 1.2; }
.slate-team-copy small { display: block; margin-block-start: .12rem; color: var(--muted); font-size: .75rem; font-weight: 400; }
.slate-forecast { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slate-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .7rem 1.5rem; color: var(--muted); font-size: .8125rem; }
.slate-page-links { display: flex; gap: .375rem; margin-inline-start: auto; }
.slate-page-links > * { display: inline-block; padding: .35rem .625rem; border: 1px solid var(--rule); border-radius: .2rem; color: inherit; text-decoration: none; white-space: nowrap; }
.slate-page-links a:hover { background: var(--tint); text-decoration: none; }
.slate-page-links [aria-disabled="true"] { opacity: .5; }
.slate-panel .slate-empty { padding-inline: 24px; }

@media (max-width: 768px) {
  .slate-panel .slate-empty {
    padding-inline: 15px;
  }
}
@media (max-width: 480px) {
  .slate-pager {
    padding-inline: 15px;
  }
}