@font-face {
  font-family: "PT Serif";
  src: url("pt-serif-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf7ef;
  --ink: #252a23;
  --muted: #565b50;
  --rule: #cfcbbb;
  --table-head: #e8e2d2;
  --stripe: #f1eee3;
  --row-focus: #ece2cf;
  --link: #195348;
  --rust: #823b27;
  --headline: "PT Serif", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
html body {
  width: 100%;
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 clamp(.875rem, 3.5vw, 3rem) 2.75rem;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.45 Arial, Helvetica, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  overflow-wrap: anywhere;
}
html a, html a:visited { color: var(--link); text-underline-offset: .16em; }
html a:hover, html a:focus-visible { color: var(--rust); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
::selection { color: var(--ink); background: #e7d6af; }

.masthead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem 1.75rem;
  margin-bottom: 1rem;
  padding: .85rem 0 .55rem;
  border-top: 4px solid var(--rust);
  border-bottom: 4px double var(--ink);
}
.masthead .nameplate {
  color: var(--rust);
  font: italic 700 clamp(1.7rem, 3.2vw, 2.5rem)/1 var(--headline);
  letter-spacing: -.035em;
  text-decoration: none;
}
.masthead nav {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 .95rem;
  margin: 0;
}
.masthead nav a {
  display: inline-block;
  padding: .3rem 0;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
  text-decoration: none;
}
.masthead nav a:hover, .masthead nav a:focus-visible, .masthead nav [aria-current=page] {
  color: var(--rust);
  text-decoration: underline;
}

html h1, html h2, html h3, figcaption {
  color: var(--ink);
  font-family: var(--headline);
  font-weight: 700;
  letter-spacing: -.025em;
}
html h1 { margin: .36em 0 .24em; font-size: 2.75rem; line-height: 1.08; }
html h2 { margin: 1.05em 0 .34em; font-size: 1.7rem; line-height: 1.12; }
html h3 { margin: .65em 0 .15em; font-size: 1.1rem; line-height: 1.2; }
html p { margin: .45em 0; }
main { min-width: 0; }
body > nav {
  color: var(--muted);
  font-size: .8125rem;
}
.archive-nav, body > nav[aria-label="Record book"] {
  padding-block-end: .45rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: .75rem;
  font-size: .8125rem;
}
form.archive-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: .5rem .9rem;
  padding-block: .55rem;
}
form.archive-nav label { display: inline-grid; gap: .2rem; }
form.archive-nav label:has(input[type="checkbox"]) { display: inline-flex; align-items: center; }
form.archive-nav :is(input, select, button) { max-width: 100%; font: inherit; }
.archive-date {
  color: var(--muted);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
}
.archive-content hr { border: 0; border-top: 1px solid var(--rule); }
.archive-content > hr { margin: .5rem 0; }
.archive-content details { margin-block: .55rem; }
.archive-content summary { cursor: pointer; }
.archive-reconstruction > ul, .recovery-links {
  max-width: 40rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.archive-reconstruction > ul li, .recovery-links li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--rule);
}
.archive-progression > nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .8rem;
  padding-block: .55rem;
  border-block: 1px solid var(--rule);
  font-size: .8125rem;
}
.missing-page { max-width: 37rem; margin-top: 2rem; }
.recovery-links a { display: block; padding-block: .2rem; }
.archive-columns { display: none; }
/* The visible and accessible column name can differ from the field name
   retained in the header text for tools that read the archived tables. */
