:root {
  color-scheme: dark;
  --bg: #080808;
  --surface: #101010;
  --surface-2: #161616;
  --ink: #f2f0eb;
  --muted: #807e79;
  --line: #242424;
  --accent: #f26f46;
  --accent-soft: #ff9a77;
  --live: #8ee6a7;
  --theme-color-a: 90 52 40;
  --theme-color-b: 54 30 66;
  --theme-color-c: 22 22 24;
  --background-color-a: 90 52 40;
  --background-color-b: 54 30 66;
  --background-color-c: 22 22 24;
  --background-image-opacity: .88;
  --aurora-opacity: .38;
  --noise-dark-a-opacity: .48;
  --noise-dark-b-opacity: .42;
  --noise-dark-c-opacity: .58;
  --noise-black-opacity: .68;
  --theme-dark-a: 28 16 13;
  --theme-dark-b: 16 9 20;
  --theme-dark-c: 7 7 8;
  --theme-wash: rgba(4, 4, 6, .54);
  --theme-glass: rgba(8, 8, 10, .2);
  --theme-shadow: rgba(0, 0, 0, .5);
  --control-bg: #f2f0eb;
  --control-ink: #080808;
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; }
html { background: var(--bg); }
html.ambient-active,
html.ambient-active body,
html.recent-mobile-active,
html.recent-mobile-active body {
  overflow: hidden;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(242, 111, 70, .08), transparent 42%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wordmark {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.055em;
}
.wordmark span { color: var(--accent); }
.wordmark.small { font-size: 14px; }

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.access-form { width: min(340px, 100%); }
.password-field {
  display: grid;
  grid-template-columns: 1fr 42px 42px;
  align-items: center;
  border-bottom: 1px solid #323232;
  transition: border-color .2s ease;
}
.password-field:focus-within { border-color: var(--accent); }
.password-field input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px 4px;
  font: 13px var(--mono);
  letter-spacing: .02em;
  outline: 0;
}
.password-field input::placeholder { color: #555; }
.password-field input::-ms-reveal,
.password-field input::-ms-clear {
  display: none;
}
.password-field input::-webkit-credentials-auto-fill-button,
.password-field input::-webkit-caps-lock-indicator,
.password-field input::-webkit-password-reveal-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.field-action, .quiet-button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #666;
  transition: color .2s ease;
}
.field-action { height: 42px; }
.field-action:hover, .quiet-button:hover { color: var(--ink); }
.submit-action { color: var(--accent); }
.field-action svg, .quiet-button svg { width: 16px; height: 16px; stroke-width: 1.7; }
.form-message {
  min-height: 17px;
  margin: 12px 4px 0;
  color: var(--accent-soft);
  font: 10px var(--mono);
  text-align: center;
}

.portal-view {
  min-height: 100vh;
  overflow-x: hidden;
  background: #9fc8e5;
  color: #f4f4f2;
}

.radio-dock {
  --dock-item-gap: 11px;
  position: sticky;
  top: 0;
  z-index: 20;
  height: 34px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: visible;
  background: #030303;
  color: #e9e9e7;
  box-shadow: 0 1px 0 rgb(255 255 255 / .08);
}

.radio-dock button {
  border: 0;
  background: transparent;
  color: inherit;
}

.radio-dock button:focus-visible {
  position: relative;
  z-index: 3;
  outline-color: #82b8df;
  outline-offset: -3px;
}

.dock-play-button {
  display: grid;
  place-items: center;
  padding: 0;
  color: #82b8df !important;
  transition: background .18s ease, color .18s ease;
}

.dock-play-button:hover { background: #111; color: #a8d5f4 !important; }
.dock-play-button:disabled { opacity: .46; cursor: wait; }

.dock-play-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke-width: 1.7;
}

.dock-track-link {
  position: relative;
  min-width: 0;
}

.dock-track-button {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--dock-item-gap);
  padding: 0;
  overflow: hidden;
  text-align: left;
  text-transform: uppercase;
}

