:root {
  color-scheme: light;
  --paper: #f6f9fd;
  --ink: #07111f;
  --muted: #5f7187;
  --surface: #ffffff;
  --surface-strong: #eef7ff;
  --line: #d8e5f2;
  --blue: #052d5d;
  --blue-soft: #0e63a8;
  --on-blue: #ffffff;
  --cyan: #129fe3;
  --teal: #00a99a;
  --coral: #ff674d;
  --lime: #b9e85a;
  --shadow: 0 20px 70px rgba(5, 45, 93, 0.16);
  --header: rgba(246, 249, 253, 0.88);
}

html[data-theme="night"] {
  color-scheme: dark;
  --paper: #080d11;
  --ink: #f5fbff;
  --muted: #a9bac8;
  --surface: #101820;
  --surface-strong: #122637;
  --line: #263747;
  --blue: #35b9ff;
  --blue-soft: #74d3ff;
  --on-blue: #061018;
  --cyan: #39c9ff;
  --teal: #37d9c8;
  --coral: #ff8466;
  --lime: #d4ff76;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
  --header: rgba(8, 13, 17, 0.84);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(18, 159, 227, 0.08), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "Times New Roman", Times, "Liberation Serif", serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.is-playing .soundline span,
body.is-playing .mini-eq span,
body.is-playing .player-spectrum span {
  animation-play-state: running;
}

body.is-playing .player-panel {
  border-color: rgba(18, 159, 227, 0.72);
  box-shadow:
    0 0 0 1px rgba(18, 159, 227, 0.18),
    0 0 38px rgba(18, 159, 227, 0.26),
    var(--shadow);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

h1, h2, h3, p, a {
  overflow-wrap: anywhere;
}

section[id] {
  scroll-margin-top: 9rem;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  translate: 0 -150%;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: translate 160ms ease;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: var(--header);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-link .argentina-flag {
  width: 32px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.brand-link img {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.brand-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-link strong {
  color: var(--cyan);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
}

.icon-button,
.player-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--blue);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.icon-button {
  width: 44px;
  height: 44px;
}

.icon-button:hover,
.player-button:hover,
.icon-button:focus-visible,
.player-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--cyan);
  outline: none;
}

.icon-button svg,
.player-button svg,
.secondary-action svg,
.search-field svg,
.format-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, 760px) minmax(1rem, 1fr);
  align-content: center;
  gap: 1.4rem 0;
  min-height: calc(86svh - 72px);
  overflow: hidden;
  padding: 3rem 0 2rem;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(135deg, rgba(5, 45, 93, 0.12), rgba(18, 159, 227, 0.03) 42%, rgba(255, 103, 77, 0.08)),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--paper) 72%, transparent));
  content: "";
}

.hero-backdrop {
  position: absolute;
  inset: -8% 0 0;
  z-index: -2;
  display: grid;
  place-items: center;
  opacity: 0.13;
  pointer-events: none;
}

.hero-backdrop img {
  width: min(860px, 92vw);
  height: auto;
  filter: saturate(1.1);
}

.soundline {
  position: absolute;
  top: 38%;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(6, 10px);
  align-items: center;
  gap: 0.55rem;
  opacity: 0.72;
}

.soundline-left {
  left: max(1.5rem, calc((100vw - 1120px) / 2));
}

.soundline-right {
  right: max(1.5rem, calc((100vw - 1120px) / 2));
}

.soundline span,
.mini-eq span {
  display: block;
  width: 100%;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-soft));
  animation: pulse 780ms ease-in-out infinite alternate;
  animation-play-state: paused;
}

.soundline span:nth-child(1) {
  height: 24px;
}

.soundline span:nth-child(2) {
  height: 56px;
  animation-delay: 90ms;
}

.soundline span:nth-child(3) {
  height: 92px;
  animation-delay: 180ms;
}

.soundline span:nth-child(4) {
  height: 132px;
  animation-delay: 260ms;
}

.soundline span:nth-child(5) {
  height: 84px;
  animation-delay: 340ms;
}

.soundline span:nth-child(6) {
  height: 44px;
  animation-delay: 420ms;
}

.hero-inner {
  min-width: 0;
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.hero-logo {
  width: 176px;
  height: 176px;
  border: 1px solid rgba(18, 159, 227, 0.26);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.format-copy h2,
.agenda-copy h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: 4.7rem;
}

.hero-copy {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.primary-action,
.secondary-action,
.filter-button,
.card-play {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
}

.episode-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.episode-more [hidden] {
  display: none;
}

.primary-action {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--on-blue);
  box-shadow: 0 12px 26px rgba(5, 45, 93, 0.24);
}

.secondary-action {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--blue);
}

