/* ══════════════════════════════════════════════════════════════════════════
   game.css — Guessle Game
   Nur für game.html. base.css MUSS zuerst geladen sein.
══════════════════════════════════════════════════════════════════════════ */

/* ── Layout ──────────────────────────────────────────────────────────────── */
.game-layout {
    position: relative; z-index: 10;
    display: grid;
    grid-template-columns: min(400px, 24vw) 1fr min(400px, 24vw);
    gap: 1rem;
    max-width: 1960px; margin: 0 auto;
    padding: 1.25rem 1% 4rem;
    min-height: calc(100vh - 73px);
    align-items: stretch;
}

/* ── Sidebars ─────────────────────────────────────────────────────────────── */
.game-sidebar {
    display: flex; flex-direction: column; gap: .6rem;
}
.game-players-list {
    display: flex; flex-direction: column;
    gap: .6rem;
}

/* ── Team-Card (16:9 cam overlay) ──────────────────────────────────────── */
.team-card {
    background: rgba(8,5,20,.85); border: 1px solid var(--border);
    border-radius: var(--radius-inner);
    position: relative; overflow: hidden;
    width: 100%; aspect-ratio: 16 / 9;
    backdrop-filter: blur(16px);
    animation: fadeUp .3s ease both;
    transition: border-color .3s, box-shadow .3s;
    /* Verhindert, dass GPU-beschleunigte Video-Elemente aus dem Clip-Bereich malen */
    isolation: isolate;
    transform: translateZ(0);
}
.team-card-placeholder { opacity: .28; pointer-events: none; }

/* Farbiger Akzentrand — nur border-top, sauber ohne ::before-Schicht */
.team-card::before { display: none; }

/* Gradient-Overlay für Lesbarkeit der Infos */
.team-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 52%;
    background: linear-gradient(to top, rgba(4,2,14,.97) 0%, rgba(4,2,14,.55) 60%, transparent 100%);
    z-index: 3; pointer-events: none;
}

.team-card.is-me        { border-color: rgba(0,212,255,.5);  border-top-width: 3px; box-shadow: 0 0 18px rgba(0,212,255,.12); }
.team-card.is-answering { border-color: rgba(245,200,66,.6);  border-top-width: 3px; animation: fadeUp .3s ease both, pulseCard 1.6s ease-in-out infinite; }
.team-card.is-picker    { border-color: rgba(245,200,66,.5); border-top-width: 3px; box-shadow: 0 0 20px rgba(245,200,66,.18); }
.team-card.is-moderator { border-color: rgba(155,89,245,.5); border-top-width: 3px; box-shadow: 0 0 18px rgba(155,89,245,.12); }

@keyframes pulseCard {
    0%, 100% { box-shadow: 0 0 14px rgba(245,200,66,.2); }
    50%       { box-shadow: 0 0 34px rgba(245,200,66,.5); }
}

