/* ==========================================================================
   KFC Tippspiel – Kampf-Komponenten
   Aufbau: 1. Timeline  2. Kampfkarte  3. Ecken (rot/gelb)  4. Status & Ergebnis
           5. Tippen (Buttons, Segmente, Speicherleiste)  6. Teamstand
           7. Liveansicht  8. Admin  9. Größere Bildschirme
   ========================================================================== */

/* ===== 1. Timeline: senkrechte Goldlinie, pro Kampf ein Stern ===== */
.timeline {
    position: relative;
    display: grid;
    gap: 22px;
    padding-left: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--kfc-gold) 4%, var(--kfc-gold) 96%, transparent);
    opacity: 0.6;
}

.kampfkarte::before {
    content: "★";
    position: absolute;
    top: 18px;
    left: -22px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 15px;
    line-height: 1;
    color: var(--kfc-gold);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

.kampfkarte.status-1::before {
    content: "";
    left: -20px;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--live);
    animation: puls 1.4s infinite;
}

.kampfkarte.status-2.sieger-rot::before { color: var(--ecke-rot); }

/* ===== 2. Kampfkarte ===== */
.kampfkarte {
    position: relative;
    overflow: visible;
    border: 1px solid rgba(201, 162, 74, 0.45);
    border-radius: var(--radius);
    background: var(--kfc-karte);
    box-shadow: var(--schatten);
    transition: border-color 0.25s, box-shadow 0.25s;
}

/* Eckpolster wie in der Halle: links rot, rechts gelb */
.kampfkarte > .kampf-paar::before,
.kampfkarte > .kampf-paar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
}

.kampfkarte > .kampf-paar::before {
    left: 0;
    background: linear-gradient(180deg, #ff3b55, var(--ecke-rot) 40%, var(--ecke-rot-dunkel));
}

.kampfkarte > .kampf-paar::after {
    right: 0;
    background: linear-gradient(180deg, #ffe07a, var(--ecke-gelb) 40%, var(--ecke-gelb-dunkel));
}

.kampfkarte.hauptkampf {
    border: 2px solid var(--kfc-gold-hell);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 162, 74, 0.25), var(--schatten);
    background:
        linear-gradient(180deg, rgba(10, 8, 5, 0.55), rgba(10, 8, 5, 0.92) 70%),
        var(--faceoff, none) center 20% / cover no-repeat,
        var(--kfc-karte);
}

.kampfkarte.ungespeichert {
    border-color: var(--kfc-gold-hell);
    box-shadow: 0 0 0 1px var(--kfc-gold-hell), var(--schatten);
}

.kampf-kopf {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(201, 162, 74, 0.25);
}

/* Kampfnummer im Goldrahmen wie das Datum auf dem Plakat */
.kampf-nr {
    display: grid;
    justify-items: center;
    min-width: 50px;
    padding: 2px 6px;
    border: 1px solid var(--kfc-gold);
    line-height: 1;
}

.kampf-nr small {
    font-family: var(--schrift-titel);
    font-weight: 600;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--kfc-gold);
}

.kampf-nr b {
    font-family: var(--schrift-display);
    font-weight: 700;
    font-weight: 400;
    font-size: 1.6rem;
    background: var(--silber-verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kampf-info {
    display: grid;
    flex: 1;
    min-width: 0;
}

.kampf-titel {
    font-family: var(--schrift-titel);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kfc-gold-hell);
}

.hauptkampf .kampf-titel {
    font-size: 1.1rem;
}

.kampf-details {
    font-size: 0.82rem;
    color: var(--kfc-text-leise);
}

/* ===== 3. Ecken (Kämpfer rot / gelb) ===== */
.kampf-paar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 6px;
    padding: 12px 14px;
}

.ecke {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
    padding: 8px 4px 10px;
    border: 2px solid transparent;
    border-radius: var(--radius-klein);
    background: transparent;
    text-align: center;
    color: inherit;
    transition: border-color 0.2s, background 0.2s, transform 0.15s, opacity 0.2s;
    touch-action: manipulation;
}

