/* ============================================================
   Air Station Plus — Luister live
   This page deliberately speaks the HOME PAGE's design language:
   it loads /styles.css for the tokens, fonts and components
   (warm-dark + amber, .player-panel, .player-play, .stream-format-btn,
   .now-playing, .recently-played) and only adds here what a dedicated
   full-page player needs — layout, sizing, and the volume control.
   ============================================================ */

.listen-page { min-height: 100dvh; }

.listen-wrap {
  max-width: 33rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-top: clamp(1.75rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}

/* ---- compact brand header (links back to the site) ---- */
.listen-hero { text-align: center; margin-bottom: 0.5rem; }

.listen-page .brand-lockup {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
  transition: opacity 0.15s ease;
}
.listen-page .brand-lockup:hover { opacity: 0.9; }
.listen-page .brand-lockup:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 5px; border-radius: 12px; }
.listen-page .site-logo { width: 60px; }
.listen-hero h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 0.1rem; }
.listen-hero .slogan { font-size: clamp(1.35rem, 4.5vw, 1.85rem); margin: 0.1rem 0 0; }

/* ---- the player, scaled up and centred for a dedicated page ---- */
.listen-page .player-panel {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 1.75rem) clamp(1.25rem, 4vw, 1.6rem) clamp(1.4rem, 4vw, 1.7rem);
  text-align: center;
}

.listen-page .now-playing { text-align: center; padding: 1rem 1.1rem; }
.listen-page .now-playing-title { font-size: clamp(1.5rem, 5.5vw, 2.15rem); line-height: 1.12; }
.listen-page .now-playing-artist { font-size: 1.02rem; }

.listen-page .player-controls {
  justify-content: center;
  gap: 1rem;
  margin: 1.1rem 0 0.9rem;
}
.listen-page .player-play { width: 68px; height: 68px; }
.listen-page .player-play-glyph { font-size: 1.35rem; }
.listen-page .player-play.is-buffering::after { width: 26px; height: 26px; }

.listen-page .stream-format { justify-content: center; margin-bottom: 0.35rem; }
.listen-page .player-note { text-align: center; }

/* ---- volume control (amber, in the home language) ---- */
.volume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.mute-btn {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.mute-btn:hover { color: var(--text); border-color: rgba(232, 168, 74, 0.45); }
.mute-btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.mute-btn svg { width: 20px; height: 20px; }
.mute-btn .ic-muted { display: none; }
.mute-btn.is-muted .ic-vol { display: none; }
.mute-btn.is-muted .ic-muted { display: block; }
.mute-btn.is-muted { color: var(--accent); }

.vol {
  -webkit-appearance: none;
  appearance: none;
  width: clamp(160px, 55%, 240px);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 80%), rgba(255, 255, 255, 0.14) var(--fill, 80%));
  cursor: pointer;
  outline-offset: 4px;
}
.vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.vol::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: none;
  cursor: pointer;
}
.vol:focus-visible { outline: 2px solid var(--accent-soft); }

/* ---- recently played + app links: centre the headings to match ---- */
.listen-page .recently-played-panel { width: 100%; }
.listen-page .tech-details { text-align: left; }
.listen-page .tech-details summary { color: var(--muted); }

@media (max-width: 480px) {
  .listen-page .player-play { width: 60px; height: 60px; }
}
