/* cbbroot. Two mild colours, mist and steel, and one accent, rim orange,
   which marks only the side to root for and the measure chosen. Wins and
   losses on a chart are solid and hollow steel, so the accent keeps one job. */

@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 {
  --mist: #e9eef2;
  --paper: #f4f7f9;
  --steel: #4e6a82;
  --steel-2: #8aa0b2;
  --steel-3: #cbd6df;
  --steel-4: #dde5eb;
  --ink: #1b2732;
  --ink-2: #384957;
  --muted: #5c6d7c;
  --rim: #dd6519;
  --rim-soft: #f7d8c3;
  --rim-ink: #8f3d06;
  --page: 1220px;
  --gutter: 20px;
  --radius: 6px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mist: #141a20;
    --paper: #1a2229;
    --steel: #8fadc6;
    --steel-2: #5d7a91;
    --steel-3: #2b3a46;
    --steel-4: #222d36;
    --ink: #e2e9ef;
    --ink-2: #c1ced9;
    --muted: #91a2b1;
    --rim: #f08439;
    --rim-soft: #4a2d19;
    --rim-ink: #ffc59c;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 15.5px/1.5 "Archivo", system-ui, sans-serif; font-stretch: 100%;
}
a { color: inherit; text-decoration-color: var(--steel-2); text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--ink); }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: 78%; letter-spacing: -0.01em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 30; background: var(--paper); padding: 6px 10px; }
:focus-visible { outline: 2px solid var(--rim); outline-offset: 2px; }
.num { text-align: right; font-variant-numeric: tabular-nums; font-stretch: 85%; }
.dim { color: var(--muted); }

/* The masthead: one line, the brand, a search and the pages. */
.top { background: var(--paper); border-bottom: 1px solid var(--steel-3); position: sticky; top: 0; z-index: 20; }
.top-in { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); height: 58px;
          display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; flex: none;
         font-weight: 800; font-size: 19px; font-stretch: 72%; letter-spacing: 0.01em; }
.find { position: relative; flex: 0 1 260px; }
.find-input { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--steel-3);
              border-radius: var(--radius); background: var(--mist); color: var(--ink); font: inherit; }
.find-input::placeholder { color: var(--muted); }
.menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 25; margin: 0; padding: 4px;
        list-style: none; background: var(--paper); border: 1px solid var(--steel-3); border-radius: var(--radius);
        box-shadow: 0 10px 28px rgb(27 39 50 / 0.12); max-height: 340px; overflow: auto; }
.menu li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 4px; cursor: pointer; }
.menu li small { margin-left: auto; color: var(--muted); }
.menu li[aria-selected="true"], .menu li:hover { background: var(--steel-4); }
.nav { margin-left: auto; display: flex; gap: 18px; white-space: nowrap; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 550; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline;
                                            text-decoration-color: var(--rim); text-underline-offset: 6px; }

main { max-width: var(--page); margin: 0 auto; padding: 26px var(--gutter) 40px; }
.ph { font-size: 40px; font-weight: 800; line-height: 1.05; margin-bottom: 4px; }
.lead { max-width: 70ch; color: var(--ink-2); margin: 6px 0 18px; }
.stamp { color: var(--muted); font-size: 13.5px; margin: 6px 0 22px; }
.note { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.empty { color: var(--muted); }

/* A block: a heading on a steel rule, its content under it. */
.block { margin: 0 0 34px; min-width: 0; }
.bh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
      border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 10px; }
.bh h2 { font-size: 22px; font-weight: 780; }
.bh a { font-size: 14px; color: var(--ink-2); }
.key { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.key .k-win { background: var(--steel); }
.key .k-loss { border: 2px solid var(--steel); }
.key .k-now { width: 3px; border-radius: 0; height: 12px; background: var(--rim); }

/* Logos and team links. */
.lg { width: 22px; height: 22px; object-fit: contain; flex: none; vertical-align: middle; }
picture { display: contents; }
.nolg { display: inline-block; border-radius: 50%; background: var(--steel-4); }
.tl { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; min-width: 0; }
.tl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl:hover span { text-decoration: underline; text-decoration-color: var(--steel-2); }

/* The front page's opening: what the site does, and who wins it all. */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 820; line-height: 1.02; font-stretch: 70%; max-width: 16ch; }
.hero p { font-size: 17px; color: var(--ink-2); max-width: 46ch; margin: 14px 0 20px; }
.pick { display: grid; gap: 6px; max-width: 420px; }
.pick span { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.pick .find-input { height: 46px; font-size: 17px; background: var(--paper); border-color: var(--steel-2); }
.hero-fig { margin: 0; padding-top: 6px; }
.hero-fig figcaption { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.title-odds { list-style: none; margin: 0; padding: 0; }
.title-odds li { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 3.6rem; gap: 10px;
                 align-items: center; padding: 5px 0; border-bottom: 1px solid var(--steel-4); }
.title-odds b { text-align: right; font-variant-numeric: tabular-nums; font-stretch: 82%; }
.hb { height: 8px; background: transparent; }
.hb i { display: block; height: 100%; background: var(--c, var(--steel)); border-radius: 0 2px 2px 0; }

/* The week's games, ranked. */
.stakes { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.stakes li { display: grid; grid-template-columns: minmax(0, 1.25fr) 8.5rem minmax(0, 1.6fr); gap: 4px 20px;
             align-items: center; padding: 11px 0; border-bottom: 1px solid var(--steel-4); }
.sg { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.at { color: var(--muted); font-size: 13px; font-weight: 400; }
.sw { display: grid; font-size: 13.5px; color: var(--muted); }
.sw .chance { color: var(--ink-2); }
.sv { display: grid; text-align: right; }
.sv b { font-size: 19px; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.sv span { font-size: 12px; color: var(--muted); }
.sm { font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sm p { margin: 0; }
.sm p + p { color: var(--muted); margin-top: 2px; }
.sw .tv { color: var(--muted); }
.score { font-variant-numeric: tabular-nums; font-stretch: 85%; font-weight: 700; }
.up { color: var(--ink); }
.down { color: var(--muted); }
.sm b.up::before, .sm b.down::before { content: ""; display: inline-block; width: 0; height: 0;
  margin: 0 3px 2px 1px; border: 4px solid transparent; vertical-align: middle; }
.sm b.up::before { border-bottom: 6px solid var(--steel); border-top-width: 0; }
.sm b.down::before { border-top: 6px solid var(--steel-2); border-bottom-width: 0; }

/* Biggest moves since the last day. */
.movers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.mvcol h3 { font-size: 15px; font-weight: 750; padding-bottom: 6px; border-bottom: 1px solid var(--steel-3); margin-bottom: 4px; }
.mvcol ol { list-style: none; margin: 0; padding: 0; }
.mvcol li { display: grid; grid-template-columns: minmax(0, 1fr) 4.6rem 4.2rem; gap: 10px; align-items: center;
            padding: 6px 0; border-bottom: 1px solid var(--steel-4); }
.mvcol b, .mvcol .chg { text-align: right; font-variant-numeric: tabular-nums; font-stretch: 85%; }
.mvcol .chg { color: var(--muted); }

/* A returning reader's team, at the top of the front page. */
/* A returning reader's team, at the top of the front page: a small copy of
   its page's band. */
.mine { border-radius: 14px; padding: 16px 18px; color: var(--team-fg); overflow: hidden;
  background: var(--court) no-repeat right -40px center / auto 180%, var(--team); }
.mine a { color: inherit; }
.mine-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mine-head .pl { width: 46px; height: 46px; border-radius: 11px; }
.mine-head h2 { font-size: 26px; }
.mine-head h2 a { text-decoration: none; }
.mine-head .mine-p { margin-left: auto; text-align: right; }
.mine-head .mine-p b { font-size: 30px; font-stretch: 68%; font-weight: 820; font-variant-numeric: tabular-nums; display: block; line-height: 1.05; }
.mine-head .mine-p span { font-size: 12.5px; color: var(--team-sub); }
.mine ol { list-style: none; margin: 12px 0 0; padding: 0; }
.mine li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 7px 0; border-top: 1px solid var(--team-faint); font-size: 14.5px; }
.mine li .at { color: var(--team-sub); }
.mine li .root { font-weight: 650; }
.mine li .root::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--rim); margin-right: 8px; vertical-align: 1px; }
.mine li b { font-variant-numeric: tabular-nums; font-stretch: 85%; }
.mine .mine-more { display: inline-block; margin-top: 10px; font-weight: 600; }

/* The bubble: four groups, last in to next out. */
.bubble { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; }
.bubcol h3 { font-size: 15px; font-weight: 750; padding-bottom: 6px; border-bottom: 1px solid var(--steel-3); margin-bottom: 4px; }
.bubcol:nth-child(3) h3 { border-bottom-style: dashed; }
.bubcol ol { list-style: none; margin: 0; padding: 0; }
.bubcol li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; }
.bubcol b { font-variant-numeric: tabular-nums; font-stretch: 85%; }

.confs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 26px; }
.confs a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--steel-4); text-decoration: none; }
.confs a span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; }
.confs a:hover b { text-decoration: underline; }

