:root {
  color-scheme: dark;
  --bg: #090806;
  --bg-deep: #050504;
  --surface: #12100e;
  --surface-raised: #191613;
  --surface-soft: #211d19;
  --ink: #f8f3ed;
  --muted: #aaa098;
  --muted-strong: #cfc6bd;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --signal: #ff5b40;
  --signal-soft: #ff806b;
  --acid: #dfff5d;
  --success: #42d49a;
  --danger: #ff7066;
  --display: "Manrope", "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "DM Sans", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  --sidebar: 240px;
  --dock: 92px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 28px 80px rgba(0, 0, 0, .36);
  --consent-bottom: calc(var(--dock) + 18px);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% -18%, rgba(255, 91, 64, .08), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.app-shell {
  min-height: 100vh;
  padding-left: var(--sidebar);
  padding-bottom: var(--dock);
}

.sidebar {
  position: fixed;
  z-index: 40;
  inset: 0 auto var(--dock) 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 30px 18px 22px;
  border-right: 1px solid var(--line);
  background: rgba(14, 12, 10, .9);
  backdrop-filter: blur(24px) saturate(120%);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  margin: 0 7px 42px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-mark,
.mobile-brand {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--signal);
}

.brand-mark { width: 36px; height: 36px; }
.brand-mark img { width: 24px; height: 24px; }

.nav-list { display: grid; gap: 5px; }
.nav-label {
  margin: 0 14px 9px;
  color: #6f6761;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.nav-item {
  position: relative;
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #8f8780;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  transition: color .2s, background .2s, transform .2s var(--ease);
}

.nav-item svg { width: 19px; height: 19px; stroke-width: 1.8; }
.nav-item:hover { color: var(--ink); background: rgba(255, 255, 255, .045); }
.nav-item:active { transform: scale(.98); }
.nav-item.is-active { color: var(--ink); background: var(--surface-soft); }
.nav-item.is-active::before {
  content: "";
  position: absolute;
  left: -18px;
  width: 3px;
  height: 25px;
  border-radius: 0 4px 4px 0;
  background: var(--signal);
}

.sidebar-spacer { flex: 1; min-height: 30px; }

.artist-promise {
  margin-bottom: 14px;
  padding: 17px;
  border: 1px solid rgba(223, 255, 93, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(223, 255, 93, .07), rgba(255, 255, 255, .02));
}

.promise-mark {
  display: block;
  margin-bottom: 18px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}

.artist-promise strong { font-family: var(--display); font-size: 14px; }
.artist-promise p {
  margin: 7px 0 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.promise-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--acid);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.promise-link svg { width: 14px; }

.catalogue-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  margin-bottom: 13px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}

.catalogue-pulse .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(223, 255, 93, .08);
}

.catalogue-pulse div { display: grid; gap: 2px; }
.catalogue-pulse strong { font-size: 12px; }
.catalogue-pulse small { color: var(--muted); font-size: 11px; }

.download-button,
.quiet-download,
.account-button,
.primary-button,
.text-button,
.text-link,
.round-action,
.filter-pills button,
.vibe-pills button,
.import-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s;
}

.download-button:active,
.quiet-download:active,
.account-button:active,
.primary-button:active,
.text-button:active,
.round-action:active,
.vibe-pills button:active { transform: scale(.97); }

.sidebar-download {
  min-height: 49px;
  border-radius: 14px;
  background: var(--signal);
  color: #170b08;
  font-weight: 800;
}

.sidebar-download svg { width: 17px; }
.sidebar-legal-link { margin: 14px auto 0; color: #766d66; font-size: 11px; text-decoration: none; }

.main-stage {
  width: 100%;
  max-width: 1680px;
  min-height: calc(100vh - var(--dock));
  margin: 0 auto;
  padding: 0 clamp(28px, 4vw, 70px) 100px;
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(9, 8, 6, .98) 62%, rgba(9, 8, 6, 0));
}