/* ── Overlay-Infos (absolut positioniert über der Cam/Avatar-Fläche) ───── */
.tc-name {
    position: absolute; bottom: 1.75rem; left: .65rem; right: .65rem; z-index: 4;
    font-family: var(--font-display); font-size: .85rem; font-weight: 700;
    color: #fff; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-shadow: 0 1px 6px rgba(0,0,0,.95);
}
.tc-score-wrap {
    position: absolute; bottom: .45rem; left: .65rem; z-index: 4;
    display: flex; align-items: baseline; gap: .22rem;
}
.tc-score {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
    color: var(--gold); line-height: 1; transition: color .3s;
    text-shadow: 0 0 10px rgba(0,212,255,.5);
}
.tc-score.negative { color: #ff6b6b; text-shadow: 0 0 10px rgba(255,107,107,.4); }
.tc-score-unit {
    font-family: var(--font-display); font-size: .58rem; font-weight: 600;
    color: rgba(255,255,255,.5); letter-spacing: .06em;
}

/* Status-Badge oben rechts */
.tc-badge {
    position: absolute; top: .5rem; right: .5rem; z-index: 4;
    font-family: var(--font-display); font-size: .52rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: .16rem .45rem; border-radius: var(--radius-pill);
    opacity: 0; transition: opacity .25s; white-space: nowrap;
    backdrop-filter: blur(8px);
}
.tc-badge.visible { opacity: 1; }
.tc-badge.badge-answering { background: rgba(245,200,66,.2); border: 1px solid rgba(245,200,66,.5); color: #f5c842; }
.tc-badge.badge-picker    { background: rgba(245,200,66,.2); border: 1px solid rgba(245,200,66,.5);  color: #f5c842; }
.tc-badge.badge-locked    { background: rgba(0,229,160,.15);  border: 1px solid rgba(0,229,160,.4);   color: #6bffcb; }
.tc-badge.badge-me        { background: rgba(0,212,255,.2);  border: 1px solid rgba(0,212,255,.45); color: var(--gold); }
.tc-badge.badge-moderator { background: rgba(155,89,245,.2);  border: 1px solid rgba(155,89,245,.45); color: #d0b0ff; }

/* Divider + Last-Result: versteckt in 16:9-Karte */
.tc-divider, .tc-last { display: none; }

/* Legacy Avatar-Elemente (für Platzhalter-Zentrierng) */
.tc-avatar-wrap, .tc-avatar-duo {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -55%);
    z-index: 2; margin: 0;
}
.tc-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    object-fit: cover; border: 2px solid rgba(255,255,255,.15);
    display: block;
}
.tc-avatar-empty {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,.04); border: 2px dashed var(--border);
}
.tc-status-dot { display: none; }

/* Sidebar-Titel */
.sidebar-section-title {
    font-family: var(--font-display); font-size: .6rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted);
    text-align: center; padding-bottom: .15rem;
}

/* ── Phase-Panels Basis ───────────────────────────────────────────────────── */
.game-main {
    display: flex; flex-direction: column;
    min-height: 0;
}

.phase-panel {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-card); padding: 2rem 1.75rem;
    backdrop-filter: blur(24px);
    display: flex; flex-direction: column; align-items: center;
    gap: 1.25rem; text-align: center;
    animation: fadeUp .35s ease both;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    flex: 1;
    justify-content: center;
}
.phase-icon  { font-size: 3rem; }
.phase-label {
    font-family: var(--font-display); font-size: .62rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted);
}
.phase-title {
    font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 800; line-height: 1.2;
    background: linear-gradient(135deg, var(--text-main), var(--orange));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.reveal-next-hint { font-size: .78rem; color: var(--text-dim); }

/* ── Mod Badge Nav ───────────────────────────────────────────────────────── */
.mod-badge {
    font-family: var(--font-display); font-size: .68rem; font-weight: 700;
    letter-spacing: .1em; color: var(--orange);
    border: 1px solid rgba(0,184,212,.35); padding: .35rem .9rem;
    border-radius: var(--radius-pill); background: rgba(0,184,212,.08);
}
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════════════════════
   BOARD-PHASE
══════════════════════════════════════════════════════════════════════════ */
.phase-board-panel {
    align-items: stretch; justify-content: flex-start;
    padding: 1.5rem 1.5rem;
}
.board-header { width: 100%; flex-shrink: 0; }
.board-title-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
}
.board-picker-hint { font-size: .8rem; color: var(--orange); font-weight: 500; }

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem; width: 100%; flex: 1; min-height: 0;
    align-items: stretch;
}
.board-category {
    background: rgba(255,255,255,.025); border: 1px solid var(--border);
    border-radius: var(--radius-inner); overflow: hidden;
    display: flex; flex-direction: column;
}
.board-cat-header {
    display: flex; align-items: center; gap: .6rem;
    padding: .75rem 1rem;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.board-cat-icon  { font-size: 1.2rem; }
.board-cat-name  { font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--text-main); }
.board-cards     { display: flex; flex-direction: column; gap: .4rem; padding: .7rem; flex: 1; }

.board-card {
    display: flex; align-items: center; justify-content: center;
    padding: .7rem .85rem;
    border-radius: 10px; border: 1px solid var(--border);
    background: rgba(255,255,255,.02);
    cursor: pointer; transition: all .2s;
    user-select: none; flex: 1; min-height: 0;
}
.board-card:hover:not(.played):not(.disabled) {
    border-color: var(--orange); background: rgba(0,184,212,.08);
    color: var(--orange); transform: translateX(2px);
}
.board-card.played   { opacity: .35; cursor: default; text-decoration: line-through; }
.board-card.disabled { cursor: not-allowed; opacity: .5; }
.board-card-num   { font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: 1.6rem; }
.board-card-label { display: none; }
.board-card .played-mark { color: var(--green); font-size: .8rem; }


/* ══════════════════════════════════════════════════════════════════════════
   FRAGE-PHASE
══════════════════════════════════════════════════════════════════════════ */
.phase-question-panel {
    align-items: stretch; justify-content: flex-start;
    gap: .85rem; padding: 1.5rem 1.5rem;
}

.question-header {
    text-align: center;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}
.question-meta {
    font-size: .68rem; color: var(--text-muted); letter-spacing: .12em;
    text-transform: uppercase; margin-bottom: .4rem;
}
.question-text {
    font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.55rem);
    font-weight: 800; line-height: 1.3; color: var(--text-main);
}

