/* lion_app.css — Design Tactique Mobile & Desktop CosplayOS Lion */
:root {
    --gold: #ffb700;
    --gold-glow: rgba(255, 183, 0, 0.45);
    --crimson: #e62638;
    --crimson-glow: rgba(230, 38, 56, 0.55);
    --jade: #00e5a3;
    --jade-glow: rgba(0, 229, 163, 0.4);
    --cyan: #1ae6ff;
    --cyan-glow: rgba(26, 230, 255, 0.35);
    --purple: #b026ff;
    --purple-glow: rgba(176, 38, 255, 0.4);
    --bg-dark: #060911;
    --panel-bg: rgba(14, 20, 34, 0.92);
    --panel-border: rgba(255, 183, 0, 0.3);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    padding-top: env(safe-area-inset-top, 10px);
    padding-bottom: env(safe-area-inset-bottom, 20px);
    background: radial-gradient(circle at 50% 15%, #1f1730 0%, #080b15 70%, #030408 100%);
    color: var(--text-light);
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Header */
.lion-topbar {
    width: 100%;
    max-width: 1450px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gold);
    background: rgba(10, 14, 24, 0.96);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 1.4rem;
    box-shadow: 0 0 15px var(--gold-glow);
    background: radial-gradient(circle, rgba(255,183,0,0.2) 0%, transparent 80%);
}

.brand-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
    margin: 0;
    line-height: 1;
}

.brand-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--crimson);
    letter-spacing: 2px;
    font-weight: 700;
}

/* Main Container */
.main-app {
    width: 100%;
    max-width: 1450px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Grille Cockpit Scénique (COM à gauche, LED à droite) */
.cockpit-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.cockpit-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

@media (min-width: 1024px) {
    body:not(.view-mode-mobile) .cockpit-grid {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 20px;
        align-items: start;
    }
}

/* Force Mode PC (2 Colonnes) */
body.view-mode-pc .lion-topbar,
body.view-mode-pc .main-app {
    max-width: 1450px !important;
}
body.view-mode-pc .cockpit-grid {
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    gap: 20px !important;
    align-items: start !important;
}

/* Force Mode Téléphone (1 Colonne compacte) */
body.view-mode-mobile .lion-topbar,
body.view-mode-mobile .main-app {
    max-width: 850px !important;
}
body.view-mode-mobile .cockpit-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Connection Badges */
.conn-bar {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-conn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--gold);
    background: rgba(255, 183, 0, 0.1);
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-conn:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-conn.connected {
    background: rgba(0, 229, 163, 0.2);
    border-color: var(--jade);
    color: var(--jade);
    box-shadow: 0 0 15px var(--jade-glow);
}

.top-nav-btn.active, .btn-conn.active {
    background: var(--gold) !important;
    color: #000 !important;
    border-color: #fff !important;
    box-shadow: 0 0 18px var(--gold-glow), 0 0 4px #fff !important;
}
.top-nav-btn.active i, .btn-conn.active i, .top-nav-btn.active svg, .btn-conn.active svg {
    color: #000 !important;
    fill: #000 !important;
}

.top-nav-btn.active-cyan, .btn-conn.active-cyan {
    background: var(--cyan) !important;
    color: #000 !important;
    border-color: #fff !important;
    box-shadow: 0 0 18px var(--cyan-glow), 0 0 4px #fff !important;
}
.top-nav-btn.active-cyan i, .btn-conn.active-cyan i, .top-nav-btn.active-cyan svg, .btn-conn.active-cyan svg {
    color: #000 !important;
    fill: #000 !important;
}

/* App Container Harmonisé */
.app-container {
    width: 100%;
    max-width: 1450px;
    margin: 16px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Status Cards */
.status-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 15px rgba(255, 183, 0, 0.08);
    flex-wrap: wrap;
    gap: 12px;
}

/* Formulaires & Inputs Harmonises Globaux */
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea,
.field-box {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
    background: rgba(0, 0, 0, 0.75);
}

/* Tableaux Unifiés Globaux */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

table th {
    text-align: left;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--gold);
    border-bottom: 2px solid var(--panel-border);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1px;
}

