@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..800;1,9..40,400..700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --v2-ink: #030711;
  --v2-deep: #060f1d;
  --v2-panel: rgba(12, 26, 46, 0.72);
  --v2-panel-2: rgba(17, 36, 62, 0.65);
  --v2-line: rgba(120, 185, 240, 0.14);
  --v2-line-bright: rgba(135, 208, 255, 0.28);
  --v2-blue: #22a7ff;
  --v2-cyan: #5ce1ff;
  --v2-coral: #ff4757;
  --v2-coral-glow: rgba(255, 71, 87, 0.42);
  --v2-amber: #ffbe55;
  --v2-white: #f7fafd;
  --v2-muted: #93adc2;
  --coral: var(--v2-coral);
  --stage-accent: var(--v2-cyan);
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  background: #02050b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body *, body *::before, body *::after {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Smooth fade-in for remote photos and artwork */
.news-visual img,
.art img,
.recent-art img,
.event-feature img,
.advertisement-visual img {
  opacity: 0;
  transition: opacity 0.65s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}
.news-visual img.is-loaded,
.art img.is-loaded,
.recent-art img.is-loaded,
.event-feature img.is-loaded,
.advertisement-visual img.is-loaded {
  opacity: 1;
}

/* Full-screen Broadcast Grid & Living Ambient Canvas */
.screen {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 24.5%);
  grid-template-rows: minmax(0, 1fr);
  background: var(--v2-ink);
  isolation: isolate;
}

.ambient-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-photo {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  filter: blur(75px) saturate(1.45) brightness(0.36);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease-in-out), background-image 1.1s ease;
}
.ambient-photo.is-visible {
  opacity: 0.72;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.42;
  transition: background 1.2s ease, opacity 1.2s ease;
  will-change: transform;
}
.ambient-orb-1 {
  width: 48vw;
  height: 48vw;
  top: -18vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(34, 167, 255, 0.34), transparent 70%);
  animation: v2-ambient-drift 22s ease-in-out infinite alternate;
}
.ambient-orb-2 {
  width: 44vw;
  height: 44vw;
  bottom: -18vw;
  right: 18vw;
  background: radial-gradient(circle, rgba(255, 71, 87, 0.24), transparent 70%);
  animation: v2-ambient-drift-rev 26s ease-in-out infinite alternate;
}

/* Adaptive Slide Moods */
.screen[data-slide-kind="weather"] .ambient-orb-1,
.screen[data-slide-kind="outlook"] .ambient-orb-1 {
  background: radial-gradient(circle, rgba(92, 225, 255, 0.38), transparent 70%);
}
.screen[data-sky="clear"] .ambient-orb-2 {
  background: radial-gradient(circle, rgba(255, 190, 85, 0.32), transparent 70%);
}
.screen[data-sky="rain"] .ambient-orb-2,
.screen[data-sky="storm"] .ambient-orb-2 {
  background: radial-gradient(circle, rgba(56, 120, 255, 0.34), transparent 70%);
}
.screen[data-slide-kind="history"] .ambient-orb-1 {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32), transparent 70%);
}
.screen[data-slide-kind="advertisement"] .ambient-orb-2 {
  background: radial-gradient(circle, rgba(255, 122, 89, 0.34), transparent 70%);
}

/* Main Broadcast Stage */
.stage {
  position: relative;
  z-index: 1;
  padding: 1.55vw 2.5vw 1.25vw;
  border: 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 29, 0.72) 0%, rgba(4, 10, 20, 0.82) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 68px 68px, 68px 68px;
  overflow: hidden;
}

.stage::before {
  content: none;
}

.stage::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--v2-coral) 0%, #ff7a59 24%, var(--v2-blue) 52%, var(--v2-cyan) 82%, transparent 100%);
  box-shadow: 0 2px 20px rgba(92, 225, 255, 0.45);
}

/* Top Broadcast Bar */
.topline {
  min-height: 76px;
  padding: 0.25vw 0 1vw;
  border-bottom: 1px solid var(--v2-line);
  position: relative;
  gap: 16px;
}
.topline::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, var(--v2-cyan), transparent);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand-logo > img {
  width: auto;
  height: clamp(44px, 3.5vw, 64px);
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}
.channel-name {
  font: 700 clamp(18px, 1.38vw, 26px)/1 'DM Sans';
  letter-spacing: -0.03em;
  color: rgba(247, 250, 253, 0.94);
  padding-left: 16px;
  border-left: 1px solid rgba(147, 173, 194, 0.24);
  white-space: nowrap;
}