html .archive-content thead th[data-sr-field]:not(.sortable-column) { font-size: 0; }
html .archive-content thead th[data-sr-field]:not(.sortable-column)::after {
  content: attr(aria-label);
  font-size: .75rem;
  line-height: 1.2;
}
.sort-column {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
.sort-column:is(:hover, :focus-visible), [aria-sort] > .sort-column {
  color: var(--link);
}
.sort-column:is(:hover, :focus-visible) { text-decoration: underline; }
.sort-indicator {
  display: inline-grid;
  flex: none;
  gap: 2px;
}
.sort-indicator::before, .sort-indicator::after {
  content: "";
  border-inline: 3px solid transparent;
  opacity: .65;
}
.sort-indicator::before { border-bottom: 4px solid currentColor; }
.sort-indicator::after { border-top: 4px solid currentColor; }
[aria-sort="ascending"] .sort-indicator::before,
[aria-sort="descending"] .sort-indicator::after { opacity: 1; }
[aria-sort="ascending"] .sort-indicator::after,
[aria-sort="descending"] .sort-indicator::before { visibility: hidden; }
table[data-sortable="rankings"] th.num > .sort-column {
  width: 100%;
  justify-content: flex-end;
  text-align: right;
}
table[data-sortable="rankings"] .sort-label { display: inline-block; }
table[data-sortable="rankings"] .sort-column abbr { text-decoration: none; }
table[data-sortable="rankings"] .sort-column small { display: block; }

body > h1 + p, .season-page header p, body.record-book > p {
  color: var(--muted);
  font-size: .8125rem;
}
body > nav:not([aria-label]) { gap: .15rem .75rem; }
body > nav:not([aria-label]) a { padding-block: .2rem; }

.edition {
  margin-bottom: 1rem;
  color: var(--rust);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .0625em;
  text-transform: uppercase;
}
main:has(> .home-columns) > h1 { font-size: 3.2rem; }
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 1.6rem;
}
.home-columns:has(.home-rankings) { grid-template-columns: minmax(0, 1fr) 12.5rem; }
.home-columns h2 { margin: .25rem 0 .45rem; }
.home-columns .table-scroll { margin-bottom: .55rem; }
.home-columns table:not(.home-rankings) th:first-child { width: 1%; }
.home-columns table:not(.home-rankings) :is(th, td):nth-child(3) { text-align: right; }
.home-rankings { --rank-width: 3.5rem; }
.home-rankings col.rank { width: var(--rank-width); }
.home-rankings col.team { width: 8.5rem; }
.home-rankings col.change { width: 5.5rem; }
.home-rankings .rank-change, .home-rankings .delta-cors { padding-inline: .35rem; white-space: nowrap; }
.home-rankings col.record { width: 4rem; }
.home-rankings col.rating { width: 4.5rem; }
.home-rankings .rise, [aria-labelledby="cors-ranking"] .rise { color: var(--link); }
.home-rankings .fall, [aria-labelledby="cors-ranking"] .fall { color: var(--rust); }
.home-rankings .home-game {
  grid-template-columns: auto minmax(max-content, 1fr) auto;
  white-space: nowrap;
}
.home-scroll-hint { display: none; }
.home-result { border-inline-start: 1px solid var(--rule); }
.home-result small, .home-rankings thead small {
  display: block;
  margin-top: .15rem;
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 400;
}
.home-game {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .15rem .38em;
  white-space: normal;
}
.home-game + .home-game { margin-top: .25rem; }
.home-game abbr { font-weight: 700; text-decoration: none; }
.home-game-score { text-align: right; }
strong.home-game-score { white-space: nowrap; }
.home-columns > section:first-child > p { font-size: .875rem; font-weight: 700; }
.home-columns > section:last-child { border-left: 1px solid var(--rule); padding-left: 1.4rem; }
.home-columns > section:last-child p {
  margin: 0;
  padding: .47rem 0;
  border-bottom: 1px solid var(--rule);
}
.home-columns > section:last-child h2 + p { border-top: 2px solid var(--ink); }

.year-archive { border-top: 2px solid var(--ink); }
.year-archive div {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  align-items: baseline;
  gap: .6rem;
  border-bottom: 1px solid var(--rule);
  padding: .2rem 0;
}
.year-archive h3 { margin: 0; }
.year-archive p { display: flex; flex-wrap: wrap; gap: 0 .35rem; margin: 0; }
.year-archive a {
  display: inline-block;
  min-width: 2.55rem;
  padding: .26rem .15rem;
  font-size: .875rem;
}

.table-scroll, html .scroll, .forecast-table-scroll {
  max-width: 100%;
  overflow: auto;
  margin: .45rem 0 .95rem;
  overscroll-behavior-inline: contain;
  scrollbar-color: #827d6d var(--stripe);
}
:is(.table-scroll, .scroll, .forecast-table-scroll):focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
/* Archive decoration can wrap a table already inside its own scroll region. */
:is(.table-scroll, .scroll, .forecast-table-scroll) > .table-scroll { display: contents; }
.table-scroll[aria-label] { container-type: inline-size; }

