/* ==============================================================================
   0xCyberLiTech · CLT1 — CHÂSSIS RACK 1U SOUVERAIN // TUNER RADIO R&D BROADCAST
   Grand Écran Ambre Unique Doublé en Hauteur, Molette Jog Wheel & Micro-LEDs Vintage
   Modularité Règle 14 · Plafond strict < 300 lignes
   ============================================================================== */

/* ── 1. ENVELOPPE CHÂSSIS RACK 1U MODERNE & LUMINEUSE ── */
.radio-vm-chassis {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(22, 65, 118, 0.95) 0%, rgba(12, 38, 76, 0.96) 50%, rgba(7, 24, 52, 0.98) 100%) !important;
  border: 1.5px solid rgba(0, 207, 255, 0.55) !important;
  border-radius: 10px !important;
  padding: 14px 22px !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), inset 0 0 28px rgba(0, 180, 255, 0.2), 0 12px 35px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.radio-vm-chassis::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.9) 30%, rgba(0, 255, 157, 0.95) 50%, rgba(0, 240, 255, 0.9) 70%, transparent 100%);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
  pointer-events: none;
  z-index: 5;
}

.radio-vm-chassis::after {
  content: '';
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: 0;
  width: 3.5px;
  background: #00ff9d;
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.7);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  z-index: 5;
}

