@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500 650;
  font-display: swap;
  src: url("source-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500 650;
  font-display: swap;
  src: url("source-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f7f5f0;
  --ink: #1b1a17;
  --muted: #5e5a53;
  --line: #ddd6c8;
  --link: #1d4e89;
  --good: #1e4d3a;
  --bad: #8d3d32;
  color-scheme: light;
  font-family: "Source Serif 4", Georgia, "Iowan Old Style", serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, input:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
a[aria-current="page"] { color: var(--ink); font-weight: 650; text-decoration: none; }

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button.fold { display: none; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wrap > main { padding-bottom: 36px; }

.wrap.wide { width: min(1280px, calc(100% - 24px)); }

.table-scroll,
.scroll-on-small {
  max-width: 100%;
}

.table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.history { min-width: 1100px; font-size: 0.84rem; }
.programs {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  font-size: 0.8rem;
}
.programs col.rank { width: 3.6%; }
.programs col.team { width: 17.5%; }
.programs col.conf { width: 12.5%; }
.programs col.rating { width: 6.4%; }
.programs col.best { width: 6%; }
.programs col.worst { width: 5.6%; }
.programs col.med { width: 4.4%; }
.programs col.top { width: 3.8%; }
.programs col.post { width: 5.6%; }
.programs th,
.programs td {
  padding-left: 3px;
  padding-right: 3px;
}
.programs th {
  padding-top: 4px;
  padding-bottom: 3px;
  font-size: 0.62rem;
  letter-spacing: 0;
}
.programs td {
  height: auto;
  padding-top: 2px;
  padding-bottom: 2px;
}
.programs td.num { overflow: hidden; text-overflow: ellipsis; }
.programs td.team a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.programs td.team small,
.programs td.best small,
.programs td.worst small {
  display: block;
  margin-left: 0;
  line-height: 1.15;
}
.programs td.team small { font-size: 0.68rem; }
.programs td.conf {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.15;
  white-space: normal;
}
.programs td.postseason small {
  margin-left: 0.12em;
  font-size: 0.62rem;
}
.history td.rank { text-align: left; }
.history td.rank .rank-mark { color: var(--ink); }
.history td.result .result { font-weight: 500; color: var(--muted); }
.history td.result .result.won { color: var(--good); font-weight: 650; }
.history td.conf .trophy {
  display: inline-flex;
  margin-left: 0.28em;
  color: var(--ink);
  vertical-align: -0.18em;
}
.history td.conf .trophy svg { display: block; width: 0.95em; height: 0.95em; }
table.ratings td.team .name,
table.standings td.team .name {
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  min-width: 0;
}
table.ratings td.team .name a,
table.standings td.team .name a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
table.ratings .trophy.national,
table.standings .trophy.national {
  flex: none;
  display: inline-flex;
  margin-left: 0.32em;
  color: #8a6232;
  vertical-align: -0.16em;
}
table.ratings .trophy.national svg,
table.standings .trophy.national svg { display: block; width: 0.95em; height: 0.95em; }
td.faint { color: var(--muted); }
.rank-line {
  display: inline-grid;
  grid-template-columns: 2.5em 2.2em;
  column-gap: 0.3em;
  align-items: baseline;
}
.rank-line .place { text-align: right; }
td.num .rank-line small.chg {
  display: block;
  width: auto;
  margin-left: 0;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
td.num small.chg.up { color: var(--good); }
td.num small.chg.down { color: var(--bad); }

#matches { padding-left: 18px; }
#matches li { margin: 6px 0; }

#site { padding-top: 18px; }

.brand-row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
}

.brand {
  color: var(--ink);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.primary { display: flex; align-items: baseline; gap: 14px; }
.primary a { font-size: 1.05rem; }

select.year {
  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  background-color: transparent;
  border: 0;
  margin: 0;
  padding: 0 14px 0 0;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231b1a17' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 10px 6px;
}

.search { margin-left: auto; position: relative; }
.search input {
  border: 1px solid var(--line);
  background: white;
  border-radius: 4px;
  padding: 4px 8px;
  width: 180px;
}

.suggest {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  width: 320px;
  padding: 4px 0;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(27, 26, 23, 0.08);
}

.suggest a {
  display: flex;
  gap: 0.5em;
  align-items: baseline;
  padding: 5px 10px;
  color: var(--ink);
}

.suggest a:hover,
.suggest a[aria-selected="true"] {
  background: #f3f0e8;
  text-decoration: none;
}

.suggest .place {
  flex: none;
  width: 2.4em;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.suggest .team {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggest small { margin-left: auto; white-space: nowrap; }
.suggest .empty { margin: 0; padding: 6px 10px; color: var(--muted); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 8px;
  font-size: 0.95rem;
}

.crumbs.games {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.crumbs.games .crumb-label { flex: none; }

.crumbs.games .games-days {
  display: flex;
  flex: 0 1 auto;
  align-items: baseline;
  gap: 2px 12px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.crumbs.games .games-days::-webkit-scrollbar { display: none; }
.crumbs.games .games-days a { flex: none; }

.crumbs.games .week-step {
  flex: none;
  padding: 2px 1px;
  color: var(--muted);
  line-height: 1;
  text-decoration: none;
}

.crumbs.games .week-step:hover {
  color: var(--link);
  text-decoration: none;
}

.crumbs.weeks .week-links { display: contents; }

.crumb-label { color: var(--muted); }

h1 {
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 22px 0 4px;
}

.dateline, .lede, .status {
  margin: 0 0 14px;
  color: var(--muted);
}
.dateline:empty, .status:empty { display: none; }

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}

th {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  padding: 8px 8px 6px;
  border-bottom: 1px solid var(--ink);
}

thead tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
}

th small {
  display: block;
  margin: 1px 0 0;
  letter-spacing: 0.03em;
  font-size: 0.68rem;
  font-weight: 500;
}

td {
  height: 32px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}

.num { text-align: right; }
th.num { text-align: right; }
td.result a { color: var(--link); }

table.lines { width: auto; min-width: 22rem; }
table.lines th,
table.lines td { padding-right: 18px; }
table.lines td.team { font-weight: 650; }
td.indent { padding-left: 1.6rem; color: var(--muted); }

.game-page .score table.lines {
  width: 100%;
  max-width: 36rem;
  min-width: 0;
  font-size: 1.28rem;
}
.game-page .score table.lines th { font-size: 0.78rem; }
.game-page .score table.lines td { height: 46px; }
.game-page .score table.lines .final { font-weight: 650; }
.game-page .score table.lines td.final { font-size: 1.65rem; }
.game-lower {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 40px;
}
.game-lower .section { margin-top: 0; }
.game-lower .stats { flex: 1 1 18rem; max-width: 26rem; }
.game-lower .drives { flex: 1 1 36rem; min-width: min(100%, 36rem); }

.game-page h1 {
  font-size: 1.65rem;
  line-height: 1.15;
  margin: 12px 0 2px;
}
.game-page .dateline {
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.board { margin: 0 0 12px; }
.board-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 22px;
  align-items: center;
}
.board-side { min-width: 0; }
.board-side.away { text-align: left; }
.board-side.home { text-align: right; }
.board-side .name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--link);
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 500;
}
.board-side.favored .name {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}
.board-side .meta {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}
.board-side .place { font-variant-numeric: tabular-nums; }
.board-side .record { margin-left: 0.45em; }
.board-scores {
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  margin: 0;
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 0.85;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.board-scores .lose { color: #9a948a; font-weight: 500; }
.odds-track {
  display: flex;
  height: 6px;
  margin-top: 10px;
  background: #e7e1d6;
}
.odds-track span { display: block; height: 100%; }
.odds-track .favored { background: var(--ink); }
.odds-label {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.odds-label.home { text-align: right; }
.odds-label.away { text-align: left; }
.odds-label .who { color: var(--ink); font-weight: 650; }
.game-page .filters {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 22px;
  margin: 0 0 14px;
}
.game-page .choices { margin: 0; font-size: 0.88rem; }
.game-page .choices a {
  color: var(--muted);
  margin-right: 0.15em;
  padding: 0 0.35em 1px;
  border-bottom: 2px solid transparent;
}
.game-page .choices a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.game-page .choices a:hover { color: var(--ink); text-decoration: none; }
.game-page .choices .crumb-label { margin-right: 0.25em; }
.matchup {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  align-items: start;
}
.matchup .section { margin-top: 0; }
.matchup th .side {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}
table.stats { width: 100%; }
table.stats th:first-child,
table.stats td:first-child { width: 55%; }
.game-lower table.stats th:first-child,
.game-lower table.stats td:first-child { width: auto; }
.game-lower table.stats th { white-space: nowrap; }
table.drives { width: auto; }
table.drives td.result { white-space: nowrap; }
table.drives td.result small { font-weight: 500; }
table.drives td.scoreline { white-space: nowrap; }
table.drives td.scoreline .quiet { color: var(--muted); font-weight: 500; }
table.drives td.scoreline .scored { font-weight: 650; }
td.scored { font-weight: 650; }
td.quiet { color: var(--muted); }

.team { font-weight: 650; }
td small, .sub {
  display: inline;
  margin-left: 0.4em;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

td.team small {
  display: block;
  margin-left: 0;
  font-size: 0.75rem;
}

.good { background: rgba(22, 92, 58, 0.1); }
.bad { background: rgba(148, 58, 46, 0.1); }

tbody tr:hover td {
  background-image: linear-gradient(rgba(27, 26, 23, 0.045), rgba(27, 26, 23, 0.045));
}

.lv-1a { color: #1d4e89; }
.lv-1aa { color: #1e4d3a; }
.lv-dii { color: #8a5a12; }
.lv-diii { color: #5c4d73; }
.lv-naia { color: #3d5c56; }
a.lv-1a[aria-current="page"] { color: #1d4e89; font-weight: 650; }
a.lv-1aa[aria-current="page"] { color: #1e4d3a; font-weight: 650; }
a.lv-dii[aria-current="page"] { color: #8a5a12; font-weight: 650; }
.rank-mark small.lv-1a, .postseason small.lv-1a { color: #1d4e89; font-weight: 650; }
.rank-mark small.lv-1aa, .postseason small.lv-1aa { color: #1e4d3a; font-weight: 650; }
.rank-mark small.lv-dii, .postseason small.lv-dii { color: #8a5a12; font-weight: 650; }
.rank-mark small.lv-diii, .postseason small.lv-diii { color: #5c4d73; font-weight: 650; }
.rank-mark small.lv-naia, .postseason small.lv-naia { color: #3d5c56; font-weight: 650; }
.rank-mark small.division {
  color: var(--muted);
  font-weight: 500;
}
.division-rank {
  color: var(--muted);
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0;
  margin-right: 0.35em;
}
th.division, td.division { text-align: center; }
td.division { font-weight: 650; }
td.division.lv-1a { background: #d4e3f4; }
td.division.lv-1aa { background: #d3eadb; }
td.division.lv-dii { background: #f3e3c4; }
th.away, td.away { text-align: right; }
td.away .rank-mark { margin-left: 0.55em; }
td.home .rank-mark { margin-right: 0.55em; }
td.away .team, td .team { font-weight: 650; }

table.slate {
  width: 100%;
  table-layout: fixed;
}
table.slate th.away,
table.slate td.away,
table.slate th.home,
table.slate td.home { width: 24%; }
table.slate th.score,
table.slate td.score { width: 8%; }
table.slate th.time,
table.slate td.time { width: 10%; }
table.slate th.pick,
table.slate td.pick { width: 26%; }
table.slate th.num,
table.slate td.num { width: 8%; }
table.slate th,
table.slate td {
  overflow: hidden;
  text-overflow: ellipsis;
}
table.slate .side {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  max-width: 100%;
  min-width: 0;
}
table.slate td.away .side { flex-direction: row-reverse; }
table.slate .side .team {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
table.slate .rank-mark,
table.slate .rank-mark.labeled {
  display: inline-flex;
  gap: 0.28em;
  margin: 0;
}
table.slate .rank-mark small.division:empty { display: none; }
table.slate td.score { white-space: nowrap; }
table.slate td.score a { color: var(--muted); }
table.slate td.won .team,
table.slate td.score .win { font-weight: 650; color: var(--ink); }
table.slate td.lost .team,
table.slate td.score .lose { font-weight: 500; color: var(--muted); }
th.score, td.score { text-align: center; }
th.time, td.time {
  text-align: right;
  white-space: nowrap;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.slate-filters { margin-top: 10px; }
.slate-filters a {
  color: var(--muted);
  padding: 0 0.25em 1px;
  border-bottom: 2px solid transparent;
}
.slate-filters a:hover { color: var(--ink); text-decoration: none; }
.slate-filters a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  border-bottom-color: var(--ink);
}
td.pick small, td.next small { display: block; margin-left: 0; }
td.next small { color: var(--muted); font-weight: 500; }

.band { text-align: center; color: var(--ink); }

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.section { margin: 8px 0 28px; min-width: 0; }
.section h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.rank-mark {
  display: inline-grid;
  grid-template-columns: 2.7em 1.8em;
  column-gap: 0.28em;
  align-items: baseline;
  justify-items: end;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  vertical-align: baseline;
}
.rank-mark.labeled { grid-template-columns: 2.7em 1.8em 3em; }
.rank-mark small.level { justify-self: start; }
td.rank {
  color: var(--ink);
  text-align: right;
}
td.rank .rank-mark small,
.opp .rank-mark small,
.rank-mark small {
  display: block;
  margin-left: 0;
  font-size: 0.72rem;
}
.opp .rank-mark { margin-right: 0.55em; }

.scouting { font-size: 0.9rem; }
.scouting td:first-child { color: var(--ink); }
tr.here td { background: #f3f0e8; }

tr.total td {
  border-top: 2px solid var(--ink);
  font-weight: 650;
}
tr.total td.label {
  color: var(--muted);
  font-weight: 500;
}

tr.event td {
  height: 34px;
  text-align: center;
  font-weight: 650;
  background: #f3f0e8;
  border-bottom: 1px solid var(--line);
}

tr.projected td {
  height: auto;
  padding: 8px;
  text-align: center;
  white-space: normal;
  color: var(--muted);
}

.scouting .group td {
  height: 26px;
  background: #f3f0e8;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 650;
}

.choices { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.foot-name {
  color: var(--ink);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.foot nav { display: flex; gap: 14px; }

.foot-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.notes {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 0;
}

.notes p { margin: 0; }

.notes input[type="email"] {
  border: 1px solid var(--line);
  background: white;
  border-radius: 4px;
  padding: 4px 8px;
  width: 11.5rem;
}

.notes button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.notes button:disabled {
  color: var(--muted);
  text-decoration: none;
}

.note-status:empty { display: none; }

.colophon { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

@media (max-width: 800px) {
  .wrap,
  .wrap.wide {
    width: calc(100% - 20px);
  }
  .wrap.slate-page { width: calc(100% - 8px); }

  .brand-row { gap: 8px 14px; }
  .brand { font-size: 1.2rem; }
  .primary { flex-wrap: wrap; gap: 8px 12px; }
  .primary a,
  select.year { font-size: 1rem; }
  select.year { min-height: 32px; }

  .search {
    flex: 1 0 100%;
    margin-left: 0;
  }
  .search input {
    width: 100%;
    font-size: 1rem;
    padding: 8px 10px;
  }
  .suggest {
    left: 0;
    right: 0;
    width: auto;
  }

  .crumbs a { padding: 6px 1px; }

  .crumbs.weeks {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 0;
  }
  .crumbs.weeks .crumb-label { flex: 1 0 100%; }
  .crumbs.weeks .week-links {
    display: flex;
    flex: 1 0 100%;
    align-items: baseline;
    gap: 2px 12px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .crumbs.weeks .week-links::-webkit-scrollbar { display: none; }
  .crumbs.weeks .week-links a { flex: none; }

  .crumbs.games {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    font-size: 0.92rem;
  }
  .crumbs.games .crumb-label { flex: 1 0 100%; }
  .crumbs.games .games-days { gap: 0; }
  .crumbs.games .games-days a { margin-right: 0.7em; }
  .crumbs.games .games-days a:last-child { margin-right: 0; }
  .crumbs.games .week-step { padding: 0 2px; }

  h1 {
    font-size: 1.5rem;
    overflow-wrap: anywhere;
  }
  .game-page h1 { font-size: 1.35rem; }
  .board-match { column-gap: 12px; }
  .board-side .name { font-size: 1rem; }
  .board-scores { font-size: 1.75rem; gap: 0.4em; }
  .game-page .filters { gap: 2px 14px; }
  .page-head {
    flex-wrap: wrap;
    gap: 2px 12px;
  }
  .game-lower { display: block; }
  .game-lower .stats,
  .game-lower .drives { max-width: none; }
  .matchup { grid-template-columns: 1fr; }

  table { font-size: 0.84rem; }
  th, td { padding-left: 6px; padding-right: 6px; }

  .ratings-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  table.ratings {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 0.72rem;
  }
  table.ratings th,
  table.ratings td {
    height: auto;
    min-width: 0;
    padding: 1px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  table.ratings th {
    font-size: 0.62rem;
    letter-spacing: 0;
    padding-top: 3px;
    padding-bottom: 2px;
  }
  table.ratings th.rank { width: 17%; }
  table.ratings th.team { width: 28%; }
  table.ratings th.conf { width: 16%; }
  table.ratings th.division { width: 8%; }
  table.ratings th.record { width: 11%; }
  table.ratings th.rating,
  table.ratings th.sos { width: 14%; }
  table.ratings td.conf { font-weight: 500; font-size: 0.68rem; }
  table.ratings th.rank,
  table.ratings th.record,
  table.ratings th.division { font-size: 0; }
  table.ratings th.rank::after,
  table.ratings th.record::after,
  table.ratings th.division::after {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }
  table.ratings th.rank::after { content: "Rk"; }
  table.ratings th.record::after { content: "W-L"; }
  table.ratings th.division::after { content: "Div"; }
  table.ratings td.team small { display: inline; }
  table.ratings .rank-line {
    grid-template-columns: 2.1em 1.8em;
    column-gap: 0.15em;
  }

  table.history,
  table.history tbody,
  table.programs,
  table.programs tbody,
  table.standings,
  table.standings tbody { display: block; width: 100%; }
  table.history,
  table.programs { min-width: 0; }
  .table-scroll:has(table.history),
  .table-scroll:has(table.programs) { overflow: visible; }

  table.history thead,
  table.programs thead,
  table.standings thead { display: none; }

  table.history tr,
  table.programs tr,
  table.standings tr {
    display: grid;
    align-items: start;
    width: 100%;
    padding: 8px 0 10px;
    border-bottom: 1px solid var(--line);
    background: white;
  }
  table.history td,
  table.programs td,
  table.standings td {
    height: auto;
    border: 0;
    padding: 1px 0;
    white-space: normal;
    text-align: left;
  }
  table.history td[data-label]::before,
  table.programs td[data-label]::before,
  table.standings td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 1px;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  table.history tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 4px;
  }
  table.history tr::before {
    content: "";
    order: 6;
    flex-basis: 100%;
    height: 6px;
  }
  table.history .rank-mark,
  table.history .rank-mark.labeled {
    display: inline-flex;
    gap: 0.35em;
    align-items: baseline;
  }
  table.history .rank-mark.labeled small.level { display: inline; }
  table.history .rank-mark small.division:empty { display: none; }
  table.history td.season,
  table.history td.rank,
  table.history td.conf,
  table.history td.result,
  table.history td.record { white-space: nowrap; }
  table.history td.season { order: 1; font-weight: 650; }
  table.history td.season a { color: var(--ink); }
  table.history td.season small { display: inline; margin-left: 0.35em; }
  table.history td.rank { order: 2; color: var(--muted); font-weight: 500; }
  table.history td.rank .place { color: var(--muted); font-weight: 500; }
  table.history td.conf {
    order: 3;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    overflow: hidden;
    color: var(--muted);
    font-weight: 500;
  }
  table.history td.conf a {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  table.history td.conf .trophy { flex: none; }
  table.history td.result { order: 4; margin-left: auto; color: var(--muted); }
  table.history td.record { order: 5; font-weight: 650; }
  table.history td.srs,
  table.history td.sos,
  table.history td.tempo,
  table.history td.stat {
    order: 7;
    flex: 0 0 calc((100% - 16px) / 3);
    max-width: calc((100% - 16px) / 3);
    font-size: 0.95rem;
  }
  table.history td.stat:nth-child(9),
  table.history td.stat:nth-child(10),
  table.history td.stat:nth-child(11),
  table.history td.stat:nth-child(15),
  table.history td.stat:nth-child(16),
  table.history td.stat:nth-child(17) {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  table.programs tr {
    grid-template-columns: 1.6em minmax(0, 1fr) auto;
    column-gap: 8px;
    row-gap: 0;
    align-items: baseline;
    padding: 7px 0;
    cursor: pointer;
  }
  table.programs td.place { grid-column: 1; grid-row: 1; font-weight: 650; }
  table.programs td.team { grid-column: 2; grid-row: 1; min-width: 0; }
  table.programs td.rating { grid-column: 3; grid-row: 1; text-align: right; font-weight: 650; }
  table.programs td.rating::before { display: none; }
  table.programs td.conf { grid-column: 2 / 4; grid-row: 2; }
  table.programs td.team small { display: inline; }
  table.programs td.team small::before { content: " · "; }
  table.programs button.fold,
  table.standings button.fold {
    display: inline-block;
    width: 1.5em;
    height: 1em;
    margin-left: 0.2em;
    padding: 0;
    border: 0;
    background: transparent;
    vertical-align: middle;
  }
  table.programs button.fold::before,
  table.standings button.fold::before {
    content: "";
    display: block;
    margin: 0.2em auto 0;
    border: 4px solid transparent;
    border-top-color: var(--muted);
  }
  table.programs tr.open button.fold::before,
  table.standings tr.open button.fold::before {
    margin-top: 0;
    border-top-color: transparent;
    border-bottom-color: var(--muted);
  }
  table.programs td.best,
  table.programs td.worst,
  table.programs td.median,
  table.programs td.top10,
  table.programs td.top25,
  table.programs td.top50,
  table.programs td.pconf,
  table.programs td.pquarter,
  table.programs td.psemi,
  table.programs td.pfinal,
  table.programs td.ptitle { display: none; }
  table.programs tr.open td.best,
  table.programs tr.open td.worst,
  table.programs tr.open td.median,
  table.programs tr.open td.top10,
  table.programs tr.open td.top25,
  table.programs tr.open td.top50,
  table.programs tr.open td.pconf,
  table.programs tr.open td.pquarter,
  table.programs tr.open td.psemi,
  table.programs tr.open td.pfinal,
  table.programs tr.open td.ptitle { display: block; }
  table.programs tr.open { row-gap: 2px; padding-bottom: 10px; }
  table.programs tr.open td.best { grid-column: 2; grid-row: 3; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  table.programs tr.open td.worst { grid-column: 3; grid-row: 3; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  table.programs tr.open td.median { grid-column: 2; grid-row: 4; }
  table.programs tr.open td.top10 { grid-column: 3; grid-row: 4; }
  table.programs tr.open td.top25 { grid-column: 2; grid-row: 5; }
  table.programs tr.open td.top50 { grid-column: 3; grid-row: 5; }
  table.programs tr.open td.pconf { grid-column: 2; grid-row: 6; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  table.programs tr.open td.pquarter { grid-column: 3; grid-row: 6; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  table.programs tr.open td.psemi { grid-column: 2; grid-row: 7; }
  table.programs tr.open td.pfinal { grid-column: 3; grid-row: 7; }
  table.programs tr.open td.ptitle { grid-column: 2; grid-row: 8; }

  table.standings tr {
    grid-template-columns: 1.6em auto auto minmax(0, 1fr) auto;
    column-gap: 8px;
    row-gap: 0;
    align-items: baseline;
    padding: 7px 0;
    cursor: pointer;
  }
  table.standings td.place { grid-column: 1; grid-row: 1; font-weight: 650; }
  table.standings td.team { grid-column: 2 / 5; grid-row: 1; min-width: 0; }
  table.standings td.srs { grid-column: 5; grid-row: 1; text-align: right; font-weight: 650; }
  table.standings td.srs::before { display: none; }
  table.standings td.overall { grid-column: 2; grid-row: 2; color: var(--muted); font-weight: 500; }
  table.standings td.confrec { grid-column: 3; grid-row: 2; color: var(--muted); font-weight: 500; text-align: left; }
  table.standings td.overall::before { display: none; }
  table.standings td.confrec::before {
    content: "conf ";
    display: inline;
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
    font-size: inherit;
    font-weight: 500;
  }
  table.standings td.national,
  table.standings td.proj,
  table.standings td.sos,
  table.standings td.confsos,
  table.standings td.next { display: none; }
  table.standings tr.open { row-gap: 2px; padding-bottom: 10px; }
  table.standings tr.open td.national,
  table.standings tr.open td.proj,
  table.standings tr.open td.sos,
  table.standings tr.open td.confsos,
  table.standings tr.open td.next { display: block; }
  table.standings tr.open td.national { grid-column: 2 / 4; grid-row: 3; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  table.standings tr.open td.proj { grid-column: 4 / 6; grid-row: 3; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); text-align: left; }
  table.standings tr.open td.sos { grid-column: 2 / 4; grid-row: 4; }
  table.standings tr.open td.confsos { grid-column: 4 / 6; grid-row: 4; text-align: left; }
  table.standings tr.open td.next { grid-column: 2 / 6; grid-row: 5; margin-top: 4px; }
  table.leagues td:nth-child(2),
  table.leagues th:nth-child(2) { white-space: normal; }

  .schedule-section th,
  .schedule-section td { padding-left: 4px; padding-right: 4px; }

  th.site, td.site { display: none; }

  .schedule-section .rank-mark small.division { display: none; }
  .schedule-section .rank-mark,
  .schedule-section .rank-mark.labeled { grid-template-columns: 2.1em; }

  table.slate {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 0.7rem;
  }
  table.slate th,
  table.slate td {
    height: auto;
    min-width: 0;
    padding: 1px 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  table.slate th {
    font-size: 0.58rem;
    letter-spacing: 0;
    padding-top: 3px;
    padding-bottom: 2px;
  }
  table.slate th.away,
  table.slate td.away,
  table.slate th.home,
  table.slate td.home { width: 30%; text-align: left; }
  table.slate th.score,
  table.slate td.score { width: 12%; padding-left: 0; padding-right: 0; }
  table.slate th.time,
  table.slate td.time {
    width: 13%;
    text-align: right;
    padding-left: 0;
    padding-right: 0;
    font-weight: 500;
  }
  table.slate td.time { font-size: 0.5rem; }
  table.slate th.pick,
  table.slate td.pick { width: 15%; text-align: right; font-size: 0.62rem; }
  table.slate th.num,
  table.slate td.num { display: none; }
  table.slate th.time,
  table.slate th.score { font-size: 0; }
  table.slate th.time::after {
    font-size: 0.58rem;
    content: "Time";
  }
  table.slate .side {
    display: flex;
    align-items: baseline;
    gap: 0.28em;
    min-width: 0;
    max-width: 100%;
  }
  table.slate td.away .side { flex-direction: row-reverse; justify-content: flex-end; }
  table.slate .side .team {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
  }
  table.slate td.favored .team {
    color: var(--ink);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
  }
  table.slate td.dog .team {
    color: #9a948a;
    font-weight: 500;
    text-decoration: none;
  }
  table.slate .rank-mark,
  table.slate .rank-mark.labeled {
    display: inline;
    margin: 0;
    grid-template-columns: none;
  }
  table.slate .rank-mark small { display: none; }
  table.slate .rank-mark .place { color: var(--muted); font-weight: 500; }
  table.slate td.home > .side > small { display: none; }
  table.slate td.score small.ot { display: none; }
  table.slate td.score.pending { font-size: 0; color: var(--muted); }
  table.slate td.score.pending::after {
    content: "at";
    font-size: 0.68rem;
    font-weight: 500;
  }
  table.slate td.score.pending.neutral::after { content: "vs"; }
  table.slate .pick-name { display: none; }
  table.slate td.pick small { display: inline; margin-left: 0.3em; }

  .rank-mark { grid-template-columns: 2.3em 1.6em; }
  .rank-mark.labeled { grid-template-columns: 2.3em 1.6em; }
  .rank-mark.labeled small.level { display: none; }

  .scroll-on-small {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .scouting td:first-child,
  .scouting th:first-child { white-space: normal; }

  .foot { font-size: 0.85rem; }
  .foot-name { font-size: 1rem; }
  .notes { flex: 1 1 100%; }
  .notes > p:first-child { flex: 1 0 100%; }
  .notes input[type="email"] {
    flex: 1;
    width: auto;
    min-width: 0;
    font-size: 1rem;
    padding: 8px 10px;
  }
}
