/**
 * SV Neckargerach (SVN) - Fanzone & Vereinsspiele Stylesheet
 * Ausgelagert aus fanzone.php für bessere Wartbarkeit & Browser-Caching
 */

/* Pills */
.fz-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.fz-pill:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
}
.fz-pill.active {
    background: #ffffff;
    color: var(--sv-blue-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Digitales Vereinsheim – Intro & Hub Cards (Übersicht) */
.fz-clubhouse-intro {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--sv-blue-primary, #0b4db8);
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.5rem;
}
.fz-clubhouse-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sv-blue-primary, #0b4db8);
    margin-bottom: 0.35rem;
}
.fz-clubhouse-intro h2 {
    margin: 0 0 0.45rem;
    font-size: 1.45rem;
    color: var(--sv-blue-dark, #0d1f4e);
}
.fz-clubhouse-intro p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}
.fz-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.35rem;
}
.fz-hub-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 3px 12px rgba(15, 36, 71, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fz-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 36, 71, 0.08);
    border-color: #bfdbfe;
}
.fz-hub-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.22rem;
    color: var(--sv-blue-dark);
}
.fz-hub-card p {
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.58;
    margin: 0 0 1.4rem;
    flex-grow: 1;
}

/* Vereinsspiele Katalog & Bestenlisten */
.game-catalog-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(15, 36, 71, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game-catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 36, 71, 0.1);
}
.game-catalog-header {
    color: #ffffff;
    padding: 2.1rem 1.4rem 1.65rem;
    text-align: left;
    position: relative;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.game-catalog-header h3 {
    margin: 0;
    font-size: 1.38rem;
    color: #ffffff;
    font-weight: 800;
}
.game-catalog-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.game-catalog-tagline {
    font-size: 0.88rem;
    color: #e2e8f0;
    display: block;
    margin-top: 4px;
}
.fz-leaderboard-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}
.fz-leaderboard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}
.fz-leaderboard-head strong {
    color: var(--sv-blue-dark);
    font-size: 0.92rem;
}
.fz-leaderboard-head span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}
.fz-leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    color: #334155;
}
.fz-leaderboard-table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    font-weight: 700;
    text-align: left;
    padding: 0 0 5px;
    border-bottom: 1px solid #e2e8f0;
}
.fz-leaderboard-table td {
    padding: 5px 0;
    border-bottom: 1px solid #f1f5f9;
}
.fz-leaderboard-table tr:last-child td {
    border-bottom: none;
}
.fz-leaderboard-score {
    text-align: right;
    font-weight: 700;
    color: var(--sv-blue-primary, #0066cc);
}
.fz-leaderboard-score-meta {
    color: #64748b;
    font-weight: 400;
}
.fz-leaderboard-empty {
    color: #64748b;
    font-size: 0.84rem;
    font-style: italic;
}
.fz-game-intro {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
}
.fz-game-intro h2 {
    font-size: 1.9rem;
    color: var(--sv-blue-dark);
    margin: 0 0 0.35rem;
}
.fz-game-intro p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 600px;
}
.fz-game-banner.has-bg {
    width: 100%;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
    background-position: center;
    background-size: cover;
    box-shadow: 0 6px 20px rgba(15, 36, 71, 0.14);
}
.fz-game-banner.has-bg h2 {
    color: #ffffff;
    margin: 0 0 0.4rem;
    font-size: 1.85rem;
}
.fz-game-banner.has-bg p {
    color: #e2e8f0;
    margin: 0 auto;
    max-width: 600px;
    font-size: 0.95rem;
}

/* Difficulty Selector Buttons */
.btn-diff {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-diff:hover {
    border-color: var(--sv-blue-primary);
    color: var(--sv-blue-primary);
}
.btn-diff.active {
    background: var(--sv-blue-primary);
    color: #fff;
    border-color: var(--sv-blue-primary);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.25);
}

/* Kachel Bestenlisten Buttons */
.card-lead-btn {
    flex: 1;
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s ease;
}
.card-lead-btn:hover {
    border-color: var(--sv-blue-primary);
    color: var(--sv-blue-primary);
}
.card-lead-btn.active {
    background: var(--sv-blue-primary);
    color: #fff;
    border-color: var(--sv-blue-primary);
}

/* Memory Game Grid */
.memory-grid {
    display: grid;
    gap: 1rem;
    perspective: 1000px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
}

/* Leicht: 12 Karten (4 Spalten x 3 Zeilen) - komfortabel groß */
.memory-grid.grid-easy {
    grid-template-columns: repeat(4, minmax(0, 140px));
    max-width: 620px;
}

/* Mittel: 16 Karten (4 Spalten x 4 Zeilen) - spürbar kompakter */
.memory-grid.grid-medium {
    grid-template-columns: repeat(4, minmax(0, 115px));
    max-width: 530px;
}

