:root {
  color-scheme:dark;
  --surface:#121212;
  --muted:#b3b3b3;
  --accent:#1ed760;
  --library-width:280px;
  --rail-width:32px;
  --card-width:177.73px;
  font-family:Arial,"Helvetica Neue",sans-serif;
  font-synthesis:none
}
.release-links { display:flex; flex-wrap:wrap; gap:12px 20px; font-size:13px; }
.detail-actions { flex-wrap:wrap; }
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:#000;
  color:#fff;
  min-width:360px
}
button,input,textarea {
  font:inherit
}
button {
  border:0;
  background:none;
  color:inherit;
  cursor:pointer
}
button:disabled {
  opacity:.3;
  cursor:not-allowed
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible,input:focus-visible,textarea:focus-visible {
  outline:2px solid #fff;
  outline-offset:3px
}
h1,h2,p {
  margin:0
}
h2 {
  font-size:24px;
  line-height:1.2;
  letter-spacing:-.6px
}
.icon {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
  pointer-events:none
}
.icon.fill {
  fill:currentColor;
  stroke:currentColor;
  stroke-width:2
}
.sprite,.hidden,[hidden] {
  display:none!important
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
.skip-link {
  position:fixed;
  top:8px;
  left:8px;
  z-index:1000;
  padding:12px 16px;
  border-radius:6px;
  background:#fff;
  color:#000;
  font-weight:700;
  transform:translateY(calc(-100% - 16px))
}
.skip-link:focus {
  transform:translateY(0);
  outline:3px solid var(--accent);
  outline-offset:3px
}
.app-shell {
  height:100dvh;
  min-height:440px;
  display:grid;
  grid-template-columns:var(--library-width) minmax(0,1fr) var(--rail-width);
  grid-template-rows:56px minmax(0,1fr) 72px;
  grid-template-areas:"nav nav nav" "library main rail" "player player player";
  gap:8px;
  padding:0 8px 8px;
  overflow:hidden
}
.global-nav {
  grid-area:nav;
  display:flex;
  align-items:center;
  gap:8px;
  height:64px;
  margin:0 -8px;
  padding:8px 16px 8px 28px;
  z-index:20;
  background:#000
}
.brand {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  margin-right:20px
}
.brand svg {
  width:32px;
  height:32px
}
.nav-center {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0
}
.home-button {
  display:grid;
  place-items:center;
  background:#1f1f1f;
  width:48px;
  height:48px;
  border-radius:50%;
  color:var(--muted);
  flex-shrink:0
}
.home-button.active {
  color:#fff
}
.home-button:hover {
  background:#2a2a2a;
  transform:scale(1.04)
}
.search-wrap {
  position:relative;
  width:474px;
  min-width:100px
}
.search-box {
  position:relative;
  display:flex;
  align-items:center;
  height:48px;
  width:100%;
  border-radius:500px;
  background:#1f1f1f;
  transition:background .22s,box-shadow .22s
}
.search-box:hover {
  background:#2a2a2a;
  box-shadow:inset 0 0 0 1px #414141
}
.search-box:focus-within {
  background:#2a2a2a;
  box-shadow:inset 0 0 0 2px white
}
.search-box>svg {
  position:absolute;
  left:12px;
  color:var(--muted)
}
.search-box input {
  width:100%;
  height:100%;
  padding:12px 90px 12px 48px;
  background:none;
  border:0;
  border-radius:500px;
  color:white;
  font-size:16px
}
.search-box input:focus-visible {
  outline:none
}
.search-box input::-webkit-search-cancel-button {
  display:none
}
.search-box input::placeholder {
  color:var(--muted)
}
.search-actions {
  position:absolute;
  right:12px;
  display:flex;
  align-items:center;
  gap:12px
}
.browse-button {
  padding-left:12px;
  border-left:1px solid #727272;
  display:flex;
  align-items:center;
  color:var(--muted)
}
.clear-search {
  padding:0;
  display:grid;
  place-items:center;
  color:var(--muted)
}
.clear-search svg {
  width:20px;
  height:20px
}
.nav-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:16px;
  white-space:nowrap
}
.pill-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:white;
  color:black;
  border-radius:9999px;
  min-height:32px;
  padding:4px 16px;
  font-size:14px;
  font-weight:700
}
.pill-button:hover {
  transform:scale(1.03);
  background:#f0f0f0
}
.profile-button {
  width:48px;
  height:48px;
  background:#1f1f1f;
  border-radius:50%;
  padding:8px
}
.profile-button span {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  background:#a788ce;
  color:#121212;
  border-radius:50%;
  font-size:14px;
  font-weight:700
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  padding:4px;
  color:var(--muted);
  border-radius:50%
}
.icon-button:hover {
  color:white
}
.icon-button svg {
  width:20px;
  height:20px
}
.icon-button.active,.icon-button.liked {
  color:var(--accent)
}
.liked svg {
  fill:currentColor
}
.sidebar {
  grid-area:library;
  min-width:0;
  display:flex;
  flex-direction:column;
  background:var(--surface);
  border-radius:8px;
  overflow:hidden
}
.library-heading {
  display:flex;
  align-items:center;
  gap:8px;
  padding:16px 16px 8px;
  height:60px;
  flex-shrink:0
}
.library-title {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:16px;
  font-weight:700;
  min-width:0;
  flex:1;
  padding:0;
  text-align:left
}
.library-title svg {
  color:var(--muted)
}
.add-button {
  width:35px;
  height:35px;
  background:#1f1f1f;
  flex-shrink:0
}
.library-filters {
  display:flex;
  gap:8px;
  padding:8px 16px 12px
}
.filter-chip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  min-height:32px;
  border-radius:9999px;
  background:#ffffff1a;
  color:white;
  padding:4px 12px;
  font-size:14px;
  line-height:14px
}
.filter-chip:hover {
  background:#3b3b3b
}
.filter-chip.selected {
  background:white;
  color:black
}
.library-sort {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 16px 6px;
  color:var(--muted);
  font-size:12px
}
.playlist-list {
  overflow:auto;
  padding:0 8px;
  flex:1;
  scrollbar-width:thin;
  scrollbar-color:#555 transparent
}
.playlist-link {
  display:flex;
  width:100%;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:8px;
  border-radius:4px;
  min-height:64px
}
.playlist-link:hover {
  background:#ffffff12
}
.playlist-art {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex-shrink:0;
  overflow:hidden;
  border-radius:4px
}
.playlist-art img {
  width:100%;
  height:100%;
  object-fit:cover
}
.playlist-art svg {
  width:22px
}
.playlist-copy {
  display:grid;
  gap:6px;
  min-width:0
}
.playlist-copy strong {
  font-weight:400;
  font-size:15px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.playlist-copy small {
  font-size:13px;
  color:var(--muted)
}
.library-prompt {
  margin:16px 8px;
  padding:16px;
  background:#1f1f1f;
  border-radius:8px
}
.library-prompt strong {
  font-size:15px
}
.library-prompt p {
  font-size:13px;
  color:#ddd;
  line-height:1.5;
  margin:10px 0 16px
}
.sidebar-note {
  padding:14px 24px 20px;
  font-size:11px;
  color:var(--muted)
}
.library-resizer {
  position:absolute;
  left:calc(var(--library-width) + 8px);
  top:64px;
  bottom:88px;
  width:8px;
  z-index:8;
  cursor:col-resize;
  touch-action:none
}
.library-resizer:hover {
  background:#ffffff33
}
.library-collapsed {
  --library-width:72px
}
.library-collapsed .library-title span,.library-collapsed .add-button,.library-collapsed .library-filters,.library-collapsed .library-sort,.library-collapsed .playlist-copy,.library-collapsed .library-prompt,.library-collapsed .sidebar-note {
  display:none
}
.library-collapsed .playlist-list {
  padding:0 4px
}
.library-collapsed .playlist-link {
  padding:8px
}
.main-area {
  grid-area:main;
  min-width:0;
  background:var(--surface);
  border-radius:8px;
  overflow:auto;
  scrollbar-width:none;
  position:relative
}
.view-toolbar {
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 40px;
  background:#121212f5;
  position:sticky;
  top:0;
  z-index:5;
  gap:12px
}
.home-filters {
  display:flex;
  gap:8px
}
.history-buttons {
  display:flex;
  gap:6px
}
.round-button {
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--muted);
  background:#0006
}
.round-button svg {
  width:16px;
  height:16px
}
.content-view {
  padding:4px 40px 32px;
  min-width:0
}
.section-block {
  margin-bottom:24px
}
.section-heading {
  height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.text-button {
  font-size:13px;
  font-weight:700;
  color:var(--muted);
  padding:8px 0;
  white-space:nowrap
}
.text-button:hover {
  color:white;
  text-decoration:underline
}
.eyebrow {
  font-size:14px;
  line-height:1.4
}
.section-heading .eyebrow {
  display:none
}
.shelf-grid {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:var(--card-width);
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  margin:0 -12px;
  padding-bottom:4px;
  scroll-snap-type:x proximity
}
.track-card {
  min-width:0;
  position:relative;
  padding:12px;
  border-radius:6px;
  transition:background .16s;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  gap:8px
}
.track-card:hover,.track-card:focus-within {
  background:#ffffff0d
}
.track-card-art {
  aspect-ratio:1;
  width:100%;
  border-radius:6px;
  box-shadow:0 8px 24px #0008;
  overflow:hidden;
  cursor:pointer;
  display:block
}
.track-card-art img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.track-card-copy {
  display:grid;
  gap:4px;
  cursor:pointer
}
.track-card-copy strong {
  font-size:16px;
  line-height:22.4px;
  font-weight:400;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.track-card-copy span,.track-card-copy p {
  font-size:14px;
  color:var(--muted);
  line-height:19.2px
}
.track-card-copy p {
  display:none
}
.card-play,.feature-play {
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--accent);
  color:#000;
  box-shadow:0 8px 12px #0005;
  position:absolute;
  right:20px;
  top:calc(var(--card-width) - 68px);
  opacity:0;
  transform:translateY(8px);
  transition:opacity .15s,transform .15s
}
.card-play svg {
  width:24px;
  height:24px
}
.track-card:hover .card-play,.track-card:focus-within .card-play,.feature-card:hover .feature-play,.feature-card:focus-visible .feature-play {
  opacity:1;
  transform:none
}
.card-play:hover {
  background:#3be477;
  scale:1.05
}
.card-like {
  position:absolute;
  top:18px;
  right:18px;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  background:#0009;
  border-radius:50%;
  opacity:0;
  z-index:1;
  color:#fff
}
.card-like svg {
  width:16px;
  height:16px
}
.card-like.liked {
  color:var(--accent);
  opacity:1
}
.track-card:hover .card-like,.track-card:focus-within .card-like {
  opacity:1
}
.feature-card {
  text-align:left;
  border-radius:6px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  position:relative
}
.feature-card:hover {
  background:#ffffff0d
}
.feature-art {
  display:block;
  width:100%;
  aspect-ratio:1;
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 8px 24px #0008
}
.feature-art img {
  width:100%;
  height:100%;
  object-fit:cover
}
.feature-info {
  display:grid;
  gap:4px
}
.feature-info strong {
  font-size:16px;
  font-weight:400;
  line-height:22.4px
}
.feature-info>span {
  font-size:14px;
  line-height:19.2px;
  color:var(--muted)
}
.track-card-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:8px;
  margin:0 -12px
}
.track-card-grid .card-play {
  top:auto;
  bottom:72px
}
.page-intro {
  padding:20px 0 16px
}
.page-intro h1 {
  font-size:32px;
  letter-spacing:-1px
}
.page-intro p {
  color:var(--muted);
  font-size:14px;
  margin-top:12px;
  line-height:1.5
}
.page-intro .button {
  margin-top:18px
}
.library-tabs {
  display:flex;
  gap:8px;
  margin:8px 0 20px
}
.empty-state {
  padding:48px 12px;
  color:var(--muted);
  line-height:1.6;
  text-align:center
}
.page-footer {
  border-top:1px solid #ffffff1a;
  padding:30px 0 8px;
  margin-top:40px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6
}
.track-table-head,.track-row {
  display:grid;
  grid-template-columns:16px minmax(150px,1fr) minmax(100px,.55fr) 75px 32px;
  gap:16px;
  align-items:center;
  padding:0 16px
}
.track-table-head {
  height:37px;
  border-bottom:1px solid #ffffff1a;
  font-size:14px;
  color:var(--muted);
  margin-bottom:12px
}
.track-row {
  height:56px;
  position:relative;
  border-radius:4px;
  font-size:14px;
  color:var(--muted)
}
.track-row:hover,.track-row:focus-within {
  background:#ffffff1a
}
.row-play {
  display:none;
  position:absolute;
  left:12px;
  top:14px;
  width:24px;
  height:28px;
  padding:0;
  color:#fff
}
.row-play svg {
  width:16px;
  height:16px
}
.track-row:hover .row-play,.track-row:focus-within .row-play {
  display:grid;
  place-items:center
}
.track-row:hover .row-number,.track-row:focus-within .row-number {
  visibility:hidden
}
.row-number {
  font-variant-numeric:tabular-nums
}
.row-track {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  cursor:pointer
}
.row-art {
  width:40px;
  height:40px;
  border-radius:4px;
  flex-shrink:0;
  overflow:hidden;
  display:block
}
.row-art img {
  width:100%;
  height:100%;
  object-fit:cover
}
.row-title {
  display:grid;
  gap:3px;
  min-width:0
}
.row-title strong {
  font-size:16px;
  font-weight:400;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.row-title span {
  font-size:13px;
  color:var(--muted)
}
.row-loop {
  font-size:13px;
  font-variant-numeric:tabular-nums
}
.row-like {
  color:var(--muted);
  width:28px;
  height:32px;
  padding:4px;
  opacity:0
}
.row-like svg {
  width:18px;
  height:18px
}
.row-like.liked {
  color:var(--accent);
  opacity:1
}
.track-row:hover .row-like,.track-row:focus-within .row-like {
  opacity:1
}
.track-row.playing .row-title strong,.track-row.playing .row-number {
  color:var(--accent)
}
.right-rail {
  grid-area:rail;
  border-radius:8px;
  background:#121212;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden
}
.lyrics-panel {display:none;padding:20px;width:100%;height:100%;min-height:0;flex-direction:column;text-align:left}
.lyrics-panel header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.lyrics-panel header div {display:flex}
.lyrics-panel h2 {font-size:18px}
.lyrics-panel>strong {font-size:20px;line-height:1.3}
.lyrics-panel>p {color:var(--muted);font-size:13px;margin-top:8px}
.lyrics-panel #lyricsNotice {font-size:11px;line-height:1.5;margin-bottom:16px}
.lyrics-lines {position:relative;overflow:auto;min-height:0;flex:1;padding:8px 4px 40px 0;overscroll-behavior:contain}
.lyrics-lines p {font-size:22px;line-height:1.45;font-weight:700;color:#858585;margin:0 0 22px;transition:color .2s}
.lyrics-lines .current-lyric {color:#fff}
.lyrics-open {--rail-width:320px}
.lyrics-open .rail-toggle {display:none}
.lyrics-open .lyrics-panel {display:flex}
@media(max-width:1100px) {
  .lyrics-open {--rail-width:0px}
  .lyrics-open .right-rail {display:flex;position:fixed;right:8px;top:72px;bottom:96px;width:min(340px,calc(100vw - 24px));z-index:35;box-shadow:0 0 48px #000a}
}
@media(max-width:540px) {
  .lyrics-open .right-rail {top:64px;bottom:140px}
}
.rail-toggle {
  width:32px;
  flex:1;
  display:grid;
  place-items:center;
  color:var(--muted);
  padding:4px
}
.rail-toggle svg {
  width:16px
}
.queue-panel {
  display:none;
  padding:20px;
  width:100%;
  height:100%;
  overflow:auto
}
.queue-panel header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px
}
.queue-panel h2 {
  font-size:18px
}
.queue-panel p {
  font-size:13px;
  color:var(--muted);
  margin-bottom:16px
}
.queue-open {
  --rail-width:280px
}
.queue-open .rail-toggle {
  display:none
}
.queue-open .queue-panel {
  display:block
}
.queue-track {
  width:100%;
  padding:10px 0;
  display:flex;
  gap:12px;
  align-items:center;
  text-align:left;
  border-radius:4px
}
.queue-track:hover {
  background:#ffffff0d
}
.queue-track span:last-child {
  font-size:14px
}
.queue-track small {
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:12px
}
.player-bar {
  grid-area:player;
  display:grid;
  grid-template-columns:30% 40% 30%;
  align-items:center;
  background:#000;
  min-width:0
}
.now-playing {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0
}
.mini-art {
  width:56px;
  height:56px;
  border-radius:4px;
  overflow:hidden;
  flex-shrink:0
}
.mini-art img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}
.now-copy {
  display:grid;
  gap:6px;
  min-width:0
}
.now-copy strong {
  font-size:14px;
  font-weight:400;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.now-copy>span {
  font-size:11px;
  color:var(--muted)
}
.transport {
  display:grid;
  gap:8px;
  justify-items:center
}
.transport-buttons {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  height:32px
}
.transport-buttons .icon-button {
  width:16px;
  height:32px;
  padding:0
}
.transport-buttons .icon-button svg {
  width:16px;
  height:16px
}
.main-play-button {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#fff;
  color:#000;
  padding:7px
}
.main-play-button svg {
  width:18px;
  height:18px
}
.main-play-button:hover:not(:disabled) {
  transform:scale(1.06)
}
.live-status {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:16.8px;
  width:100%;
  font-size:10px;
  color:var(--muted)
}
.live-track-line {
  width:min(35%,110px);
  height:2px;
  background:#ffffff4d;
  border-radius:2px
}
.loop-label {
  color:var(--muted);
  font-size:9px;
  letter-spacing:.5px
}
.live-equalizer {
  height:10px;
  display:flex;
  align-items:center;
  gap:2px
}
.live-equalizer i {
  width:2px;
  height:3px;
  background:#888
}
.is-playing .live-equalizer i {
  background:var(--accent);
  animation:pulse .7s ease-in-out infinite alternate
}
.is-playing .live-equalizer i:nth-child(2) {
  animation-delay:-.3s
}
.is-playing .live-equalizer i:nth-child(3) {
  animation-delay:-.6s
}
.is-playing .live-equalizer i:nth-child(4) {
  animation-delay:-.1s
}
.is-playing .loop-label {
  color:var(--accent)
}
@keyframes pulse {
  to {
    height:10px
  }
}
.player-tools {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px
}
.player-tools .icon-button svg {
  width:16px;
  height:16px
}
.device-label {
  font-size:10px;
  color:var(--muted);
  padding-right:12px
}
.detail-hero {
  display:flex;
  align-items:flex-end;
  gap:20px;
  margin:-4px -40px 0;
  padding:32px 24px 24px;
  min-height:228px;
  background:linear-gradient(180deg,#475d65,#233238)
}
.detail-art {
  display:block;
  width:176px;
  height:176px;
  flex-shrink:0;
  border-radius:4px;
  box-shadow:0 4px 60px #0008;
  overflow:hidden
}
.detail-art img {
  width:100%;
  height:100%;
  object-fit:cover
}
.detail-copy {
  min-width:0
}
.detail-copy h1 {
  font-size:clamp(38px,6vw,96px);
  font-weight:800;
  letter-spacing:-3px;
  line-height:1.12;
  margin:12px 0 16px;
  overflow-wrap:anywhere
}
.detail-copy p {
  font-size:14px;
  line-height:1.6;
  color:#ddd
}
.detail-copy p strong {
  color:#fff
}
.detail-actions {
  display:flex;
  align-items:center;
  gap:20px;
  min-height:96px
}
.detail-play {
  width:56px;
  height:56px;
  background:var(--accent);
  color:#000;
  border-radius:50%;
  display:grid;
  place-items:center
}
.detail-play svg {
  width:26px;
  height:26px
}
.detail-actions .icon-button {
  width:32px;
  height:56px
}
.detail-actions .icon-button svg {
  width:28px;
  height:28px
}
.code-details {
  margin:12px 0 30px
}
.code-details summary {
  cursor:pointer;
  color:var(--muted);
  font-size:14px;
  padding:16px 0
}
.code-panel {
  border:1px solid #ffffff1a;
  border-radius:8px;
  background:#181818;
  overflow:hidden
}
.code-panel-heading {
  display:flex;
  justify-content:space-between;
  padding:12px 16px;
  font-size:11px;
  color:var(--muted);
  border-bottom:1px solid #ffffff1a
}
.code-panel pre {
  margin:0;
  padding:20px;
  overflow:auto;
  color:#e7eedc;
  font:13px/1.8 Consolas,monospace;
  max-height:450px
}
.detail-menu {
  position:absolute;
  z-index:10;
  background:#282828;
  border-radius:4px;
  padding:4px;
  min-width:180px;
  box-shadow:0 16px 24px #0005,0 6px 8px #0003
}
.detail-menu button {
  display:block;
  text-align:left;
  width:100%;
  padding:12px;
  font-size:14px;
  border-radius:2px
}
.detail-menu button:hover {
  background:#ffffff1a
}
.back-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:13px;
  padding:12px 0
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:8px 20px;
  border-radius:9999px;
  font-weight:700;
  font-size:14px
}
.button-primary {
  background:var(--accent);
  color:#000
}
.button-primary:hover {
  background:#3be477;
  transform:scale(1.02)
}
.button-quiet {
  border:1px solid #777
}
.button-quiet:hover {
  border-color:#fff
}
.editor-dialog {
  border:1px solid #333;
  border-radius:8px;
  background:#282828;
  color:white;
  padding:0;
  width:min(580px,calc(100vw - 24px));
  max-height:90dvh;
  box-shadow:0 20px 80px #000a
}
.editor-dialog::backdrop {
  background:#000b
}
.dialog-shell {
  padding:28px
}
.dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px
}
.dialog-heading .eyebrow {
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px
}
.dialog-heading h2 {
  font-size:24px
}
.field-label {
  display:grid;
  gap:8px;
  margin-bottom:18px;
  font-size:13px;
  font-weight:700
}
.field-label input,.field-label textarea {
  width:100%;
  border:1px solid #666;
  background:#1f1f1f;
  color:white;
  border-radius:4px;
  padding:12px;
  font-size:14px
}
.field-label textarea {
  font:13px/1.6 Consolas,monospace;
  resize:vertical
}
.editor-hint {
  font-size:12px;
  color:var(--muted);
  line-height:1.6
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:24px
}
.editor-error {
  font-size:13px;
  color:#ffb0a4;
  margin-top:16px
}
.toast {
  position:fixed;
  bottom:102px;
  left:50%;
  transform:translate(-50%,10px);
  z-index:100;
  padding:14px 20px;
  max-width:calc(100vw - 32px);
  border-radius:6px;
  color:#000;
  background:#fff;
  box-shadow:0 8px 30px #0008;
  font-size:14px;
  opacity:0;
  pointer-events:none;
  transition:.2s
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
.suggestions {
  position:absolute;
  top:56px;
  left:0;
  right:0;
  padding:8px;
  background:#282828;
  border-radius:8px;
  box-shadow:0 16px 24px #0005;
  max-height:400px;
  overflow:auto
}
.suggestion-heading {
  font-size:12px;
  color:var(--muted);
  padding:8px
}
.suggestion {
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:8px;
  border-radius:4px
}
.suggestion:hover,.suggestion:focus-visible {
  background:#ffffff1a
}
.suggestion span:last-child {
  display:grid;
  gap:4px
}
.suggestion strong {
  font-size:14px;
  font-weight:400
}
.suggestion small {
  font-size:12px;
  color:var(--muted)
}
.suggestion-all {
  padding:12px;
  text-align:left;
  width:100%;
  font-size:14px
}
.mobile-nav {
  display:none
}
@media(min-width:1400px) {
  :root {
    --card-width:195.5px
  }
  .nav-center {
    position:absolute;
    left:50%;
    transform:translateX(-50%)
  }
}
@media(max-width:1100px) {
  .nav-actions {
    gap:8px
  }
  .create-header {
    display:none
  }
  .search-wrap {
    width:clamp(260px,42vw,474px)
  }
  .content-view {
    padding-left:24px;
    padding-right:24px
  }
  .view-toolbar {
    padding:0 24px
  }
  .detail-hero {
    margin-left:-24px;
    margin-right:-24px
  }
  .track-table-head,.track-row {
    grid-template-columns:16px minmax(140px,1fr) 68px 28px;
    gap:12px
  }
  .row-mood,.track-table-head>span:nth-child(3) {
    display:none
  }
  .device-label {
    display:none
  }
}
@media(max-width:760px) {
  :root {
    --library-width:72px;
    --rail-width:0px;
    --card-width:168px
  }
  .global-nav {
    padding-left:16px;
    padding-right:8px
  }
  .brand {
    margin-right:4px
  }
  .home-button {
    width:42px;
    height:42px
  }
  .search-wrap {
    width:100%
  }
  .nav-center {
    flex:1
  }
  .nav-actions {
    margin-left:4px
  }
  .nav-actions>.icon-button {
    display:none
  }
  .profile-button {
    width:40px;
    height:40px;
    padding:4px
  }
  .library-title span,.library-heading .add-button,.library-filters,.library-sort,.playlist-copy,.library-prompt,.sidebar-note {
    display:none
  }
  .playlist-list {
    padding:0 4px
  }
  .library-resizer,.right-rail {
    display:none
  }
  .queue-open {
    --rail-width:0px
  }
  .content-view {
    padding-left:20px;
    padding-right:20px
  }
  .view-toolbar {
    padding:0 20px
  }
  .detail-hero {
    margin-left:-20px;
    margin-right:-20px;
    gap:16px;
    padding:24px 20px
  }
  .detail-art {
    width:136px;
    height:136px
  }
  .detail-copy h1 {
    font-size:42px;
    letter-spacing:-1.5px
  }
  .player-bar {
    grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) auto
  }
  .player-tools .volume-button,.like-button,.live-track-line,.loop-label {
    display:none
  }
  .now-copy strong {
    font-size:12px
  }
  .mini-art {
    width:48px;
    height:48px
  }
  .live-status {
    font-size:9px
  }
}
@media(max-width:540px) {
  .app-shell {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:56px minmax(0,1fr) 64px 48px;
    grid-template-areas:"nav" "main" "player" "mobile";
    gap:0;
    padding:0 0 4px
  }
  .global-nav {
    margin:0;
    height:64px;
    padding:8px 12px;
    gap:8px
  }
  .brand {
    width:28px;
    height:28px;
    margin:0
  }
  .brand svg {
    width:28px;
    height:28px
  }
  .home-button {
    display:none
  }
  .search-box {
    height:42px
  }
  .search-box input {
    font-size:14px;
    padding-left:40px;
    padding-right:62px
  }
  .search-box>svg {
    width:20px;
    left:12px
  }
  .search-actions {
    gap:6px;
    right:10px
  }
  .search-actions .browse-button {
    display:none
  }
  .profile-button {
    width:32px;
    height:32px;
    padding:0
  }
  .sidebar {
    display:none
  }
  .main-area {
    border-radius:0
  }
  .view-toolbar {
    height:56px;
    padding:0 16px
  }
  .history-buttons {
    display:none
  }
  .home-filters {
    gap:6px
  }
  .filter-chip {
    font-size:12px
  }
  .content-view {
    padding:4px 16px 24px
  }
  .section-heading {
    height:52px
  }
  .section-heading h2 {
    font-size:21px
  }
  .text-button {
    font-size:11px
  }
  .page-footer {
    font-size:11px;
    flex-direction:column;
    gap:12px
  }
  .player-bar {
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    background:#202020;
    margin:0 8px;
    border-radius:8px;
    padding:0 10px
  }
  .now-playing {
    gap:10px
  }
  .mini-art {
    width:42px;
    height:42px
  }
  .transport-buttons {
    gap:12px
  }
  .transport-buttons .shuffle-button,.transport-buttons .skip-button,.transport-buttons .stop-button,.live-status,.player-tools {
    display:none
  }
  .transport-buttons {gap:0}
  .transport-buttons .skip-button,.transport-buttons .stop-button {
    display:grid;
    place-items:center;
    width:40px;
    height:44px
  }
  .transport-buttons .main-play-button {width:44px;height:44px}
  .main-play-button {
    background:none;
    color:#fff;
    padding:4px
  }
  .main-play-button svg {
    width:24px;
    height:24px
  }
  .mobile-nav {
    grid-area:mobile;
    display:flex;
    align-items:center;
    justify-content:space-around;
    background:#000
  }
  .mobile-nav button {
    display:grid;
    justify-items:center;
    gap:3px;
    padding:4px 16px;
    font-size:10px;
    color:var(--muted)
  }
  .mobile-nav button.active {
    color:#fff
  }
  .mobile-nav svg {
    width:22px;
    height:22px
  }
  .track-table-head,.track-row {
    grid-template-columns:16px minmax(130px,1fr) 60px 28px;
    gap:8px;
    padding-left:4px;
    padding-right:4px
  }
  .row-art {
    width:36px;
    height:36px
  }
  .row-title strong {
    font-size:14px
  }
  .row-title span,.row-loop {
    font-size:11px
  }
  .row-like {
    opacity:1
  }
  .track-row .row-play {
    left:0
  }
  .track-card-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .detail-hero {
    margin-left:-16px;
    margin-right:-16px;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:24px 16px
  }
  .detail-art {
    width:190px;
    height:190px
  }
  .detail-copy h1 {
    font-size:36px;
    margin-top:10px
  }
  .detail-copy p,.detail-copy .eyebrow {
    font-size:12px
  }
  .dialog-shell {
    padding:20px
  }
  .dialog-actions {
    gap:8px
  }
  .dialog-actions .button {
    padding:8px 12px;
    font-size:12px
  }
  .toast {
    bottom:130px
  }
  .suggestions {
    top:50px;
    width:calc(100vw - 60px)
  }
  .card-play,.card-like {
    opacity:1;
    transform:none
  }
  .card-play {
    width:40px;
    height:40px;
    top:calc(var(--card-width) - 60px)
  }
  .feature-play {
    display:none
  }
}
.home-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32.62px;
}
.home-top > * {
  min-width: 0;
}
.home-top.single-shelf {
  display: block;
}
.starter-panel {
  height: 220px;
  margin-top: 12px;
  border-radius: 8px;
  background: linear-gradient(130deg, #b2a600, #645000);
  position: relative;
  overflow: hidden;
  padding: 24px 16px 16px;
}
.starter-copy {
  position: relative;
  z-index: 1;
  width: 68%;
}
.starter-copy h3 {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -1px;
}
.starter-copy p {
  color: #f3e7b1;
  font-size: 16px;
  line-height: 1.5;
}
.starter-play {
  margin-top: 24px;
  background: var(--accent);
}
.starter-covers {
  position: absolute;
  right: -20px;
  top: -18px;
  display: grid;
  gap: 12px;
  transform: rotate(12deg);
}
.starter-covers img {
  width: 96px;
  height: 96px;
  box-shadow: 0 4px 12px #0005;
  border-radius: 4px;
}
.track-card-copy > span {
  min-height: 38.4px;
}
@media(min-width:1400px) {
  .home-top {
    grid-template-columns: 456.75px minmax(0, 1fr);
    gap: 32px;
  }
}
@media(max-width:1100px) {
  .home-top {
    display: block;
  }
  .getting-started {
    margin-bottom: 16px;
  }
}
@media(max-width:540px) {
  .getting-started {
    display: none;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(max-width:540px) {
  .nav-actions>[data-toggle-lyrics] {display:grid}
}

/* Collections and transport: one shell, real local playlists and playback order. */
.row-options {display:flex;align-items:center;justify-content:flex-end;gap:4px}
.row-options .icon-button {width:28px;height:32px;padding:5px;flex-shrink:0}
.row-options .row-like {flex-shrink:0}
.track-table-head,.track-row {grid-template-columns:16px minmax(140px,1fr) minmax(80px,.45fr) 72px 64px}
.card-options {position:absolute;left:16px;top:16px;background:#000b;z-index:2;opacity:0}
.track-card:hover .card-options,.track-card:focus-within .card-options {opacity:1}
.track-card.playing .card-play {opacity:1;transform:none}
.transport-buttons .repeat-button {position:relative}
.repeat-one {position:absolute;font-size:8px;font-weight:800;right:-5px;top:3px;background:#000;padding:0 2px}
.transport-buttons .active {color:var(--accent)}
.queue-modes {display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}
.queue-panel h3 {font-size:14px;margin:24px 0 8px}
.queue-section-heading {display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.queue-entry {border-radius:6px;position:relative}
.queue-entry:hover {background:#ffffff0a}
.queue-track {padding:8px;min-width:0}
.queue-track>span:last-child {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.queue-current {color:var(--accent)}
.queue-entry-actions {display:flex;justify-content:flex-end;padding:0 4px 4px;gap:4px}
.queue-entry-actions .icon-button {height:28px;width:28px}
.queue-entry-actions .icon {width:16px;height:16px}
.playlist-placeholder {background:linear-gradient(140deg,#404040,#1c1c1c);display:grid;place-items:center;color:#b3b3b3}
.playlist-placeholder>.icon {width:45%;height:45%}
.saved-playlists {display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px;margin:24px 0}
.saved-playlist {display:grid;gap:12px;padding:16px;border-radius:8px;text-align:left;background:#181818;min-width:0}
.saved-playlist:hover {background:#282828}
.saved-playlist>.playlist-placeholder {width:100%;aspect-ratio:1;border-radius:6px}
.saved-playlist strong {overflow-wrap:anywhere}
.saved-playlist small {color:var(--muted);line-height:1.5}
.playlist-hero {background:linear-gradient(#494c55,#25262e)}
.playlist-hero .detail-copy h1 {font-size:clamp(32px,5vw,76px)}
.playlist-tracks {margin-top:8px}
.playlist-entry {display:flex;align-items:center;gap:12px;min-height:64px;padding:8px;border-radius:4px}
.playlist-entry:hover {background:#ffffff12}
.entry-number {width:20px;color:var(--muted);font-size:14px}
.playlist-entry-play {display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left}
.playlist-entry-play>span:last-child {display:grid;gap:5px;min-width:0}
.playlist-entry-play strong {font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.playlist-entry-play small {font-size:12px;color:var(--muted)}
.entry-actions {display:flex;flex-shrink:0;gap:4px}
.entry-actions .icon-button {width:32px;height:40px}
.entry-actions .icon {width:18px;height:18px}
.playlist-empty {padding:48px 16px;text-align:center;border-top:1px solid #ffffff18}
.playlist-empty h2 {font-size:24px}
.playlist-empty p,.confirm-copy {margin:16px 0;color:var(--muted);line-height:1.6}
.playlist-empty .button {margin-top:16px}
.playlist-choices {max-height:250px;overflow:auto;margin-bottom:20px}
.playlist-choice {display:flex;align-items:center;gap:14px;width:100%;padding:14px 12px;text-align:left;border-radius:4px}
.playlist-choice:hover,.playlist-choice:focus-visible {background:#ffffff12}
.playlist-choice>span {flex:1;overflow-wrap:anywhere}
.playlist-choice small {display:block;color:var(--muted);font-size:12px;margin-top:4px}
.playlist-choice>.icon {width:20px;height:20px;flex-shrink:0}
.options-dialog {width:min(380px,calc(100vw - 24px))}
.options-dialog h2 {font-size:20px;overflow-wrap:anywhere}
.playback-progress {display:flex;align-items:center;gap:10px;width:min(100%,480px);font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
.playback-progress time {min-width:30px}
.playback-progress time:last-child {text-align:right}
.playback-progress progress {appearance:none;border:0;display:block;flex:1;min-width:0;width:100%;height:4px;border-radius:8px;background:#454545;overflow:hidden}
.playback-progress progress::-webkit-progress-bar {background:#454545;border-radius:8px}
.playback-progress progress::-webkit-progress-value {background:#fff;border-radius:8px}
.playback-progress progress::-moz-progress-bar {background:#fff;border-radius:8px}
.is-playing .playback-progress progress::-webkit-progress-value {background:var(--accent)}
.is-playing .playback-progress progress::-moz-progress-bar {background:var(--accent)}
.discovery-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0 8px}
.catalog-filters {display:flex;gap:8px;flex-wrap:wrap}
.sort-control {display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}
.sort-control select {font:inherit;color:#fff;background:#242424;border:1px solid #555;border-radius:6px;padding:8px}
.draft-banner {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px;background:#1d2c27;border:1px solid #345346;border-radius:8px;margin:24px 0}
.draft-banner p {margin-top:6px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.draft-banner .button {flex-shrink:0}
.studio-dialog {width:min(1100px,calc(100vw - 24px));max-height:calc(100dvh - 24px);background:#202020}
.studio-dialog .dialog-shell {padding:24px}
.studio-dialog .dialog-heading {gap:20px;align-items:flex-start;margin-bottom:20px}
.studio-source {font-size:12px;color:var(--muted);margin-top:8px;line-height:1.5}
.studio-layout {display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px}
.studio-workspace {min-width:0}
.studio-metadata {display:grid;grid-template-columns:1fr 1fr;gap:16px}
.studio-metadata .field-label {margin-bottom:16px}
.studio-code {display:block;width:100%;min-height:260px;max-height:50dvh;resize:vertical;background:#101311;color:#dde9d8;border:1px solid #465249;border-radius:0 0 6px 6px;padding:18px;font:13px/1.7 Consolas,'Courier New',monospace;tab-size:2;white-space:pre;overflow:auto}
.code-editor-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;background:#2a302b;border:1px solid #465249;border-bottom:0;border-radius:6px 6px 0 0;padding:12px 16px;font-size:12px}
.code-editor-toolbar .text-button {font-size:12px}
.studio-code-meta {display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);padding-top:10px;flex-wrap:wrap}
.studio-draft-status {font-size:12px;color:#b8d7bd;margin:14px 0 0;line-height:1.6}
.studio-draft-status.save-failed {color:#ffb0a4}
.studio-history {border-left:1px solid #ffffff18;padding-left:20px;min-width:0}
.studio-history h3 {font-size:14px;margin:0 0 10px}
.studio-history>p,.empty-history {font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 16px}
#studioVersionList {display:grid;gap:8px;max-height:400px;overflow:auto;padding:2px}
.studio-version {display:grid;gap:7px;padding:12px;background:#292929;border:1px solid #ffffff0d;border-radius:6px;text-align:left}
.studio-version:hover {background:#333}
.studio-version strong {font-size:12px;overflow-wrap:anywhere}
.studio-version small {font-size:10px;color:var(--muted)}
.studio-version span {font-size:11px;color:#b8d7bd}
.studio-drafts {margin-top:24px;padding-top:20px;border-top:1px solid #ffffff18}
.studio-drafts>p {font-size:12px;color:var(--muted);line-height:1.6}
#studioDraftList {display:grid;gap:8px;max-height:220px;overflow:auto}
.studio-version[aria-current="true"] {border-color:#729777}
.studio-actions {position:sticky;bottom:-24px;background:#202020;padding:16px 0 20px;z-index:2;flex-wrap:wrap}
.import-library {border-top:1px solid #ffffff20;margin-top:24px;padding-top:24px}
.import-library input {background:#171717;color:white;border:1px solid #555;padding:12px;border-radius:4px;width:100%;font-size:12px}
.import-library p {font-size:12px;line-height:1.6;color:var(--muted)}
.import-preview {background:#1c2921;border:1px solid #3e5b46;border-radius:8px;margin-top:20px;padding:16px}
.import-preview h3 {margin:0 0 12px;font-size:16px}
.import-preview p {font-size:13px;line-height:1.6;margin-bottom:16px}
#libraryBackupSummary {font-size:13px;color:var(--muted);margin:0 0 24px}
@media(min-width:541px) {
  .app-shell {grid-template-rows:56px minmax(0,1fr) 88px}
  .transport {gap:6px}
}
@media(max-width:760px) {
  .studio-layout {grid-template-columns:minmax(0,1fr)}
  .studio-history {border-left:0;border-top:1px solid #ffffff18;padding:16px 0 0}
  #studioVersionList {grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-height:180px}
  .studio-code {max-height:45dvh}
}
@media(max-width:540px) {
  .player-bar {position:relative}
  .playback-progress {position:absolute;bottom:3px;left:8px;right:8px;width:auto;height:3px}
  .playback-progress time {display:none}
  .playback-progress progress {height:2px}
  .studio-dialog .dialog-shell {padding:16px}
  .studio-actions {bottom:-16px;padding-bottom:16px;gap:8px}
  .studio-metadata {grid-template-columns:minmax(0,1fr);gap:0}
  .studio-code {padding:12px;font-size:12px;min-height:220px}
  .draft-banner {align-items:flex-start;flex-direction:column}
  .discovery-toolbar {margin-top:16px}
}
button:disabled {cursor:default;opacity:.4}
@media(max-width:1100px) {
  .track-table-head,.track-row {grid-template-columns:16px minmax(140px,1fr) 68px 64px}
  .queue-open {--rail-width:0px}
  .queue-open .right-rail {display:flex;position:fixed;right:8px;top:72px;bottom:96px;width:min(360px,calc(100vw - 24px));z-index:35;box-shadow:0 0 48px #000a}
}
@media(hover:none) {.card-options {opacity:1}}
@media(max-width:540px) {
  .nav-actions>[data-toggle-queue] {display:grid;width:32px;height:32px;padding:5px}
  .nav-actions>[data-toggle-lyrics] {display:none}
  .queue-open .right-rail {top:64px;bottom:120px;right:8px}
  .track-table-head,.track-row {grid-template-columns:16px minmax(0,1fr) 64px}
  .row-loop,.track-table-head>span:nth-child(4) {display:none}
  .card-options {opacity:1;left:8px;top:8px;width:32px;height:32px}
  .playlist-entry {flex-wrap:wrap;gap:8px}
  .playlist-entry-play {flex-basis:calc(100% - 32px)}
  .entry-actions {margin-left:auto}
  .detail-actions {gap:12px;flex-wrap:wrap;padding:16px 0}
  .detail-actions .button {padding:8px 12px;font-size:12px}
}
