/* ==========================================================================
   CINETREAK CINELIVE V1 SWITCHER SIMULATOR - BROADCAST CONSOLE STYLING
   IP26 Live Broadcast & Multimedia Production Portal (Clean Full Dark Grey)
   ========================================================================== */

:root {
  --sw-bg: var(--bg-primary, #121212);
  --sw-surface: var(--bg-surface, #1f1f1f);
  --sw-panel: var(--bg-surface-elevated, #262626);
  --sw-panel-border: var(--border-subtle, #333333);
  --sw-metal-bevel: var(--border-strong, #484848);
  --sw-text: var(--text-primary, #f4f4f5);
  --sw-text-muted: var(--text-secondary, #9ca3af);
  --sw-accent: var(--accent-cyan, #00d2ff);
  --sw-pgm-red: #ef4444;
  --sw-pgm-glow: rgba(239, 68, 68, 0.5);
  --sw-pvw-green: #10b981;
  --sw-pvw-glow: rgba(16, 185, 129, 0.5);
  --sw-amber: #f59e0b;
  --sw-amber-glow: rgba(245, 158, 11, 0.5);
  --sw-blue: #71717a;
  --font-mono: var(--font-mono, 'JetBrains Mono', monospace);
  --font-sans: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  --font-heading: var(--font-display, 'Outfit', sans-serif);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.switcher-body {
  background-color: var(--sw-bg);
  color: var(--sw-text);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  user-select: none;
}

/* Header styling inherited from .desktop-header.header-fluid in style.css */
.switcher-header {
  border-bottom: 1px solid var(--border-subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--sw-text-muted);
  background: #202023;
  border: 1px solid var(--sw-panel-border);
  transition: all 0.15s ease;
}

.nav-btn:hover {
  color: #fff;
  border-color: #52525b;
  background: #27272b;
}

.nav-btn.active {
  background: rgba(0, 210, 255, 0.14);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.nav-btn.btn-presenter {
  border-color: #3f3f46;
  color: #e4e4e7;
}

.nav-btn.btn-presenter:hover {
  background: #27272a;
  color: #fff;
}

/* Audio FX Toggle in Header */
.audio-fx-toggle {
  display: none !important;
}

/* Main Studio Layout */
.switcher-container {
  flex: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top: Physical Hardware Mockup Chassis */
.cinelive-chassis {
  background: #18181a;
  border: 1px solid #2e2e32;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.chassis-screws {
  display: none;
}

/* 5.5-inch TFT LCD Multi-view Section */
.multiview-monitor-bezel {
  background: #0d0d0e;
  border: 2px solid #26262a;
  border-radius: 10px;
  padding: 8px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.monitor-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: #141416;
  border-bottom: 1px solid #222226;
  border-radius: 6px 6px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
}

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

.brand-label-cinelive {
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  font-size: 12px;
}

.hdmi-status-group {
  display: flex;
  gap: 8px;
}

.hdmi-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9ca3af;
  font-size: 10px;
}

.hdmi-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

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

.timecode-display {
  color: #f4f4f5;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  background: #0a0a0c;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #27272a;
}

.status-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-live {
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  animation: pulse-badge 1.5s infinite;
}

.badge-rec {
  background: #71717a;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Multiview 6-Grid Video Layout */
.multiview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) repeat(2, 2fr);
  grid-template-rows: auto auto;
  gap: 6px;
  background: #000;
  padding: 6px;
  border-radius: 0 0 6px 6px;
}

/* Redesigned 6-Split Layout for 16:9 Screen (Cinetreak CineLive V1 Hardware Standard):
   Top Row: PVW (Left Large), PGM (Right Large)
   Bottom Row: CAM 1, CAM 2, CAM 3, CAM 4 (Quarter view)
*/
.mv-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 140px;
  gap: 6px;
  background: #000000;
  padding: 6px;
  border-radius: 6px;
}

@media (min-width: 1200px) {
  .mv-container {
    grid-template-rows: 300px 160px;
  }
}

.mv-cell {
  position: relative;
  background: #080809;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #242428;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mv-cell canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cell Overlays & Tally Indicators */
.mv-tally-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(18, 18, 20, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mv-info-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.7);
  padding: 1px 6px;
  border-radius: 2px;
  z-index: 10;
  pointer-events: none;
}

.mv-hud-right {
  position: absolute;
  top: 6px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #d4d4d8;
  background: rgba(0, 0, 0, 0.7);
  padding: 1px 6px;
  border-radius: 2px;
  z-index: 10;
  pointer-events: none;
}

/* PGM Red Tally Border */
.mv-cell.tally-pgm {
  border-color: var(--sw-pgm-red) !important;
  box-shadow: inset 0 0 14px var(--sw-pgm-glow), 0 0 10px rgba(239, 68, 68, 0.4);
}

.mv-cell.tally-pgm .mv-tally-tag {
  background: var(--sw-pgm-red);
  color: #fff;
  border-color: #f87171;
  box-shadow: 0 0 8px var(--sw-pgm-red);
}

/* PVW Green Tally Border */
.mv-cell.tally-pvw {
  border-color: var(--sw-pvw-green) !important;
  box-shadow: inset 0 0 14px var(--sw-pvw-glow), 0 0 10px rgba(16, 185, 129, 0.4);
}

.mv-cell.tally-pvw .mv-tally-tag {
  background: var(--sw-pvw-green);
  color: #000;
  font-weight: 800;
  border-color: #34d399;
  box-shadow: 0 0 8px var(--sw-pvw-green);
}

/* Top Row: PVW spans columns 1-2, PGM spans columns 3-4 */
.cell-pvw {
  grid-column: 1 / 3;
  grid-row: 1;
}

.cell-pgm {
  grid-column: 3 / 5;
  grid-row: 1;
}

/* Multiview Bottom Status & Audio Meter */
.monitor-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 4px;
  background: #141416;
  border-top: 1px solid #222226;
  border-radius: 0 0 6px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.audio-meters-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meter-label {
  font-size: 10px;
  color: var(--sw-text-muted);
  font-weight: 600;
}

.vu-meter-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vu-channel {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vu-channel-name {
  font-size: 9px;
  color: #9ca3af;
  width: 10px;
}

.vu-meter-track {
  width: 170px;
  height: 7px;
  background: #09090b;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid #27272a;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.vu-meter-fill {
  height: 100%;
  width: 0%;
  /* Fixed 170px gradient to prevent color distortion at low dB */
  background: linear-gradient(
    to right,
    #10b981 0px,
    #10b981 105px,
    #f59e0b 105px,
    #f59e0b 142px,
    #ef4444 142px,
    #ef4444 170px
  );
  background-size: 170px 100%;
  background-repeat: no-repeat;
  border-radius: 3px;
  transition: width 0.06s ease-out;
}

.vu-db-readout {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #10b981;
  width: 48px;
  text-align: right;
  transition: color 0.1s ease;
}

.monitor-action-tools {
  display: flex;
  gap: 8px;
}

.mon-btn {
  background: #1e1e22;
  border: 1px solid #333338;
  color: #9ca3af;
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mon-btn:hover {
  background: #27272b;
  color: #fff;
  border-color: #52525b;
}

/* ==========================================================================
   CONSOLE HARDWARE CONTROLS SECTION
   ========================================================================== */
.console-surface {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 20px;
  padding-top: 8px;
}

@media (max-width: 1024px) {
  .console-surface {
    grid-template-columns: 1fr;
  }
}

.console-bank {
  background: #18181a;
  border: 1px solid #28282b;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #27272a;
  padding-bottom: 8px;
}

.bank-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9ca3af;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bank-title .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sw-accent);
}

/* PGM & PVW Bus Button Rows */
.bus-row-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bus-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bus-label-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  width: 48px;
  padding: 4px 6px;
  text-align: center;
  border-radius: 4px;
}

.bus-label-pgm {
  background: rgba(239, 68, 68, 0.15);
  color: var(--sw-pgm-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.bus-label-pvw {
  background: rgba(16, 185, 129, 0.15);
  color: var(--sw-pvw-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bus-label-cam {
  background: #27272a;
  color: #e4e4e7;
  border: 1px solid #3f3f46;
}

.buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex: 1;
}

.buttons-grid-cams {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  flex: 1;
}

/* Translucent Silicone Push Buttons */
.silicone-btn {
  min-height: 76px;
  background: linear-gradient(180deg, #27272a 0%, #1c1c1f 100%);
  border: 2px solid #38383c;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #e4e4e7;
  font-family: var(--font-mono);
  font-weight: 700;
  transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  outline: none;
}

.silicone-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.btn-sub {
  font-size: 10px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
}

/* Active PGM Button (Glowing Red) */
.silicone-btn.active-pgm {
  background: linear-gradient(180deg, #ff4d5e 0%, #e60021 100%) !important;
  border-color: #ff8592 !important;
  color: #fff !important;
  box-shadow: 0 0 20px var(--sw-pgm-glow), inset 0 1px 1px #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.silicone-btn.active-pgm .btn-sub {
  color: #ffe0e4;
}

/* Active PVW Button (Glowing Green) */
.silicone-btn.active-pvw {
  background: linear-gradient(180deg, #22c55e 0%, #0d9668 100%) !important;
  border-color: #6ee7b7 !important;
  color: #000 !important;
  font-weight: 800;
  box-shadow: 0 0 20px var(--sw-pvw-glow), inset 0 1px 1px #fff !important;
}

.silicone-btn.active-pvw .btn-sub {
  color: #032b1e;
  font-weight: 700;
}

/* Dual-Tally Indicator Pill for CineLive V1 Hardware buttons */
.tally-indicator-pill {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1;
  font-family: var(--font-mono);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.silicone-btn.active-pgm .tally-indicator-pill {
  opacity: 1;
  background: #ffffff;
  color: #e60021;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

.silicone-btn.active-pvw .tally-indicator-pill {
  opacity: 1;
  background: #000000;
  color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

/* Middle Bank: Transition Execution & T-Bar */
.transition-bank {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.transition-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cut-btn {
  background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
  border: 2px solid #4b5563;
  color: #f3f4f6;
  border-radius: 8px;
  padding: 14px 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: all 0.12s ease;
}

.cut-btn:hover {
  border-color: #9ca3af;
  background: linear-gradient(180deg, #4b5563 0%, #293444 100%);
}

.cut-btn:active, .cut-btn.pressed {
  transform: translateY(2px);
  background: #f3f4f6;
  color: #111827;
  box-shadow: 0 0 15px rgba(243, 244, 246, 0.7);
}

.auto-btn {
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  border: 2px solid #f59e0b;
  color: #fff;
  border-radius: 8px;
  padding: 14px 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: all 0.12s ease;
}

.auto-btn:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  box-shadow: 0 0 18px var(--sw-amber-glow);
}

.auto-btn:active, .auto-btn.trans-active {
  transform: translateY(2px);
  background: #fbbf24;
  color: #000;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.9);
}

.ftb-btn {
  background: linear-gradient(180deg, #7f1d1d 0%, #450a0a 100%);
  border: 2px solid #ef4444;
  color: #fecaca;
  border-radius: 8px;
  padding: 10px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ftb-btn:hover {
  background: #991b1b;
  color: #fff;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.ftb-btn.active-ftb {
  background: #ff001e !important;
  color: #fff !important;
  border-color: #fff !important;
  animation: ftb-blink 0.8s infinite;
  box-shadow: 0 0 25px rgba(255, 0, 30, 0.8);
}

@keyframes ftb-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Physical T-Bar Fader Component */
.tbar-component {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  background: #141416;
  border-radius: 8px;
  border: 1px solid #27272a;
}

.tbar-track-container {
  width: 64px;
  height: 140px;
  position: relative;
  display: flex;
  justify-content: center;
}

.tbar-slot {
  width: 8px;
  height: 100%;
  background: #0a0a0b;
  border: 1px solid #28282b;
  border-radius: 4px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.tbar-handle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 28px;
  background: linear-gradient(180deg, #d1d5db 0%, #9ca3af 40%, #6b7280 60%, #4b5563 100%);
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), inset 0 1px 0 #fff;
  cursor: grab;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.tbar-handle:active {
  cursor: grabbing;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.tbar-grip {
  width: 3px;
  height: 14px;
  background: #374151;
  border-radius: 1px;
}

.tbar-readout {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #f4f4f5;
  font-weight: 700;
}

/* Right Bank: Effects, PIP, Rate, Audio & Hotkeys */
.settings-bank {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.subgroup-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.option-btn {
  background: #202023;
  border: 1px solid #333336;
  color: #a1a1aa;
  border-radius: 6px;
  padding: 6px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.12s ease;
}

.option-btn:hover {
  background: #27272b;
  color: #fff;
  border-color: #52525b;
}

.option-btn.active {
  background: #38383e;
  color: #ffffff;
  border-color: #71717a;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

/* Audio Mixer Subpanel */
.audio-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.audio-toggle-btn {
  background: #202023;
  border: 1px solid #333336;
  color: #9ca3af;
  border-radius: 6px;
  padding: 6px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.audio-toggle-btn.active {
  color: #10b981;
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.audio-toggle-btn.muted {
  color: #ef4444 !important;
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.18) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

/* Preset Scenario Quick Bar */
.scenario-presets-bar {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.presets-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}

.preset-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-pill {
  background: #202023;
  border: 1px solid #333336;
  color: #e4e4e7;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-pill:hover {
  border-color: #52525b;
  background: #27272b;
  color: #fff;
}

/* Keyboard Shortcut Legend Panel */
.hotkeys-helper {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 14px 18px;
}

.hotkeys-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hotkeys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.hotkey-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a1a1aa;
}

.kbd-badge {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #e4e4e7;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Fullscreen Multi-view Mode */
body.multiview-fullscreen .switcher-header,
body.multiview-fullscreen .console-surface,
body.multiview-fullscreen .scenario-presets-bar,
body.multiview-fullscreen .hotkeys-helper {
  display: none !important;
}

body.multiview-fullscreen .switcher-container {
  max-width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
}

body.multiview-fullscreen .cinelive-chassis {
  border-radius: 0;
  border: none;
  height: 100vh;
  padding: 10px;
  box-shadow: none;
}

body.multiview-fullscreen .multiview-monitor-bezel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.multiview-fullscreen .mv-container {
  flex: 1;
  grid-template-rows: 2fr 1fr;
}

/* ==========================================================================
   AUX BUS STYLING & HARDWARE CINETREAK FEATURES
   ========================================================================== */
.bus-label-aux {
  background: rgba(0, 210, 255, 0.15);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.buttons-grid-aux {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  flex: 1;
}

.buttons-grid-aux .silicone-btn {
  aspect-ratio: 1.0;
  padding: 4px;
}

.buttons-grid-aux .silicone-btn .btn-num {
  font-size: 15px;
}

/* Active AUX Button (Glowing Cyan) */
.silicone-btn.active-aux {
  background: linear-gradient(180deg, #00d2ff 0%, #0070f3 100%) !important;
  border-color: #67e8f9 !important;
  color: #000 !important;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.85), inset 0 1px 1px #fff !important;
  text-shadow: none;
}

.silicone-btn.active-aux .btn-sub {
  color: #002233 !important;
  font-weight: 800;
}

/* T-Bar With 10-LED Ladder */
.tbar-with-ladder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.tbar-ladder {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  height: 120px;
  width: 10px;
  background: #090c12;
  padding: 3px 2px;
  border-radius: 4px;
  border: 1px solid #1a2233;
}

.tbar-led {
  flex: 1;
  background: #151a24;
  border-radius: 1px;
  transition: background 0.05s ease, box-shadow 0.05s ease;
}

.tbar-led.lit-green {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.tbar-led.lit-amber {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.tbar-led.lit-red {
  background: #ff3344;
  box-shadow: 0 0 6px #ff3344;
}

/* Monitor Top Layout with Dedicated AUX Screen / Status */
.monitor-top-row-with-aux {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: #080a0f;
  border-bottom: 1px solid #1f2738;
}

/* ==========================================================================
   DESKTOP ONLY LOCKOUT SCREEN (< 1024px or portrait)
   ========================================================================== */
.desktop-lock-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: radial-gradient(circle at center, #0f131c 0%, #06070a 100%);
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.lockout-card {
  max-width: 480px;
  width: 100%;
  background: #121622;
  border: 2px solid #ef4444;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(239, 68, 68, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lockout-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.lockout-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-badge 1.2s infinite;
}

.lockout-icon {
  font-size: 3.2rem;
  line-height: 1;
}

.lockout-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.lockout-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.55;
  text-align: center;
}

.lockout-telemetry {
  background: #080a0f;
  border: 1px solid #1e2638;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
}

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.telemetry-lbl {
  color: #64748b;
}

.telemetry-val {
  color: #00d2ff;
  font-weight: 700;
}

.telemetry-warn {
  color: #f87171;
  font-size: 10px;
}

.lockout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.lockout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.lockout-btn-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #0070f3 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
}

.lockout-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.lockout-btn-secondary {
  background: #181f2c;
  color: #cbd5e1;
  border: 1px solid #2e3b52;
}

.lockout-btn-secondary:hover {
  background: #232c3f;
  color: #fff;
}

@media (max-width: 1024px), (orientation: portrait) {
  .desktop-lock-screen {
    display: flex !important;
  }
  .switcher-container, .switcher-header, .desktop-header {
    display: none !important;
  }
}