button.ecke {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}

button.ecke:active {
    transform: scale(0.97);
}

.ecke-bild {
    position: relative;
    width: 100%;
    max-width: 150px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.08), transparent 60%),
        var(--kfc-anthrazit);
}

.ecke-rot .ecke-bild {
    box-shadow: 0 0 0 2px var(--ecke-rot), 0 6px 18px rgba(200, 16, 46, 0.35);
}

.ecke-gelb .ecke-bild {
    box-shadow: 0 0 0 2px var(--ecke-gelb), 0 6px 18px rgba(242, 194, 48, 0.3);
}

.ecke-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Bild fehlt: Silhouette per CSS */
.ecke-bild img.bild-fehlt,
.live-bild img.bild-fehlt {
    visibility: hidden;
}

.ecke-bild:has(img.bild-fehlt)::after {
    content: "?";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--schrift-display);
    font-weight: 700;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
}

.ecke-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ecke-name {
    font-family: var(--schrift-titel);
    font-weight: 700;
    font-style: oblique 8deg;
    font-size: clamp(0.95rem, 4.4vw, 1.2rem);
    line-height: 1.15;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    background: var(--silber-verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ecke-spitzname {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--kfc-gold);
}

.ecke-team {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kfc-text-leise);
}

.team-logo-mini {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.team-logo-mini.bild-fehlt {
    display: none;
}

/* ausgewählt (Tipp) */
.ecke-rot[aria-pressed="true"] {
    border-color: var(--ecke-rot);
    background: linear-gradient(180deg, rgba(200, 16, 46, 0.45), rgba(110, 10, 25, 0.25));
    box-shadow: 0 0 18px rgba(200, 16, 46, 0.45);
}

.ecke-gelb[aria-pressed="true"] {
    border-color: var(--ecke-gelb);
    background: linear-gradient(180deg, rgba(242, 194, 48, 0.4), rgba(122, 93, 12, 0.2));
    box-shadow: 0 0 18px rgba(242, 194, 48, 0.4);
}

.ecke[aria-pressed="true"]::after {
    content: "✓ Sieger";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ecke-rot[aria-pressed="true"]::after { background: var(--ecke-rot); color: #fff; }
.ecke-gelb[aria-pressed="true"]::after { background: var(--ecke-gelb); color: #1a1206; }

/* Ergebnis */
.ecke.verlierer {
    opacity: 0.45;
    filter: grayscale(0.7);
}

.ecke.sieger .ecke-bild {
    box-shadow: 0 0 0 3px var(--kfc-gold-hell), 0 0 24px rgba(240, 210, 122, 0.55);
}

.ecke.sieger::after {
    content: "♛ Sieger";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 10px;
    border-radius: 999px;
    background: var(--gold-verlauf);
    color: #1a1206;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

/* VS in Gold */
.vs {
    align-self: center;
    font-family: var(--schrift-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    line-height: 1;
    background: var(--gold-verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.9));
}

/* ===== 4. Status & Ergebnis ===== */
.status-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--schrift-titel);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-badge.geplant {
    border: 1px solid rgba(201, 162, 74, 0.5);
    color: var(--kfc-gold-hell);
}

.status-badge.live {
    background: var(--live);
    color: #fff;
    animation: puls-badge 1.6s infinite;
}

.status-badge.beendet {
    background: rgba(255, 255, 255, 0.1);
    color: var(--kfc-silber);
}

@keyframes puls {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(255, 42, 42, 0); }
}

@keyframes puls-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.kampfkarte.status-1 {
    border-color: var(--live);
}

.ergebnis-text {
    margin: 0 14px 12px;
    padding: 8px 12px;
    border: 1px solid rgba(201, 162, 74, 0.4);
    border-radius: var(--radius-klein);
    background: rgba(0, 0, 0, 0.4);
    font-weight: 600;
    text-align: center;
    color: var(--kfc-gold-hell);
}

/* ===== 5. Tippen ===== */
.tipp-kopf {
    margin-bottom: 4px;
}

.fortschritt {
    margin-top: 12px;
}

.fortschritt-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.mein-stand {
    font-weight: 700;
    color: var(--kfc-gold-hell);
}

.fortschritt-balken {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.fortschritt-balken span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gold-verlauf);
    transition: width 0.4s ease;
}

.regel-kurz {
    margin-top: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(201, 162, 74, 0.25);
    border-radius: var(--radius-klein);
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
}

.regel-kurz summary {
    min-height: 28px;
    cursor: pointer;
    font-weight: 600;
    color: var(--kfc-gold-hell);
}

.regel-kurz p {
    margin-top: 6px;
    color: var(--kfc-text-leise);
}

.tipp-bereich {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
}

.knopf-remis {
    min-height: var(--tipp-groesse);
    border: 1px solid rgba(201, 162, 74, 0.5);
    border-radius: var(--radius-klein);
    background: rgba(0, 0, 0, 0.35);
    font-family: var(--schrift-titel);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kfc-silber);
    transition: background 0.2s, color 0.2s;
}

.knopf-remis[aria-pressed="true"] {
    border-color: var(--kfc-gold-hell);
    background: var(--gold-verlauf);
    color: #1a1206;
}

.segment-gruppe {
    display: grid;
    gap: 6px;
    animation: einblenden 0.2s ease-out;
}

.segment-label {
    font-family: var(--schrift-titel);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--kfc-gold);
}

