@font-face {
      font-family: 'Inter Local';
      src: url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
      font-style: normal;
      font-weight: 300 800;
      font-display: swap;
    }

    @font-face {
      font-family: 'Inter Local';
      src: url('fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
      font-style: italic;
      font-weight: 300 800;
      font-display: swap;
    }

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

:root {
      --bg-primary: radial-gradient(circle at 10% 20%, #071c3a, #030615 80%);
      --text-primary: #f0f3fa;
      --text-secondary: #b9c7db;
      --text-dim: #6e85b0;
      --accent-blue: #4f9eff;
      --accent-purple: #9b4dff;
      --accent-green: #2dd4bf;
      --transition-smooth: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      --glass-bg: rgba(255, 255, 255, 0.08);
      --glass-border: rgba(255, 255, 255, 0.18);
      --glass-shadow: 0 34px 68px rgba(0, 0, 0, 0.24);
      --radio-brand: #f0f3fa;
      --radio-player-bg: rgba(255, 255, 255, 0.055);
      --radio-player-border: rgba(255, 255, 255, 0.14);
      --radio-player-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
      --radio-art-bg: rgba(255, 255, 255, 0.06);
      --radio-art-border: rgba(255, 255, 255, 0.14);
      --radio-ready-text: #d2d8e2;
      --radio-ready-bg: rgba(148, 163, 184, 0.1);
      --radio-ready-border: rgba(148, 163, 184, 0.28);
      --radio-ready-dot: #94a3b8;
      --radio-live-text: #d7fbe8;
      --radio-live-bg: rgba(34, 197, 94, 0.13);
      --radio-live-border: rgba(74, 222, 128, 0.4);
      --radio-live-dot: #4ade80;
      --radio-warn-text: #ffecb5;
      --radio-warn-bg: rgba(245, 158, 11, 0.13);
      --radio-warn-border: rgba(245, 158, 11, 0.4);
      --radio-warn-dot: #fbbf24;
      --radio-offline-text: #ffe4e4;
      --radio-offline-bg: rgba(239, 68, 68, 0.16);
      --radio-offline-border: rgba(248, 113, 113, 0.45);
      --radio-offline-dot: #f87171;
      --radio-paused-text: #ffe6ae;
      --radio-paused-bg: rgba(194, 132, 28, 0.12);
      --radio-paused-border: rgba(194, 132, 28, 0.34);
      --radio-volume-thumb: #f0f7ff;
      --radio-status-ok: #56ddc1;
      --radio-status-error: #ff9b9b;
    }
   
    body {
      font-family: 'Inter Local', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg-primary);
      background-size: 300% 300%;
      background-attachment: fixed;
      background-repeat: no-repeat;
      animation: dayGradientFlow 24s ease infinite;
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      transition: background 0.3s ease, color 0.3s ease;
    }
    :is(body.light-mode, html[data-theme="light"]) {
      --bg-primary: linear-gradient(135deg, #f5f7ff 0%, #e8f2ff 45%, #e5f7ff 100%);
      --text-primary: #1a1f2e;
      --text-secondary: #4a5568;
      --text-dim: #718096;
      --glass-bg: rgba(255, 255, 255, 0.45);
      --glass-border: rgba(255, 255, 255, 0.55);
      --glass-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
      --radio-brand: #193854;
      --radio-player-bg: rgba(255, 255, 255, 0.72);
      --radio-player-border: rgba(85, 111, 145, 0.2);
      --radio-player-shadow: 0 18px 38px rgba(42, 65, 93, 0.12);
      --radio-art-bg: rgba(229, 238, 247, 0.8);
      --radio-art-border: rgba(85, 111, 145, 0.2);
      --radio-ready-text: #475569;
      --radio-ready-bg: rgba(148, 163, 184, 0.1);
      --radio-ready-border: rgba(71, 85, 105, 0.22);
      --radio-ready-dot: #64748b;
      --radio-live-text: #166534;
      --radio-live-bg: rgba(34, 197, 94, 0.1);
      --radio-live-border: rgba(22, 163, 74, 0.3);
      --radio-live-dot: #16a34a;
      --radio-warn-text: #854d0e;
      --radio-warn-bg: rgba(245, 158, 11, 0.12);
      --radio-warn-border: rgba(180, 83, 9, 0.28);
      --radio-warn-dot: #d97706;
      --radio-offline-text: #991b1b;
      --radio-offline-bg: rgba(220, 38, 38, 0.09);
      --radio-offline-border: rgba(185, 28, 28, 0.28);
      --radio-offline-dot: #dc2626;
      --radio-paused-text: #69490f;
      --radio-paused-bg: rgba(194, 132, 28, 0.1);
      --radio-paused-border: rgba(156, 101, 13, 0.28);
      --radio-volume-thumb: #ffffff;
      --radio-status-ok: #137663;
      --radio-status-error: #b42318;
    }
    html {
      scroll-behavior: smooth;
      scroll-padding-top: 96px;
    }
    .cosmic-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; opacity: 1; }
    .floating-orb { position: absolute; border-radius: 50%; filter: blur(75px); opacity: 0.35; animation: drift 26s infinite alternate ease-in-out; }
    .orb-a { width: 500px; height: 500px; background: radial-gradient(circle, rgba(79,158,255,0.55), rgba(255,255,255,0.12)); top: -200px; left: -150px; }
    .orb-b { width: 550px; height: 550px; background: radial-gradient(circle, rgba(45,212,191,0.45), rgba(255,255,255,0.12)); bottom: -180px; right: -100px; animation-duration: 32s; }
    .orb-c { width: 320px; height: 320px; background: radial-gradient(circle, rgba(155,77,255,0.28), rgba(255,255,255,0.08)); top: 30%; left: 70%; animation-duration: 20s; opacity: 0.25; }
    @keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 40px) scale(1.08); } }
    @keyframes dayGradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
    
    body.light-mode .orb-a { background: radial-gradient(circle, rgba(118,148,255,0.45), rgba(255,255,255,0.12)); }
    body.light-mode .orb-b { background: radial-gradient(circle, rgba(102, 209, 255,0.32), rgba(255,255,255,0.1)); }
    body.light-mode .orb-c { background: radial-gradient(circle, rgba(173, 119, 255,0.24), rgba(255,255,255,0.08)); }
    body.light-mode .topic-section { box-shadow: 0 28px 80px rgba(0,0,0,0.08); }
    body.light-mode .topic-header { background: transparent; }
    body.light-mode .topic-header:hover { background: rgba(255,255,255,0.14); }
    body.light-mode .topic-content { background: transparent; }
    body.light-mode .episode-row { background: rgba(255,255,255,0.10); border-bottom: 1px solid rgba(0,0,0,0.08); }
    body.light-mode .episode-row:hover { background: rgba(255,255,255,0.16); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
    body.light-mode .episode-number { background: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.75); }

    body.entry-active { overflow: hidden; }
    .entry-gate {
      position: fixed;
      inset: 0;
      z-index: 2000;
      overflow: auto;
      color: #f0f3fa;
      background:
        radial-gradient(ellipse at 78% 49%, rgba(45, 212, 191, 0.12), transparent 32%),
        radial-gradient(ellipse at 83% 54%, rgba(79, 158, 255, 0.13), transparent 48%),
        linear-gradient(120deg, #030615 0%, #07152a 58%, #06101d 100%);
      opacity: 1;
      visibility: visible;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .entry-gate::before {
      position: absolute;
      inset: 0;
      pointer-events: none;
      content: "";
      opacity: 0.2;
      background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: linear-gradient(90deg, transparent, #000 75%);
    }
    .entry-gate.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    .entry-gate-shell {
      position: relative;
      display: flex;
      width: min(100%, 1600px);
      min-height: 100vh;
      min-height: 100svh;
      flex-direction: column;
      justify-content: space-between;
      margin: 0 auto;
      padding: clamp(1.25rem, 3.2vw, 3rem) clamp(1.25rem, 6vw, 6.5rem) clamp(1rem, 2.5vw, 2rem);
    }
    .entry-gate-header,
    .entry-gate-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .entry-gate-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.92rem;
      font-weight: 500;
      letter-spacing: 0.12em;
    }
    .entry-gate-brand strong { color: #71d9d0; font-weight: 800; }
    .entry-gate-brand-mark { width: 2.5rem; height: 2.5rem; object-fit: contain; }
    .entry-gate-location {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: #91a6bf;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.12em;
    }
    .entry-gate-location-dot,
    .entry-gate-note span {
      width: 0.45rem;
      height: 0.45rem;
      flex: 0 0 auto;
      border-radius: 50%;
      background: #71d9d0;
      box-shadow: 0 0 14px rgba(113, 217, 208, 0.85);
    }
    .entry-gate-layout {
      display: grid;
      width: min(100%, 1200px);
      flex: 1;
      grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.95fr);
      align-items: center;
      gap: clamp(2rem, 7vw, 7rem);
      margin: 0 auto;
      padding: 2rem 0;
    }
    .entry-gate-copy { animation: entry-arrive 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
    .entry-gate-kicker {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: #71d9d0;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.16em;
    }
    .entry-gate-kicker::before { width: 2rem; height: 1px; background: currentColor; content: ""; }
    .entry-gate-title {
      margin-top: 1.35rem;
      font-size: clamp(2.8rem, 4.8vw, 5rem);
      font-weight: 800;
      line-height: 0.96;
    }
    .entry-gate-title span { color: #71d9d0; }
    .entry-gate-description {
      max-width: 27rem;
      margin-top: 1.4rem;
      color: #b9c7db;
      font-size: clamp(1rem, 1.5vw, 1.18rem);
      line-height: 1.7;
    }
    .entry-gate-button {
      display: inline-flex;
      min-width: 13.5rem;
      min-height: 3.8rem;
      align-items: center;
      gap: 0.85rem;
      margin-top: 2rem;
      padding: 0.45rem 1.1rem 0.45rem 0.5rem;
      border: 1px solid rgba(113, 217, 208, 0.7);
      border-radius: 999px;
      color: #061317;
      background: #71d9d0;
      font: inherit;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
    .entry-gate-play-icon {
      display: grid;
      width: 2.8rem;
      height: 2.8rem;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 50%;
      color: #71d9d0;
      background: #07152a;
    }
    .entry-gate-play-icon i { margin-left: 0.12rem; font-size: 0.8rem; }
    .entry-gate-button-arrow { margin-left: auto; font-size: 0.85rem; transition: transform 0.2s ease; }
    .entry-gate-button:hover {
      transform: translateY(-2px);
      background: #91eee3;
      box-shadow: 0 12px 38px rgba(45, 212, 191, 0.2);
    }
    .entry-gate-button:hover .entry-gate-button-arrow { transform: translateX(3px); }
    .entry-gate-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
    .entry-gate-note {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-top: 1rem;
      color: #8297b1;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.12em;
    }
    .entry-gate-note span { width: 0.35rem; height: 0.35rem; }
    .entry-gate-art {
      position: relative;
      display: flex;
      width: min(100%, 34rem);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.8rem;
      justify-self: end;
      animation: entry-art-arrive 1s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }
    .entry-gate-logo { display: block; width: min(78%, 14rem); height: auto; }
    .entry-gate-signal {
      display: flex;
      height: 2rem;
      align-items: center;
      justify-content: center;
      gap: 0.28rem;
    }
    .entry-gate-signal span {
      width: 3px;
      height: var(--bar-height, 35%);
      border-radius: 99px;
      background: #71d9d0;
      box-shadow: 0 0 12px rgba(113,217,208,0.45);
      animation: signal-beat 0.85s ease-in-out infinite alternate;
      animation-delay: var(--bar-delay, 0s);
    }
    .entry-gate-signal span:nth-child(3n) { --bar-height: 82%; --bar-delay: -0.6s; }
    .entry-gate-signal span:nth-child(3n + 1) { --bar-height: 52%; --bar-delay: -0.2s; }
    .entry-gate-signal span:nth-child(3n + 2) { --bar-height: 100%; --bar-delay: -0.45s; }
    .entry-gate-footer {
      border-top: 1px solid rgba(255,255,255,0.12);
      padding-top: 1rem;
      color: #8297b1;
      font-size: 0.61rem;
      font-weight: 700;
      letter-spacing: 0.12em;
    }
    .entry-gate-footer i { margin: 0 0.45rem; color: #71d9d0; font-size: 0.35rem; vertical-align: middle; }
    .entry-gate-footer b { margin: 0 0.35rem; color: #71d9d0; }
    @keyframes entry-arrive {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes entry-art-arrive {
      from { opacity: 0; transform: scale(0.96); }
      to { opacity: 1; transform: scale(1); }
    }
    @keyframes signal-beat {
      from { transform: scaleY(0.55); opacity: 0.62; }
      to { transform: scaleY(1); opacity: 1; }
    }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate {
      color: #193854;
      background:
        radial-gradient(ellipse at 78% 49%, rgba(45, 212, 191, 0.16), transparent 32%),
        radial-gradient(ellipse at 83% 54%, rgba(79, 158, 255, 0.14), transparent 48%),
        linear-gradient(120deg, #f7f9ff 0%, #eaf3fb 58%, #e6f5f4 100%);
    }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate::before {
      opacity: 0.34;
      background-image: linear-gradient(rgba(25,56,84,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(25,56,84,0.045) 1px, transparent 1px);
    }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-brand strong,
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-kicker,
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-title span { color: #147f83; }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-location,
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-description { color: #536b82; }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-location-dot,
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-note span { background: #16898a; box-shadow: 0 0 12px rgba(22,137,138,0.35); }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-button {
      border-color: rgba(20,127,131,0.45);
      color: #102d40;
      background: #a9e8df;
    }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-button:hover {
      background: #c2f1e9;
      box-shadow: 0 12px 38px rgba(20,127,131,0.16);
    }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-play-icon { color: #c2f1e9; background: #193854; }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-note,
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-footer { color: #63798d; }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-signal span {
      background: #16898a;
      box-shadow: 0 0 12px rgba(22,137,138,0.3);
    }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-footer { border-top-color: rgba(25,56,84,0.16); }
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-footer i,
    :is(body.light-mode, html[data-theme="light"]) .entry-gate-footer b { color: #147f83; }
    @media (max-width: 760px) {
      .entry-gate-shell { padding: 1rem 1.25rem 0.9rem; }
      .entry-gate-header { min-height: 2.6rem; }
      .entry-gate-location { font-size: 0.58rem; }
      .entry-gate-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 0.5rem 0 1rem;
        text-align: center;
      }
      .entry-gate-art {
        width: clamp(9rem, 27svh, 15rem);
        grid-row: 1;
        justify-self: center;
      }
      .entry-gate-art { gap: 0.55rem; }
      .entry-gate-logo { width: 80%; }
      .entry-gate-signal { height: 1.35rem; }
      .entry-gate-copy { grid-row: 2; margin-top: -0.4rem; }
      .entry-gate-kicker { justify-content: center; font-size: 0.61rem; }
      .entry-gate-kicker::before { width: 1rem; }
      .entry-gate-title { margin-top: 0.75rem; font-size: clamp(2.65rem, 12vw, 4rem); }
      .entry-gate-description { max-width: 24rem; margin: 0.65rem auto 0; font-size: 0.92rem; }
      .entry-gate-button { min-height: 3.35rem; margin-top: 1rem; }
      .entry-gate-play-icon { width: 2.4rem; height: 2.4rem; }
      .entry-gate-note { justify-content: center; margin-top: 0.65rem; font-size: 0.57rem; }
      .entry-gate-footer { padding-top: 0.7rem; font-size: 0.5rem; }
    }
    @media (max-width: 760px) and (max-height: 650px) {
      .entry-gate-shell { padding: 0.75rem 1rem 0.65rem; }
      .entry-gate-header { min-height: 2rem; }
      .entry-gate-brand-mark { width: 2rem; height: 2rem; }
      .entry-gate-layout {
        grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.65fr);
        gap: 0.5rem;
        padding: 0.25rem 0;
        text-align: left;
      }
      .entry-gate-art { grid-row: auto; width: 100%; max-width: 11rem; gap: 0.35rem; justify-self: center; }
      .entry-gate-logo { width: 80%; }
      .entry-gate-signal { height: 1rem; gap: 0.2rem; }
      .entry-gate-copy { grid-row: auto; margin-top: 0; }
      .entry-gate-kicker { justify-content: flex-start; font-size: 0.5rem; }
      .entry-gate-kicker::before { width: 0.65rem; }
      .entry-gate-title { margin-top: 0.5rem; font-size: clamp(1.8rem, 6vw, 2.65rem); }
      .entry-gate-description { margin: 0.45rem 0 0; font-size: 0.75rem; line-height: 1.45; }
      .entry-gate-button { min-width: 11rem; min-height: 2.8rem; margin-top: 0.65rem; }
      .entry-gate-play-icon { width: 1.9rem; height: 1.9rem; }
      .entry-gate-note { justify-content: flex-start; margin-top: 0.4rem; font-size: 0.48rem; }
      .entry-gate-footer { padding-top: 0.5rem; font-size: 0.45rem; }
    }
    @media (prefers-reduced-motion: reduce) {
      .entry-gate-copy, .entry-gate-art, .entry-gate-signal span { animation: none; }
      .entry-gate, .entry-gate-button, .entry-gate-button-arrow { transition: none; }
    }

    html {
      scrollbar-width: thin;
      scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
    }
    body.light-mode {
      scrollbar-color: rgba(71, 85, 105, 0.42) transparent;
    }
    html::-webkit-scrollbar { width: 6px; height: 6px; }
    html::-webkit-scrollbar-track,
    html::-webkit-scrollbar-track-piece,
    html::-webkit-scrollbar-corner { background: transparent; }
    html::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    html::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.45);
      border: 1px solid transparent;
      border-radius: 999px;
      background-clip: padding-box;
    }
    html::-webkit-scrollbar-thumb:hover {
      background: rgba(148, 163, 184, 0.72);
      background-clip: padding-box;
    }
    body.light-mode::-webkit-scrollbar-thumb {
      background: rgba(71, 85, 105, 0.4);
    }
    body.light-mode::-webkit-scrollbar-thumb:hover {
      background: rgba(71, 85, 105, 0.6);
    }
    
    /* Fade up animation */
    .fade-up {
      opacity: 0;
      transform: translateY(20px);
      visibility: hidden;
      transition: opacity 0.6s ease, transform 0.6s ease;
      will-change: opacity, transform;
      backface-visibility: hidden;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
    }

    @media (prefers-reduced-motion: reduce) {
      html, body { scroll-behavior: auto; }
      body { animation: none !important; }
      .floating-orb { animation: none !important; }
      .sticky-player { animation: none !important; transition: none !important; }
      .fade-up {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        transition: none !important;
      }
      .episode-title.marquee-active .episode-title-text,
      .topic-name.marquee-active .topic-name-text {
        animation: none !important;
        transform: none !important;
      }
      .episode-row:hover,
      .topic-header:hover,
      .nav-arrow:hover,
      .whatsapp-channel:hover,
      .theme-toggle:hover,
      .radio-play-btn:hover {
        transform: none !important;
      }
      .radio-state-dot::after { animation: none !important; }
    }
    
    .container { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.5rem 2.5rem; position: relative; z-index: 1; }
    .season-header {
      background: rgba(255,255,255,0.16);
      border-radius: 32px;
      padding: 1.75rem 1.75rem;
      margin-bottom: 1.8rem;
      border: 1px solid rgba(255,255,255,0.25);
      box-shadow: 0 38px 96px rgba(0,0,0,0.24), inset 0 0 0 1px rgba(255,255,255,0.08);
      backdrop-filter: blur(30px) saturate(180%);
      -webkit-backdrop-filter: blur(30px) saturate(180%);
    }
    .season-title { font-size: 1.55rem; font-weight: 800; margin-bottom: 0.65rem; line-height: 1.2; }
    .season-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: var(--text-secondary); }
    .season-title i, .season-meta i { color: var(--accent-blue); }
    .topics-nav-wrapper {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
      position: static;
      padding: 0.75rem 0;
      background: transparent;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      box-shadow: none;
    }
    .radio-site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      max-width: 1200px;
      margin: 0 auto 1.25rem;
      padding: 0.35rem 0;
    }
    .radio-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      line-height: 1.15;
    }
    .radio-brand-logo {
      width: 3.5rem;
      height: 3.5rem;
      object-fit: contain;
      flex-shrink: 0;
      display: block;
    }
    .radio-brand-copy {
      display: grid;
      line-height: 1.15;
    }
    .radio-brand-name { color: var(--radio-brand); font-size: 1.25rem; font-weight: 900; }
    .radio-brand-sub {
      margin-top: 0.2rem;
      color: var(--text-dim);
      font-size: 0.63rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }
    .radio-player {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      justify-items: center;
      align-items: center;
      gap: 0.9rem;
      width: min(100%, 880px);
      padding: 2rem 2rem 1.7rem;
      margin: 0 auto 1.8rem;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
    }
    .sticky-player {
      position: fixed;
      z-index: 900;
      right: 1rem;
      bottom: calc(1rem + env(safe-area-inset-bottom));
      left: 1rem;
      display: grid;
      width: min(100% - 2rem, 28rem);
      min-height: 5rem;
      grid-template-columns: 3.25rem minmax(0, 1fr) 2.75rem;
      align-items: center;
      gap: 0.75rem;
      margin: 0 auto;
      padding: 0.65rem 0.75rem;
      border: 1px solid var(--glass-border);
      border-radius: 14px;
      background: var(--glass-bg);
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(1.1rem) scale(0.96);
      transition: opacity 0.3s ease, transform 0.32s ease, visibility 0.3s ease;
    }
    .sticky-player.visible {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0) scale(1);
      animation: sticky-player-pop 0.46s cubic-bezier(0.2, 0.85, 0.25, 1) both;
    }
    .sticky-player-art {
      width: 3.25rem;
      height: 3.25rem;
      border: 1px solid var(--radio-art-border);
      border-radius: 8px;
      background-color: var(--radio-art-bg);
      background-position: center;
      background-size: cover;
    }
    .sticky-player-copy {
      display: grid;
      min-width: 0;
      gap: 0.08rem;
      line-height: 1.25;
    }
    .sticky-player-label {
      color: var(--text-dim);
      font-size: 0.55rem;
      font-weight: 800;
      letter-spacing: 0.11em;
    }
    .sticky-player-title,
    .sticky-player-artist {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .sticky-player-title { color: var(--text-primary); font-size: 0.85rem; font-weight: 800; }
    .sticky-player-artist { color: var(--text-secondary); font-size: 0.7rem; }
    .sticky-player-button {
      display: grid;
      width: 2.75rem;
      height: 2.75rem;
      place-items: center;
      border: 1px solid var(--glass-border);
      border-radius: 50%;
      color: var(--text-primary);
      background: var(--glass-bg);
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .sticky-player-button:hover { background: var(--glass-border); transform: scale(1.05); }
    .sticky-player-button svg { width: 1rem; height: 1rem; fill: currentColor; }
    @keyframes sticky-player-pop {
      0% { opacity: 0; transform: translateY(1.25rem) scale(0.94); }
      72% { opacity: 1; transform: translateY(-0.15rem) scale(1.015); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    #audio { display: none; }
    .radio-art-frame {
      display: grid;
      place-items: center;
      width: 188px;
      aspect-ratio: 1;
      overflow: hidden;
      border: 1px solid var(--radio-art-border);
      border-radius: 14px;
      background: var(--radio-art-bg);
    }
    .radio-art-frame img { width: 100%; height: 100%; object-fit: cover; }
    .radio-art-frame [hidden] { display: none; }
    .radio-art-fallback {
      color: var(--text-secondary);
      font-size: 1.1rem;
      font-weight: 800;
      letter-spacing: 0.06em;
    }
    .radio-player-copy { width: 100%; min-width: 0; text-align: center; }
    .radio-player-kicker {
      color: var(--text-dim);
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .radio-player-topline {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.65rem;
    }
    .radio-state {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.55rem 0.95rem;
      border: 1px solid var(--glass-border);
      border-radius: 999px;
      background: var(--glass-bg);
      color: var(--text-primary);
      box-shadow: var(--glass-shadow);
      font-family: inherit;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .radio-state-dot {
      position: relative;
      width: 0.55rem;
      height: 0.55rem;
      flex: 0 0 0.55rem;
      border-radius: 50%;
      background: var(--radio-ready-dot);
    }
    .radio-state-dot::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
    }
    .radio-state[data-state="live"] {
      border-color: var(--radio-live-border);
      background: linear-gradient(var(--radio-live-bg), var(--radio-live-bg)), var(--glass-bg);
      color: var(--radio-live-text);
    }
    .radio-state[data-state="live"] .radio-state-dot {
      background: var(--radio-live-dot);
      --beacon-color: var(--radio-live-dot);
    }
    .radio-state[data-state="live"] .radio-state-dot::after { animation: radio-state-beacon 1.7s ease-out infinite; }
    .radio-state[data-state="buffering"] {
      border-color: var(--radio-warn-border);
      background: linear-gradient(var(--radio-warn-bg), var(--radio-warn-bg)), var(--glass-bg);
      color: var(--radio-warn-text);
    }
    .radio-state[data-state="buffering"] .radio-state-dot {
      background: var(--radio-warn-dot);
      --beacon-color: var(--radio-warn-dot);
    }
    .radio-state[data-state="buffering"] .radio-state-dot::after { animation: radio-state-beacon 1.7s ease-out infinite; }
    .radio-state[data-state="reconnecting"] {
      border-color: var(--radio-offline-border);
      background: linear-gradient(var(--radio-offline-bg), var(--radio-offline-bg)), var(--glass-bg);
      color: var(--radio-offline-text);
    }
    .radio-state[data-state="reconnecting"] .radio-state-dot {
      background: var(--radio-offline-dot);
      --beacon-color: var(--radio-offline-dot);
    }
    .radio-state[data-state="reconnecting"] .radio-state-dot::after { animation: radio-state-beacon 1.7s ease-out infinite; }
    .radio-state[data-state="buffering"] .radio-state-dot,
    .radio-state[data-state="reconnecting"] .radio-state-dot { background: var(--amber-warn); }
    .radio-state[data-state="paused"],
    .radio-state[data-state="connecting"] {
      border-color: var(--radio-ready-border);
      background: linear-gradient(var(--radio-ready-bg), var(--radio-ready-bg)), var(--glass-bg);
      color: var(--radio-ready-text);
    }
    .radio-state[data-state="paused"] .radio-state-dot,
    .radio-state[data-state="connecting"] .radio-state-dot { background: var(--radio-ready-dot); }
    .radio-state[data-state="offline"] {
      border-color: var(--radio-offline-border);
      background: linear-gradient(var(--radio-offline-bg), var(--radio-offline-bg)), var(--glass-bg);
      color: var(--radio-offline-text);
    }
    .radio-state[data-state="offline"] .radio-state-dot {
      background: var(--radio-offline-dot);
      --beacon-color: var(--radio-offline-dot);
    }
    .radio-state[data-state="offline"] .radio-state-dot::after { animation: radio-state-beacon 1.7s ease-out infinite; }
    .radio-state[data-state="offline"] .radio-state-dot { background: var(--red-live); }
    @keyframes radio-live-pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.62; transform: scale(0.82); }
    }
    @keyframes radio-state-beacon {
      0% { box-shadow: 0 0 0 0 var(--beacon-color); }
      100% { box-shadow: 0 0 0 0.5rem transparent; }
    }
    .radio-player-status[data-state="ok"] { color: var(--radio-status-ok); }
    .radio-player-status[data-state="error"] { color: var(--radio-status-error); }
    .radio-player-title {
      margin-top: 0.25rem;
      font-size: 1.35rem;
      font-weight: 800;
      line-height: 1.25;
    }
    .radio-player-note {
      margin-top: 0.2rem;
      color: var(--text-secondary);
      font-size: 0.86rem;
    }
    .radio-current-lyric {
      width: min(100%, 560px);
      margin: 0.9rem auto 0;
      color: var(--text-primary);
      font-size: 0.95rem;
      font-weight: 600;
      line-height: 1.5;
    }
    .radio-lyrics {
      width: min(100%, 560px);
      margin-top: 0.8rem;
      border-top: 1px solid var(--radio-player-border);
      text-align: left;
    }
    .radio-lyrics[hidden], .radio-current-lyric[hidden] { display: none; }
    .radio-lyrics summary {
      padding: 0.75rem 0;
      color: var(--text-secondary);
      font-size: 0.82rem;
      font-weight: 700;
      cursor: pointer;
    }
    .radio-lyrics summary:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
    .radio-lyrics-transcript {
      max-height: 260px;
      overflow: auto;
      padding: 0 0 0.75rem;
      color: var(--text-secondary);
      font-size: 0.84rem;
      line-height: 1.7;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
    }
    .radio-player-status {
      margin-top: 0.55rem;
      color: var(--text-dim);
      font-size: 0.74rem;
    }
    .radio-listener-strip {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 0.35rem;
      width: min(100%, 740px);
      margin: -1.15rem auto 1.8rem;
      color: var(--text-secondary);
      font-size: 0.72rem;
    }
    .radio-listener-count {
      color: var(--text-primary);
      font-weight: 700;
    }
    .radio-controls {
      display: grid;
      justify-items: center;
      gap: 0.7rem;
      width: min(100%, 200px);
    }
    .radio-play-btn {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.16);
      color: var(--text-primary);
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
      backdrop-filter: blur(8px) saturate(120%);
      -webkit-backdrop-filter: blur(8px) saturate(120%);
      cursor: pointer;
      transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    }
    .radio-play-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.28); box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16); }
    .radio-play-btn:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 3px; }
    .radio-play-btn svg { width: 20px; height: 20px; fill: currentColor; }
    .radio-volume { display: grid; gap: 0.35rem; width: 100%; color: var(--text-dim); font-size: 0.72rem; }
    .radio-volume-heading { display: flex; align-items: center; justify-content: space-between; }
    .radio-volume-value { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
    .radio-volume-slider { display: flex; align-items: center; gap: 0.55rem; }
    .radio-volume-icon { width: 14px; color: var(--text-secondary); text-align: center; }
    .radio-volume input {
      flex: 1;
      min-width: 0;
      height: 20px;
      margin: 0;
      border: 0;
      border-radius: 999px;
      background: transparent;
      appearance: none;
      -webkit-appearance: none;
      cursor: pointer;
      touch-action: pan-y;
    }
    .radio-volume input:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 4px; }
    .radio-volume input::-webkit-slider-runnable-track {
      height: 4px;
      border-radius: 999px;
      background: linear-gradient(to right, var(--accent-blue) 0 var(--volume-progress, 75%), var(--radio-player-border) var(--volume-progress, 75%) 100%);
    }
    .radio-volume input::-webkit-slider-thumb {
      width: 16px;
      height: 16px;
      margin-top: -6px;
      border: 2px solid var(--accent-blue);
      border-radius: 50%;
      background: var(--radio-volume-thumb);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
      -webkit-appearance: none;
      appearance: none;
      transition: transform 0.15s ease;
    }
    .radio-volume input:hover::-webkit-slider-thumb { transform: scale(1.12); }
    .radio-volume input::-moz-range-track { height: 4px; border-radius: 999px; background: var(--radio-player-border); }
    .radio-volume input::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--accent-blue); }
    .radio-volume input::-moz-range-thumb {
      width: 12px;
      height: 12px;
      border: 2px solid var(--accent-blue);
      border-radius: 50%;
      background: var(--radio-volume-thumb);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
      transition: transform 0.15s ease;
    }
    .radio-volume input:hover::-moz-range-thumb { transform: scale(1.12); }
    .radio-history {
      margin: 1.3rem 0 1.8rem;
      padding: 1.4rem 1.5rem;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 28px;
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
    }
    .radio-history h2 { font-size: 1.2rem; font-weight: 800; }
    .radio-about {
      margin: 1.3rem 0 1.8rem;
      padding: 1.4rem 1.5rem;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 28px;
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
    }
    .radio-about h2 { font-size: 1.2rem; font-weight: 800; }
    .radio-about p { margin-top: 0.7rem; max-width: 760px; color: var(--text-secondary); }
    .radio-programs {
      margin: 1.3rem 0 1.8rem;
      padding: 1.4rem 1.5rem;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 28px;
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
    }
    .radio-programs h2 { font-size: 1.2rem; font-weight: 800; }
    .program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }
    .program-item { padding: 0 1.2rem; border-left: 1px solid var(--glass-border); }
    .program-item:first-child { padding-left: 0; border-left: 0; }
    .program-item h3 { font-size: 0.95rem; font-weight: 700; }
    .program-item p { margin-top: 0.4rem; color: var(--text-secondary); font-size: 0.85rem; }
    .radio-schedule {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin: 1.3rem 0 1.8rem;
      padding: 1.4rem 1.5rem;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 28px;
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
    }
    .radio-schedule-icon { color: var(--accent-blue); font-size: 1.25rem; }
    .radio-schedule h2 { font-size: 1.1rem; font-weight: 800; }
    .radio-schedule p { margin-top: 0.25rem; color: var(--text-secondary); font-size: 0.88rem; }
    .history-list { display: grid; gap: 0.65rem; margin-top: 1rem; list-style: none; }
    .history-item {
      display: grid;
      grid-template-columns: 48px minmax(0, 1fr) auto;
      align-items: center;
      gap: 0.8rem;
      padding: 0.7rem;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 14px;
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
    }
    .history-art {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: linear-gradient(135deg, rgba(79, 158, 255, 0.28), rgba(45, 212, 191, 0.22));
      background-position: center;
      background-size: cover;
    }
    .history-text { min-width: 0; }
    .history-title, .history-artist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .history-title { font-weight: 700; }
    .history-artist, .history-time { color: var(--text-secondary); font-size: 0.82rem; }
    .nav-arrow {
      flex: 0 0 auto;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.35);
      background: rgba(255,255,255,0.22);
      color: var(--text-primary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 18px 32px rgba(0,0,0,0.16);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .nav-arrow:hover {
      background: rgba(255,255,255,0.32);
      transform: translateY(-1px);
      box-shadow: 0 24px 38px rgba(0,0,0,0.18);
    }
    .nav-arrow:disabled {
      opacity: 0.35;
      cursor: not-allowed;
      pointer-events: none;
      background: rgba(255,255,255,0.10);
      border-color: rgba(255,255,255,0.14);
      box-shadow: none;
      transform: none;
    }
    
    .topics-nav {
      position: relative;
      display: flex;
      flex-wrap: nowrap;
      gap: 0.75rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-x: contain;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 24px;
      padding: 0.9rem 2rem;
      flex: 1;
      box-shadow: 0 6px 18px rgba(0,0,0,0.06);
      backdrop-filter: blur(8px) saturate(120%);
      -webkit-backdrop-filter: blur(8px) saturate(120%);
      transition: background 0.3s ease, transform 0.3s ease;
    }
    .topics-nav::-webkit-scrollbar { display: none; }
    .topics-nav { -ms-overflow-style: none; scrollbar-width: none; }
    .topic-nav-link { flex: 0 0 auto; position: relative; white-space: nowrap; scroll-snap-align: start; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.24); padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--text-primary); text-decoration: none; transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; box-shadow: 0 18px 42px rgba(0,0,0,0.12); }
    .topic-nav-link:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); box-shadow: 0 24px 54px rgba(0,0,0,0.16); }
    
    /* Topic sections */
    .topic-section {
      position: relative;
      z-index: 1;
      background: rgba(255,255,255,0.10);
      border-radius: 28px;
      border: 1px solid rgba(255,255,255,0.18);
      margin: 1.3rem 0 1.8rem;
      overflow: hidden;
      scroll-margin-top: 96px;
      box-shadow: 0 28px 60px rgba(0,0,0,0.18);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
    }
    .topic-header {
      padding: 1.15rem 1.35rem;
      background: transparent;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: nowrap;
      transition: background 0.25s ease, transform 0.25s ease;
      border-bottom: 1px solid rgba(255,255,255,0.10);
      box-shadow: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
    .topic-header:hover { background: rgba(255,255,255,0.06); transform: translateY(-1px); }
    .topic-header:focus-visible { outline: 2px solid rgba(79,158,255,0.55); outline-offset: 4px; }
    .topic-title {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      flex: 1 1 0;
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
    }
    .topic-number { font-weight: 800; color: var(--accent-blue); flex-shrink: 0; }
    .topic-name {
      font-weight: 700;
      color: var(--text-primary);
      min-width: 0;
      flex: 1 1 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .topic-name-text {
      display: inline-block;
      white-space: nowrap;
      min-width: max-content;
      padding-right: 1rem;
      will-change: transform;
    }
    .topic-name.marquee-active .topic-name-text {
      animation: marquee var(--topic-marquee-duration, 14s) linear infinite;
      animation-fill-mode: forwards;
    }
    .topic-name.marquee-active:hover .topic-name-text {
      animation-play-state: paused;
    }
    .topic-name.reset-on-hover .topic-name-text {
      animation: none !important;
      transform: translateX(0) !important;
    }
    .collapse-icon { font-size: 0.9rem; color: var(--text-secondary); transition: transform 0.3s ease; display: inline-block; flex-shrink: 0; }
    .topic-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease-out, opacity 0.25s ease-out;
      background: transparent;
      border-top: none;
      opacity: 0;
      visibility: hidden;
    }
    .topic-content.open {
      max-height: 3000px;
      transition: max-height 0.6s ease-in, opacity 0.35s ease-in;
      border-top: 1px solid rgba(255,255,255,0.06);
      opacity: 1;
      visibility: visible;
    }
    
    /* Episode rows - FLEXBOX for better control */
    .episode-row {
      display: flex;
      text-decoration: none;
      color: inherit;
      justify-content: space-between;
      align-items: center;
      padding: 0.95rem 1.4rem 0.95rem 1.8rem;
      border-bottom: 1px solid rgba(255,255,255,0.09);
      background: rgba(255,255,255,0.04);
      transition: background 0.24s ease, transform 0.24s ease;
      cursor: pointer;
      position: relative;
      gap: 1rem;
      flex-wrap: nowrap;
    }
    .episode-row::before {
      content: '';
      position: absolute;
      left: 0.8rem;
      top: 0.8rem;
      bottom: 0.8rem;
      width: 4px;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(79,158,255,0.95), rgba(155,77,255,0.95));
    }
    .episode-row:hover {
      background: rgba(255,255,255,0.10);
      transform: translateX(1px);
      box-shadow: 0 10px 18px rgba(0,0,0,0.08);
    }
    .episode-row:last-child { border-bottom: none; }
    
    .episode-info {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      flex: 1;
      min-width: 0;
      overflow: visible;
    }
    .episode-number {
      font-weight: 700;
      color: var(--text-primary);
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.14);
      padding: 0.28rem 0.75rem;
      border-radius: 999px;
      font-size: 0.85rem;
      flex-shrink: 0;
    }
    .episode-title {
      font-weight: 600;
      color: var(--text-primary);
      flex: 1;
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      position: relative;
    }
    .episode-title-text {
      display: inline-block;
      white-space: nowrap;
      padding-right: 2rem;
      min-width: max-content;
      will-change: transform;
    }
    /* Marquee for titles that overflow */
    .episode-title.marquee-active .episode-title-text {
      animation: marquee var(--marquee-duration, 14s) linear infinite;
      animation-fill-mode: forwards;
    }
    .episode-title.marquee-active:hover .episode-title-text {
      animation-play-state: paused;
    }
    .episode-title.reset-on-hover .episode-title-text {
      animation: none !important;
      transform: translateX(0) !important;
    }
    .episode-arrow {
      flex-shrink: 0;
      color: var(--accent-blue);
      font-size: 0.9rem;
      transition: transform 0.2s ease;
    }
    .episode-row:hover .episode-arrow {
      transform: translateX(4px);
    }
    
    @keyframes marquee {
      0%, 12% { transform: translateX(0); }
      50%, 88% { transform: translateX(calc(-1 * var(--marquee-shift, 100px))); }
      100% { transform: translateX(0); }
    }

    /* Footer */
    .footer-wrapper {
      margin-top: 1.5rem;
      padding: 0.75rem 0;
      background: var(--glass-bg);
      border-top: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      backdrop-filter: blur(22px) saturate(180%);
    }
    .footer-content {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 1.25rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
    .social-links {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
      margin-bottom: 0.65rem;
      flex-wrap: wrap;
    }
    .social-icon {
      font-size: 1.4rem;
      color: var(--text-dim);
      transition: var(--transition-smooth);
      cursor: pointer;
    }
    .social-icon i { color: inherit; }
    .social-icon[data-social='whatsapp'] { color: #25D366; }
    .social-icon[data-social='wechat'] { color: #07C160; }
    .social-icon[data-social='youtube'] { color: #FF3B30; }
    .social-icon[data-social='telegram'] { color: #0088CC; }
    /* Light theme (default) */
    .social-icon[data-social='tiktok'] {
      color: transparent;
      background: linear-gradient(135deg, #69C9D0 0%, #EE1D52 48%, #010101 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

   
    .social-icon[data-social='instagram'] {
      color: transparent;
      background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
      -webkit-background-clip: text;
      background-clip: text;
    }
    .social-icon:hover { transform: scale(1.15); }
    .footer-cta {
      display: flex;
      width: 100%;
      min-width: 0;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.45rem;
      padding: 0 0.5rem;
    }
    .whatsapp-channel {
      text-align: center;
      padding: 0.65rem 1rem;
      background: var(--glass-bg);
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      border: 1px solid var(--glass-border);
      transition: var(--transition-smooth);
      width: fit-content;
      max-width: 100%;
      justify-content: center;
    }
    .whatsapp-channel > span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .whatsapp-channel i { color: #25D366; font-size: 1.2rem; }
    .whatsapp-channel i:first-child,
    .whatsapp-channel i:last-child { flex: 0 0 auto; }
    .whatsapp-channel:hover {
      background: rgba(255,255,255,0.16);
      transform: translateY(-2px);
    }
    .footer-note {
      color: var(--text-dim);
      font-size: 0.86rem;
      line-height: 1.6;
      max-width: 640px;
      text-align: center;
      margin: 0;
    }
    .footer-divider {
      height: 1px;
      width: 100%;
      background: rgba(255,255,255,0.1);
      margin: 0.45rem 0;
    }
    .copyright {
      text-align: center;
      color: var(--text-dim);
      font-size: 0.75rem;
    }
    
    /* Theme toggle / scroll-to-top */
    .theme-toggle {
      position: fixed;
      bottom: 22px;
      right: 22px;
      z-index: 1000;
      width: 46px;
      height: 46px;
      background: rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.18);
      cursor: pointer;
      opacity: 0.35;
      transition: opacity 0.35s ease, transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(22px) saturate(180%);
      -webkit-backdrop-filter: blur(22px) saturate(180%);
      box-shadow: 0 18px 32px rgba(0,0,0,0.16);
    }
    .theme-toggle.visible { opacity: 1; }
    .theme-toggle.fade-out { opacity: 0.18; }
    .theme-toggle:hover { opacity: 1; transform: translateY(-1px) scale(1.02); background: rgba(255, 255, 255, 0.16); }
    .theme-toggle.scroll-top { background: rgba(255, 255, 255, 0.18); }
    .scroll-top-icon {
      display: block;
      width: 1.15rem;
      height: 1.15rem;
      fill: none;
      stroke: var(--text-primary);
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .theme-toggle-icon {
      color: var(--text-primary);
      font-size: 1.1rem;
      display: inline-block;
      animation: themeIconFade 0.28s ease;
      transform-origin: center;
    }
    @keyframes themeIconFade {
      0% {
        opacity: 0;
        transform: scale(0.7) rotate(-18deg);
      }
      100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
      }
    }
    
    /* Responsive */
    @media (max-width: 768px) {
      .container { padding: 1rem 0.9rem 1.5rem; }
      .radio-site-header { margin-bottom: 0.9rem; }
      .radio-brand-name { font-size: 1.08rem; }
      .season-header { padding: 1.1rem 1rem; }
      .season-title { font-size: 1.35rem; }
      .radio-history { padding: 1.1rem 0.9rem; }
      .radio-about { padding: 1.1rem 0.9rem; }
      .radio-programs { padding: 1.1rem 0.9rem; }
      .radio-schedule { align-items: flex-start; padding: 1.1rem 0.9rem; }
      .program-grid { grid-template-columns: 1fr; }
      .program-item, .program-item:first-child { padding: 0.8rem 0; border-left: 0; border-top: 1px solid var(--glass-border); }
      .program-item:first-child { padding-top: 0; border-top: 0; }
      .history-item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 0.65rem; }
      .history-art { width: 40px; height: 40px; }
      .radio-player { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; padding: 1.35rem 1rem; }
      .radio-art-frame { width: 156px; border-radius: 12px; }
      .radio-player-title { font-size: 1.1rem; }
      .radio-controls { justify-self: center; }
      .episode-row { flex-wrap: wrap; padding: 0.8rem 1rem 0.8rem 1.4rem; }
      .episode-info { width: 100%; }
      .episode-title { white-space: normal; }
      .episode-title-text { white-space: normal; padding-right: 0; display: inline; }
      .episode-arrow { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }
      .topic-title { flex-wrap: wrap; }
      .topic-name { white-space: normal; }
      .footer-wrapper { padding: 1.5rem 1rem 1rem; }
      .social-links { gap: 1rem; margin-bottom: 0.85rem; }
      .footer-cta { gap: 0.5rem; margin-bottom: 0.75rem; }
      .whatsapp-channel { width: 100%; padding: 0.75rem 1rem; }
      .footer-note { font-size: 0.82rem; }
      .season-meta { gap: 0.75rem; font-size: 0.82rem; }
      .theme-toggle { right: 16px; bottom: 82px; }
      .nav-arrow { display: none; }
    }

    /* Mobile fixes: avoid fixed backgrounds and heavy backdrop filters which
       can produce visual artifacts (black 'beam') during elastic scrolling */
    @media (max-width: 900px), (pointer: coarse), (hover: none) {
      html, body { min-height: 100vh; }
      body {
        background-attachment: scroll !important;
        background-size: auto !important;
        background-position: center top !important;
      }
      .cosmic-bg, .floating-orb { display: none !important; }
      .topics-nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255,255,255,0.12) !important;
        border-color: rgba(255,255,255,0.14) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10) !important;
      }
    }

    /* Touch device safety: apply strict rendering rules to prevent elastic scroll artifacts */
    html.touch-device, body.touch-device {
      background-attachment: scroll !important;
      background-size: auto !important;
    }
    html.touch-device .cosmic-bg,
    html.touch-device .floating-orb,
    body.touch-device .cosmic-bg,
    body.touch-device .floating-orb {
      display: none !important;
    }
    html.touch-device .topics-nav,
    body.touch-device .topics-nav {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      background: rgba(255,255,255,0.14) !important;
      border-color: rgba(255,255,255,0.16) !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
    }
    