/* ==========================================================================
   Superstar Voice Play — app.css
   The studio stage (v2.1) turned into a player: black stage, red and white surfaces, Unbounded +
   Instrument Sans, the five-point star as the only ornament. The memorable piece is the halftone
   field that dances with the music (home and stage); lists and controls stay quiet.
   Motion lives behind html.motion-on (toggle in the top bar, prefers-reduced-motion respected).
   ========================================================================== */

:root {
  color-scheme: dark;
  --ink: #000000;
  --paper: #ffffff;
  --red: #ff2038;
  --red-deep: #cc0019;
  --gray: #9b9b9b;
  --mute: #a9a3a4;
  --mute-2: #7d7879;
  --text-2: #d8d2d3;
  --line: rgba(255, 255, 255, .14);
  --line-soft: rgba(255, 255, 255, .08);
  --hover: rgba(255, 255, 255, .07);
  --raise: rgba(255, 255, 255, .045);
  --display: 'Unbounded', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  --text: 'Instrument Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --rail: 264px;
  --console: 96px;
  --panel: 352px;
  --tabbar: 0px;
  --mini: 0px;
  --gutter: clamp(18px, 3.2vw, 44px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; background: var(--ink); }
body { margin: 0; height: 100%; background: var(--ink); color: #fff; font: 400 1rem/1.5 var(--text); overflow: hidden; overscroll-behavior: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { cursor: default; opacity: .45; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red-deep); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[lang="zh"], [lang="zh-CN"] .brand-zh { font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', system-ui, sans-serif; }
.i { width: 22px; height: 22px; fill: currentColor; flex: none; }
.star { width: 1em; height: 1em; fill: currentColor; flex: none; }
.star.sep { width: 7px; height: 7px; fill: var(--red); margin-inline: 8px; display: inline-block; vertical-align: middle; position: relative; top: -1px; }
.ext { width: 12px; height: 12px; margin-left: 5px; }
.ico-pause { display: none; }
.is-playing > .ico-play, html.is-playing [data-act="toggle"] .ico-play, html.is-playing .pip [data-p="toggle"] .ico-play { display: none; }
.is-playing > .ico-pause, html.is-playing [data-act="toggle"] .ico-pause, html.is-playing .pip [data-p="toggle"] .ico-pause { display: block; }
.nojs { display: none; padding: 40px var(--gutter); max-width: 900px; }
.nojs h1 { font: 800 2rem/1.1 var(--display); margin-bottom: 16px; }
.nojs ol { list-style: decimal; padding-left: 1.4em; margin-top: 16px; display: grid; gap: 8px; }
.nojs a { text-decoration: underline; }
body.svp .nojs { position: relative; z-index: 1; }
html:not(.no-js) .nojs { display: none; }

/* ---------- buttons (from the studio site) ---------- */
.button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; background: var(--red); color: #fff; font: 700 1rem/1 var(--text); overflow: hidden; transition: color .35s, transform .5s var(--ease); white-space: nowrap; }
.button::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%; background: #fff; translate: -50% -50%; transition: width .5s var(--ease), height .5s var(--ease); }
.button:hover { color: var(--red-deep); }
.button:hover::before { width: 170%; height: 420%; }
.button .i { width: 18px; height: 18px; }
.button-small { padding: 11px 18px; font-size: .9rem; }
.button-outline { background: none; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.button-outline:hover { color: var(--ink); }
.button-ghost { background: rgba(255, 255, 255, .08); color: #fff; }
.button-ghost:hover { color: var(--ink); }
.button.is-danger { background: var(--red-deep); }
.link-btn { font: 600 .9rem var(--text); color: var(--mute); border-bottom: 1px solid var(--line); padding: 2px 0; transition: color .25s, border-color .25s; }
.link-btn:hover { color: #fff; border-color: #fff; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: #cfc9ca; transition: color .2s, background .2s, transform .3s var(--ease); flex: none; position: relative; }
.icon-btn:hover { color: #fff; background: var(--hover); }
.icon-btn:active { transform: scale(.92); }
.icon-btn.is-on { color: var(--red); }
.icon-btn .i { width: 20px; height: 20px; }
.icon-lg { width: 48px; height: 48px; }
.icon-lg .i { width: 24px; height: 24px; }
.icon-xl { width: 60px; height: 60px; }
.icon-xl .i { width: 30px; height: 30px; }
.on { display: none; }
.is-on > .on { display: block; color: var(--red); }
.row-like.is-on > .i:not(.on), .np-like.is-on > .i:not(.on), .stage-like.is-on > .i:not(.on) { display: none; }
.play-big { width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease), background .25s, color .25s; flex: none; }
.play-big .i { width: 24px; height: 24px; }
.play-big .ico-play { margin-left: 3px; }
.play-big:hover { transform: scale(1.06); background: #fff; color: var(--red-deep); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .875rem/1 var(--text); color: #ffd1d6; margin-bottom: 18px; }
.kicker .star { width: 13px; height: 13px; fill: var(--red); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 600 .875rem/1 var(--text); color: var(--text-2); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.chip .i { width: 15px; height: 15px; }
.chip:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.chip[aria-pressed="true"], .chip[aria-current] { background: #fff; color: var(--ink); box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font: 600 .75rem/1 var(--text); color: #fff; margin-right: 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.seg button { padding: 8px 14px; border-radius: 999px; font: 600 .85rem/1 var(--text); color: #c9c1c2; white-space: nowrap; transition: background .25s, color .25s; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"], .seg button[aria-current] { background: #fff; color: var(--ink); }
.seg-wide { display: flex; }
.seg-wide button { flex: 1; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: transparent; cursor: pointer; --fill: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fff var(--fill), rgba(255, 255, 255, .22) var(--fill)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: #fff; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; margin-top: -4.5px; border: 0; transition: transform .2s; }
.range::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.range:hover::-webkit-slider-thumb { transform: scale(1.25); background: var(--red); }
.field { width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #fff; font-size: 1rem; }
.field:focus { outline: none; border-color: var(--red); }
.field-label { display: block; font: 600 .85rem var(--text); color: var(--mute); margin-bottom: 8px; }

/* ---------- intro (first visit of the session) ---------- */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--ink); display: grid; place-items: center; pointer-events: none; animation: intro-safety .01s 3.2s forwards; }
html:not(.intro-run) .intro { display: none; }
.intro-star .star { width: clamp(72px, 10vw, 120px); height: auto; aspect-ratio: 1; fill: var(--red); transform: scale(0); }
.intro-word { position: absolute; bottom: 7vh; left: 0; right: 0; text-align: center; font: 700 .85rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; opacity: 0; }
html.intro-run .intro-star .star { animation: star-pop .95s var(--ease-out) forwards; }
html.intro-run .intro-word { animation: word-fade 1s .25s var(--ease) forwards; }
html.intro-run .intro { animation: curtain .85s 1.15s var(--ease) forwards; }
@keyframes intro-safety { to { visibility: hidden; opacity: 0; } }
@keyframes star-pop { 0% { transform: scale(0) rotate(-90deg); } 60% { transform: scale(1.15) rotate(10deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes word-fade { to { opacity: 1; } }
@keyframes curtain { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- app frame ---------- */
.app { position: fixed; inset: 0; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr) 0; grid-template-rows: minmax(0, 1fr) var(--console); }
html.has-panel .app { grid-template-columns: var(--rail) minmax(0, 1fr) var(--panel); }
.rail { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line-soft); padding: 22px 14px 14px; gap: 22px; }
.main { grid-column: 2; grid-row: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scroll-behavior: auto; position: relative; scrollbar-width: thin; scrollbar-color: #3a3a3a transparent; }
.panel { grid-column: 3; grid-row: 1; min-height: 0; border-left: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.console { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 20; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 22px; padding: 0 20px; border-top: 1px solid var(--line-soft); background: var(--ink); }
.tabbar { display: none; }
html.no-catalog .app { grid-template-rows: minmax(0, 1fr) 0; }
html.no-catalog .console { display: none; }
.view { outline: none; min-height: calc(100% - 72px); }
.view h1:focus { outline: none; }

/* ---------- rail ---------- */
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; }
.brand img { width: 40px; height: 40px; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.brand-name { display: block; font: 700 .95rem/1 var(--display); letter-spacing: -.01em; }
.brand-zh { display: block; margin-top: 5px; font: 500 .72rem/1 var(--text); color: var(--mute); letter-spacing: .08em; }
.rail-nav { display: grid; gap: 2px; }
.rail-nav a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px; font: 600 .98rem/1 var(--text); color: var(--text-2); transition: background .2s, color .2s; position: relative; }
.rail-nav a .i { width: 22px; height: 22px; }
.rail-nav a:hover { color: #fff; background: var(--hover); }
.rail-nav a[aria-current] { color: #fff; }
.rail-nav a[aria-current]::before { content: ''; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); }
.rail-lib { flex: 1; min-height: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.rail-lib header { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px 12px; font: 600 .82rem/1 var(--text); color: var(--mute); }
.rail-lib header .icon-btn { width: 32px; height: 32px; }
.rail-lists { overflow-y: auto; min-height: 0; display: grid; align-content: start; gap: 2px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.rail-lists a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; transition: background .2s; }
.rail-lists a:hover, .rail-lists a[aria-current] { background: var(--hover); }
.rail-lists .art { width: 44px; height: 44px; border-radius: 6px; flex: none; }
.rail-lists b { display: block; font: 600 .92rem/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-lists small { display: block; margin-top: 3px; font-size: .8rem; color: var(--mute); }
.rail-lists span { min-width: 0; }
.rail-foot { display: grid; gap: 10px; }
.rail-cta { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font: 600 .9rem/1 var(--text); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.rail-cta:hover { color: #fff; background: var(--hover); }
.rail-cta .i { width: 18px; height: 18px; color: var(--red); }
.rail-admin { box-shadow: none; background: var(--red-deep); color: #fff; }
.rail-admin .i { color: #fff; }
.rail-admin:hover { background: var(--red); }
.rail-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.languages { display: flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.languages button { padding: 7px 10px; border-radius: 999px; font: 600 .78rem/1 var(--text); color: #c9c1c2; white-space: nowrap; transition: background .25s, color .25s; }
.languages button:hover { color: #fff; }
.languages button[aria-current] { background: #fff; color: var(--ink); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); padding-top: calc(14px + var(--safe-t)); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.topbar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .8); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); opacity: 0; transition: opacity .3s; }
.topbar.is-scrolled { border-bottom-color: var(--line-soft); }
.topbar.is-scrolled::before { opacity: 1; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-left { flex: 1; }
.brand-mini { display: none; padding: 0; }
.hist { width: 36px; height: 36px; background: rgba(255, 255, 255, .06); }
.topsearch { position: relative; display: flex; align-items: center; flex: 1; max-width: 440px; margin-left: 8px; }
.topsearch > .i { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--mute); pointer-events: none; }
.topsearch input { width: 100%; height: 46px; padding: 0 44px 0 46px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid transparent; color: #fff; font-size: .95rem; transition: background .25s, border-color .25s; }
.topsearch input::placeholder { color: var(--mute); }
.topsearch input:hover { background: rgba(255, 255, 255, .11); }
.topsearch input:focus { outline: none; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }
.topsearch input::-webkit-search-cancel-button { display: none; }
.topsearch kbd { position: absolute; right: 14px; padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); font: 600 .75rem/1 var(--text); color: var(--mute); }
html[data-route="buscar"] .topsearch { visibility: hidden; }
.net-badge { display: none; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--red-deep); font: 600 .8rem/1 var(--text); }
.net-badge .i { width: 16px; height: 16px; }
html.is-offline .net-badge { display: inline-flex; }
.motion-toggle { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.motion-toggle[aria-pressed="false"] { color: var(--mute-2); }
.mbars { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.mbars i { display: block; width: 2px; height: 40%; background: currentColor; border-radius: 1px; }
.mbars i:nth-child(2) { height: 100%; }
.mbars i:nth-child(3) { height: 70%; }
.mbars i:nth-child(4) { height: 55%; }
.only-narrow { display: none !important; }

/* ---------- covers ---------- */
.art { position: relative; display: block; aspect-ratio: 1; width: 100%; border-radius: 6px; overflow: hidden; background: #141414; flex: none; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art-round { border-radius: 50%; }
.art-gen { display: flex; flex-direction: column; justify-content: space-between; padding: 11%; container-type: inline-size; }
.art-black { background: var(--ink); color: var(--red); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.art-red { background: var(--red-deep); color: #fff; }
.art-white { background: var(--paper); color: var(--red-deep); }
.art-star { width: 22%; height: auto; aspect-ratio: 1; align-self: flex-end; order: 2; }
.art-title { order: 1; font: 800 clamp(.5rem, 14cqi, 2.6rem)/.95 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-title[lang="zh"] { letter-spacing: 0; line-height: 1.1; font-weight: 900; }
.art-gen::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(currentColor 1.1px, transparent 1.6px); background-size: 12px 12px; opacity: .16; mask-image: radial-gradient(circle at 82% 22%, #000 0, transparent 62%); -webkit-mask-image: radial-gradient(circle at 82% 22%, #000 0, transparent 62%); pointer-events: none; }
.rail-lists .art-gen .art-title, .row-art .art-gen .art-title, .np-cover .art-gen .art-title, .q-item .art-gen .art-title, .menu-head .art-gen .art-title { display: none; }
.rail-lists .art-gen .art-star, .row-art .art-gen .art-star, .np-cover .art-gen .art-star, .q-item .art-gen .art-star, .menu-head .art-gen .art-star { width: 46%; align-self: center; margin: auto; }
.art-liked { display: grid; place-items: center; background: var(--red-deep); color: #fff; }
.art-liked .i { width: 42%; height: 42%; }
.art-offline { display: grid; place-items: center; background: #fff; color: var(--red-deep); }
.art-offline .i { width: 46%; height: 46%; }
.art-mosaic { display: grid; grid-template-columns: 1fr 1fr; }
.art-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero (home) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(78vh, 760px); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; align-items: end; gap: 24px 32px; padding: 40px var(--gutter) 0; overflow: hidden; margin-top: -74px; padding-top: 110px; }
.halftone { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art { position: absolute; z-index: 1; right: 1vw; top: 46%; width: min(42vw, 560px); aspect-ratio: 1; translate: 0 -50%; pointer-events: none; }
.emblem { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 70px rgba(255, 32, 56, .28)); }
.hero-copy { position: relative; z-index: 2; max-width: 720px; padding-bottom: 8px; }
.hero-title { font: 800 clamp(2.4rem, 4.6vw, 4.5rem)/1 var(--display); letter-spacing: -.045em; text-wrap: balance; }
html[lang="zh-CN"] .hero-title { letter-spacing: 0; line-height: 1.15; }
.hero-desc { margin-top: 24px; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.55; color: #e6dfe0; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.ring { position: relative; z-index: 2; width: clamp(130px, 11vw, 170px); height: clamp(130px, 11vw, 170px); color: #fff; align-self: end; margin-bottom: 10px; }
.ring-text { width: 100%; height: 100%; fill: #fff; font: 600 13px var(--text); letter-spacing: .08em; transform-origin: center; }
.ring-core { position: absolute; inset: 50%; width: 56px; height: 56px; translate: -50% -50%; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.ring-core .i { width: 22px; height: 22px; fill: #fff; }
.ring-core .ico-play { margin-left: 3px; }
.ring:hover .ring-core { transform: scale(1.14); }
.ring.is-playing .ring-core .ico-play { display: none; }
.ring.is-playing .ring-core .ico-pause { display: block; }
.featured { grid-column: 1 / -1; position: relative; z-index: 2; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: center; border-top: 1px solid var(--line); margin-top: 18px; }
.featured-label { font: 600 .8125rem/1.2 var(--text); color: var(--mute); padding-right: 22px; max-width: 96px; }
.featured-track, .featured-track.card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-left: 1px solid var(--line); text-align: left; min-width: 0; color: #fff; transition: background .3s; }
.featured-track:hover { background: rgba(255, 255, 255, .04); }
.play-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: background .35s, box-shadow .35s, transform .5s var(--ease); }
.play-dot .i { width: 16px; height: 16px; }
.play-dot .ico-play { margin-left: 2px; }
.featured-track:hover .play-dot, .featured-track.is-current .play-dot { background: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: scale(1.08); }
html.is-playing .featured-track.is-current .play-dot .ico-play { display: none; }
html.is-playing .featured-track.is-current .play-dot .ico-pause { display: block; }
.featured-text { min-width: 0; flex: 1; }
.featured-text strong { display: block; font: 700 .95rem/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-text small { display: block; margin-top: 6px; font: 500 .8125rem/1.2 var(--text); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-track.is-current strong { color: var(--red); }
.eq { display: flex; align-items: center; gap: 2px; height: 22px; flex: none; }
.eq i { display: block; width: 2px; height: 30%; background: var(--red); border-radius: 1px; transform-origin: center; }
.featured-time { font: 500 .8125rem/1 var(--text); color: var(--mute); flex: none; font-variant-numeric: tabular-nums; }
.hero-empty { min-height: calc(100vh - 160px); }

/* entrance of the home stage (once) */
html.is-loading .hero .kicker, html.is-loading .hero-title, html.is-loading .hero-desc, html.is-loading .hero-actions, html.is-loading .featured, html.is-loading .ring, html.is-loading .hero-art { opacity: 0; }
html.motion-on:not(.is-loading) .hero .kicker { animation: rise .9s .05s var(--ease) both; }
html.motion-on:not(.is-loading) .hero-title { animation: line-up 1.1s .12s var(--ease-out) both; }
html.motion-on:not(.is-loading) .hero-desc { animation: rise 1s .35s var(--ease) both; }
html.motion-on:not(.is-loading) .hero-actions { animation: rise 1s .48s var(--ease) both; }
html.motion-on:not(.is-loading) .featured { animation: rise 1.1s .62s var(--ease) both; }
html.motion-on:not(.is-loading) .ring { animation: pop 1s .55s var(--ease-out) both; }
html.motion-on:not(.is-loading) .hero-art { animation: emblem-in 1.6s 0s var(--ease-out) both; }
html.motion-on .emblem { animation: emblem-float 14s ease-in-out infinite; }
html.motion-on .ring-text { animation: spin 22s linear infinite; }
html.motion-on.is-playing .ring-text { animation-duration: 9s; }
html.motion-on .featured-track:hover .eq i, html.motion-on.is-playing .featured-track.is-current .eq i { animation: equalize .8s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { animation-delay: -.2s !important; }
.eq i:nth-child(3n+1) { animation-delay: -.45s !important; }
.eq i:nth-child(4n) { animation-delay: -.6s !important; }
html.motion-on .motion-toggle .mbars i { animation: equalize .9s ease-in-out infinite alternate; }
html.motion-on .motion-toggle .mbars i:nth-child(2) { animation-delay: -.3s; }
html.motion-on .motion-toggle .mbars i:nth-child(3) { animation-delay: -.6s; }
html.motion-on .motion-toggle .mbars i:nth-child(4) { animation-delay: -.15s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { opacity: 0; transform: translateY(40px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes emblem-in { from { opacity: 0; transform: scale(1.1) translateY(30px); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes emblem-float { 0%, 100% { transform: translateY(0) rotate(-1deg) scale(1); } 50% { transform: translateY(-16px) rotate(1.2deg) scale(1.03); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes equalize { from { transform: scaleY(.3); } to { transform: scaleY(1.9); } }

/* ---------- marquee band ---------- */
.band { position: relative; z-index: 3; overflow: hidden; padding-block: 30px 34px; margin-top: 8px; }
.band-row { display: flex; overflow: hidden; white-space: nowrap; transform: rotate(-2deg) scale(1.04); }
.band-red { background: var(--red-deep); color: #fff; }
.band-white { background: var(--paper); color: var(--red-deep); margin-top: -2px; }
.band-track { display: flex; width: max-content; will-change: transform; }
.band-set { display: flex; align-items: center; gap: 34px; padding: 15px 34px 15px 0; font: 700 clamp(1rem, 1.7vw, 1.4rem)/1 var(--display); letter-spacing: -.01em; }
.band-set .star { width: .9em; height: .9em; }
html.motion-on .band-track { animation: marquee 40s linear infinite; }
html.motion-on .band-white .band-track { animation-direction: reverse; animation-duration: 46s; }
html.motion-on .band-row:hover .band-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections, shelves ---------- */
.sections { padding: 12px 0 8px; }
.shelf { padding: 26px var(--gutter) 10px; }
.page .shelf { padding-inline: 0; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shelf-title { font: 700 clamp(1.2rem, 1.7vw, 1.55rem)/1.15 var(--display); letter-spacing: -.02em; }
html[lang="zh-CN"] .shelf-title { letter-spacing: 0; }
.shelf-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.shelf-more { font: 600 .875rem/1 var(--text); color: var(--mute); margin-right: 8px; transition: color .2s; }
.shelf-more:hover { color: #fff; }
.shelf-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.shelf-btn:hover { background: rgba(255, 255, 255, .16); }
.shelf-btn .i { width: 16px; height: 16px; }
.shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15vw, 196px); gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; margin: -4px -2px 0; }
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-row > * { scroll-snap-align: start; }
.shelf-sleeves .shelf-row { grid-auto-columns: clamp(170px, 17vw, 230px); padding-top: 72px; margin-top: -60px; }
.shelf-row.is-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); overflow: visible; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 28px clamp(14px, 1.8vw, 24px); }
.grid-sleeves { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 72px 28px; padding-top: 64px; }

/* cards */
.card { position: relative; min-width: 0; display: block; }
.card-art { position: relative; border-radius: 6px; }
.card-art .art { box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.card-play { position: absolute; right: 10px; bottom: 10px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease), background .2s; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); z-index: 3; }
.card-play .i { width: 20px; height: 20px; }
.card-play .ico-play { margin-left: 2px; }
.card:hover .card-play, .card-play:focus-visible, .card-play.is-playing, .card.is-current .card-play { opacity: 1; transform: none; }
.card-play:hover { transform: scale(1.07); }
.card .bars { position: absolute; left: 10px; bottom: 12px; z-index: 3; display: none; }
html.is-playing .card.is-current .card-art .bars { display: flex; }
.card-title { display: block; margin-top: 12px; font: 600 .98rem/1.25 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.card.is-current .card-title { color: var(--red); }
.card-sub { margin-top: 4px; font-size: .86rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub a:hover { color: #fff; text-decoration: underline; }
.card-artist .card-title, .card-artist .card-sub { text-align: center; }
.card-artist .card-play { right: 4px; bottom: 4px; }
.card-new .new-list { width: 100%; aspect-ratio: 1; border-radius: 6px; display: grid; place-content: center; justify-items: center; gap: 12px; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font: 600 .95rem var(--text); transition: background .25s, color .25s, box-shadow .25s; }
.card-new .new-list .i { width: 40px; height: 40px; color: var(--red); }
.card-new .new-list:hover { background: var(--hover); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* equaliser bars (now playing marker) */
.bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { display: block; width: 3px; height: 100%; background: var(--red); border-radius: 1px; transform-origin: bottom; transform: scaleY(.45); }
html.motion-on.is-playing .bars i { animation: bar-jump .75s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -.3s !important; }
.bars i:nth-child(3) { animation-delay: -.55s !important; }
@keyframes bar-jump { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* album sleeves with vinyl (from the studio site) */
.sleeve { position: relative; display: block; color: #fff; min-width: 0; }
.sleeve:hover { z-index: 5; }
.sleeve-link { display: block; position: relative; }
.sleeve-art { position: relative; z-index: 2; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); transition: transform .8s var(--ease); }
.sleeve-art .art { border-radius: 0; height: 100%; }
.sleeve:hover .sleeve-art { transform: translateY(5%) rotate(-2deg); }
.sleeve-black .sleeve-art { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 24px 50px rgba(0, 0, 0, .55); }
.vinyl { position: absolute; z-index: 1; top: 2%; left: 2%; width: 96%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #0c0c0c 0 1.6px, #1c1c1c 1.6px 3.4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: translateY(-7%) rotate(0deg); transition: transform .9s var(--ease); }
.vinyl-label { position: absolute; inset: 35%; border-radius: 50%; background: var(--red-deep); display: grid; place-items: center; box-shadow: 0 0 0 6px #0a0a0a; }
.vinyl-label .star { width: 34%; height: 34%; fill: #fff; }
.vinyl-label::after { content: ''; position: absolute; width: 10%; height: 10%; border-radius: 50%; background: #0a0a0a; }
.sleeve-white .vinyl-label { background: #fff; }
.sleeve-white .vinyl-label .star { fill: var(--red-deep); }
.sleeve:hover .vinyl, .sleeve.is-spinning .vinyl { transform: translateY(-30%) rotate(120deg); }
html.motion-on .sleeve:hover .vinyl, html.motion-on .sleeve.is-spinning .vinyl { animation: vinyl-out-spin 5s linear infinite; }
@keyframes vinyl-out-spin { from { transform: translateY(-30%) rotate(0); } to { transform: translateY(-30%) rotate(360deg); } }
.sleeve-cover { position: relative; }
.sleeve-play { position: absolute; z-index: 4; right: 12px; bottom: 12px; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }
.sleeve-play .i { width: 20px; height: 20px; }
.sleeve-play .ico-play { margin-left: 2px; }
.sleeve:hover .sleeve-play, .sleeve-play:focus-visible, .sleeve-play.is-playing { opacity: 1; transform: none; }
.sleeve-info { display: block; margin-top: 18px; min-height: 58px; }
.sleeve-info strong { display: block; font: 700 1.02rem/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sleeve-info > span { display: flex; align-items: center; margin-top: 7px; font: 500 .85rem/1.3 var(--text); color: var(--mute); flex-wrap: wrap; }
.sleeve-info .star.sep { margin-inline: 7px; }

/* genre tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 132px; padding: 18px; border-radius: 8px; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease); }
.tile:hover { transform: translateY(-4px) rotate(-1deg); }
.tile-black { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.tile-red { background: var(--red-deep); color: #fff; }
.tile-white { background: var(--paper); color: var(--red-deep); }
.tile-name { font: 800 clamp(1.15rem, 1.6vw, 1.45rem)/1.02 var(--display); letter-spacing: -.03em; overflow-wrap: anywhere; position: relative; z-index: 1; }
.tile-name[lang="zh"] { letter-spacing: 0; }
.tile-count { font: 600 .8rem/1 var(--text); opacity: .72; position: relative; z-index: 1; }
.tile-star { position: absolute; right: -14px; bottom: -14px; width: 92px; height: 92px; opacity: .9; z-index: 0; transition: transform .8s var(--ease); }
.tile-black .tile-star { fill: var(--red); }
.tile-red .tile-star { fill: rgba(0, 0, 0, .22); }
.tile-white .tile-star { fill: var(--red); opacity: .16; }
.tile:hover .tile-star { transform: rotate(36deg) scale(1.1); }
.tile-album .tile-cover { position: absolute; right: -10px; bottom: -10px; width: 86px; transform: rotate(14deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .5); z-index: 0; }

/* ---------- track tables ---------- */
.tracks { --cols: 40px 44px minmax(0, 1fr) minmax(0, .7fr) auto; display: grid; }
.tracks.with-plays { --cols: 40px 44px minmax(0, 1fr) minmax(0, .7fr) 108px auto; }
.tracks.no-album { --cols: 40px 44px minmax(0, 1fr) auto; }
.tracks.no-album.with-plays { --cols: 40px 44px minmax(0, 1fr) 108px auto; }
.tracks.no-art { --cols: 40px minmax(0, 1fr) minmax(0, .7fr) auto; }
.tracks.no-art.with-plays { --cols: 40px minmax(0, 1fr) minmax(0, .7fr) 108px auto; }
.tracks.no-art.no-album { --cols: 40px minmax(0, 1fr) auto; }
.tracks.no-art.no-album.with-plays { --cols: 40px minmax(0, 1fr) 108px auto; }
.row { display: grid; grid-template-columns: var(--cols); align-items: center; gap: 14px; min-height: 60px; padding: 6px 12px; border-radius: 8px; cursor: default; transition: background .15s; position: relative; }
.row:hover { background: var(--hover); }
.row-head { min-height: 40px; color: var(--mute); font: 600 .8rem/1 var(--text); border-bottom: 1px solid var(--line-soft); border-radius: 0; margin-bottom: 8px; }
.row-head:hover { background: none; }
.row-head .row-end { justify-content: flex-end; padding-right: 48px; }
.row-head .i { width: 16px; height: 16px; }
.row-n { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--mute); font: 500 .95rem/1 var(--text); font-variant-numeric: tabular-nums; }
.row-play { position: absolute; inset: 2px; border-radius: 50%; display: grid; place-items: center; color: #fff; opacity: 0; transition: background .2s, opacity .15s; }
.row-play .i { width: 18px; height: 18px; margin-left: 2px; }
.row-play:hover { background: var(--red); }
.row:hover .row-play, .row-play:focus-visible { opacity: 1; }
.row:hover .row-num, .row-play:focus-visible + .bars, .row:focus-within .row-num { opacity: 0; }
.row-n .bars { position: absolute; }
html.is-playing .row.is-current .row-n .bars { display: flex; }
html.is-playing .row.is-current .row-num { opacity: 0; }
html.is-playing .row.is-current:hover .bars { display: none; }
.row.is-current .row-num { color: var(--red); }
.row-art .art { width: 44px; border-radius: 5px; }
.row-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-title { font: 600 .98rem/1.25 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; align-self: flex-start; max-width: 100%; }
.row-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.row.is-current .row-title { color: var(--red); }
.row-version { flex: none; padding: 3px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 600 .7rem/1 var(--text); color: var(--mute); }
.row-sub { display: block; font-size: .86rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.row-sub a:hover, .row-album a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.row-dl { display: none; width: 14px; height: 14px; color: var(--red); vertical-align: -2px; margin-right: 6px; }
.row.is-dl .row-dl { display: inline-block; }
.row.is-dling::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: linear-gradient(90deg, var(--red) var(--dl, 0%), rgba(255, 255, 255, .12) var(--dl, 0%)); border-radius: 2px; }
.row-album { font-size: .9rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row-plays { font-size: .88rem; color: var(--mute); font-variant-numeric: tabular-nums; text-align: right; }
.row-end { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.row-time { font-size: .88rem; color: var(--mute); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.row-like, .row-more { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); opacity: 0; transition: opacity .15s, color .2s, background .2s; }
.row-like .i, .row-more .i { width: 18px; height: 18px; }
.row:hover .row-like, .row:hover .row-more, .row-like:focus-visible, .row-more:focus-visible, .row-like.is-on { opacity: 1; }
.row-like:hover, .row-more:hover { color: #fff; background: var(--hover); }
.row-like.is-on { color: var(--red); }
.ebar .row-like { opacity: 1; width: 48px; height: 48px; }
.ebar .row-like .i { width: 24px; height: 24px; }
.rows-more { height: 1px; }
html.is-offline .row:not(.is-dl):not(.row-head) { opacity: .38; }
.popular.is-short .row:nth-child(n+6) { display: none; }
.popular + .link-btn { margin: 14px 0 0 12px; }

/* ---------- page heads ---------- */
.page { padding: 8px var(--gutter) 40px; }
.page-head { padding: 26px 0 12px; }
.page-title { font: 800 clamp(2.2rem, 4.6vw, 4rem)/1 var(--display); letter-spacing: -.045em; }
html[lang="zh-CN"] .page-title { letter-spacing: 0; }
.ehead { position: relative; display: grid; grid-template-columns: clamp(170px, 22vw, 290px) minmax(0, 1fr); align-items: end; gap: clamp(22px, 3vw, 48px); padding: 104px var(--gutter) 34px; margin-top: -74px; overflow: hidden; isolation: isolate; }
.ehead-black { background: var(--ink); }
.ehead-black::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.1px, transparent 1.6px); background-size: 16px 16px; mask-image: radial-gradient(ellipse at 85% 10%, #000 0, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 85% 10%, #000 0, transparent 60%); }
.ehead-red { background: var(--red-deep); }
.ehead-white { background: var(--paper); color: var(--ink); }
.ehead-white .kicker { color: var(--red-deep); }
.ehead-white .kicker .star { fill: var(--red-deep); }
.ehead-white .ehead-meta, .ehead-white .ehead-desc { color: #3d393a; }
.ehead-white .ehead-meta a { color: var(--ink); }
.ehead-white .star.sep { fill: var(--red-deep); }
.ehead-red .kicker { color: #fff; }
.ehead-red .kicker .star, .ehead-red .star.sep { fill: #fff; }
.ehead-red .ehead-meta, .ehead-red .ehead-desc { color: #ffe1e4; }
.ehead-art { position: relative; }
.ehead-cover { box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.ehead-text { min-width: 0; width: 100%; justify-self: stretch; padding-bottom: 6px; container-type: inline-size; }
.ehead-title { font: 800 clamp(2.2rem, 6.2vw, 6rem)/.98 var(--display); font-size: min(clamp(2.2rem, 6.2vw, 6rem), 16cqi); letter-spacing: -.045em; overflow-wrap: break-word; hyphens: auto; }
.ehead-title.is-m { font-size: clamp(2rem, 4.8vw, 4.6rem); font-size: min(clamp(2rem, 4.8vw, 4.6rem), 12.5cqi); }
.ehead-title.is-l { font-size: clamp(1.8rem, 3.8vw, 3.4rem); font-size: min(clamp(1.6rem, 3.8vw, 3.4rem), 10cqi); }
.ehead-title.is-xl { font-size: clamp(1.5rem, 2.8vw, 2.5rem); font-size: min(clamp(1.4rem, 2.8vw, 2.5rem), 7.5cqi); line-height: 1.05; }
.ehead-title[lang="zh"] { letter-spacing: 0; line-height: 1.12; font-weight: 900; }
.ehead-desc { margin-top: 16px; max-width: 62ch; color: var(--text-2); font-size: 1rem; }
.ehead-meta { display: block; margin-top: 18px; font: 500 .95rem/1.4 var(--text); color: var(--text-2); }
.ehead-meta a { color: #fff; font-weight: 600; }
.ehead-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ehead-genre { grid-template-columns: minmax(0, 1fr); min-height: 300px; }
.genre-star { position: absolute; right: -40px; top: 40px; width: min(36vw, 340px); height: auto; aspect-ratio: 1; z-index: -1; opacity: .9; }
.ehead-black .genre-star { fill: var(--red); }
.ehead-red .genre-star { fill: rgba(0, 0, 0, .22); }
.ehead-white .genre-star { fill: var(--red); opacity: .18; }
html.motion-on .genre-star { animation: spin 60s linear infinite; }
.big-sleeve { position: relative; }
.big-sleeve .sleeve-art { box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.big-sleeve .vinyl { transform: translateX(0) rotate(0); }
.ehead:hover .big-sleeve .vinyl, .ehead.is-spinning .big-sleeve .vinyl { transform: translateX(26%) rotate(90deg); }
html.motion-on .ehead.is-spinning .big-sleeve .vinyl { animation: vinyl-side-spin 4s linear infinite; }
@keyframes vinyl-side-spin { from { transform: translateX(26%) rotate(0); } to { transform: translateX(26%) rotate(360deg); } }
.ebar { display: flex; align-items: center; gap: 12px; padding: 22px var(--gutter) 14px; flex-wrap: wrap; }
.ebar .play-big { margin-right: 6px; }
.at-note { font: 600 .85rem var(--text); color: var(--mute); }
.track-lyrics { max-width: 720px; padding: 14px 0 30px; }
.track-lyrics .lyrics-text { margin-top: 18px; display: grid; gap: 6px; font: 600 clamp(1.05rem, 1.6vw, 1.35rem)/1.45 var(--text); color: var(--text-2); }
.track-lyrics .lyrics-text [data-time] { cursor: pointer; transition: color .2s; }
.track-lyrics .lyrics-text [data-time]:hover { color: #fff; }

/* ---------- search ---------- */
.search-page { padding-top: 22px; }
.bigsearch { position: relative; display: flex; align-items: center; max-width: 900px; }
.bigsearch > .i { position: absolute; left: 22px; width: 26px; height: 26px; color: var(--red); pointer-events: none; }
.bigsearch input { width: 100%; height: 78px; padding: 0 70px 0 66px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: #fff; font: 700 clamp(1.15rem, 2.2vw, 1.7rem)/1 var(--display); letter-spacing: -.02em; transition: border-color .25s, background .25s; }
.bigsearch input::placeholder { color: #6f6a6b; }
.bigsearch input:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, .09); }
.bigsearch input::-webkit-search-cancel-button { display: none; }
.bigsearch .icon-btn { position: absolute; right: 16px; }
.search-note { margin: 14px 0 6px 24px; font-size: .9rem; color: var(--mute); }
.search-hint { color: var(--mute); padding: 20px 0; }
.search-top { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.6fr); gap: 28px; padding-top: 22px; }
.best-card { position: relative; padding: 22px; border-radius: 10px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-soft); transition: background .25s; margin-top: 18px; display: block; }
.best-card:hover { background: rgba(255, 255, 255, .08); }
.best-card .art { width: 104px; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.best-title { display: block; margin-top: 22px; font: 800 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.best-sub { display: flex; align-items: center; margin-top: 12px; color: var(--mute); font-size: .92rem; }
.best-card .card-play { right: 20px; bottom: 20px; }
.best-songs .tracks { margin-top: 10px; }
.lyric-hits { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.lyric-hit { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; border-radius: 10px; background: var(--raise); }
.lyric-hit .art { width: 52px; }
.lyric-line { font: 600 1rem/1.35 var(--text); color: var(--text-2); margin-bottom: 4px; }
.lyric-line mark { background: var(--red-deep); color: #fff; padding: 0 3px; border-radius: 3px; }
.lyric-hit a { font-weight: 600; font-size: .9rem; }
.lyric-hit span { color: var(--mute); font-size: .85rem; }
.lyric-hit.is-current .lyric-line { color: #fff; }

/* ---------- explore filters ---------- */
.filters { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-tools { display: flex; align-items: center; gap: 10px; }
.mini-search { position: relative; display: flex; align-items: center; }
.mini-search .i { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--mute); pointer-events: none; }
.mini-search input { height: 38px; width: 220px; padding: 0 14px 0 36px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: #fff; font-size: .9rem; }
.mini-search input:focus { outline: none; border-color: rgba(255, 255, 255, .5); }
.select select { height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; color: #fff; font: 600 .875rem var(--text); -webkit-appearance: none; appearance: none; cursor: pointer; }
.count { font: 600 .85rem var(--text); color: var(--mute); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 26px; }
.lib-hint, .storage-note { margin-top: 22px; color: var(--mute); font-size: .92rem; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page > .ebar { padding-inline: 0; }

/* ---------- empty states ---------- */
.empty { display: grid; justify-items: start; gap: 12px; padding: 50px 0; max-width: 520px; }
.empty-star { width: 44px; height: 44px; fill: var(--red); }
html.motion-on .empty-star { animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(18deg); } }
.empty h3 { font: 700 1.4rem/1.15 var(--display); letter-spacing: -.02em; }
.empty p { color: var(--mute); }
.empty .button { margin-top: 8px; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 26px; margin: 40px var(--gutter) 0; padding: 32px 0 38px; border-top: 1px solid var(--line-soft); }
.foot img { width: 72px; height: 72px; object-fit: contain; }
.foot p strong { display: block; font: 700 1rem var(--display); }
.foot p span { display: block; color: var(--mute); font-size: .9rem; margin-top: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 .9rem var(--text); color: var(--text-2); }
.foot-links a { display: inline-flex; align-items: center; }
.foot-links a:hover { color: #fff; }
.foot small { grid-column: 1 / -1; color: var(--mute-2); font-size: .8rem; }

/* ---------- console (player bar) ---------- */
.np { display: flex; align-items: center; gap: 14px; min-width: 0; }
.np-art { position: relative; width: 60px; height: 60px; border-radius: 6px; flex: none; overflow: hidden; background: #141414; }
.np-cover, .np-cover .art { width: 100%; height: 100%; display: block; border-radius: 6px; }
.np-expand { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s; }
.np-expand .i { width: 20px; height: 20px; }
.np-art:hover .np-expand { opacity: 1; }
.np-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.np-title { font: 600 .98rem/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.np-artist { font-size: .84rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-artist a:hover { color: #fff; text-decoration: underline; }
html:not(.has-track) .np, html:not(.has-track) .extras > :not(.vol) { visibility: hidden; }
.transport { display: grid; gap: 4px; justify-items: center; min-width: 0; }
.controls { display: flex; align-items: center; gap: 14px; }
.ctl-play { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s; }
.ctl-play .i { width: 22px; height: 22px; }
.ctl-play .ico-play { margin-left: 2px; }
.ctl-play:hover { transform: scale(1.07); background: var(--red); color: #fff; }
.ctl-play .spin { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--red); opacity: 0; }
html.is-loading .ctl-play .spin, html.is-loading .np-play .spin { opacity: 1; animation: spin .8s linear infinite; }
.ctl-shuffle.is-on, .ctl-repeat.is-on { color: var(--red); }
.ctl-shuffle.is-on::after, .ctl-repeat.is-on::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.ico-one { display: none; }
.is-one .ico-rep { display: none; }
.is-one .ico-one { display: block; }
.scrub { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 10px; width: 100%; max-width: 640px; }
.time { font-size: .76rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.time-cur { text-align: right; }
.wave-host { position: relative; height: 30px; cursor: pointer; touch-action: none; }
.wave canvas { display: block; width: 100%; height: 100%; }
.wave:focus-visible { outline-offset: 4px; }
.wave-tip { position: absolute; bottom: calc(100% + 6px); left: 0; translate: -50% 0; padding: 4px 7px; border-radius: 6px; background: #fff; color: var(--ink); font: 700 .72rem/1 var(--text); font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; transition: opacity .15s; white-space: nowrap; }
.wave:hover .wave-tip { opacity: 1; }
.extras { display: flex; align-items: center; justify-content: flex-end; gap: 2px; min-width: 0; }
.extras .icon-btn[aria-pressed="true"] { color: var(--red); }
.vol { display: flex; align-items: center; gap: 4px; width: 150px; }
.vol .range { width: 100px; }
.ico-mute { display: none; }
html.is-muted .ico-vol { display: none; }
html.is-muted .ico-mute { display: block; }
.mini-progress { display: none; }
.np-play { display: none; }

/* ---------- side panel (queue, lyrics) ---------- */
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 14px 12px 18px; border-bottom: 1px solid var(--line-soft); }
.panel-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 12px 30px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.q-sec { margin-bottom: 18px; }
.q-sec h3, .q-sec header h3 { font: 700 .95rem/1.2 var(--display); letter-spacing: -.01em; padding: 8px 8px 10px; }
.q-sec header { display: flex; align-items: center; justify-content: space-between; padding-right: 8px; }
.q-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 8px; cursor: pointer; transition: background .15s; }
.q-item:hover { background: var(--hover); }
.q-item .art { width: 44px; border-radius: 5px; }
.q-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.q-text b { font: 600 .92rem/1.25 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-text span { font-size: .8rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-item.is-current b { color: var(--red); }
.q-item.is-current { cursor: default; }
html.is-playing .q-item.is-current .bars { display: flex; }
.q-time { font-size: .8rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.q-x { width: 30px; height: 30px; opacity: 0; }
.q-x .i { width: 16px; height: 16px; }
.q-item:hover .q-x, .q-x:focus-visible { opacity: 1; }
.q-note { color: var(--mute); font-size: .88rem; padding: 6px 8px; }

/* lyrics */
.ly { display: grid; gap: 4px; padding: 6px 8px 40vh; }
.ly-badge { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1.3 var(--text); color: var(--mute); margin-bottom: 14px; }
.ly-badge .star { width: 10px; height: 10px; fill: var(--red); }
.ly-line { font: 700 clamp(1.15rem, 1.5vw, 1.4rem)/1.35 var(--display); letter-spacing: -.02em; color: #7a7576; padding: 5px 0; transition: color .35s, transform .45s var(--ease), opacity .35s; transform-origin: left center; }
.ly-line[lang="zh"] { letter-spacing: 0; font-weight: 800; }
.ly:not(.is-synced) .ly-line { color: var(--text-2); font: 600 1.05rem/1.55 var(--text); letter-spacing: 0; padding: 1px 0; }
.ly.is-synced .ly-line { cursor: pointer; }
.ly.is-synced .ly-line:hover { color: #cfc9ca; }
.ly-line.is-past { color: #4d4849; }
.ly-line.is-active { color: #fff; transform: scale(1.03); }
.ly-gap { color: var(--red); }
.ly-loading { color: var(--mute); padding: 12px 8px; }

/* ---------- stage (full-screen player) ---------- */
.stage { position: fixed; inset: 0; z-index: 50; background: var(--ink); overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); clip-path: circle(0 at 50px calc(100% - 48px)); transition: clip-path .7s var(--ease); }
.stage.is-open { clip-path: circle(150% at 50px calc(100% - 48px)); }
html.motion-off .stage { transition: none; }
.stage-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stage-blur { position: absolute; inset: -12%; background: center / cover no-repeat; filter: blur(80px) saturate(1.1) brightness(.3); transform: scale(1.1); opacity: .75; transition: background-image .6s; }
.stage-field { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.stage-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px var(--gutter); padding-top: calc(16px + var(--safe-t)); }
.stage-top .icon-btn { background: rgba(0, 0, 0, .35); }
.stage-from { text-align: center; min-width: 0; display: grid; gap: 4px; }
.stage-from small { font: 600 .72rem/1 var(--text); color: var(--mute); }
.stage-context { font: 700 .92rem/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-context:hover { text-decoration: underline; }
.stage-body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 0 var(--gutter) calc(24px + var(--safe-b)); min-height: 0; }
html.stage-side-open .stage-body { grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); }
.stage-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: 0; max-width: 680px; width: 100%; justify-self: center; }
.stage-sleeve { width: min(46vh, 440px, 78vw); flex: none; }
.stage-sleeve .sleeve-art { border-radius: 8px; }
.stage-sleeve .vinyl { transform: translateX(0) rotate(0); }
html.is-playing .stage-sleeve .vinyl { transform: translateX(24%) rotate(90deg); }
html.motion-on.is-playing .stage-sleeve .vinyl { animation: vinyl-side-spin-s 3.2s linear infinite; }
@keyframes vinyl-side-spin-s { from { transform: translateX(24%) rotate(0); } to { transform: translateX(24%) rotate(360deg); } }
html.is-playing .stage-sleeve { translate: -10% 0; transition: translate .9s var(--ease); }
.stage-sleeve { transition: translate .9s var(--ease); }
.stage-meta { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.stage-names { min-width: 0; }
.stage-title { font: 800 clamp(1.7rem, 3.6vw, 3.1rem)/1.02 var(--display); letter-spacing: -.04em; overflow-wrap: anywhere; }
.stage-title.is-l, .stage-title.is-xl { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.stage-title[lang="zh"] { letter-spacing: 0; line-height: 1.15; }
.stage-artist { margin-top: 8px; font: 500 1rem/1.4 var(--text); color: var(--text-2); }
.stage-artist a:hover { color: #fff; text-decoration: underline; }
.stage-scrub { width: 100%; }
.stage-scrub .wave-host { height: 64px; }
.stage-times { display: flex; justify-content: space-between; margin-top: 6px; font-size: .8rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.stage-controls { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3vw, 26px); }
.ctl-play-xl { width: 76px; height: 76px; background: var(--red); color: #fff; }
.ctl-play-xl .i { width: 32px; height: 32px; }
.ctl-play-xl:hover { background: #fff; color: var(--red-deep); }
.stage-tools { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.tool { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; font: 600 .82rem/1 var(--text); color: var(--text-2); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.tool .i { width: 17px; height: 17px; }
.tool:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.tool.is-on { color: #fff; background: var(--red-deep); box-shadow: none; }
.stage-side { display: none; min-height: 0; flex-direction: column; gap: 14px; background: rgba(0, 0, 0, .55); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-soft); padding: 16px 12px 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html.stage-side-open .stage-side { display: flex; }
.stage-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 0 6px; }
.side-x { display: none; }
.stage-panel { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; mask-image: linear-gradient(transparent, #000 6%, #000 88%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 88%, transparent); padding-top: 12px; }
.stage-panel .ly-line { font-size: clamp(1.3rem, 2vw, 2rem); }
.stage-panel::-webkit-scrollbar { display: none; }
.stage-panel .q-item { padding-inline: 10px; }

/* ---------- menus, sheets, dialogs, toasts ---------- */
.menu-pop { position: fixed; z-index: 70; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .16s, transform .2s var(--ease); }
.menu-pop.is-open { opacity: 1; transform: none; }
.menu-box { min-width: 250px; max-width: 320px; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; border-radius: 12px; background: #161616; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 22px 60px rgba(0, 0, 0, .7); }
.menu-item, .menu-back { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 8px; font: 500 .92rem/1.2 var(--text); color: #e9e4e5; text-align: left; transition: background .15s; }
.menu-item .i, .menu-back .i { width: 18px; height: 18px; color: var(--mute); }
.menu-item:hover, .menu-item:focus-visible, .menu-back:hover { background: rgba(255, 255, 255, .09); outline: none; color: #fff; }
.menu-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-item.is-on, .menu-item.is-on .i { color: var(--red); }
.menu-item.is-danger { color: #ff8a97; }
.menu-sub { margin-left: auto; width: 14px !important; height: 14px !important; }
.menu-back { font-weight: 700; border-bottom: 1px solid var(--line-soft); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.menu-box hr { border: 0; border-top: 1px solid var(--line-soft); margin: 5px 6px; }
.menu-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; }
.menu-head .art { width: 48px; border-radius: 5px; }
.menu-head strong { display: block; font: 700 1rem/1.2 var(--text); }
.menu-head span { display: block; color: var(--mute); font-size: .85rem; margin-top: 3px; }
.menu-sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; }
.menu-sheet .menu-box { position: relative; width: 100%; max-width: none; max-height: 82vh; border-radius: 18px 18px 0 0; padding: 10px 10px calc(14px + var(--safe-b)); transform: translateY(100%); transition: transform .32s var(--ease); }
.menu-sheet .menu-box::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); margin: 2px auto 10px; }
.menu-sheet.is-open .sheet-scrim { opacity: 1; }
.menu-sheet.is-open .menu-box { transform: none; }
.menu-sheet .menu-item { padding: 14px 12px; font-size: 1rem; }
.dlg { border: 0; padding: 0; background: transparent; color: #fff; max-width: min(560px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 40px); }
.dlg::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in .35s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-box { background: #111; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .8); display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 18px 10px 24px; }
.dlg-head h2 { font: 700 1.3rem/1.15 var(--display); letter-spacing: -.02em; }
.dlg-body { padding: 8px 24px 20px; overflow-y: auto; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px 22px; border-top: 1px solid var(--line-soft); }
.dlg-text { color: var(--text-2); }
.settings section { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.settings section:last-child { border-bottom: 0; }
.settings h3 { font: 700 .95rem/1.2 var(--display); margin-bottom: 12px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; }
.set-row b { display: block; font: 600 .95rem/1.3 var(--text); }
.set-row small { display: block; color: var(--mute); font-size: .83rem; margin-top: 2px; }
.set-range { display: flex; align-items: center; gap: 10px; width: 190px; flex: none; }
.set-range output { min-width: 42px; text-align: right; font: 600 .85rem var(--text); color: var(--text-2); }
.set-note { color: var(--mute); font-size: .86rem; padding: 6px 0; }
.set-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.set-foot small { color: var(--mute-2); margin-left: auto; }
.switch { width: 48px; height: 28px; border-radius: 999px; background: rgba(255, 255, 255, .2); position: relative; flex: none; transition: background .25s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch[aria-checked="true"] { background: var(--red); }
.switch[aria-checked="true"] span { transform: translateX(20px); }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.keys div { display: flex; align-items: center; gap: 10px; }
.keys dd { color: var(--text-2); font-size: .88rem; }
kbd { display: inline-block; min-width: 26px; padding: 4px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 rgba(255, 255, 255, .15); font: 600 .78rem/1 var(--text); color: #fff; text-align: center; white-space: nowrap; }
.eq-presets { margin-bottom: 16px; }
.eq-graph { height: 110px; border-radius: 10px; background: rgba(255, 255, 255, .04); overflow: hidden; }
.eq-graph svg { width: 100%; height: 100%; }
.eq-zero { stroke: rgba(255, 255, 255, .15); stroke-dasharray: 3 4; fill: none; }
.eq-line { stroke: var(--red); stroke-width: 2.5; fill: none; vector-effect: non-scaling-stroke; }
.eq-fill { fill: rgba(255, 32, 56, .16); }
.eq-bands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; }
.eq-band { display: grid; justify-items: center; gap: 8px; }
.eq-band output { font: 700 .74rem/1 var(--text); color: var(--text-2); font-variant-numeric: tabular-nums; }
.eq-slot { position: relative; width: 36px; height: 150px; }
.eq-slot input { position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%, -50%) rotate(-90deg); --fill: 50%; }
.eq-slot input::-webkit-slider-runnable-track { background: rgba(255, 255, 255, .22); }
.eq-label { font: 600 .72rem/1 var(--text); color: var(--mute); white-space: nowrap; }
.eqx.is-off .eq-bands, .eqx.is-off .eq-graph, .eqx.is-off .eq-presets { opacity: .4; pointer-events: none; }
.install-box { display: grid; justify-items: start; gap: 14px; }
.install-box img { border-radius: 18px; }
.install-steps { list-style: decimal; padding-left: 1.3em; display: grid; gap: 6px; color: var(--text-2); }
.toasts { position: fixed; left: 50%; bottom: calc(var(--console) + 18px); z-index: 80; display: grid; gap: 8px; justify-items: center; translate: -50% 0; pointer-events: none; width: min(560px, calc(100vw - 24px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--ink); font: 600 .92rem/1.35 var(--text); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .35s var(--ease); pointer-events: auto; max-width: 100%; }
.toast.is-in { opacity: 1; transform: none; }
.toast-star { width: 13px; height: 13px; fill: var(--red-deep); }
.toast button { margin-left: 6px; font-weight: 800; color: var(--red-deep); text-decoration: underline; }
html.stage-open .toasts { bottom: calc(26px + var(--safe-b)); }

/* ---------- lyrics editor ---------- */
.dlg-lyrics { max-width: min(760px, calc(100vw - 24px)); }
.lyed { display: grid; gap: 14px; }
.lyed-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.lyed-head .art { width: 48px; border-radius: 5px; }
.lyed-head b { display: block; font: 700 1rem/1.2 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lyed-head span { display: block; color: var(--mute); font-size: .85rem; margin-top: 3px; }
.lyed-steps { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.lyed-steps li { padding: 6px 11px; border-radius: 999px; font: 600 .78rem/1 var(--text); color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); }
.lyed-steps li.is-on { background: #fff; color: var(--ink); box-shadow: none; }
.lyed-note { color: var(--text-2); font-size: .92rem; }
.lyed-text { min-height: 260px; resize: vertical; font: 500 1rem/1.6 var(--text); }
.lyed-hint { min-height: 1.2em; color: #ff8a97; font-size: .85rem; }
.lyed-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lyed-spacer { flex: 1; }
.lyed-row kbd { margin-left: 4px; color: inherit; box-shadow: inset 0 0 0 1px currentColor; opacity: .7; }
.lyed-file { cursor: pointer; }
.lyed-now { display: grid; gap: 8px; padding: 22px 20px; border-radius: 14px; background: #000; box-shadow: inset 0 0 0 1px var(--line); min-height: 150px; align-content: center; }
.lyed-time { font: 700 .82rem/1 var(--text); color: var(--red); font-variant-numeric: tabular-nums; }
.lyed-line { font: 800 clamp(1.3rem, 3.2vw, 2rem)/1.2 var(--display); letter-spacing: -.02em; }
.lyed-line[lang="zh"] { letter-spacing: 0; }
.lyed-next { color: var(--mute); font-size: .9rem; }
.lyed-pad { justify-content: center; }
.lyed-mark { padding: 16px 30px; }
.lyed-list { max-height: 200px; overflow-y: auto; display: grid; gap: 2px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: .88rem; color: var(--mute); }
.lyed-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 3px 6px; border-radius: 6px; }
.lyed-list code { font: 600 .78rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--mute-2); }
.lyed-list li.is-set { color: #fff; }
.lyed-list li.is-set code { color: var(--red); }
.lyed-list li.is-now { background: rgba(255, 32, 56, .16); color: #fff; }
.lyed-summary { display: flex; align-items: center; gap: 10px; font: 600 .95rem var(--text); }
.lyed-summary .star { width: 12px; height: 12px; fill: var(--red); }
.lyed-choices { display: grid; gap: 10px; }
.lyed-choice { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; padding: 16px; border-radius: 12px; text-align: left; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: #fff; transition: background .2s, box-shadow .2s; }
button.lyed-choice:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.lyed-choice.is-main { box-shadow: inset 0 0 0 1px rgba(255, 32, 56, .6); }
.lyed-choice > .i { color: var(--red); margin-top: 2px; }
.lyed-choice b { display: block; font: 700 1rem/1.25 var(--text); }
.lyed-choice small { display: block; color: var(--mute); font-size: .86rem; margin-top: 4px; }
.lyed-suggest > span { display: grid; gap: 8px; }
.lyed-suggest .field-label { margin: 6px 0 -2px; }
.lyed-suggest .button { justify-self: start; }
.lyed-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lyed-error { color: #ff8a97; font-size: .9rem; min-height: 1.2em; }
.ly-tools { display: flex; gap: 16px; flex-wrap: wrap; padding: 22px 0 4px; }
.ly-own { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 .8rem/1.3 var(--text); color: #ffd1d6; margin-bottom: 12px; }
.ly-own .star { width: 10px; height: 10px; fill: var(--red); }
.ly-none { color: var(--mute); }
.track-lyrics .shelf-head { margin-bottom: 4px; }
.track-lyrics .button .i { width: 16px; height: 16px; }
@media (max-width: 899px), (max-width: 1100px) and (max-height: 560px) and (pointer: coarse) {
  .lyed-text { min-height: 200px; }
  .lyed-now { min-height: 120px; padding: 18px 16px; }
  .lyed-mark { flex: 1 1 100%; order: -1; padding: 18px; }
}

/* ---------- mini player window ---------- */
.pip-body { margin: 0; background: #000; color: #fff; overflow: hidden; height: 100vh; }
.pip { height: 100vh; display: grid; grid-template-rows: minmax(0, 1fr) auto auto auto; gap: 12px; padding: 14px; }
.pip-art .art { width: 100%; height: 100%; max-height: 100%; aspect-ratio: auto; border-radius: 10px; }
.pip-art { min-height: 0; display: grid; }
.pip-text b { display: block; font: 700 1rem/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pip-text span { display: block; color: var(--mute); font-size: .85rem; margin-top: 3px; }
.pip-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.pip-bar span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.pip-controls { display: flex; align-items: center; justify-content: space-between; }

/* ---------- account: rail, top bar, messages, my account ---------- */
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 .95rem/1 var(--display); flex: none; text-transform: uppercase; }
.avatar-xl { width: clamp(78px, 9vw, 112px); height: clamp(78px, 9vw, 112px); font-size: clamp(2rem, 3.6vw, 3.1rem); box-shadow: 0 0 0 8px rgba(255, 32, 56, .16); }
.rail-user { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 12px; background: var(--raise); }
.rail-me { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; padding: 4px; border-radius: 9px; transition: background .2s; }
.rail-me:hover { background: var(--hover); }
.rail-me-text { display: grid; min-width: 0; line-height: 1.2; }
.rail-me-text b { font: 600 .9rem/1.25 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-me-text small { color: var(--mute); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-me[aria-current] .avatar { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #fff; }
.rail-login .i { color: var(--red); }
.bell .badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 .68rem/18px var(--text); text-align: center; box-shadow: 0 0 0 2px var(--ink); pointer-events: none; }
html.motion-on .bell .badge:not([hidden]) { animation: pop .5s var(--ease-out); }
.bell[aria-current] { color: #fff; background: var(--hover); }
.avatar-btn { border-radius: 50%; }
.avatar-btn .avatar { width: 32px; height: 32px; font-size: .82rem; }
.avatar-btn[aria-current] .avatar { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px #fff; }
.top-login { padding: 10px 16px; }
.top-login .i { width: 16px; height: 16px; }

.page-narrow { max-width: 900px; }
.msgs { display: grid; gap: 14px; padding-bottom: 20px; }
.msg { position: relative; padding: 20px 22px; border-radius: 18px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-soft); }
html.motion-on .msg { animation: rise .6s var(--ease-out) both; }
.msg.is-new { background: linear-gradient(135deg, rgba(255, 32, 56, .17), rgba(255, 255, 255, .035) 62%); box-shadow: inset 0 0 0 1px rgba(255, 32, 56, .38); }
.msg.is-new::before { content: ''; position: absolute; left: -1px; top: 22px; width: 4px; height: 30px; border-radius: 0 4px 4px 0; background: var(--red); }
.msg header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.msg-from { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.msg-from img { width: 28px; height: 28px; }
.msg-meta { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: .82rem; }
.msg-tag { padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 600 .72rem/1 var(--text); }
.msg-tag-new { background: var(--red); }
.msg h2 { font: 700 clamp(1.15rem, 1.6vw, 1.38rem)/1.25 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
html[lang="zh-CN"] .msg h2 { letter-spacing: 0; }
.msg-body { color: var(--text-2); line-height: 1.62; white-space: pre-line; overflow-wrap: anywhere; }
.msg-body a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.msg-body .ext { display: inline-block; vertical-align: baseline; }
.msgs-loading { padding: 40px 0; }
.spin-dot { display: block; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--red); animation: spin .8s linear infinite; }

.acc-head { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); padding: 34px 0 28px; }
.acc-id { min-width: 0; }
.acc-head .kicker { margin-bottom: 10px; }
.acc-name { font-size: clamp(2rem, 4.4vw, 3.6rem); overflow-wrap: anywhere; }
.acc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--mute); font-size: .92rem; }
.acc-meta > span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.acc-meta .i { width: 16px; height: 16px; }
.acc-card { padding: 22px; border-radius: 18px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-soft); margin-bottom: 14px; }
.acc-card h2 { font: 700 1.15rem/1.2 var(--display); letter-spacing: -.02em; }
.acc-card > p, .acc-card > div > p { color: var(--mute); margin-top: 6px; font-size: .93rem; line-height: 1.5; }
.acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.acc-stats > * { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); display: grid; gap: 6px; transition: background .2s; }
.acc-stats a:hover { background: rgba(255, 255, 255, .1); }
.acc-stats b { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1 var(--display); letter-spacing: -.03em; }
.acc-stats span { color: var(--mute); font-size: .85rem; }
.acc-sync { display: flex; gap: 8px; align-items: center; margin-top: 14px; color: #ffd1d6; font-size: .88rem; }
.acc-sync .i { width: 18px; height: 18px; color: var(--red); }
.acc-admin, .acc-out { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acc-admin { background: linear-gradient(120deg, var(--red-deep), #6d000d); box-shadow: none; }
.acc-admin > div > p { color: #ffe3e6; }
.acc-admin .button { background: #fff; color: var(--red-deep); }
.acc-form { display: grid; gap: 12px; margin-top: 16px; max-width: 640px; }
.acc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-error { color: #ff8593; font-size: .9rem; min-height: 1.3em; }
.acc-guest-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1240px) {
  .rail-user { flex-direction: column; gap: 6px; }
  .rail-me { padding: 2px; flex: none; }
  .rail-me-text { display: none; }
}
@media (max-width: 599px) {
  .acc-head { flex-direction: column; align-items: flex-start; padding-top: 18px; }
  .acc-row { grid-template-columns: 1fr; }
  .acc-stats > * { padding: 12px; }
  .msg { padding: 18px 16px; }
}

/* ---------- motion off ---------- */
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html.motion-off .band-track { animation: none !important; }

/* ---------- medium screens: icon rail ---------- */
@media (max-width: 1240px) {
  :root { --rail: 84px; }
  .rail { padding-inline: 12px; align-items: center; }
  .brand-text, .rail-nav a span, .rail-lib header span, .rail-lists span, .rail-cta span, .rail-row .languages { display: none; }
  .brand { padding: 0; }
  .rail-nav a { justify-content: center; padding: 12px; }
  .rail-nav a[aria-current]::before { left: -12px; }
  .rail-lib header { justify-content: center; padding: 0 0 10px; }
  .rail-lists a { padding: 6px; justify-content: center; }
  .rail-cta { justify-content: center; padding: 12px; }
  .rail-row { justify-content: center; }
  .console { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; }
  .vol { width: auto; }
  .vol .range { display: none; }
  html.has-panel .app { --panel: 320px; }
  .featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-label { display: none; }
  .featured-track:first-of-type { border-left: 0; padding-left: 0; }
}

/* ---------- phones and small tablets ---------- */
@media (max-width: 899px), (max-width: 1100px) and (max-height: 560px) and (pointer: coarse) {
  :root { --tabbar: 62px; --mini: 66px; --console: 0px; --gutter: 16px; }
  body { font-size: .98rem; }
  .app { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: minmax(0, 1fr); }
  .rail, .panel { display: none !important; }
  .main { grid-column: 1; padding-bottom: calc(var(--tabbar) + var(--mini) + var(--safe-b) + 8px); }
  html:not(.has-track) .main { padding-bottom: calc(var(--tabbar) + var(--safe-b) + 8px); }
  .only-narrow { display: inline-grid !important; }
  .only-wide { display: none; }
  .brand-mini { display: flex; }
  .hist, .topsearch, .topbar .motion-toggle { display: none; }
  .topbar { padding-block: 10px; padding-top: calc(10px + var(--safe-t)); }
  .console { position: fixed; left: 8px; right: 8px; bottom: calc(var(--tabbar) + var(--safe-b) + 6px); height: var(--mini); grid-template-columns: minmax(0, 1fr); padding: 0 8px 0 8px; border: 0; border-radius: 12px; background: #1b1b1b; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); overflow: hidden; z-index: 30; }
  html:not(.has-track) .console { display: none; }
  .transport, .extras { display: none; }
  .np { gap: 12px; }
  .np-art { width: 48px; height: 48px; }
  .np-expand { display: none; }
  .np-text { flex: 1; }
  .np-title { font-size: .95rem; }
  .np-play { display: grid !important; position: relative; width: 44px; height: 44px; place-items: center; color: #fff; border-radius: 50%; flex: none; }
  .np-play .i { width: 26px; height: 26px; }
  .np-play .spin { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--red); opacity: 0; }
  .np-like { flex: none; }
  .mini-progress { display: block; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
  .mini-progress span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tabbar) + var(--safe-b)); padding-bottom: var(--safe-b); background: linear-gradient(transparent, rgba(0, 0, 0, .92) 30%, #000); }
  .tabbar a { display: grid; justify-items: center; align-content: center; gap: 4px; font: 600 .7rem/1 var(--text); color: var(--mute); }
  .tabbar a .i { width: 24px; height: 24px; }
  .tabbar a[aria-current] { color: #fff; }
  .tabbar a[aria-current] .i { color: var(--red); }
  .toasts { bottom: calc(var(--tabbar) + var(--mini) + var(--safe-b) + 18px); }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 74px; margin-top: -62px; gap: 18px; }
  .hero-art { position: relative; right: auto; top: auto; translate: 0; width: min(72%, 330px); margin: 0 auto -6vw; order: -1; }
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
  .ring { position: absolute; right: var(--gutter); top: calc(60px + min(52vw, 230px)); width: 100px; height: 100px; }
  .ring-core { width: 44px; height: 44px; }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured-track { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 !important; }
  .featured-track:first-of-type { border-top: 0; }
  .band { padding-block: 22px 26px; }
  .band-set { gap: 22px; padding-right: 22px; font-size: .95rem; padding-block: 12px; }
  .shelf { padding-top: 22px; }
  .shelf-btn { display: none; }
  .shelf-row { grid-auto-columns: 42vw; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .page .shelf-row { margin-inline: calc(var(--gutter) * -1); }
  .shelf-sleeves .shelf-row { grid-auto-columns: 46vw; }
  .shelf-row.is-grid, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding-inline: 2px; }
  .tile { min-height: 104px; padding: 14px; }
  .tile-star { width: 70px; height: 70px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .grid-sleeves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .card-play { width: 42px; height: 42px; right: 8px; bottom: 8px; opacity: 1; transform: none; }
  .sleeve-play { opacity: 1; transform: none; width: 42px; height: 42px; }
  .sleeve:hover .vinyl { transform: translateY(-30%) rotate(120deg); }
  .tracks { --cols: 44px minmax(0, 1fr) auto !important; margin-inline: -8px; }
  .tracks.no-art { --cols: 28px minmax(0, 1fr) auto !important; }
  .tracks:not(.no-art) .row-n, .row-album, .row-plays, .row-head, .row-like, .row-time { display: none !important; }
  .tracks.no-art .row-n { width: 28px; }
  .row { gap: 12px; padding: 6px 8px; min-height: 60px; }
  .row:hover { background: none; }
  .row-more { opacity: 1; }
  .row-art .art { width: 48px; }
  .row-art { position: relative; }
  html.is-playing .row.is-current .row-art::after { content: ''; position: absolute; inset: 0; border-radius: 5px; background: rgba(0, 0, 0, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff2038' d='M6 18h2.6V9H6zm4.7 0h2.6V5h-2.6zm4.7 0H18v-7h-2.6z'/%3E%3C/svg%3E") center / 22px no-repeat; }
  .ehead { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 76px var(--gutter) 22px; margin-top: -62px; gap: 20px; }
  .ehead-art { width: min(62vw, 260px); justify-self: center; }
  .ehead:hover .big-sleeve .vinyl { transform: none; }
  .ehead-title { font-size: clamp(2rem, 10vw, 3rem); }
  .ehead-title.is-m { font-size: clamp(1.8rem, 8.5vw, 2.6rem); }
  .ehead-title.is-l, .ehead-title.is-xl { font-size: clamp(1.5rem, 7vw, 2.1rem); }
  .ehead-genre { min-height: 220px; }
  .ebar { padding-top: 16px; gap: 6px; }
  .ebar .play-big { order: 9; margin: 0 0 0 auto; width: 56px; height: 56px; }
  .ebar .button { order: 8; }
  .page-head { padding-top: 14px; }
  .search-page { padding-top: 6px; }
  .bigsearch input { height: 60px; padding-left: 54px; font-size: 1.05rem; }
  .bigsearch > .i { left: 18px; width: 22px; height: 22px; }
  .search-note { margin-left: 18px; font-size: .84rem; }
  .search-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filter-tools { justify-content: space-between; }
  .mini-search { flex: 1; min-width: 0; }
  .mini-search input { width: 100%; min-width: 0; }
  .filter-tools .select { flex: none; max-width: 46%; }
  .foot { grid-template-columns: auto 1fr; margin-bottom: 20px; }
  .foot-links { grid-column: 1 / -1; }

  .stage { clip-path: circle(0 at 36px calc(100% - 100px)); }
  .stage.is-open { clip-path: circle(160% at 36px calc(100% - 100px)); }
  .stage-body { grid-template-columns: minmax(0, 1fr) !important; padding-inline: 22px; }
  .stage-main { justify-content: space-evenly; gap: 14px; }
  .stage-sleeve { width: min(78vw, 46vh); }
  html.is-playing .stage-sleeve { translate: -5% 0; }
  .stage-scrub .wave-host { height: 52px; }
  .stage-tools .tool span { display: none; }
  .stage-tools .tool { padding: 11px; }
  .stage-side { position: absolute; inset: 0 12px calc(12px + var(--safe-b)); z-index: 5; background: rgba(0, 0, 0, .9); }
  .side-x { display: inline-grid; }
  html.is-playing .stage-sleeve .vinyl { transform: translateX(14%) rotate(90deg); }
  html.motion-on.is-playing .stage-sleeve .vinyl { animation-name: vinyl-side-spin-m; }
  @keyframes vinyl-side-spin-m { from { transform: translateX(14%) rotate(0); } to { transform: translateX(14%) rotate(360deg); } }
  .ctl-play-xl { width: 70px; height: 70px; }
  .dlg { max-width: calc(100vw - 16px); }
  .keys { grid-template-columns: 1fr; }
}

@media (max-width: 899px) and (max-height: 700px) {
  .stage-sleeve { width: min(60vw, 30vh); }
  .stage-main { gap: 10px; }
}

@media (hover: none) {
  .row-like, .row-more { opacity: 1; }
  .row:hover .row-num { opacity: 1; }
  .row-play { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.is-loading .hero .kicker, html.is-loading .hero-title, html.is-loading .hero-desc, html.is-loading .hero-actions, html.is-loading .featured, html.is-loading .ring, html.is-loading .hero-art { opacity: 1; }
  .stage { transition: none; }
}

/* ==========================================================================
   3.0 — Netflix + Spotify: billboard with video, video cards and rows, Top 10, watch page,
   premium, comments and the scroll story of the studio site (stacked panels, timeline,
   rotating greeting, closing with the emblem). Same stage: black, red, white and the star.
   ========================================================================== */
:root { --top: 74px; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 .8125rem/1 var(--text); color: var(--red); margin-bottom: 20px; letter-spacing: .02em; }
.label .star { width: 12px; height: 12px; }
.display { font: 800 clamp(2.1rem, 4.4vw, 4.2rem)/1.03 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.display .muted { color: var(--gray); }
.display .accent { color: var(--red); }
html[lang="zh-CN"] .display { letter-spacing: 0; line-height: 1.16; }
.paper { background: var(--paper); color: var(--ink); }
.button { transform: translate3d(var(--mx, 0), var(--my, 0), 0); }
.button-light { background: #fff; color: var(--ink); }
.button-light::before { background: var(--red); }
.button-light:hover { color: #fff; }
.button-glass { background: rgba(110, 110, 110, .42); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.button-glass::before { background: #fff; }
.button-glass:hover { color: var(--ink); }
.button-big { padding: 22px 38px; font-size: 1.05rem; }
.button .star { width: 15px; height: 15px; }

/* premium badge */
.pbadge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 7px; border-radius: 999px; background: #fff; color: var(--ink); font: 800 .64rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; flex: none; vertical-align: middle; }
.pbadge .star, .pbadge .i { width: 11px; height: 11px; fill: var(--red-deep); color: var(--red-deep); }
.pbadge-card { position: absolute; z-index: 3; left: 8px; top: 8px; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
.pbadge-row { padding: 4px 7px 4px 6px; font-size: .58rem; }
.pbadge-big { padding: 8px 13px 8px 10px; font-size: .74rem; }
.row-lock { width: 16px; height: 16px; color: var(--mute); }
.row.is-locked .row-title { color: var(--text-2); }
.row.is-locked .row-play:hover { background: #fff; color: var(--ink); }
.row-mv { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; background: rgba(255, 32, 56, .16); color: #ffb3bc; font: 800 .6rem/1 var(--display); letter-spacing: .04em; flex: none; transition: background .2s, color .2s; }
.row-mv .i { width: 12px; height: 12px; }
.row-mv:hover { background: var(--red); color: #fff; }
.card-mv { position: absolute; z-index: 3; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .65); color: #fff; backdrop-filter: blur(6px); }
.card-mv .i { width: 15px; height: 15px; }
.card .card-art .pbadge-card + .card-mv { top: 8px; }
.topbar-premium { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: linear-gradient(110deg, var(--red-deep), var(--red)); color: #fff; font: 700 .82rem/1 var(--text); white-space: nowrap; transition: transform .4s var(--ease), box-shadow .3s; box-shadow: 0 6px 20px rgba(255, 32, 56, .25); }
.topbar-premium .star { width: 12px; height: 12px; }
.topbar-premium:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 32, 56, .4); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
html[data-route="home"] .scroll-progress, html[data-route="video"] .scroll-progress { opacity: .9; }
.art-videos { display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.art-videos .i { width: 46%; height: 46%; }

/* ---------- billboard ---------- */
.bb { position: relative; isolation: isolate; height: clamp(560px, 92vh, 1000px); margin-top: calc(var(--top) * -1); overflow: hidden; background: #000; display: grid; align-items: end; }
.bb-stage { position: absolute; inset: 0; z-index: 0; }
.bb-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none; }
.bb-slide.is-on { opacity: 1; }
.bb-poster { position: absolute; inset: 0; overflow: hidden; background: #050505; }
.bb-poster img, .bb-poster .vposter { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-poster .vposter-gen { height: 100%; font-size: clamp(2rem, 6vw, 5rem); padding: 8%; }
html.motion-on .bb-slide.is-on .kb img, html.motion-on .bb-slide.is-on .kb .vposter { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.bb-video { position: absolute; inset: 0; overflow: hidden; container-type: size; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.bb.is-video .bb-hero .bb-video { opacity: 1; }
.bb.is-video .bb-hero .bb-poster { opacity: 0; transition: opacity 1.4s .2s var(--ease); }
.bb-video .yt-frame, .bb-video .file-video { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); translate: -50% -50%; border: 0; scale: 1.16; object-fit: cover; }
.bb-video .file-video { scale: 1; width: 100%; height: 100%; }
.bb-blur { position: absolute; inset: -12%; background: #111 center / cover no-repeat; filter: blur(70px) saturate(1.3) brightness(.42); transform: scale(1.1); }
.bb-art { position: absolute; z-index: 2; right: clamp(24px, 7vw, 140px); top: 47%; width: min(34vw, 470px); translate: 0 -50%; }
.bb-art .big-sleeve .vinyl { transform: translateX(0) rotate(0); transition: transform 1.2s var(--ease); }
.bb-slide.is-on .bb-art .big-sleeve .vinyl { transform: translateX(28%) rotate(90deg); }
html.motion-on .bb-slide.is-on .bb-art .big-sleeve .vinyl { animation: vinyl-side-spin-bb 6s linear infinite; }
@keyframes vinyl-side-spin-bb { from { transform: translateX(28%) rotate(0); } to { transform: translateX(28%) rotate(360deg); } }
html.motion-on .bb-slide.is-on .bb-art { animation: bb-art-in 1.3s var(--ease-out) both; }
@keyframes bb-art-in { from { opacity: 0; transform: translateX(40px) scale(.94) rotate(3deg); } to { opacity: 1; transform: none; } }
.bb-emblem { right: 4vw; top: 46%; width: min(44vw, 640px); }
.bb-field { z-index: 1; opacity: 0; transition: opacity .8s; }
.bb[data-kind="track"] .bb-field, .bb[data-kind="emblem"] .bb-field { opacity: 1; }
.bb-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 34%, rgba(0, 0, 0, 0) 64%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .62) 18%, rgba(0, 0, 0, 0) 46%), linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%); }
.bb-shade::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 0, 0, .55) 1px, transparent 1.6px); background-size: 4px 4px; opacity: .35; mix-blend-mode: multiply; }
.bb[data-kind="emblem"] .bb-shade, .bb[data-kind="track"] .bb-shade { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 30%); }
.bb[data-kind="emblem"] .bb-shade::after, .bb[data-kind="track"] .bb-shade::after { display: none; }
.bb-copies { position: relative; z-index: 3; display: grid; padding: 0 var(--gutter) clamp(96px, 13vh, 150px); max-width: min(760px, 62vw); }
.bb-copy { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.bb-copy.is-on { opacity: 1; visibility: visible; transition: opacity .7s .15s var(--ease), visibility 0s; }
html.motion-on .bb-copy.is-on > * { animation: rise .9s var(--ease-out) both; }
html.motion-on .bb-copy.is-on > :nth-child(2) { animation-delay: .08s; }
html.motion-on .bb-copy.is-on > :nth-child(3) { animation-delay: .16s; }
html.motion-on .bb-copy.is-on > :nth-child(4) { animation-delay: .24s; }
html.motion-on .bb-copy.is-on > :nth-child(5) { animation-delay: .32s; }
.bb-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 800 .76rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.bb-brand img { width: 30px; height: 30px; object-fit: contain; }
.bb-brand b { color: var(--red); letter-spacing: .1em; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .4); }
.bb-title { font: 800 clamp(2.4rem, 5.6vw, 5.6rem)/.96 var(--display); letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.bb-title.is-m { font-size: clamp(2.1rem, 4.6vw, 4.6rem); }
.bb-title.is-l { font-size: clamp(1.9rem, 3.8vw, 3.6rem); }
.bb-title.is-xl { font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.04; }
.bb-title[lang="zh"], html[lang="zh-CN"] .bb-title { letter-spacing: 0; line-height: 1.12; font-weight: 900; }
.bb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; font: 600 .9rem/1 var(--text); color: #eee6e7; }
.bb-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); font-size: .78rem; }
.bb-chip .i { width: 13px; height: 13px; }
.bb-desc { margin-top: 16px; max-width: 54ch; font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.5; color: #f1ebec; text-shadow: 0 2px 18px rgba(0, 0, 0, .8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bb-actions .button { padding: 15px 26px; }
.bb-actions .button .i { width: 20px; height: 20px; }
.bb-tools { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(96px, 13vh, 150px); display: flex; align-items: flex-end; gap: 16px; }
.bb-round { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .25); backdrop-filter: blur(6px); transition: background .25s, transform .3s var(--ease); }
.bb-round:hover { background: rgba(255, 255, 255, .18); transform: scale(1.06); }
.bb-round .i { width: 22px; height: 22px; }
.bb-sound .ico-sound-on { display: none; }
.bb.is-sound .bb-sound .ico-sound-on { display: block; }
.bb.is-sound .bb-sound .ico-mute-on { display: none; }
.bb-ring { position: relative; width: clamp(118px, 9vw, 150px); height: clamp(118px, 9vw, 150px); margin: 0; }
.bb-dots { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 30px; display: flex; gap: 10px; }
.bb-dot { flex: 1; min-width: 0; display: grid; gap: 9px; text-align: left; padding: 8px 0; color: rgba(255, 255, 255, .55); transition: color .3s; }
.bb-dot:hover, .bb-dot.is-on { color: #fff; }
.bb-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.bb-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.bb-dot.is-on .bb-bar i { background: var(--red); }
.bb-dot small { font: 600 .76rem/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.is-loading .bb-copy, html.is-loading .bb-tools, html.is-loading .bb-dots { opacity: 0; }

/* ---------- video cards, rows, grids ---------- */
.vcard { position: relative; min-width: 0; }
.vcard-art { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #111; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); isolation: isolate; }
.vcard-short .vcard-art { aspect-ratio: 9 / 16; border-radius: 12px; }
.vposter { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.vposter-gen { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 7%; container-type: inline-size; overflow: hidden; }
.vposter-gen .art-star { width: 14%; }
.vposter-gen .art-title { font-size: clamp(.6rem, 9cqi, 2.4rem); }
.vcard-short .vposter-gen .art-title { font-size: clamp(.6rem, 15cqi, 2rem); }
.vcard-art:hover .vposter, .vcard-art:focus-visible .vposter { transform: scale(1.05); }
.vcard-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent 45%); pointer-events: none; }
.vcard-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; translate: -50% -50%; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .5s var(--ease), box-shadow .5s; }
.vcard-play .i { width: 22px; height: 22px; margin-left: 3px; }
.vcard-art:hover .vcard-play, .vcard-art:focus-visible .vcard-play { opacity: 1; transform: none; box-shadow: 0 0 0 12px rgba(255, 32, 56, .22); }
.vcard-time { position: absolute; z-index: 2; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 6px; background: rgba(0, 0, 0, .78); font: 700 .72rem/1 var(--text); font-variant-numeric: tabular-nums; }
.vcard-dl { position: absolute; z-index: 2; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.vcard-dl .i { width: 14px; height: 14px; }
.vcard.is-dling .vcard-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: linear-gradient(90deg, var(--red) var(--dl, 0%), rgba(255, 255, 255, .2) var(--dl, 0%)); }
.vcard-meta { padding: 12px 2px 0; }
.vcard-title { display: block; font: 700 .98rem/1.25 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard-title:hover { color: #ffd1d6; }
.vcard-sub { margin-top: 4px; font-size: .84rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf-videos .shelf-row { grid-auto-columns: clamp(240px, 23vw, 360px); }
.shelf-shorts .shelf-row { grid-auto-columns: clamp(150px, 12.5vw, 210px); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px clamp(14px, 1.8vw, 24px); }
.vgrid-shorts { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.vgrid .vcard-short { max-width: 240px; }
.row-progress { height: 2px; margin: 4px 0 6px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.row-progress span { display: block; height: 100%; background: var(--red); transform: scaleX(.2); transform-origin: left; transition: transform .25s; }
@media (hover: hover) and (pointer: fine) {
  .shelf-row:not(.is-grid) { cursor: grab; }
  .shelf-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
  .shelf-row.is-dragging * { pointer-events: none; }
}
.vrow { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; align-items: start; padding: 6px; border-radius: 10px; transition: background .2s; }
.vrow:hover, .vrow:focus-visible { background: var(--hover); }
.vrow-art { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.vrow-art .pbadge-card { left: 5px; top: 5px; transform: scale(.85); transform-origin: left top; }
.vrow-text b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 .92rem/1.3 var(--text); }
.vrow-text small { display: block; margin-top: 5px; color: var(--mute); font-size: .8rem; }
.vrow-text .star.sep { margin-inline: 5px; }

/* Top 10 */
.t10-label { display: inline-block; margin-right: 12px; padding: 6px 9px 5px; border-radius: 6px; background: var(--red); color: #fff; font: 900 .8rem/1 var(--display); letter-spacing: .02em; vertical-align: 4px; }
.t10-row { grid-auto-columns: clamp(230px, 22vw, 320px); gap: 10px; }
.t10 { display: grid; grid-template-columns: 44% 56%; align-items: end; }
.t10-n { font: 900 clamp(8rem, 11vw, 12rem)/.74 var(--display); letter-spacing: -.08em; color: #000; -webkit-text-stroke: 3px rgba(255, 255, 255, .55); text-align: right; margin-right: -14%; position: relative; z-index: 0; user-select: none; transition: -webkit-text-stroke-color .3s, color .3s; }
.t10:hover .t10-n, .t10.is-current .t10-n { -webkit-text-stroke-color: var(--red); }
.t10 .card-art { position: relative; z-index: 1; }
.t10-text { grid-column: 1 / -1; padding-left: 44%; }
.t10:nth-child(10) .t10-n { letter-spacing: -.16em; font-size: clamp(6.6rem, 9vw, 10rem); }

/* peek */
.peek { position: fixed; z-index: 65; background: #161616; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); opacity: 0; transform: scale(var(--from, .7)); transition: opacity .2s, transform .35s var(--ease-out); pointer-events: auto; }
.peek.is-open { opacity: 1; transform: none; }
.peek-art { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.peek.is-short .peek-art { aspect-ratio: 9 / 14; }
.peek-art .vposter { width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.peek-video { position: absolute; inset: 0; container-type: size; opacity: 0; transition: opacity .8s; pointer-events: none; }
.peek-video .yt-frame, .peek-video .file-video { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); translate: -50% -50%; border: 0; scale: 1.18; object-fit: cover; }
.peek-video .file-video { width: 100%; height: 100%; scale: 1; }
.peek.is-playing .peek-video { opacity: 1; }
.peek.is-playing .peek-art .vposter { opacity: 0; }
.peek-info { padding: 14px 16px 16px; display: grid; gap: 8px; }
.peek-btns { display: flex; gap: 8px; }
.peek-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); transition: box-shadow .2s, background .2s; }
.peek-btn .i { width: 18px; height: 18px; }
.peek-btn:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }
.peek-btn.is-main { background: #fff; color: var(--ink); box-shadow: none; }
.peek-btn.is-main:hover { background: var(--red); color: #fff; }
.peek-btn.is-main .i { margin-left: 2px; }
.peek-btn.is-on { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.peek-more { margin-left: auto; }
.peek-title { font: 700 1rem/1.25 var(--display); letter-spacing: -.01em; }
.peek-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 600 .8rem/1 var(--text); color: #d6d0d1; }
.peek-sub { font-size: .8rem; color: var(--mute); }

/* ---------- watch page ---------- */
.vpage .vhead { padding: 22px var(--gutter) 4px; }
.vpage .page-title { margin-bottom: 18px; }
.vfilters { margin-bottom: 0; }
.chips-sep { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
.vresults { padding-top: 10px; }
.vresults .count { margin-bottom: 18px; }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 28px clamp(20px, 2.4vw, 36px); padding: 20px var(--gutter) 10px; align-items: start; }
html.is-theater .watch { grid-template-columns: minmax(0, 1fr); }
html.is-theater .watch-player:not(.is-short) { max-height: calc(100vh - 220px); }
html.is-theater .watch-side { max-width: none; }
html.is-theater .vrows-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 6px; }
.watch-main { min-width: 0; }
.watch-player { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); isolation: isolate; }
.watch.is-short .watch-player { aspect-ratio: 9 / 16; width: auto; height: min(78vh, 820px); margin: 0 auto; }
.watch-player:fullscreen { border-radius: 0; aspect-ratio: auto; }
.watch-poster { position: absolute; inset: 0; z-index: 0; transition: opacity .6s; }
.watch-poster .vposter { width: 100%; height: 100%; object-fit: cover; }
.watch-poster .vposter-gen { height: 100%; font-size: clamp(1.6rem, 4vw, 3.4rem); }
.watch-player.is-playing .watch-poster { opacity: 0; }
.watch-frame { position: absolute; inset: 0; z-index: 1; }
.watch-frame .yt-frame, .watch-frame .file-video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.watch-start { position: absolute; z-index: 2; left: 50%; top: 50%; width: 88px; height: 88px; translate: -50% -50%; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 32, 56, .5); transition: transform .5s var(--ease), box-shadow .6s; }
.watch-start .i { width: 34px; height: 34px; margin-left: 5px; }
.watch-start:hover { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(255, 32, 56, .2); }
html.motion-on .watch-start { animation: pulse-ring 2.4s ease-out infinite; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 32, 56, .5); } 80%, 100% { box-shadow: 0 0 0 26px rgba(255, 32, 56, 0); } }
.watch-player.is-on .watch-start { display: none; }
.watch-player.is-loading::after { content: ''; position: absolute; z-index: 3; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--red); animation: spin .8s linear infinite; pointer-events: none; }
.watch-lock { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .9)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.watch-lock-icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red-deep); margin-bottom: 6px; }
.watch-lock-icon .i { width: 30px; height: 30px; }
.watch-lock .kicker { margin: 0; }
.watch-lock h2 { font: 800 clamp(1.4rem, 2.6vw, 2.2rem)/1.1 var(--display); letter-spacing: -.03em; }
.watch-lock p:not(.kicker) { max-width: 52ch; color: var(--text-2); font-size: .95rem; }
.watch-lock-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.watch-msg { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(10, 10, 10, .9); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.watch-msg p { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .92rem; }
.watch-msg p .i { color: var(--red); }
.watch-next { display: flex; align-items: center; gap: 14px; width: 100%; flex-wrap: wrap; }
.watch-next-art { width: 120px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; flex: none; }
.watch-next > div { flex: 1; min-width: 140px; display: grid; gap: 4px; }
.watch-next small { color: var(--red); font-weight: 700; }
.watch-info { padding-top: 22px; }
.watch-info .kicker { margin-bottom: 12px; flex-wrap: wrap; }
.watch-info .kicker .pbadge { margin-left: 6px; }
.watch-title { font: 800 clamp(1.7rem, 3.4vw, 3rem)/1.04 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.watch-title.is-l, .watch-title.is-xl { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.watch-title[lang="zh"] { letter-spacing: 0; line-height: 1.15; }
.watch-meta { margin-top: 12px; color: var(--text-2); font: 500 .95rem/1.5 var(--text); }
.watch-meta a { color: #fff; font-weight: 600; }
.watch-meta a:hover { text-decoration: underline; }
.watch-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.watch-bar .button.is-on { color: var(--red); }
.watch-bar .icon-btn.is-on { color: var(--red); }
.watch-desc { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--raise); color: var(--text-2); line-height: 1.6; white-space: pre-line; }
.watch-side { min-width: 0; position: sticky; top: calc(var(--top) + 6px); }
.watch-side-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.watch-side-head .shelf-title { font-size: 1.1rem; }
.watch-auto { display: flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--text); color: var(--mute); }
.watch-auto .switch { width: 40px; height: 24px; }
.watch-auto .switch span { width: 18px; height: 18px; }
.watch-auto .switch[aria-checked="true"] span { transform: translateX(16px); }
.vrows-list { display: grid; gap: 2px; }

/* ---------- comments ---------- */
.cmts { max-width: 860px; padding: 28px 0 10px; }
.cmts .shelf-head { margin-bottom: 14px; }
.cmts-n { color: var(--mute); font-size: .8em; }
.cmt-form { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; margin-bottom: 22px; }
.cmt-form .avatar { width: 40px; height: 40px; }
.cmt-form .avatar .i { width: 20px; height: 20px; }
.cmt-form.is-reply { grid-template-columns: 32px minmax(0, 1fr); margin: 12px 0 4px; }
.cmt-form.is-reply .avatar { width: 32px; height: 32px; font-size: .8rem; }
.cmt-field { display: grid; gap: 8px; }
.cmt-field textarea { resize: none; min-height: 52px; line-height: 1.5; font-size: .98rem; border-radius: 14px; }
.field-small { padding: 10px 14px; font-size: .92rem; max-width: 320px; }
.cmt-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.cmt-actions small { margin-right: auto; color: var(--mute-2); font-size: .78rem; }
.cmt-login { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line-soft); margin-bottom: 20px; color: var(--text-2); }
.cmt-login > .i { color: var(--red); }
.cmt-login p { flex: 1; min-width: 180px; }
.cmts-list { display: grid; gap: 4px; }
.cmts-empty { color: var(--mute); padding: 8px 0 14px; }
.cmt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 12px 0; }
.cmt .avatar { width: 40px; height: 40px; }
.cmt .cmt .avatar { width: 32px; height: 32px; font-size: .8rem; }
.cmt .cmt { grid-template-columns: 32px minmax(0, 1fr); padding: 10px 0 0; }
.avatar-studio { background: #000; box-shadow: 0 0 0 1px var(--red); overflow: hidden; }
.avatar-studio img { width: 72%; height: 72%; object-fit: contain; }
html.motion-on .cmt { animation: rise .5s var(--ease-out) both; }
.cmt header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: .86rem; }
.cmt header b { font-weight: 700; font-size: .92rem; }
.cmt header time { color: var(--mute-2); }
.cmt-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: var(--red-deep); color: #fff; font: 700 .68rem/1 var(--text); }
.cmt-tag .star { width: 9px; height: 9px; }
.cmt-wait { background: rgba(255, 255, 255, .1); color: #ffd1d6; }
.cmt.is-pending > .cmt-main { opacity: .75; }
.cmt-body { margin-top: 5px; color: #eee8e9; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.cmt-body a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); }
.cmt-main footer { display: flex; gap: 14px; margin-top: 8px; }
.cmt-main footer .link-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; border: 0; }
.cmt-main footer .link-btn .i { width: 15px; height: 15px; }
.cmt-replies { border-left: 2px solid var(--line-soft); padding-left: 14px; margin-top: 6px; }
.cmt-replies:empty { display: none; }
.cmt.is-studio > .cmt-main > .cmt-body { color: #fff; }

/* ---------- premium: dialog and join section ---------- */
.dlg-premium { max-width: min(680px, calc(100vw - 24px)); }
.prem { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: start; }
.prem.is-wide { grid-template-columns: 220px minmax(0, 1fr); }
.prem-art { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.prem.is-wide .prem-art { aspect-ratio: 16 / 9; }
.prem-art .art, .prem-art .vposter { border-radius: 0; filter: saturate(.7) brightness(.7); }
.prem-lock { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%; background: #fff; color: var(--red-deep); display: grid; place-items: center; }
.prem-text .kicker { margin-bottom: 10px; }
.prem-text h3 { font: 800 1.5rem/1.1 var(--display); letter-spacing: -.03em; margin-bottom: 10px; }
.prem-text p { color: var(--text-2); font-size: .95rem; }
.prem-steps { counter-reset: s; display: grid; gap: 8px; margin-top: 16px; }
.prem-steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; font: 600 .88rem/1.3 var(--text); }
.prem-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 .74rem/1 var(--display); flex: none; }
.join { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 90px); margin: 40px var(--gutter) 20px; padding: clamp(36px, 5vw, 70px); border-radius: 28px; background: var(--red-deep); position: relative; overflow: hidden; isolation: isolate; }
.join::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.7px); background-size: 18px 18px; mask-image: radial-gradient(circle at 90% 10%, #000, transparent 60%); -webkit-mask-image: radial-gradient(circle at 90% 10%, #000, transparent 60%); }
.join .label { color: #fff; }
.join .display .accent { color: #000; }
.join-intro { margin-top: 22px; font: 500 1.08rem/1.55 var(--text); color: #ffe1e4; max-width: 44ch; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.join .button:not(.button-outline) { background: #fff; color: var(--red-deep); }
.join .button:not(.button-outline)::before { background: #000; }
.join .button:not(.button-outline):hover { color: #fff; }
.join-wall { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.join-tile { position: relative; width: 74px; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transform: rotate(var(--r, -3deg)); }
.join-tile.is-wide { width: 120px; aspect-ratio: 16 / 9; }
.join-tile:nth-child(2n) { --r: 4deg; }
.join-tile::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/%3E%3C/g%3E%3C/svg%3E") center / 22px no-repeat; }
.join-tile .art, .join-tile .vposter { border-radius: 0; }
.steps { position: relative; padding-left: 48px; }
.steps-line { position: absolute; left: 11px; top: 14px; bottom: 20px; width: 2px; background: rgba(255, 255, 255, .25); }
.steps-line span { display: block; width: 100%; height: 100%; background: #fff; transform: scaleY(var(--p, 0)); transform-origin: top; }
.step { position: relative; padding-bottom: clamp(26px, 4vw, 46px); opacity: .5; transform: translateX(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.step:last-child { padding-bottom: 0; }
.step.is-lit { opacity: 1; transform: none; }
.step-node { position: absolute; left: -48px; top: 2px; width: 24px; height: 24px; display: grid; place-items: center; }
.step-node .star { width: 16px; height: 16px; fill: rgba(0, 0, 0, .35); transition: fill .4s, transform .6s var(--ease-out); }
.step.is-lit .step-node .star { fill: #fff; transform: scale(1.3) rotate(72deg); }
.step-n { font: 600 .8rem/1 var(--text); color: #ffd1d6; margin-bottom: 10px; }
.step h3 { font: 700 clamp(1.2rem, 2vw, 1.6rem)/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.step p:last-child { color: #ffe1e4; max-width: 46ch; }

/* ---------- stacked panels (studio site) ---------- */
.apps { padding: clamp(60px, 8vw, 120px) 0 clamp(30px, 4vw, 60px); }
.apps-head { padding: 0 var(--gutter); margin-bottom: clamp(30px, 4vw, 54px); }
.stack { position: relative; }
.panel-s { position: sticky; top: calc(var(--top) + 10px); min-height: min(76vh, 700px); display: flex; align-items: center; border-radius: 28px; margin: 0 clamp(8px, 1.4vw, 24px) 26px; overflow: hidden; transform-origin: center top; transform: scale(var(--s, 1)) translateY(var(--ty, 0)); will-change: transform; }
.panel-s.panel-black { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px); background-size: 18px 18px; }
.panel-s.panel-red { background: var(--red-deep); color: #fff; }
.panel-s.panel-white { background: var(--paper); color: var(--ink); }
.panel-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: center; padding: clamp(40px, 6vw, 86px) clamp(26px, 5vw, 80px); }
.panel-tag { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font: 600 .8125rem/1 var(--text); margin-bottom: 26px; }
.panel-s h3 { font: 800 clamp(1.8rem, 3.4vw, 3.2rem)/1.04 var(--display); letter-spacing: -.035em; margin-bottom: 20px; text-wrap: balance; }
.panel-copy > p:not(.panel-tag) { font-size: 1.05rem; line-height: 1.65; max-width: 50ch; }
.panel-black .panel-copy > p:not(.panel-tag) { color: var(--mute); }
.panel-red .panel-copy > p:not(.panel-tag) { color: #ffe0e4; }
.panel-white .panel-copy > p:not(.panel-tag) { color: #5f5b5c; }
.panel-copy .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 28px; }
.panel-copy .tags li { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; opacity: .7; font: 600 .85rem/1 var(--text); }
.panel-white .button { background: var(--red-deep); }
.panel-visual { min-height: 220px; }
.visual-eq { display: flex; align-items: flex-end; gap: 5px; height: min(36vh, 320px); }
.visual-eq i { flex: 1; min-width: 0; background: var(--red); border-radius: 3px 3px 0 0; height: calc(22% + var(--h, 0%)); transform-origin: bottom; }
.visual-eq i:nth-child(3n) { --h: 46%; }
.visual-eq i:nth-child(3n+1) { --h: 18%; }
.visual-eq i:nth-child(5n) { --h: 64%; }
.visual-eq i:nth-child(7n) { --h: 32%; }
html.motion-on .panel-s .visual-eq i { animation: eq-bar 1.25s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.085s); }
html.motion-on.is-playing .panel-s .visual-eq i { animation-duration: .6s; }
@keyframes eq-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.visual-wave { position: relative; padding-block: 40px; }
.visual-wave svg { width: 100%; height: 200px; overflow: visible; }
.visual-wave path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; }
.visual-wave .wave-note { stroke-dasharray: 400; stroke-dashoffset: 400; opacity: .85; }
.panel-s.is-visible .visual-wave .wave-note, html.motion-off .visual-wave .wave-note { animation: draw .9s .2s var(--ease) forwards; }
.panel-s.is-visible .visual-wave .wave-full, html.motion-off .visual-wave .wave-full { animation: draw 2.2s .8s var(--ease) forwards; }
html.motion-off .visual-wave path { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wave-pill { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--red-deep); font: 700 .8125rem/1 var(--text); opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.wave-pill .i { width: 15px; height: 15px; }
.wave-pill-a { left: 0; top: 0; transition-delay: .3s; }
.wave-pill-b { right: 0; bottom: 0; transition-delay: 2.4s; }
.panel-s.is-visible .wave-pill, html.motion-off .wave-pill { opacity: 1; transform: none; }
.visual-glyphs { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px); justify-content: flex-end; perspective: 900px; }
.glyph { position: relative; width: clamp(80px, 9vw, 140px); aspect-ratio: 1; transform-style: preserve-3d; }
.glyph b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 20px; font: 800 clamp(2.2rem, 4.6vw, 4.2rem)/1 var(--display); backface-visibility: hidden; background: var(--ink); color: #fff; }
.glyph b + b { transform: rotateY(180deg); background: var(--red-deep); }
html.motion-on .panel-s.is-visible .glyph { animation: flip 7s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes flip { 0%, 38% { transform: rotateY(0); } 50%, 88% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
html.motion-off .panel-s { transform: none !important; }

/* ---------- languages: Hola. Hello. 你好。 ---------- */
.langs { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 160px) var(--gutter); margin-top: 20px; }
.langs-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 5vw, 90px); align-items: end; }
.langs .label { color: var(--red-deep); }
.greeting { position: relative; height: 1.16em; overflow: hidden; font: 800 clamp(4rem, 10.5vw, 10rem)/1.12 var(--display); letter-spacing: -.055em; }
.greeting-word { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(70%); transition: transform .9s var(--ease), opacity .5s; white-space: nowrap; }
.greeting-word.is-on { opacity: 1; transform: none; }
.greeting-word.is-out { opacity: 0; transform: translateY(-70%); }
.greeting-word[lang="es"] { color: var(--red-deep); }
.greeting-word[lang="en"] { color: var(--ink); }
.greeting-word[lang="zh"] { color: #3d5cff; letter-spacing: -.02em; font-weight: 900; }
.language-cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: clamp(24px, 4vw, 44px); border-top: 1px solid rgba(0, 0, 0, .12); }
.language-cols a { position: relative; padding: 22px 46px 8px 0; display: block; }
.language-cols a::before { content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 3px; background: var(--red-deep); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.language-cols a.is-visible::before { transform: scaleX(1); }
.language-cols a:nth-child(3)::before { background: #3d5cff; }
.language-cols h3 { font: 700 1.25rem/1.2 var(--display); margin-bottom: 8px; }
.language-cols p { color: #5f5b5c; }
.lang-go { position: absolute; right: 0; top: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); transition: background .3s, color .3s, transform .5s var(--ease); }
.lang-go .i { width: 16px; height: 16px; }
.language-cols a:hover .lang-go { background: var(--red-deep); color: #fff; transform: translateX(4px); box-shadow: none; }
.burst { position: absolute; right: -10%; bottom: -30%; width: min(42vw, 460px); height: auto; fill: var(--gray); opacity: .2; pointer-events: none; transform: rotate(var(--rot, 0deg)); }

/* ---------- closing ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 13vw, 200px) var(--gutter) clamp(50px, 7vw, 100px); text-align: center; }
.closing-emblem { position: absolute; z-index: -1; left: 50%; top: 44%; width: min(80vw, 780px); height: auto; translate: -50% -50%; opacity: .4; pointer-events: none; filter: drop-shadow(0 0 90px rgba(255, 32, 56, .3)); transform: translateY(var(--py, 0)); }
.closing .label { justify-content: center; text-shadow: 0 2px 16px rgba(0, 0, 0, .9); }
.closing-title { font: 800 clamp(2.8rem, 9vw, 8.4rem)/.95 var(--display); letter-spacing: -.045em; text-transform: uppercase; margin-bottom: 26px; }
html[lang="zh-CN"] .closing-title { letter-spacing: 0; line-height: 1.12; }
.letters .ch { display: inline-block; }
html.motion-on .letters .ch { opacity: 0; transform: translateY(.5em) rotate(6deg); transition: opacity .7s var(--ease), transform .9s var(--ease-out); transition-delay: calc(var(--i) * 40ms); }
html.motion-on .is-visible .letters .ch { opacity: 1; transform: none; }
.closing-desc { max-width: 52ch; margin-inline: auto; color: #f1ecec; font-size: 1.1rem; text-shadow: 0 2px 22px rgba(0, 0, 0, .9); }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.social-list { margin: clamp(50px, 7vw, 90px) auto 0; max-width: 900px; text-align: left; border-top: 1px solid var(--line); }
.social-list a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.social-list a:hover { padding-left: 12px; color: #ffd1d6; }
.social-list a > .i:first-child { width: 26px; height: 26px; }
.social-list strong { display: block; font: 700 1.02rem/1.2 var(--display); }
.social-list small { display: block; margin-top: 4px; color: var(--mute); font-size: .85rem; }

/* ---------- reveals, cursor ---------- */
html.motion-on .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
html.motion-on .reveal.is-visible { opacity: 1; transform: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { html.has-cursor.motion-on .cursor { display: block; } }
.cursor-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin: -3.5px 0 0 -3.5px; transform: translate3d(-100px, -100px, 0); }
.cursor-ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); display: grid; place-items: center; transform: translate3d(-100px, -100px, 0); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s; mix-blend-mode: difference; }
.cursor-text { opacity: 0; font: 800 .72rem/1 var(--display); color: #fff; letter-spacing: .04em; transition: opacity .2s; text-transform: uppercase; }
.cursor.is-link .cursor-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.cursor.is-text .cursor-ring { opacity: 0; }
.cursor.is-play .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--red); border-color: var(--red); mix-blend-mode: normal; }
.cursor.is-play .cursor-text { opacity: 1; }
.cursor.is-play .cursor-dot { opacity: 0; }
html.stage-open .cursor, html:has(dialog[open]) .cursor { display: none !important; }

/* ---------- misc ---------- */
.tile-cat .tile-icon { position: absolute; right: 12px; bottom: 12px; width: 54px; height: 54px; opacity: .35; }
.best-card.is-video .best-poster { display: block; width: 190px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
.menu-head .menu-poster { width: 78px; height: auto; aspect-ratio: 16 / 9; border-radius: 5px; object-fit: cover; flex: none; }
.menu-head .vposter-gen.menu-poster { padding: 6px; }
.tabbar { grid-template-columns: repeat(5, 1fr) !important; }
.shelf-premium .shelf-title::before { content: '★ '; color: var(--red); }
html.no-tracks .console { display: none; }
html.no-tracks .app { grid-template-rows: minmax(0, 1fr) 0; }
html.has-track.no-tracks .console { display: grid; }

/* focus for remotes and keyboards: what is focused is unmistakable from the sofa */
.vcard-art:focus-visible, .card-art .card-play:focus-visible, .sleeve-link:focus-visible, .tile:focus-visible, .vrow:focus-visible, .bb-dot:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.vcard:focus-within .vcard-art { transform: scale(1.03); transition: transform .4s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .watch { grid-template-columns: minmax(0, 1fr); }
  .watch-side { position: static; }
  .vrows-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px; }
  .join { grid-template-columns: minmax(0, 1fr); }
  .bb-copies { max-width: min(700px, 72vw); }
  .bb-art { width: min(32vw, 380px); }
  .topbar-premium span { display: none; }
  .topbar-premium { padding: 10px; }
}
@media (max-width: 899px), (max-width: 1100px) and (max-height: 560px) and (pointer: coarse) {
  :root { --top: 62px; }
  .bb { height: auto; min-height: min(86svh, 820px); margin-top: calc(var(--top) * -1); }
  .bb-copies { max-width: none; padding: 0 var(--gutter) 84px; min-height: 0; }
  .bb-title { font-size: clamp(2rem, 9.5vw, 3.3rem); }
  .bb-title.is-m { font-size: clamp(1.9rem, 8.5vw, 3rem); }
  .bb-title.is-l, .bb-title.is-xl { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .bb-desc { -webkit-line-clamp: 2; font-size: .98rem; }
  .bb-actions { gap: 10px; margin-top: 20px; }
  .bb-actions .button { padding: 13px 18px; font-size: .92rem; }
  .bb-actions .button-glass:nth-child(3) { display: none; }
  .bb-shade { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .78) 30%, rgba(0, 0, 0, .15) 62%, rgba(0, 0, 0, .45) 100%); }
  .bb-art { top: calc(var(--top) + 18px); right: 50%; translate: 50% 0; width: min(58vw, 300px); }
  .bb-emblem { top: calc(var(--top) - 10px); right: 50%; translate: 50% 0; width: min(80vw, 420px); }
  .bb-slide.is-on .bb-art .big-sleeve .vinyl { transform: translateX(18%) rotate(90deg); }
  html.motion-on .bb-slide.is-on .bb-art .big-sleeve .vinyl { animation-name: vinyl-side-spin-bbm; }
  @keyframes vinyl-side-spin-bbm { from { transform: translateX(18%) rotate(0); } to { transform: translateX(18%) rotate(360deg); } }
  .bb[data-kind="track"] .bb-shade, .bb[data-kind="emblem"] .bb-shade { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .7) 36%, rgba(0, 0, 0, 0) 60%); }
  .bb-tools { top: calc(var(--top) + 12px); bottom: auto; right: var(--gutter); }
  .bb-ring { display: none; }
  .bb-round { width: 42px; height: 42px; }
  .bb-dots { bottom: 26px; gap: 6px; }
  .bb-dot { padding: 6px 0; }
  .bb-dot small { display: none; }
  .bb-brand { font-size: .66rem; margin-bottom: 12px; }
  .shelf-videos .shelf-row { grid-auto-columns: 74vw; }
  .shelf-shorts .shelf-row { grid-auto-columns: 40vw; }
  .t10-row { grid-auto-columns: 62vw; }
  .t10-n { font-size: 8.4rem; -webkit-text-stroke-width: 2px; }
  .vgrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
  .vgrid-shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgrid .vcard-short { max-width: none; }
  .row-progress { display: none; }
  .vcard-play { opacity: .92; transform: scale(.82); }
  .watch { padding: 0 0 10px; gap: 18px; }
  .watch-player { border-radius: 0; box-shadow: none; position: sticky; top: var(--top); z-index: 6; }
  .watch.is-short .watch-player { height: min(70vh, 640px); border-radius: 14px; position: relative; top: 0; margin-top: 10px; }
  .watch-info, .watch-side { padding-inline: var(--gutter); }
  .watch-info { padding-top: 6px; }
  .watch-bar { gap: 4px; }
  .watch-bar .icon-btn.icon-lg { width: 44px; height: 44px; }
  .only-wide-i { display: none !important; }
  .vrows-list { grid-template-columns: minmax(0, 1fr); }
  .vrow { grid-template-columns: 140px minmax(0, 1fr); }
  .prem, .prem.is-wide { grid-template-columns: minmax(0, 1fr); }
  .prem-art { max-width: 220px; }
  .prem.is-wide .prem-art { max-width: 320px; }
  .join { margin-inline: 8px; padding: 34px 22px; border-radius: 22px; }
  .panel-s { position: relative; top: auto; min-height: 0; border-radius: 20px; margin-inline: 8px; transform: none !important; }
  .panel-grid { grid-template-columns: minmax(0, 1fr); padding: 34px 22px; gap: 26px; }
  .visual-eq { height: 160px; gap: 4px; }
  .visual-wave svg { height: 140px; }
  .visual-glyphs { justify-content: flex-start; }
  .langs-grid { grid-template-columns: minmax(0, 1fr); }
  .greeting { font-size: clamp(3.2rem, 17vw, 6rem); }
  .language-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .closing-title { font-size: clamp(2.4rem, 13vw, 4.4rem); }
  .button-big { padding: 18px 28px; }
  .cmt-actions small { flex-basis: 100%; }
  .tabbar a span { font-size: .64rem; }
  .topbar-premium { padding: 9px; }
}
@media (max-width: 420px) {
  .bb-actions .button-glass span { display: none; }
  .bb-actions .button-glass { padding: 13px 15px; }
}
/* large screens and TVs (10-foot view) */
@media (min-width: 1800px) {
  html { font-size: 17.5px; }
  :root { --rail: 300px; --console: 104px; }
  .shelf-row { grid-auto-columns: clamp(190px, 11vw, 240px); }
  .shelf-videos .shelf-row { grid-auto-columns: clamp(320px, 18vw, 420px); }
  .vgrid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
}
@media (min-width: 2400px) {
  html { font-size: 21px; }
  .vcard-art:focus-visible, .card-art .card-play:focus-visible { outline-width: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-slide, .bb-copy { transition: none; }
  html.is-loading .bb-copy, html.is-loading .bb-tools, html.is-loading .bb-dots { opacity: 1; }
}
.vcard-art .vposter-gen, .peek-art .vposter-gen { padding-top: calc(7% + 1.7rem); }

/* Premium lock on phones: the invitation never gets cut by the 16:9 frame. */
@media (max-width: 760px) {
  .watch-player.is-locked { aspect-ratio: auto; min-height: 56.25vw; position: relative; top: 0; }
  .watch-player.is-locked .watch-lock { position: relative; inset: auto; min-height: 56.25vw; padding: 26px 20px 28px; }
  .watch-lock-icon { width: 56px; height: 56px; margin-bottom: 2px; }
  .watch-lock-icon .i { width: 24px; height: 24px; }
  .watch-lock p:not(.kicker) { font-size: .9rem; }
}

/* ==========================================================================
   3.0.2 · Every screen size: small phones, phones lying down, tablets, TVs
   ========================================================================== */
:root { --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px); }

/* iPhone and iPad: 100vh includes the space under the browser bars, so whatever is measured
   against the screen height uses the visible height where the browser knows it. */
@supports (height: 1dvh) {
  .dlg, .dlg-box { max-height: calc(100dvh - 40px); }
  .menu-box { max-height: min(70dvh, 520px); }
  .menu-sheet .menu-box { max-height: 82dvh; }
  .hero-empty { min-height: calc(100dvh - 160px); }
  html.is-theater .watch-player:not(.is-short) { max-height: calc(100dvh - 220px); }
  .watch.is-short .watch-player { height: min(78dvh, 820px); }
  .pip-body, .pip { height: 100dvh; }
}

/* Lists of filters never spill out of the screen: one line of chips that scrolls sideways. */
@media (max-width: 899px), (max-width: 1100px) and (max-height: 560px) and (pointer: coarse) {
  :root { --gutter: max(16px, calc(var(--safe-l) + 6px), calc(var(--safe-r) + 6px)); }
  .filters { flex-wrap: nowrap; min-width: 0; }
  .filters > * { min-width: 0; max-width: 100%; }
  .filters .chips::-webkit-scrollbar { display: none; }
  .filter-tools { min-width: 0; flex-wrap: nowrap; }
  .filter-tools .select, .page-head .select { min-width: 0; }
  .select select { max-width: 100%; text-overflow: ellipsis; }
  .tabbar { padding-left: var(--safe-l); padding-right: var(--safe-r); }
  .console { left: calc(8px + var(--safe-l)); right: calc(8px + var(--safe-r)); }
  .stage-sleeve { width: min(78vw, 46vh); }
  .dlg { max-width: calc(100vw - 16px - var(--safe-l) - var(--safe-r)); }
  .bb-brand { flex-wrap: wrap; row-gap: 8px; }
  .bb-copies { min-width: 0; }
  .watch-bar { flex-wrap: wrap; }
}
@supports (height: 1dvh) {
  @media (max-width: 899px), (max-width: 1100px) and (max-height: 560px) and (pointer: coarse) {
    .stage-sleeve { width: min(78vw, 46dvh); }
    .bb { min-height: min(86svh, 820px); }
    .watch.is-short .watch-player { height: min(70dvh, 640px); }
  }
}
@media (max-width: 899px) and (max-height: 700px) {
  .stage-sleeve { width: min(60vw, 30vh); }
  .stage-tools .tool { padding: 9px; }
}

/* Very small phones (iPhone SE 1st gen, small Android): everything a little tighter. */
@media (max-width: 374px) {
  :root { --gutter: max(12px, calc(var(--safe-l) + 6px), calc(var(--safe-r) + 6px)); }
  .topbar { gap: 8px; }
  .topbar-right { gap: 4px; }
  .top-login { padding: 9px 12px; }
  .bb-title { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .bb-brand { font-size: .6rem; letter-spacing: .12em; }
  .bb-actions .button { padding: 12px 14px; }
  .ehead-title { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .page-title { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .ebar { gap: 2px; }
  .stage-controls { gap: 6px; }
  .stage-controls .icon-xl { width: 50px; height: 50px; }
  .ctl-play-xl { width: 64px; height: 64px; }
  .tabbar a span { font-size: .6rem; }
  .shelf-row { grid-auto-columns: 44vw; }
}

/* Tablets standing up (iPad, iPad mini, large Android): more columns, cards at a sensible size. */
@media (min-width: 600px) and (max-width: 899px) and (min-height: 561px) {
  .shelf-row { grid-auto-columns: clamp(150px, 27vw, 210px); }
  .shelf-sleeves .shelf-row { grid-auto-columns: clamp(160px, 29vw, 230px); }
  .shelf-videos .shelf-row { grid-auto-columns: clamp(260px, 46vw, 400px); }
  .shelf-shorts .shelf-row { grid-auto-columns: clamp(140px, 25vw, 200px); }
  .t10-row { grid-auto-columns: clamp(230px, 40vw, 320px); }
  .grid, .grid-sleeves, .shelf-row.is-grid, .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vgrid-shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vrows-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ehead-art { width: min(44vw, 320px); }
  .hero-art { width: min(56%, 380px); }
  .stage-sleeve { width: min(62vw, 40vh); }
  .console { left: 50%; right: auto; width: min(640px, calc(100vw - 24px)); translate: -50% 0; }
  .dlg { max-width: min(560px, calc(100vw - 24px)); }
}

/* Phones lying down (and any short touch screen): wide layout that fits in the height,
   compact bars, side-by-side cover and text, the video never taller than the screen. */
@media (orientation: landscape) and (max-width: 899px) and (max-height: 560px), (orientation: landscape) and (max-width: 1100px) and (max-height: 560px) and (pointer: coarse) {
  :root { --tabbar: 50px; --mini: 56px; --top: 54px; }
  .topbar { padding-block: 6px; padding-top: calc(6px + var(--safe-t)); }
  .tabbar a { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .tabbar a .i { width: 21px; height: 21px; }
  .tabbar a span { font-size: .74rem; }
  .console { left: 50%; right: auto; width: min(620px, calc(100vw - 16px - var(--safe-l) - var(--safe-r))); translate: -50% 0; }
  .np-art { width: 40px; height: 40px; }
  .np-play { width: 40px; height: 40px; }

  /* home: billboard */
  .bb { min-height: calc(100vh - var(--tabbar)); }
  .bb-copies { max-width: min(60vw, 560px); padding: calc(var(--top) + 10px) var(--gutter) 54px; }
  .bb-brand { margin-bottom: 8px; }
  .bb-title { font-size: clamp(1.5rem, 4.4vw, 2.4rem); }
  .bb-title.is-m { font-size: clamp(1.4rem, 4vw, 2.2rem); }
  .bb-title.is-l, .bb-title.is-xl { font-size: clamp(1.25rem, 3.4vw, 1.9rem); }
  .bb-chips { margin-top: 10px; }
  .bb-desc { margin-top: 8px; -webkit-line-clamp: 2; font-size: .92rem; }
  .bb-actions { margin-top: 14px; }
  .bb-actions .button { padding: 10px 16px; font-size: .88rem; }
  .bb-actions .button-glass span { display: inline; }
  .bb-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 42%, rgba(0, 0, 0, 0) 72%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 32%); }
  .bb-art { top: 50%; right: max(var(--gutter), 5vw); translate: 0 -50%; width: min(30vw, 62vh); }
  .bb-emblem { top: 50%; right: 3vw; translate: 0 -50%; width: min(38vw, 78vh); }
  .bb-tools { top: auto; bottom: 46px; right: var(--gutter); }
  .bb-dots { bottom: 16px; }

  /* home: hero without billboard */
  .hero { grid-template-columns: minmax(0, 1fr) auto; padding-top: calc(var(--top) + 12px); min-height: calc(100vh - var(--tabbar)); }
  .hero-art { position: absolute; right: 2vw; top: 50%; translate: 0 -50%; width: min(36vw, 70vh); margin: 0; order: 0; }
  .hero-copy { max-width: 58vw; }
  .hero-title { font-size: clamp(1.7rem, 5vw, 2.6rem); }
  .ring { display: none; }

  /* song, album, artist and list headers: cover on the left, text on the right */
  .ehead { grid-template-columns: max(120px, min(26vw, calc(100vh - 210px))) minmax(0, 1fr); align-items: end; justify-items: stretch; padding: calc(var(--top) + 12px) var(--gutter) 18px; gap: clamp(16px, 3vw, 32px); }
  .ehead-art { width: 100%; justify-self: stretch; }
  .ehead-genre { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ehead-title { font-size: clamp(1.5rem, 4.6vw, 2.6rem); }
  .ehead-title.is-m { font-size: clamp(1.4rem, 4vw, 2.3rem); }
  .ehead-title.is-l, .ehead-title.is-xl { font-size: clamp(1.25rem, 3.2vw, 1.9rem); }
  .ehead-meta { margin-top: 10px; }
  .ehead-desc { margin-top: 8px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .page-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .page-head { padding-top: 8px; }

  /* rows of cards: smaller columns, several visible at once */
  .shelf-row { grid-auto-columns: clamp(130px, 21vw, 190px); }
  .shelf-sleeves .shelf-row { grid-auto-columns: clamp(140px, 23vw, 200px); }
  .shelf-videos .shelf-row { grid-auto-columns: clamp(220px, 38vw, 340px); }
  .shelf-shorts .shelf-row { grid-auto-columns: clamp(110px, 18vw, 160px); }
  .t10-row { grid-auto-columns: clamp(200px, 34vw, 290px); }
  .t10-n { font-size: 7rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .grid-sleeves, .shelf-row.is-grid, .tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .vgrid-shorts { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .vrows-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .search-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bigsearch input { height: 50px; }

  /* watch page: the video fits in the height of the screen */
  .watch-player { position: relative; top: 0; width: min(100%, calc((100vh - var(--top) - 12px) * 16 / 9)); margin: 4px auto 0; border-radius: 12px; }
  .watch.is-short .watch-player { height: calc(100vh - var(--top) - 16px); width: auto; }
  .watch-player.is-locked { min-height: 0; aspect-ratio: auto; }
  .watch-player.is-locked .watch-lock { min-height: calc(100vh - var(--top) - 24px); }

  /* full-screen player: cover on the left, title, bar and buttons on the right */
  .stage-top { padding-block: 6px; padding-top: calc(6px + var(--safe-t)); }
  .stage-body { padding: 0 var(--gutter) calc(10px + var(--safe-b)); }
  .stage-main { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: repeat(4, auto); align-content: center; justify-content: stretch; column-gap: clamp(18px, 4vw, 44px); row-gap: 8px; max-width: 980px; height: 100%; }
  .stage-sleeve { grid-column: 1; grid-row: 1 / span 4; align-self: center; width: min(38vw, calc(100vh - 96px)); }
  html.is-playing .stage-sleeve { translate: 0 0; }
  html.is-playing .stage-sleeve .vinyl, html.motion-on.is-playing .stage-sleeve .vinyl { animation: none; transform: translateX(0) rotate(0); }
  .stage-meta, .stage-scrub, .stage-controls, .stage-tools { grid-column: 2; }
  .stage-title { font-size: clamp(1.15rem, 3vw, 1.7rem); }
  .stage-artist { margin-top: 4px; font-size: .9rem; }
  .stage-scrub .wave-host { height: 38px; }
  .stage-times { margin-top: 2px; }
  .stage-controls { justify-content: space-between; gap: 6px; }
  .stage-controls .icon-xl { width: 46px; height: 46px; }
  .stage-controls .icon-lg { width: 42px; height: 42px; }
  .ctl-play-xl { width: 58px; height: 58px; }
  .ctl-play-xl .i { width: 26px; height: 26px; }
  .stage-tools { display: flex; justify-content: space-between; gap: 2px; }
  .stage-tools .tool { padding: 8px; }
  .stage-side { inset: 0 var(--gutter) calc(8px + var(--safe-b)); }

  /* menus and dialogs: centred and as tall as the screen allows */
  .menu-sheet { justify-content: center; }
  .menu-sheet .menu-box { width: min(560px, 100%); max-height: calc(100vh - 16px); }
  .dlg, .dlg-box { max-height: calc(100vh - 16px); }
  .dlg-head { padding-top: 14px; }
  .dlg-foot { padding-block: 10px 14px; }
  .toasts { bottom: calc(var(--tabbar) + var(--mini) + var(--safe-b) + 12px); }
  .join, .panel-s { margin-inline: var(--gutter); }
  .panel-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
@supports (height: 1dvh) {
  @media (orientation: landscape) and (max-width: 899px) and (max-height: 560px), (orientation: landscape) and (max-width: 1100px) and (max-height: 560px) and (pointer: coarse) {
    .bb, .hero { min-height: calc(100svh - var(--tabbar)); }
    .bb-art { width: min(30vw, 62svh); }
    .bb-emblem { width: min(38vw, 78svh); }
    .hero-art { width: min(36vw, 70svh); }
    .ehead { grid-template-columns: max(120px, min(26vw, calc(100svh - 210px))) minmax(0, 1fr); }
    .watch-player { width: min(100%, calc((100svh - var(--top) - 12px) * 16 / 9)); }
    .watch.is-short .watch-player { height: calc(100svh - var(--top) - 16px); }
    .watch-player.is-locked .watch-lock { min-height: calc(100svh - var(--top) - 24px); }
    .stage-sleeve { width: min(38vw, calc(100dvh - 96px)); }
    .menu-sheet .menu-box, .dlg, .dlg-box { max-height: calc(100dvh - 16px); }
  }
}

/* Desktop windows that are short (laptops with a zoomed screen, small browser windows). */
@media (min-width: 900px) and (max-height: 620px) and (pointer: fine) {
  .bb { height: max(440px, calc(100vh - var(--console))); }
  .bb-copies { padding-bottom: 76px; }
  .bb-tools { bottom: 76px; }
  .bb-title { font-size: clamp(2rem, 4.4vw, 3.6rem); }
  .stage-sleeve { width: min(40vh, 360px); }
  .stage-main { gap: 12px; }
}