html table {
  width: 100%;
  border: 0;
  border-top: 2px solid var(--ink);
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ink);
  background: transparent;
  font-size: .875rem;
  line-height: 1.32;
  font-variant-numeric: lining-nums tabular-nums;
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
}
html table th, html table td {
  padding: .27rem .6rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  text-align: inherit;
  vertical-align: middle;
}
html table thead th {
  padding-block: .42rem;
  border-bottom-color: #a6a08f;
  color: var(--ink);
  background: var(--table-head);
  font-size: .75rem;
  line-height: 1.2;
}
html table tbody th, html table tbody td {
  background: var(--row-paper, var(--paper));
}
html table:not(:where([aria-label="Rankings and games"] table)) tbody tr:nth-child(even),
[aria-label="Rankings and games"] tbody:nth-of-type(even) {
  --row-paper: var(--stripe);
}
html table tbody tr:focus-within { --row-paper: var(--row-focus); }
@media (hover: hover) {
  html table tbody tr:hover { --row-paper: var(--row-focus); }
}
html table tbody th { font-weight: 700; }
html table :is(th, td) a { font-weight: 700; text-decoration-thickness: 1px; }
html table caption {
  position: sticky;
  left: 0;
  max-inline-size: 100cqi;
  padding: 0 0 .4rem;
  color: var(--muted);
  font-size: .8125rem;
  text-align: left;
  white-space: normal;
}
[aria-label="Season history"] caption {
  color: var(--ink);
  font: 700 1.5rem/1.15 var(--headline);
}
html table .num,
[aria-label="Season history"] thead th:nth-child(n+3):nth-child(-n+6) { text-align: right; }

/* Week, opponent and site are the three text columns. Subsequent games in a
   week start at opponent because the first four cells span the group. */
table[aria-label="Rankings and games"] tr:first-child > :not(:first-child, :nth-child(5), :nth-child(6)),
table[aria-label="Rankings and games"] tbody tr + tr > :nth-child(n+3) { text-align: right; }
table[aria-label="Rankings and games"] :is(th, td) { vertical-align: baseline; }
[aria-label="Rankings and games"] :is([scope="rowgroup"], thead th:first-child) {
  border-right: 1px solid var(--rule);
}
[aria-label="Rankings and games"] thead small {
  display: block;
  white-space: nowrap;
  color: var(--muted);
  font-weight: normal;
  font-size: inherit;
}

/* The preserved archive tables have no column classes. Align their numeric
   fields by default and join team label alignment across all rows and headers. */
html table.dataframe,
html .scroll table,
[aria-label="Ranking progression"] table { text-align: right; }
html .dataframe :is(th, td) { text-align: inherit; }
html .scroll table :is(th, td):first-child,
[aria-label="Ranking progression"] :is(th, td):nth-child(-n+2) { text-align: left; }
.dataframe:has(tbody td:nth-child(1) > :is([data-sr-team], .school-mark)) :is(th, td):nth-child(1),
.dataframe:has(tbody td:nth-child(2) > :is([data-sr-team], .school-mark)) :is(th, td):nth-child(2),
.dataframe:has(tbody td:nth-child(3) > :is([data-sr-team], .school-mark)) :is(th, td):nth-child(3),
.dataframe:has(tbody td:nth-child(4) > :is([data-sr-team], .school-mark)) :is(th, td):nth-child(4),
.dataframe:has(tbody td:nth-child(5) > :is([data-sr-team], .school-mark)) :is(th, td):nth-child(5),
.dataframe:has(tbody td:nth-child(7) > :is([data-sr-team], .school-mark)) :is(th, td):nth-child(7),
.dataframe:has(tbody td:nth-child(8) > :is([data-sr-team], .school-mark)) :is(th, td):nth-child(8) {
  text-align: left;
}
/* In ranking and record tables the conference directly follows the school. */
.dataframe:has(tbody td:first-child > [data-sr-team]):not(:has(tbody td:nth-child(2) > [data-sr-team])) :is(th, td):nth-child(2),
.dataframe:has(tbody td:nth-child(2) > [data-sr-team]):not(:has(tbody td:nth-child(3) > [data-sr-team])) :is(th, td):nth-child(3) {
  text-align: left;
}
html .forecast-report .forecast-games :is(th, td):nth-child(-n+3) {
  background: var(--row-paper, var(--paper));
}
html .forecast-report .forecast-games thead th:nth-child(-n+3) { background: var(--table-head); }
html .forecast-report .forecast-games :is(th, td):nth-child(3) { border-right: 1px solid var(--rule); }
[aria-label="Ranking progression"] :is(th, td):nth-child(2n + 3) { border-left: 1px solid var(--rule); }

