/* ShemenMusic v2 — see VISUAL-STYLE.md. A calm blue frame; colour comes from the covers. */
/* tokens: light by default, dark follows the device */
:root {
  --paper: #fff; --ink: #0B1A2B; --blue: #185A8C; --blue-d: #0F4370; --link: #185A8C; --sky: #DDEAF4;
  --mist: #EEF3F8; --rule: #D5E1EB; --slate: #4E6579; --on-sky: #0F4370;
  --lyr-dim: #9AABBA; --lyr-past: #6F8495; --deep: #0B1A2B; --shadow: rgba(11,26,43,.18);
  --logo-mark: #185A8C; --logo-word: #0B1A2B;
  --wrap: 1200px; --gut: clamp(16px, 4vw, 40px); --player-h: 72px;
  --r-thumb: 10px; --r-card: 14px; --r-hero: 16px; --r-panel: 24px;
  /* Apple's own San Francisco on Apple devices; Inter (its closest open match) elsewhere. Montserrat lives only in the logo. */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
}

/* dark is the default; the header toggle switches to light (remembered per browser) */

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0A1420; --ink: #EAF1F7; --blue: #2B78B4; --blue-d: #3A8AC8; --link: #7DB8E6; --sky: #17344F;
  --mist: #13202F; --rule: #223447; --slate: #93A8BB; --on-sky: #CFE4F5;
  --lyr-dim: #4F6477; --lyr-past: #7E93A6; --deep: #060D16; --shadow: rgba(0,0,0,.5);
  --logo-mark: #fff; --logo-word: #fff;
}
:root[data-theme="dark"] .art.none { background: #1B2B3D; }
:root[data-theme="dark"] .chip.on { background: var(--ink); color: var(--paper); }
:root[data-theme="dark"] .seg button.on { background: #22364B; }
:root[data-theme="dark"] .row-play { background: rgba(0,0,0,.55); }
img.art { background: #13202F; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.5 var(--font); font-feature-settings: "cv11", "ss01"; letter-spacing: -0.011em; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.has-player { padding-bottom: var(--player-h); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.07; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
mark { background: var(--sky); color: var(--on-sky); border-radius: 3px; padding: 0 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.i { width: 20px; height: 20px; flex: none; }
.yr::before, .sep::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; margin: 0 .6em; vertical-align: middle; }

/* ---------- announcement ---------- */
.announce { background: var(--blue); color: #fff; font-size: 15px; font-weight: 500; }
.announce-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-right: 48px; padding-left: 48px; text-align: center; }
.announce a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.announce-x { position: absolute; right: var(--gut); background: none; border: 0; color: inherit; opacity: .8; padding: 4px; display: grid; }
.announce { position: relative; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 68px; }
@media (max-width: 1180px) and (min-width: 861px) { .lang select { position: absolute; inset: 0; width: 100%; opacity: 0; } .lang { width: 40px; height: 40px; justify-content: center; } }
.logo { flex: none; }
.logo-svg { display: block; height: 28px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { font-weight: 600; font-size: 15px; padding: 8px 12px; white-space: nowrap; border-radius: 999px; color: var(--slate); }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a.on { color: var(--on-sky); background: var(--sky); }
.nav a.ext { color: var(--link); }
.hdr-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 260px; flex: none; height: 42px; padding: 0 14px; border-radius: 999px; background: var(--mist); color: var(--slate); }
.hdr-search:focus-within { background: var(--paper); box-shadow: inset 0 0 0 2px var(--blue); }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; color: var(--ink); }
.hdr-search input::placeholder { color: var(--slate); }
.lang { position: relative; display: flex; align-items: center; gap: 4px; color: var(--slate); }
.lang select { appearance: none; border: 0; background: none; font-weight: 600; font-size: 14px; padding: 6px 2px; cursor: pointer; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 16px; white-space: nowrap; transition: background-color .15s, color .15s; }
.btn .i { width: 20px; height: 20px; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 15px; }
.btn.sm .i { width: 18px; height: 18px; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-d); }
.btn.soft { background: var(--mist); color: var(--ink); }
.btn.soft:hover { background: var(--sky); color: var(--on-sky); }
.btn.light { background: #fff; color: #0B1A2B; }
.btn.light:hover { background: var(--sky); }
.btn.ghost-l { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn.ghost-l:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn.icon-only { width: 48px; padding: 0; }
.btn .mb { font-weight: 500; opacity: .75; }
.ic-pause { display: none; }
.is-playing .ic-play { display: none; }
.is-playing .ic-pause { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: 15px; color: var(--slate); }
.chip:hover { color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; }
.chip small { font-weight: 500; opacity: .7; }
.chips.big .chip { height: 44px; font-size: 16px; }

/* ---------- artwork ---------- */
.art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-card); background: var(--mist); }
.art.none { display: grid; place-items: end start; padding: 12%; background: var(--deep); color: #fff; overflow: hidden; }
.art.none span { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(14px, 1.6vw, 22px); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.art.sm { border-radius: var(--r-thumb); }
.art.sm.none span { font-size: 9px; }
.art.xl { border-radius: var(--r-hero); box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }
.band .art.none { background: color-mix(in srgb, var(--base, var(--deep)) 55%, #fff 12%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 24px 60px -20px rgba(0,0,0,.5); }
.art.xl.none span { font-size: clamp(22px, 3vw, 36px); }

/* ---------- cover band (the one memorable thing) ---------- */
.band { position: relative; isolation: isolate; background: var(--base, var(--deep)); color: #fff; }
.band-clip { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.band-bg { position: absolute; inset: -120px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.35); opacity: .55; }
.band-clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 40%, color-mix(in srgb, var(--base, var(--deep)) 70%, transparent) 100%); }
.band a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.hero-k { font-weight: 600; font-size: 16px; color: rgba(255,255,255,.82); display: flex; flex-wrap: wrap; align-items: center; }

/* home spotlight carousel */
.hero-car { position: relative; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track > .band { flex: 0 0 100%; scroll-snap-align: start; }
.band.hero .band-in { display: grid; grid-template-columns: minmax(240px, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: 600px; padding-top: 64px; padding-bottom: 96px; }
.hero-art { display: block; }
.hero-art .art { border-radius: var(--r-hero); box-shadow: 0 30px 70px -24px rgba(0,0,0,.6); }
.hero-art.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-art.collage .art { border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.hero-t { font-size: clamp(36px, 4.6vw, 64px); margin: 12px 0 14px; text-wrap: balance; letter-spacing: -0.025em; }
.hero-s { font-size: 17px; font-weight: 500; color: rgba(255,255,255,.85); display: flex; flex-wrap: wrap; align-items: center; }
.hero-txt { min-width: 0; }
.hero-txt .acts { margin: 26px 0 24px; }
.hero-list { list-style: none; margin: 0; padding: 0; max-width: 520px; }
.hero-list a { display: flex; gap: 16px; align-items: baseline; padding: 10px 0; font-weight: 500; color: rgba(255,255,255,.92); box-shadow: 0 1px 0 rgba(255,255,255,.16); }
.hero-list span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-list .d { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.65); }
.hero-ctl { position: absolute; left: 0; right: 0; bottom: 28px; pointer-events: none; }
.hero-ctl-in { display: flex; align-items: center; gap: 10px; }
.dots { display: flex; gap: 8px; margin-right: auto; pointer-events: auto; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .25s, background-color .25s; }
.dots button.on { width: 28px; background: #fff; }
.hero-arrow { pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; }
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.intro { padding: 72px var(--gut) 24px; }
.intro h1 { font-size: clamp(40px, 6vw, 72px); max-width: 14ch; }

/* song / album band */
.song-band .band-in { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: end; height: 340px; padding-bottom: 36px; }
.song-art { align-self: end; margin-bottom: -132px; position: relative; z-index: 2; }
.song-t { font-size: clamp(32px, 4.6vw, 56px); margin-top: 8px; text-wrap: balance; max-width: 18ch; }
.song-acts { display: grid; grid-template-columns: 300px 1fr; column-gap: 40px; padding-top: 24px; }
.song-acts > * { grid-column: 2; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; margin-top: 20px; padding: 4px; gap: 2px; border-radius: 999px; background: var(--mist); width: max-content; }
.seg button { border: 0; background: none; height: 38px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--slate); }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(11,26,43,.12); }
.seg-help { margin-top: 8px; font-size: 14px; color: var(--slate); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 24px 0 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13px; color: var(--slate); font-weight: 500; }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* song body */
.song-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 56px; padding-bottom: 72px; }
.ly-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.ly-head h2, .yt-wrap h2, .side-h { font-size: 28px; }
.ly-note { color: var(--slate); font-size: 15px; margin-bottom: 20px; }
.lyrics { font-size: 22px; line-height: 1.5; font-weight: 500; max-width: 44ch; padding-top: 8px; }
.lyrics .ln { padding: 2px 0; }
.lyrics .ln.sec { font-size: 15px; font-weight: 600; color: var(--slate); padding-top: 12px; }
.lyrics .gap { height: 22px; }
.lyrics.timed .ln { cursor: pointer; border-radius: 8px; padding: 3px 10px; margin-inline: -10px; transition: color .25s; }
.lyrics.timed .ln:hover { background: var(--mist); }
.lyrics.live .ln { color: var(--lyr-dim); }
.lyrics.live .ln.past { color: var(--lyr-past); }
.lyrics.live .ln.now { color: var(--ink); }
.ly-plain { display: none; }
.ad-slot { position: relative; margin: 40px 0; min-height: 100px; }
.ad-slot.ad-wide { min-height: 120px; }
.ad-slot.ad-rect { min-height: 280px; max-width: 336px; margin: 0 0 28px; }
.rows .ad-slot { margin: 12px 0; min-height: 100px; }
/* local preview only: show where ads will sit so the layout can be judged */
.ad-dev { display: grid; place-items: center; border-radius: 14px; background: repeating-linear-gradient(45deg, var(--mist), var(--mist) 10px, transparent 10px, transparent 20px); box-shadow: inset 0 0 0 1px var(--rule); }
.ad-dev span { font-size: 13px; font-weight: 600; color: var(--slate); letter-spacing: .02em; }
.ad-dev ins { display: none !important; }
.yt-wrap { margin-top: 48px; }
.yt-wrap h2 { margin-bottom: 16px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--ink); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.song-main > .chips { margin-top: 32px; }
.side-h { font-size: 22px; margin-bottom: 12px; }
.side { align-self: start; position: sticky; top: 92px; }

/* ---------- rows ---------- */
.rows { display: grid; }
.row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1.2fr) 52px 92px; align-items: center; gap: 16px; padding: 8px 12px; margin-inline: -12px; border-radius: 12px; min-height: 68px; }
.rows.no-album .row { grid-template-columns: 52px minmax(0, 1fr) 52px 92px; }
.row:hover, .row[aria-current] { background: var(--mist); }
.row-n { color: var(--slate); font-variant-numeric: tabular-nums; text-align: right; font-weight: 500; }
.row-art { position: relative; width: 52px; }
.row-art .art { border-radius: var(--r-thumb); }
.row-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; border-radius: var(--r-thumb); background: rgba(11,26,43,.55); color: #fff; opacity: 0; transition: opacity .15s; }
.row-play:focus-visible { opacity: 1; }
.row:hover .row-play, .row.playing .row-play { opacity: 1; }
.row-main { display: grid; min-width: 0; }
.row-main::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.row-art, .row-acts { position: relative; z-index: 1; }
.row-acts { display: flex; justify-content: flex-end; gap: 4px; }
.row-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--slate); }
.row-btn:hover { background: var(--sky); color: var(--on-sky); }
.row-btn.ghost { pointer-events: none; }
.row-btn.done { color: var(--link); }
.row-t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.playing .row-t { color: var(--link); }
.row-s, .row-al { color: var(--slate); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-snip { font-size: 14px; color: var(--slate); margin-top: 2px; }
.row-d { color: var(--slate); font-variant-numeric: tabular-nums; text-align: right; font-size: 15px; }
.rows.compact .row { min-height: 60px; grid-template-columns: 44px minmax(0, 1fr) 44px 84px; gap: 10px; }
.rows.compact .row-btn { width: 36px; height: 36px; }
.rows.compact .row-art { width: 44px; }

/* ---------- home sections ---------- */
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.sec-h h2 { font-size: clamp(26px, 3vw, 34px); }
.sec-h p { color: var(--slate); margin-top: 6px; }
.more { font-weight: 600; color: var(--link); white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.shelf, .most { padding-top: 72px; }
.shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.shelf-row::-webkit-scrollbar { display: none; }
.acard { display: grid; gap: 4px; scroll-snap-align: start; min-width: 0; }
.acard .art { margin-bottom: 8px; }
.acard-t { font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard-s { color: var(--slate); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.most .rows { grid-template-columns: 1fr 1fr; column-gap: 40px; grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
.most .row-al { display: none; }
.home main { padding-bottom: 96px; }

.prompter { margin-top: 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border-radius: var(--r-panel); background: var(--mist); padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.prompter .hero-k { color: var(--link); }
.prompter h2 { font-size: clamp(32px, 4vw, 52px); margin: 8px 0 16px; }
.prompter-txt p:not(.hero-k) { color: var(--slate); font-size: 18px; max-width: 46ch; margin-bottom: 28px; }
.prompter-demo { background: var(--deep); color: #fff; border-radius: 20px; padding: 36px 32px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.pd-l { color: rgba(255,255,255,.32); }
.pd-l.past { color: rgba(255,255,255,.55); }
.pd-l.now { color: #fff; }

/* ---------- browse ---------- */
.browse { padding-top: 48px; padding-bottom: 96px; }
.page-t { font-size: clamp(40px, 5.5vw, 64px); margin-bottom: 12px; }
.page-sub { color: var(--slate); font-size: 18px; max-width: 60ch; margin-bottom: 28px; }
.list-r { display: flex; align-items: center; gap: 16px; }
.seg.slim { margin: 0; }
.seg.slim a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--slate); }
.seg.slim a.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(11,26,43,.12); }
.big-search { display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 24px; border-radius: var(--r-panel); background: var(--mist); color: var(--slate); margin-bottom: 24px; }
.big-search .i { width: 28px; height: 28px; }
.big-search:focus-within { background: var(--paper); box-shadow: inset 0 0 0 2px var(--blue); }
.big-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.big-search input::placeholder { color: var(--slate); }
.list-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.count { color: var(--slate); font-weight: 500; }
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; font-weight: 600; color: var(--slate); }
.empty { color: var(--slate); margin-bottom: 20px; font-size: 18px; }
.alb-sec { padding-top: 24px; padding-bottom: 32px; }
.agrid, .artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 28px 20px; }
.artist { display: grid; gap: 4px; }
.artist .art { margin-bottom: 8px; }

/* collection list */
.coll-list { padding-top: 40px; padding-bottom: 96px; max-width: calc(var(--wrap)); }

/* ---------- static pages ---------- */
.prose { padding-top: 48px; padding-bottom: 96px; max-width: 760px; font-size: 18px; line-height: 1.65; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.ftr { background: var(--deep); color: rgba(255,255,255,.75); --logo-mark: #fff; --logo-word: #fff; padding: 56px 0 40px; }
.ftr-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px 48px; }
.ftr-logo { display: block; margin-bottom: 16px; }
.ftr-logo .logo-svg { height: 28px; }
.ftr-brand p { max-width: 44ch; }
.ftr-links { display: grid; gap: 10px; align-content: start; font-weight: 500; }
.ftr-links a:hover { color: #fff; }
.ftr-c { grid-column: 1 / -1; font-size: 14px; color: rgba(255,255,255,.5); padding-top: 24px; box-shadow: 0 -1px 0 rgba(255,255,255,.12); }

/* ---------- player (reserved band; nothing else ever sits here) ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--player-h); background: var(--paper); box-shadow: 0 -1px 0 var(--rule), 0 -10px 30px -12px var(--shadow); padding-bottom: env(safe-area-inset-bottom); }
.p-prog { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--mist); display: none; }
#p-fill { height: 100%; width: 0; background: var(--blue); }
.player-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto; gap: 24px; align-items: center; height: 100%; }
.p-now { display: flex; gap: 12px; align-items: center; min-width: 0; border-radius: 10px; padding: 4px; margin: -4px; }
.p-now:hover { background: var(--mist); }
.p-cover { width: 48px; flex: none; }
.p-cover .art { display: block; }
.p-cover .art { border-radius: 8px; }
.p-meta { min-width: 0; }
.p-t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-s { font-size: 14px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-ctl { display: flex; align-items: center; gap: 6px; }
.p-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.p-btn:hover { background: var(--mist); }
.p-btn.big { width: 48px; height: 48px; background: var(--blue); color: #fff; }
.p-btn.big:hover { background: var(--blue-d); }
.p-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.p-bar input { flex: 1; accent-color: var(--blue); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .shelf-row { grid-auto-columns: calc((100% - 3 * 16px) / 4.3); gap: 16px; }
  .song-body { grid-template-columns: 1fr; }
  .side { position: static; }
  .most .rows { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}
@media (max-width: 860px) {
  /* phones: one row (logo · search · theme · menu); the menu opens as a sheet */
  .hdr-in { height: 60px; gap: 6px; }
  .logo .logo-svg { height: 22px; }
  .hdr-search { margin-left: auto; width: 44px; height: 44px; padding: 0; justify-content: center; background: none; }
  .hdr-search input { width: 0; flex: 0 0 0; padding: 0; }
  .hdr-search:focus-within { position: absolute; left: 12px; right: 12px; top: 8px; width: auto; padding: 0 14px; background: var(--mist); justify-content: flex-start; z-index: 2; }
  .hdr-search:focus-within input { flex: 1; }
  .lang-d { display: none; }
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 60px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 12px 16px; background: var(--paper); box-shadow: 0 1px 0 var(--rule), 0 24px 40px -20px var(--shadow); }
  .hdr.open .nav { display: flex; }
  .nav a { font-size: 17px; padding: 12px 14px; border-radius: 12px; }
  .nav .full { display: inline; } .nav .short { display: none; }
  .lang-m { display: flex; padding: 12px 14px; gap: 10px; }
  .lang-m select { position: static; opacity: 1; width: auto; font-size: 17px; }
  .band.hero .band-in { grid-template-columns: 1fr; min-height: 640px; padding-top: 28px; padding-bottom: 84px; gap: 20px; align-content: start; }
  .hero-art { width: min(250px, 66vw); }
  .hero-list { display: none; }
  .hero-txt .acts { margin: 20px 0 0; }
  .hero-arrow { display: none; }
  .song-band .band-in { grid-template-columns: 1fr; height: auto; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .song-art { width: 180px; margin-bottom: 0; }
  .song-t { font-size: 30px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-k { font-size: 15px; }
  .song-acts { grid-template-columns: 1fr; padding-top: 20px; }
  .song-acts > * { grid-column: 1; }
  .song-body { padding-top: 40px; }
  .lyrics { font-size: 20px; }
  .shelf-row { grid-auto-columns: 42%; }
  .prompter { grid-template-columns: 1fr; }
  .row, .rows.no-album .row { grid-template-columns: 48px minmax(0, 1fr) 84px; gap: 12px; }
  .row-al, .row-d { display: none; }
  .row-art { width: 48px; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .player-in { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .p-bar, #p-prev, #p-dl { display: none; }
  .p-prog { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- centred, Apple-style composition (Joel, 1 Nov: "can we not left justify the things") ---------- */
.band.hero .band-in { grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 64px); min-height: 0; padding-top: 56px; padding-bottom: 92px; }
.band.hero .hero-txt .acts { margin: 22px 0 0; }
.hero-t { font-size: clamp(34px, 4.4vw, 60px); max-width: 16ch; }
.hero-ed { margin-top: 14px; max-width: 46ch; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.88); }
.song-band .hero-ed { margin-inline: auto; }
.hero-ctl-in { justify-content: center; }
.dots { margin-right: 0; }
.hero-arrow.prev { position: absolute; left: var(--gut); bottom: 0; }
.hero-arrow.next { position: absolute; right: var(--gut); bottom: 0; }
.hero-ctl-in { position: relative; min-height: 44px; }
.sec-h { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.sec-h p { margin-top: 2px; }
.page-t, .page-sub { text-align: center; margin-inline: auto; }
.browse .list-bar { justify-content: center; }
.big-search { max-width: 760px; margin-inline: auto; }
.song-band .band-in { grid-template-columns: 1fr; justify-items: center; text-align: center; align-items: end; height: auto; min-height: 0; padding-top: 48px; padding-bottom: 40px; gap: 24px; }
.song-art { width: clamp(200px, 22vw, 280px); margin-bottom: 0; }
.song-t { margin-inline: auto; }
.song-band .hero-k { justify-content: center; }
.song-acts { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.song-acts > * { grid-column: 1; }
.song-acts .acts, .facts { justify-content: center; }
.facts div { justify-items: center; }
.prompter { text-align: center; grid-template-columns: 1fr; justify-items: center; }
.prompter-txt p:not(.hero-k) { margin-inline: auto; }
.prompter-demo { width: min(560px, 100%); }
.ftr-in { text-align: center; grid-template-columns: 1fr; justify-items: center; }
.ftr-links { grid-auto-flow: column; gap: 24px; }
.ftr-brand p { margin-inline: auto; }
@media (max-width: 860px) {
  .ftr-links { grid-auto-flow: row; }
  .band.hero .band-in { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 76px; gap: 20px; }
  .band.hero .hero-art { width: min(240px, 64vw); }
  .band.hero .hero-list { display: none; }
}

/* header: one line, always */
.nav .short { display: none; }
.theme-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--slate); flex: none; }
.theme-btn:hover { background: var(--mist); color: var(--ink); }
.ic-sun { display: none; }
:root[data-theme="dark"] .ic-sun { display: block; }
:root[data-theme="dark"] .ic-moon { display: none; }
.hdr-in { flex-wrap: nowrap; }
.nav { flex-wrap: nowrap; flex: none; }
@media (max-width: 1240px) { .nav .full { display: none; } .nav .short { display: inline; } }
@media (max-width: 1480px) and (min-width: 861px) { .hdr-search { width: 44px; padding: 0; justify-content: center; cursor: pointer; transition: width .2s; } .hdr-search input { width: 0; flex: 0 0 0; padding: 0; } .hdr-search:focus-within { width: 260px; padding: 0 14px; justify-content: flex-start; } .hdr-search:focus-within input { flex: 1; } }

/* spotlight: an inset card, not wall to wall */
.hero-car { max-width: var(--wrap); margin: 20px auto 0; padding-inline: var(--gut); }
.hero-track { border-radius: 32px; isolation: isolate; }
.hero-car .band { border-radius: 0; }
.hero-car .band-in { padding-inline: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .hero-car { margin-top: 12px; padding-inline: 12px; } .hero-track { border-radius: 24px; } }

/* spotlight: playable track list under the buttons, controls grouped in the middle */
.band.hero .hero-list { display: block; width: min(560px, 100%); margin: 24px 0 0; }
.hero-list .row { display: flex; align-items: center; gap: 14px; min-height: 0; margin: 0; padding: 8px 4px; border-radius: 10px; box-shadow: 0 1px 0 rgba(255,255,255,.16); }
.hero-list .row:hover { background: rgba(255,255,255,.08); }
.hero-list .row-main { flex: 1; min-width: 0; display: block; }
.hero-list .row-t { color: rgba(255,255,255,.94); font-weight: 500; }
.hero-list .row.playing .row-t { color: #fff; font-weight: 700; }
.hero-list .d { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.65); position: relative; z-index: 1; }
.hl-play.row-play { position: relative; inset: auto; z-index: 1; opacity: 1; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(255,255,255,.16); }
.hl-play .i { width: 16px; height: 16px; }
.hero-list .row.playing .hl-play { background: #fff; color: #0B1A2B; }
.hero-list .row.playing .ic-play { display: none; }
.hero-list .row.playing .ic-pause { display: block; }
.hero-ctl-in { justify-content: center; gap: 14px; }
.hero-arrow.prev, .hero-arrow.next { position: static; width: 36px; height: 36px; }
.hero-arrow .i { width: 16px; height: 16px; }

/* catalogue: filters on the left, list on the right */
.cat { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: 92px; display: grid; gap: 24px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
.f-grp { display: grid; gap: 2px; }
.f-grp h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--slate); margin: 0 0 6px 10px; }
.side-opt { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.side-opt small { color: var(--slate); font-variant-numeric: tabular-nums; }
.side-opt:hover { background: var(--mist); }
.side-opt.on { background: var(--sky); color: var(--on-sky); font-weight: 600; }
.cat-main .list-bar { justify-content: flex-start; }
@media (max-width: 860px) {
  .cat { grid-template-columns: 1fr; gap: 16px; }
  .filters { position: static; max-height: none; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .f-grp { display: flex; gap: 6px; flex: none; align-items: center; }
  .f-grp h2 { display: none; }
  .f-artists { display: none; }
  .side-opt { white-space: nowrap; background: var(--mist); border-radius: 999px; padding: 7px 14px; }
}

/* lyrics panel */
.ly-dlg { width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); display: none; }
.ly-dlg[open] { display: flex; flex-direction: column; }
.ly-dlg::backdrop { background: rgba(5,10,18,.6); }
.ly-dlg-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 22px 22px 12px 26px; }
.ly-dlg-head h2 { font-size: 24px; }
.ly-dlg-head p { color: var(--slate); margin-top: 4px; }
.ly-dlg-body { overflow: auto; padding: 4px 26px 20px; font-size: 18px; line-height: 1.55; white-space: pre-line; }
.ly-dlg-foot { display: flex; gap: 10px; padding: 14px 22px 22px; box-shadow: 0 -1px 0 var(--rule); }

/* menu button only on phones; the in-menu language picker only inside the sheet */
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); flex: none; }
.menu-btn:hover { background: var(--mist); }
.lang-m { display: none; }
@media (min-width: 861px) { .nav .lang-m { display: none !important; } }
@media (max-width: 860px) { .hdr .menu-btn { display: grid; } .hdr .nav .lang-m { display: flex; } }
.nav a.ext { font-weight: 700; color: var(--link); }

/* ---------- Prompter product page: black, one blue aura (Prompter's own look rules) ---------- */
.page-prompter main { background: radial-gradient(60% 50% at 50% 0%, rgba(43,120,180,.35), transparent 70%), #05080d; color: #EAF1F7; }
.pr { max-width: 1040px; margin: 0 auto; padding: 72px var(--gut) 110px; }
.pr-hero { text-align: center; display: grid; justify-items: center; gap: 18px; padding-bottom: 72px; }
.pr-orb { width: 160px; height: 160px; }
.pr-hero h1 { font-size: clamp(56px, 9vw, 112px); letter-spacing: -0.045em; }
.pr-lede { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; max-width: 30ch; color: #C9D6E2; font-weight: 500; }
.pr-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.pr-fine { color: #8EA2B5; font-size: 15px; }
.page-prompter .btn.soft { background: rgba(255,255,255,.1); color: #fff; }
.page-prompter .btn.soft:hover { background: rgba(255,255,255,.18); }
.btn.is-disabled { opacity: .6; cursor: default; }
.pr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pr-card { border-radius: 28px; padding: 36px; background: #0E1722; display: grid; gap: 14px; align-content: start; }
.pr-card.pro { background: linear-gradient(#0E1722, #0E1722) padding-box, linear-gradient(160deg, rgba(43,120,180,.9), rgba(242,201,76,.6)) border-box; border: 1.5px solid transparent; }
.pr-card h2 { font-size: 34px; }
.pr-for { color: #8EA2B5; font-weight: 500; margin-top: -8px; }
.pr-card ul { margin: 6px 0 10px; padding-left: 20px; display: grid; gap: 8px; color: #D5E0EA; }
.pr-card .btn { justify-self: start; }
.pr-how { padding-top: 96px; text-align: center; }
.pr-how h2, .pr-faq h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 32px; }
.pr-how ol { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.pr-how li { background: #0E1722; border-radius: 22px; padding: 26px; color: #C9D6E2; line-height: 1.5; }
.pr-how b { display: block; color: #fff; font-size: 20px; margin-bottom: 6px; }
.pr-uses { padding-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pr-uses h3 { font-size: 24px; margin-bottom: 10px; }
.pr-uses p { color: #C9D6E2; }
.pr-faq { padding-top: 96px; max-width: 760px; margin: 0 auto; }
.pr-faq h2 { text-align: center; }
.pr-faq details { border-radius: 16px; background: #0E1722; margin-bottom: 10px; }
.pr-faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "+"; color: #8EA2B5; font-weight: 400; font-size: 22px; line-height: 1; }
.pr-faq details[open] summary::after { content: "–"; }
.pr-faq details p { padding: 0 22px 20px; color: #C9D6E2; line-height: 1.55; }
@media (max-width: 860px) { .pr-two, .pr-how ol, .pr-uses { grid-template-columns: 1fr; } .pr-card { padding: 26px; } }

/* spotlight buttons take the slide's own colour (Joel: "the gray is what I'm against") */
.band .btn.light { background: #fff; color: color-mix(in srgb, var(--base, #0B1A2B) 85%, #000); }
.band .btn.light:hover { background: color-mix(in srgb, var(--base) 12%, #fff); }
.band .btn.ghost-l { background: color-mix(in oklab, var(--base, #185A8C), #fff 22%); color: #fff; box-shadow: none; }
.band .btn.ghost-l:hover { background: color-mix(in oklab, var(--base, #185A8C), #fff 32%); }
.hl-play.row-play { background: color-mix(in oklab, var(--base, #185A8C), #fff 22%); }
.hero-arrow { background: color-mix(in oklab, var(--base, #185A8C), #fff 18%); }

/* when the spotlight stacks, centre cover, words and buttons */
@media (max-width: 960px) {
  .band.hero .band-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .band.hero .hero-art { width: min(280px, 66vw); }
  .band.hero .hero-k, .band.hero .hero-s, .band.hero .acts { justify-content: center; }
  .hero-t, .hero-ed { margin-inline: auto; }
  .band.hero .hero-list { text-align: left; margin-inline: auto; }
}
@media (max-width: 860px) { .band.hero .hero-list { display: none; } }

/* home Prompter panel wears Prompter's own look: black, the orb, one blue aura */
.prompter { background: radial-gradient(70% 90% at 50% 0%, rgba(43,120,180,.35), transparent 70%), #05080d; color: #EAF1F7; }
.prompter h2 { color: #fff; }
.prompter .hero-k { color: #8EC2EA; }
.prompter-txt p:not(.hero-k) { color: #C9D6E2; }
.pr-mini-orb { width: 72px; height: 72px; margin: 0 auto 6px; display: block; }
.prompter-demo { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.prompter-demo .pd-l.now { color: #F2C94C; }

/* the orb PNG sits on black: screen-blend it so only the glow shows */
.pr-orb, .pr-mini-orb { mix-blend-mode: screen; }

/* ---------- products hero ---------- */
.prods { margin-top: 20px; border-radius: 32px; padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 56px); text-align: center; color: #EAF1F7;
  background: radial-gradient(60% 70% at 50% 0%, rgba(43,120,180,.45), transparent 70%), #05080d; }
.prods-h { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto; color: #fff; }
.prods-sub { font-size: clamp(17px, 1.8vw, 21px); color: #B9C8D6; max-width: 46ch; margin: 16px auto 0; }
.prod-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.prod { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); border-radius: 24px; padding: 26px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.prod-ic { width: 64px; height: 64px; border-radius: 16px; }
.prod-ic.orb { mix-blend-mode: screen; border-radius: 0; }
.prod h3 { font-size: 22px; color: #fff; }
.prod p { color: #B9C8D6; font-size: 15px; line-height: 1.5; min-height: 3em; }
.prods .btn.soft { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 860px) { .prod-row { grid-template-columns: 1fr; } }

/* ---------- new releases rail ---------- */
.rels { padding-top: 64px; }
.rel-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(640px, 86%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rel-row::-webkit-scrollbar { display: none; }
.rel { scroll-snap-align: start; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: 26px; color: #fff; background: var(--base); }
.rel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, color-mix(in oklab, var(--base), #fff 14%), var(--base) 60%); }
.rel-art .art { border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); }
.rel-art.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rel-art.collage .art { border-radius: 8px; }
.rel h3 { font-size: 26px; letter-spacing: -0.025em; }
.rel h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.rel-s { color: rgba(255,255,255,.8); font-weight: 500; margin-top: 4px; }
.rel-ed { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.45; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rel .acts { margin-top: 16px; }
.rel .btn.light { background: #fff; color: color-mix(in srgb, var(--base) 85%, #000); }
.rel .btn.ghost-l { background: color-mix(in oklab, var(--base), #fff 22%); color: #fff; box-shadow: none; }
@media (max-width: 600px) { .rel { grid-template-columns: 1fr; } .rel-art { width: 160px; } }

/* ---------- lyrics: bold, big, centred (Prompter's presentation), still plain selectable text ---------- */
.ly-wrap { text-align: center; }
.ly-head { justify-content: center; flex-direction: column; gap: 14px; margin-bottom: 4px; }
.ly-head .acts { justify-content: center; }
.ly-note { text-align: center; }
.lyrics { max-width: 22em; margin: 0 auto; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
.lyrics .ln { padding: 5px 10px; }
.lyrics .ln.sec { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--slate); padding-top: 22px; }
.lyrics .gap { height: 18px; }
.lyrics.timed .ln { margin-inline: 0; }
.lyrics.live .ln { color: var(--lyr-dim); }
.lyrics.live .ln.past { color: var(--lyr-past); }
.lyrics.live .ln.now { color: var(--ink); transform: scale(1.04); transition: transform .25s, color .25s; }
@media (max-width: 860px) { .lyrics { font-size: 24px; } }

/* ---------- Stage ---------- */
.stage { position: fixed; inset: 0; z-index: 100; isolation: isolate; background: color-mix(in srgb, var(--base) 55%, #000); color: #fff; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.stage[hidden] { display: none; }
.stage-bg { position: absolute; inset: -140px; z-index: -1; background-size: cover; background-position: center; filter: blur(60px) saturate(1.3) brightness(.45); }
body.stage-on { overflow: hidden; }
.stage-top { display: flex; justify-content: space-between; align-items: center; padding: max(16px, env(safe-area-inset-top)) 20px 8px; }
.stage-id { display: grid; line-height: 1.25; } .stage-id b { font-size: 17px; } .stage-id span { font-size: 14px; color: rgba(255,255,255,.65); }
.stage-lines { --ss: 1; text-align: center; padding: 0 6vw; transition: transform .45s cubic-bezier(.2,.7,.2,1); will-change: transform; user-select: text; }
.stage .sln { font-size: calc(clamp(34px, 6.4vw, 92px) * var(--ss)); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .28em; color: rgba(255,255,255,.28); transition: color .3s; cursor: pointer; text-wrap: balance; }
.stage .sln.past { color: rgba(255,255,255,.2); }
.stage .sln.next { color: rgba(255,255,255,.6); }
.stage .sln.now { color: #fff; }
.stage .ssec { font-size: calc(15px * var(--ss)); font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.45); margin: 1.2em 0 .5em; }
.stage .sgap { height: calc(26px * var(--ss)); }
.stage-lines.free { overflow-y: auto; transform: none !important; padding-top: 24px; padding-bottom: 40vh; height: 100%; }
.stage-lines.free .sln { color: #fff; }
.stage-bar { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 12px 20px max(18px, env(safe-area-inset-bottom)); }
.stage-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
.stage-btn:hover { background: rgba(255,255,255,.24); }
.stage-btn.big { width: 64px; height: 64px; background: #fff; color: color-mix(in srgb, var(--base) 85%, #000); }
.stage-btn.done { background: rgba(255,255,255,.35); }
.stage .ic-pause { display: none; } .stage .is-playing .ic-play { display: none; } .stage .is-playing .ic-pause { display: block; }
@media (prefers-reduced-motion: reduce) { .stage-lines { transition: none; } }
.stage > .stage-lines { min-height: 0; align-self: start; }
.stage { grid-template-rows: auto minmax(0, 1fr) auto; }

.stage-bar { background: color-mix(in srgb, var(--base) 45%, #000); position: relative; z-index: 2; }
.stage-top { background: color-mix(in srgb, var(--base) 45%, #000); position: relative; z-index: 2; }
.dl-all-bar { display: grid; justify-items: center; gap: 8px; margin: 0 auto 26px; text-align: center; }
.dl-all-bar p { color: var(--slate); font-size: 14px; max-width: 52ch; }

/* ---------- selections ---------- */
.home-search { padding-top: 32px; }
.home-search .big-search { margin-bottom: 0; }
.sel-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sel-row::-webkit-scrollbar { display: none; }
.sel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sel { scroll-snap-align: start; display: grid; gap: 6px; padding: 12px 12px 16px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, color-mix(in oklab, var(--base), #fff 14%), var(--base) 70%); min-width: 0; }
.sel-art .art { border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.55); margin-bottom: 6px; }
.sel-t { font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sel-s { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; }
.sel:hover .sel-t { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .sel-row { grid-auto-columns: 40%; } }
@media (max-width: 600px) { .sel-row { grid-auto-columns: 62%; } }

/* Stage v2 (Joel): yellow live line like Prompter, count-in dots, soft blurred bars, labelled controls */
.stage .sln.now { color: #F2C94C; }
.stage-top, .stage-bar { background: color-mix(in srgb, var(--base) 30%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
.stage-bar { gap: 28px; align-items: flex-start; padding-top: 14px; }
.stage-ctl { display: grid; justify-items: center; gap: 6px; }
.stage-lab { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: .02em; }
.stage-lab .lab-pause { display: none; }
.stage-ctl.is-playing .lab-play { display: none; } .stage-ctl.is-playing .lab-pause { display: inline; }
.stage-ctl.is-playing .ic-play { display: none; } .stage-ctl.is-playing .ic-pause { display: block; }
.stage-size { display: flex; gap: 8px; }
.aa { font-weight: 800; font-size: 22px; line-height: 1; } .aa.sm { font-size: 14px; }
.stage-count { position: fixed; left: 0; right: 0; display: none; justify-content: center; gap: 14px; z-index: 1; pointer-events: none; }
.stage-count.on { display: flex; }
.stage-count i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background-color .2s, transform .2s; }
.stage-count i.lit { background: #F2C94C; transform: scale(1.15); }
.lyrics.live .ln.now { color: #F2C94C; }
:root[data-theme="light"] .lyrics.live .ln.now { color: #B7791F; }

/* ---------- products takeover (Apple-style) ---------- */
.tko { background: #000; color: #F5F5F7; padding: 0 0 80px; }
.tko-app { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.tko-copy { display: grid; gap: 14px; align-content: center; }
.tko-copy.center { text-align: center; justify-items: center; }
.tko-name { font-size: 20px; font-weight: 600; color: #F2C94C; }
.tko-h { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.045em; color: #fff; text-wrap: balance; }
.tko-h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.04em; color: #fff; text-wrap: balance; max-width: 18ch; }
.tko-sub { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; color: #A1A1A6; max-width: 34ch; font-weight: 500; }
.tko-ctas { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 10px; }
.tko .btn.soft { background: rgba(255,255,255,.12); color: #fff; }
.tko-soon { color: #86868B; font-size: 15px; font-weight: 500; }
.iphone { justify-self: center; width: min(330px, 78vw); aspect-ratio: 390 / 844; border-radius: 56px; padding: 11px; background: linear-gradient(145deg, #3a3a3c, #1c1c1e 40%, #2c2c2e); box-shadow: 0 0 0 1.5px #48484a, 0 50px 90px -30px rgba(242,201,76,.25), 0 40px 80px -20px rgba(0,0,0,.9); position: relative; }
.iphone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 30%; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.iphone-screen { width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: #000; }
.iphone-screen img { width: 100%; height: 100%; object-fit: cover; }
.tko-pro { display: grid; gap: 36px; padding-top: 72px; justify-items: center; }
.room { position: relative; width: 100%; max-width: 1040px; aspect-ratio: 16 / 8.2; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 30%, #1d2533, #07090d 70%); }
.led { position: absolute; left: 12%; right: 12%; top: 8%; aspect-ratio: 16 / 9; max-height: 64%; margin: 0 auto; background: #000; box-shadow: 0 0 0 6px #111, 0 0 120px rgba(242,201,76,.12); display: grid; place-items: center; overflow: hidden; }
.led img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.led-fallback { text-align: center; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(16px, 3.4vw, 40px); }
.led-fallback .dim { color: rgba(255,255,255,.35); } .led-fallback .live { color: #F2C94C; }
.led img + .led-fallback { display: none; }
.laptop { position: absolute; right: 6%; bottom: 4%; width: 44%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); }
.laptop.empty { display: none; }
.laptop-screen { aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; padding: 2.2%; background: #1c1c1e; box-shadow: inset 0 0 0 1px #3a3a3c; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.laptop-base { height: 12px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(#c7c7cc, #8e8e93); }
@media (max-width: 860px) {
  .tko-app { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 44px; }
  .tko-copy { justify-items: center; } .tko-ctas { justify-content: center; }
  .room { aspect-ratio: 4 / 3; } .led { left: 6%; right: 6%; } .laptop { width: 60%; right: 4%; }
}
.iphone-screen { padding-top: 13%; background: #0a0f1a; }
.iphone-screen img { height: auto; object-fit: contain; }

/* ---------- queue ---------- */
.row { grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1.2fr) 52px 132px; }
.rows.no-album .row { grid-template-columns: 52px minmax(0, 1fr) 52px 132px; }
.rows.compact .row { grid-template-columns: 44px minmax(0, 1fr) 44px 120px; }
@media (max-width: 860px) { .row, .rows.no-album .row { grid-template-columns: 48px minmax(0, 1fr) 124px; } }
.p-right { display: flex; gap: 4px; align-items: center; }
.p-q { position: relative; }
.q-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.q-count:empty { display: none; }
.q-panel { position: fixed; right: 16px; bottom: calc(var(--player-h) + 12px); z-index: 45; width: min(400px, calc(100vw - 32px)); max-height: min(70vh, 640px); display: flex; flex-direction: column; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--rule), 0 30px 70px -20px rgba(0,0,0,.55); }
.q-panel[hidden] { display: none; }
.q-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 8px 20px; }
.q-head h2 { font-size: 20px; }
.q-list { list-style: none; margin: 0; padding: 0 10px; overflow: auto; flex: 1; counter-reset: q; }
.q-list li { display: flex; align-items: center; gap: 6px; border-radius: 12px; padding: 2px 4px 2px 10px; }
.q-list li:hover { background: var(--mist); }
.q-list li.on { background: var(--sky); }
.q-list li::before { counter-increment: q; content: counter(q); width: 20px; color: var(--slate); font-size: 13px; font-variant-numeric: tabular-nums; }
.q-go { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 10px 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.q-acts { display: flex; } .q-acts .row-btn { width: 32px; height: 32px; font-size: 14px; }
.q-empty { padding: 8px 20px 16px; color: var(--slate); }
.q-empty[hidden] { display: none; }
.q-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; box-shadow: 0 -1px 0 var(--rule); }
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px); transform: translate(-50%, 12px); z-index: 60; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* artist portraits: round, like Apple Music; album-art fallbacks stay square */
.artist .art.face { border-radius: 50%; }
.artist { justify-items: center; text-align: center; }

/* ---------- plain words under icons (Joel: older users, low-tech settings) ---------- */
.row-btn.lbl { width: auto; min-width: 52px; height: auto; padding: 6px 6px 4px; border-radius: 12px; display: grid; justify-items: center; gap: 2px; }
.row-btn.lbl span { font-size: 11.5px; font-weight: 600; line-height: 1.1; }
.row-btn.lbl.ghost { min-width: 52px; }
.row { grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1.2fr) 52px 184px; }
.rows.no-album .row { grid-template-columns: 52px minmax(0, 1fr) 52px 184px; }
.rows.compact .row { grid-template-columns: 44px minmax(0, 1fr) 40px 172px; }
.rows.compact .row-btn.lbl { min-width: 46px; }
@media (max-width: 860px) { .row, .rows.no-album .row { grid-template-columns: 44px minmax(0, 1fr) 160px; gap: 8px; } .row-btn.lbl { min-width: 48px; padding: 6px 3px 4px; } }
.p-q { width: auto; padding: 0 12px; border-radius: 999px; gap: 6px; display: inline-flex; align-items: center; }
.p-lbl { font-size: 14px; font-weight: 600; }
.p-q .q-count { position: static; }
.hs-lbl { font-size: 15px; font-weight: 600; color: var(--slate); display: none; }
@media (max-width: 1480px) and (min-width: 861px) { .hdr-search { width: auto; padding: 0 14px; gap: 6px; } .hs-lbl { display: inline; } .hdr-search:focus-within .hs-lbl { display: none; } }
@media (max-width: 860px) { .p-lbl { display: none; } }

/* ---------- Products drop-down (Apple-style) ---------- */
.nav-prod { border: 0; background: none; font: inherit; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--link); cursor: pointer; }
.nav-prod:hover, .nav-prod[aria-expanded="true"] { background: var(--mist); }
.prod-menu { position: sticky; top: 68px; z-index: 29; background: var(--paper); box-shadow: 0 1px 0 var(--rule), 0 30px 50px -30px var(--shadow); }
.prod-menu[hidden] { display: none; }
.prod-menu-in { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; padding-top: 22px; padding-bottom: 26px; }
.pm-item { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; }
.pm-item:hover { background: var(--mist); }
.pm-item img { width: 48px; height: auto; border-radius: 9px; box-shadow: 0 0 0 3px #1c1c1e; }
.pm-item b { display: block; font-size: 18px; } .pm-item small { color: var(--slate); font-size: 14px; }
.pm-desk { width: 72px; height: 46px; border-radius: 6px; background: #000; box-shadow: 0 0 0 3px #3a3a3c, 0 8px 0 -3px #8e8e93; position: relative; flex: none; }
.pm-desk::after { content: ""; position: absolute; left: 20%; right: 20%; top: 42%; height: 4px; border-radius: 2px; background: #F2C94C; }
.pm-more { display: grid; gap: 10px; align-content: center; font-weight: 600; color: var(--link); padding-left: 20px; box-shadow: -1px 0 0 var(--rule); }
@media (max-width: 860px) { .prod-menu { top: 60px; } .prod-menu-in { grid-template-columns: 1fr; gap: 6px; } .pm-more { box-shadow: none; padding-left: 14px; } }

.dl-all-bar .btn { white-space: normal; height: auto; min-height: 48px; padding: 10px 22px; text-align: center; }
.res-h { font-size: 22px; margin: 28px 0 8px; }