/* A team's page opens on a band in its own colour, with a half court drawn
   faintly across it: who it is, its season so far, and its road through the
   bracket. White or dark text is chosen per team (pages.band_tone). */
html, body { overflow-x: clip; }
.band { position: relative; isolation: isolate; color: var(--team-fg); margin: -26px 0 36px; padding: 28px 0 26px; }
.band::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: var(--court) no-repeat right -60px center / auto 165%, var(--team); }
.band.on-dark, .mine.on-dark { --team-fg: #fff; --team-sub: rgba(255, 255, 255, .8); --team-faint: rgba(255, 255, 255, .15);
  --team-line: rgba(255, 255, 255, .55); --court: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 472 502' fill='none' stroke='rgba%28255%2C255%2C255%2C.15%29' stroke-width='3'%3E%3Cpath d='M1 1H471V501H1Z'/%3E%3Cpath d='M1 190A60 60 0 0 1 1 310'/%3E%3Cpath d='M280 190H471M280 310H471M280 190V310'/%3E%3Ccircle cx='280' cy='250' r='60'/%3E%3Ccircle cx='417' cy='250' r='9'/%3E%3Cpath d='M430 220V280'/%3E%3Cpath d='M471 33H371A221 221 0 0 0 371 467H471'/%3E%3Cpath d='M417 210A40 40 0 0 0 417 290'/%3E%3C/svg%3E"); }
.band.on-light, .mine.on-light { --team-fg: #14202a; --team-sub: rgba(20, 32, 42, .8); --team-faint: rgba(20, 32, 42, .1);
  --team-line: rgba(20, 32, 42, .5); --court: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 472 502' fill='none' stroke='rgba%2820%2C32%2C42%2C.14%29' stroke-width='3'%3E%3Cpath d='M1 1H471V501H1Z'/%3E%3Cpath d='M1 190A60 60 0 0 1 1 310'/%3E%3Cpath d='M280 190H471M280 310H471M280 190V310'/%3E%3Ccircle cx='280' cy='250' r='60'/%3E%3Ccircle cx='417' cy='250' r='9'/%3E%3Cpath d='M430 220V280'/%3E%3Cpath d='M471 33H371A221 221 0 0 0 371 467H471'/%3E%3Cpath d='M417 210A40 40 0 0 0 417 290'/%3E%3C/svg%3E"); }
.band a { color: inherit; text-decoration-color: var(--team-line); }
.band-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.pl { display: inline-grid; place-items: center; background: #fff; border-radius: 7px; flex: none;
  width: 30px; height: 30px; box-shadow: 0 0 0 1px rgba(20, 32, 42, .08); }
.pl img { display: block; }
.pl .ab { font-size: 9px; font-weight: 800; color: #384957; font-stretch: 75%; }
.crest .pl { width: 76px; height: 76px; border-radius: 16px; }
.band-name { min-width: 0; }
.band h1 { font-size: 58px; font-weight: 850; line-height: .95; font-stretch: 64%; letter-spacing: -.01em; }
.band .meta { margin: 6px 0 0; color: var(--team-sub); display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 15.5px; }
.band .meta b { color: var(--team-fg); }
.strip { list-style: none; display: flex; gap: 5px; margin: 12px 0 0; padding: 0; overflow-x: auto;
  scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip li { display: grid; justify-items: center; gap: 2px; flex: none; }
.strip b { font-size: 11px; font-weight: 800; line-height: 1; font-stretch: 80%; }
.strip .l b { color: var(--team-sub); font-weight: 600; }
.strip .next { opacity: .6; }
.strip .next b { font-weight: 600; font-size: 10.5px; }
.strip li.next:first-of-type, .strip li.w + li.next, .strip li.l + li.next { margin-left: 10px; }

/* The road: each round a line it reaches, with its chance, a step up from
   the last. The chosen one is a white tile underlined in rim. */
.path { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; margin-top: 26px; }
.step { position: relative; display: grid; gap: 2px; justify-items: start; text-align: left; padding: 0 12px 9px 0;
  margin: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.step:nth-child(1) { margin-bottom: 0; }
.step:nth-child(2) { margin-bottom: 10px; }
.step:nth-child(3) { margin-bottom: 20px; }
.step:nth-child(4) { margin-bottom: 30px; }
.step:nth-child(5) { margin-bottom: 40px; }
.step:nth-child(6) { margin-bottom: 50px; }
.step:nth-child(7) { margin-bottom: 60px; }
.step .sl { font-size: 13px; color: var(--team-sub); font-weight: 650; }
.step .sp { font-size: 30px; font-weight: 820; font-stretch: 68%; font-variant-numeric: tabular-nums; line-height: 1.05;
  padding: 1px 6px 2px; margin-left: -6px; border-radius: 6px; }
.step .line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--team-line); }
.step:not(:last-child)::after { content: ""; position: absolute; right: 0; bottom: 0; width: 3px; height: 13px;
  background: var(--team-line); }
.step:hover .sl { color: var(--team-fg); }
.step[aria-pressed="true"] .sp { background: #fff; color: #14202a; box-shadow: inset 0 -3px 0 var(--rim); }
.step[aria-pressed="true"] .line, .step[aria-pressed="true"]::after { background: var(--team-fg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; }
.cgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.cg { font-size: 13px; color: var(--team-sub); font-weight: 650; margin-right: 2px; white-space: nowrap; flex: none; }
.today { margin: 16px 0 0; color: var(--team-sub); font-variant-numeric: tabular-nums; }
.today b { color: var(--team-fg); font-stretch: 85%; margin-left: 6px; }
.today .chg { color: var(--team-sub); font-stretch: 85%; margin-left: 8px; }
.chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 5px 12px; border: 0;
  background: var(--team-faint); color: inherit; border-radius: 999px; cursor: pointer; font-size: 14px; }
.chip b { font-variant-numeric: tabular-nums; font-stretch: 85%; }
.chip:hover { background: color-mix(in srgb, var(--team-faint), var(--team-fg) 12%); }
.chip[aria-pressed="true"] { background: #fff; color: #14202a; box-shadow: inset 0 -3px 0 var(--rim); }

/* The next game, top right of the band. */
.band-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: start; }
.nextup { width: 300px; background: var(--team-faint); border-radius: 12px; padding: 12px 14px 13px; }
.nx-h { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--team-sub); }
.nx-h span:first-child { font-weight: 750; color: var(--team-fg); }
.nx-m { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.nx-m .pl { width: 36px; height: 36px; border-radius: 9px; }
.nx-o { font-size: 17px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-o .at { font-weight: 500; color: var(--team-sub); font-size: 14px; }
.nx-m b { margin-left: auto; font-size: 24px; font-stretch: 68%; font-weight: 820; font-variant-numeric: tabular-nums; }
.nx-k { margin: 10px 0 2px; font-size: 12.5px; color: var(--team-sub); }
.nx-s { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nx-s span { font-size: 13px; color: var(--team-sub); }
.nx-s b { display: block; font-size: 22px; font-stretch: 68%; font-weight: 820; color: var(--team-fg); font-variant-numeric: tabular-nums; line-height: 1.05; }
.nx-s .l b { opacity: .72; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 44px; align-items: start; }

/* What a team needs: its own games, the chosen measure after a win (solid)
   and after a loss (hollow), on one scale with today's chance marked. */
.needs-row { display: grid; grid-template-columns: 4.6rem minmax(0, 12rem) 3rem minmax(0, 1fr); gap: 10px;
             align-items: center; padding: 7px 0; border-bottom: 1px solid var(--steel-4); font-size: 14.5px; }
.needs-row .d { color: var(--muted); font-size: 13px; line-height: 1.2; }
.needs-row .o { display: flex; align-items: center; gap: 6px; min-width: 0; }
.needs-row .o .at { flex: none; }
.needs-row .w { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-stretch: 85%; }
.db { position: relative; height: 26px; }
.db::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--steel-3); }
.db .now { position: absolute; top: 3px; bottom: 3px; width: 2px; margin-left: -1px; background: var(--rim); }
.db .span { position: absolute; top: 50%; height: 3px; margin-top: -1.5px; background: var(--steel-2); }
.db .dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; }
.db .dot.win { background: var(--steel); }
.db .dot.loss { background: var(--mist); border: 2px solid var(--steel); }
.db .lab { position: absolute; top: -2px; font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--muted);
           transform: translateX(-50%); white-space: nowrap; font-stretch: 85%; }
.needs-scale { display: grid; grid-template-columns: 4.6rem minmax(0, 12rem) 3rem minmax(0, 1fr); gap: 10px;
               font-size: 12px; color: var(--muted); padding-bottom: 4px; }
.needs-scale .ticks { position: relative; height: 14px; }
.needs-scale .ticks span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.played-row { opacity: 0.8; }

/* The week's slate, by day. The side to root for leads each game, with the
   accent on it and its swing beside it. */
.seg { display: inline-flex; border: 1px solid var(--steel-3); border-radius: var(--radius); overflow: hidden; }
.seg button { border: 0; background: var(--paper); padding: 5px 11px; font-size: 13.5px; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--steel-3); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--mist); }
.day { font-size: 14px; font-weight: 750; color: var(--ink-2); margin: 16px 0 4px; }
/* Who to root for: each game a tornado about one centre line, the team's
   chance now. Right, in rim, what it gains if the side to root for wins;
   left, in steel, what it loses if not. */
