/* ==========================================================================
   HSKI 2027 - MODUL 4: LIVE EVENT DASHBOARD OBS (/live)
   Broadcast-Grade Styling (OBS Studio Browser Source, Zoom, LED Videotron)
   ========================================================================== */

:root {
  --bg-space-dark: #040711;
  --bg-card: rgba(13, 22, 45, 0.82);
  --bg-card-hover: rgba(20, 32, 64, 0.92);
  --border-card: rgba(245, 158, 11, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fde68a 50%, #d97706 100%);
  --gold-glow: 0 0 25px rgba(245, 158, 11, 0.35);

  --accent-emerald: #10b981;
  --accent-emerald-glow: 0 0 20px rgba(16, 185, 129, 0.4);
  --accent-blue: #2563eb;
  --accent-blue-light: #38bdf8;
  --accent-red: #ef4444;

  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-space-dark);
  font-family: var(--font-main);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Broadcast Container (16:9 Aspect Ratio)
   ========================================================================== */
.broadcast-container {
  width: 100vw;
  height: 100vh;
  max-width: 1920px;
  max-height: 1080px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #152247 0%, #080c18 55%, #03050c 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

/* Subtle broadcast scanline / ambient overlay */
.broadcast-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Header Penyiaran
   ========================================================================== */
.broadcast-header {
  position: relative;
  z-index: 2;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 145px 0 28px;
  background: rgba(6, 10, 22, 0.88);
  border-bottom: 2px solid rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(12px);
}

.header-brand-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-gold {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: #1e1b4b;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gold-glow);
}

.header-title-wrap {
  display: flex;
  flex-direction: column;
}

.header-event-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.header-main-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.15;
}

.header-center-info {
  display: flex;
  align-items: center;
}

.theme-tagline-gold {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 50px;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}

/* Make prototype controls unobtrusive during fullscreen */
:fullscreen .floating-controls-wrap,
body.is-fullscreen .floating-controls-wrap {
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

:fullscreen .floating-controls-wrap:hover,
body.is-fullscreen .floating-controls-wrap:hover {
  opacity: 1;
}

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

.live-onair-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.18);
  border: 1.5px solid var(--accent-red);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fca5a5;
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.broadcast-clock {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

/* ==========================================================================
   Main Grid Layout (Left: Metrics, Right: Mosaic & Trend)
   ========================================================================== */
.broadcast-main-grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 20px;
  padding: 20px 32px 14px 32px;
  min-height: 0;
}

.broadcast-col-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.broadcast-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

/* ==========================================================================
   Metric Cards (Left Column)
   ========================================================================== */
.metric-hero-card {
  background: linear-gradient(145deg, rgba(16, 26, 56, 0.95), rgba(8, 14, 30, 0.95));
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(245, 158, 11, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-light);
}

.metric-hero-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 14px 0;
}

.metric-hero-number {
  font-family: var(--font-mono);
  font-size: 58px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1.5px;
  line-height: 1;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
}

.metric-hero-unit {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.metric-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 8px;
}

.metric-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 5px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
}

.metric-hero-subinfo {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.text-gold {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* Sub Cards: Sekolah & Foto */
.metric-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-sub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sub-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.sub-card-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 6px 0 2px 0;
  line-height: 1.1;
}

.sub-card-subtext {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
}

.text-emerald {
  color: #34d399;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Panel Sebaran Wilayah */
.broadcast-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.map-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-header-broadcast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title-left h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #ffffff;
  text-transform: uppercase;
}

.badge-region-status {
  font-size: 11px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue-light);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.region-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 8px 10px;
  transition: all 0.3s ease;
}

.region-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.chip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.region-badge-active {
  font-size: 9px;
  font-weight: 800;
  color: #34d399;
  text-transform: uppercase;
}

.chip-metric {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
}

.top-provinces-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

.prov-pill {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--text-muted);
}

.prov-pill strong {
  color: var(--gold-light);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Photo Mosaic Grid (Right Column)
   ========================================================================== */
.mosaic-panel {
  flex: 1.35;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.pulse-mosaic-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: livePulse 1.6s infinite;
}

.mosaic-meta-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-rotator {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}

.badge-photo-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-family: var(--font-mono);
}