.mobile-brand { display: none; width: 40px; height: 40px; padding: 8px; }

.search-box {
  min-width: 240px;
  max-width: 580px;
  height: 48px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(22, 20, 17, .92);
  color: var(--muted);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.search-box:focus-within {
  border-color: rgba(255, 255, 255, .22);
  background: var(--surface-raised);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
}

.search-box > svg { width: 18px; flex: 0 0 auto; }
.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.search-box input::placeholder { color: #766e68; }
.search-box kbd {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .025);
  color: #756e68;
  font: 10px var(--body);
}
.search-clear { display: grid; place-items: center; padding: 4px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.search-clear svg { width: 16px; }

.top-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.quiet-download,
.account-button {
  min-height: 45px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted-strong);
  font-weight: 700;
}
.quiet-download:hover,
.account-button:hover { border-color: var(--line-strong); background: var(--surface-raised); color: var(--ink); }
.quiet-download svg,
.account-button svg { width: 17px; }

.page-view { display: none; animation: page-in .5s var(--ease); }
.page-view.is-visible { display: block; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }

.home-intro {
  min-height: 305px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: end;
  gap: clamp(28px, 5vw, 90px);
  padding: clamp(38px, 7vh, 78px) 0 42px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--signal-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}

.eyebrow span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

.home-intro h1,
.view-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.7vw, 92px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .94;
}

.home-intro h1 em { color: var(--signal); font-style: normal; }
.intro-copy { max-width: 450px; padding-bottom: 7px; }
.intro-copy p,
.view-heading p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.primary-button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--signal);
  color: #170b08;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255, 91, 64, .15);
}
.primary-button:hover { background: #ff7159; }
.primary-button svg { width: 18px; fill: currentColor; }
.primary-button.full,
.download-button.full,
.account-button.full { width: 100%; }

.text-link,
.text-button {
  padding: 8px 2px;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 700;
}
.text-link:hover,
.text-button:hover { color: var(--ink); }
.text-link svg,
.text-button svg { width: 16px; }

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 14px;
  min-height: 530px;
  margin-bottom: 18px;
}

.feature-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  isolation: isolate;
  cursor: pointer;
}

.feature-card:first-child { grid-row: 1 / 3; }
.feature-media,
.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.feature-media img { object-fit: cover; transition: transform .65s var(--ease); }
.feature-media.placeholder-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 91, 64, .24), transparent 33%),
    linear-gradient(145deg, #30231e, #12100e 66%);
  color: rgba(255, 255, 255, .22);
}
.feature-media.placeholder-art .art-monogram { font-family: var(--display); font-size: clamp(64px, 9vw, 132px); font-weight: 800; }
.feature-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .02) 20%, rgba(0, 0, 0, .2) 48%, rgba(5, 4, 3, .92) 100%);
}
.feature-card:not(:first-child)::after { background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(5, 4, 3, .88)); }
.feature-card:hover .feature-media img { transform: scale(1.035); }
.feature-content {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: clamp(22px, 3.3vw, 42px);
}
.feature-card:not(:first-child) .feature-content { padding: 22px; }
.feature-copy { min-width: 0; }
.song-kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.feature-card h3 {
  max-width: 760px;
  margin: 0 0 8px;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(27px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.02;
  text-overflow: ellipsis;
}
.feature-card:not(:first-child) h3 {
  display: -webkit-box;
  font-size: clamp(20px, 2vw, 28px);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.feature-card p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 16px; }
.feature-card:not(:first-child) p { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.play-cover {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--signal);
  color: #160a07;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(255, 91, 64, .35);
  transition: transform .2s var(--ease), background .2s;
}
.play-cover:hover { transform: scale(1.07); background: var(--acid); }
.play-cover svg { width: 23px; fill: currentColor; }
.feature-card:not(:first-child) .play-cover { width: 48px; height: 48px; }

.vibe-strip {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 30px;
  margin: 16px 0 88px;
  padding: 22px 25px;
  border: 1px solid rgba(223, 255, 93, .17);
  border-radius: 22px;
  background: rgba(223, 255, 93, .045);
}
.vibe-strip-copy { display: grid; gap: 5px; }
.vibe-strip-copy span { color: var(--acid); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.vibe-strip-copy strong { font-family: var(--display); font-size: 16px; }
.vibe-pills { display: flex; justify-content: flex-end; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.vibe-pills::-webkit-scrollbar { display: none; }
.vibe-pills button,
.filter-pills button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}
.vibe-pills button:hover,
.filter-pills button:hover,
.filter-pills button.is-active { border-color: rgba(255, 91, 64, .46); background: rgba(255, 91, 64, .12); color: var(--ink); }
.vibe-pills svg { width: 15px; color: var(--acid); }

.content-section { margin: 0 0 84px; }
.exclusive-section {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(223, 255, 93, .14);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(223, 255, 93, .045), rgba(255, 255, 255, .018) 62%);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}
.section-head > div { min-width: 0; }
.section-index,
.exclusive-kicker {
  margin-bottom: 8px;
  color: #6f6761;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
}
.exclusive-kicker { color: var(--acid); }
.section-head h2,
.search-group-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -.045em;
}
.section-head p { margin: 6px 0 0; color: var(--muted); }