.torkey { display: flex; justify-content: flex-end; gap: 16px; font-size: 12.5px; color: var(--muted); margin: 2px 0 -4px; }
.torkey i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.torkey .k-gain { background: var(--rim); }
.torkey .k-loss { background: var(--steel-2); }
.game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4px 20px; align-items: center;
        padding: 9px 0 9px 12px; border-bottom: 1px solid var(--steel-4); position: relative; }
.game::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--rim); border-radius: 2px; }
.game.weak::before { background: var(--steel-3); }
.gm { display: grid; gap: 1px; min-width: 0; }
.game .root { display: flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.game .root .wp { font-weight: 500; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; font-stretch: 85%; }
.game .other { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 7px; color: var(--muted); font-size: 13.5px; min-width: 0; }
.game .other .lg { width: 16px; height: 16px; }
.game .meta2 { font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: 4px; }
.game.own .root::after { content: "your game"; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tor { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 1fr) 3.4rem; align-items: center; min-height: 24px; }
.tor em { font-style: normal; font-variant-numeric: tabular-nums; font-stretch: 80%; font-size: 14px; }
.tor .lo { text-align: right; padding-right: 7px; color: var(--muted); }
.tor .hi { padding-left: 7px; font-weight: 750; color: var(--rim-ink); font-size: 15px; }
.tor .tlose, .tor .twin { display: flex; height: 14px; }
.tor .tlose { justify-content: flex-end; border-right: 2px solid var(--ink-2); }
.tor .tlose i { background: var(--steel-2); border-radius: 3px 0 0 3px; }
.tor .twin i { background: var(--rim); border-radius: 0 3px 3px 0; }
.tor i { display: block; height: 100%; min-width: 1px; }
.game.weak .tor .twin i { background: color-mix(in srgb, var(--rim) 45%, transparent); }
.game.weak .tor .hi { color: var(--muted); font-weight: 600; }
.live { color: var(--rim-ink); font-weight: 700; }
.bar { display: block; height: 6px; background: transparent; }
.bar i { display: block; height: 100%; background: var(--rim); border-radius: 0 2px 2px 0; min-width: 2px; }
.more { margin-top: 12px; border: 1px solid var(--steel-3); background: var(--paper); padding: 6px 12px;
        border-radius: var(--radius); cursor: pointer; }

/* The rail's charts. */
.seedbars { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); grid-template-rows: 130px; gap: 3px; }
.seedbars .sb { display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.seedbars .sb i { display: block; background: var(--steel); border-radius: 2px 2px 0 0; min-height: 1px; }
.seedbars .sb.out i, .seedbars .sb.or i { background: var(--steel-2); }
.seedbars .sb.mode i { background: var(--ink); }
.seedlabels { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 3px; font-size: 11px;
              color: var(--muted); text-align: center; margin-top: 4px; font-variant-numeric: tabular-nums; }
.seedlabels span:nth-last-child(-n+2) { font-size: 10px; }
.chart-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.recrows { display: grid; gap: 0; }
.recrow { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 4.2rem; gap: 8px; align-items: center;
          font-size: 13.5px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.recrow .rb { height: 14px; position: relative; }
.recrow .rb i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--steel-3); }
.recrow .rb u { position: absolute; left: 0; top: 4px; bottom: 4px; background: var(--steel); text-decoration: none; }
.recrow b { text-align: right; font-stretch: 85%; }
.race-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.race-t td, .race-t th { padding: 5px 0; border-bottom: 1px solid var(--steel-4); }
.race-t th { font-size: 12px; color: var(--muted); font-weight: 600; text-align: left; }
.race-t tr.me td { font-weight: 750; }
.race-t .num { padding-left: 8px; }

