:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --ink: #14171c;
  --ink-2: #3d434d;
  --muted: #6d747f;
  --line: #e3e6ea;
  --line-2: #eef0f3;
  --good: #14764a;
  --good-soft: #dcefe4;
  --bad: #a32d1c;
  --bad-soft: #f8dfd9;
  --accent: #1d3f6e;
  --accent-soft: #e6edf6;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .07), 0 12px 28px -12px rgba(16, 24, 40, .12);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --radius: 10px;
  /* the field behind the panels */
  --turf: #2a7048;
  --turf-2: #378f5d;
  --endzone: #245f3e;
  --chalk: rgba(255, 255, 255, .45);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --panel: #171b21;
    --ink: #e9ecef;
    --ink-2: #c2c8d0;
    --muted: #8b939e;
    --line: #262c34;
    --line-2: #1e232a;
    --good: #4ecf94;
    --good-soft: #12352a;
    --bad: #f28f78;
    --bad-soft: #3a201a;
    --accent: #7ba9df;
    --accent-soft: #16222f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 12px 28px -12px rgba(0, 0, 0, .6);
    --turf: #122b1c;
    --turf-2: #1a4028;
    --endzone: #0f2417;
    --chalk: rgba(255, 255, 255, .2);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  /* A field running the height of the screen: an end zone at the top, one at
     the bottom, and eight mown stripes between them. A chalk line falls on
     every other stripe boundary, starting at each goal line. */
  background-color: var(--turf);
  background:
    repeating-linear-gradient(180deg, var(--chalk) 0 2px, transparent 2px 20.8334vh)
      0 8.3333vh / 100% 83.4vh no-repeat fixed,
    linear-gradient(180deg, var(--endzone) 0 8.3333vh, transparent 8.3333vh 91.6667vh,
      var(--endzone) 91.6667vh 100vh) 0 0 / 100% 100vh no-repeat fixed,
    repeating-linear-gradient(180deg, var(--turf) 0 10.4167vh,
      var(--turf-2) 10.4167vh 20.8334vh) 0 8.3333vh / 100% 83.34vh no-repeat fixed,
    linear-gradient(var(--turf), var(--turf)) 0 0 / 100% 100vh no-repeat fixed;
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh;
}
h1 { font-size: 19px; margin: 0; letter-spacing: -.02em; font-weight: 680; }
h2 { font-size: 12px; margin: 0; letter-spacing: .06em; text-transform: uppercase;
     color: var(--muted); font-weight: 700; }