.song-grid,
.albums-flex-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  grid-template-rows: 1fr;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .15) transparent;
}

.song-grid > *,
.albums-flex-grid > * { scroll-snap-align: start; }

.song-card { position: relative; min-width: 0; cursor: pointer; }
.song-card.is-playing h3,
.song-row.is-playing .row-main strong { color: var(--signal-soft); }
.art-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 13px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-raised);
}
.art-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease), filter .3s; }
.song-card:hover .art-wrap img { transform: scale(1.035); filter: brightness(.72); }
.placeholder-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 91, 64, .15), transparent 32%),
    linear-gradient(145deg, #241d19, #12100e);
  color: #70645d;
}
.placeholder-art svg { width: 24%; height: 24%; stroke-width: 1.3; }
.art-monogram { font-family: var(--display); font-weight: 800; }

.song-play,
.song-share,
.album-share,
.row-share {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity .2s, transform .2s var(--ease), background .2s;
}
.song-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 47px;
  height: 47px;
  background: var(--signal);
  color: #170b08;
  opacity: 0;
  transform: translateY(7px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
}
.song-play svg { width: 19px; fill: currentColor; }
.song-share,
.album-share {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 37px;
  height: 37px;
  background: rgba(10, 9, 8, .74);
  color: var(--ink);
  opacity: 0;
  backdrop-filter: blur(12px);
}
.song-share svg,
.album-share svg,
.row-share svg { width: 16px; }
.song-card:hover .song-play,
.song-card:focus-within .song-play,
.song-card:hover .song-share,
.song-card:focus-within .song-share { opacity: 1; transform: none; }
.song-card h3 {
  margin: 0 0 5px;
  overflow: hidden;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-card p { margin: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.exclusive-badge {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: -2px 0 7px;
  overflow: hidden;
  color: var(--acid);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.view-heading {
  min-height: 295px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 45px 0 40px;
}
.view-heading h1 { max-width: 1000px; font-size: clamp(45px, 6vw, 78px); }
.view-heading p { margin: 17px 0 0; }
.round-action {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--muted-strong);
}
.round-action:hover { border-color: var(--line-strong); background: var(--surface-soft); color: var(--ink); }
.round-action svg { width: 19px; }
.round-action.small { width: 40px; height: 40px; }

.filter-pills {
  display: flex;
  gap: 8px;
  margin: -7px 0 30px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.explore-results-container { display: grid; gap: 30px; }

.song-results,
.import-section-grid {
  display: grid;
  gap: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .018);
}

.song-row,
.import-row {
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px minmax(170px, 1.4fr) minmax(120px, .7fr) auto 42px 48px;
  align-items: center;
  gap: 15px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  cursor: pointer;
  transition: background .2s;
}
.song-row:last-child,
.import-row:last-child { border-bottom: 0; }
.song-row:hover,
.import-row:hover { background: rgba(255, 255, 255, .04); }
.row-art,
.import-row-art {
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--surface-soft);
}
.row-art img,
.import-row-art img { width: 100%; height: 100%; object-fit: cover; }
.row-main { min-width: 0; display: grid; gap: 3px; }
.row-main strong,
.row-main span,
.row-album { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-main strong { font-family: var(--display); font-size: 14px; }
.row-main span,
.row-album { color: var(--muted); font-size: 12px; }
.row-main .exclusive-badge { margin: 0 0 1px; }
.row-quality,
.row-source {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}
.row-share { width: 38px; height: 38px; background: transparent; color: var(--muted); }
.row-share:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.row-play {
  position: static;
  width: 42px;
  height: 42px;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.search-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 42px 0 16px;
  font-size: 24px;
}
.search-group-title:first-child { margin-top: 0; }
.search-group-title svg { width: 20px; color: var(--signal); }
.artists-flex-grid,
.albums-flex-grid { margin-bottom: 22px; }
.artists-flex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.artist-circle-card { min-width: 0; padding: 16px; border: 0; border-radius: 19px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: center; transition: background .2s, transform .2s var(--ease); }
.artist-circle-card:hover { background: var(--surface-raised); transform: translateY(-2px); }
.artist-circle-image { width: min(110px, 100%); aspect-ratio: 1; overflow: hidden; margin: 0 auto 12px; border-radius: 50%; }
.artist-circle-image img { width: 100%; height: 100%; object-fit: cover; }
.artist-circle-card strong,
.artist-circle-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist-circle-card strong { font-family: var(--display); font-size: 14px; }
.artist-circle-card span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.albums-flex-grid { grid-auto-columns: minmax(175px, 220px); }
.album-share { opacity: 1; }
.import-row { grid-template-columns: 52px minmax(180px, 1fr) auto auto; }
.import-btn { min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--signal); color: #170b08; font-size: 12px; font-weight: 800; }
.import-btn svg { width: 15px; }

.empty-panel {
  min-height: 260px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .018);
  text-align: center;
}
.empty-panel > svg { width: 38px; height: 38px; margin-bottom: 7px; color: #675f59; }
.empty-panel h2 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.empty-panel p { max-width: 450px; margin: 0 0 9px; color: var(--muted); line-height: 1.5; }
.empty-symbol { color: var(--signal); font-family: var(--display); font-size: 38px; font-weight: 800; }

.skeleton {
  position: relative;
  min-height: 215px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
}
.song-row.skeleton { min-height: 76px; }
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.05) 46%, transparent 67%);
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