/* Tables of odds on the information pages. */
.tw { overflow-x: auto; }
table.odds { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.odds th { font-size: 12.5px; font-weight: 650; color: var(--muted); text-align: left; padding: 0 10px 6px 0;
           border-bottom: 1px solid var(--steel-3); white-space: nowrap; }
.odds td { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--steel-4); white-space: nowrap; }
.odds th.num { text-align: right; }
.oc { min-width: 7.5rem; }
.oc .bar { display: inline-block; width: 46px; height: 6px; vertical-align: middle; margin-right: 8px; }
.oc .bar i { background: var(--steel); }
.oc span { display: inline-block; min-width: 3.6rem; }

/* Bracketology: four regions, each a column of seed lines. */
.bracket { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; margin: 10px 0 34px; }
.region h3 { font-size: 16px; font-weight: 760; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.region ol { list-style: none; margin: 0; padding: 0; }
.bl { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); align-items: center; gap: 6px; padding: 5px 0;
      border-bottom: 1px solid var(--steel-4); font-size: 14px; }
.bl.gap { border-bottom: 1px solid var(--steel-3); margin-bottom: 6px; }
.bl .sd { font-weight: 800; font-stretch: 75%; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.bl .bn { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-width: 0; }
.bl .bn a { text-decoration: none; }
.bl .bn a:hover { text-decoration: underline; }
.or { font-size: 11.5px; color: var(--muted); }

.finals { list-style: none; margin: 0; padding: 0; }
.finals li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 90px minmax(0, 1fr) minmax(0, 9rem); gap: 10px;
             align-items: center; padding: 8px 0; border-bottom: 1px solid var(--steel-4); }
.finals .often b { font-variant-numeric: tabular-nums; }
.finals .split { height: 8px; background: var(--steel-3); }
.finals .split i { display: block; height: 100%; background: var(--steel); }
.finals .who { font-size: 13px; color: var(--muted); }
.magic { list-style: none; margin: 0; padding: 0; }
.magic li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 12px; padding: 7px 0;
            border-bottom: 1px solid var(--steel-4); align-items: center; }