.on-air-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 71, 87, 0.14);
  border: 1px solid rgba(255, 71, 87, 0.38);
  color: #ff8a94;
  font-size: clamp(9px, 0.6vw, 11px);
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.on-air-pill .live-pin {
  width: 6px;
  height: 6px;
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 1.15vw;
}

.slide-counter {
  font-size: clamp(10px, 0.72vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: var(--v2-muted);
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--v2-line);
}

#slide-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--v2-white);
  background: linear-gradient(135deg, rgba(22, 52, 84, 0.82), rgba(11, 27, 46, 0.85));
  border: 1px solid var(--v2-line-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px -8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: clamp(9px, 0.64vw, 12px);
  font-weight: 800;
  letter-spacing: 0.15em;
  white-space: nowrap;
}
#slide-type::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v2-cyan);
  box-shadow: 0 0 10px var(--v2-cyan);
}
#slide-type.badge-pop {
  animation: v2-badge-pop 0.48s var(--ease-out-expo);
}

.clock-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 122px;
}
.date-label {
  font-size: clamp(9px, 0.6vw, 11px);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--v2-cyan);
}
.topline time {
  color: var(--v2-white);
  font-size: clamp(20px, 1.55vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  text-align: right;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* Smooth Broadcast Slide Transitions & Choreographed Stagger */
.slide {
  padding: 1.4vw 0 0.7vw;
  z-index: 1;
  animation: v2-slide-in 0.76s var(--ease-out-expo) both;
  will-change: transform, opacity, filter;
}
.slide.exit {
  animation: v2-slide-out 0.42s var(--ease-in-out) both;
}
.slide-inner {
  position: relative;
}

.slide .kicker,
.slide .location-line {
  animation: v2-rise-in 0.65s var(--ease-out-expo) 0.04s both;
}
.slide h1 {
  animation: v2-rise-in 0.72s var(--ease-out-expo) 0.1s both;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.035em;
}
.slide p {
  color: #c1d2e0;
  animation: v2-rise-in 0.76s var(--ease-out-expo) 0.16s both;
}

.kicker,
.weather-hero .location-line {
  color: var(--v2-cyan);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0.18em;
  font-weight: 800;
}
.kicker::before,
.weather-hero .location-line::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-coral), var(--v2-cyan));
  box-shadow: 0 0 14px var(--v2-coral-glow);
}

/* Reimagined News Slide */
.news-grid {
  grid-template-columns: minmax(340px, 47%) minmax(0, 1fr);
  gap: 3vw;
  align-items: center;
  margin-top: 1.5vw;
}
.news-visual {
  aspect-ratio: 16/10;
  border: 1px solid var(--v2-line-bright);
  border-radius: 26px;
  background: radial-gradient(circle at 50% 35%, #193d60, #091726);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 32px 75px -14px rgba(0, 0, 0, 0.72);
  position: relative;
  overflow: hidden;
  animation: v2-scale-in 0.8s var(--ease-out-expo) 0.08s both;
}
.news-visual img.is-loaded,
.event-feature img.is-loaded,
.advertisement-visual img.is-loaded {
  animation: v2-ken-burns 16s ease-out forwards;
}
.news-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -75px 95px rgba(3, 9, 18, 0.68);
  pointer-events: none;
}

.visual-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(5, 13, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: var(--v2-white);
  font-size: clamp(9px, 0.64vw, 12px);
  font-weight: 800;
  letter-spacing: 0.15em;
}

.story-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--v2-line);
  border-left: 4px solid var(--v2-coral);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 38, 64, 0.76), rgba(9, 22, 39, 0.68));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 38px -12px rgba(0, 0, 0, 0.5);
  min-height: 0;
  padding: 0.95vw 1.35vw;
  margin-top: 1.15vw;
  animation: v2-rise-in 0.76s var(--ease-out-expo) 0.18s both;
}
.story-source strong {
  color: var(--v2-cyan);
  letter-spacing: 0.14em;
  font-size: clamp(10px, 0.72vw, 13px);
}
.story-source span {
  font-size: clamp(15px, 1.2vw, 22px);
  font-weight: 700;
  color: var(--v2-white);
  margin-top: 0;
}
.news-copy {
  padding-right: 0.4vw;
}
.news-copy h1 {
  font-size: clamp(32px, 3.15vw, 62px);
  line-height: 1.09;
}
.news-copy p {
  color: #c4d5e3;
  line-height: 1.54;
  margin-top: 1.35vw;
}