.dock-live-label,
.dock-separator,
.dock-track-run,
.dock-open-button {
  font: 400 10px var(--sans);
  letter-spacing: .015em;
}

.dock-live-label { flex: none; }
.dock-separator { flex: none; color: #82b8df; font-weight: 700; }

.dock-marquee-window {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.dock-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: dock-marquee var(--dock-marquee-duration, 48s) linear infinite;
  will-change: transform;
}

.dock-marquee-group {
  display: flex;
  flex: none;
  align-items: center;
}

.dock-track-run {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--dock-item-gap);
  padding-right: var(--dock-item-gap);
  white-space: nowrap;
}

.dock-track-separator {
  color: #82b8df;
  font-weight: 700;
}

.dock-track-link:hover .dock-marquee-track,
.dock-track-link:focus-within .dock-marquee-track {
  animation-play-state: paused;
}

.dock-tooltip {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  z-index: 30;
  padding: 8px 10px;
  border: 1px solid rgb(130 184 223 / .46);
  background: #050505;
  color: #f2f2ef;
  font: 500 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity .16s ease, transform .16s ease;
}

.dock-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgb(130 184 223 / .46);
  border-left: 1px solid rgb(130 184 223 / .46);
  background: #050505;
  transform: translate(-50%, 4px) rotate(45deg);
}