.primary-action:hover,
.secondary-action:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.player-panel {
  position: relative;
  grid-column: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(760px, calc(100vw - 2rem));
  margin: 1rem auto 0;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
  padding: 1rem;
  backdrop-filter: blur(18px);
}

.spotify-panel {
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  width: min(820px, calc(100vw - 2rem));
  border-color: color-mix(in srgb, var(--cyan) 38%, var(--line));
  background:
    radial-gradient(circle at 12% 18%, rgba(18, 159, 227, 0.22), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(185, 232, 90, 0.18), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, #061018 10%), color-mix(in srgb, var(--surface-strong) 82%, #061018 18%));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 54px rgba(5, 45, 93, 0.24),
    0 0 32px rgba(18, 159, 227, 0.18);
  padding: 1.05rem;
}

.spotify-panel::before,
.spotify-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
  z-index: -1;
}

.spotify-panel::before {
  inset: -45%;
  background: linear-gradient(115deg, transparent 36%, rgba(57, 201, 255, 0.2) 48%, transparent 60%);
  animation: player-scan 7s ease-in-out infinite;
}

.spotify-panel::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 159, 227, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 159, 227, 0.1) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(120deg, transparent, #000 18%, #000 78%, transparent);
  mask-image: linear-gradient(120deg, transparent, #000 18%, #000 78%, transparent);
  opacity: 0.44;
}

.player-preview {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.player-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    conic-gradient(from 180deg, var(--cyan), var(--lime), var(--blue-soft), var(--cyan));
  box-shadow:
    0 0 0 1px rgba(18, 159, 227, 0.26),
    0 0 26px rgba(18, 159, 227, 0.28);
  padding: 4px;
}

.player-art::before,
.player-art::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.player-art::before {
  inset: -7px;
  border: 1px solid rgba(57, 201, 255, 0.44);
  border-radius: 8px;
  transform: rotate(6deg);
}

.player-art::after {
  inset: 12px;
  border: 2px solid rgba(185, 232, 90, 0.48);
  border-left-color: transparent;
  border-radius: 8px;
  animation: player-orbit 5.2s linear infinite;
}

.player-thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: var(--surface-strong);
  object-fit: cover;
  box-shadow:
    inset 0 0 18px rgba(6, 16, 24, 0.16),
    0 10px 28px rgba(5, 45, 93, 0.2);
}

.embed-head {
  min-width: 0;
}

.embed-head h2 {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.embed-head p:last-child {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.player-spectrum {
  display: grid;
  grid-template-columns: repeat(9, minmax(5px, 1fr));
  align-items: end;
  gap: 0.28rem;
  width: min(230px, 100%);
  height: 18px;
  margin-top: 0.7rem;
}

.player-spectrum span {
  display: block;
  width: 100%;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lime), var(--cyan));
  box-shadow: 0 0 12px rgba(18, 159, 227, 0.36);
  transform-origin: bottom;
  animation: pulse 880ms ease-in-out infinite alternate;
  animation-play-state: paused;
}

.player-spectrum span:nth-child(2),
.player-spectrum span:nth-child(8) {
  height: 76%;
  animation-delay: 120ms;
}

.player-spectrum span:nth-child(3),
.player-spectrum span:nth-child(6) {
  height: 58%;
  animation-delay: 210ms;
}

.player-spectrum span:nth-child(4) {
  height: 100%;
  animation-delay: 310ms;
}

.player-spectrum span:nth-child(5),
.player-spectrum span:nth-child(9) {
  height: 68%;
  animation-delay: 420ms;
}

.spotify-open,
.spotify-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1ed760;
  color: #061018;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    filter 160ms ease;
}

.spotify-open {
  min-width: 124px;
  border-color: color-mix(in srgb, var(--lime) 48%, var(--cyan));
  background:
    linear-gradient(135deg, rgba(6, 16, 24, 0.96), rgba(18, 159, 227, 0.18)),
    #061018;
  color: var(--lime);
  box-shadow:
    inset 0 0 18px rgba(18, 159, 227, 0.22),
    0 0 18px rgba(185, 232, 90, 0.16);
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
}

.spotify-link {
  min-width: 76px;
  padding: 0.65rem 0.75rem;
}

.spotify-open:hover,
.spotify-link:hover,
.spotify-open:focus-visible,
.spotify-link:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.1);
  outline: none;
}

