/* =========================================================
   DESIGN TOKENS (:root) — Sincronizado com tailwind.config.js
   ========================================================= */
:root {
    --cyber-black: #05060a;
    --cyber-void: #090b10;
    --cyber-surface: #0f121b;
    --cyber-card: #0f121b;
    --cyber-card-hover: #161a27;
    --cyber-border: #1f253a;
    --cyber-border-glow: #3b466e;

    --neon-purple: #9333ea;
    --neon-purple-dark: #6b21a8;
    --neon-purple-light: #c084fc;
    --neon-purple-vivid: #a855f7;
    --neon-purple-deep: #7928ca;
    --neon-pink: #ec4899;

    --neon-cyan: #06b6d4;
    --neon-cyan-dark: #0891b2;
    --neon-cyan-light: #22d3ee;
    --neon-cyan-bright: #00f2fe;

    --neon-emerald: #10b981;
    --neon-emerald-light: #34d399;
    --neon-rose: #f43f5e;
    --neon-rose-light: #fb7185;
    --neon-amber: #f59e0b;
    --neon-amber-light: #fcd34d;

    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --deck-bg-inner: #0e101a;
    --deck-bg-mid: #171a2c;
    --deck-bg-outer: #090a10;
    --deck-ring-inner: #1a1e32;
    --deck-ring-outer: #29304e;
    --deck-groove: #10121a;
    --deck-cartridge: #090a12;

    --metal-light: #f8fafc;
    --metal-highlight: #f1f5f9;
    --metal-mid: #64748b;
    --metal-dark: #475569;
    --metal-shadow: #334155;
    --metal-deep: #1e293b;

    --shadow-neon-purple: 0 0 20px -5px rgba(147, 51, 234, 0.45);
    --shadow-neon-cyan: 0 0 20px -5px rgba(6, 182, 212, 0.45);
    --shadow-neon-mixed: 0 0 25px -5px rgba(147, 51, 234, 0.35), 0 0 25px -5px rgba(6, 182, 212, 0.35);
    --shadow-glass: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 639.98px) {
    [class~="hidden"]:not(.sidebar-open) {
        display: none !important;
    }
}
@media (min-width: 640px) and (max-width: 767.98px) {
    [class~="hidden"]:not(.sidebar-open):not([class*="sm:block"]):not([class*="sm:flex"]):not([class*="sm:inline"]):not([class*="sm:grid"]):not([class*="sm:table"]) {
        display: none !important;
    }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
    [class~="hidden"]:not(.sidebar-open):not([class*="sm:block"]):not([class*="sm:flex"]):not([class*="sm:inline"]):not([class*="sm:grid"]):not([class*="sm:table"]):not([class*="md:block"]):not([class*="md:flex"]):not([class*="md:inline"]):not([class*="md:grid"]):not([class*="md:table"]) {
        display: none !important;
    }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
    [class~="hidden"]:not([class*="sm:block"]):not([class*="sm:flex"]):not([class*="sm:inline"]):not([class*="sm:grid"]):not([class*="sm:table"]):not([class*="md:block"]):not([class*="md:flex"]):not([class*="md:inline"]):not([class*="md:grid"]):not([class*="md:table"]):not([class*="lg:block"]):not([class*="lg:flex"]):not([class*="lg:inline"]):not([class*="lg:grid"]):not([class*="lg:table"]) {
        display: none !important;
    }
}
@media (min-width: 1280px) {
    [class~="hidden"]:not([class*="sm:block"]):not([class*="sm:flex"]):not([class*="sm:inline"]):not([class*="sm:grid"]):not([class*="sm:table"]):not([class*="md:block"]):not([class*="md:flex"]):not([class*="md:inline"]):not([class*="md:grid"]):not([class*="md:table"]):not([class*="lg:block"]):not([class*="lg:flex"]):not([class*="lg:inline"]):not([class*="lg:grid"]):not([class*="lg:table"]):not([class*="xl:block"]):not([class*="xl:flex"]):not([class*="xl:inline"]):not([class*="xl:grid"]):not([class*="xl:table"]):not([class*="2xl:block"]):not([class*="2xl:flex"]):not([class*="2xl:inline"]):not([class*="2xl:grid"]):not([class*="2xl:table"]) {
        display: none !important;
    }
}

        /* Acessibilidade (WCAG 2.4.7): indicador de foco visível para navegação por teclado */
        :where(button, input, select, textarea, a, [tabindex], [role="button"]):focus-visible {
            outline: 2px solid rgba(34, 211, 238, 0.85) !important;
            outline-offset: 2px;
        }

        button, [role="button"], .btn {
            user-select: none;
        }

        @media (max-width: 1023px) {
            #app-sidebar:not(.sidebar-open) {
                display: none;
            }
        }

        body {
            font-family: 'Space Grotesk', sans-serif;
            background-color: var(--cyber-black);
            color: var(--text-primary);
            background-image: 
                radial-gradient(rgba(147, 51, 234, 0.07) 1px, transparent 1px),
                radial-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px);
            background-size: 28px 28px;
            background-position: 0 0, 14px 14px;
            -webkit-font-smoothing: antialiased;
        }

        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: rgba(7, 8, 13, 0.6);
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: var(--cyber-border);
            border-radius: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: var(--cyber-border-glow);
        }

        /* Equalizer visualizer effect */
        @keyframes eqBounce {
            0%, 100% { height: 4px; }
            50% { height: 22px; }
        }
        .eq-active-1 { animation: eqBounce 0.8s ease-in-out infinite; }
        .eq-active-2 { animation: eqBounce 1.1s ease-in-out 0.2s infinite; }
        .eq-active-3 { animation: eqBounce 0.7s ease-in-out 0.4s infinite; }
        .eq-active-4 { animation: eqBounce 1.3s ease-in-out 0.1s infinite; }
        .eq-active-5 { animation: eqBounce 0.9s ease-in-out 0.3s infinite; }

        .scanlines {
            background: linear-gradient(
                to bottom,
                rgba(255,255,255,0),
                rgba(255,255,255,0) 50%,
                rgba(0, 0, 0, 0.12) 50%,
                rgba(0, 0, 0, 0.12)
            );
            background-size: 100% 4px;
        }

        .tech-border-glow {
            border: 1px solid rgba(255, 255, 255, 0.07);
            box-shadow: 0 8px 28px -6px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .tech-border-glow:hover {
            border-color: rgba(34, 211, 238, 0.35);
            box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.65), 0 0 16px -4px rgba(6, 182, 212, 0.18);
        }

        /* =========================================================
           DESIGN SYSTEM BASE (ETAPA 3): BOTÕES & ESTADOS
           ========================================================= */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-family: 'JetBrains Mono', monospace;
            font-weight: 700;
            border-radius: 0.75rem; /* rounded-xl */
            transition: all 0.15s ease-in-out;
            user-select: none;
            white-space: nowrap;
            cursor: pointer;
            outline: none;
        }
        .btn:focus-visible {
            box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.6);
        }
        .btn:disabled, .btn[disabled], .btn[data-loading="true"] {
            opacity: 0.55;
            cursor: not-allowed !important;
            pointer-events: none;
        }

        /* Tamanhos Padronizados */
        .btn-sm {
            height: 2rem; /* 32px */
            padding-left: 0.75rem;
            padding-right: 0.75rem;
            font-size: 0.75rem; /* text-xs */
            gap: 0.375rem;
        }
        .btn-md {
            height: 2.375rem; /* 38px */
            padding-left: 1rem;
            padding-right: 1rem;
            font-size: 0.75rem; /* text-xs */
            gap: 0.5rem;
        }
        .btn-lg {
            height: 2.75rem; /* 44px */
            padding-left: 1.25rem;
            padding-right: 1.25rem;
            font-size: 0.8125rem; /* 13px */
            gap: 0.625rem;
        }

        /* Variantes Visuais Semânticas */
        .btn-primary {
            background-image: linear-gradient(to right, var(--neon-cyan), var(--neon-purple));
            color: var(--cyber-black);
            box-shadow: 0 4px 20px -4px rgba(6, 182, 212, 0.35);
        }
        .btn-primary:hover:not(:disabled) {
            opacity: 0.92;
            transform: translateY(-1px);
        }
        .btn-primary:active:not(:disabled) {
            transform: translateY(0);
        }

        .btn-secondary {
            background-color: var(--cyber-void);
            border: 1px solid var(--cyber-border);
            color: var(--text-secondary);
        }
        .btn-secondary:hover:not(:disabled) {
            background-color: var(--cyber-surface);
            color: var(--text-white);
            border-color: var(--cyber-border-glow);
        }

        .btn-ghost {
            background-color: transparent;
            color: var(--text-muted);
        }
        .btn-ghost:hover:not(:disabled) {
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--text-white);
        }

        .btn-danger {
            background-color: rgba(244, 63, 94, 0.15);
            border: 1px solid rgba(244, 63, 94, 0.35);
            color: var(--neon-rose-light);
        }
        .btn-danger:hover:not(:disabled) {
            background-color: rgba(244, 63, 94, 0.25);
            color: var(--text-white);
        }

        .btn-success {
            background-color: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.35);
            color: var(--neon-emerald-light);
        }
        .btn-success:hover:not(:disabled) {
            background-color: rgba(16, 185, 129, 0.25);
            color: var(--text-white);
        }

        .btn-amber {
            background-color: rgba(245, 158, 11, 0.15);
            border: 1px solid rgba(245, 158, 11, 0.35);
            color: var(--neon-amber-light);
        }
        .btn-amber:hover:not(:disabled) {
            background-color: rgba(245, 158, 11, 0.25);
            color: var(--text-white);
        }

        /* Loading spinner inline */
        .btn-spinner {
            display: inline-block;
            width: 0.875rem;
            height: 0.875rem;
            border: 2px solid currentColor;
            border-right-color: transparent;
            border-radius: 50%;
            animation: btnSpin 0.6s linear infinite;
            flex-shrink: 0;
        }
        @keyframes btnSpin {
            to { transform: rotate(360deg); }
        }

        /* =========================================================
           DESIGN SYSTEM BASE (ETAPA 3): INPUTS & SELECTS
           ========================================================= */
        .input-cyber,
        .select-cyber {
            width: 100%;
            min-height: 2.375rem; /* 38px alinhado a .btn-md */
            padding: 0.5rem 0.75rem;
            font-size: 0.75rem;
            line-height: 1.25rem;
            background-color: var(--cyber-void);
            border: 1px solid var(--cyber-border);
            border-radius: 0.75rem; /* rounded-xl */
            color: var(--text-white);
            transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
        }
        textarea.input-cyber {
            min-height: 4.5rem;
        }
        .input-cyber::placeholder {
            color: var(--text-muted);
        }
        .input-cyber:hover:not(:disabled),
        .select-cyber:hover:not(:disabled) {
            border-color: var(--cyber-border-glow);
        }
        .input-cyber:focus-visible,
        .select-cyber:focus-visible {
            border-color: var(--neon-cyan);
            box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.35);
            outline: none;
        }
        .input-cyber:disabled,
        .select-cyber:disabled {
            opacity: 0.55;
            cursor: not-allowed;
        }
        .select-cyber {
            cursor: pointer;
        }

        /* DJ Console & Turntable (Pickup de DJ) Styles */
        .dj-console-glass {
            background: linear-gradient(180deg, rgba(15, 18, 27, 0.92) 0%, rgba(7, 9, 14, 0.98) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.75);
        }

        .turntable-deck {
            position: relative;
            width: 124px;
            height: 124px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--deck-bg-inner) 0%, var(--deck-bg-mid) 65%, var(--deck-bg-outer) 100%);
            box-shadow: 0 0 0 3px var(--deck-ring-inner), 0 0 0 4px var(--deck-ring-outer), 0 6px 16px rgba(0,0,0,0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: width 0.25s ease, height 0.25s ease;
        }

        .vinyl-disc {
            position: relative;
            width: 108px;
            height: 108px;
            border-radius: 50%;
            background: 
                repeating-radial-gradient(circle, var(--deck-groove) 0, var(--deck-groove) 2px, var(--cyber-black) 3px, var(--cyber-black) 4px),
                conic-gradient(from 0deg, rgba(255,255,255,0.08) 0%, transparent 22%, rgba(255,255,255,0.08) 48%, transparent 72%, rgba(255,255,255,0.08) 100%);
            box-shadow: inset 0 0 10px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            animation: spin-vinyl 2.4s linear infinite;
            animation-play-state: paused;
            transition: animation-play-state 0.3s ease;
        }
        .vinyl-disc.is-spinning {
            animation-play-state: running;
        }

        @keyframes spin-vinyl {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .vinyl-center-label {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--neon-purple-deep) 0%, var(--neon-cyan) 100%);
            border: 2px solid var(--deck-bg-outer);
            box-shadow: 0 0 8px rgba(6, 182, 212, 0.35);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .vinyl-spindle {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--text-white) 20%, var(--text-muted) 65%, var(--metal-shadow) 100%);
            box-shadow: 0 0 4px rgba(0,0,0,0.9);
            z-index: 10;
        }

        /* Tonearm Assembly */
        .tonearm-assembly {
            position: absolute;
            top: 3px;
            right: 6px;
            width: 34px;
            height: 92px;
            pointer-events: none;
            transform-origin: 22px 10px;
            transform: rotate(0deg);
            transition: transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1);
            z-index: 20;
        }
        .tonearm-assembly.is-cue {
            transform: rotate(14deg);
        }
        .tonearm-assembly.is-playing {
            transform: rotate(24deg);
        }
        .tonearm-pivot {
            position: absolute;
            top: 2px;
            right: 4px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--metal-highlight) 25%, var(--metal-mid) 70%, var(--metal-deep) 100%);
            box-shadow: 0 2px 5px rgba(0,0,0,0.7);
        }
        .tonearm-rod {
            position: absolute;
            top: 12px;
            right: 10px;
            width: 2.5px;
            height: 64px;
            background: linear-gradient(to right, var(--text-muted), var(--metal-light), var(--metal-dark));
            border-radius: 2px;
            box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .tonearm-cartridge {
            position: absolute;
            bottom: 3px;
            right: 6px;
            width: 11px;
            height: 15px;
            background: var(--deck-cartridge);
            border: 1px solid var(--neon-cyan-light);
            border-radius: 2px;
            box-shadow: 0 0 6px rgba(34, 211, 238, 0.6);
        }
        .tonearm-needle-glow {
            position: absolute;
            bottom: -2px;
            left: 3.5px;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: var(--neon-cyan-light);
            box-shadow: 0 0 6px var(--neon-cyan-light), 0 0 10px var(--neon-cyan-light);
        }

        /* Deck B Tonearm & Label */
        .vinyl-center-label-b {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
            border: 2px solid var(--deck-bg-outer);
            box-shadow: 0 0 8px rgba(147, 51, 234, 0.35);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }
        .tonearm-assembly-b {
            position: absolute;
            top: 3px;
            left: 6px;
            width: 34px;
            height: 92px;
            pointer-events: none;
            transform-origin: 12px 10px;
            transform: rotate(0deg);
            transition: transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1);
            z-index: 20;
        }
        .tonearm-assembly-b.is-cue {
            transform: rotate(-14deg);
        }
        .tonearm-assembly-b.is-playing {
            transform: rotate(-24deg);
        }
        .tonearm-assembly-b .tonearm-pivot {
            position: absolute;
            top: 2px;
            left: 4px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--metal-highlight) 25%, var(--neon-purple-vivid) 70%, var(--metal-deep) 100%);
            box-shadow: 0 2px 5px rgba(0,0,0,0.7);
        }
        .tonearm-assembly-b .tonearm-rod {
            position: absolute;
            top: 12px;
            left: 10px;
            width: 2.5px;
            height: 64px;
            background: linear-gradient(to right, var(--metal-dark), var(--metal-light), var(--text-muted));
            border-radius: 2px;
            box-shadow: -2px 2px 4px rgba(0,0,0,0.5);
        }
        .tonearm-assembly-b .tonearm-cartridge {
            position: absolute;
            bottom: 3px;
            left: 6px;
            width: 11px;
            height: 15px;
            background: var(--deck-cartridge);
            border: 1px solid var(--neon-purple-light);
            border-radius: 2px;
            box-shadow: 0 0 6px rgba(192, 132, 252, 0.6);
        }
        .tonearm-assembly-b .tonearm-needle-glow {
            position: absolute;
            bottom: -2px;
            right: 3.5px;
            left: auto;
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: var(--neon-purple-light);
            box-shadow: 0 0 6px var(--neon-purple-light), 0 0 10px var(--neon-purple-light);
        }

        /* Compact Mode for DJ Console */
        #dj-console-wrapper.is-compact .turntable-deck-col {
            display: none !important;
        }
        #dj-console-wrapper.is-compact {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }

        /* DJ Crossfader Styles */
        .crossfader-input {
            -webkit-appearance: none;
            appearance: none;
            height: 6px;
            background: linear-gradient(90deg, rgba(0, 242, 254, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 9999px;
            outline: none;
            cursor: pointer;
        }
        .crossfader-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 24px;
            height: 18px;
            border-radius: 5px;
            background: linear-gradient(180deg, var(--text-white) 0%, var(--text-secondary) 50%, var(--metal-mid) 100%);
            border: 1.5px solid var(--neon-cyan-bright);
            box-shadow: 0 0 10px rgba(0, 242, 254, 0.9), 0 2px 4px rgba(0,0,0,0.6);
            cursor: ew-resize;
            transition: transform 0.1s ease, border-color 0.2s ease;
        }
        .crossfader-input::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            border-color: var(--neon-purple-vivid);
        }

        /* Stereo LED VU Meter */
        .vu-meter-col {
            display: flex;
            flex-direction: column-reverse;
            gap: 2px;
        }
        .vu-seg {
            width: 10px;
            height: 2.5px;
            border-radius: 1px;
            opacity: 0.14;
            transition: opacity 0.06s ease, box-shadow 0.06s ease;
        }
        .led-rack-col {
            flex: 1;
            display: flex;
            flex-direction: column-reverse;
            gap: 2px;
            min-width: 3px;
            max-width: 14px;
        }
        @media (max-width: 639px) {
            #led-spectrum-cols .led-rack-col:nth-child(n+17) {
                display: none;
            }
        }
        .led-seg {
            width: 100%;
            height: 2.5px;
            border-radius: 1px;
            opacity: 0.14;
            transition: opacity 0.06s ease, box-shadow 0.06s ease;
        }
        .vu-seg.green, .led-seg.cyan { background-color: var(--neon-cyan-light); }
        .vu-seg.green.active, .led-seg.cyan.active {
            opacity: 1;
            box-shadow: 0 0 7px rgba(34, 211, 238, 0.85);
        }
        .vu-seg.amber, .led-seg.purple { background-color: var(--neon-purple-light); }
        .vu-seg.amber.active, .led-seg.purple.active {
            opacity: 1;
            box-shadow: 0 0 7px rgba(192, 132, 252, 0.9);
        }
        .vu-seg.red, .led-seg.pink { background-color: var(--neon-pink); }
        .vu-seg.red.active, .led-seg.pink.active {
            opacity: 1;
            box-shadow: 0 0 8px rgba(236, 72, 153, 0.95);
        }

        /* Tactile DJ Button */
        .dj-tactile-btn {
            position: relative;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.2);
            transition: all 0.15s ease;
        }
        .dj-tactile-btn:active {
            transform: translateY(2px);
            box-shadow: 0 1px 4px rgba(0,0,0,0.7), inset 0 2px 4px rgba(0,0,0,0.4);
        }

        /* Skeleton Loaders (Etapa 3) */
        @keyframes skeletonShimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .skeleton-shimmer {
            background: linear-gradient(
                90deg,
                var(--cyber-surface) 25%,
                var(--cyber-card-hover) 50%,
                var(--cyber-surface) 75%
            );
            background-size: 200% 100%;
            animation: skeletonShimmer 1.4s ease-in-out infinite;
            border: 1px solid var(--cyber-border);
        }
        .skeleton-line {
            height: 0.75rem;
            border-radius: 0.5rem;
        }

        /* Suporte à Acessibilidade: Redução de Movimento (Etapa D) */
        @media (prefers-reduced-motion: reduce) {
            .skeleton-shimmer {
                animation: none !important;
            }
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
            .vinyl-disc,
            .vinyl-disc.is-spinning {
                animation: none !important;
            }
            .eq-active-1,
            .eq-active-2,
            .eq-active-3,
            .eq-active-4,
            .eq-active-5 {
                animation: none !important;
                height: 10px !important;
            }
            .animate-spin,
            .animate-pulse,
            .animate-bounce {
                animation: none !important;
            }
        }

        /* Custom dark cyber checkbox (masks native white browser box) */
        .cyber-checkbox {
            appearance: none;
            -webkit-appearance: none;
            width: 1rem;
            height: 1rem;
            border-radius: 0.25rem;
            background-color: #161826;
            border: 1px solid #2b2f4a;
            display: inline-grid;
            place-content: center;
            cursor: pointer;
            flex-shrink: 0;
            transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .cyber-checkbox:hover {
            border-color: rgba(6, 182, 212, 0.65);
        }
        .cyber-checkbox:checked {
            background-color: #06b6d4;
            border-color: #06b6d4;
            box-shadow: 0 0 8px rgba(6, 182, 212, 0.35);
        }
        .cyber-checkbox:checked::after {
            content: "";
            width: 0.52rem;
            height: 0.3rem;
            border-left: 2px solid #090a0f;
            border-bottom: 2px solid #090a0f;
            transform: rotate(-45deg) translate(0.5px, -0.5px);
        }

        /* =========================================================
           OMNIVU 4.0 — BROADCAST CYBER CONSOLE GLOW-UP
           ========================================================= */
        .bg-grid-pattern {
            background-image:
                linear-gradient(to right, rgba(168, 85, 247, 0.065) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(168, 85, 247, 0.065) 1px, transparent 1px),
                linear-gradient(to right, rgba(192, 132, 252, 0.02) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(192, 132, 252, 0.02) 1px, transparent 1px);
            background-size: 36px 36px, 36px 36px, 12px 12px, 12px 12px;
            background-position: 0 0, 0 0, 0 0, 0 0;
        }

        .crt-scanlines {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 60;
            opacity: 0.32;
            background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.28) 50%) 0 0 / 100% 4px;
        }

        .cursor-ambient-glow {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            opacity: 0;
            transition: opacity 0.35s ease;
            background:
                radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(168, 85, 247, 0.085), rgba(147, 51, 234, 0.04) 45%, transparent 72%);
        }
        .cursor-ambient-glow.is-active {
            opacity: 1;
        }
        .cursor-ambient-glow::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(to right, rgba(192, 132, 252, 0.1) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(192, 132, 252, 0.1) 1px, transparent 1px),
                radial-gradient(circle, rgba(168, 85, 247, 0.2) 1px, transparent 1px);
            background-size: 12px 12px, 12px 12px, 12px 12px;
            -webkit-mask-image: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 0, 0, 0.9), transparent 75%);
            mask-image: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 0, 0, 0.9), transparent 75%);
        }

        @keyframes telemetryMarquee {
            0% { transform: translateX(0%); }
            100% { transform: translateX(-50%); }
        }
        .telemetry-marquee-track {
            display: inline-flex;
            white-space: nowrap;
            animation: telemetryMarquee 32s linear infinite;
        }

        @media (prefers-reduced-motion: reduce) {
            .cursor-ambient-glow {
                display: none !important;
            }
            .telemetry-marquee-track {
                animation: none !important;
            }
        }

        .broadcast-card-live {
            border-color: rgba(34, 211, 238, 0.42) !important;
            box-shadow: 0 0 28px -8px rgba(6, 182, 212, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .pad-playing {
            box-shadow: 0 0 18px rgba(34, 211, 238, 0.55), inset 0 0 12px rgba(255, 255, 255, 0.12) !important;
        }
