Live-Ergebnisse: Stream-Seite, Anzeige, automatischer Mapwechsel

- Stream-Übersicht unter /stream/<Zuschauercode> (1920x1080, Lobby, Veto, Spielstand)
- Live-Stand, Rundenverlauf und Serienstand auf Match-Seite und Übersicht
- Parser mit echten AMP-Logs geprüft: Game Over mit leerer Map-Gruppe,
  Match_Start vor der Aufwärmphase, veraltete Seitenzuordnung nach der Halbzeit
- Nach Map-Ende automatisch nächste Map bzw. Abschluss der entschiedenen Serie
- LOG_DEBUG zur Fehlersuche, README und .env.example ergänzt
This commit is contained in:
mregosar committed 2026-10-25 19:20:10 +01:00
1 parent 306b3aa7e5
commit 263c7e7b7c
20 files changed
+901 -44

No files matched your search

+40
View File
@@ -443,3 +443,43 @@ input:focus, select:focus { border-color: var(--link); outline: none; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
}
/* ---------- Live-Ergebnisse ---------- */
.live-badge {
display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px 1px 6px; border-radius: 3px;
background: var(--brand-red); color: #fff; font: 700 .8125rem var(--display); vertical-align: middle;
}
.live-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.series-total { font-variant-numeric: tabular-nums; color: var(--text); }
.series-total .colon, .series-score .colon { color: var(--muted); margin: 0 .12em; }
.row-score { font: 700 1.375rem var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.row-live { color: var(--text); }
.series-score {
grid-column: 3; grid-row: 2 / 4; align-self: center; justify-self: end; text-align: right;
font: 700 2.25rem/1 var(--display); font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.series-score small { display: block; font: 500 .8125rem var(--body); color: var(--muted); margin-top: 4px; }
.series-score .is-winner { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.series-rounds { grid-column: 1 / -1; margin-top: 10px; overflow-x: auto; }
.series-item.is-playing { box-shadow: inset 0 0 0 2px var(--brand-red); }
.round-strip { list-style: none; display: flex; gap: 3px; padding: 0; margin: 0; }
.round {
display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 3px;
background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
.round.won-A { background: var(--team-a); box-shadow: none; }
.round.won-B { background: var(--team-b); box-shadow: none; }
.round.break { margin-left: 10px; }
.round-strip-sm .round { width: 18px; height: 18px; }
.round-strip-sm .reason-icon { width: 10px; height: 10px; }
.round-strip-sm .round.break { margin-left: 8px; }
.alert-ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 9%, var(--surface)); }
.live-data { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.stream-link { margin-top: 10px; display: grid; gap: 8px; justify-items: start; }
.stream-link .copy-field { width: 100%; }
@media (max-width: 640px) {
.series-score { grid-column: 2; grid-row: 2; font-size: 1.75rem; }
}