/* spor: black, quiet, expensive. The artwork carries the colour. */

@font-face { font-family: "Inter"; src: url(fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(fonts/inter-tight-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(fonts/inter-tight-700.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --bg: #000;
  --bg1: #0b0b0b;
  --bg2: #151515;
  --bg3: #202020;
  --line: #ffffff17;
  --line2: #ffffff2e;
  --fg: #fff;
  --mute: #a3a3a3;
  --dim: #6e6e6e;
  --accent: #3ff0de;
  --wave-rest: #3a3a3a;
  --wave-played: #ffffff;
  --gut: clamp(16px, 4vw, 56px);
  --pb: 92px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  position: relative; margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--fg);
  font: 15px/1.5 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--pb) + 32px + env(safe-area-inset-bottom));
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: currentColor; }
svg.line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { margin: 0 0 14px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.note { color: var(--mute); }

/* ---------- ambient light from the artwork ---------- */
.ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); filter: blur(90px) saturate(1.5); opacity: .6; }
.ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 0%, #000a 55%, #000 100%); }
.ambient.page { position: absolute; inset: 0 0 auto; height: min(100vh, 900px); }
.ambient.page img { opacity: .5; }

/* ---------- top bar ---------- */
.top { position: relative; display: flex; align-items: center; gap: 20px; padding: 22px var(--gut) 18px; }
.logo { display: block; flex: none; border-radius: 6px; }
.logo img { display: block; width: auto; height: 44px; }
@media (max-width: 600px) { .logo img { height: 36px; } }
.tagline { margin: 0; color: var(--dim); font-size: .85rem; }
.back { margin-left: auto; color: var(--mute); font-size: .88rem; font-weight: 500; transition: color .15s; }
.back:hover { color: var(--fg); }
main { position: relative; padding: 0 var(--gut); }

/* ---------- buttons ---------- */
.btn { all: unset; display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px 13px 24px; border-radius: 99px; font-weight: 600; font-size: .92rem; letter-spacing: .01em; cursor: pointer; transition: transform .15s, background .15s; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--fg); color: #000; }
.btn.primary:hover { background: #e8e8e8; transform: scale(1.02); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.ib { all: unset; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--mute); transition: color .15s, background .15s, box-shadow .15s, transform .1s; }
.ib:hover { color: var(--fg); }
.ib:active { transform: scale(.94); }
.ib:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.ib svg { width: 20px; height: 20px; }
.ib.sm { width: 36px; height: 36px; }
.ib.sm svg { width: 19px; height: 19px; }
.ib.round { width: 46px; height: 46px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--fg); }
.ib.round:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.ib.on { color: var(--fg); }
.heart.on, .heart:disabled { color: var(--accent); cursor: default; }
.heart.on svg { fill: currentColor; }
.heart.on:active { transform: none; }
.heart.pop svg { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.25); } }
.counts { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; color: var(--mute); font-size: .85rem; font-variant-numeric: tabular-nums; }

