/* One typeface, Archivo, in several widths: condensed for numbers and names,
   normal for reading. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f3f5f2;
  --raise: #ffffff;
  --ink: #0f1712;
  --ink-2: #39443d;
  --muted: #5b675f;
  --rule: #d5dcd6;
  --rule-2: #e6ebe7;
  --sel: #e4ebe5;
  --turf: #1c5336;
  /* the first-down line: the side to root for, and the measure chosen */
  --mark: #ffd21f;
  --mark-ink: #0f1712;
  --mark-line: #d4a600;
  --up: #117245;
  --down: #b3361d;
  --bar: #39443d;
  /* what is switched on, and the charts: the site's green rather than black */
  --pick: #1f5c3c;
  --pick-ink: #ffffff;
  --chart: #2a6b47;
  --chart-ink: #ffffff;
  --shadow: 0 12px 32px -14px rgba(16, 32, 22, .32), 0 1px 2px rgba(16, 32, 22, .08);
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --page: 1280px;
  --gutter: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #19221d;
    --raise: #212c26;
    --ink: #eaf0eb;
    --ink-2: #c6d0c9;
    --muted: #9eaba3;
    --rule: #364339;
    --rule-2: #28332d;
    --sel: #2c3832;
    --turf: #1b4f33;
    --mark: #f2cc2e;
    --mark-ink: #0f1712;
    --mark-line: #f2cc2e;
    --up: #62d396;
    --down: #ff9073;
    --bar: #aab6ae;
    --pick: #2e6e4a;
    --pick-ink: #ffffff;
    --chart: #8fd0aa;
    --chart-ink: #0f1712;
    --shadow: 0 14px 34px -14px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .4);
  }
}
/* With a team picked, the page takes that team's hue and nothing else: the
   lightness of every surface stays where it is, so contrast does not move,
   and the strength is capped so no team turns the page muddy. app.js (and
   the build, for team pages) sets --team-h and --team-c and the class. */
