:root {
    --bg-color: #09090b;
    --card-bg: #18181b;
    --border-color: #27272a;
    --hover-bg: #27272a;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.6);

    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --admin-color: #ef4444;
    --warning-color: #f59e0b;
    --input-bg: #27272a;
    --status-online: #22c55e;
}

[data-theme="light"] {
    --bg-color: #f4f4f5;
    --card-bg: #ffffff;
    --border-color: #e4e4e7;
    --hover-bg: #f4f4f5;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.08);

    --text-main: #09090b;
    --text-muted: #71717a;
    --admin-color: #dc2626;
    --warning-color: #d97706;
    --input-bg: #f4f4f5;
    --status-online: #16a34a;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    outline: none; 
    -webkit-tap-highlight-color: transparent; 
}

body {
    background-color: var(--bg-color); 
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex; 
    flex-direction: column;
    transition: background-color 0.25s ease, color 0.25s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.player-layout {
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 18px 20px 120px; /* room for the floating nav */
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
    animation: fadeIn 0.4s ease;
    transition: max-width 0.25s ease;
}

body.chat-collapsed .player-layout {
    max-width: 1200px;
    grid-template-columns: minmax(0, 1fr);
}

body.chat-collapsed .live-chat-panel {
    display: none;
}

/* When Live Chat is open (not collapsed), hide the below-video viewer counter so only the header viewer counter shows. When Live Chat is closed (.chat-collapsed), show the below-video viewer counter. */
body:not(.chat-collapsed) #viewer-telemetry-row,
body:not(.chat-collapsed) .viewer-telemetry-row {
    display: none !important;
}

body.chat-collapsed #viewer-telemetry-row {
    display: flex;
}

.player-primary-col {
    min-width: 0;
    width: 100%;
}

@media (max-width: 1060px) {
    .player-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 1200px;
    }
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
}

.back-btn {
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 20px;
    text-decoration: none; 
    color: var(--text-muted); 
    font-size: 14px; 
    font-weight: 600;
    transition: color 0.2s ease;
}
.back-btn:hover { color: var(--text-main); }

#player-container {
    width: 100%; 
    aspect-ratio: 16/9; 
    background: #000;
    border-radius: 16px; 
    overflow: hidden;
    border: 1px solid var(--border-color); 
    box-shadow: var(--shadow-float);
    position: relative;
}

.artplayer-app { width: 100%; height: 100%; }

.meta-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin-top: 14px; 
    gap: 14px; 
    flex-wrap: wrap;
}

.title-group {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
}

.video-title { 
    margin-bottom: 0; 
    font-size: 22px; 
    font-weight: 700; 
    line-height: 1.3; 
    color: var(--text-main); 
}

/* =========================================
   SITE HEADER
   ========================================= */
.site-header {
    position: sticky; top: 0; z-index: 800;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--bg-color);
    background: color-mix(in srgb, var(--bg-color) 85%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 5px 14px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.brand-name { font-size: 14px; font-weight: 700; letter-spacing: 0.3px; color: var(--text-main); white-space: nowrap; }
.header-right { display: flex; align-items: center; gap: 10px; }

.mono-num {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
}

.live-viewer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.live-viewer-badge i {
    font-size: 11px;
    color: var(--text-muted);
}

.live-viewer-label {
    color: var(--text-muted);
    font-weight: 500;
}

.live-viewer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-online);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.22);
    flex-shrink: 0;
    animation: viewerDotPulse 2.2s infinite ease-in-out;
}

@keyframes viewerDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.92); }
}

.viewer-telemetry-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0;
}

.vt-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.vt-pill strong {
    color: var(--text-main);
    font-weight: 700;
}

.vt-cameras {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.vt-cam-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.vt-cam-item i {
    font-size: 11px;
    opacity: 0.8;
}

.vt-cam-item strong {
    color: var(--text-main);
    font-weight: 600;
}

.vt-sep {
    opacity: 0.45;
}

@media (max-width: 480px) {
    .live-viewer-label {
        display: none;
    }
    .vt-cameras {
        font-size: 11.5px;
        gap: 6px;
        padding: 5px 10px;
    }
}

.icon-btn {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text-main);
    font-size: 12px; cursor: pointer; transition: 0.2s ease;
}
.icon-btn:hover { background: var(--hover-bg); transform: translateY(-1px); }

