        @font-face {
            font-family: 'Geist';
            src: url('../../node_modules/geist/dist/fonts/geist-sans/Geist-Variable.woff2') format('woff2');
            font-weight: 100 900;
            font-style: normal;
            font-display: swap;
        }

        :root {
            --bg-main: #000000;
            --bg-workspace: linear-gradient(135deg, #000000 0%, #121212 100%);
            --bg-card: rgba(255, 255, 255, 0.04);
            --bg-card-solid: #09090b;
            --accent: #6366f1; /* Indigo Profissional */
            --accent-light: rgba(99, 102, 241, 0.2);
            --accent-glow: rgba(99, 102, 241, 0.45);
            --text-primary: #ffffff;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --text-main: #ffffff;
            --text-dim: #94a3b8;
            --glass: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.12);
            --border-subtle: rgba(255, 255, 255, 0.05);
            --border-light: rgba(255, 255, 255, 0.1);
            --font-main: 'Geist', 'Helvetica Neue', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
            --font-display: 'Geist', 'Helvetica Neue', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
            --radius-sm: 10px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-pill: 9999px;
            --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.01), 0 8px 24px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(0, 0, 0, 0.02);
            --shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.02), 0 12px 32px rgba(0, 0, 0, 0.06), 0 28px 56px rgba(0, 0, 0, 0.04);
            --shadow-depth: 0 0.5px 1px rgba(0, 0, 0, 0.01), 0 4px 12px rgba(0, 0, 0, 0.03), 0 16px 40px rgba(0, 0, 0, 0.05);
            --shadow-depth-hover: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 20px rgba(0, 0, 0, 0.04), 0 24px 56px rgba(0, 0, 0, 0.06);
            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
            --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
            
            /* Glass System */
            --glass-bg: rgba(18, 18, 22, 0.75);
            --glass-blur: blur(40px) saturate(180%);
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-overlay: rgba(0, 0, 0, 0.4);
            --glass-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
        }

        /* ☀️ TEMA CLARO */
        [data-theme="light"] {
            --bg-main: #f8fafc;
            --bg-workspace: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            --bg-card: rgba(0, 0, 0, 0.02);
            --bg-card-solid: #ffffff;
            --accent: #4f46e5;
            --accent-light: rgba(79, 70, 229, 0.1);
            --accent-glow: rgba(79, 70, 229, 0.25);
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --text-main: #1e293b;
            --text-dim: #64748b;
            --glass: rgba(0, 0, 0, 0.02);
            --glass-border: rgba(0, 0, 0, 0.12);
            --border-subtle: rgba(0, 0, 0, 0.05);
            --border-light: rgba(0, 0, 0, 0.1);
            --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
            --shadow-hover: 0 2px 6px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.1);
            --shadow-depth: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
            --shadow-depth-hover: 0 2px 4px rgba(0,0,0,0.06), 0 8px 20px rgba(0,0,0,0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
        }

        html {
            background-color: var(--bg-main);
        }

        html,
        body {
            background: var(--bg-workspace) !important;
            background-attachment: fixed;
            background-size: cover;
            color: var(--text-main);
            font-family: var(--font-main);
            line-height: 1.5;
            overflow-x: hidden !important;
            width: 100%;
            height: 100%;
            min-height: 100dvh;
            margin: 0;
            padding: 0;
            position: relative;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        .section-title {
            font-family: var(--font-display) !important;
            font-size: 20px !important;
            font-weight: 700 !important;
            color: #fff !important;
            letter-spacing: -0.03em !important;
            line-height: 1 !important;
        }

        p,
        .section-subtitle,
        .metric-card-subtitle {
            font-size: 14px !important;
            font-weight: 500 !important;
            color: var(--text-secondary) !important;
            opacity: 0.8;
            line-height: 1.5 !important;
            margin-top: 4px;
        }

        .metric-card-title {
            font-family: var(--font-display) !important;
            font-size: 14px !important;
            font-weight: 500 !important;
            color: var(--text-muted) !important;
            letter-spacing: 0.02em !important;
        }

        .metric-card-value {
            font-family: var(--font-display) !important;
            font-size: 24px !important;
            font-weight: 700 !important;
            color: #fff !important;
            letter-spacing: -0.02em !important;
        }




        /* Film Grain Overlay — adds physical texture to break digital flatness */
        body::before {
            content: '' !important;
            position: fixed !important;
            inset: 0 !important;
            z-index: 999998 !important;
            pointer-events: none !important;
            opacity: 0.025 !important;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") !important;
            background-size: 256px 256px !important;
        }

        /* Ambient Glow Orbs — subtle depth */
        body::after {
            content: '' !important;
            position: fixed !important;
            top: -30% !important;
            right: -20% !important;
            width: 80vw !important;
            height: 80vw !important;
            border-radius: 50% !important;
            background: radial-gradient(circle at center, rgba(99, 102, 241, 0.06) 0%, transparent 65%) !important;
            filter: blur(80px) !important;
            z-index: -1 !important;
            pointer-events: none !important;
        }

        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 80px;
        }


        @media (max-width: 1024px) {
            .container {
                padding: 0 24px;
            }

            /* Contornos mais claros nos cards para mobile */
            .bento-card {
                border-color: rgba(255, 255, 255, 0.1) !important;
                background: #0d0d10 !important;
                /* Totalmente sólido e opaco */
                overflow: hidden !important;
                box-shadow:
                    0 10px 30px rgba(0, 0, 0, 0.8) !important;
                /* Sombra preta profunda */
            }

            /* Luzes roxas mais fortes em pontos estratégicos */
            body::before {
                content: '' !important;
                position: fixed !important;
                background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 60%) !important;
                /* Brilho reduzido e suavizado */
                border-radius: 50% !important;
                width: 160vw !important;
                height: 160vw !important;
                top: -30vw !important;
                right: -40vw !important;
                filter: blur(45px) !important;
                z-index: -10 !important;
                pointer-events: none !important;
            }

            body::after {
                content: '' !important;
                position: fixed !important;
                background: radial-gradient(circle at center, rgba(168, 85, 247, 0.06) 0%, transparent 60%) !important;
                /* Brilho reduzido e suavizado */
                border-radius: 50% !important;
                width: 140vw !important;
                height: 140vw !important;
                top: 40vh !important;
                left: -30vw !important;
                filter: blur(40px) !important;
                z-index: -10 !important;
                pointer-events: none !important;
            }

            .login-card {
                overflow: hidden !important;
                background: #0d0d10 !important;
                max-width: 340px !important;
                width: 90% !important;
                margin: 0 auto !important;
                position: relative !important;
                left: 0 !important;
                right: 0 !important;
                padding: 36px 24px !important;
                text-align: left !important;
                border: 1px solid rgba(255, 255, 255, 0.1) !important;
                box-shadow:
                    0 40px 100px rgba(0, 0, 0, 0.95) !important,
                    inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
            }

            /* Brilho interno removido para não sobrepor ou clarear os inputs */
            .login-card::after {
                display: none !important;
            }

            /* Brilho roxo por trás do Bento Card de vantagens (+80000 etc) */
            .hero-features {
                overflow: visible !important;
                position: relative !important;
            }

            .hero-features::before {
                content: '' !important;
                position: absolute !important;
                top: 50% !important;
                left: 50% !important;
                transform: translate(-50%, -50%) !important;
                width: 140% !important;
                height: 140% !important;
                border-radius: 50% !important;
                background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, transparent 70%) !important;
                filter: blur(80px) !important;
                z-index: -1 !important;
                pointer-events: none !important;
            }

            /* Brilho estratégico por trás do título do Hero */
            .hero-info::before {
                content: '';
                position: absolute;
                top: 10%;
                left: 50%;
                transform: translateX(-50%);
                width: 150vw;
                height: 100vw;
                border-radius: 50%;
                background: radial-gradient(circle at center, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
                filter: blur(45px);
                z-index: -1;
                pointer-events: none;
            }

            /* Brilho estratégico no topo do Rodapé */
            footer::before {
                content: '';
                position: absolute;
                top: -100px;
                left: 50%;
                transform: translateX(-50%);
                width: 140vw;
                height: 200px;
                border-radius: 50%;
                background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.45) 0%, transparent 70%);
                filter: blur(40px);
                z-index: -1;
                pointer-events: none;
            }
        }

        nav {
            padding: 40px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            font-family: var(--font-main);
            font-size: 32px;
            font-weight: 400;
            letter-spacing: -0.03em;
            text-decoration: none;
            color: #fff;
        }

        /* Reveal Animation - Forçado para visibilidade total */
        .reveal {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }

        /* Login Card - Cinematic Style */
        .auth-section {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            min-height: 100dvh;
            width: 100vw;
            padding: 20px 0;
            margin: 0;
            position: relative;
            z-index: 1;
            background: transparent !important;
            overflow-y: auto;
        }

        @media (max-width: 1024px) {
            .auth-section {
                padding: 40px 0 !important;
                text-align: center;
            }

            .login-card {
                margin: 0 auto !important;
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.1em;
            color: #fff;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
            padding: 8px 14px;
            border-radius: 6px;
            margin-bottom: 32px;

            font-family: 'JetBrains Mono', monospace;
        }

        .hero-title {
            font-size: clamp(28px, 4.5vw, 42px);
            font-weight: 400;
            line-height: 1.2;
            letter-spacing: -0.02em;
            margin-bottom: 24px;
            color: #ffffff;
        }

        .hero-description {
            color: var(--text-dim);
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 40px;
            max-width: 520px;
        }

        @media (max-width: 1024px) {
            .hero-description {
                margin-left: auto;
                margin-right: auto;
            }
        }

        .hero-features {
            display: grid;
            gap: 40px;
            margin-bottom: 48px;
        }

        .feature-item {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .feature-icon {
            font-size: 22px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--glass-border);
            width: 52px;
            height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            color: #fff;
        }

        .feature-item h4 {
            font-size: 17px;
            font-weight: 500;
            color: #fff;
            margin-bottom: 6px;
        }

        .feature-item p {
            font-size: 16px;
            color: var(--text-dim);
            line-height: 1.5;
        }

        .live-status {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: rgba(10, 10, 12, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 12px 20px;
            border-radius: 12px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
            font-family: 'JetBrains Mono', monospace;
        }

        .status-dot {
            width: 6px;
            height: 6px;
            background: #10b981;
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
            animation: pulse-dot 2s ease-in-out infinite;
        }

        .status-text {
            font-size: 11px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: -0.01em;
        }

        .login-card {
            background: #0d0d10;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 28px;
            padding: 54px 44px;
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            display: block;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
            will-change: transform, border-color, box-shadow;
            box-shadow:
                0 40px 100px rgba(0, 0, 0, 0.95),
                inset 0 1px 1px rgba(255, 255, 255, 0.05);
            position: relative;
            z-index: 5;
        }



        .login-card:hover {
            border-color: rgba(99, 102, 241, 0.3);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(99, 102, 241, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }

        h1,
        h2 {
            font-family: var(--font-display);
            font-size: clamp(24px, 5vw, 32px);
            /* Fonte fluida */
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 8px;
            letter-spacing: -0.02em;
        }

        /* Estilo específico para títulos de seção (Planos/Cadastro) */
        .section-header h2 {
            font-size: clamp(24px, 5vw, 36px);
            /* Fonte fluida */
            letter-spacing: -0.03em;
        }

        .subtitle {
            color: var(--text-dim);
            font-size: clamp(14px, 4vw, 18px);
            /* Fonte fluida */
            margin-bottom: 32px;
        }

        .pricing-section {
            padding: 80px 0;
            border-top: 1px solid var(--glass-border);
            overflow: visible !important;
            /* Essencial para a luz não cortar */
        }

        .section-header {
            max-width: 800px;
            margin: 0 auto 24px auto;
            /* Reduzido de 64px para 24px */
            text-align: center;
            overflow: visible !important;
        }

        .form-group {
            margin-bottom: 24px;
        }

        label {
            display: block;
            font-size: 14px;
            font-weight: 700;

            letter-spacing: 0.1em;
            margin-bottom: 12px;
            color: #fff;
        }

        input {
            width: 100%;
            padding: 18px;
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            font-family: var(--font-main);
            font-size: 16px;
            background: rgba(255, 255, 255, 0.03);
            color: #fff;
            transition: all 0.3s;
        }

        input:focus {
            outline: none;
            border-color: var(--accent);
            background: rgba(255, 255, 255, 0.06);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12), 0 0 20px rgba(99, 102, 241, 0.08);
        }

        input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .btn-primary {
            background: linear-gradient(180deg, #818cf8 0%, var(--accent) 100%);
            color: #fff;
            border: none;
            padding: 16px 32px;
            border-radius: 16px;
            font-size: 15px;
            font-weight: 700;
            font-family: var(--font-main);
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow:
                0 10px 20px rgba(99, 102, 241, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
            position: relative;
            overflow: hidden;
            margin-top: 16px;
        }

        .btn-primary:hover {
            transform: translateY(-2px) scale(1.01);
            box-shadow:
                0 15px 30px rgba(99, 102, 241, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .btn-primary:active {
            transform: translateY(0) scale(0.98);
        }

        .btn-primary:focus-visible {
            outline: 2px solid #818cf8;
            outline-offset: 3px;
        }

        /* Player Section */
        #player {
            background: var(--bg-main);
            min-height: 100vh;
        }

        .tab {
            position: relative;
            padding-bottom: 8px;
            transition: color 0.3s;
        }

        .tab.active {
            color: #fff !important;
        }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--accent);
            box-shadow: 0 0 10px var(--accent);
        }

        .bento-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 24px;
            max-width: 1150px;
            margin-left: auto;
            margin-right: auto;
            padding: 20px 20px 80px 20px;
            margin-bottom: 80px;
            overflow: visible !important;
        }

        .bento-card {
            flex: 1 1 300px;
            max-width: 360px;
            background: #0d0d10;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 16px;
            /* Padding ultra-compacto */
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Centraliza itens horizontalmente */
            text-align: center;
            /* Centraliza o texto */
            justify-content: flex-start;
            gap: 8px;
            min-height: 180px;
            transition: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
            will-change: transform, border-color, box-shadow;
            position: relative;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .bento-card:hover {
            transform: translateY(-6px);
            border-color: rgba(99, 102, 241, 0.3);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(99, 102, 241, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }

        .bento-card.featured {
            background: linear-gradient(145deg, rgba(22, 22, 22, 0.5) 0%, rgba(5, 5, 5, 0.5) 100%);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--accent);
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(99, 102, 241, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .bento-card.featured:hover {
            border-color: var(--accent);
            box-shadow: 0 0 50px -5px var(--accent),
                0 0 30px var(--accent-glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .price-badge {
            display: inline-flex;
            padding: 6px 14px;
            border-radius: 99px;
            font-size: 11px;
            font-weight: 700;

            letter-spacing: 0.05em;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow:
                0 4px 10px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            color: #fff;
            margin-bottom: 20px;
        }

        .featured .price-badge {
            background: #ffffff;
            color: #000000 !important;
            border-color: #ffffff;
            font-weight: 800;
            box-shadow:
                0 4px 15px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 1);
        }

        .bento-card h3 {
            font-size: 18px;
            margin: 4px 0 2px 0;
            font-weight: 400;
        }

        .plan-features {
            text-align: left;
            list-style: none;
            margin: 16px 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
            border-top: 1px solid var(--glass-border);
            padding-top: 16px;
            width: 100%;
        }

        .featured .plan-features {
            border-top-color: rgba(99, 102, 241, 0.3);
        }

        .plan-features li {
            font-size: 15px;
            /* Ajuste fino para o equilíbrio ideal */
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #ffffff !important;
            line-height: 1.4;
        }

        .plan-features li svg {
            flex-shrink: 0;
            width: 16px;
            /* Ícones maiores */
            height: 16px;
        }

        .price-badge {
            background: var(--accent);
            color: #fff;
            font-weight: 500;
            font-size: 10px;

            letter-spacing: 0.15em;
            padding: 8px 16px;
            border-radius: 999px;
            margin-bottom: 32px;
            display: inline-block;
        }

        .carousel-nav {
            display: none;
        }

        .carousel-dots {
            display: none;
        }

        /* --- Responsividade Global --- */
        @media (max-width: 900px) {
            #player-header {
                flex-direction: column;
                align-items: stretch !important;
                gap: 20px;
            }

            #player-controls {
                width: 100% !important;
            }

            #player-main {
                grid-template-columns: 1fr !important;
                /* Categorias em cima, canais embaixo */
            }

            #category-list {
                height: auto !important;
                max-height: 200px;
                border-right: none !important;
                border-bottom: 1px solid var(--glass-border);
                padding-right: 0 !important;
                padding-bottom: 10px;
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .category-item {
                border-bottom: none !important;
                white-space: nowrap;
            }

            #stream-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
            }

            .container {
                padding: 0 15px;
            }
        }

        @media (max-width: 1024px) {

            html,
            body {
                overflow-x: hidden !important;
                width: 100%;
                position: relative;
            }

            /* Container do carrossel */
            .pricing-section {
                position: relative;
                overflow: visible !important;
                padding: 80px 0 !important;
            }

            .pricing-container {
                position: relative;
                width: 100%;
                z-index: 5;
            }

            .pricing-section .bento-grid {
                display: flex !important;
                flex-wrap: nowrap !important;
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch !important;
                touch-action: pan-x pan-y !important;
                scroll-snap-type: x mandatory !important;
                padding: 20px 24px 0px 24px !important;
                gap: 20px !important;
                margin-left: -24px !important;
                margin-right: -24px !important;
                scrollbar-width: none !important;
                scroll-behavior: smooth !important;
            }

            .pricing-section .bento-grid::-webkit-scrollbar {
                display: none !important;
            }

            .pricing-section .bento-card {
                width: 340px !important;
                min-width: 340px !important;
                max-width: 340px !important;
                min-height: 480px !important;
                padding: 24px 20px !important;
                flex-shrink: 0 !important;
                scroll-snap-align: center !important;
                border-color: rgba(255, 255, 255, 0.25) !important;
                background: rgba(10, 10, 12, 0.85) !important;
                backdrop-filter: blur(25px) !important;
                overflow: visible !important;
                box-shadow:
                    0 20px 50px rgba(0, 0, 0, 0.5) !important;
            }

            .carousel-dots {
                display: flex !important;
                justify-content: center !important;
                gap: 8px !important;
                margin-top: -16px !important;
                z-index: 10 !important;
                position: relative !important;
            }

            .carousel-dots .dot {
                width: 16px !important;
                height: 4px !important;
                background: rgba(255, 255, 255, 0.2) !important;
                border-radius: 2px !important;
                cursor: pointer !important;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            }

            .carousel-dots .dot.active {
                width: 32px !important;
                background: var(--accent) !important;
                box-shadow: 0 0 10px var(--accent-glow) !important;
            }

            .pricing-section::before {
                content: '' !important;
                position: absolute !important;
                top: 50% !important;
                left: 50% !important;
                transform: translate(-50%, -50%) !important;
                width: 150vw !important;
                height: 150vw !important;
                border-radius: 50% !important;
                background: radial-gradient(circle at center, rgba(168, 85, 247, 0.55) 0%, transparent 60%) !important;
                filter: blur(40px) !important;
                z-index: 1 !important;
                pointer-events: none !important;
            }



            #login {
                position: relative;
                overflow: visible !important;
            }

            #login::before {
                content: '';
                position: absolute;
                top: -30%;
                right: -45%;
                width: 160vw;
                height: 160vw;
                border-radius: 50%;
                background: radial-gradient(circle at center, rgba(168, 85, 247, 0.52) 0%, transparent 60%);
                filter: blur(40px);
                z-index: 1;
                pointer-events: none;
            }

            /* Botões de Navegação Custom */
            .carousel-nav {
                display: flex;
                justify-content: center;
                gap: 24px;
                margin-top: 20px;
                position: relative;
                z-index: 10;
            }

            .nav-btn {
                background: rgba(255, 255, 255, 0.1);
                border: 1px solid rgba(255, 255, 255, 0.2);
                color: white;
                width: 58px;
                height: 58px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                backdrop-filter: blur(15px);
                cursor: pointer;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }

            .nav-btn:active {
                background: var(--accent);
                border-color: white;
                transform: scale(0.85);
                box-shadow: 0 0 20px var(--accent);
            }
        }

        /* --- Estilos Smart TV --- */
        @media (min-width: 1800px) {
            #stream-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
            }

            /* Otimização de Tamanho para TV na Tela de Escolha */
            .ccs-body {
                gap: 100px !important;
                padding: 0 80px !important;
            }

            .ccs-time {
                font-size: 120px !important;
                /* Relógio massivo para TV */
            }

            .ccs-date {
                font-size: 32px !important;
                margin-top: 10px !important;
            }

            .ccs-reload-btn {
                font-size: 24px !important;
                padding: 18px 40px !important;
                gap: 15px !important;
                margin-top: 40px !important;
                border-radius: 16px !important;
            }

            .ccs-reload-btn svg {
                width: 26px !important;
                height: 26px !important;
            }

            .ccs-right {
                max-width: 650px !important;
                gap: 28px !important;
            }

            .ccs-menu-btn {
                padding: 24px 34px !important;
                font-size: 30px !important;
                border-radius: 24px !important;
                gap: 24px !important;
                border-width: 3px !important;
            }

            .ccs-menu-icon {
                width: 70px !important;
                height: 70px !important;
            }

            .ccs-menu-icon svg {
                width: 36px !important;
                height: 36px !important;
                stroke-width: 2px !important;
            }
        }

        .pix-code {
            background: #0a0a0c;
            color: var(--accent);
        }

        footer {
            padding: 100px 0;
            border-top: 1px solid var(--glass-border);
            text-align: center;
            color: var(--text-dim);
            font-size: 14px;
        }

        /* ===== CATEGORY CHOICE SCREEN ===== */
        .category-choice-screen {
            min-height: 100vh;
            min-height: 100dvh;
            background: #040407;
            background-image:
                radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15), transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.08), transparent 50%),
                url("data:image/svg+xml,%3Csvg width='1440' height='900' viewBox='0 0 1440 900' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-100 600 C 200 800 600 400 1500 600' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3Cpath d='M-100 650 C 200 850 600 450 1500 650' stroke='rgba(255,255,255,0.03)' stroke-width='1.5'/%3E%3Cpath d='M-100 700 C 200 900 600 500 1500 700' stroke='rgba(255,255,255,0.02)' stroke-width='1'/%3E%3Cpath d='M-100 550 C 200 750 600 350 1500 550' stroke='rgba(255,255,255,0.05)' stroke-width='2'/%3E%3C/svg%3E");
            background-size: cover;
            position: relative;
            z-index: 5;
            overflow: hidden;
        }

        .ccs-wrapper {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            padding: 32px 80px 48px;
            position: relative;
        }

        .ccs-wrapper::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100vw;
            height: 100vw;
            border-radius: 50%;
            background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 70%);
            filter: blur(100px);
            pointer-events: none;
            z-index: 0;
        }

        .ccs-logo-row {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .ccs-logo-text {
            font-family: var(--font-display);
            font-size: 26px;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: #ffffff;
        }

        .ccs-body {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
            flex: 1;
        }

        .ccs-left {
            display: flex;
            flex-direction: column;
            gap: 24px;
            align-self: flex-end;
            padding-bottom: 40px;
        }

        .ccs-clock {
            display: flex;
            flex-direction: column;
        }

        .ccs-time {
            font-family: var(--font-main);
            font-size: clamp(32px, 5vw, 52px);
            font-weight: 500;
            line-height: 1;
            letter-spacing: normal;
            color: #fff;
        }

        .ccs-date {
            font-family: var(--font-main);
            font-size: clamp(14px, 2vw, 18px);
            font-weight: 400;
            color: rgba(255, 255, 255, 0.45);
            margin-top: 6px;
        }

        .ccs-reload-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            border-radius: 12px;
            border: none;
            background: linear-gradient(180deg, #fbad38 0%, #e67e22 100%);
            color: #fff;
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2, 1, 0.2, 1);
            box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .ccs-reload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(230, 126, 34, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .ccs-reload-btn svg {
            transition: transform 0.4s;
        }

        .ccs-reload-btn:hover svg {
            transform: rotate(180deg);
        }

        .ccs-right {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 320px;
            max-width: 420px;
            width: 100%;
        }

        .ccs-menu-btn {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 20px;
            border-radius: 16px;
            border: 2px solid rgba(255, 255, 255, 0.15);
            background: #0a0a0c;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            color: #fff;
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 600;
            letter-spacing: -0.01em;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            text-align: left;
            position: relative;
            overflow: hidden;
        }

        .ccs-menu-btn::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 100%;
            background: transparent;
            border-radius: 0 2px 2px 0;
            transition: background 0.3s var(--ease-out-expo);
        }

        .ccs-menu-btn:hover {
            transform: translateX(-4px);
            border-color: rgba(255, 255, 255, 0.15);
            background: rgba(18, 18, 22, 0.9);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .ccs-menu-btn:hover::before {
            background: currentColor;
            opacity: 0.6;
        }

        .ccs-menu-btn:active {
            transform: translateX(-2px) scale(0.99);
        }

        .ccs-menu-icon {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: transform 0.3s;
        }

        .ccs-menu-btn:hover .ccs-menu-icon {
            transform: scale(1.08);
        }

        .ccs-menu-icon--orange {
            background: #faa41a;
            color: #fff;
        }

        .ccs-menu-btn--live:hover {
            border-color: rgba(250, 164, 26, 0.5);
        }

        .ccs-menu-icon--blue {
            background: #1ecbe1;
            color: #fff;
        }

        .ccs-menu-btn--movies:hover {
            border-color: rgba(30, 203, 225, 0.5);
        }

        .ccs-menu-icon--green {
            background: #66bb6a;
            color: #fff;
        }

        .ccs-menu-btn--series:hover {
            border-color: rgba(102, 187, 106, 0.5);
        }

        .ccs-menu-icon--success {
            background: rgba(16, 185, 129, 0.1);
            color: #10b981;
        }

        .ccs-menu-icon--indigo {
            background: rgba(99, 102, 241, 0.1);
            color: #6366f1;
        }

        .ccs-menu-icon--purple {
            background: rgba(149, 117, 205, 0.15);
            color: #9575cd;
        }

        .ccs-menu-btn--settings:hover {
            border-color: rgba(149, 117, 205, 0.5);
        }

        .ccs-menu-icon--red {
            background: #e53935;
            color: #fff;
        }

        .ccs-menu-btn--logout:hover {
            border-color: rgba(229, 57, 53, 0.5);
        }

        /* TABLET */
        @media (max-width: 1024px) {
            .ccs-wrapper {
                padding: 28px 32px 40px;
            }

            .ccs-body {
                gap: 40px;
            }

            .ccs-right {
                min-width: 260px;
                max-width: 360px;
            }

            .ccs-menu-btn {
                padding: 12px 16px;
                font-size: 14px;
                gap: 12px;
            }

            .ccs-menu-icon {
                width: 36px;
                height: 36px;
            }

            .ccs-menu-icon svg {
                width: 18px !important;
                height: 18px !important;
            }

            .ccs-time {
                font-size: clamp(28px, 5vw, 44px);
            }

            .ccs-date {
                font-size: 15px;
            }
        }

        /* TABLET LANDSCAPE */
        @media (max-width: 1024px) and (orientation: landscape) {
            .ccs-wrapper {
                flex-direction: row;
                align-items: center;
                padding: 20px 40px;
            }

            .ccs-logo-row {
                position: absolute;
                top: 14px;
                left: 40px;
            }

            .ccs-body {
                width: 100%;
                margin-top: 36px;
            }

            .ccs-time {
                font-size: clamp(24px, 3.5vw, 38px);
            }

            .ccs-date {
                font-size: 13px;
            }

            .ccs-right {
                min-width: 200px;
                max-width: 300px;
            }

            .ccs-menu-btn {
                padding: 8px 12px;
                font-size: 12px;
                gap: 8px;
            }

            .ccs-menu-icon {
                width: 28px;
                height: 28px;
            }

            .ccs-menu-icon svg {
                width: 14px !important;
                height: 14px !important;
            }

            .ccs-reload-btn {
                padding: 8px 18px;
                font-size: 12px;
            }
        }

        /* MOBILE PORTRAIT */
        @media (max-width: 768px) {
            .ccs-wrapper {
                padding: 20px 20px 32px;
            }

            .ccs-logo-row {
                margin-bottom: 32px;
            }

            .ccs-logo-text {
                font-size: 22px;
            }

            .ccs-body {
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 32px;
                text-align: center;
            }

            .ccs-left {
                align-items: center;
            }

            .ccs-time {
                font-size: clamp(36px, 12vw, 52px);
            }

            .ccs-date {
                font-size: 16px;
            }

            .ccs-right {
                min-width: 0;
                max-width: 100%;
                gap: 10px;
            }

            .ccs-menu-btn {
                padding: 12px 14px;
                font-size: 13px;
                gap: 10px;
                border-radius: 10px;
            }

            .ccs-menu-icon {
                width: 36px;
                height: 36px;
            }

            .ccs-reload-btn {
                padding: 12px 24px;
                font-size: 14px;
            }
        }

        /* MOBILE LANDSCAPE */
        @media (max-width: 768px) and (orientation: landscape) {
            .ccs-wrapper {
                flex-direction: row;
                align-items: center;
                padding: 14px 24px;
            }

            .ccs-logo-row {
                position: absolute;
                top: 10px;
                left: 24px;
            }

            .ccs-body {
                width: 100%;
                margin-top: 32px;
                gap: 20px;
            }

            .ccs-time {
                font-size: clamp(20px, 3vw, 32px);
            }

            .ccs-date {
                font-size: 12px;
            }

            .ccs-right {
                min-width: 160px;
                max-width: 260px;
                gap: 6px;
            }

            .ccs-menu-btn {
                padding: 6px 10px;
                font-size: 11px;
                gap: 6px;
            }

            .ccs-menu-icon {
                width: 24px;
                height: 24px;
            }

            .ccs-menu-icon svg {
                width: 12px !important;
                height: 12px !important;
            }

            .ccs-reload-btn {
                padding: 6px 14px;
                font-size: 11px;
            }
        }

        /* SMALL MOBILE PORTRAIT */
        @media (max-width: 480px) {
            .ccs-wrapper {
                padding: 16px 16px 28px;
            }

            .ccs-time {
                font-size: clamp(32px, 14vw, 48px);
            }

            .ccs-date {
                font-size: 14px;
            }

            .ccs-menu-btn {
                padding: 10px 12px;
                font-size: 12px;
                gap: 10px;
            }

            .ccs-menu-icon {
                width: 32px;
                height: 32px;
            }

            .ccs-menu-icon svg {
                width: 16px !important;
                height: 16px !important;
            }
        }

        #back-to-categories-btn:hover {
            background: rgba(99, 102, 241, 0.15) !important;
            border-color: rgba(99, 102, 241, 0.3) !important;
            color: var(--accent) !important;
            transform: translateX(-2px);
        }

        @media (max-width: 900px) {
            #back-to-categories-btn {
                display: none !important;
            }
        }

        /* ===== IPTV Player & Grid Styles ===== */
        /* --- IPTV Player & Grid Styles --- */
        #category-list {
            overflow-y: scroll !important;
        }

        #category-list::-webkit-scrollbar {
            width: 6px;
            display: block !important;
        }

        #category-list::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.04);
            border-radius: 10px;
        }

        #category-list::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.18);
            border-radius: 10px;
            min-height: 40px;
        }

        #category-list::-webkit-scrollbar-thumb:hover {
            background: var(--accent);
        }

        .category-item {
            padding: 14px 12px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            color: var(--text-dim);
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-family: var(--font-main);

            letter-spacing: 0.02em;
        }

        .category-item:last-child {
            border-bottom: none;
        }

        .category-item:hover {
            background: rgba(255, 255, 255, 0.03);
            color: #fff;
            padding-left: 15px;
        }

        .category-item.active {
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            font-weight: 700;
            border-bottom: none;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
            position: relative;
        }

        .category-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 60%;
            background: var(--accent);
            border-radius: 0 2px 2px 0;
            box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
        }

        .stream-grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 16px;
            transition: opacity 0.3s;
        }

        .stream-card {
            position: relative;
            background: #0a0a0c;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
            aspect-ratio: 3/4;
            font-family: var(--font-main);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        .stream-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: var(--accent);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        }

        .card-thumb {
            width: 100%;
            height: 100%;
        }

        .card-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }

        .stream-card:hover .card-thumb img {
            transform: scale(1.15);
        }

        .card-info {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 24px 12px 12px 12px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
            z-index: 2;
        }

        .card-name {
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            text-align: center;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-family: var(--font-display);

            letter-spacing: 0.03em;
        }

        .empty-state {
            grid-column: 1 / -1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 100px 20px;
            text-align: center;
            color: var(--text-dim);
            font-size: 18px;
        }

        /* --- Retro TV CSS --- */
        .tv-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: auto;
            margin-bottom: 20px;
            transform: scale(0.8);
        }

        .tv-main {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .tv-antenna {
            width: 5em;
            height: 5em;
            border-radius: 50%;
            border: 2px solid black;
            background-color: var(--accent);
            margin-bottom: -6em;
            z-index: -1;
            position: relative;
        }

        .tv-antenna_shadow {
            position: absolute;
            background-color: transparent;
            width: 50px;
            height: 56px;
            margin-left: 1.68em;
            border-radius: 45%;
            transform: rotate(140deg);
            border: 4px solid transparent;
            box-shadow: inset 0px 16px rgba(99, 102, 241, 0.6), inset 0px 16px 1px 1px rgba(99, 102, 241, 0.6);
        }

        .tv-antenna::after {
            content: "";
            position: absolute;
            margin-top: -9.4em;
            margin-left: 0.4em;
            transform: rotate(-25deg);
            width: 1em;
            height: 0.5em;
            border-radius: 50%;
            background-color: #818cf8;
        }

        .tv-antenna::before {
            content: "";
            position: absolute;
            margin-top: 0.2em;
            margin-left: 1.25em;
            transform: rotate(-20deg);
            width: 1.5em;
            height: 0.8em;
            border-radius: 50%;
            background-color: #818cf8;
        }

        .tv-a1 {
            position: relative;
            top: -102%;
            left: -130%;
            width: 12em;
            height: 5.5em;
            border-radius: 50px;
            background-image: linear-gradient(#171717, #171717, #353535, #353535, #171717);
            transform: rotate(-29deg);
            clip-path: polygon(50% 0%, 49% 100%, 52% 100%);
        }

        .tv-a1d {
            position: relative;
            top: -211%;
            left: -35%;
            transform: rotate(45deg);
            width: 0.5em;
            height: 0.5em;
            border-radius: 50%;
            border: 2px solid black;
            background-color: #979797;
            z-index: 99;
        }

        .tv-a2 {
            position: relative;
            top: -210%;
            left: -10%;
            width: 12em;
            height: 4em;
            border-radius: 50px;
            background-color: #171717;
            background-image: linear-gradient(#171717, #171717, #353535, #353535, #171717);
            margin-right: 5em;
            clip-path: polygon(47% 0, 47% 0, 34% 34%, 54% 25%, 32% 100%, 29% 96%, 49% 32%, 30% 38%);
            transform: rotate(-8deg);
        }

        .tv-a2d {
            position: relative;
            top: -294%;
            left: 94%;
            width: 0.5em;
            height: 0.5em;
            border-radius: 50%;
            border: 2px solid black;
            background-color: #979797;
            z-index: 99;
        }

        .tv-display {
            width: 17em;
            height: 9em;
            margin-top: 3em;
            border-radius: 15px;
            background-color: #4338ca;
            display: flex;
            justify-content: center;
            border: 2px solid #1e1b4b;
            box-shadow: inset 0.2em 0.2em #6366f1;
            position: relative;
        }

        .tv-display::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 15px;
            background: repeating-radial-gradient(#4338ca 0 0.0001%, #00000070 0 0.0002%) 50% 0/2500px 2500px,
                repeating-conic-gradient(#4338ca 0 0.0001%, #00000070 0 0.0002%) 60% 60%/2500px 2500px;
            background-blend-mode: difference;
            opacity: 0.09;
            pointer-events: none;
        }

        .tv-screen_out1 {
            width: 11em;
            height: 7.75em;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            align-self: center;
            box-shadow: 3.5px 3.5px 0px #6366f1;
        }

        .tv-screen {
            width: 13em;
            height: 7.85em;
            font-family: 'Syne', sans-serif;
            border: 2px solid #1d0e01;
            background-color: #0173f7;
            border-radius: 10px;
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #fff;
            letter-spacing: 0.05em;
            text-align: center;
            font-size: 12px;

        }

        .tv-buttons_div {
            width: 4.25em;
            align-self: center;
            height: 8em;
            background-color: #4338ca;
            border: 2px solid #1e1b4b;
            padding: 0.6em;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            row-gap: 0.75em;
            box-shadow: 3px 3px 0px #4338ca;
            margin-left: 10px;
        }

        .tv-b1,
        .tv-b2 {
            width: 1.65em;
            height: 1.65em;
            border-radius: 50%;
            background-color: #7f5934;
            border: 2px solid black;
            box-shadow: inset 2px 2px 1px #b49577, -2px 0px #513721, -2px 0px 0px 1px black;
            position: relative;
        }

        .tv-b1::before {
            content: "";
            position: absolute;
            margin-top: 1em;
            margin-left: 0.5em;
            transform: rotate(47deg);
            border-radius: 5px;
            width: 0.1em;
            height: 0.4em;
            background-color: #0a0a0c;
        }

        .tv-b1::after {
            content: "";
            position: absolute;
            margin-top: 0.9em;
            margin-left: 0.8em;
            transform: rotate(47deg);
            border-radius: 5px;
            width: 0.1em;
            height: 0.55em;
            background-color: #0a0a0c;
        }

        .tv-b1-line {
            content: "";
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 0.15em;
            height: 1.5em;
            background-color: #0a0a0c;
        }

        .tv-speakers {
            display: flex;
            flex-direction: column;
            row-gap: 0.5em;
        }

        .tv-speakers .tv-g1 {
            display: flex;
            column-gap: 0.25em;
        }

        .tv-speakers .tv-g1 div {
            width: 0.65em;
            height: 0.65em;
            border-radius: 50%;
            background-color: #7f5934;
            border: 2px solid black;
            box-shadow: inset 1.25px 1.25px 1px #b49577;
        }

        .tv-speakers .tv-g {
            width: auto;
            height: 2px;
            background-color: #171717;
        }

        .tv-bottom {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            column-gap: 8.7em;
            margin-top: 5px;
        }

        .tv-base {
            height: 1em;
            width: 2em;
            border: 2px solid #171717;
            background-color: #4d4d4d;
            z-index: -1;
        }

        .tv-base3 {
            position: absolute;
            height: 0.15em;
            width: 17.5em;
            background-color: #171717;
            margin-top: 0.8em;
        }

        /* --- Skeleton Mode --- */
        .skeleton {
            background: linear-gradient(90deg, #050505 25%, #121212 50%, #050505 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.8s ease-in-out infinite;
            border-radius: 8px;
        }

        @keyframes skeleton-loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        .skeleton-card {
            aspect-ratio: 3/4;
            width: 100%;
        }

        /* --- Mobile App Shell --- */
        .bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid var(--glass-border);
            padding: 12px 0;
            z-index: 2000;
            justify-content: space-around;
            align-items: center;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: var(--text-dim);
            font-size: 10px;
            font-weight: 600;

            cursor: pointer;
            transition: all 0.3s;
        }

        .nav-item.active {
            color: var(--accent);
        }

        .nav-item svg {
            width: 22px;
            height: 22px;
            transition: transform 0.3s;
        }

        .nav-item.active svg {
            transform: translateY(-2px);
            filter: drop-shadow(0 0 5px var(--accent-glow));
        }

        @media (max-width: 900px) {
            .bottom-nav {
                display: flex;
            }

            #player-header .tab-group {
                display: none !important;
            }

            #player {
                padding-bottom: 80px !important;
            }
        }

        /* --- SaaS Layout Structure --- */
        .dashboard-container {
            display: none !important;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 9999;
            background: var(--bg-workspace);
            padding: 0;
            overflow: hidden;
        }

        .dashboard-layout {
            display: none;
            grid-template-columns: 240px 1fr;
            min-height: 100vh;
            width: 100%;
            background: transparent;
            transition: grid-template-columns 0.4s var(--ease-out-expo);
        }

        .dashboard-layout.collapsed {
            grid-template-columns: 84px 1fr;
        }

        .sidebar {
            background: rgba(8, 8, 10, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-right: 1px solid rgba(255, 255, 255, 0.08);
            padding: 24px 14px 20px;
            display: flex !important;
            flex-direction: column !important;
            gap: 2px;
            height: 100vh;
            overflow-y: auto;
            overflow-x: hidden;
            position: relative;
            z-index: 10;
        }

        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 0 6px;
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            font-family: var(--font-display);
            font-size: 28px;
            font-weight: 500;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: #ffffff;
            padding: 0 12px;
            margin-bottom: 16px;
            transition: all 0.3s var(--ease-out-expo);
        }

        .sidebar-logo .logo-short {
            display: none;
        }

        .nav-menu {
            display: flex;
            flex-direction: column;
            justify-content: flex-start !important;
            align-items: stretch !important;
            gap: 12px;
            flex: 1;
            padding: 40px 0 0 0;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 11px;
            padding: 9px 12px;
            border-radius: 12px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 17px;
            font-weight: 400;
            transition: all 0.25s var(--ease-out-expo);
            cursor: pointer;
            width: 100%;
            border: 1px solid transparent;
            outline: none;
            user-select: none;
            white-space: nowrap;
            letter-spacing: -0.01em;
        }

        .nav-link:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.06);
        }

        .nav-link.active {
            color: #ffffff;
            font-weight: 400;
            background: rgba(99, 102, 241, 0.12);
            border: 1px solid rgba(99, 102, 241, 0.2);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        .nav-link svg {
            width: 22px;
            height: 22px;
            min-width: 22px;
            stroke-width: 1.8;
            transition: all 0.2s var(--ease-out-expo);
        }

        .nav-link.active svg {
            color: #818cf8;
        }

        /* Sidebar Toggle Button */
        .sidebar-toggle {
            width: 34px;
            height: 34px;
            background: rgba(0, 0, 0, 0.03);
            border: 1px solid rgba(0, 0, 0, 0.06);
            border-radius: 10px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.25s var(--ease-out-expo);
        }

        .sidebar-toggle:hover {
            background: rgba(0, 0, 0, 0.06);
            border-color: #6366f1;
        }

        .dashboard-layout.collapsed .nav-link span {
            display: none;
        }

        .dashboard-layout.collapsed .sidebar {
            padding: 40px 10px;
            align-items: center;
        }

        .dashboard-layout.collapsed .sidebar-header {
            justify-content: center;
        }

        .dashboard-layout.collapsed .sidebar-toggle {
            background: rgba(99, 102, 241, 0.08);
            color: var(--accent);
            border-radius: 12px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: rotate(180deg);
            border: 1px solid rgba(99, 102, 241, 0.2);
        }

        .dashboard-layout.collapsed .sidebar-logo {
            display: flex;
            justify-content: center;
            padding: 0;
        }

        .dashboard-layout.collapsed .sidebar-logo .logo-full {
            display: none;
        }

        .dashboard-layout.collapsed .sidebar-logo .logo-short {
            display: inline;
            color: var(--accent);
            font-weight: 600;
            font-size: 32px;
            letter-spacing: 0;
        }

        .dashboard-layout.collapsed .sidebar-header {
            justify-content: center;
            width: 100%;
        }

        .dashboard-layout.collapsed .nav-menu {
            align-items: center;
        }

        .dashboard-layout.collapsed .nav-link {
            justify-content: center;
            padding: 12px;
            width: 48px;
            height: 48px;
        }


        .main-content {
            padding: 16px 32px;
            overflow-y: auto;
            background: transparent;
            min-width: 0;
            height: 100vh;
            margin: 0;
            border-radius: 0;
            border: none;
            box-shadow: none;
        }

        /* --- SaaS Top Bar (Liquid Glass) --- */
        .saas-top-bar {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 16px 40px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(8, 8, 10, 0.6);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            height: 72px;
            z-index: 90;
            box-sizing: border-box;
        }

        .top-bar-btn {
            display: flex;
            height: 42px;
            width: 42px;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s var(--ease-out-expo);
            outline: none;
        }

        .top-bar-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
            color: #fff;
            transform: scale(1.02);
        }

        .top-bar-search {
            position: relative;
            display: flex;
            align-items: center;
            flex: 1;
            max-width: 430px;
        }

        .top-bar-search-input {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #fff;
            height: 44px;
            border-radius: 12px;
            padding: 0 16px 0 44px;
            font-size: 14px;
            font-weight: 500;
            font-family: var(--font-display);
            width: 100%;
            outline: none;
            transition: all 0.25s var(--ease-out-expo);
        }

        .top-bar-search-input::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .top-bar-search-input:focus {
            border-color: var(--accent);
            background: rgba(255, 255, 255, 0.06);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
        }

        .top-bar-search-icon {
            position: absolute;
            left: 16px;
            color: rgba(255, 255, 255, 0.4);
            pointer-events: none;
            display: flex;
            align-items: center;
        }

        .top-bar-search-key {
            position: absolute;
            right: 10px;
            display: flex;
            align-items: center;
            gap: 2px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 4px 8px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.4);
            font-family: var(--font-main);
            pointer-events: none;
        }

        .mobile-only-btn {
            display: none;
        }

        @media (max-width: 900px) {
            .top-bar-search {
                display: none;
            }

            .mobile-only-btn {
                display: flex;
            }

            .saas-top-bar {
                padding: 16px 20px;
            }
        }

        .finance-zoom {
            zoom: 0.9;
        }

        /* --- SaaS Metric Cards (Modern Redesign) --- */
        .saas-metric-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 24px 32px;
            display: flex;
            flex-direction: column;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0, 0, 0, 0.3);
            gap: 8px;
        }

        .saas-metric-card:hover {
            transform: translateY(-4px);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 12px 32px rgba(0, 0, 0, 0.4);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .metric-card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        .metric-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-main);
            color: var(--accent);
        }

        .metric-card-title {
            font-size: 16px;
            font-weight: 400;
            color: var(--text-secondary);
            text-transform: none;
            letter-spacing: -0.01em;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .metric-card-subtitle {
            font-size: 12px;
            font-weight: 500;
            color: var(--text-dim);
            margin-top: 4px;
            display: block;
        }

        .metric-card-footer {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-top: auto;
        }

        .metric-card-value {
            font-size: 28px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.02em;
            margin-top: 16px;
            line-height: 1.2;
            font-variant-numeric: tabular-nums;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        .metric-card-badge {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 4px 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 600;
        }

        .badge-trend-up {
            background: rgba(16, 185, 129, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #34d399;
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .badge-trend-down {
            background: rgba(239, 68, 68, 0.15);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #f87171;
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .header-action-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px !important;
            margin-bottom: 24px !important;
            position: relative;
            z-index: 50;
            overflow: visible;
        }

        .section-title {
            font-family: var(--font-main);
            font-size: 28px;
            font-weight: 600;
            margin: 0;
            letter-spacing: -0.02em;
            color: #e5e7eb;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        .card-stat-v2 {
            background: var(--bg-card);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(0, 0, 0, 0.04);
            padding: 20px;
            border-radius: var(--radius-lg);
            transition: all 0.3s var(--ease-out-expo);
            box-shadow: var(--shadow-depth);
        }

        .card-stat-v2:hover {
            box-shadow: var(--shadow-depth-hover);
            transform: translateY(-2px);
        }

        .btn-saas {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 10px 20px;
            border-radius: 12px;
            font-family: var(--font-main);
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow:
                inset 0 1px 2px rgba(255, 255, 255, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }

        .btn-saas::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: 0.5s;
        }

        .btn-saas:hover::after {
            left: 100%;
        }

        .btn-saas:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.18);
            box-shadow:
                inset 0 1px 3px rgba(255, 255, 255, 0.5),
                0 8px 16px rgba(0, 0, 0, 0.3);
        }

        .btn-saas:active {
            transform: scale(0.96);
        }

        /* Color Variants for 3D Glass Buttons */
        .btn-saas.btn-green { background: linear-gradient(180deg, #34d399 0%, #10b981 100%); border: none; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
        .btn-saas.btn-purple { background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%); border: none; box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
        .btn-saas.btn-indigo { background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%); border: none; box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
        .btn-saas.btn-red { background: linear-gradient(180deg, #f87171 0%, #ef4444 100%); border: none; box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
        .btn-saas.btn-amber { background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%); border: none; box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
        
        .btn-saas.btn-green:hover { background: linear-gradient(180deg, #34d399 0%, #059669 100%); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3); }
        .btn-saas.btn-purple:hover { background: linear-gradient(180deg, #6366f1 0%, #4338ca 100%); box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3); }
        .btn-saas.btn-indigo:hover { background: linear-gradient(180deg, #6366f1 0%, #4338ca 100%); box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3); }
        .btn-saas.btn-red:hover { background: linear-gradient(180deg, #f87171 0%, #dc2626 100%); box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3); }
        .btn-saas.btn-amber:hover { background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%); box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3); }


        .btn-saas-outline {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
            padding: 10px 20px;
            border-radius: 12px;
            font-family: var(--font-main);
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .btn-saas-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .btn-plan-action {
            width: 100%;
            padding: 14px !important;
            border-radius: 12px !important;
            font-family: var(--font-display);
            font-size: 14px !important;
            font-weight: 600 !important;
            text-transform: none;
            margin-top: auto;

            /* Glassmorphism 3D Background */
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);

            /* 3D Borders and Shadow */
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            box-shadow:
                inset 0 1px 2px rgba(255, 255, 255, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.2);

            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-plan-action:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.18);
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow:
                inset 0 1px 3px rgba(255, 255, 255, 0.5),
                0 8px 24px rgba(0, 0, 0, 0.35);
        }

        .btn-plan-action:active {
            transform: scale(0.97) translateY(0);
        }

        .btn-plan-action.popular {
            background: linear-gradient(135deg, #4f46e5, #6366f1);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow:
                inset 0 1px 2px rgba(255, 255, 255, 0.4),
                0 8px 20px rgba(99, 102, 241, 0.25);
        }

        .btn-plan-action.popular:hover {
            background: linear-gradient(135deg, #4338ca, #4f46e5);
            box-shadow:
                inset 0 1px 3px rgba(255, 255, 255, 0.5),
                0 12px 28px rgba(79, 70, 229, 0.45);
        }

        /* Standard Modal System */
        .modal-overlay-standard {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--glass-overlay);
            backdrop-filter: blur(20px);
            z-index: 100000;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s var(--ease-out-expo);
        }

        .modal-container-standard {
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border: 1px solid var(--glass-border);
            border-radius: 28px;
            padding: 32px;
            box-shadow: var(--glass-shadow);
            position: relative;
            overflow: visible;
        }

        .modal-container-standard {
            font-family: var(--font-main);
            font-weight: var(--font-weight-regular, 400);
        }

        .modal-container-standard h2,
        .modal-container-standard h3 {
            font-weight: var(--font-weight-strong, 500) !important;
        }

        .modal-container-standard label {
            font-weight: var(--font-weight-strong, 500) !important;
            letter-spacing: 0 !important;
            text-transform: none !important;
        }

        .modal-container-standard .modal-field {
            display: grid;
            gap: 7px;
            min-width: 0;
        }

        .modal-container-standard .modal-field-label {
            display: block;
            margin: 0;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: var(--font-weight-regular, 400) !important;
            line-height: 1.25;
            letter-spacing: 0;
            text-transform: none;
        }

        .modal-container-standard .modal-field .input,
        .modal-container-standard .modal-field .select-saas,
        .modal-container-standard .modal-field .custom-select-trigger {
            font-size: 14px !important;
        }

        .modal-container-standard input,
        .modal-container-standard select,
        .modal-container-standard textarea,
        .modal-container-standard .custom-select-trigger {
            min-height: 47px;
            font-family: var(--font-main);
            font-weight: var(--font-weight-regular, 400) !important;
            line-height: 1.2;
            box-sizing: border-box;
        }

        .modal-container-standard .custom-select-trigger {
            padding: 14px;
        }


        /* Standardized SaaS Selects (Liquid Glass) - Corrigido para ser escuro como os botões */
        .filter-select, .select-saas {
            padding: 10px 16px;
            font-size: 14px;
            background: rgba(255, 255, 255, 0.12) !important; /* Mesma opacidade dos botões .btn-saas */
            backdrop-filter: blur(20px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
            color: #ffffff !important; /* Texto sempre branco no seletor */
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            border-radius: 12px;
            outline: none;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            font-family: var(--font-main);
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: right 12px center !important;
            background-size: 14px !important;
            padding-right: 40px;
            min-height: 44px;
            box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        }

        .filter-select:hover, .select-saas:hover {
            background-color: rgba(255, 255, 255, 0.18) !important;
            border-color: rgba(255, 255, 255, 0.3) !important;
            transform: translateY(-2px);
            box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), 0 8px 16px rgba(0, 0, 0, 0.3) !important;
        }

        .filter-select:focus, .select-saas:focus {
            border-color: rgba(255, 255, 255, 0.4) !important;
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
            outline: none !important;
        }

        /* Designer refinado para a lista que abre (Options) */
        /* Nota: Estilos abaixo só funcionam limitadamente em selects nativos. 
           Utilize as classes .custom-select para o design completo acima. */
        .filter-select option, .select-saas option {
            background-color: #ffffff !important;
            color: #1a1a1e !important;
            padding: 14px !important;
            font-size: 14px;
            font-weight: 600;
            border: none;
        }

        /* Nota: Estilizar o menu nativo do <select> é limitado pelos navegadores.
           Para um design 100% customizado (com bordas arredondadas na lista, hover animado, etc),
           seria necessário um componente dropdown customizado em JS. */

        /* --- Custom SaaS Dropdown System (Premium Design) --- */
        .custom-select-container {
            position: relative;
            width: 100%;
            min-width: 160px;
            z-index: 100;
        }

        .custom-select-container.open {
            z-index: 1000001;
        }

        .custom-select-trigger {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 16px;
            font-size: 14px;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s var(--ease-out-expo);
            min-height: 44px;
            box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
            user-select: none;
        }

        .custom-select-trigger:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: translateY(-1px);
        }

        .custom-select-trigger::after {
            content: '';
            width: 10px;
            height: 10px;
            border-right: 2px solid #fff;
            border-bottom: 2px solid #fff;
            transform: rotate(45deg) translateY(-2px);
            transition: all 0.3s var(--ease-out-expo);
            margin-left: 12px;
            margin-right: 4px;
        }

        .custom-select-container.open .custom-select-trigger::after {
            transform: rotate(-135deg) translateY(-2px);
        }

        .custom-select-options {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: #111217;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
            z-index: 1000002;
            overflow: hidden;
            display: none;
            opacity: 0;
            transform: translateY(-10px) scale(0.98);
            transition: all 0.25s var(--ease-out-expo);
            transform-origin: top;
        }

        .custom-select-options-portal {
            position: fixed;
            z-index: 2147483647;
        }

        .custom-select-container.open .custom-select-options,
        .custom-select-options.open {
            display: block;
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .custom-select-option {
            padding: 12px 18px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .custom-select-option:last-child {
            border-bottom: none;
        }

        .custom-select-option:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #ffffff;
            padding-left: 22px;
        }

        .custom-select-option.selected {
            background: rgba(255, 255, 255, 0.10);
            color: #ffffff;
        }



        /* --- End Custom Dropdown --- */

        /* Responsive Mobile Drawer */
        @media (max-width: 900px) {
            .dashboard-layout {
                grid-template-columns: 1fr;
            }

            .sidebar {
                display: none !important;
            }
        }

        /* --- SaaS Table & Status --- */
        .saas-table-container {
            background: var(--bg-card);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(0, 0, 0, 0.04);
            border-radius: var(--radius-lg);
            overflow: hidden;
            margin-top: 16px;
            box-shadow: var(--shadow-depth);
            position: relative;
            z-index: 1;
        }

        .saas-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }

        .saas-table th {
            text-align: left;
            padding: 12px 20px;
            background: transparent;
            color: var(--text-secondary);
            font-weight: 500;
            text-transform: none;
            font-size: 12px;
            letter-spacing: 0;
            border-bottom: 1px solid var(--border-light);
        }

        .saas-table td {
            padding: 14px 20px;
            border-bottom: 1px solid var(--border-light);
            vertical-align: middle;
            color: var(--text-primary);
            font-weight: 400;
        }

        .saas-table tr:last-child td {
            border-bottom: none;
        }

        .saas-table tr:hover td {
            background: rgba(255, 255, 255, 0.02);
        }

        /* iOS-style Table Checkboxes */
        .row-checkbox {
            width: 14px !important;
            height: 14px !important;
            min-width: 14px !important;
            min-height: 14px !important;
            max-width: 14px !important;
            max-height: 14px !important;
            border-radius: 3px;
            border: 1.2px solid var(--border-light);
            background: rgba(255, 255, 255, 0.05);
            appearance: none !important;
            -webkit-appearance: none !important;
            -moz-appearance: none !important;
            cursor: pointer;
            transition: all 0.2s var(--ease-out-expo);
            position: relative;
            vertical-align: middle;
            flex-shrink: 0;
            margin: 0;
            padding: 0 !important;
            box-sizing: border-box;
        }

        .row-checkbox:checked {
            background: var(--accent);
            border-color: var(--accent);
        }

        .row-checkbox:checked::after {
            content: '';
            position: absolute;
            top: 1px;
            left: 4px;
            width: 4px;
            height: 7.5px;
            border: solid #fff;
            border-width: 0 1.6px 1.6px 0;
            transform: rotate(45deg);
        }

        .row-checkbox:hover {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.08);
        }

        .saas-table tr.row-selected td {
            background: rgba(0, 122, 255, 0.04);
        }

        .cb-cell {
            width: 28px;
            padding-left: 14px !important;
            padding-right: 0 !important;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            text-transform: none;
            letter-spacing: 0.02em;
            white-space: nowrap;
            min-width: 75px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .badge-success {
            background: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #34d399;
        }

        .badge-warning {
            background: rgba(245, 158, 11, 0.15);
            border: 1px solid rgba(245, 158, 11, 0.3);
            color: #fbbf24;
        }

        .badge-danger {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #f87171;
        }

        .badge-info {
            background: rgba(59, 130, 246, 0.15);
            border: 1px solid rgba(59, 130, 246, 0.3);
            color: #60a5fa;
        }

        /* UI Scaling System */
        :root {
            --ui-scale: 1.0;
        }

        body {
            font-size: calc(14px * var(--ui-scale));
        }

        /* Scale specific adjustments */
        .dashboard-container {
            /* Ensure layout can expand */
            height: auto !important;
            min-height: 100vh;
        }

        .metric-strip,
        .card-stat-v2,
        .saas-table-container,
        .leaderboard,
        .event-feed {
            height: auto !important;
            min-height: fit-content;
        }

        .metric-value {
            font-size: calc(24px * var(--ui-scale)) !important;
        }

        .section-title {
            font-size: calc(20px * var(--ui-scale)) !important;
        }

        .badge {
            font-size: calc(13.5px * var(--ui-scale)) !important;
            padding: calc(4px * var(--ui-scale)) calc(10px * var(--ui-scale));
        }

        .nav-link {
            font-size: calc(17px * var(--ui-scale)) !important;
            padding: calc(9px * var(--ui-scale)) calc(12px * var(--ui-scale)) !important;
        }

        .nav-link svg {
            width: calc(22px * var(--ui-scale)) !important;
            height: calc(22px * var(--ui-scale)) !important;
            min-width: calc(22px * var(--ui-scale)) !important;
        }

        .metric-card-title {
            font-size: calc(14px * var(--ui-scale)) !important;
            font-weight: 500 !important;
        }

        .metric-card-subtitle {
            font-size: calc(13px * var(--ui-scale)) !important;
            font-weight: 500 !important;
        }

        .metric-card-value {
            font-size: calc(24px * var(--ui-scale)) !important;
            font-weight: 700 !important;
        }

        .saas-table th,
        .saas-table td {
            font-size: calc(13px * var(--ui-scale));
            padding: calc(14px * var(--ui-scale)) calc(20px * var(--ui-scale));
        }

        .btn-saas,
        .btn-saas-outline {
            font-size: calc(13px * var(--ui-scale)) !important;
            padding: calc(9px * var(--ui-scale)) calc(20px * var(--ui-scale)) !important;
        }

        .leaderboard-row span,
        .lb-rank {
            font-size: calc(14px * var(--ui-scale)) !important;
        }

        .event-action-name {
            font-size: calc(14px * var(--ui-scale)) !important;
        }

        .event-detail {
            font-size: calc(12px * var(--ui-scale)) !important;
        }

        /* Prevent overflow issues */
        .metric-grid,
        .saas-table {
            width: 100%;
            overflow-x: auto;
        }

        /* Modern Skeleton Loading */
        .skeleton {
            background: rgba(0, 0, 0, 0.05);
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite linear;
            border-radius: 4px;
        }

        @keyframes shimmer {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        /* Dark mode skeleton adjustment if needed */
        [data-theme="dark"] .skeleton {
            background: rgba(255, 255, 255, 0.05);
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
            background-size: 200% 100%;
        }

        /* SaaS Table & Status */

        /* ===== OVERVIEW / COMMAND CENTER CSS ===== */
        @keyframes pulse-dot {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.3;
            }
        }

        @keyframes ticker-scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        @keyframes count-up {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fade-in-row {
            from {
                opacity: 0;
                transform: translateX(-6px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .alert-ticker-wrap {
            background: rgba(245, 245, 247, 0.8);
            border: 1px solid rgba(234, 179, 8, 0.15);
            border-radius: 10px;
            padding: 10px 16px;
            margin-bottom: 28px;
            display: flex;
            align-items: center;
            gap: 12px;
            overflow: hidden;
        }

        .alert-ticker-label {
            font-size: 11px;
            font-weight: 700;

            letter-spacing: 0.1em;
            color: #eab308;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .alert-ticker-label::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #eab308;
            animation: pulse-dot 1.5s infinite;
        }

        .alert-ticker-scroll {
            flex: 1;
            overflow: hidden;
            position: relative;
        }

        .alert-ticker-items {
            display: flex;
            gap: 40px;
            animation: ticker-scroll 20s linear infinite;
            width: max-content;
        }

        .alert-ticker-item {
            font-size: 13px;
            color: rgba(0, 0, 0, 0.6);
            white-space: nowrap;
            cursor: pointer;
        }

        .alert-ticker-item:hover {
            color: #1a1a2e;
        }

        .alert-ticker-item span {
            color: #eab308;
            font-weight: 700;
        }

        .metric-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 28px;
        }

        .metric-strip {
            background: var(--bg-card);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(0, 0, 0, 0.04);
            border-radius: var(--radius-lg);
            padding: 20px 22px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s var(--ease-out-expo);
            animation: count-up 0.4s var(--ease-out-expo) both;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: var(--shadow-depth);
        }

        .bento-card {
            background: #ffffff;
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.3s var(--ease-out-expo);
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-card);
        }

        .metric-strip:hover {
            box-shadow: var(--shadow-depth-hover);
            transform: translateY(-2px);
        }

        .metric-strip::before {
            content: none;
        }

        .metric-strip.green::before,
        .metric-strip.indigo::before,
        .metric-strip.red::before,
        .metric-strip.amber::before {
            content: none;
        }

        .metric-label {
            font-size: 12px;
            font-weight: 400;
            text-transform: none;
            letter-spacing: -0.01em;
            color: var(--text-muted);
            margin-bottom: 6px;
            font-family: var(--font-main);
        }

        .metric-value {
            font-size: 26px;
            font-weight: 600;
            color: var(--text-primary);
            line-height: 1.1;
            margin-bottom: 4px;
            font-variant-numeric: tabular-nums;
            font-family: var(--font-main);
            letter-spacing: -0.02em;
        }

        .metric-card-subtitle {
            font-size: 11px;
            font-weight: 400;
            color: #9CA3AF;
            margin-top: 2px;
            display: block;
        }

        .metric-delta {
            font-size: 13px;
            font-weight: 400;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .metric-sparkline {
            display: flex;
            align-items: flex-end;
            gap: 3px;
            height: 28px;
        }

        .spark-bar {
            flex: 1;
            border-radius: 2px;
            min-height: 4px;
            opacity: 0.6;
            transition: opacity 0.2s;
        }

        .metric-strip:hover .spark-bar {
            opacity: 1;
        }

        .leaderboard {
            background: var(--bg-card);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(0, 0, 0, 0.04);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-depth);
        }

        .leaderboard-header {
            padding: 14px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .leaderboard-title {
            font-size: 13px;
            font-weight: 500;
            text-transform: none;
            letter-spacing: -0.01em;
            color: var(--text-primary);
        }

        .leaderboard-row {
            display: grid;
            grid-template-columns: 32px 1fr 80px 80px 100px;
            align-items: center;
            padding: 10px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
            font-size: 14px;
            font-weight: 400;
            animation: fade-in-row 0.3s var(--ease-out-expo) both;
            transition: background 0.2s;
        }

        .leaderboard-row:hover {
            background: rgba(255, 255, 255, 0.02);
        }

        .leaderboard-row:last-child {
            border-bottom: none;
        }

        .leaderboard-row.critical {
            background: transparent;
        }

        .leaderboard-row.blocked {
            background: transparent;
        }

        .leaderboard-row:last-child {
            border-bottom: none;
        }

        .lb-rank {
            font-size: 12px;
            font-weight: 700;
            color: #1a1a2e;
            font-family: monospace;
        }

        .lb-rank.gold {
            color: #eab308;
        }

        .lb-rank.silver {
            color: #94a3b8;
        }

        .lb-tier {
            font-size: 11px;
            font-weight: 500;
            padding: 3px 8px;
            border-radius: 5px;
            text-align: center;
        }

        .lb-tier.ouro {
            background: #eab308;
            color: #fff;
        }

        .lb-tier.prata {
            background: #94a3b8;
            color: #fff;
        }

        .lb-tier.bronze {
            background: #b46c3c;
            color: #fff;
        }

        .lb-tier.bloq {
            background: #FF3B30;
            color: #fff;
        }

        .lb-action {
            font-size: 12px;
            padding: 5px 10px;
            border-radius: 7px;
            cursor: pointer;
            border: 1px solid var(--glass-border);
            background: transparent;
            color: #fff;
            font-family: var(--font-main);
            font-weight: 700;
            transition: background 0.15s;
        }

        .lb-action:hover {
            background: rgba(99, 102, 241, 0.15);
            border-color: rgba(99, 102, 241, 0.4);
        }

        .event-feed {
            background: var(--bg-card);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(0, 0, 0, 0.04);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-depth);
        }

        .event-feed-header {
            padding: 18px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .event-item {
            padding: 12px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.03);
            display: flex;
            align-items: center;
            gap: 12px;
            transition: background 0.2s;
            animation: fade-in-row 0.3s ease both;
        }

        .event-item:hover {
            background: rgba(0, 122, 255, 0.02);
            cursor: pointer;
        }

        .event-item:last-child {
            border-bottom: none;
        }

        .event-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .event-dot.critical {
            background: #ef4444;
            box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
        }

        .event-dot.info {
            background: #22c55e;
        }

        .event-dot.warning {
            background: #eab308;
        }

        .event-time {
            font-size: 11px;
            color: var(--text-dim);
            font-family: monospace;
            white-space: nowrap;
            min-width: 80px;
        }

        .event-action-name {
            font-size: 13px;
            font-weight: 700;
            color: #1a1a2e;
        }

        .event-detail {
            font-size: 12px;
            color: var(--text-dim);
        }

        .status-bar {
            padding: 10px 18px;
            background: var(--bg-card);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(0, 0, 0, 0.04);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 20px;
            font-size: 12px;
            font-family: var(--font-main);
            font-weight: 400;
            color: var(--text-secondary);
            letter-spacing: -0.01em;
            text-transform: none;
            box-shadow: var(--shadow-depth);
        }

        .status-item {
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

        .status-item::before {
            content: '●';
            font-size: 10px;
            animation: pulse-dot 1.5s infinite;
            filter: drop-shadow(0 0 5px currentColor);
        }

        .status-item.green::before {
            color: #22c55e;
        }

        .status-item.amber::before {
            color: #eab308;
        }

        .status-item.blue::before {
            color: #6366f1;
            animation: none;
        }

        /* ===== FINANCE MODULE CSS ===== */

        .fin-tabs {
            display: flex;
            gap: 4px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 4px;
            margin-bottom: 32px;
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
        }

        .fin-tab {
            flex: 1;
            padding: 10px 16px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            color: var(--text-secondary);
            border: none;
            background: transparent;
            font-family: var(--font-main);
            transition: all 0.25s var(--ease-out-expo);
            letter-spacing: -0.01em;
        }

        .fin-tab.active {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            font-weight: 600;
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .fin-tab:hover:not(.active) {
            color: var(--text-primary);
            background: rgba(255, 255, 255, 0.03);
        }

        .chart-card {
            background: var(--bg-card);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(0, 0, 0, 0.04);
            border-radius: var(--radius-lg);
            padding: 20px 22px;
            position: relative;
            height: 100%;
            box-shadow: var(--shadow-depth);
            transition: all 0.3s var(--ease-out-expo);
        }

        /* Grid de KPIs do Financeiro para forçar altura igual */
        .finance-kpi-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 24px;
            height: 150px;
        }

        .chart-card-title {
            font-size: 13px;
            font-weight: 400;
            text-transform: none;
            letter-spacing: -0.01em;
            color: var(--text-muted);
            margin-bottom: 16px;
        }

        .kpi-value-lg {
            font-size: 26px;
            font-weight: 600;
            line-height: 1.1;
            margin-bottom: 4px;
            font-family: var(--font-main);
            color: var(--text-primary);
            letter-spacing: -0.02em;
        }

        .kpi-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            font-weight: 500;
            padding: 4px 12px;
            border-radius: 8px;
            margin-top: 6px;
        }

        .kpi-badge.up {
            background: #34C759;
            color: #fff;
        }

        .kpi-badge.down {
            background: #FF3B30;
            color: #fff;
        }

        .kpi-badge.neutral {
            background: var(--accent);
            color: #fff;
        }

        /* Kanban Board */
        .kanban-board {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-top: 8px;
            align-items: start;
        }

        /* Ajuste de Zoom 90% para o Financeiro */
        .finance-zoom {
            zoom: 0.9;
            transform-origin: top left;
        }

        .kanban-col {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 16px;
        }

        .kanban-col-title {
            font-size: 13px;
            font-weight: 800;

            letter-spacing: 0.08em;
            padding: 6px 12px;
            border-radius: 6px;
            margin-bottom: 14px;
            text-align: center;
        }

        .kanban-card {
            background: #141417;
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            padding: 12px;
            margin-bottom: 10px;
            transition: transform 0.2s;
        }

        .kanban-card:hover {
            transform: translateY(-2px);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .kanban-card-user {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .kanban-card-meta {
            font-size: 13px;
            color: var(--text-dim);
            margin-bottom: 10px;
        }

        .kanban-actions {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }

        .kanban-btn {
            padding: 8px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;

            letter-spacing: 0.05em;
            border: 1px solid var(--glass-border);
            cursor: pointer;
            background: transparent;
            color: var(--text-dim);
            font-family: var(--font-main);
            transition: all 0.2s;
            white-space: nowrap;
        }

        .kanban-btn:hover {
            color: #fff;
            border-color: #fff;
        }

        .kanban-btn.danger {
            border-color: rgba(239, 68, 68, 0.3);
            color: #ef4444;
        }

        .kanban-btn.danger:hover {
            background: rgba(239, 68, 68, 0.1);
        }

        .kanban-btn.success {
            border-color: rgba(34, 197, 94, 0.3);
            color: #22c55e;
        }

        .kanban-btn.success:hover {
            background: rgba(34, 197, 94, 0.1);
        }

        /* Credit Gauge */
        .gauge-wrap {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gauge-center {
            position: absolute;
            text-align: center;
            line-height: 1.3;
        }

        .gauge-center span {
            display: block;
        }

        /* Filter Bar */
        .filter-bar {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .filter-select {
            background: #ffffff;
            border: 1px solid var(--glass-border);
            color: #1a1a2e;
            padding: 12px 20px;
            border-radius: 8px;
            font-family: var(--font-main);
            font-size: 15px;
            cursor: pointer;
            outline: none;
        }

        .filter-select:focus {
            border-color: var(--accent);
            color: #1a1a2e;
        }

        select option {
            background-color: #ffffff !important;
            color: #1a1a2e !important;
        }

        .search-input-sm {
            flex: 1;
            min-width: 160px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-family: var(--font-main);
            font-size: 15px;
            font-weight: 500;
            outline: none;
            transition: all 0.2s var(--ease-out-expo);
        }

        .search-input-sm:focus {
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.08);
        }

        .search-input-sm::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        /* Premium Switch */
        .switch-premium {
            display: inline-block;
        }

        .switch-premium input {
            display: none;
        }

        .switch-premium label {
            height: 30px;
            width: 60px;
            background-color: #ffffff;
            border-radius: 15px;
            box-shadow: inset 0 0 2px 2px rgba(255, 255, 255, 1),
                inset 0 0 10px 1px rgba(0, 0, 0, 0.4), 5px 10px 15px rgba(0, 0, 0, 0.1),
                inset 0 0 0 2px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            cursor: pointer;
            position: relative;
            transition: transform 0.4s;
        }

        .switch-premium label:hover {
            transform: perspective(100px) rotateX(5deg) rotateY(-5deg);
        }

        .switch-premium input:checked~label:hover {
            transform: perspective(100px) rotateX(-5deg) rotateY(5deg);
        }

        .switch-premium label::before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            border-radius: 50%;
            background-color: #0a0a0c;
            background-image: linear-gradient(130deg, #757272 10%, #ffffff 11%, #726f6f 62%);
            left: 5px;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 5px 5px 5px rgba(0, 0, 0, 0.2);
            transition: 0.4s;
        }

        .switch-premium input:checked~label::before {
            left: 35px;
            background-color: #0a0a0c;
            background-image: linear-gradient(315deg, #0a0a0c 0%, #414141 70%);
        }

        .reseller-row {
            transition: background 0.2s;
        }

        .reseller-row:hover td {
            background: rgba(99, 102, 241, 0.02);
        }

        .reseller-history {
            display: none;
            padding: 0 24px 16px;
        }

        .reseller-history.open {
            display: block;
        }

        /* ===== END FINANCE CSS ===== */

        footer {
            background: #0a0a0c;
            padding: 48px 24px 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: #fff;
            position: relative;
            z-index: 20;
            font-family: var(--font-display);
        }

        .footer-content {
            width: 100%;
            padding: 0 40px;
            /* Mantém um respiro nas bordas */
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 48px;
        }

        .footer-brand h2 {
            font-family: var(--font-display);
            font-size: 24px;
            margin-bottom: 16px;
            color: #ffffff;
        }

        .footer-brand p {
            color: var(--text-dim);
            font-size: 16px;
            line-height: 1.6;
            max-width: 320px;
        }

        .footer-links h4 {
            font-family: var(--font-display);
            font-size: 16px;

            letter-spacing: 0.1em;
            margin-bottom: 24px;
            color: #fff;
        }

        .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #fff;
        }

        .footer-bottom {
            width: 100%;
            padding: 24px 40px 0;
            /* Alinhado com o padding do footer-content */
            margin: 40px auto 0;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-dim);
            font-size: 14px;
        }

        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }

            .footer-brand p {
                margin: 0 auto;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }

        @keyframes rotate-phone {
            0% {
                transform: rotate(0deg);
            }

            50% {
                transform: rotate(-90deg);
            }

            100% {
                transform: rotate(0deg);
            }
        }

        @keyframes pulse-icon {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
            }

            50% {
                box-shadow: 0 0 20px 10px rgba(99, 102, 241, 0);
            }
        }

        /* ---- Poster Grid for VOD/Series ---- */
        .poster-grid {
            display: grid !important;
            grid-template-columns: repeat(6, 1fr) !important;
            grid-auto-rows: min-content !important;
            gap: 32px 12px !important;
            padding: 16px 10px !important;
            align-content: start !important;
            align-items: start !important;
        }

        .poster-card {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
            aspect-ratio: 3/4;
            background: #111;
            border: 1px solid rgba(255, 255, 255, 0.06);
            isolation: isolate;
            max-width: 100%;
        }

        .poster-card:hover,
        .poster-card:focus-visible {
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(99, 102, 241, 0.6);
            border-color: rgba(99, 102, 241, 0.8);
            transform: scale(1.04);
            outline: none;
        }

        .poster-card.active {
            box-shadow: 0 0 0 2px rgba(45, 90, 85, 0.8), 0 8px 24px rgba(0, 0, 0, 0.6);
        }

        .poster-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .poster-img-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.15);
            font-size: 32px;
        }

        .poster-title-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 30px 8px 8px 8px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
            z-index: 1;
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .poster-card:hover .poster-title-overlay,
        .poster-card:focus .poster-title-overlay,
        .poster-card:focus-within .poster-title-overlay {
            opacity: 1;
        }

        .poster-title {
            font-size: 11px;
            font-weight: 600;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-family: var(--font-display);

            letter-spacing: 0.02em;
        }

        .poster-stars {
            position: absolute;
            top: 6px;
            left: 6px;
            display: flex;
            gap: 1px;
            z-index: 2;
            background: rgba(0, 0, 0, 0.5);
            padding: 2px 4px;
            border-radius: 4px;
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .poster-card:hover .poster-stars,
        .poster-card:focus .poster-stars,
        .poster-card:focus-within .poster-stars {
            opacity: 1;
        }

        .poster-stars svg {
            width: 10px;
            height: 10px;
        }

        .star-filled {
            color: #fbbf24;
        }

        .star-empty {
            color: rgba(255, 255, 255, 0.2);
        }

        .poster-grid .empty-state {
            grid-column: 1 / -1;
        }

        @media (max-width: 1400px) {
            .poster-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 24px 10px;
            }
        }

        @media (max-width: 1100px) {
            .poster-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 20px 8px;
            }
        }

        @media (max-width: 768px) {
            .poster-grid {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 8px 6px !important;
                padding: 12px;
            }
        }

        @media (max-width: 480px) {
            .poster-grid {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 8px 6px !important;
                padding: 8px;
            }
        }

        @media (min-width: 1800px) {
            .poster-grid {
                grid-template-columns: repeat(6, 1fr) !important;
                gap: 24px 14px;
            }

            .poster-title {
                font-size: 13px !important;
                /* Bigger titles on huge screens (TVs) */
            }

            #category-list .channel-name,
            #stream-grid .channel-name {
                font-size: 15px !important;
                /* Extremely legible list titles */
            }
        }

        .stream-list-v3 {
            padding: 0 12px 12px 12px;
        }

        .stream-item-v3 {
            padding: 14px 18px;
            margin-bottom: 6px;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.75);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.15s, color 0.15s;
        }

        .stream-item-v3:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
        }

        /* === Channel Screen Layout (Reference Design) === */
        .channel-screen-layout {
            display: grid;
            grid-template-columns: 0.75fr 1.25fr;
            gap: 24px;
            height: calc(100vh - 110px);
        }

        .channel-lists-container {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 16px;
            overflow: hidden;
        }

        .channel-list-scroll {
            display: flex;
            flex-direction: column;
            gap: 10px;
            overflow-y: auto;
            padding-right: 8px;
            max-height: calc(100vh - 110px);
        }

        .channel-list-scroll::-webkit-scrollbar {
            width: 4px;
        }

        .channel-list-scroll::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.02);
            border-radius: 4px;
        }

        .channel-list-scroll::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 4px;
        }

        .channel-item {
            padding: 10px 18px;
            border-radius: 10px;
            /* Ajustando border-radius proporcionalmente */
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.85);
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: var(--font-main);
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-align: center;
            min-height: 40px;
            box-sizing: border-box;
            position: relative;
            flex-shrink: 0;
            /* Garante que não esprema */
        }

        .channel-item .channel-name {
            flex: 1;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 8px;
        }

        /* Alinhamento à Esquerda para canais/streams individuais */
        #stream-grid .channel-item {
            justify-content: flex-start !important;
            gap: 12px !important;
        }

        #stream-grid .channel-item .channel-name {
            text-align: left !important;
            padding-left: 0 !important;
        }

        /* Alinhamento e espaçamento específicos para as categorias */
        .mobile-only-search {
            display: none;
        }

        @media (max-width: 800px) {
            .mobile-only-search {
                display: block !important;
            }
        }

        #category-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        #category-list .channel-item .channel-name {
            text-align: left;
            padding-left: 0;
        }

        #dynamic-category-items {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .channel-count {
            background: rgba(255, 255, 255, 0.12);
            padding: 3px 9px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 800;
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.3);
            margin-left: auto;
            min-width: 28px;
            text-align: center;
            letter-spacing: 0.5px;
        }

        .channel-item:hover,
        .channel-item:focus-visible {
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
            color: #fff;
            border-color: rgba(99, 102, 241, 0.5);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(99, 102, 241, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
            outline: none;
        }

        .channel-item:active {
            transform: translateY(1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 4px rgba(0, 0, 0, 0.4);
        }

        .channel-item.active {
            background: linear-gradient(145deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.1));
            border-color: rgba(99, 102, 241, 0.5);
            color: #fff;
            font-weight: 600;
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
        }

        .channel-item.active .channel-count {
            background: rgba(99, 102, 241, 0.3);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
        }



        .channel-preview-panel {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .preview-date {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            font-family: var(--font-main);
        }

        .preview-time {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            font-family: var(--font-main);
        }

        .preview-video-container {
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: #0a0a0c;
            position: relative;
        }

        .preview-video-container video,
        .preview-video-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .preview-channel-name {
            padding: 20px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .preview-channel-name h3 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            font-family: var(--font-main);
            margin: 0;
        }

        /* VOD/Series layout adjustments */
        .channel-preview-panel.hidden-vod {
            display: none !important;
        }

        .vod-layout .channel-screen-layout {
            grid-template-columns: 1fr !important;
            /* Expand completely to fill screen space now that preview is hidden */
        }

        .vod-layout .channel-lists-container {
            grid-template-columns: 280px 1fr !important;
            /* Fixed category side + Fluid dynamic movie grid */
            max-height: 100% !important;
            gap: 20px !important;
        }

        .channel-lists-container.is-vod-layout {
            grid-template-columns: 280px 1fr;
        }

        .poster-grid {
            display: grid !important;
            grid-template-columns: repeat(6, 1fr) !important;
            /* EXATAMENTE 6 por fila como solicitado */
            grid-auto-rows: min-content !important;
            /* Garante que cada linha tenha o tamanho do seu conteúdo */
            gap: 32px 12px !important;
            /* 32px vertical para dar espaço de respiro solicitado */
            padding: 16px 10px !important;
            overflow-y: auto !important;
            align-content: start !important;
            align-items: start !important;
            /* Evita o bug de stretch que achata os cards na horizontal */
        }

        /* Utility visibility classes */
        .mobile-only-btn {
            display: none !important;
        }

        .desktop-only-btn {
            display: flex !important;
        }

        @media (max-width: 768px) {
            .mobile-only-btn {
                display: flex !important;
            }

            .desktop-only-btn {
                display: none !important;
            }
        }

        @media (orientation: landscape) and (max-height: 850px) {
            .mobile-only-btn {
                display: flex !important;
            }

            .desktop-only-btn {
                display: none !important;
            }
        }

        /* Responsive - Tablet */
        @media (max-width: 1200px) {
            .channel-screen-layout {
                grid-template-columns: 1fr;
                height: auto;
            }

            .channel-lists-container {
                max-height: 50vh;
            }

            .preview-video-container {
                min-height: 200px;
            }
        }

        /* Responsive - Mobile */
        @media (max-width: 768px) {
            #player-header {
                padding: 12px 16px !important;
                margin-bottom: 12px !important;
                gap: 10px !important;
            }

            #player-main {
                padding: 0 16px 16px 16px !important;
            }

            #player-header .tab-group {
                gap: 16px !important;
            }

            #player-header .tab {
                font-size: 12px !important;
            }

            #player-header select,
            #player-header button {
                padding: 8px 12px !important;
                min-height: auto !important;
            }

            .channel-screen-layout {
                grid-template-columns: 1fr;
                gap: 12px;
                height: auto;
            }

            .channel-lists-container {
                grid-template-columns: 0.5fr 0.5fr !important;
                /* Deixa colunas iguais, reduzindo largura dos canais */
                max-height: 50vh;
                gap: 8px !important;
                max-width: 550px;
                /* Limita largura máxima nas duas colunas */
                width: 100%;
                margin: 0 auto;
                /* Centraliza */
            }

            .channel-list-scroll {
                max-height: 50vh;
            }

            .header-search-wrapper {
                display: none !important;
            }

            .channel-item {
                padding: 14px 16px;
                font-size: 14px;
            }

            .preview-header {
                padding: 12px 16px;
            }

            .preview-date,
            .preview-time {
                font-size: 16px;
            }

            .preview-video-container {
                min-height: 180px;
            }

            .preview-channel-name {
                padding: 16px;
            }

            .preview-channel-name h3 {
                font-size: 14px;
            }
        }

        /* Responsive - Small Mobile */
        @media (max-width: 480px) {
            .channel-lists-container {
                max-height: 35vh;
            }

            .channel-item {
                padding: 12px 14px;
                font-size: 13px;
            }

            .preview-video-container {
                min-height: 150px;
            }
        }

        @media (max-height: 540px) and (orientation: landscape) {
            .auth-section {
                padding: 20px 0 !important;
                min-height: 100vh;
                min-height: 100dvh;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .login-card {
                margin: 0 auto !important;
                padding: 24px 32px !important;
                max-width: 400px !important;
            }

            .login-card::before,
            .login-card::after {
                display: none;
            }

            .form-group {
                margin-bottom: 12px !important;
            }

            input {
                padding: 12px 16px !important;
            }

            .btn-primary {
                margin-top: 8px !important;
                padding: 12px 24px !important;
            }
        }

        /* Super Landscape / Short Screen Overrides for Category Screen */
        @media (max-height: 450px) and (orientation: landscape) {
            .ccs-wrapper {
                padding: 12px 24px !important;
            }

            .ccs-logo-row {
                top: 8px !important;
                left: 24px !important;
                gap: 10px !important;
            }

            .ccs-logo-row svg {
                width: 32px !important;
                height: 32px !important;
            }

            .ccs-logo-text {
                font-size: 20px !important;
            }

            .ccs-body {
                gap: 20px !important;
                margin-top: 24px !important;
            }

            .ccs-left {
                gap: 12px !important;
                padding-bottom: 16px !important;
            }

            .ccs-time {
                font-size: 32px !important;
            }

            .ccs-date {
                font-size: 12px !important;
            }

            .ccs-reload-btn {
                padding: 6px 16px !important;
                font-size: 11px !important;
                border-radius: 8px !important;
            }

            .ccs-right {
                gap: 8px !important;
                max-width: 260px !important;
            }

            .ccs-menu-btn {
                padding: 6px 12px !important;
                border-radius: 10px !important;
                font-size: 11px !important;
                gap: 8px !important;
            }

            .ccs-menu-icon {
                width: 26px !important;
                height: 26px !important;
            }

            .ccs-menu-icon svg {
                width: 14px !important;
                height: 14px !important;
            }
        }

        /* === ADAPTAÇÃO PARA MOBILE E PAISAGEM (LANDSCAPE) === */
        @media (orientation: landscape) and (max-height: 850px) {
            body {
                overflow: hidden !important;
                /* Impede scroll da página inteira */
            }

            #player {
                height: 100vh !important;
                overflow: hidden !important;
            }

            #player-wrapper {
                height: 100vh !important;
                width: 100% !important;
                max-width: 100% !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
            }

            #player-header {
                display: none !important;
            }

            #player-header .tab-group {
                gap: 12px !important;
            }

            .header-search-wrapper {
                display: none !important;
            }

            #player-header .tab {
                font-size: 11px !important;
            }

            #player-header select,
            #player-header input {
                padding: 6px 10px !important;
                font-size: 13px !important;
                min-width: auto !important;
            }

            #player-main {
                padding: 8px !important;
                flex-grow: 1 !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                height: auto !important;
                box-sizing: border-box !important;
            }

            .channel-screen-layout {
                display: grid !important;
                grid-template-columns: 1.2fr 0.8fr !important;
                flex-grow: 1 !important;
                height: auto !important;
                gap: 8px !important;
                overflow: hidden !important;
            }

            .vod-layout .channel-screen-layout {
                grid-template-columns: 1fr !important;
            }

            .channel-lists-container {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                /* Mesma largura para ambas as colunas */
                height: 100% !important;
                max-height: none !important;
                gap: 8px !important;
                overflow: hidden !important;
            }

            .channel-lists-container.is-vod-layout {
                grid-template-columns: 280px 1fr !important;
            }

            .channel-list-scroll,
            #category-list {
                height: 100% !important;
                max-height: 100% !important;
                overflow-y: auto !important;
                gap: 6px !important;
            }

            #dynamic-category-items {
                display: flex !important;
                flex-direction: column !important;
                gap: 6px !important;
            }

            #category-list {
                position: relative !important;
                top: 0 !important;
                padding-right: 4px !important;
                border-right: none !important;
            }

            .channel-item {
                padding: 6px 10px !important;
                min-height: 34px !important;
                font-size: 12px !important;
                border-radius: 6px !important;
            }

            .channel-item .channel-name {
                padding: 0 4px !important;
            }

            .channel-count {
                padding: 1px 5px !important;
                font-size: 9px !important;
                min-width: 20px !important;
                letter-spacing: 0px !important;
            }

            /* --- Garantir que o Player não estoure e caiba na altura fixa --- */
            .channel-preview-panel {
                display: flex !important;
                flex-direction: column !important;
                height: 100% !important;
                max-height: 100% !important;
                gap: 6px !important;
                overflow: hidden !important;
            }

            .preview-video-container {
                flex: 1 !important;
                /* Cresce para ocupar o espaço vertical central */
                height: auto !important;
                aspect-ratio: auto !important;
                /* Remove aspect-ratio forçado que empurra layout para baixo */
                min-height: 0 !important;
                display: flex !important;
                align-items: center !important;
                background: #0a0a0c !important;
            }

            .preview-video-container video,
            .preview-video-container img {
                object-fit: contain !important;
                /* Garante que caiba todo o vídeo dentro do espaço disponível */
                max-height: 100% !important;
            }

            .preview-header {
                padding: 6px 10px !important;
                flex-shrink: 0 !important;
                /* Não deixa o header espremer */
            }

            .preview-header span {
                font-size: 13px !important;
            }

            .preview-channel-name {
                padding: 8px 10px !important;
                flex-shrink: 0 !important;
            }

            .preview-channel-name h3 {
                font-size: 12px !important;
            }

            .mobile-only-search {
                display: block !important;
                /* Return search back to list */
            }

            .poster-grid {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 8px 6px !important;
                padding: 8px !important;
            }

            .vod-modal-content {
                width: 85% !important;
                height: 85vh !important;
                max-height: 85vh !important;
                border-radius: 16px !important;
            }

            .vod-modal-grid {
                grid-template-columns: 0.7fr 1.3fr !important;
                height: 100% !important;
                max-height: 85vh !important;
            }

            .vod-modal-poster-container {
                height: 100% !important;
            }

            .vod-modal-info {
                padding: 16px 20px !important;
                overflow-y: auto !important;
            }

            #vod-detail-cast-section {
                display: none !important;
            }

            #vod-detail-title {
                font-size: 20px !important;
                margin-bottom: 8px !important;
                padding-right: 32px !important;
            }

            .vod-modal-meta {
                margin-bottom: 16px !important;
            }

            .btn-play-primary {
                padding: 8px 16px !important;
                font-size: 12px !important;
            }

            /* Adaptacao do Modal de Minha Conta no Modo Paisagem */
            .modal-content {
                padding: 16px !important;
                border-radius: 16px !important;
                max-height: 92vh !important;
                overflow-y: auto !important;
                max-width: 500px !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 12px !important;
            }

            .modal-content h2 {
                font-size: 18px !important;
                margin-bottom: 4px !important;
            }

            .modal-content p {
                font-size: 11px !important;
            }

            /* Reduzir margens entre as sessoes do modal */
            .modal-content>div[style*="margin-bottom: 32px"] {
                margin-bottom: 8px !important;
            }

            .modal-content>div[style*="margin-bottom: 24px"] {
                margin-bottom: 8px !important;
                gap: 8px !important;
            }

            /* Encolher boxes de informacoes do usuario */
            .modal-content div[style*="padding: 20px"],
            .modal-content div[style*="padding: 20px 12px"] {
                padding: 8px 12px !important;
                border-radius: 10px !important;
                gap: 6px !important;
                margin-bottom: 0 !important;
            }

            /* Encolher os numeros de canais/filmes */
            .modal-content div[style*="font-size: 20px"] {
                font-size: 16px !important;
                margin-bottom: 2px !important;
            }

            .modal-content div[style*="font-size: 14px"] {
                font-size: 11px !important;
            }

            .modal-content .btn-primary {
                padding: 10px !important;
                margin-top: 4px !important;
            }
        }

        /* Bloco conflitante removido para unificar controle de layout via media query global de landscape */
        /* --- VOD Detail Modal (Premium UI) --- */
        .vod-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .vod-modal-overlay.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .vod-modal-content {
            width: 90%;
            max-width: 900px;
            background: #0d0d10;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 28px;
            position: relative;
            box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95), inset 0 1px 1px rgba(255, 255, 255, 0.05);
            transform: translateY(20px) scale(0.98);
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            overflow: hidden;
        }

        .vod-modal-overlay.visible .vod-modal-content {
            transform: translateY(0) scale(1);
        }

        .vod-modal-close {
            position: absolute;
            top: 24px;
            right: 24px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 20;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .vod-modal-close:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.05);
        }

        .vod-modal-grid {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 0;
            max-height: 80vh;
            overflow: hidden;
        }

        @media (max-width: 800px) {
            .vod-modal-content {
                width: 85%;
                max-height: 85vh;
                border-radius: 20px;
                display: flex;
                flex-direction: column;
            }

            .vod-modal-grid {
                grid-template-columns: 1fr;
                max-height: 85vh;
                overflow-y: auto;
                display: block;
            }

            .vod-modal-close {
                top: 16px;
                right: 16px;
                background: rgba(0, 0, 0, 0.5);
                backdrop-filter: blur(8px);
            }
        }

        .vod-modal-poster-container {
            width: 100%;
            height: 100%;
            min-height: 480px;
            background: #050505;
            position: relative;
            border-right: 1px solid rgba(255, 255, 255, 0.05);
        }

        @media (max-width: 800px) {
            .vod-modal-poster-container {
                height: 40vh;
                min-height: auto;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }
        }

        #vod-detail-poster,
        #vod-detail-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .vod-detail-poster-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.1);
        }

        .vod-detail-poster-placeholder svg {
            width: 48px;
            height: 48px;
        }

        .vod-modal-info {
            padding: 48px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            max-height: 80vh;
        }

        @media (max-width: 800px) {
            .vod-modal-info {
                padding: 32px 24px;
            }

            #vod-detail-cast-section {
                display: none !important;
            }
        }

        #vod-detail-title {
            font-family: var(--font-display, 'Syne', sans-serif);
            font-size: clamp(24px, 4vw, 36px);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.02em;
            color: #fff;
            margin-bottom: 16px;
            padding-right: 32px;
        }

        .vod-modal-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 32px;
            align-items: center;
        }

        .vod-detail-badge {
            padding: 6px 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.8);
            letter-spacing: 0.05em;

            font-family: var(--font-main);
        }

        .vod-detail-rating {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #f59e0b;
            font-weight: 700;
            font-size: 14px;
            font-family: var(--font-main);
        }

        .vod-detail-rating svg {
            width: 16px;
            height: 16px;
        }

        .vod-modal-actions {
            margin-bottom: 40px;
        }

        .btn-play-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(180deg, #818cf8 0%, var(--accent, #6366f1) 100%);
            color: #fff;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: var(--font-main, 'DM Sans', sans-serif);

            letter-spacing: 0.05em;
            box-shadow: 0 8px 16px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .btn-play-primary svg {
            width: 18px;
            height: 18px;
        }

        .btn-play-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .btn-play-primary:active {
            transform: translateY(0) scale(0.98);
        }

        .vod-modal-desc-block h3,
        .vod-modal-cast-block h3 {
            font-size: 13px;

            letter-spacing: 0.1em;
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 12px;
            font-weight: 700;
            font-family: var(--font-main, 'DM Sans', sans-serif);
        }

        #vod-detail-synopsis {
            font-size: 15px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 32px;
            max-width: 100%;
        }

        .vod-modal-cast-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .vod-detail-cast-tag {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.03);
            padding: 6px 14px;
            border-radius: 100px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* ----- PREMIUM LIQUID GLASS MODAL CLASSES ----- */
        .premium-modal-overlay {
            display: flex;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 100000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .premium-modal-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        .premium-modal-card {
            width: 90%;
            max-width: 540px;
            background: #ffffff;
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 40px;
            box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.15);
            transform: scale(0.95) translateY(10px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            box-sizing: border-box;
        }

        .premium-modal-overlay.active .premium-modal-card {
            transform: scale(1) translateY(0);
            opacity: 1;
        }

        .premium-input-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .premium-input-label {
            font-family: var(--font-main);
            font-size: 11px;
            font-weight: 700;

            letter-spacing: 0.08em;
            color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .premium-input-field {
            width: 100%;
            background: rgba(0, 0, 0, 0.02);
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: var(--radius-sm);
            padding: 12px 14px;
            font-family: var(--font-main);
            font-size: 14px;
            font-weight: 500;
            color: #0f0f13;
            outline: none;
            box-sizing: border-box;
            transition: all 0.25s var(--ease-out-expo);
        }

        .premium-input-field:hover {
            background: rgba(0, 0, 0, 0.03);
            border-color: rgba(0, 0, 0, 0.12);
        }

        .premium-input-field:focus {
            background: #ffffff;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .premium-input-field::placeholder {
            color: rgba(0, 0, 0, 0.25);
        }

        select.premium-input-field {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.5)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 40px;
            cursor: pointer;
        }

        .premium-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            outline: none;
        }

        .premium-modal-close:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.15);
            transform: scale(1.05);
        }

        .premium-modal-close:active {
            transform: scale(0.95);
        }

        @keyframes shimmer {
            0% {
                opacity: 0.4;
            }

            50% {
                opacity: 0.8;
            }

            100% {
                opacity: 0.4;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== PREMIUM POLISH ADDITIONS ===== */

        /* Focus-visible rings for keyboard navigation */
        *:focus-visible {
            outline: 2px solid rgba(99, 102, 241, 0.6) !important;
            outline-offset: 2px !important;
        }

        input:focus-visible,
        select:focus-visible,
        button:focus-visible {
            outline: 2px solid rgba(99, 102, 241, 0.6) !important;
            outline-offset: 2px !important;
        }

        /* Staggered entry animation for dashboard content */
        @keyframes staggerFadeUp {
            from {
                opacity: 0;
                transform: translateY(12px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .main-content > * {
            animation: staggerFadeUp 0.4s var(--ease-out-expo) both;
        }

        .main-content > *:nth-child(1) { animation-delay: 0.02s; }
        .main-content > *:nth-child(2) { animation-delay: 0.06s; }
        .main-content > *:nth-child(3) { animation-delay: 0.1s; }
        .main-content > *:nth-child(4) { animation-delay: 0.14s; }
        .main-content > *:nth-child(5) { animation-delay: 0.18s; }
        .main-content > *:nth-child(6) { animation-delay: 0.22s; }
        .main-content > *:nth-child(7) { animation-delay: 0.26s; }
        .main-content > *:nth-child(8) { animation-delay: 0.3s; }

        /* Login card subtle entrance */
        #login {
            animation: staggerFadeUp 0.6s var(--ease-out-expo) 0.1s both;
        }

        /* Category choice screen entrance */
        #category-choice-screen {
            animation: staggerFadeUp 0.5s var(--ease-out-expo) both;
        }

        /* Smooth scroll for the entire app */
        html {
            scroll-behavior: smooth;
        }

        /* Selection styling */
        ::selection {
            background: rgba(99, 102, 241, 0.3);
            color: #ffffff;
        }

        /* Improved scrollbar for the entire app */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.12);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Tab transitions for smoother feel */
        .tab {
            transition: all 0.3s var(--ease-out-expo);
        }

        /* Stream card entrance animation */
        .stream-card {
            animation: staggerFadeUp 0.35s var(--ease-out-expo) both;
        }

        /* Subtle hover glow on interactive elements */
        .stream-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            opacity: 0;
            transition: opacity 0.4s var(--ease-out-expo);
            box-shadow: 0 0 30px rgba(99, 102, 241, 0.15), inset 0 0 0 1px rgba(99, 102, 241, 0.2);
            pointer-events: none;
        }

        .stream-card:hover::after {
            opacity: 1;
        }

        /* Close player button hover — refined */
        #close-player:hover {
            background: rgba(239, 68, 68, 0.15) !important;
            border-color: rgba(239, 68, 68, 0.3) !important;
            color: #f87171 !important;
            transform: rotate(90deg) scale(1.05);
        }

        #close-player:active {
            transform: rotate(90deg) scale(0.95);
        }

        /* Prevent text selection on interactive UI elements */
        .nav-link,
        .ccs-menu-btn,
        .tab,
        .category-item {
            -webkit-user-select: none;
            user-select: none;
        }

        /* Sidebar nav-link pulse indicator for active state */
        .nav-link.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 20px;
            background: #818cf8;
            border-radius: 0 3px 3px 0;
        }

        .nav-link {
            position: relative;
        }

        /* Admin typography calibration: lighter Geist weights, still readable */
        :root {
            --font-weight-regular: 400;
            --font-weight-medium: 450;
            --font-weight-strong: 500;
            --font-weight-emphasis: 550;
        }

        .dashboard-container {
            font-weight: var(--font-weight-regular);
            font-synthesis-weight: none;
        }

        .dashboard-container .nav-link {
            font-weight: var(--font-weight-regular) !important;
        }

        .dashboard-container .nav-link.active {
            font-weight: var(--font-weight-regular) !important;
        }

        .dashboard-container .nav-menu .nav-link span {
            font-weight: var(--font-weight-regular) !important;
        }

        .dashboard-container .sidebar-logo {
            font-weight: var(--font-weight-strong) !important;
        }

        .dashboard-container .section-title,
        .dashboard-container h1 {
            font-weight: var(--font-weight-strong) !important;
            letter-spacing: -0.01em;
        }

        .dashboard-container h2,
        .dashboard-container h3,
        .dashboard-container .metric-card-title,
        .dashboard-container .chart-title,
        .dashboard-container .kanban-column-title {
            font-weight: var(--font-weight-strong) !important;
        }

        .dashboard-container p,
        .dashboard-container label,
        .dashboard-container input,
        .dashboard-container select,
        .dashboard-container textarea,
        .dashboard-container .metric-card-subtitle,
        .dashboard-container .metric-label,
        .dashboard-container .event-detail,
        .dashboard-container .kanban-card-meta {
            font-weight: var(--font-weight-regular) !important;
        }

        .dashboard-container button,
        .dashboard-container .btn-saas,
        .dashboard-container .btn-saas-outline,
        .dashboard-container .filter-select,
        .dashboard-container .select-saas,
        .dashboard-container .fin-tab {
            font-weight: var(--font-weight-strong) !important;
        }

        .dashboard-container .saas-table th {
            font-weight: var(--font-weight-strong) !important;
        }

        .dashboard-container .saas-table td {
            font-weight: var(--font-weight-regular) !important;
        }

        .dashboard-container .metric-card-value,
        .dashboard-container .metric-value,
        .dashboard-container .kpi-value-lg,
        .dashboard-container strong {
            font-weight: var(--font-weight-emphasis) !important;
        }

        .dashboard-container .badge,
        .dashboard-container .metric-card-badge,
        .dashboard-container .kpi-badge,
        .dashboard-container [class*="badge"],
        .dashboard-container [style*="font-weight: 700"],
        .dashboard-container [style*="font-weight:700"],
        .dashboard-container [style*="font-weight: 800"],
        .dashboard-container [style*="font-weight:800"],
        .dashboard-container [style*="font-weight: 600"],
        .dashboard-container [style*="font-weight:600"],
        .dashboard-container [style*="font-weight: bold"] {
            font-weight: var(--font-weight-strong) !important;
        }

        .dashboard-container .metric-card-value,
        .dashboard-container .metric-value,
        .dashboard-container .kpi-value-lg,
        .dashboard-container .section-title {
            font-weight: var(--font-weight-strong) !important;
        }