.radio-vm-chassis .rack-ear,
.radio-matrix-table-wrap .rack-ear {
  width: 14px !important;
  background: linear-gradient(90deg, #334155 0%, #1e293b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  z-index: 10;
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.radio-vm-chassis .rack-ear.left,
.radio-matrix-table-wrap .rack-ear.left { left: 0; border-radius: 10px 0 0 10px; border-right: none; }
.radio-vm-chassis .rack-ear.right,
.radio-matrix-table-wrap .rack-ear.right { right: 0; border-radius: 0 10px 10px 0; border-left: none; }
.radio-vm-chassis .rack-handle-bar {
  width: 3px;
  height: 48px;
  background: linear-gradient(180deg, #64748b, #1e293b);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.radio-matrix-table-wrap .rack-handle-bar {
  width: 3.5px;
  height: 180px;
  max-height: 70%;
  background: linear-gradient(180deg, #64748b 0%, #334155 50%, #1e293b 100%);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
}

/* ── 2. FAÇADE PRINCIPALE : GRILLE TRIPARTITE ── */
.radio-master-front-deck {
  display: grid !important;
  grid-template-columns: 146px 1fr 152px !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  margin-bottom: 12px !important;
}

/* Colonne Gauche : Pupitre de Transport Studio Pro en Alu Brossé */
.radio-left-controls-pod {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.radio-vm-ico-box { display: flex; align-items: center; gap: 8px; }
.radio-ico-pod {
  width: 32px; height: 32px;
  background: rgba(0, 207, 255, 0.12);
  border: 1px solid rgba(0, 207, 255, 0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.radio-wire-ico { width: 18px; height: 18px; }
.radio-vm-titles { display: flex; flex-direction: column; gap: 1px; }
.radio-vm-tag { font-family: var(--font-mono, monospace); font-size: 7.5px; font-weight: 700; color: #7dd3fc; letter-spacing: 0.5px; }
.radio-vm-name { font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700; color: #ffffff; }

/* Pupitre de Transport Alu Brossé */
.studio-transport-deck {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: linear-gradient(180deg, rgba(14, 38, 72, 0.85) 0%, rgba(8, 22, 46, 0.9) 100%);
  border: 1px solid rgba(0, 207, 255, 0.35);
  border-radius: 4px;
  padding: 5px 6px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 3px 8px rgba(0, 0, 0, 0.4);
}
.transport-shuttle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.btn-shuttle-alu {
  height: 22px;
  background: linear-gradient(180deg, #475569 0%, #334155 45%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1.5px solid #0f172a;
  border-radius: 2px;
  color: #e2e8f0;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer;
  font-family: var(--font-mono, monospace);
  font-size: 7.5px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.12s ease;
}
.btn-shuttle-alu:hover {
  background: linear-gradient(180deg, #5a6b82 0%, #3f4e63 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-shuttle-alu:active {
  transform: translateY(2px);
  background: linear-gradient(180deg, #1b2636 0%, #111a26 100%);
  border-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid #080d14;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.3);
}

.transport-master-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.btn-transport-alu {
  position: relative;
  height: 38px;
  background: linear-gradient(180deg, #475569 0%, #334155 40%, #1e293b 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-bottom: 2.5px solid #0f172a;
  border-radius: 3px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.38);
  transition: all 0.1s ease;
  padding: 2px;
}
.btn-transport-alu:hover:not(:disabled) {
  background: linear-gradient(180deg, #5a6b82 0%, #3f4e63 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}
.btn-transport-alu:active:not(:disabled) {
  transform: translateY(2px);
  background: linear-gradient(180deg, #1b2636 0%, #111a26 100%);
  border-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid #080d14;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.3);
}
.btn-transport-alu.is-locked {
  opacity: 0.55;
  filter: grayscale(0.5);
  cursor: not-allowed;
}

.rect-led-incrusted {
  width: 14px;
  height: 3.5px;
  border-radius: 1px;
  background: #0a0f1a;
  border: 0.8px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rect-led-incrusted .rect-led-bar {
  width: 100%;
  height: 100%;
  border-radius: 0.5px;
  background: #1e293b;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
/* Micro-LED VERTE PLAY : Allumée uniquement en lecture */
.rect-led-incrusted.led-green.active .rect-led-bar,
.btn-play-alu.is-playing .rect-led-incrusted.led-green .rect-led-bar {
  background: #00ff9d !important;
  box-shadow: 0 0 6px #00ff9d, 0 0 10px #00ff9d !important;
}
/* Micro-LED AMBRE PAUSE : Allumée uniquement en pause */
.rect-led-incrusted.led-amber.active .rect-led-bar,
.btn-pause-alu.is-paused .rect-led-incrusted.led-amber .rect-led-bar {
  background: #ffaa00 !important;
  box-shadow: 0 0 6px #ffaa00, 0 0 10px #ffaa00 !important;
}
/* Micro-LED CYAN POWER : Allumée lorsque le châssis est sous tension */
.rect-led-incrusted.led-cyan.active .rect-led-bar,
.btn-power-alu.active .rect-led-incrusted.led-cyan .rect-led-bar {
  background: #00f0ff !important;
  box-shadow: 0 0 6px #00f0ff, 0 0 12px #00f0ff !important;
}

.btn-alu-face {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #cbd5e1 !important; /* Sérigraphie studio claire constante (consigne Marc) */
}
.btn-alu-face i,
.btn-alu-face span {
  color: #cbd5e1 !important; /* Ne change JAMAIS de couleur (consigne Marc) */
}

.transport-power-row { width: 100%; }
.btn-power-alu {
  width: 100% !important;
  height: 24px !important;
}

/* ── 3. LE GRAND ÉCRAN AMBRE UNIQUE DOUBLÉ EN HAUTEUR (ALIGNÉ BAS SUR LE BOUTON POWER) ── */
.radio-grand-amber-lcd {
  height: 170px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 6px 12px !important;
  background: linear-gradient(90deg, #c96b00 0%, #a85200 12%, #853e00 50%, #a85200 88%, #c96b00 100%) !important;
  border: 2px solid #050a12 !important;
  outline: 1px solid rgba(0, 207, 255, 0.35) !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 16px rgba(255, 120, 0, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.75), 0 3px 10px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
}

.radio-grand-amber-lcd .lcd-top-row {
  display: flex; justify-content: space-between; align-items: center; line-height: 1;
}
.radio-grand-amber-lcd .lcd-bus-tag {
  font-family: var(--font-mono, monospace); font-size: 9.5px; font-weight: 700; color: #1a0f02; text-transform: uppercase;
}
.lcd-top-right-group { display: flex; align-items: center; gap: 5px; }

/* Témoin Pilote Stéréo 19 kHz Broadcast (Orban / Studer) */
.lcd-pilot-pod {
  display: flex; align-items: center; gap: 3.5px;
  background: rgba(0, 0, 0, 0.12); border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 1px 5px; border-radius: 2px;
}
.pilot-led {
  width: 4.5px; height: 4.5px; border-radius: 50%;
  background: rgba(26, 15, 2, 0.25);
  box-shadow: none;
  transition: all 0.15s ease;
}
.pilot-led.is-active {
  background: #1a0f02 !important;
  box-shadow: 0 0 5px rgba(26, 15, 2, 0.8) !important;
}
.pilot-lbl {
  font-family: var(--font-mono, monospace); font-size: 7.5px; font-weight: 800; color: #1a0f02;
}

/* Limiteur AGC Master Broadcast (Optimod DSP) */
.lcd-optmod-pod {
  display: flex; align-items: center; gap: 3px;
  background: rgba(0, 0, 0, 0.12); border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 1px 5px; border-radius: 2px;
}
.optmod-lbl {
  font-family: var(--font-mono, monospace); font-size: 7px; font-weight: 800; color: rgba(26, 15, 2, 0.7);
}
.optmod-val {
  font-family: var(--font-mono, monospace); font-size: 7.5px; font-weight: 900; color: #1a0f02;
}

.radio-grand-amber-lcd .lcd-status-chip {
  font-family: var(--font-mono, monospace); font-size: 8.5px; font-weight: 700; color: #140a01;
  background: rgba(0, 0, 0, 0.14); border: 1px solid rgba(0, 0, 0, 0.25); padding: 1px 6px; border-radius: 2px;
}
.lcd-quartz-pod {
  display: flex; align-items: center; gap: 4px;
  background: rgba(0, 0, 0, 0.12); border: 1px solid rgba(0, 0, 0, 0.2); padding: 1px 5px; border-radius: 2px;
}
.lcd-temp-ico { width: 10px; height: 10px; fill: #1a0f02; }
.lcd-quartz-val { font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 800; color: #1a0f02; }

/* Titre & Chenillard RDS */
.lcd-title-row { min-width: 0; line-height: 1.1; }
.radio-grand-amber-lcd .lcd-title {
  color: #120700 !important; font-family: 'Rajdhani', sans-serif !important;
  font-size: 15px !important; font-weight: 700 !important; white-space: nowrap !important;
  overflow: hidden !important; text-overflow: ellipsis !important; display: block;
}
.lcd-rds-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; line-height: 1;
}
.lcd-rds-container {
  flex: 1; overflow: hidden; white-space: nowrap; position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.lcd-rds-marquee {
  display: inline-block; white-space: nowrap; animation: rdsContinuousScroll 28s linear infinite;
  font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 700; color: #1a0f02;
}
@keyframes rdsContinuousScroll { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }
.lcd-stream-badge {
  display: flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.25); border-radius: 2px; padding: 1px 5px;
}
.lcd-stream-tag { font-family: var(--font-mono, monospace); font-size: 7.5px; font-weight: 800; color: #1a0f02; }
.lcd-stream-val { font-family: var(--font-mono, monospace); font-size: 8px; font-weight: 800; color: #1a0f02; }

/* ── BLOC CENTRAL AUDIO HAUTE SYMÉTRIE (CONSIGNE MARC : ONDE & RÈGLE STRICTEMENT ALIGNÉES) ── */
.lcd-audio-bay {
  display: flex !important;
  align-items: stretch !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Colonne Gauche : Courbe Vocale (Haut) + Règle Temporelle (Bas) Strictement Alignées */
.lcd-wave-ruler-bay {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  justify-content: space-between !important;
}

.lcd-wave-container {
  position: relative;
  width: 100%;
  height: 34px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  border: 1px solid rgba(26, 15, 2, 0.35);
  overflow: hidden;
  cursor: ew-resize;
  box-sizing: border-box;
}
.radio-wave-canvas { width: 100%; height: 100%; display: block; }

/* Bandeau Lumineux Progressif en Surimpression Directe sur la Courbe (Consigne Marc) */
.wave-progress-band {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(255, 170, 0, 0.22) 0%, rgba(255, 185, 0, 0.38) 98%, rgba(26, 15, 2, 0.9) 100%);
  border-right: 2px solid #1a0f02;
  box-shadow: inset 0 0 10px rgba(255, 170, 0, 0.2);
  pointer-events: none;
  z-index: 3;
  transition: width 0.05s linear;
}

.wave-playhead-line {
  position: absolute; top: 0; bottom: 0; width: 2px; background: #b91c1c; z-index: 5; pointer-events: none;
}

/* Règle Temporelle Graduée de Studio & Curseur Triangle (Consigne Marc) */
.lcd-ruler-track {
  width: 100%;
  height: 18px;
  background: rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(26, 15, 2, 0.3);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  box-sizing: border-box;
}
.ruler-line {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(26, 15, 2, 0.35);
}
.ruler-ticks-strip {
  position: absolute;
  inset: 0 0;
  pointer-events: none;
}
.ruler-tick {
  position: absolute;
  top: 3px;
  width: 1px;
  background: rgba(26, 15, 2, 0.35);
}
.ruler-tick.minor {
  height: 4px;
}
.ruler-tick.major {
  height: 7px;
  background: #1a0f02;
}
.tick-label {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono, monospace);
  font-size: 5.5px;
  font-weight: 800;
  font-style: normal;
  color: rgba(26, 15, 2, 0.7);
  white-space: nowrap;
}
.ruler-tick:first-child .tick-label {
  left: 2px;
  transform: translateX(0);
}
.ruler-tick:last-child .tick-label {
  left: auto;
  right: 2px;
  transform: translateX(0);
}

.ruler-marker-triangle {
  position: absolute;
  top: 0px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
  transition: left 0.05s linear;
}
.triangle-glyph {
  display: block;
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 6px solid #1a0f02;
  filter: drop-shadow(0 1px 1px rgba(255, 170, 0, 0.4));
}

/* Colonne Droite : Vrai S-Mètre Cristaux Liquides (Haut) + Compteurs Numériques (Bas) */
.lcd-side-telemetry-bay {
  width: 145px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  justify-content: space-between !important;
}

/* S-Mètre / VU-Mètre en Cristaux Liquides Sombres */
.lcd-smeter-pod {
  width: 100% !important;
  height: 34px !important;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 15, 2, 0.35);
  border-radius: 2px;
  padding: 2px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}
.smeter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
}
.smeter-title {
  font-family: var(--font-mono, monospace);
  font-size: 6.5px;
  font-weight: 800;
  color: #1a0f02;
}
.smeter-lim-badge {
  font-family: var(--font-mono, monospace);
  font-size: 6px;
  font-weight: 900;
  color: rgba(26, 15, 2, 0.4);
  background: rgba(0, 0, 0, 0.1);
  padding: 0 3px;
  border-radius: 1px;
  line-height: 1.1;
  transition: all 0.08s ease;
}
.smeter-lim-badge.is-clipping {
  color: #fff !important;
  background: #b91c1c !important;
  box-shadow: 0 0 5px rgba(185, 28, 28, 0.8) !important;
}
.smeter-db-val {
  font-family: var(--font-mono, monospace);
  font-size: 7px;
  font-weight: 900;
  color: #1a0f02;
}
.smeter-bars-strip {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 16px;
  padding: 0;
}
.smeter-bar {
  flex: 1;
  background: rgba(26, 15, 2, 0.16);
  border-radius: 0.5px;
  transition: background 0.04s ease;
}
.smeter-bar.h1 { height: 3px; }
.smeter-bar.h2 { height: 4px; }
.smeter-bar.h3 { height: 5px; }
.smeter-bar.h4 { height: 6px; }
.smeter-bar.h5 { height: 7px; }
.smeter-bar.h6 { height: 8px; }
.smeter-bar.h7 { height: 9px; }
.smeter-bar.h8 { height: 10px; }
.smeter-bar.h9 { height: 11px; }
.smeter-bar.h10 { height: 12px; }
.smeter-bar.h11 { height: 13px; }
.smeter-bar.h12 { height: 14px; }
.smeter-bar.h13 { height: 15px; }
.smeter-bar.h14 { height: 16px; }
.smeter-bar.h15 { height: 16px; }
.smeter-bar.h16 { height: 16px; }
.smeter-bar.is-active {
  background: #1a0f02 !important;
}
.smeter-bar.peak.is-active {
  background: #330800 !important;
  box-shadow: 0 0 2px rgba(255, 60, 0, 0.5);
}
.smeter-scale {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono, monospace);
  font-size: 5.5px;
  font-weight: 800;
  color: rgba(26, 15, 2, 0.7);
  line-height: 1;
}

/* Compteurs Numériques Déportés à Droite (Consigne Marc : Lisibilité renforcée 11px) */
.lcd-time-side-pod {
  width: 100% !important;
  height: 18px !important;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 15, 2, 0.35);
  border-radius: 2px;
  padding: 1px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.time-side-cell {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.time-side-k {
  font-family: var(--font-mono, monospace);
  font-size: 6px;
  font-weight: 800;
  color: rgba(26, 15, 2, 0.65);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.time-side-v {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 900;
  color: #1a0f02;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.time-side-sep {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  color: rgba(26, 15, 2, 0.35);
  font-weight: 700;
}
.triangle-glyph {
  display: block;
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 6px solid #1a0f02;
  filter: drop-shadow(0 1px 1px rgba(255, 170, 0, 0.4));
}

/* ── Étage F : BANDEAU D'INGÉNIERIE SOUVERAIN (AÉRÉ · ZONES FANTÔMES LCD SANS PAVÉ SOMBRE) ── */
.lcd-engineering-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  height: 20px !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(26, 15, 2, 0.22) !important;
  user-select: none !important;
}

/* Compartiments / Zones Aérées (intégrées dans le cristal liquide ambre sans fond opaque) */
.eng-compartment {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}

/* Zone 1 (Gauche) : Format Audio & Débit */
.eng-mode-pod {
  gap: 6px !important;
}
.eng-badge-mode {
  font-family: var(--font-mono, monospace) !important;
  font-size: 7px !important;
  font-weight: 900 !important;
  color: #1a0f02 !important;
  background: rgba(26, 15, 2, 0.08) !important;
  padding: 1px 4px !important;
  border-radius: 1px !important;
  border: 0.8px solid rgba(26, 15, 2, 0.25) !important;
  letter-spacing: 0.3px !important;
  min-width: 62px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.eng-bitrate {
  font-family: var(--font-mono, monospace) !important;
  font-size: 7px !important;
  font-weight: 700 !important;
  color: rgba(26, 15, 2, 0.8) !important;
  width: 8ch !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Séparateur délicat de zone inter-compartiments (gravure fine cristal liquide) */
.eng-zone-sep {
  font-family: var(--font-mono, monospace) !important;
  font-size: 8px !important;
  color: rgba(26, 15, 2, 0.28) !important;
  flex-shrink: 0 !important;
  user-select: none !important;
  line-height: 1 !important;
}

/* Zone 2 (Centre) : Corrélateur de Phase Stéréo Réel L/R */
.eng-phase-pod {
  gap: 6px !important;
}
.eng-lbl {
  font-family: var(--font-mono, monospace) !important;
  font-size: 6.5px !important;
  font-weight: 800 !important;
  color: rgba(26, 15, 2, 0.8) !important;
  letter-spacing: 0.4px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.eng-phase-track {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  flex-shrink: 0 !important;
}
.phase-mark {
  font-family: var(--font-mono, monospace) !important;
  font-size: 6px !important;
  font-weight: 800 !important;
  color: rgba(26, 15, 2, 0.6) !important;
  width: 10px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}
.phase-tick-line {
  position: relative !important;
  width: 90px !important;
  height: 6px !important;
  background: rgba(26, 15, 2, 0.08) !important;
  border: 0.8px solid rgba(26, 15, 2, 0.25) !important;
  border-radius: 1px !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.phase-center-tick {
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 1px !important;
  background: rgba(26, 15, 2, 0.45) !important;
  transform: translateX(-50%) !important;
}
.phase-guide-dot {
  position: absolute !important;
  top: 50% !important;
  width: 1.5px !important;
  height: 1.5px !important;
  border-radius: 50% !important;
  background: rgba(26, 15, 2, 0.25) !important;
  transform: translateY(-50%) !important;
}
.phase-guide-dot.left { left: 25% !important; }
.phase-guide-dot.right { right: 25% !important; }

.phase-cursor {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 3px !important;
  background: #1a0f02 !important;
  box-shadow: 0 0 2px rgba(26, 15, 2, 0.7) !important;
  border-radius: 0.5px !important;
  transform: translateX(-50%) !important;
  transition: left 0.08s ease-out !important;
}
.eng-phase-val {
  font-family: var(--font-mono, monospace) !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  color: #1a0f02 !important;
  width: 5.5ch !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Zone 3 (Droite) : Niveaux Réels PEAK, RMS & DSP — Zones Fantômes Tabulaires Figées */
.eng-levels-pod {
  gap: 5px !important;
}
.eng-meter-cell {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}
.eng-sub-k {
  font-family: var(--font-mono, monospace) !important;
  font-size: 6.5px !important;
  font-weight: 800 !important;
  color: rgba(26, 15, 2, 0.7) !important;
  letter-spacing: 0.2px !important;
  flex-shrink: 0 !important;
}
.eng-sub-v {
  font-family: var(--font-mono, monospace) !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  color: #1a0f02 !important;
  font-variant-numeric: tabular-nums !important;
  text-align: right !important;
  white-space: nowrap !important;
  width: 8ch !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}
.eng-sub-v.highlight {
  width: auto !important;
  color: #1a0f02 !important;
  background: rgba(26, 15, 2, 0.08) !important;
  border: 0.8px solid rgba(26, 15, 2, 0.2) !important;
  padding: 0 3px !important;
  border-radius: 1px !important;
  text-align: center !important;
}
.eng-sub-sep {
  font-family: var(--font-mono, monospace) !important;
  font-size: 7.5px !important;
  color: rgba(26, 15, 2, 0.28) !important;
  width: 6px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

/* ── 4. COLONNE DROITE : BANDEAU VNIC (HAUT) + GRAND JOG WHEEL (BAS) ── */
.radio-right-deck-pod {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

/* Port VNIC WAN Compact Haut */
.radio-vnic-compact {
  width: 100%;
  height: 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 10, 22, 0.9);
  border: 1px solid rgba(0, 207, 255, 0.35);
  border-radius: 3px;
  padding: 2px 6px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}
.vnic-socket-mini { display: flex; align-items: center; gap: 4px; }
.vnic-socket-mini .rj45-diode-act {
  width: 4px; height: 4px; border-radius: 50%;
  background: #00ff9d; box-shadow: 0 0 5px #00ff9d;
}
.vnic-socket-mini .rj45-diode-act.is-streaming { animation: diodeStreamPulse 0.4s ease-in-out infinite alternate; }
.rj45-pins-mini { display: flex; gap: 1px; }
.rj45-pins-mini i { display: block; width: 1px; height: 5px; background: #fbbf24; }
.vnic-meta-mini { display: flex; align-items: center; gap: 5px; }
.vnic-tag { font-family: var(--font-mono, monospace); font-size: 7.5px; font-weight: 800; color: #7dd3fc; }
.vnic-speed { font-family: var(--font-mono, monospace); font-size: 8px; font-weight: 700; color: #ffffff; }

/* Grand Jog Wheel Module avec Anneau Shuttle SVG Ambre (Consigne Marc & Master Designer) */
.radio-jog-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  user-select: none;
  width: 100%;
  margin-top: 8px; /* Équilibrage vertical : descend le bouton sous le port WAN */
}
.jog-housing-large {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Anneau Circulaire Shuttle SVG Vectoriel Ambre Fin (Consigne Marc : Ambre naturel, trait fin, zéro bleu fluo) */
.jog-shuttle-svg {
  position: absolute;
  inset: 0;
  width: 110px;
  height: 110px;
  pointer-events: none;
  z-index: 1;
}
/* Gorge / Rainure physique usinée en verre fumé ambre sombre (Consigne Marc : L'afficheur ne sort pas par le Saint-Esprit sur le bleu !) */
.shuttle-recess-groove {
  fill: none;
  stroke: rgba(14, 9, 3, 0.95);
  stroke-width: 8;
}
.shuttle-groove-border-inner,
.shuttle-groove-border-outer {
  fill: none;
  stroke: rgba(255, 170, 0, 0.28);
  stroke-width: 0.8;
}
.shuttle-zero-mark {
  stroke: #ffaa00;
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(255, 170, 0, 1));
}
.shuttle-arc-left,
.shuttle-arc-right {
  fill: none;
  stroke: #ffaa00;
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px #ffaa00) drop-shadow(0 0 9px rgba(255, 170, 0, 0.8));
  opacity: 0;
  transition: opacity 0.1s ease-out;
}
.shuttle-arc-left.is-active,
.shuttle-arc-right.is-active {
  opacity: 1;
}

/* Respiration douce en lecture (lueur ambre studio calme, sans discothèque) */
@keyframes shuttleAmberBreathing {
  0%, 100% { stroke: rgba(255, 170, 0, 0.22); filter: none; }
  50% { stroke: rgba(255, 170, 0, 0.55); filter: drop-shadow(0 0 4px rgba(255, 170, 0, 0.8)); }
}
.radio-jog-module.is-playing .shuttle-track-bg {
  animation: shuttleAmberBreathing 3.4s ease-in-out infinite;
}

/* Bouton Rotatif Studio Plein en Aluminium Brossé d'Époque (Consigne Marc : Sobre, massif, zéro trou au milieu) */
.jog-dial-large {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  position: relative !important;
  z-index: 2 !important;
  /* Même matière que les touches PLAY/PAUSE : aluminium brossé noble et biseauté */
  background: linear-gradient(145deg, #475569 0%, #334155 45%, #1e293b 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.45) !important;
  border-bottom: 3px solid #0f172a !important;
  /* Effet d'ombre volumétrique de gros potentiomètre lourd qui ressort du châssis */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85), 0 3px 6px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: grab !important;
  outline: none !important;
  transition: box-shadow 0.2s, border-color 0.2s !important;
}
.jog-dial-large:active {
  cursor: grabbing !important;
  border-color: #ffaa00 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.95), inset 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Face pleine en aluminium brossé d'époque (Surface unie, continue, sans AUCUN trou ni cratère) */
.knob-brushed-face {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #475569 0%, #334155 50%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.4), inset 0 -1.5px 2px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

/* Index blanc gravé franc d'époque à 12h (trait blanc net et lisible) */
.knob-radial-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.8px;
  height: 12px;
  background: #ffffff;
  border-radius: 1.5px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Fines rainures de moletage sur la bordure extérieure */
.knob-knurled-rim {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

/* Couronne de micro-segments LED ambre (Consigne Marc : Effet rotatif franc et visible) */
.shuttle-led-ticks line {
  stroke: rgba(255, 170, 0, 0.22);
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: stroke 0.15s ease, filter 0.15s ease;
}
.shuttle-led-ticks line.is-active {
  stroke: #ffaa00 !important;
  stroke-width: 2.4 !important;
  filter: drop-shadow(0 0 3px rgba(255, 170, 0, 0.9)) !important;
}

/* Gravure Laser Noble sous la Molette (Suppression définitive du pavé CALAGE et du tag FAIL-CLOSED) */
.jog-laser-engraving {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-top: 4px;
  user-select: none;
}
.jog-laser-engraving .laser-txt {
  font-family: var(--font-mono, monospace);
  font-size: 7.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
}
.jog-laser-engraving .laser-sub {
  font-family: var(--font-mono, monospace);
  font-size: 6.5px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.4px;
}

/* Vraie Plaque Constructeur Laser Statique (Consigne Marc : Zéro fausse barre sur la tôle sans écran) */
.radio-vm-lower-deck {
  padding: 8px 16px 4px 16px !important;
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.radio-chassis-laser-plate {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono, monospace); font-size: 7.5px; font-weight: 700;
  color: #64748b; letter-spacing: 0.8px; text-transform: uppercase; flex-wrap: wrap;
}
.radio-chassis-laser-plate .plate-brand { color: #94a3b8; font-weight: 800; }
.radio-chassis-laser-plate .plate-model { color: #7dd3fc; }
.radio-chassis-laser-plate .plate-calib { color: #64748b; }
.radio-chassis-laser-plate .plate-sep { color: rgba(255, 255, 255, 0.15); }

/* ── FAISCEAU OPTIQUE LASER SUBTIL SOUS LE CHÂSSIS 1U (CONSIGNE MARC) ── */
.radio-chassis-under-beam {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  pointer-events: none; z-index: 12; display: flex; align-items: center; justify-content: center;
}
.radio-chassis-under-beam .under-beam-filament {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 2px; width: var(--beam-expansion, 10%);
  background: linear-gradient(90deg, transparent 0%, rgba(0, 195, 255, 0.45) 20%, rgba(245, 158, 11, 0.95) 50%, rgba(0, 195, 255, 0.45) 80%, transparent 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6), 0 0 20px rgba(0, 195, 255, 0.4);
  transition: width 0.08s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s ease;
  opacity: 0.35;
}
.radio-chassis-under-beam .under-beam-glow {
  position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  height: 14px; width: var(--beam-expansion-glow, 14%);
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.35) 0%, rgba(0, 195, 255, 0.18) 45%, transparent 75%);
  filter: blur(6px); opacity: 0.25;
  transition: width 0.09s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s ease;
}
.radio-vm-chassis.is-playing .radio-chassis-under-beam .under-beam-filament {
  opacity: 0.98;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.75) 15%, rgba(245, 158, 11, 1) 50%, rgba(0, 240, 255, 0.75) 85%, transparent 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.95), 0 0 28px rgba(0, 240, 255, 0.7);
}
.radio-vm-chassis.is-playing .radio-chassis-under-beam .under-beam-glow {
  opacity: 0.85; filter: blur(8px);
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.5) 0%, rgba(0, 240, 255, 0.35) 50%, transparent 80%);
}

/* ── 5. COMPARTIMENT MATRICE EPG // ROUTING SOUVERAIN (HARMONIE STRICTE AVEC LE TUNER) ── */
.radio-matrix-table-wrap {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(22, 65, 118, 0.95) 0%, rgba(12, 38, 76, 0.96) 50%, rgba(7, 24, 52, 0.98) 100%) !important;
  border: 1.5px solid rgba(0, 207, 255, 0.55) !important;
  border-radius: 10px !important;
  padding: 16px 22px !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), inset 0 0 28px rgba(0, 180, 255, 0.2), 0 12px 35px rgba(0, 0, 0, 0.5) !important;
  margin-top: 18px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.radio-matrix-table-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 195, 255, 0.7) 35%, rgba(16, 185, 129, 0.8) 50%, rgba(0, 195, 255, 0.7) 65%, transparent 100%);
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.35);
  pointer-events: none;
  z-index: 5;
}

/* Vis de Montage Baie Rack CNC dans les 4 Coins */
.rack-mounting-screw {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, #94a3b8 25%, #475569 65%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.7);
  z-index: 7;
}
.rack-mounting-screw::after {
  content: ''; position: absolute; top: 50%; left: 15%; right: 15%; height: 1px;
  background: rgba(15, 23, 42, 0.8); transform: translateY(-50%) rotate(45deg);
}
.rack-mounting-screw.tl { top: 7px; left: 7px; }
.rack-mounting-screw.tr { top: 7px; right: 7px; }
.rack-mounting-screw.bl { bottom: 7px; left: 7px; }
.rack-mounting-screw.br { bottom: 7px; right: 7px; }

/* Pupitre de Commande Sélecteur Thématique (Console Broadcast Châssis Alu 1U) */
.epg-category-bar {
  display: flex; flex-direction: column; gap: 9px; padding: 14px 16px;
  background: linear-gradient(180deg, rgba(14, 38, 72, 0.85) 0%, rgba(8, 22, 46, 0.9) 100%);
  border: 1px solid rgba(0, 207, 255, 0.35); border-radius: 6px; margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.epg-cat-label { font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 800; color: #7dd3fc; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.epg-cat-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; width: 100%; }
.epg-cat-chip {
  position: relative; background: linear-gradient(180deg, #475569 0%, #334155 40%, #1e293b 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25); border-bottom: 2.5px solid #0f172a; border-radius: 4px;
  padding: 8px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  cursor: pointer; transition: all 0.1s ease; color: #ffffff; font-family: var(--font-mono, monospace); font-size: 9.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.38);
}
.epg-cat-chip:hover { background: linear-gradient(180deg, #5a6b82 0%, #3f4e63 100%); border-color: rgba(255, 255, 255, 0.4); color: #ffffff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.45); }
.epg-cat-chip:active { transform: translateY(2px); background: linear-gradient(180deg, #1b2636 0%, #111a26 100%); border-color: rgba(255, 255, 255, 0.15); border-bottom: 1px solid #080d14; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.3); }
.epg-cat-chip.is-active {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  border: 1.5px solid rgba(0, 207, 255, 0.45);
  border-bottom: 2.5px solid #0f172a;
  color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.epg-cat-chip.is-active:active {
  transform: translateY(2px);
  background: linear-gradient(180deg, #1b2636 0%, #111a26 100%);
  border-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid #080d14;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.3);
}
.epg-chip-led { width: 14px; height: 4px; border-radius: 1px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #0a0f1a; border: 0.8px solid rgba(0, 0, 0, 0.7); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.85); position: relative; }
.epg-chip-led::after { content: ''; width: 10px; height: 2px; border-radius: 0.5px; background: #1e293b; transition: all 0.15s ease; }
.epg-cat-chip.is-active .epg-chip-led::after { background: #00ff9d !important; box-shadow: 0 0 6px #00ff9d, 0 0 10px #00ff9d !important; }
.epg-cat-chip .cat-chip-text { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-cat-chip .cat-chip-count { font-family: var(--font-mono, monospace); font-size: 8.5px; font-weight: 800; padding: 1px 5px; border-radius: 3px; background: #0a0f1a; border: 1px solid rgba(255, 255, 255, 0.18); color: #7dd3fc; flex-shrink: 0; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8); }
.epg-cat-chip.is-active .cat-chip-count { background: #0a0f1a; border-color: rgba(255, 255, 255, 0.2); color: #7dd3fc; }

/* Tableau Broadcast Stylisé */
.radio-table-responsive {
  width: 100% !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  overscroll-behavior-y: contain !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 207, 255, 0.5) rgba(6, 18, 38, 0.8);
}
.radio-matrix-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 6px;
}
.radio-matrix-table thead th {
  position: sticky;
  top: 0;
  background: #081a38;
  z-index: 4;
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #7dd3fc;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0, 207, 255, 0.3);
  text-align: left;
}

/* Lignes Matrice : Hauteur Strictement Identique & Look Châssis (Zéro Accordéon) */
.radio-matrix-row {
  background: rgba(7, 22, 48, 0.8) !important;
  border-radius: 6px !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}
.radio-matrix-row td {
  padding: 6px 12px !important;
  height: 76px !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(0, 207, 255, 0.12) !important;
  border-bottom: 1px solid rgba(0, 207, 255, 0.12) !important;
}
.radio-matrix-row td:first-child {
  border-left: 3px solid transparent !important;
  border-top-left-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
}
.radio-matrix-row td:last-child {
  border-right: 1px solid rgba(0, 207, 255, 0.12) !important;
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}
.radio-matrix-row:hover {
  background: rgba(14, 46, 92, 0.85) !important;
}
.radio-matrix-row:hover td:first-child {
  border-left-color: #00c3ff !important;
}
.radio-matrix-row.is-active-row {
  background: linear-gradient(90deg, rgba(0, 207, 255, 0.22) 0%, rgba(10, 32, 66, 0.95) 100%) !important;
  box-shadow: inset 0 0 16px rgba(0, 207, 255, 0.15) !important;
}
.radio-matrix-row.is-active-row td:first-child {
  border-left-color: #00ff9d !important;
}

/* Slots fantômes à hauteur fixe pour titre sur 2 lignes et description (Zéro décalage) */
.radio-matrix-row td:nth-child(3) { overflow: hidden; }
.radio-matrix-row .row-ep-title {
  font-family: 'Plus Jakarta Sans', var(--font-body), sans-serif !important; font-size: 0.86rem !important; font-weight: 700 !important; font-variant-numeric: lining-nums tabular-nums !important; font-feature-settings: "lnum" 1, "tnum" 1 !important; letter-spacing: 0.01em !important;
  color: #ffffff !important; line-height: 1.25 !important; height: 38px !important; min-height: 38px !important; max-height: 38px !important; overflow: hidden !important; text-overflow: ellipsis !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; white-space: normal !important; margin-bottom: 2px !important;
}
.radio-matrix-row .row-ep-desc {
  font-size: 0.75rem !important; color: #94a3b8 !important; line-height: 1.3 !important;
  height: 18px !important; max-height: 18px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important;
}

/* Cartouches thématiques : Largeur fixe 155px et métallisation unifiée */
.radio-matrix-row .channel-tag,
.radio-matrix-table .channel-tag {
  font-family: var(--font-mono, monospace) !important; font-size: 8.5px !important; font-weight: 700 !important;
  width: 155px !important; min-width: 155px !important; max-width: 155px !important; box-sizing: border-box !important;
  justify-content: center !important; text-align: center !important; padding: 4px 6px !important; border-radius: 4px !important;
  white-space: nowrap !important; display: inline-flex !important; align-items: center !important; text-transform: uppercase !important;
  letter-spacing: 0.5px !important; background: rgba(15, 23, 42, 0.75) !important; border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #cbd5e1 !important; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4) !important;
}

/* Tally LED Indicator Broadcast (Consigne Marc) */
.epg-tally-cell { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 2px 7px; background: rgba(3, 10, 24, 0.9); border: 1px solid rgba(0, 207, 255, 0.3); border-radius: 4px; }
.epg-tally-led { width: 7.5px; height: 7.5px; border-radius: 50%; display: inline-block; transition: all 0.25s ease; }
.epg-tally-led.led-green { background: #00ff9d; box-shadow: 0 0 6px #00ff9d, 0 0 12px rgba(0, 255, 157, 0.6); }
.epg-tally-led.led-red { background: #ef4444; box-shadow: 0 0 6px #ef4444, 0 0 10px rgba(239, 68, 68, 0.5); }
.epg-tally-led.is-pulsing { animation: tallyPulseGlow 1.2s infinite ease-in-out; }
@keyframes tallyPulseGlow { 0%, 100% { transform: scale(1); box-shadow: 0 0 6px #00ff9d; } 50% { transform: scale(1.35); box-shadow: 0 0 14px #00ff9d, 0 0 20px rgba(0, 255, 157, 0.9); } }
.epg-tally-text { font-family: var(--font-mono, monospace); font-size: 8px; font-weight: 800; letter-spacing: 0.5px; color: #e2e8f0; }

/* Bouton de Diffusion / Écoute dans la Matrice (Look Alu Brossé Pupitre Studio) */
.btn-matrix-play {
  background: linear-gradient(180deg, #475569 0%, #334155 45%, #1e293b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important; border-bottom: 1.5px solid #0f172a !important;
  border-radius: 3px !important; padding: 3px 8px !important; color: #e2e8f0 !important; font-family: var(--font-mono, monospace) !important;
  font-size: 8px !important; font-weight: 800 !important; cursor: pointer !important; display: inline-flex !important; align-items: center !important;
  gap: 4px !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important; transition: all 0.12s ease !important;
}
.btn-matrix-play:hover { background: linear-gradient(180deg, #64748b 0%, #475569 100%) !important; color: #00f0ff !important; border-color: rgba(0, 207, 255, 0.6) !important; }
.btn-matrix-play.is-playing { background: linear-gradient(180deg, #059669 0%, #047857 100%) !important; border-color: #00ff9d !important; color: #ffffff !important; box-shadow: 0 0 8px rgba(0, 255, 157, 0.5) !important; }

.radio-chassis-strip { display: flex; align-items: center; gap: 12px; width: 100%; height: 22px; }
.radio-chassis-strip .chassis-gauge-unit { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono, monospace); font-size: 9px; }
.radio-chassis-strip .chassis-gauge-lbl { font-weight: 700; color: #64748b; }
.radio-chassis-strip .chassis-track { width: 55px; height: 5px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; overflow: hidden; }
.radio-chassis-strip .chassis-gauge-val { font-weight: 700; color: #e2e8f0; }
.radio-chassis-strip .chassis-strip-sep { color: rgba(255, 255, 255, 0.15); font-size: 9px; }
.radio-chassis-strip .chassis-heartbeat-box { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.pulse-dot-amber { width: 5px; height: 5px; border-radius: 50%; background: #ffaa00; box-shadow: 0 0 5px #ffaa00; }
.chassis-heartbeat-txt { font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 800; color: #ffaa00; }

