body { font-family: 'Prompt', sans-serif; background-color: #09090b; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #6366f1; }

.glass-panel { background: rgba(24, 24, 27, 0.65); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); }
.input-premium { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); color: white; transition: all 0.3s ease; }
.input-premium:focus { border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); outline: none; }
.btn-primary { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); color: white; transition: all 0.2s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); }
.btn-danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; transition: all 0.2s; }

.yt-hidden { opacity: 0; pointer-events: none; z-index: -1; }
.yt-visible { opacity: 1; pointer-events: auto; z-index: 10; transition: opacity 0.5s ease; }

@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast-enter { animation: slideDown 0.3s ease forwards; }

.fs-controls { transition: opacity 0.3s ease, visibility 0.3s ease; }
.fs-controls.hidden-ui { opacity: 0; visibility: hidden; pointer-events: none; }

.css-fs-portrait {
    position: fixed !important; top: 0 !important; left: 0 !important;
    width: 100dvw !important; height: 100dvh !important;
    max-width: 100% !important; max-height: 100% !important;
    z-index: 99999 !important; border-radius: 0 !important;
    border: none !important; transform: none !important;
    background: black !important;
}

.css-fs-landscape {
    position: fixed !important; top: 50% !important; left: 50% !important;
    width: 100dvh !important; height: 100dvw !important;
    max-width: none !important; max-height: none !important;
    transform: translate(-50%, -50%) rotate(90deg) !important;
    z-index: 99999 !important; border-radius: 0 !important;
    border: none !important; background: black !important;
}

#video-container:fullscreen { border-radius: 0; border: none; width: 100vw; height: 100vh; background: black; }
#video-container:-webkit-full-screen { border-radius: 0; border: none; width: 100vw; height: 100vh; background: black; }

/* ===== Per-user volume menu ===== */
.wp-range { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 9999px; background: #374151; cursor: pointer; outline: none; touch-action: none; }
.wp-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #6366f1; border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25); cursor: pointer; }
.wp-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #6366f1; border: 2px solid #fff; cursor: pointer; }
.wp-range:focus-visible { box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4); }

@media (max-width: 639px) {
    #user-context-menu { left: 8px !important; right: 8px !important; top: auto !important; bottom: 8px !important; width: auto !important; max-width: none !important; }
}