.magic .mn { color: var(--ink-2); font-size: 14.5px; }
.tag { font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.tag.in { background: var(--steel); color: var(--mist); }
.tag.out { border: 1px solid var(--steel-3); color: var(--muted); font-weight: 600; }
.others { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }

.teams { columns: 3 280px; column-gap: 34px; }
.tc { break-inside: avoid; margin-bottom: 22px; }
.tc h2 { font-size: 18px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.tc h2 a { text-decoration: none; }
.tc ul { list-style: none; margin: 0; padding: 0; }
.tc li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0;
         border-bottom: 1px solid var(--steel-4); font-size: 14.5px; }
.tc b { font-variant-numeric: tabular-nums; font-stretch: 85%; }

/* The written page under the app, for readers and crawlers. */
.writeup { max-width: 72ch; border-top: 2px solid var(--ink); padding-top: 22px; margin-top: 10px; }
.writeup h2 { font-size: 22px; margin: 22px 0 8px; }
.writeup p, .prose p { color: var(--ink-2); line-height: 1.6; }
.res { list-style: none; padding: 0; margin: 0; columns: 2; font-size: 14.5px; }
.res li { padding: 2px 0; }
.faq h2 { font-size: 22px; margin: 26px 0 8px; }
.faq dt { font-weight: 700; margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: var(--ink-2); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 22px; margin: 26px 0 6px; }

.foot { border-top: 1px solid var(--steel-3); background: var(--paper); }
.foot-in { max-width: var(--page); margin: 0 auto; padding: 20px var(--gutter) 30px; font-size: 13.5px; color: var(--muted); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* A page loading its numbers. */
.skel { height: 14px; border-radius: 3px; background: var(--steel-4); margin: 10px 0; }

@media (max-width: 1000px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bracket { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .stakes li { grid-template-columns: minmax(0, 1fr); }
  .sw { display: flex; flex-wrap: wrap; gap: 4px 10px; }
  .movers { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
/* Below this the pages take a row of their own under the brand and search. */
@media (max-width: 1140px) {
  .top-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 0; gap: 10px 14px; }
  .find { flex: 1 1 120px; min-width: 0; max-width: 420px; }
  .nav { order: 3; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; width: calc(100% + 2 * var(--gutter));
         overflow-x: auto; gap: 16px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .find { max-width: none; }
  .brand { font-size: 17px; gap: 7px; }
  .nav { order: 3; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; width: calc(100% + 2 * var(--gutter));
         overflow-x: auto; gap: 16px; }
  .ph { font-size: 32px; }
  .band { padding: 18px 0 18px; margin-bottom: 26px; }
  .band::before { background-size: auto 120%, auto; background-position: right -120px top -20px, 0 0; }
  .band-id { gap: 12px; align-items: flex-start; }
  /* On a phone the road comes first, then the next game. */
  .band { display: flex; flex-direction: column; }
  .band-top { display: contents; }
  .band-id { order: 1; }
  .path { order: 2; }
  .chips { order: 3; }
  .nextup { order: 4; width: auto; margin-top: 16px; }
  .today { order: 5; }
  .cgroup { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter));
            padding-right: var(--gutter); }
  .cgroup::-webkit-scrollbar { display: none; }
  .cgroup .chip { flex: none; }
  .crest .pl { width: 54px; height: 54px; border-radius: 12px; }
  .crest .pl img { width: 38px; height: 38px; }
  .band h1 { font-size: 38px; }
  .band .meta { font-size: 14px; gap: 0 12px; }
  .strip { margin-right: calc(-1 * var(--gutter)); }
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; margin-top: 18px; }
  .step:nth-child(n) { margin-bottom: 0; }
  .step { padding-right: 6px; }
  .step:not(:last-child)::after { display: none; }
  .step .sl { font-size: 12px; }
  .step .sp { font-size: 21px; }
  .chips { gap: 8px 18px; margin-top: 16px; }
  .chip { font-size: 13px; padding: 4px 10px; }
  .bubble { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .bracket { grid-template-columns: minmax(0, 1fr); }
  .needs-row, .needs-scale { grid-template-columns: 5.2rem minmax(0, 1fr) 2.6rem; row-gap: 2px; }
  .needs-row .db, .needs-scale .ticks { grid-column: 1 / -1; }
  .needs-row .d br, .needs-row .d .tip { display: none; }
  .needs-scale > span:not(.ticks) { display: none; }
  .game { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tor { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1fr) 3rem; }
  .finals li { grid-template-columns: 3.6rem minmax(0, 1fr) minmax(0, 1fr); }
  .finals .split, .finals .who { display: none; }
  .res { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Sim a season: the champion, the bracket region by region, the rest. */
.simhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.simchamp { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; }
.simchamp .lg { width: 40px; height: 40px; }
.simchamp b { font-stretch: 78%; font-size: 24px; }
.simme { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-left: 3px solid var(--rim);
         background: var(--paper); margin: 0 0 22px; }
.sbracket { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.sregion h3 { font-size: 15px; font-weight: 750; margin-bottom: 6px; }
.rounds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 6px; }
.rcol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-around; }
.bt { display: flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 2px 4px; border-bottom: 1px solid var(--steel-3);
      color: var(--muted); min-width: 0; height: 22px; }
.bt .bs { width: 1.3em; text-align: right; font-variant-numeric: tabular-nums; font-size: 11px; }
.bt .bnm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt .lg { width: 16px; height: 16px; }
.bt.won { color: var(--ink); font-weight: 650; border-bottom-color: var(--steel); }
.bt.mine { box-shadow: inset 3px 0 0 var(--rim); background: var(--rim-soft); color: var(--ink); }
.bt.empty { border-bottom-style: dashed; }
.ffour ul, .ogames { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.ffour li, .ogames li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ffour h3 { font-size: 15px; margin-top: 18px; }
@media (max-width: 900px) {
  .sbracket { grid-template-columns: minmax(0, 1fr); }
  .rounds { overflow-x: auto; grid-template-columns: repeat(5, minmax(84px, 1fr)); }
}

/* Last night on a team's page: each result and how far it moved the odds. */
.lastn { list-style: none; margin: 0; padding: 0; }
.lastn li { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; gap: 12px; align-items: center;
            padding: 8px 0; border-bottom: 1px solid var(--steel-4); }
.lastn li.own { font-weight: 600; }
.lastn .res { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.lastn .res b { font-variant-numeric: tabular-nums; font-stretch: 85%; }
.lastn .ch { text-align: right; font-variant-numeric: tabular-nums; font-stretch: 85%; font-weight: 700; }
.lastn .ch.down { color: var(--muted); }

/* The season so far, one line. */
.histsvg { width: 100%; height: auto; display: block; }
.histsvg .hg { stroke: var(--steel-4); stroke-width: 1; }
.histsvg .hl { fill: none; stroke: var(--steel); stroke-width: 2; stroke-linejoin: round; }
.histsvg .hd { fill: var(--steel); }
.histsvg .ht { fill: var(--muted); font-size: 10.5px; font-family: inherit; font-variant-numeric: tabular-nums; }

/* Predictions: each round's chance on a cell shaded by it. */
.pred td.hc { background: color-mix(in srgb, var(--steel) calc(var(--h) * 0.42), transparent);
              min-width: 4.4rem; text-align: right; padding-left: 8px; }
.pred th.num { padding-left: 8px; }
.pred td .dim { font-size: 12.5px; margin-left: 4px; }

/* A team's calendar, under its guide. */
.cal { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.cal a { margin-left: 8px; font-weight: 600; color: var(--ink-2); }

/* Upset picks: the worse seed, its opponent and how often it wins. */
.upsets { list-style: none; margin: 0; padding: 0; }
.upsets li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--steel-4); }
.upsets .sd { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; min-width: 1.3em; text-align: right; }
.upsets b { margin-left: auto; font-variant-numeric: tabular-nums; font-stretch: 85%; }

/* The front page's games: a butterfly per game, each side's gain from
   winning a bar out from the centre, the teams riding on it underneath. */
.bfkey { margin: -4px 0 6px; font-size: 13px; color: var(--muted); }
.stakes li.bf { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "when a bars h" ". fa . fh"; gap: 4px 14px; align-items: center; padding: 11px 0; }
.bf-when { grid-area: when; display: grid; font-size: 13px; color: var(--muted); line-height: 1.3; }
.bf-when time { color: var(--ink-2); font-weight: 600; }
.bf-a { grid-area: a; display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: 8px; min-width: 0; font-weight: 650; }
.bf-h { grid-area: h; display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 650; }
.bf-p { font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; font-stretch: 85%; }
.bf-bars { grid-area: bars; display: grid; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr); align-items: center; }
.bf-l, .bf-r { display: flex; align-items: center; gap: 6px; height: 14px; }
.bf-l { justify-content: flex-end; }
.bf-l i, .bf-r i { display: block; height: 12px; background: var(--steel); min-width: 2px; }
.bf-l i { border-radius: 3px 0 0 3px; }
.bf-r i { border-radius: 0 3px 3px 0; }
.bf-bars b { font-size: 13.5px; font-variant-numeric: tabular-nums; font-stretch: 80%; color: var(--ink-2); }
.bf-at { text-align: center; font-size: 12px; color: var(--muted); }
.bf-fa { grid-area: fa; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.bf-fh { grid-area: fh; display: flex; flex-wrap: wrap; gap: 4px; }
.fan, .mvchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px 2px 4px; border-radius: 999px;
  font-size: 12px; text-decoration: none; color: var(--ink-2); border: 1px solid var(--steel-3); background: var(--paper); }
.fan .lg, .mvchip .lg { width: 14px; height: 14px; }
.fan b, .mvchip b { font-variant-numeric: tabular-nums; font-stretch: 82%; }
.fan:hover, .mvchip:hover { border-color: var(--steel-2); }
.stakes.past li.res { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 6px 20px; align-items: center; padding: 10px 0; }
.rs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; font-weight: 650; min-width: 0; }
.rs .score { font-variant-numeric: tabular-nums; font-stretch: 85%; }
.mvchips { display: flex; flex-wrap: wrap; gap: 5px; }
.mvchip.up { background: color-mix(in srgb, var(--steel) 16%, var(--paper)); border-color: transparent; }
.mvchip.up b { color: var(--ink); }
.mvchip.down b { color: var(--muted); }

/* Biggest moves: yesterday to today on one track, 0 to 100%. */
.mvcol li { grid-template-columns: minmax(0, 1fr) 3.8rem minmax(0, 7rem) 4.6rem; }
.mvt { display: block; height: 10px; }
.mvt i { display: block; height: 100%; border-radius: 0 3px 3px 0; background: var(--steel); min-width: 2px; }
.mvcol.down .mvt i { background: var(--steel-2); }
.mvcol .chg { text-align: right; }
.mvcol .chg.up { color: var(--ink); font-weight: 700; }

/* The hero's shortcut: the poll's top teams. */
.quick { margin-top: 18px; }
.quick > span { font-size: 13px; color: var(--muted); }
.qp { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qp a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--paper);
  border: 1px solid var(--steel-4); transition: transform .12s ease, border-color .12s ease; }
.qp a:hover { border-color: var(--steel-2); transform: translateY(-1px); }

/* The bubble: in on the left, out on the right, the cut line between. */
.ladder { display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem minmax(0, 1fr); align-items: stretch; }
.ladder ol { list-style: none; margin: 0; padding: 0; }
.ladder li { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem 4.4rem; gap: 10px; align-items: center; padding: 6px 0;
  border-bottom: 1px solid var(--steel-4); }
.ladder li.grp { display: block; border: 0; padding: 10px 0 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ladder li.grp:first-child { padding-top: 0; }
.ladder b { text-align: right; font-variant-numeric: tabular-nums; font-stretch: 85%; }
.lb { display: block; height: 8px; }
.lb i { display: block; height: 100%; border-radius: 0 3px 3px 0; background: var(--steel); }
.lout .lb i { background: var(--steel-2); }
.cut { position: relative; display: flex; justify-content: center; }
.cut::before { content: ""; position: absolute; top: 22px; bottom: 0; left: 50%; border-left: 2px dashed var(--steel-2); }
.cut span { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }

@media (max-width: 760px) {
  .stakes li.bf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "when when" "a h" "bars bars" "fa fh"; gap: 6px 12px; }
  .bf-when { display: flex; gap: 8px; }
  .bf-a { flex-direction: row; }
  .bf-h { flex-direction: row-reverse; justify-content: flex-start; }
  .bf-fa { justify-content: flex-start; }
  .bf-fh { justify-content: flex-end; }
  .stakes.past li.res { grid-template-columns: minmax(0, 1fr); }
  .mvcol li { grid-template-columns: minmax(0, 1fr) 3.6rem 3.6rem 4.4rem; }
  .qp a { width: 38px; height: 38px; }
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .cut { height: 30px; align-items: center; }
  .cut::before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 2px dashed var(--steel-2); }
  .cut span { position: relative; background: var(--mist); padding: 0 8px; }
  .ladder li { grid-template-columns: minmax(0, 1fr) 5rem 4.4rem; }
}

/* A conference at a glance: the bids it can expect, big, and who takes its
   automatic bid, a bar split into the contenders' shares in their colours. */
.ccards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.ccard { display: grid; gap: 9px; padding: 14px 16px 13px; border-radius: 12px; background: var(--paper);
  border: 1px solid var(--steel-4); text-decoration: none; color: inherit; transition: border-color .12s ease, transform .12s ease; }
a.ccard:hover { border-color: var(--steel-2); transform: translateY(-1px); }
.cc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cc-n { font-size: 17px; font-weight: 780; font-stretch: 80%; }
.cc-bids { font-size: 13px; color: var(--muted); white-space: nowrap; }
.cc-bids em { font-style: normal; font-size: 26px; font-weight: 820; font-stretch: 68%; color: var(--ink);
  font-variant-numeric: tabular-nums; margin-right: 3px; }
.cc-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--paper); }
.cc-bar i { display: block; min-width: 3px; background: var(--c, var(--steel)); }
.cc-bar i.rest { background: var(--steel-3); }
.cc-lead { display: flex; gap: 14px; font-size: 13px; color: var(--ink-2); }
.cc-lead span { display: inline-flex; align-items: center; gap: 5px; }
.cc-lead b { font-variant-numeric: tabular-nums; font-stretch: 85%; font-weight: 650; }
.ccard.big { margin: 4px 0 30px; padding: 18px 20px; }
.ccard.big .cc-h { justify-content: flex-start; }
.ccard.big .cc-bids em { font-size: 40px; }
.ccard.big .cc-bar { height: 18px; border-radius: 9px; }
.ccard.big .cc-lead { font-size: 14px; gap: 2px; }
.ccard.big .cc-lead span { min-width: 0; overflow: hidden; white-space: nowrap; gap: 5px; }
.ccard.big .cc-lead em { font-style: normal; color: var(--muted); font-size: 13px; }
.ccard.big .cc-lead .rest { justify-content: flex-end; }
.cc-note { margin: 0; font-size: 12.5px; color: var(--muted); }