/* Floating Lower-Third Dock */
.stage-bottom {
  padding: 0.75vw 1.1vw;
  margin-top: 0.4vw;
  border-radius: 16px;
  background: rgba(9, 21, 38, 0.66);
  border: 1px solid var(--v2-line);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.up-next {
  color: var(--v2-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.up-next strong {
  color: var(--v2-white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  margin-left: 2px;
  font-weight: 700;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 48%;
  justify-content: flex-end;
}
.rotation-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}
.rotation-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(147, 173, 194, 0.28);
  transition: width 0.45s var(--ease-out-expo), background 0.35s ease, box-shadow 0.35s ease;
}
.rotation-dots i.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--v2-coral), var(--v2-cyan));
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.55);
}

.progress-track {
  height: 5px;
  flex: 1;
  max-width: 280px;
  background: rgba(27, 56, 80, 0.65);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.progress-track span {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-coral), var(--v2-blue) 55%, var(--v2-cyan));
  box-shadow: 0 0 16px rgba(92, 225, 255, 0.7);
  transition: width 0.08s linear;
}

/* Right Broadcast Rail */
.rail {
  position: relative;
  z-index: 2;
  padding: 1.35vw 1.25vw 1vw;
  gap: 0.85vw;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 167, 255, 0.16) 0%, transparent 40%),
    linear-gradient(180deg, rgba(8, 19, 36, 0.9) 0%, rgba(4, 10, 20, 0.96) 100%);
  border-left: 1px solid var(--v2-line);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(22px);
  overflow: hidden;
}
.rail-corner-brand {
  min-height: 40px;
  padding: 0 4px;
  align-items: flex-start;
}
.rail-corner-brand strong {
  color: var(--v2-white);
  font-size: clamp(13px, 0.96vw, 18px);
  line-height: 1.05;
  letter-spacing: 0.09em;
}
.rail-corner-brand strong small {
  display: block;
  margin-top: 5px;
  color: var(--v2-cyan);
  font-size: clamp(8px, 0.54vw, 11px);
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.rail-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(18, 41, 70, 0.78), rgba(9, 22, 40, 0.88));
  border: 1px solid var(--v2-line);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 22px 48px -12px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(20px);
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--v2-cyan);
  letter-spacing: 0.15em;
}
.eyebrow-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow .on-air-dot {
  float: none;
}

/* Live Audio Equalizer Bars */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}
.eq-bars i {
  display: block;
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--v2-cyan), var(--v2-blue));
  transform-origin: bottom;
  animation: v2-eq 1.15s ease-in-out infinite alternate;
}
.eq-bars i:nth-child(1) { animation-duration: 0.85s; }
.eq-bars i:nth-child(2) { animation-duration: 1.15s; animation-delay: -0.3s; }
.eq-bars i:nth-child(3) { animation-duration: 0.95s; animation-delay: -0.6s; }
.eq-bars i:nth-child(4) { animation-duration: 1.25s; animation-delay: -0.15s; }

.live-pin,
.on-air-dot {
  background: var(--v2-coral);
  box-shadow: 0 0 12px var(--v2-coral);
  animation: v2-pulse 2.2s ease-in-out infinite;
}

.song-card {
  min-height: 0;
  padding: 1.15vw;
}

/* Ambient Album Art Aura */
.art-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  height: 62%;
  background-size: cover;
  background-position: center;
  filter: blur(48px) saturate(1.7);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 1s ease;
}
.art-glow.has-art {
  opacity: 0.34;
}

.song-card .art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(32vh, 330px);
  margin: 0.8vw 0 0.7vw;
  border-radius: 18px;
  border: 1px solid var(--v2-line-bright);
  background: radial-gradient(circle at 50% 35%, #1c4369, #0c1f34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 20px 44px -8px rgba(0, 0, 0, 0.72);
}