:root.tinted {
  --bg: oklch(0.968 var(--team-c) var(--team-h));
  --raise: oklch(0.996 calc(var(--team-c) * .45) var(--team-h));
  --sel: oklch(0.933 calc(var(--team-c) * 1.6) var(--team-h));
}
@media (prefers-color-scheme: dark) {
  :root.tinted {
    --bg: oklch(0.241 calc(var(--team-c) * .75) var(--team-h));
    --raise: oklch(0.281 calc(var(--team-c) * .75) var(--team-h));
    --sel: oklch(0.328 calc(var(--team-c) * .9) var(--team-h));
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  transition: background-color .45s ease;
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1; width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-size: 17px; font-weight: 780; font-stretch: 80%; letter-spacing: -.005em; }
a { color: inherit; }
.muted { color: var(--muted); font-weight: 400; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Masthead */
.mast { background: var(--turf); color: #fff; }
.mast-in {
  max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter);
  min-height: 52px; display: flex; align-items: stretch; gap: 0 22px;
}
.brand {
  display: flex; align-items: center; gap: 10px; color: #fff;
  text-decoration: none; white-space: nowrap;
  font-size: 18px; font-weight: 800; font-stretch: 76%; letter-spacing: -.01em;
}
.mark { width: 28px; height: 28px; border-radius: 7px; flex: none;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.tabs { display: flex; gap: 2px; }
.tabs[hidden] { display: none; }
.tab {
  background: none; border: 0; border-top: 3px solid transparent;
  border-bottom: 3px solid transparent; padding: 0 12px; cursor: pointer;
  color: rgba(255, 255, 255, .74); font: inherit; font-size: 14px;
  font-weight: 650; font-stretch: 88%; white-space: nowrap;
}
.tab:hover { color: #fff; }
.tab.active { color: #fff; border-bottom-color: var(--mark); }
.tab:focus-visible { outline-color: #fff; outline-offset: -4px; }
.topmeta {
  margin-left: auto; display: flex; align-items: center; gap: 16px;
  font-size: 12.5px; font-stretch: 90%; color: rgba(255, 255, 255, .72);
}
.topmeta a, .topmeta span { color: inherit; text-decoration: none; white-space: nowrap; }
.topmeta a:hover { color: #fff; }
.topmeta b { color: #fff; font-weight: 650; }
.topmeta .simcount { font-size: 14px; font-weight: 820; font-stretch: 72%; }
.howlink {
  align-self: center; color: #fff; text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 650; font-stretch: 90%;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}
.howlink:hover { border-bottom-color: #fff; }
/* Every page beyond a team's guide, one click away: a strip under the
   masthead that scrolls sideways on a phone. */
.subnav { background: color-mix(in srgb, var(--turf) 82%, #000); }
.subnav-in {
  max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; gap: 2px 18px; overflow-x: auto; scrollbar-width: none;
  font-size: 13px; font-weight: 600; font-stretch: 88%; white-space: nowrap;
}
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { padding: 7px 0 6px; border-bottom: 2px solid transparent; color: rgba(255, 255, 255, .78);
            text-decoration: none; }
.subnav a:hover { color: #fff; }
.subnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--mark); }
.subnav a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
/* the first two are the pages, then the conferences, then every team */
.subnav a:nth-child(2) { margin-right: 10px; }
.subnav a:last-child { margin-left: 10px; }
.howlink:focus-visible, .brand:focus-visible { outline-color: #fff; }

.banner { margin: 0; padding: 10px var(--gutter); font-size: 14px;
          background: var(--down); color: #fff; }
.banner.info { background: var(--sel); color: var(--ink); }
.banner[hidden] { display: none; }

/* The band: your team, in its own colours, and the road from finishing
   ranked to winning it all. Its colours come from the team, set by app.js. */
.band {
  --team: var(--turf); --team-fg: #fff; --team-mark: var(--mark);
  --team-mark-ink: var(--mark-ink); --photo-blend: multiply;
  /* Clipped sideways only: the team list drops out of the bottom of it. */
  position: relative; isolation: isolate; overflow-x: clip; overflow-y: visible;
  background: var(--team); color: var(--team-fg);
  transition: background-color .45s ease, color .45s ease;
}
/* A game photo in the team's colour: grey, blended into the band, and faded
   out behind the name so the text never sits on a busy patch. Multiply on a
   dark band only darkens it; a light band uses screen, which only lightens. */
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: center 36% / cover no-repeat;
  filter: grayscale(1) contrast(1.2);
  mix-blend-mode: var(--photo-blend); opacity: .36;
  -webkit-mask-image: linear-gradient(100deg, transparent 22%, #000 66%);
  mask-image: linear-gradient(100deg, transparent 22%, #000 66%);
}
/* With the team list open the band sits above the sticky toolbar, which
   would otherwise cover the list; closed, it scrolls under the toolbar. */
.band.menuopen { z-index: 30; }
.band[data-photo="1"]::before { background-image: url("header/1.jpg"); }
.band[data-photo="2"]::before { background-image: url("header/2.jpg"); }
.band[data-photo="3"]::before { background-image: url("header/3.jpg"); }
.band[data-photo="4"]::before { background-image: url("header/4.jpg"); }
/* Before a team is picked the band is the front page: taller, more photo,
   and the picker at full size. */
.band.home::before { opacity: .6; background-position: center 64%; }
.band.home .band-in { padding-top: 64px; padding-bottom: 56px; }
.band.home .teaminput { font-size: 56px; }
.band.home .teamline { font-size: 17px; margin-top: 10px; }
.band-in {
  max-width: var(--page); margin: 0 auto; padding: 22px var(--gutter) 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 36px; align-items: end;
}
.who { display: flex; align-items: center; gap: 16px; min-width: 0; }
/* a white tile, so a logo in the band's own colour still shows */
.plate {
  width: 64px; height: 64px; flex: none; display: grid; place-items: center;
  background: #fff; border-radius: 14px;
}
.plate[hidden] { display: none; }
.plate img { width: 48px; height: 48px; object-fit: contain; }
.whotext { flex: 1; min-width: 0; }
/* the name, and beside it the way to send it to someone */
.namerow { display: flex; align-items: center; gap: 14px; min-width: 0; }
.combo { position: relative; width: fit-content; max-width: 100%; min-width: 0; }
.share {
  flex: none; margin: 0; padding: 5px 13px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid color-mix(in srgb, currentColor 45%, transparent);
  background: none; color: inherit; font: inherit; font-size: 13px; font-weight: 700;
  font-stretch: 88%; transition: background-color .15s ease, border-color .15s ease;
}
.share:hover { background: color-mix(in srgb, currentColor 12%, transparent); border-color: currentColor; }
.share:focus-visible { outline: 2px solid var(--team-mark); outline-offset: 2px; }
.share[hidden], .band.home .share { display: none; }
.combo::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; pointer-events: none; opacity: .8;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
}
.teaminput {
  display: block; width: 100%; max-width: 100%; margin: 0; padding: 2px 30px 5px 0;
  background: transparent; color: inherit; border: 0; border-radius: 0;
  border-bottom: 2px solid color-mix(in srgb, currentColor 35%, transparent);
  font: inherit; font-size: 38px; line-height: 1.1; font-weight: 820;
  font-stretch: 70%; letter-spacing: -.01em; text-overflow: ellipsis;
  caret-color: currentColor;
}
.teaminput::placeholder { color: inherit; opacity: .92; }
.teaminput:hover { border-bottom-color: color-mix(in srgb, currentColor 65%, transparent); }
.teaminput:focus { outline: none; border-bottom-color: var(--team-mark); }
.teamline {
  margin: 7px 0 0; font-size: 15px; font-stretch: 92%; opacity: .9;
  min-height: 1.5em;
}
.teamline b { font-weight: 700; }
.conflink { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
            text-underline-offset: 3px; }
.conflink:hover { text-decoration-color: currentColor; }
.clchip { display: inline-block; padding: 0 7px; border-radius: 4px; font-size: 12.5px; font-weight: 700;
          line-height: 1.6; vertical-align: 1px; }
.clchip.in { background: var(--team-mark); color: var(--team-mark-ink); }
.clchip.out { border: 1px solid color-mix(in srgb, currentColor 45%, transparent); }
/* The season under the record: a logo a game, on a white chip so a logo in
   the band's own colour still shows. */
.season { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 9px; }
.season:empty, .band.home .season { display: none; }
.sz {
  display: grid; justify-items: center; gap: 1px; margin: 0; padding: 0;
  border: 0; background: none; color: inherit; font: inherit;
}
.sz.afterbye { margin-left: 10px; }
.sz-logo {
  display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 5px; background: #fff;
}
.sz-logo .logo { width: 16px; height: 16px; }
.sz b { min-height: 1.2em; font-size: 10.5px; line-height: 1.2; font-weight: 800; }
.sz b.l { opacity: .72; }
.sz:not(.past) .sz-logo { opacity: .55; }
button.sz { cursor: pointer; }
button.sz:hover .sz-logo { opacity: 1; }
button.sz:focus-visible { outline: 2px solid var(--team-mark); outline-offset: 2px; border-radius: 6px; }
.sz.on .sz-logo { opacity: 1; box-shadow: 0 0 0 2px var(--team-mark); }

.menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; margin: 0;
  width: min(360px, calc(100vw - 2 * var(--gutter))); max-height: 380px;
  overflow-y: auto; padding: 4px; list-style: none;
  background: var(--raise); color: var(--ink); border: 1px solid var(--rule);
  border-radius: 8px; box-shadow: var(--shadow); font-stretch: 90%;
}
.menu[hidden] { display: none; }
.menu li {
  display: flex; align-items: center; gap: 10px; padding: 7px 9px;
  border-radius: 5px; cursor: pointer; font-size: 15px;
}
.menu li.active { background: var(--sel); }
.menu li[aria-selected="true"] .name { font-weight: 750; }
.menu .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden;
              text-overflow: ellipsis; }
.menu .conf { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.menu li.none { color: var(--muted); cursor: default; }

/* The road: one bar chart on a shared baseline, each bar as tall as its
   chance and labelled at its top, stepping down from a bowl game to winning
   it all. Each label is drawn as a button, since each bar is the switch for
   the guide; the one chosen is the first-down yellow. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.path { display: grid; grid-auto-flow: column; grid-auto-columns: 80px; }
.path:empty { display: none; }
.step {
  display: grid; grid-template-rows: 96px auto; gap: 7px; margin: 0; padding: 0;
  background: none; border: 0; border-radius: 4px; color: inherit; text-align: center;
  font: inherit; cursor: pointer;
}
.step .col {
  position: relative; display: block;
  border-bottom: 1.5px solid color-mix(in srgb, currentColor 55%, transparent);
  transition: --p .7s cubic-bezier(.2, .8, .2, 1);
}
/* the top 20px are headroom for the label over a full bar */
.step .col i {
  position: absolute; left: 5px; right: 5px; bottom: 0; display: block;
  height: max(2px, calc((100% - 20px) * var(--p) / 100)); border-radius: 3px 3px 0 0;
  background: currentColor; opacity: .34; transition: opacity .15s ease;
}
.step .v {
  position: absolute; left: 0; right: 0; bottom: calc((100% - 20px) * var(--p) / 100 + 3px);
  font-size: 16px; line-height: 1; font-weight: 800; font-stretch: 62%;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.step .v small { font-size: .7em; font-weight: 650; margin-left: 1px; opacity: .8; }
.step:hover .col i { opacity: .55; }
.step:active .col i { opacity: .7; }
.step[aria-pressed="true"] .col i { background: var(--team-mark); opacity: 1; }
.step[aria-pressed="true"] .v { font-size: 19px; }
.step:focus-visible { outline: 2px solid var(--team-mark); outline-offset: 2px; }
.step .k {
  display: grid; place-items: center; margin: 0 3px; padding: 4px 3px; min-height: 2.95em;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 6px;
  font-size: 12px; line-height: 1.15; font-weight: 650; font-stretch: 84%;
  transition: background-color .15s ease, border-color .15s ease;
}
.step .k .short { display: none; }
.step:hover .k { border-color: currentColor; background: color-mix(in srgb, currentColor 12%, transparent); }
.step[aria-pressed="true"] .k { border-color: var(--team-mark); background: var(--team-mark);
                                color: var(--team-mark-ink); font-weight: 780; }

/* Controls */
select, input, button { font: inherit; color: inherit; }
select, input.search {
  font-size: 13.5px; font-stretch: 90%; padding: 6px 10px; margin: 0;
  background-color: var(--bg); border: 1px solid var(--rule); border-radius: 6px;
}
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 26px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
select:hover, input.search:hover { border-color: var(--muted); }
select:focus-visible, input.search:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: progress; }

.toolbar {
  position: sticky; top: 0; z-index: 20; background: var(--raise);
  border-bottom: 1px solid var(--rule);
}
.toolbar-in {
  max-width: var(--page); margin: 0 auto; padding: 9px var(--gutter);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
}
body:not(.hasteam) .toolbar { display: none; }
/* who and what, once the band has scrolled away */
.tbctx {
  display: none; align-items: center; gap: 8px; margin-right: 4px;
  font-weight: 780; font-stretch: 78%; font-size: 15px; white-space: nowrap;
}
.tbctx img { width: 20px; height: 20px; object-fit: contain; }
.tbctx .muted { font-weight: 500; }
.toolbar.stuck .tbctx { display: inline-flex; }
.fld { display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
       font-weight: 650; font-stretch: 90%; color: var(--muted); }
.fld select { color: var(--ink); font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 6px;
       overflow: hidden; background: var(--bg); }
.seg button {
  border: 0; background: none; padding: 6px 11px; font-size: 13.5px;
  font-weight: 650; font-stretch: 88%; color: var(--muted); white-space: nowrap;
}
.seg button + button { border-left: 1px solid var(--rule); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--pick); color: var(--pick-ink); }
.seg button:focus-visible { outline-offset: -3px; }
.seg[hidden] { display: none; }
.seg.small button { padding: 3px 9px; font-size: 12.5px; }
.tog {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-size: 13.5px; font-weight: 650; font-stretch: 88%; color: var(--ink-2);
  white-space: nowrap;
}
.tog[hidden] { display: none; }
.tog input { width: 16px; height: 16px; margin: 0; accent-color: var(--pick); }
input.search { margin-left: auto; width: 200px; min-width: 0; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

/* Layout */
.guide {
  max-width: var(--page); margin: 0 auto; padding: 20px var(--gutter) 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 40px;
  align-items: start;
}
.guide[hidden] { display: none; }
/* The rail stays beside the list, and its table scrolls on its own. */
.rail {
  position: sticky; top: 72px; max-height: calc(100vh - 84px);
  display: flex; flex-direction: column; min-height: 0;
}
.rail .block { margin-bottom: 18px; }
.league { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-bottom: 8px; }
.leaguewrap { flex: 1; min-height: 180px; overflow-y: auto; overscroll-behavior: contain; }

.block { margin-bottom: 30px; min-width: 0; }
.block[hidden] { display: none; }
.blockhead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 6px 14px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.blockhead .muted { font-size: 13.5px; font-stretch: 90%; }
.headfields { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.headfields select[hidden] { display: none; }
.foot { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* The slate. Each game is one row whose first line is the side to root for,
   with the other side's own line under it. */
.slate {
  --cols: 6.5rem minmax(0, 1fr) minmax(3rem, auto) minmax(230px, 1.3fr);
  font-stretch: 88%; font-variant-numeric: tabular-nums;
}
.slatehead, .game {
  display: grid; grid-template-columns: var(--cols); column-gap: 14px;
}
.slatehead {
  padding: 8px 0 7px; border-bottom: 1px solid var(--rule);
  font-size: 12px; font-weight: 650; color: var(--muted); line-height: 1.2;
}
.slatehead .h-tor { grid-column: 4; display: flex; justify-content: space-between;
                    align-items: baseline; gap: 6px; font-weight: 500; }
.h-tor b { font-weight: 650; color: var(--ink-2); }
/* kickoff order: each time slot heads its games, and stays in view */
.slot {
  position: sticky; top: 53px; z-index: 2; margin-top: 8px; padding: 7px 0 5px;
  background: var(--bg); border-bottom: 1px solid var(--ink);
  font-size: 13.5px; font-weight: 780; font-stretch: 82%;
}
/* under a time slot the row need not say the time again, only the network */
.slate.byslot .when > b:not(.live) { display: none; }
.slate.byslot .game .when .tv { display: block; }
.game {
  grid-template-rows: auto auto; align-items: center; padding: 6px 0;
  border-bottom: 1px solid var(--rule-2);
}
.game:hover { background: color-mix(in srgb, var(--sel) 60%, transparent); }
.game .when {
  grid-column: 1; grid-row: 1 / span 2; align-self: center;
  font-size: 12.5px; line-height: 1.3; color: var(--muted);
}
.when b { display: block; color: var(--ink-2); font-weight: 650; }
.when .live { color: var(--up); }
.when .tv { display: block; }
.when .opp { display: none; }
.game:not(.open) .when .tv { display: none; }
.game .side {
  grid-column: 2 / 5; display: grid; grid-template-columns: subgrid;
  align-items: center; min-height: 27px; font-size: 14.5px;
}
.game .side.root { grid-row: 1; }
.game .side.other { grid-row: 2; }
.game:not(.open) .side.other { display: none; }
.side .nm { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
.side .at { width: 16px; flex: none; text-align: center; font-style: normal;
            font-size: 12px; color: var(--muted); margin-right: 7px; }
.side .who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; flex: 0 1 auto; }
.side .who b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; padding: 1px 0; }
.side .over { flex: 0 100 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
              margin-left: 7px; color: var(--muted); }
.game.open .side .over { display: none; }
.vs { white-space: nowrap; }
.vs .rk { margin-right: 3px; }
.vs[data-team]:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.game.unvalued:hover { background: none; }
.side .score { color: var(--ink-2); font-weight: 650; white-space: nowrap; }
.rec { flex: none; font-size: 11.5px; font-weight: 500; color: var(--muted);
       font-variant-numeric: tabular-nums; }
.side .pr.now { color: var(--ink); font-weight: 750; white-space: nowrap; }
.pr.now .lwp { margin-left: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.more {
  display: block; width: 100%; margin: 10px 0 0; padding: 9px;
  border: 1px solid var(--rule); border-radius: 6px; background: var(--raise);
  font-size: 13.5px; font-weight: 650; font-stretch: 88%; color: var(--ink-2);
}
.more:hover { border-color: var(--muted); color: var(--ink); }
.side .pr { color: var(--muted); }
.side.root .who b { font-weight: 780; }
/* How sure: a highlighted name, an underlined one, or bold alone. */
.game.clear .side.root .who b {
  background: var(--mark); color: var(--mark-ink); padding: 1px 6px; border-radius: 3px;
}
.game.leaning .side.root .who b {
  text-decoration: underline 3px var(--mark-line); text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--muted); }
.game.played .side.other { opacity: .5; }
/* A side's bar from the centre line every game shares: right for better,
   left for worse, labelled at its end. Solid when the effect is significant,
   an outline when it is likely, dashed when one result almost never happens. */
.tor { --half: calc(50% - 46px); position: relative; align-self: stretch; color: var(--muted); }
.tor::before { content: ""; position: absolute; left: 50%; top: -7px; bottom: -7px; width: 1px;
               background: var(--rule); }
.tor.up { color: var(--up); }
.tor.down { color: var(--down); }
.tor i { position: absolute; top: 50%; height: 11px; margin-top: -5.5px;
         width: calc(var(--half) * var(--f)); background: currentColor; }
.tor.up i { left: 50%; border-radius: 0 3px 3px 0; }
.tor.down i { right: 50%; border-radius: 3px 0 0 3px; }
.tor b { position: absolute; top: 50%; transform: translateY(-50%); font-size: 13.5px;
         font-weight: 720; line-height: 1; white-space: nowrap; }
.tor.up b, .tor.flat b { left: calc(50% + var(--half) * var(--f) + 6px); }
.tor.down b { right: calc(50% + var(--half) * var(--f) + 6px); }
.game.leaning .tor i { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.game.thin .tor i { background: none; border: 1.5px dashed currentColor; }
.game.thin .tor b, .game.leaning .tor b { font-weight: 600; }
/* The slate's heading folds the whole list away. */
.fold {
  display: inline-flex; align-items: baseline; gap: 0 .35em; flex-wrap: wrap;
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  font: inherit; text-align: left;
}
.fold::after {
  content: ""; align-self: center; width: 7px; height: 7px; margin: 0 4px 0 6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg); transition: transform .15s ease;
}
.fold[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.fold:hover::after { border-color: var(--ink); }
#rootlist[hidden] { display: none; }
.key { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 0;
       font-size: 12.5px; color: var(--muted); font-stretch: 90%; }
.key b { font-weight: 780; color: var(--ink); margin-right: 5px; }
.key .k-clear { background: var(--mark); color: var(--mark-ink); padding: 0 5px; border-radius: 3px; }
.key .k-lean { text-decoration: underline 3px var(--mark-line); text-underline-offset: 3px; }

/* Live now: a scoreboard of every game on, each as a tile. */
.livedot {
  width: 8px; height: 8px; margin-right: 8px; align-self: center; flex: none;
  border-radius: 50%; background: var(--down); animation: livepulse 2s ease-in-out infinite;
}
@keyframes livepulse { 50% { opacity: .3; } }
.liveblock:not(.on) .livedot { display: none; }
#livecount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lv-p { color: var(--ink); font-size: 22px; font-weight: 800; font-stretch: 66%;
        font-variant-numeric: tabular-nums; }
.lv-d { font-weight: 700; font-variant-numeric: tabular-nums; }
#livelist[hidden] { display: none; }
.sb {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px; padding-top: 12px;
}
.sbt {
  min-width: 0; padding: 10px 12px 9px; border: 1px solid var(--rule); border-radius: 8px;
  background: var(--raise); font-stretch: 88%; font-variant-numeric: tabular-nums;
}
.sbt.own { border-color: var(--ink-2); }
.sb-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; font-size: 12.5px; }
.sb-top .live { color: var(--ink); font-size: 13.5px; font-weight: 780; }
.sb-tag {
  margin-left: auto; margin-right: 2px; padding: 1px 6px; border-radius: 3px;
  background: var(--sel); color: var(--ink-2); font-size: 11.5px; font-weight: 700;
}
.sb-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--n), 1.3rem) 2.1rem 2.6rem 3.9rem; }
.sb-row {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid;
  align-items: center; min-height: 29px;
}
.sb-row > span:not(.sb-team) { text-align: center; font-size: 13px; color: var(--muted); }
.sb-head { min-height: 0; }
.sb-head > span:not(.sb-team) { font-size: 11px; font-weight: 650; }
.sb-row > .sb-tot { text-align: right; font-size: 21px; font-weight: 800; font-stretch: 68%; color: var(--ink-2); }
.sb-row.ahead > .sb-tot { color: var(--ink); }
/* your odds if that side wins; the side ahead, where they go if it holds, in bold */
.sb-row > .sb-odds { text-align: right; font-size: 13.5px; color: var(--ink-2); }
.sb-row > .sb-odds.up { color: var(--up); }
.sb-row > .sb-odds.down { color: var(--down); }
.sb-row.ahead > .sb-odds { font-weight: 800; }
.sb-head > .sb-odds, .sb-head > .sb-win { font-size: 11px; color: var(--muted); }
.sb-row > .sb-win { text-align: right; font-size: 13px; color: var(--muted); }
.sb-row.root > .sb-win { color: var(--ink); font-weight: 700; }
/* a score that just changed, marked once on the poll that saw it */
@keyframes scored { from { background: var(--ink); color: var(--bg); } }
.sb-tot.new, .tk-s.new { border-radius: 3px; animation: scored 2.4s ease-out; }

/* every other game today, a line each */
.tickhead { margin: 16px 0 6px; font-size: 13.5px; font-weight: 750; font-stretch: 85%; color: var(--ink-2); }
.tick {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 8px 14px; font-stretch: 88%; font-variant-numeric: tabular-nums;
}
.tk { display: grid; gap: 2px; padding: 2px 0 2px 9px; border-left: 2px solid var(--rule); min-width: 0;
      cursor: pointer; }
.tk:hover { border-left-color: var(--muted); }
.tk-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
/* The arrows that fold a tile to a line and open a line into a tile: down to
   open, up to fold, as the slate's own heading does. */
.sb-fold, .tk-fold {
  position: relative; flex: none; width: 20px; height: 18px; margin: 0; padding: 0;
  border: 0; background: none; color: var(--muted); cursor: pointer;
}
.sb-fold { margin-left: auto; align-self: center; }
.sb-tag + .sb-fold { margin-left: 4px; }
.sb-fold::before, .tk-fold::before {
  content: ""; position: absolute; left: 6px; top: 4px; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.sb-fold::before { top: 7px; transform: rotate(-135deg); }
.sb-fold:hover, .tk-fold:hover, .tk:hover .tk-fold { color: var(--ink); }
.sb-fold:focus-visible, .tk-fold:focus-visible { outline: 2px solid var(--pick); outline-offset: 1px; border-radius: 3px; }
.tk-clock { font-size: 11.5px; font-weight: 700; color: var(--up); }
.tk.over .tk-clock { color: var(--muted); }
.tk-side { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.tk-side .who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.tk-n .nm-abbr { display: none; }
.tk-s { padding: 0 3px; font-weight: 600; color: var(--muted); }
.tk-side.ahead .tk-s { color: var(--ink); font-weight: 800; }
.sb-team { display: flex; align-items: center; gap: 7px; min-width: 0; }
.sb-team .who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sb-team .who b { padding: 1px 0; font-size: 14.5px; font-weight: 550; line-height: 1.2; }
.sb-row.root .who b { font-weight: 780; }
.sbt .nm-abbr { display: none; }
.sbt.clear .sb-row.root .who b {
  padding: 1px 5px; border-radius: 3px; background: var(--mark); color: var(--mark-ink);
}
.sbt.leaning .sb-row.root .who b {
  text-decoration: underline 3px var(--mark-line); text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}
/* who has the ball: a football, small */
.ball {
  flex: none; width: 11px; height: 7px; border-radius: 50%;
  background: #8b4a22; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.sb-sit { margin: 5px 0 0; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.sb-last { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

/* Seeds: all twelve on one scale, the likeliest solid, and under them the
   bracket's three kinds of place: a bye, a home game, a road game. */
.seeds {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 3px;
  padding-top: 10px; font-stretch: 78%; font-variant-numeric: tabular-nums;
}
.sd-c { display: grid; grid-template-rows: 86px auto; min-width: 0; }
.sd-plot { position: relative; border-bottom: 1px solid var(--rule); }
.sd-plot i {
  position: absolute; left: 0; right: 0; bottom: 0; min-height: 1px; border-radius: 2px 2px 0 0;
  height: calc((100% - 15px) * var(--h) / 100); background: var(--chart); opacity: .32;
}
.sd-c.hi i { opacity: 1; }
.sd-v {
  position: absolute; left: -3px; right: -3px; bottom: calc((100% - 15px) * var(--h) / 100 + 2px);
  text-align: center; font-size: 10px; line-height: 1; color: var(--muted); white-space: nowrap;
}
.sd-c.hi .sd-v { color: var(--ink); font-weight: 760; }
.sd-x { padding-top: 4px; text-align: center; font-size: 11.5px; color: var(--muted); }
.sd-g {
  grid-row: 2; margin: 6px 1px 0; padding-top: 3px; border-top: 1.5px solid var(--rule);
  text-align: center; font-size: 11.5px; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* Tables */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lg, .stand { font-size: 13.5px; font-stretch: 86%; }
.lg th { position: sticky; top: 0; z-index: 1; background: var(--bg); }
.lg th, .stand th {
  text-align: left; font-size: 12px; font-weight: 650; color: var(--muted);
  padding: 7px 6px 6px; border-bottom: 1px solid var(--rule); white-space: nowrap;
}
.lg th.num, .stand th.num { text-align: right; }
.lg td, .stand td { padding: 5px 6px; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.lg td:first-child, .lg th:first-child { padding-left: 2px; color: var(--muted); }
.lg tr.mine td, .stand tr.mine td { background: var(--sel); font-weight: 700; }
.lg tbody tr:hover td, .stand tbody tr:hover td { background: var(--sel); }
.teamcell { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.teamcell .tn { overflow: hidden; text-overflow: ellipsis; }
.lg td.t { max-width: 0; width: 100%; }
.logo { width: 18px; height: 18px; object-fit: contain; flex: none; vertical-align: middle; }
.logo.ph { display: inline-block; border-radius: 50%; background: var(--rule); }
.rk { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-right: 4px;
      font-variant-numeric: tabular-nums; }
/* in a flex row the gap already spaces it */
.teamcell .rk, .who .rk { margin-right: -3px; }
.fpi { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-left: 6px;
       font-variant-numeric: tabular-nums; white-space: nowrap; }

/* clickable teams, and the card shown on hover */
[data-team] { cursor: pointer; }
[data-team][role="link"]:focus-visible { outline: 2px solid var(--pick); outline-offset: 2px; border-radius: 3px; }
.who[data-team]:hover b, .teamcell[data-team]:hover .tn,
.gt-row[data-team]:hover .gt-name, .bteam[data-team]:hover .bname {
  text-decoration: underline; text-underline-offset: 3px;
}
.game.clear .side.root .who[data-team]:hover b { text-decoration: underline; }
.teamtip {
  position: fixed; z-index: 50; width: max-content; max-width: 92vw;
  max-height: 70vh; overflow-y: auto; white-space: nowrap; pointer-events: none;
  background: var(--raise); border: 1px solid var(--rule); border-radius: 8px;
  box-shadow: var(--shadow); padding: 12px 14px; font-size: 13.5px; font-stretch: 88%;
}
.teamtip[hidden] { display: none; }
.tiphead { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.tipwho { flex: 1; min-width: 0; }
.tipodds { display: grid; justify-items: end; margin-left: 14px; line-height: 1.1; }
.tipodds b { font-size: 21px; font-weight: 800; font-stretch: 66%; font-variant-numeric: tabular-nums; }
.tipodds span { font-size: 11.5px; color: var(--muted); }
.tipname { font-weight: 780; font-size: 15px; }
.tipsub { font-size: 12.5px; color: var(--muted); }
.tiprank { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 5px; }
.tiptable td { padding: 3px 6px 3px 0; border-bottom: 1px solid var(--rule-2); font-size: 13px; }
.tiptable .wl { font-weight: 780; }
.tiptable .wl.w { color: var(--up); }
.tiptable .wl.l { color: var(--down); }
.tiptable .teamcell { gap: 6px; }
.tiptable .logo { width: 14px; height: 14px; }
.tiptable.next td { border-bottom: 0; padding: 2px 6px 2px 0; }
.tiphead2 { margin: 10px 0 3px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tipnone, .tipfoot { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.teamtip.tap { pointer-events: auto; }
@keyframes sheetin { from { transform: translateY(28px); opacity: 0; } }
.tipgo {
  display: block; width: 100%; margin: 12px 0 0; padding: 10px 12px;
  border: 0; border-radius: 6px; background: var(--pick); color: var(--pick-ink);
  font-size: 14px; font-weight: 700; cursor: pointer;
}

/* Loading */
.progress { max-width: var(--page); margin: 0 auto; padding: 18px var(--gutter) 0; }
.progress[hidden] { display: none; }
.progress .bar { height: 4px; background: var(--rule); overflow: hidden; }
.progress .bar > div { height: 100%; width: 0; background: var(--ink); transition: width .18s ease-out; }
.progress .bar > .indeterminate { width: 30%; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.progress p { font-size: 13px; color: var(--muted); margin: 7px 0 0;
              font-variant-numeric: tabular-nums; }

/* What a visitor reads before a team is picked, and what a crawler indexes */
.intro { max-width: var(--page); margin: 0 auto; padding: 28px var(--gutter) 12px; color: var(--ink-2); }
.intro[hidden] { display: none; }
.intro > h2:only-child { color: var(--muted); font-weight: 600; }
.intro h1 { font-size: 34px; font-weight: 820; font-stretch: 72%; color: var(--ink);
            letter-spacing: -.01em; margin: 0 0 12px; }
.intro p { margin: 0 0 12px; max-width: 68ch; }
.intro .lead { font-size: 17px; line-height: 1.55; }
/* How many seasons stand behind the numbers, set in the scoreboard numerals */
.intro .simstat { display: flex; flex-direction: column; gap: 6px; margin: 22px 0 4px;
                  max-width: 52ch; }
.simstat b { font-size: 64px; line-height: .88; font-weight: 820; font-stretch: 64%;
             letter-spacing: -.012em; color: var(--ink); font-variant-numeric: tabular-nums; }
.simstat span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.intro .cta { font-size: 15px; margin: 18px 0 0; }
.intro .cta a { color: var(--ink); font-weight: 750; text-decoration-color: var(--mark-line);
                text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px;
        align-items: start; margin-bottom: 28px; }
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.boards h2 { padding-bottom: 8px; border-bottom: 2px solid var(--ink); color: var(--ink); }
.boards .foot a { color: var(--ink); font-weight: 650; }
.boards .foot a + a { margin-left: 16px; }
ol.race { list-style: none; margin: 0; padding: 0; font-stretch: 88%; }
.race li { display: flex; align-items: center; gap: 9px; padding: 6px 0;
           border-bottom: 1px solid var(--rule-2); font-size: 15px; }
.race .pos { width: 18px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.race img, .race .noart { width: 22px; height: 22px; object-fit: contain; flex: none; }
.race a { flex: 1; min-width: 0; color: var(--ink); font-weight: 650; text-decoration: none;
          white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.race a:hover { text-decoration: underline; }

/* The week's games by how much of the playoff field they move: a ranked list
   with the places in play as a bar, on the front page and on its own page. */
.stakes-home { margin: 6px 0 30px; }
.stakes-home h2 { margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink); color: var(--ink); }
.stakes-home .note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.stakes-home .foot a, .stakes .most a { color: var(--ink); font-weight: 650; }
ol.stakes { list-style: none; margin: 2px 0 0; padding: 0; font-stretch: 88%; max-width: none; }
.stakes li {
  display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) 12rem 8.5rem;
  align-items: center; column-gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--rule-2);
}
.stakes .pos { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.stakes .match { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.stakes .side { display: inline-flex; align-items: center; gap: 8px; font-size: 15px;
                font-weight: 650; color: var(--ink); }
.stakes .side a { color: inherit; text-decoration: none; }
.stakes .side a:hover { text-decoration: underline; }
.stakes .side img, .stakes .noart { width: 22px; height: 22px; object-fit: contain; flex: none; }
.stakes .match i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.stakes .kick { font-size: 13px; color: var(--muted); }
.stakes .stake { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.stakes .barline { display: block; width: 72px; height: 6px; }
.stakes .barline i { display: block; height: 100%; background: var(--ink-2); }
.stakes .stake b { min-width: 2.4em; text-align: right; font-size: 15px; color: var(--ink);
                   font-variant-numeric: tabular-nums; }
/* who has the most riding on a game: each team's gap between the two results
   as a short bar on a 0 to 100 point scale */
.stakes .most { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center;
                gap: 4px 18px; padding-top: 5px; font-size: 13.5px; color: var(--ink-2); }
.most .mk { font-size: 12px; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.stakes .st a { color: var(--ink); font-weight: 650; text-decoration: none; }
.stakes .st a:hover { text-decoration: underline; }
.stb { display: inline-block; width: 56px; height: 6px; }
.stb i { display: block; height: 100%; border-radius: 0 2px 2px 0; background: var(--chart); }
.st b { min-width: 2em; text-align: right; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stakehead {
  display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) 12rem 8.5rem; column-gap: 14px;
  margin-top: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--rule);
  font-size: 12px; font-weight: 650; color: var(--muted); font-stretch: 88%;
}
.stakehead .sv { text-align: right; }
.race .odds { display: flex; align-items: center; gap: 8px; }
.race .barline { display: block; width: 64px; height: 6px; }
.race .barline i { display: block; height: 100%; background: var(--chart); }
.race b { min-width: 52px; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
.faq { margin: 4px 0 0; max-width: 72ch; }
.faq dt { font-weight: 750; color: var(--ink); margin-top: 14px; }
.faq dd { margin: 4px 0 0; }
.intro > h2, .writeup h2 { font-size: 20px; color: var(--ink); margin: 30px 0 8px; }
.intro a, .writeup a { text-underline-offset: 2px; }

/* the written pages: how it works, every team */
body.info .band, body.info #toolbar { display: none; }
body.info .intro { max-width: 820px; padding-top: 34px; }
/* every team: the conferences side by side rather than one long column */
body.info .intro:has(.confs) { max-width: var(--page); }
.confs { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
         gap: 0 44px; align-items: start; }
.confs h2 { margin-top: 26px; }
/* the missing-page page: where to go instead */
.didyoumean { font-size: 18px; color: var(--ink); }
.didyoumean a { font-weight: 750; color: var(--ink); text-decoration-color: var(--mark-line);
                text-decoration-thickness: 3px; text-underline-offset: 4px; }
ul.lost { margin: 18px 0 0; padding: 0; list-style: none; font-size: 16px; }
ul.lost li { padding: 9px 0; border-bottom: 1px solid var(--rule-2); }
ul.lost a { color: var(--ink); font-weight: 650; }
body.info .intro .confs table { max-width: none; }
body.info .intro p { max-width: none; font-size: 16px; line-height: 1.62; }
/* Methodology: the key figures in a row, then the model as numbered steps,
   since it is a sequence each simulated season goes through in order. */
dl.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 26px 0 10px;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.facts > div { padding: 12px 16px 14px 0; }
.facts > div + div { padding-left: 16px; border-left: 1px solid var(--rule-2); }
.facts dt { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 25px; line-height: 1.1; font-weight: 820;
            font-stretch: 70%; color: var(--ink); font-variant-numeric: tabular-nums; }
ol.steps { list-style: none; counter-reset: step; margin: 6px 0 8px; padding: 0; }
.steps > li { position: relative; counter-increment: step; padding: 2px 0 8px 46px;
              border-bottom: 1px solid var(--rule-2); }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 13px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--turf); color: #fff; font-size: 14px; font-weight: 800;
}
.steps h3 { margin: 14px 0 4px; font-size: 18px; font-weight: 780; font-stretch: 84%; color: var(--ink); }
.steps p { margin-bottom: 8px; }
body.info .intro table, .writeup table {
  font-size: 14.5px; font-stretch: 90%; margin: 0 0 18px; max-width: 620px;
}
body.info .intro th, .writeup th {
  text-align: left; font-size: 12.5px; font-weight: 650; color: var(--muted);
  padding: 0 12px 6px 0; border-bottom: 1px solid var(--rule);
}
body.info .intro td, .writeup td { padding: 5px 12px 5px 0; border-bottom: 1px solid var(--rule-2); }
body.info .intro td a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
                        text-decoration: none; font-weight: 600; }
body.info .intro td a:hover { text-decoration: underline; }
body.info .intro img, .writeup img { width: 20px; height: 20px; object-fit: contain; flex: none; }

/* the written page under the app, which is also what a crawler reads */
.writeup { max-width: var(--page); margin: 12px auto 0; padding: 0 var(--gutter) 30px; }
.writeup:empty { display: none; }
.writeup > * { max-width: 72ch; }
.writeup > h1 {
  padding-top: 22px; border-top: 2px solid var(--ink); max-width: none;
  font-size: 26px; font-weight: 820; font-stretch: 74%; margin: 0 0 4px;
}
.writeup p { margin: 0 0 12px; font-size: 16px; line-height: 1.62; color: var(--ink-2); }
.writeup tr.mine td { background: var(--sel); font-weight: 700; }
.writeup h3, .intro h3 { font-size: 16px; font-weight: 760; font-stretch: 84%; color: var(--ink);
                         margin: 20px 0 6px; }

/* The team's season, above the week: today's games when there are any, then
   the rest of its season. On a wide screen that block has two columns that
   line up with the list and the rail below: the games on the left, the final
   records and the playoff seed on the right. */
.outlook { max-width: var(--page); margin: 0 auto; padding: 20px var(--gutter) 6px; }
.outlook[hidden] { display: none; }
.outlook .block { margin-bottom: 26px; }
.needsbody { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 40px;
             align-items: start; }
.needsbody[hidden] { display: none; }
.nd-side { padding-top: 16px; }
/* The key to the games chart, where the heading keeps its note. */
#needsnote { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.lgk { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lgk .db-dot { position: static; margin: 0; }
.lg-now { display: inline-block; width: 2px; height: 13px; background: var(--ink); opacity: .6; }
/* A row per game left, as a dumbbell on one scale shared by every row: a
   ring where a loss leaves the odds, a dot where a win does, the bar between
   them shaded from one to the other, and today's number one line down the
   whole chart. The game expected to move the odds most is drawn solid. */
.nd-grid {
  --cols: 4.4rem minmax(0, 16rem) 2.8rem minmax(220px, 1fr);
  --pad: 62px; --rowbg: var(--bg);
  font-stretch: 88%; font-variant-numeric: tabular-nums;
}
.nd-head, .nd { display: grid; grid-template-columns: var(--cols); column-gap: 14px;
                align-items: center; }
.nd-head { padding: 12px 0 7px; border-bottom: 1px solid var(--rule); font-size: 12px;
           font-weight: 650; color: var(--muted); line-height: 1.2; }
.nd-scale { position: relative; align-self: stretch; min-height: 1.2em; }
.nd-scale .db span { position: absolute; top: 0; transform: translateX(-50%); font-weight: 500;
                     white-space: nowrap; }
.nd { --rowbg: var(--bg); padding: 7px 0; border-bottom: 1px solid var(--rule-2); cursor: pointer;
      background: var(--rowbg); }
.nd:hover { --rowbg: color-mix(in srgb, var(--sel) 60%, var(--bg)); }
.nd.on { --rowbg: var(--sel); }
.nd.tg { cursor: default; }
.nd.tg:hover { --rowbg: var(--bg); }
.nd-bar { position: relative; align-self: stretch; min-height: 30px; margin: -7px 0; }
.db { position: absolute; top: 0; bottom: 0; left: var(--pad); right: var(--pad); }
/* gridlines at the quarters of the scale, and today's number across them */
.nd .db { background: linear-gradient(to right, var(--rule-2) 1px, transparent 1px) 0 0 / 25% 100% repeat-x;
          box-shadow: inset -1px 0 var(--rule-2); }
.nd .db::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--now); width: 2px;
                 margin-left: -1px; background: var(--ink); opacity: .55; }
.db-line { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px;
           background: linear-gradient(to right, var(--down), var(--up)); opacity: .5; }
.db-line.flip { background: linear-gradient(to left, var(--down), var(--up)); }
.nd.big .db-line { height: 6px; margin-top: -3px; opacity: 1; }
.db-dot { position: absolute; top: 50%; z-index: 1; width: 12px; height: 12px;
          margin: -6px 0 0 -6px; border-radius: 50%; }
.db-dot.win { background: var(--up); }
.db-dot.loss { background: var(--rowbg, var(--bg)); box-shadow: inset 0 0 0 2.5px var(--down); }
.db-v { position: absolute; top: 50%; z-index: 2; padding: 1px 3px; transform: translate(7px, -50%);
        background: var(--rowbg); font-size: 13.5px; line-height: 1.1; font-weight: 740;
        white-space: nowrap; }
.db-v.l { transform: translate(calc(-100% - 7px), -50%); }
.db-v.win { color: var(--up); }
.db-v.loss { color: var(--down); }
.db-dot.gone, .db-v.gone { opacity: .3; }
.nd-tag { flex: none; margin-left: 4px; padding: 1px 6px; border-radius: 3px;
          background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 720;
          line-height: 1.4; white-space: nowrap; }
.nd-when { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.nd-when b { font-size: 13.5px; font-weight: 760; color: var(--ink); }
.nd-when small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden;
                 text-overflow: ellipsis; }
.nd-when small.live { color: var(--up); font-weight: 700; }
.nd-opp { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 15px; }
.nd-opp .at { font-style: normal; font-size: 12px; color: var(--muted); width: 16px; flex: none; }
.nd-opp .who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.nd-opp .who b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-opp .logo { width: 18px; height: 18px; object-fit: contain; flex: none; }
.nd.tg .nd-opp { flex-direction: column; align-items: flex-start; gap: 1px; }
.nd.tg .nd-opp b { font-weight: 700; }
.nd.tg .nd-opp small { font-size: 12.5px; color: var(--muted); }
.nd-p { font-size: 14px; color: var(--ink-2); }
.nd-p.res { font-weight: 760; white-space: nowrap; }
.nd-p.res.w { color: var(--up); }
.nd-p.res.l { color: var(--down); }
.nd-grid.flat { --cols: 4.4rem minmax(0, 1fr) 3.3rem; }
/* Every final record the team reaches, columns of one width so the unlikely
   ones get as much room as the likely: above the line, the measure at that
   record in green; under it, how often the team ends there in grey. */
.recs { margin: 0; font-stretch: 84%; font-variant-numeric: tabular-nums; }
.recs figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--rule);
}
.recs figcaption b { font-size: 14px; font-weight: 780; font-stretch: 84%; color: var(--ink); }
.recs figcaption span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.rc { display: flex; gap: 3px; padding-top: 10px; }
.rc-c { flex: 1 1 0; min-width: 0; display: grid; grid-template-rows: 112px auto 50px;
        container-type: inline-size; }
.recs.flat .rc-c { grid-template-rows: 112px auto; }
.rc-up, .rc-dn { position: relative; }
.rc-up { border-bottom: 1.5px solid var(--ink-2); }
.rc-up i { position: absolute; left: 2px; right: 2px; bottom: 0; min-height: 1px;
           height: calc((100% - 18px) * var(--h) / 100); border-radius: 2px 2px 0 0;
           background: var(--chart); }
.rc-up .rc-v { position: absolute; left: -3px; right: -3px; text-align: center;
               bottom: calc((100% - 18px) * var(--h) / 100 + 3px); font-size: 12.5px;
               line-height: 1; font-weight: 760; color: var(--ink); white-space: nowrap; }
.rc-x { padding: 4px 0 3px; text-align: center; font-size: 13px; font-weight: 780;
        color: var(--ink); white-space: nowrap; overflow: hidden; }
.rc-dn i { position: absolute; left: 2px; right: 2px; top: 0; min-height: 1px;
           height: calc((100% - 15px) * var(--h) / 100); border-radius: 0 0 2px 2px;
           background: var(--muted); opacity: .4; }
.rc-dn .rc-v { position: absolute; left: -3px; right: -3px; text-align: center;
               top: calc((100% - 15px) * var(--h) / 100 + 2px); font-size: 11px;
               line-height: 1; color: var(--muted); white-space: nowrap; }
.recs.flat .rc-up i { background: var(--muted); opacity: .4; }
.rc-c.likely .rc-dn i, .recs.flat .rc-c.likely .rc-up i { opacity: .75; }
@container (max-width: 46px) {
  .rc-v small { display: none; }
  .rc-up .rc-v { font-size: 11px; }
  .rc-dn .rc-v { font-size: 10px; }
}
@container (max-width: 32px) { .rc-x { font-size: 11px; } .rc-v { font-size: 9.5px !important; } }
.seedbox { margin-top: 24px; }
.seedbox[hidden] { display: none; }
.subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
           padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.subhead h3 { margin: 0; font-size: 14px; font-weight: 780; font-stretch: 84%; color: var(--ink); }
.subhead .muted { font-size: 12.5px; }

/* A table too wide for a phone scrolls on its own instead of the page. */
.tablewrap { overflow-x: auto; margin: 0 0 18px; }
.tablewrap table { margin-bottom: 0; }
body.info .intro .tablewrap table { max-width: none; }
.note { font-size: 13.5px; color: var(--muted); }

/* A chance in a table: a short bar on a 0 to 100 scale, then the number. The
   column the table is about is solid, the rest lighter. */
td.bc { white-space: nowrap; }
.bcb { display: inline-block; vertical-align: middle; width: 60px; height: 8px; margin: -2px 10px 0 0; }
.bcb i { display: block; height: 100%; min-width: 1px; border-radius: 0 2px 2px 0;
         background: var(--chart); opacity: .45; }
td.bc.strong .bcb i { opacity: 1; }
/* a fixed width, so every bar in a column starts in the same place */
.bcv { display: inline-block; min-width: 3.4em; text-align: right; }

/* A conference's title race: who wins it, as one bar in the teams' colours,
   then the table */
table.confrace td b, table.rank25 td b { color: var(--ink); font-weight: 760; }
.titleshare { margin: 18px 0 24px; }
.titleshare figcaption { margin-bottom: 7px; font-size: 13px; font-weight: 650; color: var(--muted); }
.ts-bar { display: flex; gap: 2px; height: 36px; }
.ts-seg { flex: 1 1 0; min-width: 3px; display: grid; place-items: center; border-radius: 3px;
          background: var(--c); box-shadow: inset 0 0 0 1px rgba(16, 32, 22, .12); }
.ts-seg.rest { background: var(--rule); box-shadow: none; }
.ts-seg img { box-sizing: content-box; padding: 3px; border-radius: 50%; background: #fff; }
ol.ts-key { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0;
            padding: 0; font-size: 14.5px; font-stretch: 90%; }
.ts-key li { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.ts-key i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
.ts-key i.rest { background: var(--rule); }
.ts-key a { color: var(--ink); font-weight: 650; text-decoration: none; }
.ts-key a:hover { text-decoration: underline; }
.ts-key b { color: var(--ink); font-weight: 760; font-variant-numeric: tabular-nums; }
body.info .intro table.confrace, body.info .intro table.rank25 { min-width: 520px; }
ol.pairs { list-style: none; margin: 4px 0 8px; padding: 0; font-stretch: 88%; }
.pairs li {
  display: grid; align-items: center; column-gap: 12px; padding: 9px 0;
  grid-template-columns: 7.5rem minmax(0, 1fr) 2.6rem minmax(70px, 150px) 2.6rem minmax(0, 1fr);
  border-bottom: 1px solid var(--rule-2);
}
.pairs .often { font-size: 13px; color: var(--muted); }
.pairs .often b { font-size: 16px; color: var(--ink); font-weight: 780; margin-right: 2px; }
.pr-side { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px;
           font-weight: 650; color: var(--ink); }
.pr-side.r { justify-content: flex-end; }
.pr-side a { color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden;
             text-overflow: ellipsis; }
.pr-side a:hover { text-decoration: underline; }
.pr-side img, .pr-side .noart { width: 22px; height: 22px; object-fit: contain; flex: none; }
.pr-side .nm-abbr { display: none; }
.pr-p { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-2); text-align: right; }
.pr-p + .split + .pr-p { text-align: left; }
.split { display: flex; gap: 2px; height: 8px; }
.split i { display: block; height: 100%; border-radius: 2px; }
.split i + i { flex: 1; }
.stakes.weeks .when { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.stakes.weeks .wk { color: var(--ink-2); font-weight: 650; }
/* who is in, who is out, and how the rest get in */
/* The tag sits level with the name. Pushed onto its own line, it starts under
   the name rather than under the logo. */
.tm { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; padding-left: 28px; }
.tm > a { margin-left: -28px; }
.cl { display: inline-flex; align-items: center; box-sizing: border-box; height: 18px; padding: 0 6px;
      border-radius: 3px; font-size: 11.5px; font-weight: 700; line-height: 1; white-space: nowrap; }
.cl.in { background: var(--up); color: var(--bg); }
.cl.out { border: 1px solid var(--rule); color: var(--muted); }
/* The clinching grid: a team a row, a column for how many of its games it loses
   from here. Solid is in, a diagonal is in with the right wins, a tint needs
   help, and nothing at all is out. */
body.info .intro p.cg-key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 10px;
                            font-size: 13px; line-height: 1.5; color: var(--muted); }
.cg-k { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cg-k i { width: 14px; height: 14px; border-radius: 3px; }
.cg-k.in i { background: var(--up); }
.cg-k.some i { background: linear-gradient(135deg, var(--up) 50%, color-mix(in srgb, var(--up) 18%, transparent) 50%); }
.cg-k.help i { background: color-mix(in srgb, var(--up) 18%, transparent); }
.cg-k.out i { border: 1px solid var(--rule); }
body.info .intro table.clinchgrid { width: 100%; max-width: none; border-collapse: separate; border-spacing: 2px 0; }
body.info .intro .clinchgrid th { padding: 0 0 5px; border-bottom: 1px solid var(--rule); font-size: 12px;
                                  font-stretch: 86%; line-height: 1.2; white-space: nowrap; text-align: center; }
body.info .intro .clinchgrid th:first-child { text-align: left; }
body.info .intro .clinchgrid td { padding: 0; border-bottom: 0; }
body.info .intro .clinchgrid tr.cg-team td { padding-top: 8px; vertical-align: middle; }
.clinchgrid td a { font-weight: 650; }
.clinchgrid .nm-abbr { display: none; }
.clinchgrid .noart { display: inline-block; width: 20px; height: 20px; }
body.info .intro .clinchgrid td.cg-now { padding-right: 6px; text-align: center; font-size: 13.5px; color: var(--muted);
                                         font-variant-numeric: tabular-nums; white-space: nowrap; }
body.info .intro .clinchgrid tr.cg-team td.cg-c { width: 58px; padding: 0; background-clip: content-box;
  text-align: center; font-size: 13.5px; font-weight: 700; font-stretch: 84%; font-variant-numeric: tabular-nums;
  line-height: 26px; }
.clinchgrid td.cg-c.in { background-color: var(--up); color: var(--bg); }
body.info .intro .clinchgrid tr.cg-team td.cg-c { border-top: 8px solid var(--bg); }
.clinchgrid td.cg-c.some { color: var(--ink);
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--up) 42%, transparent) 50%, color-mix(in srgb, var(--up) 16%, transparent) 50%); }
.clinchgrid td.cg-c.help { background-color: color-mix(in srgb, var(--up) 16%, transparent); color: var(--ink); }
.clinchgrid td.cg-c.out { color: var(--muted); font-weight: 500; opacity: .75; }
body.info .intro .clinchgrid tr.cg-say td { padding: 3px 0 9px; border-bottom: 1px solid var(--rule-2);
                                            font-size: 14px; line-height: 1.45; color: var(--ink-2); }
body.info .intro .clinchgrid tr.cg-say td a { display: inline; color: inherit; font-weight: 500; }
.clinchgrid tr.cg-say .cg-week b { color: var(--up); font-weight: 720; }
.clinchgrid tr.cg-say .cg-week.out b { color: var(--down); }
.cg-week { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; }
.cg-week .recipe { margin-top: 0; }
body.info .intro p.cg-wk { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 6px 0 4px; font-size: 14.5px;
                           color: var(--ink-2); }
.cg-wk > b { color: var(--ink); }
.cg-wk span b { font-weight: 650; }
.cg-wk a { color: inherit; }
/* Every record a team can finish with, behind a fold so the grid stays a grid. */
.cg-more { margin-top: 6px; }
.cg-more summary { cursor: pointer; width: fit-content; font-size: 13px; font-weight: 600; color: var(--muted); }
.cg-more summary:hover, .cg-more[open] summary { color: var(--ink); }
body.info .intro .cg-more ol.cl-rows { margin: 4px 0 2px; padding: 0; }
body.info .intro .clinchgrid tr.cg-say td a.cl-chip,
body.info .intro .clinchgrid tr.cg-say td .rs a { display: inline-flex; color: var(--ink); font-weight: 650; }
/* A week's results to look for. A result is the winner over the loser, and a
   dashed box holds the ones any one of which will do. */
.recipe { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 5px; }
.rs { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px 1px 4px; border: 1px solid var(--rule);
      border-radius: 5px; background: var(--raise); font-size: 12.5px; font-weight: 650; font-stretch: 88%;
      line-height: 20px; white-space: nowrap; }
.rs.own { box-shadow: inset 3px 0 0 var(--mark); padding-left: 7px; }
.rs a, .writeup .rs a { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); text-decoration: none; }
.rs a:hover { text-decoration: underline; }
.rs i { font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.rs i + a, .writeup .rs i + a { color: var(--ink-2); font-weight: 500; }
.rs img, .writeup .rs img { width: 16px; height: 16px; object-fit: contain; }
.rs-any { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 3px 6px;
          border: 1px dashed color-mix(in srgb, var(--ink-2) 45%, transparent); border-radius: 7px; }
.rs-any em, .rs-any small { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.rs-all { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 2px; border-radius: 6px;
          background: color-mix(in srgb, var(--ink) 10%, transparent); }
.rs-all > b, .clinchgrid tr.cg-say .cg-week .rs-all > b { font-size: 12px; font-weight: 700; color: var(--muted); }
.cp-out { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
.cp-out a { color: var(--ink-2); }

/* A team's own scenarios: the records it can finish with down the left, with
   what each takes, and the least it needs on the right, lined up with the
   columns of the block above. In the written section it is one column. */
.clinchpanel { margin: 20px 0; }
.clinchpanel .blockhead h2 { margin: 0; font-size: 19px; }
.cl-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; align-items: start; }
#clinchslot .cl-body { grid-template-columns: minmax(0, 1fr) 340px; }
#clinchslot .clinchpanel { margin: 0; }
ol.cl-rows { list-style: none; margin: 0; padding: 0; }
.cl-rows > li { display: grid; grid-template-columns: 6rem 4.4rem minmax(0, 1fr); gap: 2px 12px;
  align-items: baseline; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule-2); }
.cl-rec { justify-self: start; padding: 2px 8px; border-radius: 4px; font-size: 14.5px; font-weight: 760; font-stretch: 84%;
          font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-rows > li.in .cl-rec { background: var(--up); color: var(--bg); }
.cl-rows > li.some .cl-rec { background: linear-gradient(135deg, color-mix(in srgb, var(--up) 42%, transparent) 50%, color-mix(in srgb, var(--up) 16%, transparent) 50%); color: var(--ink); }
.cl-rows > li.help .cl-rec { background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--ink); }
.cl-rows > li.out .cl-rec { padding-left: 0; color: var(--muted); font-weight: 600; }
.cl-when { font-size: 13px; color: var(--muted); font-stretch: 90%; white-space: nowrap; }
.cl-need { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.cl-rows > li.out .cl-need { color: var(--muted); }
.cl-need a:not(.cl-chip) { color: inherit; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
/* Each tie a finish can run into, worked out. */
.cl-past { margin-top: 8px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
ul.cl-ties, .writeup ul.cl-ties { list-style: none; margin: 4px 0 0; padding: 0; }
.cl-ties li, .writeup .cl-ties li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0 8px;
  align-items: baseline; margin: 0; padding: 4px 0; font-size: 14px; line-height: 1.4; }
.cl-ties li + li { border-top: 1px solid var(--rule-2); }
.cl-ties b { font-size: 12.5px; font-weight: 760; color: var(--muted); }
.cl-ties li.in b { color: var(--up); }
.cl-ties li.out b { color: var(--down); }
.cl-ties small { display: block; font-size: 13px; color: var(--muted); }
.cl-ties small a { color: inherit; }
.cl-fold { margin-top: 4px; }
.cl-fold summary { cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.cl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px 1px 3px; border: 1px solid var(--rule);
           border-radius: 4px; background: var(--raise); color: var(--ink); font-size: 12.5px; font-weight: 650;
           font-stretch: 88%; text-decoration: none; line-height: 20px; }
.cl-chip:hover { border-color: var(--ink-2); }
.cl-chip i { margin-left: 2px; font-style: normal; font-size: 11px; font-weight: 800; }
.cl-chip i.w { color: var(--up); }
.cl-chip i.l { color: var(--down); }
.cl-side p.cl-key { font-size: 13px; line-height: 1.4; color: var(--muted); }
.cl-chip img, .writeup .cl-chip img { width: 18px; height: 18px; object-fit: contain; }
.cl-side { padding-top: 12px; }
.cl-side p, .writeup .cl-side p { margin: 0 0 10px; }
.cl-side p.cl-lead { font-size: 18px; font-weight: 720; font-stretch: 88%; line-height: 1.3; color: var(--ink); }
.cl-lead a { color: inherit; }
.cl-side .cl-week { margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.cl-week b { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cl-side .cl-week p, .writeup .cl-side .cl-week p { margin: 4px 0 8px; }
.cl-wk { display: block; font-size: 13.5px; font-weight: 700; color: var(--up); }
.cl-wk.out { color: var(--down); }
.cl-side p.cl-more { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13.5px; }
.cl-more a { color: var(--ink-2); }

/* How ties break: the steps in order, then how they are run, then today's. */
ol.tiebreak { list-style: none; counter-reset: tb; margin: 10px 0 14px; padding: 0; }
ol.tiebreak li { counter-increment: tb; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px;
                 padding: 8px 0; border-bottom: 1px solid var(--rule-2); margin: 0; }
ol.tiebreak li::before { content: counter(tb); grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 50%;
                         display: grid; place-items: center; background: var(--ink); color: var(--bg);
                         font-size: 12.5px; font-weight: 760; }
ol.tiebreak b { color: var(--ink); font-size: 15.5px; font-weight: 720; font-stretch: 90%; }
ol.tiebreak span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.tb-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.tb-two h3 { margin-top: 8px; }
ul.tb-runs { margin: 0 0 8px; padding-left: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
ul.tb-runs li { margin-bottom: 3px; }
.tb-now { margin-top: 18px; padding: 12px 14px 4px; border: 1px solid var(--rule); border-radius: 6px; background: var(--raise); }
body.info .intro .tb-now h3 { margin: 0 0 8px; }
body.info .intro p.tt-seats { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 10px;
                              font-size: 15px; line-height: 1.45; font-weight: 650; }
.tt-team { display: inline-flex; align-items: center; gap: 6px; }
.tt-team a { color: var(--ink); }
.tt { margin: 0 0 10px; }
body.info .intro p.tt-head { margin: 0 0 4px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.tt-head a { color: inherit; font-weight: 650; }
.tt ol { list-style: none; margin: 0; padding: 0; }
.tt li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1px 12px; align-items: baseline;
         margin: 0; padding: 5px 0; border-top: 1px solid var(--rule-2); font-size: 14px; }
.tt-step { color: var(--ink); font-weight: 680; font-stretch: 90%; }
.tt-vals { display: flex; flex-wrap: wrap; gap: 2px 12px; grid-column: 2; color: var(--muted); }
.tt-val.on { color: var(--ink); }
.tt-val b { font-weight: 700; font-variant-numeric: tabular-nums; }
.tt-said { grid-column: 2; color: var(--ink-2); }
.tt-said a { color: var(--ink); font-weight: 650; }
.otherconfs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.otherconfs a { color: var(--ink); font-weight: 600; }

/* Projected rankings: the top 25 beside the field if the season ended today,
   drawn as the bracket's first two rounds. */
body.info .intro:has(.rankwrap) { max-width: var(--page); }
.rankwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 56px;
            align-items: start; margin: 14px 0 22px; }
body.info .intro .rankwrap table { max-width: none; }
.rankwrap .tablewrap { margin: 0; }
table.rank25 td.rk, table.rank25 th.rk { width: 3.2rem; text-align: left; }
table.rank25 td.rk { font-size: 19px; font-weight: 820; font-stretch: 70%; color: var(--ink);
                     font-variant-numeric: tabular-nums; }
/* Places moved since the committee's last ranking, while the page is ahead of it. */
table.rank25 .mv { width: 3rem; text-align: left; white-space: nowrap; }
table.rank25 td.mv { font-size: 12px; font-weight: 700; font-stretch: 80%; color: var(--muted);
                     font-variant-numeric: tabular-nums; }
table.rank25 td.mv.up { color: var(--up); }
table.rank25 td.mv.down { color: var(--down); }
.fieldnow h2 { margin-top: 0; }
.br-head, .pod { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
.br-head { padding-bottom: 6px; border-bottom: 1px solid var(--rule); font-size: 12px;
           font-weight: 650; color: var(--muted); font-stretch: 88%; }
.br-head span + span { grid-column: 3; }
ol.pods { list-style: none; margin: 0; padding: 0; font-stretch: 88%; }
.pod { align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
.pod-game, .pod-bye { display: grid; min-width: 0; border-radius: 6px; background: var(--raise); }
.pod-game { border: 1px solid var(--rule); }
.pod-bye { border: 1.5px solid var(--ink-2); }
.pod .ft { display: flex; min-width: 0; padding: 7px 10px; }
.pod-game .ft + .ft { border-top: 1px solid var(--rule-2); }
.pod .ft a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .ft small { margin-left: auto; padding-left: 6px; white-space: nowrap; }
.pod-line { position: relative; align-self: stretch; }
.pod-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%;
                    border-top: 1.5px solid var(--rule); }
ul.outs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 6px 0 0;
          padding: 0; font-stretch: 88%; }
.outs li { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; }
.outs a { color: var(--ink); font-weight: 650; }
.ft { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 650;
      color: var(--ink); }
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft img, .ft .noart { width: 20px; height: 20px; object-fit: contain; }
.ft .sd { min-width: 1.4em; font-size: 15px; font-weight: 820; font-stretch: 70%;
          color: var(--muted); font-variant-numeric: tabular-nums; }
.ft small { font-size: 12px; font-weight: 500; color: var(--muted); }

/* The front page: the week's games beside the field if the season ended
   today, then each conference and its favourite */
.home-two { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 48px;
            align-items: start; margin: 6px 0 30px; }
.home-two .stakes-home { margin: 0; }
.home-two .fieldnow h2 { margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink);
                         color: var(--ink); font-size: 17px; }
.home-two .fieldnow h3 { margin: 14px 0 4px; }
.home-two .br-head { margin-top: 10px; }
.home-two .stakehead { grid-template-columns: 1.4rem minmax(0, 1fr) 8.5rem; }
.home-two .stakehead > :nth-child(3) { display: none; }
.home-two .stakes li { grid-template-columns: 1.4rem minmax(0, 1fr) 8.5rem; }
.home-two .stakes .kick { grid-column: 2; grid-row: 2; }
.home-two .stakes .stake { grid-column: 3; grid-row: 1; }
/* The front page: each conference and its favourite */
.races-home { margin: 6px 0 30px; }
.races-home h2 { margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink); color: var(--ink); }
ul.races { list-style: none; margin: 0; padding: 0; display: grid; font-stretch: 88%;
           grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 32px; }
.races li { border-bottom: 1px solid var(--rule-2); }
.races a { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; color: var(--ink);
           text-decoration: none; }
.races a:hover .cn { text-decoration: underline; }
.races .cn { font-size: 13px; font-weight: 650; color: var(--muted); }
.races .fav { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; }
.races .fav img, .races .noart { width: 20px; height: 20px; object-fit: contain; flex: none; }
.races .fav b { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 14px; }
/* who wins it, a slice per contender in its own colour */
.races .strip { display: flex; gap: 1px; height: 5px; margin-top: 5px; border-radius: 2px;
                overflow: hidden; }
.races .strip i { flex: 1 1 0; min-width: 2px; background: var(--c); }
.races .strip i.rest { background: var(--rule); }
.writeup ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); }
.writeup li { margin-bottom: 4px; }
body.seasontab .guideonly { display: none; }

/* Sim a season */
.transport {
  position: sticky; top: 0; z-index: 20; background: var(--raise);
  border-bottom: 1px solid var(--rule);
}
.transport-in {
  max-width: var(--page); margin: 0 auto; padding: 9px var(--gutter);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px;
}
.tp-keys { display: flex; gap: 6px; }
.tp-keys button, .tp-opts button {
  height: 34px; min-width: 36px; padding: 0 10px; border: 1px solid var(--rule);
  border-radius: 6px; background: var(--bg); font-size: 15px; font-weight: 650;
}
.tp-keys button:hover:not(:disabled), .tp-opts button:hover:not(:disabled) { border-color: var(--muted); }
.tp-keys #s-prev, .tp-keys #s-next { font-size: 20px; line-height: 1; padding: 0; width: 36px; }
.tp-keys .primary { min-width: 80px; background: var(--pick); color: var(--pick-ink); border-color: var(--pick); }
.tp-track { flex: 1 1 320px; display: flex; align-items: center; gap: 14px; min-width: 0; }
.stagelabel { font-size: 17px; font-weight: 800; font-stretch: 74%; white-space: nowrap;
              min-width: 10.5em; font-variant-numeric: tabular-nums; }
.stagelabel small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.tp-track input[type="range"] { flex: 1; min-width: 0; margin: 0; accent-color: var(--pick); }
.tp-opts { display: flex; align-items: center; gap: 14px; }
.tp-opts button { font-size: 13.5px; font-stretch: 90%; }
.seasonwrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter) 8px; }
.s-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
         gap: 8px 20px; margin: 12px 0 16px; }
.s-meta { margin: 0; font-size: 13px; color: var(--muted); font-stretch: 92%; }

.s-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
          padding: 12px 0 14px; border-top: 2px solid var(--ink); }
.s-mine[hidden] { display: none; }
.minehead { display: flex; align-items: center; gap: 10px; font-stretch: 84%; }
.minehead .logo { width: 30px; height: 30px; }
.minehead b { font-size: 20px; font-weight: 800; font-stretch: 74%; }
.minestatus { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.reslist { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 5px; font-stretch: 86%; }
.res { font-size: 12.5px; padding: 2px 8px; border-radius: 4px; background: var(--raise);
       border: 1px solid var(--rule); white-space: nowrap; font-variant-numeric: tabular-nums; }
.res i { font-style: normal; font-weight: 800; margin-right: 3px; }
.res.w i { color: var(--up); }
.res.l i { color: var(--down); }
.res.sim { border-style: dashed; }

.s-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 0 0 26px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.s-stats > div { padding: 10px 14px 11px 0; min-width: 0; }
.s-stats > div + div { padding-left: 14px; border-left: 1px solid var(--rule-2); }
.s-stats dt { font-size: 12.5px; font-weight: 650; color: var(--muted); }
.s-stats dd { margin: 2px 0 0; font-size: 26px; line-height: 1.1; font-weight: 820;
              font-stretch: 66%; font-variant-numeric: tabular-nums;
              display: flex; align-items: center; gap: 8px; }
.s-stats dd .logo { width: 24px; height: 24px; }
.s-stats .detail { display: block; font-size: 12.5px; color: var(--muted); font-stretch: 88%;
                   white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.seasongrid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 0 40px; align-items: start; }
/* Shown once the standings drop below the games. */
.foldbtn { display: none; padding: 3px 10px; font-size: 13px; }

/* scoreboard */
.gamegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
            gap: 10px 12px; padding-top: 12px; font-stretch: 86%; }
.gt { border: 1px solid var(--rule); border-radius: 6px; background: var(--raise); padding-top: 4px; }
.gt.mine { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.gt-row { display: flex; align-items: center; gap: 7px; padding: 3px 10px; font-size: 14px;
          color: var(--ink-2); }
.gt-row.win { color: var(--ink); font-weight: 750; }
.gt-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-name .at { color: var(--muted); font-weight: 400; margin-right: 4px; font-size: 12px; }
.gt-rec { font-size: 12px; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.gt-pts { min-width: 24px; text-align: right; font-size: 17px; font-weight: 800; font-stretch: 66%;
          font-variant-numeric: tabular-nums; }
.gt-row:not(.win) .gt-pts { font-weight: 500; color: var(--muted); }
.gt-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px;
           padding: 4px 10px 5px; border-top: 1px solid var(--rule-2); font-size: 12px; color: var(--muted); }
.chipmini { font-size: 11.5px; font-weight: 650; }
.chipmini.upset { color: var(--ink); font-weight: 750; }

/* selection */
.twocol { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 28px; }
.subhead { font-size: 13.5px; font-weight: 750; font-stretch: 86%; color: var(--ink); margin: 14px 0 2px; }
.seedchip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 0 6px;
            border-radius: 4px; border: 1px solid var(--rule); color: var(--ink-2); margin-left: 6px; }
.seedchip.bye { background: var(--pick); color: var(--pick-ink); border-color: var(--pick); }
.mv { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mv.up { color: var(--up); }
.mv.down { color: var(--down); }
.mv.flat { color: var(--muted); font-weight: 400; }
.mv.new { color: var(--ink-2); font-size: 11px; }
.dropped { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dropped span { white-space: nowrap; }

/* bracket: a tree on a grid of eight equal rows, so a game spans the two,
   four or eight rows of the games that feed it and its lines can be drawn at
   fixed fractions of that span */
.bracket {
  display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr) 26px) minmax(150px, 1fr);
  grid-template-rows: auto repeat(8, 38px); column-gap: 0; align-items: center;
  overflow-x: auto; padding: 4px 0 6px; font-stretch: 86%; --line: var(--rule);
}
.bhead { grid-column: var(--c); grid-row: 1; margin: 0 0 6px; }
.bgame, .bline { grid-column: var(--c); grid-row: var(--r) / span var(--span); }
.bgame { position: relative; border: 1px solid var(--rule); border-radius: 6px;
         background: var(--raise); overflow: hidden; }
.bgame.ahead { background: none; border-style: dashed; }
.bgame.final { border: 1.5px solid var(--ink); }
.bteam { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px;
         font-size: 13px; color: var(--ink-2); }
.bteam + .bteam { border-top: 1px solid var(--rule-2); }
.bteam.win { color: var(--ink); font-weight: 750; }
.bteam.out { color: var(--muted); }
.bteam.out .logo { opacity: .55; }
.bteam.open { color: var(--muted); font-size: 12px; font-style: normal; }
.bteam.mine { box-shadow: inset 3px 0 0 var(--ink); }
.bseed { width: 16px; flex: none; font-size: 11px; color: var(--muted); text-align: center;
         font-variant-numeric: tabular-nums; }
.bname { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpts { font-weight: 800; font-stretch: 68%; font-size: 15px; font-variant-numeric: tabular-nums; }
.bteam.out .bpts { font-weight: 600; }
/* A first-round winner goes into its quarterfinal's second line, an elbow
   from the middle of one game to 15px below the middle of the next, which is
   the second line's middle. */
.bline { position: relative; align-self: stretch; }
.bline::before, .bline::after { content: ""; position: absolute; border: 0 solid var(--line); }
.bline.feed::before { left: 0; width: 50%; top: 50%; border-top-width: 1.5px; }
.bline.feed::after { left: 50%; right: 0; top: 50%; height: 15px;
                     border-left-width: 1.5px; border-bottom-width: 1.5px; }
/* Two games into one: a bracket from the middle of each to the middle of the
   game they feed, which sits halfway between them. */
.bline.join::before { left: 0; width: 50%; top: 25%; bottom: 25%;
                      border-width: 1.5px 1.5px 1.5px 0; border-radius: 0 5px 5px 0; }
.bline.join::after { left: 50%; right: 0; top: 50%; border-top-width: 1.5px; }
.champion { display: flex; align-items: center; gap: 14px; padding: 12px 0 14px; margin-bottom: 6px; }
.champion .logo { width: 44px; height: 44px; }
.champion .label { font-size: 13px; font-weight: 650; color: var(--muted); }
.champion .cname { font-size: 28px; line-height: 1.05; font-weight: 820; font-stretch: 70%; color: var(--ink); }

/* Footer */
.sitefoot { border-top: 1px solid var(--rule); margin-top: 8px; }
.sitefoot-in {
  max-width: var(--page); margin: 0 auto; padding: 16px var(--gutter) 26px;
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
  gap: 8px 28px; font-size: 13px; color: var(--muted); font-stretch: 92%;
}
.sitefoot p { margin: 0; max-width: 72ch; }
.sitefoot a { color: var(--ink-2); }
.footlinks { display: flex; gap: 16px; flex-wrap: wrap; }

/* scrollbars: thin and out of the way */
* { scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }

/* Below the width where the rail fits beside the list */
@media (max-width: 1100px) {
  /* one column: the games, the records, the seed */
  .needsbody { display: flex; flex-direction: column; align-items: stretch; }
  .nd-main, .nd-side { display: contents; }
  #needslist { order: 1; }
  #needsrec { order: 2; width: 100%; max-width: 560px; margin: 22px 0 4px; }
  .seedbox { order: 4; max-width: 560px; }
  .band-in { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; max-height: none; }
  .leaguewrap { max-height: 70vh; }
  .seasongrid { grid-template-columns: minmax(0, 1fr); }
  .foldbtn:not([hidden]) { display: inline-flex; }
  .block.canfold.folded > #s-board { display: none; }
  .block.canfold.folded { margin-bottom: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .home-two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
  .topmeta { display: none; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --gutter: 14px; }
  body { font-size: 14.5px; }
  .mast-in { gap: 0 10px; min-height: 48px; }
  .brand { font-size: 16px; gap: 8px; }
  .mark { width: 26px; height: 26px; }
  .tabs { margin-left: auto; }
  .tab { padding: 0 8px; font-size: 13.5px; }
  .howlink { display: none; }

  .band-in { padding: 14px var(--gutter) 10px; gap: 12px; }
  .who { gap: 12px; }
  .plate { width: 46px; height: 46px; border-radius: 10px; }
  .plate img { width: 34px; height: 34px; }
  .teaminput { font-size: 29px; }
  .band.home .band-in { padding-top: 36px; padding-bottom: 32px; }
  .band.home .teaminput { font-size: 40px; }
  .band.home .teamline { font-size: 15px; }
  .teamline { font-size: 13.5px; margin-top: 5px; }
  .path { grid-auto-columns: minmax(0, 1fr); }
  .step { grid-template-rows: 66px auto; gap: 5px; }
  .step .k { margin: 0 1px; padding: 4px 0; min-height: 0; border-radius: 5px; }
  .step .col i { left: 2px; right: 2px; height: max(2px, calc((100% - 16px) * var(--p) / 100)); }
  .step .v { bottom: calc((100% - 16px) * var(--p) / 100 + 2px); font-size: 12.5px; }
  .step[aria-pressed="true"] .v { font-size: 14px; }
  .step .v small { display: none; }
  .step .k { font-size: 11px; font-stretch: 78%; white-space: nowrap; }
  .step .k .full { display: none; }
  .step .k .short { display: inline; }

  /* three rows of controls would hold a quarter of the screen, so they
     scroll away with everything else */
  .toolbar { position: static; }
  .toolbar-in { gap: 8px; }
  .fld > span { display: none; }
  .seg button { padding: 6px 9px; font-size: 13px; }
  input.search { flex: 1 1 100%; width: auto; margin-left: 0; order: 9; }

  .guide { padding-top: 14px; }
  .block { margin-bottom: 24px; }
  h2 { font-size: 16px; }

  .slate { --cols: minmax(0, 1fr) minmax(2.2rem, auto) 9rem; font-stretch: 80%; }
  .pr.now .lwp { display: none; }
  .slatehead, .game { column-gap: 7px; }
  .slatehead .h-when { display: none; }
  .slatehead .h-tor { grid-column: 3; justify-content: center; }
  .h-tor > span { display: none; }
  .slatehead { font-size: 11px; }
  .tor { --half: calc(50% - 36px); }
  .tor b { font-size: 12.5px; }
  .tor i { height: 9px; margin-top: -4.5px; }
  .slot { top: 0; font-size: 13.5px; }
  .game { padding: 6px 0 5px; }
  .game .side { grid-column: 1 / 4; font-size: 14px; min-height: 25px; }
  .side .who { gap: 5px; }
  .side .at { width: 14px; margin-right: 4px; }
  /* a full season on one line beside the logo */
  .season { gap: 3px; margin-top: 7px; }
  .sz.afterbye { margin-left: 6px; }
  .sz-logo { width: 18px; height: 18px; border-radius: 4px; }
  .sz-logo .logo { width: 13px; height: 13px; }
  .sz b { font-size: 9.5px; }
  .side .logo { width: 16px; height: 16px; }
  .side .over { margin-left: 5px; }
  .game.clear .side.root .who b { padding: 1px 4px; }
  .sb { grid-template-columns: minmax(0, 1fr); }
  .teamtip.sheet {
    top: auto; right: 0; bottom: 0; left: 0; width: auto; max-width: none; max-height: 74vh;
    padding: 18px 16px calc(14px + env(safe-area-inset-bottom));
    border-width: 1px 0 0; border-radius: 14px 14px 0 0; white-space: normal;
    animation: sheetin .18s ease-out;
  }
  .teamtip.sheet::before {
    content: ""; display: block; width: 36px; height: 4px; margin: -8px auto 12px;
    border-radius: 2px; background: var(--rule);
  }
  .teamtip.sheet .tiptable { width: 100%; }
  .teamtip.sheet .tipgo { padding: 12px; font-size: 15px; }
  .side .who b { font-stretch: 74%; }
  .game .when { grid-column: 1 / -2; grid-row: 3; margin: 1px 0 0 15px; font-size: 12px; }
  .when b, .when .tv { display: inline; margin-right: 6px; }
  /* No room for "over Utah" beside the name, so it moves down by the time. */
  .side .over { display: none; }
  .game:not(.open) .when .opp { display: inline; margin-right: 8px; color: var(--ink-2); }
  .slate.byslot .game .when .tv { display: inline; }

  .intro { padding-top: 20px; }
  .intro h1 { font-size: 28px; }
  .stakes li { grid-template-columns: 1.2rem minmax(0, 1fr) auto; column-gap: 10px; }
  .stakes .kick { grid-column: 2 / -1; grid-row: 2; }
  .stakes .stake { grid-column: 3; grid-row: 1; }
  .stakes .barline { width: 40px; }
  .intro .lead { font-size: 16px; }
  .boards { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .writeup > h1 { font-size: 23px; }
  .writeup p, body.info .intro p { font-size: 15.5px; }
  dl.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--rule-2); }

  .transport-in { gap: 8px 10px; }
  .tp-track { flex-basis: 100%; }
  .stagelabel { min-width: 8.5em; font-size: 16px; }
  .tp-opts { margin-left: auto; gap: 10px; }
  .s-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .s-stats > div:nth-child(n+3) { border-top: 1px solid var(--rule-2); }
  .s-stats dd { font-size: 22px; }
  .gamegrid { grid-template-columns: minmax(0, 1fr); }
  .twocol { grid-template-columns: minmax(0, 1fr); }
  /* a phone reads the rounds down the page instead of across it */
  /* a phone reads the rounds down the page, each in bracket order */
  .bracket { display: flex; flex-direction: column; align-items: stretch; gap: 8px;
             overflow-x: visible; }
  .bhead { margin: 12px 0 0; }
  .bline { display: none; }
  .sitefoot-in { font-size: 12.5px; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
}
/* What your team needs on a phone: who and the chance on the first line,
   the two results and the bar between them on the second. */
@media (max-width: 640px) {
  .nd-grid, .nd-grid.flat { --cols: 3.8rem minmax(0, 1fr) 2.8rem; --pad: 58px; }
  .simstat b { font-size: 48px; }
  .outlook { padding-top: 16px; }
  .nd-when small { font-size: 11px; }
  .nd-head, .nd { column-gap: 8px; }
  /* the scale, and each game's chart, on a line of their own under it */
  .nd-head .nd-scale { grid-column: 1 / -1; grid-row: 2; margin-top: 7px; }
  .nd { row-gap: 2px; }
  .nd-bar { grid-column: 1 / -1; grid-row: 2; min-height: 28px; margin: 0 0 -7px; }
  .nd-opp { font-size: 14.5px; }
  .nd-opp .rec, .nd-opp .rk { display: none; }
  .pairs li { grid-template-columns: minmax(0, 1fr) 2.4rem minmax(48px, 80px) 2.4rem minmax(0, 1fr);
              row-gap: 4px; }
  .pairs .often { grid-column: 1 / -1; }
  .pr-side { font-size: 14px; gap: 6px; }
  .pr-side .nm-full { display: none; }
  .pr-side .nm-abbr { display: inline; }
  .stakes.weeks .when { grid-column: 2 / -1; grid-row: 2; flex-direction: row;
                        flex-wrap: wrap; gap: 0 6px; }
  .stakehead { grid-template-columns: 1.2rem minmax(0, 1fr) auto; column-gap: 10px; }
  .stakehead > :nth-child(3) { display: none; }
  /* the logo says who, so a phone keeps each game's stakes to one line */
  .stakes .most { gap: 4px 14px; }
  .stakes .st a { display: none; }
  .stb { width: 36px; }
  .bcb { width: 32px; }
  .rankwrap { grid-template-columns: minmax(0, 1fr); }
  .fieldnow { margin-top: 26px; }
  .home-two .fieldnow { margin-top: 0; }
  #clinchslot .cl-body { grid-template-columns: minmax(0, 1fr); }
  .cl-side { order: -1; }
  .cl-rows > li { grid-template-columns: auto minmax(0, 1fr); }
  .cl-need { grid-column: 1 / -1; }
  .tb-two { grid-template-columns: minmax(0, 1fr); }
  .tt li { grid-template-columns: minmax(0, 1fr); }
  .tt-vals, .tt-said { grid-column: 1; }
  .clinchgrid .nm-full { display: none; }
  .clinchgrid .nm-abbr { display: inline; }
  body.info .intro .clinchgrid tr.cg-team td.cg-c { width: 44px; font-size: 12.5px; }
  .br-head, .pod { grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr); }
  .pod .ft { flex-wrap: wrap; padding: 6px 7px; gap: 0 5px; font-size: 14px; }
  .pod .ft small { flex-basis: 100%; margin: 0; padding: 0; }
  .ts-bar { height: 30px; }
  .bcb { margin-right: 7px; }
  td.bc:not(.strong) .bcb { display: none; }
  table.confrace .ovr { display: none; }
  body.info .intro table.confrace { min-width: 0; }
  body.info .intro table.rank25 { min-width: 0; }
}
/* Below this the names need the room more than the odds column does; the
   change beside each team says the same thing against the band's number. */
@media (max-width: 440px) {
  .sb-grid { grid-template-columns: minmax(0, 1fr) repeat(var(--n), 1.2rem) 2rem 2.4rem 3.7rem; }
  .sbt .rec, .sbt .rk, .sbt .nm-full, .tk-n .nm-full { display: none; }
  .sbt .nm-abbr, .tk-n .nm-abbr { display: inline; }
  .tick { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
  .slate { --cols: minmax(0, 1fr) minmax(2.1rem, auto) 8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