.page-footer {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 110px;
  padding: 26px 0 4px;
  border-top: 1px solid var(--line);
  color: #7c746e;
  font-size: 12px;
}
.page-footer > div { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.footer-mark { color: var(--signal); font-family: var(--display); font-size: 18px; font-weight: 800; }
.page-footer p { margin: 0; }
.page-footer a { text-decoration: none; }

.drawer-scrim {
  position: fixed;
  z-index: 69;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity .35s;
}
.drawer-scrim.is-visible { opacity: 1; }

.now-rail {
  position: fixed;
  z-index: 70;
  inset: 0 0 var(--dock) auto;
  width: min(440px, 100vw);
  overflow-y: auto;
  padding: 24px 26px 34px;
  border-left: 1px solid var(--line-strong);
  background: rgba(16, 14, 12, .98);
  box-shadow: -35px 0 80px rgba(0, 0, 0, .4);
  transform: translateX(105%);
  transition: transform .42s var(--ease);
}
.now-rail.is-open { transform: translateX(0); }
.rail-head,
.queue-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rail-head > span,
.queue-heading span,
.rail-context { color: #7d746d; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.rail-art {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin: 25px 0 25px;
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .38);
}
.rail-art img { width: 100%; height: 100%; object-fit: cover; }
.rail-art .art-monogram { color: rgba(255,255,255,.15); font-size: 96px; }
.rail-copy h2 { margin: 7px 0 5px; font-family: var(--display); font-size: 28px; letter-spacing: -.045em; line-height: 1.05; }
.rail-copy p { margin: 0; color: var(--muted); }
.rail-meta { min-height: 28px; display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0; }
.rail-meta span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 700; }
.rail-progress { margin-top: 12px; }
.rail-progress > div { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 10px; }
.rail-progress input,
.dock-timeline,
#volume {
  width: 100%;
  height: 4px;
  margin: 0;
  border-radius: 999px;
  outline: 0;
  appearance: none;
  background: linear-gradient(90deg, var(--signal) var(--seek, 0%), rgba(255,255,255,.13) var(--seek, 0%));
  cursor: pointer;
}
.rail-progress input::-webkit-slider-thumb,
.dock-timeline::-webkit-slider-thumb,
#volume::-webkit-slider-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; appearance: none; background: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.rail-progress input::-moz-range-thumb,
.dock-timeline::-moz-range-thumb,
#volume::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--ink); }
.rail-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 21px 0 30px; }