.segment {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 6px;
}

.segment-knopf {
    min-height: var(--tipp-groesse);
    padding: 6px 4px;
    border: 1px solid rgba(201, 162, 74, 0.4);
    border-radius: var(--radius-klein);
    background: rgba(0, 0, 0, 0.35);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--kfc-text);
    overflow-wrap: anywhere;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    touch-action: manipulation;
}

.segment-knopf[aria-pressed="true"] {
    border-color: var(--kfc-gold-hell);
    background: rgba(201, 162, 74, 0.28);
    color: var(--kfc-gold-hell);
    box-shadow: inset 0 0 0 1px var(--kfc-gold-hell);
}

.tipp-status {
    font-size: 0.9rem;
    text-align: center;
    color: var(--kfc-text-leise);
}

.ungespeichert .tipp-status {
    color: var(--kfc-gold-hell);
}

.tipp-zusammenfassung {
    display: grid;
    gap: 6px;
    padding: 0 14px 14px;
}

.gesperrt-hinweis {
    padding: 6px 10px;
    border-radius: var(--radius-klein);
    background: rgba(255, 42, 42, 0.14);
    font-weight: 600;
    text-align: center;
    color: #ffb3b3;
}

.punkte-badge {
    display: inline-block;
    margin-right: 8px;
    padding: 1px 10px;
    border-radius: 999px;
    font-family: var(--schrift-display);
    font-weight: 700;
    font-size: 1rem;
}