.spotify-open:hover,
.spotify-open:focus-visible {
  border-color: var(--lime);
  box-shadow:
    inset 0 0 22px rgba(18, 159, 227, 0.3),
    0 0 24px rgba(185, 232, 90, 0.24);
}

.spotify-embed-wrap {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cyan) 34%, var(--line));
  border-radius: 8px;
  background: #0b151f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 34px rgba(6, 16, 24, 0.22);
}

.spotify-embed-wrap::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--lime), transparent);
  content: "";
  pointer-events: none;
  animation: embed-trace 4.4s ease-in-out infinite;
}

.spotify-embed-wrap iframe {
  display: block;
  width: 100%;
}

.player-button {
  width: 58px;
  height: 58px;
  background: var(--blue);
  color: var(--on-blue);
}

.player-button svg {
  fill: currentColor;
  stroke: none;
}

.pause-icon,
body.is-playing .play-icon {
  display: none;
}

body.is-playing .pause-icon {
  display: block;
}

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

.eyebrow {
  margin: 0 0 0.15rem;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.player-copy h2 {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-copy p:last-child {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.mini-eq {
  display: grid;
  grid-template-columns: repeat(6, 6px);
  align-items: center;
  gap: 0.25rem;
  min-width: 56px;
  height: 44px;
}

.mini-eq span {
  height: 18px;
}

.mini-eq span:nth-child(2),
.mini-eq span:nth-child(5) {
  height: 30px;
  animation-delay: 130ms;
}

.mini-eq span:nth-child(3) {
  height: 40px;
  animation-delay: 220ms;
}

.mini-eq span:nth-child(4) {
  height: 24px;
  animation-delay: 310ms;
}

.progress-area {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, var(--line) 80%, transparent);
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--teal), var(--lime));
  transition: width 260ms ease;
}

.signal-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.signal-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, 100%);
  margin: 0 auto;
  background: var(--line);
}

.signal-item {
  min-height: 132px;
  background: var(--surface);
  padding: 1.4rem;
}

.signal-number,
.signal-word {
  display: block;
  color: var(--blue);
  font-weight: 950;
  line-height: 1;
}

.signal-number {
  font-size: 2.4rem;
}

.signal-word {
  overflow-wrap: anywhere;
  font-size: 2rem;
}

.signal-item p {
  max-width: 13rem;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.episodes-section,
.format-section,
.agenda-section {
  padding: 5rem 1rem;
}

.episodes-section {
  background: var(--paper);
}

.section-head,
.format-copy {
  width: min(760px, 100%);
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head h2,
.format-copy h2,
.agenda-copy h2 {
  margin-top: 0.35rem;
  font-size: 3rem;
}

.section-head p:last-child,
.format-copy p:last-child,
.agenda-copy p:last-child {
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.episode-tools {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto 1.4rem;
}

.search-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 0.85rem;
}

.search-field:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(18, 159, 227, 0.12);
}

.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-field input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.filter-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 0.62rem 0.85rem;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: var(--cyan);
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.episode-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto minmax(5.8rem, 1fr) auto auto;
  gap: 0.9rem;
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
  box-shadow: 0 12px 34px rgba(5, 45, 93, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.episode-card.is-new,
.episode-card.is-new:hover,
.episode-card.is-new.is-active {
  border: 3px solid var(--coral);
  padding: calc(1rem - 2px);
  animation: novelty-frame-pulse 1.8s ease-in-out infinite;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--coral) 20%, transparent),
    0 14px 38px color-mix(in srgb, var(--coral) 24%, transparent);
}

@keyframes novelty-frame-pulse {
  0%, 100% {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 20%, transparent),
      0 14px 38px color-mix(in srgb, var(--coral) 24%, transparent);
  }
  50% {
    border-color: color-mix(in srgb, var(--coral) 55%, var(--surface));
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--coral) 5%, transparent),
      0 8px 24px color-mix(in srgb, var(--coral) 8%, transparent);
  }
}

.novelty-badge {
  position: absolute;
  top: 1.65rem;
  left: 1.65rem;
  z-index: 1;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--lime);
  color: #07111f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  animation: novelty-pulse 1.8s ease-in-out infinite;
}

@keyframes novelty-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(185, 232, 90, 0.5); }
  50% { opacity: 0.65; box-shadow: 0 0 0 8px rgba(185, 232, 90, 0); }
}

.episode-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cyan) 16%, transparent), transparent),
    var(--surface-strong);
  object-fit: cover;
}

.episode-card:hover,
.episode-card.is-active {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}

.episode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.tag {
  border-left: 4px solid var(--cyan);
  padding-left: 0.5rem;
  color: var(--blue);
}

