/* Lumen Music: Apple Music-style dark UI. */
:root {
  --bg: #000;
  --elev: #1c1c1e;
  --elev-2: #2c2c2e;
  --text: #fff;
  --text-2: rgba(235, 235, 245, .6);
  --text-3: rgba(235, 235, 245, .3);
  --sep: rgba(84, 84, 88, .55);
  --red: rgba(255, 255, 255, .95);   /* no brand color: the clear theme is monochrome */
  --accent: #3a3a3c;           /* player tint, replaced by the artwork's color */
  --tab-h: 56px;
  --mini-h: 60px;
  --side-w: 0px;
  --dock-h: 0px;
  --pad: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --glass: rgba(30, 30, 30, .72);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); }
body {
  font: 15px/1.35 Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  letter-spacing: -.01em;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; }
svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
[hidden] { display: none !important; }
::selection { background: var(--red); }

/* ---------- shell ---------- */
#app { display: flex; height: 100dvh; }
.main { flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; }
#view {
  flex: 1; overflow-y: auto; overflow-x: hidden; outline: none;
  padding: calc(var(--safe-t) + var(--dock-h) + 44px) 0 calc(var(--tab-h) + var(--mini-h) + var(--safe-b) + 40px);
}
#view.enter > * { animation: enter .35s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.dock { display: none; }
.sidebar { display: none; }

/* compact bar that fades in once the large title scrolls away */
.navbar {
  position: absolute; z-index: 6; top: var(--dock-h); left: 0; right: 0;
  height: calc(var(--safe-t) + 44px); padding: var(--safe-t) 8px 0;
  display: flex; align-items: center; justify-content: center;
  border-bottom: .5px solid transparent;
  transition: background .25s, border-color .25s;
}
.navbar.scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); border-bottom-color: var(--sep); }
.nav-title { font-size: 17px; font-weight: 600; opacity: 0; transition: opacity .2s; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar.scrolled .nav-title { opacity: 1; }
.nav-back { position: absolute; left: 4px; bottom: 0; height: 44px; display: flex; align-items: center; color: var(--red); font-size: 17px; padding-right: 8px; }
.nav-back svg { width: 28px; height: 28px; }

.large-title { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 6px var(--pad) 12px; line-height: 1.1; }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--text); flex: none; }
.icon-btn:active { opacity: .5; }

/* tab bar */
.tabs {
  position: fixed; z-index: 10; left: 0; right: 0; bottom: 0;
  display: flex; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border-top: .5px solid var(--sep);
}
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #8e8e93; font-size: 10.5px; font-weight: 500; letter-spacing: 0; }
.tabs a svg { width: 26px; height: 26px; }
.tabs a.active { color: var(--red); }

/* ---------- sections ---------- */
.section { margin: 8px 0 28px; }
.section-head { display: flex; align-items: center; gap: 2px; padding: 0 var(--pad); margin-bottom: 10px; }
.section-head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.section-head svg { width: 22px; height: 22px; color: var(--text-3); margin-top: 2px; }