.school-mark {
  width: 20px;
  height: 20px;
  margin-right: .38em;
  vertical-align: middle;
  object-fit: contain;
}
.school-mark.large {
  width: 54px;
  height: 54px;
  margin-right: .24em;
}
.rank-trend {
  width: min(100%, 36rem);
  margin: .9rem 0 1.15rem;
  padding-block: .5rem .3rem;
  border-block: 1px solid var(--rule);
}
.rank-trend figcaption { margin-bottom: .3rem; font-size: 1.15rem; }
.rank-trend svg { display: block; color: var(--link); }
.rank-trend a:is(:hover, :focus-visible) circle {
  fill: var(--paper);
  stroke: var(--rust);
  stroke-width: 2;
}

.program-list {
  columns: 4 12rem;
  column-gap: 1.5rem;
  margin: .6rem 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}
.program-list li {
  break-inside: avoid;
  padding: .25rem 0;
  border-bottom: 1px solid var(--rule);
}

.week-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .5rem;
  margin: .32rem 0;
  padding: 0;
  list-style: none;
}
.week-links a {
  display: inline-block;
  padding: .25rem .2rem;
  font-size: .8125rem;
}
nav[aria-label="Ranking checkpoints"] {
  border-block: 1px solid var(--rule);
  margin-block: .7rem;
}
.week-links [aria-current=page] {
  color: var(--paper);
  background: var(--rust);
  font-weight: 700;
  text-decoration: none;
}
#season-archive > h3 {
  padding-top: .45rem;
  border-top: 1px solid var(--rule);
}
html .metrics {
  padding: .6rem 0;
  border-block: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  font-size: .9375rem;
}