/* Every team: a bar beside each chance. */
.tc li .tb { display: block; height: 6px; flex: 1; max-width: 90px; margin: 0 8px 0 auto; }
.tc li .tb i { display: block; height: 100%; border-radius: 0 3px 3px 0; background: var(--steel-2); min-width: 1px; }

/* The bubble map: every team in the race at its chance. */
.bmap-wrap { overflow-x: auto; padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); }
.bmap { position: relative; min-width: 900px; margin: 6px 0 0; }
.bm { position: absolute; transform: translateX(-50%); width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; background: var(--paper); border: 1px solid var(--steel-4); margin-bottom: 30px; transition: transform .12s ease; }
.bm:hover { transform: translateX(-50%) scale(1.25); z-index: 2; border-color: var(--steel-2); }
.bm-half { position: absolute; top: 0; bottom: 26px; border-left: 2px dashed var(--steel-3); }
.bm-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; border-top: 1px solid var(--steel-3); }
.bm-axis span { position: absolute; top: 5px; transform: translateX(-50%); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* How it works: one season, as four steps, then the numbers behind it. */
.flow { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: f; }
.flow li { position: relative; display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--steel-4); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 2px; background: var(--steel-2); }
.flow b { font-size: 13px; color: var(--muted); font-weight: 650; }
.flow em { font-style: normal; font-size: 26px; font-weight: 820; font-stretch: 68%; line-height: 1.1; }
.flow span { font-size: 13px; color: var(--ink-2); }
.facts { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.facts li { display: flex; align-items: baseline; gap: 7px; font-size: 13.5px; color: var(--muted); }
.facts b { font-size: 19px; color: var(--ink); font-stretch: 72%; font-weight: 800; }
@media (max-width: 760px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:not(:last-child)::after { display: none; }
  .ccard.big .cc-bids em { font-size: 32px; }
}

/* The title race as one bar, the favourites in their colours. */
.trace { display: flex; height: 26px; border-radius: 8px; overflow: hidden; gap: 2px; }
.trace i { display: block; min-width: 3px; background: var(--c, var(--steel)); }
.trace i.rest { background: var(--steel-3); }
.tkeys { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 22px; }
.tkeys li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--steel-4); font-size: 14px; }
.tkeys b { font-variant-numeric: tabular-nums; font-stretch: 85%; }
.tkeys .rest span { color: var(--muted); }