.row, .features, .picks { overflow-x: auto; padding: 0 var(--pad); scroll-padding-inline: var(--pad); scroll-snap-type: x mandatory; scrollbar-width: none; }
.row::-webkit-scrollbar, .picks::-webkit-scrollbar, .features::-webkit-scrollbar { display: none; }
.row { display: flex; gap: 12px; }
.card { flex: none; width: 160px; scroll-snap-align: start; cursor: pointer; }
.card .thumb { width: 160px; height: 160px; border-radius: 8px; object-fit: cover; background: var(--elev); outline: .5px solid rgba(255, 255, 255, .08); outline-offset: -.5px; transition: transform .2s var(--ease), filter .2s; }
.card:hover .thumb { filter: brightness(.85); }
.card:active .thumb { transform: scale(.97); }
.card.round .thumb { border-radius: 50%; }
.card.round { text-align: center; }
.card.wide { width: 260px; }
.card.wide .thumb { width: 260px; height: 146px; }
.card b { margin-top: 7px; font-weight: 500; font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card span { display: block; color: var(--text-2); font-size: 13px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* "Top Picks" feature cards: artwork over a caption tinted by the artwork */
.features { display: flex; gap: 12px; }
.feature { flex: none; width: min(74vw, 290px); scroll-snap-align: start; cursor: pointer; }
.feature small { display: block; color: var(--text-2); font-size: 13px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--elev); isolation: isolate; transition: transform .2s var(--ease); }
.feature:active .fcard { transform: scale(.98); }
.fcard .tint { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.7) brightness(.62); transform: scale(1.5); }
.fcard .art { position: absolute; left: 0; right: 0; top: 0; width: 100%; aspect-ratio: 1; object-fit: cover; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.fcard .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px 14px; }
.fcard .cap b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcard .cap span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* song rows in columns, scrolled sideways (Apple's song shelves) */
.picks { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-auto-columns: min(84vw, 360px); column-gap: 14px; }
.picks .song { scroll-snap-align: start; padding-right: 0; }

/* ---------- lists ---------- */
.list { padding-left: var(--pad); }
.song { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px var(--pad) 6px 0; position: relative; min-width: 0; cursor: pointer; }
.song::after { content: ""; position: absolute; left: 60px; right: 0; bottom: 0; border-bottom: .5px solid var(--sep); }
.song.numbered::after { left: 36px; }
.song:last-child::after, .picks .song:nth-child(4n)::after { display: none; }
.song:active { background: rgba(255, 255, 255, .06); }
.song img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--elev); flex: none; outline: .5px solid rgba(255, 255, 255, .08); outline-offset: -.5px; }
.song.round img { border-radius: 50%; }
.song .meta { flex: 1; min-width: 0; }
.song .meta b { display: block; font-weight: 400; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song .meta span { display: block; color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.song .idx { width: 24px; text-align: center; color: var(--text-2); font-size: 16px; font-variant-numeric: tabular-nums; flex: none; }
.song.numbered { min-height: 48px; }
.song.playing .meta b, .song.playing .idx { color: var(--red); }
.song .dl { width: 15px; height: 15px; color: var(--text-2); flex: none; }
.song .more { width: 36px; height: 36px; display: grid; place-items: center; margin-right: -8px; flex: none; }
.song .more svg { width: 20px; height: 20px; }
.chev { width: 20px; height: 20px; color: var(--text-3); }

/* library menu rows */
.menu { padding-left: var(--pad); margin-bottom: 26px; border-top: .5px solid var(--sep); }
.menu a, .menu button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 50px; padding-right: var(--pad); font-size: 20px; text-align: left; position: relative; letter-spacing: -.02em; }
.menu a::after, .menu button::after { content: ""; position: absolute; left: 40px; right: 0; bottom: 0; border-bottom: .5px solid var(--sep); }
.menu svg:first-child { color: var(--red); width: 26px; height: 26px; }
.menu span { flex: 1; }
.menu small { color: var(--text-2); font-size: 15px; letter-spacing: 0; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; padding: 0 var(--pad); }
.grid2 .card, .grid2 .card .thumb { width: 100%; }
.grid2 .card .thumb { height: auto; aspect-ratio: 1; }

/* ---------- detail pages ---------- */
.hero { display: flex; flex-direction: column; align-items: center; padding: 4px var(--pad) 18px; text-align: center; }
.hero > img { width: min(66vw, 270px); aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); background: var(--elev); }
.hero > div { width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 18px 0 2px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.hero .by { display: block; margin: 0; color: var(--red); font-size: 20px; letter-spacing: -.02em; }
.hero .info { margin: 4px 0 0; color: var(--text-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.hero-actions { display: flex; gap: 12px; width: 100%; max-width: 400px; margin-top: 16px; }
.hero-actions .btn { flex: 1; }
.hero-actions .btn.icon { flex: none; width: 46px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 12px; background: var(--elev); color: var(--red); font-size: 17px; font-weight: 600; }
.btn svg { width: 20px; height: 20px; }
.btn:active { background: var(--elev-2); }
.hero-tools { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.circle { width: 34px; height: 34px; border-radius: 50%; background: var(--elev); color: var(--red); display: grid; place-items: center; }
.circle svg { width: 18px; height: 18px; }
.list-foot { color: var(--text-2); font-size: 13px; padding: 14px var(--pad) 0; }

/* artist page: wide banner with the name over it */
.artist-hero { position: relative; margin: calc(-1 * (var(--safe-t) + 44px)) 0 20px; height: min(72vw, 420px); background: var(--elev); }
.artist-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.artist-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .3), transparent 30%, transparent 50%, rgba(0, 0, 0, .85)); }
.artist-hero h1 { position: absolute; z-index: 1; left: var(--pad); right: 84px; bottom: 16px; margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.play-fab { width: 48px; height: 48px; border-radius: 50%; background: var(--red); display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.play-fab svg { width: 26px; height: 26px; }
.artist-hero .play-fab { position: absolute; z-index: 1; right: var(--pad); bottom: 16px; }

/* ---------- search ---------- */
.searchbar { position: sticky; top: calc(var(--safe-t) + var(--dock-h) + 44px); z-index: 4; padding: 0 var(--pad) 12px; background: var(--bg); }
.searchbox { display: flex; align-items: center; gap: 6px; background: var(--elev); border-radius: 11px; padding: 0 8px 0 10px; height: 38px; color: #8e8e93; }
.searchbox svg { width: 20px; height: 20px; }
.searchbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 17px; }
.searchbox input::placeholder { color: #8e8e93; }
.searchbox input::-webkit-search-cancel-button { display: none; }
.searchbox button { color: #8e8e93; display: grid; place-items: center; }
.searchbox button svg { width: 18px; height: 18px; }
.suggest { padding-left: var(--pad); margin-bottom: 22px; }
.suggest button { display: flex; width: 100%; align-items: center; gap: 14px; min-height: 46px; padding-right: var(--pad); text-align: left; font-size: 17px; position: relative; }
.suggest button::after { content: ""; position: absolute; left: 34px; right: 0; bottom: 0; border-bottom: .5px solid var(--sep); }
.suggest button svg { color: #8e8e93; width: 20px; height: 20px; }
.recent-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px var(--pad) 6px; }
.recent-head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.recent-head button { color: var(--red); font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; padding: 0 var(--pad); }
.cat { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; padding: 10px 12px; display: flex; align-items: flex-end; font-size: 17px; font-weight: 700; letter-spacing: -.02em; background: var(--c); transition: transform .2s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0, rgba(255, 255, 255, .28), transparent 60%); }
.cat span { position: relative; }
.cat:active { transform: scale(.97); }

.top-hit { display: flex; align-items: center; gap: 14px; margin: 0 var(--pad); padding: 14px; border-radius: 12px; background: var(--elev); cursor: pointer; }
.top-hit img { width: 84px; height: 84px; border-radius: 8px; object-fit: cover; flex: none; }
.top-hit.round img { border-radius: 50%; }
.top-hit > div { flex: 1; min-width: 0; }
.top-hit b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-hit .play-fab { display: grid; }
.top-hit > div span { display: block; color: var(--text-2); font-size: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.empty { color: var(--text-2); text-align: center; padding: 48px 32px; font-size: 15px; }
.empty b { display: block; color: var(--text); font-size: 20px; margin-bottom: 6px; }
.skel { background: linear-gradient(90deg, #111 0, #1c1c1e 50%, #111 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- mini player ---------- */
.mini {
  position: fixed; z-index: 11; left: 8px; right: 8px; bottom: calc(var(--tab-h) + var(--safe-b) + 6px); height: var(--mini-h);
  display: flex; align-items: center; gap: 12px; padding: 0 8px; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: rgba(38, 38, 40, .8); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5), inset 0 0 0 .5px rgba(255, 255, 255, .08);
}
.mini-art { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--elev); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.mini-meta { flex: 1; min-width: 0; }
.mini-meta b, .mini-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-meta b { font-weight: 500; font-size: 15px; }
.mini-meta span { color: var(--text-2); font-size: 13px; }
.mini-btn { width: 40px; height: 44px; display: grid; place-items: center; }
.mini-btn svg { width: 26px; height: 26px; }
.mini-btn:active { opacity: .5; }
.mini-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.mini-progress i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, .55); }
.mini.loading .mini-progress i { width: 30% !important; animation: load 1s ease-in-out infinite alternate; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(330%); } }

/* ---------- full screen player ---------- */
.np {
  position: fixed; inset: 0; z-index: 30; color: #fff; overflow: hidden; background: #111;
  transform: translateY(100%); transition: transform .5s cubic-bezier(.32, .72, 0, 1); will-change: transform;
}
.np.open { transform: none; }
.np.dragging { transition: none; }
.np-bg { position: absolute; inset: -20%; background: var(--accent); transition: background 1s; }
.np-bg img {
  position: absolute; width: 85%; height: 85%; object-fit: cover; border-radius: 50%;
  filter: blur(80px) saturate(1.8) brightness(.85); opacity: .95; will-change: transform;
}
#np-bg1 { left: -5%; top: -5%; animation: drift1 38s linear infinite; }
#np-bg2 { right: -10%; bottom: -10%; animation: drift2 46s linear infinite; transform-origin: 40% 60%; }
@keyframes drift1 { 0% { transform: rotate(0) scale(1.15); } 50% { transform: rotate(180deg) scale(1.35) translate(6%, 4%); } 100% { transform: rotate(360deg) scale(1.15); } }
@keyframes drift2 { 0% { transform: rotate(360deg) scale(1.3); } 50% { transform: rotate(180deg) scale(1.05) translate(-5%, -6%); } 100% { transform: rotate(0) scale(1.3); } }
.np.paused .np-bg img, .np:not(.open) .np-bg img { animation-play-state: paused; }
.np-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, .5)); }
.np-inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: calc(var(--safe-t) + 6px) 28px calc(var(--safe-b) + 14px); max-width: 520px; margin: 0 auto; }
.np-grab { height: 16px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.np-grab i { width: 36px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.np-head { display: flex; align-items: center; margin: 0 -12px; }
.np-head .icon-btn { color: rgba(255, 255, 255, .8); }
.np-from { flex: 1; text-align: center; min-width: 0; }
.np-from small { display: block; font-size: 10px; letter-spacing: .08em; color: rgba(255, 255, 255, .55); font-weight: 600; }
.np-from b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.np-stage { flex: 1; position: relative; min-height: 0; margin: 10px 0 14px; overflow: hidden; }
.np-art-wrap { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.np-art {
  width: min(100%, 50dvh); aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transition: transform .6s cubic-bezier(.34, 1.36, .5, 1), box-shadow .6s; cursor: pointer;
}
.np.paused .np-art { transform: scale(.8); box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.np-lyrics, .np-queue { position: absolute; inset: 0; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); scrollbar-width: none; overscroll-behavior: contain; }
.np-lyrics::-webkit-scrollbar, .np-queue::-webkit-scrollbar { display: none; }
.np-stage[data-mode="lyrics"] .np-lyrics, .np-stage[data-mode="queue"] .np-queue { opacity: 1; pointer-events: auto; }
.np-stage:not([data-mode="art"]) .np-art-wrap { opacity: 0; transform: scale(.9); pointer-events: none; }

/* lyrics */
.np-lyrics { padding: 0 2px; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 78%, transparent); }
.np-lyrics::before { content: ""; display: block; height: 30%; }
.np-lyrics::after { content: ""; display: block; height: 60%; }
.np-lyrics.static::before { height: 16px; }
.ly {
  font-size: clamp(26px, 7.4vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -.025em;
  margin: 0 0 24px; color: #fff; opacity: .3; filter: blur(1.2px); transform-origin: left center;
  transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s; cursor: pointer;
}
.ly.past { opacity: .25; }
.ly.near { filter: blur(.5px); opacity: .38; }
.ly.active { opacity: 1; filter: none; transform: scale(1.03); }
.ly:hover { filter: none; opacity: .75; }
.ly.active:hover { opacity: 1; }
.ly.dots { letter-spacing: 6px; }
.ly.dots.active { animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.np-lyrics.plain .ly { opacity: .9; filter: none; font-size: 22px; font-weight: 700; cursor: default; }
.np-lyrics .ly-note { opacity: .55; filter: none; font-size: 13px; font-weight: 500; letter-spacing: 0; margin-top: 30px; cursor: default; }

.np-queue h3 { margin: 6px 0 8px; font-size: 17px; font-weight: 700; }
.np-queue .song { padding: 4px 0; min-height: 56px; }
.np-queue .song::after { left: 60px; border-color: rgba(255, 255, 255, .12); }
.np-queue .song .meta span { color: rgba(255, 255, 255, .6); }

.np-meta { display: flex; align-items: center; gap: 10px; min-height: 56px; }
.np-mini-art { width: 0; height: 52px; border-radius: 6px; object-fit: cover; opacity: 0; transition: width .35s var(--ease), opacity .35s; }
.np-stage:not([data-mode="art"]) ~ .np-meta .np-mini-art { width: 52px; opacity: 1; }
.np-titles { flex: 1; min-width: 0; }
.np-titles h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-titles p { margin: 1px 0 0; color: rgba(255, 255, 255, .6); font-size: 18px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.circle-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; flex: none; }
.circle-btn svg { width: 17px; height: 17px; }
#np-like.on { background: var(--red); }

.np-seek { margin-top: 14px; }
.np-seek input, .np-volume input { width: 100%; height: 22px; margin: 0; background: none; -webkit-appearance: none; appearance: none; --p: 0%; cursor: pointer; }
.np-seek input::-webkit-slider-runnable-track, .np-volume input::-webkit-slider-runnable-track { height: 7px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, .75) var(--p), rgba(255, 255, 255, .2) var(--p)); transition: transform .2s var(--ease); }
.np-seek input:active::-webkit-slider-runnable-track, .np-volume input:active::-webkit-slider-runnable-track { background: linear-gradient(90deg, #fff var(--p), rgba(255, 255, 255, .25) var(--p)); transform: scaleY(1.6); }
.np-seek input::-moz-range-track, .np-volume input::-moz-range-track { height: 7px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, .75) var(--p), rgba(255, 255, 255, .2) var(--p)); }
.np-seek input::-webkit-slider-thumb, .np-volume input::-webkit-slider-thumb { -webkit-appearance: none; width: 0; height: 7px; }
.np-seek input::-moz-range-thumb, .np-volume input::-moz-range-thumb { width: 0; height: 0; border: 0; }
.np-times { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; font-weight: 500; margin-top: 4px; }

.np-controls { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 12px; }
.np-controls .icon-btn { color: #fff; transition: transform .15s var(--ease), background .15s; }
.np-controls .icon-btn.lg { width: 70px; height: 64px; border-radius: 50%; }
.np-controls .icon-btn.lg svg { width: 42px; height: 42px; }
.np-controls .icon-btn.lg:active { background: rgba(255, 255, 255, .12); opacity: 1; transform: scale(.92); }
.np-controls .icon-btn.sm { color: rgba(255, 255, 255, .55); width: 36px; height: 36px; border-radius: 8px; }
.np-controls .icon-btn.sm svg { width: 22px; height: 22px; }
.np-controls .icon-btn.sm.on { color: #000; background: rgba(255, 255, 255, .85); }
.play-btn { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s var(--ease), background .2s; }
.play-btn:active { transform: scale(.9); background: rgba(255, 255, 255, .12); }
.play-btn svg { width: 54px; height: 54px; }

.np-volume { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.np-volume svg { width: 18px; height: 18px; }
.np-tools { display: flex; justify-content: space-around; }
.tool { width: 52px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: rgba(255, 255, 255, .6); position: relative; }
.tool.on { color: #fff; background: rgba(255, 255, 255, .16); }
.tool .ring { position: absolute; inset: 6px; width: auto; height: auto; }

/* ---------- action sheet / toast ---------- */
.sheet { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; animation: fade .2s; }
.sheet-card { width: 100%; max-width: 420px; margin: 0 auto calc(var(--safe-b) + 10px); padding: 0 10px; animation: up .32s cubic-bezier(.32, .72, 0, 1); max-height: 85dvh; overflow-y: auto; }
.sheet-group { background: rgba(44, 44, 46, .9); -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px); border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: .5px solid var(--sep); }
.sheet-head img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; }
.sheet-head div { min-width: 0; }
.sheet-head b, .sheet-head span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-head span { color: var(--text-2); font-size: 13px; }
.sheet-item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 0 16px; min-height: 48px; text-align: left; font-size: 17px; border-bottom: .5px solid var(--sep); }
.sheet-item:last-child { border-bottom: 0; }
.sheet-item:active { background: rgba(255, 255, 255, .08); }
.sheet-item svg { width: 21px; height: 21px; }
.sheet-item.cancel { justify-content: center; font-weight: 600; color: var(--red); }
.sheet-item.danger { color: var(--red); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(110%); } }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--mini-h) + var(--safe-b) + 22px); transform: translate(-50%, 16px); z-index: 50;
  background: rgba(58, 58, 60, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #fff;
  padding: 11px 18px; border-radius: 14px; font-weight: 500; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s var(--ease); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- desktop: sidebar, wider grids, side-by-side player ---------- */
@media (min-width: 900px) {
  :root { --side-w: 250px; --pad: 32px; --tab-h: 0px; }
  .tabs { display: none; }
  .sidebar {
    display: flex; flex-direction: column; width: var(--side-w); flex: none; padding: 18px 12px; overflow-y: auto;
    background: #1a1a1c; border-right: .5px solid var(--sep);
  }
  .brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 16px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
  .brand img { width: 28px; height: 28px; border-radius: 7px; }
  .side-search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; margin: 0 0 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: #8e8e93; font-size: 14px; }
  .side-search svg { width: 17px; height: 17px; }
  .sidebar h4 { margin: 16px 10px 6px; color: var(--text-2); font-size: 12px; font-weight: 600; }
  .side-nav a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side-nav a svg { width: 20px; height: 20px; color: var(--red); }
  .side-nav a:hover { background: rgba(255, 255, 255, .05); }
  .side-nav a.active { background: rgba(255, 255, 255, .1); }
  .side-nav img { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; flex: none; }
  .toast { left: calc(50% + var(--side-w) / 2); bottom: 100px; }
  #view { padding-bottom: 120px; }
  .card { width: 180px; }
  .card .thumb { width: 180px; height: 180px; }
  .hero { flex-direction: row; align-items: flex-end; text-align: left; gap: 28px; padding-top: 10px; }
  .hero > img { width: 240px; }
  .hero > div { align-items: flex-start; min-width: 0; }
  .hero h1 { font-size: 30px; margin-top: 0; }
  .hero .by { font-size: 22px; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
  .hero-actions .btn { padding: 0 32px; background: var(--red); color: #fff; height: 40px; border-radius: 9px; font-size: 15px; }
  .hero-actions .btn + .btn { background: var(--elev); color: var(--red); }
  .hero-tools { justify-content: flex-start; }
  .large-title { margin-top: 18px; }
  .np-inner { max-width: 1200px; display: grid; grid-template-columns: minmax(320px, 420px) 1fr; grid-template-rows: auto auto 1fr auto auto auto auto auto; column-gap: 64px; padding-left: 56px; padding-right: 56px; }
  .np-grab, .np-head { grid-column: 1 / -1; }
  .np-stage { grid-column: 2; grid-row: 3 / 9; margin: 0; }
  .np-stage[data-mode="art"] .np-art-wrap { opacity: 0; pointer-events: none; }
  .np-stage[data-mode="art"] .np-lyrics { opacity: 1; pointer-events: auto; }
  .np-meta, .np-seek, .np-controls, .np-volume, .np-tools { grid-column: 1; }
  .np-mini-art { display: none; }
  .np-inner::before { content: ""; grid-column: 1; grid-row: 3; background: var(--np-art) center / cover; border-radius: 12px; aspect-ratio: 1; align-self: end; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .np-bg img { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* Netlify's free-plan badge sits in the bottom-right corner on phones: lift
   the tab bar, mini player and player controls above it. */
@media (max-width: 899px) {
  html.has-badge { --safe-b: max(env(safe-area-inset-bottom, 0px), 64px); }
}
@media (min-width: 900px) {
  html.has-badge .np-inner { padding-bottom: 72px; }
}

/* card hover play button */
.card .tw { position: relative; border-radius: 10px; }
.card .thumb { border-radius: 10px; }
.hp {
  position: absolute; left: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s var(--ease), background .2s;
}
.hp svg { width: 18px; height: 18px; margin-left: 2px; }
.hp:hover { background: var(--red); transform: scale(1.06); }
.card:hover .hp { opacity: 1; transform: none; }
@media (hover: none) { .hp { display: none; } }

/* now-playing bars on the playing row */
.song { --eq: var(--red); }
.eq { display: none; position: absolute; left: 0; width: 48px; height: 48px; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 15px; border-radius: 6px; background: rgba(0, 0, 0, .45); pointer-events: none; }
.song.numbered .eq { width: 24px; background: none; padding-bottom: 0; height: 18px; }
.song.playing .eq { display: flex; }
.song.numbered.playing .idx { visibility: hidden; }
.eq b { width: 3px; height: 16px; border-radius: 1px; background: var(--eq); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.song:not(.numbered) .eq b { background: #fff; }
.eq b:nth-child(2) { animation-delay: -.4s; }
.eq b:nth-child(3) { animation-delay: -.7s; }
.eq b:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.is-paused .eq b { animation-play-state: paused; }

@media (min-width: 900px) {
  :root { --dock-h: 64px; }
  .mini { display: none !important; }
  #view { padding-bottom: 60px; }
  /* player bar */
  .dock {
    display: grid; grid-template-columns: 1fr minmax(340px, 620px) 1fr; align-items: center; gap: 20px;
    position: absolute; z-index: 7; top: 0; left: 0; right: 0; height: var(--dock-h); padding: 0 22px;
    background: rgba(28, 28, 30, .9); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    border-bottom: .5px solid var(--sep);
  }
  .dock-ctl { display: flex; align-items: center; gap: 6px; }
  .dbtn { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; color: #fff; transition: background .15s, transform .15s; }
  .dbtn:hover { background: rgba(255, 255, 255, .08); }
  .dbtn:active { transform: scale(.92); }
  .dbtn svg { width: 22px; height: 22px; }
  .dbtn.lg svg { width: 28px; height: 28px; }
  .dbtn.sm { color: var(--text-2); }
  .dbtn.sm svg { width: 18px; height: 18px; }
  .dbtn.sm.on { color: var(--red); }
  .lcd {
    position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding-right: 14px;
    background: rgba(255, 255, 255, .06); border: .5px solid rgba(255, 255, 255, .08); border-radius: 8px; overflow: hidden;
  }
  .lcd-art { width: 48px; height: 48px; object-fit: cover; flex: none; cursor: pointer; background: var(--elev-2); }
  .lcd-text { flex: 1; min-width: 0; text-align: center; cursor: pointer; padding-bottom: 6px; }
  .lcd-text b, .lcd-text span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lcd-text b { font-size: 13px; font-weight: 600; }
  .lcd-text span { font-size: 12px; color: var(--text-2); }
  .lcd-seek { position: absolute; left: 48px; right: 0; bottom: 0; height: 14px; display: flex; align-items: flex-end; }
  .lcd-seek span { position: absolute; bottom: 5px; font-size: 10px; color: var(--text-2); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .2s; }
  .lcd-seek span:first-child { left: 8px; }
  .lcd-seek span:last-child { right: 8px; }
  .lcd:hover .lcd-seek span { opacity: 1; }
  .lcd-bar { width: 100%; height: 3px; background: rgba(255, 255, 255, .12); cursor: pointer; transition: height .15s; }
  .lcd:hover .lcd-bar { height: 5px; }
  .lcd-bar i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, .7); }
  .dock-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--text-2); }
  .dock-right > svg { width: 16px; height: 16px; }
  .dock-right input { width: 110px; height: 18px; margin: 0 8px 0 0; background: none; -webkit-appearance: none; appearance: none; --p: 100%; cursor: pointer; }
  .dock-right input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .7) var(--p), rgba(255, 255, 255, .18) var(--p)); }
  .dock-right input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
  .dock-right input::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .7) var(--p), rgba(255, 255, 255, .18) var(--p)); }
  .dock-right input::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
  /* content */
  .grid2 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 20px; }
  .cats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .song:hover { background: rgba(255, 255, 255, .05); }
  .list .song { border-radius: 6px; }
  .top-hit { max-width: 640px; }
  .feature { width: 260px; }
  .hero-actions { max-width: none; }
  .hero-actions .btn { flex: none; }
  .hero-actions .btn.icon { width: 40px; background: var(--elev); color: var(--red); padding: 0; }

}
@media (min-width: 1400px) {
  .card, .card .thumb { width: 200px; }
  .card .thumb { height: 200px; }
  .feature { width: 300px; }
}