table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

table tr:hover td {
    background: rgba(255, 183, 0, 0.04);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #64748b;
    box-shadow: 0 0 8px rgba(100,116,139,0.5);
    transition: all 0.3s;
}

.status-dot.active {
    background: var(--jade);
    box-shadow: 0 0 12px var(--jade-glow);
}

.status-dot.busy {
    background: var(--crimson);
    box-shadow: 0 0 14px var(--crimson-glow);
    animation: pulse-busy 1s infinite alternate;
}

.status-dot.offline {
    background: #ef4444;
}

@keyframes pulse-busy {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* Tab Navigation Bar */
.nav-tabs {
    display: flex;
    gap: 8px;
    background: rgba(10, 14, 24, 0.8);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 6px;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--gold);
    background: rgba(255, 183, 0, 0.08);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.25), rgba(255, 136, 0, 0.25));
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}

/* Tab Content Panels */
.tab-pane {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.tab-pane.active {
    display: flex;
}

/* Cockpit Pole Headers */
.cockpit-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.80rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 10px 16px;
    border-radius: 10px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.cockpit-column-header.header-com {
    color: #fff;
    background: linear-gradient(135deg, rgba(26, 230, 255, 0.35) 0%, rgba(26, 230, 255, 0.12) 100%);
    border: 2px solid var(--cyan);
    box-shadow: 0 0 25px rgba(26, 230, 255, 0.45), inset 0 0 15px rgba(26, 230, 255, 0.25);
    text-shadow: 0 0 10px var(--cyan);
}

.cockpit-column-header.header-led {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.35) 0%, rgba(255, 183, 0, 0.12) 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 0 25px rgba(255, 183, 0, 0.45), inset 0 0 15px rgba(255, 183, 0, 0.25);
    text-shadow: 0 0 10px var(--gold);
}

/* Module Cards avec Halos Lumineux Définis */
.module-card {
    background: var(--panel-bg);
    border: 1.5px solid var(--panel-border);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

/* Halo Prononcé Pôle COM (Cyan / Bleu électrique Vif) */
.cockpit-col-com .module-card {
    border: 1.5px solid rgba(26, 230, 255, 0.65);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(26, 230, 255, 0.35), inset 0 0 16px rgba(26, 230, 255, 0.08);
}
.cockpit-col-com .module-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(26, 230, 255, 0.55), inset 0 0 22px rgba(26, 230, 255, 0.15);
}

/* Halo Prononcé Pôle LED (Or Impérial / Ambre Vif) */
.cockpit-col-led .module-card {
    border: 1.5px solid rgba(255, 183, 0, 0.65);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75), 0 0 24px rgba(255, 183, 0, 0.35), inset 0 0 16px rgba(255, 183, 0, 0.08);
}
.cockpit-col-led .module-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 183, 0, 0.55), inset 0 0 22px rgba(255, 183, 0, 0.15);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 183, 0, 0.2);
    padding-bottom: 8px;
}

.module-header.accordion-header {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 4px 6px;
    margin: -4px -6px 0 -6px;
}

.module-header.accordion-header:hover {
    background: rgba(255, 183, 0, 0.08);
}

.accordion-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    color: var(--gold);
    display: inline-block;
    margin-left: 10px;
}

.module-header.accordion-header.collapsed .accordion-chevron,
.sub-accordion-header.collapsed .accordion-chevron {
    transform: rotate(-90deg);
}

/* Sub-Accordions */
.sub-accordion-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 4px;
    transition: border-color 0.2s ease;
}

.sub-accordion-card:hover {
    border-color: rgba(255, 183, 0, 0.5);
}

