        body {
            font-family: 'Inter', sans-serif;
            overflow: hidden;
            background-color: #0C0C0D;
            color: #B8B4B1;
        }

        .glass-panel {
            background: rgba(20, 20, 22, 0.95);
            border: 1px solid rgba(184, 180, 177, 0.1);
            backdrop-filter: blur(20px);
        }

        .sidebar-item-active {
            background: rgba(249, 211, 66, 0.1);
            border-left: 2px solid #F9D342;
            color: #F9D342;
        }

        .studio-gradient {
            background: radial-gradient(circle at 50% 50%, #1A1A1C 0%, #0C0C0D 100%);
        }

        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }

        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .lens-glass {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.05) 100%);
        }

        .toolbar-icon:hover {
            color: white;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .prompt-mode-btn.active {
            background-color: #F9D342;
            color: #0C0C0D;
            box-shadow: 0 0 15px rgba(249, 211, 66, 0.2);
        }

        /* === GLASSMORPHISM SETTING PILLS (+40%) === */
        .setting-pill {
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(17px) saturate(1.4);
            -webkit-backdrop-filter: blur(17px) saturate(1.4);
            border-color: rgba(255, 255, 255, 0.13);
            color: #B8B4B1;
            flex: 1;
            justify-content: center;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), inset 0 -1px 0 rgba(0, 0, 0, 0.15), 0 6px 22px rgba(0, 0, 0, 0.45);
        }

        .setting-pill:hover {
            background: rgba(249, 211, 66, 0.13);
            border-color: rgba(249, 211, 66, 0.50);
            box-shadow: inset 0 1px 0 rgba(249, 211, 66, 0.18), 0 4px 24px rgba(249, 211, 66, 0.14), 0 0 40px rgba(249, 211, 66, 0.09);
            color: white;
            transform: translateY(-1px);
        }

        .setting-pill span.material-symbols-outlined {
            color: #F9D342;
            filter: drop-shadow(0 0 6px rgba(249, 211, 66, 0.5));
        }

        .action-btn-group {
            display: flex;
            border-radius: 0.5rem;
            overflow: hidden;
            height: 100%;
        }

        /* === DRAFT BUTTON — Biseau / Highlight interne === */
        .action-btn-draft {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
            backdrop-filter: blur(17px) saturate(1.4);
            -webkit-backdrop-filter: blur(17px) saturate(1.4);
            color: #B8B4B1;
            transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
            /* Biseau : trait de lumière fin en haut, ombre douce en bas */
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.22),
                inset 0 -1px 0 rgba(0, 0, 0, 0.25),
                0 1px 3px rgba(0, 0, 0, 0.3);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .action-btn-draft:hover {
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
            color: white;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.30),
                inset 0 -1px 0 rgba(0, 0, 0, 0.20),
                0 4px 16px rgba(0, 0, 0, 0.35);
            transform: translateY(-0.5px);
        }

        .action-btn-draft:active {
            transform: translateY(0.5px);
            box-shadow:
                inset 0 2px 4px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.10);
        }

        /* === GENERATE BUTTON — Éclairé de l'intérieur === */
        .action-btn-generate {
            /* 1. Dégradé vertical : clair en haut, saturé en bas */
            background: linear-gradient(180deg,
                    #FFE47A 0%,
                    /* clair doré en haut */
                    #F9D342 35%,
                    /* doré standard */
                    #E6B820 100%
                    /* saturé/foncé en bas */
                );
            color: #0C0C0D;
            transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
            /* 2. Inner glow (trait de lumière en haut) + 3. Outer glow (halo) */
            box-shadow:
                /* Inner glow — trait blanc intense en haut */
                inset 0 1px 0 rgba(255, 255, 255, 0.55),
                inset 0 2px 4px rgba(255, 255, 255, 0.20),
                /* Ombre de profondeur */
                inset 0 -1px 0 rgba(180, 140, 0, 0.30),
                /* Outer glow — halo doré autour */
                0 0 12px rgba(249, 211, 66, 0.35),
                0 4px 20px rgba(249, 211, 66, 0.25),
                0 0 40px rgba(249, 211, 66, 0.12);
        }

        .action-btn-generate:hover {
            background: linear-gradient(180deg,
                    #FFF0A0 0%,
                    #FFE066 35%,
                    #F9D342 100%);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.65),
                inset 0 2px 6px rgba(255, 255, 255, 0.30),
                inset 0 -1px 0 rgba(180, 140, 0, 0.20),
                0 0 18px rgba(249, 211, 66, 0.50),
                0 6px 28px rgba(249, 211, 66, 0.40),
                0 0 56px rgba(249, 211, 66, 0.18);
            transform: translateY(-0.5px);
        }

        .action-btn-generate:active {
            transform: translateY(0.5px);
            box-shadow:
                inset 0 2px 6px rgba(180, 140, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.30),
                0 0 8px rgba(249, 211, 66, 0.30);
        }

        /* === GLASSMORPHISM BOTTOM ZONE (+40%) === */
        .glass-bottom-zone {
            background: rgba(12, 12, 13, 0.50);
            backdrop-filter: blur(34px) saturate(1.6);
            -webkit-backdrop-filter: blur(34px) saturate(1.6);
        }

        /* === SPINNER LOADER === */
        @keyframes spin-slow {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* === MODEL PILLS === */
        .model-pill {
            color: rgba(255, 255, 255, 0.35);
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .model-pill:hover {
            color: rgba(255, 255, 255, 0.7);
            background: rgba(255, 255, 255, 0.05);
        }

        .active-model-pill {
            color: #F9D342;
            background: rgba(249, 211, 66, 0.12);
        }

        .llm-opt {
            color: rgba(255, 255, 255, 0.6);
        }

        .llm-opt:hover {
            color: white;
        }

        .spinner-ring {
            animation: spin-slow 1.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
        }

        /* === VIDEO GALLERY === */
        .video-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 16px;
            padding: 20px;
            width: 100%;
            align-content: start;
        }

        .gallery-card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.03);
            transition: all 0.3s ease;
            cursor: default;
        }

        .gallery-card:not(.selected):hover {
            border-color: rgba(249, 211, 66, 0.25);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 16px rgba(249, 211, 66, 0.04);
            transform: translateY(-2px);
        }

        /* État sélectionné pour re-edit (bordure VERTE) */
        .gallery-card.selected {
            border-color: rgba(74, 222, 128, 0.7);
            box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.3), 0 8px 32px rgba(74, 222, 128, 0.1);
            transform: translateY(-2px);
        }

        .gallery-card.selected .card-ratio::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 10px;
            background: rgba(74, 222, 128, 0.04);
            z-index: 1;
            pointer-events: none;
        }

        .gallery-card .card-ratio {
            aspect-ratio: 16/9;
            background: #1A1A1C;
            position: relative;
        }

        .gallery-card .card-info {
            padding: 8px 12px;
            background: rgba(12, 12, 13, 0.8);
            backdrop-filter: blur(8px);
            cursor: pointer;
        }

        .gallery-card .card-info:hover {
            background: rgba(74, 222, 128, 0.08);
        }

        /* Badge re-edit au survol de la card-info */
        .card-reedit-hint {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            opacity: 0;
            transition: opacity 0.2s;
            font-size: 9px;
            color: rgba(74, 222, 128, 0.8);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .gallery-card .card-info:hover .card-reedit-hint {
            opacity: 1;
        }

        /* === LIGHTBOX === */
        .lightbox-overlay {
            position: fixed;
            inset: 0;
            z-index: 100;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .lightbox-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* === CARD REVEAL ANIMATION === */
        @keyframes card-reveal {
            0% {
                opacity: 0;
                transform: scale(0.95);
            }

            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        .gallery-card.reveal {
            animation: card-reveal 0.5s ease forwards;
        }