/* 24-slot dynamic grid: 8 columns x 3 rows */
.mosaic-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.mosaic-slot {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
}

.mosaic-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
}

.mosaic-slot.fading-out img {
  opacity: 0.2;
}

.mosaic-slot.fading-in img {
  opacity: 1;
  transform: scale(1.03);
}

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 10, 22, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px 8px;
  pointer-events: none;
}

.mosaic-school-name {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.mosaic-province-badge {
  font-size: 8px;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

/* ==========================================================================
   Real-Time Trend Growth Chart Panel
   ========================================================================== */
.trend-panel {
  flex: 0.9;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.trend-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--text-muted);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.dot-actual {
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.dot-target {
  background-color: rgba(245, 158, 11, 0.3);
  border: 1px dashed var(--gold-light);
}

.trend-chart-container {
  flex: 1;
  position: relative;
  min-height: 0;
}

.trend-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ==========================================================================
   Bottom Running Ticker (Marquee)
   ========================================================================== */
.broadcast-ticker-bar {
  position: relative;
  z-index: 2;
  height: 48px;
  display: flex;
  align-items: center;
  background: #02040a;
  border-top: 1.5px solid rgba(245, 158, 11, 0.3);
  overflow: hidden;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  background: rgba(245, 158, 11, 0.15);
  height: 100%;
  white-space: nowrap;
  border-right: 1.5px solid rgba(245, 158, 11, 0.3);
  z-index: 3;
}

.ticker-badge-live {
  background: var(--accent-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
}

.ticker-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.ticker-content-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-text-marquee {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #f1f5f9;
  animation: tickerLoop 42s linear infinite;
}

@keyframes tickerLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ==========================================================================
   Arrival Toast Notification (New School Verified)
   ========================================================================== */
.live-arrival-toast {
  position: fixed;
  bottom: 64px;
  left: 32px;
  z-index: 99;
  background: rgba(13, 22, 45, 0.95);
  border: 1.5px solid var(--accent-emerald);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7), var(--accent-emerald-glow);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
}

.live-arrival-toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-school-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-emerald);
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}

.toast-school-details {
  display: flex;
  flex-direction: column;
}

.toast-school-details strong {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.toast-school-details span {
  font-size: 11px;
  color: #34d399;
  font-weight: 600;
}

/* ==========================================================================
   Unobtrusive Prototype Navigation Drawer
   ========================================================================== */
.floating-controls-wrap {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1000;
}

.btn-drawer-trigger {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-drawer-trigger:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #ffffff;
  border-color: var(--gold-light);
}

.drawer-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gold-light);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.drawer-header button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.drawer-link {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.drawer-link.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  border-left: 3px solid var(--gold-primary);
}

.btn-fullscreen-action {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-fullscreen-action:hover {
  background: rgba(255, 255, 255, 0.15);
}



/* Drawer Preset Enhancements */
.drawer-section {
  margin-top: 14px;
  margin-bottom: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.drawer-section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.drawer-mode-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.drawer-mode-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.drawer-mode-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.drawer-mode-card.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-primary);
}

.dm-card-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.drawer-mode-card.active .dm-card-title {
  color: var(--gold-light);
}

.dm-card-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.35;
}

.drawer-action-group {
  margin-bottom: 10px;
}

.btn-drawer-toggle {
  width: 100%;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-blue-light);
  padding: 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-drawer-toggle:hover {
  background: rgba(56, 189, 248, 0.22);
}

.drawer-obs-tip {
  font-size: 10px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  padding: 8px;
  line-height: 1.45;
}

.drawer-obs-tip code {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 10px;
}

/* ==========================================================================
   LAYOUT MODES SWITCHING BEHAVIOR
   ========================================================================== */

/* 1. Fullscreen Mode Rules */
.broadcast-container.mode-fullscreen #broadcast-stage-video { display: none !important; }
.broadcast-container.mode-fullscreen #broadcast-squeeze-sidebar { display: none !important; }
.broadcast-container.mode-fullscreen .broadcast-col-left,
.broadcast-container.mode-fullscreen #broadcast-col-left { display: flex !important; }
.broadcast-container.mode-fullscreen .broadcast-col-right,
.broadcast-container.mode-fullscreen #broadcast-col-right { display: flex !important; }
.broadcast-container.mode-fullscreen #broadcast-lowerthird-wrap { display: none !important; }
.broadcast-container.mode-fullscreen .broadcast-main-grid {
  grid-template-columns: 460px 1fr !important;
  grid-template-rows: 1fr !important;
}