/* =========================================
   FLOATING BOTTOM NAV (server selector)
   ========================================= */
.bottom-nav {
    position: fixed; left: 50%; z-index: 900;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 4px;
    max-width: calc(100% - 24px); padding: 6px;
    border-radius: 999px;
    background: var(--card-bg);
    background: color-mix(in srgb, var(--card-bg) 88%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-float);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.nav-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border: none; border-radius: 999px;
    background: transparent; color: var(--text-muted);
    font-family: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: 0.2s ease;
}
.nav-btn:hover { background: var(--hover-bg); color: var(--text-main); }
.nav-btn.active, .nav-btn.active:hover { background: var(--text-main); color: var(--bg-color); }
.nav-btn.disabled { opacity: 0.35; cursor: not-allowed; }
.nav-btn.disabled:hover { background: transparent; color: var(--text-muted); }

/* Every nav button is the same size */
.nav-btn { flex: 1 1 0; justify-content: center; min-width: 96px; }

@media (max-width: 480px) {
    .bottom-nav { width: calc(100% - 24px); max-width: 460px; gap: 4px; padding: 6px; border-radius: 32px; }
    .nav-btn { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 6px; font-size: 13px; border-radius: 26px; }
    .nav-btn i { font-size: 20px; }
    .brand-name { font-size: 14px; }
}

/* =========================================
   STANDBY SCREEN
   ========================================= */
.standby-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #09090b; color: #a1a1aa; text-align: center; padding: 20px;
}
.standby-screen h2 { color: #ffffff; font-size: 20px; margin-bottom: 8px; font-weight: 600; }
.standby-screen p { font-size: 14px; }

/* =========================================
   CUSTOM TOKEN HANDSHAKE & PROXY ERROR OVERLAY
   ========================================= */
.zv-error-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 9, 11, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: fadeIn 0.2s ease;
}

.zv-error-card {
    width: 100%;
    max-width: 460px;
    padding: 24px;
    background: #141417;
    border: 1px solid #27272a;
    border-radius: 12px;
    color: #fafafa;
    text-align: left;
}

.zv-error-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.zv-error-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
}

.zv-error-status.is-warning {
    color: #f59e0b;
}

.zv-error-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: #a1a1aa;
}

.zv-error-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
}

.zv-error-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #a1a1aa;
    margin-bottom: 16px;
}

.zv-error-diagnostics {
    padding: 12px 14px;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #d4d4d8;
    margin-bottom: 18px;
    font-variant-numeric: tabular-nums;
    word-break: break-word;
}

.zv-error-diagnostics .diag-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.zv-error-diagnostics .diag-label {
    color: #71717a;
}

.zv-error-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.zv-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    background: #ffffff;
    color: #09090b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.zv-retry-btn:hover {
    opacity: 0.9;
}

.zv-retry-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.zv-retry-timer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #a1a1aa;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 540px) {
    .zv-error-card { padding: 18px; }
    .zv-error-title { font-size: 16px; }
    .zv-error-desc { font-size: 13px; }
}

/* =========================================
   SUBTITLES (stroke only, no background)
   ========================================= */
video::cue {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    -webkit-text-stroke: 1.5px #000000;
    text-shadow: none !important;
}

@media (max-width: 768px) {
    .player-layout { padding: 12px 15px 120px; }
    .video-title { font-size: 20px; }
    .meta-container { flex-direction: column; gap: 15px; }
    video::cue { font-size: 15px !important; -webkit-text-stroke: 1.2px #000000; }
}

/* =========================================
   PLAYER: fullscreen = plain square box, no border, no curve, no white edges
   ========================================= */
#player-container.is-grid { border-radius: 0; }

#player-container:fullscreen {
    width: 100%; height: 100%; aspect-ratio: auto;
    border: 0; border-radius: 0; box-shadow: none; background: #000;
}
#player-container::backdrop { background: #000; }