.episode-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.18;
}

.episode-card p {
  margin: 0;
  color: var(--muted);
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.episode-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface-strong) 60%, transparent);
  padding: 0.2rem 0.5rem;
}

.episode-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
}

.card-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--blue);
  padding: 0.65rem 0.75rem;
}

.card-play:hover,
.card-play:focus-visible {
  border-color: var(--cyan);
  outline: none;
}

.card-play svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 2rem;
  text-align: center;
}

.format-section {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--cyan) 10%, transparent), transparent 34%),
    var(--surface);
}

.channel-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(1120px, 100%);
  margin: 0 auto 2rem;
}

.channel-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  padding: clamp(0.65rem, 1.5vw, 1.25rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(5, 45, 93, 0.08);
}

.channel-logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

@media (max-width: 700px) {
  .channel-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.format-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-strong));
  padding: 1.1rem;
}

.format-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
  color: var(--cyan);
}

.format-icon.accent-coral {
  background: color-mix(in srgb, var(--coral) 14%, transparent);
  color: var(--coral);
}

.format-icon.accent-lime {
  background: color-mix(in srgb, var(--lime) 20%, transparent);
  color: color-mix(in srgb, var(--teal) 70%, var(--ink));
}

.format-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.format-card p {
  margin: 0;
  color: var(--muted);
}

.agenda-section {
  background: var(--paper);
}

.agenda-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.agenda-copy {
  max-width: 680px;
}

.social-profile {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  margin-bottom: 1.25rem;
}

.social-profile > div {
  min-width: 0;
}

.agenda-copy .social-profile-role {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.social-profile-email {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--blue);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.social-profile-photo {
  display: block;
  width: clamp(100px, 13vw, 160px);
  height: auto;
  flex: 0 0 auto;
  border: 3px solid var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.agenda-copy .social-profile h2 {
  min-width: 0;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  overflow-wrap: anywhere;
}

.agenda-list {
  display: grid;
  gap: 0.75rem;
}

.agenda-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.agenda-list span {
  display: grid;
  place-items: center;
  align-self: stretch;
  background: var(--blue);
  color: var(--on-blue);
  font-weight: 900;
}

.agenda-list p {
  margin: 0;
  padding: 0 1rem;
  color: var(--ink);
  font-weight: 800;
}

.spotify-section,
.redes-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 10%, transparent), transparent 42%),
    var(--paper);
}

.source-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-links {
  grid-template-columns: 1fr;
}

.source-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--blue);
  font-weight: 900;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.source-links svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.source-links span {
  overflow-wrap: anywhere;
}