/* 2. Squeeze Frame Mode Rules */
.broadcast-container.mode-squeeze .broadcast-col-left,
.broadcast-container.mode-squeeze #broadcast-col-left,
.broadcast-container.mode-squeeze .broadcast-col-right,
.broadcast-container.mode-squeeze #broadcast-col-right { 
  display: none !important; 
}
.broadcast-container.mode-squeeze #broadcast-stage-video { 
  display: flex !important; 
}
.broadcast-container.mode-squeeze #broadcast-squeeze-sidebar { 
  display: flex !important; 
}
.broadcast-container.mode-squeeze #broadcast-lowerthird-wrap { 
  display: none !important; 
}

.broadcast-container.mode-squeeze .broadcast-main-grid {
  grid-template-columns: 1fr 430px !important;
  grid-template-rows: 1fr !important;
  gap: 18px !important;
  padding: 14px 28px 12px 28px !important;
  height: calc(100% - 82px - 40px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* 3. Lower Third Mode Rules */
body.mode-lowerthird {
  background: transparent !important;
  background-color: transparent !important;
}

.broadcast-container.mode-lowerthird {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.broadcast-container.mode-lowerthird::before {
  display: none !important;
}
.broadcast-container.mode-lowerthird .broadcast-header { display: none !important; }
.broadcast-container.mode-lowerthird .broadcast-main-grid { display: none !important; }
.broadcast-container.mode-lowerthird #broadcast-stage-video { display: none !important; }
.broadcast-container.mode-lowerthird #broadcast-squeeze-sidebar { display: none !important; }
.broadcast-container.mode-lowerthird #broadcast-col-left { display: none !important; }
.broadcast-container.mode-lowerthird #broadcast-col-right { display: none !important; }
.broadcast-container.mode-lowerthird #broadcast-lowerthird-wrap { display: flex !important; }
.broadcast-container.mode-lowerthird .broadcast-ticker-bar {
  background: rgba(4, 7, 17, 0.95) !important;
  border-top: 1.5px solid rgba(245, 158, 11, 0.4) !important;
}

/* ==========================================================================
   SQUEEZE FRAME VIDEO STAGE STYLING
   ========================================================================== */
.broadcast-stage-video {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.video-feed-card {
  flex: 1;
  background: rgba(6, 10, 22, 0.95);
  border: 2px solid var(--gold-primary);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(245, 158, 11, 0.15);
  position: relative;
}

.video-feed-topbar {
  height: 48px;
  background: rgba(13, 22, 45, 0.95);
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.feed-tag-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid var(--accent-red);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.feed-badge-res {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.btn-feed-transparency {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-feed-transparency:hover {
  background: rgba(245, 158, 11, 0.28);
}

.video-stage-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #020409;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-stage-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-stage-canvas.is-transparent .video-stage-visual {
  display: none;
}

.video-stage-canvas.is-transparent .video-transparent-overlay {
  display: flex !important;
}

.video-transparent-overlay {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4) 15px, rgba(30, 41, 59, 0.4) 15px, rgba(30, 41, 59, 0.4) 30px);
  border: 2px dashed rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
}

.alpha-notice-box {
  background: rgba(6, 10, 22, 0.88);
  border: 1px solid var(--gold-primary);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.alpha-notice-box strong {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

.alpha-notice-box span {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

.video-stage-watermark {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  background: linear-gradient(90deg, rgba(6, 10, 22, 0.92) 0%, rgba(6, 10, 22, 0.65) 60%, transparent 100%);
  padding: 8px 14px;
  border-radius: 8px;
  border-left: 4px solid var(--gold-primary);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.watermark-kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 2px;
}

.watermark-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.watermark-sub {
  font-size: 10px;
  color: #cbd5e1;
  font-weight: 600;
}

.video-feed-bottombar {
  height: 32px;
  background: rgba(13, 22, 45, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 10px;
  color: var(--text-muted);
}

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

.feed-pulse-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* ==========================================================================
   SQUEEZE SIDEBAR STYLING
   ========================================================================== */
.broadcast-squeeze-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.squeeze-hero-card {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  flex-shrink: 0;
}

.squeeze-hero-card .metric-card-kicker {
  margin-bottom: 2px;
  font-size: 10px;
}

.squeeze-hero-card .metric-hero-number {
  font-size: 32px;
}

.squeeze-hero-card .metric-progress-track {
  margin: 8px 0 6px 0;
  height: 7px;
}

.squeeze-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex-shrink: 0;
}

.squeeze-sub-grid .metric-sub-card {
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.squeeze-sub-grid .sub-card-value {
  font-size: 22px;
}

.squeeze-sub-grid .sub-card-subtext {
  font-size: 10px;
}

.squeeze-mosaic-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
}

.squeeze-mosaic-panel .panel-header-broadcast {
  padding: 8px 12px;
}

.squeeze-mosaic-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  padding: 0 10px 10px 10px;
  min-height: 0;
}

.squeeze-mosaic-slot {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: #020409;
  height: 100%;
}

.squeeze-mosaic-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
  display: block;
}

.squeeze-mosaic-slot .sq-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 22, 0.92) 100%);
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.squeeze-ranking-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.squeeze-ranking-panel .panel-header-broadcast {
  padding: 6px 12px;
}

.squeeze-provinces-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px 10px 8px 10px;
}

.squeeze-province-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.squeeze-province-chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
  color: var(--text-muted);
}

.squeeze-province-chip strong {
  color: var(--gold-light);
  font-family: var(--font-mono);
  margin-left: 4px;
}

/* ==========================================================================
   LOWER THIRD OVERLAY STYLING
   ========================================================================== */
.broadcast-lowerthird-wrap {
  position: absolute;
  bottom: 48px;
  left: 32px;
  right: 32px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  animation: slideUpLowerThird 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpLowerThird {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.lowerthird-banner {
  background: linear-gradient(135deg, rgba(8, 14, 32, 0.96) 0%, rgba(4, 7, 17, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: 18px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.25);
  backdrop-filter: blur(16px);
}

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

.lt-logo {
  width: 48px;
  height: 48px;
  font-size: 20px;
  flex-shrink: 0;
}

.lowerthird-titles {
  display: flex;
  flex-direction: column;
}

.lt-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.lt-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.2;
}

.lt-sub {
  font-size: 10px;
  color: #cbd5e1;
  font-weight: 600;
}

.lowerthird-center {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 20px;
}

.lt-metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lt-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.lt-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.lt-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
}

.lt-gold {
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.lt-emerald {
  color: var(--accent-emerald);
}

.lt-unit {
  font-size: 10px;
  font-weight: 800;
  color: var(--gold-light);
}

.lt-subtext {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 600;
}

.lt-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
}

.lowerthird-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.lt-onair {
  padding: 4px 10px;
  font-size: 10px;
}

.lt-clock {
  font-size: 16px;
  padding: 4px 10px;
}

/* ==========================================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE ADAPTATIONS
   Audit: Desktop (1920x1080 & 1440px) ➔ Laptop (1200px) ➔ Tablet (768px-992px) ➔ Mobile (360px-640px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Laptop & Medium Desktop Screens (<= 1280px)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .broadcast-header {
    padding: 0 135px 0 20px !important;
  }

  .header-main-title {
    font-size: 21px !important;
  }

  .brand-logo-gold {
    width: 46px !important;
    height: 46px !important;
    font-size: 19px !important;
  }

  .theme-tagline-gold {
    font-size: 11px !important;
    padding: 4px 12px !important;
    letter-spacing: 1px !important;
  }

  .broadcast-container.mode-fullscreen .broadcast-main-grid {
    grid-template-columns: 380px 1fr !important;
    gap: 14px !important;
    padding: 12px 20px !important;
  }

  .metric-hero-card {
    padding: 16px 20px !important;
  }

  .metric-hero-number {
    font-size: 48px !important;
  }

  .metric-sub-card {
    padding: 10px 12px !important;
  }

  .sub-card-value {
    font-size: 26px !important;
  }

  .broadcast-panel {
    padding: 12px 16px !important;
  }

  .broadcast-container.mode-squeeze .broadcast-main-grid {
    grid-template-columns: 1fr 370px !important;
    gap: 14px !important;
    padding: 12px 20px !important;
  }

  .squeeze-hero-card .metric-hero-number {
    font-size: 26px !important;
  }
}

/* --------------------------------------------------------------------------
   2. Tablet Screens & Small Laptops (<= 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  html, body {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  .broadcast-container {
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  .broadcast-header {
    height: auto !important;
    min-height: 68px !important;
    padding: 10px 110px 10px 18px !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .theme-tagline-gold {
    display: none !important; /* Disembunyikan di layar tablet untuk ruang status & jam */
  }

  .header-main-title {
    font-size: 19px !important;
  }

  .header-event-kicker {
    font-size: 10px !important;
  }

  /* Fullscreen Mode on Tablet: Vertically Stacked with smooth scrolling */
  .broadcast-container.mode-fullscreen .broadcast-main-grid {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding: 16px 18px !important;
    gap: 16px !important;
  }

  .broadcast-col-left,
  #broadcast-col-left,
  .broadcast-col-right,
  #broadcast-col-right {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .mosaic-panel {
    height: auto !important;
    min-height: 340px !important;
  }

  .mosaic-grid {
    height: 320px !important;
    grid-template-columns: repeat(6, 1fr) !important;
    grid-template-rows: repeat(4, 1fr) !important;
  }

  .trend-panel {
    height: 240px !important;
  }

  .trend-chart-container,
  .trend-chart-wrap {
    height: 180px !important;
  }

  /* Squeeze Mode on Tablet: Stage on Top, Metrics Below */
  .broadcast-container.mode-squeeze .broadcast-main-grid {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding: 16px 18px !important;
    gap: 16px !important;
  }

  #broadcast-stage-video {
    width: 100% !important;
    height: auto !important;
    min-height: 380px !important;
    aspect-ratio: 16 / 9 !important;
  }

  #broadcast-squeeze-sidebar {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .squeeze-mosaic-grid {
    height: 180px !important;
  }

  /* Lower Third Mode on Tablet */
  .broadcast-lowerthird-wrap {
    bottom: 44px !important;
    left: 16px !important;
    right: 16px !important;
  }

  .lowerthird-banner {
    padding: 12px 18px !important;
    gap: 16px !important;
  }

  .lt-title {
    font-size: 17px !important;
  }

  .lt-value {
    font-size: 22px !important;
  }
}

