/* =========================================================================
   ATAL SATYA AI NEWSROOM — DEFAULT EMBEDDED TELEVISION STUDIO BROADCAST SUITE
   ========================================================================= */

.satya-studio-broadcast-card {
  margin: 24px 0 34px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #080d1a;
  border: 1px solid #1e293b;
  border-top: 4px solid #ea580c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(234, 88, 12, 0.15);
  font-family: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

/* 16:9 Television Monitor Screen */
.satya-studio-tv-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  background: #000000;
  overflow: hidden;
}

.satya-studio-screen-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.satya-tv-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.22) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  opacity: 0.5;
}

.satya-tv-ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, rgba(234, 88, 12, 0.08), transparent 70%);
  pointer-events: none;
}

/* Top Broadcast Badges */
.satya-tv-top-badges {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
  pointer-events: none;
}

.satya-tv-badge-left,
.satya-tv-badge-right {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.satya-studio-live-pill {
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.6px;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.7);
  animation: satyaPulseDot 1.8s infinite;
}

@keyframes satyaPulseDot {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

.satya-tv-channel-tag {
  background: rgba(15, 23, 42, 0.88);
  color: #ffedd5;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-left: 3px solid #ea580c;
  letter-spacing: 0.8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.satya-tv-ai-tag {
  background: rgba(15, 23, 42, 0.88);
  color: #fef08a;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(4px);
}

.satya-studio-clock {
  font-family: monospace;
  font-size: 12px;
  color: #f59e0b;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.88);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.satya-tv-btn-expand {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.satya-tv-btn-expand:hover {
  background: #ea580c;
  border-color: #ea580c;
}

/* Audio-Reactive Equalizer Wave Overlay on Video */
.satya-screen-audio-wave {
  position: absolute;
  bottom: 44px;
  right: 18px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  padding: 4px 8px;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(234, 88, 12, 0.4);
  border-radius: 4px;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.satya-screen-audio-wave span {
  display: block;
  width: 3px;
  height: 4px;
  background: #ea580c;
  border-radius: 2px;
}

.satya-screen-audio-wave.active span {
  animation: satyaEqLiveWave 0.75s ease-in-out infinite alternate;
}

.satya-screen-audio-wave.active span:nth-child(1) { animation-duration: 0.6s; height: 14px; }
.satya-screen-audio-wave.active span:nth-child(2) { animation-duration: 0.9s; height: 20px; }
.satya-screen-audio-wave.active span:nth-child(3) { animation-duration: 0.5s; height: 16px; }
.satya-screen-audio-wave.active span:nth-child(4) { animation-duration: 0.8s; height: 22px; }
.satya-screen-audio-wave.active span:nth-child(5) { animation-duration: 0.7s; height: 15px; }
.satya-screen-audio-wave.active span:nth-child(6) { animation-duration: 0.85s; height: 19px; }
.satya-screen-audio-wave.active span:nth-child(7) { animation-duration: 0.65s; height: 12px; }
.satya-screen-audio-wave.active span:nth-child(8) { animation-duration: 0.75s; height: 18px; }

@keyframes satyaEqLiveWave {
  0% { height: 4px; }
  100% { height: 22px; }
}

/* Lower-Third News Chyron */
.satya-tv-chyron {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  background: rgba(8, 13, 26, 0.96);
  border-top: 2px solid #ea580c;
  z-index: 10;
}

.satya-tv-chyron-tag {
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 14px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.satya-tv-chyron-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.satya-tv-chyron-text {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  animation: satyaChyronScroll 26s linear infinite;
}

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

/* Studio Broadcast Control Deck */
.satya-studio-deck {
  background: #0c1222;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid #1e293b;
}

.satya-deck-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.satya-deck-left-controls,
.satya-deck-right-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.satya-ctl-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.satya-ctl-btn:hover {
  background: #334155;
  border-color: #475569;
}

.satya-ctl-play-main {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #ffffff;
  border: none;
  padding: 9px 20px;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.satya-ctl-play-main:hover {
  background: linear-gradient(135deg, #c2410c, #9a3412);
  transform: translateY(-1px);
}

.satya-btn-play-icon {
  font-size: 14px;
}

.satya-ctl-stop {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.satya-ctl-stop:hover {
  background: #fecaca;
}

.satya-deck-status-wrap {
  flex: 1;
  min-width: 220px;
  padding: 0 8px;
}

.satya-deck-status-text {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.satya-control-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.satya-deck-select {
  background: #060913;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  max-width: 190px;
  cursor: pointer;
}

/* Integrated Teleprompter */
.satya-teleprompter-card {
  background: #060913;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 12px 16px;
}

.satya-teleprompter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 700;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 6px;
}

.satya-prompter-counter {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 700;
}

.satya-teleprompter-scroll {
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 6px;
}

.satya-prompt-sentence {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.satya-prompt-sentence:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
}

.satya-prompt-sentence.satya-prompt-active {
  background: rgba(234, 88, 12, 0.22);
  border-left: 3px solid #ea580c;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(234, 88, 12, 0.45);
}

/* Fullscreen Theatre Mode */
.satya-studio-broadcast-card.satya-is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #000000 !important;
}

.satya-studio-broadcast-card.satya-is-fullscreen .satya-studio-tv-screen {
  flex: 1 !important;
  max-height: none !important;
}

.satya-studio-broadcast-card.satya-is-fullscreen .satya-studio-deck {
  max-height: 240px !important;
  overflow-y: auto !important;
}

@media (max-width: 768px) {
  .satya-deck-top-row {
    flex-direction: column;
    align-items: stretch;
  }
  .satya-deck-left-controls,
  .satya-deck-right-controls {
    width: 100%;
    justify-content: space-between;
  }
  .satya-deck-select {
    max-width: 140px;
  }
}