.punkte-badge.volltreffer { background: var(--gold-verlauf); color: #1a1206; box-shadow: 0 0 14px rgba(240, 210, 122, 0.6); }
.punkte-badge.teil { background: var(--silber-verlauf); color: #222; }
.punkte-badge.null { background: rgba(255, 255, 255, 0.1); color: var(--kfc-text-leise); }

.tipp-zusammenfassung.volltreffer .tipp-status { color: var(--kfc-gold-hell); font-weight: 700; }

/* Speichern-Leiste klebt über der Navigation */
.speicher-leiste {
    position: sticky;
    bottom: calc(var(--nav-hoehe) + var(--unten-sicher) + 8px);
    z-index: 20;
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(7, 6, 5, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: box-shadow 0.2s;
}

.speicher-leiste.aktiv {
    box-shadow: 0 -4px 24px rgba(201, 162, 74, 0.25);
}

.speicher-leiste.aktiv .knopf {
    animation: einblenden 0.2s ease-out;
}

@keyframes einblenden {
    from { opacity: 0; transform: translateY(4px); }
}

/* ===== 6. Teamstand ===== */
.teamstand {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 14px 10px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 74, 0.45);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(200, 16, 46, 0.55), rgba(7, 6, 5, 0.85) 42%, rgba(7, 6, 5, 0.85) 58%, rgba(242, 194, 48, 0.45)),
        url('../data/bg/clash_quer.jpg') center / cover no-repeat,
        var(--kfc-anthrazit);
}

.teamstand-team {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
}

.teamstand-team img {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}

.teamstand-team img.bild-fehlt {
    display: none;
}

.teamstand-name {
    font-family: var(--schrift-titel);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.teamstand-team.rot .teamstand-name { color: #ffd0d6; }
.teamstand-team.gelb .teamstand-name { color: #fff1c2; }

.teamstand-mitte {
    display: grid;
    justify-items: center;
    padding: 4px 14px;
    border: 1px solid var(--kfc-gold);
    background: rgba(0, 0, 0, 0.7);
}

.teamstand-zahl {
    font-family: var(--schrift-display);
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.1;
    white-space: nowrap;
    background: var(--gold-verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.teamstand-label {
    font-family: var(--schrift-titel);
    font-weight: 600;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--kfc-gold);
}

.teamstand-remis {
    font-size: 0.65rem;
    color: var(--kfc-text-leise);
}

/* ===== 7. Liveansicht ===== */
.seite-live .inhalt {
    max-width: 1200px;
}

.live-buehne {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 18px 10px 24px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 74, 0.35);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(7, 6, 5, 0.4), rgba(7, 6, 5, 0.92)),
        var(--faceoff, none) center 20% / cover no-repeat,
        rgba(7, 6, 5, 0.6);
    text-align: center;
}

.live-buehne.neu {
    animation: einblenden 0.4s ease-out;
}

.live-buehne.modus-live {
    border-color: var(--live);
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.2);
}

.live-titel {
    font-family: var(--schrift-titel);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--kfc-gold-hell);
}

.modus-live .live-titel {
    color: #ff8080;
}

.live-paar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 8px;
    width: 100%;
}

.live-kaempfer {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
}

.live-bild {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4;
}

.live-bild img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
}

.live-kaempfer.rot .live-bild { filter: drop-shadow(0 0 22px rgba(200, 16, 46, 0.7)); }
.live-kaempfer.gelb .live-bild { filter: drop-shadow(0 0 22px rgba(242, 194, 48, 0.6)); }
.live-kaempfer.verlierer { opacity: 0.4; filter: grayscale(0.8); }
.live-kaempfer.sieger .live-bild { filter: drop-shadow(0 0 30px rgba(240, 210, 122, 0.9)); }

