:root {
  color-scheme: light dark;
  --bg: #eef8ff;
  --panel: rgba(9, 18, 32, .9);
  --text: #f8fbff;
  --muted: #b8c4d4;
  --line: rgba(255, 255, 255, .16);
  --navy: #072554;
  --cyan: #17b8df;
  --red: #f05252;
  --gold: #f3b45c;
  --green: #34d399;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.broadcast-page {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
}

.broadcast-page::before,
.broadcast-page::after {
  position: absolute;
  inset: 0;
  content: "";
}

.broadcast-page::before {
  z-index: -3;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .88) 0%, rgba(234, 248, 255, .82) 36%, rgba(189, 231, 250, .62) 64%, rgba(10, 35, 74, .76) 100%),
    url("assets/television-radio-background.png") center / cover;
}

.broadcast-page::after {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .48) 0%, rgba(235, 248, 255, .18) 46%, rgba(5, 18, 32, .18) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, .62) 0%, rgba(210, 242, 255, .34) 50%, rgba(2, 11, 24, .62) 100%);
}

.broadcast-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1420px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 22px 0 30px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.live-pill,
.card-kicker {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(180px, 22vw, 330px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.live-pill {
  gap: 9px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(176, 39, 49, .86);
  color: #fff6f6;
  box-shadow: 0 14px 34px rgba(91, 22, 31, .16);
  font-size: 12px;
  font-weight: 900;
}

.live-pill span,
.card-kicker span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(240, 82, 82, .16);
}

.broadcast-grid {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(680px, 1.28fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: center;
  padding: 44px 0 22px;
}

.broadcast-copy {
  min-width: 0;
}

.hero-logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 26px 52px rgba(8, 37, 84, .14));
}

.video-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  padding: clamp(16px, 2.4vw, 24px);
}

.video-card-header {
  margin-bottom: 18px;
}

.card-kicker {
  gap: 9px;
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    linear-gradient(135deg, rgba(23, 184, 223, .08), transparent),
    #05070b;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  background: #05070b;
  object-fit: contain;
}

.video-state {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 9, 13, .76);
  backdrop-filter: blur(14px);
  border-radius: 8px;
  padding: 10px 12px;
  color: #d8dfeb;
}

.video-state p {
  flex: 1 1 260px;
  margin: 0;
  line-height: 1.4;
}

.video-state.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.status-dot {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #8b98a9;
}

.status-dot.loading {
  background: var(--gold);
}

.status-dot.playing {
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(52, 211, 153, .12);
}

.status-dot.error {
  background: var(--red);
}

.sound-button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  background: var(--cyan);
  color: #061526;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.sound-button[hidden] {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

@media (max-width: 980px) {
  .broadcast-grid {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 30px;
  }

  .hero-logo {
    margin: 0 auto;
    object-position: center;
  }
}

@media (max-width: 580px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .broadcast-page {
    min-height: auto;
    overflow: visible;
  }

  .broadcast-shell {
    width: min(100% - 28px, 900px);
    min-height: auto;
    padding: 16px 0 24px;
  }

  .brand-row {
    align-items: flex-start;
  }

  .brand-logo {
    width: min(56vw, 210px);
    max-height: 54px;
  }

  .live-pill {
    min-height: 30px;
    padding: 6px 10px;
  }

  .broadcast-grid {
    padding: 32px 0 0;
  }

  .hero-logo {
    width: min(88vw, 360px);
    max-height: 230px;
  }

  .video-card {
    padding: 14px;
  }

  .video-state {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 14px;
  }
}