.answer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .45rem; width: 100%;
}
.answer-slot {
    background: rgba(255,255,255,.025); border: 1px solid var(--border);
    border-radius: 10px; padding: .5rem .4rem;
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
    min-height: 60px; justify-content: center;
    transition: all .35s;
}
.answer-slot.revealed {
    background: rgba(0,229,160,.07);
    border-color: rgba(0,229,160,.35);
    box-shadow: 0 0 12px rgba(0,229,160,.15);
}
.answer-slot.covered {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.12);
}
.answer-slot.revealing {
    transform: scale(1.06);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.answer-slot.revealing.revealed {
    transform: scale(1);
    opacity: 1;
}
.answer-slot.missed {
    background: rgba(255,255,255,.02);
    border-color: rgba(255,255,255,.06);
}
.answer-slot.revealing.missed {
    transform: scale(1);
    opacity: .6;
}
.slot-rank {
    font-family: var(--font-display); font-size: .58rem; font-weight: 800;
    color: var(--text-dim); letter-spacing: .06em;
}
.slot-rank.rank-high { color: var(--orange); }
.slot-points {
    font-family: var(--font-display); font-size: .68rem; font-weight: 700;
    color: var(--green);
}
.slot-text {
    font-size: .72rem; font-weight: 500; color: var(--text-main);
    text-align: center; line-height: 1.25; word-break: break-word;
}
.slot-empty {
    width: 28px; height: 4px; border-radius: 2px;
    background: var(--border);
}

.turn-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,.02); border: 1px solid var(--border);
    border-radius: var(--radius-inner); padding: .75rem 1.1rem;
    width: 100%;
}
.turn-info  { display: flex; align-items: center; gap: .6rem; }
.turn-label { font-size: .72rem; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.turn-team  {
    font-family: var(--font-display); font-size: 1rem; font-weight: 800;
    color: var(--purple-light);
}
.turn-team.is-me { color: var(--gold); }

.timer-wrap  { display: flex; align-items: center; gap: .6rem; }
.timer-ring  { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.timer-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.timer-bg  { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 3; }
.timer-arc { fill: none; stroke: var(--orange); stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 113; stroke-dashoffset: 0;
    transition: stroke-dashoffset .1s linear; }
.timer-arc.danger { stroke: #ff4444; }
.timer-num {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: .85rem; font-weight: 800;
    color: var(--text-main);
}
.timer-num.danger { color: #ff4444; }

.answer-log {
    width: 100%; display: flex; flex-direction: column; gap: .35rem;
}
.log-entry {
    display: flex; align-items: center; gap: .65rem;
    padding: .45rem .75rem;
    border-radius: 8px; border: 1px solid var(--border);
    background: rgba(255,255,255,.02);
    animation: fadeUp .25s ease both;
    font-size: .78rem;
}
.log-entry.hit     { border-color: rgba(0,229,160,.3);  background: rgba(0,229,160,.05); }
.log-entry.tension { border-color: rgba(255,68,68,.4);  background: rgba(255,68,68,.07); }
.log-entry.miss    { border-color: rgba(122,110,154,.3); }
.log-entry.pending { border-color: rgba(122,110,154,.2); background: rgba(122,110,154,.03); }
.log-entry.timeout { border-color: rgba(122,110,154,.2); }

.log-team   { font-weight: 700; color: var(--text-main); flex-shrink: 0; }
.log-result { flex: 1; color: var(--text-muted); }
.log-points { font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.log-points.pos    { color: var(--green); }
.log-points.neg    { color: #ff6b6b; }
.log-points.danger { color: #ff4444; }

/* ── Großer Countdown für Spieler ─────────────────────────────────────── */
.player-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}
.big-timer-ring {
    position: relative;
    width: 160px;
    height: 160px;
}
.big-timer-ring svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}
.big-timer-bg {
    fill: none;
    stroke: rgba(255,255,255,.07);
    stroke-width: 6;
}
.big-timer-arc {
    fill: none;
    stroke: var(--orange);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset .1s linear;
}
.big-timer-arc.danger { stroke: #ff4444; }
.big-timer-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}
.big-timer-num.danger { color: #ff4444; }
.big-timer-label {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* Risk-Buzzer — theme-native, glassy mit Flammen-Icon */
.btn-risk-buzzer-wrap {
    margin-top: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .65rem;
}

.btn-risk-buzzer {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 212, 255, .35);
    background:
            radial-gradient(circle at 40% 35%, rgba(0, 229, 160, .18) 0%, rgba(0, 151, 167, .12) 45%, rgba(8, 6, 18, .85) 100%);
    backdrop-filter: blur(16px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s cubic-bezier(.16,1,.3,1), box-shadow .15s ease, border-color .15s ease;
    box-shadow:
            0 0 18px rgba(0, 212, 255, .15),
            0 0 40px rgba(0, 229, 160, .08),
            inset 0 1px 0 rgba(255,255,255,.08),
            inset 0 -1px 0 rgba(0,0,0,.3);
    animation: risk-glow 2.4s ease-in-out infinite;
    overflow: visible;
}

/* Äußerer Pulse-Ring */
.btn-risk-buzzer::before {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 160, .22);
    animation: risk-ring-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

/* Zweiter, größerer Ring */
.btn-risk-buzzer::after {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, .10);
    animation: risk-ring-pulse 2.4s ease-in-out infinite .4s;
    pointer-events: none;
}

.btn-risk-buzzer svg {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 0 8px rgba(0, 229, 160, .7)) drop-shadow(0 0 20px rgba(0, 212, 255, .4));
    transition: filter .15s ease;
}

.btn-risk-buzzer:hover {
    transform: translateY(-3px) scale(1.06);
    border-color: rgba(0, 229, 160, .6);
    box-shadow:
            0 0 28px rgba(0, 212, 255, .35),
            0 0 60px rgba(0, 229, 160, .18),
            inset 0 1px 0 rgba(255,255,255,.12),
            inset 0 -1px 0 rgba(0,0,0,.3);
}
.btn-risk-buzzer:hover svg {
    filter: drop-shadow(0 0 12px rgba(0, 229, 160, .95)) drop-shadow(0 0 28px rgba(0, 212, 255, .6));
}

.btn-risk-buzzer:active:not(:disabled) {
    transform: scale(.94);
    box-shadow:
            0 0 10px rgba(0, 212, 255, .2),
            inset 0 2px 8px rgba(0,0,0,.4);
}

.btn-risk-buzzer:disabled {
    opacity: .3;
    cursor: default;
    animation: none;
}

.btn-risk-buzzer.used {
    border-color: var(--border);
    background: rgba(255,255,255,.03);
    animation: none;
    cursor: default;
    box-shadow: none;
}
.btn-risk-buzzer.used::before,
.btn-risk-buzzer.used::after { display: none; }
.btn-risk-buzzer.used svg {
    filter: none;
    opacity: .25;
}

/* Label unter dem Buzzer */
.risk-buzzer-label {
    font-family: var(--font-display);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.btn-risk-buzzer.used ~ .risk-buzzer-label {
    opacity: .3;
}

@keyframes risk-glow {
    0%, 100% {
        box-shadow:
                0 0 18px rgba(0, 212, 255, .15),
                0 0 40px rgba(0, 229, 160, .08),
                inset 0 1px 0 rgba(255,255,255,.08),
                inset 0 -1px 0 rgba(0,0,0,.3);
    }
    50% {
        box-shadow:
                0 0 28px rgba(0, 212, 255, .30),
                0 0 60px rgba(0, 229, 160, .16),
                inset 0 1px 0 rgba(255,255,255,.10),
                inset 0 -1px 0 rgba(0,0,0,.3);
    }
}
@keyframes risk-ring-pulse {
    0%, 100% { opacity: .5; transform: scale(1); }
    50%       { opacity: 1;  transform: scale(1.04); }
}

/* Risk badge in team card */
.tc-risk-badge {
    font-size: .65rem;
    font-weight: 700;
    color: #ff6b00;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.moderator-panel {
    width: 100%;
    background: rgba(0,184,212,.04); border: 1px solid rgba(0,184,212,.2);
    border-radius: var(--radius-inner); padding: 1rem 1.1rem;
    display: flex; flex-direction: column; gap: .75rem;
}
.mod-panel-header {
    display: flex; align-items: center; justify-content: space-between;
}
.mod-panel-title {
    font-family: var(--font-display); font-size: .75rem; font-weight: 700;
    color: var(--orange); letter-spacing: .12em; text-transform: uppercase;
}
.mod-current-team { font-size: .78rem; font-weight: 600; color: var(--text-main); }

.mod-timer-row { display: flex; align-items: center; gap: .75rem; }
.btn-timer {
    display: inline-flex; align-items: center; gap: .4rem;
    font-family: var(--font-display); font-size: .78rem; font-weight: 700;
    background: rgba(155,89,245,.15); border: 1px solid rgba(155,89,245,.35);
    color: var(--purple-light); border-radius: var(--radius-pill);
    padding: .45rem 1rem; cursor: pointer; transition: all .2s;
    white-space: nowrap; flex-shrink: 0;
}
.btn-timer:hover { background: rgba(155,89,245,.3); }
.btn-timer:disabled { opacity: .4; cursor: not-allowed; }
.mod-timer-hint { font-size: .72rem; color: var(--text-dim); }

.mod-answers-label {
    font-size: .68rem; color: var(--text-muted); letter-spacing: .06em;
    text-transform: uppercase;
}
.mod-answers-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}
.mod-answer-col {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.mod-guessle-section {
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(255,68,68,.2);
}
.mod-guessle-label {
    font-size: .68rem; color: #ff6b6b; letter-spacing: .06em;
    text-transform: uppercase; margin-bottom: .3rem;
}
.mod-guessle-list {
    display: flex; gap: .3rem; flex-wrap: wrap;
}
.mod-answer-item {
    display: flex; align-items: center; gap: .65rem;
    padding: .45rem .75rem;
    background: rgba(255,255,255,.02); border: 1px solid var(--border);
    border-radius: 8px; cursor: pointer; transition: all .2s;
    font-size: .8rem;
}
.mod-answer-item:hover { border-color: var(--green); background: rgba(0,229,160,.07); }
.mod-answer-item.already-found,
.mod-answer-item.already-hit { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.mod-rank { font-family: var(--font-display); font-weight: 800; font-size: .82rem; min-width: 28px; text-align: center; }
.mod-rank.top-10  { color: var(--green);  }
.mod-rank.tension { color: #ff4444; }
.mod-text { flex: 1; color: var(--text-main); }
.mod-pts  { font-size: .72rem; color: var(--text-muted); flex-shrink: 0; }

.mod-bottom-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-mod-tension {
    flex: 1; padding: .6rem 1rem;
    background: rgba(255,68,68,.12); border: 1px solid rgba(255,68,68,.35);
    border-radius: var(--radius-inner); color: #ff6b6b;
    font-family: var(--font-display); font-size: .82rem; font-weight: 700;
    cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-mod-tension:hover { background: rgba(255,68,68,.25); border-color: #ff4444; color: #ff4444; }
.btn-mod-tension:disabled { opacity: .35; cursor: not-allowed; }

.btn-mod-miss {
    flex: 1; padding: .6rem 1rem;
    background: rgba(122,110,154,.1); border: 1px solid rgba(122,110,154,.25);
    border-radius: var(--radius-inner); color: var(--text-muted);
    font-family: var(--font-display); font-size: .82rem; font-weight: 700;
    cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-mod-miss:hover { background: rgba(122,110,154,.22); color: var(--text-main); }
.btn-mod-miss:disabled { opacity: .35; cursor: not-allowed; }

.btn-mod-back {
    flex: 1; padding: .6rem 1rem;
    background: rgba(122,110,154,.1); border: 1px solid rgba(122,110,154,.25);
    border-radius: var(--radius-inner); color: var(--text-muted);
    font-family: var(--font-display); font-size: .82rem; font-weight: 700;
    cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-mod-back:hover { background: rgba(122,110,154,.22); color: var(--text-main); }
.btn-mod-back:disabled { opacity: .35; cursor: not-allowed; }

.btn-mod-resolve {
    width: auto; padding: .75rem 1rem; margin-top: .5rem;
    background: linear-gradient(135deg, rgba(0,229,160,.18), rgba(0,229,160,.08));
    border: 1px solid rgba(0,229,160,.45);
    border-radius: var(--radius-inner); color: var(--green);
    font-family: var(--font-display); font-size: .82rem; font-weight: 800;
    cursor: pointer; transition: all .2s; letter-spacing: .04em;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
}
.btn-mod-resolve:hover { background: rgba(0,229,160,.28); border-color: var(--green); }

.btn-mod-resolve-manual {
    width: auto; padding: .75rem 1rem; margin-top: .5rem;
    background: linear-gradient(135deg, rgba(155,89,245,.15), rgba(155,89,245,.06));
    border: 1px solid rgba(155,89,245,.4);
    border-radius: var(--radius-inner); color: var(--purple-light);
    font-family: var(--font-display); font-size: .82rem; font-weight: 800;
    cursor: pointer; transition: all .2s; letter-spacing: .04em;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
}
.btn-mod-resolve-manual:hover { background: rgba(155,89,245,.25); border-color: rgba(155,89,245,.6); }

.btn-mod-next-slot {
    width: 100%; padding: .75rem 1rem; margin-top: .35rem;
    background: linear-gradient(135deg, rgba(245,200,66,.15), rgba(245,200,66,.06));
    border: 1px solid rgba(245,200,66,.4);
    border-radius: var(--radius-inner); color: #f5c842;
    font-family: var(--font-display); font-size: .92rem; font-weight: 800;
    cursor: pointer; transition: all .2s; letter-spacing: .04em;
    animation: pulseSlotBtn 1.8s ease-in-out infinite;
}
.btn-mod-next-slot:hover { background: rgba(245,200,66,.25); border-color: rgba(245,200,66,.7); }
@keyframes pulseSlotBtn {
    0%, 100% { box-shadow: 0 0 8px rgba(245,200,66,.15); }
    50%      { box-shadow: 0 0 22px rgba(245,200,66,.35); }
}

/* ══════════════════════════════════════════════════════════════════════════
   REVEAL-PHASE
══════════════════════════════════════════════════════════════════════════ */
.phase-reveal { gap: 1rem; justify-content: flex-start; padding-top: 1.75rem; }
.reveal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .45rem; width: 100%; max-width: 700px;
}
.reveal-slot {
    border-radius: 10px; padding: .55rem .4rem;
    display: flex; flex-direction: column; align-items: center; gap: .2rem;
    min-height: 62px; justify-content: center; border: 1px solid;
}
.reveal-slot.was-found  { background: rgba(0,229,160,.07); border-color: rgba(0,229,160,.35); }
.reveal-slot.was-missed { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.08); }
.reveal-slot-rank { font-family: var(--font-display); font-size: .58rem; font-weight: 800; letter-spacing: .06em; color: var(--text-dim); }
.reveal-slot.was-found .reveal-slot-rank { color: var(--green); }
.reveal-slot-text { font-size: .72rem; font-weight: 500; color: var(--text-main); text-align: center; line-height: 1.25; word-break: break-word; }
.reveal-slot.was-missed .reveal-slot-text { color: var(--text-muted); }
.reveal-slot-pts { font-family: var(--font-display); font-size: .65rem; font-weight: 700; color: var(--green); }

.reveal-log-section {
    width: 100%; max-width: 700px;
    background: rgba(255,255,255,.015); border: 1px solid var(--border);
    border-radius: var(--radius-inner); padding: .85rem 1rem;
    opacity: 0; transform: translateY(12px);
    transition: opacity .45s ease, transform .45s ease;
}
.reveal-log-section.visible {
    opacity: 1; transform: translateY(0);
}
.reveal-log-title { font-size: .65rem; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.reveal-log-list  { display: flex; flex-direction: column; gap: .3rem; }

/* ══════════════════════════════════════════════════════════════════════════
   GAMEOVER
══════════════════════════════════════════════════════════════════════════ */
.final-scores { width: 100%; max-width: 500px; display: flex; flex-direction: column; gap: .5rem; }
.final-row {
    display: flex; align-items: center; gap: .75rem;
    padding: .7rem 1rem;
    background: rgba(255,255,255,.025); border: 1px solid var(--border);
    border-radius: var(--radius-inner);
}
.final-row:first-child { border-color: rgba(0,212,255,.3); background: rgba(0,212,255,.05); box-shadow: 0 0 18px rgba(0,212,255,.08); }
.final-rank   { font-size: 1.2rem; width: 1.8rem; text-align: center; }
.final-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.final-name   { flex: 1; font-weight: 600; font-size: .9rem; }
.final-pts    { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--gold); }
.gameover-buttons { display: flex; flex-direction: column; gap: .65rem; align-items: center; }

/* ══════════════════════════════════════════════════════════════════════════
   RESULT-FLASH Overlay
══════════════════════════════════════════════════════════════════════════ */
.result-flash {
    position: fixed; inset: 0; z-index: 800;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.result-flash-inner {
    font-family: var(--font-display); font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800; text-align: center;
    padding: .75rem 2rem; border-radius: var(--radius-card);
    backdrop-filter: blur(8px);
    animation: flashPop .7s cubic-bezier(.36,.07,.19,.97) both;
}
.result-flash-inner.hit     { color: var(--green); background: rgba(0,229,160,.15); border: 2px solid rgba(0,229,160,.4); }
.result-flash-inner.tension { color: #ff4444; background: rgba(255,68,68,.15); border: 2px solid rgba(255,68,68,.5); }
.result-flash-inner.miss    { color: var(--text-muted); background: rgba(122,110,154,.12); border: 2px solid rgba(122,110,154,.3); }

@keyframes flashPop {
    0%   { opacity: 0; transform: scale(.6); }
    20%  { opacity: 1; transform: scale(1.1); }
    60%  { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(.95) translateY(-20px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   STREAMER CARDS — sc-* — video / avatar split layout in sidebar
══════════════════════════════════════════════════════════════════════════ */

/* Media-Bereich: füllt die gesamte 16:9-Karte */
.sc-media {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    /* border-radius muss mit .team-card übereinstimmen — sonst überstehen Ecken */
    border-radius: var(--radius-inner);
    background: linear-gradient(160deg, rgba(14,8,38,.95) 0%, rgba(6,3,18,.98) 100%);
    z-index: 1;
}

/* Solo: ein Spieler → volle Breite */
.sc-slot-full {
    flex: 1;
}

/* Duo: zwei Spieler → je 50 % */
.sc-slot-half {
    flex: 0 0 50%;
}
.sc-slot-half + .sc-slot-half {
    border-left: 2px solid rgba(255,255,255,.06);
}

/* Gemeinsame Slot-Basis */
.sc-slot-full,
.sc-slot-half {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(20,12,50,.9) 0%, rgba(8,5,20,.95) 100%);
    /* GPU-beschleunigte Video-Elemente respektieren overflow:hidden nur mit
       einem eigenen Stacking-Context — isolation + transform erzwingen ihn. */
    isolation: isolate;
    transform: translateZ(0);
}

/* Ecken der äußeren Slots müssen exakt zum .sc-media-Radius passen,
   damit das <video>-Layer nicht dahinter übersteht. */
.sc-slot-full:only-child,
.sc-slot-half:first-child:last-child {
    border-radius: var(--radius-inner);
}
.sc-slot-half:first-child {
    border-radius: var(--radius-inner) 0 0 var(--radius-inner);
}
.sc-slot-half:last-child {
    border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
}
.sc-slot-full:first-child {
    border-radius: var(--radius-inner) 0 0 var(--radius-inner);
}
.sc-slot-full:last-child {
    border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
}
.sc-slot-full:only-child {
    border-radius: var(--radius-inner);
}

/* Eigener Slot: dezenter Glow-Rand */
.sc-slot-me { box-shadow: inset 0 0 0 1.5px rgba(0,212,255,.28); }

/* Live-Video */
.sc-cam {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    /* Explizit Radius setzen — Video-Elemente können overflow:hidden umgehen */
    border-radius: inherit;
}

/* Eigenes Bild: Spiegelung wird per JS über window.mirrorStates gesteuert (streamer.js + game.js) */
/* .sc-slot-me .sc-cam { transform: scaleX(-1); } — entfernt, da sync über Server */

/* Avatar-Fallback (zentriert in der Mitte des Slots) */
.sc-avatar {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.15);
    z-index: 1;
}
.sc-slot-half .sc-avatar {
    width: 52px; height: 52px;
}
/* Premium ring inside sc-slot (takes over absolute positioning from img) */
.sc-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding: 3px;
}
.sc-ring .sc-avatar {
    position: static;
    top: auto; left: auto;
    transform: none;
    border: none;
}
/* Final scores premium ring */
.final-ring { padding: 2px; }
.final-ring .final-avatar { width: 32px; height: 32px; }

/* Footer-Leiste mit Name + Cam-Button */
.sc-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 18px 6px 5px;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    display: flex; align-items: center; gap: 3px;
    z-index: 4;
}
.sc-name {
    flex: 1; min-width: 0;
    font-size: .58rem; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,.9);
    line-height: 1;
}
.sc-name em { color: var(--gold); font-style: normal; font-size: .54rem; }

/* Kamera-Toggle-Button (nur eigener Slot) */
.sc-cam-btn {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.12);
    color: var(--text-muted);
    cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all .18s; z-index: 3; padding: 0;
}
.sc-cam-btn:hover     { border-color: var(--green); color: var(--green); }
.sc-cam-btn-active    { background: rgba(0,229,160,.18); border-color: var(--green); color: var(--green); box-shadow: 0 0 6px rgba(0,229,160,.35); }

/* ── Kamera-Buttons auf eigener Team-Card ──────────────────────────────── */
.tc-cam-btns {
    position: absolute; top: .45rem; right: .45rem; z-index: 5;
    display: flex; flex-direction: row; gap: .28rem;
}
.tc-cam-btn {
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(8,5,20,.72);
    border: 1px solid rgba(255,255,255,.13);
    color: var(--text-muted);
    cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all .18s; padding: 0;
    backdrop-filter: blur(6px);
}
.tc-cam-btn svg { width: 11px; height: 11px; }
.tc-cam-btn:hover { border-color: var(--green); color: var(--green); background: rgba(0,229,160,.1); }
.tc-cam-btn.active {
    border-color: var(--green); color: var(--green);
    background: rgba(0,229,160,.15);
    box-shadow: 0 0 7px rgba(0,229,160,.3);
}

/* Badge nach links schieben wenn Cam-Buttons rechts sitzen (eigene Karte) */
.tc-badge.badge-own-left { right: auto; left: .5rem; }

/* Responsive: kleinere Karten auf schmalem Viewport */
@media (max-width: 1300px) {
    .game-layout  { grid-template-columns: min(320px, 22vw) 1fr min(320px, 22vw); }
    .sc-avatar    { width: 40px; height: 40px; }
    .sc-slot-half .sc-avatar { width: 30px; height: 30px; }
    .tc-name { font-size: .8rem; }
    .tc-score { font-size: 1.25rem; }
}

@media (max-width: 1000px) {
    .game-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        align-items: start;
    }
    .game-sidebar       { flex-direction: row; overflow-x: auto; gap: .5rem; }
    .game-sidebar-left  { order: 2; }
    .game-sidebar-right { order: 3; }
    .game-main          { order: 1; }
    .sidebar-section-title { display: none; }
    .game-players-list  { flex-direction: row; flex: unset; }

    /* Horizontale Karte: feste Breite, Seitenverhältnis bleibt */
    .team-card {
        min-width: 180px; max-width: 200px;
        flex-shrink: 0;
    }
    .tc-name { font-size: .72rem; }
    .tc-score { font-size: 1.1rem; }
    .answer-grid { grid-template-columns: repeat(5, 1fr); }
    .reveal-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 680px) {
    .phase-panel    { padding: 1.25rem .85rem; }
    .board-grid     { grid-template-columns: 1fr 1fr; }
    .mod-bottom-row { flex-direction: column; }
}
@media (max-width: 420px) {
    .answer-slot { padding: .4rem .2rem; min-height: 52px; }
    .slot-text   { font-size: .62rem; }
}

/* WQHD — zoom:1.25 skaliert vh nicht mit → 80vh statt 100vh */
@media (min-width: 2400px) {
    .game-layout { min-height: calc(80vh - 73px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   CAM SETUP MODAL
══════════════════════════════════════════════════════════════════════════ */
.matchle-cam-modal {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-card); padding: 2rem;
    max-width: 480px; width: 100%;
    backdrop-filter: blur(24px);
    box-shadow: 0 0 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
    display: flex; flex-direction: column; gap: 1.1rem;
    position: relative;
}

/* Close-Button oben rechts */
.cam-modal-close-btn {
    position: absolute; top: .9rem; right: .9rem;
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(255,255,255,.05); border: 1px solid var(--border);
    color: var(--text-muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s; padding: 0; flex-shrink: 0;
}
.cam-modal-close-btn:hover {
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25);
    color: var(--text-main);
}
.cam-modal-close-btn svg { width: 14px; height: 14px; }

.cam-modal-header { text-align: center; padding-top: .25rem; }
.cam-modal-icon   { margin-bottom: .4rem; display: flex; justify-content: center; color: var(--gold); }
.cam-modal-icon svg { width: 2rem; height: 2rem; filter: drop-shadow(0 0 10px rgba(0,212,255,.4)); }
.cam-modal-title  {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
    margin: 0 0 .3rem; color: var(--text-main);
}
.cam-modal-desc   { font-size: .82rem; color: var(--text-muted); margin: 0; font-weight: 300; }

/* Preview — object-fit: contain verhindert den Zoom-Effekt */
.cam-preview-wrap {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: rgba(0,0,0,.55); border-radius: var(--radius-inner);
    overflow: hidden; border: 1px solid var(--border);
}
#cam-preview-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;   /* contain = kein Zoom, volles Bild sichtbar */
    display: none;
    background: transparent;
}
#cam-preview-video.mirrored { transform: scaleX(-1); }

.cam-preview-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; color: var(--text-dim);
}

/* Device-Select */
.cam-device-select {
    width: 100%; padding: .6rem .85rem;
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    border-radius: var(--radius-inner); color: var(--text-main);
    font-size: .82rem; font-family: var(--font-body);
    cursor: pointer; outline: none;
    transition: border-color .2s;
    /* Force dark dropdown list in all browsers */
    color-scheme: dark;
}
.cam-device-select:hover,
.cam-device-select:focus { border-color: rgba(0,212,255,.4); }

/* Extra-Settings-Reihe: Resolution, FPS, Mirror */
.cam-extra-settings {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: .65rem;
}
.cam-setting-group {
    display: flex; flex-direction: column; gap: .3rem;
}
.cam-setting-label {
    font-size: .62rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--text-muted);
    display: flex; align-items: center; gap: .3rem;
}
.cam-setting-label svg { width: 11px; height: 11px; flex-shrink: 0; opacity: .7; }
.cam-setting-select {
    padding: .5rem .7rem;
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    border-radius: var(--radius-inner); color: var(--text-main);
    font-size: .8rem; font-family: var(--font-body);
    cursor: pointer; outline: none; transition: border-color .2s;
    /* Force dark dropdown list in all browsers */
    color-scheme: dark;
}
.cam-setting-select:hover,
.cam-setting-select:focus { border-color: rgba(0,212,255,.4); }

/* Mirror-Toggle */
.cam-mirror-toggle {
    display: flex; align-items: center; justify-content: center;
    gap: .5rem; cursor: pointer;
    padding: .48rem .7rem;
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    border-radius: var(--radius-inner); transition: all .2s;
    user-select: none; height: 100%;
    font-size: .8rem; color: var(--text-muted);
}
.cam-mirror-toggle:hover { border-color: rgba(0,212,255,.4); color: var(--text-main); }
.cam-mirror-toggle.active {
    border-color: rgba(0,229,160,.45); color: var(--green);
    background: rgba(0,229,160,.08);
    box-shadow: 0 0 10px rgba(0,229,160,.15);
}
.cam-mirror-toggle svg { width: 14px; height: 14px; flex-shrink: 0; }

.cam-modal-actions {
    display: flex; gap: .75rem;
}
.cam-modal-actions .btn-primary,
.cam-modal-actions .btn-secondary { flex: 1; justify-content: center; }

/* ══════════════════════════════════════════════════════════════════════════
   SETTINGS-BUTTON (Team-Card, Moderator only)
══════════════════════════════════════════════════════════════════════════ */
.tc-settings-btn {
    position: absolute; top: .45rem; right: .45rem; z-index: 5;
    width: 22px; height: 22px; padding: 0;
    background: rgba(8,5,20,.72); border: 1px solid rgba(155,89,245,.35);
    border-radius: 6px; color: rgba(155,89,245,.8); cursor: pointer;
    transition: all .18s; opacity: .6;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
}
.tc-settings-btn:hover { opacity: 1; background: rgba(155,89,245,.15); border-color: rgba(155,89,245,.6); }
.tc-settings-btn svg { width: 11px; height: 11px; }

/* Badge nach links schieben wenn Settings-Button sichtbar */
.team-card:has(.tc-settings-btn) .tc-badge { right: 2rem; }

/* ══════════════════════════════════════════════════════════════════════════
   SCORE-EDIT MODAL
══════════════════════════════════════════════════════════════════════════ */
.score-edit-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(8,6,18,.92); backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
}
.score-edit-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-card); padding: 2rem;
    max-width: 380px; width: 100%;
    backdrop-filter: blur(24px);
    box-shadow: 0 0 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
    display: flex; flex-direction: column; gap: 1.1rem; align-items: center;
    position: relative;
}
.score-edit-input-wrap {
    display: flex; align-items: center; gap: .75rem;
}
.score-edit-step {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(155,89,245,.12); border: 1px solid rgba(155,89,245,.35);
    color: var(--purple-light); font-size: 1.2rem; font-weight: 800;
    cursor: pointer; transition: all .2s;
    display: flex; align-items: center; justify-content: center;
}
.score-edit-step:hover { background: rgba(155,89,245,.25); border-color: rgba(155,89,245,.6); }
.score-edit-input {
    width: 80px; text-align: center; padding: .5rem .6rem;
    background: rgba(10,8,30,.6); border: 1px solid var(--glass-border);
    border-radius: 8px; color: var(--text-main); font-size: 1.2rem;
    font-family: var(--font-display); font-weight: 700;
    -moz-appearance: textfield;
}
.score-edit-input::-webkit-outer-spin-button,
.score-edit-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.score-edit-actions {
    display: flex; gap: .75rem; width: 100%;
}
.score-edit-cancel, .score-edit-confirm {
    flex: 1; padding: .6rem 1rem; border-radius: 8px;
    font-family: var(--font-display); font-size: .85rem; font-weight: 700;
    cursor: pointer; transition: all .2s; letter-spacing: .03em;
}
.score-edit-cancel {
    background: rgba(255,255,255,.05); border: 1px solid var(--glass-border);
    color: var(--text-dim);
}
.score-edit-cancel:hover { background: rgba(255,255,255,.1); }
.score-edit-confirm {
    background: linear-gradient(135deg, rgba(0,229,160,.2), rgba(0,229,160,.08));
    border: 1px solid rgba(0,229,160,.45); color: var(--green);
}
.score-edit-confirm:hover { background: rgba(0,229,160,.3); border-color: var(--green); }

/* ══════════════════════════════════════════════════════════════════════════
   GUESSLE RANGE REVEAL SLOT
══════════════════════════════════════════════════════════════════════════ */
.reveal-slot.was-guessle {
    background: linear-gradient(135deg, rgba(255,68,68,.12), rgba(255,68,68,.04));
    border-color: rgba(255,68,68,.35);
}