/* ── live pages: one scoreboard for every sport ─────────────────────────────
   The date strip and the match card are tennis /live's, moved here unchanged
   (2026-10-01) so MLB, NHL, WNBA, NBA and NFL draw from the same rules and
   cannot drift from it. Head, tabs, section heads and empty states are the
   shared .page-* classes in styles.css.
   ⛔ No team logos. They are the leagues' marks, and they were hotlinked from
   ESPN; a team is its colour chip and its name (Nate, 2026-10-01). */

/* ── date strip + scoreboard ──────────────────────────────────────────
   The strip was fourteen filled pills in the accent color. It is a row of
   dates, so it is now a row of dates: text, with the day you are looking at
   underlined, the way every other switch on the site works. */
.sb-dates { display: flex; gap: 22px; overflow-x: auto; padding: 2px 0 10px;
            border-bottom: 1px solid var(--border); margin: 20px 0 16px; }
.sb-date { flex: 0 0 auto; cursor: pointer; white-space: nowrap; text-align: left;
           color: var(--text-tertiary); padding-bottom: 8px; margin-bottom: -11px;
           border-bottom: 2px solid transparent; font-size: 14px; font-weight: 600;
           line-height: 1.25; transition: color .12s, border-color .12s; }
.sb-date:hover { color: var(--gold); }
.sb-date.active { color: var(--gold); border-bottom-color: var(--gold); }
.sb-date .d-sub { display: block; font-size: 11.5px; font-weight: 400; color: var(--text-faint); margin-top: 2px; }
.sb-date.active .d-sub { color: var(--gold-text-soft, var(--text-tertiary)); }
/* a day with a match in progress carries a dot, not a second border color */
.sb-date.has-live .d-sub::after { content: " \00B7 live"; color: var(--gold); font-weight: 600; }

/* Two columns of matches on a wide screen, one on a phone. A match is a
   narrow object — two names, a score line and a projection — and stretching
   one across 1,400px of screen made a 60-character line out of a 30-character
   thing. Capped so a very wide monitor gets whitespace, not longer rows. */
.sb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
           gap: 14px; align-items: start; max-width: 1080px; }
.sb-list > .page-empty { grid-column: 1 / -1; }
@media (max-width: 860px) { .sb-list { grid-template-columns: 1fr; max-width: 560px; } }

.sb-match { background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px;
            overflow: hidden; padding: 11px 14px 12px; }
.sb-match.live { border-color: var(--gold); }

.sb-status { font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--text-tertiary);
             display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px;
             text-transform: uppercase; letter-spacing: .06em; }
.sb-status .live-dot { color: var(--gold); font-weight: 600; }

.sb-row { display: flex; align-items: baseline; gap: 9px; padding: 3px 0; }
.sb-row .sb-check { flex: 0 0 12px; text-align: center; color: var(--gold); font-size: 12px; }
.sb-row .nm { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
              font-family: var(--font-display); font-weight: 400; font-size: 16px; color: var(--text-secondary); }
.sb-row.win .nm { color: var(--text-primary); }
.sb-row .nm a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.sb-row .nm a:hover, .sb-row .nm a:focus { color: var(--gold); border-bottom-color: var(--gold); }
.sb-seed { font-family: var(--font-meta); font-size: 9.5px; color: var(--text-faint); margin-right: 4px; }
.sb-sets { font-family: var(--font-meta); font-size: 13px; color: var(--text-tertiary);
           letter-spacing: 1.5px; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.sb-row.win .sb-sets { color: var(--text-primary); }

/* the projection, on the card rather than behind a click */
.sb-pred { border-top: 1px solid var(--border-dashed); margin-top: 9px; padding-top: 9px; }
.sb-pred .lbl { font-family: var(--font-sans); font-size: 10.5px; font-weight: 600;
                letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); }
.sb-pred-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 3px; }
.sb-pred .pk { font-size: 14.5px; color: var(--text-primary); font-weight: 600;
               overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-pred .pk .pct { color: var(--gold); margin-left: 7px; font-variant-numeric: tabular-nums; }
.sb-grade { font-size: 12px; font-weight: 600; white-space: nowrap; }
.sb-grade.ok { color: var(--success-text); } .sb-grade.no { color: var(--danger-text); }
.sb-grade.pending { color: var(--text-faint); font-weight: 400; }
.sb-splits { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 7px;
             font-size: 12.5px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.sb-splits b { color: var(--text-secondary); font-weight: 600; }
.sb-upset { font-family: var(--font-sans); font-size: 11px; font-weight: 600; color: var(--danger-text);
            text-transform: uppercase; letter-spacing: .06em; }

/* ── team sports, on the tennis card ──────────────────────────────────
   The chip sits where tennis puts the seed: the team's code on its colour.
   The second line a tennis row does not have (a starter, a record) rides
   after the name, small and faint, so the row stays one line. */
.sb-chip { display: inline-block; min-width: 30px; text-align: center; margin-right: 8px;
           padding: 3px 5px 2px; border-radius: 3px; vertical-align: 2px; line-height: 1;
           font-family: var(--font-meta); font-size: 9.5px; font-weight: 600; letter-spacing: .04em;
           background: var(--bg-inset); color: var(--text-secondary); }
.sb-sub { font-family: var(--font-sans); font-size: 12px; color: var(--text-faint); margin-left: 8px; }
/* a card that opens the matchup */
.sb-match.tap { cursor: pointer; transition: border-color .12s; }
.sb-match.tap:hover { border-color: var(--gold); }
/* a week holds several days (NFL): each day heads its games */
.sb-day { grid-column: 1 / -1; margin: 12px 0 -4px; font-family: var(--font-sans); font-size: 11px;
          font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); }
.sb-day:first-child { margin-top: 0; }