/* Fallback fullscreen for browsers without the Fullscreen API (iPhone) */
#player-container.pseudo-fs {
    position: fixed; inset: 0; z-index: 2000;
    width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto;
    border: 0; border-radius: 0; box-shadow: none; background: #000;
}
body.pseudo-fs-active { overflow: hidden; }
body.pseudo-fs-active .site-header,
body.pseudo-fs-active .bottom-nav { display: none !important; }

/* =========================================
   THE PLAYER (single camera + 2x2 grid share this)
   ========================================= */
.wall { width: 100%; height: 100%; background: #000; }
.wall.grid {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
    gap: 2px; background: #1a1a1d;
}
.wall-tile { position: relative; background: #000; overflow: hidden; min-width: 0; min-height: 0; }
.wall.single .wall-tile {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    touch-action: none;
}
.wall.grid .wall-tile:not(.offline):not(.mv-filler) {
    cursor: zoom-in;
    touch-action: none;
}
.wall-tile video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
    pointer-events: none;
    will-change: transform;
    transform-origin: center center;
    transition: transform 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}

/* offline / empty cells stay dark in both themes (never white) */
.wall-tile.offline, .wall-tile.mv-filler { background: #0e0e11; cursor: default; }

.mv-label {
    position: absolute; left: 8px; top: 8px; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(0,0,0,0.6); color: #fff;
    font-size: 12px; font-weight: 600; pointer-events: none;
}
.mv-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #52525b; }
.mv-label .dot.live { background: #22c55e; }

.mv-tile-zoom-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(9, 9, 11, 0.82);
    color: #4ade80;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: background 0.15s ease, color 0.15s ease;
}
.mv-tile-zoom-badge:hover {
    background: #ef4444;
    color: #ffffff;
}
.mv-tile-zoom-badge[hidden],
.wall.grid.expanded .mv-tile-zoom-badge {
    display: none !important;
}

.mv-msg {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: #a1a1aa; font-size: 13px; padding: 10px; pointer-events: none;
}
.mv-msg[hidden] { display: none; }
.mv-msg.is-drm-notice {
    background: rgba(9, 9, 11, 0.78);
    padding: 14px;
}
.mv-drm-box {
    max-width: 320px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(24, 24, 27, 0.94);
    border: 1px solid rgba(245, 158, 11, 0.38);
    color: #e4e4e7;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}
.mv-drm-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mv-drm-sub {
    font-size: 11.5px;
    color: #a1a1aa;
}
.mv-drm-code {
    font-family: 'JetBrains Mono', monospace;
    color: #fafafa;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
}
.mv-drm-hint {
    font-size: 11px;
    color: #d4d4d8;
    margin-top: 2px;
}

/* grid: expanded camera fills the whole player (original behaviour) */
.wall.grid.expanded { grid-template-columns: 1fr; grid-template-rows: 1fr; gap: 0; }
.wall.grid.expanded .wall-tile { display: none; }
.wall.grid.expanded .wall-tile.expanded {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    touch-action: none;
}
.wall-tile.is-zoomed,
.wall.single .wall-tile.is-zoomed,
.wall.grid.expanded .wall-tile.expanded.is-zoomed {
    cursor: grab;
    touch-action: none;
}
.wall-tile.is-zoomed.is-panning,
.wall.single .wall-tile.is-zoomed.is-panning,
.wall.grid.expanded .wall-tile.expanded.is-zoomed.is-panning {
    cursor: grabbing;
}
.wall-tile.is-panning video {
    transition: none !important;
}
.wall.grid.expanded .mv-audio { display: none; }
.wall-tile.offline .mv-audio, .mv-filler .mv-audio { display: none; }

/* grid control bar: back / camera switcher / zoom / quality only show when a camera is expanded */
.wall-controls .gx-only { display: none; }
.wall.grid.expanded ~ .wall-controls .gx-only { display: inline-flex; }
.wall-controls .gx-nav { display: none; }
.wall.grid.expanded ~ .wall-controls .gx-nav { display: inline-flex; }
.gx-right { margin-left: auto; }

/* camera zoom control cluster (visible ONLY in separate/single cam & expanded grid cam, hidden in 2x2 grid) */
.gx-zoom {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.wall.grid:not(.expanded) ~ .wall-controls .gx-zoom {
    display: none !important;
}
.wall.grid:not(.expanded) ~ .zv-zoom-hud {
    display: none !important;
}
.wc-zoom-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.wc-zoom-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
}
.wc-zoom-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.wc-zoom-reset {
    border: none;
    border-radius: 999px;
    cursor: pointer;
    padding: 4px 8px;
    min-width: 44px;
    background: transparent;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.wc-zoom-reset:hover {
    background: rgba(255, 255, 255, 0.18);
}
.wc-zoom-reset.is-active {
    background: #ef4444;
    color: #ffffff;
}

/* Floating Zoom HUD Pill when zoomed in (> 1.0x) */
.zv-zoom-hud {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(9, 9, 11, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.zv-zoom-hud:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 1);
}
.zv-zoom-hud[hidden] {
    display: none !important;
}
.zv-zoom-hud-scale {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
    color: #4ade80;
}
.zv-zoom-hud:hover .zv-zoom-hud-scale {
    color: #ffffff;
}

.wc-pill {
    cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 8px; background: rgba(0,0,0,0.7); color: #fff;
    font-family: inherit; font-size: 13px; font-weight: 600; transition: background 0.2s ease;
}
.wc-pill:hover { background: rgba(0,0,0,0.9); }
.wc-pill.active, .wc-pill.active:hover { background: #fff; color: #000; }
.mv-cams { display: inline-flex; align-items: center; gap: 6px; padding-left: 6px; margin-left: 2px; border-left: 1px solid rgba(255,255,255,0.3); }
@media (max-width: 600px) {
    .wc-pill .mv-label-text { display: none; }
    .wc-pill { padding: 8px 10px; }
    .mv-cams { gap: 4px; padding-left: 4px; }
    .wc-zoom-btn { width: 26px; height: 26px; font-size: 11px; }
    .wc-zoom-reset { padding: 3px 6px; min-width: 38px; font-size: 11px; }
}

/* grid: choose which camera you hear */
.mv-audio {
    position: absolute; right: 8px; top: 8px; z-index: 4; cursor: pointer; border: none;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.6); color: #fff; font-size: 13px;
    transition: background 0.2s ease, opacity 0.3s ease;
}
.mv-audio:hover { background: rgba(0,0,0,0.85); }
.wall-tile.listening .mv-audio { background: #ef4444; }

/* control bar: volume, quality, fullscreen */
.wall-controls {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 28px calc(10px + env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(10px + env(safe-area-inset-left, 0px));
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    pointer-events: none; transition: opacity 0.3s ease;
}
.wc-group { display: inline-flex; align-items: center; gap: 8px; pointer-events: auto; }
.wc-btn {
    width: 34px; height: 34px; border: none; border-radius: 50%; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.6); color: #fff; font-size: 14px; transition: background 0.2s ease;
}
.wc-btn:hover { background: rgba(0,0,0,0.9); }
.wc-volume { width: 90px; height: 4px; cursor: pointer; accent-color: #ffffff; }
.wc-quality {
    cursor: pointer; border: none; padding: 8px 10px; border-radius: 8px;
    background: rgba(0,0,0,0.6); color: #fff;
    font-family: inherit; font-size: 13px; font-weight: 600;
}
.wc-quality option { color: #000; }

@media (max-width: 768px) {
    .mv-label { font-size: 10px; padding: 3px 8px; left: 5px; top: 5px; }
    .mv-msg { font-size: 11px; }
    .mv-audio { width: 26px; height: 26px; font-size: 11px; right: 5px; top: 5px; }
    .wc-btn { width: 30px; height: 30px; font-size: 13px; }
    .wc-quality { padding: 6px 8px; font-size: 12px; }
    .wall-controls { padding-top: 22px; gap: 6px; }
    .wc-group { gap: 6px; }
}
@media (max-width: 600px) { .wc-volume { display: none; } }

/* auto-hide controls after 3s idle */
#player-container.mv-idle .mv-audio,
#player-container.mv-idle .wall-controls { opacity: 0; }
#player-container.mv-idle .mv-audio,
#player-container.mv-idle .wc-group { pointer-events: none; }
#player-container.mv-idle, #player-container.mv-idle .wall-tile { cursor: none; }

/* =========================================
   NETFLIX-STYLE ON-SCREEN COACH-MARK TUTORIAL
   ========================================= */
.zv-tut-overlay {
    position: fixed;
    inset: 0;
    z-index: 3200;
    pointer-events: auto;
    overflow: hidden;
    animation: fadeIn 0.22s ease;
}

.zv-tut-spotlight {
    position: fixed;
    border-radius: 16px;
    box-shadow:
        0 0 0 9999px rgba(5, 5, 8, 0.84),
        0 0 0 2px #ef4444,
        0 0 28px rgba(239, 68, 68, 0.45);
    pointer-events: none;
    transition:
        top 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.32s ease;
}

.zv-tut-pointer {
    position: fixed;
    z-index: 3202;
    width: 38px;
    height: 38px;
    margin-left: -19px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.55);
    pointer-events: none;
    transition:
        top 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    animation: zvTutBounce 1.2s ease-in-out infinite;
}

.zv-tut-pointer.is-up {
    animation-name: zvTutBounceUp;
}

@keyframes zvTutBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

@keyframes zvTutBounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.zv-tut-card {
    position: fixed;
    z-index: 3203;
    width: calc(100% - 28px);
    max-width: 430px;
    padding: 20px 20px 18px;
    border-radius: 16px;
    background: rgba(18, 18, 22, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    color: #fafafa;
    transition:
        top 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.zv-tut-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.zv-tut-step-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
}

.zv-tut-skip {
    border: none;
    background: transparent;
    color: #a1a1aa;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.zv-tut-skip:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.zv-tut-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 6px;
}

.zv-tut-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #d4d4d8;
    margin-bottom: 14px;
}

/* Visual gesture hint strip inside the Netflix-style coach card */
.zv-tut-gestures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.zv-tut-gesture-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    gap: 6px;
}

.zv-tut-gesture-item i {
    font-size: 18px;
    color: #ef4444;
}

.zv-tut-gesture-label {
    font-size: 11px;
    font-weight: 600;
    color: #fafafa;
    line-height: 1.25;
}

.zv-tut-gesture-sub {
    font-size: 10px;
    color: #a1a1aa;
    line-height: 1.2;
}

.zv-tut-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.zv-tut-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zv-tut-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transition: width 0.2s ease, background 0.2s ease;
}

.zv-tut-dot.is-active {
    width: 20px;
    background: #ef4444;
}

.zv-tut-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zv-tut-btn {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.zv-tut-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.zv-tut-btn.is-primary {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.zv-tut-btn.is-primary:hover {
    background: #dc2626;
    border-color: #dc2626;
}

@media (max-width: 480px) {
    .zv-tut-card {
        padding: 16px;
    }
    .zv-tut-title {
        font-size: 16px;
    }
    .zv-tut-desc {
        font-size: 12.5px;
    }
    .zv-tut-gesture-item {
        padding: 8px 4px;
    }
}

/* =========================================================================
   ZERO-QUOTA EPHEMERAL LIVE COMMENTS & REACTIONS PANEL
   ========================================================================= */
.chat-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chat-header-btn:hover {
    background: var(--hover-bg);
}

.chat-header-btn.is-active {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.12);
}

.chat-header-btn i {
    font-size: 12px;
    color: var(--admin-color);
}

.chat-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--admin-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.live-chat-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    height: clamp(460px, 44vw, 620px);
    overflow: hidden;
    user-select: text;
    -webkit-user-select: text;
}

@media (max-width: 1060px) {
    .live-chat-panel {
        height: 430px;
    }
}

.live-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.live-chat-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.live-chat-title-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.live-chat-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    white-space: nowrap;
}

.live-chat-sep {
    color: var(--text-muted);
    opacity: 0.5;
    font-size: 12px;
}

.live-chat-cam-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.live-chat-sub {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-chat-close-btn {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.live-chat-close-btn:hover {
    background: var(--hover-bg);
    color: var(--text-main);
}

/* Pinned Comment Banner */
.live-chat-pinned {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 12px;
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.28);
    flex-shrink: 0;
    animation: chatItemIn 0.2s ease-out;
}

.live-chat-pinned[hidden] {
    display: none !important;
}

.live-chat-pinned-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--admin-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 1px;
}

.live-chat-pinned-body {
    flex: 1;
    min-width: 0;
}

.live-chat-pinned-top {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.live-chat-pinned-label {
    color: var(--admin-color);
    font-weight: 700;
}

.live-chat-pinned-author {
    color: var(--text-main);
    font-weight: 700;
}

.live-chat-pinned-text {
    font-size: 12.5px;
    color: var(--text-main);
    line-height: 1.35;
    word-break: break-word;
}

.live-chat-unpin-btn {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.live-chat-unpin-btn:hover {
    background: rgba(239, 68, 68, 0.18);
    color: var(--text-main);
}

.live-chat-body-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.live-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.live-chat-messages::-webkit-scrollbar {
    width: 5px;
}

.live-chat-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 999px;
}

.live-chat-empty {
    margin: auto 0;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
    padding: 20px 12px;
}

.live-chat-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.4;
    animation: chatItemIn 0.18s ease-out;
    word-break: break-word;
    position: relative;
    padding: 4px 6px;
    margin: -4px -6px;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.live-chat-item:hover {
    background: color-mix(in srgb, var(--hover-bg) 55%, transparent);
}

@keyframes chatItemIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.live-chat-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    margin-top: 1px;
    text-transform: uppercase;
}

.live-chat-content {
    flex: 1;
    min-width: 0;
}

.live-chat-top-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 1px;
}

.live-chat-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    min-width: 0;
}

.live-chat-author {
    font-weight: 700;
    font-size: 12.5px;
    color: var(--text-main);
}

.live-chat-author.is-admin {
    color: var(--admin-color);
}

.live-chat-admin-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    color: var(--admin-color);
}