/* Schwer: 24 Karten (6 Spalten x 4 Zeilen) - kompakt für gute Übersicht */
.memory-grid.grid-hard {
    grid-template-columns: repeat(6, minmax(0, 95px));
    max-width: 660px;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .memory-grid {
        gap: 0.6rem;
    }
    .memory-grid.grid-easy {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
    .memory-grid.grid-medium {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
    .memory-grid.grid-hard {
        grid-template-columns: repeat(4, 1fr); /* 4 Spalten x 6 Zeilen auf Tablets */
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .memory-grid {
        gap: 0.45rem;
    }
    /* Auf Smartphones 4 Spalten für alle Stufen: Perfekt bedienbar ohne Scroll-Chaos */
    .memory-grid.grid-easy {
        grid-template-columns: repeat(4, 1fr); /* 4 x 3 */
    }
    .memory-grid.grid-medium {
        grid-template-columns: repeat(4, 1fr); /* 4 x 4 */
    }
    .memory-grid.grid-hard {
        grid-template-columns: repeat(4, 1fr); /* 4 x 6 */
    }
    .memory-card {
        border-radius: 8px !important;
    }
    .memory-front-inner {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.95rem !important;
    }
    .memory-back {
        padding: 3px !important;
    }
}
.memory-card {
    aspect-ratio: 1 / 1;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.memory-card.flipped, .memory-card.matched {
    transform: rotateY(180deg);
}
.memory-card.matched {
    cursor: default;
}
.memory-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.memory-front {
    background: linear-gradient(135deg, var(--sv-blue-dark) 0%, #1e3a5f 100%);
    border: 3px solid #fff;
    color: #fff;
}
.memory-front-inner {
    width: 68%;
    height: 68%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25), inset 0 0 0 2px rgba(11,34,57,0.15);
    transition: transform 0.2s ease;
}
.memory-card:hover .memory-front-inner {
    transform: scale(1.05);
}
.memory-card-logo {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.memory-card-fallback-text {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--sv-blue-dark);
    letter-spacing: 0.5px;
}
.memory-back {
    background: #fff;
    transform: rotateY(180deg);
    border: 3px solid var(--sv-blue-primary);
    padding: 6px;
}
.memory-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.memory-card.matched .memory-back {
    border-color: #22c55e;
    background: #f0fdf4;
}

/* Trikot Museum Cards */
.jersey-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.jersey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}
.jersey-img-wrap {
    height: 220px;
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.jersey-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.jersey-card:hover .jersey-img-wrap img {
    transform: scale(1.05);
}
.jersey-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--sv-blue-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.jersey-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.jersey-body h4 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: var(--sv-blue-dark);
}
.jersey-sponsor {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
}
.jersey-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jersey-more-link {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sv-blue-primary);
}

/* Zeitreise */
.timeline-slider-box {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.25rem 2.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    contain: inline-size;
}
.timeline-nav-buttons {
    display: inline-flex;
    gap: 6px;
}
.timeline-nav-buttons-mobile {
    display: none;
}
.timeline-nav-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--sv-blue-dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.timeline-nav-btn:hover {
    background: var(--sv-blue-primary);
    color: #fff;
    border-color: var(--sv-blue-primary);
}
.timeline-mobile-scroller {
    display: none;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.timeline-mobile-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    flex: 0 0 auto;
    min-width: 110px;
    max-width: 150px;
    text-align: left;
    transition: all 0.2s ease;
}
.timeline-mobile-chip .m-chip-year {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--sv-blue-primary);
    line-height: 1.1;
}
.timeline-mobile-chip .m-chip-title {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-top: 3px;
}
.timeline-mobile-chip.active {
    background: #eff6ff;
    border-color: var(--sv-blue-primary);
    box-shadow: 0 3px 10px rgba(37,99,235,0.2);
}
.timeline-mobile-chip.active .m-chip-year {
    color: #1e40af;
}
.timeline-mobile-chip.active .m-chip-title {
    color: #1e3a8a;
    font-weight: 700;
}
.timeline-track-wrap {
    min-height: 116px;
}
.timeline-chips-col {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: auto;
}
.timeline-chips-col--above {
    bottom: 22px;
    flex-direction: column-reverse;
}
.timeline-chips-col--below {
    top: 22px;
    flex-direction: column;
}
.timeline-stem {
    width: 1.5px;
    height: 8px;
    background: #cbd5e1;
    display: block;
    flex-shrink: 0;
}
.timeline-pin.active {
    background: var(--sv-blue-primary) !important;
    border-color: #fff !important;
    transform: scale(1.35);
    box-shadow: 0 0 0 3px var(--sv-blue-primary), 0 4px 10px rgba(0,0,0,0.2) !important;
}
.timeline-chip {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: inline-block;
}
.timeline-chip:hover {
    border-color: var(--sv-blue-primary);
    color: var(--sv-blue-primary);
}
.timeline-chip.active {
    background: var(--sv-blue-primary);
    color: #fff;
    border-color: var(--sv-blue-primary);
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
@media (max-width: 768px) {
    .timeline-slider-box {
        padding: 1.1rem 1rem !important;
        border-radius: 12px;
    }
    /* Auf Mobilgeräten schalten wir die überlappenden Pins auf ein sauberes, mehrzeiliges Responsive-Grid um */
    .timeline-track-wrap {
        display: none !important;
    }
    .timeline-mobile-scroller {
        display: flex !important;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 4px 2px 10px;
    }
    .timeline-mobile-chip {
        flex: 0 0 auto;
        min-width: 112px !important;
        max-width: 185px !important;
        width: auto;
        padding: 8px 12px;
        min-height: 44px;
        scroll-snap-align: start;
    }
    .timeline-nav-buttons-desktop {
        display: none !important;
    }
    .timeline-nav-buttons-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #e2e8f0;
    }
    .timeline-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .timeline-display-card {
        border-radius: 12px !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .timeline-card-img {
        min-height: 190px;
        max-height: 240px;
    }
    .timeline-card-content {
        padding: 1.25rem 1rem !important;
    }
    .timeline-card-content h3 {
        font-size: 1.2rem !important;
    }
}
.timeline-display-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 320px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    contain: inline-size;
}
.timeline-card-img {
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 250px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.timeline-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.tl-year-badge {
    background: #dbeafe;
    color: #1e40af;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
}

/* Video Playlist */
.video-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.video-thumb-wrap {
    height: 150px;
    background: #000;
    position: relative;
    overflow: hidden;
}
.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.video-card:hover .video-thumb-wrap img {
    opacity: 1;
}
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.video-cat-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
}
.video-card-body {
    padding: 10px 12px;
}
.video-card-body h4 {
    margin: 0 0 4px;
    font-size: 0.92rem;
    color: var(--sv-blue-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-card-body p {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================== */
/* ELFMETERSCHIESSEN STYLES                   */
/* ========================================== */
.player-select-card {
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}
.player-select-card:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.player-select-card.selected {
    border-color: var(--sv-blue-primary);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.player-select-card.keeper-card.selected {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(2,132,199,0.25);
}
.player-avatar-wrap {
    width: 64px;
    height: 64px;
    position: relative;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.player-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
}
.player-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.player-jersey-pill {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--sv-blue-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid #fff;
}
.player-jersey-pill.keeper {
    background: #0284c7;
}
.player-card-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.matchup-mini-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #334155;
    background-size: cover;
    background-position: center;
    border: 2px solid #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #e2e8f0;
}

/* Elfmeter Aufstellungs-Screen & Matchup-Bar */
.penalty-selection-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.penalty-selection-heading {
    margin: 0 0 1.25rem;
    font-size: 1.3rem;
    color: var(--sv-blue-dark);
    text-align: center;
}
.penalty-duel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    min-width: 0;
}
.penalty-roster-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.15rem;
    min-width: 0;
    box-sizing: border-box;
}
.penalty-roster-label {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.penalty-roster-label--shooter {
    color: var(--sv-blue-primary);
}
.penalty-roster-label--keeper {
    color: #0284c7;
}
.penalty-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 10px;
    min-width: 0;
}
.penalty-matchup-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}
.penalty-matchup-players {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    flex: 1 1 320px;
    min-width: 0;
}
.penalty-matchup-side {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 140px;
}
.penalty-matchup-text {
    min-width: 0;
    flex: 1;
}
.penalty-matchup-role {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}
.penalty-matchup-name {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.penalty-matchup-name--shooter {
    color: #60a5fa;
}
.penalty-matchup-name--keeper {
    color: #38bdf8;
}
.penalty-matchup-vs {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f59e0b;
    flex-shrink: 0;
}
.penalty-start-btn {
    padding: 12px 24px;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: normal;
    text-align: center;
}
.penalty-ball-svg {
    display: block;
    width: 100%;
    height: 100%;
}
.penalty-hud-duel {
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
    min-width: 0;
    max-width: 100%;
}

/* Elfmeter Pitch / Arena */
.penalty-pitch-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 520px;
    background: linear-gradient(180deg, #0f172a 0%, #15803d 28%, #166534 65%, #14532d 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.5), 0 12px 35px rgba(0,0,0,0.2);
    border: 4px solid #fff;
    user-select: none;
}

/* Counter unten rechts: Verwandelte Elfmeter */
.penalty-scoreboard-bottomright {
    position: absolute;
    bottom: 16px;
    right: 18px;
    z-index: 15;
    background: rgba(15, 23, 42, 0.88);
    border: 2px solid rgba(251, 191, 36, 0.9);
    border-radius: 12px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4), 0 0 12px rgba(251, 191, 36, 0.25);
    backdrop-filter: blur(6px);
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.penalty-scoreboard-bottomright.pop {
    transform: scale(1.18);
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
}
.penalty-scoreboard-bottomright .score-icon {
    font-size: 1.4rem;
    line-height: 1;
}
.penalty-scoreboard-bottomright .score-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.penalty-scoreboard-bottomright .score-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #94a3b8;
    line-height: 1;
    margin-bottom: 2px;
}
.penalty-scoreboard-bottomright .score-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
    font-family: monospace, sans-serif;
    letter-spacing: 0.5px;
}

