/* ══════════════════════════════════════
   VIDEO PLAYER — stazioni con video
   ═══ Radio La Caletta — Video ═══ */

    .video-container {
      display: none;
      position: relative;
      width: 100%;
      max-width: 720px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 0 20px rgba(0,0,0,.6);
      border: 3px solid hsl(0,0%,9.3%);
      background: #000;
      flex-shrink: 0;
      animation: fadeIn 600ms ease both;
    }
    /* Visibile SOLO quando la stazione ha video E il container è attivo */
    .on-air-inner.video-mode .video-container.active {
      top: 60px;
      display: block;
    }

    .video-container video {
      width: 100%;
      height: auto;
      display: block;
      background: #000;
    }

    /* poster/logo overlay quando il video non è in play */
    .video-poster-overlay {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      background: rgba(0,0,0,0.85);
      transition: opacity 400ms ease;
      pointer-events: none;
      z-index: 2;
    }
    .video-poster-overlay.hidden { opacity: 0; pointer-events: none; }
    .video-poster-overlay img {
      max-width: 50%; max-height: 50%;
      object-fit: contain; border-radius: 8px;
      filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
    }

    /* label LIVE sul video */
    .video-live-badge {
      position: absolute; top: 12px; left: 12px; z-index: 3;
      background: #e53e3e; color: #fff; font-size: 11px; font-weight: 700;
      padding: 4px 10px; border-radius: 4px; text-transform: uppercase;
      letter-spacing: 1px; display: none;
      animation: livePulse 2s ease-in-out infinite;
    }
    .video-live-badge.show { display: block; }
    @keyframes livePulse {
      0%, 100% { opacity: 1; }
      50% { opacity: .6; }
    }

    /* bottone fullscreen sul video */
    .video-fullscreen-btn {
      position: absolute; top: 10px; right: 10px; z-index: 5;
      width: 36px; height: 36px; border-radius: 8px;
      background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2);
      color: #fff; font-size: 16px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 200ms, transform 200ms;
      backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    }
    .video-fullscreen-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.15) !important; }
    .video-container:fullscreen .video-fullscreen-btn i::before { content: "\f066"; } /* fa-compress */

    /* quando video è attivo, artwork nascosto */
    .on-air-inner.video-mode .artwork-container { display: none; }
    .on-air-inner.video-mode .video-container.active { display: block; }

    /* responsive video */
    @media (max-width: 600px) {
      .video-container { max-width: 100%; border-radius: 8px; }
    }

    /* fullscreen mode per il video container */
    .video-container:fullscreen,
    .video-container:-webkit-full-screen {
      width: 100vw; max-width: 100vw; height: 100vh;
      border-radius: 0; border: none;
      background: #000; display: flex; align-items: center; justify-content: center;
    }
    .video-container:fullscreen video,
    .video-container:-webkit-full-screen video {
      width: 100%; height: 100%; object-fit: contain;
    }
    .video-container:fullscreen .video-poster-overlay,
    .video-container:-webkit-full-screen .video-poster-overlay {
      position: absolute; inset: 0;
    }