.transport-button,
.dock-play,
.play-button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.transport-button { width: 42px; height: 42px; }
.transport-button:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.transport-button:active,
.dock-play:active,
.play-button:active { transform: scale(.92); }
.transport-button svg { width: 19px; }
.transport-button.subtle { color: #7b736d; }
.transport-button.is-active { color: var(--signal); background: rgba(255,91,64,.1); }
.play-button,
.dock-play { width: 58px; height: 58px; background: var(--signal); color: #170b08; box-shadow: 0 10px 30px rgba(255,91,64,.25); }
.play-button svg,
.dock-play svg { width: 23px; fill: currentColor; }

.queue-panel { padding-top: 23px; border-top: 1px solid var(--line); }
.queue-heading { margin-bottom: 10px; }
.queue-heading > div { display: grid; gap: 4px; }
.queue-heading h3 { margin: 0; font-family: var(--display); font-size: 19px; }
.queue-item {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  text-align: left;
}
.queue-item:hover,
.queue-item.is-active { background: rgba(255,255,255,.045); }
.queue-item.is-active { color: var(--signal-soft); }
.queue-art { width: 44px; height: 44px; overflow: hidden; border-radius: 9px; }
.queue-art img { width: 100%; height: 100%; object-fit: cover; }
.queue-item > div { min-width: 0; display: grid; gap: 3px; }
.queue-item strong,
.queue-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-item strong { font-size: 12px; }
.queue-item span { color: var(--muted); font-size: 10px; }
.queue-number { color: #6f6761; font-size: 10px; }

.player-dock {
  position: fixed;
  z-index: 80;
  inset: auto 0 0;
  height: var(--dock);
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(300px, 1.2fr) minmax(185px, .65fr);
  align-items: center;
  gap: 26px;
  padding: 9px 22px;
  border-top: 1px solid var(--line-strong);
  background: rgba(18, 16, 14, .96);
  backdrop-filter: blur(25px) saturate(130%);
  box-shadow: 0 -18px 50px rgba(0,0,0,.22);
}
.dock-progress { position: absolute; inset: 0 auto auto 0; width: 0; height: 2px; background: var(--signal); pointer-events: none; }
.dock-track {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.dock-art { width: 58px; height: 58px; overflow: hidden; border-radius: 12px; }
.dock-art img { width: 100%; height: 100%; object-fit: cover; }
.dock-art .art-monogram { color: rgba(255,255,255,.2); font-size: 20px; }
.dock-copy { min-width: 0; display: grid; gap: 4px; }
.dock-copy strong,
.dock-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-copy strong { font-family: var(--display); font-size: 13px; }
.dock-copy small { color: var(--muted); font-size: 11px; }
.dock-expand { width: 17px; color: #77706a; }
.dock-center { min-width: 0; display: grid; gap: 5px; }
.dock-controls { display: flex; align-items: center; justify-content: center; gap: 7px; }
.dock-play { width: 44px; height: 44px; }
.dock-play svg { width: 18px; }
.dock-seek { display: grid; grid-template-columns: 32px minmax(80px, 1fr) 32px; align-items: center; gap: 8px; color: #77706a; font-size: 9px; font-variant-numeric: tabular-nums; }
.dock-seek > span:last-child { text-align: right; }
.dock-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
#volume { width: min(100px, 8vw); --seek: 85%; }

.modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(12px);
}
.auth-card,
.import-loader-card {
  position: relative;
  width: min(440px, 100%);
  display: grid;
  gap: 19px;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}
.close-button { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.05); color: var(--muted); cursor: pointer; }
.close-button svg { width: 18px; }
.modal-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--signal); }
.modal-mark img { width: 30px; }
.auth-card h2,
.import-loader-card h2 { margin: 0; font-family: var(--display); font-size: 30px; letter-spacing: -.05em; }
.modal-intro { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.auth-card label { display: grid; gap: 7px; color: var(--muted-strong); font-size: 12px; font-weight: 700; }
.auth-card input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: var(--surface); color: var(--ink); }
.auth-card input:focus { border-color: rgba(255,91,64,.5); }
.auth-help { margin: -4px 0 0; color: #7d746e; font-size: 11px; text-align: center; }
.form-error { margin: -5px 0; color: var(--danger); font-size: 12px; }
.limit-mark { color: var(--signal); font-family: var(--display); font-size: 42px; font-weight: 800; }
.loading-line { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.loading-line span { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--signal); animation: load-line 1.2s var(--ease) infinite alternate; }
@keyframes load-line { to { transform: translateX(150%); } }
.import-pulse { color: var(--signal); font-family: var(--display); font-size: 38px; font-weight: 800; animation: pulse 1.2s infinite alternate; }
@keyframes pulse { to { opacity: .45; } }

.toast {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: calc(var(--dock) + 18px);
  max-width: min(390px, calc(100vw - 44px));
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--ink);
  color: #17110e;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
}
.toast.is-error { background: var(--danger); }

@media (min-width: 1260px) {
  .song-grid { grid-auto-columns: minmax(174px, 1fr); }
  .song-grid > :nth-child(n+7) { display: none; }
}

@media (max-width: 1000px) {
  :root {
    --sidebar: 0px;
    --consent-bottom: calc(var(--dock) + 79px);
  }
  .sidebar {
    inset: auto 0 0;
    width: auto;
    height: 67px;
    display: block;
    padding: 7px max(14px, env(safe-area-inset-right)) 7px max(14px, env(safe-area-inset-left));
    border: 0;
    border-top: 1px solid var(--line);
  }
  .brand,
  .nav-label,
  .sidebar-spacer,
  .artist-promise,
  .catalogue-pulse,
  .sidebar-download,
  .sidebar-legal-link { display: none; }
  .nav-list { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .nav-item { min-height: 50px; justify-content: center; gap: 7px; padding: 0 10px; border-radius: 14px; font-size: 11px; }
  .nav-item.is-active::before { display: none; }
  .nav-item.is-active { color: var(--signal-soft); background: rgba(255,91,64,.1); }
  .app-shell { padding-bottom: calc(var(--dock) + 67px); }
  .main-stage { padding-bottom: 60px; }
  .mobile-brand { display: grid; }
  .player-dock { bottom: 67px; }
  .now-rail { bottom: calc(var(--dock) + 67px); }
  .toast { bottom: calc(var(--dock) + 83px); }
}

@media (max-width: 760px) {
  :root { --dock: 72px; }
  .main-stage { padding-inline: 18px; }
  .topbar { min-height: 68px; gap: 10px; }
  .mobile-brand { width: 38px; height: 38px; flex: 0 0 auto; }
  .search-box { min-width: 0; height: 43px; padding-inline: 12px; }
  .search-box kbd,
  .quiet-download { display: none; }
  .account-button { width: 43px; min-height: 43px; padding: 0; }
  .account-button span { display: none; }
  .home-intro { min-height: 290px; grid-template-columns: 1fr; gap: 25px; padding: 45px 0 31px; }
  .home-intro h1 { font-size: clamp(46px, 14vw, 70px); }
  .intro-copy p { margin-bottom: 20px; font-size: 15px; }
  .featured-grid {
    grid-template-columns: 82vw 70vw 70vw;
    grid-template-rows: 440px;
    min-height: 0;
    margin-inline: -18px;
    padding: 0 18px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .featured-grid::-webkit-scrollbar { display: none; }
  .feature-card,
  .feature-card:first-child { grid-row: auto; scroll-snap-align: center; }
  .feature-card:not(:first-child) .feature-content { padding: 25px; }
  .feature-card:not(:first-child) h3 { font-size: 27px; }
  .vibe-strip { grid-template-columns: 1fr; gap: 17px; margin: 13px 0 65px; padding: 19px; }
  .vibe-pills { justify-content: flex-start; margin-right: -19px; }
  .content-section { margin-bottom: 64px; }
  .exclusive-section { margin-inline: -7px; padding: 22px 18px; border-radius: 24px; }
  .section-head { align-items: start; }
  .section-head p { font-size: 13px; }
  .song-grid { grid-auto-columns: minmax(155px, 45vw); margin-right: -18px; }
  .view-heading { min-height: 255px; padding: 42px 0 32px; }
  .view-heading h1 { font-size: clamp(41px, 12vw, 60px); }
  .round-action { width: 45px; height: 45px; }
  .song-row { grid-template-columns: 50px minmax(0, 1fr) 43px; gap: 12px; min-height: 72px; padding: 10px; }
  .row-art { width: 50px; height: 50px; }
  .row-album,
  .row-quality,
  .row-share { display: none; }
  .import-row { grid-template-columns: 50px minmax(0, 1fr) auto; }
  .import-row .row-source { display: none; }
  .import-btn { width: 42px; padding: 0; font-size: 0; }
  .import-btn svg { width: 17px; }
  .artists-flex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-footer { grid-template-columns: 1fr auto; margin-top: 75px; }
  .page-footer p { display: none; }
  .player-dock {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px 12px;
  }
  .dock-track { grid-template-columns: 50px minmax(0, 1fr) 18px; gap: 10px; }
  .dock-art { width: 50px; height: 50px; border-radius: 10px; }
  .dock-center { display: block; }
  .dock-controls .subtle,
  .dock-controls #dock-prev,
  .dock-controls #dock-next,
  .dock-seek,
  .dock-actions { display: none; }
  .dock-play { width: 46px; height: 46px; }
  .now-rail {
    inset: max(10px, env(safe-area-inset-top)) 0 0;
    width: 100%;
    padding: 18px 20px calc(var(--dock) + 88px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 26px 26px 0 0;
    transform: translateY(105%);
  }
  .now-rail.is-open { transform: translateY(0); }
  .rail-art { max-width: min(66vh, 100%); margin-inline: auto; }
  .auth-card,
  .import-loader-card { padding: 28px 22px; }
  .toast { right: 14px; bottom: calc(var(--dock) + 80px + env(safe-area-inset-bottom)); max-width: calc(100vw - 28px); }
}

@media (max-width: 430px) {
  .featured-grid { grid-template-columns: 88vw 78vw 78vw; grid-template-rows: 390px; }
  .section-head .text-button { font-size: 0; }
  .section-head .text-button svg { width: 20px; }
  .filter-pills { margin-right: -18px; }
  .nav-item { flex-direction: column; gap: 2px; }
  .nav-item svg { width: 18px; height: 18px; }
}

@media (hover: none) {
  .song-play { opacity: 1; transform: none; }
  .song-share { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
