        /* Élargissement et réduction des marges latérales pour le Portail et le Menu Invité */
        #portalScreen, #creatorHubScreen {
            max-width: 96% !important;
            width: 96% !important;
            margin: 0 auto !important;
            padding: 0 10px 30px 10px !important;
            box-sizing: border-box !important;
        }

        /* --- CADRAGE STRICT DU HEADER (ZÉRO DÉCALAGE DE HAUTEUR) --- */
        .app-header {
            height: 330px !important;
            min-height: 330px !important;
            max-height: 330px !important;
            box-sizing: border-box !important;
            overflow: hidden !important;
            position: relative !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-start !important;
            padding: 20px 25px 30px 25px !important;
        }

        .main-header {
            height: 255px !important;
            min-height: 255px !important;
            max-height: 255px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            position: relative !important;
        }

        .header-frame,
        .header-board-container {
            height: 255px !important;
            max-height: 255px !important;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
        }

        /* Masquage et affichage strict des modèles selon le thème sélectionné */
        .header-model-0,
        .header-model-1,
        .header-model-2,
        .header-model-3,
        .header-model-4,
        .header-frame.hidden,
        .header-board-container.hidden {
            display: none !important;
        }

        .app-header.header-theme-0 .header-model-0,
        .app-header.header-theme-1 .header-model-1,
        .app-header.header-theme-2 .header-model-2,
        .app-header.header-theme-3 .header-model-3,
        .app-header.header-theme-4 .header-model-4 {
            display: flex !important;
        }

        .header-board-img {
            max-height: 250px !important;
            object-fit: contain !important;
        }

        /* --- SÉLECTEUR DE THÈMES EN HAUT À DROITE --- */
        .header-theme-selector-container {
            position: absolute;
            top: 15px;
            right: 20px;
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(11, 14, 20, 0.85);
            border: 1px solid rgba(78, 204, 163, 0.4);
            border-radius: 8px;
            padding: 5px 12px;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
            z-index: 30;
            transition: all 0.25s ease;
        }

        .header-theme-selector-container:hover {
            border-color: rgba(78, 204, 163, 0.8);
            box-shadow: 0 4px 20px rgba(78, 204, 163, 0.3);
        }

        .header-theme-label {
            font-size: 0.85em;
            font-weight: bold;
            color: #4ecca3;
            text-shadow: 0 0 6px rgba(78, 204, 163, 0.4);
            user-select: none;
            margin: 0;
            white-space: nowrap;
        }

        .header-theme-select {
            background: rgba(22, 27, 34, 0.95);
            color: #ffffff;
            border: 1px solid rgba(78, 204, 163, 0.3);
            border-radius: 5px;
            padding: 5px 10px;
            font-size: 0.88em;
            font-family: inherit;
            cursor: pointer;
            outline: none;
            transition: all 0.2s ease;
        }

        .header-theme-select:hover,
        .header-theme-select:focus {
            border-color: #4ecca3;
            box-shadow: 0 0 10px rgba(78, 204, 163, 0.4);
        }

        .header-theme-select option {
            background: #0d1117;
            color: #ffffff;
            padding: 8px;
        }

        /* --- DÉBORDEMENT ET FONDU DES BACKGROUNDS 1 À 4 --- */
        .app-header.header-theme-1 {
            background: linear-gradient(to bottom, 
                            rgba(11, 14, 20, 0) 0%, 
                            rgba(11, 14, 20, 0) 50%, 
                            rgba(11, 14, 20, 0.35) 75%, 
                            rgba(11, 14, 20, 0.8) 90%, 
                            #0b0e14 100%),
                        url('/assets/Background1.webp') center top / cover no-repeat !important;
            border-radius: 0 !important;
            border: none !important;
            box-shadow: none !important;
            padding-bottom: 25px !important;
            margin-bottom: 0 !important;
        }

        .app-header.header-theme-2 {
            background: linear-gradient(to bottom, 
                            rgba(11, 14, 20, 0) 0%, 
                            rgba(11, 14, 20, 0) 50%, 
                            rgba(11, 14, 20, 0.35) 75%, 
                            rgba(11, 14, 20, 0.8) 90%, 
                            #0b0e14 100%),
                        url('/assets/Background2.webp') center top / cover no-repeat !important;
            border-radius: 0 !important;
            border: none !important;
            box-shadow: none !important;
            padding-bottom: 25px !important;
            margin-bottom: 0 !important;
        }

        .app-header.header-theme-3 {
            background: linear-gradient(to bottom, 
                            rgba(11, 14, 20, 0) 0%, 
                            rgba(11, 14, 20, 0) 50%, 
                            rgba(11, 14, 20, 0.35) 75%, 
                            rgba(11, 14, 20, 0.8) 90%, 
                            #0b0e14 100%),
                        url('/assets/Background3.webp') center top / cover no-repeat !important;
            border-radius: 0 !important;
            border: none !important;
            box-shadow: none !important;
            padding-bottom: 25px !important;
            margin-bottom: 0 !important;
        }

        .app-header.header-theme-4 {
            background: linear-gradient(to bottom, 
                            rgba(11, 14, 20, 0) 0%, 
                            rgba(11, 14, 20, 0) 50%, 
                            rgba(11, 14, 20, 0.35) 75%, 
                            rgba(11, 14, 20, 0.8) 90%, 
                            #0b0e14 100%),
                        url('/assets/Background4.webp') center top / cover no-repeat !important;
            border-radius: 0 !important;
            border: none !important;
            box-shadow: none !important;
            padding-bottom: 25px !important;
            margin-bottom: 0 !important;
        }

        /* Ligne de démarcation toujours claire, lumineuse et bien visible */
        .header-demarcation {
            width: 100% !important;
            height: 2px !important;
            background: linear-gradient(90deg, rgba(78, 204, 163, 0) 0%, rgba(78, 204, 163, 0.95) 50%, rgba(78, 204, 163, 0) 100%) !important;
            box-shadow: 0 0 12px rgba(78, 204, 163, 0.8), 0 0 25px rgba(92, 251, 202, 0.4) !important;
            position: relative !important;
            z-index: 15 !important;
            opacity: 1 !important;
            margin-top: 15px !important;
        }

        /* --- AJUSTEMENT ÉCRAN DE JEU & MISE EN PAGE SUR GRAND ÉCRAN (DESKTOP) --- */
        @media (min-width: 821px) {
            #gameScreen {
                max-width: 1850px !important;
                width: 96% !important;
                margin: 0 auto !important;
                padding: 10px 15px 30px 15px !important;
            }

            .game-nav-bar {
                position: relative !important;
                z-index: 50 !important;
                display: flex !important;
                justify-content: center !important;
                gap: 40px !important;
                margin-top: 15px !important;
                margin-bottom: 25px !important;
                padding: 10px !important;
                background: transparent !important;
                border: none !important;
            }

            .main-layout {
                display: grid !important;
                grid-template-columns: 280px 1fr !important;
                gap: 25px !important;
                width: 100% !important;
                align-items: start !important;
            }

            .game-grid {
                display: grid !important;
                grid-template-columns: 1fr 380px !important;
                gap: 25px !important;
                align-items: start !important;
                width: 100% !important;
            }

            .ia-response-section {
                min-width: 0 !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }
        }

        /* --- THÈME 1 : PARTICULES ARCANIQUES QUI MONTENT --- */
        .header-bg-particles {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 2;
            display: none;
            -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
        }

        .app-header.header-theme-1 .header-bg-particles {
            display: block;
        }

        .bg-mote {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            z-index: 2;
            animation: floatBgMote 4.5s ease-in-out infinite;
        }

        .bg-mote-1  { left: 4%;  bottom: 8%;  width: 4px; height: 4px; background: #00f0ff; box-shadow: 0 0 10px #00f0ff, 0 0 16px #00d2ff; animation-delay: 0s;   animation-duration: 4.8s; }
        .bg-mote-2  { left: 11%; bottom: 12%; width: 3px; height: 3px; background: #f5af19; box-shadow: 0 0 10px #ffd700, 0 0 16px #c67d30; animation-delay: 1.2s; animation-duration: 4.2s; }
        .bg-mote-3  { left: 18%; bottom: 6%;  width: 5px; height: 5px; background: #00d2ff; box-shadow: 0 0 12px #38b6ff; animation-delay: 2.1s; animation-duration: 5.1s; }
        .bg-mote-4  { left: 25%; bottom: 14%; width: 3px; height: 3px; background: #d48b38; box-shadow: 0 0 8px #f5af19, 0 0 12px #b86b28; animation-delay: 0.6s; animation-duration: 3.9s; }
        .bg-mote-5  { left: 32%; bottom: 9%;  width: 4px; height: 4px; background: #00e5ff; box-shadow: 0 0 10px #00f0ff; animation-delay: 3.0s; animation-duration: 4.5s; }
        .bg-mote-6  { left: 40%; bottom: 5%;  width: 5px; height: 5px; background: #ffd700; box-shadow: 0 0 12px #ffd700, 0 0 18px #e5a93c; animation-delay: 1.7s; animation-duration: 4.7s; }
        .bg-mote-7  { left: 47%; bottom: 11%; width: 4px; height: 4px; background: #38b6ff; box-shadow: 0 0 10px #00d2ff; animation-delay: 0.9s; animation-duration: 5.3s; }
        .bg-mote-8  { left: 54%; bottom: 7%;  width: 3px; height: 3px; background: #c67d30; box-shadow: 0 0 8px #f5af19, 0 0 12px #8b5a2b; animation-delay: 2.8s; animation-duration: 4.1s; }
        .bg-mote-9  { left: 61%; bottom: 13%; width: 5px; height: 5px; background: #4facfe; box-shadow: 0 0 12px #00f0ff; animation-delay: 1.4s; animation-duration: 4.9s; }
        .bg-mote-10 { left: 68%; bottom: 8%;  width: 4px; height: 4px; background: #e5a93c; box-shadow: 0 0 10px #ffd700; animation-delay: 3.4s; animation-duration: 4.4s; }
        .bg-mote-11 { left: 76%; bottom: 14%; width: 3px; height: 3px; background: #00c6ff; box-shadow: 0 0 8px #0072ff;  animation-delay: 0.4s; animation-duration: 5.0s; }
        .bg-mote-12 { left: 83%; bottom: 6%;  width: 4px; height: 4px; background: #b86b28; box-shadow: 0 0 10px #f5af19; animation-delay: 2.3s; animation-duration: 4.3s; }
        .bg-mote-13 { left: 90%; bottom: 11%; width: 5px; height: 5px; background: #00f2fe; box-shadow: 0 0 12px #4facfe; animation-delay: 1.0s; animation-duration: 4.6s; }
        .bg-mote-14 { left: 96%; bottom: 5%;  width: 3px; height: 3px; background: #ffd700; box-shadow: 0 0 10px #ffd700, 0 0 15px #d48b38; animation-delay: 2.7s; animation-duration: 5.2s; }
        .bg-mote-15 { left: 14%; bottom: 16%; width: 4px; height: 4px; background: #00d2ff; box-shadow: 0 0 10px #00f0ff; animation-delay: 3.8s; animation-duration: 4.5s; }

        @keyframes floatBgMote {
            0% {
                transform: translateY(12px) translateX(0);
                opacity: 0;
            }
            20% {
                opacity: 0.9;
            }
            60% {
                opacity: 0.75;
                transform: translateY(-50px) translateX(12px);
            }
            100% {
                transform: translateY(-110px) translateX(24px);
                opacity: 0;
            }
        }

        /* --- JOYAUX INTERACTIFS DU PANNEAU 1 (Thème 1 : Style Hearthstone) --- */
        .header-board-wrapper {
            position: relative;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            max-width: 100%;
        }

        .interactive-gem {
            position: absolute;
            width: 5.8%;
            aspect-ratio: 1 / 1;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            cursor: pointer;
            z-index: 15;
            transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
            outline: none;
            user-select: none;
        }

        .interactive-gem.gem-left {
            left: 14.5%;
            top: 40.3%;
        }

        .interactive-gem.gem-right {
            left: 85.5%;
            top: 40.3%;
        }

        .interactive-gem.gem-left:hover {
            box-shadow: 0 0 15px #00d2ff, 0 0 25px rgba(0, 210, 255, 0.7), inset 0 0 8px #ffffff;
            transform: translate(-50%, -50%) scale(1.18);
        }

        .interactive-gem.gem-right:hover {
            box-shadow: 0 0 15px #ff4757, 0 0 25px rgba(255, 71, 87, 0.7), inset 0 0 8px #ffffff;
            transform: translate(-50%, -50%) scale(1.18);
        }

        .interactive-gem:active {
            transform: translate(-50%, -50%) scale(0.9);
        }

        /* Ondes de choc (Shockwave) */
        .gem-shockwave {
            position: absolute;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 20;
        }

        .gem-shockwave-blue {
            animation: shockwaveBlueAnim 0.7s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
        }

        .gem-shockwave-red {
            animation: shockwaveRedAnim 0.7s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
        }

        @keyframes shockwaveBlueAnim {
            0% {
                width: 15px;
                height: 15px;
                opacity: 1;
                border: 3px solid #ffffff;
                box-shadow: 0 0 25px #00d2ff, 0 0 40px #0066ff, inset 0 0 15px #00d2ff;
            }
            50% {
                opacity: 0.9;
                border-width: 2px;
            }
            100% {
                width: 240px;
                height: 240px;
                opacity: 0;
                border: 1px solid rgba(0, 210, 255, 0);
                box-shadow: 0 0 50px rgba(0, 210, 255, 0);
            }
        }

        @keyframes shockwaveRedAnim {
            0% {
                width: 15px;
                height: 15px;
                opacity: 1;
                border: 3px solid #ffffff;
                box-shadow: 0 0 25px #ff4757, 0 0 40px #ff6b81, inset 0 0 15px #ff4757;
            }
            50% {
                opacity: 0.9;
                border-width: 2px;
            }
            100% {
                width: 240px;
                height: 240px;
                opacity: 0;
                border: 1px solid rgba(255, 71, 87, 0);
                box-shadow: 0 0 50px rgba(255, 71, 87, 0);
            }
        }

        /* Étincelles jaillissantes */
        .gem-spark {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            z-index: 22;
            animation: sparkFlyAnim 0.65s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
        }

        @keyframes sparkFlyAnim {
            0% {
                opacity: 1;
                transform: translate(-50%, -50%) translate(0, 0) scale(1.2);
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.2);
            }
        }

        /* Surcharge / Combo Overload Flash */
        .gem-overload-flash {
            animation: overloadFlashAnim 0.6s ease-out forwards;
        }

        @keyframes overloadFlashAnim {
            0% { filter: brightness(2) drop-shadow(0 0 35px #ffffff); }
            50% { filter: brightness(1.6) drop-shadow(0 0 25px #4ecca3); }
            100% { filter: none; }
        }

        /* --- THÈME 2 : SF SPATIALE (Joyaux Cyber-Pixels sans ombrage ni rognage) --- */
        .header-model-2 .header-board-img,
        .header-model-2 .header-board-wrapper {
            filter: none !important;
            box-shadow: none !important;
        }

        .sf-gem:hover {
            box-shadow: 0 0 16px #00f0ff, 0 0 30px rgba(0, 240, 255, 0.8), inset 0 0 8px #ffffff;
            transform: translate(-50%, -50%) scale(1.18);
        }

        .sf-pixel-spark {
            position: absolute;
            border-radius: 1px;
            pointer-events: none;
            z-index: 25;
            animation: sfPixelAnim 0.65s cubic-bezier(0.05, 0.85, 0.2, 1) forwards;
        }

        @keyframes sfPixelAnim {
            0% {
                opacity: 1;
                transform: translate(-50%, -50%) translate(0, 0) scale(1.2);
            }
            50% {
                opacity: 0.95;
                transform: translate(-50%, -50%) translate(calc(var(--dx) * 0.7), calc(var(--dy) * 0.7)) scale(1.4);
                filter: drop-shadow(0 0 6px var(--pixel-color));
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.2);
            }
        }

        .sf-pixel-ring {
            position: absolute;
            border-radius: 2px;
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 23;
            animation: sfRingAnim 0.5s ease-out forwards;
        }

        @keyframes sfRingAnim {
            0% {
                width: 10px;
                height: 10px;
                opacity: 1;
                border: 2px solid #00f0ff;
                box-shadow: 0 0 15px #00f0ff, inset 0 0 8px #00ff88;
            }
            100% {
                width: 190px;
                height: 190px;
                opacity: 0;
                border: 1px solid rgba(0, 240, 255, 0);
                box-shadow: 0 0 30px rgba(0, 240, 255, 0);
            }
        }

        /* --- THÈME 3 : ENQUÊTE ET MYSTÈRE (Balayage Lumineux & Chute de Poussière) --- */
        .mystery-spotlight-layer {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 3;
            display: none;
            -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
        }

        .app-header.header-theme-3 .mystery-spotlight-layer {
            display: block;
        }

        .mystery-spotlight-beam {
            position: absolute;
            top: -30%;
            left: -40%;
            width: 320px;
            height: 180%;
            background: radial-gradient(ellipse at center, rgba(255, 235, 175, 0.22) 0%, rgba(255, 215, 140, 0.08) 50%, transparent 75%);
            filter: blur(18px);
            transform: rotate(-18deg);
            pointer-events: none;
            animation: mysteryBeamSweep 8.5s ease-in-out infinite alternate;
        }

        @keyframes mysteryBeamSweep {
            0% { left: -25%; opacity: 0.15; }
            50% { opacity: 0.65; }
            100% { left: 105%; opacity: 0.15; }
        }

        .header-dust-container {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 4;
            display: none;
            -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
        }

        .app-header.header-theme-3 .header-dust-container {
            display: block;
        }

        .dust-mote {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 240, 210, 0.45);
            box-shadow: 0 0 4px rgba(255, 230, 180, 0.35);
            pointer-events: none;
            top: -10px;
            animation: dustDriftFall linear infinite;
        }

        .dust-1  { left: 6%;  width: 2.5px; height: 2.5px; animation-duration: 7.5s; animation-delay: 0s;   --drift: 20px; }
        .dust-2  { left: 14%; width: 3px;   height: 3px;   animation-duration: 6.8s; animation-delay: 1.8s; --drift: -18px; }
        .dust-3  { left: 22%; width: 2px;   height: 2px;   animation-duration: 8.2s; animation-delay: 3.2s; --drift: 15px; }
        .dust-4  { left: 31%; width: 3.5px; height: 3.5px; animation-duration: 7.1s; animation-delay: 0.9s; --drift: -22px; }
        .dust-5  { left: 39%; width: 2px;   height: 2px;   animation-duration: 9.0s; animation-delay: 4.5s; --drift: 25px; }
        .dust-6  { left: 48%; width: 3px;   height: 3px;   animation-duration: 6.5s; animation-delay: 2.3s; --drift: -15px; }
        .dust-7  { left: 56%; width: 2.5px; height: 2.5px; animation-duration: 8.0s; animation-delay: 5.1s; --drift: 18px; }
        .dust-8  { left: 64%; width: 3px;   height: 3px;   animation-duration: 7.4s; animation-delay: 1.2s; --drift: -20px; }
        .dust-9  { left: 72%; width: 2px;   height: 2px;   animation-duration: 8.7s; animation-delay: 3.7s; --drift: 22px; }
        .dust-10 { left: 81%; width: 3.5px; height: 3.5px; animation-duration: 6.9s; animation-delay: 0.4s; --drift: -16px; }
        .dust-11 { left: 89%; width: 2.5px; height: 2.5px; animation-duration: 7.8s; animation-delay: 2.9s; --drift: 19px; }
        .dust-12 { left: 95%; width: 3px;   height: 3px;   animation-duration: 8.4s; animation-delay: 4.8s; --drift: -24px; }

        @keyframes dustDriftFall {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0;
            }
            20% {
                opacity: 0.65;
            }
            80% {
                opacity: 0.45;
                transform: translateY(270px) translateX(var(--drift));
            }
            100% {
                transform: translateY(340px) translateX(calc(var(--drift) * 1.4));
                opacity: 0;
            }
        }

        /* --- THÈME 4 : HORREUR ET PEUR (Pluie battante sur le Header) --- */
        .header-rain-container {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
            pointer-events: none;
            z-index: 4;
            display: none;
            -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
        }

        .app-header.header-theme-4 .header-rain-container {
            display: block;
        }

        .header-rain-drop {
            position: absolute;
            background: linear-gradient(to bottom, rgba(174, 194, 224, 0.1), rgba(174, 194, 224, 0.65));
            width: 1.5px;
            height: 24px;
            top: -30px;
            pointer-events: none;
            animation: headerRainFall linear infinite;
        }

        .rain-1  { left: 3%;  animation-duration: 0.65s; animation-delay: 0.1s; }
        .rain-2  { left: 8%;  animation-duration: 0.55s; animation-delay: 0.4s; }
        .rain-3  { left: 13%; animation-duration: 0.70s; animation-delay: 0.2s; }
        .rain-4  { left: 18%; animation-duration: 0.60s; animation-delay: 0.7s; }
        .rain-5  { left: 23%; animation-duration: 0.50s; animation-delay: 0.3s; }
        .rain-6  { left: 28%; animation-duration: 0.68s; animation-delay: 0.9s; }
        .rain-7  { left: 33%; animation-duration: 0.58s; animation-delay: 0.5s; }
        .rain-8  { left: 38%; animation-duration: 0.62s; animation-delay: 0.2s; }
        .rain-9  { left: 43%; animation-duration: 0.52s; animation-delay: 0.8s; }
        .rain-10 { left: 48%; animation-duration: 0.72s; animation-delay: 0.4s; }
        .rain-11 { left: 53%; animation-duration: 0.56s; animation-delay: 0.1s; }
        .rain-12 { left: 58%; animation-duration: 0.64s; animation-delay: 0.6s; }
        .rain-13 { left: 63%; animation-duration: 0.48s; animation-delay: 0.3s; }
        .rain-14 { left: 68%; animation-duration: 0.70s; animation-delay: 0.8s; }
        .rain-15 { left: 73%; animation-duration: 0.54s; animation-delay: 0.2s; }
        .rain-16 { left: 78%; animation-duration: 0.66s; animation-delay: 0.5s; }
        .rain-17 { left: 83%; animation-duration: 0.50s; animation-delay: 0.9s; }
        .rain-18 { left: 88%; animation-duration: 0.74s; animation-delay: 0.4s; }
        .rain-19 { left: 93%; animation-duration: 0.58s; animation-delay: 0.1s; }
        .rain-20 { left: 97%; animation-duration: 0.62s; animation-delay: 0.7s; }

        @keyframes headerRainFall {
            0% {
                transform: translateY(0);
                opacity: 0.75;
            }
            100% {
                transform: translateY(370px);
                opacity: 0.05;
            }
        }

        /* --- THÈME 4 : HORREUR ET PEUR (L'Œil des Abysses & Sang sous Gravité) --- */
        .horror-gem.gem-left:hover {
            box-shadow: 0 0 18px #a55eea, 0 0 30px rgba(0, 210, 255, 0.8), inset 0 0 8px #ffffff;
            transform: translate(-50%, -50%) scale(1.18);
        }

        .horror-gem.gem-right:hover {
            box-shadow: 0 0 18px #ff2222, 0 0 30px rgba(255, 34, 34, 0.8), inset 0 0 8px #ffffff;
            transform: translate(-50%, -50%) scale(1.18);
        }

        /* --- 1. L'ŒIL DES ABYSSES (Joyau Gauche Thème 4 - Plus Petit & Net) --- */
        .abyss-eye-entity {
            position: absolute;
            width: 50px;
            height: 30px;
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 26;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: abyssEyeLifespan 1.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }

        @keyframes abyssEyeLifespan {
            0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
            15% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
            25% { transform: translate(-50%, -50%) scale(1.0); opacity: 1; }
            80% { opacity: 1; transform: translate(-50%, -50%) scale(1.0); }
            100% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
        }

        .abyss-eye-aura {
            position: absolute;
            width: 72px;
            height: 48px;
            border-radius: 50%;
            background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.45) 0%, rgba(0, 210, 255, 0.2) 50%, transparent 80%);
            filter: blur(3px);
            animation: abyssAuraPulse 1.2s ease-in-out infinite alternate;
        }

        @keyframes abyssAuraPulse {
            0% { transform: scale(0.95); opacity: 0.7; }
            100% { transform: scale(1.15); opacity: 1; }
        }

        .abyss-eye-ball {
            position: relative;
            width: 42px;
            height: 24px;
            border-radius: 50% / 50%;
            background: radial-gradient(ellipse at center, #1b0033 0%, #0d001a 60%, #000000 100%);
            border: 1.5px solid #a55eea;
            box-shadow: 0 0 8px #a55eea, 0 0 14px rgba(0, 210, 255, 0.6), inset 0 0 6px #70a1ff;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .abyss-eye-iris {
            width: 17px;
            height: 17px;
            border-radius: 50%;
            background: radial-gradient(circle, #00ffff 0%, #3742fa 55%, #180033 90%);
            box-shadow: 0 0 6px #00d2ff;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: abyssIrisLook 1.6s ease-in-out forwards;
        }

        @keyframes abyssIrisLook {
            0% { transform: scale(0.6) translate(0, 0); }
            25% { transform: scale(1.1) translate(-3px, 0); }
            55% { transform: scale(1.0) translate(3px, -1px); }
            75% { transform: scale(1.15) translate(0, 0); }
            100% { transform: scale(0.4) translate(0, 0); }
        }

        .abyss-eye-slit {
            width: 2.5px;
            height: 13px;
            background: #000000;
            border-radius: 50%;
            box-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
            animation: abyssSlitDilate 1.6s ease-in-out forwards;
        }

        @keyframes abyssSlitDilate {
            0% { transform: scaleY(0.2) scaleX(0.5); }
            30% { transform: scaleY(1.1) scaleX(1.4); }
            70% { transform: scaleY(1.0) scaleX(1.0); }
            90% { transform: scaleY(1.2) scaleX(2.0); }
            100% { transform: scaleY(0) scaleX(0); }
        }

        .abyss-lid {
            position: absolute;
            width: 46px;
            height: 14px;
            background: #0d1117;
            z-index: 5;
        }

        .abyss-lid-upper {
            top: -1px;
            border-radius: 0 0 50% 50%;
            animation: abyssLidTopAnim 1.6s ease-in-out forwards;
        }

        .abyss-lid-lower {
            bottom: -1px;
            border-radius: 50% 50% 0 0;
            animation: abyssLidBottomAnim 1.6s ease-in-out forwards;
        }

        @keyframes abyssLidTopAnim {
            0% { transform: translateY(0); }
            20% { transform: translateY(-13px); }
            65% { transform: translateY(-13px); }
            75% { transform: translateY(-2px); }
            82% { transform: translateY(-13px); }
            95% { transform: translateY(0); }
            100% { transform: translateY(0); }
        }

        @keyframes abyssLidBottomAnim {
            0% { transform: translateY(0); }
            20% { transform: translateY(13px); }
            65% { transform: translateY(13px); }
            75% { transform: translateY(2px); }
            82% { transform: translateY(13px); }
            95% { transform: translateY(0); }
            100% { transform: translateY(0); }
        }

        .abyss-void-smoke {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            z-index: 25;
            animation: abyssSmokeFly 1.1s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
        }

        @keyframes abyssSmokeFly {
            0% {
                opacity: 0.85;
                transform: translate(-50%, -50%) scale(1);
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(2.2);
                filter: blur(2px);
            }
        }

        /* --- 2. SANG SOUS GRAVITÉ (Joyau Droit Thème 4) --- */
        .blood-shockwave {
            position: absolute;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 22;
            animation: bloodWaveAnim 0.55s ease-out forwards;
        }

        @keyframes bloodWaveAnim {
            0% {
                width: 10px;
                height: 10px;
                opacity: 1;
                border: 2px solid #ff2222;
                box-shadow: 0 0 20px #ff0000, 0 0 35px #8b0000;
            }
            100% {
                width: 160px;
                height: 160px;
                opacity: 0;
                border: 1px solid rgba(255, 0, 0, 0);
            }
        }

        .blood-drip {
            position: absolute;
            pointer-events: none;
            z-index: 24;
            border-radius: 50% 50% 40% 40%;
            opacity: 0;
            animation: bloodGravityFall 0.8s cubic-bezier(0.35, 0, 0.85, 1) forwards;
        }

        @keyframes bloodGravityFall {
            0% {
                opacity: 0;
                transform: translate(-50%, -50%) translate(0, 0) scale(0.8, 0.8);
            }
            15% {
                opacity: 0.95;
                transform: translate(-50%, -50%) translate(calc(var(--dx) * 0.3), 8px) scale(1, 1.3);
            }
            65% {
                opacity: 0.85;
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) translate(var(--dx), var(--fall-dist)) scale(0.4, 1.6);
            }
        }

        /* Combo Horreur : Tremblement de terreur & Brume écarlate */
        .horror-combo-shake {
            animation: horrorShakeAnim 0.65s ease-in-out forwards;
        }

        @keyframes horrorShakeAnim {
            0% { transform: translate(0, 0) rotate(0deg); }
            15% { transform: translate(-6px, 4px) rotate(-1deg); filter: drop-shadow(0 0 35px #ff0000); }
            30% { transform: translate(6px, -4px) rotate(1deg); filter: drop-shadow(0 0 45px #ff0000); }
            45% { transform: translate(-4px, -2px) rotate(-0.6deg); }
            60% { transform: translate(4px, 2px) rotate(0.6deg); filter: drop-shadow(0 0 30px #ff0000); }
            75% { transform: translate(-2px, 1px) rotate(-0.3deg); }
            100% { transform: translate(0, 0) rotate(0deg); filter: none; }
        }

        .horror-crimson-mist {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(170, 0, 0, 0.5) 0%, rgba(90, 0, 0, 0.3) 60%, transparent 85%);
            pointer-events: none;
            z-index: 20;
            animation: crimsonMistAnim 1.2s ease-out forwards;
        }

        @keyframes crimsonMistAnim {
            0% { opacity: 0; }
            20% { opacity: 1; }
            75% { opacity: 0.75; }
            100% { opacity: 0; }
        }

/* --- NAVIGATION COMMUNE MPA (ltt-navbar) --- */
.ltt-navbar {
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.navbar-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
}
.navbar-brand-logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}
.navbar-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.navbar-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #cbd5e1;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}
.navbar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}
.navbar-link.active {
    background: rgba(37, 99, 235, 0.25);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.5);
    font-weight: 600;
}
.btn-navbar-logout {
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    padding: 5px 8px !important;
    font-size: 0.8rem !important;
    width: auto !important;
    flex-shrink: 0;
}
.btn-navbar-logout:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
}

/* Infos Profil dans la Navbar */
.navbar-profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.nav-profile-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    color: #f8fafc;
    font-weight: 600;
}
.nav-profile-badge {
    display: inline-block;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}
.nav-profile-badge.has-active-badge {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
}

/* --- EFFETS COSMÉTIQUES DES BADGES SUR LE PSEUDO --- */

/* Badge Fondateur : Doré brillant scintillant */
.badge-effect-gold-shimmer {
    background: linear-gradient(90deg, #ffd700 0%, #fff7b2 25%, #d4af37 50%, #fff7b2 75%, #ffd700 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
    font-weight: 800 !important;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.45));
    animation: shimmerGold 4s linear infinite;
}

@keyframes shimmerGold {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Badge Isekai : Dégradé bleu et violet foncé */
.badge-effect-isekai-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 45%, #581c87 85%, #3b0764 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
    font-weight: 800 !important;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.45));
}

/* Badge Maître du Jeu : Nom et avatar écrits en gras prononcé */
.badge-effect-game-master-bold {
    font-weight: 900 !important;
}
#navUsernameText.badge-effect-game-master-bold,
.nav-profile-name.badge-effect-game-master-bold strong {
    font-weight: 900 !important;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}
.nav-profile-name.badge-effect-game-master-bold .nav-avatar-icon {
    font-weight: 900 !important;
    display: inline-block;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
    transform: scale(1.15);
}
.nav-profile-sub {
    display: inline-block;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- MODALE SUPPORT TECHNIQUE & BUG REPORT --- */
.support-modal-box {
    max-width: 580px;
    width: 92%;
    max-height: 86vh;
    overflow-y: auto;
    background: #131b2e;
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    color: #e2e8f0;
    box-sizing: border-box;
}
.support-discord-callout {
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.discord-badge-icon {
    font-size: 26px;
}
.discord-callout-text {
    flex: 1;
}
.discord-callout-text strong {
    color: #a5b4fc;
    display: block;
    margin-bottom: 2px;
    font-size: 0.95rem;
}
.discord-callout-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #cbd5e1;
}
.btn-discord-action {
    background: #5865f2;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-discord-action:hover {
    background: #4752c4;
}
.support-form .form-group {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.support-form label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}
.support-form .input-text,
.support-form .input-select,
.support-form .input-textarea {
    width: 100%;
    background: #0b0f19;
    border: 1px solid #334155;
    color: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.9rem;
}
.support-form .input-text:focus,
.support-form .input-select:focus,
.support-form .input-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}
.support-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 14px;
}

.support-form-actions button,
.support-form-actions .btn-main,
.support-form-actions .btn-secondary {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 7px 16px !important;
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.support-direct-email {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}
.support-email-link {
    color: #60a5fa;
    text-decoration: underline;
}
.form-feedback {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.form-feedback.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}
.form-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* ==========================================================================
   MODULES PARTAGÉS : CHAMPS MOT DE PASSE, STATUTS, COMPTEURS & BANNIÈRES
   ========================================================================== */

/* 1. Wrapper pour input de mot de passe & code avec bouton œil */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 44px !important;
    box-sizing: border-box;
}

/* Bouton bascule œil universel (Afficher/Masquer) */
.btn-toggle-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    line-height: 1;
    transition: color 0.2s, background 0.2s;
    z-index: 2;
}

.btn-toggle-eye:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff;
    transform: translateY(-50%) !important;
    box-shadow: none !important;
}

.btn-toggle-eye:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4) !important;
}

/* Champ de code masqué pour streamer */
.code-masked-input[type="text"] {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. Indicateurs de statut en direct (longueur & confirmation mdp, disponibilité) */
.input-availability-status {
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 4px;
}
.input-availability-status.available {
    color: #4ade80;
}
.input-availability-status.taken {
    color: #f87171;
}
.input-availability-status.warning {
    color: #facc15;
}
.input-availability-status.checking {
    color: #94a3b8;
    font-style: italic;
}

/* 3. Boutons Copier avec feedback sans modal */
.is-copied {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: rgba(34, 197, 94, 0.55) !important;
    color: #4ade80 !important;
}

/* 4. Compteurs de caractères en direct (Support & Formulaires) */
.char-live-counter {
    font-size: 0.76rem;
    color: #94a3b8;
    text-align: right;
    margin-top: 3px;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}
.char-live-counter.near-limit {
    color: #facc15;
}
.char-live-counter.at-limit {
    color: #f87171;
    font-weight: 600;
}

/* 5. Modale Accès Créateur / Bêta & Discord */
.creator-access-modal-box {
    max-width: 620px;
    width: 92%;
    background: #131b2e;
    border: 1px solid rgba(88, 101, 242, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
    box-sizing: border-box;
}
.creator-access-modal-body {
    padding: 4px 0 0 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}
.creator-modal-intro p {
    margin-bottom: 10px;
}
.creator-modal-discord-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 8px;
    padding: 14px;
    margin: 18px 0;
}
.creator-modal-discord-callout .discord-badge-icon {
    font-size: 1.8rem;
    line-height: 1;
}
.creator-discord-text strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}
.creator-discord-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}
.creator-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    justify-content: flex-end;
}
.creator-modal-actions .btn-discord-action,
.creator-modal-actions .btn-pricing-redirect,
.creator-modal-actions .btn-secondary {
    width: auto !important;
    height: auto !important;
    padding: 9px 18px !important;
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.creator-modal-actions .btn-pricing-redirect {
    color: #0b0f19 !important;
}
.creator-modal-actions .btn-pricing-redirect:hover {
    filter: brightness(1.08);
    color: #0b0f19 !important;
}
.creator-modal-actions .btn-discord-action {
    background: #5865f2;
    color: #ffffff;
    border: 1px solid transparent;
}
.creator-modal-actions .btn-discord-action:hover {
    background: #4752c4;
}

/* 6. Encart Dynamique : Bêta-Testeur & Discord (Pricing & Profil) */
.beta-discord-banner {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(19, 27, 46, 0.92));
    border: 1px solid rgba(88, 101, 242, 0.45);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 25px 0 10px;
    color: #e2e8f0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.beta-discord-banner.is-active-tester {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(19, 27, 46, 0.95));
    border: 1px solid rgba(78, 204, 163, 0.55);
    box-shadow: 0 0 25px rgba(78, 204, 163, 0.15);
}
.beta-discord-banner .banner-badge-header {
    margin-bottom: 12px;
}
.beta-discord-banner .banner-title-badge {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.beta-discord-banner.is-active-tester .banner-title-badge {
    color: #4ecca3;
}
.beta-discord-banner .banner-content-body {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #cbd5e1;
}
.beta-discord-banner .banner-main-text {
    margin: 0 0 10px 0;
}
.beta-discord-banner .banner-sub-note {
    font-size: 0.88rem;
    color: #94a3b8;
    margin: 0 0 12px 0;
}
.beta-discord-banner .banner-countdown-box {
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid #4ecca3;
    padding: 10px 14px;
    border-radius: 4px;
    margin: 12px 0;
    font-size: 0.92rem;
    color: #e2e8f0;
}
.beta-discord-banner .countdown-highlight {
    color: #4ecca3;
    font-weight: 700;
    font-size: 1rem;
}
.beta-discord-banner .banner-countdown-box em {
    color: #94a3b8;
    font-style: normal;
    margin-left: 6px;
}
.beta-discord-banner .banner-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-start;
}
.beta-discord-banner .btn-discord-action {
    background: #5865f2;
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}
.beta-discord-banner .btn-discord-action:hover {
    background: #4752c4;
}
.beta-discord-banner.is-active-tester .btn-discord-action {
    background: rgba(88, 101, 242, 0.25);
    border: 1px solid rgba(88, 101, 242, 0.5);
}
.beta-discord-banner.is-active-tester .btn-discord-action:hover {
    background: #5865f2;
}