/* Stadion Kulisse */
.stadium-stands {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 95px;
    background: linear-gradient(180deg, #0b1120 0%, #1e293b 65%, #334155 100%);
    border-bottom: 3px solid #f8fafc;
    overflow: hidden;
    z-index: 2;
}
.stadium-roof {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(90deg, #475569 0px, #475569 20px, #334155 20px, #334155 40px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.5);
}
.stadium-crowd {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 52px;
    background-image: radial-gradient(#64748b 15%, transparent 16%),
                      radial-gradient(#94a3b8 15%, transparent 16%),
                      radial-gradient(#3b82f6 15%, transparent 16%),
                      radial-gradient(#ef4444 15%, transparent 16%),
                      radial-gradient(#f8fafc 15%, transparent 16%);
    background-size: 8px 8px, 12px 12px, 16px 16px, 14px 14px, 10px 10px;
    background-position: 0 0, 4px 4px, 8px 2px, 2px 6px, 6px 6px;
    opacity: 0.65;
}
.stadium-ad-board {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(90deg, #0b1329, #172554, #0b1329);
    border-top: 2px solid #fbbf24;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    z-index: 5;
}
.stadium-ad-track {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    animation: adTicker 75s linear infinite;
    padding-left: 20px;
}
.stadium-ad-board:hover .stadium-ad-track {
    animation-play-state: paused;
}
@keyframes adTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.ad-sponsor-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.ad-sponsor-logo {
    max-height: 22px;
    max-width: 65px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 3px;
    padding: 1px 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.ad-item {
    font-size: 0.76rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    display: inline-block;
}
.ad-bullet {
    color: #fbbf24;
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Flutlichtmasten */
.stadium-floodlight {
    position: absolute;
    top: 0;
    width: 40px;
    height: 80px;
    z-index: 4;
}
.stadium-floodlight.floodlight-left { left: 16px; }
.stadium-floodlight.floodlight-right { right: 16px; }
.floodlight-pole {
    width: 6px;
    height: 60px;
    background: #94a3b8;
    margin: 0 auto;
    border-radius: 2px;
}
.floodlight-head {
    width: 34px;
    height: 14px;
    background: #f8fafc;
    border-radius: 4px;
    box-shadow: 0 0 18px 8px rgba(255, 255, 255, 0.85);
    margin: 0 auto;
}
.floodlight-beam {
    position: absolute;
    top: 14px;
    left: -20px;
    width: 80px;
    height: 380px;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
    transform-origin: top center;
    pointer-events: none;
}
.floodlight-left .floodlight-beam { transform: rotate(18deg); }
.floodlight-right .floodlight-beam { transform: rotate(-18deg); }

.pitch-grass {
    position: absolute;
    top: 95px;
    inset-inline: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 40px, transparent 40px, transparent 80px);
}
.pitch-stripes {
    position: absolute;
    top: 95px;
    inset-inline: 0;
    bottom: 0;
    background: repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 60px, transparent 60px, transparent 120px);
    pointer-events: none;
}
.pitch-penalty-box {
    position: absolute;
    top: 95px;
    left: 8%;
    right: 8%;
    height: 250px;
    border: 3px solid rgba(255,255,255,0.7);
    border-top: none;
    border-radius: 0 0 10px 10px;
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.05);
}
.pitch-penalty-arc {
    position: absolute;
    top: 342px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.6);
    border-top: none;
    border-radius: 0 0 100px 100px;
    pointer-events: none;
}
.pitch-penalty-spot {
    position: absolute;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255,255,255,0.9);
}

/* Tor & Tornetz */
.goal-frame {
    position: absolute;
    top: 98px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 500px;
    min-width: 320px;
    height: 195px;
    border: 7px solid #fff;
    border-bottom: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    z-index: 10;
}
.goal-net {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(0deg, rgba(255,255,255,0.28) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px);
    background-size: 16px 16px;
    background-color: rgba(0,0,0,0.2);
}
.goal-post {
    position: absolute;
    bottom: 0;
    width: 7px;
    height: 100%;
    background: #f8fafc;
    box-shadow: 1px 0 4px rgba(0,0,0,0.4);
}
.goal-post.post-left { left: -7px; }
.goal-post.post-right { right: -7px; }
.goal-crossbar {
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    height: 7px;
    background: #f8fafc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* Zielzonen (6 Zonen: 3 oben, 3 unten) */
.aim-target {
    position: absolute;
    width: 31%;
    height: 46%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 8px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.05);
}
.aim-target:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #facc15;
    box-shadow: inset 0 0 15px rgba(250, 204, 21, 0.4);
    transform: scale(0.97);
}
.aim-target .target-cross {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.88);
    position: relative;
    opacity: 0.78;
    transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.aim-target .target-cross::before,
.aim-target .target-cross::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.aim-target .target-cross::before {
    width: 14px;
    height: 2px;
}
.aim-target .target-cross::after {
    width: 2px;
    height: 14px;
}
.aim-target:hover .target-cross {
    opacity: 1;
    border-color: #facc15;
    transform: scale(1.18);
}
.target-top-left { top: 3px; left: 3px; }
.target-top-center { top: 3px; left: 34.5%; width: 31%; }
.target-top-right { top: 3px; right: 3px; }
.target-bottom-left { bottom: 3px; left: 3px; }
.target-center { bottom: 3px; left: 34.5%; width: 31%; }
.target-bottom-right { bottom: 3px; right: 3px; }

/* Torwart Actor */
.keeper-actor {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.keeper-head {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2;
}
.keeper-head-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.keeper-body-jersey {
    width: 52px;
    height: 52px;
    background: #dc2626; /* Standard Torwart rot */
    border-radius: 8px 8px 4px 4px;
    position: relative;
    margin-top: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.2s ease;
}
.keeper-jersey-num {
    color: #fff;
    font-weight: 900;
    font-size: 1.15rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.keeper-arms {
    position: absolute;
    top: 46px;
    width: 82px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.keeper-arm {
    width: 14px;
    height: 18px;
    border-radius: 6px;
    background: #ffffff;
    border: 2px solid #0f2744;
    box-shadow: 0 2px 4px rgba(0,0,0,0.28);
    transition: transform 0.3s ease;
}
.keeper-legs {
    width: 38px;
    height: 38px;
    border-left: 12px solid #0f172a;
    border-right: 12px solid #0f172a;
}

/* Keeper Dive Animations */
.keeper-actor.dive-top-left {
    transform: translate(-155px, -45px) rotate(-35deg);
}
.keeper-actor.dive-top-center {
    transform: translate(-50%, -48px) scale(1.15);
}
.keeper-actor.dive-top-right {
    transform: translate(75px, -45px) rotate(35deg);
}
.keeper-actor.dive-bottom-left {
    transform: translate(-145px, 15px) rotate(-55deg);
}
.keeper-actor.dive-bottom-right {
    transform: translate(65px, 15px) rotate(55deg);
}
.keeper-actor.dive-center {
    transform: translateX(-50%) scale(1.05);
}

/* Ball & Schütze */
.penalty-ball-wrapper {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    z-index: 25;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.4, 1);
}
.penalty-ball {
    width: 32px;
    height: 32px;
    font-size: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 8px rgba(0,0,0,0.6));
    transition: transform 0.5s linear;
}

/* Ball Flight Targets */
.penalty-ball-wrapper.shoot-top_left {
    bottom: 375px;
    left: calc(50% - 135px);
    transform: scale(0.65);
}
.penalty-ball-wrapper.shoot-top_center {
    bottom: 380px;
    left: 50%;
    transform: translateX(-50%) scale(0.65);
}
.penalty-ball-wrapper.shoot-top_right {
    bottom: 375px;
    left: calc(50% + 135px);
    transform: scale(0.65);
}
.penalty-ball-wrapper.shoot-bottom_left {
    bottom: 275px;
    left: calc(50% - 135px);
    transform: scale(0.65);
}
.penalty-ball-wrapper.shoot-bottom_right {
    bottom: 275px;
    left: calc(50% + 135px);
    transform: scale(0.65);
}
.penalty-ball-wrapper.shoot-center {
    bottom: 275px;
    left: 50%;
    transform: translateX(-50%) scale(0.65);
}

/* Schütze Actor */
.shooter-actor {
    position: absolute;
    bottom: 12px;
    left: calc(50% - 75px);
    width: 60px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 22;
    transition: transform 0.3s ease;
}
.shooter-head {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.25);
    z-index: 2;
}
.shooter-head-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.shooter-body-jersey {
    width: 46px;
    height: 46px;
    background: var(--sv-blue-primary);
    border-radius: 6px 6px 4px 4px;
    margin-top: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease;
}
.shooter-jersey-num {
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.shooter-legs {
    width: 32px;
    height: 32px;
    border-left: 10px solid #1e293b;
    border-right: 10px solid #1e293b;
}

.shooter-actor.kick-action {
    transform: translate(25px, -15px) rotate(15deg);
}

/* Result Banner */
.shot-result-banner {
    position: absolute;
    top: 50%;
    left: 12px;
    right: 12px;
    margin-inline: auto;
    transform: translateY(-50%) scale(0);
    padding: 14px 28px;
    border-radius: 40px;
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.25;
    text-align: center;
    width: fit-content;
    max-width: calc(100% - 24px);
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
    z-index: 50;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.shot-result-banner.goal {
    background: #16a34a;
    color: #fff;
    border: 4px solid #fff;
    transform: translateY(-50%) scale(1);
}
.shot-result-banner.saved {
    background: #dc2626;
    color: #fff;
    border: 4px solid #fff;
    transform: translateY(-50%) scale(1);
}
@media (max-width: 680px) {
    .penalty-selection-card {
        padding: 1rem;
        border-radius: 14px;
    }
    .penalty-duel-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    .penalty-roster-panel {
        padding: 0.85rem;
    }
    .penalty-roster-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    .penalty-matchup-bar {
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .penalty-matchup-players {
        flex: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .penalty-matchup-side {
        flex: none;
        width: 100%;
    }
    .penalty-matchup-vs {
        text-align: center;
        font-size: 0.95rem;
    }
    .penalty-start-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.95rem;
        min-height: 46px;
    }
    .penalty-hud-duel {
        border-left: none;
        padding-left: 0;
        width: 100%;
        border-top: 1px solid #e2e8f0;
        padding-top: 8px;
    }
    .goal-frame {
        width: 88% !important;
        min-width: 0 !important;
    }
    .penalty-ball-wrapper.shoot-top_left,
    .penalty-ball-wrapper.shoot-bottom_left {
        left: 22% !important;
        transform: translateX(-50%) scale(0.65) !important;
    }
    .penalty-ball-wrapper.shoot-top_right,
    .penalty-ball-wrapper.shoot-bottom_right {
        left: 78% !important;
        transform: translateX(-50%) scale(0.65) !important;
    }
    .shot-result-banner {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        padding: 10px 14px;
        border-radius: 20px;
        font-size: clamp(0.88rem, 3.6vw, 1.2rem);
        letter-spacing: 0.3px;
        border-width: 3px !important;
    }
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ========================================================================= */
/* WER WIRD VEREINSLEGENDE (RUHIGES VEREINSQUIZ IN SVN-FARBEN)               */
/* ========================================================================= */
.wwm-tv-studio-container {
    background: #16324f;
    border-radius: 12px;
    border: 1px solid #1e3a8a;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.14);
    overflow: hidden;
    position: relative;
    user-select: none;
    color: #fff;
    margin-bottom: 2rem;
}

/* 1. RUHIGER VEREINSQUIZ-KOPFBEREICH */
.studio-stage-viewport {
    position: relative;
    background: linear-gradient(145deg, #16324f 0%, #0f2744 100%);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 1.25rem;
}

/* Zentrale Quiz-Tafel */
.studio-center-videowall {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
}
.videowall-logo-disc {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-disc-outer {
    text-align: center;
}
.logo-disc-text-top {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #cbd5e1;
    margin-bottom: 0.25rem;
}
.logo-disc-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}
.logo-disc-text-bottom {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Runden-Anzeige (ruhiger Kreis ohne Neon) */
.studio-step-counter-ring {
    display: flex;
    justify-content: center;
}
.ring-circular-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ring-num-display {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

/* LINKE LIVE-STUFENLEITER (ruhige Liste ohne Animationen) */
.studio-left-ladder {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 200px;
}

.ladder-step-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    color: #cbd5e1;
}

.ladder-step-pill .pill-dot {
    display: none;
}

.ladder-step-pill .pill-num {
    font-weight: 800;
    font-size: 0.7rem;
    color: #93c5fd;
    min-width: 14px;
}

.ladder-step-pill .pill-label {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.ladder-step-pill .pill-status {
    font-size: 0.68rem;
    font-weight: 800;
}

/* Sicherheitsstufen (5 & 8) */
.ladder-step-pill.is-safety {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
}

/* Höchste Stufe (10: Vereinslegende) */
.ladder-step-pill.rank-legend {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
}

/* BEREITS ERREICHT */
.ladder-step-pill.is-completed {
    background: rgba(22, 163, 74, 0.28);
    border-color: rgba(74, 222, 128, 0.5);
    color: #dcfce7;
}
.ladder-step-pill.is-completed .pill-num,
.ladder-step-pill.is-completed .pill-status {
    color: #86efac;
}

/* AKTUELLE STUFE */
.ladder-step-pill.is-current {
    background: var(--sv-blue-primary, #0066cc);
    border: 1px solid #93c5fd;
    color: #ffffff;
    font-weight: 700;
}
.ladder-step-pill.is-current .pill-num,
.ladder-step-pill.is-current .pill-status {
    color: #ffffff;
}

/* Oben Rechts: Die 3 Joker */
.studio-top-jokers {
    display: flex;
    gap: 8px;
    align-self: flex-start;
}
.studio-joker-hex {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 6px 12px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.studio-joker-hex:hover:not(.used) {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}
.studio-joker-hex.used {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.15);
    text-decoration: line-through;
}

/* ========================================================================= */
/* 2. FRAGEN- UND ANTWORTBEREICH (RUHIGES VEREINSDESIGN)                     */
/* ========================================================================= */
.studio-tv-hud-console {
    background: #0f2744;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
}

.tv-hud-question-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.25rem;
}
.hud-outer-line {
    display: none;
}
.tv-hud-question-hex {
    flex: 1 1 auto;
    max-width: 880px;
    background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
    border: 2px solid #3b82f6;
    border-radius: 14px;
    padding: 2px;
    box-shadow: 0 0 22px rgba(37, 99, 235, 0.35);
}
.tv-question-inner {
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #0c1a40 0%, #060c1d 100%);
    border-radius: 12px;
    box-sizing: border-box;
}
.tv-question-text {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.45;
    color: #ffffff;
    display: inline-block;
}

/* Die 4 Antwort-Felder (2x2 Grid) */
.tv-hud-answers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 880px;
    margin: 0 auto;
}
.tv-hud-answers-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}
.hud-center-joint {
    display: none;
}
.tv-answer-hex {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 52px;
    height: auto;
    display: flex;
    position: relative;
    background: #1d4ed8;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.hex-btn-content {
    flex: 1;
    width: 100%;
    height: auto;
    background: #172554;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 8px;
}
.hex-diamond-bullet {
    display: none;
}
.hex-letter-tag {
    color: #93c5fd;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}
.hex-answer-text {
    color: #f8fafc;
    font-size: 0.96rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Hover-Status */
.tv-answer-hex:hover:not(:disabled):not(.locked):not(.correct):not(.wrong) {
    border-color: #93c5fd;
}
.tv-answer-hex:hover:not(:disabled):not(.locked):not(.correct):not(.wrong) .hex-btn-content {
    background: #1e3a8a;
}

/* Eingeloggt-Status */
.tv-answer-hex.locked {
    border-color: #cbd5e1 !important;
}
.tv-answer-hex.locked .hex-btn-content {
    background: #334155 !important;
}

/* Richtig-Status */
.tv-answer-hex.correct {
    border-color: #22c55e !important;
}
.tv-answer-hex.correct .hex-btn-content {
    background: #15803d !important;
}

/* Falsch-Status */
.tv-answer-hex.wrong {
    border-color: #ef4444 !important;
}
.tv-answer-hex.wrong .hex-btn-content {
    background: #b91c1c !important;
}

/* 50:50 gestrichene Antwort */
.tv-answer-hex.eliminated {
    opacity: 0.2 !important;
    pointer-events: none !important;
}

/* IN-GAME AUFLÖSUNGS-OVERLAY (VERHINDERT JEGLICHEN LAYOUT-SHIFT) */
.wwm-resolution-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: resOverlayFadeIn 0.25s ease-out;
}

@keyframes resOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wwm-resolution-card {
    max-width: 580px;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 0.98) 100%);
    border: 2px solid #22c55e;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(34, 197, 94, 0.35);
    animation: resCardPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
    text-align: left;
    position: relative;
}

.wwm-resolution-card.card-wrong {
    border-color: #ef4444;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(239, 68, 68, 0.35);
}

@keyframes resCardPopIn {
    0% { transform: scale(0.92) translateY(12px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.wwm-res-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wwm-res-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 2px;
}

/* Richtige Antwort bei falscher Wahl hervorheben */
.wwm-res-correct-reveal {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 10px;
    padding: 8px 14px;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
}
.wwm-res-correct-reveal .reveal-label {
    color: #86efac;
    font-weight: 600;
}
.wwm-res-correct-reveal .reveal-text {
    color: #ffffff;
    font-weight: 800;
}

.wwm-res-explanation {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 10px 14px;
    border-left: 3px solid #3b82f6;
}

.wwm-res-actions {
    margin-top: 0.5rem;
}

.wwm-next-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 10px;
    letter-spacing: 0.3px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}
.wwm-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* STUFENLEITER SLIDE-OUT DRAWER */
.wwm-ladder-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    border-left: 2px solid #3b82f6;
    backdrop-filter: blur(12px);
    z-index: 99999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.7);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
}
.wwm-ladder-drawer.open {
    right: 0;
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 12px;
}
.drawer-close-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}
.drawer-close-btn:hover {
    background: #ef4444;
}
.wwm-ladder-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex-grow: 1;
}
.wwm-ladder-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #cbd5e1;
    transition: all 0.2s ease;
}
.wwm-ladder-item .step-num {
    width: 20px;
    font-weight: 800;
    color: #94a3b8;
    text-align: right;
}
.wwm-ladder-item.rank-safety {
    color: #fef08a;
    font-weight: 800;
}
.wwm-ladder-item.rank-safety .step-num {
    color: #facc15;
}
.wwm-ladder-item.rank-legendary {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.25) 0%, transparent 100%);
    color: #fef08a;
    font-weight: 900;
}
.wwm-ladder-item.active {
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%) !important;
    color: #fff !important;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.8);
    transform: scale(1.02);
}
.wwm-ladder-item.active .step-num {
    color: #fff;
}
.wwm-ladder-item.completed {
    color: #4ade80;
}
.wwm-ladder-item.completed::after {
    content: '✓';
    margin-left: auto;
    font-weight: 900;
    color: #22c55e;
}
.drawer-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
}