.live-chat-cam {
    font-size: 11px;
    color: var(--text-muted);
}

.live-chat-time {
    font-size: 10.5px;
    color: var(--text-muted);
    opacity: 0.75;
}

.live-chat-text {
    color: var(--text-main);
    opacity: 0.95;
    font-weight: 400;
    display: block;
}

.live-chat-item-actions {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    opacity: 0.35;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.live-chat-item:hover .live-chat-item-actions,
body.is-chat-admin .live-chat-item-actions {
    opacity: 1;
}

.live-chat-act-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    width: 21px;
    height: 21px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.live-chat-act-btn:hover {
    background: var(--hover-bg);
    color: var(--text-main);
}

.live-chat-act-btn.act-pin:hover {
    color: #3b82f6;
}

.live-chat-act-btn.act-delete:hover {
    color: var(--admin-color);
}

.live-chat-act-btn.act-ban:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.16);
}

.live-chat-act-btn.act-report:hover,
.live-chat-act-btn.act-report.is-reported {
    color: var(--warning-color);
}

.live-chat-act-btn.admin-only-btn {
    display: none;
}

body.is-chat-admin .live-chat-act-btn.admin-only-btn {
    display: inline-flex;
}

.live-reactions-layer {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 58px;
    height: 200px;
    pointer-events: none;
    overflow: hidden;
}

