.stat .value.ok { color: var(--ok); }
.stat .value.live { color: var(--danger); }
.day-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.day-head small { color: var(--muted); font-weight: 400; font-size: 13px; }
.day-head .today { background: var(--primary); color: #fff; font-size: 11px; padding: 1px 9px; border-radius: 99px; }
table.sched td.time { font-weight: 600; white-space: nowrap; }
table.sched .round { color: var(--muted); font-size: 12px; }
table.sched .vs { text-align: center; }
table.sched .player { width: 24%; }
table.sched .player.right { text-align: right; }
table.sched .win { font-weight: 700; color: var(--ok); }
table.sched .win i { margin: 0 5px; color: #d97706; }
table.sched .lose { color: var(--muted); }
table.sched .tbd { color: var(--muted); font-style: italic; }
.result { font-variant-numeric: tabular-nums; white-space: nowrap; }
.result .sets { display: block; font-size: 12px; color: var(--muted); }
.result .score { font-weight: 700; font-size: 17px; }
.result .pending { color: var(--muted); }
.badge.live { background: #fee2e2; color: #991b1b; animation: pulse 1.6s infinite; }
.badge.scheduled { background: #dbeafe; color: #1e40af; }
@keyframes pulse { 50% { opacity: .55; } }

.sets { display: flex; flex-direction: column; gap: 8px; }
.set { display: flex; align-items: center; gap: 10px; }
.set span { width: 48px; color: var(--muted); font-size: 13px; }
.set input { width: 80px; text-align: center; }
.dlg { border: 0; border-radius: 12px; padding: 22px; width: min(560px, 94vw); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.dlg::backdrop { background: rgba(15,23,42,.45); }
.dlg h2 { margin: 0 0 14px; font-size: 18px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@media (max-width: 640px) { table.sched .player { width: auto; } }
