/* Live page scoreboard (public, read-only). In place of the video when nothing streams; under it otherwise. */
.live-board { margin-top: 1rem; display: grid; gap: .8rem; }
body.board-live #live-slot .no-live:not(.gp-live) { display: none; }
body.board-live .live-board { margin-top: 0; }
.lb-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: 4px 4px 0 var(--teal); }
.lb-card.is-live { box-shadow: 4px 4px 0 var(--orange); }
.lb-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.lb-pill { display: inline-block; font: 900 .72rem var(--font-display); letter-spacing: .06em; background: var(--ink); color: var(--white); border-radius: 999px; padding: .2rem .6rem; }
.lb-pill.live { background: var(--orange); }
.lb-status { font: 900 1.05rem var(--font-display); }
.lb-scroll { overflow-x: auto; }
.lb-line { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.lb-line th, .lb-line td { padding: .3rem .25rem; text-align: center; border-bottom: 1px solid var(--line); min-width: 1.4rem; }
.lb-line th { font-size: .75rem; color: var(--muted); }
.lb-line .lb-team { text-align: left; font-weight: 800; max-width: 11rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-line .lb-r { font-weight: 900; color: var(--orange-dark); border-left: 2px solid var(--line); }
.lb-line tr.pr .lb-team { color: var(--teal-dark); }
.lb-sit { display: flex; align-items: center; justify-content: space-around; gap: .8rem; margin: .7rem 0 .2rem; text-align: center; }
.lb-diamond { width: 76px; height: 56px; }
.lb-diamond rect { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.lb-diamond rect.on { fill: var(--orange); }
.lb-count b { display: block; font: 900 1.6rem var(--font-display); }
.lb-count span, .lb-outbox span { font-size: .78rem; color: var(--muted); }
.lb-outs { display: flex; gap: .3rem; justify-content: center; margin-bottom: .25rem; }
.lb-outs i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block; }
.lb-outs i.on { background: var(--orange); }
.lb-people { display: grid; grid-template-columns: auto 1fr; gap: .25rem .7rem; margin: .7rem 0 0; padding: .6rem .7rem; background: var(--teal-light); border-radius: 10px; }
.lb-people dt { font-weight: 800; color: var(--teal-dark); font-size: .85rem; }
.lb-people dd { margin: 0; font-weight: 800; }
.lb-sub { font-size: .95rem; margin: .9rem 0 .35rem; }
.lb-plays { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.lb-plays li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .4rem; font-size: .92rem; padding-bottom: .3rem; border-bottom: 1px dashed var(--line); }
.lb-plays li:first-child { font-weight: 700; }
.lb-inn { color: var(--muted); font-size: .8rem; font-weight: 800; }
.lb-meta { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
.lb-title { font-size: 1rem; margin: .4rem 0 -.3rem; }
.lb-next-when { font: 900 1.15rem var(--font-display); margin: .5rem 0 .1rem; }
.lb-next-opp { font-weight: 800; font-size: 1.1rem; margin: 0; }
.live-board { grid-template-columns: minmax(0, 1fr); }
.lb-card { min-width: 0; }
.lb-line th { background: none; color: var(--muted); border-bottom: 2px solid var(--ink); }
.lb-line .lb-team { max-width: 9.5rem; }
@media (max-width: 420px) { .lb-line { font-size: .88rem; } .lb-line th, .lb-line td { min-width: 1.1rem; padding: .3rem .15rem; } .lb-line .lb-team { max-width: 8rem; } }
.lb-line .lb-team { max-width: none; overflow: visible; }
.lb-tn { display: block; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 700px) { .lb-tn { max-width: 16rem; } }
.lb-line { min-width: 0; }
.lb-line tr:nth-child(even) td { background: none; }
.lb-line tr.pr td { background: var(--teal-light); }
/* Game clock (Oct 4 2026) */
.lb-clock { margin: -.2rem 0 .6rem; padding: .35rem .7rem; border: 2px solid var(--ink); border-radius: 10px; background: var(--teal-light, #e3f6f7); font: 800 1rem/1.25 var(--font, system-ui); font-variant-numeric: tabular-nums; text-align: center; }
.lb-clock[hidden] { display: none; }
.lb-clock.idle, .lb-clock.paused { background: #fff; color: var(--muted, #5b6b6e); }
.lb-clock.w10 { background: #ffe2cf; border-color: var(--orange-dark, #c94405); }
.lb-clock.w5 { background: var(--orange, #f65506); color: #fff; }
.lb-clock.expired { background: var(--stitch, #f20808); color: #fff; }

/* ⭐ Great play banner (30 s) */
.lb-great { margin: -.2rem 0 .6rem; padding: .35rem .7rem; border: 2px solid var(--ink); border-radius: 10px; background: #fff4c2; font: 800 1rem/1.25 var(--font, system-ui); text-align: center; }
.lb-great[hidden] { display: none; }

.lb-replay { margin: .2rem 0 1rem; text-align: center; }

/* Scorebug on the Live player (live-feed.js). Top-left so the player's own controls stay usable; taps pass through. */
.video .vbug { position: absolute; left: .5rem; top: .5rem; z-index: 3; pointer-events: none; max-width: calc(100% - 1rem);
  background: rgba(13, 28, 31, .86); color: #fff; border-radius: 8px; padding: .3rem .45rem; font: 800 .9rem/1.15 var(--font, system-ui); font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.vbug .vb-row { display: flex; align-items: center; gap: .55rem; }
.vbug .vb-score { display: grid; gap: .1rem; }
.vbug .vb-team { display: flex; justify-content: space-between; gap: .6rem; min-width: 4.2rem; padding: 0 .25rem; border-radius: 4px; }
.vbug .vb-team.pr { background: rgba(0, 150, 160, .55); }
.vbug .vb-team.up .vb-abbr::after { content: " \25C0"; font-size: .6em; vertical-align: middle; }
.vbug .vb-sit { display: flex; align-items: center; gap: .4rem; }
.vbug .vb-bases { width: 2.1rem; height: 1.55rem; }
.vbug .vb-bases rect, .vbug .vb-bases path { stroke: #fff; }
.vbug .vb-outs { display: inline-flex; gap: .15rem; }
.vbug .vb-outs i { width: .5rem; height: .5rem; border-radius: 50%; border: 1.5px solid #fff; }
.vbug .vb-outs i.on { background: #ffb020; border-color: #ffb020; }
.vbug .vb-who { margin-top: .2rem; font-size: .75rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbug .vb-clock { margin-top: .15rem; font-size: .75rem; }
.vbug .vb-clock.expired { color: #ffb020; }
.vbug .vb-clock[hidden] { display: none; }
.vbug-ctl { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .2rem; }
.vbug-ctl[hidden] { display: none; }
@media (max-width: 520px) { .video .vbug { font-size: .75rem; padding: .2rem .35rem; } .vbug .vb-who { font-size: .65rem; } }

/* ⭐ Highlights page */
.hl-player { margin: .6rem 0 .4rem; }
.hl-player[hidden], .hl-note[hidden] { display: none; }
.hl-game { margin: 1rem 0; }
.hl-game h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.hl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.hl-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.hl-list .hl-txt { font-weight: 700; }

/* 🔔 Live alerts widget */
.push-card{margin:1.25rem 0;padding:1rem 1.1rem}
.push-card h2{font-size:1.15rem}
.push-teams{display:flex;gap:1.25rem;margin:.6rem 0;font-weight:600}
.push-teams input{width:1.15rem;height:1.15rem;vertical-align:-.15rem;margin-right:.3rem}
.push-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}
.push-msg{min-height:1.2em;font-weight:600;color:var(--teal-dark,#007a80)}
.push-ios{border-left:4px solid var(--orange,#F65506);padding:.4rem .8rem;margin-top:.6rem;background:rgba(246,85,6,.06)}
.push-ios ol{margin:.3rem 0 .2rem 1.2rem;padding:0}
.btn:disabled{opacity:.5;cursor:default}

/* player of the game (Oct 11 2026) */
.lb-potg { font-weight: 600; margin: .5rem 0; }

.lb-delay { background: #fff4e5; border: 2px solid #f65506; color: #7a2a02; font-weight: 700; padding: .6rem .8rem; border-radius: 10px; margin: .5rem 0; text-align: center; }

.hl-now { font-weight: 600; margin: .4rem 0 .2rem; }
.hl-ctl { margin: .3rem 0; }
.hl-items { list-style: none; padding: 0; margin: 0; }
.hl-item { padding: .7rem 0; border-bottom: 1px solid #eee; display: grid; gap: .35rem; }
.hl-item .btn-row { margin: 0; }
.hl-up { display: block; color: #555; }
.hl-up input { display: block; margin-top: .2rem; font-size: .9rem; }