/* ---------- featured release ---------- */
.feature { position: relative; isolation: isolate; overflow: hidden; margin: 0 var(--gut); border-radius: 14px; background: var(--bg1); box-shadow: inset 0 0 0 1px var(--line); }
.feature .ambient::after { background: linear-gradient(90deg, #000c 0%, #0008 45%, #0004 100%); }
.feature-in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; padding: clamp(24px, 4vw, 52px); }
.feature-cover { all: unset; cursor: pointer; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg2); box-shadow: 0 30px 60px -24px #000, 0 0 0 1px #ffffff12; transition: transform .3s ease; }
.feature-cover:hover { transform: translateY(-2px); }
.feature-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature h1, .hero-text h1 { margin: 0; font: 700 clamp(2.2rem, 5.2vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; text-wrap: balance; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 14px 0 0; color: var(--mute); font-size: .95rem; }
.genre-tag { padding: 3px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--fg); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.feature-desc { margin: 16px 0 0; max-width: 56ch; color: #d6d6d6; font-size: .98rem; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.actions .counts { margin-left: 8px; }

/* ---------- catalogue ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: clamp(40px, 6vw, 64px) 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; font: 600 1.35rem/1.2 var(--display); letter-spacing: -.02em; }
.totals { color: var(--dim); font-size: .82rem; font-variant-numeric: tabular-nums; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr)); }
.card button { all: unset; display: block; width: 100%; cursor: pointer; border-radius: 8px; }
.card button:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
.art { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--bg2); box-shadow: 0 0 0 1px #ffffff0d; }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.art .ph { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2.4rem var(--display); color: var(--dim); background: linear-gradient(135deg, var(--bg3), var(--bg1)); }
.art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 50%, #0009); opacity: 0; transition: opacity .3s; }
.art .go { position: absolute; z-index: 1; right: 10px; bottom: 10px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--fg); color: #000; box-shadow: 0 8px 20px #0008; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.art .go svg { width: 18px; height: 18px; margin-left: 2px; }
.card button:hover .art img { transform: scale(1.035); }
.card button:hover .art::after, .card button:focus-visible .art::after { opacity: 1; }
.card button:hover .go, .card button:focus-visible .go { opacity: 1; transform: none; }
.art .badge { position: absolute; z-index: 1; left: 10px; top: 10px; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: #000b; backdrop-filter: blur(8px); }
.art .eq { position: absolute; z-index: 1; left: 12px; bottom: 12px; display: none; gap: 3px; align-items: flex-end; height: 16px; }
.art .eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.art .eq i:nth-child(2) { animation-delay: -.3s; } .art .eq i:nth-child(3) { animation-delay: -.6s; }
.card.current.playing .eq { display: flex; }
.card.current .art { box-shadow: 0 0 0 1px var(--accent); }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 16px; } }
.card h3 { margin: 12px 0 0; font-size: .93rem; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.current h3 { color: var(--accent); }
.card .genre { margin: 12px 0 -8px; color: var(--accent); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sub { margin: 2px 0 0; color: var(--mute); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .desc { margin: 6px 0 0; color: var(--dim); font-size: .8rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stats { display: flex; gap: 12px; margin: 6px 0 0; color: var(--dim); font-size: .76rem; font-variant-numeric: tabular-nums; }
.stats span { display: inline-flex; align-items: center; gap: 5px; }
.stats svg { width: 12px; height: 12px; }
.stats svg.line { stroke-width: 2; }
.stats .liked { color: var(--accent); }
.stats .liked svg { fill: currentColor; }
.saved { display: inline-grid; place-items: center; vertical-align: -2px; margin-left: 6px; width: 15px; height: 15px; border-radius: 50%; background: #ffffff1f; color: var(--mute); cursor: help; }
.saved svg { width: 10px; height: 10px; stroke-width: 2.4; }

.stage { margin: 32px 0 0; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.stage video { display: block; width: 100%; max-height: 72vh; background: #000; }

/* ---------- player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 24px;
  min-height: var(--pb); padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: #000000eb; backdrop-filter: blur(30px) saturate(1.4); box-shadow: 0 -1px 0 var(--line);
}
.pl-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pl-cover { all: unset; flex: none; width: 56px; height: 56px; border-radius: 4px; overflow: hidden; background: var(--bg2); cursor: pointer; }
.pl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-cover:focus-visible { outline: 2px solid var(--fg); }
.pl-meta { min-width: 0; }
.pl-title { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-sub { color: var(--mute); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-left .heart { flex: none; }
.pl-center { display: grid; gap: 4px; min-width: 0; }
.pl-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ib.big { width: 42px; height: 42px; background: var(--fg); color: #000; }
.ib.big:hover { color: #000; transform: scale(1.06); }
.ib.big svg { width: 20px; height: 20px; }
.player .i-pause, .player.playing .i-play { display: none; }
.player.playing .i-pause { display: block; }
.pl-wave { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pl-wave canvas { flex: 1; min-width: 0; height: 26px; cursor: pointer; touch-action: none; }
.pl-wave canvas:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.pl-time { font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--dim); min-width: 2.8em; text-align: center; }
.pl-extra { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.pl-likes { margin-right: 8px; color: var(--dim); font-size: .78rem; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  :root { --pb: 118px; }
  .player { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l c" "w w"; row-gap: 8px; gap: 12px; }
  .pl-center { display: contents; }
  .pl-left { grid-area: l; }
  .pl-ctrl { grid-area: c; gap: 6px; }
  .pl-wave { grid-area: w; }
  .pl-cover { width: 46px; height: 46px; }
  .pl-ctrl #pl-prev, .pl-likes { display: none; }
  .pl-extra { position: absolute; right: var(--gut); top: -54px; padding: 3px; border-radius: 99px; background: #0c0c0cf2; box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px #000; }
}

/* ---------- lyrics ---------- */
.lyrics {
  position: fixed; right: 0; top: 0; bottom: calc(var(--pb) + env(safe-area-inset-bottom)); width: min(440px, 100vw); z-index: 9;
  background: #0a0a0af5; backdrop-filter: blur(24px); box-shadow: -1px 0 0 var(--line); padding: 32px 32px; overflow-y: auto;
}
.lyrics pre, .hero-lyrics pre { white-space: pre-wrap; font: inherit; font-size: 1.12rem; line-height: 1.8; margin: 0; color: #e6e6e6; }
.lyrics .close { position: absolute; right: 14px; top: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--pb) + 22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20; padding: 10px 18px; border-radius: 99px; background: var(--fg); color: #000; font-size: .85rem; font-weight: 600; box-shadow: 0 12px 30px #000c; }

/* ---------- share page ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 1200px; margin: clamp(8px, 3vw, 40px) auto 0; }
.hero-media { border-radius: 8px; overflow: hidden; background: var(--bg2); box-shadow: 0 40px 90px -30px #000, 0 0 0 1px #ffffff12; }
.hero-cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; cursor: pointer; }
.hero-media video { display: block; width: 100%; background: #000; }
.hero-media audio { display: block; width: 100%; }
.js .hero-media audio { display: none; }
.hero-text .counts { margin-top: 22px; }
.hero-desc { margin: 22px 0 0; color: #d6d6d6; font-size: 1rem; line-height: 1.65; max-width: 52ch; }
.specs { margin: 30px 0 0; max-width: 460px; border-top: 1px solid var(--line); }
.specs:not(:has(div)) { display: none; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.specs dt { color: var(--dim); }
.specs dd { margin: 0; color: var(--fg); text-align: right; }
.verify { display: inline-flex; align-items: center; gap: 6px; margin: 22px 0 0; color: var(--dim); font-size: .78rem; }
.verify svg { width: 14px; height: 14px; }
.verify.ok svg { color: var(--accent); }
.verify.bad { color: #ff8a80; }
.hero-lyrics { max-width: 460px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
.hero-lyrics summary { cursor: pointer; color: var(--mute); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
@media (max-width: 760px) {
  .hero, .feature-in { grid-template-columns: 1fr; }
  .feature-cover { max-width: 240px; }
  .top .tagline { display: none; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .art .go { width: 36px; height: 36px; }
  .section-head { flex-direction: column; gap: 4px; }
}

.qr-dialog { border: 0; border-radius: 18px; padding: 24px; background: var(--bg2); color: var(--fg); text-align: center; max-width: min(92vw, 380px); box-shadow: 0 0 0 1px var(--line), 0 40px 80px #000; }
.qr-dialog::backdrop { background: #000c; backdrop-filter: blur(8px); }
.qr-dialog canvas { width: 100%; height: auto; image-rendering: pixelated; border-radius: 10px; background: #fff; padding: 12px; }
.qr-url { font-size: .78rem; word-break: break-all; color: var(--mute); margin: 16px 0; }

.foot { margin: 96px var(--gut) 0; color: var(--dim); font-size: .78rem; }
.foot-brand { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 8px 0 48px; }
.brand-img { display: block; width: min(560px, 92%); height: auto; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.foot-links .btn { padding: 12px 22px; }
.foot-links .btn svg { width: 15px; height: 15px; margin-left: -2px; }
.btn.ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.fine { margin: -10px 0 0; max-width: 46ch; text-align: center; color: var(--dim); font-size: .74rem; line-height: 1.55; text-wrap: balance; }
.gift { padding: 2px 8px; border-radius: 99px; background: var(--accent); color: #000; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-meta p { margin: 0; }
.foot-meta a { color: var(--mute); }
.foot-meta a:hover { color: var(--fg); }
.foot-meta p:last-child { margin-left: auto; }
@media (hover: none) { .keys { display: none; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
