/* ============================================================
   ShotPropz v2 — Dashboard  [spz_hub]  (0.78.0)
   The tools (Pro and free), Edges and streaks (three Pro tables, or their counts),
   Last 5 games. Loaded by the Dashboard only. The site's dark theme turns every
   link in #main its link green and every p its body grey (spz-dark-mode.css), so
   text here sits in spans and divs with colours of its own, and names stay links.
   ============================================================ */
.spz-hub {
  --hub-ink: #1e293b;
  --hub-text: #334155;
  --hub-muted: #5f6b7a;
  --hub-line: #e2e8f0;
  --hub-surface: #ffffff;
  --hub-soft: #f5f7f6;
  --hub-link: #00813a;   /* (0.81.0: one link green with Model vs Book, Trends and Tonight) */
  --hub-over: #086b32;
  --hub-over-bg: rgba(0, 145, 61, .12);
  --hub-under: #2458d6;
  --hub-under-bg: rgba(36, 88, 214, .12);
  font-family: var(--gl-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--hub-text);
}
[data-spz-theme="dark"] .spz-hub {
  --hub-ink: #f1f5f9;
  --hub-text: #e2e8f0;
  --hub-muted: #94a3b8;
  --hub-line: #334155;
  --hub-surface: #1a2332;
  --hub-soft: #0f172a;
  --hub-link: #22c55e;   /* (the site's link green in dark: spz-dark-mode.css gives every link in #main this one) */
  --hub-over: #5fd08e;
  --hub-over-bg: rgba(95, 208, 142, .16);
  --hub-under: #8fb0ff;
  --hub-under-bg: rgba(143, 176, 255, .16);
}

/* ── Sections ───────────────────────────────────────────── */
.spz-hub .spz-hub-section { margin: 0 0 32px; }
.spz-hub .spz-hub-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hub-ink);
}
.spz-hub .spz-hub-lede { margin: -6px 0 14px; font-size: 13.5px; line-height: 1.45; color: var(--hub-muted); }