/* A week of games: each day under its heading. */
.stakes li.dayh { display: block; padding: 18px 0 6px; border: 0; font-size: 15px; font-weight: 780; font-stretch: 82%; color: var(--ink); }
.stakes li.dayh:first-child { padding-top: 4px; }

/* Bracketology: the 1 seeds as tiles in their colours, then each region as
   its eight first games, a pod of two lines joined by a bracket, the top
   half of the region facing the bottom half. */
.ones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0 18px; }
.one1 { display: grid; gap: 3px; padding: 12px 14px 14px; border-radius: var(--radius); background: var(--tc);
        color: var(--team-fg); text-decoration: none; position: relative; overflow: hidden; }
.one1.on-dark { --team-fg: #fff; --team-sub: rgba(255, 255, 255, .82); }
.one1.on-light { --team-fg: #14202a; --team-sub: rgba(20, 32, 42, .8); }
.one1 .o-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.one1 .o-top em { font-style: normal; font-size: 40px; line-height: .8; font-weight: 820; font-stretch: 70%; opacity: .35; }
.one1 b { font-size: 19px; font-weight: 800; font-stretch: 85%; line-height: 1.1; }
.one1 .o-sub { font-size: 13px; color: var(--team-sub); font-variant-numeric: tabular-nums; }
.one1:hover b { text-decoration: underline; }
.bkey { margin: 0 0 12px; }

.brk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; margin: 0 0 36px; }
.rgn-h { display: flex; align-items: center; gap: 8px; padding-bottom: 7px; margin-bottom: 10px; border-bottom: 2px solid var(--ink); }
.rgn-h .pl { padding: 2px; border: 1px solid var(--steel-3); }
.rgn-h h3 { font-size: 17px; font-weight: 780; }
.pods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column;
        grid-template-rows: repeat(4, auto); gap: 8px 30px; }
.pod { list-style: none; margin: 0; padding: 0; position: relative; background: var(--paper);
       border: 1px solid var(--steel-3); border-radius: var(--radius); display: flex; flex-direction: column; }
.pod > li { flex: 1 0 auto; }
.pod::after { content: ""; position: absolute; top: 25%; bottom: 25%; right: -15px; width: 12px;
              border: 2px solid var(--steel-3); border-left: 0; border-radius: 0 5px 5px 0; }
.pod.flip::after { right: auto; left: -15px; border: 2px solid var(--steel-3); border-right: 0; border-radius: 5px 0 0 5px; }
.pod > li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); align-items: center; min-height: 32px; }
.pod > li + li { border-top: 1px solid var(--steel-4); }
.pod .sd { font-weight: 800; font-stretch: 75%; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums;
           font-size: 14px; padding-right: 2px; }