@media (min-width: 80.01rem) {
  .home-rankings :is(th[scope="row"], td:nth-child(3)) { white-space: normal; }
  .home-rankings .home-game { grid-template-columns: auto minmax(min-content, 1fr) auto; }
  .home-rankings .home-opponent { white-space: normal; }
}
@media (max-width: 96rem) {
  .home-columns:has(.home-rankings) { display: block; }
  .home-columns:has(.home-rankings) > section:last-child {
    margin-top: 1.25rem;
    border-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 820px) {
  .home-columns { display: block; }
  .home-columns > section:last-child { margin-top: 1.25rem; border-left: 0; padding-left: 0; }
}

@media (max-width: 80rem) {
  .home-columns > section > .home-scroll-hint {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: .8125rem;
    font-weight: 400;
  }
  .home-rankings :is(th, td):nth-child(-n+2) {
    position: sticky;
    inset-inline-start: 0;
  }
  .home-rankings :is(th, td):first-child {
    min-inline-size: var(--rank-width);
    padding-inline: .35rem;
  }
  .home-rankings :is(th, td):nth-child(2) {
    inset-inline-start: var(--rank-width);
    border-inline-end: 1px solid var(--rule);
  }
}

@media (max-width: 650px) {
  @supports selector(:has(*)) {
    .archive-columns {
      display: inline-flex;
      align-items: center;
      gap: .38rem;
      padding: .4rem 0;
      color: var(--muted);
      font-size: .8125rem;
      cursor: pointer;
    }
    .archive-columns input { margin: 0; accent-color: var(--link); }
    .archive-content:has(.archive-columns input:not(:checked)) .dataframe {
      table-layout: fixed;
      width: 100%;
    }
    .archive-content:has(.archive-columns input:not(:checked)) .dataframe :is(th, td) {
      padding-inline: .28rem;
      white-space: normal;
      overflow-wrap: anywhere;
    }
    .archive-content:has(.archive-columns input:not(:checked)) th:is([aria-label="Week"], [aria-label="Rank"]) { width: 11%; }
    .archive-results:has(.archive-columns input:not(:checked)) th[aria-label$="score"] { width: 13%; }
    .archive-results:has(.archive-columns input:not(:checked)) th[aria-label$="score"]::after { content: "Score"; }
    .archive-cors:has(.archive-columns input:not(:checked)) th[aria-label="Team"] { width: 42%; }
    .archive-records:has(.archive-columns input:not(:checked)) th[aria-label="Team"] { width: 43%; }
    .archive-honors:has(.archive-columns input:not(:checked)) th[aria-label="Team"] { width: 42%; }
    .history-sheet:has(.archive-columns input:not(:checked)) .history-detail { display: none; }
    .history-sheet:has(.archive-columns input:not(:checked)) table {
      table-layout: fixed;
      white-space: normal;
      overflow-wrap: anywhere;
    }
    .history-sheet:has(.archive-columns input:not(:checked)) .history-school { width: 43%; }
    .history-sheet:has(.archive-columns input:not(:checked)) .history-school.sortable-column { width: 38%; }
  }
  .masthead { display: block; padding-top: .6rem; margin-bottom: .75rem; }
  .masthead nav { margin-top: .2rem; gap: 0 .8rem; }
  html h1 { font-size: 2rem; }
  html h2 { font-size: 1.4rem; }
  main:has(> .home-columns) > h1 { font-size: 2.45rem; }
  .program-list { columns: 2 8rem; column-gap: .85rem; }
  .rank-trend svg text { font-size: 16px; }
  html table td, html table th { padding-inline: .4rem; }
  html table thead th { white-space: normal; }
  .dataframe thead th { white-space: nowrap; }
  .sortable-column { padding-inline: .25rem; }
  .sort-column { overflow-wrap: normal; }
  .home-columns table:not(.home-rankings) { table-layout: fixed; white-space: normal; }
  .home-columns table:not(.home-rankings) th:first-child { width: 2.5rem; }
  .home-columns table:not(.home-rankings) th:nth-child(2) { width: 28%; }
  .home-columns table:not(.home-rankings) th:nth-child(3),
  .home-columns table:not(.home-rankings) th:nth-child(4) { width: 3rem; }
  .home-columns table:not(.home-rankings) :is(td, th) { padding-inline: .35rem; }
  .home-columns table:not(.home-rankings) .home-game { grid-template-columns: minmax(0, 1fr) auto; }
  .home-columns table:not(.home-rankings) .home-game-score { grid-column: 2; grid-row: 1; }
  .home-columns table:not(.home-rankings) .home-opponent { grid-column: 1 / -1; grid-row: 2; }
  .home-columns table:not(.home-rankings) :is(th[scope="row"], .home-result) a {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    overflow-wrap: anywhere;
  }
  .home-columns table:not(.home-rankings) .school-mark {
    flex: none;
    width: 16px;
    height: 16px;
  }
  .home-rankings :is(td, th) { padding-inline: .35rem; }
  .home-rankings col.team { width: 7rem; }
  .home-rankings .school-mark { width: 16px; height: 16px; }
  [aria-label="Season history"] td:nth-child(2) {
    min-width: 5.25rem;
    white-space: normal;
  }
  .season-page [aria-labelledby="cors-ranking"] :is(th, td):nth-child(2) {
    width: 9rem;
    max-width: 9rem;
    white-space: normal;
  }
  :is([aria-label="Season history"], [aria-label="Rankings and games"]) th:first-child,
  .season-page [aria-labelledby="cors-ranking"] :is(th, td):nth-child(2) {
    position: sticky;
    left: 0;
    border-right: 1px solid var(--rule);
  }
  [aria-label="Ranking progression"] th:first-child {
    min-width: 7.25rem;
    max-width: 9rem;
    white-space: normal;
  }
  html .forecast-games { --team-width: clamp(6.5rem, 29.5vw, 7.25rem); }
  .week-links { gap: 0 .35rem; }
  nav[aria-label="Ranking checkpoints"] .week-links { gap: 0 .25rem; }
}

@media (min-width: 1100px) {
  .season-standings {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    align-items: start;
    gap: 1.8rem;
  }
  .season-standings > section { min-width: 0; }
  .season-standings table thead th { white-space: normal; }
  .season-standings section[aria-labelledby="cors-upsets"] table td { white-space: normal; }
  .season-standings section[aria-labelledby="cors-upsets"] .num { white-space: nowrap; }
}

@media print {
  html body { max-width: none; background: white; color: black; padding: 0; }
  .masthead nav, .week-links { display: none; }
  html a { color: inherit; text-decoration: none; }
  .table-scroll, html .scroll, .forecast-table-scroll { overflow: visible; }
}

html .conference-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
}
.conference-summary dt {
  color: var(--muted);
  font-size: .85rem;
}
.conference-summary dd {
  margin: .1rem 0 0;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.conference-note {
  color: var(--muted);
  font-size: .875rem;
}
table[data-sortable] tfoot {
  border-top: 2px solid var(--rule);
  font-weight: 700;
}