/* --------------------------------------------------------------------------
   3. Smartphone & Mobile Screens (<= 640px down to 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .broadcast-header {
    padding: 8px 75px 8px 10px !important;
    min-height: 56px !important;
    gap: 8px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .header-brand-box {
    gap: 8px !important;
  }

  .brand-logo-gold {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }

  .header-event-kicker {
    font-size: 7.5px !important;
    letter-spacing: 0.8px !important;
  }

  .header-main-title {
    font-size: 13.5px !important;
    line-height: 1.2 !important;
  }

  .header-status-box {
    gap: 4px !important;
    flex-direction: column !important;
    align-items: flex-end !important;
  }

  .live-onair-pill {
    font-size: 8px !important;
    padding: 2px 6px !important;
  }

  .live-pulse-dot {
    width: 5px !important;
    height: 5px !important;
  }

  .broadcast-clock {
    font-size: 10px !important;
    padding: 2px 5px !important;
  }

  /* Floating drawer trigger position for mobile */
  .floating-controls-wrap {
    top: 8px !important;
    right: 6px !important;
  }

  .btn-drawer-trigger {
    padding: 4px 7px !important;
    font-size: 9.5px !important;
    gap: 3px !important;
  }

  .btn-drawer-trigger svg {
    width: 14px !important;
    height: 14px !important;
  }

  .drawer-panel {
    width: calc(100vw - 16px) !important;
    max-width: 300px !important;
    right: 0 !important;
    top: 34px !important;
    padding: 10px !important;
  }

  /* Main Grid Spacing */
  .broadcast-container.mode-fullscreen .broadcast-main-grid,
  .broadcast-container.mode-squeeze .broadcast-main-grid {
    padding: 8px 8px !important;
    gap: 10px !important;
  }

  /* Hero Card */
  .metric-hero-card {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .metric-card-kicker {
    font-size: 9px !important;
    letter-spacing: 0.8px !important;
  }

  .metric-hero-number-wrap {
    margin: 6px 0 10px 0 !important;
    gap: 8px !important;
  }

  .metric-hero-number {
    font-size: 34px !important;
    letter-spacing: -0.5px !important;
  }

  .metric-hero-unit {
    font-size: 13px !important;
  }

  .metric-hero-subinfo {
    font-size: 10.5px !important;
  }

  /* Sub Cards (Sekolah & Foto) */
  .metric-sub-grid {
    gap: 8px !important;
  }

  .metric-sub-card {
    padding: 8px 10px !important;
    border-radius: 10px !important;
  }

  .sub-card-header {
    font-size: 9px !important;
  }

  .sub-card-value {
    font-size: 20px !important;
  }

  .sub-card-subtext {
    font-size: 9px !important;
  }

  /* Sebaran Wilayah Panel */
  .broadcast-panel {
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  .panel-title-left h3 {
    font-size: 10px !important;
  }

  .regions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .region-chip {
    padding: 6px 8px !important;
  }

  .chip-top {
    font-size: 9px !important;
  }

  .chip-metric {
    font-size: 12px !important;
  }

  .top-provinces-list {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .prov-pill {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }

  /* Mosaic Grid on Mobile: 4 columns x 3 rows */
  .mosaic-panel {
    min-height: auto !important;
  }

  .mosaic-meta-info .badge-rotator {
    display: none !important;
  }

  .mosaic-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    height: 230px !important;
    gap: 4px !important;
  }

  .mosaic-slot .slot-overlay {
    font-size: 7px !important;
    padding: 2px 3px !important;
    line-height: 1.1 !important;
  }

  /* Trend Chart on Mobile */
  .trend-panel {
    height: auto !important;
  }

  .trend-chart-container,
  .trend-chart-wrap {
    height: 140px !important;
  }

  .chart-x-labels {
    font-size: 8.5px !important;
  }

  /* Squeeze Mode on Mobile */
  #broadcast-stage-video {
    min-height: 200px !important;
  }

  .video-stage-watermark {
    left: 8px !important;
    right: 8px !important;
    bottom: 6px !important;
    padding: 6px 10px !important;
  }

  .watermark-kicker {
    font-size: 7.5px !important;
  }

  .watermark-title {
    font-size: 12px !important;
  }

  .watermark-sub {
    font-size: 8px !important;
  }

  .video-feed-bottombar {
    height: auto !important;
    padding: 5px 8px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    font-size: 8px !important;
  }

  .squeeze-sub-grid {
    gap: 8px !important;
  }

  .squeeze-mosaic-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    height: 130px !important;
    gap: 4px !important;
  }

  .squeeze-provinces-list {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 4px 8px !important;
  }

  /* Lower Third Mode on Mobile */
  .broadcast-lowerthird-wrap {
    bottom: 38px !important;
    left: 8px !important;
    right: 8px !important;
  }

  .lowerthird-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

  .lowerthird-left {
    gap: 10px !important;
  }

  .lt-logo {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  .lt-kicker {
    font-size: 7.5px !important;
    letter-spacing: 1px !important;
  }

  .lt-title {
    font-size: 15px !important;
  }

  .lt-sub {
    font-size: 8px !important;
  }

  .lowerthird-center {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    padding: 6px 8px !important;
  }

  .lt-divider {
    display: none !important;
  }

  .lt-label {
    font-size: 8px !important;
  }

  .lt-value {
    font-size: 18px !important;
  }

  .lt-unit {
    font-size: 8.5px !important;
  }

  .lt-subtext {
    font-size: 7px !important;
  }

  .lowerthird-right {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .lt-clock {
    font-size: 12px !important;
    padding: 2px 8px !important;
  }

  /* Bottom Running Ticker on Mobile */
  .broadcast-ticker-bar {
    height: 32px !important;
    padding: 0 8px !important;
  }

  .ticker-label {
    gap: 5px !important;
  }

  .ticker-badge-live {
    font-size: 7.5px !important;
    padding: 2px 5px !important;
  }

  .ticker-title {
    display: none !important;
  }

  .ticker-content {
    font-size: 10px !important;
  }
}