.live-name {
    font-family: var(--schrift-titel);
    font-weight: 700;
    font-style: oblique 8deg;
    font-size: clamp(1.1rem, 5vw, 2.6rem);
    line-height: 1.1;
    text-transform: uppercase;
    background: var(--silber-verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-spitzname {
    font-style: italic;
    color: var(--kfc-gold);
}

.live-team {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.live-kaempfer.rot .live-team { color: #ff8a99; }
.live-kaempfer.gelb .live-team { color: var(--ecke-gelb); }

.live-vs {
    align-self: center;
    font-size: clamp(2rem, 10vw, 5rem);
}

.runden-box {
    margin: 0;
}

.runden-box .datum-gross {
    font-size: clamp(2.4rem, 10vw, 5rem);
}

.live-ergebnis {
    font-size: clamp(1rem, 4vw, 1.6rem);
    font-weight: 700;
    color: var(--kfc-gold-hell);
}

.live-naechster {
    padding: 8px 14px;
    border-top: 1px solid rgba(201, 162, 74, 0.3);
    color: var(--kfc-text-leise);
}

/* SIEGER-Banderole */
.sieger-banner {
    position: absolute;
    top: 6%;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%) rotate(-4deg);
    padding: 4px 22px;
    background: url('../data/sieger_banner.png') center / 100% 100% no-repeat, var(--gold-verlauf);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    animation: banner-rein 0.6s cubic-bezier(.2, 1.6, .4, 1);
}

.sieger-banner span {
    font-family: var(--schrift-display);
    font-weight: 700;
    font-size: clamp(1.1rem, 4vw, 2rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1206;
}

@keyframes banner-rein {
    from { opacity: 0; transform: translateX(-50%) rotate(-4deg) scale(0.4); }
}

/* K.O.-Splash */
.ko-splash {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    pointer-events: none;
    background: url('../data/ko_splash.png') center / contain no-repeat;
    mix-blend-mode: screen;
    animation: ko-rein 2.4s ease-out forwards;
}

.ko-splash span {
    font-family: var(--schrift-display);
    font-weight: 700;
    font-size: clamp(4rem, 22vw, 12rem);
    color: #fff;
    text-shadow: 0 0 30px var(--live), 0 0 60px var(--live);
}

@keyframes ko-rein {
    0% { opacity: 0; transform: scale(2); }
    15% { opacity: 1; transform: scale(1); }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

/* QR-Code nur auf großen Bildschirmen (Beamer) */
.live-qr {
    display: none;
}

.live-hinweis {
    display: none;
    margin-top: 12px;
    font-size: 0.85rem;
    text-align: center;
    color: var(--kfc-text-leise);
}

/* ===== 8. Admin ===== */
.admin-links {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.admin-steuerung {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
}

.runden-steuerung {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.runden-anzeige {
    min-width: 9ch;
    font-family: var(--schrift-display);
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
}

.ergebnis-formular {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--kfc-gold);
    border-radius: var(--radius-klein);
    background: rgba(0, 0, 0, 0.45);
    animation: einblenden 0.2s ease-out;
}

.formular-zeile {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8px;
    margin-top: 6px;
}

.timeline.admin .kampfkarte.status-2 .admin-steuerung {
    justify-items: end;
}

/* ===== 9. Größere Bildschirme ===== */
@media (min-width: 600px) {
    .timeline {
        padding-left: 28px;
    }

    .timeline::before {
        left: 10px;
    }

    .kampfkarte::before {
        left: -27px;
    }

    .kampfkarte.status-1::before {
        left: -25px;
    }

    .kampf-paar {
        gap: 16px;
        padding: 16px 22px;
    }

    .admin-links {
        grid-template-columns: 1fr 1fr;
    }

    .teamstand-team img {
        height: 72px;
    }

    .teamstand-name {
        font-size: 1rem;
    }

    .teamstand-zahl {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .speicher-leiste {
        bottom: 12px;
    }

    .live-qr {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 25;
        display: grid;
        justify-items: center;
        gap: 6px;
        padding: 10px;
        border: 1px solid var(--kfc-gold);
        border-radius: var(--radius-klein);
        background: rgba(0, 0, 0, 0.8);
        font-family: var(--schrift-titel);
        font-weight: 600;
        font-size: 0.8rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--kfc-gold-hell);
    }

    .live-qr #qrcode {
        padding: 6px;
        background: #fff;
    }

    .live-hinweis {
        display: block;
    }

    body.presentation-mode .live-buehne {
        min-height: calc(100dvh - 220px);
        align-content: center;
    }
}

/* ===== Ergänzungen ===== */
/* Segment-Knöpfe: Text nicht mitten im Wort umbrechen */
.segment-knopf {
    overflow-wrap: normal;
    hyphens: none;
    line-height: 1.15;
}

/* Liveansicht: Kämpferbilder an die Bildschirmhöhe anpassen, damit "Runde" immer sichtbar bleibt */
.live-bild {
    width: auto;
    height: min(46dvh, 520px);
    max-width: 100%;
}

@media (min-width: 1024px) {
    body.presentation-mode .live-bild {
        height: min(52dvh, 600px);
    }

    body.presentation-mode .live-buehne {
        min-height: calc(100dvh - 210px);
        padding-bottom: 56px;
    }

    /* Uhr über dem QR-Code statt über dem Teamstand */
    body.presentation-mode #presentation-clock {
        top: auto;
        right: 24px;
        bottom: 250px;
        font-family: var(--schrift-display);
        font-weight: 700;
        font-size: 2.4rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }
}