.floating-reaction {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    animation: floatUpReaction 1.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

@keyframes floatUpReaction {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.75);
    }
    18% {
        opacity: 1;
        transform: translateY(-16px) scale(1.08);
    }
    100% {
        opacity: 0;
        transform: translateY(-170px) scale(0.92);
    }
}

.live-chat-reactions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 7px 12px;
    border-top: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--bg-color) 40%, var(--card-bg));
    flex-shrink: 0;
}

.live-react-hint {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.live-react-btn {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 8px;
    width: 38px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    cursor: pointer;
    transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.live-react-btn.react-heart,
.floating-reaction.react-heart {
    color: #ef4444;
}

.live-react-btn.react-fire,
.floating-reaction.react-fire {
    color: #f97316;
}

.live-react-btn.react-laugh,
.floating-reaction.react-laugh {
    color: #eab308;
}

.live-react-btn.react-clap,
.floating-reaction.react-clap {
    color: #22c55e;
}

.live-react-btn.react-bolt,
.floating-reaction.react-bolt {
    color: #3b82f6;
}

.live-react-btn:hover {
    background: var(--hover-bg);
    transform: translateY(-1px) scale(1.06);
}

.live-react-btn:active {
    transform: scale(0.94);
}

.live-chat-form {
    padding: 10px 12px 11px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-shrink: 0;
}

.live-chat-nick-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.live-chat-nick-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.live-chat-nick-input {
    flex: 1;
    min-width: 0;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 7px;
    padding: 4px 9px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
}

.live-chat-nick-input:focus {
    border-color: var(--admin-color);
}

.live-chat-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--admin-color);
    white-space: nowrap;
}

