/* Web approximation inspired by Apple Liquid Glass, not an Apple CSS library.
   Style-only tokens and materials. Content, navigation and player state stay shared. */
:root[data-style="liquid-glass"] {
  --selected: rgba(255, 255, 255, 0.48);
  --glass: rgba(255, 255, 255, 0.38);
  --row-hover: rgba(255, 255, 255, 0.65);
}
:root[data-appearance="dark"] {
  --background: #17191f;
  --ink: #f2f3f7;
  --muted: #a2a6b3;
  --line: rgba(235, 240, 255, 0.1);
  --surface: #262932;
  --soft: #30343f;
  --glass: rgba(27, 31, 41, 0.52);
  --glass-border: rgba(255, 255, 255, 0.16);
  --shadow: rgba(0, 0, 0, 0.2);
  --selected: rgba(255, 255, 255, 0.1);
  --row-hover: rgba(255, 255, 255, 0.05);
  --accent: #f36a82;
  --accent-hover: #ed7b90;
}
:root[data-appearance="dark"] .button.primary,
:root[data-appearance="dark"] .brand-symbol {
  color: #20151a;
}
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 9% 14%,
      rgba(156, 189, 217, 0.42),
      transparent 39%
    ),
    radial-gradient(
      ellipse at 80% 75%,
      rgba(225, 182, 192, 0.28),
      transparent 42%
    );
}
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 1px #ffffff90,
    inset 0 -1px 1px #ffffff30,
    0 8px 30px var(--shadow);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}
.sidebar {
  box-shadow: inset -1px 0 0 #ffffff55;
  background: linear-gradient(135deg, #ffffff20, #ffffff02), var(--glass);
}
.mini-player {
  background:
    linear-gradient(120deg, #ffffff28, #ffffff03 45%, #ffffff18), var(--glass);
}
:root[data-appearance="dark"] .glass {
  box-shadow:
    inset 0 1px 1px #ffffff14,
    inset 0 -1px 1px #ffffff06,
    0 8px 30px var(--shadow);
}
:root[data-appearance="dark"] .sidebar,
:root[data-appearance="dark"] .mini-player {
  background: var(--glass);
}
@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main > .page-heading,
main > .hero,
main > .album-header,
main > .section {
  animation: content-in 0.45s ease both;
}
main > .hero {
  animation-delay: 0.035s;
}
main > .section {
  animation-delay: 0.08s;
}
dialog[open] {
  animation: content-in 0.25s ease both;
}
@supports not (backdrop-filter: blur(1px)) {
  .glass,
  :root[data-appearance] .sidebar,
  :root[data-appearance] .mini-player {
    background: var(--surface);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass,
  :root[data-appearance] .sidebar,
  :root[data-appearance] .mini-player {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .ambient {
    display: none;
  }
  dialog::backdrop {
    backdrop-filter: none;
  }
  .button.ghost {
    background: #33434d;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