.sub-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 183, 0, 0.05);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.sub-accordion-header:hover {
    background: rgba(255, 183, 0, 0.12);
}

.sub-accordion-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    max-height: 2500px;
    opacity: 1;
}

.accordion-content.collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none;
}

.module-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* VENTILATION MODULE STYLES */
.fan-status-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 163, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
}

.fan-icon-spin {
    font-size: 2rem;
    color: var(--jade);
    transition: all 0.3s;
}

.fan-icon-spin.spinning {
    animation: fan-rotate 1.2s infinite linear;
}

.fan-icon-spin.fast {
    animation: fan-rotate 0.4s infinite linear;
}

@keyframes fan-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.btn-preset {
    padding: 10px 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-preset:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-preset.active {
    background: var(--gold);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 12px var(--gold-glow);
}

/* VISUALISEUR INTERACTIF SCHÉMATISÉ TÊTE DE LION (MIROIR FRONTAL + YEUX RGB + PUPILLES 8x8) */
.eyes-stage {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 310px;
    margin: 0 auto 12px auto;
    background: radial-gradient(circle at 50% 35%, rgba(20, 26, 43, 0.95) 0%, rgba(8, 11, 20, 0.98) 80%);
    border: 1.5px solid rgba(255, 183, 0, 0.35);
    border-radius: 16px;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lion-schematic-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270px;
    height: 290px;
    background-image: url('../img/lion_schematic_gold.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.65;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.3));
    transition: opacity 0.3s ease;
}

/* 1. Miroir Frontal au sommet du front du Lion (Plus grand que l'œil) */
.lion-mirror-socket {
    position: absolute;
    top: 15.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 6;
}

.mirror-bar-visu {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #ffb700;
    box-shadow: 0 0 24px rgba(255, 183, 0, 0.85), inset 0 0 10px #fff;
    border: 2.5px solid rgba(255, 255, 255, 0.95);
    transition: all 0.25s ease;
    cursor: pointer;
}

/* 2. Yeux positionnés exactement dans les orbites */
.lion-eye-socket-left {
    position: absolute;
    top: 31.5%;
    left: 31.5%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.lion-eye-socket-right {
    position: absolute;
    top: 31.5%;
    left: 68.5%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.eye-ring {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, #080203 35%, #000 85%);
    border: 2.5px solid #ffb700;
    box-shadow: 0 0 18px rgba(255, 183, 0, 0.6), inset 0 0 10px rgba(0,0,0,0.95);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

/* Animations Dynamiques Anneaux Yeux RGB */
.eye-ring.anim-eyes-breathe {
    animation: eyesBreatheAnim 2.2s infinite alternate ease-in-out;
}

.eye-ring.anim-eyes-flash {
    animation: eyesFlashAnim 0.3s infinite alternate ease-in-out;
}

.eye-ring.anim-eyes-rainbow {
    animation: eyesRainbowAnim 3.5s infinite linear;
}

@keyframes eyesBreatheAnim {
    0% {
        opacity: 0.35;
        transform: scale(0.96);
        filter: brightness(0.6);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
        filter: brightness(1.3);
    }
}

@keyframes eyesFlashAnim {
    0% {
        opacity: 0.2;
        filter: brightness(0.4);
    }
    50% {
        opacity: 1;
        filter: brightness(1.8);
    }
    100% {
        opacity: 0.1;
        filter: brightness(0.3);
    }
}

@keyframes eyesRainbowAnim {
    0% { filter: hue-rotate(0deg) brightness(1.1); }
    100% { filter: hue-rotate(360deg) brightness(1.1); }
}

/* Animations Dynamiques Miroir Frontal RGB */
.mirror-bar-visu.anim-mirror-breathe {
    animation: mirrorBreatheAnim 2.2s infinite alternate ease-in-out;
}

.mirror-bar-visu.anim-mirror-strobe {
    animation: mirrorStrobeAnim 0.25s infinite alternate ease-in-out;
}

.mirror-bar-visu.anim-mirror-gradient {
    animation: mirrorGradientAnim 3s infinite alternate ease-in-out;
}

@keyframes mirrorBreatheAnim {
    0% {
        transform: scale(0.95);
        opacity: 0.4;
        filter: brightness(0.6);
    }
    100% {
        transform: scale(1.08);
        opacity: 1;
        filter: brightness(1.4);
    }
}

@keyframes mirrorStrobeAnim {
    0% { opacity: 0.15; filter: brightness(0.3); }
    50% { opacity: 1; filter: brightness(2); }
    100% { opacity: 0.1; filter: brightness(0.2); }
}

@keyframes mirrorGradientAnim {
    0% { filter: hue-rotate(0deg) brightness(1.1); }
    100% { filter: hue-rotate(180deg) brightness(1.3); }
}

.eye-matrix-pupil {
    width: 24px;
    height: 24px;
    background: #0d0103;
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 8px rgba(255, 0, 51, 0.6), inset 0 0 4px rgba(0,0,0,0.9);
    border: 1px solid rgba(255, 0, 51, 0.6);
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 0.8px;
    padding: 1.5px;
    transition: all 0.25s ease;
}

.matrix-dot {
    width: 100%;
    height: 100%;
    background: #ff0033;
    border-radius: 50%;
    opacity: 0.15;
    box-shadow: none;
    transition: opacity 0.2s, background-color 0.2s, box-shadow 0.2s;
}

/* 1. Motif Regard Fixe (Fente Féline / Pupille 8x8) */
.eye-matrix-pupil.anim-solid .matrix-dot:nth-child(8n+4),
.eye-matrix-pupil.anim-solid .matrix-dot:nth-child(8n+5),
.eye-matrix-pupil.anim-solid .matrix-dot:nth-child(n+19):nth-child(-n+22),
.eye-matrix-pupil.anim-solid .matrix-dot:nth-child(n+27):nth-child(-n+30),
.eye-matrix-pupil.anim-solid .matrix-dot:nth-child(n+35):nth-child(-n+38),
.eye-matrix-pupil.anim-solid .matrix-dot:nth-child(n+43):nth-child(-n+46) {
    opacity: 1;
    background: #ff3344;
    box-shadow: 0 0 6px #ff0033, 0 0 10px #ff3366;
}

/* 2. Motif Pulsation Cardiaque */
.eye-matrix-pupil.anim-pulse {
    animation: matrixGlowPulse 1.2s infinite ease-in-out;
}
.eye-matrix-pupil.anim-pulse .matrix-dot:nth-child(n+19):nth-child(-n+22),
.eye-matrix-pupil.anim-pulse .matrix-dot:nth-child(n+27):nth-child(-n+30),
.eye-matrix-pupil.anim-pulse .matrix-dot:nth-child(n+35):nth-child(-n+38),
.eye-matrix-pupil.anim-pulse .matrix-dot:nth-child(n+43):nth-child(-n+46) {
    opacity: 1;
    background: #ff2233;
    animation: dotPulse 1.2s infinite ease-in-out;
}
@keyframes matrixGlowPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 0, 51, 0.4); transform: scale(0.96); }
    50% { box-shadow: 0 0 24px rgba(255, 0, 51, 0.9), inset 0 0 12px rgba(255, 0, 51, 0.3); transform: scale(1.08); }
}
@keyframes dotPulse {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 2px #ff0033; }
    50% { opacity: 1; box-shadow: 0 0 8px #ff0033, 0 0 14px #ff3366; background: #fff; }
}

/* 3. Motif Fureur / Combat (Pleine matrice 8x8 ardente) */
.eye-matrix-pupil.anim-fury {
    animation: matrixFury 0.15s infinite alternate;
}
.eye-matrix-pupil.anim-fury .matrix-dot {
    opacity: 0.9;
    background: #ff1a2a;
    box-shadow: 0 0 5px #ff0033;
}
.eye-matrix-pupil.anim-fury .matrix-dot:nth-child(odd) {
    background: #fff;
    opacity: 1;
    box-shadow: 0 0 8px #ff0033;
}
@keyframes matrixFury {
    0% { transform: scale(1.05) translate(-1px, 0); box-shadow: 0 0 20px #ff0033; }
    100% { transform: scale(1.12) translate(1px, 0); box-shadow: 0 0 35px #ff0033, 0 0 50px #ff0000; }
}

/* 4. Motif Balayage Gauche/Droite */
.eye-matrix-pupil.anim-scan {
    animation: matrixScan 2.4s infinite ease-in-out;
}
.eye-matrix-pupil.anim-scan .matrix-dot:nth-child(8n+4),
.eye-matrix-pupil.anim-scan .matrix-dot:nth-child(8n+5),
.eye-matrix-pupil.anim-scan .matrix-dot:nth-child(n+27):nth-child(-n+30),
.eye-matrix-pupil.anim-scan .matrix-dot:nth-child(n+35):nth-child(-n+38) {
    opacity: 1;
    background: #ff3344;
    box-shadow: 0 0 6px #ff0033;
}
@keyframes matrixScan {
    0%, 100% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
}

/* 5. Motif Clignement Danse */
.eye-matrix-pupil.anim-blink {
    animation: matrixBlink 3.2s infinite ease-in-out;
}
.eye-matrix-pupil.anim-blink .matrix-dot:nth-child(8n+4),
.eye-matrix-pupil.anim-blink .matrix-dot:nth-child(8n+5),
.eye-matrix-pupil.anim-blink .matrix-dot:nth-child(n+19):nth-child(-n+22),
.eye-matrix-pupil.anim-blink .matrix-dot:nth-child(n+27):nth-child(-n+30),
.eye-matrix-pupil.anim-blink .matrix-dot:nth-child(n+35):nth-child(-n+38),
.eye-matrix-pupil.anim-blink .matrix-dot:nth-child(n+43):nth-child(-n+46) {
    opacity: 1;
    background: #ff3344;
    box-shadow: 0 0 6px #ff0033;
}
@keyframes matrixBlink {
    0%, 45%, 55%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.1); opacity: 0.15; }
}

/* 6. Motif Éteint / Veille */
.eye-matrix-pupil.anim-off {
    background: #060102;
    border-color: #330005;
    box-shadow: none;
    opacity: 0.3;
}
.eye-matrix-pupil.anim-off .matrix-dot {
    opacity: 0.03;
    background: #330005;
    box-shadow: none;
}

/* 3 Boutons LED Scéniques sous la Tête de Lion (Rouge, Jaune, Bleu) */
.lion-head-led-buttons-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    margin: 10px auto 6px auto;
    background: linear-gradient(180deg, rgba(20, 26, 43, 0.85) 0%, rgba(10, 14, 24, 0.95) 100%);
    border: 1px solid rgba(255, 183, 0, 0.25);
    border-radius: 12px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7), 0 4px 12px rgba(0,0,0,0.4);
    max-width: 340px;
}

.head-led-btn-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 6px;
    outline: none;
    transition: transform 0.15s ease;
    border-radius: 8px;
}