.pt { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px;
      padding: 5px 9px 5px 8px; min-width: 0; box-shadow: inset 3px 0 0 var(--tc); margin-left: 6px; }
.pt a { display: flex; align-items: center; gap: 6px; min-width: 0; text-decoration: none; color: var(--ink); }
.pt a:hover .nm { text-decoration: underline; }
.pt .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.pt b { font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; font-stretch: 85%; }
.duo { display: grid; min-width: 0; }
.duo .pt { padding-top: 3px; padding-bottom: 3px; }
.duo .pt .nm { font-size: 13.5px; }
.duo .pt + .pt { border-top: 1px dashed var(--steel-3); }
.sdmv { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sdmv.up { color: var(--rim-ink); }
.sdmv.dn { color: var(--muted); }

/* Bids by conference: each league a row of its teams' logos. */
.bidrow { list-style: none; margin: 0; padding: 0; }
.bidrow li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 2rem; align-items: center; gap: 10px;
             padding: 6px 0; border-bottom: 1px solid var(--steel-4); }
.bidn { font-weight: 650; text-decoration: none; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bidn:hover { text-decoration: underline; }
.bidlogos { display: flex; flex-wrap: wrap; gap: 4px; }
.bidlogos a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--paper);
              border: 1px solid var(--steel-4); }
.bidrow b { text-align: right; font-size: 20px; font-weight: 800; font-stretch: 75%; font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) {
  .brk { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .one1 b { font-size: 17px; }
  .pods { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
  .pod.flip::after { left: auto; right: -15px; border: 2px solid var(--steel-3); border-left: 0; border-radius: 0 5px 5px 0; }
  .pods .pod { margin-right: 16px; }
  .bidrow li { grid-template-columns: minmax(0, 1fr) 2rem; }
  .bidrow .bidlogos { grid-column: 1 / -1; grid-row: 2; }
}
.lnm { display: flex; align-items: center; gap: 6px; min-width: 0; }

/* Hover, as on the football guide: a team card on every team link, an
   instant tip on anything with a title, and the row under the pointer
   washed. The wash runs 8px past the row by shadow, so nothing moves. */
:root { --hov: color-mix(in srgb, var(--steel-4) 75%, transparent); }
.stakes li.bf, .stakes li.res, .game, .needs-row, .title-odds li, .mvcol li, .ladder li, .tkeys li,
.bidrow li, .recrow, .teams li, .pt { transition: background-color .12s; }
.stakes li.bf:hover, .stakes li.res:hover, .game:hover, .needs-row:hover, .title-odds li:hover, .mvcol li:hover,
.ladder li:not(.grp):hover, .tkeys li:hover, .bidrow li:hover, .recrow:hover, .teams li:hover {
  background: var(--hov); box-shadow: -8px 0 0 var(--hov), 8px 0 0 var(--hov); }
.odds tbody tr:hover td { background: var(--hov); }
.pt:hover { background: var(--hov); }
.trace i, .cc-bar i, .seedbars .sb i { transition: opacity .15s; }
.trace:hover i:not(:hover), .cc-bar:hover i:not(:hover), .seedbars:hover .sb:not(:hover) i { opacity: .45; }
.strip li .pl { transition: transform .15s; }
.strip li:hover .pl { transform: translateY(-2px); }
.bidlogos a { transition: transform .15s, border-color .15s; }
.bidlogos a:hover { transform: translateY(-2px); border-color: var(--steel-2); }
.one1 { transition: transform .15s, box-shadow .15s; }
.one1:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px var(--tc); }
.hxl { stroke: var(--steel-2); stroke-dasharray: 3 3; }
.hxt { font-size: 10.5px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.histsvg { cursor: crosshair; }

.tcard { position: fixed; z-index: 60; width: 300px; max-width: calc(100vw - 16px); background: var(--paper);
         border: 1px solid var(--steel-3); border-radius: 8px; overflow: hidden; pointer-events: none;
         box-shadow: 0 14px 34px -14px rgba(20, 32, 42, .45); font-size: 13px; padding-bottom: 8px; }
.tc-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 9px; border-top: 4px solid var(--tc); }
.tc-head .lg { flex: none; }
.tc-name { display: block; font-size: 16px; font-weight: 800; font-stretch: 88%; line-height: 1.15; }
.tc-rk { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 7px; font-variant-numeric: tabular-nums; font-stretch: 90%; }
.tc-sub { display: block; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tc-note { margin: 0 12px 8px; padding: 5px 8px; border-radius: 5px; background: var(--rim-soft); color: var(--rim-ink);
           font-size: 12.5px; font-weight: 650; }
.tc-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 12px 9px;
           border-bottom: 1px solid var(--steel-4); }
.tc-odds span { display: grid; gap: 1px; min-width: 0; }
.tc-odds b { font-size: 15px; font-weight: 800; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.tc-odds em { font-style: normal; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.tc-odds i { display: block; height: 4px; margin-top: 3px; border-radius: 2px; background: var(--steel-4); overflow: hidden; }
.tc-odds u { display: block; height: 100%; background: var(--steel); }
.tc-none { margin: 0 12px 8px; color: var(--muted); }
.tcard h4 { margin: 8px 12px 2px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.tc-list { list-style: none; margin: 0; padding: 0 12px; }
.tc-list li { display: flex; align-items: center; gap: 7px; padding: 2px 0; white-space: nowrap; }
.tc-r { width: 1em; font-weight: 800; }
.tc-r.l { color: var(--muted); font-weight: 600; }
.tc-s, .tc-d { min-width: 3.4em; font-variant-numeric: tabular-nums; font-stretch: 85%; }
.tc-d { color: var(--muted); }
.tc-at { width: 1.2em; color: var(--muted); font-size: 12px; }
.tc-o { display: flex; align-items: center; gap: 5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tc-p { color: var(--muted); font-variant-numeric: tabular-nums; font-stretch: 85%; }

.ctip { position: fixed; z-index: 61; max-width: 280px; padding: 6px 9px; border-radius: 6px; pointer-events: none;
        background: var(--ink); color: var(--mist); font-size: 12.5px; line-height: 1.35;
        box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: reduce) {
  .one1, .bidlogos a, .strip li .pl, .trace i, .cc-bar i { transition: none; }
}