.live-chat-input-row {
    display: flex;
    align-items: center;
    gap: 7px;
}

.live-chat-input {
    flex: 1;
    min-width: 0;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 9px;
    padding: 8px 11px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 13px;
}

.live-chat-input:focus {
    border-color: var(--admin-color);
}

.live-chat-send-btn {
    min-width: 36px;
    height: 35px;
    padding: 0 10px;
    border-radius: 9px;
    border: none;
    background: var(--admin-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    transition: opacity 0.15s ease, transform 0.12s ease;
}

.live-chat-send-btn:hover {
    opacity: 0.92;
}

.live-chat-send-btn:active {
    transform: scale(0.95);
}

.live-chat-send-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.live-chat-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 16px;
}

.live-chat-slowmode-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

body.is-chat-admin .live-chat-slowmode-note {
    color: var(--status-online);
}

.live-chat-word-counter {
    font-size: 10.5px;
    color: var(--text-muted);
    white-space: nowrap;
}

.live-chat-word-counter.is-limit {
    color: #ef4444;
    font-weight: 700;
}

.live-chat-status {
    font-size: 11px;
    color: var(--warning-color);
    line-height: 1.3;
    text-align: left;
}

.live-chat-status.is-blocked-alert {
    color: #f87171;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.38);
    border-radius: 7px;
    padding: 6px 9px;
    font-weight: 600;
}