.head-led-btn-unit:hover {
    transform: translateY(-2px);
}

.head-led-btn-unit:active {
    transform: scale(0.95);
}

.head-led-indicator {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: radial-gradient(circle, #1a1d29 20%, #0c0f17 80%);
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.5);
}

.head-led-indicator::after {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.22;
    transition: all 0.25s ease;
}

/* Couleurs spécifiques */
.head-led-red { color: #ff2a4b; }
.head-led-yellow { color: #ffd000; }
.head-led-blue { color: #00a8ff; }

/* ÉTAT CLIGNOTANT (Signal émis par régie -> en attente d'acquittement danseur) */
.head-led-indicator.state-blinking {
    border-color: currentColor;
    animation: headLedBlink 0.55s infinite alternate ease-in-out;
}
.head-led-indicator.state-blinking::after {
    opacity: 1;
    background: currentColor;
    animation: headLedCoreBlink 0.55s infinite alternate ease-in-out;
}

/* ÉTAT FIXE (Validé par l'appui du danseur : garde sa couleur pure et intense) */
.head-led-indicator.state-solid {
    border-color: currentColor;
    box-shadow: 0 0 25px currentColor, 0 0 12px currentColor, inset 0 0 8px rgba(0,0,0,0.4);
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, #0c0f17 80%);
}
.head-led-indicator.state-solid::after {
    opacity: 1;
    background: currentColor;
    box-shadow: 0 0 18px currentColor, 0 0 30px currentColor;
    transform: scale(1.1);
}

@keyframes headLedBlink {
    0% {
        box-shadow: 0 0 4px currentColor;
        transform: scale(0.96);
    }
    100% {
        box-shadow: 0 0 26px currentColor, 0 0 42px currentColor, inset 0 0 8px currentColor;
        transform: scale(1.08);
    }
}

@keyframes headLedCoreBlink {
    0% { opacity: 0.25; transform: scale(0.85); box-shadow: none; }
    100% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 16px currentColor; }
}

.head-led-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.head-led-btn-unit:hover .head-led-label {
    color: #ffffff;
}

/* Bouton Reset & Séparateur pour la Régie */
.head-led-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255, 183, 0, 0.35) 50%, rgba(255,255,255,0.02) 100%);
    margin: 0 2px;
}