/* ---------- phones: floating glass tab bar and mini player (iOS 26 style) ---------- */
.tab-search { display: none; }
.thumb.initial { display: grid; place-items: center; font-size: 56px; font-weight: 800; color: rgba(255, 255, 255, .85); background: linear-gradient(135deg, #3a3a3c, #1c1c1e); }
.song.pressed, .card.pressed { transform: scale(.97); transition: transform .2s var(--ease); }
@media (max-width: 899px) {
  :root { --float: calc(var(--safe-b) + 10px); --glass-ui: rgba(44, 44, 48, .6); }
  #view { padding-bottom: calc(var(--safe-b) + 170px); }
  .tabs, .tab-search, .mini {
    background: var(--glass-ui);
    -webkit-backdrop-filter: blur(22px) saturate(190%); backdrop-filter: blur(22px) saturate(190%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 .5px rgba(255, 255, 255, .1), 0 12px 32px rgba(0, 0, 0, .5);
    border: 0;
  }
  .tabs { left: 14px; right: 86px; bottom: var(--float); height: 62px; padding: 5px; gap: 2px; border-radius: 31px; }
  .tabs a { border-radius: 26px; gap: 1px; font-size: 10px; color: rgba(255, 255, 255, .88); transition: background .25s var(--ease), color .25s; }
  .tabs a svg { width: 24px; height: 24px; }
  .tabs a.active { background: rgba(255, 255, 255, .13); color: var(--red); }
  .tabs a:active { transform: scale(.94); }
  .tab-search { display: grid; place-items: center; position: fixed; z-index: 10; right: 14px; bottom: var(--float); width: 62px; height: 62px; border-radius: 50%; color: #fff; transition: transform .2s var(--ease); }
  .tab-search svg { width: 26px; height: 26px; }
  .tab-search.active { color: var(--red); }
  .tab-search:active { transform: scale(.92); }
  .mini { left: 14px; right: 14px; bottom: calc(var(--float) + 72px); height: 58px; border-radius: 29px; padding: 0 8px 0 7px; gap: 10px; transition: transform .35s var(--ease); }
  .mini-art { width: 44px; height: 44px; border-radius: 22px; }
  .mini-meta { transition: transform .25s var(--ease); }
  .mini-meta b { font-size: 14.5px; }
  .mini-progress { left: 26px; right: 26px; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; }
  .toast { bottom: calc(var(--float) + 150px); }
  .large-title { font-size: 32px; }
  .np-inner { padding-left: 24px; padding-right: 24px; }
  .sheet-card::before { content: ""; display: block; width: 36px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); margin: 0 auto 8px; }
}

/* ======================================================================
   Liquid glass theme
   A living color field sits behind everything; surfaces are frosted glass
   with a bright rim on top, so they read as glass lit from above.
   ====================================================================== */
:root {
  --lg-fill: rgba(255, 255, 255, .07);
  --lg-fill-2: rgba(255, 255, 255, .12);
  --lg-rim: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(255, 255, 255, .04);
  --lg-blur: blur(26px) saturate(185%);
  --lg-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
html { background: #07060c; }
body { background: transparent; }
.searchbar { background: rgba(14, 14, 16, .55); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); }
/* The color field: the artwork's color plus slow-moving glows. */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at 15% 8%, rgba(255, 255, 255, .13), transparent 72%),
    radial-gradient(35% 30% at 90% 25%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(45% 40% at 70% 95%, rgba(255, 255, 255, .08), transparent 70%),
    radial-gradient(35% 30% at 5% 80%, rgba(255, 255, 255, .05), transparent 70%);
  filter: blur(30px);
  animation: lg-drift 28s ease-in-out infinite alternate;
  transition: background 1.2s;
}
@keyframes lg-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* Shared glass recipe. */
.sidebar, .navbar.scrolled, .lcd, .searchbox, .btn, .menu, .top-hit, .sheet-group, .toast,
.list, .recent-head + .suggest, .np-tools .tool, .hero-actions .btn.icon, .circle-btn, .dbtn:hover {
  background: var(--lg-fill);
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-rim);
  border-color: transparent;
}
.sidebar { background: rgba(22, 22, 24, .45); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .08); }
.navbar.scrolled { background: rgba(16, 16, 18, .55); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.dock { background: rgba(16, 16, 18, .5); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.lcd { border-radius: 12px; }

/* Lists sit in a glass panel instead of floating on black. */
.list { border-radius: 20px; margin-left: var(--pad); margin-right: var(--pad); padding: 4px 0; }
.list .song { padding-left: 14px; padding-right: 10px; }
.song { border-radius: 14px; transition: background .2s; }
@media (hover: hover) { .song:hover { background: var(--lg-fill-2); } }
.song.playing .meta b, .song.playing b { color: #fff; }

.searchbox { border-radius: 14px; }
.btn { border-radius: 14px; color: #fff; }
.btn svg { color: #fff; fill: currentColor; }
.btn:active { background: var(--lg-fill-2); transform: scale(.97); }
.menu { border-radius: 20px; overflow: hidden; margin-left: var(--pad); margin-right: var(--pad); }
.top-hit { border-radius: 22px; }
.sheet-card { background: rgba(30, 30, 32, .55); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: var(--lg-rim), var(--lg-shadow); }
.sheet-group { background: rgba(255, 255, 255, .06); }
.toast { background: rgba(44, 44, 46, .6); box-shadow: var(--lg-rim), var(--lg-shadow); }

/* Artwork gets a glass rim and a soft lift. */
.card .thumb, .fcard, .hero img, .top-hit img, .song img, .np-art, .lcd-art {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 24px rgba(0, 0, 0, .35);
}
.card .tw { position: relative; border-radius: 10px; }
.card .thumb { border-radius: 10px; }
.card .tw::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), transparent 32%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.card.round .tw::after { border-radius: 50%; }

/* Genre tiles: colored glass. */
.cat { position: relative; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 22px rgba(0, 0, 0, .3); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .28), transparent 40%, transparent 70%, rgba(255, 255, 255, .08)); pointer-events: none; }

/* Round glass play buttons. */
.play-fab, .hp {
  background: rgba(255, 255, 255, .18) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .15), 0 6px 18px rgba(0, 0, 0, .35);
  color: #fff;
}

/* "See All" on section headers. */
a.section-head { text-decoration: none; color: inherit; display: flex; align-items: baseline; justify-content: space-between; }
.see-all { font-size: 15px; font-weight: 500; color: #fff; }
.sub-title { margin: -6px var(--pad) 14px; color: var(--text-2); }
.hero-actions.pad { padding: 0 var(--pad) 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 14px; padding: 0 var(--pad); }
.grid .card { width: auto; }
.grid .card .thumb { width: 100%; height: auto; aspect-ratio: 1; }

/* Fullscreen player: glass controls. */
.np-controls .icon-btn.lg { border-radius: 50%; }
.np-controls .icon-btn:active { background: rgba(255, 255, 255, .12); }
.np-tools .tool { border-radius: 50%; }

/* Brand mark. */
.brand img { border-radius: 9px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .2); }

/* A cover that never loaded: a glass placeholder instead of a broken image. */
img.noimg { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' fill-opacity='.35' d='M9 5v9.6a3.5 3.5 0 1 0 2 3.2V9h5V5z'/%3E%3C/svg%3E"); background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); object-fit: contain; padding: 22%; }

/* ---------- Clear glass: no color anywhere except the artwork itself ---------- */
html { background: #0b0b0d; }
.cat { background: var(--lg-fill) !important; -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); }
.cat span { color: #fff; }
.hp:hover { background: rgba(255, 255, 255, .3) !important; }
#np-like.on { background: rgba(255, 255, 255, .9); color: #000; }
#np-like.on svg { fill: #000; }
.hero-actions .btn, .hero-actions .btn + .btn { background: var(--lg-fill); color: #fff; box-shadow: var(--lg-rim); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); }
.hero-actions .btn svg { color: #fff; }
.play-fab svg, .hp svg { fill: #fff; }
/* Backdrops made from the cover lose their color: the player and Top Picks
   become smoked glass over a gray version of the art. */
.np-bg img, .fcard .tint { filter: grayscale(1) blur(60px) brightness(.7) !important; }
.np-bg { background: #1a1a1c; }
.fcard .cap { background: linear-gradient(transparent, rgba(0, 0, 0, .55)); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.tabs a.active, .tab-search.active { color: #fff; background: rgba(255, 255, 255, .18); }
.mini { background: rgba(40, 40, 44, .45) !important; }
input[type=range] { accent-color: #fff; }
