/* Prototype-only chrome (js/dev). Safe to delete along with js/dev/. */
#dev-root { position: fixed; left: var(--space-3); bottom: var(--space-3); z-index: 60; display: grid; gap: var(--space-2); justify-items: start; }
@media (max-width: 719px) { #dev-root { bottom: calc(var(--tabbar-h) + var(--space-2)); } }
.devtoggle { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 var(--space-3); border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 0.75rem; font-weight: 700; box-shadow: var(--shadow-pop); opacity: 0.92; }
.devtoggle svg { width: 16px; height: 16px; }
.devpanel { width: min(340px, calc(100vw - 24px)); max-height: 70dvh; overflow: auto; padding: var(--space-4); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-m); box-shadow: var(--shadow-pop); display: grid; gap: var(--space-3); }
.devpanel__head { display: flex; align-items: center; justify-content: space-between; }
.devlist { display: grid; gap: 2px; }
.devlist label { display: flex; gap: var(--space-3); align-items: flex-start; padding: 6px; border-radius: var(--radius-s); cursor: pointer; }
.devlist label:hover { background: var(--surface-2); }
.devlist span { display: grid; font-size: var(--step--1); }
.devlist small { color: var(--ink-3); }
.devlist input { margin-top: 3px; accent-color: var(--turf); }
.devzone { display: grid; gap: 4px; font-size: var(--step--1); font-weight: 600; }
@media (max-width: 719px) {
  .devtoggle span { display: none; }
  .devtoggle { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; opacity: 0.8; }
}

/* Live feed (always-on worker): freshness note and score chips. */
.live-note { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.875rem; color: var(--ink-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--turf, #2e7d32); }
.chip--live { font-variant-numeric: tabular-nums; }
.scores-list { display: grid; gap: 8px; }
.score-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.score-card__team { display: flex; justify-content: space-between; gap: 12px; }
.score-card__team strong { font-variant-numeric: tabular-nums; }
.score-card__meta { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.livegames { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.livegames__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.livegames__head h2 { font: 700 var(--step-2)/1.1 var(--font-display); margin: 0; }
.livegames__head .muted { font-size: var(--step--1); }
.livegames .scores-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.score-card { background: var(--surface); }
.score-card.is-live { border-color: var(--turf); box-shadow: inset 3px 0 0 var(--turf); }
.score-card__teams { grid-column: 1 / -1; display: grid; gap: 2px; }
.score-card .is-lead { color: var(--ink); }