.muted { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* header: one of the photos in static/header, picked on load */
.topbar {
  position: relative; border-bottom: 1px solid var(--line);
  min-height: 108px; padding: 20px 26px; display: flex; gap: 20px;
  align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  background: #10141a center 38% / cover no-repeat;
}
.topbar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(8, 11, 15, .88) 0%,
              rgba(8, 11, 15, .74) 45%, rgba(8, 11, 15, .5) 100%);
}
.topbar > * { position: relative; z-index: 1; }
.topbar h1 { color: #fff; font-size: 24px; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.brand { display: flex; gap: 12px; align-items: center; }
.mark { width: 38px; height: 38px; flex: none; border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.topmeta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 11.5px; color: rgba(255, 255, 255, .82); text-decoration: none;
  background: rgba(12, 16, 22, .55); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px; padding: 3px 11px; backdrop-filter: blur(3px);
}
.chip b { color: #fff; font-weight: 600; }
a.chip:hover { border-color: rgba(255, 255, 255, .55); color: #fff; }

/* controls */
.controlbar {
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 14px 26px 16px; display: flex; gap: 34px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 20; box-shadow: var(--shadow-sm);
}
.group { display: flex; flex-direction: column; gap: 8px; }
.groupfields { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > span, .field > label { font-size: 11px; color: var(--muted); font-weight: 500; }

/* team picker */
.combo { position: relative; }
.combo input { width: 240px; }
.menu {
  position: absolute; top: 100%; left: 0; z-index: 30; margin: 4px 0 0;
  width: 300px; max-height: 360px; overflow-y: auto; padding: 4px;
  list-style: none; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.menu[hidden] { display: none; }
.menu li {
  display: flex; align-items: center; gap: 9px; padding: 7px 9px;
  border-radius: 6px; cursor: pointer; font-size: 14px;
}
.menu li.active { background: var(--accent-soft); }
.menu li[aria-selected="true"] .name { font-weight: 650; }
.menu .name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu .conf { font-size: 12px; color: var(--muted); white-space: nowrap; }
.menu li.none { color: var(--muted); cursor: default; }
@media (max-width: 520px) {
  .combo { flex: 1 1 100%; }
  .combo input { width: 100%; }
  .menu { width: 100%; }
}
.field.narrow input, .field.narrow select { width: 132px; }

input, select, button {
  font: inherit; font-size: 14px; color: inherit; background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px;
  transition: border-color .12s, background .12s, box-shadow .12s;
}
input { min-width: 200px; }
select { min-width: 168px; cursor: pointer; }
input:focus-visible, select:focus-visible, button:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
button { cursor: pointer; background: var(--panel); font-weight: 500; }
button:hover:not(:disabled) { border-color: var(--muted); }
button.primary {
  background: var(--accent); color: #fff; border-color: transparent;
  font-weight: 600; padding: 7px 22px;
}
@media (prefers-color-scheme: dark) { button.primary { color: #0d151f; } }
button.primary:hover:not(:disabled) { filter: brightness(1.08); }
button:disabled { opacity: .5; cursor: progress; }
select.inline { min-width: 200px; padding: 5px 9px; font-size: 13px; }
input.search { min-width: 0; width: 190px; padding: 5px 10px; font-size: 13px; }
/* which bars are which */
.key { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px;
       color: var(--muted); }
.key i { width: 18px; height: 7px; border-radius: 999px; display: inline-block; }
.key i.on { background: var(--good); }
.key i.off { background: #fff; border: 1px solid var(--line); margin-left: 7px; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

/* layout */
main { padding: 26px; max-width: 1240px; margin: 0 auto; width: 100%; flex: 1; }

.banner {
  margin: 0; padding: 11px 26px; font-size: 13.5px;
  background: var(--bad-soft); color: var(--bad);
  border-bottom: 1px solid var(--line);
}
.banner.info { background: var(--accent-soft); color: var(--accent); }

/* what a visitor reads before a team is picked, and what a crawler indexes */
.empty { text-align: center; padding: 30px 26px 34px; color: var(--ink-2);
         background: var(--panel); border: 1px solid var(--line);
         border-radius: var(--radius); box-shadow: var(--shadow); }
.empty h1, .empty h2 { font-size: 22px; text-transform: none; letter-spacing: -.02em;
                       color: var(--ink); margin: 0 0 10px; font-weight: 650; }
.empty h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
            color: var(--muted); font-weight: 700; margin: 22px 0 8px; }
.empty p { max-width: 640px; margin: 0 auto 10px; }
.empty ul { list-style: none; padding: 0; margin: 8px auto 0; max-width: 920px;
            columns: 5 150px; column-gap: 20px; text-align: left; font-size: 13.5px; }
.empty li { padding: 2px 0; break-inside: avoid; }
.empty a { color: var(--ink-2); text-decoration: none; }
.empty a:hover { color: var(--accent); text-decoration: underline; }

.progress { margin-bottom: 22px; }
.progress .bar { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress .bar > div { height: 100%; width: 0; background: var(--accent);
                       transition: width .18s ease-out; }
.progress p { font-size: 12.5px; color: var(--muted); margin: 7px 0 0;
              font-variant-numeric: tabular-nums; }

.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px 20px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: baseline; gap: 16px;
              justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.panel > h2 { margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
         gap: 13px; margin-bottom: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px 17px; box-shadow: var(--shadow);
}
.card.is-primary { border-color: var(--accent);
                   box-shadow: var(--shadow), inset 0 2px 0 var(--accent); }
.card .label { font-size: 11px; color: var(--muted); text-transform: uppercase;
               letter-spacing: .05em; font-weight: 700; }
.card .value { font-size: 29px; font-weight: 650; letter-spacing: -.025em;
               margin: 5px 0 3px; font-variant-numeric: tabular-nums; }

/* scrollbars: thin and out of the way */
* { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line); border-radius: 999px;
  border: 3px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--muted); background-clip: content-box; }

/* tables */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch;
             margin: 0 -4px; padding: 0 4px; }
.tablewrap.tall { max-height: 640px; overflow-y: auto; }
.tablewrap.tall thead th { position: sticky; top: 0; background: var(--panel);
                           padding-top: 4px; z-index: 1; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.games { min-width: 820px; }
th { text-align: left; font-size: 10.5px; text-transform: uppercase;
     letter-spacing: .06em; color: var(--muted); font-weight: 700;
     padding: 0 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--line-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
th .hint { display: block; font-weight: 400; text-transform: none;
           letter-spacing: 0; opacity: .75; margin-top: 2px; }

/* matchup: bold is the team to root for */
.matchup { white-space: nowrap; }
.matchup .side { display: inline-flex; align-items: center; gap: 6px;
                 color: var(--ink-2); font-weight: 400; }
.matchup .side.root { color: var(--ink); font-weight: 700; }
.matchup .side.root.strong { color: var(--good); }
.matchup .at { color: var(--muted); font-size: 12px; margin: 0 9px; }
.matchup .tag { font-size: 10px; color: var(--muted); border: 1px solid var(--line);
                border-radius: 4px; padding: 0 5px; margin-left: 8px; }
.logo { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; flex: none; }
.logo.ph { display: inline-block; border-radius: 50%; background: var(--line); }
.teamcell { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

/* what each result does to the metric */
.outcome { min-width: 96px; }
.outcome .op { font-weight: 600; font-variant-numeric: tabular-nums;
               font-family: var(--mono); font-size: 13px; }
.outcome .od { font-size: 11.5px; font-variant-numeric: tabular-nums;
               font-family: var(--mono); }
.outcome .od.up { color: var(--good); }
.outcome .od.down { color: var(--bad); }
.outcome .od.flat { color: var(--muted); }
.outcome .ol { font-size: 10.5px; color: var(--muted); }
.outcome.good, tbody tr:hover .outcome.good { background: var(--good-soft); }

/* impact: how far the two results are apart, and who it favours */
.swingcell { width: 216px; }
.impact { display: flex; align-items: center; gap: 9px; }
.impact .amt { font-family: var(--mono); font-size: 13.5px; font-weight: 600;
               font-variant-numeric: tabular-nums; min-width: 66px; }
.impact .bar { flex: 1; height: 7px; border-radius: 999px; background: var(--line-2); }
.impact .bar i { display: block; height: 100%; border-radius: 999px;
                 background: var(--good); }
.impact .bar i.dim { background: #fff; border: 1px solid var(--line); }
.swingcell.thin .amt, .swingcell.leaning .amt { color: var(--ink-2); }

/* A narrow screen drops the impact bar, then the column, and only then
   scrolls sideways. */
@media (max-width: 1040px) {
  /* No room for the bar, so the number carries the colour instead. */
  .swingcell { width: 104px; }
  .impact .bar { display: none; }
  .swingcell.clear .amt { color: var(--good); }
  table.games { min-width: 700px; }
}
@media (max-width: 800px) {
  .swingcell { display: none; }
  .key { display: none; }
  table.games { min-width: 540px; }
}

/* confidence grades, used by the sample season */
.sig { display: inline-block; font-size: 10.5px; font-weight: 700;
       letter-spacing: .04em; padding: 2px 8px; border-radius: 999px;
       white-space: nowrap; cursor: help; }
.sig.clear { background: var(--good-soft); color: var(--good); }
.sig.leaning { background: transparent; color: var(--muted);
               border: 1px solid var(--line); font-weight: 600; }
.sig.thin { background: transparent; color: var(--muted); opacity: .75;
            border: 1px dashed var(--line); font-weight: 500; }

/* distributions */
.dist { display: flex; align-items: flex-end; gap: 4px; height: 118px; }
.dist .b { flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
           align-items: center; gap: 4px; height: 100%; }
.dist .b i { display: block; width: 100%; background: var(--accent);
             border-radius: 3px 3px 0 0; min-height: 1px; opacity: .55; }
.dist .b span { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dist .b.hi i { background: var(--good); opacity: 1; }

/* footers */
.foot { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.sitefoot {
  border-top: 1px solid var(--line); padding: 14px 26px; display: flex;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted); background: var(--panel);
}
.sitefoot a { color: var(--accent); text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }

/* tabs */
.tabs {
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 0 20px; display: flex; gap: 2px;
}
.tabs[hidden] { display: none; }
.tab {
  background: none; border: none; border-bottom: 2px solid transparent;
  border-radius: 0; padding: 10px 12px 9px; color: var(--muted); font-weight: 600;
}
.tab:hover:not(:disabled) { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--accent); }
body.season .guideonly { display: none; }

/* sample season: player */
.player { padding-bottom: 16px; }
.playerhead { display: flex; justify-content: space-between; align-items: flex-start;
              gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.playerhead .sub { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.playerbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.playerbar button:not(.primary) { width: 38px; padding: 7px 0; font-size: 17px; line-height: 1; }
.playerbar button.primary { min-width: 88px; }
.playerbar input[type="range"] { flex: 1 1 200px; min-width: 140px; padding: 0;
                                 border: none; background: none; accent-color: var(--accent); }
.stagelabel { font-weight: 650; min-width: 190px; font-variant-numeric: tabular-nums; }
.progress .bar > .indeterminate {
  width: 30%; animation: slide 1.1s ease-in-out infinite;
}
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

.cards .detail { font-size: 12px; color: var(--muted); white-space: nowrap;
                 overflow: hidden; text-overflow: ellipsis; }
.cards .value .logo { width: 26px; height: 26px; vertical-align: -4px; }

/* your team's season */
.mine .minehead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
                  margin-bottom: 10px; }
.mine .minestatus { margin-left: auto; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.reslist { display: flex; flex-wrap: wrap; gap: 6px; }
.res { font-size: 12px; font-variant-numeric: tabular-nums; padding: 3px 9px;
       border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.res.w { background: var(--good-soft); color: var(--good); border-color: transparent; }
.res.l { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.res.sim { border-style: dashed; border-color: currentColor; }

.seasongrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px;
              align-items: start; }
@media (max-width: 1000px) { .seasongrid { grid-template-columns: minmax(0, 1fr); } }

/* scoreboard */
.gamegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
            gap: 10px; }
.gt { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px 7px;
      background: var(--bg); }
.gt.mine { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.gt-row { display: flex; align-items: center; gap: 7px; padding: 2px 0;
          color: var(--ink-2); font-size: 13.5px; }
.gt-row.win { color: var(--ink); font-weight: 650; }
.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: 11px; color: var(--muted); font-weight: 400;
          font-variant-numeric: tabular-nums; }
.gt-pts { min-width: 24px; text-align: right; font-variant-numeric: tabular-nums;
          font-family: var(--mono); font-size: 14px; }
.gt-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
           margin-top: 5px; font-size: 11px; color: var(--muted); }
.chipmini { font-size: 10px; font-weight: 600; padding: 0 6px; border-radius: 4px;
            border: 1px dashed var(--line); }
.chipmini.real { border-style: solid; }
.chipmini.upset { border: none; background: var(--accent-soft); color: var(--accent); }

/* selection */
.twocol { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 760px) { .twocol { grid-template-columns: minmax(0, 1fr); } }
.subhead { font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
           color: var(--muted); margin: 0 0 8px; font-weight: 700; }
tr.mine td { background: var(--accent-soft); }
.seedchip { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 7px;
            border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2);
            margin-left: 4px; }
.seedchip.bye { background: var(--good-soft); color: var(--good); border-color: transparent; }

/* bracket */
.bracket { display: grid; grid-template-columns: repeat(4, minmax(142px, 1fr));
           gap: 16px; overflow-x: auto; padding-bottom: 2px; }
.bcol { display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
.bcol .subhead { text-align: center; margin: 0 0 1px; font-size: 10px; }
.bgame {
  position: relative; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; background: var(--panel);
}
/* the line through to the next round */
.bgame::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 16px;
  height: 1px; background: var(--line);
}
.bcol:last-child .bgame::after { display: none; }
.bgame.tbd { opacity: .4; border-style: dashed; }
.bgame.waiting { border-style: dashed; }
.bgame.tbd .bteam, .bgame.waiting .bteam:empty { height: 27px; }
.bgame.final { border-color: var(--good); }
.bteam { display: flex; align-items: center; gap: 6px; padding: 4px 7px; font-size: 12.5px;
         color: var(--ink-2); }
.bteam + .bteam { border-top: 1px solid var(--line-2); }
.bteam.win { color: var(--ink); font-weight: 650; background: var(--good-soft); }
.bteam.mine { box-shadow: inset 3px 0 0 var(--accent); }
.bseed { width: 15px; font-size: 10px; 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-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.champion { display: flex; align-items: center; gap: 12px; padding: 10px 14px;
            margin-bottom: 14px; border-radius: var(--radius);
            border: 1px solid var(--good); background: var(--good-soft); }
.champion .logo { width: 34px; height: 34px; }
.champion .label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
                   font-weight: 700; color: var(--good); }
.champion .cname { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
@media (max-width: 820px) { .bracket { grid-template-columns: repeat(4, 142px); } }

/* standings */
table.standings td { padding: 6px 8px; }
table.standings th { padding: 0 8px 6px; }

/* clickable teams, and the card shown on hover */
[data-team] { cursor: pointer; }
.matchup .side[data-team]:hover, .teamcell[data-team]:hover, .gt-row[data-team]:hover .gt-name,
.bteam[data-team]:hover .bname { text-decoration: underline; text-underline-offset: 3px; }
.fpi { font-size: 11px; font-weight: 500; color: var(--muted); font-family: var(--mono);
       font-variant-numeric: tabular-nums; margin-left: 6px; white-space: nowrap; }
.teamtip {
  /* As wide as its contents need, so nothing inside it wraps. */
  position: fixed; z-index: 50; width: max-content; max-width: 92vw;
  max-height: 70vh; overflow-y: auto; white-space: nowrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px 14px; pointer-events: none; font-size: 13px;
}
.teamtip[hidden] { display: none; }
.tiphead { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.tipname { font-weight: 650; }
.teamtip td, .teamtip th, .teamtip p, .teamtip div { white-space: nowrap; }
.tipsub { font-size: 12px; color: var(--muted); }
.tiptable td { padding: 3px 5px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.tiptable tr:hover td { background: none; }
.tiptable .wl { font-weight: 700; }
.tiptable .wl.w { color: var(--good); }
.tiptable .wl.l { color: var(--bad); }
.tiptable .teamcell { gap: 6px; }
.tiptable .logo { width: 14px; height: 14px; }
.tipnone, .tipfoot { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
@media (hover: none) { .teamtip { display: none; } }
.playeropts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
         color: var(--ink-2); cursor: pointer; }
.check[hidden] { display: none; }
.check input { min-width: 0; width: 16px; height: 16px; margin: 0; padding: 0;
               accent-color: var(--accent); }

/* rank next to a team's name: a number, out of the way */
.rk { font-size: 11px; font-weight: 400; color: var(--muted); margin-right: 2px;
      font-variant-numeric: tabular-nums; }
.headfields { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.headfields select[hidden] { display: none; }
.mv { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mv.up { color: var(--good); }
.mv.down { color: var(--bad); }
.mv.flat { color: var(--muted); font-weight: 400; }
.mv.new { color: var(--accent); font-size: 10px; letter-spacing: .02em; }
.tiprank { font-size: 11.5px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.matchup .side .rk { margin-right: 1px; }
.matchup .side { gap: 5px; }
.dropped { margin: 8px 2px 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.dropped span { white-space: nowrap; }
.tiphead2 { margin: 9px 0 3px; font-size: 10.5px; text-transform: uppercase;
            letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.tiptable.next td { border-bottom: none; padding: 2px 5px; }