.head-led-reset {
    color: #94a3b8;
}

.head-led-reset:hover {
    color: #f1f5f9;
}

.head-led-indicator.head-led-reset-ind {
    border-color: rgba(148, 163, 184, 0.3);
    font-size: 0.85rem;
    color: #94a3b8;
    background: radial-gradient(circle, #1a202c 20%, #0f141f 80%);
}

.head-led-indicator.head-led-reset-ind::after {
    display: none;
}

.head-led-btn-unit.head-led-reset:hover .head-led-indicator.head-led-reset-ind {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.35), inset 0 0 6px rgba(255, 255, 255, 0.15);
    transform: rotate(-35deg);
}

.head-led-status-box {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    padding: 6px 10px;
    margin: 0 auto 12px auto;
    max-width: 340px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: all 0.3s ease;
}

.head-led-status-box.waiting {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255, 183, 0, 0.1);
}

.head-led-status-box.validated {
    border-color: var(--jade);
    color: var(--jade);
    background: rgba(0, 229, 163, 0.12);
}

/* Sub-Tabs Bar pour Différencier Yeux RGB / Miroir RGB / Pupilles Rouge */
.led-subtabs-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 14px 0 10px 0;
}

.led-subtab-btn {
    padding: 8px 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.led-subtab-btn:hover {
    color: #fff;
    border-color: rgba(255, 183, 0, 0.4);
}

.led-subtab-btn.active-eyes {
    background: rgba(255, 183, 0, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}

.led-subtab-btn.active-mirror {
    background: rgba(26, 230, 255, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
}

.led-subtab-btn.active-pupils {
    background: rgba(230, 38, 56, 0.18);
    border-color: var(--crimson);
    color: #ff4d5e;
    box-shadow: 0 0 12px var(--crimson-glow);
}

/* BANDE DE COULEUR CONTINUE RGB (SPECTRE / GRADIENT HUE STRIP) */
.color-strip-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 14px 0;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
}

.color-strip-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 24px;
    border-radius: 12px;
    background: linear-gradient(to right, 
        #ff0000 0%, 
        #ff7700 12%, 
        #ffdd00 22%, 
        #00ff00 38%, 
        #00ffff 52%, 
        #0066ff 68%, 
        #b026ff 82%, 
        #ff0066 94%, 
        #ff0000 100%
    );
    outline: none;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.color-strip-slider:hover {
    border-color: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

/* Curseur du Slider (Webkit) */
.color-strip-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #111827;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 0 8px #fff;
    transition: transform 0.15s ease;
}

.color-strip-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Curseur du Slider (Firefox) */
.color-strip-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #111827;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 0 8px #fff;
}

/* Ergonomie et fluidité tactile des curseurs de réglage d'intensité */
.led-subpanel input[type="range"] {
    touch-action: pan-y;
    cursor: pointer;
}
.led-subpanel input[type="range"]::-webkit-slider-thumb {
    cursor: grab;
}
.led-subpanel input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
}