@media (hover: hover) and (min-width: 901px) {
  .dock-track-link:hover .dock-tooltip,
  .dock-track-link:focus-within .dock-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.dock-open-button {
  min-width: 235px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 22px;
  color: #d6d6d3 !important;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease;
}

.dock-open-button:hover {
  background: #101010;
  color: #fff !important;
}

.dock-open-button svg {
  width: 16px;
  height: 16px;
  color: #82b8df;
  stroke-width: 1.8;
}

.portal-snapshot-frame {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #9fc8e5;
}

.portal-snapshot-frame picture { display: block; }

.portal-snapshot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes dock-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (min-width: 1181px) {
  .portal-snapshot { margin-top: -1.674vw; }
}

.player-view {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  padding: 0 clamp(24px, 6vw, 86px);
  overflow: hidden;
  color: var(--ink);
  transition: color 1s ease;
}
.dynamic-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: rgb(var(--background-color-c));
  transition: background-color 1.2s ease, filter .42s ease;
  pointer-events: none;
}
.player-view.info-open .dynamic-background { filter: brightness(.78); }
.dynamic-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(circle at 50% 48%, transparent 5%, var(--theme-wash) 100%),
    var(--theme-wash);
  transition: background 1.2s ease;
}
.background-image {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: blur(62px) saturate(1.45) contrast(1.08);
  opacity: 0;
  transform: scale(1.16) rotate(-1deg);
  transition: opacity 1.5s ease;
  animation: background-drift 22s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.background-image.active { opacity: var(--background-image-opacity); }
.aurora {
  position: absolute;
  z-index: 2;
  width: 58vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(82px);
  opacity: var(--aurora-opacity);
  mix-blend-mode: soft-light;
  will-change: transform;
}
.aurora-one {
  left: -18vmax;
  top: -24vmax;
  background: rgb(var(--background-color-a));
  animation: aurora-one 18s ease-in-out infinite alternate;
}
.aurora-two {
  right: -22vmax;
  bottom: -29vmax;
  background: rgb(var(--background-color-b));
  animation: aurora-two 24s ease-in-out infinite alternate;
}
.aurora-three {
  left: 34%;
  top: 24%;
  width: 42vmax;
  background: rgb(var(--background-color-c));
  opacity: .26;
  animation: aurora-three 28s ease-in-out infinite alternate;
}
.adaptive-noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgb(var(--theme-dark-a) / var(--noise-dark-a-opacity)), transparent 48%),
    radial-gradient(circle at 78% 78%, rgb(var(--theme-dark-b) / var(--noise-dark-b-opacity)), transparent 52%),
    linear-gradient(135deg, rgb(var(--theme-dark-c) / var(--noise-dark-c-opacity)), rgb(0 0 0 / var(--noise-black-opacity)));
  filter: contrast(1.06) saturate(1.08);
  opacity: .58;
  pointer-events: none;
}
.adaptive-noise::after {
  content: "";
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: transparent url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E") repeat;
  background-size: 180px 180px;
  opacity: .34;
  mix-blend-mode: soft-light;
  animation: adaptive-noise-shift .24s steps(2, end) infinite;
  will-change: transform;
}
.ascii-waves {
  --ascii-halo: rgba(0, 0, 0, .18);
  position: absolute;
  inset: -2%;
  z-index: 6;
  width: 104%;
  height: 104%;
  opacity: .56;
  mix-blend-mode: normal;
  filter:
    drop-shadow(0 0 3.5px var(--ascii-halo))
    contrast(1.06)
    saturate(1.24);
  transform: rotate(-.35deg) scale(1.015);
  transform-origin: center;
  transition: opacity 1s ease;
  pointer-events: none;
}
.radio-return-bar {
  position: relative;
  z-index: 35;
  height: 34px;
  display: flex;
  align-items: center;
  margin-inline: clamp(-86px, -6vw, -24px);
  padding-inline: clamp(24px, 6vw, 86px);
  border-bottom: 1px solid rgba(246, 244, 239, .08);
  background: rgba(3, 3, 5, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.radio-return-button {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 8px var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .2s ease;
}
.radio-return-button:hover { color: var(--ink); }
.radio-return-button svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.5;
}
.player-header {
  position: relative;
  z-index: 30;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: block;
  width: clamp(78px, 5.7vw, 92px);
  height: auto;
  transition: opacity .3s ease, visibility .3s ease;
}
.player-view.info-open .header-logo {
  opacity: 0;
  visibility: hidden;
}
.header-actions { display: flex; align-items: center; gap: 20px; }
.editorial-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .2s ease;
}
.editorial-toggle:hover,
.editorial-toggle[aria-expanded="true"] {
  color: var(--ink);
}
.editorial-toggle span:first-child {
  min-width: 22px;
  color: var(--ink);
}
.station-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.station-live i, .now-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(142, 230, 167, .08);
}
.quiet-button { width: 32px; height: 32px; }
.info-panel {
  position: absolute;
  inset: 122px 0 0;
  z-index: 20;
  padding: 0 clamp(24px, 6vw, 86px);
  overflow: auto;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity .42s ease,
    visibility .42s ease,
    transform .42s cubic-bezier(.2, .8, .2, 1);
}
.info-panel-inner {
  width: 100%;
  min-height: calc(100vh - 122px);
}
.info-content {
  width: min(590px, 100%);
  min-height: calc(100vh - 122px);
  display: flex;
  flex-direction: column;
  padding: clamp(54px, 9vh, 92px) 0 26px;
}
.info-logo {
  display: block;
  width: min(172px, 42%);
  height: auto;
}
.info-intro {
  max-width: 560px;
  display: grid;
  gap: 22px;
  margin-top: clamp(38px, 5vh, 54px);
}
.info-intro p {
  margin: 0;
  color: rgba(246, 244, 239, .76);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.58;
  letter-spacing: -.014em;
}
.info-faq {
  margin-top: clamp(34px, 5vh, 52px);
  border-top: 1px solid rgba(246, 244, 239, .1);
}
.info-faq-item {
  border-bottom: 1px solid rgba(246, 244, 239, .1);
}
.info-faq-item summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
  color: rgba(246, 244, 239, .82);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color .2s ease;
}
.info-faq-item summary::-webkit-details-marker { display: none; }
.info-faq-item summary:hover,
.info-faq-item[open] summary {
  color: var(--ink);
}
.info-faq-item summary:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 5px;
}
.info-faq-symbol {
  flex: 0 0 auto;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .06em;
}
.info-faq-symbol::before { content: "[+]"; }
.info-faq-item[open] .info-faq-symbol::before { content: "[−]"; }
.info-faq-answer {
  max-width: 540px;
  padding: 0 34px 17px 0;
}
.info-faq-answer p {
  margin: 0;
  color: rgba(246, 244, 239, .6);
  font-size: clamp(12px, .92vw, 14px);
  line-height: 1.58;
}
.info-faq-answer a {
  color: inherit;
  text-decoration-color: rgba(246, 244, 239, .34);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.info-faq-answer a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.info-seal {
  margin: auto 0 0;
  padding-top: clamp(42px, 7vh, 72px);
}
.info-seal img {
  display: block;
  width: min(220px, 56%);
  height: auto;
}
.player-view.info-open .info-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.player-shell {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  min-height: calc(100vh - 122px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
  padding: 54px 0 86px;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.player-view.info-open .player-shell {
  opacity: 0;
  pointer-events: none;
  transform: scale(.985);
}
.album-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(242, 111, 70, .8), rgba(100, 48, 35, .25)),
    #171717;
  background-position: center;
  background-size: cover;
  color: rgba(255,255,255,.88);
  font-size: clamp(46px, 8vw, 82px);
  font-weight: 700;
  letter-spacing: -.09em;
  box-shadow: 0 20px 64px rgba(0, 0, 0, .34);
  transition: background-image 1.2s ease, box-shadow 1s ease;
}
.album-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.album-cover.has-image #coverInitials { opacity: 0; }
.track-panel { min-width: 0; }
.now-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 11px;
  color: var(--ink);
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.track-panel h1 {
  margin: 0;
  max-width: 480px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 3px 28px var(--theme-shadow);
}
.current-artist {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.player-controls {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  margin-top: 30px;
}
.player-controls::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: -1;
  height: 1px;
  background: var(--line);
}
.play-button {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgb(var(--theme-dark-c) / .28);
  color: var(--ink);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.play-button:hover {
  transform: scale(1.04);
  background: var(--ink);
  color: var(--control-ink);
}
.play-button:disabled { opacity: .45; cursor: wait; }
.play-button svg { width: 17px; height: 17px; fill: currentColor; stroke-width: 1.5; }
.player-view.awaiting-playback .play-button {
  animation: playback-ready 1.9s ease-in-out infinite;
}
.player-view.awaiting-playback .status-copy {
  background: rgb(var(--theme-dark-c) / .64);
}
.status-copy {
  min-width: 0;
  padding: 4px 9px;
  background: rgb(var(--theme-dark-c) / .48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease, padding .25s ease;
}
.status-copy p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(11px, 1.15vw, 14px);
  font-weight: 500;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-signal {
  position: relative;
  display: none;
  width: 100%;
  height: 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.stream-signal::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgb(var(--theme-color-a) / .18),
    rgb(var(--theme-color-a) / .78) 48%,
    rgb(var(--theme-color-b) / .46)
  );
}
.stream-signal-pulse {
  position: absolute;
  top: 50%;
  left: -42%;
  width: 42%;
  height: 28px;
  translate: 0 -50%;
  animation: stream-signal-travel 3.4s linear infinite;
  filter: drop-shadow(0 0 5px rgb(var(--theme-color-a) / .35));
}
.stream-signal-pulse:nth-child(2) { animation-delay: -1.7s; }
.stream-signal-pulse::before,
.stream-signal-pulse::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 4px,
    rgb(var(--theme-color-a) / .94) 4px 6px
  );
  clip-path: polygon(
    0 100%, 7% 82%, 14% 44%, 21% 72%, 28% 14%, 35% 60%,
    42% 30%, 49% 76%, 56% 8%, 63% 54%, 70% 35%, 77% 70%,
    84% 48%, 91% 84%, 100% 100%
  );
}
.stream-signal-pulse::before { top: 0; }
.stream-signal-pulse::after {
  bottom: 0;
  transform: scaleY(-1);
  opacity: .72;
}
.player-view.audio-playing .status-copy {
  flex: 1 1 auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.player-view.audio-playing .status-copy p {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.player-view.audio-playing .stream-signal { display: block; }
@keyframes stream-signal-travel {
  from { transform: translateX(0); }
  to { transform: translateX(338%); }
}
@keyframes playback-ready {
  0%, 100% {
    box-shadow: 0 0 0 0 rgb(var(--theme-color-a) / 0);
  }
  50% {
    box-shadow:
      0 0 0 7px rgb(var(--theme-color-a) / .08),
      0 0 28px rgb(var(--theme-color-a) / .2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stream-signal-pulse { animation: none; }
  .player-view.awaiting-playback .play-button { animation: none; }
  .stream-signal-pulse:first-child {
    left: 30%;
    opacity: .8;
  }
  .stream-signal-pulse:nth-child(2) { display: none; }
}
.recent-panel {
  position: absolute;
  right: clamp(24px, 6vw, 86px);
  bottom: 22px;
  z-index: 12;
  width: min(420px, calc(100% - clamp(48px, 12vw, 172px)));
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.player-view.info-open .recent-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.ambient-toggle {
  position: absolute;
  left: clamp(24px, 6vw, 86px);
  bottom: 22px;
  z-index: 14;
}
.player-view.info-open .ambient-toggle,
.player-view.recent-isolated .ambient-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ambient-player {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 42;
  width: clamp(92px, 10vw, 158px);
  aspect-ratio: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}
.ambient-cover {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(242, 111, 70, .8), rgba(100, 48, 35, .25)),
    #171717;
  background-position: center;
  background-size: cover;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -.08em;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .3);
}
.ambient-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246, 244, 239, .12);
  pointer-events: none;
}
.ambient-cover.has-image #ambientInitials { opacity: 0; }
.ambient-surface {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
}
.ambient-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 244, 239, .055), transparent 27%),
    linear-gradient(180deg, rgba(4, 4, 6, .04), rgba(4, 4, 6, .12));
  pointer-events: none;
}
.ambient-surface:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px rgba(246, 244, 239, .34);
}
.ambient-center {
  position: absolute;
  left: 50%;
  top: 48%;
  display: grid;
  justify-items: center;
  gap: clamp(20px, 2.5vh, 28px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ambient-logo {
  display: block;
  width: clamp(132px, 10vw, 184px);
  height: auto;
  opacity: .88;
  filter: drop-shadow(0 8px 34px rgba(0, 0, 0, .28));
}
.ambient-control {
  position: relative;
  width: clamp(50px, 4.2vw, 60px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 244, 239, .68);
  border-radius: 50%;
  background: rgb(var(--theme-dark-c) / .26);
  color: var(--ink);
  box-shadow:
    0 14px 46px rgba(0, 0, 0, .24),
    0 0 34px rgb(var(--theme-color-a) / .1);
  backdrop-filter: blur(12px) saturate(1.06);
  -webkit-backdrop-filter: blur(12px) saturate(1.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px) scale(.94);
  transition:
    opacity .22s ease,
    visibility 0s linear .25s,
    transform .3s cubic-bezier(.2, .8, .2, 1),
    border-color .25s ease,
    background .25s ease,
    box-shadow .3s ease;
  pointer-events: none;
}
.ambient-control::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(246, 244, 239, .08);
  border-radius: inherit;
}
.ambient-control svg {
  width: clamp(17px, 1.5vw, 21px);
  height: clamp(17px, 1.5vw, 21px);
  fill: currentColor;
  stroke-width: 1.5;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .28));
}
.player-view.ambient-controls-visible .ambient-control {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.player-view.ambient-controls-visible .ambient-surface:hover .ambient-control {
  border-color: rgba(246, 244, 239, .72);
  background: var(--ink);
  color: var(--control-ink);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, .3),
    0 0 48px rgb(var(--theme-color-a) / .16);
  transform: scale(1.045);
}
.player-view.ambient-controls-visible .ambient-surface:active .ambient-control {
  transform: scale(.96);
}
.player-view.ambient-controls-visible .ambient-surface:disabled .ambient-control {
  opacity: .48;
}
.player-view.audio-playing.ambient-controls-visible .ambient-control {
  animation: ambient-control-breathe 3.4s ease-in-out infinite;
}
.ambient-background-copy {
  position: absolute;
  left: clamp(24px, 8vw, 150px);
  bottom: clamp(68px, 9vh, 112px);
  width: min(74vw, 1120px);
  display: grid;
  gap: clamp(8px, 1.2vw, 18px);
  pointer-events: none;
}
.ambient-background-copy strong,
.ambient-background-copy span {
  display: block;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.ambient-background-copy strong {
  color: var(--ink);
  font-size: clamp(54px, 9vw, 150px);
  font-weight: 650;
  line-height: .88;
  letter-spacing: -.075em;
  opacity: .42;
  text-shadow: 0 8px 60px var(--theme-shadow);
}
.ambient-background-copy span {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
  opacity: .3;
}
.ambient-surface:disabled { cursor: wait; }
.player-view.ambient-mode {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
}
.player-view.ambient-mode .radio-return-bar,
.player-view.ambient-mode .player-header,
.player-view.ambient-mode .player-shell,
.player-view.ambient-mode .recent-panel,
.player-view.ambient-mode .info-panel {
  display: none;
}
.player-view.ambient-mode .ambient-player {
  opacity: 1;
  visibility: visible;
}
.player-view.ambient-mode .ambient-surface {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.player-view.ambient-mode .dynamic-background {
  filter: brightness(.9) saturate(.92);
}
.player-view.ambient-mode .ambient-toggle {
  position: fixed;
  left: 22px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 44;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.player-view:fullscreen {
  width: 100%;
  height: 100%;
}
.player-view:fullscreen::backdrop { background: #050506; }
.recent-toggle {
  width: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 9px var(--mono);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .2s ease;
}
.recent-toggle:hover,
.recent-toggle[aria-expanded="true"] {
  color: var(--ink);
}
.recent-toggle-symbol {
  min-width: 22px;
  color: var(--ink);
  font-size: 9px;
  text-align: left;
}
.recent-list {
  width: 100%;
  align-self: stretch;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: linear-gradient(120deg, rgba(8, 8, 10, .68), rgba(8, 8, 10, .38));
  backdrop-filter: blur(18px) saturate(.88);
  -webkit-backdrop-filter: blur(18px) saturate(.88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .18);
  transition:
    max-height .46s cubic-bezier(.2, .8, .2, 1),
    opacity .25s ease,
    padding .46s cubic-bezier(.2, .8, .2, 1);
}
.recent-panel.is-open .recent-list {
  max-height: 390px;
  margin-bottom: 7px;
  padding: 7px 14px 11px;
  border-top: 1px solid var(--line);
  opacity: 1;
}
.recent-empty {
  margin: 0;
  padding: 20px 3px 16px;
  color: var(--muted);
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.recent-item {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 6px 3px;
  border-top: 1px solid rgba(246, 244, 239, .08);
  color: var(--ink);
  outline: none;
}
.recent-item:first-child { border-top-color: var(--line); }
.recent-number {
  width: 26px;
  flex: 0 0 26px;
  color: rgba(246, 244, 239, .34);
  font: 8px var(--mono);
}
.recent-cover {
  width: 0;
  height: 38px;
  flex: 0 0 auto;
  margin-right: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgb(var(--theme-dark-a));
  color: rgba(246, 244, 239, .72);
  font: 8px var(--mono);
  letter-spacing: -.06em;
  opacity: 0;
  transform: scale(.78);
  transform-origin: left center;
  transition:
    width .32s cubic-bezier(.2, .8, .2, 1),
    margin .32s cubic-bezier(.2, .8, .2, 1),
    opacity .22s ease,
    transform .32s cubic-bezier(.2, .8, .2, 1);
}
.recent-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.recent-item:hover .recent-cover,
.recent-item:focus-visible .recent-cover {
  width: 38px;
  margin-right: 12px;
  opacity: 1;
  transform: scale(1);
}
.recent-track-copy {
  min-width: 0;
  flex: 1;
}
.recent-track-copy strong,
.recent-track-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-track-copy strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.recent-track-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}
.recent-time {
  margin-left: 16px;
  color: rgba(246, 244, 239, .42);
  font: 8px var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes background-drift {
  0% { transform: scale(1.16) translate3d(-1.5%, -1%, 0) rotate(-1deg); }
  50% { transform: scale(1.24) translate3d(2%, 1%, 0) rotate(1deg); }
  100% { transform: scale(1.18) translate3d(-1%, 2%, 0) rotate(-.35deg); }
}
@keyframes aurora-one {
  from { transform: translate3d(-4%, -3%, 0) scale(.92); }
  to { transform: translate3d(22%, 16%, 0) scale(1.12); }
}
@keyframes aurora-two {
  from { transform: translate3d(5%, 8%, 0) scale(1.08); }
  to { transform: translate3d(-20%, -14%, 0) scale(.9); }
}
@keyframes aurora-three {
  from { transform: translate3d(-10%, 12%, 0) scale(.86); }
  to { transform: translate3d(18%, -12%, 0) scale(1.15); }
}
@keyframes adaptive-noise-shift {
  0% { transform: translate3d(0, 0, 0); }
  10% { transform: translate3d(-5%, -5%, 0); }
  20% { transform: translate3d(-10%, 5%, 0); }
  30% { transform: translate3d(5%, -10%, 0); }
  40% { transform: translate3d(-5%, 15%, 0); }
  50% { transform: translate3d(-10%, 5%, 0); }
  60% { transform: translate3d(15%, 0, 0); }
  70% { transform: translate3d(0, 10%, 0); }
  80% { transform: translate3d(-15%, 0, 0); }
  90% { transform: translate3d(10%, 5%, 0); }
  100% { transform: translate3d(5%, 0, 0); }
}
@keyframes ambient-control-breathe {
  0%, 100% {
    box-shadow:
      0 14px 46px rgba(0, 0, 0, .24),
      0 0 30px rgb(var(--theme-color-a) / .09);
  }
  50% {
    box-shadow:
      0 16px 50px rgba(0, 0, 0, .28),
      0 0 48px rgb(var(--theme-color-a) / .17);
  }
}
@media (max-width: 1180px) {
  .radio-dock {
    height: 38px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }
  .dock-open-button { min-width: 210px; }
}

@media (max-width: 900px) {
  .info-content { width: min(560px, 78vw); }
}

@media (max-width: 760px) {
  .player-view { padding: 0 22px; }
  .radio-return-bar {
    margin-inline: -22px;
    padding-inline: 22px;
  }
  .player-header { height: 72px; }
  .player-shell {
    min-height: calc(100vh - 106px);
    grid-template-columns: 1fr;
    align-content: center;
    gap: 40px;
    padding: 36px 0 92px;
  }
  .album-cover { width: min(100%, 440px); margin: 0 auto; }
  .track-panel { width: min(100%, 440px); margin: 0 auto; }
  .track-panel h1 { font-size: clamp(36px, 12vw, 58px); }
  .player-controls { margin-top: 28px; }
  .station-live { display: none; }
  .background-image { filter: blur(46px) saturate(1.38) contrast(1.06); }
  .aurora { opacity: .3; }
  .adaptive-noise::after { opacity: .29; }
  .ascii-waves { opacity: .5; }
  .header-actions { gap: 10px; }
  .info-panel {
    inset: 106px 0 0;
    padding: 0 22px;
  }
  .info-panel-inner {
    min-height: calc(100vh - 106px);
  }
  .info-content {
    width: 100%;
    min-height: calc(100vh - 106px);
    padding: 36px 0 24px;
  }
  .info-logo { width: 136px; }
  .info-intro {
    gap: 18px;
    margin-top: 34px;
  }
  .info-intro p {
    font-size: 14px;
    line-height: 1.58;
  }
  .info-faq { margin-top: 34px; }
  .info-faq-item summary {
    min-height: 54px;
    font-size: 14px;
  }
  .info-faq-answer p { font-size: 13px; }
  .recent-panel {
    right: 22px;
    bottom: 12px;
    width: calc(100% - 44px);
  }
  .ambient-toggle {
    left: 22px;
    bottom: 12px;
    display: none;
  }
  .ambient-player {
    width: clamp(78px, 22vw, 112px);
  }
  .ambient-background-copy {
    left: 22px;
    bottom: 76px;
    width: calc(100vw - 44px);
  }
  .ambient-background-copy strong {
    font-size: clamp(44px, 14vw, 76px);
    line-height: .9;
    opacity: .22;
  }
  .ambient-background-copy span { font-size: clamp(17px, 5vw, 25px); }
  .ambient-logo { width: clamp(124px, 38vw, 166px); }
  .recent-panel.is-open {
    position: fixed;
    inset: 0;
    z-index: 60;
    width: auto;
    padding:
      calc(18px + env(safe-area-inset-top))
      22px
      calc(22px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background:
      linear-gradient(145deg, rgb(var(--theme-dark-c) / .84), rgba(6, 6, 8, .75)),
      rgb(var(--background-color-c) / .28);
    backdrop-filter: blur(24px) saturate(.82);
    -webkit-backdrop-filter: blur(24px) saturate(.82);
  }
  .player-view.recent-isolated .player-shell {
    opacity: 0;
    pointer-events: none;
    transform: scale(.985);
  }
  .recent-panel.is-open .recent-toggle {
    align-self: flex-end;
    margin-bottom: 24px;
  }
  .recent-panel.is-open .recent-list {
    flex: 1;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    background: transparent;
    border-top: 1px solid var(--line);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .recent-panel.is-open .recent-item {
    min-height: 72px;
    padding: 10px 0;
  }
  .recent-panel.is-open .recent-cover {
    width: 46px;
    height: 46px;
    margin-right: 13px;
    opacity: 1;
    transform: scale(1);
  }
  .recent-panel.is-open .recent-track-copy strong { font-size: 14px; }
  .recent-panel.is-open .recent-track-copy small { font-size: 11px; }
  .recent-panel.is-open .recent-time { font-size: 9px; }
  .recent-panel.is-open .recent-empty {
    padding-top: 28px;
    font-size: 10px;
  }
}

@media (hover: none) {
  .recent-cover {
    width: 34px;
    height: 34px;
    margin-right: 10px;
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 700px) and (orientation: portrait) {
  .radio-dock {
    --dock-item-gap: 8px;
    height: clamp(40px, 9.25vw, 47px);
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .dock-play-button svg { width: 25px; height: 25px; }
  .dock-track-button { padding-right: 12px; }
  .dock-live-label,
  .dock-separator,
  .dock-track-run {
    font-size: clamp(11px, 3.2vw, 16px);
    letter-spacing: 0;
  }
  .dock-open-button { display: none; }
  .dock-marquee-window {
    mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
  }
  .portal-snapshot { margin-top: -9.344vw; }
}

@media (prefers-reduced-motion: reduce) {
  .dock-marquee-track {
    animation: none !important;
  }
  .dynamic-background,
  .background-image,
  .aurora,
  .adaptive-noise::after,
  .info-panel,
  .player-shell,
  .recent-panel,
  .recent-list,
  .recent-cover,
  .ambient-player,
  .ambient-control {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
