/* ==============================================================================
 * STACKIIT LIVE BROADCAST · UNIVERSAL PRODUCTION STYLESHEET
 * ============================================================================== */

:root {
  --bg-deep: #06080d;
  --bg-card: #0b0f17;
  --bg-card-alt: #111724;
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.45);
  --neon-red: #ff3344;
  --neon-red-glow: rgba(255, 51, 68, 0.55);
  --neon-yellow: #facc15;
  --neon-yellow-glow: rgba(250, 204, 21, 0.4);
  --neon-green: #10b981;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-active: #00f0ff;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
}

/* TOP NAVBAR */
.top-nav {
  height: 60px;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.brand-badge .live-dot {
  width: 10px;
  height: 10px;
  background: var(--neon-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-red);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

/* BUTTONS */
.btn {
  height: 36px;
  min-height: 36px;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.dropdown-link-item:hover {
  background: rgba(0, 240, 255, 0.12);
  color: var(--neon-cyan);
}

.btn-cyan {
  background: var(--neon-cyan);
  color: #000;
}

.btn-cyan:hover {
  box-shadow: 0 0 15px var(--neon-cyan-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-main);
}

.btn-red {
  background: var(--neon-red);
  color: #fff;
}

.btn-red:hover {
  box-shadow: 0 0 15px var(--neon-red-glow);
}

/* DIRECTOR COCKPIT GRID */
.director-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: calc(100vh - 60px);
  gap: 1px;
  background: var(--border-subtle);
}

.production-bay {
  background: var(--bg-deep);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

/* PROGRAM (PGM) VIEW */
.pgm-chassis {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  border: 2px solid var(--neon-red);
  box-shadow: 0 0 20px var(--neon-red-glow);
  overflow: hidden;
}

.pgm-header {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tally-badge-pgm {
  background: var(--neon-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.pgm-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* MULTI-VIEW INGEST FEEDS */
.multiview-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.feed-card {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feed-card:hover {
  border-color: var(--neon-cyan);
}

.feed-card.active-pgm {
  border: 2px solid var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red-glow);
}

.feed-card.active-pvw {
  border: 2px solid var(--neon-yellow);
  box-shadow: 0 0 10px var(--neon-yellow-glow);
}

.feed-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.feed-label .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}

.feed-label .status-dot.online {
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--neon-green);
}

/* SIDE CONTROL PANELS */
.control-sidebar {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-tab {
  flex: 1;
  padding: 12px 6px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.panel-tab.active {
  color: var(--neon-cyan);
  border-bottom-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.05);
}

.tab-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* SWITCHER CONTROLS */
.switcher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.btn-switcher {
  padding: 12px 6px;
  border-radius: 6px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.btn-switcher.pgm {
  background: var(--neon-red);
  color: #fff;
  border-color: var(--neon-red);
}

.btn-switcher.pvw {
  background: var(--neon-yellow);
  color: #000;
  border-color: var(--neon-yellow);
}

/* AUDIO MIXER */
.audio-strip {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audio-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.vu-meter-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.vu-meter-level {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #10b981 60%, #facc15 85%, #ff3344 100%);
  transition: width 0.08s ease;
}

.fader-control {
  width: 100%;
  accent-color: var(--neon-cyan);
}

/* GRAPHICS & OVERLAY STYLES */
.overlay-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

/* LOWER THIRD */
.lower-third-dock {
  position: absolute;
  bottom: 112px;
  left: 20px;
  max-width: min(560px, calc(100% - 40px));
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 28;
}

.lower-third-dock.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lower-third-chassis {
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(16px);
  border-left: 5px solid var(--neon-cyan);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 22px;
}

.lt-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.lt-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.lt-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* MID-SCREEN FLASH ANNOUNCEMENT */
.flash-announcement-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 8, 13, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 50;
}

.flash-announcement-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.flash-card {
  background: linear-gradient(135deg, rgba(17, 23, 36, 0.95), rgba(11, 15, 23, 0.95));
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 40px var(--neon-cyan-glow);
  border-radius: 16px;
  padding: 30px 45px;
  text-align: center;
  max-width: 600px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flash-announcement-backdrop.visible .flash-card {
  transform: scale(1);
}

.flash-badge {
  display: inline-block;
  background: var(--neon-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.flash-headline {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.flash-subtext {
  font-size: 1rem;
  color: var(--text-muted);
}

/* SPORTS SCOREBOARD OVERLAY */
.scoreboard-dock {
  position: absolute;
  top: 64px;
  left: 20px;
  background: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 25;
}

.team-box {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  gap: 12px;
}

.team-name {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.team-score {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.score-divider {
  width: 1px;
  height: 35px;
  background: var(--border-subtle);
}

.match-clock {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-yellow);
  font-family: var(--font-mono);
}

/* MUSIC NOW PLAYING BADGE */
.music-dock {
  position: absolute;
  top: 64px;
  right: 20px;
  background: rgba(11, 15, 23, 0.9);
  backdrop-filter: blur(12px);
  border-right: 4px solid #d4af37;
  border-radius: 8px 0 0 8px;
  padding: 10px 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  text-align: right;
  z-index: 25;
}

.music-song {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.music-raga {
  font-size: 0.75rem;
  color: #fef08a;
  font-weight: 600;
  margin-top: 2px;
}

/* BOTTOM TICKER */
.ticker-dock {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background: rgba(6, 8, 13, 0.95);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 32;
}

.ticker-content {
  white-space: nowrap;
  animation: tickerSlide 25s linear infinite;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

@keyframes tickerSlide {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* MOBILE INGEST SCREEN SPECIFIC */
.ingest-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
  position: relative;
}

.ingest-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ingest-tally-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  z-index: 30;
  transition: all 0.3s ease;
}

.ingest-tally-bar.program {
  background: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 25px var(--neon-red);
}

.ingest-tally-bar.preview {
  background: var(--neon-yellow);
  color: #000;
}

.ingest-tally-bar.standby {
  background: rgba(0, 0, 0, 0.75);
  color: #94a3b8;
}

.ingest-controls-dock {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 30;
}

.ingest-circle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(11, 15, 23, 0.85);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.ingest-circle-btn:active {
  transform: scale(0.92);
}

/* ==============================================================================
 * STACKIIT LIVE BROADCAST · MULTI-SPORT TV OVERLAYS STYLES
 * ============================================================================== */

/* CRICKET SCOREBUG (AUTHENTIC TELEVISION BROADCAST RIBBON) */
.cricket-tv-scorebug {
  position: absolute;
  bottom: 40px;
  left: 20px;
  right: 20px;
  max-width: 1280px;
  margin: 0 auto;
  height: 58px;
  background: linear-gradient(90deg, rgba(7, 12, 22, 0.96) 0%, rgba(13, 22, 38, 0.94) 50%, rgba(7, 12, 22, 0.96) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.15);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-family: var(--font-sans);
  z-index: 26;
  pointer-events: auto;
  box-sizing: border-box;
}

.c-team-box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.c-team-badge {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.c-score-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-score-main {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.5px;
  line-height: 1;
}

.c-overs-main {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.c-equation-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 14px;
  font-size: 0.72rem;
  line-height: 1.3;
}
.c-eq-crr {
  color: #94a3b8;
  font-weight: 700;
}
.c-eq-target {
  color: #fef08a;
  font-weight: 800;
}

.c-batters-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  min-width: 200px;
}

.c-batter-row {
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.c-batter-row.striker {
  color: #fff;
}
.c-batter-row.striker .c-batter-name {
  color: var(--neon-cyan);
  font-weight: 800;
}
.c-batter-row.striker .c-batter-score {
  font-weight: 900;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
}

.c-batter-row.non-striker {
  color: #94a3b8;
}
.c-batter-row.non-striker .c-batter-score {
  font-family: 'JetBrains Mono', monospace;
}

.c-bowler-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  padding: 0 14px;
}
.c-bowler-name {
  font-size: 0.78rem;
  color: #fef08a;
  font-weight: 800;
}
.c-bowler-stats {
  font-size: 0.72rem;
  color: #cbd5e1;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.c-over-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 14px;
}
.c-over-label {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.c-recent-pills {
  display: flex;
  gap: 5px;
  align-items: center;
}

.c-ball {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #cbd5e1;
}
.c-ball.dot { background: rgba(255, 255, 255, 0.05); color: #64748b; }
.c-ball.four {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border-color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
.c-ball.six {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  border-color: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
}
.c-ball.w {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #fff;
  border-color: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.8);
  font-weight: 900;
}
.c-ball.extra {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff;
  border-color: #fbbf24;
}

@media (max-width: 900px) {
  .cricket-tv-scorebug {
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    bottom: 38px;
    left: 10px;
    right: 10px;
  }
  .c-equation-box, .c-over-wrapper {
    display: none;
  }
  .lower-third-dock {
    bottom: 118px;
    left: 10px;
    max-width: calc(100% - 20px);
  }
  .football-tv-scorebug, .kabaddi-tv-scorebug {
    top: 52px;
    left: 10px;
    transform: scale(0.9);
    transform-origin: top left;
  }
}

/* FOOTBALL SCOREBUG (TV STYLE) */
.football-tv-scorebug {
  position: absolute;
  top: 64px;
  left: 20px;
  display: flex;
  align-items: center;
  background: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 25;
}

.fb-team {
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.fb-score-pill {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 900;
  padding: 8px 14px;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

.fb-time-pill {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--neon-yellow);
  font-family: var(--font-mono);
}

/* KABADDI SCOREBUG (PRO KABADDI STYLE) */
.kabaddi-tv-scorebug {
  position: absolute;
  top: 64px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 15, 23, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 25;
}

.kb-raid-clock-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
}

/* BIG EVENT FLASH BANNER (FOUR, SIX, WICKET, GOAL) */
.big-event-flash-banner {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: linear-gradient(135deg, rgba(14, 20, 34, 0.96), rgba(11, 15, 23, 0.96));
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 45px var(--neon-cyan-glow);
  border-radius: 16px;
  padding: 24px 48px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
}

.big-event-flash-banner.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.flash-title-text {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  line-height: 1.1;
}

.flash-subtitle-text {
  font-size: 1.1rem;
  color: var(--neon-cyan);
  font-weight: 700;
  margin-top: 6px;
}

/* ==============================================================================
 * MOBILE & TABLET RESPONSIVE ADAPTATIONS (< 1024px & < 768px)
 * ============================================================================== */
@media (max-width: 1024px) {
  .top-nav {
    height: auto !important;
    min-height: 60px;
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 10px;
  }
  .brand-badge {
    font-size: 1rem;
  }
  .nav-actions {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
  }
  .nav-actions .btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  
  .director-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: calc(100vh - 60px);
    overflow-y: visible !important;
  }
  .production-bay {
    padding: 12px;
    overflow-y: visible !important;
    width: 100% !important;
  }
  .pgm-chassis {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
  }
  .multiview-shelf {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 8px;
  }
  
  /* Right control sidebar collapses smoothly underneath */
  .control-sidebar, .rack-panel {
    width: 100% !important;
    max-width: 100% !important;
    border-left: none !important;
    border-top: 1px solid var(--border-subtle);
    padding: 16px 12px;
  }
  .control-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }
  
  /* Switcher big cut buttons for touchscreens */
  .switcher-big-btn {
    min-height: 48px;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .brand-badge span:last-child {
    display: none;
  }
  .nav-actions .btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    font-size: 0.75rem;
  }
  .multiview-shelf {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pgm-header {
    top: 6px;
    left: 6px;
    font-size: 0.65rem;
    gap: 4px;
  }
  .pgm-header span {
    padding: 2px 6px;
    font-size: 0.65rem;
  }
  .modal-box {
    max-width: 95vw !important;
    max-height: 90vh !important;
    padding: 16px !important;
  }
}
