        /* --- CORE STYLES & SKEUOMORPHISM --- */
        :root {
            --taskbar-height: 45px;
            --title-bar-height: 28px;
            --gloss-light: rgba(255,255,255,0.9);
            --gloss-mid: rgba(255,255,255,0.45);
            --gloss-dark: rgba(255,255,255,0.15);
            --inner-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(0,0,0,0.15);
            --outer-shadow: 0 6px 15px rgba(0,0,0,0.45);
        }

        body {
            overflow: hidden;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            user-select: none;
            -webkit-user-select: none;
        }

        /* Wallpapers */
        .bg-default {
            position: relative;
            overflow: hidden;
            background: linear-gradient( 135deg, #0b0014 0%, #2e003e 30%, #001540 60%, #003366 80%, #00aaff 100% );
        }

            /* Camada de Bokeh */
            .bg-default::before {
                content: "";
                position: absolute;
                inset: 0;
                pointer-events: none;
                background: radial-gradient(circle at 15% 25%, rgba(255,255,255,0.25) 0%, transparent 40%), radial-gradient(circle at 75% 20%, rgba(0,200,255,0.35) 0%, transparent 45%), radial-gradient(circle at 60% 70%, rgba(255,255,255,0.2) 0%, transparent 40%), radial-gradient(circle at 30% 80%, rgba(0,170,255,0.3) 0%, transparent 50%), radial-gradient(circle at 85% 60%, rgba(255,255,255,0.15) 0%, transparent 45%);
                filter: blur(40px);
                opacity: 0.9;
            }

            /* Camada extra de glow profundo */
            .bg-default::after {
                content: "";
                position: absolute;
                inset: 0;
                pointer-events: none;
                background: radial-gradient(circle at 50% 50%, rgba(0,180,255,0.15), transparent 60%);
                filter: blur(80px);
            }

        .bg-vista {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            background:
            /* ── CLOUDS ──────────────────────────────────────────────────── */
            /* right cluster — large billowing mass */
            radial-gradient(ellipse 220px 130px at 82% 28%, rgba(255,255,255,1.00), rgba(255,255,255,0.65) 45%, transparent 68%), radial-gradient(ellipse 170px 100px at 74% 34%, rgba(255,255,255,0.95), rgba(255,255,255,0.55) 45%, transparent 68%), radial-gradient(ellipse 140px 80px at 90% 36%, rgba(255,255,255,0.88), rgba(255,255,255,0.45) 48%, transparent 70%), radial-gradient(ellipse 130px 65px at 78% 38%, rgba(255,255,255,0.80), rgba(255,255,255,0.35) 50%, transparent 70%),
            /* center cloud band */
            radial-gradient(ellipse 180px 90px at 56% 32%, rgba(255,255,255,0.85), rgba(255,255,255,0.40) 50%, transparent 72%), radial-gradient(ellipse 120px 65px at 48% 37%, rgba(255,255,255,0.75), rgba(255,255,255,0.30) 55%, transparent 72%),
            /* upper-left wispy streaks */
            radial-gradient(ellipse 260px 50px at 28% 14%, rgba(255,255,255,0.65), rgba(255,255,255,0.20) 55%, transparent 75%), radial-gradient(ellipse 180px 40px at 18% 20%, rgba(255,255,255,0.55), rgba(255,255,255,0.15) 55%, transparent 75%), radial-gradient(ellipse 140px 45px at 38% 22%, rgba(255,255,255,0.55), rgba(255,255,255,0.15) 55%, transparent 75%),
            /* small puffs scattered left-center */
            radial-gradient(ellipse 90px 55px at 14% 32%, rgba(255,255,255,0.70), rgba(255,255,255,0.25) 50%, transparent 70%), radial-gradient(ellipse 80px 48px at 22% 38%, rgba(255,255,255,0.60), rgba(255,255,255,0.20) 55%, transparent 72%),
            /* ── HILL CURVE ───────────────────────────────────────────────
           Massive ellipse centred BELOW the viewport so only its
           curved top arc is visible — this is what creates the
           smooth, organic Bliss hill silhouette.               */
            radial-gradient(ellipse 130% 85% at 46% 118%, #4fa518 0%, #5cb820 12%, #68c828 22%, #72cc30 30%, #7ad435 36%, /* sunlit crest highlight */
            #62bc22 45%, #4ea010 58%, #3d8a08 72%, #2e7000 88%, transparent 100% ),
            /* ── HILL SURFACE SHEEN (subtle top-light) ────────────────── */
            radial-gradient(ellipse 55% 18% at 44% 56%, rgba(140, 230, 60, 0.30), transparent 60%),
            /* ── SKY ──────────────────────────────────────────────────────
           Matches the Bliss sky: deep saturated cobalt at top,
           graduating to a pale powder-blue at the horizon.    */
            linear-gradient(to bottom, #1856b4 0%, /* deep cobalt zenith */
            #2264c8 8%, #3278d8 18%, #4a90e2 28%, /* mid blue */
            #62a8ee 36%, #7dc0f8 43%, /* horizon pale blue */
            #90cefa 48%, /* sky meets grass */
            #90cefa 100% /* fill — hidden under hill */
            );
            background-repeat: no-repeat;
            background-size: cover;
        }

            /* ── ATMOSPHERIC DEPTH PASS ─────────────────────────────────────────────── */
            .bg-vista::before {
                content: "";
                position: absolute;
                inset: 0;
                pointer-events: none;
                background:
                /* global sky haze / light bloom */
                radial-gradient(ellipse 80% 55% at 48% 38%, rgba(255, 255, 255, 0.14), transparent 65%),
                /* grass foreground darkening (vignette bottom) */
                linear-gradient(to top, rgba(0, 50, 0, 0.28) 0%, transparent 30% );
            }

            /* ── CLOUD SOFT-LIGHT OVERLAY ───────────────────────────────────────────── */
            .bg-vista::after {
                content: "";
                position: absolute;
                inset: 0;
                pointer-events: none;
                background:
                /* reinforce right cloud brightness */
                radial-gradient(ellipse 280px 160px at 80% 28%, rgba(255,255,255,0.22), transparent 60%),
                /* subtle lens haze at top-center */
                radial-gradient(ellipse 50% 30% at 50% 5%, rgba(180,210,255,0.12), transparent 70%);
                opacity: 0.85;
            }

        .wallpaper-thumb.bg-vista {
            position: relative;
            overflow: hidden;
            background:
            /* Morro curvado (mini versão) */
            radial-gradient( ellipse 140% 90% at 50% 115%, #68c828 0%, #5cb820 25%, #4ea010 45%, #2e7000 75%, transparent 100% ),
            /* Céu real do Vista */
            linear-gradient( to bottom, #1856b4 0%, #3278d8 35%, #62a8ee 55%, #90cefa 70% );
        }

        .bg-dark {
            background:
            /* Efeito Bokeh (Círculos de luz desfocados) */
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 15%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%), radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.04) 0%, transparent 12%), radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.02) 0%, transparent 18%),
            /* Linhas curvas vetoriais nítidas e tecnológicas */
            radial-gradient(ellipse 150% 60% at 50% 100%, transparent 45%, rgba(255, 255, 255, 0.08) 45.1%, transparent 45.5%), radial-gradient(ellipse 120% 80% at 50% 110%, transparent 50%, rgba(255, 255, 255, 0.05) 50.1%, transparent 50.8%),
            /* Curva vetorial principal de alto contraste */
            radial-gradient(ellipse 180% 100% at 0% 110%, transparent 40%, rgba(0, 0, 0, 0.6) 40.2%, rgba(20, 20, 20, 0.8) 60%, transparent 60.5%),
            /* Gradiente base escuro profundo */
            linear-gradient( 160deg, #2a2a2a 0%, #121212 50%, #000000 100% );
        }

        /* ─── Thumbnail Dark Tech (High Contrast) ─── */
        .wallpaper-thumb.bg-dark {
            position: relative;
            overflow: hidden;
            background:
            /* Bokeh mais visível */
            radial-gradient( circle at 25% 30%, rgba(255,255,255,0.12) 0%, transparent 30% ), radial-gradient( circle at 75% 25%, rgba(255,255,255,0.10) 0%, transparent 35% ),
            /* Linha vetorial mais grossa */
            radial-gradient( ellipse 170% 80% at 50% 115%, transparent 46%, rgba(255,255,255,0.15) 48%, transparent 50% ),
            /* Curva escura bem marcada */
            radial-gradient( ellipse 200% 110% at -15% 120%, transparent 35%, rgba(0,0,0,0.9) 50%, transparent 70% ),
            /* Base mais contrastada */
            linear-gradient( 160deg, #3a3a3a 0%, #141414 50%, #000000 100% );
        }

        .bg-ubuntu {
            background-color: #635134;
            background-image:
            /* Linhas vetoriais de brilho (Swooshes finos e dinâmicos) */
            radial-gradient(ellipse 150% 150% at 0% 0%, transparent 48%, rgba(255, 210, 160, 0.3) 48.2%, transparent 49.5%), radial-gradient(ellipse 180% 120% at 100% 100%, transparent 52%, rgba(255, 190, 120, 0.2) 52.2%, transparent 53.5%),
            /* Formas vetoriais curvas principais (Sólidas e muito aparentes) */
            radial-gradient(ellipse 140% 160% at 100% -10%, transparent 45%, #9b7a48 45.2%, #9b7a48 65%, transparent 65.2%), radial-gradient(ellipse 150% 140% at -10% 110%, transparent 40%, #765932 40.2%, #765932 60%, transparent 60.2%), radial-gradient(ellipse 110% 150% at 30% 120%, transparent 50%, rgba(138, 102, 58, 0.9) 50.2%, rgba(138, 102, 58, 0.9) 75%, transparent 75.2%),
            /* Curvas secundárias de interseção (Trazem profundidade e sombras vetoriais) */
            radial-gradient(circle at 110% 60%, transparent 55%, rgba(60, 40, 20, 0.5) 55.2%, rgba(60, 40, 20, 0.5) 75%, transparent 75.2%), radial-gradient(circle at -10% 40%, transparent 50%, rgba(185, 145, 95, 0.35) 50.2%, rgba(185, 145, 95, 0.35) 70%, transparent 70.2%),
            /* Focos de luz e sombra suaves ao fundo */
            radial-gradient(circle at 75% 25%, rgba(190, 145, 90, 0.5) 0%, transparent 60%), radial-gradient(circle at 25% 75%, rgba(40, 25, 15, 0.8) 0%, transparent 70%),
            /* Base rica e linear inspirada na paleta clássica */
            linear-gradient(135deg, #a48252 0%, #635134 50%, #3e2b18 100%);
        }

        /* ─── Thumbnail Ubuntu ─── */
        .wallpaper-thumb.bg-ubuntu {
            position: relative;
            overflow: hidden;
            background:
            /* Curva principal clara */
            radial-gradient( ellipse 160% 120% at 110% -20%, transparent 45%, #9b7a48 46%, #9b7a48 70%, transparent 71% ),
            /* Curva escura inferior */
            radial-gradient( ellipse 150% 120% at -20% 120%, transparent 40%, #765932 41%, #765932 65%, transparent 66% ),
            /* Sombra profunda lateral */
            radial-gradient( circle at 120% 60%, rgba(60,40,20,0.5) 0%, transparent 60% ),
            /* Luz quente superior */
            radial-gradient( circle at 70% 25%, rgba(255,190,120,0.4) 0%, transparent 60% ),
            /* Base clássica Ubuntu */
            linear-gradient( 135deg, #a48252 0%, #635134 50%, #3e2b18 100% );
        }

        /* Wallpaper Binbows7 – Aero Refinado */
        .bg-binbows7 {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            background:
            /* foco de luz inferior-esquerda — assinatura do Win7 */
            radial-gradient(ellipse 60% 55% at 16% 90%, rgba(100, 185, 255, 0.60), transparent 58%),
            /* claridade difusa no centro */
            radial-gradient(ellipse 38% 38% at 50% 47%, rgba(175, 220, 255, 0.20), transparent 68%),
            /* toque de reflexo superior-direito */
            radial-gradient(ellipse 30% 25% at 82% 12%, rgba(130, 200, 255, 0.14), transparent 65%),
            /* gradiente base profundo */
            linear-gradient( 168deg, #092f70 0%, #0c58b8 28%, #1a8aea 50%, #0d5ebc 70%, #061f50 100% );
            background-repeat: no-repeat;
            background-size: cover;
            animation: aeroBackground 90s ease-in-out infinite;
        }

            /* ─── Camada 1: vidro superior + arcos swoosh vetoriais ─── */
            .bg-binbows7::before {
                content: "";
                position: absolute;
                inset: 0;
                pointer-events: none;
                background:
                /* reflexo de vidro no topo */
                linear-gradient( to bottom, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.07) 16%, transparent 42% ),
                /* arco principal — longo e elegante */
                radial-gradient(ellipse 160% 7% at -18% 92%, rgba(255, 255, 255, 0.24), transparent 52%),
                /* arco secundário */
                radial-gradient(ellipse 120% 4.5% at -8% 76%, rgba(210, 238, 255, 0.16), transparent 52%),
                /* arco terciário fino */
                radial-gradient(ellipse 90% 2.5% at 2% 63%, rgba(255, 255, 255, 0.10), transparent 55%),
                /* linha verde-lima sutil (detalhe do Win7 original) */
                radial-gradient(ellipse 110% 1.8% at -5% 82%, rgba(140, 210, 60, 0.18), transparent 55%);
            }

            /* ─── Camada 2: Esfera central dividida em 4 cores Windows ─── */
            .bg-binbows7::after {
                content: "";
                position: absolute;
                left: 50%;
                top: 50%;
                /* leve rotação anti-horária + skew para dar perspectiva, como no logo Win */
                transform: translate(-50%, -50%) rotate(-14deg) skewY(-3deg);
                width: 180px;
                height: 180px;
                border-radius: 50%;
                pointer-events: none;
                background:
                /* brilho especular esférico — ponto de luz no 1/3 superior-esquerdo */
                radial-gradient(ellipse 52% 42% at 30% 26%, rgba(255, 255, 255, 0.72), transparent 52%),
                /* reflexo difuso inferior */
                radial-gradient(ellipse 38% 28% at 68% 80%, rgba(255, 255, 255, 0.12), transparent 55%),
                /* 4 quadrantes com as cores Windows — conic-gradient, horário a partir da direita */
                /* 0–90° = quadrante baixo-direito  → amarelo   */
                /* 90–180° = quadrante baixo-esq.   → azul      */
                /* 180–270° = quadrante topo-esq.   → laranja   */
                /* 270–360° = quadrante topo-dir.   → verde     */
                conic-gradient( from 0deg at 50% 50%, #f5bf00 0deg 90deg, #00a3e0 90deg 180deg, #d95b20 180deg 270deg, #6db320 270deg 360deg );
                box-shadow: 0 0 30px 4px rgba( 80, 160, 255, 0.55), 0 0 70px 12px rgba( 50, 120, 255, 0.28), inset 0 4px 14px rgba(255, 255, 255, 0.18), inset 0 -8px 20px rgba( 0, 0, 0, 0.28);
                animation: aeroGlow 7s ease-in-out infinite;
            }

        /* ─── Keyframes ─── */
        @keyframes aeroBackground {
            0%, 100% {
                background-position: center center;
            }

            50% {
                background-position: 51.5% 48.5%;
            }
        }

        @keyframes aeroGlow {
            0%, 100% {
                box-shadow: 0 0 30px 4px rgba( 80, 160, 255, 0.55), 0 0 70px 12px rgba( 50, 120, 255, 0.28), inset 0 4px 14px rgba(255, 255, 255, 0.18), inset 0 -8px 20px rgba( 0, 0, 0, 0.28);
            }

            50% {
                box-shadow: 0 0 45px 6px rgba( 80, 170, 255, 0.75), 0 0 100px 18px rgba( 50, 130, 255, 0.42), inset 0 4px 14px rgba(255, 255, 255, 0.22), inset 0 -8px 20px rgba( 0, 0, 0, 0.28);
            }
        }

        /* ─── Thumbnail (miniatura no seletor de wallpaper) ─── */
        .wallpaper-thumb.bg-binbows7 {
            background: linear-gradient( to bottom, #0c3d8a 0%, #1a7ee0 45%, #0b4fa0 100% );
        }

        /* ===== LOADING SCREEN ===== */
        #loadingScreen {
            position: fixed;
            inset: 0;
            z-index: 99999;
            background: linear-gradient( to bottom, #0a2f6b 0%, #0b4fa3 20%, #1a7de0 40%, #3aa0ff 55%, #1f7ad6 70%, #0c4da0 85%, #072b5f 100% );
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 28px;
            transition: opacity 0.8s ease;
        }

        .loading-logo-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            animation: logo-intro 1s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        @keyframes logo-intro {
            0% {
                opacity: 0;
                transform: scale(0.4) translateY(60px) rotateX(20deg);
                filter: blur(20px) brightness(2);
            }

            30% {
                opacity: 0.8;
                filter: blur(5px) brightness(1.5);
            }

            60% {
                transform: scale(1.08) translateY(-10px) rotateX(0deg);
                filter: blur(0px) brightness(1.2);
            }

            80% {
                transform: scale(0.97) translateY(2px);
            }

            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
                filter: blur(0px) brightness(1);
            }
        }

        /* Orb removido — logo direto, maior */
        .loading-orb {
            display: contents; /* desativa o orb como container visual */
        }

            .loading-orb img {
                width: 110px !important;
                height: 110px !important;
                position: static !important;
                top: unset !important;
                left: unset !important;
                transform: none !important;
                z-index: unset !important;
                filter: drop-shadow(0 0 24px rgba(90, 176, 255, 0.85)) drop-shadow(0 0 60px rgba(40, 120, 255, 0.5)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55)) !important;
                animation: logo-glow 2.5s ease-in-out infinite;
            }

        @keyframes logo-glow {
            0%, 100% {
                filter: drop-shadow(0 0 18px rgba(90, 176, 255, 0.75)) drop-shadow(0 0 50px rgba(40, 120, 255, 0.4)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
            }

            50% {
                filter: drop-shadow(0 0 32px rgba(100, 195, 255, 1)) drop-shadow(0 0 90px rgba(60, 150, 255, 0.7)) drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
            }
        }

        @font-face {
            font-family: 'Shaq Lounge';
            src: url('fonts/shag.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        .loading-title {
            font-size: 28px;
            font-weight: 300;
            color: #ffffff;
            letter-spacing: 2px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.5);
            font-family: 'Segoe UI', Tahoma, sans-serif;
        }

            .loading-title span {
                font-family: 'Shaq Lounge', sans-serif;
                font-weight: normal;
            }

        /* Barra de progresso glossy */
        .loading-bar-track {
            width: 260px;
            height: 14px;
            border-radius: 14px;
            background: rgba(0,0,0,0.35);
            border: 1px solid rgba(255,255,255,0.25);
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.15);
            overflow: hidden;
            position: relative;
        }

        .loading-bar-fill {
            height: 100%;
            width: 0%;
            border-radius: 14px;
            background: linear-gradient( to bottom, #a8d8ff 0%, #5ab0ff 40%, #1a72e8 100% );
            box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), 0 0 10px rgba(90,176,255,0.6);
            transition: width 0.12s linear;
            position: relative;
        }

            .loading-bar-fill::after {
                content: "";
                position: absolute;
                top: 1px;
                left: 2px;
                right: 2px;
                height: 45%;
                border-radius: 10px;
                background: linear-gradient( to bottom, rgba(255,255,255,0.75), rgba(255,255,255,0) );
                pointer-events: none;
            }

        .loading-copy {
            font-size: 11px;
            color: rgba(255,255,255,0.45);
            letter-spacing: 1px;
            font-family: 'Segoe UI', Tahoma, sans-serif;
        }

        /* Glossy Window Style */
        .window {
            position: absolute;
            background: linear-gradient( to bottom, #ffffff 0%, #f5f5f5 45%, #e0e0e0 55%, #d6d6d6 100% );
            border-radius: 10px 10px 6px 6px;
            border: 1px solid #8c8c8c;
            box-shadow: var(--outer-shadow), inset 0 1px 0 rgba(255,255,255,0.8), inset 0 -2px 3px rgba(0,0,0,0.15);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            min-width: 220px;
            min-height: 160px;
        }

        .title-bar {
            height: var(--title-bar-height);
            position: relative;
            background: linear-gradient( to bottom, #4fa3ff 0%, #2f7eea 45%, #1e63c7 55%, #174a9b 100% );
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 8px;
            font-weight: bold;
            text-shadow: 0 1px 1px rgba(0,0,0,0.6);
            border-bottom: 1px solid #0c2f66;
            border-radius: 9px 9px 0 0;
            box-shadow: var(--inner-shadow);
        }

            .title-bar::before {
                content: "";
                position: absolute;
                top: 2px;
                left: 3px;
                right: 3px;
                height: 45%;
                border-radius: 6px;
                background: linear-gradient( to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 25%, rgba(255,255,255,0) 100% );
                pointer-events: none;
            }

        .window-controls {
            display: flex;
            gap: 4px;
        }

        .win-btn {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            position: relative;
            border: 1px solid rgba(0,0,0,0.35);
            /* Camadas glossy */
            background-blend-mode: overlay;
            box-shadow: inset 0 2px 4px rgba(255,255,255,0.95), inset 0 -3px 6px rgba(0,0,0,0.45), 0 2px 4px rgba(0,0,0,0.5);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            transition: all 0.25s ease;
        }

            /* Reflexo superior forte */
            .win-btn::after {
                content: "";
                position: absolute;
                top: 8%;
                left: 15%;
                width: 70%;
                height: 45%;
                border-radius: 50%;
                background: linear-gradient( to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.25) );
                pointer-events: none;
            }

            /* Reflexo interno radial */
            .win-btn::before {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: 50%;
                background: radial-gradient( circle at 30% 30%, rgba(255,255,255,0.6), transparent 60% );
                pointer-events: none;
            }

            .win-btn:hover {
                transform: translateY(-1px) scale(1.05);
                box-shadow: inset 0 2px 6px rgba(255,255,255,1), inset 0 -3px 8px rgba(0,0,0,0.5), 0 4px 6px rgba(0,0,0,0.6);
            }

            .win-btn:active {
                transform: translateY(1px) scale(0.95);
                box-shadow: inset 0 4px 8px rgba(0,0,0,0.6), inset 0 -2px 3px rgba(255,255,255,0.6);
            }

        .btn-min {
            background: radial-gradient(circle at 30% 30%, #fffbd6, transparent 60%), linear-gradient(to bottom, #ffe066, #c79a00);
        }

        .btn-max {
            background: radial-gradient(circle at 30% 30%, #d6ffd6, transparent 60%), linear-gradient(to bottom, #5cd65c, #1f6f45);
        }

        .btn-close {
            background: radial-gradient(circle at 30% 30%, #ffd6d6, transparent 60%), linear-gradient(to bottom, #ff5c5c, #7a0000);
        }

        .window-content {
            flex: 1;
            background: white;
            overflow: auto;
            position: relative;
            border: 2px solid #0368d3;
            border-top: none;
        }

        /* Desktop Icons */
        .icon {
            width: 70px;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 10px;
            cursor: pointer;
            text-align: center;
            color: white;
            text-shadow: 0 1px 2px black;
            transition: 0.2s;
            user-select: none;
        }

            .icon:hover {
                background: rgba(255,255,255,0.15);
                border-radius: 10px;
                transform: translateY(-2px);
            }

        /* Ícone com efeito Glossy Azulado e Skeuomórfico Transparente */
        .icon-img {
            width: 48px;
            height: 48px;
            position: relative;
            border-radius: 12px;
            /* FUNDO: Gradiente azul com transparência (rgba) */
            /* Vai de um azul céu claro quase transparente para um azul mais sólido embaixo */
            background: linear-gradient(to bottom, rgba(148, 196, 254, 0.7) 0%, rgba(100, 160, 235, 0.85) 50%, rgba(65, 125, 210, 0.95) 100% );
            /* Borda: Azul escuro semi-transparente para definir o contorno */
            border: 1px solid rgba(40, 80, 140, 0.5);
            /* SOMBRAS (O segredo do Skeuomorfismo) */
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), /* Brilho intenso no topo da borda */
            inset 0 0 5px rgba(255, 255, 255, 0.3), /* Luz ambiente interna */
            inset 0 -2px 4px rgba(0, 0, 0, 0.2), /* Sombra interna na base (profundidade) */
            0 5px 10px rgba(0, 0, 0, 0.25), /* Sombra projetada no chão (suave) */
            0 1px 1px rgba(0, 0, 0, 0.1); /* Sombra de contato nítida */
            /* Layout do conteúdo (ícone/texto dentro) */
            display: flex;
            align-items: center;
            justify-content: center;
            color: white; /* Texto branco fica melhor no azul */
            font-size: 24px;
            text-shadow: 0 -1px 1px rgba(0, 60, 120, 0.6); /* Entalhe no texto */

            margin-bottom: 6px;
            overflow: hidden;
            /* Efeito de vidro fosco (opcional, ajuda na sensação de transparência moderna) */
            backdrop-filter: blur(2px);
        }

            /* O BRILHO (Reflexo de Vidro - Parte Superior) */
            .icon-img::before {
                content: "";
                position: absolute;
                top: 1px;
                left: 1px;
                right: 1px;
                height: 46%; /* Ocupa pouco menos da metade superior */
                border-radius: 10px 10px 6px 6px;
                /* Gradiente branco forte que desvanece rápido para transparente */
                background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 20%, rgba(255, 255, 255, 0.1) 100% );
                pointer-events: none;
                z-index: 1;
            }

            /* O REFLEXO DE BAIXO (Highlight na base - Parte Inferior) */
            .icon-img::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 50%;
                border-radius: 0 0 12px 12px;
                /* Um brilho suave vindo de baixo, típico de botões de gel */
                background: linear-gradient(to top, rgba(255, 255, 255, 0.3) 0%, transparent 40% );
                pointer-events: none;
            }

        /* Estado Hover (Ao passar o mouse) */
        .icon:hover .icon-img {
            /* Fica um pouco mais claro e sobe */
            filter: brightness(1.1);
            transform: translateY(-1px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 7px 14px rgba(0, 0, 0, 0.3); /* Sombra externa aumenta */
            cursor: pointer;
        }

        #taskbar {
            height: var(--taskbar-height);
            position: fixed;
            bottom: 0;
            width: 100%;
            /* Gradiente mais profundo e contrastado */
            background: linear-gradient( to bottom, #5aa6ff 0%, #3a8df5 15%, #2b6fd3 40%, #1f52b8 50%, #1845a0 75%, #12357d 100% );
            /* Linha de brilho superior forte */
            border-top: 1px solid rgba(255,255,255,0.9);
            /* Sombras estilo plástico */
            box-shadow: inset 0 4px 6px rgba(255,255,255,0.6), inset 0 -6px 10px rgba(0,0,0,0.5), 0 -4px 12px rgba(0,0,0,0.7), 0 0 20px rgba(0,120,255,0.4);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 10px;
            z-index: 9000;
            overflow: hidden;
        }

            /* Reflexo glossy principal */
            #taskbar::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 55%;
                background: linear-gradient( to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 40%, rgba(255,255,255,0.1) 80%, transparent 100% );
                pointer-events: none;
            }

            /* Brilho central sutil */
            #taskbar::after {
                content: "";
                position: absolute;
                top: -30%;
                left: 50%;
                transform: translateX(-50%);
                width: 60%;
                height: 200%;
                background: radial-gradient( ellipse at center, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.15) 30%, transparent 70% );
                pointer-events: none;
            }

        .taskbar-app {
            min-width: 42px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(to bottom, #e6f1ff, #c7dcff);
            border: 1px solid #5a8ad6;
            border-radius: 4px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.5);
            cursor: pointer;
            transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, opacity 0.25s ease;
            opacity: 0;
            transform: scale(0.9);
        }

            .taskbar-app.show {
                opacity: 1;
                transform: scale(1);
            }

            .taskbar-app.active {
                background: linear-gradient(to bottom, #cfe5ff, #9fc2ff);
                box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.5);
            }

            .taskbar-app:hover {
                background: linear-gradient(to bottom, #ffffff, #dbeaff);
            }

        #start-btn {
            background: radial-gradient(circle, #359aff 0%, #1754c5 100%);
            border: 2px solid white;
            border-radius: 0 15px 15px 0;
            padding: 5px 15px 5px 10px;
            color: white;
            font-weight: bold;
            font-style: italic;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            gap: 5px;
            border-left: none;
            margin-left: -10px;
            position: relative;
            overflow: hidden;
            transition: box-shadow 0.25s ease, transform 0.2s ease, background 0.25s ease;
        }

            #start-btn:hover {
                background: radial-gradient(circle at 30% 30%, #7fd3ff 0%, #2b7cff 45%, #1347a8 100%);
                box-shadow: 0 0 12px rgba(120, 200, 255, 0.9), inset 0 0 6px rgba(255,255,255,0.9), 0 3px 6px rgba(0,0,0,0.6);
                transform: translateY(-1px);
            }

            #start-btn::before {
                content: "";
                position: absolute;
                top: 2px;
                left: 2px;
                right: 2px;
                height: 45%;
                background: linear-gradient( to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0) );
                border-radius: 0 14px 10px 0;
                pointer-events: none;
            }

            #start-btn::after {
                content: "";
                position: absolute;
                top: 0;
                left: -60%;
                width: 60%;
                height: 100%;
                background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.6), transparent );
                opacity: 0;
                transition: opacity 0.2s ease;
            }

            #start-btn:hover::after {
                opacity: 1;
                animation: startGlow 0.6s ease-out;
            }

        @keyframes startGlow {
            from {
                left: -60%;
            }

            to {
                left: 120%;
            }
        }

        /* ===== WALLPAPER DROPDOWN ===== */
        .start-wallpaper {
            position: relative;
        }

        .wallpaper-toggle {
            display: flex;
            align-items: center;
        }

            .wallpaper-toggle .arrow {
                transition: transform 0.25s ease;
            }

        .wallpaper-submenu {
            overflow: hidden;
            max-height: 0;
            transform: translateY(10px);
            opacity: 0;
            transition: max-height 0.35s cubic-bezier(.25,.8,.25,1), transform 0.3s ease, opacity 0.25s ease;
        }

        /* aberto */
        .start-wallpaper.open .wallpaper-submenu {
            max-height: 230px;
            transform: translateY(0);
            opacity: 1;
        }

        /* seta gira */
        .start-wallpaper.open .arrow {
            transform: rotate(180deg);
        }

        #start-menu {
            position: fixed;
            bottom: var(--taskbar-height);
            left: 0;
            width: 260px;
            background: linear-gradient( to bottom, #f5f9ff 0%, #e6efff 45%, #d6e4ff 100% );
            border: 1px solid #1f4b9f;
            border-bottom: none;
            border-radius: 8px 8px 0 0;
            display: flex;
            flex-direction: column;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 4px -4px 12px rgba(0,0,0,0.45);
            z-index: 10001;
            /* 🔽 animação */
            transform: translateY(20px);
            opacity: 0;
            pointer-events: none;
            transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease;
        }

            #start-menu::before {
                content: "";
                position: absolute;
                top: 2px;
                left: 3px;
                right: 3px;
                height: 40%;
                background: linear-gradient( to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 25%, rgba(255,255,255,0) 100% );
                border-radius: 6px 6px 0 0;
                pointer-events: none;
            }

            /* quando estiver aberto */
            #start-menu.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }

        .start-item {
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            font-size: 13px;
            background: linear-gradient(to bottom, #ffffff, #f0f4ff);
            border-bottom: 1px solid #c7d7f2;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
        }

            .start-item:hover {
                background: linear-gradient(to bottom, #e6f1ff, #cfe3ff);
            }

        /* Lockscreen - Liquid Glass Premium Refinado */
        #lockscreen {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: transparent;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
            padding-bottom: 140px;
            color: #ffffff;
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
            isolation: isolate;
        }

            /* Camada de brilho sutil */
            #lockscreen::before {
                content: "";
                position: absolute;
                inset: 0;
                z-index: 0;
                pointer-events: none;
                background: radial-gradient( circle at 50% 120%, rgba(255,255,255,0.15), transparent 60% );
                box-shadow: inset 0 0 80px rgba(255,255,255,0.08);
            }

            /* Camada de blur + distorção SUAVE */
            #lockscreen::after {
                content: "";
                position: absolute;
                inset: 0;
                z-index: -1;
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                filter: url(#glass-distortion);
                -webkit-filter: url(#glass-distortion);
                pointer-events: none;
            }

        .lock-glass {
            position: relative;
            padding: 60px 100px;
            border-radius: 50px;
            isolation: isolate;
            /* Sombra externa suave */
            box-shadow: 0px 0px 21px -8px rgba(255, 255, 255, 0.3), inset 0 0 25px rgba(255, 255, 255, 0.15);
            text-align: center;
            transform-style: preserve-3d;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

            /* Tint + inner glow */
            .lock-glass::before {
                content: "";
                position: absolute;
                inset: 0;
                z-index: 0;
                border-radius: 50px;
                box-shadow: inset 0 0 12px -4px rgba(255, 255, 255, 0.7);
                background-color: rgba(255, 255, 255, 0);
                border: 1px solid rgba(255, 255, 255, 0.4);
                pointer-events: none;
            }

            /* Blur + distorção apenas no card */
            .lock-glass::after {
                content: "";
                position: absolute;
                inset: 0;
                z-index: -1;
                border-radius: 50px;
                backdrop-filter: blur(15px);
                -webkit-backdrop-filter: blur(15px);
                filter: url(#liquid-glass-distort);
                -webkit-filter: url(#liquid-glass-distort);
                isolation: isolate;
                pointer-events: none;
            }

        /* Clock Styling - Clean & Sharp */
        .lock-time {
            font-size: 110px;
            font-weight: 200;
            letter-spacing: -2px;
            margin: 0;
            color: #ffffff;
            filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
            /* Efeito de refração leve no texto */
            mix-blend-mode: overlay;
        }

        /* Date Styling */
        .lock-date {
            margin-top: 10px;
            font-size: 18px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            letter-spacing: 4px;
            text-transform: uppercase;
        }

        /* Slide Hint */
        .slide-hint {
            margin-top: 60px;
            font-size: 12px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.5);
            letter-spacing: 3px;
            text-transform: uppercase;
            animation: liquidFloat 3s ease-in-out infinite;
        }

        @keyframes liquidFloat {
            0%, 100% {
                transform: translateY(0) scale(1);
                opacity: 0.4;
            }

            50% {
                transform: translateY(-15px) scale(1.05);
                opacity: 0.9;
            }
        }

        /* ===== GLOSSY BIRD ===== */
        .glossy-bird-container {
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, #8fd3ff 0%, #4fa3ff 45%, #2b7cff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .glossy-bird-frame {
            background: linear-gradient(to bottom, #eaf6ff, #cfe7ff);
            border-radius: 16px;
            padding: 10px;
            border: 1px solid #3b6fb3;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -3px 6px rgba(0,0,0,.25), 0 10px 20px rgba(0,0,0,.45);
        }

        .glossy-bird-canvas {
            background: linear-gradient(to bottom, #87ceeb 0%, #dff3ff 60%, #7cd957 60%, #4caf50 100%);
            border-radius: 10px;
            border: 2px solid #2f5f2f;
            box-shadow: inset 0 2px 4px rgba(255,255,255,.6), inset 0 -4px 6px rgba(0,0,0,.35);
        }

        .paint-tool {
            width: 30px;
            height: 26px;
            background: linear-gradient(to bottom, #fff, #dcdcdc);
            border: 1px solid #888;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            box-shadow: inset 0 1px 0 #fff;
        }

            .paint-tool.active {
                background: linear-gradient(to bottom, #cfe3ff, #9fc2ff);
                border-color: #2f6fd6;
            }

        :root {
            --glass-shine: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.3) 45%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
            --bg-metal: linear-gradient(180deg, #e6e9ed 0%, #adb5bd 100%);
            --border-depth: 1px solid #717b85;
            --text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        /* Container Principal - Moldura de Alumínio Escovado */
        .paint-98 {
            background: var(--bg-metal);
            font-family: 'Helvetica Neue', Arial, sans-serif;
            border-radius: 12px;
            border: 1px solid #4a4a4a;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.8), inset 0 -1px 2px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            color: #333;
        }

        /* Menu Bar - Efeito Vidro Lapidado */
        .paint-menu {
            background: linear-gradient(to bottom, #fcfcfc 0%, #d1d5db 100%);
            padding: 10px 15px;
            border-bottom: 1px solid #8e969f;
            display: flex;
            gap: 15px;
            position: relative;
        }

            .paint-menu span {
                font-size: 13px;
                font-weight: 600;
                cursor: pointer;
                text-shadow: var(--text-shadow);
                padding: 3px 10px;
                border-radius: 20px;
                transition: all 0.2s;
            }

                .paint-menu span:hover {
                    background: rgba(255,255,255,0.5);
                    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
                }

        /* Toolbar - Efeito de Slot Profundo */
        .paint-toolbar {
            width: 65px;
            background: #cdd3d9;
            padding: 10px;
            border-right: 1px solid #8e969f;
            display: flex;
            flex-direction: column;
            gap: 10px;
            box-shadow: inset -5px 0 10px rgba(0,0,0,0.1);
        }

        /* Botões - O "Glossy" Extremo */
        .paint-btn {
            width: 44px;
            height: 44px;
            border-radius: 8px;
            border: 1px solid #5a6268;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: transform 0.1s, box-shadow 0.2s;
            /* Gradiente base do botão */
            background: #94c4fe;
            background: linear-gradient(to bottom, #94c4fe 0%, #d3f6fe 100%);
            /* Sombra externa para "saltar" da tela */
            box-shadow: 0 2px 4px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.9);
        }

            /* Reflexo superior do botão (Gloss) */
            .paint-btn::before {
                content: "";
                position: absolute;
                top: 1px;
                left: 2px;
                right: 2px;
                height: 50%;
                background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 95%, rgba(255,255,255,0) 100%);
                border-radius: 6px 6px 50% 50% / 6px 6px 20% 20%;
                z-index: 1;
            }

            .paint-btn:hover {
                filter: brightness(1.05);
                transform: translateY(-1px);
                box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            }

            .paint-btn.active, .paint-btn:active {
                background: linear-gradient(to bottom, #54bc3e 0%, #aee850 100%); /* Cor verde skeuo ao clicar */
                border-color: #1d6511;
                box-shadow: inset 0 3px 8px rgba(0,0,0,0.4);
                transform: translateY(1px);
            }

        /* Área do Canvas - Profundidade de Moldura */
        .paint-canvas-frame {
            background: #5a5a5a;
            padding: 20px;
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
        }

        .paint-canvas-inner {
            background: #ffffff;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.2);
            border-radius: 4px;
        }

        /* Paleta de Cores - Gotas de Vidro */
        .paint-palette {
            padding: 15px;
            background: linear-gradient(to bottom, #d1d5db 0%, #9ca3af 100%);
            border-top: 1px solid #ffffff;
            display: flex;
            gap: 8px;
            justify-content: center;
            box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        }

        .paint-color {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            position: relative;
            border: 1px solid rgba(0,0,0,0.3);
            cursor: pointer;
            box-shadow: 0 3px 6px rgba(0,0,0,0.3), inset 0 -2px 4px rgba(0,0,0,0.2);
            transition: transform 0.2s;
        }

            /* O reflexo curvo da gota de tinta */
            .paint-color::before {
                content: "";
                position: absolute;
                top: 15%;
                left: 15%;
                width: 70%;
                height: 40%;
                background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
                border-radius: 50% 50% 40% 40%;
            }

            .paint-color:hover {
                transform: scale(1.2) translateY(-3px);
                z-index: 10;
            }

            .paint-color:active {
                transform: scale(1);
                box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
            }

        /* App Specifics */
        .calculator-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            padding: 12px;
            background: linear-gradient(to bottom, #eef3fb 0%, #cfdcf3 45%, #b9cbe8 100%);
            border-radius: 12px;
            border: 1px solid #7d96c6;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 6px rgba(0,0,0,.25), 0 10px 20px rgba(0,0,0,.45);
        }

        .calc-btn {
            position: relative;
            padding: 14px 0;
            background: linear-gradient(to bottom, #ffffff 0%, #f1f4fb 45%, #cfd9ee 100%);
            border-radius: 10px;
            border: 1px solid #7f97c6;
            font-size: 14px;
            font-weight: bold;
            color: #24334f;
            text-shadow: 0 1px 0 rgba(255,255,255,.9);
            cursor: pointer;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -3px 4px rgba(0,0,0,.2), 0 4px 6px rgba(0,0,0,.45);
            transition: all .08s ease;
        }

            .calc-btn[data-func="equals"] {
                background: linear-gradient(to bottom, #d8ffd8 0%, #7fe07f 45%, #2e8b57 100%);
                color: #ffffff;
                border-color: #1f5f3c;
                text-shadow: 0 -1px 0 rgba(0,0,0,.4);
                box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -3px 4px rgba(0,0,0,.3), 0 4px 6px rgba(0,0,0,.5);
            }

                .calc-btn[data-func="equals"]:hover {
                    background: linear-gradient(to bottom, #ebffeb 0%, #9af09a 45%, #44b87a 100%);
                }

            .calc-btn::before {
                content: "";
                position: absolute;
                top: 3px;
                left: 4px;
                right: 4px;
                height: 45%;
                border-radius: 8px;
                pointer-events: none;
                background: linear-gradient( to bottom, rgba(255,255,255,.9), rgba(255,255,255,.4) 40%, rgba(255,255,255,0) );
            }

            .calc-btn:hover {
                background: linear-gradient(to bottom, #ffffff 0%, #e3ebff 50%, #c1d4ff 100%);
            }

            .calc-btn:active {
                transform: translateY(2px);
                box-shadow: inset 0 3px 6px rgba(0,0,0,.35), inset 0 -1px 0 rgba(255,255,255,.6);
            }

        .calc-display {
            position: relative;
            margin: 8px;
            padding: 14px;
            background: linear-gradient(to bottom, #fdfefe 0%, #e6ecf8 45%, #cfd9ee 100%);
            border-radius: 10px;
            border: 1px solid #7d96c6;
            text-align: right;
            font-family: "Consolas", monospace;
            font-size: 22px;
            color: #1b2740;
            text-shadow: 0 1px 0 rgba(255,255,255,.9);
            box-shadow: inset 0 2px 6px rgba(0,0,0,.25), inset 0 -1px 0 rgba(255,255,255,.9), 0 3px 6px rgba(0,0,0,.45);
        }

            .calc-display::before {
                content: "";
                position: absolute;
                top: 4px;
                left: 6px;
                right: 6px;
                height: 40%;
                border-radius: 8px;
                pointer-events: none;
                background: linear-gradient( to bottom, rgba(255,255,255,.85), rgba(255,255,255,.35) 35%, rgba(255,255,255,0) );
            }

        .snake-canvas {
            background:
            /* Grid horizontal */
            repeating-linear-gradient( 0deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 20px ),
            /* Grid vertical */
            repeating-linear-gradient( 90deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 20px ),
            /* Reflexo superior estilo Aero */
            linear-gradient( to bottom, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 25%, rgba(0,150,136,0.25) 100% ),
            /* Base teal profunda */
            linear-gradient( to bottom, #0f5f5c, #0b3f3d );
            display: block;
            margin: 0 auto;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.6);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -10px 20px rgba(0,0,0,0.35), 0 12px 25px rgba(0,0,0,0.45);
            transition: box-shadow 0.2s ease, transform 0.1s ease;
        }

            /* Efeito de hover opcional, dá sensação de “ativo” */
            .snake-canvas:hover {
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -10px 18px rgba(0,0,0,0.3), 0 12px 30px rgba(0,0,0,0.5);
                transform: translateY(-2px);
            }

        .hub-btn {
            background: linear-gradient(#ffffff, #dbe7f9);
            border: 1px solid #7f9db9;
            padding: 6px;
            margin-bottom: 6px;
            cursor: pointer;
            font-size: 13px;
            border-radius: 4px; /* levemente mais arredondado */
            transition: background 0.2s ease, transform 0.1s ease;
        }

            .hub-btn:hover {
                background: linear-gradient(#fff, #c8dcf5);
                transform: translateY(-1px); /* leve efeito ao passar o mouse */
            }

        .hub-reset-btn {
            background: linear-gradient(#fff4f0, #ffd9cc);
            border: 1px solid #d98c6b;
            padding: 6px;
            margin-bottom: 6px;
            cursor: pointer;
            font-size: 13px;
            border-radius: 4px; /* levemente mais arredondado */
            transition: background 0.2s ease, transform 0.1s ease;
        }

            .hub-reset-btn:hover {
                background: linear-gradient(#fff8f5, #ffc4b3);
                transform: translateY(-1px); /* leve efeito ao passar o mouse */
            }

        .hub-panel {
            border: 1px solid #7f9db9;
            background: #f7fbff;
            padding: 10px;
            margin-bottom: 10px;
        }

        .rarity-text {
            font-size: 10px;
            font-weight: bold;
            margin-top: 2px;
            letter-spacing: 0.5px;
            /* sombra geral mais consistente para legibilidade */
            text-shadow: 0 0 2px rgba(0,0,0,0.9), /* borda escura sutil */
            1px 1px 2px rgba(0,0,0,0.7); /* sombra padrão */
        }

        /* Cores e sombras específicas por raridade */
        .rarity-common {
            color: #888;
            text-shadow: 0 0 2px rgba(0,0,0,0.9), 1px 1px 2px rgba(0,0,0,0.7);
        }

        .rarity-uncommon {
            color: #2ecc71;
            text-shadow: 0 0 3px rgba(0,0,0,0.85), 1px 1px 2px rgba(0,0,0,0.7);
        }

        .rarity-rare {
            color: #3498db;
            text-shadow: 0 0 4px rgba(0,0,0,0.8), 1px 1px 2px rgba(0,0,0,0.7);
        }

        .rarity-epic {
            color: #9b59b6;
            text-shadow: 0 0 5px rgba(0,0,0,0.8), 1px 1px 3px rgba(0,0,0,0.7);
        }

        .rarity-legendary {
            color: #f1c40f;
            /* efeito “brilho” mais chamativo, com sombra colorida e borda escura */
            text-shadow: 0 0 6px rgba(255, 215, 0, 0.9), /* brilho dourado */
            0 0 3px rgba(0,0,0,0.85), /* contorno escuro */
            1px 1px 2px rgba(0,0,0,0.7); /* sombra base */
        }

        /* Estilo para o player de música */
        .music-player {
            width: 350px;
            height: 400px;
            background: linear-gradient(135deg, #4e5b7e, #6c7c9f);
            border-radius: 12px;
            border: 3px solid #2b3b4d;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.6);
            position: relative;
            overflow: hidden;
            padding: 15px;
        }

            .music-player .controls {
                position: absolute;
                bottom: 20px;
                left: 50%;
                transform: translateX(-50%);
                display: flex;
                justify-content: center;
                gap: 40px;
            }

                .music-player .controls button {
                    background: linear-gradient(135deg, #8a92a4, #60788b);
                    border: 2px solid #3b4e5a;
                    padding: 8px 12px;
                    border-radius: 50%;
                    cursor: pointer;
                    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.7), 0 2px 5px rgba(0, 0, 0, 0.3);
                    transition: transform 0.1s, background 0.3s;
                }

                    .music-player .controls button:hover {
                        transform: scale(1.1);
                        background: linear-gradient(135deg, #60788b, #8a92a4);
                    }

                    .music-player .controls button:active {
                        transform: scale(0.95);
                    }

            /* botão play normal */
            .music-player .play-btn {
                font-size: 18px;
            }

                /* estado pressionado / pause */
                .music-player .play-btn.paused {
                    background: linear-gradient(135deg, #4f5a6b, #3a4655);
                    box-shadow: inset 0 3px 6px rgba(0,0,0,.6), inset 0 -1px 2px rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.6);
                    transform: scale(0.95);
                }

            .music-player .title {
                text-align: center;
                color: #ffffff;
                font-size: 18px;
                margin-top: 15px;
                font-weight: bold;
            }

            .music-player .progress-container {
                width: 100%;
                display: flex;
                justify-content: center;
                margin: 12px 0 18px;
            }

            .music-player .progress-bar {
                width: 80%;
                height: 14px;
                position: relative;
                cursor: pointer;
                background: linear-gradient( to bottom, #9fb7e8 0%, #6f8fd8 45%, #4a6fc7 100% );
                border-radius: 14px;
                border: 1px solid #304a8a;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.7), inset 0 -2px 4px rgba(0,0,0,.35), 0 2px 5px rgba(0,0,0,.4);
            }

                /* brilho superior (gloss) */
                .music-player .progress-bar::before {
                    content: "";
                    position: absolute;
                    top: 1px;
                    left: 2px;
                    right: 2px;
                    height: 6px;
                    border-radius: 10px;
                    background: linear-gradient( to bottom, rgba(255,255,255,.9), rgba(255,255,255,.2), rgba(255,255,255,0) );
                    pointer-events: none;
                }

            /* progresso preenchido */
            .music-player .progress-fill {
                height: 100%;
                width: 0%;
                border-radius: 14px;
                background: linear-gradient( to bottom, #c6f1ff 0%, #7bd4ff 45%, #3aa4ff 100% );
                box-shadow: inset 0 1px 2px rgba(255,255,255,.9), inset 0 -2px 3px rgba(0,0,0,.25);
            }

            /* bolinha (thumb) */
            .music-player .progress-thumb {
                position: absolute;
                top: 50%;
                transform: translate(-50%, -50%);
                left: 0%;
                width: 18px;
                height: 18px;
                border-radius: 50%;
                background: radial-gradient( circle at 30% 30%, #ffffff, #cfd8ff 40%, #6b88ff 75% );
                border: 1px solid #2f3e9e;
                box-shadow: inset 0 1px 2px rgba(255,255,255,.8), 0 2px 5px rgba(0,0,0,.5);
                cursor: pointer;
            }

            .music-player .time-hud {
                width: 80%;
                margin: 4px auto 0;
                display: flex;
                justify-content: space-between;
                font-size: 12px;
                font-weight: bold;
                color: #eaf2ff;
                text-shadow: 0 1px 2px rgba(0,0,0,.6);
            }

            .music-player .skins-btn {
                all: unset; /* REMOVE HERANÇA TOTAL */
                position: absolute;
                top: 8px;
                right: 10px;
                font-family: Tahoma, Verdana, sans-serif;
                font-size: 11px;
                font-weight: bold;
                padding: 4px 10px;
                cursor: pointer;
                background: linear-gradient(to bottom, #ffffff, #dbe3f3);
                border: 1px solid #5a6f99;
                border-radius: 6px;
                box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 4px rgba(0,0,0,.4);
            }

            .music-player img[id^="cover-"] {
                position: relative;
                z-index: 5; /* sempre acima das luzes */
                width: 160px;
                height: 160px;
                object-fit: cover;
                border-radius: 16px;
                margin: 10px auto 6px;
                display: block;
                box-shadow: 0 12px 30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.45);
                transition: transform .35s ease, box-shadow .35s ease;
            }

            /* ===== MUSIC PLAYER MAXIMIZADO ===== */
            .music-player.is-maximized {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 0;
                padding: 40px 60px;
                box-sizing: border-box;
            }

                .music-player.is-maximized img[id^="cover-"] {
                    width: clamp(160px, 28vh, 320px);
                    height: clamp(160px, 28vh, 320px);
                }

                .music-player.is-maximized .title {
                    font-size: clamp(18px, 2.5vh, 32px);
                    margin-top: clamp(10px, 2vh, 24px);
                }

                .music-player.is-maximized .progress-container {
                    width: 100%;
                    margin: clamp(10px, 2vh, 24px) 0;
                }

                .music-player.is-maximized .progress-bar {
                    width: 80%;
                    height: clamp(14px, 1.8vh, 22px);
                }

                .music-player.is-maximized .progress-thumb {
                    width: clamp(18px, 2.4vh, 28px);
                    height: clamp(18px, 2.4vh, 28px);
                }

                .music-player.is-maximized .time-hud {
                    width: 80%;
                    font-size: clamp(12px, 1.6vh, 18px);
                }

                .music-player.is-maximized .controls {
                    position: static;
                    transform: none;
                    margin-top: clamp(10px, 2vh, 28px);
                    gap: clamp(20px, 4vw, 60px);
                }

                    .music-player.is-maximized .controls button {
                        width: clamp(44px, 6vh, 70px);
                        height: clamp(44px, 6vh, 70px);
                        font-size: clamp(16px, 2.5vh, 28px);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        padding: 0;
                    }

                .music-player.is-maximized .music-select.left {
                    left: 20px;
                }

                .music-player.is-maximized .music-select.right {
                    right: 20px;
                }

                .music-player.is-maximized .skins-btn {
                    top: 12px;
                    right: 14px;
                    font-size: 13px;
                    padding: 6px 14px;
                }

        .skins-menu {
            text-shadow: none !important;
            position: absolute;
            top: 34px;
            right: 10px;
            width: 150px;
            background: linear-gradient(to bottom, #f5f9ff, #dbe7ff);
            border: 1px solid #5a6f99;
            border-radius: 8px;
            box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(0,0,0,.5);
            display: none;
            flex-direction: column;
            padding: 6px;
            gap: 4px;
            z-index: 21;
        }

        .music-player .skins-menu button {
            all: unset;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: Tahoma, Verdana, sans-serif;
            font-size: 12px;
            color: #000;
            padding: 6px 8px;
            cursor: pointer;
            background: linear-gradient(to bottom, #ffffff, #e6efff);
            border: 1px solid #7a8db3;
            border-radius: 6px;
            box-shadow: inset 0 1px 0 #fff;
        }

            .music-player .skins-menu button:hover {
                background: linear-gradient(to bottom, #f0f6ff, #d6e6ff);
            }

            .music-player .skins-menu button:active {
                box-shadow: inset 0 2px 4px rgba(0,0,0,.25);
            }

        .skin-thumb {
            width: 32px;
            height: 20px;
            border-radius: 4px;
            border: 1px solid #444;
            position: relative;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -2px 3px rgba(0,0,0,.4);
        }

            .skin-thumb::before {
                content: "";
                position: absolute;
                inset: 2px;
                height: 45%;
                background: linear-gradient( to bottom, rgba(255,255,255,.8), rgba(255,255,255,0) );
                border-radius: 3px;
            }

        /* thumbs */
        .thumb-default {
            background: linear-gradient(135deg, #4e5b7e, #6c7c9f);
        }

        .thumb-dark {
            background: linear-gradient(135deg, #0b0f0b, #0f3f1f);
        }

        .thumb-98 {
            background: #c0c0c0;
        }

        .thumb-aero {
            background: radial-gradient(circle at 30% 30%, #ffffffcc, transparent 45%), linear-gradient(135deg,#5fd0ff,#3aa4ff,#2f7cff);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 4px rgba(0,0,0,.35);
        }

        .music-player.skin-default {
            background: linear-gradient(135deg, #4e5b7e, #6c7c9f);
            border-color: #2b3b4d;
        }

        .music-player.skin-dark {
            background: linear-gradient( to bottom, #0b0f0b 0%, #101810 45%, #050805 100% );
            border: 3px solid #1aff64;
            box-shadow: 0 0 18px rgba(26,255,100,.35), inset 0 2px 4px rgba(255,255,255,.15);
        }



            .music-player.skin-dark .title,
            .music-player.skin-dark .time-hud {
                color: #a8ffcc;
            }

            .music-player.skin-dark .controls button {
                width: 46px;
                height: 46px;
                padding: 0;
                position: relative;
                overflow: hidden;
                border-radius: 14px; /* quadrado arredondado */
                background: linear-gradient(to bottom, #1a1f1a 0%, #0b0f0b 45%, #050805 100%);
                border: 1px solid #1aff64;
                color: #1aff64;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.15), inset 0 -4px 6px rgba(0,0,0,.9), 0 0 10px rgba(26,255,100,.45), 0 4px 10px rgba(0,0,0,.7);
                font-size: 18px;
                text-shadow: 0 0 6px rgba(26,255,100,.9), 0 0 12px rgba(26,255,100,.6);
            }

                .music-player.skin-dark .controls button::before {
                    content: "";
                    position: absolute;
                    top: 3px;
                    left: 4px;
                    right: 4px;
                    height: 45%;
                    border-radius: 10px;
                    background: linear-gradient( to bottom, rgba(255,255,255,.45) 0%, rgba(255,255,255,.18) 35%, rgba(255,255,255,0) 100% );
                    pointer-events: none;
                }

            /* Barra de progresso */
            .music-player.skin-dark .progress-bar {
                width: 80%;
                height: 14px;
                background: linear-gradient(to bottom, #1a1f1a 0%, #0b0f0b 45%, #050805 100%);
                border-radius: 14px;
                border: 1px solid #1aff64;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.15), inset 0 -2px 4px rgba(0,0,0,.35), 0 2px 5px rgba(0,0,0,.5);
                position: relative;
                cursor: pointer;
            }

                .music-player.skin-dark .progress-bar::before {
                    content: "";
                    position: absolute;
                    top: 1px;
                    left: 2px;
                    right: 2px;
                    height: 6px;
                    border-radius: 10px;
                    background: linear-gradient(to bottom, rgba(255,255,255,.6), rgba(255,255,255,.2), rgba(255,255,255,0));
                    pointer-events: none;
                }

            /* Preenchimento da barra */
            .music-player.skin-dark .progress-fill {
                height: 100%;
                width: 0%;
                border-radius: 14px;
                background: linear-gradient( to bottom, #1e6b3a 0%, /* verde escuro iluminado */
                #14502c 50%, /* verde médio fechado */
                #0b3a1f 100% /* verde bem escuro */
                );
                box-shadow: inset 0 1px 2px rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.45), 0 0 6px rgba(26,255,100,.25); /* glow sutil */
            }

            /* Thumb */
            .music-player.skin-dark .progress-thumb {
                position: absolute;
                top: 50%;
                transform: translate(-50%, -50%);
                left: 0%;
                width: 18px;
                height: 18px;
                border-radius: 50%;
                background: radial-gradient(circle at 30% 30%, #ffffff, #a8ffcc 40%, #1aff64 75%);
                border: 1px solid #1aff64;
                box-shadow: inset 0 1px 2px rgba(255,255,255,.8), 0 2px 5px rgba(0,0,0,.5);
                cursor: pointer;
            }



        .music-player.skin-98 {
            background: #c0c0c0;
            border: 2px solid #000;
            border-top-color: #ffffff;
            border-left-color: #ffffff;
            border-right-color: #404040;
            border-bottom-color: #404040;
            box-shadow: none;
            border-radius: 0;
        }

            .music-player.skin-98 * {
                border-radius: 0 !important;
                font-family: Tahoma, Verdana, sans-serif;
            }

            .music-player.skin-98 .title,
            .music-player.skin-98 .time-hud {
                color: #000;
                text-shadow: none;
                font-weight: normal;
                font-size: 13px;
            }

            .music-player.skin-98 .controls button {
                width: 32px; /* mais quadrado */
                height: 32px;
                padding: 0; /* remove deslocamentos */

                display: flex; /* centralização real */
                align-items: center;
                justify-content: center;
                background: #c0c0c0;
                border-radius: 0;
                border: 2px solid #000;
                border-top-color: #ffffff;
                border-left-color: #ffffff;
                border-right-color: #404040;
                border-bottom-color: #404040;
                box-shadow: none;
                font-size: 14px;
                line-height: 1; /* evita símbolo “caído” */
                font-family: Tahoma, Verdana, sans-serif;
            }

                .music-player.skin-98 .controls button:hover {
                    background: #d4d4d4;
                }

                .music-player.skin-98 .controls button:active {
                    border-top-color: #404040;
                    border-left-color: #404040;
                    border-right-color: #ffffff;
                    border-bottom-color: #ffffff;
                    transform: translate(1px, 1px); /* afunda sem quebrar layout */
                }

            .music-player.skin-98 .progress-bar {
                height: 10px;
                background: #e0e0e0;
                border-radius: 0;
                border: 2px solid #000;
                border-top-color: #808080;
                border-left-color: #808080;
                border-right-color: #ffffff;
                border-bottom-color: #ffffff;
                box-shadow: none;
            }

            .music-player.skin-98 .progress-fill {
                background: #000080; /* azul clássico */
                border-radius: 0;
                box-shadow: none;
            }

            .music-player.skin-98 .progress-thumb {
                width: 10px;
                height: 16px;
                background: #c0c0c0;
                border-radius: 0;
                border: 2px solid #000;
                border-top-color: #ffffff;
                border-left-color: #ffffff;
                border-right-color: #404040;
                border-bottom-color: #404040;
                box-shadow: none;
            }

        .music-player.skin-aero {
            background: radial-gradient(circle at 50% 0%, #e8f7ff 0%, transparent 55%), linear-gradient(to top, #4fa85f 0%, #7ccf86 22%, #5fb0ff 45%, #7fdcff 100%);
            border: 3px solid #7fcfff;
            box-shadow: 0 10px 25px rgba(0,120,255,.45), inset 0 2px 4px rgba(255,255,255,.9);
        }

            .music-player.skin-aero .title,
            .music-player.skin-aero .time-hud {
                color: #ffffff;
                text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 0 8px rgba(120,200,255,.6);
            }

            .music-player.skin-aero .controls button {
                background: radial-gradient(circle at 30% 25%, #ffffffdd, transparent 40%), linear-gradient(to bottom, #9fe7ff, #4fb8ff);
                border: 2px solid #5aaeff;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.9), inset 0 -3px 6px rgba(0,0,0,.35), 0 4px 10px rgba(0,0,0,.4);
            }

                .music-player.skin-aero .controls button:hover {
                    transform: scale(1.12);
                }

                .music-player.skin-aero .controls button:active {
                    transform: scale(0.95);
                }

            .music-player.skin-aero .progress-bar {
                background: linear-gradient(to bottom,#bfefff,#6bc8ff,#3aa4ff);
                border: 1px solid #5aaeff;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.9), inset 0 -3px 6px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.4);
            }

                .music-player.skin-aero .progress-bar::before {
                    background: linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,.35), rgba(255,255,255,0));
                }

            .music-player.skin-aero .progress-fill {
                background: linear-gradient(to bottom,#e6fbff,#7bdcff,#3aa4ff);
                box-shadow: inset 0 1px 2px rgba(255,255,255,.95), inset 0 -3px 5px rgba(0,0,0,.3);
            }

            .music-player.skin-aero .progress-thumb {
                width: 20px;
                height: 20px;
                background: radial-gradient(circle at 30% 25%, #ffffff, rgba(255,255,255,.6) 25%, transparent 45%), radial-gradient(circle at 60% 70%, #7fdcff, #3aa4ff 60%, #1f6fff 100%);
                border: 1px solid #2f7cff;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.9), inset 0 -3px 6px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.6);
            }

        .music-player.skin-metro {
            position: relative;
            /* Fundo base escuro com leve matiz roxo/azulado para profundidade */
            background-color: #05000a;
            background-image:
            /* Equalizador falso (linhas verticais sutis) */
            repeating-linear-gradient( 90deg, transparent 0px, transparent 4px, rgba(255, 255, 255, 0.03) 5px, rgba(255, 255, 255, 0.03) 8px ),
            /* Vetores de onda (Círculos concêntricos nítidos) - Estilo Vetorial */
            radial-gradient(circle at 50% -20%, transparent 35%, rgba(0, 255, 255, 0.1) 36%, rgba(0, 255, 255, 0.1) 38%, transparent 39%), radial-gradient(circle at 120% 50%, transparent 40%, rgba(255, 0, 128, 0.1) 41%, rgba(255, 0, 128, 0.1) 43%, transparent 44%),
            /* Bokeh colorido e vibrante */
            radial-gradient(circle at 20% 80%, rgba(0, 255, 200, 0.4), transparent 50%), radial-gradient(circle at 80% 20%, rgba(200, 0, 255, 0.4), transparent 50%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 4px; /* Levemente arredondado, mas ainda "tech" */
            color: #fff;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), inset 0 0 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
            font-family: "Segoe UI", "Frutiger", "Trebuchet MS", sans-serif;
        }

            /* Camada de Raios de Luz (Party/Disco Vibe) */
            .music-player.skin-metro::before {
                content: "";
                position: absolute;
                inset: -50%; /* Maior que o container para rotação suave */
                background: conic-gradient( from 0deg, transparent 0deg, rgba(0, 255, 255, 0.15) 20deg, transparent 40deg, rgba(255, 0, 255, 0.15) 140deg, transparent 160deg, rgba(255, 255, 0, 0.1) 260deg, transparent 280deg );
                filter: blur(8px);
                animation: metro-spin-rays 20s linear infinite;
                pointer-events: none;
                mix-blend-mode: screen;
            }

            /* Camada de Orbes/Vetores Flutuantes */
            .music-player.skin-metro::after {
                content: "";
                position: absolute;
                inset: 0;
                pointer-events: none;
                background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0, rgba(255, 255, 255, 0) 3px), /* Estrela/Brilho */
                radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.8) 0, rgba(255, 255, 255, 0) 2px), radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.4), transparent 60%);
                background-size: 100% 100%, 100% 100%, 150% 150%;
                mix-blend-mode: overlay;
                animation: metro-pulse-glow 4s ease-in-out infinite alternate;
            }

        @keyframes metro-spin-rays {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        @keyframes metro-pulse-glow {
            0% {
                opacity: 0.5;
                transform: scale(1);
            }

            100% {
                opacity: 1;
                transform: scale(1.05);
            }
        }

        /* Título com brilho neon intenso */
        .music-player.skin-metro .title {
            position: relative;
            z-index: 2;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #fff;
            text-shadow: 0 0 5px rgba(0, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
            margin-bottom: 10px;
        }

        /* Botões Estilo "Gel/Vidro" Frutiger */
        .music-player.skin-metro .controls button {
            position: relative;
            z-index: 2;
            background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 49%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 100%);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: #fff;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            font-size: 18px;
            backdrop-filter: blur(4px);
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
            transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

            .music-player.skin-metro .controls button:hover {
                background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(0, 255, 255, 0.2) 100%);
                box-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 0 30px rgba(255, 0, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.5);
                transform: scale(1.1);
                border-color: #fff;
                text-shadow: 0 0 5px #fff;
            }

            .music-player.skin-metro .controls button:active {
                transform: scale(0.95);
                box-shadow: 0 0 5px rgba(0, 255, 255, 0.8);
            }

        /* Barra de Progresso com Gradiente "Arco-íris Tecnológico" */
        .music-player.skin-metro .progress-bar {
            position: relative;
            z-index: 2;
            background: rgba(0, 0, 0, 0.5);
            height: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
        }

        .music-player.skin-metro .progress-fill {
            height: 100%;
            background: linear-gradient( 90deg, #00ffff, #00ff00, #ffff00, #ff00ff, #00ffff );
            background-size: 200% 100%;
            animation: metro-gradient-move 3s linear infinite;
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
        }

        @keyframes metro-gradient-move {
            from {
                background-position: 0% 0;
            }

            to {
                background-position: 200% 0;
            }
        }

        .music-player.skin-metro .progress-thumb {
            width: 18px;
            height: 18px;
            background: radial-gradient(circle at 30% 30%, #fff, #ddd);
            border: 2px solid #00ffff;
            box-shadow: 0 0 0 2px rgba(0,0,0,0.5), 0 0 10px #00ffff;
            top: 50%;
            transform: translate(-50%, -50%);
            transition: transform 0.1s;
        }

            .music-player.skin-metro .progress-thumb:hover {
                transform: translate(-50%, -50%) scale(1.3);
                box-shadow: 0 0 15px #ff00ff;
                border-color: #ff00ff;
            }

        .music-player.skin-metro .metro-bokeh {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            filter: blur(2px);
            mix-blend-mode: screen;
            animation-name: metro-bokeh-float;
            animation-timing-function: linear;
        }

        /* animação suave: nasce → flutua → some */
        @keyframes metro-bokeh-float {
            0% {
                opacity: 0;
                transform: translateY(10px) scale(0.95);
            }

            15% {
                opacity: 0.6;
            }

            85% {
                opacity: 0.6;
            }

            100% {
                opacity: 0;
                transform: translateY(-25px) scale(1.05);
            }
        }

        .music-player.skin-y2k {
            background:
            /* reflexos cromados */
            linear-gradient( 135deg, #ffffff 0%, #e5e5e5 12%, #bfc3c7 25%, #f7f7f7 38%, #9ea3a8 50%, #ffffff 62%, #cfd3d7 75%, #fdfdfd 100% );
            border: 2px solid #7a7f85;
            border-radius: 16px;
            box-shadow: inset 0 4px 6px rgba(255,255,255,.95), inset 0 -6px 10px rgba(0,0,0,.35), 0 10px 24px rgba(0,0,0,.55);
            position: relative;
            overflow: hidden;
        }

            /* brilho diagonal estilo chrome */
            .music-player.skin-y2k::before {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient( 120deg, transparent 35%, rgba(255,255,255,.65) 45%, transparent 55% );
                opacity: .9;
                pointer-events: none;
            }

            /* título Y2K */
            .music-player.skin-y2k .title {
                font-family: "Tahoma", "Verdana", sans-serif;
                font-size: 12px;
                font-weight: bold;
                letter-spacing: 2px;
                text-transform: uppercase;
                color: #1a1a1a;
                text-shadow: 0 1px 0 #fff, 0 2px 4px rgba(0,0,0,.35);
            }

            .music-player.skin-y2k .controls button {
                background: radial-gradient(circle at 30% 25%, #ffffff 0%, #e6e6e6 30%, #9ea3a8 60%, #6a6e73 100%);
                border: 1px solid #555;
                border-radius: 50%;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.9), inset 0 -3px 5px rgba(0,0,0,.45), 0 4px 8px rgba(0,0,0,.6);
                color: #111;
                transition: transform .1s, box-shadow .2s;
            }

                .music-player.skin-y2k .controls button:hover {
                    box-shadow: inset 0 2px 3px rgba(255,255,255,1), inset 0 -3px 5px rgba(0,0,0,.55), 0 6px 12px rgba(0,0,0,.75);
                    transform: scale(1.08);
                }

                .music-player.skin-y2k .controls button:active {
                    transform: scale(.94);
                    box-shadow: inset 0 4px 8px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.6);
                }

            .music-player.skin-y2k .progress-bar {
                background: linear-gradient( to bottom, #f7f7f7 0%, #c9cdd1 45%, #9ea3a8 100% );
                border: 1px solid #6a6e73;
                border-radius: 12px;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.85), inset 0 -2px 4px rgba(0,0,0,.4), 0 3px 6px rgba(0,0,0,.5);
            }

            .music-player.skin-y2k .progress-fill {
                background: linear-gradient( to bottom, #ffffff 0%, /* reflexo cromado */
                #e9fbff 18%, /* prata gelada */
                #bff2ff 42%, /* aqua claro */
                #6fdcff 65%, /* ciano brilhante */
                #8fb8ff 100% /* azul metálico */
                );
                box-shadow: inset 0 1px 3px rgba(255,255,255,1), inset 0 -1px 2px rgba(120,200,255,.6), 0 0 8px rgba(140,220,255,.95), 0 0 14px rgba(200,240,255,.6);
                border-radius: inherit;
            }

            .music-player.skin-y2k .progress-thumb {
                background: radial-gradient( circle at 30% 30%, #ffffff, #e6e6e6 40%, #9ea3a8 70%, #6a6e73 100% );
                border: 1px solid #555;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.9), 0 3px 6px rgba(0,0,0,.6);
            }

        .music-player.skin-discovery {
            background:
            /* reflexo metálico superior */
            linear-gradient(to bottom, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 12%, transparent 20%),
            /* corpo preto */
            linear-gradient(to bottom, #111111 0%, #0a0a0a 60%, #000000 100%);
            border: 1px solid rgba(180,180,190,.45);
            border-radius: 6px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -2px 8px rgba(0,0,0,.95), 0 8px 28px rgba(0,0,0,.9),
            /* aurora arco-íris exterior */
            0 0 40px -8px rgba(255,0,200,.35), 0 0 60px -12px rgba(0,200,255,.25);
        }

            .music-player.skin-discovery::before {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: 6px;
                pointer-events: none;
                /* arco-íris difuso atrás do painel */
                background: radial-gradient(ellipse 80% 35% at 50% 110%, rgba(255,0,180,.18) 0%, rgba(255,100,0,.12) 20%, rgba(255,220,0,.10) 35%, rgba(0,255,120,.10) 50%, rgba(0,180,255,.12) 70%, rgba(140,0,255,.14) 88%, transparent 100%), linear-gradient(to bottom, rgba(255,255,255,.10) 0%, transparent 30%);
            }

            .music-player.skin-discovery::after {
                content: "";
                position: absolute;
                inset: 5px;
                border-radius: 4px;
                pointer-events: none;
                background: linear-gradient( to bottom, rgba(255,255,255,.18), rgba(255,255,255,.03) 40%, rgba(0,0,0,.4) 100% );
                box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 2px rgba(0,0,0,.55);
            }

            /* --- Cover Frame: cromado líquido com halo arco-íris --- */
            .music-player.skin-discovery .cover-frame {
                position: absolute;
                top: 78px;
                left: 50%;
                transform: translateX(-50%);
                width: 190px;
                height: 190px;
                border-radius: 10px;
                z-index: 2;
                background: linear-gradient( 135deg, #ffffff 0%, #c8cfd6 20%, #8a9298 38%, #e8edf0 52%, #9ba3aa 68%, #d4dadf 82%, #f0f3f5 100% );
                box-shadow: inset 0 2px 5px rgba(255,255,255,.9), inset 0 -4px 8px rgba(0,0,0,.55),
                /* halo arco-íris ao redor da capa */
                0 0 18px 4px rgba(255,0,180,.5), 0 0 30px 6px rgba(255,140,0,.35), 0 0 42px 8px rgba(0,220,255,.3), 0 0 55px 10px rgba(120,0,255,.25), 0 12px 24px rgba(0,0,0,.85);
            }

            /* --- Título cromado com brilho arco-íris --- */
            .music-player.skin-discovery .title {
                background: linear-gradient( 90deg, #ffffff 0%, #c0c8d0 30%, #e8edf0 50%, #9fa8b0 70%, #ffffff 100% );
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                font-size: 12px;
                letter-spacing: 2px;
                text-transform: uppercase;
                filter: drop-shadow(0 0 4px rgba(255,80,200,.7)) drop-shadow(0 0 10px rgba(0,200,255,.5));
                margin-top: 6px;
            }

            /* --- HUD de tempo --- */
            .music-player.skin-discovery .time-hud {
                color: #d0d8e0;
                font-size: 11px;
                text-shadow: 0 0 4px rgba(255,255,255,.6), 0 0 10px rgba(200,220,255,.4);
            }

            /* --- Botões: cromo escovado com reflexo --- */
            .music-player.skin-discovery .controls button {
                width: 38px;
                height: 32px;
                padding: 0;
                border-radius: 4px;
                background: linear-gradient( to bottom, #f5f7f9 0%, #c4ccd3 40%, #8e969d 100% );
                border: 1px solid #1a1a1a;
                box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 5px rgba(0,0,0,.45), 0 1px 4px rgba(0,0,0,.85),
                /* micro glow colorido nas bordas */
                0 0 6px -2px rgba(200,100,255,.4);
                color: #111;
                font-size: 13px;
                transition: box-shadow .15s ease, transform .1s ease;
            }

                .music-player.skin-discovery .controls button:hover {
                    background: linear-gradient(to bottom, #ffffff, #d8dfe5);
                    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -2px 5px rgba(0,0,0,.35), 0 0 12px -2px rgba(255,80,200,.55), 0 0 18px -4px rgba(0,180,255,.45);
                }

                .music-player.skin-discovery .controls button:active {
                    box-shadow: inset 0 2px 5px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.7);
                    transform: translateY(1px);
                }

            /* --- Barra de progresso --- */
            .music-player.skin-discovery .progress-bar {
                height: 7px;
                background: #080808;
                border: 1px solid rgba(200,210,220,.3);
                border-radius: 2px;
                box-shadow: inset 0 1px 3px rgba(0,0,0,.95), 0 0 6px -2px rgba(255,0,200,.2);
            }

                .music-player.skin-discovery .progress-bar::before {
                    display: none;
                }

            /* fill com gradiente arco-íris */
            .music-player.skin-discovery .progress-fill {
                background: linear-gradient( to right, #ff00cc, #ff6600, #ffdd00, #00ff88, #00ccff, #8800ff );
                box-shadow: 0 0 8px rgba(200,100,255,.8), 0 0 14px rgba(0,200,255,.5);
            }

            /* thumb cromado */
            .music-player.skin-discovery .progress-thumb {
                width: 9px;
                height: 13px;
                border-radius: 2px;
                background: linear-gradient(to bottom, #f0f4f7, #9aa3aa);
                border: 1px solid #000;
                box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 6px rgba(255,100,255,.6), 0 1px 3px rgba(0,0,0,.8);
            }

        .music-player.skin-itunes {
            background:
            /* brilho superior */
            linear-gradient(to bottom, #fdfdfd 0%, #f4f4f4 18%, #e1e1e1 55%, #cfd3d8 100%);
            border: 1px solid #9aa0a6;
            border-radius: 14px;
            box-shadow: inset 0 1px 0 #ffffff, inset 0 -2px 6px rgba(0,0,0,.25), 0 8px 20px rgba(0,0,0,.35);
            position: relative;
        }

            /* reflexo glossy grande (marca Apple) */
            .music-player.skin-itunes::before {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: inherit;
                background: linear-gradient( to bottom, rgba(255,255,255,.85) 0%, rgba(255,255,255,.45) 35%, rgba(255,255,255,.15) 55%, rgba(255,255,255,0) 75% );
                pointer-events: none;
            }

            .music-player.skin-itunes .title {
                color: #333;
                font-size: 16px;
                font-weight: 600;
                text-shadow: 0 1px 0 #fff;
            }

            .music-player.skin-itunes .time-hud {
                color: #555;
                text-shadow: 0 1px 0 #fff;
            }

            .music-player.skin-itunes .controls button {
                width: 48px;
                height: 48px;
                border-radius: 50%;
                background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f3f3f3 35%, #d0d4d9 65%, #b8bec6 100%);
                border: 1px solid #8f96a0;
                color: #444;
                box-shadow: inset 0 2px 3px rgba(255,255,255,.95), inset 0 -3px 6px rgba(0,0,0,.25), 0 4px 8px rgba(0,0,0,.35);
                transition: transform .1s, box-shadow .15s;
            }

                .music-player.skin-itunes .controls button:hover {
                    box-shadow: inset 0 2px 3px rgba(255,255,255,1), inset 0 -4px 8px rgba(0,0,0,.3), 0 6px 12px rgba(0,0,0,.45);
                    transform: scale(1.08);
                }

                .music-player.skin-itunes .controls button:active {
                    transform: scale(.95);
                    box-shadow: inset 0 4px 8px rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.35);
                }

            .music-player.skin-itunes .play-btn {
                background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f8f8f8 30%, #d6dae0 60%, #aeb5bf 100%);
                font-size: 20px;
            }

                .music-player.skin-itunes .play-btn.paused {
                    background: radial-gradient(circle at 30% 30%, #d0d4d9, #aeb5bf 60%, #8c939e 100%);
                }

            .music-player.skin-itunes .progress-container {
                background: #ffffff;
                padding: 10px 0 14px;
                border-radius: 12px;
                box-shadow: inset 0 1px 2px rgba(0,0,0,.15), 0 2px 4px rgba(255,255,255,.9);
            }

            .music-player.skin-itunes .progress-bar {
                background: linear-gradient(to bottom, #f2f2f2 0%, #d9d9d9 50%, #c4c4c4 100%);
                border: 1px solid #9a9a9a;
                border-radius: 12px;
                box-shadow: inset 0 1px 2px rgba(255,255,255,.9), inset 0 -2px 4px rgba(0,0,0,.25);
            }

                .music-player.skin-itunes .progress-bar::before {
                    content: "";
                    position: absolute;
                    top: 1px;
                    left: 2px;
                    right: 2px;
                    height: 50%;
                    border-radius: 10px;
                    background: linear-gradient(to bottom, rgba(255,255,255,.85), rgba(255,255,255,.15), rgba(255,255,255,0));
                    pointer-events: none;
                }

            /* preenchimento azul iTunes */
            .music-player.skin-itunes .progress-fill {
                background: linear-gradient(to bottom, #bfe5ff 0%, #6bbcff 45%, #2f7cff 100%);
                box-shadow: inset 0 1px 2px rgba(255,255,255,.9);
            }

            /* thumb clássico */
            .music-player.skin-itunes .progress-thumb {
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background: radial-gradient(circle at 30% 30%, #ffffff, #e6e6e6 45%, #b5bcc5 80%);
                border: 1px solid #8f96a0;
                box-shadow: inset 0 1px 2px rgba(255,255,255,.9), 0 2px 4px rgba(0,0,0,.45);
            }

        .music-player.skin-oldwinamp {
            background: repeating-linear-gradient( to bottom, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 1px, transparent 2px, transparent 4px ), linear-gradient( to right, #1a1927 0%, #353551 53%, #21212d 100% );
            border: 2px ridge #7e7e7e;
            border-radius: 0;
            box-shadow: 0 5px 25px rgba(0,0,0,.9);
            font-family: Tahoma, Verdana, Arial, sans-serif;
        }

            /* remove arredondamentos */
            .music-player.skin-oldwinamp * {
                border-radius: 0 !important;
            }

            .music-player.skin-oldwinamp .title {
                background: #0f0f0f;
                color: #20ff17;
                font-size: 14px;
                font-weight: bold;
                letter-spacing: .5px;
                text-transform: none;
                padding: 2px 5px;
                margin: 6px 6px 4px;
                width: auto;
                text-align: center;
                border: 5px inset #69667b;
                box-shadow: none;
                text-shadow: 0 0 4px rgba(32,255,23,.6);
            }

            .music-player.skin-oldwinamp .controls {
                gap: 14px;
            }

                .music-player.skin-oldwinamp .controls button {
                    width: 32px;
                    height: 22px;
                    padding: 0;
                    background: #bbb;
                    border: 2px outset #fff;
                    box-shadow: 0 0 0 1px #000;
                    font-size: 11px;
                    color: #333;
                }

                    .music-player.skin-oldwinamp .controls button:active {
                        border: 2px inset #fff;
                        transform: translate(1px,1px);
                    }

            /* play pressionado */
            .music-player.skin-oldwinamp .play-btn.paused {
                background: linear-gradient(to bottom, #7c858c, #5f666c);
            }

            .music-player.skin-oldwinamp .progress-bar {
                height: 7px;
                background: #0f0f0f;
                border: 1px inset #69667b;
                box-shadow: inset 0 0 4px #000;
            }

            .music-player.skin-oldwinamp .progress-fill {
                background: #20ff17;
                box-shadow: none;
            }

            .music-player.skin-oldwinamp .progress-thumb {
                width: 14px;
                height: 10px;
                background: #bbb;
                border: 2px outset #fff;
                box-shadow: 0 0 0 1px #000;
                font-size: 6px;
            }

            .music-player.skin-oldwinamp .time-hud {
                color: #9bff9b;
                font-size: 10px;
                font-weight: bold;
                text-shadow: 0 0 3px rgba(155,255,155,.6);
            }

            .music-player.skin-oldwinamp img[id^="cover-"] {
                width: 140px;
                height: 140px;
                border: 2px solid #000;
                box-shadow: inset 1px 1px rgba(255,255,255,.2), inset -1px -1px rgba(0,0,0,.6), 0 4px 8px rgba(0,0,0,.7);
            }

        .fake-spectrum {
            display: none;
        }

        .music-player.skin-oldwinamp .fake-spectrum {
            display: flex;
            gap: 2px;
            position: absolute;
            left: 10px;
            bottom: 70px; /* AJUSTE FINO: distância abaixo do time-hud */

            width: 92px;
            height: 40px;
            padding: 3px;
            background: #000;
            border: 2px inset #69667b;
            box-shadow: inset 0 0 4px #000;
        }

            /* Barrinhas */
            .music-player.skin-oldwinamp .fake-spectrum span {
                flex: 1;
                align-self: flex-end;
                background: #ffd800; /* amarelo Winamp clássico */
                box-shadow: 0 0 4px rgba(255,216,0,.9);
                animation: winamp-fake-bars 0.8s infinite ease-in-out;
            }

                /* Alturas e delays diferentes (efeito vivo) */
                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(1) {
                    animation-delay: 0s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(2) {
                    animation-delay: .1s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(3) {
                    animation-delay: .2s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(4) {
                    animation-delay: .3s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(5) {
                    animation-delay: .15s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(6) {
                    animation-delay: .25s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(7) {
                    animation-delay: .05s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(8) {
                    animation-delay: .35s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(9) {
                    animation-delay: .2s;
                }

                .music-player.skin-oldwinamp .fake-spectrum span:nth-child(10) {
                    animation-delay: .3s;
                }

        /* Animação fake (não reage à música) */
        @keyframes winamp-fake-bars {
            0% {
                height: 20%;
            }

            25% {
                height: 90%;
            }

            50% {
                height: 40%;
            }

            75% {
                height: 70%;
            }

            100% {
                height: 25%;
            }
        }

        .music-select {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 2px solid #fff;
            background: rgba(0,0,0,0.4);
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
            box-shadow: 0 2px 5px rgba(0,0,0,.5);
            transition: transform 0.2s, background 0.2s;
        }

            .music-select:hover {
                transform: translateY(-50%) scale(1.1);
                background: rgba(0,0,0,0.6);
            }

            .music-select.left {
                left: 10px;
            }

            .music-select.right {
                right: 10px;
            }

        .thumb-metro {
            background: radial-gradient(circle at 20% 30%, #00ffff 0 3px, transparent 4px), radial-gradient(circle at 75% 25%, #ff00ff 0 3px, transparent 4px), radial-gradient(circle at 60% 75%, #00ff88 0 3px, transparent 4px), radial-gradient(circle at 30% 65%, #ffff00 0 3px, transparent 4px), radial-gradient(circle at 30% 40%, rgba(0,255,255,.4), transparent 45%), radial-gradient(circle at 75% 35%, rgba(255,0,255,.4), transparent 50%), #000;
            box-shadow: inset 0 0 12px rgba(0,0,0,.9), 0 0 6px rgba(0,255,255,.6);
        }

        .thumb-y2k {
            background: linear-gradient( 135deg, #ffffff 0%, #e5e5e5 15%, #bfc3c7 30%, #f7f7f7 45%, #9ea3a8 60%, #ffffff 75%, #d0d4d9 100% );
            box-shadow: inset 0 2px 3px rgba(255,255,255,.95), inset 0 -3px 5px rgba(0,0,0,.35), 0 2px 4px rgba(0,0,0,.5);
        }

        .thumb-discovery {
            background: #000000;
            border-color: rgba(180, 180, 190, .35);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -2px 4px rgba(0,0,0,.95),
            /* aurora arco-íris externa */
            0 0 10px -1px rgba(255, 0, 160, .55), 0 0 16px -2px rgba(255, 120, 0, .40), 0 0 22px -3px rgba(0, 220, 255, .40), 0 0 28px -4px rgba(130, 0, 255, .45);
        }

            /* esfera prateada central */
            .thumb-discovery::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 14px;
                height: 14px;
                border-radius: 50%;
                background: radial-gradient( circle at 35% 30%, #ffffff 0%, #dde3e8 22%, #9ba4ac 48%, #5a6268 72%, #2a2e32 100% );
                box-shadow: inset 0 -2px 4px rgba(0,0,0,.6), inset 0 1px 3px rgba(255,255,255,.9),
                /* reflexo arco-íris na borda da esfera */
                0 0 5px rgba(255, 0, 160, .7), 0 0 9px rgba(255, 120, 0, .5), 0 0 13px rgba(0, 220, 255, .5), 0 0 18px rgba(130, 0, 255, .6);
            }

            /* remove o visor Winamp */
            .thumb-discovery::after {
                display: none;
            }

        .thumb-itunes {
            background: linear-gradient( to bottom, #fdfdfd 0%, #f4f4f4 30%, #e1e1e1 60%, #cfd3d8 100% );
            border-color: #9aa0a6;
            box-shadow: inset 0 1px 0 #ffffff, inset 0 -2px 4px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.4);
        }

            /* reflexo Apple forte */
            .thumb-itunes::after {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient( to bottom, rgba(255,255,255,.75), rgba(255,255,255,.25) 45%, rgba(255,255,255,0) 70% );
                pointer-events: none;
            }

        .thumb-oldwinamp {
            background: repeating-linear-gradient( to bottom, rgba(255,255,255,.15) 0px, rgba(255,255,255,.15) 1px, transparent 2px, transparent 4px ), #2a2a3e;
            border-color: #000;
        }

        .mine-btn {
            width: 32px;
            height: 32px;
            background: linear-gradient(#fff,#d9e2f2);
            border-top: 2px solid #fff;
            border-left: 2px solid #fff;
            border-right: 2px solid #7a8aa6;
            border-bottom: 2px solid #7a8aa6;
            font-weight: bold;
            font-size: 18px;
            cursor: pointer;
        }

            .mine-btn.revealed {
                background: #d6dde8;
                border: 1px solid #7a8aa6;
                box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
                cursor: default;
            }

            .mine-btn.flag::after {
                content: "🚩";
            }

            .mine-btn.mine::after {
                content: "💣";
            }

        .hud-box {
            font-family: monospace;
            background: black;
            color: red;
            padding: 2px 6px;
            border: 1px inset #555;
            width: 48px;
            text-align: center;
        }

        .reset-btn {
            width: 34px;
            height: 34px;
            border-radius: 4px;
            background: linear-gradient(#fff,#ccc);
            border: 1px solid #555;
        }


        /* Container do Jogo - Adicionei um fundo para destacar o "vidro" das células */
        .ttt-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px; /* Aumentei um pouco o gap */
            width: 220px; /* Ajuste leve na largura */
            margin: 20px auto;
            background-color: #eef2f5; /* Um fundo suave para o tabuleiro */
            padding: 10px;
            border-radius: 15px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 20px rgba(0,0,0,0.1);
        }

        .ttt-cell {
            width: 60px;
            height: 60px;
            position: relative; /* Necessário para o efeito de brilho */
            border-radius: 12px;
            border: 1px solid #aebcd6;
            /* O Fundo Glossy Base */
            background: linear-gradient(to bottom, #ffffff 0%, #dbeeff 50%, #cbddec 51%, #eef6ff 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 38px; /* Fonte maior */
            font-weight: 900;
            cursor: pointer;
            /* Sombras complexas para dar volume 3D */
            box-shadow: inset 0 1px 0 rgba(255,255,255,1), /* Topo iluminado */
            inset 0 -1px 1px rgba(0,0,0,0.1), /* Base interna escura */
            0 4px 6px rgba(0,0,0,0.15), /* Sombra projetada leve */
            0 1px 2px rgba(0,0,0,0.2); /* Sombra de contato */

            transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
            overflow: hidden; /* Garante que o brilho não vaze */
        }

            /* O "Segredo" do Glossy: O reflexo superior */
            .ttt-cell::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 45%; /* Ocupa pouco menos da metade superior */
                background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.1) 100%);
                border-radius: 10px 10px 30px 30px; /* Curvatura no brilho para parecer esférico */
                pointer-events: none; /* Deixa o clique passar pelo brilho */
            }

            /* Efeito Hover - O botão "levanta" e brilha mais */
            .ttt-cell:hover {
                transform: translateY(-3px);
                box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 8px 15px rgba(0,0,0,0.2), 0 2px 4px rgba(0,0,0,0.1);
                filter: brightness(1.05);
            }

            /* Efeito Active - Ao clicar, o botão afunda */
            .ttt-cell:active {
                transform: translateY(1px);
                box-shadow: inset 0 2px 5px rgba(0,0,0,0.15), /* Sombra interna forte no topo */
                0 1px 2px rgba(0,0,0,0.1);
                background: #dbeeff;
            }

        /* Estilos do X */
        .ttt-x {
            z-index: 2; /* Fica acima do brilho */
            background: linear-gradient(to bottom, #1e63c7, #0f3a7a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 2px 3px rgba(30, 99, 199, 0.3)); /* Sombra colorida */
            animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico */
        }

        /* Estilos do O */
        .ttt-o {
            z-index: 2;
            background: linear-gradient(to bottom, #ff3b3b, #990000);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 2px 3px rgba(177, 0, 0, 0.3));
            animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes pop {
            from {
                transform: scale(0.5);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

/* ============================================================
   GLOSSPLAY — Video Player
   Estética: Windows Media Center + Frutiger Aero Glossy
   ============================================================ */

.glossplay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #010810;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    position: relative;
}

    /* Bokeh de fundo — camadas de luz Frutiger Aero */
    .glossplay::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(ellipse 55% 35% at 15% 85%, rgba(0,130,255,0.11) 0%, transparent 70%), radial-gradient(ellipse 45% 30% at 85% 90%, rgba(0,210,235,0.09) 0%, transparent 65%), radial-gradient(ellipse 40% 25% at 50% 8%, rgba(30,150,255,0.07) 0%, transparent 70%);
        z-index: 0;
    }

/* ── Cabeçalho ── */
.gp-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 14px;
    background: linear-gradient(180deg, rgba(0,28,78,0.97) 0%, rgba(0,14,42,0.93) 100%);
    border-bottom: 1px solid rgba(0,130,240,0.22);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 14px rgba(0,0,0,0.45);
}

.gp-logo {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #c8e8ff 0%, #60b8ff 45%, #0088dd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.gp-nowplaying {
    font-size: 11px;
    color: rgba(150,205,255,0.65);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
    border-left: 1px solid rgba(0,130,240,0.28);
}

/* ── Área de vídeo ── */
.gp-video-area {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.gp-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    z-index: 2;
}

/* Placeholder quando não há vídeo */
.gp-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 80% 60% at 50% 65%, #010d24 0%, #000508 100%);
    z-index: 2;
}

.gp-center-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gp-film-icon {
    font-size: 52px;
    background: linear-gradient(180deg, #70d0ff 0%, #0099ee 55%, #005faa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0,150,255,0.45));
}

.gp-empty-text {
    color: rgba(80,150,210,0.7);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.gp-empty-sub {
    color: rgba(60,110,170,0.45);
    font-size: 10px;
    letter-spacing: 0.05em;
}

/* ── Barra de controles — estilo WMC glassy ── */
.gp-controls {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,20,55,0.97) 0%, rgba(0,10,28,0.99) 100%);
    border-top: 1px solid rgba(0,110,220,0.28);
    box-shadow: inset 0 1px 0 rgba(70,170,255,0.12), 0 -4px 22px rgba(0,0,0,0.55);
    padding: 8px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Seek bar */
.gp-seekbar-area {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gp-seekbar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    border: 1px solid rgba(0,110,220,0.22);
    position: relative;
    cursor: pointer;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.7);
}

.gp-seekfill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066bb 0%, #00aadd 55%, #44d8ff 100%);
    border-radius: 3px;
    box-shadow: 0 0 7px rgba(0,180,255,0.55);
    transition: width 0.1s linear;
    pointer-events: none;
}

.gp-seekthumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 35% 28%, #d8f0ff 0%, #44aaf0 40%, #0060b8 100%);
    border: 1.5px solid rgba(255,255,255,0.65);
    border-radius: 50%;
    box-shadow: 0 0 9px rgba(0,150,255,0.75), inset 0 1px 0 rgba(255,255,255,0.5);
    cursor: pointer;
    pointer-events: none;
}

.gp-time {
    display: flex;
    gap: 4px;
    font-size: 10px;
    color: rgba(130,195,255,0.65);
    min-width: 72px;
    justify-content: space-between;
    font-variant-numeric: tabular-nums;
}

/* Fila de botões */
.gp-btnrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Botão glossy base — inspirado WMC */
.gp-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 49%, rgba(0,55,120,0.35) 50%, rgba(0,75,160,0.22) 100%);
    border: 1px solid rgba(70,155,255,0.22);
    color: rgba(155,210,255,0.88);
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 3px 7px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.35);
    transition: all 0.14s ease;
    overflow: hidden;
    outline: none;
}

    /* Brilho reflexo glossy na metade superior */
    .gp-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 8%;
        right: 8%;
        height: 48%;
        background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
        border-radius: 50% 50% 0 0;
        pointer-events: none;
    }

    .gp-btn:hover {
        background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.08) 49%, rgba(0,80,165,0.55) 50%, rgba(0,105,210,0.38) 100%);
        border-color: rgba(70,185,255,0.5);
        color: #fff;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 3px 9px rgba(0,0,0,0.55), 0 0 14px rgba(0,145,255,0.22);
    }

    .gp-btn:active {
        transform: scale(0.93);
        box-shadow: inset 0 2px 5px rgba(0,0,0,0.55);
    }

/* Play — botão principal maior */
.gp-playbtn {
    width: 44px;
    height: 44px;
    font-size: 15px;
    background: linear-gradient(180deg, rgba(90,200,255,0.28) 0%, rgba(0,145,225,0.18) 49%, rgba(0,58,140,0.55) 50%, rgba(0,80,185,0.42) 100%);
    border-color: rgba(0,175,255,0.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 0 18px rgba(0,165,255,0.28), 0 5px 12px rgba(0,0,0,0.55);
}

    .gp-playbtn:hover {
        background: linear-gradient(180deg, rgba(130,225,255,0.38) 0%, rgba(0,185,245,0.22) 49%, rgba(0,85,180,0.68) 50%, rgba(0,120,230,0.52) 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 0 26px rgba(0,185,255,0.48), 0 5px 14px rgba(0,0,0,0.6);
    }

/* Volume */
.gp-vol-area {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.gp-volich {
    color: rgba(90,170,255,0.55);
    font-size: 10px;
}

.gp-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 62px;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    border: 1px solid rgba(0,110,220,0.18);
    outline: none;
    cursor: pointer;
}

    .gp-volume::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 11px;
        height: 11px;
        background: radial-gradient(circle at 33% 28%, #bbdeff, #0077cc);
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.55);
        box-shadow: 0 0 7px rgba(0,145,255,0.6);
    }

    .gp-volume::-moz-range-thumb {
        width: 11px;
        height: 11px;
        background: radial-gradient(circle at 33% 28%, #bbdeff, #0077cc);
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.55);
        box-shadow: 0 0 7px rgba(0,145,255,0.6);
    }

.gp-fs-btn {
    margin-left: 4px;
}

/* ── GlossPlay: menu de skins ── */
.gp-skins-wrap {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
}

.gp-skin-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    color: rgba(160,210,255,0.65);
    font-size: 10px;
    font-family: 'Segoe UI', sans-serif;
    padding: 2px 8px;
    cursor: pointer;
    transition: background 0.14s;
    white-space: nowrap;
}

    .gp-skin-btn:hover {
        background: rgba(255,255,255,0.12);
        color: #fff;
    }

.gp-skins-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    flex-direction: column;
    gap: 3px;
    background: rgba(8,12,24,0.97);
    border: 1px solid rgba(70,150,255,0.22);
    border-radius: 7px;
    padding: 6px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.7);
    z-index: 99;
    min-width: 110px;
}

    .gp-skins-menu button {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px 8px;
        border: none;
        border-radius: 5px;
        background: transparent;
        color: rgba(150,200,255,0.75);
        font-size: 11px;
        font-family: 'Segoe UI', sans-serif;
        cursor: pointer;
        transition: background 0.12s;
        text-align: left;
    }

        .gp-skins-menu button:hover {
            background: rgba(0,130,255,0.18);
            color: #fff;
        }

.gp-skin-thumb {
    width: 26px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
    display: inline-block;
}

.gp-thumb-default {
    background: linear-gradient(135deg, #010810 40%, #0066bb 100%);
}

.gp-thumb-cinema {
    background: linear-gradient(135deg, #08030a 30%, #8a3010 100%);
}

/* ============================================================
   GLOSSPLAY — Skin: Grand Cinema
   Sobrescreve apenas os tokens visuais, estrutura permanece
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Bebas+Neue&display=swap');

/* ══════════════════════════════════════════════
   SKIN — GP CINEMA  ·  Hollywood Clássico
   Mahogany · Veludo · Ouro Âmbar · Grão de Filme
   ══════════════════════════════════════════════ */

.glossplay.skin-gp-cinema {
    background: #0d0406;
    font-family: 'Cormorant Garamond', Georgia, serif;
    position: relative;
    filter: sepia(0.55) contrast(1.05) brightness(0.97);
}

    /* ── Grão cinematográfico animado (camada principal) ── */
    .glossplay.skin-gp-cinema::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 20;
        opacity: 0.28;
        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.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.65' numOctaves='3' seed='42' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
        background-size: 180px 180px, 210px 210px;
        mix-blend-mode: screen;
        animation: grain-shift 0.12s steps(1) infinite;
        filter: drop-shadow(0px 0px 0px #fff1);
    }

@keyframes grain-shift {
    0%   { background-position: 0 0, 0 0; }
    10%  { background-position: -5% -10%, 3% 7%; }
    20%  { background-position: -15% 5%, -8% -12%; }
    30%  { background-position: 7% -20%, 12% 5%; }
    40%  { background-position: -5% 15%, -3% -18%; }
    50%  { background-position: -20% 5%, 15% 10%; }
    60%  { background-position: 15% 0, -10% 3%; }
    70%  { background-position: 0 10%, 6% -8%; }
    80%  { background-position: 3% 35%, -14% 14%; }
    90%  { background-position: -10% 10%, 9% -5%; }
    100% { background-position: 0 0, 0 0; }
}

/* ── Film scratches (linhas verticais animadas) ── */
.glossplay.skin-gp-cinema .gp-video-area {
    position: relative;
}

.glossplay.skin-gp-cinema .gp-video-area > * {
    position: relative;
    z-index: 1;
}

.glossplay.skin-gp-cinema .gp-video-area::before,
.glossplay.skin-gp-cinema .gp-video-area::after {
    z-index: 10;
}

/* Scratch layer A — linhas finas se movendo horizontalmente */
.glossplay.skin-gp-cinema .gp-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 21;
    width: 120%;
    height: 100%;
    opacity: 0.45;
    background: repeating-linear-gradient(
        90deg,
        rgba(0,0,0,0.06) 0px,
        rgba(0,0,0,0.06) 2px,
        transparent 2px,
        transparent 37px
    );
    animation: film-scratch-a 0.45s steps(1) infinite;
    mix-blend-mode: multiply;
}

/* Scratch layer B — linha vertical esporádica */
.glossplay.skin-gp-cinema .gp-controls::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 21;
    width: 120%;
    height: 300%;
    top: -200%;
    opacity: 0.30;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 1px,
        transparent 1px,
        transparent 52px
    );
    animation: film-scratch-b 2s infinite;
    mix-blend-mode: screen;
}

@keyframes film-scratch-a {
    0%,  100% { transform: translateX(0);    opacity: 0.45; }
    10%        { transform: translateX(-1%);  }
    20%        { transform: translateX(1%);   }
    30%        { transform: translateX(-2%);  opacity: 0.65; }
    40%        { transform: translateX(3%);   }
    50%        { transform: translateX(-3%);  opacity: 0.45; }
    60%        { transform: translateX(8%);   }
    70%        { transform: translateX(-3%);  }
    80%        { transform: translateX(10%);  opacity: 0.22; }
    90%        { transform: translateX(-2%);  }
}

@keyframes film-scratch-b {
    0%   { transform: translateX(0);    opacity: 0.30; }
    10%  { transform: translateX(-1%);  }
    30%  { transform: translateX(-2%);  }
    50%  { transform: translateX(-3%);  opacity: 0.50; }
    60%  { transform: translateX(8%);   }
    80%  { transform: translateX(10%);  opacity: 0.18; }
    90%  { transform: translateX(20%);  }
    100% { transform: translateX(30%);  opacity: 0.10; }
}



/* ── Luz ambiente: lustre central + apliques laterais ── */
.glossplay.skin-gp-cinema::before {
    background:
    /* Lustre central no topo */
    radial-gradient(ellipse 55% 22% at 50% 0%, rgba(210,155,50,0.11) 0%, transparent 70%),
    /* Apliques laterais quentes */
    radial-gradient(ellipse 30% 45% at 4% 55%, rgba(200,100,30,0.13) 0%, transparent 65%), radial-gradient(ellipse 30% 45% at 96% 55%, rgba(200,100,30,0.13) 0%, transparent 65%),
    /* Glow da tela na base */
    radial-gradient(ellipse 70% 25% at 50% 100%, rgba(220,165,60,0.09) 0%, transparent 65%),
    /* Vinheta de canto escura */
    radial-gradient(ellipse 50% 50% at 0% 0%, rgba(80,10,5,0.30) 0%, transparent 55%), radial-gradient(ellipse 50% 50% at 100% 0%, rgba(80,10,5,0.30) 0%, transparent 55%);
}

/* ══ CABEÇALHO ══════════════════════════════════ */
.glossplay.skin-gp-cinema .gp-header {
    background: linear-gradient(180deg, #1c0608 0%, #150406 60%, #0f0304 100%);
    border-bottom: 1px solid rgba(160,80,20,0.28);
    box-shadow: 0 1px 0 rgba(220,165,55,0.12), 0 6px 24px rgba(0,0,0,0.80);
    position: relative;
}

    /* Friso dourado decorativo no topo */
    .glossplay.skin-gp-cinema .gp-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(160,100,30,0.4) 8%, rgba(210,165,55,0.75) 22%, rgba(240,200,80,0.95) 50%, rgba(210,165,55,0.75) 78%, rgba(160,100,30,0.4) 92%, transparent 100%);
    }

    /* Friso inferior mais sutil */
    .glossplay.skin-gp-cinema .gp-header::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(180,110,30,0.35) 30%, rgba(200,140,40,0.55) 50%, rgba(180,110,30,0.35) 70%, transparent 100%);
    }

/* ── Logo ── */
.glossplay.skin-gp-cinema .gp-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #faeea0 0%, #e8c848 25%, #c08828 55%, #7a5010 80%, #c89030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 8px rgba(210,150,30,0.50));
}

.glossplay.skin-gp-cinema .gp-nowplaying {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 12px;
    color: rgba(200,148,75,0.50);
    border-left: 1px solid rgba(170,95,28,0.30);
}

.glossplay.skin-gp-cinema .gp-skin-btn {
    border-color: rgba(160,90,25,0.28);
    color: rgba(195,145,55,0.60);
}

    .glossplay.skin-gp-cinema .gp-skin-btn:hover {
        color: #f5d860;
        text-shadow: 0 0 8px rgba(230,180,50,0.5);
    }

.glossplay.skin-gp-cinema .gp-skins-menu {
    background: rgba(8,2,2,0.97);
    border-color: rgba(150,85,22,0.38);
    box-shadow: 0 8px 32px rgba(0,0,0,0.85), inset 0 1px 0 rgba(200,145,40,0.12);
}

    .glossplay.skin-gp-cinema .gp-skins-menu button {
        color: rgba(195,148,65,0.72);
        font-family: 'Cormorant Garamond', Georgia, serif;
        letter-spacing: 0.04em;
    }

        .glossplay.skin-gp-cinema .gp-skins-menu button:hover {
            background: rgba(140,65,15,0.28);
            color: #f0d060;
        }

/* ══ ÁREA DE VÍDEO — CORTINAS ══════════════════ */
/* Cortina esquerda — veludo com dobras */
.glossplay.skin-gp-cinema .gp-video-area::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 28px;
    z-index: 2;
    pointer-events: none;
    background:
    /* Dobras de veludo */
    repeating-linear-gradient(180deg, transparent 0px, rgba(0,0,0,0.08) 8px, transparent 16px),
    /* Gradiente de cortina */
    linear-gradient(90deg, rgba(95,8,8,0.90) 0%, rgba(75,5,5,0.65) 45%, rgba(50,3,3,0.30) 75%, transparent 100%);
}

/* Cortina direita */
.glossplay.skin-gp-cinema .gp-video-area::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 28px;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(180deg, transparent 0px, rgba(0,0,0,0.08) 8px, transparent 16px), linear-gradient(270deg, rgba(95,8,8,0.90) 0%, rgba(75,5,5,0.65) 45%, rgba(50,3,3,0.30) 75%, transparent 100%);
}

/* ══ PLACEHOLDER ════════════════════════════════ */
.glossplay.skin-gp-cinema .gp-placeholder {
    background: radial-gradient(ellipse 80% 60% at 50% 45%, #1e0d05 0%, #0a0202 75%, #050101 100%);
}

    /* Moldura dourada da tela */
    .glossplay.skin-gp-cinema .gp-placeholder::before {
        content: '';
        position: absolute;
        inset: 12px 28px;
        border: 1px solid rgba(175,130,55,0.20);
        border-radius: 1px;
        box-shadow: inset 0 0 60px rgba(0,0,0,0.85), inset 0 0 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(100,55,15,0.12), 0 0 40px rgba(0,0,0,0.70);
        pointer-events: none;
    }

/* Feixe de luz do projetor */
.glossplay.skin-gp-cinema .gp-center-logo::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 70px;
    background: linear-gradient(180deg, transparent 0%, rgba(220,185,80,0.15) 40%, rgba(240,200,90,0.45) 100%);
    filter: blur(1px);
}

.glossplay.skin-gp-cinema .gp-film-icon {
    background: linear-gradient(160deg, #faeaa8 0%, #d49828 40%, #8a5810 75%, #c8900a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 28px rgba(210,145,30,0.55)) drop-shadow(0 2px 4px rgba(0,0,0,0.8));
    font-size: 2.4em !important;
}

.glossplay.skin-gp-cinema .gp-empty-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    color: rgba(200,150,60,0.60);
    letter-spacing: 0.30em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(200,140,30,0.35);
}

.glossplay.skin-gp-cinema .gp-empty-sub {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 12px;
    color: rgba(145,95,45,0.38);
    letter-spacing: 0.04em;
}

/* ══ CONTROLES ══════════════════════════════════ */
.glossplay.skin-gp-cinema .gp-controls {
    background: linear-gradient(180deg, #160608 0%, #0e0304 50%, #0a0202 100%);
    border-top: 1px solid rgba(140,60,15,0.28);
    box-shadow: inset 0 1px 0 rgba(210,155,50,0.10), 0 -8px 32px rgba(0,0,0,0.80);
    position: relative;
}

    /* Friso dourado no topo dos controles */
    .glossplay.skin-gp-cinema .gp-controls::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(180,120,35,0.40) 20%, rgba(220,170,55,0.70) 50%, rgba(180,120,35,0.40) 80%, transparent 100%);
    }

/* ══ SEEK BAR — TIRA DE FILME ════════════════════ */
.glossplay.skin-gp-cinema .gp-seekbar {
    background: rgba(30,8,4,0.90);
    border: 1px solid rgba(120,65,15,0.30);
    border-radius: 2px;
    overflow: visible;
    position: relative;
}

    /* Perfurações da tira de filme */
    .glossplay.skin-gp-cinema .gp-seekbar::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(90deg, transparent 0px, transparent 12px, rgba(130,70,18,0.22) 12px, rgba(130,70,18,0.22) 13px, transparent 13px, transparent 25px);
        border-radius: 2px;
        pointer-events: none;
        z-index: 1;
    }

    /* Linha dourada no topo da seekbar */
    .glossplay.skin-gp-cinema .gp-seekbar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: rgba(180,120,35,0.25);
        border-radius: 2px 2px 0 0;
    }

.glossplay.skin-gp-cinema .gp-seekfill {
    background: linear-gradient(90deg, #6a2808 0%, #b05818 30%, #d48828 60%, #f0b840 82%, #ffd060 100%);
    box-shadow: 0 0 10px rgba(220,155,40,0.60), 0 0 3px rgba(240,190,60,0.40);
    border-radius: 2px;
    position: relative;
    z-index: 2;
}

/* Thumb — lente de projetor */
.glossplay.skin-gp-cinema .gp-seekthumb {
    background: radial-gradient(circle at 35% 28%, #fdf0b0 0%, #e8c040 25%, #c08020 55%, #6a3e08 100%);
    border: 1.5px solid rgba(245,200,80,0.85);
    box-shadow: 0 0 14px rgba(220,155,35,0.80), 0 0 4px rgba(240,195,60,0.50), inset 0 1px 0 rgba(255,240,160,0.55);
    z-index: 3;
}

.glossplay.skin-gp-cinema .gp-time {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(175,120,48,0.55);
}

/* ══ BOTÕES — VIDRO DE ÂMBAR POLIDO ═════════════ */
.glossplay.skin-gp-cinema .gp-btn {
    background: linear-gradient(170deg, rgba(110,48,12,0.92) 0%, rgba(70,28,6,0.88) 47%, rgba(35,12,3,0.95) 50%, rgba(65,26,7,0.88) 100%);
    border: 1px solid rgba(175,108,32,0.42);
    color: rgba(220,170,75,0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    box-shadow: inset 0 1px 0 rgba(240,190,70,0.22), inset 0 -1px 0 rgba(0,0,0,0.65), 0 2px 6px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,0,0,0.55);
    transition: all 0.18s ease;
}

    /* Reflexo glossy no topo */
    .glossplay.skin-gp-cinema .gp-btn::before {
        background: linear-gradient(180deg, rgba(255,220,120,0.22) 0%, rgba(210,155,50,0.08) 45%, rgba(0,0,0,0.00) 100%);
    }

    .glossplay.skin-gp-cinema .gp-btn:hover {
        background: linear-gradient(170deg, rgba(155,72,18,0.96) 0%, rgba(105,48,10,0.92) 47%, rgba(55,20,4,0.97) 50%, rgba(100,45,10,0.92) 100%);
        border-color: rgba(220,162,52,0.70);
        color: #f5d865;
        text-shadow: 0 0 8px rgba(230,175,50,0.55);
        box-shadow: inset 0 1px 0 rgba(248,205,85,0.32), 0 3px 10px rgba(0,0,0,0.72), 0 0 18px rgba(200,128,28,0.28);
    }

/* ── Play — lente circular ── */
.glossplay.skin-gp-cinema .gp-playbtn {
    width: 46px;
    height: 46px;
    font-size: 16px;
    background: radial-gradient(circle at 38% 32%, rgba(175,80,20,0.85) 0%, rgba(120,48,10,0.78) 40%, rgba(55,18,4,0.95) 100%);
    border: 1.5px solid rgba(215,138,42,0.58);
    box-shadow: inset 0 1px 0 rgba(248,200,80,0.30), inset 0 -1px 0 rgba(0,0,0,0.55), 0 0 24px rgba(200,115,25,0.35), 0 5px 16px rgba(0,0,0,0.72);
    color: rgba(240,195,80,0.90);
}

    .glossplay.skin-gp-cinema .gp-playbtn::before {
        background: radial-gradient(ellipse at 40% 20%, rgba(255,225,130,0.30) 0%, rgba(210,155,50,0.10) 45%, rgba(0,0,0,0.00) 100%);
    }

    .glossplay.skin-gp-cinema .gp-playbtn:hover {
        background: radial-gradient(circle at 38% 32%, rgba(215,105,28,0.95) 0%, rgba(160,65,15,0.88) 40%, rgba(75,25,5,0.98) 100%);
        border-color: rgba(248,178,58,0.80);
        color: #fce870;
        text-shadow: 0 0 12px rgba(240,190,60,0.75);
        box-shadow: inset 0 1px 0 rgba(255,220,100,0.40), 0 0 36px rgba(220,140,35,0.55), 0 5px 18px rgba(0,0,0,0.78);
    }

/* ══ VOLUME ══════════════════════════════════════ */
.glossplay.skin-gp-cinema .gp-volich {
    color: rgba(170,115,42,0.52);
}

.glossplay.skin-gp-cinema .gp-volume {
    border-color: rgba(140,80,18,0.22);
}

    .glossplay.skin-gp-cinema .gp-volume::-webkit-slider-thumb {
        background: radial-gradient(circle at 33% 28%, #faeaa0, #c08022);
        border: 1px solid rgba(240,195,75,0.68);
        box-shadow: 0 0 10px rgba(210,145,32,0.65), inset 0 1px 0 rgba(255,235,140,0.4);
    }

    .glossplay.skin-gp-cinema .gp-volume::-moz-range-thumb {
        background: radial-gradient(circle at 33% 28%, #faeaa0, #c08022);
        border: 1px solid rgba(240,195,75,0.68);
        box-shadow: 0 0 10px rgba(210,145,32,0.65);
    }

/* ── Thumbnail no menu ── */
.gp-thumb-aquarium {
    background: linear-gradient(135deg, #021a2e 20%, #0a7a6a 100%);
}

/* ============================================================
   GLOSSPLAY — Skin: Aquarium
   Estética: Frutiger Aero subaquático — vidro, água e luz
   ============================================================ */

.glossplay.skin-gp-aquarium {
    background: #010f18;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

    /* Caustics — reflexos de luz ondulando pelo fundo */
    .glossplay.skin-gp-aquarium::before {
        background: radial-gradient(ellipse 70% 40% at 20% 30%, rgba(0,210,180,0.07) 0%, transparent 65%), radial-gradient(ellipse 55% 35% at 78% 18%, rgba(0,175,240,0.09) 0%, transparent 60%), radial-gradient(ellipse 60% 30% at 50% 85%, rgba(0,150,200,0.07) 0%, transparent 65%), radial-gradient(ellipse 40% 50% at 8% 70%, rgba(0,120,160,0.06) 0%, transparent 60%), radial-gradient(ellipse 45% 40% at 90% 65%, rgba(0,200,170,0.06) 0%, transparent 60%);
    }

    /* Shimmer de superfície — faixa de luz ondulada no topo */
    .glossplay.skin-gp-aquarium::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        pointer-events: none;
        z-index: 11;
        background: linear-gradient(90deg, transparent 0%, rgba(120,240,220,0.0) 8%, rgba(180,255,240,0.55) 22%, rgba(100,230,210,0.30) 38%, rgba(200,255,245,0.65) 52%, rgba(120,230,215,0.35) 67%, rgba(160,245,230,0.50) 80%, rgba(100,200,190,0.0) 92%, transparent 100%);
        animation: gp-shimmer 5s ease-in-out infinite alternate;
    }

@keyframes gp-shimmer {
    0% {
        opacity: 0.6;
        transform: scaleX(0.95) translateX(-2%);
    }

    100% {
        opacity: 1.0;
        transform: scaleX(1.02) translateX(2%);
    }
}

/* ── Cabeçalho ── */
.glossplay.skin-gp-aquarium .gp-header {
    background: linear-gradient(180deg, rgba(0,30,50,0.97) 0%, rgba(0,18,32,0.95) 100%);
    border-bottom: 1px solid rgba(0,190,170,0.22);
    box-shadow: 0 1px 0 rgba(120,240,220,0.10), 0 4px 18px rgba(0,0,0,0.55);
}

.glossplay.skin-gp-aquarium .gp-logo {
    background: linear-gradient(180deg, #aaf5e8 0%, #28d4b8 40%, #00a090 80%, #20c8b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.16em;
    filter: drop-shadow(0 1px 8px rgba(0,210,180,0.40));
}

.glossplay.skin-gp-aquarium .gp-nowplaying {
    color: rgba(100,220,200,0.55);
    font-style: italic;
    border-left: 1px solid rgba(0,190,170,0.25);
}

.glossplay.skin-gp-aquarium .gp-skin-btn {
    border-color: rgba(0,190,160,0.28);
    color: rgba(80,215,195,0.65);
}

    .glossplay.skin-gp-aquarium .gp-skin-btn:hover {
        background: rgba(0,190,160,0.12);
        color: #aaf5e8;
    }

.glossplay.skin-gp-aquarium .gp-skins-menu {
    background: rgba(0,14,24,0.97);
    border-color: rgba(0,190,160,0.28);
}

    .glossplay.skin-gp-aquarium .gp-skins-menu button {
        color: rgba(80,215,195,0.75);
    }

        .glossplay.skin-gp-aquarium .gp-skins-menu button:hover {
            background: rgba(0,190,160,0.18);
            color: #aaf5e8;
        }

/* ── Área de vídeo ── */

/* Bolhas animadas — pseudo-elemento da área de vídeo */
.glossplay.skin-gp-aquarium .gp-video-area {
    background: radial-gradient(ellipse 90% 70% at 50% 80%, #021828 0%, #010c14 100%);
}

.glossplay.skin-gp-aquarium .gp-placeholder {
    background: radial-gradient(ellipse 80% 65% at 50% 60%, #021e30 0%, #010c18 100%);
}

    /* Moldura de vidro de aquário */
    .glossplay.skin-gp-aquarium .gp-placeholder::before {
        content: '';
        position: absolute;
        inset: 8px 14px;
        border-radius: 4px;
        border: 1px solid rgba(0,200,175,0.14);
        box-shadow: inset 0 0 50px rgba(0,150,180,0.06), inset 0 0 4px rgba(0,210,190,0.08), 0 0 30px rgba(0,0,0,0.5);
        pointer-events: none;
    }

/* Feixe de luz descendo — como luz solar na água */
.glossplay.skin-gp-aquarium .gp-center-logo::before {
    content: '';
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 65px;
    background: linear-gradient(180deg, rgba(120,240,210,0.12) 0%, rgba(0,200,175,0.06) 60%, transparent 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

.glossplay.skin-gp-aquarium .gp-film-icon {
    background: linear-gradient(180deg, #b8f5ea 0%, #20d4b5 45%, #008878 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0,200,175,0.50));
}

.glossplay.skin-gp-aquarium .gp-empty-text {
    color: rgba(60,210,185,0.65);
    letter-spacing: 0.06em;
}

.glossplay.skin-gp-aquarium .gp-empty-sub {
    color: rgba(40,160,145,0.42);
}

/* ── Controles ── */
.glossplay.skin-gp-aquarium .gp-controls {
    background: linear-gradient(180deg, rgba(0,24,38,0.98) 0%, rgba(0,14,22,0.99) 100%);
    border-top: 1px solid rgba(0,190,165,0.22);
    box-shadow: inset 0 1px 0 rgba(0,220,195,0.10), 0 -4px 22px rgba(0,0,0,0.6);
}

    /* Fio de água — linha brilhante no topo dos controles */
    .glossplay.skin-gp-aquarium .gp-controls::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(0,200,175,0.35) 20%, rgba(80,240,215,0.70) 50%, rgba(0,200,175,0.35) 80%, transparent 100%);
    }

/* ── Seek bar ── */
.glossplay.skin-gp-aquarium .gp-seekbar {
    border-color: rgba(0,175,155,0.22);
    background: rgba(0,255,220,0.04);
}

.glossplay.skin-gp-aquarium .gp-seekfill {
    background: linear-gradient(90deg, #005a70 0%, #00a898 45%, #20d8c0 80%, #70f0da 100%);
    box-shadow: 0 0 8px rgba(0,210,185,0.55);
}

.glossplay.skin-gp-aquarium .gp-seekthumb {
    background: radial-gradient(circle at 33% 28%, #d0fff8 0%, #20c8b0 45%, #006858 100%);
    border: 1.5px solid rgba(100,245,225,0.75);
    box-shadow: 0 0 10px rgba(0,210,185,0.70), inset 0 1px 0 rgba(200,255,245,0.55);
}

.glossplay.skin-gp-aquarium .gp-time {
    color: rgba(60,200,180,0.55);
}

/* ── Botões — pedras de vidro polidas ── */
.glossplay.skin-gp-aquarium .gp-btn {
    background: linear-gradient(175deg, rgba(0,180,160,0.75) 0%, rgba(0,140,130,0.60) 48%, rgba(0,60,70,0.90) 50%, rgba(0,110,105,0.65) 100%);
    border: 1px solid rgba(0,230,210,0.55);
    color: rgba(160,255,240,0.95);
    text-shadow: 0 0 8px rgba(0,230,210,0.6);
    box-shadow: inset 0 1px 0 rgba(200,255,245,0.45), /* realce topo */
    inset 0 -1px 0 rgba(0,0,0,0.50), 0 3px 8px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.30), 0 0 12px rgba(0,210,185,0.15); /* halo teal suave */
}

    /* Reflexo branco-teal na metade superior — estilo "bolha iOS" */
    .glossplay.skin-gp-aquarium .gp-btn::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.40) 0%, rgba(180,255,245,0.18) 40%, rgba(0,210,190,0.00) 100%);
    }

    .glossplay.skin-gp-aquarium .gp-btn:hover {
        background: linear-gradient(175deg, rgba(0,220,195,0.85) 0%, rgba(0,170,155,0.70) 48%, rgba(0,70,80,0.95) 50%, rgba(0,140,130,0.75) 100%);
        border-color: rgba(80,255,230,0.75);
        color: #ccfff6;
        text-shadow: 0 0 10px rgba(0,240,215,0.8);
        box-shadow: inset 0 1px 0 rgba(220,255,248,0.55), 0 3px 10px rgba(0,0,0,0.60), 0 0 22px rgba(0,220,195,0.40), 0 0 40px rgba(0,200,175,0.18);
    }

/* ── Play — bolha grande ── */
.glossplay.skin-gp-aquarium .gp-playbtn {
    width: 46px;
    height: 46px;
    font-size: 16px;
    background: linear-gradient(175deg, rgba(0,200,180,0.70) 0%, rgba(0,150,140,0.55) 48%, rgba(0,50,65,0.88) 50%, rgba(0,120,115,0.65) 100%);
    border-color: rgba(0,235,210,0.60);
    box-shadow: inset 0 1px 0 rgba(200,255,245,0.45), 0 0 28px rgba(0,210,185,0.40), 0 6px 14px rgba(0,0,0,0.60);
}

    .glossplay.skin-gp-aquarium .gp-playbtn::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(160,255,240,0.15) 45%, rgba(0,210,190,0.00) 100%);
    }

    .glossplay.skin-gp-aquarium .gp-playbtn:hover {
        background: linear-gradient(175deg, rgba(0,240,215,0.80) 0%, rgba(0,185,170,0.65) 48%, rgba(0,65,80,0.95) 50%, rgba(0,155,145,0.72) 100%);
        border-color: rgba(120,255,235,0.80);
        color: #e0fff9;
        text-shadow: 0 0 12px rgba(0,245,220,0.9);
        box-shadow: inset 0 1px 0 rgba(230,255,250,0.55), 0 0 38px rgba(0,230,205,0.58), 0 6px 18px rgba(0,0,0,0.65);
    }

/* ── Volume ── */
.glossplay.skin-gp-aquarium .gp-volich {
    color: rgba(40,200,180,0.50);
}

.glossplay.skin-gp-aquarium .gp-volume {
    border-color: rgba(0,175,155,0.20);
    background: rgba(0,220,195,0.05);
}

    .glossplay.skin-gp-aquarium .gp-volume::-webkit-slider-thumb {
        background: radial-gradient(circle at 33% 28%, #c0f5ea, #00a090);
        border: 1px solid rgba(100,240,220,0.60);
        box-shadow: 0 0 8px rgba(0,200,175,0.60);
    }

    .glossplay.skin-gp-aquarium .gp-volume::-moz-range-thumb {
        background: radial-gradient(circle at 33% 28%, #c0f5ea, #00a090);
        border: 1px solid rgba(100,240,220,0.60);
        box-shadow: 0 0 8px rgba(0,200,175,0.60);
    }

/* ── Thumbnail no menu ── */
.gp-thumb-country {
    background: linear-gradient(135deg, #061208 25%, #1a8a1e 80%, #0d4f10 100%);
    border-color: rgba(40,180,50,0.30) !important;
}

/* ============================================================
   GLOSSPLAY — Skin: Country  v2
   Estética: Donkey Kong Country (SNES 1994) — Kongo Jungle
   Céu crepuscular púrpura-âmbar · Floresta ACM pré-renderizada
   Verde profundo com brilho interno · Atmosfera de selva noturna
   ============================================================ */

.glossplay.skin-gp-country {
    background: #0a1808;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

    /* ── Fundo: céu crepuscular DKC com silhueta de floresta ── */
    .glossplay.skin-gp-country::before {
        background:
        /* Estrelas finas — pontos de luz */
        radial-gradient(circle 1px at 8% 12%, rgba(255,240,200,0.55) 0%, transparent 100%), radial-gradient(circle 1px at 19% 7%, rgba(255,245,220,0.45) 0%, transparent 100%), radial-gradient(circle 1px at 33% 14%, rgba(200,220,255,0.40) 0%, transparent 100%), radial-gradient(circle 1px at 51% 5%, rgba(255,240,200,0.50) 0%, transparent 100%), radial-gradient(circle 1px at 67% 10%, rgba(200,220,255,0.45) 0%, transparent 100%), radial-gradient(circle 1px at 78% 4%, rgba(255,245,220,0.40) 0%, transparent 100%), radial-gradient(circle 1px at 91% 16%, rgba(255,240,200,0.35) 0%, transparent 100%), radial-gradient(circle 1px at 44% 20%, rgba(200,220,255,0.30) 0%, transparent 100%),
        /* Brilho de horizonte âmbar-dourado (pôr do sol DKC) */
        radial-gradient(ellipse 100% 22% at 50% 52%, rgba(232,184,48,0.18) 0%, rgba(180,100,10,0.10) 45%, transparent 70%), radial-gradient(ellipse 80% 14% at 50% 50%, rgba(200,128,10,0.22) 0%, transparent 60%),
        /* Glow laranja-mel no horizonte */
        radial-gradient(ellipse 60% 8% at 50% 50%, rgba(255,180,20,0.28) 0%, transparent 55%),
        /* Céu: gradiente do DKC — índigo profundo → roxo → azul-acinzentado → dourado */
        linear-gradient(180deg, #080520 0%, #120828 8%, #1a0e38 16%, #1e1242 22%, #1c1640 28%, #1a1c38 34%, #162030 40%, #142818 47%, #8c7022 50%, /* horizonte âmbar */
        #c89028 51%, /* fio de ouro */
        #6a4a10 52%, #1a1a08 56%, #0e1808 62%, #081208 100% );
        opacity: 1;
    }

    /* ── Silhueta de árvores DKC no fundo + vaga-lumes ── */
    .glossplay.skin-gp-country::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 10;
        background:
        /* Vaga-lumes flutuantes */
        radial-gradient(circle 3px at 12% 58%, rgba(80,255,60,0.22) 0%, transparent 100%), radial-gradient(circle 2px at 28% 52%, rgba(140,255,80,0.16) 0%, transparent 100%), radial-gradient(circle 2px at 44% 65%, rgba(60,220,50,0.14) 0%, transparent 100%), radial-gradient(circle 3px at 66% 60%, rgba(100,255,70,0.18) 0%, transparent 100%), radial-gradient(circle 2px at 82% 55%, rgba(80,255,60,0.14) 0%, transparent 100%), radial-gradient(circle 2px at 93% 68%, rgba(120,255,90,0.12) 0%, transparent 100%), radial-gradient(circle 2px at 37% 72%, rgba(60,220,50,0.10) 0%, transparent 100%),
        /* Névoa de chão — bioluminescência verde-musgo suave */
        radial-gradient(ellipse 80% 18% at 50% 100%, rgba(10,100,8,0.55) 0%, transparent 70%), radial-gradient(ellipse 60% 12% at 20% 100%, rgba(8,80,6,0.40) 0%, transparent 65%), radial-gradient(ellipse 60% 12% at 80% 100%, rgba(8,80,6,0.40) 0%, transparent 65%);
        animation: gp-firefly 8s ease-in-out infinite alternate;
    }

@keyframes gp-firefly {
    0% {
        opacity: 0.45;
        transform: translate(0px, 0px);
    }

    25% {
        opacity: 0.80;
        transform: translate(2px, -4px);
    }

    50% {
        opacity: 0.60;
        transform: translate(-3px, 2px);
    }

    75% {
        opacity: 0.90;
        transform: translate(1px, -2px);
    }

    100% {
        opacity: 1.00;
        transform: translate(-1px, 3px);
    }
}

/* ── Cabeçalho ── */
.glossplay.skin-gp-country .gp-header {
    background: linear-gradient(180deg, rgba(8,4,24,0.99) 0%, rgba(10,6,28,0.97) 50%, rgba(6,14,6,0.98) 100% );
    border-bottom: 1px solid rgba(36,160,28,0.22);
    box-shadow: 0 1px 0 rgba(80,230,50,0.06), 0 4px 24px rgba(0,0,0,0.80), inset 0 -1px 0 rgba(0,60,0,0.30);
    position: relative;
}

    /* Fio de luz — horizonte âmbar no topo do header */
    .glossplay.skin-gp-country .gp-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(100,60,10,0.35) 10%, rgba(180,120,20,0.65) 28%, rgba(80,220,50,0.75) 50%, rgba(180,120,20,0.65) 72%, rgba(100,60,10,0.35) 90%, transparent 100% );
    }

.glossplay.skin-gp-country .gp-logo {
    background: linear-gradient(180deg, #e8ffcc 0%, #a0f870 18%, #38dc28 40%, #1a9010 68%, #28b820 88%, #60f040 100% );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.18em;
    filter: drop-shadow(0 0 6px rgba(50,220,30,0.50)) drop-shadow(0 2px 12px rgba(20,160,10,0.35));
}

.glossplay.skin-gp-country .gp-nowplaying {
    color: rgba(80,200,60,0.50);
    font-style: italic;
    border-left: 1px solid rgba(30,150,22,0.25);
}

.glossplay.skin-gp-country .gp-skin-btn {
    border-color: rgba(30,140,22,0.30);
    color: rgba(70,210,55,0.60);
}

    .glossplay.skin-gp-country .gp-skin-btn:hover {
        background: rgba(16,100,12,0.18);
        color: #b0f888;
        border-color: rgba(60,200,40,0.45);
    }

.glossplay.skin-gp-country .gp-skins-menu {
    background: rgba(4,8,4,0.99);
    border: 1px solid rgba(28,140,20,0.32);
    box-shadow: 0 8px 32px rgba(0,0,0,0.80), 0 0 0 1px rgba(0,0,0,0.60);
}

    .glossplay.skin-gp-country .gp-skins-menu button {
        color: rgba(70,200,55,0.72);
    }

        .glossplay.skin-gp-country .gp-skins-menu button:hover {
            background: rgba(16,100,10,0.24);
            color: #b0f888;
        }

/* ── Área de vídeo — floresta profunda ── */
.glossplay.skin-gp-country .gp-video-area {
    background: radial-gradient(ellipse 70% 50% at 50% 70%, #050e04 0%, #020604 80%, #010302 100%);
    position: relative;
}

    /* Sombra de folhagem nas laterais — efeito de galhos enquadrando */
    .glossplay.skin-gp-country .gp-video-area::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 36px;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(2,18,2,0.92) 0%, rgba(4,30,4,0.70) 40%, rgba(6,40,4,0.35) 70%, transparent 100% );
    }

    .glossplay.skin-gp-country .gp-video-area::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 36px;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(270deg, rgba(2,18,2,0.92) 0%, rgba(4,30,4,0.70) 40%, rgba(6,40,4,0.35) 70%, transparent 100% );
    }

.glossplay.skin-gp-country .gp-placeholder {
    background: radial-gradient(ellipse 65% 55% at 50% 60%, #0c2208 0%, #051008 60%, #020804 100%);
    position: relative;
}

    /* Moldura de selva — luz verde ao redor da tela */
    .glossplay.skin-gp-country .gp-placeholder::before {
        content: '';
        position: absolute;
        inset: 10px 18px;
        border-radius: 4px;
        border: 1px solid rgba(28,120,20,0.20);
        box-shadow: inset 0 0 80px rgba(0,40,0,0.75), inset 0 0 12px rgba(30,160,20,0.08), inset 0 -20px 40px rgba(0,80,0,0.20), 0 0 40px rgba(0,0,0,0.70);
        pointer-events: none;
    }

/* Feixe de luz solar entre folhas (volumétrico) */
.glossplay.skin-gp-country .gp-center-logo::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 90px;
    background: linear-gradient(180deg, rgba(200,240,100,0.12) 0%, rgba(100,220,50,0.07) 50%, transparent 100% );
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    filter: blur(2px);
}

/* Segundo feixe, ligeiramente deslocado */
.glossplay.skin-gp-country .gp-center-logo::after {
    content: '';
    position: absolute;
    top: -60px;
    left: calc(50% + 22px);
    transform: translateX(-50%);
    width: 30px;
    height: 60px;
    background: linear-gradient(180deg, rgba(180,200,80,0.08) 0%, transparent 100% );
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    filter: blur(1.5px);
}

.glossplay.skin-gp-country .gp-film-icon {
    background: linear-gradient(180deg, #d8ffb8 0%, #70f848 22%, #28d018 50%, #0e7010 80%, #1a9818 100% );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(30,200,15,0.60)) drop-shadow(0 0 40px rgba(10,150,5,0.30));
}

.glossplay.skin-gp-country .gp-empty-text {
    color: rgba(60,210,45,0.65);
    letter-spacing: 0.06em;
    text-shadow: 0 0 18px rgba(20,180,10,0.35);
}

.glossplay.skin-gp-country .gp-empty-sub {
    color: rgba(28,130,20,0.38);
}

/* ── Controles — solo de floresta ── */
.glossplay.skin-gp-country .gp-controls {
    background: linear-gradient(180deg, rgba(4,12,3,0.99) 0%, rgba(6,16,4,0.98) 40%, rgba(3, 9,2,1.00) 100% );
    border-top: 1px solid rgba(22,120,16,0.22);
    box-shadow: inset 0 1px 0 rgba(50,200,35,0.07), inset 0 2px 8px rgba(0,60,0,0.20), 0 -6px 30px rgba(0,0,0,0.80);
    position: relative;
}

    /* Fio de raiz luminosa no topo dos controles */
    .glossplay.skin-gp-country .gp-controls::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1.5px;
        background: linear-gradient(90deg, transparent 0%, rgba(20,110,14,0.30) 15%, rgba(50,200,35,0.65) 40%, rgba(100,255,70,0.85) 50%, rgba(50,200,35,0.65) 60%, rgba(20,110,14,0.30) 85%, transparent 100% );
    }

    /* Textura sutil de terra no fundo dos controles */
    .glossplay.skin-gp-country .gp-controls::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: repeating-linear-gradient( -45deg, transparent 0px, transparent 6px, rgba(20,60,10,0.04) 6px, rgba(20,60,10,0.04) 7px );
    }

/* ── Seekbar — tronco de bambu ── */
.glossplay.skin-gp-country .gp-seekbar {
    border-color: rgba(20,110,14,0.30);
    background: rgba(0,60,0,0.12);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.60), inset 0 0 8px rgba(0,40,0,0.40);
    position: relative;
}

    /* Nós do bambu / marcações de posição */
    .glossplay.skin-gp-country .gp-seekbar::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(90deg, transparent 0px, transparent 14px, rgba(18,90,12,0.18) 14px, rgba(18,90,12,0.18) 15px );
        border-radius: 2px;
        pointer-events: none;
    }

.glossplay.skin-gp-country .gp-seekfill {
    background: linear-gradient(90deg, #061a04 0%, #0e4c0a 25%, #1a8a16 55%, #30cc24 80%, #70f048 100% );
    box-shadow: 0 0 6px rgba(40,200,20,0.45), 0 0 18px rgba(20,160,10,0.25), inset 0 1px 0 rgba(180,255,120,0.20);
}

.glossplay.skin-gp-country .gp-seekthumb {
    background: radial-gradient(circle at 35% 30%, #e0ffcc 0%, #80f858 30%, #28cc1e 60%, #0a6008 100% );
    border: 1.5px solid rgba(120,255,80,0.82);
    box-shadow: 0 0 8px rgba(40,220,20,0.75), 0 0 20px rgba(20,180,10,0.35), inset 0 1px 0 rgba(220,255,180,0.60), inset 0 -1px 0 rgba(0,0,0,0.40);
}

.glossplay.skin-gp-country .gp-time {
    color: rgba(50,185,38,0.50);
    text-shadow: 0 0 8px rgba(20,160,10,0.30);
}

/* ── Botões — troncos polidos com brilho ACM ── */
.glossplay.skin-gp-country .gp-btn {
    background: linear-gradient(165deg, rgba(14, 58,11,0.90) 0%, rgba( 9, 38, 7,0.80) 48%, rgba( 4, 16, 3,0.94) 52%, rgba(11, 48, 9,0.82) 100% );
    border: 1px solid rgba(30,148,22,0.38);
    color: rgba(75,225,58,0.88);
    box-shadow: inset 0 1px 0 rgba(100,255,65,0.22), inset 0 -1px 0 rgba(0,0,0,0.60), inset 1px 0 0 rgba(40,160,20,0.08), 0 3px 10px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,0,0,0.45), 0 0 12px rgba(10,140,5,0.10);
    transition: all 0.18s ease;
}

    .glossplay.skin-gp-country .gp-btn::before {
        background: linear-gradient(180deg, rgba(100,255,65,0.22) 0%, rgba( 20,160,10,0.05) 100% );
    }

    .glossplay.skin-gp-country .gp-btn:hover {
        background: linear-gradient(165deg, rgba(22, 92,17,0.96) 0%, rgba(15, 62,12,0.86) 48%, rgba( 6, 26, 5,0.98) 52%, rgba(18, 78,14,0.88) 100% );
        border-color: rgba(65,220,44,0.62);
        color: #c8ffa0;
        box-shadow: inset 0 1px 0 rgba(140,255,90,0.32), inset 0 -1px 0 rgba(0,0,0,0.65), 0 3px 12px rgba(0,0,0,0.70), 0 0 20px rgba(30,200,15,0.28), 0 0 40px rgba(10,150,5,0.12);
        text-shadow: 0 0 12px rgba(100,255,60,0.50);
    }

/* ── Play — folha brilhante ACM ── */
.glossplay.skin-gp-country .gp-playbtn {
    width: 48px;
    height: 48px;
    font-size: 17px;
    background: linear-gradient(165deg, rgba(20,110,15,0.75) 0%, rgba(13, 74,10,0.58) 48%, rgba( 5, 28, 4,0.90) 52%, rgba(12, 64, 9,0.65) 100% );
    border-color: rgba(48,200,34,0.55);
    box-shadow: inset 0 1px 0 rgba(140,255,90,0.30), inset 0 -1px 0 rgba(0,0,0,0.55), 0 0 25px rgba(28,200,14,0.35), 0 0 50px rgba(10,150,5,0.15), 0 6px 16px rgba(0,0,0,0.65);
}

    .glossplay.skin-gp-country .gp-playbtn:hover {
        background: linear-gradient(165deg, rgba(30,160,22,0.85) 0%, rgba(20,110,15,0.68) 48%, rgba( 8, 44, 6,0.96) 52%, rgba(18,100,13,0.75) 100% );
        border-color: rgba(88,250,58,0.75);
        color: #d8ffc0;
        box-shadow: inset 0 1px 0 rgba(180,255,120,0.40), inset 0 -1px 0 rgba(0,0,0,0.60), 0 0 35px rgba(40,230,18,0.55), 0 0 65px rgba(15,180,8,0.22), 0 6px 18px rgba(0,0,0,0.72);
        text-shadow: 0 0 14px rgba(140,255,80,0.65);
    }

/* ── Volume — cipó verde ── */
.glossplay.skin-gp-country .gp-volich {
    color: rgba(40,190,28,0.48);
    text-shadow: 0 0 8px rgba(20,160,10,0.25);
}

.glossplay.skin-gp-country .gp-volume {
    border-color: rgba(20,130,14,0.22);
    background: rgba(0,100,0,0.07);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}

    .glossplay.skin-gp-country .gp-volume::-webkit-slider-thumb {
        background: radial-gradient(circle at 35% 30%, #d8ffc0, #28c018);
        border: 1px solid rgba(110,250,65,0.65);
        box-shadow: 0 0 8px rgba(40,210,18,0.65), 0 0 18px rgba(20,170,8,0.28), inset 0 1px 0 rgba(220,255,180,0.55);
    }

    .glossplay.skin-gp-country .gp-volume::-moz-range-thumb {
        background: radial-gradient(circle at 35% 30%, #d8ffc0, #28c018);
        border: 1px solid rgba(110,250,65,0.65);
        box-shadow: 0 0 8px rgba(40,210,18,0.65), 0 0 18px rgba(20,170,8,0.28), inset 0 1px 0 rgba(220,255,180,0.55);
    }

/* ── Canvas dos vaga-lumes — injetado via JS ── */
.gp-firefly-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

        /* ===== WALLPAPER PREVIEW ===== */

        .wallpaper-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 10px 6px 28px;
            cursor: pointer;
            font-size: 13px;
            background: linear-gradient(to bottom, #ffffff, #eef4ff);
            border-bottom: 1px solid #c7d7f2;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
            transition: background 0.2s ease, transform 0.15s ease;
        }

            .wallpaper-item:hover {
                background: linear-gradient(to bottom, #e6f1ff, #cfe3ff);
                transform: translateX(2px);
            }

        /* miniatura */
        .wallpaper-thumb {
            width: 46px;
            height: 30px;
            border-radius: 4px;
            border: 1px solid #5a6f99;
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -2px 3px rgba(0,0,0,0.35), 0 3px 6px rgba(0,0,0,0.45);
            background-size: cover;
        }

        .wallpaper-item.active {
            background: linear-gradient(to bottom, #cfe5ff, #9fc2ff);
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.25), inset 0 -1px 0 rgba(255,255,255,0.8);
        }

        /* brilho glossy */
        .wallpaper-thumb::before {
            content: "";
            position: absolute;
            top: 1px;
            left: 1px;
            right: 1px;
            height: 45%;
            border-radius: 3px;
            background: linear-gradient( to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.3), rgba(255,255,255,0) );
            pointer-events: none;
        }

        .browser-bar {
            display: flex;
            gap: 5px;
            padding: 5px;
            background: #eee;
            border-bottom: 1px solid #ccc;
        }

        .browser-input {
            flex: 1;
            padding: 2px 5px;
            border: 1px solid #ccc;
            border-radius: 3px;
        }

        .lou-pet {
            width: 110px;
            height: 100px;
            position: relative;
            margin: 50px auto;
            /* Base mais viva + camada translúcida */
            background: radial-gradient(120% 90% at 50% 10%, rgba(255,255,255,.55), rgba(255,255,255,0) 40%), radial-gradient(120% 100% at 50% 120%, rgba(0,0,0,.45), transparent 60%), linear-gradient(to bottom, #e07b3d 0%, #c0612a 35%, #8f3f14 70%, #5a260a 100% );
            border-radius: 52% 52% 44% 44%;
            border: 1px solid rgba(255,255,255,.25);
            box-shadow: inset 0 3px 6px rgba(255,255,255,.7), inset 0 -12px 18px rgba(0,0,0,.55), 0 18px 28px rgba(0,0,0,.55);
            backdrop-filter: blur(2px);
            transition: transform .2s ease, box-shadow .3s ease;
            animation: lou-breath 3.5s ease-in-out infinite;
        }

        @keyframes lou-breath {
            0%, 100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.02);
            }
        }

        /* brilho glossy no topo */
        .lou-pet::before {
            content: "";
            position: absolute;
            top: 5%;
            left: 12%;
            width: 76%;
            height: 42%;
            border-radius: 50%;
            background: linear-gradient( to bottom, rgba(255,255,255,.95), rgba(255,255,255,.65) 30%, rgba(255,255,255,.15) 70%, transparent );
            filter: blur(1px);
            pointer-events: none;
        }

        .lou-pet::after {
            content: "";
            position: absolute;
            bottom: 6%;
            left: 18%;
            width: 64%;
            height: 25%;
            border-radius: 50%;
            background: radial-gradient( ellipse at center, rgba(255,255,255,.25), transparent 70% );
            filter: blur(2px);
            pointer-events: none;
        }

        .lou-eyes {
            display: flex;
            justify-content: space-around;
            padding-top: 30px;
        }

        .lou-eye {
            width: 30px;
            height: 30px;
            position: relative;
            background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f7f7f7 35%, #cfcfcf 100%);
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,.6);
            box-shadow: inset 0 3px 5px rgba(255,255,255,.9), inset 0 -6px 8px rgba(0,0,0,.35), 0 4px 8px rgba(0,0,0,.4);
        }

            .lou-eye::before {
                content: "";
                position: absolute;
                top: 4px;
                left: 6px;
                width: 10px;
                height: 8px;
                border-radius: 50%;
                background: radial-gradient( circle, rgba(255,255,255,.9), rgba(255,255,255,0) );
            }

            .lou-eye.blink {
                animation: lou-blink 0.18s ease;
            }

        @keyframes lou-blink {
            0%, 92%, 100% {
                transform: scaleY(1);
            }

            95% {
                transform: scaleY(0.1);
            }
        }

        .lou-pupil {
            width: 10px;
            height: 10px;
            position: absolute;
            top: 10px;
            left: 10px;
            background: radial-gradient(circle at 30% 30%, #777, #000 70%);
            border-radius: 50%;
            box-shadow: inset 0 1px 2px rgba(255,255,255,.3), 0 2px 4px rgba(0,0,0,.7);
        }

            .lou-pupil::after {
                content: "";
                position: absolute;
                top: 1px;
                left: 2px;
                width: 4px;
                height: 4px;
                border-radius: 50%;
                background: rgba(255,255,255,.9);
            }

        .lou-mouth {
            width: 28px;
            height: 7px;
            margin: 12px auto 0;
            background: linear-gradient( to bottom, #2a2a2a, #000 );
            border-radius: 14px;
            box-shadow: inset 0 1px 2px rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.6);
        }

            .lou-mouth.chewing {
                animation: lou-chew 0.25s ease-in-out infinite;
            }

        .lou-pet.happy .lou-mouth {
            width: 30px;
            height: 10px;
            border-radius: 0 0 16px 16px;
        }

        .lou-pet.surprised .lou-mouth {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        @keyframes lou-chew {
            0%, 100% {
                height: 7px;
            }

            50% {
                height: 12px;
            }
        }

        .lou-food {
            position: absolute;
            bottom: 20px;
            left: 50%;
            width: 14px;
            height: 14px;
            margin-left: -7px;
            background: radial-gradient(circle at 30% 30%, #ff5a5a, #c40000);
            border-radius: 50%;
            box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 4px 6px rgba(0,0,0,.4);
            animation: food-float 0.9s ease-in forwards;
            pointer-events: none;
            z-index: 5;
        }

        @keyframes food-float {
            0% {
                transform: translate(-50%, 0) scale(1);
                opacity: 1;
            }

            70% {
                transform: translate(-50%, -70px) scale(1.1);
            }

            100% {
                transform: translate(-50%, -85px) scale(0.2);
                opacity: 0;
            }
        }

        .lou-pet.sleeping .lou-eye {
            transform: scaleY(0.1);
        }

        @keyframes lou-sleep-breath {
            0%, 100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.015);
            }
        }

        .lou-pet.sleeping {
            animation: lou-sleep-breath 6s ease-in-out infinite;
        }

        .lou-heart {
            position: absolute;
            bottom: 60px;
            left: 50%;
            width: 12px;
            height: 12px;
            margin-left: -6px;
            background: radial-gradient(circle at 30% 30%, #ff7a9a, #d1003f);
            transform: rotate(45deg);
            animation: heart-float 1.2s ease-out forwards;
            pointer-events: none;
        }

            .lou-heart::before,
            .lou-heart::after {
                content: "";
                position: absolute;
                width: 12px;
                height: 12px;
                background: inherit;
                border-radius: 50%;
            }

            .lou-heart::before {
                top: -6px;
                left: 0;
            }

            .lou-heart::after {
                left: -6px;
                top: 0;
            }

        @keyframes heart-float {
            0% {
                transform: translate(-50%, 0) scale(0.8) rotate(45deg);
                opacity: 1;
            }

            100% {
                transform: translate(-50%, -60px) scale(1.2) rotate(45deg);
                opacity: 0;
            }
        }

        /* ===== MINIGAME CLIFF JUMP ===== */
        .lou-game {
            position: absolute;
            inset: 0;
            background: linear-gradient(#7fdcff, #bfefff);
            overflow: hidden;
        }

        /* botão topo direito */
        .lou-game-btn {
            position: absolute;
            top: 6px;
            right: 6px;
            z-index: 20;
            padding: 4px 8px;
            font-size: 12px;
            background: #ff5252;
            color: #fff;
            border-radius: 6px;
            cursor: pointer;
        }

        /* chão */
        .game-ground {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 48px;
            background: linear-gradient(#6fd36f, #2e8b57);
        }

        /* precipício */
        .game-gap {
            position: absolute;
            bottom: 0;
            height: 48px;
            background: #7fdcff;
        }

        /* Lou no skate */
        .lou-skater {
            position: absolute;
            left: 40px;
            bottom: 48px;
            transform-origin: center;
        }

            /* skate */
            .lou-skater::after {
                content: "";
                position: absolute;
                bottom: -6px;
                left: -8px;
                width: 70px;
                height: 8px;
                background: #e63946;
                border-radius: 4px;
            }

        /* game over */
        .lou-game-over {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,.6);
            color: white;
            font-size: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 30;
        }



        /* Container */
        #achievement-popup-container {
            position: fixed;
            bottom: 50px;
            right: 15px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            z-index: 9999;
            pointer-events: none;
        }

        /* Popup principal */
        .achievement-popup {
            position: relative;
            overflow: hidden;
            min-width: 240px;
            padding: 14px 18px;
            border-radius: 16px;
            color: white;
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.3px;
            border: 1px solid rgba(255,255,255,0.35);
            /* Gradiente animado glossy */
            background: linear-gradient( 145deg, #1e90ff, #00bfff, #20b2aa, #40e0d0, #00ffff );
            background-size: 400% 400%;
            box-shadow: 0 15px 35px rgba(0,0,0,0.45), inset 0 2px 8px rgba(255,255,255,0.35), inset 0 -6px 14px rgba(0,0,0,0.35);
            backdrop-filter: blur(10px);
            pointer-events: auto;
            animation: slideInGlossy 0.65s cubic-bezier(.22,1.2,.36,1), glossyShift 8s ease-in-out infinite;
        }

            /* Reflexo glossy superior mais forte */
            .achievement-popup::before {
                content: "";
                position: absolute;
                top: 4px;
                left: 6px;
                right: 6px;
                height: 55%;
                border-radius: 12px 12px 50% 50%;
                background: linear-gradient( to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.45) 12%, rgba(255,255,255,0.15) 35%, transparent 100% );
                pointer-events: none;
            }

            /* Glow dinâmico interno */
            .achievement-popup::after {
                content: "";
                position: absolute;
                inset: -40%;
                background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
                animation: subtleGlow 6s linear infinite;
                opacity: 0.6;
                pointer-events: none;
            }

        /* Slide de entrada */
        @keyframes slideInGlossy {
            0% {
                transform: translateX(120%) scale(0.85);
                opacity: 0;
                filter: blur(8px);
            }

            60% {
                transform: translateX(-6%) scale(1.05);
                opacity: 1;
                filter: blur(0);
            }

            80% {
                transform: translateX(2%) scale(0.98);
            }

            100% {
                transform: translateX(0) scale(1);
            }
        }

        /* Animação de rotação do brilho */
        @keyframes subtleGlow {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* 🔵 Animação principal de variação de cor */
        @keyframes glossyShift {
            0% {
                background-position: 0% 50%;
            }

            25% {
                background-position: 50% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            75% {
                background-position: 50% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* Caixa de conquistas */
        .achievements-box {
            height: 300px;
            overflow-y: scroll;
            padding-right: 8px;
        }

        /* Item individual */
        .achievement-item {
            background: linear-gradient(145deg, #ffffff, #e0f7ff);
            border: 1px solid #6bbddf;
            padding: 9px;
            margin-bottom: 8px;
            border-radius: 10px;
            font-size: 12px;
            box-shadow: inset 0 1px 3px rgba(255,255,255,0.9), 0 4px 10px rgba(0,0,0,0.2);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

            .achievement-item:hover {
                transform: translateY(-3px);
                box-shadow: inset 0 1px 3px rgba(255,255,255,0.9), 0 8px 18px rgba(0,0,0,0.35);
            }

            /* Conquista desbloqueada com efeito glossy e animação de cores */
            .achievement-item.unlocked {
                position: relative;
                overflow: hidden;
                padding: 10px;
                margin-bottom: 8px;
                border-radius: 12px;
                border: 1px solid #004d4d;
                font-size: 12px;
                font-weight: 500;
                color: #fff;
                text-shadow: 0 1px 1px rgba(0,0,0,0.2);
                background: linear-gradient(145deg, #008080, #66b2b2, #006D5B);
                background-size: 600% 600%;
                box-shadow: inset 0 1px 6px rgba(255,255,255,0.4), 0 6px 18px rgba(0,128,128,0.35);
                transition: transform 0.25s ease, box-shadow 0.25s ease;
                animation: glossyColorShift 6s ease-in-out infinite;
            }

                .achievement-item.unlocked:hover {
                    transform: translateY(-3px);
                    box-shadow: inset 0 2px 8px rgba(255,255,255,0.6), 0 8px 22px rgba(0,128,128,0.45);
                }

                /* Brilho superior estilo glossy */
                .achievement-item.unlocked::before {
                    content: "";
                    position: absolute;
                    top: 4px;
                    left: 6px;
                    right: 6px;
                    height: 50%;
                    border-radius: 12px 12px 50% 50%;
                    background: linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.45) 12%, rgba(255,255,255,0.15) 35%, transparent 100%);
                    pointer-events: none;
                }

                /* Glow dinâmico interno */
                .achievement-item.unlocked::after {
                    content: "";
                    position: absolute;
                    inset: -40%;
                    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
                    opacity: 0.6;
                    pointer-events: none;
                }



        /* Animação de mudança suave de cor */
        @keyframes glossyColorShift {
            0% {
                background-position: 0% 50%;
            }

            25% {
                background-position: 50% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            75% {
                background-position: 50% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .achievements-box::-webkit-scrollbar {
            width: 12px;
        }

        .achievements-box::-webkit-scrollbar-track {
            background: #dbe7f9;
            border-left: 1px solid #7f9db9;
        }

        .achievements-box::-webkit-scrollbar-thumb {
            background: linear-gradient(#ffffff,#c8dcf5);
            border: 1px solid #7f9db9;
        }

            .achievements-box::-webkit-scrollbar-thumb:hover {
                background: linear-gradient(#fff,#a9c9f3);
            }

        /* =============================================
        SETTINGS WINDOW
        ============================================= */

        .settings-window {
            width: 460px;
            height: 380px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background: rgba(255, 255, 255, 0.82);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.75);
        }

        /* ── Header ─────────────────────────────────── */

        .settings-header {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

            .settings-header h2 {
                font-size: 18px;
                font-weight: 700;
                color: #1a1a1a;
                letter-spacing: -0.3px;
                margin: 0;
            }

        .settings-sub {
            font-size: 12px;
            color: #888;
            font-weight: 400;
        }

        /* ── Wallpaper Grid ──────────────────────────── */

        .wallpaper-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: auto auto;
            gap: 10px;
            flex: 1;
        }

        /* ── Wallpaper Cards ─────────────────────────── */

        .wallpaper-card {
            border-radius: 12px;
            border: 2px solid transparent;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
            padding: 8px 10px;
            color: white;
            font-weight: 600;
            font-size: 11px;
            text-shadow: 0 1px 4px rgba(0,0,0,0.5);
            letter-spacing: 0.2px;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
            min-height: 80px;
        }

            .wallpaper-card::before {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 55%);
                z-index: 0;
            }

            .wallpaper-card span {
                position: relative;
                z-index: 1;
            }

            .wallpaper-card:hover {
                transform: translateY(-3px) scale(1.02);
                box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
                border-color: rgba(255, 255, 255, 0.7);
            }

            .wallpaper-card:active {
                transform: scale(0.97);
            }

            /* Card que ocupa 2 colunas (full width) */
            .wallpaper-card.large {
                grid-column: span 2;
            }

            /* ── Temas / Visuais ─────────────────────────── */

            .wallpaper-card.holo {
                background: linear-gradient(135deg, #1a002e 0%, #4b0082 50%, #0055cc 100%);
            }

            .wallpaper-card.vista {
                background: linear-gradient(to bottom, #5aaeff 0%, #9dd4ff 40%, #a8e096 60%, #4a8a1a 100%);
            }

            .wallpaper-card.dark {
                background: linear-gradient(145deg, #2e2e2e 0%, #0a0a0a 100%);
            }

            .wallpaper-card.ubuntu {
                background: radial-gradient(ellipse at 40% 30%, #a07848 0%, #5c3d20 60%, #2e1e0e 100%);
            }

            .wallpaper-card.binbows7 {
                background: linear-gradient(160deg, #1460c8 0%, #3d8fe8 45%, #0a3d90 100%);
            }

                .wallpaper-card.binbows7::after {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    height: 45%;
                    background: linear-gradient(to bottom, rgba(255,255,255,0.22), transparent);
                    z-index: 0;
                }

        /* ── Footer ──────────────────────────────────── */

        .settings-footer {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 11px;
            color: #aaa;
            font-weight: 500;
            letter-spacing: 0.3px;
            padding-top: 4px;
            border-top: 1px solid rgba(0, 0, 0, 0.07);
        }

            .settings-footer::before {
                content: "⚙";
                font-size: 12px;
                opacity: 0.5;
            }

        /* =========================
                BASE
             ========================= */

        #gw-screen {
            width: 100%;
            height: 100%;
            position: relative;
            font-family: 'Arial Black', Impact, sans-serif;
            background: linear-gradient(to bottom, #fde047 0%, #facc15 55%, #eab308 100%);
            border: 8px solid black;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: inset 0 8px 0 rgba(255,255,255,0.6), inset 0 -8px 0 rgba(0,0,0,0.15);
        }

            /* Fundo pontilhado estilo Chaos */
            #gw-screen::before {
                content: "";
                position: absolute;
                inset: 0;
                background-image: radial-gradient(black 2px, transparent 2px);
                background-size: 20px 20px;
                opacity: 0.12;
                z-index: 0;
            }

            /* brilho glossy superior */
            #gw-screen::after {
                content: "";
                position: absolute;
                top: 8px;
                left: 8px;
                right: 8px;
                height: 35%;
                border-radius: 20px;
                background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.4), rgba(255,255,255,0));
                pointer-events: none;
            }

            #gw-screen > * {
                position: relative;
                z-index: 1;
            }

        /* =========================
                TÍTULO
             ========================= */

        .gw-title {
            font-size: 80px;
            transform: rotate(-6deg);
            letter-spacing: -3px;
            text-shadow: 6px 6px 0 black;
        }

            .gw-title span {
                background: linear-gradient(to bottom, #f472b6, #db2777);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }

        .gw-btn-main {
            padding: 16px 40px;
            font-size: 28px;
            color: white;
            border: 4px solid black;
            border-radius: 14px;
            background: linear-gradient(to bottom, #60a5fa 0%, #2563eb 60%, #1e40af 100%);
            box-shadow: 8px 8px 0 black, inset 0 6px 0 rgba(255,255,255,0.6), inset 0 -6px 0 rgba(0,0,0,0.3);
            transition: 0.2s;
        }

            .gw-btn-main:hover {
                transform: scale(1.1) rotate(-3deg);
            }

            .gw-btn-main:active {
                transform: translateY(6px);
                box-shadow: 2px 2px 0 black, inset 0 4px 0 rgba(255,255,255,0.5);
            }

        /* =========================
                HUD (VIDAS + TIMER)
             ========================= */

        .gw-hud {
            position: absolute;
            bottom: 20px;
            left: 20px;
            display: flex;
            gap: 6px;
        }

        .gw-heart {
            width: 20px;
            height: 20px;
            transform: rotate(45deg);
            position: relative;
            background: linear-gradient(to bottom, #ff6b6b, #b91c1c);
            box-shadow: inset 0 3px 0 rgba(255,255,255,0.6), inset 0 -3px 0 rgba(0,0,0,0.4);
        }

            .gw-heart::before,
            .gw-heart::after {
                content: "";
                width: 20px;
                height: 20px;
                border-radius: 50%;
                position: absolute;
                background: linear-gradient(to bottom, #ff6b6b, #b91c1c);
            }

            .gw-heart::before {
                top: -10px;
                left: 0;
            }

            .gw-heart::after {
                left: -10px;
                top: 0;
            }

        /* Timer */

        .gw-timer-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 18px;
            border-top: 4px solid black;
            background: linear-gradient(to bottom, #ef4444 0%, #dc2626 60%, #991b1b 100%);
            box-shadow: inset 0 4px 0 rgba(255,255,255,0.6), inset 0 -4px 0 rgba(0,0,0,0.3);
            transition: width 0.1s linear;
        }

        /* =========================
                MICROGAME TEXTOS
             ========================= */

        .gw-big-text {
            font-size: 90px;
            font-weight: 900;
            text-transform: uppercase;
            text-shadow: 6px 6px 0 black;
        }

        .gw-medium-text {
            font-size: 40px;
            font-weight: bold;
        }

        /* =========================
                BOTÕES MICROGAME
             ========================= */

        .gw-button {
            padding: 20px 50px;
            font-size: 32px;
            font-weight: bold;
            border: 4px solid black;
            border-radius: 18px;
            color: white;
            background: linear-gradient(to bottom, #60a5fa 0%, #3b82f6 60%, #1e3a8a 100%);
            box-shadow: 6px 6px 0 black, inset 0 6px 0 rgba(255,255,255,0.6), inset 0 -6px 0 rgba(0,0,0,0.3);
            transition: 0.15s;
        }

            .gw-button:hover {
                transform: scale(1.1);
            }

            .gw-button:active {
                transform: translateY(6px);
                box-shadow: 2px 2px 0 black, inset 0 4px 0 rgba(255,255,255,0.5);
            }

        .gw-button-danger {
            background: linear-gradient(to bottom, #f87171 0%, #dc2626 60%, #7f1d1d 100%);
        }

        .gw-button-dark {
            background: linear-gradient(to bottom, #374151 0%, #111827 100%);
            color: white;
        }

        /* =========================
                SPAM BUTTON
             ========================= */

        .gw-spam {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            border: 8px solid black;
            font-size: 50px;
            font-weight: 900;
            color: white;
            background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.9), #ec4899 40%, #9d174d 100%);
            box-shadow: 0 12px 0 black, inset 0 10px 15px rgba(255,255,255,0.6), inset 0 -10px 15px rgba(0,0,0,0.4);
            transition: 0.1s;
        }

            .gw-spam:active {
                transform: translateY(12px);
                box-shadow: 0 2px 0 black, inset 0 6px 10px rgba(0,0,0,0.4);
            }

        /* =========================
                STOP GAME
             ========================= */

        .gw-stop-bar {
            width: 80%;
            height: 60px;
            border: 4px solid black;
            position: relative;
            overflow: hidden;
            border-radius: 40px;
            background: linear-gradient(to bottom, #f3f4f6, #d1d5db);
            box-shadow: inset 0 6px 0 rgba(255,255,255,0.7), inset 0 -6px 0 rgba(0,0,0,0.2);
        }

        .gw-stop-safe {
            position: absolute;
            width: 20%;
            left: 40%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(34,197,94,0.8), rgba(22,163,74,0.8));
        }

        .gw-runner {
            position: absolute;
            width: 8px;
            height: 100%;
            background: black;
        }

        /* =========================
                EFEITOS
             ========================= */

        @keyframes gw-shake {
            0% {
                transform: translateX(4px);
            }

            25% {
                transform: translateX(-4px);
            }

            50% {
                transform: translateX(4px);
            }

            75% {
                transform: translateX(-4px);
            }

            100% {
                transform: translateX(0);
            }
        }

        .gw-shake {
            animation: gw-shake 0.3s;
        }

        @keyframes gw-pop {
            0% {
                transform: scale(0.5);
                opacity: 0;
            }

            70% {
                transform: scale(1.2);
                opacity: 1;
            }

            100% {
                transform: scale(1);
            }
        }

        .gw-pop {
            animation: gw-pop 0.3s forwards;
        }

        /* =========================
                WIN / FAIL
             ========================= */

        .gw-success {
            background: linear-gradient(to bottom, #4ade80, #16a34a) !important;
        }

        .gw-fail {
            background: linear-gradient(to bottom, #f87171, #b91c1c) !important;
        }

        /* =========================
                GAME OVER
             ========================= */

        .gw-gameover {
            background: linear-gradient(to bottom, #1f2937, #111827);
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: inset 0 8px 0 rgba(255,255,255,0.05);
        }

            .gw-gameover h1 {
                font-size: 70px;
                color: #ef4444;
                margin-bottom: 20px;
                text-shadow: 5px 5px 0 black;
            }

        .gw-score {
            font-size: 30px;
            margin-bottom: 20px;
        }

/* =========================
        NOTEPAD WIN7 GLOSSY
   ========================= */
.np-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    overflow: hidden;
    position: relative;
}

/* Barra de menus */
.np-menubar {
    display: flex;
    align-items: center;
    height: 22px;
    padding: 0 2px;
    background: linear-gradient(to bottom, #f8f8f8 0%, #e8e8e8 100%);
    border-bottom: 1px solid #c0c0c0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
    gap: 0;
    flex-shrink: 0;
    user-select: none;
    position: relative;
    z-index: 10;
}

.np-menu-root {
    position: relative;
}

.np-menu-item {
    display: block;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: default;
    color: #1a1a1a;
    font-size: 11px;
    transition: background 0.08s;
    white-space: nowrap;
}

.np-menu-root:hover > .np-menu-item,
.np-menu-root.open > .np-menu-item {
    background: linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(170,205,250,0.65) 50%, rgba(110,160,235,0.55) 100% );
    border: 1px solid rgba(90,140,215,0.65);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(0,0,0,0.1);
    padding: 1px 7px;
}

/* Dropdown */
.np-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: linear-gradient(to bottom, #f8f8f8, #efefef);
    border: 1px solid #aaa;
    box-shadow: 2px 3px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.9);
    z-index: 9999;
    padding: 2px 0;
}

.np-menu-root.open > .np-dropdown {
    display: block;
}

.np-dd-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 20px 4px 24px;
    font-size: 11px;
    color: #111;
    cursor: default;
    white-space: nowrap;
}

    .np-dd-item:hover {
        background: linear-gradient(to bottom, rgba(200,220,255,0.8) 0%, rgba(130,175,240,0.7) 50%, rgba(90,140,225,0.65) 100% );
        border: 1px solid rgba(80,130,210,0.6);
        color: #000;
        padding: 3px 19px 3px 23px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    }

.np-dd-shortcut {
    color: #888;
    font-size: 10px;
    margin-left: 30px;
}

.np-dd-item:hover .np-dd-shortcut {
    color: #555;
}

.np-dd-sep {
    height: 1px;
    background: linear-gradient(to right, transparent, #c0c0c0, transparent);
    margin: 3px 4px;
}

/* Barra de busca */
.np-find-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: linear-gradient(to bottom, #e8e8e8, #dcdcdc);
    border-bottom: 1px solid #bbb;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    flex-shrink: 0;
}

.np-find-label {
    font-size: 11px;
    color: #333;
}

.np-find-input {
    flex: 1;
    max-width: 180px;
    height: 20px;
    border: 1px solid #88aadd;
    border-radius: 2px;
    padding: 0 5px;
    font-size: 11px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,80,0.1);
}

    .np-find-input:focus {
        border-color: #4488cc;
    }

.np-find-btn {
    height: 20px;
    padding: 0 8px;
    font-size: 11px;
    background: linear-gradient(to bottom, #f0f0f0, #d8d8d8);
    border: 1px solid #aaa;
    border-radius: 3px;
    cursor: default;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

    .np-find-btn:hover {
        background: linear-gradient(to bottom, #ddeeff, #aaccee);
        border-color: #7aaddd;
    }

    .np-find-btn:active {
        transform: translateY(1px);
    }

/* Área de texto */
.np-body {
    flex: 1;
    overflow: hidden;
    background: #fff;
    border-left: 1px solid #c8c8c8;
    border-right: 1px solid #c8c8c8;
}

.np-textarea {
    width: 100%;
    height: 100%;
    resize: none;
    border: none;
    outline: none;
    padding: 6px 8px;
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #111;
    background: #fff;
    box-sizing: border-box;
    white-space: pre-wrap;
}

    /* Scrollbar estilo Win7 azul glossy */
    .np-textarea::-webkit-scrollbar {
        width: 17px;
    }

    .np-textarea::-webkit-scrollbar-track {
        background: linear-gradient(to right, #e0e0e0, #efefef);
        border-left: 1px solid #b8b8b8;
    }

    .np-textarea::-webkit-scrollbar-thumb {
        border-radius: 6px;
        border: 2px solid transparent;
        background-clip: padding-box;
        background-color: #a0bce0;
        background-image: linear-gradient(to bottom, #ffffff 0%, #d4e8fa 20%, #a8c8f0 50%, #7eaae0 80%, #5e8ec8 100% );
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 2px rgba(0,0,0,0.2);
    }

        .np-textarea::-webkit-scrollbar-thumb:hover {
            filter: brightness(1.1);
        }

    .np-textarea::-webkit-scrollbar-button {
        height: 17px;
        background: linear-gradient(to bottom, #f0f0f0, #d8d8d8);
        border: 1px solid #b0b0b0;
    }

/* Status bar */
.np-statusbar {
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: linear-gradient(to bottom, #e8e8e8, #d8d8d8);
    border-top: 1px solid #b8b8b8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    color: #444;
    font-size: 10px;
    flex-shrink: 0;
    gap: 12px;
}

/* =========================
      CALCULADORA CIENTÍFICA
   ========================= */

.calc-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(to bottom, #dce7f8, #c4d4ee);
    padding: 8px;
    gap: 6px;
    box-sizing: border-box;
    transition: width 0.2s ease;
}

.calc-mode-bar {
    display: flex;
    gap: 4px;
    background: linear-gradient(to bottom, #b8cce8, #9ab4d8);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid #7d96c6;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 4px rgba(0,0,0,0.2);
}

.calc-mode-btn {
    flex: 1;
    padding: 4px 0;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #2a3f6f;
    background: transparent;
    cursor: pointer;
    transition: all 0.1s;
}

    .calc-mode-btn.active {
        background: linear-gradient(to bottom, #ffffff, #dce8fb);
        border-color: #7d96c6;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 4px rgba(0,0,0,0.2);
        color: #1a2f5a;
    }

    .calc-mode-btn:not(.active):hover {
        background: rgba(255,255,255,0.3);
    }

.calc-expr {
    text-align: right;
    font-family: "Consolas", monospace;
    font-size: 11px;
    color: #5a6f9a;
    min-height: 16px;
    padding: 0 4px;
}

.calc-sci-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 6px;
    background: linear-gradient(to bottom, #c8d8f0, #afc4e0);
    border-radius: 10px;
    border: 1px solid #7d96c6;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 3px 8px rgba(0,0,0,0.3);
}

.calc-btn-sci {
    padding: 8px 0 !important;
    font-size: 11px !important;
    background: linear-gradient(to bottom, #e8f0ff 0%, #c8d8f0 45%, #a8bce0 100%) !important;
    color: #1a2f6a !important;
    border-color: #6a86c0 !important;
}

    .calc-btn-sci:hover {
        background: linear-gradient(to bottom, #f0f6ff 0%, #d8eaff 50%, #b8d0f8 100%) !important;
    }

        .cmd-body {
            background: black;
            color: white;
            font-family: 'Courier New', monospace;
            height: 100%;
            padding: 5px;
        }

        .cmd-input {
            background: transparent;
            border: none;
            color: white;
            outline: none;
            width: 80%;
        }