.source-links a:hover,
.source-links a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: var(--surface-strong);
  outline: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 5px solid #39c9ff;
  background: linear-gradient(115deg, #101080 0%, #071b42 65%, #052d5d 100%);
  color: #dceaff;
  padding: 2.5rem max(1.5rem, calc((100vw - 1120px) / 2));
  box-shadow: 0 -10px 35px rgba(5, 45, 93, 0.18);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.footer-brand img {
  width: clamp(140px, 16vw, 180px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.site-footer p {
  margin: 0;
}

.footer-brand p {
  color: var(--ink);
  font-weight: 900;
}

.social-platforms {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.social-platforms h2 {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.platform-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 100%;
  min-height: 60px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.platform-links a:hover,
.platform-links a:focus-visible {
  background: var(--surface-strong);
  border-color: #39c9ff;
}

.platform-links a:focus-visible {
  outline: 2px solid #39c9ff;
  outline-offset: 3px;
}

.platform-links img {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 6px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  max-width: 560px;
  line-height: 1.6;
  text-align: right;
}

.footer-contact {
  color: #ffffff;
  font-weight: 700;
}

.footer-contact a {
  color: #ffffff;
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}

.footer-meta p:last-child {
  color: #ffffff;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  from {
    transform: scaleY(0.44);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes player-scan {
  0%,
  100% {
    transform: translateX(-30%);
  }

  50% {
    transform: translateX(30%);
  }
}

@keyframes player-orbit {
  to {
    transform: rotate(1turn);
  }
}

@keyframes embed-trace {
  0%,
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }

  18%,
  72% {
    opacity: 0.78;
  }

  88% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 1060px) {
  .soundline {
    opacity: 0.26;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .episode-grid,
  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 0.65rem;
    grid-row: 2;
    flex-wrap: wrap;
  }

  .header-inner > .icon-button {
    grid-column: 2;
    grid-row: 1;
  }

  .brand-link {
    grid-column: 1;
    grid-row: 1;
  }

  .brand-link span {
    min-width: 0;
    flex: 1;
    white-space: normal;
    overflow: visible;
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .main-nav a {
    min-height: 44px;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 1.25rem;
  }

  .hero-logo {
    width: 132px;
    height: 132px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.85rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .soundline {
    display: none;
  }

  .player-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .spotify-panel {
    grid-template-columns: 1fr;
  }

  .player-preview {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .player-art {
    width: 78px;
  }

  .player-thumb {
    width: 100%;
  }

  .spotify-open {
    width: 100%;
  }

  .mini-eq {
    display: none;
  }

  .player-copy h2 {
    white-space: normal;
  }

  .signal-inner,
  .episode-tools,
  .agenda-inner {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .section-head h2,
  .format-copy h2,
  .agenda-copy h2 {
    font-size: 2.25rem;
  }

  .episode-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .source-links {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 460px) {
  .brand-link span {
    max-width: 190px;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7.5vw, 2.35rem);
  }

  .header-inner {
    gap: 0.5rem;
    padding-top: 0.5rem;
  }

  .brand-link {
    gap: 0.4rem;
  }

  .social-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .channel-logos {
    grid-template-columns: 1fr;
  }

  .episode-actions {
    grid-template-columns: 1fr;
  }

  .spotify-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .section-head h2,
  .format-copy h2,
  .agenda-copy h2 {
    font-size: clamp(1.7rem, 7vw, 2.25rem);
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .progress-area {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 0.5rem;
  }

  .episodes-section,
  .format-section,
  .agenda-section {
    padding: 3.4rem 1rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Podcast player: compact audio and cinematic video. */
.spotify-panel {
  width: min(900px, calc(100vw - 2rem));
  gap: 1.25rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: 24px;
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(5, 25, 55, 0.18);
}
.spotify-panel::before,
.spotify-panel::after,
.spotify-panel .player-art::before,
.spotify-panel .player-art::after,
.spotify-panel .spotify-embed-wrap::before { display: none; }
.player-toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.player-label { color: var(--muted); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; }
.player-modes { display: flex; gap: 4px; border-radius: 999px; padding: 4px; background: var(--surface-strong); }
.player-modes button {
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}
.player-modes button[aria-pressed="true"] { background: var(--blue); color: var(--on-blue); box-shadow: 0 3px 10px #0002; }
.player-modes button:disabled { opacity: 0.45; cursor: not-allowed; }
.player-modes button:focus-visible, .spotify-panel .spotify-open:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.spotify-panel .player-preview { grid-template-columns: 80px minmax(0, 1fr); gap: 1rem; }
.spotify-panel .player-art { width: 80px; padding: 0; border-radius: 16px; background: var(--surface-strong); box-shadow: none; }
.spotify-panel .player-thumb { border: 0; border-radius: 16px; box-shadow: none; }
.spotify-panel .embed-head h2 { font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.25; }
.spotify-panel .eyebrow { color: var(--blue); font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.spotify-panel #playerMeta { color: var(--muted); font-size: 0.875rem; margin: 0.5rem 0 0; }
.spotify-panel .player-spectrum { display: none; }
.spotify-panel .spotify-open { align-self: center; min-height: 44px; border-radius: 999px; background: var(--surface-strong); color: var(--blue); border: 1px solid var(--line); box-shadow: none; font-size: 0.875rem; }
.spotify-panel .spotify-embed-wrap { grid-column: 1 / -1; border-radius: 16px; overflow: hidden; background: #121212; border: 0; box-shadow: none; }
.spotify-panel .spotify-embed-wrap iframe { display: block; width: 100%; height: 232px; border: 0; }
.spotify-panel.is-video .spotify-embed-wrap iframe { height: clamp(300px, calc((100vw - 6rem) * 0.5625 + 100px), 570px); }
.player-hint { grid-column: 1 / -1; color: var(--muted); font-size: 0.875rem; margin: -0.25rem 0 0; line-height: 1.6; }
@media (max-width: 760px) {
  .spotify-panel { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .spotify-panel .spotify-open { width: auto; justify-self: start; }
  .search-field input { font-size: 16px; }
  .brand-link { padding-block: 0.5rem; }
  .player-label { letter-spacing: 0.06em; }
}
@media (max-width: 380px) {
  .player-toolbar { align-items: flex-start; flex-direction: column; gap: 0.65rem; }
  .spotify-panel .player-preview { grid-template-columns: 60px minmax(0, 1fr); }
  .spotify-panel .player-art { width: 60px; }
}
