Rimuovi replay da app, fix live web e sync punteggi broadcast.

La pagina live mostra solo l'overlay nel video (niente tabellone HTML); l'app nativa non espone più l'archivio replay, il toggle regole punteggio parte spento e i controlli in diretta seguono il punteggio dalla regia.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-09 08:42:23 +02:00
parent 74eee24293
commit 4ed15bc235
22 changed files with 77 additions and 618 deletions

View File

@@ -48,166 +48,6 @@
left: auto;
}
/* Tabellone broadcast: tabella per colonne allineate (set / punteggi). */
.live-main .live-scorebug {
position: absolute;
top: 12px;
left: 12px;
width: max-content;
max-width: min(92%, 320px);
padding: 6px 8px 5px;
border-radius: 6px;
background: rgba(255, 255, 255, 0.94);
color: #111;
box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
font-size: 0.8rem;
line-height: 1.2;
}
.live-main .live-scorebug__table {
border-collapse: collapse;
table-layout: fixed;
width: auto;
}
.live-main .live-scorebug__col-team {
width: 7.25rem;
}
.live-main .live-scorebug__col-set {
width: 1.85rem;
}
.live-main .live-scorebug__corner {
width: 7.25rem;
padding: 0;
border: none;
font-size: 0;
line-height: 0;
visibility: hidden;
}
.live-main .live-scorebug thead th {
padding: 0 0 4px;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
font-size: 0.68rem;
font-weight: 700;
color: #666;
text-align: center;
vertical-align: bottom;
}
.live-main .live-scorebug__col-h {
letter-spacing: 0.02em;
}
.live-main .live-scorebug tbody th,
.live-main .live-scorebug tbody td {
padding: 3px 0;
vertical-align: middle;
}
.live-main .live-scorebug tbody tr + tr th,
.live-main .live-scorebug tbody tr + tr td {
padding-top: 2px;
}
.live-main .live-scorebug__team {
font-weight: 700;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 7.25rem;
padding-right: 8px;
}
.live-main .live-scorebug__row--home .live-scorebug__team {
color: var(--sb-home-primary, #111);
}
.live-main .live-scorebug__row--away .live-scorebug__team {
color: var(--sb-away-primary, #1565c0);
}
.live-main .live-scorebug__pts {
text-align: center;
font-weight: 800;
font-variant-numeric: tabular-nums;
color: #111;
padding-left: 0;
padding-right: 0;
}
.live-main .live-scorebug__pts--live-home {
background: color-mix(in srgb, var(--sb-home-primary, #e53935) 16%, #fff);
border-radius: 3px;
color: var(--sb-home-primary, #111);
font-weight: 900;
}
.live-main .live-scorebug__pts--live-away {
background: color-mix(in srgb, var(--sb-away-primary, #1565c0) 16%, #fff);
border-radius: 3px;
color: var(--sb-away-primary, #111);
font-weight: 900;
}
.live-main .live-scorebug__brand {
margin-top: 5px;
padding: 4px 10px;
border-radius: 4px;
background: linear-gradient(135deg, #14141c 0%, #2a1214 55%, #1a1a24 100%);
border: 1px solid rgba(229, 57, 53, 0.35);
text-align: center;
line-height: 1.1;
}
.live-main .live-scorebug__brand-text {
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #fff;
}
.live-main .live-scorebug__brand-accent {
color: #e53935;
}
.live-main .live-scorebug .visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
@media (max-width: 520px) {
.live-main .live-scorebug {
font-size: 0.72rem;
max-width: 88%;
padding: 5px 6px 4px;
}
.live-main .live-scorebug__col-team,
.live-main .live-scorebug__corner {
width: 5.75rem;
}
.live-main .live-scorebug__team {
max-width: 5.75rem;
}
.live-main .live-scorebug__col-set {
width: 1.55rem;
}
}
.live-main .live-status-msg {
margin: 12px 0 0;
color: #f5f5f5;