/* Modals */
.wwm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease;
}
.wwm-modal-box {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 18px;
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    text-align: center;
    color: #fff;
}
.wwm-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.wwm-modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Audience Chart */
.audience-chart-wrap {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 180px;
    margin-top: 1.75rem;
    padding: 0 1rem;
    gap: 16px;
}
.aud-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
}
.aud-bar-pct {
    font-size: 0.85rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 6px;
}
.aud-bar-track {
    flex-grow: 1;
    width: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.aud-bar-fill {
    width: 100%;
    background: linear-gradient(180deg, #38bdf8 0%, #1d4ed8 100%);
    border-radius: 6px 6px 0 0;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}
.aud-bar-label {
    font-size: 1rem;
    font-weight: 900;
    color: #facc15;
    margin-top: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .studio-stage-viewport {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.15rem;
        gap: 0.85rem;
    }
    .studio-left-ladder {
        display: none;
    }
    .studio-top-jokers {
        justify-content: center;
    }
    .studio-tv-hud-console {
        padding: 1rem;
    }
    .tv-hud-question-row {
        margin-bottom: 10px;
    }
    .tv-question-inner {
        padding: 1rem;
    }
    .tv-question-text {
        font-size: 0.96rem;
        line-height: 1.35;
    }
    .tv-hud-answers-container {
        gap: 8px;
    }
    .tv-hud-answers-row {
        flex-direction: column;
        gap: 8px;
    }
    .tv-answer-hex {
        width: 100%;
        height: auto;
        min-height: 48px;
    }
    .hex-btn-content {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    .wwm-resolution-card {
        max-width: 92%;
        padding: 1.25rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .ring-circular-badge {
        width: 40px;
        height: 40px;
    }
    .ring-num-display {
        font-size: 1.1rem;
    }
    .studio-joker-hex {
        padding: 5px 10px;
        font-size: 0.78rem;
    }
    #joker5050 .joker-hex-icon {
        font-size: 0.65rem !important;
        font-weight: 900 !important;
        letter-spacing: -0.5px !important;
    }
    /* Akteure: Moderner TV-Duell-Look mit kreisrunden Leucht-Avataren */
    .studio-actor {
        width: 90px !important;
        height: 145px !important;
        bottom: 10px !important;
    }
    .actor-candidate {
        left: 4% !important;
        transform: none !important;
    }
    .actor-host {
        right: 4% !important;
        transform: none !important;
    }
    .actor-chair {
        display: none !important; /* Klobigen Papp-Stuhl auf Handys verbergen */
    }
    /* Quiz-Steuerelemente & Stadion-Stage mobil */
    .wwm-stadium-arena .studio-stage-viewport {
        grid-template-columns: 1fr !important;
        padding: 40px 12px 68px !important;
        gap: 12px !important;
    }
    .studio-top-jokers {
        flex-direction: row !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .studio-joker-hex {
        min-height: 56px !important;
        width: 100% !important;
        padding: 6px 8px !important;
    }
    .studio-moderator-stage {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    .studio-mod-avatar-wrap,
    .studio-mod-img,
    .studio-mod-fallback {
        width: 60px !important;
        height: 60px !important;
    }
    /* TV-Frage-HUD Konsole ohne störende Ecken-Cuts */
    .studio-tv-hud-console {
        padding: 12px 8px 16px !important;
    }
    .tv-hud-question-row {
        margin-bottom: 10px !important;
    }
    .tv-hud-question-hex {
        clip-path: none !important;
        border: 2px solid #2563eb !important;
        border-radius: 14px !important;
        background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%) !important;
        padding: 2px !important;
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4) !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .tv-question-inner {
        clip-path: none !important;
        border-radius: 12px !important;
        background: linear-gradient(180deg, #0c1a40 0%, #060c1d 100%) !important;
        padding: 12px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .tv-question-text {
        color: #ffffff !important;
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    /* Antwort-Buttons mit sauberen abgerundeten Ecken & keinem Text-Abschneiden */
    .tv-hud-answers-container {
        gap: 8px !important;
    }
    .tv-hud-answers-row {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .tv-answer-hex {
        clip-path: none !important;
        border-radius: 12px !important;
        height: auto !important;
        min-height: 48px !important;
        padding: 2px !important;
        background: #1d4ed8 !important;
        box-shadow: 0 2px 10px rgba(29, 78, 216, 0.3) !important;
        width: 100% !important;
    }
    .hex-btn-content {
        clip-path: none !important;
        border-radius: 10px !important;
        padding: 8px 14px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .hex-diamond-bullet {
        font-size: 0.75rem !important;
    }
    .hex-letter-tag {
        font-size: 1rem !important;
        font-weight: 900 !important;
    }
    .hex-answer-text {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.3 !important;
        flex: 1 !important;
    }
    /* Auflösung & Modals */
    .wwm-resolution-card {
        max-width: 95% !important;
        padding: 1.15rem 1rem !important;
        border-radius: 14px !important;
    }
    .wwm-res-header {
        gap: 10px !important;
        margin-bottom: 0.65rem !important;
    }
    .wwm-res-header strong {
        font-size: 1.05rem !important;
    }
    .wwm-res-explanation {
        font-size: 0.86rem !important;
        padding: 8px 10px !important;
        margin-bottom: 1rem !important;
    }
    .wwm-next-btn {
        padding: 10px !important;
        font-size: 0.95rem !important;
    }
}

/* ==================================================
   QUIZ: STADION IN DER AU - FLUTLICHT-STUDIO & MODERATOR
   ================================================== */
.wwm-sound-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sv-blue-primary, #0066cc);
}
.wwm-sound-icon .sound-mute-slash {
    display: none;
}
.wwm-sound-icon.is-muted {
    color: #94a3b8;
}
.wwm-sound-icon.is-muted .sound-waves {
    opacity: 0.18;
}
.wwm-sound-icon.is-muted .sound-mute-slash {
    display: block;
    stroke: #dc2626;
}

.wwm-tv-studio-container.wwm-stadium-arena {
    background: linear-gradient(180deg, #061024 0%, #0b2042 54%, #0f2c27 100%);
    border: 1px solid rgba(56, 189, 248, 0.32);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.42);
    overflow: hidden;
}

.wwm-stadium-arena .studio-stage-viewport {
    position: relative;
    display: grid;
    grid-template-columns: 188px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 48px 22px 72px;
    min-height: 325px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.14) 0%, rgba(6, 16, 36, 0) 68%);
}

.wwm-stadium-arena .studio-live-ladder,
.wwm-stadium-arena .studio-center-videowall,
.wwm-stadium-arena .studio-top-jokers {
    position: relative;
    z-index: 2;
}

/* Stadion-Kulisse (Dach, Tribüne, Flutlichter, Bande, Rasen) */
.wwm-stadium-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wwm-stadium-roof {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: repeating-linear-gradient(90deg, #334155 0 22px, #1e293b 22px 44px);
    border-bottom: 2px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

.wwm-stadium-crowd {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 68px;
    background:
        radial-gradient(rgba(148, 163, 184, 0.45) 18%, transparent 20%),
        radial-gradient(rgba(59, 130, 246, 0.65) 18%, transparent 20%),
        radial-gradient(rgba(248, 250, 252, 0.55) 16%, transparent 18%),
        radial-gradient(rgba(251, 191, 36, 0.5) 16%, transparent 18%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.15) 100%);
    background-size: 10px 10px, 14px 14px, 18px 18px, 22px 22px, 100% 100%;
    background-position: 0 0, 5px 4px, 8px 2px, 2px 7px, 0 0;
    opacity: 0.72;
}

.wwm-floodlight {
    position: absolute;
    top: 8px;
    width: 44px;
    height: 80px;
    z-index: 1;
}
.wwm-floodlight--left {
    left: 16px;
}
.wwm-floodlight--right {
    right: 16px;
}

.wwm-fl-mast {
    width: 5px;
    height: 22px;
    margin: 0 auto;
    background: #94a3b8;
    border-radius: 2px;
}

.wwm-fl-bank {
    width: 36px;
    height: 12px;
    margin: 0 auto;
    border-radius: 4px;
    background: #f8fafc;
    box-shadow: 0 0 22px 9px rgba(224, 242, 254, 0.85);
}

.wwm-fl-beam {
    position: absolute;
    top: 30px;
    left: -75px;
    width: 194px;
    height: 310px;
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.24) 0%, rgba(186, 230, 253, 0.08) 52%, transparent 100%);
    clip-path: polygon(42% 0%, 58% 0%, 100% 100%, 0% 100%);
    transform-origin: top center;
}
.wwm-floodlight--left .wwm-fl-beam {
    transform: rotate(-22deg);
}
.wwm-floodlight--right .wwm-fl-beam {
    transform: rotate(22deg);
}

.wwm-stadium-adboard {
    bottom: 24px;
    top: auto;
    height: 32px;
    z-index: 1;
}

.wwm-stadium-pitch {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24px;
    background: repeating-linear-gradient(90deg, #15803d 0 46px, #166534 46px 92px);
    border-top: 2px solid rgba(255, 255, 255, 0.85);
}
.wwm-pitch-centerline {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.72);
    transform: translateX(-50%);
}
.wwm-pitch-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Zentrale Stadion-Tafel & Moderator-Box */
.wwm-stadium-arena .studio-center-videowall {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.studio-videowall-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.studio-moderator-stage {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 520px;
    padding: 12px 14px;
    background: rgba(8, 20, 48, 0.86);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(96, 165, 250, 0.42);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

.studio-mod-avatar-wrap {
    position: relative;
    width: 78px;
    height: 78px;
    flex-shrink: 0;
}

.studio-mod-img,
.studio-mod-fallback {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 3px solid #f59e0b;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
    box-sizing: border-box;
}

.studio-mod-img {
    object-fit: cover;
    display: block;
    background: #0f172a;
}

.studio-mod-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
    color: #e0f2fe;
}

.studio-mod-live-pill {
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    padding: 2px 8px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border: 1.5px solid #0b1e3f;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.studio-mod-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.studio-mod-role-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.studio-mod-role {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #93c5fd;
}

.studio-mod-name {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.studio-mod-bubble {
    margin-top: 6px;
    padding: 8px 11px;
    border-radius: 10px;
    background: rgba(15, 36, 78, 0.92);
    border: 1px solid rgba(147, 197, 253, 0.3);
    color: #e2e8f0;
    font-size: 0.84rem;
    line-height: 1.4;
}

/* Joker Buttons mit Stadion-Icons */
.wwm-stadium-arena .studio-top-jokers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.wwm-stadium-arena .studio-joker-hex {
    width: auto;
    height: auto;
    min-width: 86px;
    min-height: 62px;
    padding: 8px 12px;
    clip-path: none;
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.92) 0%, rgba(15, 38, 96, 0.96) 100%);
    border: 2px solid rgba(96, 165, 250, 0.78);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(2, 6, 23, 0.55);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    cursor: pointer;
}

.wwm-stadium-arena .studio-joker-hex:hover:not(.used):not(:disabled) {
    border-color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
}

.wwm-stadium-arena .studio-joker-hex .joker-hex-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fde68a;
}

.wwm-stadium-arena .studio-joker-hex .joker-hex-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
}

.wwm-stadium-arena .studio-joker-hex.used {
    opacity: 0.4;
    filter: grayscale(0.75);
    cursor: not-allowed;
}

@media (max-width: 960px) {
    .wwm-stadium-arena .studio-stage-viewport {
        grid-template-columns: 1fr;
        padding: 44px 16px 68px;
        gap: 14px;
    }
    .wwm-stadium-arena .studio-top-jokers {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .studio-moderator-stage {
        flex-direction: column;
        text-align: center;
    }
    .studio-mod-info {
        text-align: center;
    }
    .studio-mod-role-row {
        justify-content: center;
    }
}

.fanzone-container :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--sv-blue-primary, #0066cc);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .fanzone-container *,
    .fanzone-container *::before,
    .fanzone-container *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