.color-swatch-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.color-btn {
    height: 36px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.color-btn:hover {
    transform: scale(1.08);
}

.color-btn.active {
    border-color: #fff;
    box-shadow: 0 0 15px #fff;
    transform: scale(1.1);
}

/* COMMUNICATION PAR BOUTONS LED (3 BOUTONS SCÈNE : ROUGE, BLEU, JAUNE) */
.signal-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 650px) {
    .signal-buttons-grid {
        grid-template-columns: 1fr;
    }
}

.btn-signal {
    padding: 16px 14px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

/* 1. BOUTON ROUGE */
.btn-signal-red {
    background: rgba(230, 38, 56, 0.15);
    border-color: var(--crimson);
    color: var(--crimson);
}
.btn-signal-red:hover {
    background: rgba(230, 38, 56, 0.25);
    box-shadow: 0 0 15px var(--crimson-glow);
}
.btn-signal-red:active, .btn-signal-red.fired {
    background: var(--crimson);
    color: #fff;
    box-shadow: 0 0 30px var(--crimson-glow);
    transform: scale(0.98);
}

/* 2. BOUTON BLEU */
.btn-signal-blue, .btn-signal-cyan {
    background: rgba(26, 230, 255, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
}
.btn-signal-blue:hover, .btn-signal-cyan:hover {
    background: rgba(26, 230, 255, 0.25);
    box-shadow: 0 0 15px var(--cyan-glow);
}
.btn-signal-blue:active, .btn-signal-blue.fired, .btn-signal-cyan:active, .btn-signal-cyan.fired {
    background: var(--cyan);
    color: #000;
    box-shadow: 0 0 30px var(--cyan-glow);
    transform: scale(0.98);
}

/* 3. BOUTON JAUNE */
.btn-signal-yellow, .btn-signal-gold {
    background: rgba(255, 183, 0, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}
.btn-signal-yellow:hover, .btn-signal-gold:hover {
    background: rgba(255, 183, 0, 0.25);
    box-shadow: 0 0 15px var(--gold-glow);
}
.btn-signal-yellow:active, .btn-signal-yellow.fired, .btn-signal-gold:active, .btn-signal-gold.fired {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 30px var(--gold-glow);
    transform: scale(0.98);
}

.btn-signal-alert {
    grid-column: span 2;
    background: rgba(230, 38, 56, 0.25);
    border-color: var(--crimson);
    color: #fff;
}
.btn-signal-alert:active, .btn-signal-alert.fired {
    background: var(--crimson);
    box-shadow: 0 0 30px var(--crimson-glow);
}

/* PTT Center Stage */
.ptt-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    position: relative;
}

.ptt-btn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, #2d0e14 0%, #150508 100%);
    border: 4px solid var(--crimson);
    box-shadow: 0 0 35px var(--crimson-glow), inset 0 0 25px rgba(230,38,56,0.3);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    touch-action: none;
}

.ptt-btn i {
    font-size: 3rem;
    color: var(--crimson);
    transition: all 0.2s;
    filter: drop-shadow(0 0 10px var(--crimson-glow));
}

.ptt-btn span {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.ptt-btn:active, .ptt-btn.active {
    transform: scale(0.94);
    background: radial-gradient(circle, var(--crimson) 0%, #880011 100%);
    border-color: #fff;
    box-shadow: 0 0 60px rgba(230, 38, 56, 0.9), inset 0 0 35px #fff;
}

.ptt-btn:active i, .ptt-btn.active i {
    color: #fff;
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px #fff);
}

/* VU-Meter */
.vu-wrapper {
    width: 100%;
    height: 34px;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2px;
}

.vu-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--jade) 0%, var(--gold) 70%, var(--crimson) 95%);
    border-radius: 6px;
    transition: width 0.06s ease;
    box-shadow: 0 0 10px var(--gold-glow);
}