.song-meta {
  position: relative;
  z-index: 1;
}
.song-meta.track-swap {
  animation: v2-rise-in 0.55s var(--ease-out-expo);
}
.song-caption {
  color: var(--v2-coral);
  font-size: clamp(9px, 0.62vw, 12px);
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 0.3vw;
}
.song-title {
  color: var(--v2-white);
  font-size: clamp(18px, 1.42vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  min-height: auto;
}
.song-artist {
  color: #a9c2d6;
  font-size: clamp(12px, 0.88vw, 16px);
  min-height: auto;
}
.album-source {
  color: #7c9bb3;
  transition: color 0.2s ease;
}

.next-track {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: clamp(98px, 11vh, 142px);
  margin-top: auto;
  padding: 0.9vw 0.9vw 0.75vw;
  border-top: 0;
  border: 1px solid rgba(92, 225, 255, 0.18);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(11, 29, 51, 0.76), rgba(6, 17, 32, 0.9));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.next-track > img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.2);
}
.next-copy {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 0;
  text-shadow: 0 2px 12px rgba(2, 7, 19, 0.95);
}
.next-copy > span {
  color: var(--v2-cyan);
  font-size: clamp(9px, 0.6vw, 11px);
  font-weight: 800;
  letter-spacing: 0.16em;
}
.next-copy > strong {
  color: var(--v2-white);
  font-size: clamp(15px, 1.05vw, 19px);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.next-copy > small {
  color: #b4cadc;
  font-size: clamp(11px, 0.76vw, 14px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-card {
  padding: 0.95vw 1.15vw;
}
.weather-compact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95vw;
  align-items: center;
}
.weather-big {
  margin: 0.45vw 0 0;
}
.weather-big strong {
  font-size: clamp(32px, 3vw, 58px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.weather-big span {
  color: #ffca64;
  filter: drop-shadow(0 4px 12px rgba(255, 202, 100, 0.35));
}
.weather-card p {
  margin: 0;
  color: var(--v2-white);
  font-weight: 700;
}
.high-low {
  margin-top: 0.3vw;
  color: #96b0c4;
  font-variant-numeric: tabular-nums;
}

.rail-footer {
  color: #7e9bb2;
  padding: 0 4px;
}
.rail-footer .display-label {
  color: var(--v2-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.12em;
}
.rail-footer .live-pin {
  width: 6px;
  height: 6px;
}

/* Weather & 5-Day Outlook Slides */
.current-weather-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  gap: 2.6vw;
}
.weather-hero .degree {
  background: linear-gradient(180deg, #ffffff 30%, #9cd4f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.48));
  font-variant-numeric: tabular-nums;
}
.current-weather-graphic {
  border-radius: 30px;
  border: 1px solid var(--v2-line-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 34px 85px -14px rgba(0, 0, 0, 0.72);
  animation: v2-scale-in 0.8s var(--ease-out-expo) 0.1s both;
}
.current-weather-graphic > span {
  animation: v2-float 5.5s ease-in-out infinite;
}
.weather-details div,
.forecast div {
  background: linear-gradient(145deg, rgba(18, 45, 72, 0.76), rgba(9, 24, 42, 0.85));
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 16px 36px -10px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
  animation: v2-rise-in 0.72s var(--ease-out-expo) 0.16s both;
}
.weather-details div:nth-child(2) { animation-delay: 0.21s; }
.weather-details div:nth-child(3) { animation-delay: 0.26s; }
.forecast div:nth-child(1) { animation-delay: 0.24s; }
.forecast div:nth-child(2) { animation-delay: 0.3s; }

/* 5-Day Outlook Cards with Thermal Range Bar */
.outlook-card {
  border: 1px solid var(--v2-line);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 24px 55px -12px rgba(0, 0, 0, 0.58);
  animation: v2-rise-in 0.74s var(--ease-out-expo) both;
}
.outlook-card.is-today {
  border-color: rgba(92, 225, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 0 1px rgba(92, 225, 255, 0.22),
    0 28px 65px -12px rgba(34, 167, 255, 0.32);
}
.outlook-card.is-today .outlook-day {
  color: var(--v2-cyan);
}
.outlook-card:nth-child(1) { animation-delay: 0.06s; }
.outlook-card:nth-child(2) { animation-delay: 0.12s; }
.outlook-card:nth-child(3) { animation-delay: 0.18s; }
.outlook-card:nth-child(4) { animation-delay: 0.24s; }
.outlook-card:nth-child(5) { animation-delay: 0.3s; }
.outlook-icon {
  animation: v2-float 5s ease-in-out infinite;
}
.outlook-card:nth-child(even) .outlook-icon {
  animation-delay: -2.5s;
}

.outlook-range-bar {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin: 10px 0 12px;
  overflow: hidden;
}
.outlook-range-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-cyan), var(--v2-amber), var(--v2-coral));
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.45);
}

/* Recently Played Slide */
.recently-played-screen h1 {
  font-size: clamp(36px, 3.3vw, 64px);
}
.recent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.3vw, 24px);
  margin-top: 2vw;
}
.recent-card {
  min-width: 0;
  border: 1px solid var(--v2-line-bright);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(18, 45, 72, 0.8), rgba(9, 23, 40, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 24px 55px -12px rgba(0, 0, 0, 0.62);
  animation: v2-rise-in 0.72s var(--ease-out-expo) both;
}
.recent-card:nth-child(1) { animation-delay: 0.06s; }
.recent-card:nth-child(2) { animation-delay: 0.12s; }
.recent-card:nth-child(3) { animation-delay: 0.18s; }
.recent-card:nth-child(4) { animation-delay: 0.24s; }

.recent-art {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #1c4968, #0b1d30 70%);
}
.recent-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-art-fallback {
  width: 62%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid #2d6f95;
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px #0e2d46, 0 0 35px rgba(34, 167, 255, 0.24);
}
.recent-art-fallback span {
  color: var(--v2-cyan);
  font-size: clamp(22px, 2vw, 38px);
  font-weight: 800;
}
.recent-copy {
  min-height: 114px;
  padding: clamp(14px, 1.1vw, 22px);
  display: grid;
  align-content: start;
  gap: 6px;
}
.recent-time {
  color: var(--v2-coral);
  font-size: clamp(8px, 0.58vw, 11px);
  font-weight: 800;
  letter-spacing: 0.15em;
}
.recent-copy strong {
  color: var(--v2-white);
  font-size: clamp(15px, 1.2vw, 23px);
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-copy small {
  color: #a3bcd0;
  font-size: clamp(11px, 0.82vw, 16px);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Events & Sponsored Slides */
.event-item {
  background: linear-gradient(110deg, rgba(16, 43, 68, 0.8), rgba(9, 24, 42, 0.88));
  border: 1px solid var(--v2-line);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 18px 40px -12px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px);
  animation: v2-rise-in 0.7s var(--ease-out-expo) both;
}
.event-item:nth-child(1) { animation-delay: 0.06s; }
.event-item:nth-child(2) { animation-delay: 0.12s; }
.event-item:nth-child(3) { animation-delay: 0.18s; }
.event-item:nth-child(4) { animation-delay: 0.24s; }

.date-tile {
  background: linear-gradient(145deg, var(--v2-coral), #d62f49);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 10px 24px -6px var(--v2-coral-glow);
}
.event-visual-wrap {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--v2-line-bright);
  box-shadow: 0 28px 75px -12px rgba(0, 0, 0, 0.7);
  animation: v2-scale-in 0.78s var(--ease-out-expo) 0.08s both;
}
.event-feature img {
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.event-venue {
  color: var(--v2-cyan) !important;
  font-weight: 700 !important;
}

.advertisement-visual {
  border-color: var(--v2-line-bright);
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 30px 80px -14px rgba(0, 0, 0, 0.72);
  animation: v2-scale-in 0.8s var(--ease-out-expo) 0.1s both;
}
.advertisement-footer span {
  color: var(--v2-cyan);
  background: rgba(92, 225, 255, 0.1);
  border: 1px solid rgba(92, 225, 255, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
}

/* Keyframes */
@keyframes v2-slide-in {
  from { opacity: 0; transform: translateY(20px) scale(0.99); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes v2-slide-out {
  from { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translateY(-14px) scale(0.99); filter: blur(4px); }
}
@keyframes v2-rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes v2-scale-in {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes v2-ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes v2-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes v2-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px var(--v2-coral); }
  50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 4px var(--v2-coral); }
}
@keyframes v2-eq {
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}
@keyframes v2-badge-pop {
  0% { opacity: 0.35; transform: translateY(-4px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes v2-ambient-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3vw, 2vw) scale(1.06); }
}
@keyframes v2-ambient-drift-rev {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3vw, -2vw) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .screen { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .stage { padding: 14px 18px; }
  .topline { min-height: 60px; }
  .channel-name { font-size: 17px; padding-left: 12px; }
  .on-air-pill, .slide-counter, #slide-type, .rotation-dots { display: none; }
  .progress-wrap { width: 42%; }
  .news-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; padding: 12px; }
  .rail-corner-brand { grid-column: 1/-1; }
  .song-card { order: 2; height: 170px; display: grid; grid-template-columns: 82px 1fr; grid-template-rows: auto auto auto 1fr; gap: 3px 10px; }
  .song-card .eyebrow { grid-column: 1/-1; }
  .song-card .art { grid-row: 2/5; width: 82px; height: 82px; margin: 0; }
  .song-meta { grid-column: 2; }
  .next-track { display: none; }
  .weather-card { order: 1; height: 170px; }
  .rail-footer { order: 3; grid-column: 1/-1; }
  .current-weather-layout { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recent-card:nth-child(n+3) { display: none; }
}