.live-chat-input.is-profane-flagged {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.22);
}

/* Live Chat Disabled Kill Switch Banner */
.live-chat-disabled-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    background: rgba(239, 68, 68, 0.13);
    border-bottom: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    flex-shrink: 0;
}

.live-chat-disabled-banner[hidden] {
    display: none !important;
}

.live-chat-disabled-banner i {
    color: #ef4444;
    font-size: 14px;
    flex-shrink: 0;
}

body.is-chat-killed:not(.is-chat-admin) .live-chat-reactions-bar,
body.is-stream-killed:not(.is-chat-admin) .live-chat-reactions-bar {
    opacity: 0.45;
    pointer-events: none;
}

body.is-chat-killed:not(.is-chat-admin) .live-chat-input-row,
body.is-stream-killed:not(.is-chat-admin) .live-chat-input-row {
    opacity: 0.5;
    pointer-events: none;
}

/* Livestream Ended / Kill Switch Full-Screen & Player Lock Overlay */
.zv-stream-kill-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.zv-stream-kill-overlay[hidden] {
    display: none !important;
}

.zv-stream-kill-card {
    max-width: 480px;
    width: 100%;
    background: #141418;
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 18px;
    padding: 32px 26px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
}

.zv-stream-kill-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 16px;
}

.zv-stream-kill-title {
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
}

.zv-stream-kill-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #d4d4d8;
    margin: 0 0 18px;
}

.zv-stream-kill-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Banned from Watching Full-Screen Lock Overlay */
.zv-banned-watch-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.zv-banned-watch-overlay[hidden] {
    display: none !important;
}

.zv-banned-card {
    max-width: 440px;
    width: 100%;
    background: #141418;
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.zv-banned-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.zv-banned-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.zv-banned-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #d4d4d8;
    margin: 0 0 16px;
}

.zv-banned-meta {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    font-size: 11.5px;
    font-weight: 600;
}