.vu-label {
    position: absolute;
    width: 100%;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px #000;
    pointer-events: none;
}

/* Intercom Controls & Audio Validation */
.control-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.control-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-item label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-item select {
    width: 100%;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--panel-border);
    color: #fff;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem;
}

.audio-test-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: stretch;
}

.audio-test-row .btn-conn {
    flex: 1 1 0px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 580px) {
    .control-grid {
        grid-template-columns: 1fr;
    }
    .control-item.validation-card {
        grid-column: span 1 !important;
    }
}

/* Terminal Log */
.terminal-log {
    background: rgba(3, 5, 10, 0.95);
    border: 1px solid rgba(255, 183, 0, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #38bdf8;
    max-height: 120px;
    overflow-y: auto;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
}

@media (max-width: 600px) {
    .palette-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .preset-grid {
        grid-template-columns: 1fr 1fr;
    }
    .signal-buttons-grid {
        grid-template-columns: 1fr;
    }
    .btn-signal-alert {
        grid-column: span 1;
    }
}

/* ======================================================== */
/* MULTI-LIONS (5 TÊTES) : MATRICE, CIBLES & LIVE FEED     */
/* ======================================================== */
.target-selector-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.target-check-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.target-check-label:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.target-check-label input[type="checkbox"] {
    accent-color: var(--gold);
    transform: scale(1.15);
    cursor: pointer;
}

.target-check-label.broadcast {
    background: rgba(255, 183, 0, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.target-lion-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    width: 100%;
}

.multi-lion-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 14px;
}

@media (max-width: 650px) {
    .target-lion-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .multi-lion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lion-card-compact {
    background: rgba(4, 8, 16, 0.75);
    border: 1px solid rgba(26, 230, 255, 0.25);
    border-radius: 8px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(26, 230, 255, 0.05);
}

.lion-card-compact:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 14px rgba(26, 230, 255, 0.25);
}

.lion-card-compact.flash-red {
    border-color: var(--crimson);
    box-shadow: 0 0 20px var(--crimson-glow);
    animation: flashPulse 1.2s ease-out;
}

.lion-card-compact.flash-blue {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    animation: flashPulse 1.2s ease-out;
}

.lion-card-compact.flash-yellow {
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
    animation: flashPulse 1.2s ease-out;
}

@keyframes flashPulse {
    0% { transform: scale(1.04); background: rgba(255,255,255,0.15); }
    100% { transform: scale(1); }
}

.lion-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lion-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.80rem;
    font-weight: 800;
    color: #fff;
}

.lion-btn-status {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    text-align: center;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

.live-feed-box {
    background: rgba(4, 7, 14, 0.9);
    border: 1px solid rgba(26, 230, 255, 0.25);
    border-radius: 8px;
    padding: 8px 12px;
    max-height: 110px;
    overflow-y: auto;
    font-family: 'Rajdhani', monospace;
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-top: 12px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
}

.live-feed-item {
    padding: 3px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-feed-item:last-child {
    border-bottom: none;
}

/* Bouton Simulateur Danseur pour Test Régie */
.btn-simu-danseur {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 183, 0, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-left: 6px;
    transition: all 0.2s ease;
    vertical-align: middle;
}

.btn-simu-danseur:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 183, 0, 0.5);
}