/* ── Upcoming games (0.80.0): one day at a time, the arrows to the days either side ─────── */
.spz-hub .spz-hub-up-bar { display: flex; align-items: stretch; gap: 8px; }
.spz-hub .spz-hub-up-days { flex: 1 1 auto; min-width: 0; }
.spz-hub .spz-hub-up-day { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.spz-hub .spz-hub-up-day[hidden] { display: none; }
.spz-hub button.spz-hub-up-nav {
  flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0;
  border: 1px solid var(--hub-line); border-radius: 10px; background: var(--hub-surface); color: var(--hub-ink); cursor: pointer; box-shadow: none;
}
.spz-hub button.spz-hub-up-nav[hidden] { display: none; }
.spz-hub button.spz-hub-up-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.spz-hub button.spz-hub-up-nav:hover:not(:disabled) { border-color: var(--spz-brand, #00913d); background: var(--hub-surface); color: var(--hub-ink); }
.spz-hub button.spz-hub-up-nav:disabled { opacity: .35; cursor: default; }
.spz-hub button.spz-hub-up-nav:focus-visible { outline: 2px solid var(--spz-brand, #00913d); outline-offset: 2px; }
.spz-hub .spz-hub-up-date {
  flex: 0 0 82px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 10px;
  border-radius: 10px; background: var(--hub-soft); border: 1px solid var(--hub-line);
}
.spz-hub .spz-hub-up-date b { font-size: 14px; font-weight: 800; line-height: 1.2; color: var(--hub-ink); }
.spz-hub .spz-hub-up-date span { font-size: 13px; font-weight: 600; color: var(--hub-text); }
.spz-hub .spz-hub-up-date small { font-size: 11.5px; color: var(--hub-muted); }
.spz-hub ul.spz-hub-up-tiles {
  flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none;
}
/* (0.81.0: no scrollbar; on a computer the arrows page through the games, and a game cut off at an edge fades out) */
.spz-hub ul.spz-hub-up-tiles::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* (the fade covers what shows of the cut-off game, 36px at most: the script sets --up-fade-l / -r, so a whole game beside a sliver
   isn't faded) */
.spz-hub ul.spz-hub-up-tiles.is-more-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--up-fade-r, 36px)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--up-fade-r, 36px)), transparent); }
.spz-hub ul.spz-hub-up-tiles.is-more-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--up-fade-l, 36px)); mask-image: linear-gradient(to right, transparent, #000 var(--up-fade-l, 36px)); }
.spz-hub ul.spz-hub-up-tiles.is-more-l.is-more-r {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--up-fade-l, 36px), #000 calc(100% - var(--up-fade-r, 36px)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--up-fade-l, 36px), #000 calc(100% - var(--up-fade-r, 36px)), transparent);
}
.spz-hub ul.spz-hub-up-tiles > li { flex: 0 0 auto; margin: 0; padding: 0; list-style: none; scroll-snap-align: start; }
.spz-hub ul.spz-hub-up-tiles > li::before, .spz-hub ul.spz-hub-up-tiles > li::marker { content: none; }
.spz-hub .spz-hub-up-tile {
  display: flex; flex-direction: column; gap: 5px; box-sizing: border-box; width: 176px; height: 100%; padding: 8px 10px 9px;   /* (0.81.1: 176, room for the regular chip beside a full season's record) */
  border: 1px solid var(--hub-line); border-radius: 10px; background: var(--hub-surface); color: var(--hub-text);
  text-decoration: none !important; transition: border-color .15s ease;
}
.spz-hub a.spz-hub-up-tile:hover { border-color: var(--spz-brand, #00913d); }
.spz-hub a.spz-hub-up-tile:focus-visible { outline: 2px solid var(--spz-brand, #00913d); outline-offset: -2px; }   /* (inside the tile: the strip scrolls, so a ring outside it is cut off at its edges) */
.spz-hub .spz-hub-up-time { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--hub-muted); font-variant-numeric: tabular-nums; }
.spz-hub .spz-hub-up-time i { font-style: normal; font-weight: 600; }
.spz-hub .spz-hub-up-team { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; line-height: 1.2; }
.spz-hub .spz-hub-up-team .spz-team-chip { min-width: 52px; }   /* (0.80.1: the team's chip in place of a logo, one width so the codes line up; 0.81.1: the regular chip) */
.spz-hub .spz-hub-up-team small { font-size: 11.5px; color: var(--hub-muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spz-hub .spz-hub-up-team em {
  grid-column: 3; font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 999px;
  background: var(--hub-soft); color: var(--hub-muted); font-variant-numeric: tabular-nums;
}
.spz-hub .spz-hub-up-team em.is-fav { background: var(--hub-over-bg); color: var(--hub-over); }
/* (0.80.1: a navy or black chip keeps its edge on the dark tile: 0.81.1, every dark page's chips, in spz-foundation.css) */

/* ── Tools ──────────────────────────────────────────────── */
.spz-hub .spz-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}
.spz-hub .spz-tool-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--hub-line);
  background: var(--hub-surface);
  text-decoration: none !important;
  box-shadow: none;
}
.spz-hub .spz-tool-card:hover { border-color: var(--spz-brand, #00913d); }
.spz-hub .spz-tool-card-icon {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 145, 61, .1);
  color: var(--spz-brand, #00913d);
}
.spz-hub .spz-tool-card-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.spz-hub .spz-tool-card-title { font-size: 14.5px; font-weight: 800; line-height: 1.3; color: var(--hub-ink); }
.spz-hub .spz-tool-card-desc { font-size: 12.5px; line-height: 1.4; color: var(--hub-muted); }
.spz-hub .spz-tool-card-lock { display: inline-flex; margin-left: 6px; vertical-align: -1px; color: var(--hub-muted); }
.spz-hub .spz-tool-card.is-unconfigured { border-style: dashed; opacity: .75; }
.spz-hub .spz-tool-card-admin-note {
  align-self: flex-start;
  margin-top: 4px;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  background: #fffbeb;
}
[data-spz-theme="dark"] .spz-hub .spz-tool-card-icon { background: rgba(52, 211, 153, .12); color: #34d399; }
[data-spz-theme="dark"] .spz-hub .spz-tool-card-admin-note { background: #422006; color: #fbbf24; }

/* ── Panels and tables ──────────────────────────────────── */
.spz-hub .spz-hub-boardgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
/* (0.81.0: Streaks and Last 5 games side by side too, as the two tables above them) */
.spz-hub .spz-hub-boardgrid > .spz-hub-last5 { display: flex; min-width: 0; }
.spz-hub .spz-hub-boardgrid > .spz-hub-last5 > .spz-hub-panel { flex: 1 1 auto; }
/* Streaks in half the page (or any box too narrow for its eight columns): his run, last 5 and L10 stay in columns; the line,
   price and how rare go to the line under his name, as on a phone */
.spz-hub .spz-hub-runs { container: spz-hub-runs / inline-size; }
@container spz-hub-runs (max-width: 720px) {
  .spz-hub .spz-hub-runs .spz-hub-table .spz-hub-d:not(.spz-hub-k) { display: none; }
  .spz-hub .spz-hub-runs .spz-hub-m { display: block; margin-top: 2px; }
}
/* (0.81.1: the two edges tables, side by side on a narrower computer screen, with the regular chips: under 490px of room they take
   the phone's columns, the prop and price under each name, rather than scroll sideways) */
.spz-hub .spz-hub-props, .spz-hub .spz-hub-teams { container: spz-hub-edges / inline-size; }
@container spz-hub-edges (max-width: 490px) {
  .spz-hub .spz-hub-props .spz-hub-table .spz-hub-d, .spz-hub .spz-hub-teams .spz-hub-table .spz-hub-d { display: none; }
  .spz-hub .spz-hub-props .spz-hub-m, .spz-hub .spz-hub-teams .spz-hub-m { display: block; margin-top: 2px; }
  .spz-hub .spz-hub-props .spz-hub-m + .spz-form-check { margin-left: 0; margin-top: 3px; }
}
.spz-hub .spz-hub-board { container-type: inline-size; }
/* One table a row on a narrower screen; inside a narrow content column too, where the browser can tell (container queries) */
@media (max-width: 1000px) {
  .spz-hub .spz-hub-boardgrid { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 1000px) {
  .spz-hub .spz-hub-boardgrid { grid-template-columns: minmax(0, 1fr); }
}
.spz-hub .spz-hub-panel {
  min-width: 0;
  padding: 14px 16px 8px;
  border: 1px solid var(--hub-line);
  border-radius: 12px;
  background: var(--hub-surface);
  overflow-x: auto;
  display: flex;
  flex-direction: column;
}
.spz-hub .spz-hub-panel > table { flex: 0 0 auto; }
.spz-hub .spz-hub-foot { margin-top: auto; }
.spz-hub .spz-hub-panel-head h3 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hub-ink);
}
.spz-hub .spz-hub-sub { margin: 2px 0 8px; font-size: 12.5px; line-height: 1.4; color: var(--hub-muted); }
.spz-hub .spz-hub-panel-head .spz-hub-title.spz-hub-paneltitle { margin: 0; font-size: 16px; }   /* (0.80.0: Last 5 games' title, inside its box like the tables') */

.spz-hub table.spz-hub-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
  font-size: 13.5px;
}
.spz-hub .spz-hub-table th {
  padding: 6px 7px;
  border: 0;
  border-bottom: 1px solid var(--hub-line);
  background: transparent;
  font-size: 11.5px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--hub-muted);
}
.spz-hub .spz-hub-table td {
  padding: 8px 7px;
  border: 0;
  border-bottom: 1px solid var(--hub-line);
  background: transparent;
  vertical-align: middle;
  color: var(--hub-text);
}
.spz-hub .spz-hub-table tbody tr:last-child td { border-bottom: 0; }
/* The two wide tables: the player takes the room, the numbers sit together on the right */
.spz-hub .spz-hub-runs .spz-hub-table th:not(:first-child),
.spz-hub .spz-hub-runs .spz-hub-table td:not(:first-child),
.spz-hub .spz-hub-l5 th:not(.spz-hub-rank):not(:nth-child(2)),
.spz-hub .spz-hub-l5 td:not(.spz-hub-rank):not(:nth-child(2)) { width: 1%; padding-left: 16px; white-space: nowrap; }
.spz-hub .spz-hub-table .spz-hub-n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spz-hub .spz-hub-table td.spz-hub-prop,
.spz-hub .spz-hub-table td.spz-hub-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.spz-hub .spz-hub-table td.spz-hub-prop small { display: block; font-size: 11.5px; color: var(--hub-muted); }

.spz-hub .spz-hub-whobox { display: flex; align-items: center; gap: 8px; min-width: 0; }
.spz-hub .spz-hub-whobox.is-game { flex-direction: column; align-items: flex-start; gap: 3px; }
.spz-hub .spz-hub-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.spz-hub .spz-hub-name a,
.spz-hub .spz-hub-name b { font-weight: 700; color: var(--hub-link); text-decoration: none; }
.spz-hub .spz-hub-name b { color: var(--hub-ink); }
.spz-hub .spz-hub-name a:hover,
.spz-hub .spz-hub-name a:focus-visible { text-decoration: underline; }
.spz-hub .spz-hub-name small { font-size: 12px; color: var(--hub-muted); }
.spz-hub .spz-hub-name .spz-hub-few { display: block; font-size: 12px; color: var(--hub-muted); }
.spz-hub .spz-hub-m { display: none; }
.spz-hub .spz-hub-game { display: inline-flex; align-items: center; gap: 4px; text-decoration: none !important; white-space: nowrap; }   /* (0.80.0: !important, the theme underlines links) */
/* 0.80.0: his photo where the team chip was, the chip after his name; no photo to be had: the chip takes the photo's place */
.spz-hub .spz-hub-face {
  flex: 0 0 auto; position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;   /* (0.81.1: 32px with its edge, whatever the theme's box-sizing) */
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--hub-soft); border: 1px solid var(--hub-line);
}
.spz-hub .spz-hub-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spz-hub .spz-hub-face .spz-hub-face-chip { display: none; }
.spz-hub .spz-hub-face.is-chip { width: auto; height: auto; border: 0; border-radius: 0; background: none; overflow: visible; }
.spz-hub .spz-hub-face.is-chip img { display: none; }
.spz-hub .spz-hub-face.is-chip .spz-hub-face-chip { display: inline-flex; }
/* (0.81.1: the regular chip is wider than a photo: where a table has a player without one, every photo there sits in the chip's
   52px, centred, so the names still line up) */
.spz-hub .spz-hub-face.is-chip { min-width: 52px; justify-content: center; }
.spz-hub .spz-hub-table:has(.spz-hub-face.is-chip) .spz-hub-face:not(.is-chip) { margin-left: 10px; margin-right: 10px; }
.spz-hub .spz-hub-nameline { display: flex; align-items: center; gap: 6px; min-width: 0; }
.spz-hub .spz-hub-chipafter { display: inline-flex; flex: 0 0 auto; }
.spz-hub .spz-hub-face.is-chip + .spz-hub-name .spz-hub-chipafter { display: none; }
.spz-hub .spz-hub-at { font-size: 12px; font-weight: 700; color: var(--hub-muted); }

/* (0.81.1: the team chip is drawn in spz-foundation.css, the regular one, as on every page) */

/* O / U, as Model vs Book and Trends write them */
.spz-hub .spz-hub-side { display: inline-block; min-width: 16px; padding: 0 3px; border-radius: 4px; font-size: 11px; font-weight: 800; line-height: 16px; text-align: center; }
.spz-hub .spz-hub-side.over  { color: var(--hub-over); background: var(--hub-over-bg); }
.spz-hub .spz-hub-side.under { color: var(--hub-under); background: var(--hub-under-bg); }
.spz-hub .spz-hub-book { font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--hub-muted); }   /* (0.81.0: as Model vs Book, Trends and Tonight write the book) */
.spz-hub .spz-hub-flag { margin-left: 1px; font-weight: 800; color: var(--hub-muted); cursor: help; }
/* Form check (0.79.0, as on Model vs Book): his last 10 and 20 games came in far less often than the model expects */
.spz-hub .spz-form-check { display: inline-block; margin: -2px 0 -2px 6px; padding: 0 6px; border: 1px solid #94a3b8; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  line-height: 14px; letter-spacing: .01em; color: #475569; white-space: nowrap; vertical-align: 1px; cursor: help; }
[data-spz-theme="dark"] .spz-hub .spz-form-check { color: #cbd5e1; border-color: #64748b; }

/* Edge pills: the shades Model vs Book uses (deeper from 5 and from 10 percentage points) */
.spz-hub .spz-hub-pill {
  display: inline-block;
  min-width: 58px;
  padding: 2px 8px;   /* (0.81.0: 22px tall, as on Tonight and Model vs Book) */
  border: 1px solid;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  font-variant-numeric: tabular-nums;
  cursor: help;
}
.spz-hub .spz-hub-pill.over  { color: #086b32; border-color: rgba(0, 145, 61, .30); }
.spz-hub .spz-hub-pill.under { color: #2458d6; border-color: rgba(36, 88, 214, .30); }
.spz-hub .spz-hub-pill.team  { color: #334155; border-color: rgba(51, 65, 85, .30); }
.spz-hub .spz-hub-pill.over.is-mid  { background: rgba(0, 145, 61, .06); }
.spz-hub .spz-hub-pill.under.is-mid { background: rgba(36, 88, 214, .06); }
.spz-hub .spz-hub-pill.team.is-mid  { background: rgba(51, 65, 85, .06); }
.spz-hub .spz-hub-pill.over.is-big  { background: rgba(0, 145, 61, .12); border-color: rgba(0, 145, 61, .50); }
.spz-hub .spz-hub-pill.under.is-big { background: rgba(36, 88, 214, .12); border-color: rgba(36, 88, 214, .50); }
.spz-hub .spz-hub-pill.team.is-big  { background: rgba(51, 65, 85, .12); border-color: rgba(51, 65, 85, .50); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.over  { color: #5fd08e; border-color: rgba(95, 208, 142, .35); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.under { color: #8fb0ff; border-color: rgba(143, 176, 255, .35); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.team  { color: #cbd5e1; border-color: rgba(203, 213, 225, .35); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.over.is-mid  { background: rgba(95, 208, 142, .07); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.under.is-mid { background: rgba(143, 176, 255, .07); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.team.is-mid  { background: rgba(203, 213, 225, .07); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.over.is-big  { background: rgba(95, 208, 142, .14); border-color: rgba(95, 208, 142, .55); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.under.is-big { background: rgba(143, 176, 255, .14); border-color: rgba(143, 176, 255, .55); }
[data-spz-theme="dark"] .spz-hub .spz-hub-pill.team.is-big  { background: rgba(203, 213, 225, .14); border-color: rgba(203, 213, 225, .55); }

/* Streaks: the run, his last 5 at the line (green = over), how rare */
.spz-hub .spz-hub-run { font-size: 12.5px; white-space: nowrap; color: var(--hub-muted); cursor: help; }
.spz-hub .spz-hub-run b { font-size: 15px; font-weight: 800; color: var(--hub-ink); }
.spz-hub .spz-hub-rare { font-weight: 700; white-space: nowrap; color: var(--hub-ink); cursor: help; }
.spz-hub .spz-hub-rare-m { white-space: nowrap; cursor: help; }   /* (0.81.0: "a 1 in 279 run" wraps as one) */
.spz-hub .spz-hub-pr { white-space: nowrap; }   /* (0.81.0: "DK -107" stays on one line) */
.spz-hub .spz-hub-l10 { cursor: help; }
/* (0.81.0: his last 5 drawn as Last 5 games draws its squares, below: over the line = the green of 2 points there, under = grey) */
.spz-hub .spz-hub-last { display: inline-flex; gap: 4px; vertical-align: middle; cursor: help; }

.spz-hub .spz-hub-none { padding: 14px 0 12px; font-size: 13.5px; line-height: 1.45; color: var(--hub-muted); }
.spz-hub .spz-hub-foot { padding: 8px 0 4px; border-top: 1px solid var(--hub-line); }
.spz-hub a.spz-hub-more { font-size: 13px; font-weight: 700; color: var(--hub-link); text-decoration: none; }
.spz-hub a.spz-hub-more:hover,
.spz-hub a.spz-hub-more:focus-visible { text-decoration: underline; }
.spz-hub .spz-hub-note { padding: 8px 0 4px; font-size: 12px; line-height: 1.4; color: var(--hub-muted); }

/* ── Last 5 games: each game's points as a square, deeper green for more ── */
.spz-hub .spz-hub-l5 td.spz-hub-rank,
.spz-hub .spz-hub-l5 th.spz-hub-rank { width: 22px; padding-right: 0; font-size: 12px; font-weight: 700; color: var(--hub-muted); font-variant-numeric: tabular-nums; }
.spz-hub .spz-hub-l5 .spz-hub-p { font-weight: 800; color: var(--hub-ink); }
.spz-hub .spz-hub-strip { display: inline-flex; gap: 4px; vertical-align: middle; }
.spz-hub .spz-hub-gm { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; width: 30px; cursor: help; }
.spz-hub .spz-hub-gm em { font-size: 10px; font-style: normal; font-weight: 600; line-height: 1.1; white-space: nowrap; color: var(--hub-muted); }
.spz-hub .spz-hub-m .spz-hub-gm { width: auto; }
.spz-hub .spz-hub-m .spz-hub-gm em { display: none; }
.spz-hub .spz-hub-strip i,
.spz-hub .spz-hub-last i {
  box-sizing: border-box;
  min-width: 24px;
  height: 22px;
  padding: 0 3px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.spz-hub .spz-hub-strip i.p0,
.spz-hub .spz-hub-last i.is-under { color: var(--hub-muted); background: var(--hub-soft); border-color: var(--hub-line); }
.spz-hub .spz-hub-strip i.p1 { color: #086b32; background: rgba(0, 145, 61, .14); }
.spz-hub .spz-hub-strip i.p2,
.spz-hub .spz-hub-last i.is-over { color: #064d24; background: rgba(0, 145, 61, .32); }
.spz-hub .spz-hub-strip i.p3 { color: #ffffff; background: #00813a; }
[data-spz-theme="dark"] .spz-hub .spz-hub-strip i.p1 { color: #5fd08e; background: rgba(95, 208, 142, .16); }
[data-spz-theme="dark"] .spz-hub .spz-hub-strip i.p2,
[data-spz-theme="dark"] .spz-hub .spz-hub-last i.is-over { color: #ecfdf5; background: rgba(95, 208, 142, .36); }
[data-spz-theme="dark"] .spz-hub .spz-hub-strip i.p3 { color: #052e16; background: #34d399; }

/* ── Without Pro: the counts and the way in ─────────────── */
.spz-hub .spz-hub-locked { padding: 16px; overflow: visible; }
.spz-hub .spz-hub-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.spz-hub .spz-hub-count { padding: 12px 14px; border: 1px solid var(--hub-line); border-radius: 10px; background: var(--hub-soft); }
.spz-hub .spz-hub-count b { display: block; font-size: 28px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--hub-ink); }
.spz-hub .spz-hub-count span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--hub-muted); }
.spz-hub .spz-hub-locked-text { margin: 14px 0 12px; font-size: 14px; line-height: 1.5; color: var(--hub-text); }
.spz-hub .spz-hub-counts + .spz-hub-locked-text { margin-top: 14px; }
.spz-hub .spz-hub-locked > .spz-hub-locked-text:first-child { margin-top: 0; }
.spz-hub .spz-hub-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.spz-hub .spz-hub-cta form { margin: 0; }
.spz-hub .spz-hub-cta .spz-paywall-cta { margin: 0; }
.spz-hub .spz-hub-cta a.spz-paywall-alt { font-size: 13px; font-weight: 700; color: var(--hub-link); text-decoration: underline; }
[data-spz-theme="dark"] #main .spz-hub .spz-hub-cta a.spz-paywall-alt:not(.awb-menu__main-a):not(.awb-menu__sub-a) { color: #cbd5e1 !important; }

/* ── Phones ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .spz-hub .spz-hub-section { margin-bottom: 26px; }
  .spz-hub .spz-hub-title { font-size: 17px; }
  .spz-hub .spz-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .spz-hub .spz-tool-card { align-items: center; gap: 8px; padding: 10px; }
  .spz-hub .spz-tool-card-icon { flex-basis: 30px; height: 30px; }
  .spz-hub .spz-tool-card-title { font-size: 13px; }
  .spz-hub .spz-tool-card-desc { display: none; }
  .spz-hub .spz-hub-panel { padding: 12px 12px 6px; }
  .spz-hub .spz-hub-table .spz-hub-d { display: none; }
  .spz-hub .spz-hub-m { display: block; margin-top: 2px; }
  .spz-hub small.spz-hub-m { margin-top: 4px; }
  .spz-hub .spz-hub-m + .spz-form-check { margin-left: 0; margin-top: 3px; }   /* (on its own line under the prop and price) */
  .spz-hub .spz-hub-runs .spz-hub-table td:not(:first-child),
  .spz-hub .spz-hub-runs .spz-hub-table th:not(:first-child),
  .spz-hub .spz-hub-l5 td:not(.spz-hub-rank):not(:nth-child(2)),
  .spz-hub .spz-hub-l5 th:not(.spz-hub-rank):not(:nth-child(2)) { padding-left: 8px; }
  .spz-hub .spz-hub-l5 td.spz-hub-rank,
  .spz-hub .spz-hub-l5 th.spz-hub-rank { display: none; }
  .spz-hub .spz-hub-table td { padding: 8px 5px; }
  .spz-hub .spz-hub-table th { padding: 6px 5px; }
  .spz-hub .spz-hub-counts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .spz-hub .spz-hub-count { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
  .spz-hub .spz-hub-count b { flex: 0 0 auto; min-width: 2ch; font-size: 24px; }
  .spz-hub .spz-hub-count span { margin-top: 0; }
  /* the day on one line between the arrows, its games the full width under it */
  .spz-hub .spz-hub-up-bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; grid-template-areas: "prev date next" "tiles tiles tiles"; gap: 8px 6px; }
  .spz-hub .spz-hub-up-days, .spz-hub .spz-hub-up-day:not([hidden]) { display: contents; }
  .spz-hub button.spz-hub-up-nav.is-prev { grid-area: prev; min-height: 34px; }
  .spz-hub button.spz-hub-up-nav.is-next { grid-area: next; min-height: 34px; }
  .spz-hub .spz-hub-up-date { grid-area: date; grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: center; gap: 6px; padding: 7px 10px; }
  .spz-hub .spz-hub-up-bar:has(> button.spz-hub-up-nav:not([hidden])) .spz-hub-up-date { grid-column: date; }
  .spz-hub .spz-hub-up-date small::before { content: "\00b7"; margin-right: 6px; }
  .spz-hub ul.spz-hub-up-tiles { grid-area: tiles; }
  .spz-hub .spz-hub-up-tile { width: 152px; padding-left: 8px; padding-right: 8px; }   /* (152: the next tile still peeks in at 360 wide; 0.81.1: 8px sides, room for the regular chip beside a full season's record) */
  /* (0.80.1: a little tighter, so a full season's record, 45-25-12, fits beside the chip and the chance) */
  .spz-hub .spz-hub-up-team { gap: 4px; }
  .spz-hub .spz-hub-up-team .spz-team-chip { min-width: 46px; padding: 3px 6px; }   /* (0.81.1: the regular chip, 3px less each side, one width, so a full season's record still fits) */
  .spz-hub .spz-hub-up-team em { padding: 1px 4px; }
}
