
:root {
  --bg: #f3f3f6;
  --bg-pure: #fafafc;
  --surface: #fafafc;
  --surface-2: #eeeeef;
  --fill: rgba(120,120,128,0.12);
  --fill-2: rgba(120,120,128,0.08);
  --label: #1c1c1e;
  --label-2: rgba(60,60,67,0.72);
  --label-3: rgba(60,60,67,0.55);
  --pink: #fa2d48;
  --pink-soft: rgba(250,45,72,0.12);
  /* 播放页歌词/进度：略暗红，避免刺眼 */
  --np-accent: #b83a4e;
  --np-accent-soft: rgba(184, 58, 78, 0.85);
  /* 高亮歌词暗红；亮底压深 */
  --np-ly-on: #b83a4e;
  --blue: #007aff;
  --separator: rgba(60,60,67,0.18);
  /* 安全区：默认 0；仅全屏/融合 chrome 才启用，避免 normal 下顶部大块空白（开发文档 25.7） */
  --safe-t: 0px;
  --safe-b: 0px;
  --safe-t-raw: 0px;
  --safe-b-raw: 0px;
  --nav: 56px;
  --mini: 58px;
  /* 接近 iPhone / Apple Music：系统 UI + SF Pro + 苹方 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro Rounded",
    "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Heiti SC",
    "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --glass: rgba(255,255,255,0.78);
  --glass-border: rgba(255,255,255,0.7);
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-out: cubic-bezier(0.22, 1, 0.36, 1);
}


/* Native 注入变量与 env 去重，禁止相加；先兜底再增强 */
:root {
  --safe-t-raw: var(--fm-safe-top, 0px);
  --safe-b-raw: var(--fm-safe-bottom, 0px);
}
@supports (padding: max(0px)) {
  :root {
    --safe-t-raw: max(var(--fm-safe-top, 0px), env(safe-area-inset-top, 0px));
    --safe-b-raw: max(var(--fm-safe-bottom, 0px), env(safe-area-inset-bottom, 0px));
  }
}
/* 融合/沉浸/TV 全屏：启用顶部安全区 */
html.fm-chrome-full {
  --safe-t: var(--safe-t-raw);
  --safe-b: var(--safe-b-raw);
}
/* 非全屏（normal）：native 已由 chrome 处理状态栏，不再叠加完整安全区 */
html.fm-native:not(.fm-chrome-full) {
  --safe-t: 2px;
  --safe-b: var(--safe-b-raw);
}
/* 播放页打开时：只锁主页顶距，不动全局 --safe-t（播放页仍吃真实安全区） */
html.fm-native.np-open:not(.home-full-pref) .header {
  padding-top: 6px !important;
}
/* 播放页/关闭动画期间：强制用 raw 安全区，不随首页 normal 被压成 0 */
.np,
.np.open,
.np.closing {
  --safe-t: var(--safe-t-raw) !important;
  --safe-b: var(--safe-b-raw) !important;
}
/* 非 App 环境（浏览器 / 独立 PWA）：始终用安全区 */
html:not(.fm-native) {
  --safe-t: var(--safe-t-raw);
  --safe-b: var(--safe-b-raw);
}

/* —— 暗色主题 —— */
html.dark {
  --bg: #000000;
  --bg-pure: #1c1c1e;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --fill: rgba(120,120,128,0.32);
  --fill-2: rgba(120,120,128,0.24);
  --label: #f5f5f7;
  --label-2: rgba(235,235,245,0.68);
  --label-3: rgba(235,235,245,0.45);
  --separator: rgba(84,84,88,0.65);
  --glass: rgba(28,28,30,0.78);
  --glass-border: rgba(255,255,255,0.12);
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
  color-scheme: dark;
}
html.dark body,
html.dark #app {
  background: var(--bg);
  color: var(--label);
}
html.dark .header {
  background: linear-gradient(var(--bg) 60%, transparent);
}
html.dark .search-field {
  background: rgba(120,120,128,0.28);
}
html.dark .plat-menu,
html.dark .sheet,
html.dark .set-block,
html.dark .src-editor {
  background: rgba(44, 44, 46, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.08);
}
html.dark .set-block {
  background: rgba(44, 44, 46, 0.55);
  box-shadow: none;
}
html.dark .toast {
  background: rgba(44, 44, 46, 0.82);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}
html.dark .plat-menu button.on {
  background: rgba(250,45,72,0.18);
}
html.dark .ch-tab.on {
  background: #2c2c2e;
  color: var(--label);
}
html.dark .chip {
  background: rgba(120,120,128,0.28);
}
html.dark .mini,
html.dark .tabbar {
  background: rgba(28, 28, 30, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
html.dark .mini.show {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  background: rgba(44, 44, 46, 0.78);
}
html.dark .dock.collapsed .mini.show {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  background: rgba(44, 44, 46, 0.78);
}
html.dark .dock-side {
  background: rgba(44, 44, 46, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  color: var(--label-2);
}
html.dark .mini-fill {
  background: linear-gradient(90deg,
    rgba(250, 45, 72, 0.28) 0%,
    rgba(250, 45, 72, 0.16) 100%);
}
html.dark .np {
  background: #000;
}
html.dark .np.immersive {
  background: rgb(var(--np-c1));
}
html.dark .np::before {
  background:
    radial-gradient(140% 85% at 50% -8%, rgba(var(--np-c1), 0.72) 0%, transparent 62%),
    radial-gradient(100% 60% at 100% 30%, rgba(var(--np-c2), 0.48) 0%, transparent 55%),
    radial-gradient(90% 55% at 0% 80%, rgba(var(--np-c1), 0.35) 0%, transparent 50%),
    linear-gradient(180deg, #000 0%, #0a0a0a 45%, #121212 100%);
  opacity: 1;
}
/* 暗色 + 经典：保留封面淡彩渐变（不整页压黑），字/控件由 np-ui-* 动态对比 */
html.dark .np:not(.immersive) {
  background: #f5f5f7;
}
html.dark .np:not(.immersive) .np-bg img {
  filter: blur(56px) saturate(1.2) brightness(0.95);
  opacity: 0.5;
}
html.dark .np:not(.immersive) .np-bg::after {
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
html.dark .np:not(.immersive)::before {
  background:
    radial-gradient(130% 75% at 50% -12%, rgba(var(--np-c1), 0.36) 0%, transparent 58%),
    radial-gradient(95% 55% at 100% 35%, rgba(var(--np-c2), 0.24) 0%, transparent 52%),
    linear-gradient(180deg, rgba(250,250,252,0.5) 0%, rgba(245,245,247,0.72) 50%, rgba(240,240,243,0.88) 100%);
  opacity: 1;
}
/* 高亮歌词暗红：默认/暗底标准暗红，亮底压更深 */
.np { --np-ly-on: #b83a4e; }
.np.np-ui-light { --np-ly-on: #b83a4e; }
.np.np-ui-dark { --np-ly-on: #7a1f32; }

/* —— 播放页 UI 对比度：歌名/歌词/进度/控件统一白或黑，随背景明暗动态切换 —— */
/* 暗底 → 统一白色（普通歌词半透明白，高亮纯白） */
.np.np-ui-light .np-title { color: #fff !important; text-shadow: 0 1px 12px rgba(0,0,0,0.25); }
.np.np-ui-light .np-artist { color: rgba(255,255,255,0.72) !important; }
.np.np-ui-light .np-lyrics .ly,
.np.np-ui-light.lyrics-full .np-lyrics .ly,
.np.np-ui-light.immersive .np-lyrics .ly {
  color: rgba(255,255,255,0.32) !important;
}
.np.np-ui-light .np-lyrics .ly.near,
.np.np-ui-light.lyrics-full .np-lyrics .ly.near,
.np.np-ui-light.immersive .np-lyrics .ly.near {
  color: rgba(255,255,255,0.58) !important;
}
.np.np-ui-light .np-lyrics .ly.on:not(.ly-ktv),
.np.np-ui-light.lyrics-full .np-lyrics .ly.on:not(.ly-ktv),
.np.np-ui-light.immersive .np-lyrics .ly.on:not(.ly-ktv) {
  color: var(--np-ly-on, #b83a4e) !important;
  text-shadow: none;
}
.np.np-ui-light .np-lyrics .ly-empty { color: rgba(255,255,255,0.45) !important; }
.np.np-ui-light .np-time { color: rgba(255, 255, 255, 0.5) !important; }
.np.np-ui-light .np-controls,
.np.np-ui-light .np-controls button,
.np.np-ui-light .np-play {
  color: rgba(255, 255, 255, 0.95) !important;
}
.np.np-ui-light .np-tools {
  background: rgba(28, 28, 30, 0.55) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
}
.np.np-ui-light .np-tools button { color: rgba(255, 255, 255, 0.78) !important; }
.np.np-ui-light .np-tools button.on,
.np.np-ui-light .np-tools button:active,
.np.np-ui-light .np-tools button.liked { color: #fff !important; }
/* 进度条未播轨随对比度；已播段/圆点统一红色（不跟字色变黑白） */
.np.np-ui-light .np-seek input[type=range] {
  background: linear-gradient(to right, var(--np-accent, #fa2d48) var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%)) !important;
  box-shadow: none !important;
  height: 3px;
}
.np.np-ui-light .np-seek input[type=range]::-webkit-slider-thumb {
  background: var(--np-accent, #fa2d48) !important;
  border: none !important;
  width: 10px !important; height: 10px !important;
  margin-top: -3.5px !important;
}
.np.np-ui-light .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-webkit-slider-thumb {
  box-shadow:
    0 0 0 1.5px rgba(250, 45, 72, 0.18),
    0 0 4px 1px rgba(250, 45, 72, 0.25) !important;
}
.np.np-ui-light .np-seek input[type=range]::-moz-range-thumb {
  background: var(--np-accent, #fa2d48) !important;
  border: none !important;
  box-shadow: none !important;
}
.np.np-ui-light .np-seek input[type=range]::-moz-range-track {
  background: linear-gradient(to right, var(--np-accent, #fa2d48) var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%)) !important;
}
.np.np-ui-light .np-wave i { background: rgba(255, 255, 255, 0.28) !important; }
.np.np-ui-light .np-wave i.on { background: var(--np-accent, #fa2d48) !important; }
.np.np-ui-light .np-glow-base { background: rgba(255,255,255,0.28) !important; }
.np.np-ui-light .np-glow-fill {
  background: var(--np-accent, #fa2d48) !important;
  box-shadow: none !important;
}
.np.np-ui-light .np-orbit-dim { stroke: rgba(255,255,255,0.28) !important; }
.np.np-ui-light .np-orbit-lit { stroke: var(--np-accent, #fa2d48) !important; }
.np.np-ui-light .np-orbit-knob {
  background: var(--np-accent, #fa2d48) !important;
  box-shadow: none !important;
  border: none !important;
}

/* 亮底 → 统一黑色（普通歌词半透明黑，高亮纯黑） */
.np.np-ui-dark .np-title { color: #1c1c1e !important; text-shadow: none; }
.np.np-ui-dark .np-artist { color: rgba(28,28,30,0.65) !important; }
.np.np-ui-dark .np-lyrics .ly,
.np.np-ui-dark.lyrics-full .np-lyrics .ly,
.np.np-ui-dark.immersive .np-lyrics .ly {
  color: rgba(28,28,30,0.32) !important;
}
.np.np-ui-dark .np-lyrics .ly.near,
.np.np-ui-dark.lyrics-full .np-lyrics .ly.near,
.np.np-ui-dark.immersive .np-lyrics .ly.near {
  color: rgba(28,28,30,0.55) !important;
}
.np.np-ui-dark .np-lyrics .ly.on:not(.ly-ktv),
.np.np-ui-dark.lyrics-full .np-lyrics .ly.on:not(.ly-ktv),
.np.np-ui-dark.immersive .np-lyrics .ly.on:not(.ly-ktv) {
  color: var(--np-ly-on, #7a1f32) !important;
  text-shadow: none;
}
.np.np-ui-dark .np-lyrics .ly-empty { color: rgba(28,28,30,0.4) !important; }
.np.np-ui-dark .np-time { color: rgba(28,28,30,0.5) !important; }
.np.np-ui-dark .np-controls,
.np.np-ui-dark .np-controls button,
.np.np-ui-dark .np-play {
  color: #1c1c1e !important;
}
.np.np-ui-dark .np-tools {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 0.5px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(28px) saturate(170%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(170%) !important;
}
.np.np-ui-dark .np-tools button { color: rgba(28, 28, 30, 0.72) !important; }
.np.np-ui-dark .np-tools button.on,
.np.np-ui-dark .np-tools button:active,
.np.np-ui-dark .np-tools button.liked { color: var(--pink) !important; }
/* 亮底：未播轨深色保证可见；已播/圆点统一红色 */
.np.np-ui-dark .np-seek input[type=range] {
  background: linear-gradient(to right, var(--np-accent, #fa2d48) var(--seek-p, 0%), rgba(28,28,30,0.22) var(--seek-p, 0%)) !important;
  box-shadow: none !important;
  height: 3px;
}
.np.np-ui-dark .np-seek input[type=range]::-webkit-slider-thumb {
  background: var(--np-accent, #fa2d48) !important;
  border: none !important;
  width: 10px !important; height: 10px !important;
  margin-top: -3.5px !important;
}
.np.np-ui-dark .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-webkit-slider-thumb {
  box-shadow:
    0 0 0 1.5px rgba(250, 45, 72, 0.18),
    0 0 4px 1px rgba(250, 45, 72, 0.25) !important;
}
.np.np-ui-dark .np-seek input[type=range]::-moz-range-thumb {
  background: var(--np-accent, #fa2d48) !important;
  border: none !important;
  box-shadow: none !important;
}
.np.np-ui-dark .np-seek input[type=range]::-moz-range-track {
  background: linear-gradient(to right, var(--np-accent, #fa2d48) var(--seek-p, 0%), rgba(28,28,30,0.22) var(--seek-p, 0%)) !important;
}
.np.np-ui-dark .np-wave i { background: rgba(28, 28, 30, 0.2) !important; }
.np.np-ui-dark .np-wave i.on { background: var(--np-accent, #fa2d48) !important; }
.np.np-ui-dark .np-glow-base { background: rgba(28,28,30,0.18) !important; }
.np.np-ui-dark .np-glow-fill {
  background: var(--np-accent, #fa2d48) !important;
  box-shadow: none !important;
}
.np.np-ui-dark .np-orbit-dim { stroke: rgba(28,28,30,0.22) !important; }
.np.np-ui-dark .np-orbit-lit { stroke: var(--np-accent, #fa2d48) !important; }
.np.np-ui-dark .np-orbit-knob {
  background: var(--np-accent, #fa2d48) !important;
  box-shadow: none !important;
  border: none !important;
}

/* 沉浸模式：强制跟随 np-ui，覆盖原先写死的白字 */
.np.np-ui-dark.immersive .np-title { color: #1c1c1e !important; text-shadow: none !important; }
.np.np-ui-dark.immersive .np-artist { color: rgba(28,28,30,0.65) !important; text-shadow: none !important; }
.np.np-ui-dark.immersive .np-time { color: rgba(28,28,30,0.5) !important; }
.np.np-ui-dark.immersive .np-controls,
.np.np-ui-dark.immersive .np-controls button { color: #1c1c1e !important; }
.np.np-ui-dark.immersive .np-tools {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 0.5px solid rgba(0, 0, 0, 0.06) !important;
}
.np.np-ui-dark.immersive .np-tools button { color: rgba(28, 28, 30, 0.72) !important; }
.np.np-ui-dark.immersive .np-seek input[type=range] {
  background: linear-gradient(to right, #ffffff var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%)) !important;
}
.np.np-ui-light.immersive .np-title { color: #fff !important; }
.np.np-ui-light.immersive .np-artist { color: rgba(255,255,255,0.8) !important; }
.np.np-ui-light.immersive .np-time { color: rgba(255,255,255,0.55) !important; }
.np.np-ui-light.immersive .np-controls,
.np.np-ui-light.immersive .np-controls button { color: #fff !important; }
.np.np-ui-light.immersive .np-seek input[type=range] {
  background: linear-gradient(to right, #ffffff var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%)) !important;
}

/* 暗色主题默认亮字；经典浅底由 JS 加 np-ui-dark */
html.dark .np:not(.np-ui-dark) .np-title { color: #fff; }
html.dark .np:not(.np-ui-dark) .np-artist { color: rgba(255,255,255,0.72); }
html.dark .np:not(.np-ui-dark) .np-lyrics .ly { color: rgba(255,255,255,0.32); }
html.dark .np:not(.np-ui-dark) .np-lyrics .ly.near { color: rgba(255,255,255,0.58); }
html.dark .np:not(.np-ui-dark) .np-lyrics .ly.on { color: var(--np-ly-on, #b83a4e) !important; }
html.dark .np:not(.np-ui-dark).lyrics-full .np-lyrics .ly { color: rgba(255,255,255,0.32); }
html.dark .np:not(.np-ui-dark).lyrics-full .np-lyrics .ly.near { color: rgba(255,255,255,0.58); }
html.dark .np:not(.np-ui-dark).lyrics-full .np-lyrics .ly.on { color: var(--np-ly-on, #b83a4e) !important; }
html.dark .np:not(.np-ui-dark) .np-tools {
  background: rgba(28, 28, 30, 0.55) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
}
html.dark .np:not(.np-ui-dark) .np-controls button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.dark .np:not(.np-ui-dark) .np-play {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.dark .np:not(.np-ui-dark) .np-seek input[type=range] {
  background: linear-gradient(to right, var(--np-accent, #fa2d48) var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%));
  box-shadow: none;
  height: 3px;
}
html.dark .np:not(.np-ui-dark) .np-seek input[type=range]::-webkit-slider-thumb {
  background: var(--np-accent, #fa2d48);
  border: none;
  width: 10px !important; height: 10px !important;
  margin-top: -3.5px !important;
}
html.dark .np:not(.np-ui-dark) .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-webkit-slider-thumb {
  box-shadow:
    0 0 0 1.5px rgba(250, 45, 72, 0.22),
    0 0 6px 1px rgba(250, 45, 72, 0.35);
}
html.dark .np:not(.np-ui-dark) .np-time { color: rgba(255, 255, 255, 0.5); }
html.dark .np:not(.np-ui-dark) .np-tools button { color: rgba(255, 255, 255, 0.78); }
html.dark .np:not(.np-ui-dark) .np-tools button.on,
html.dark .np:not(.np-ui-dark) .np-tools button:active { color: #fff; }
html.dark .field {
  background: rgba(120,120,128,0.28);
  color: var(--label);
}
html.dark .btn-ghost {
  background: rgba(120,120,128,0.28);
  color: var(--label);
}
html.dark .seg button:not(.on) {
  color: var(--label-2);
}
html.dark .src-qchip.ok {
  background: rgba(52,199,89,0.22);
  color: #30d158;
}
html.dark .src-qchip.fail {
  background: rgba(255,59,48,0.22);
  color: #ff6961;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  /* 全局禁止选中文字（按钮、标签等）；搜索框单独放开 */
  -webkit-user-select: none;
  user-select: none;
}
/* 仅搜索输入允许选中/复制 */
input#qInput,
.search-field input {
  -webkit-user-select: text;
  user-select: text;
}
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -0.01em;
  overflow: hidden;
}
button, input, textarea, select {
  font-family: inherit;
}
#app {
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg);
  box-shadow: 0 0 0 0.5px var(--separator);
}

/* —— Header —— */
.header {
  padding: calc(4px + var(--safe-t)) 20px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  background: linear-gradient(var(--bg) 60%, transparent);
  transition: padding .22s ease;
}
.header h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.header-btns { display: flex; gap: 10px; align-items: center; }
.circle-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(120,120,128,0.12);
  color: var(--pink);
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.6);
}
.circle-btn svg { width: 16px; height: 16px; stroke: var(--pink); fill: none; stroke-width: 2; }
/* 站源切换按钮 · 液态玻璃胶囊 + 品牌色点缀 */
.plat-wrap {
  position: relative;
  z-index: 40;
}
.plat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px 0 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.48) 100%);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--label);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-family: inherit;
  cursor: pointer;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.06),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -0.5px 0 rgba(0, 0, 0, 0.03);
  transition:
    transform .22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}
.plat-btn:active {
  transform: scale(0.94);
  opacity: 0.92;
}
.plat-wrap.open .plat-btn {
  border-color: color-mix(in srgb, var(--plat-accent, var(--pink)) 35%, rgba(255,255,255,0.55));
  box-shadow:
    0 4px 16px color-mix(in srgb, var(--plat-accent, var(--pink)) 18%, transparent),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.95);
}
.plat-btn .plat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--plat-accent, #ff3b30);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--plat-accent, #ff3b30) 22%, transparent),
    0 0 6px color-mix(in srgb, var(--plat-accent, #ff3b30) 35%, transparent);
  transition: background .28s ease, box-shadow .28s ease, transform .22s ease;
}
.plat-btn .plat-dot.on {
  background: var(--plat-accent, #34c759);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--plat-accent, #34c759) 28%, transparent),
    0 0 8px color-mix(in srgb, var(--plat-accent, #34c759) 45%, transparent);
}
.plat-btn .plat-name {
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}
.plat-btn .plat-caret {
  width: 0;
  height: 0;
  margin-left: 1px;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid var(--plat-accent, var(--label-3));
  font-size: 0;
  color: transparent;
  transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), border-top-color .25s ease;
  line-height: 0;
  opacity: 0.85;
}
.plat-btn[data-plat="qq"] { --plat-accent: #31c27c; }
.plat-btn[data-plat="netease"] { --plat-accent: #ec4141; }
.plat-btn[data-plat="kuwo"] { --plat-accent: #ff6a00; }
.plat-btn[data-plat="kugou"] { --plat-accent: #2ca2f9; }
.plat-btn[data-plat="migu"] { --plat-accent: #ed4141; }
.plat-btn[data-plat="bilibili"] { --plat-accent: #fb7299; }
.plat-wrap.open .plat-caret { transform: rotate(180deg); }
html.dark .plat-btn {
  background: linear-gradient(180deg, rgba(44,44,46,0.85) 0%, rgba(28,28,30,0.72) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.35),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.1);
}
html.dark .plat-wrap.open .plat-btn {
  border-color: color-mix(in srgb, var(--plat-accent, var(--pink)) 40%, rgba(255,255,255,0.12));
  box-shadow:
    0 4px 18px color-mix(in srgb, var(--plat-accent, var(--pink)) 22%, transparent),
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.12);
}
.plat-menu {
  display: none;
  position: absolute;
  right: 0; top: calc(100% + 6px);
  min-width: 148px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(200%) blur(40px);
  -webkit-backdrop-filter: saturate(200%) blur(40px);
  border: 0.5px solid rgba(255,255,255,0.55);
  box-shadow:
    0 12px 36px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.05),
    inset 0 0.5px 0 rgba(255,255,255,0.85);
  z-index: 50;
}
.plat-wrap.open .plat-menu { display: block; }
.plat-menu button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border: none; border-radius: 10px;
  background: transparent;
  color: var(--label);
  font-size: 14px; font-weight: 500;
  font-family: inherit; cursor: pointer;
  text-align: left;
}
.plat-menu button:active { background: rgba(120,120,128,0.1); }
.plat-menu button.on {
  color: var(--pink);
  font-weight: 700;
  background: rgba(250,45,72,0.08);
}
.plat-menu button .plat-src-hint {
  font-size: 11px; color: var(--label-3); font-weight: 400;
}

/* —— Pages —— */
.pages { flex: 1; position: relative; overflow: hidden; }
.page {
  position: absolute; inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 20px calc(var(--nav) + var(--mini) + var(--safe-b) + 16px);
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(12%, 0, 0) scale(0.985);
  transition:
    opacity .38s cubic-bezier(0.32, 0.72, 0, 1),
    transform .42s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: opacity, transform;
}
.page.on {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 2;
}
.page.leave-left {
  opacity: 0;
  transform: translate3d(-10%, 0, 0) scale(0.985);
  pointer-events: none;
  z-index: 1;
}
.page.leave-right {
  opacity: 0;
  transform: translate3d(12%, 0, 0) scale(0.985);
  pointer-events: none;
  z-index: 1;
}
.page.enter-from-left { transform: translate3d(-10%, 0, 0) scale(0.985); }
.page.enter-from-right { transform: translate3d(12%, 0, 0) scale(0.985); }

/* —— Search field —— */
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(120,120,128,0.16);
  border-radius: 12px;
  padding: 11px 14px;
  margin: 4px 0 12px;
}
.search-field svg { width: 16px; height: 16px; stroke: var(--label-3); fill: none; stroke-width: 2; flex-shrink: 0; }
.search-field input {
  flex: 1; border: none; outline: none; background: transparent;
  color: var(--label); font-size: 17px; font-family: inherit;
}
.search-field input::placeholder { color: var(--label-3); }

/* —— Section —— */
.sec { margin-bottom: 28px; }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.sec-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.03em;
}
.sec-link {
  border: none; background: none; color: var(--pink);
  font-size: 17px; font-family: inherit; cursor: pointer;
}

/* —— Horizontal album cards：系统原生横滑跟手（不用强制 snap） —— */
.h-row {
  display: flex; gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  /* mandatory 会和手指抢位移，出现时快时慢、不跟手 */
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  /* 必须同时允许上下：只写 pan-x 会导致手指在此区域无法滚主页 */
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  scrollbar-width: none;
}
.h-row::-webkit-scrollbar { display: none; }
.album {
  flex: 0 0 164px; width: 164px; max-width: 164px; min-width: 0;
  scroll-snap-align: none;
  cursor: pointer; overflow: hidden;
}
.album-art {
  width: 164px; height: 164px; border-radius: 10px;
  object-fit: cover; background: var(--surface-2);
  box-shadow: none;
  display: block;
  /* 清晰原图，少滤镜 */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
}
.album {
  flex: 0 0 164px;
  width: 164px;
  max-width: 164px;
  scroll-snap-align: none;
  cursor: pointer;
  overflow: hidden;
}
.album-name {
  margin-top: 8px; font-size: 13px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  width: 100%; max-width: 164px;
  display: block;
}
.album-artist {
  font-size: 13px; color: var(--label-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  width: 100%; max-width: 164px;
  display: block;
}
/* 为你推荐横滑：高清封面优先 + 原生跟手 */
#recRow.rec-row,
.rec-row.h-row {
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}
#recRow .album-art,
.rec-row .album-art {
  border-radius: 10px;
  pointer-events: auto;
  /* 减少拖动时图片被选中/拖拽抢走手势 */
  -webkit-user-drag: none;
  user-select: none;
}
#recRow .album,
.rec-row .album {
  scroll-snap-align: none;
  -webkit-user-drag: none;
  user-select: none;
}
/* 竖版：为你推荐卡片略缩小 */
@media (orientation: portrait) {
  #recRow.rec-row .album,
  .rec-row .album {
    flex: 0 0 140px;
    width: 140px;
    max-width: 140px;
  }
  #recRow.rec-row .album-art,
  .rec-row .album-art {
    width: 140px;
    height: 140px;
    border-radius: 9px;
  }
  #recRow.rec-row .album-name,
  #recRow.rec-row .album-artist,
  .rec-row .album-name,
  .rec-row .album-artist {
    max-width: 140px;
    font-size: 12px;
  }
  #recRow.rec-row,
  .rec-row.h-row {
    gap: 12px;
  }
}

/* —— 热门歌曲：双列紧凑横条（无卡片框，省空间） —— */
#hotList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 0;
  padding: 0;
}
.hot-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  cursor: pointer;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}
.hot-card:active { opacity: 0.72; }
.hot-card-art {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
  display: block;
}
.hot-card-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 0;
}
.hot-card-name {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  position: relative;
}
.hot-card-name .mq-inner {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}
.hot-card-name.is-marquee .mq-inner {
  padding-right: 0;
  /* 单向循环：左滚到底 → 短暂停留 → 瞬回起点，不再左右来回 */
  animation: hot-name-marquee var(--mq-dur, 10s) linear infinite;
}
@keyframes hot-name-marquee {
  0% { transform: translateX(0); }
  10% { transform: translateX(0); }
  90% { transform: translateX(var(--mq-dx, 0px)); }
  100% { transform: translateX(var(--mq-dx, 0px)); }
}
.hot-card-sub {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 11px;
  color: var(--label-3);
  line-height: 1.2;
}
.hot-card-src {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 4px;
  border-radius: 3px;
  line-height: 1.4;
  --src-c: var(--pink);
  background: color-mix(in srgb, var(--src-c) 14%, transparent);
  color: var(--src-c);
}
.hot-card-src[data-plat="qq"] { --src-c: #31c27c; }
.hot-card-src[data-plat="netease"] { --src-c: #ec4141; }
.hot-card-src[data-plat="kuwo"] { --src-c: #ff6a00; }
.hot-card-src[data-plat="kugou"] { --src-c: #2ca2f9; }
.hot-card-src[data-plat="migu"] { --src-c: #ed4141; }
.hot-card-src[data-plat="bilibili"] { --src-c: #fb7299; }
html.dark .hot-card-src {
  background: color-mix(in srgb, var(--src-c) 22%, transparent);
  color: color-mix(in srgb, var(--src-c) 88%, #fff);
}
.hot-card-artist {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-card-play {
  width: 20px;
  height: 20px;
  margin-left: -4px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--label-3);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.hot-card-play svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  display: block;
}
.hot-card-play:active {
  color: var(--pink);
}
html.dark .hot-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* —— Featured banner —— */
.feature {
  position: relative; border-radius: 12px; overflow: hidden;
  height: 200px; margin-bottom: 28px; cursor: pointer;
  background: var(--surface);
}
.feature img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.7);
}
.feature-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}
.feature-kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 4px;
}
.feature-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65), 0 0 2px rgba(0,0,0,0.8);
}
.feature-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.88) !important;
  margin-top: 2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* —— Song list —— */
.song {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; cursor: pointer;
  border-bottom: 0.5px solid var(--separator);
}
.song:active { opacity: 0.72; }
.song:last-child { border-bottom: none; }
.song-art {
  width: 56px; height: 56px; border-radius: 8px;
  object-fit: cover; background: var(--surface); flex-shrink: 0;
  box-shadow: none;
}
.song-meta { flex: 1; min-width: 0; }
.song-name {
  font-size: 16px; font-weight: 400; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.song-sub {
  font-size: 13px; color: var(--label-2); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 6px;
}
.song-src {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.4;
  --src-c: var(--pink);
  background: color-mix(in srgb, var(--src-c) 14%, transparent);
  color: var(--src-c);
}
.song-src[data-plat="qq"] { --src-c: #31c27c; }
.song-src[data-plat="netease"] { --src-c: #ec4141; }
.song-src[data-plat="kuwo"] { --src-c: #ff6a00; }
.song-src[data-plat="kugou"] { --src-c: #2ca2f9; }
.song-src[data-plat="migu"] { --src-c: #ed4141; }
.song-src[data-plat="bilibili"] { --src-c: #fb7299; }
html.dark .song-src {
  background: color-mix(in srgb, var(--src-c) 22%, transparent);
  color: color-mix(in srgb, var(--src-c) 88%, #fff);
}
html.dark .song-src[data-plat="qq"] { --src-c: #3dd68c; }
html.dark .song-src[data-plat="netease"] { --src-c: #ff6b6b; }
html.dark .song-src[data-plat="kuwo"] { --src-c: #ff8a3d; }
html.dark .song-src[data-plat="kugou"] { --src-c: #5bb8ff; }
html.dark .song-src[data-plat="migu"] { --src-c: #ff6b6b; }
html.dark .song-src[data-plat="bilibili"] { --src-c: #ff8cb0; }
/* 猜你喜欢 / 雷达 · 站源色标签 */
.duo-src {
  display: inline-block;
  margin-right: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  vertical-align: middle;
  --src-c: #fa2d48;
  background: color-mix(in srgb, var(--src-c) 55%, rgba(0,0,0,0.35));
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.duo-src[data-plat="qq"] { --src-c: #31c27c; }
.duo-src[data-plat="netease"] { --src-c: #ec4141; }
.duo-src[data-plat="kuwo"] { --src-c: #ff6a00; }
.duo-src[data-plat="kugou"] { --src-c: #2ca2f9; }
.duo-src[data-plat="migu"] { --src-c: #ed4141; }
.duo-src[data-plat="bilibili"] { --src-c: #fb7299; }
.duo-sub .duo-src { flex-shrink: 0; }
.duo-sub .duo-sub-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-sub-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-more { display: none !important; }
.song-side {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0;
  margin-left: 4px;
}
.song-dur {
  font-size: 12px; color: var(--label-3);
  font-variant-numeric: tabular-nums;
  min-width: 36px; text-align: right;
  letter-spacing: -0.01em;
  padding: 0 2px;
}
.song-like {
  width: 34px; height: 34px; border: none; background: transparent;
  color: var(--label-3); cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s ease, transform .18s ease, opacity .15s ease;
}
.song-like svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none; stroke-width: 2.15;
  stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.song-like.on {
  color: var(--pink);
}
.song-like.on svg {
  fill: var(--pink); stroke: var(--pink);
}
.song-like:active { transform: scale(0.88); opacity: 0.7; }

/* 详情页歌曲行：时长 + 喜欢 */
.detail-song-side {
  display: flex; align-items: center; gap: 0; flex-shrink: 0;
  margin-left: 4px;
}
.detail-song-dur {
  font-size: 12px; color: rgba(255,255,255,.42);
  font-variant-numeric: tabular-nums;
  min-width: 36px; text-align: right;
  letter-spacing: -0.01em;
  padding: 0 4px;
}
.detail-song-like {
  width: 36px; height: 36px; border: none; background: transparent;
  color: rgba(255,255,255,.42); cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s ease, transform .18s ease, opacity .15s ease;
}
.detail-song-like svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none; stroke-width: 2.15;
  stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.detail-song-like.on {
  color: var(--pink);
}
.detail-song-like.on svg {
  fill: var(--pink); stroke: var(--pink);
}
.detail-song-like:active { transform: scale(0.88); opacity: 0.7; }
.detail-song-row.playing .detail-song-dur { color: rgba(250,45,72,.7); }


/* —— Library tiles —— */
.lib-list { list-style: none; }
.lib-list { list-style: none; }
.lib-block {
  border-bottom: 0.5px solid var(--separator);
}
.lib-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lib-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: grid; place-items: center; color: var(--pink);
  flex-shrink: 0;
}
.lib-icon svg { width: 22px; height: 22px; }
.lib-label { font-size: 17px; flex: 1; }
.lib-count { font-size: 15px; color: var(--label-3); }
.lib-chevron {
  color: var(--label-3); font-size: 12px;
  transition: transform .28s cubic-bezier(0.32, 0.72, 0, 1);
  display: inline-block;
}
.lib-block.open .lib-chevron { transform: rotate(90deg); }
.lib-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(0.32, 0.72, 0, 1);
}
.lib-block.open .lib-panel {
  max-height: 70vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

/* —— Settings simple —— */
.set-block {
  background: var(--bg-pure); border-radius: 14px; overflow: hidden; margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.set-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 0.5px solid var(--separator);
  gap: 12px;
}
.set-row:last-child { border-bottom: none; }
.set-label { font-size: 16px; }
.set-hint { font-size: 12px; color: var(--label-3); margin-top: 2px; }

/* —— 设置·歌词子页：一排 Tab 切换，避免四行挤在一起 —— */
.set-ly-panel {
  padding: 12px 14px 14px;
  border-bottom: 0.5px solid var(--separator);
}
.set-block > .set-ly-panel:last-child { border-bottom: none; }
.set-ly-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.set-ly-head .set-label { flex-shrink: 0; }
.set-ly-head .set-hint {
  margin-top: 0;
  text-align: right;
  line-height: 1.3;
}
.set-ly-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: var(--fill);
  margin-bottom: 12px;
}
.set-ly-tab {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--label-2);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.set-ly-tab.on {
  background: var(--bg-pure);
  color: var(--label);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 0.5px 0 rgba(255,255,255,0.6) inset;
}
html.dark .set-ly-tab.on {
  background: rgba(58, 58, 60, 0.95);
  color: var(--label);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35), inset 0 0.5px 0 rgba(255,255,255,0.08);
}
.set-ly-tab:active { opacity: 0.85; transform: scale(0.97); }
.set-ly-pane {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
}
.set-ly-pane.on {
  display: flex;
}
.set-ly-pane .set-hint {
  margin-top: 0;
  line-height: 1.35;
  width: 100%;
}
/* 与其它设置项一致：开关条按内容收缩，不拉满整行 */
.set-ly-pane > .seg,
.set-ly-pane .set-ly-offset-stack .seg {
  width: auto;
  max-width: 100%;
  align-self: flex-start;
  flex: 0 0 auto;
}
.set-ly-pane > .seg button,
.set-ly-pane .set-ly-offset-stack .seg button {
  flex: 0 1 auto !important;
  min-width: 52px !important;
  padding: 8px 16px !important;
}
#segShowTrans button,
#segShowRoma button,
#segLyWavy button {
  min-width: 56px !important;
  padding: 8px 18px !important;
}
.set-ly-offset-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: auto;
  max-width: 100%;
}
.set-ly-offset-stack #segLyOffset button#btnLyOffVal {
  min-width: 64px;
}
.seg {
  display: flex; background: var(--fill); border-radius: 8px; padding: 2px;
  align-items: stretch;
}
.seg button {
  border: none; background: transparent; color: var(--label-2);
  font-size: 12px; font-weight: 600; padding: 7px 10px; border-radius: 6px;
  cursor: pointer; font-family: inherit;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}
.seg button.on {
  background: var(--pink) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(250, 45, 72, 0.35);
}
.seg button:not(.on) {
  opacity: 0.72;
}
.field {
  width: 100%; margin-top: 8px; padding: 10px 12px; border-radius: 8px;
  border: none; background: var(--fill); color: var(--label);
  font-size: 14px; font-family: inherit; outline: none;
}
.btn-pink {
  width: 100%; margin-top: 10px; padding: 12px; border: none; border-radius: 10px;
  background: var(--pink); color: #fff; font-size: 16px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  pointer-events: auto; position: relative; overflow: hidden;
  -webkit-tap-highlight-color: rgba(250,45,72,0.18);
  touch-action: manipulation;
}
.btn-pink:active { transform: scale(0.97); opacity: 0.88; }
.btn-ghost {
  width: 100%; margin-top: 8px; padding: 12px; border: none; border-radius: 10px;
  background: var(--fill); color: var(--label); font-size: 15px;
  font-family: inherit; cursor: pointer;
}

/* —— 宝宝巴士 · Telegram 频道入口 —— */
.tg-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(135deg, rgba(34, 158, 217, 0.12) 0%, rgba(34, 158, 217, 0.04) 55%, transparent 100%),
    var(--bg-pure);
  border: 0.5px solid rgba(34, 158, 217, 0.22);
  box-shadow: 0 4px 16px rgba(34, 158, 217, 0.08), 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 28px;
  transition: transform .22s var(--spring-out), opacity .2s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.tg-card:active {
  transform: scale(0.98);
  opacity: 0.92;
}
.tg-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2AABEE 0%, #229ED9 100%);
  box-shadow: 0 6px 16px rgba(34, 158, 217, 0.35);
}
.tg-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.tg-body { flex: 1; min-width: 0; }
.tg-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--label);
}
.tg-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--label-3);
  line-height: 1.35;
}
.tg-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 158, 217, 0.12);
  color: #229ED9;
  font-size: 14px;
  font-weight: 600;
}
html.dark .tg-card {
  background:
    linear-gradient(135deg, rgba(34, 158, 217, 0.18) 0%, rgba(34, 158, 217, 0.06) 55%, transparent 100%),
    var(--bg-pure);
  border-color: rgba(34, 158, 217, 0.28);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 0.5px rgba(34, 158, 217, 0.12);
}
html.dark .tg-arrow {
  background: rgba(34, 158, 217, 0.2);
  color: #5bc8f5;
}

/* —— Dock（Apple Music：下滑合并 / 上滑展开） —— */
.dock {
  position: absolute;
  left: 13px; right: 13px;
  /* 底部只留少量间距，safe-area 上限 10px，避免大块空白 */
  bottom: calc(4px + min(var(--safe-b), 10px));
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  transition: gap .72s cubic-bezier(0.22, 1, 0.36, 1);
}
.dock > * { pointer-events: auto; }

/* 迷你播放器 · 液态玻璃质感 */
.mini {
  height: 0;
  overflow: hidden;
  display: flex; align-items: center; gap: 10px;
  padding: 0 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.62) 100%);
  backdrop-filter: saturate(220%) blur(48px);
  -webkit-backdrop-filter: saturate(220%) blur(48px);
  border: 0.5px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition:
    transform .8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity .65s cubic-bezier(0.22, 1, 0.36, 1),
    height .8s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius .8s cubic-bezier(0.22, 1, 0.36, 1),
    border-color .55s ease,
    box-shadow .6s ease,
    width .8s cubic-bezier(0.22, 1, 0.36, 1),
    flex .8s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  order: 1;
  margin: 0;
  isolation: isolate;
}
.mini.show {
  height: var(--mini);
  overflow: hidden;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  border-radius: 999px; /* 全胶囊 */
  border-color: rgba(255,255,255,0.85);
  box-shadow:
    0 10px 32px rgba(0,0,0,0.10),
    0 2px 10px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -0.5px 0 rgba(0,0,0,0.04);
}
.mini-art {
  width: 44px; height: 44px; border-radius: 50%; /* 圆形封面 */
  object-fit: cover; background: var(--surface-2); flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: width .28s ease, height .28s ease, border-radius .28s ease, box-shadow .28s ease;
  transform-origin: center center;
}
/* 播放中封面缓慢旋转（唱片感） */
.mini-art.spinning {
  animation: mini-art-spin 16s linear infinite;
}
.mini-art.spinning-paused {
  animation-play-state: paused;
}
@keyframes mini-art-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.mini-meta { flex: 1; min-width: 0; }
.mini-name {
  font-size: 14px; font-weight: 700;
  color: var(--label);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.mini-sub {
  position: relative;
  min-height: 20px;
  margin-top: 0;
  overflow: hidden;
}
.mini-artist {
  font-size: 12px; color: var(--label-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.35;
}
.mini-lyric-track {
  display: none;
  position: relative;
  height: 20px;
  overflow: hidden;
}
.mini-sub.show-lyric .mini-lyric-track { display: block; }
.mini-sub.show-lyric .mini-artist { display: none; }
.mini-sub:not(.show-lyric) .mini-lyric-track { display: none; }
.mini-lyric-line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 20px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 更深一点的酒红，更高级 */
  color: #b83a4e;
  opacity: 1;
  transform: translateX(0);
  transition: transform .32s cubic-bezier(0.22, 1, 0.36, 1), opacity .28s ease;
  will-change: transform;
}
html.dark .mini-lyric-line {
  color: #c45a6c;
}
/* 过长歌词：单次跑马灯（只跑一遍，停在末尾） */
.mini-lyric-line.is-marquee {
  text-overflow: clip;
  overflow: visible;
  transition: none;
  animation: mini-ly-marquee var(--mq-dur, 4s) linear 0.55s 1 forwards;
}
@keyframes mini-ly-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--mq-dx, 0px)); }
}
/* 旧句：向左淡出 */
.mini-lyric-line.is-out {
  opacity: 0;
  transform: translateX(-18px);
  pointer-events: none;
  animation: none;
}
/* 新句：从右侧进入 */
.mini-lyric-line.is-from-right {
  opacity: 0;
  transform: translateX(28px);
  transition: none;
  animation: none;
}
.mini-lyric-line.is-from-right.is-enter {
  opacity: 1;
  transform: translateX(0);
  transition: transform .32s cubic-bezier(0.22, 1, 0.36, 1), opacity .28s ease;
  animation: none;
}
.mini-lyric-line.is-next { display: none !important; }
.mini-btns { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.mini-btns button {
  width: 40px; height: 40px; border: none; background: transparent;
  color: var(--label); display: grid; place-items: center; cursor: pointer;
  transition: transform .2s var(--spring);
}
.mini-btns button:active { transform: scale(0.85); }
.mini-btns svg { width: 22px; height: 22px; }
.mini-bar { display: none !important; }

/* 进度：与未播放区域渐变融合，前沿无硬边叠色 */
.mini-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
  transition: width .2s linear;
  background: linear-gradient(90deg,
    rgba(250, 45, 72, 0.26) 0%,
    rgba(250, 45, 72, 0.18) 55%,
    rgba(250, 45, 72, 0.08) 82%,
    rgba(250, 45, 72, 0.02) 94%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0,0,0,0.45) 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0,0,0,0.45) 88%, transparent 100%);
}
.mini-fill::after {
  content: none;
}
html.dark .mini-fill {
  background: linear-gradient(90deg,
    rgba(250, 45, 72, 0.32) 0%,
    rgba(250, 45, 72, 0.20) 55%,
    rgba(250, 45, 72, 0.08) 82%,
    rgba(250, 45, 72, 0.02) 94%,
    transparent 100%);
}
/* 合并态与展开态进度条统一：同一套粉红软渐变 + 右沿羽化 */
.dock.collapsed .mini.show .mini-fill,
.dock:not(.collapsed) .mini.show .mini-fill {
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(90deg,
    rgba(250, 45, 72, 0.26) 0%,
    rgba(250, 45, 72, 0.18) 55%,
    rgba(250, 45, 72, 0.08) 82%,
    rgba(250, 45, 72, 0.02) 94%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0,0,0,0.45) 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, rgba(0,0,0,0.45) 88%, transparent 100%);
}
html.dark .dock.collapsed .mini.show .mini-fill,
html.dark .dock:not(.collapsed) .mini.show .mini-fill {
  background: linear-gradient(90deg,
    rgba(250, 45, 72, 0.32) 0%,
    rgba(250, 45, 72, 0.20) 55%,
    rgba(250, 45, 72, 0.08) 82%,
    rgba(250, 45, 72, 0.02) 94%,
    transparent 100%);
}
/* 进度粒子：在封面/文字之下（仅调层级，观感与原来一致） */
.mini-particles {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}
.mini-particle {
  position: absolute;
  left: 0;
  top: 50%;
  width: 3.5px;
  height: 3.5px;
  margin: -1.75px 0 0 -1.75px;
  border-radius: 50%;
  background: rgba(250, 45, 72, 0.75);
  box-shadow: none;
  filter: none;
  pointer-events: none;
  animation: mini-particle-fly var(--dur, 2.2s) cubic-bezier(0.25, 0.5, 0.35, 1) forwards;
  will-change: transform, opacity;
}
html.dark .mini-particle {
  background: rgba(255, 130, 150, 0.8);
  box-shadow: none;
}
@keyframes mini-particle-fly {
  0% {
    transform: translate3d(var(--sx, 0px), var(--y0, 0), 0) scale(var(--s0, 1));
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  55% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.45;
  }
  100% {
    transform: translate3d(var(--dx, -80px), var(--dy, -8px), 0) scale(0.35);
    opacity: 0;
  }
}
/* 封面 / 歌名 / 按钮压在进度与粒子之上 */
.mini-art,
.mini-meta,
.mini-btns {
  position: relative;
  z-index: 2;
}
.mini > *:not(.mini-fill):not(.mini-bar):not(.mini-particles) {
  position: relative;
  z-index: 2;
}

.dock-side {
  border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06), inset 0 0.5px 0 rgba(255,255,255,0.9);
  color: var(--label-3);
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.dock-side svg { width: 24px; height: 24px; }
.dock-side:active { transform: scale(0.9); }
.dock-side.on { color: var(--pink); }
#dockHome { order: 0; }
#dockSearch { order: 3; }

.tabbar {
  height: var(--nav);
  display: flex; align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.62) 100%);
  backdrop-filter: saturate(220%) blur(48px);
  -webkit-backdrop-filter: saturate(220%) blur(48px);
  border: 0.5px solid rgba(255,255,255,0.55);
  border-radius: 28px;
  box-shadow:
    0 10px 28px rgba(0,0,0,0.09),
    0 2px 8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.95),
    inset 0 -0.5px 0 rgba(0,0,0,0.04);
  overflow: hidden;
  width: 100%;
  order: 2;
  transition:
    opacity .65s cubic-bezier(0.22, 1, 0.36, 1),
    transform .72s cubic-bezier(0.22, 1, 0.36, 1),
    max-height .72s cubic-bezier(0.22, 1, 0.36, 1);
}
.tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  border: none; background: transparent;
  /* 浅色未选中：再深一点，更易辨认 */
  color: rgba(60, 60, 67, 0.78);
  font-size: 10px; font-weight: 500; cursor: pointer; font-family: inherit;
  transition: color .28s cubic-bezier(0.32, 0.72, 0, 1), transform .32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html.dark .tab {
  /* 深色未选中：再亮一点 */
  color: rgba(235, 235, 245, 0.72);
}
.tab:active { transform: scale(0.82); }
.tab svg {
  width: 24px; height: 24px;
  transition: transform .36s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tab.on { color: var(--pink); }
.tab.on svg { transform: scale(1.12); }

/* 展开 / 收合：全程可过渡，避免 display:none 导致「啪」一下 */
.dock {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: calc(4px + min(var(--safe-b), 10px));
  z-index: 50;
  transition:
    gap .85s cubic-bezier(0.22, 1, 0.36, 1);
}
/* gap between mini & tabbar tightened via .dock / .dock:not(.collapsed) gap: 4px */
.dock,
.dock.collapsed,
.dock:not(.collapsed) {
  /* 禁止被其它 transform 带离底部 */
  transform: none !important;
}
.dock:not(.collapsed) {
  flex-direction: column;
  gap: 4px;
}
.dock:not(.collapsed) .mini { order: 1; width: 100%; }
.dock:not(.collapsed) .tabbar { order: 2; width: 100%; }
/* 展开态：迷你条 -2px，底栏 +2px */
.dock:not(.collapsed) .mini.show {
  height: calc(var(--mini) - 2px);
}
.dock:not(.collapsed) .tabbar {
  height: calc(var(--nav) + 2px);
}

/* 侧键：收起时淡入放大，展开时缩回 */
.dock-side {
  /* 展开时完全脱离文档流，不占 gap，底栏贴底 */
  position: absolute;
  opacity: 0;
  width: 0;
  min-width: 0;
  max-width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(0.72);
  border-width: 0;
  transition:
    opacity .7s cubic-bezier(0.22, 1, 0.36, 1),
    transform .75s cubic-bezier(0.22, 1, 0.36, 1),
    width .75s cubic-bezier(0.22, 1, 0.36, 1),
    min-width .75s cubic-bezier(0.22, 1, 0.36, 1),
    max-width .75s cubic-bezier(0.22, 1, 0.36, 1),
    height .75s cubic-bezier(0.22, 1, 0.36, 1),
    border-width .4s ease;
}
.dock:not(.collapsed) {
  flex-direction: column;
  gap: 4px;
}
.dock.collapsed {
  flex-direction: row;
  align-items: center;
  /* gap:0 — 避免零宽 tabbar 仍占 flex gap 导致右侧间距翻倍 */
  gap: 0;
  position: absolute;
  left: 13px;
  right: 13px;
  justify-content: space-between;
}
.dock.collapsed .dock-side {
  position: relative;
  display: grid;
  place-items: center;
  opacity: 1;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  flex: 0 0 52px;
  pointer-events: auto;
  transform: scale(1);
  border-width: 0.5px;
  border-radius: 50%;
}

/* tabbar：收起时缩小上浮淡出，而不是瞬间消失 */
.tabbar {
  transform-origin: center bottom;
  transition:
    opacity .75s cubic-bezier(0.22, 1, 0.36, 1),
    transform .8s cubic-bezier(0.22, 1, 0.36, 1),
    max-height .8s cubic-bezier(0.22, 1, 0.36, 1),
    margin .8s cubic-bezier(0.22, 1, 0.36, 1),
    padding .8s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius .8s cubic-bezier(0.22, 1, 0.36, 1),
    width .8s cubic-bezier(0.22, 1, 0.36, 1) !important;
  max-height: 64px;
}
.dock.collapsed .tabbar {
  opacity: 0 !important;
  max-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-width: 0 !important;
  transform: scale(0.88) translateY(18px);
  pointer-events: none;
  overflow: hidden;
  /* 不用 display:none，才能看到收合过程 */
  width: 0 !important;
  min-width: 0 !important;
  flex: 0 0 0 !important;
  /* 彻底脱离 flex 流，避免与侧钮之间仍产生 gap */
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  visibility: hidden;
}

.dock.collapsed .mini.show {
  order: 1;
  flex: 1 1 0;
  width: auto !important;
  min-width: 120px;
  max-width: none;
  border-radius: 999px;
  height: 52px !important;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  border-color: rgba(255,255,255,0.65);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06), inset 0 0.5px 0 rgba(255,255,255,0.9);
  isolation: isolate;
  position: relative;
  /* 与左右侧钮等距，替代 gap（避免零宽 tabbar 破坏对称） */
  margin-left: 8px;
  margin-right: 8px;
}
.dock.collapsed .mini:not(.show) {
  opacity: 0;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  flex: 0 !important;
  pointer-events: none;
  overflow: hidden;
}
.dock.collapsed .mini-artist {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .45s ease, max-height .55s ease;
}
.dock:not(.collapsed) .mini-artist {
  opacity: 1;
  max-height: 20px;
  transition: opacity .55s ease .1s, max-height .6s ease;
}
.dock.collapsed .mini-art { width: 36px; height: 36px; border-radius: 50%; }
.dock.collapsed .mini-name { font-size: 13px; }
.dock.collapsed #miniNext {
  opacity: 0;
  width: 0;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .4s ease, width .55s cubic-bezier(0.22, 1, 0.36, 1);
}
.dock:not(.collapsed) #miniNext {
  opacity: 1;
  width: 40px;
  transition: opacity .5s ease .15s, width .6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* —— iOS IPA：底栏贴底，仅保留 4px 间距（不叠加 safe-area，避免高出一截）—— */
@supports (-webkit-touch-callout: none) {
  .dock,
  .dock.collapsed,
  .dock:not(.collapsed) {
    bottom: 4px !important;
  }

  /* iOS 非全屏：强制压缩顶部空白 */
  html.fm-native:not(.fm-chrome-full) {
    --safe-t: 0px !important;
  }
  html.fm-native:not(.fm-chrome-full) .header {
    padding-top: 6px !important;
  }
  /* 播放页打开：只压主页 header，不改全局 --safe-t，避免播放页顶进状态栏 */
  html.fm-native.np-open:not(.home-full-pref) .header {
    padding-top: 6px !important;
  }
  /* iOS 播放页始终保留真实顶部安全区 */
  .np,
  .np.open,
  .np.closing {
    --safe-t: var(--safe-t-raw) !important;
    --safe-b: var(--safe-b-raw) !important;
  }

  /* —— iOS 歌词：去掉紫/粉横竖选区线与 WebKit 伪影（仅 iOS，不动安卓）—— */
  /* 1) 彻底禁止选中 / 长按菜单 / 光标，避免系统紫色选区手柄与高亮条 */
  .np-lyrics,
  .np-lyrics *,
  .np-lyrics .ly,
  .np.lyrics-full .np-lyrics,
  .np.lyrics-full .np-lyrics .ly {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    caret-color: transparent !important;
    outline: none !important;
    -webkit-user-modify: read-only;
  }
  .np-lyrics .ly::selection,
  .np-lyrics .ly *::selection,
  .np-lyrics::selection {
    background: transparent !important;
    color: inherit !important;
  }
  /* 2) iOS 上 filter:blur 易产生彩色描边/竖线伪影，改为无滤镜 + 仅靠透明度区分 */
  .np-lyrics .ly {
    filter: none !important;
    -webkit-filter: none !important;
  }
  .np-lyrics .ly.near {
    filter: none !important;
    -webkit-filter: none !important;
  }
  /* 3) mask 渐变在部分 iOS WebView 会出现横向色带，改用更软的纯透明遮罩或关闭 */
  .np-lyrics,
  .np.lyrics-full .np-lyrics {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

/* —— Now Playing · 白底 + 封面取色氛围（默认）—— */
.np {
  position: fixed; inset: 0; z-index: 80;
  background: #fafafc;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transform: translateY(100%);
  transition: transform .48s cubic-bezier(0.32, 0.72, 0, 1), opacity .36s ease;
  will-change: transform;
  --np-c1: 250, 45, 72;
  --np-c2: 240, 200, 210;
  overflow: hidden;
  /* 未打开时强制不可见，切换经典/沉浸样式时也不会闪出全屏 */
  visibility: hidden;
}
.np.open {
  visibility: visible;
}
.np.closing {
  visibility: visible;
}
/* 经典：白底淡彩；沉浸：见 .np.immersive */
.np-bg {
  position: absolute;
  inset: 0;
  z-index: 0 !important;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(var(--np-c1), 0.28) 0%, transparent 55%),
    radial-gradient(90% 55% at 100% 40%, rgba(var(--np-c2), 0.22) 0%, transparent 50%),
    #fafafc;
  transition: opacity .4s ease, background .6s ease;
}
/* 经典模式播放页打开时强制显示模糊海报（iOS 切歌后 JS 偶发未写回 opacity） */
.np.open:not(.immersive) .np-bg {
  opacity: 1 !important;
}
.np.open:not(.immersive) .np-bg img[src]:not([src=""]) {
  opacity: 0.5;
}
.np-bg img {
  position: absolute;
  left: 50%; top: 50%;
  width: 145%; height: 145%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: blur(56px) saturate(1.25) brightness(1.12);
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.np-bg::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.np::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 75% at 50% -12%, rgba(var(--np-c1), 0.38) 0%, transparent 58%),
    radial-gradient(95% 55% at 100% 35%, rgba(var(--np-c2), 0.28) 0%, transparent 52%),
    linear-gradient(180deg, #fafafc 0%, #f5f5f7 50%, #f0f0f3 100%);
  opacity: 1;
  transition: opacity .45s ease, background .6s ease;
}
.np > *:not(.np-bg):not(.np-top-btn) { position: relative; z-index: 1; }
/* 全屏歌词：铺满整屏，仅歌词（隐藏歌名歌手，保留拉词按钮） */
.np.lyrics-full .np-grab,
.np.lyrics-full .np-art-wrap,
.np.lyrics-full .np-seek,
.np.lyrics-full .np-time,
.np.lyrics-full .np-controls,
.np.lyrics-full .np-tools,
.np.lyrics-full .np-info {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
.np.lyrics-full .np-title,
.np.lyrics-full .np-artist,
.np.lyrics-full .np-q {
  display: none !important;
  visibility: hidden !important;
}
.np.lyrics-full .np-lyrics {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 100% !important;
  flex: none !important;
  z-index: 3 !important;
  margin: 0 !important;
  padding: calc(56px + var(--safe-t)) 24px calc(56px + var(--safe-b)) !important;
  mask-image: linear-gradient(transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 0%, #000 12%, #000 88%, transparent 100%);
  overflow: hidden !important;
  -webkit-overflow-scrolling: auto;
}
/* —— 经典模式全屏歌词：与播放页同款模糊海报背景 —— */
.np.lyrics-full:not(.immersive) {
  background: #fafafc;
}
/* 取色淡彩叠在模糊海报上，保证文字可读 */
.np.lyrics-full:not(.immersive)::before {
  opacity: 0.55 !important;
  background:
    radial-gradient(130% 75% at 50% -12%, rgba(var(--np-c1), 0.28) 0%, transparent 58%),
    radial-gradient(95% 55% at 100% 35%, rgba(var(--np-c2), 0.18) 0%, transparent 52%),
    linear-gradient(180deg, rgba(250,250,252,0.35) 0%, rgba(245,245,247,0.55) 50%, rgba(240,240,243,0.7) 100%);
  z-index: 1;
}
/* 经典全屏歌词：显示模糊海报（与刚进播放页一致） */
.np.lyrics-full:not(.immersive) .np-bg {
  opacity: 1 !important;
  z-index: 0 !important;
}
.np.lyrics-full:not(.immersive) .np-bg img {
  display: block !important;
  opacity: 0.55 !important;
  filter: blur(56px) saturate(1.25) brightness(1.12);
}
.np.lyrics-full:not(.immersive) .np-bg::after {
  background: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
/* 经典全屏歌词：默认浅底深字；有 np-ui-* 时被覆盖为统一白/黑 */
.np.lyrics-full:not(.immersive) .np-lyrics .ly {
  color: rgba(28, 28, 30, 0.32);
}
.np.lyrics-full:not(.immersive) .np-lyrics .ly.near {
  color: rgba(28, 28, 30, 0.55);
}
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on:not(.ly-ktv) {
  font-size: 26px !important;
  color: var(--np-ly-on, #b83a4e) !important;
  text-shadow: none;
}
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on.ly-ktv {
  font-size: 26px !important;
  text-shadow: none;
}
/* 经典 + 暗色主题全屏歌词：背景跟随对比度，字色由 np-ui-* 决定 */
html.dark .np.lyrics-full:not(.immersive) {
  background: #f5f5f7;
}
html.dark .np.lyrics-full:not(.immersive).np-ui-light {
  background: #000;
}
html.dark .np.lyrics-full:not(.immersive)::before {
  opacity: 0.55 !important;
  background:
    radial-gradient(130% 75% at 50% -12%, rgba(var(--np-c1), 0.28) 0%, transparent 58%),
    radial-gradient(95% 55% at 100% 35%, rgba(var(--np-c2), 0.18) 0%, transparent 52%),
    linear-gradient(180deg, rgba(250,250,252,0.35) 0%, rgba(245,245,247,0.55) 50%, rgba(240,240,243,0.7) 100%);
  z-index: 1;
}
html.dark .np.lyrics-full:not(.immersive).np-ui-light::before {
  opacity: 0.65 !important;
  background:
    radial-gradient(140% 85% at 50% -8%, rgba(var(--np-c1), 0.55) 0%, transparent 62%),
    radial-gradient(100% 60% at 100% 30%, rgba(var(--np-c2), 0.35) 0%, transparent 55%),
    radial-gradient(90% 55% at 0% 80%, rgba(var(--np-c1), 0.25) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(10,10,10,0.45) 45%, rgba(18,18,18,0.6) 100%);
}
html.dark .np.lyrics-full:not(.immersive) .np-bg {
  opacity: 1 !important;
}
html.dark .np.lyrics-full:not(.immersive) .np-bg img {
  display: block !important;
  opacity: 0.55 !important;
  filter: blur(56px) saturate(1.25) brightness(1.05);
}
html.dark .np.lyrics-full:not(.immersive).np-ui-light .np-bg img {
  opacity: 0.65 !important;
  filter: blur(56px) saturate(1.3) brightness(0.7);
}
html.dark .np.lyrics-full:not(.immersive) .np-bg::after {
  background: rgba(255, 255, 255, 0.35) !important;
}
html.dark .np.lyrics-full:not(.immersive).np-ui-light .np-bg::after {
  background: rgba(0, 0, 0, 0.35) !important;
}
/* —— 沉浸模式全屏歌词：模糊海报；字色由 np-ui-* 统一 —— */
.np.immersive.lyrics-full {
  background: #0c0c0e !important;
}
.np.immersive.lyrics-full .np-bg {
  opacity: 1 !important;
  background: #0c0c0e !important;
}
.np.immersive.lyrics-full .np-bg img {
  left: -18%; top: -12%;
  width: 136%; height: 124%;
  transform: none;
  object-fit: cover;
  filter: blur(40px) saturate(1.35) brightness(0.5);
  -webkit-filter: blur(40px) saturate(1.35) brightness(0.5);
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}
.np.immersive.lyrics-full .np-bg::after {
  background: rgba(0,0,0,0.42);
}
.np.immersive.lyrics-full .np-lyrics .ly {
  color: rgba(255, 255, 255, 0.32) !important;
}
.np.immersive.lyrics-full .np-lyrics .ly.near {
  color: rgba(255, 255, 255, 0.58) !important;
}
.np.immersive.lyrics-full .np-lyrics .ly.on {
  color: var(--np-ly-on, #b83a4e) !important;
  text-shadow: none;
}
.np.immersive.lyrics-full.np-ui-dark .np-lyrics .ly {
  color: rgba(28, 28, 30, 0.32) !important;
}
.np.immersive.lyrics-full.np-ui-dark .np-lyrics .ly.near {
  color: rgba(28, 28, 30, 0.55) !important;
}
.np.immersive.lyrics-full.np-ui-dark .np-lyrics .ly.on {
  color: var(--np-ly-on, #7a1f32) !important;
  text-shadow: none;
}
.np .np-art-wrap,
.np .np-seek,
.np .np-time,
.np .np-controls,
.np .np-tools,
.np .np-info {
  transition: opacity .35s ease, transform .4s ease;
}
.np.open { opacity: 1; pointer-events: auto; transform: none; }
.np.closing {
  transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1), opacity .32s ease !important;
}
/* 关闭动画：保持 .open 避免 visibility/opacity 瞬切导致 iOS 闪一下 */
.np.open.closing {
  transform: translateY(100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: visible !important;
}
/* 播放页底栏 · 切源（原收起位） */
.np.lyrics-full #npMore {
  display: none !important;
}
/* 与播放页底栏 np-tools 同款毛玻璃透光 · 收窄居中 */
.np-more-pop {
  position: fixed;
  z-index: 97;
  width: max-content;
  min-width: 0;
  max-width: none;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(200%) blur(40px);
  -webkit-backdrop-filter: saturate(200%) blur(40px);
  border: 0.5px solid rgba(255,255,255,0.55);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.14),
    0 2px 8px rgba(0,0,0,0.05),
    inset 0 0.5px 0 rgba(255,255,255,0.85);
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  pointer-events: none;
  transition: opacity .2s ease, transform .22s cubic-bezier(0.32, 0.72, 0, 1);
}
.np-more-pop.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.np-more-pop button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--label);
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.np-more-pop button:active {
  background: rgba(120,120,128,0.12);
  opacity: 0.85;
}
.np-more-pop button svg {
  width: 15px;
  height: 15px;
  stroke: var(--pink);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
/* 播放列表 · 当前曲波形：短↔长上下循环 */
.q-wave {
  flex-shrink: 0;
  margin-right: 4px;
  width: 18px;
  height: 16px;
  color: var(--pink);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.2px;
}
.q-wave i {
  display: block;
  width: 2.4px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
  transform-origin: center bottom;
}
/* 静止：高低错落 */
.q-wave i:nth-child(1) { height: 40%; }
.q-wave i:nth-child(2) { height: 70%; }
.q-wave i:nth-child(3) { height: 100%; }
.q-wave i:nth-child(4) { height: 55%; }
.q-wave i:nth-child(5) { height: 35%; }
/* 播放：相邻相位相反，短的变长、长的变短 */
.q-wave.is-playing i:nth-child(1) { animation: qWaveUp 0.72s ease-in-out infinite; }
.q-wave.is-playing i:nth-child(2) { animation: qWaveDown 0.72s ease-in-out infinite; }
.q-wave.is-playing i:nth-child(3) { animation: qWaveUp 0.72s ease-in-out infinite 0.08s; }
.q-wave.is-playing i:nth-child(4) { animation: qWaveDown 0.72s ease-in-out infinite 0.04s; }
.q-wave.is-playing i:nth-child(5) { animation: qWaveUp 0.72s ease-in-out infinite 0.12s; }
@keyframes qWaveUp {
  0%, 100% { height: 28%; }
  50% { height: 100%; }
}
@keyframes qWaveDown {
  0%, 100% { height: 100%; }
  50% { height: 28%; }
}
/* 沉浸播放页上：更透、白字 */
/* 沉浸模式下切源弹层仍用与音质相同的实色毛玻璃，保证可读 */
html.dark .np-more-pop {
  background: rgba(44, 44, 46, 0.78);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.08);
  color: var(--label);
}
html.dark .np-more-pop button { color: var(--label); }
html.dark .np-more-pop button:active { background: rgba(120,120,128,0.22); }

.np-grab {
  width: 36px; height: 5px; border-radius: 3px;
  background: rgba(60,60,67,0.18);
  margin: calc(10px + var(--safe-t)) auto 0;
  flex-shrink: 0;
}
.np.immersive .np-grab {
  display: none !important;
}

/* 拉歌词按钮：竖屏沉浸/经典 = 右上角；横屏磁带 = 与磁带歌名同高 */
.np-top-btn {
  position: absolute !important;
  top: calc(12px + var(--safe-t));
  right: 14px;
  left: auto;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0.5px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  color: var(--label);
  font-family: inherit;
  cursor: pointer;
  box-shadow:
    0 3px 10px rgba(0,0,0,0.08),
    inset 0 0.5px 0 rgba(255,255,255,0.9);
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, opacity .18s ease, top .2s ease;
  pointer-events: auto;
}
.np-top-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--pink);
  display: block;
  pointer-events: none;
}
.np-top-btn:active {
  transform: scale(0.92);
  opacity: 0.88;
}
.np-top-btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}
.np-top-btn.is-loading svg {
  animation: np-fetch-spin 0.9s linear infinite;
}
@keyframes np-fetch-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.np.immersive .np-top-btn,
.np.np-ui-light .np-top-btn {
  background: rgba(28,28,30,0.42);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 4px 12px rgba(0,0,0,0.22), inset 0 0.5px 0 rgba(255,255,255,0.1);
}
.np.immersive .np-top-btn svg,
.np.np-ui-light .np-top-btn svg {
  stroke: #ff6b81;
}
html.dark .np:not(.np-ui-dark) .np-top-btn {
  background: rgba(28,28,30,0.5);
  border-color: rgba(255,255,255,0.12);
}
.np.open .np-top-btn,
.np.immersive .np-top-btn,
.np.lyrics-full .np-top-btn {
  display: grid !important;
  visibility: visible !important;
  opacity: 1;
  pointer-events: auto !important;
}
/* 竖屏沉浸：明确钉在右上角，不跟歌名行 */
@media (orientation: portrait) {
  .np.open .np-top-btn,
  .np.immersive .np-top-btn {
    top: calc(12px + var(--safe-t)) !important;
    right: 14px !important;
  }
}

/* 横屏磁带：不显示拉歌词按钮（无扫字跟唱需求） */
@media (orientation: landscape) {
  .np.open .np-top-btn,
  .np.closing .np-top-btn,
  .np .np-top-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* 经典布局 */
.np-info {
  padding: 8px 28px 4px;
  flex-shrink: 0;
  text-align: center;
  order: 0;
  margin-top: 0;
  z-index: 2;
}
.np-art-wrap {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 36px 12px; min-height: 0;
  margin-top: 10px; margin-bottom: 4px;
  order: 0;
  width: auto;
}
.np-art {
  width: min(72vw, 320px); height: auto; aspect-ratio: 1;
  max-width: 320px;
  border-radius: 16px; object-fit: cover; background: #e5e5ea;
  box-shadow: 0 20px 56px rgba(0,0,0,0.20), 0 6px 16px rgba(0,0,0,0.08);
  transition: transform .5s var(--spring);
  -webkit-mask-image: none; mask-image: none;
}
.np.open .np-art { transform: scale(1); }
.np-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--label);
  text-shadow: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.np-artist {
  font-size: 16px; color: var(--label-2); margin-top: 4px; font-weight: 500;
  text-shadow: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.np-q { display: none !important; }

/* 歌词 — 当前句固定滚到区域正中（封面与控件之间） */
.np-lyrics {
  flex: 1;
  min-height: 100px;
  max-height: 32vh;
  overflow: hidden; /* 排队平移：不用原生滚动 */
  overflow-x: hidden;
  -webkit-overflow-scrolling: auto;
  mask-image: linear-gradient(transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 0%, #000 10%, #000 90%, transparent 100%);
  padding: 0 20px;
  text-align: center;
  scroll-behavior: auto;
  order: 2;
  position: relative;
}
/* Sollin 风格：整列歌词轨道做 translateY 排队上移 */
.np-lyrics .np-ly-track {
  position: relative;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.np-lyrics .ly-spacer {
  width: 100%;
  pointer-events: none;
  flex-shrink: 0;
}
.np-lyrics .ly {
  padding: 8px 12px;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(60,60,67,0.22);
  transition: color .2s ease, filter .2s ease, font-size .25s ease, opacity .2s ease;
  font-weight: 500;
  filter: blur(0.5px);
  opacity: 0.4;
  transform: none;
  position: relative;
  --ly-prog: 0;
  --ly-hl: var(--np-ly-on, #b83a4e);
  --ly-dim: rgba(60,60,67,0.30);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  box-sizing: border-box;
}
/* 高亮句出现：轻微放大再回弹，柔和弹簧感 */
@keyframes ly-highlight-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.08); }
  55%  { transform: scale(0.97); }
  75%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.np-lyrics .ly.on {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
/* 已唱完：整句高亮 */
.np-lyrics .ly.sung {
  color: var(--ly-hl) !important;
  -webkit-text-fill-color: var(--ly-hl) !important;
  background: none !important;
  filter: none !important;
  opacity: 0.9 !important;
  transform: none;
  font-size: 17px;
  font-weight: 650;
  padding: 8px 12px;
}
/* 当前句：KTV 连续扫字（渐变从左往右“扫进去”，不是逐字蹦） */
.np-lyrics .ly.on {
  font-size: 26px !important;
  font-weight: 800 !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  letter-spacing: -0.03em;
  padding: 9px 12px !important;
  text-shadow: none;
  animation: none !important;
  /* 软边连续填充：已扫=高亮，未扫=正常色 */
  /* 开扫瞬时响应：不做 background 过渡；软边收窄，避免头几个 % 看不出在扫 */
  transition: font-size .28s cubic-bezier(0.34, 1.2, 0.64, 1), opacity .18s ease !important;
  background-image: linear-gradient(
    90deg,
    var(--ly-hl) 0%,
    var(--ly-hl) calc(var(--ly-prog) * 100% - 6%),
    color-mix(in srgb, var(--ly-hl) 60%, var(--ly-dim)) calc(var(--ly-prog) * 100%),
    var(--ly-dim) calc(var(--ly-prog) * 100% + 10%),
    var(--ly-dim) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}
.np-lyrics .ly.near {
  color: rgba(60,60,67,0.55);
  filter: blur(0.1px);
  opacity: 0.8;
  transform: none;
  font-size: 17px;
  padding: 8px 12px;
}
/* 各模式颜色 */
.np.np-ui-light .np-lyrics .ly { --ly-dim: rgba(255,255,255,0.34); --ly-hl: var(--np-ly-on, #b83a4e); }
.np.np-ui-dark .np-lyrics .ly { --ly-dim: rgba(28,28,30,0.34); --ly-hl: var(--np-ly-on, #7a1f32); }
html.dark .np:not(.np-ui-dark) .np-lyrics .ly { --ly-dim: rgba(255,255,255,0.34); --ly-hl: var(--np-ly-on, #b83a4e); }
.np.immersive.np-ly-white .np-lyrics .ly { --ly-hl: #ffffff; }
/* 覆盖各模式把 .on 染成实心高亮的规则，保证渐变扫字生效 */
.np .np-lyrics .ly.on,
.np.np-ui-light .np-lyrics .ly.on,
.np.np-ui-dark .np-lyrics .ly.on,
.np.lyrics-full .np-lyrics .ly.on,
.np.immersive .np-lyrics .ly.on,
.np.immersive.lyrics-full .np-lyrics .ly.on,
.np.immersive:not(.lyrics-full) .np-lyrics .ly.on,
html.dark .np .np-lyrics .ly.on,
html.dark .np:not(.np-ui-dark) .np-lyrics .ly.on {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: linear-gradient(
    90deg,
    var(--ly-hl) 0%,
    var(--ly-hl) calc(var(--ly-prog) * 100% - 6%),
    color-mix(in srgb, var(--ly-hl) 60%, var(--ly-dim)) calc(var(--ly-prog) * 100%),
    var(--ly-dim) calc(var(--ly-prog) * 100% + 10%),
    var(--ly-dim) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  transition: font-size .28s cubic-bezier(0.34, 1.2, 0.64, 1), opacity .18s ease !important;
}
.np .np-lyrics .ly.sung,
.np.np-ui-light .np-lyrics .ly.sung,
.np.np-ui-dark .np-lyrics .ly.sung,
.np.lyrics-full .np-lyrics .ly.sung,
.np.immersive .np-lyrics .ly.sung,
html.dark .np .np-lyrics .ly.sung {
  color: var(--ly-hl) !important;
  -webkit-text-fill-color: var(--ly-hl) !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}
.np-lyrics {
  scroll-behavior: smooth;
}
/* 频道 / 歌单切换 */
.ch-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ch-refresh-text {
  border: none;
  background: none;
  color: var(--pink);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 2px;
  width: auto;
  height: auto;
  border-radius: 0;
}
.ch-refresh-text.spin {
  animation: none;
  opacity: 0.55;
}

.ch-refresh {
  width: 32px; height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(120,120,128,0.12);
  color: var(--label-2);
  display: grid; place-items: center;
  cursor: pointer;
  padding: 0;
  transition: transform .35s ease, background .2s;
}
.ch-refresh:active { transform: rotate(-180deg) scale(0.92); }
.ch-refresh.spin { animation: chSpin .6s ease; }
@keyframes chSpin {
  from { transform: rotate(0); }
  to { transform: rotate(-360deg); }
}
.ch-tabs {
  display: flex;
  gap: 4px;
  background: rgba(120,120,128,0.12);
  border-radius: 10px;
  padding: 2px;
}
.ch-tab {
  border: none;
  background: transparent;
  color: var(--label-3);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ch-tab.on {
  background: #fff;
  color: var(--label);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
/* 频道 — 渐变色块（参考 QQ 频道 KTV 风格） */
.ch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
}
.pl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
}
.pl-grid.hide, .ch-grid.hide { display: none !important; }
.pl-card {
  cursor: pointer;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
}
.pl-card:active { opacity: 0.88; transform: scale(0.97); }
.pl-card-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-2);
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.pl-card-name {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--label);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.pl-card-src {
  font-size: 10px;
  color: var(--label-3);
  margin-top: 2px;
}
.ch-item {
  cursor: pointer;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--spring-out);
}
.ch-item:active { opacity: 0.9; transform: scale(0.96); }
.ch-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.ch-cover .ch-art-mark {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  z-index: 2;
}
.ch-cover .ch-art-sub {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  z-index: 2;
}
.ch-cover .ch-art-ring,
.ch-cover .ch-art-ring2 {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.ch-cover .ch-art-ring {
  width: 70%; height: 70%;
  right: -18%; bottom: -22%;
}
.ch-cover .ch-art-ring2 {
  width: 48%; height: 48%;
  left: -12%; top: -14%;
  border-color: rgba(255,255,255,0.12);
}
.ch-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.ch-sub { display: none; }

.np-lyrics .ly-empty { color: rgba(255,255,255,0.45); }
.np-lyrics .ly-empty {
  color: var(--label-3);
  font-size: 14px;
  padding: 20px;
}


/* —— 播放页进度样式：普通 / 心率 / 胶囊 / 光轨 —— */
.np-seek {
  position: relative;
}
.np-seek.seek-heart input[type=range],
.np-seek.seek-orbit input[type=range],
.np-seek.seek-glow input[type=range] {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 44px;
  margin: 0;
  opacity: 0.01;
  z-index: 5;
  cursor: pointer;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  touch-action: none;
  pointer-events: auto !important;
}
.np-seek.seek-heart input[type=range]::-webkit-slider-thumb,
.np-seek.seek-orbit input[type=range]::-webkit-slider-thumb,
.np-seek.seek-glow input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-top: 0;
}
.np-seek.seek-heart input[type=range]::-moz-range-thumb,
.np-seek.seek-orbit input[type=range]::-moz-range-thumb,
.np-seek.seek-glow input[type=range]::-moz-range-thumb {
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.np-seek.seek-heart,
.np-seek.seek-orbit,
.np-seek.seek-glow {
  height: 44px;
  padding: 4px 20px 0;
  display: flex;
  align-items: center;
  position: relative;
  touch-action: none;
}

/* 心率 */
.np-wave {
  display: none;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
}
.np-wave i {
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex: 1 1 0;
  min-width: 1px;
  max-width: 2.2px;
  width: auto;
}
.np-wave i.gap {
  flex: 1.2 1 0;
  min-width: 3px;
  max-width: 12px;
  opacity: 0.15;
}
.np-seek.seek-heart .np-wave {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}
.np-wave i {
  flex: 1 1 0;
  width: auto;
  min-width: 1px;
  max-width: 2.2px;
  height: 12%;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.16);
  transform-origin: center center;
  transition: background .12s ease, height .18s cubic-bezier(0.22, 1, 0.36, 1), opacity .15s ease;
}
.np-wave i.gap {
  width: 1.5px;
  min-width: 1.5px;
  max-width: 1.5px;
  pointer-events: none;
}
.np-wave {
  gap: 0;
  justify-content: flex-start;
  padding: 0 2px;
}
html.dark .np-wave i { background: rgba(235, 235, 245, 0.18); }
.np.immersive .np-wave i { background: rgba(255, 255, 255, 0.22); }
.np-wave i.on { background: var(--np-accent, #fa2d48); }
.np.immersive .np-wave i.on { background: var(--np-accent, #fa2d48); }
html.dark .np:not(.immersive) .np-wave i.on { background: var(--np-accent, #fa2d48); }
/* 播放时整条心率条都跳动；已播(.on)红色，未播保持原色 */
.np-wave.is-playing i:not(.gap) { animation: npHeartBeat 0.85s ease-in-out infinite; }
.np-wave.is-playing i:not(.gap):nth-child(5n+1) { animation-duration: 0.78s; }
.np-wave.is-playing i:not(.gap):nth-child(5n+2) { animation-duration: 0.85s; animation-delay: -0.12s; }
.np-wave.is-playing i:not(.gap):nth-child(5n+3) { animation-duration: 0.92s; animation-delay: -0.28s; }
.np-wave.is-playing i:not(.gap):nth-child(5n+4) { animation-duration: 0.8s; animation-delay: -0.4s; }
.np-wave.is-playing i:not(.gap):nth-child(5n+0) { animation-duration: 0.88s; animation-delay: -0.55s; }
@keyframes npHeartBeat {
  0%, 100% { transform: scaleY(0.55); opacity: 0.85; }
  15% { transform: scaleY(1.15); opacity: 1; }
  30% { transform: scaleY(0.5); opacity: 0.9; }
  45% { transform: scaleY(1.35); opacity: 1; }
  60% { transform: scaleY(0.6); opacity: 0.88; }
}
.np-wave:not(.is-playing) i { animation: none; transform: scaleY(1); }

/* 星轨 · 均匀正弦波 + 正圆滑块（滑块用 HTML，避免 SVG 拉伸变扁） */
.np-orbit {
  display: none;
  position: relative;
  width: 100%;
  height: 36px;
  pointer-events: none;
  z-index: 1;
}
.np-seek.seek-orbit .np-orbit { display: block; }
.np-seek.seek-orbit {
  height: 36px;
  padding: 0 20px;
}
.np-orbit-svg {
  display: block;
  width: 100%;
  height: 36px;
  overflow: visible;
}
.np-orbit-dim {
  stroke: rgba(60, 60, 67, 0.28);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  fill: none;
}
html.dark .np-orbit-dim {
  stroke: rgba(235, 235, 245, 0.32);
}
.np.immersive .np-orbit-dim {
  stroke: rgba(255, 255, 255, 0.38);
}
/* 已播浪段：统一红色（经典/沉浸一致） */
.np-orbit-lit {
  stroke: var(--np-accent, #fa2d48);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: none;
  vector-effect: non-scaling-stroke;
  fill: none;
  filter: none;
}
html.dark .np:not(.immersive) .np-orbit-lit {
  stroke: var(--np-accent, #fa2d48);
  filter: none;
}
.np.immersive .np-orbit-lit {
  stroke: #ffffff;
  stroke-width: 1.6;
  filter: none;
}
/* 纯红色圆点，无描边、无光晕 */
.np-orbit-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--np-accent, #fa2d48) !important;
  border: none !important;
  box-sizing: border-box;
  box-shadow: none !important;
  outline: none;
  z-index: 2;
  will-change: left, top;
  transition: none;
  pointer-events: none;
}
html.dark .np:not(.immersive) .np-orbit-knob {
  background: var(--np-accent, #fa2d48) !important;
  border: none !important;
  box-shadow: none !important;
}
.np.immersive .np-orbit-knob {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
.np-orbit.is-playing .np-orbit-knob {
  box-shadow: none !important;
}

/* 方案 C · 双层光轨 */
.np-glow {
  display: none;
  position: relative;
  width: 100%;
  height: 8px;
  pointer-events: none;
  z-index: 1;
}
.np-seek.seek-glow .np-glow { display: block; }
.np-glow-base {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: rgba(60, 60, 67, 0.14);
}
html.dark .np-glow-base { background: rgba(235, 235, 245, 0.16); }
.np.immersive .np-glow-base { background: rgba(255,255,255,0.28); }
.np-glow-fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  width: 0%;
  border-radius: 3px;
  background: var(--np-accent, #fa2d48);
  box-shadow: none;
  transition: width .18s linear;
  overflow: hidden;
}
.np.immersive .np-glow-fill {
  background: #ffffff;
  box-shadow: none;
}
.np-glow-fill::after {
  content: "";
  position: absolute;
  top: -4px; bottom: -4px;
  width: 36%;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0;
}
.np-glow.is-playing .np-glow-fill::after {
  opacity: 1;
  animation: npGlowFlow 1.8s ease-in-out infinite;
}
@keyframes npGlowFlow {
  0% { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 0.9; }
  100% { transform: translateX(20%); opacity: 0; }
}

.np-seek:not(.seek-heart) .np-wave { display: none !important; }
.np-seek:not(.seek-orbit) .np-orbit { display: none !important; }
.np-seek:not(.seek-glow) .np-glow { display: none !important; }

.np-seek { padding: 8px 24px 0; flex-shrink: 0; order: 3; touch-action: none; }
.np-seek input[type=range] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 3px; border-radius: 2px;
  background: linear-gradient(to right, var(--np-accent, #fa2d48) var(--seek-p, 0%), rgba(60,60,67,0.12) var(--seek-p, 0%));
  outline: none;
  box-shadow: none;
  touch-action: none;
  cursor: pointer;
}
.np-seek input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* 小圆点：相对 3px 轨道垂直居中 → margin-top = -(thumb - track) / 2 */
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--np-accent, #fa2d48);
  border: none;
  box-shadow: none;
  cursor: pointer;
  margin-top: -3.5px;
}
/* 普通进度条圆点 · 柔和外发光呼吸（不改大小） */
.np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-webkit-slider-thumb {
  width: 10px !important;
  height: 10px !important;
  margin-top: -3.5px !important;
  background: var(--np-accent, #fa2d48);
  box-shadow: 0 0 0 2px rgba(250, 45, 72, 0.2), 0 0 6px 1px rgba(250, 45, 72, 0.35);
  animation: npBarThumbGlow 2.6s ease-in-out infinite;
  will-change: box-shadow;
}
.np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-moz-range-thumb {
  width: 10px !important;
  height: 10px !important;
  background: var(--np-accent, #fa2d48);
  border: none;
  box-shadow: 0 0 0 2px rgba(250, 45, 72, 0.2), 0 0 6px 1px rgba(250, 45, 72, 0.35);
  animation: npBarThumbGlow 2.6s ease-in-out infinite;
}
.np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow):not(.is-playing) input[type=range]::-webkit-slider-thumb,
.np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow):not(.is-playing) input[type=range]::-moz-range-thumb {
  animation-duration: 4s;
  animation-name: npBarThumbGlowIdle;
}
@keyframes npBarThumbGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1.5px rgba(250, 45, 72, 0.18),
      0 0 4px 1px rgba(250, 45, 72, 0.25);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(250, 45, 72, 0.12),
      0 0 10px 3px rgba(250, 45, 72, 0.42);
  }
}
@keyframes npBarThumbGlowIdle {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(250, 45, 72, 0.1),
      0 0 3px 0 rgba(250, 45, 72, 0.14);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(250, 45, 72, 0.1),
      0 0 6px 1px rgba(250, 45, 72, 0.22);
  }
}
.np-seek input[type=range]::-webkit-slider-runnable-track {
  height: 3px; border-radius: 2px;
}
.np-seek input[type=range]::-moz-range-track {
  height: 3px; border-radius: 2px;
  background: linear-gradient(to right, var(--np-accent, #fa2d48) var(--seek-p, 0%), rgba(60,60,67,0.12) var(--seek-p, 0%));
}
.np-seek input[type=range]::-moz-range-thumb {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--np-accent, #fa2d48); border: none;
  box-shadow: none;
}
.np-time {
  display: flex; justify-content: space-between;
  padding: 4px 28px 8px; font-size: 11px; color: var(--label-3);
  font-variant-numeric: tabular-nums; flex-shrink: 0;
  order: 4;
}
.np-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; padding: 8px 18px 10px; flex-shrink: 0;
  order: 5;
  color: var(--label);
}
/* 模式 / 列表：次要，明显小于主播放键 */
.np-controls #npMode,
.np-controls #npQueue {
  width: 40px; height: 40px;
  background: transparent;
  opacity: 0.88;
}
.np-controls #npMode svg,
.np-controls #npQueue svg {
  width: 22px !important; height: 22px !important;
}
.np-controls #npMode.on {
  color: var(--pink);
  background: transparent;
  opacity: 1;
}
.np-tools #npSleep.on,
.np-tools #npSleep.has-timer {
  color: var(--pink);
}
/* 纯图标，无圆形底板 — 主控件放大 */
.np-controls button {
  border: none;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--label);
  cursor: pointer; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 0;
  border: none !important;
  box-shadow: none !important;
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1), opacity .2s ease;
}
.np-controls button:active { transform: scale(0.9); opacity: 0.65; }
.np-controls button svg {
  width: 34px; height: 34px;
  fill: currentColor;
}
.np-controls #npPrev svg,
.np-controls #npNext svg {
  width: 36px; height: 36px;
}
.np-play {
  width: 64px !important; height: 64px !important;
  background: transparent !important;
  color: var(--label) !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.np-play svg { width: 44px !important; height: 44px !important; fill: currentColor !important; }
.np-tools {
  display: flex; justify-content: space-around;
  align-items: center;
  /* 上移：加大底边距，离屏幕底缘远一点；播放主控件那排不动 */
  margin: 4px 18px calc(18px + var(--safe-b));
  padding: 6px 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  order: 6;
  pointer-events: auto !important;
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: none;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transform: scale(0.94);
  transform-origin: center bottom;
}
.np-tools button {
  border: none; background: transparent; color: var(--label-2);
  font-size: 11px; display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  gap: 3px; cursor: pointer; font-family: inherit;
  min-width: 46px; min-height: 46px;
  padding: 5px 4px;
  border-radius: 12px;
  -webkit-tap-highlight-color: rgba(250,45,72,0.15);
  flex: 1;
  touch-action: manipulation;
  position: relative;
  z-index: 21;
  pointer-events: auto !important;
}
.np-tools button.on,
.np-tools button.liked {
  color: var(--pink);
}
.np-tools button.liked svg {
  fill: var(--pink);
  stroke: var(--pink);
}
.np-tools button:active { opacity: 0.45; transform: scale(0.92); }
.np-tools svg {
  width: 24px; height: 24px;
  stroke: currentColor; fill: none; stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}


/* ========== 播放页 · 沉浸：纯色底（取色算法）+ 顶部清晰封面 ========== */
.np.immersive {
  background: rgb(var(--np-c1));
  transition: background .55s ease;
}
.np.immersive .np-bg {
  opacity: 1 !important;
  background: rgb(var(--np-c1)) !important;
  overflow: hidden;
  transition: background .55s ease;
}
/* 普通沉浸：纯色，隐藏模糊图 */
.np.immersive:not(.lyrics-full) .np-bg img {
  display: none !important;
  opacity: 0 !important;
}
.np.immersive:not(.lyrics-full) .np-bg::after {
  background: transparent !important;
}
/* 沉浸全屏歌词：强制高斯模糊海报（经典模式不走这里） */
.np.immersive.lyrics-full .np-bg {
  opacity: 1 !important;
  background: #0c0c0e !important;
}
.np.immersive.lyrics-full .np-bg img {
  display: block !important;
  left: -18% !important;
  top: -12% !important;
  width: 136% !important;
  height: 124% !important;
  transform: none !important;
  object-fit: cover !important;
  filter: blur(36px) saturate(1.3) brightness(0.55) !important;
  -webkit-filter: blur(36px) saturate(1.3) brightness(0.55) !important;
  opacity: 1 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.np.immersive.lyrics-full .np-bg::after {
  background: rgba(0,0,0,0.35) !important;
}
.np.immersive::before {
  background: transparent !important;
  opacity: 0 !important;
}
.np.immersive .np-seek,
.np.immersive .np-time,
.np.immersive .np-controls,
.np.immersive .np-tools {
  position: relative;
  z-index: 2;
}
/* 去掉底部压暗滤镜 */
.np.immersive::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
/* 顶部清晰封面：贴屏幕最上沿（含状态栏），底部 mask 淡出融合 */
.np.immersive .np-art-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: min(52vh, 460px) !important;
  min-height: min(46vh, 400px) !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  /* 底部淡出接到纯色底 */
  -webkit-mask-image: linear-gradient(180deg,
    #000 0%, #000 55%,
    rgba(0,0,0,0.7) 78%,
    transparent 100%);
  mask-image: linear-gradient(180deg,
    #000 0%, #000 55%,
    rgba(0,0,0,0.7) 78%,
    transparent 100%);
}
.np.immersive .np-art {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  height: 100% !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  box-shadow: none !important;
  pointer-events: none !important;
  filter: saturate(1.04) brightness(0.96);
  margin: 0 !important;
}
/* 抓条叠在清晰海报上，不占位 */
.np.immersive .np-grab {
  position: absolute !important;
  top: calc(8px + var(--safe-t)) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
  margin: 0 !important;
}
/* 标题区在海报下方，给顶部海报留空位 */
.np.immersive .np-info {
  margin-top: min(46vh, 400px) !important;
  padding-top: 4px !important;
  position: relative;
  z-index: 3;
}
.np.immersive .np-info {
  text-align: left;
  padding: 4px 24px 2px;
  order: 1;
}
.np.immersive .np-title {
  font-size: 24px; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,0.3);
}
.np.immersive .np-artist {
  color: rgba(255,255,255,0.8); text-shadow: 0 1px 10px rgba(0,0,0,0.25);
}
/* 竖版沉浸：歌名/歌手上移 5px（不动海报与歌词区） */
.np.immersive .np-title,
.np.immersive .np-artist {
  transform: translateY(-5px);
}

.np.immersive .np-lyrics {
  text-align: left; padding: 4px 24px 0; max-height: 28vh; min-height: 72px;
}
.np.immersive:not(.lyrics-full) .np-lyrics .ly {
  padding: 7px 0; color: rgba(255,255,255,0.32);
}
.np.immersive:not(.lyrics-full) .np-lyrics .ly.near { color: rgba(255,255,255,0.58); }
.np.immersive:not(.lyrics-full) .np-lyrics .ly.on {
  color: var(--np-ly-on, #b83a4e) !important;
  text-shadow: none;
  padding: 8px 0 !important;
}
/* 沉浸红底：高亮歌词强制白 */
.np.immersive.np-ly-white .np-lyrics .ly.on,
.np.immersive.np-ly-white.lyrics-full .np-lyrics .ly.on,
.np.immersive.np-ly-white.np-ui-light .np-lyrics .ly.on,
.np.immersive.np-ly-white.np-ui-dark .np-lyrics .ly.on,
.np.immersive.np-ly-white:not(.lyrics-full) .np-lyrics .ly.on {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35) !important;
}
.np.immersive .np-time { color: rgba(255,255,255,0.55); padding: 4px 24px 6px; }
.np.immersive .np-controls { color: #fff; }
.np.immersive .np-controls button { color: #fff !important; }
/* 底栏：毛玻璃，去掉高光描边 */
.np.immersive .np-tools {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: saturate(140%) blur(32px) !important;
  -webkit-backdrop-filter: saturate(140%) blur(32px) !important;
  border: none !important;
  box-shadow: none !important;
}
.np.immersive .np-tools button { color: rgba(255,255,255,0.9); }
.np.immersive .np-seek input[type=range] {
  /* 已播纯白，与沉浸扫字高亮一致 */
  background: linear-gradient(to right, #ffffff var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%)) !important;
}
.np.immersive .np-seek input[type=range]::-moz-range-track {
  background: linear-gradient(to right, #ffffff var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%)) !important;
}
.np.immersive .np-seek input[type=range]::-webkit-slider-thumb {
  background: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 8px rgba(255,255,255,0.35) !important;
}
.np.immersive .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 8px rgba(255,255,255,0.35) !important;
}
.np.immersive .np-seek input[type=range]::-moz-range-thumb {
  background: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 8px rgba(255,255,255,0.35) !important;
}
.np.immersive .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-moz-range-thumb {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 8px rgba(255,255,255,0.35) !important;
}
.np.immersive .np-orbit-lit { stroke: #ffffff !important; }
.np.immersive .np-wave i.on { background: #ffffff !important; }
.np.immersive .np-glow-fill {
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.85)) !important;
}
/* 沉浸 + 亮底：歌名/歌词/进度与经典一致走深色（由 np-ui-dark 覆盖） */
.np.immersive.np-ui-dark:not(.lyrics-full) .np-lyrics .ly {
  color: rgba(28,28,30,0.32) !important;
}
.np.immersive.np-ui-dark:not(.lyrics-full) .np-lyrics .ly.near {
  color: rgba(28,28,30,0.55) !important;
}
.np.immersive.np-ui-dark:not(.lyrics-full) .np-lyrics .ly.on {
  color: var(--np-ly-on, #7a1f32) !important;
  text-shadow: none !important;
}


/* —— 主页官方榜单：与频道同款方块 —— */
.rank-sec { margin-top: 8px; padding-bottom: 12px; }
.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 10px;
  padding: 0 2px;
}
.rank-card {
  cursor: pointer;
  min-width: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--spring-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.rank-card:active { opacity: 0.9; transform: scale(0.96); }
.rank-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #e5e5ea;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}
.rank-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(1.16) saturate(1.28) contrast(1.04);
}
.rank-cover::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(0,0,0,0.18) 100%),
    linear-gradient(135deg, rgba(255,120,150,0.14) 0%, transparent 50%, rgba(100,160,255,0.12) 100%);
  pointer-events: none;
}
/* 卡片内左下角标题去掉，只保留下方名称 */
.rank-cover .rank-on-cover {
  display: none;
}
.rank-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.rank-desc { display: none; }
html.dark .rank-cover { background: #2c2c2e; }
html.dark .rank-cover img {
  filter: brightness(1.2) saturate(1.32) contrast(1.05);
}
html.dark .rank-cover::after {
  background:
    linear-gradient(180deg, transparent 52%, rgba(0,0,0,0.28) 100%),
    linear-gradient(135deg, rgba(255,130,160,0.18) 0%, transparent 50%, rgba(110,170,255,0.14) 100%);
}
@media (min-width: 700px) {
  .rank-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .rank-grid { grid-template-columns: repeat(6, 1fr); }
}

/* —— Sheet —— */
.sheet-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none; transition: opacity .25s;
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet-mask.open { opacity: 1; pointer-events: auto; }
/* 打开列表时立刻隐藏播放页底栏控件，避免叠在列表上停留 */
body.sheet-open .np .np-controls,
body.sheet-open .np .np-tools,
body.sheet-open .np .np-seek,
body.sheet-open .np .np-time {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .15s ease !important;
}
.sheet {
  width: 100%; max-width: 430px;
  margin: 0 12px calc(16px + var(--safe-b));
  /* 提高不透明度，避免浅色主题叠在沉浸播放页上变成「黑底黑字」 */
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(200%) blur(48px);
  -webkit-backdrop-filter: saturate(200%) blur(48px);
  border-radius: 18px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.55);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.12),
    0 4px 12px rgba(0,0,0,0.05),
    inset 0 0.5px 0 rgba(255,255,255,0.85);
  transform: translateY(24px); transition: transform .28s cubic-bezier(0.32, 0.72, 0, 1);
  color: var(--label);
}
html.dark .sheet {
  background: rgba(44, 44, 46, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}
/* 播放列表专用：强制对比度，不依赖继承 */
.sheet[data-queue-sheet] {
  background: rgba(255,255,255,0.97) !important;
  color: #1c1c1e !important;
}
html.dark .sheet[data-queue-sheet] {
  background: rgba(28, 28, 30, 0.96) !important;
  color: #f5f5f7 !important;
  border-color: rgba(255,255,255,0.12);
}
.sheet-mask.open .sheet { transform: none; }
.sheet button {
  display: block; width: 100%; padding: 16px 18px;
  border: none; border-bottom: 0.5px solid var(--separator);
  background: transparent; color: var(--label); font-size: 17px;
  text-align: center; cursor: pointer; font-family: inherit;
}
.sheet button:last-child { border-bottom: none; }
.sheet button.danger { color: var(--pink); }
.sheet-cancel {
  display: none !important;
}

/* —— Toast —— */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav) + var(--mini) + var(--safe-b) + 28px);
  transform: translateX(-50%) translateY(12px);
  z-index: 100; max-width: 80vw;
  padding: 10px 18px; border-radius: 20px;
  background: rgba(28,28,30,0.88); color: #fff;
  font-size: 13px; opacity: 0; pointer-events: none; transition: .25s var(--spring-out);
  text-align: center; white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.empty {
  text-align: center; padding: 48px 20px; color: var(--label-3); font-size: 15px;
}
.chip-row {
  display: flex; flex-wrap: wrap; gap: 6px 8px;
  margin-bottom: 8px;
  justify-content: center;
  align-items: center;
  /* 约两行高度，多出的不显示 */
  max-height: 64px;
  overflow: hidden;
}
.chip-row.hide {
  display: flex !important;
}
.chip {
  padding: 5px 11px; border-radius: 14px; border: none;
  background: rgba(120,120,128,0.16); color: var(--label-2); font-size: 12px;
  font-family: inherit; cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1.25;
  opacity: 1;
  transform: none;
}
.chip:active { background: rgba(120,120,128,0.28); color: var(--label); }

@media (min-width: 440px) {
  #app { border-left: 0.5px solid var(--separator); border-right: 0.5px solid var(--separator); }
}

/* —— 顶部双卡：猜你喜欢 + 听歌雷达 · iOS / 方案 B —— */
.top-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 22px;
  width: 100%;
}
/* 封面为王：无大面积染色，仅底部可读渐变 + 轻品牌点缀 */
.duo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 176px;
  cursor: pointer;
  background: #e8e8ed;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.08),
    0 1px 4px rgba(0,0,0,0.04);
  transition: transform .28s cubic-bezier(0.32, 0.72, 0, 1), box-shadow .28s ease;
  isolation: isolate;
}
.duo-card:active {
  transform: scale(0.97);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.duo-cover { position: absolute; inset: 0; z-index: 0; }
.duo-cover .duo-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.02);
  filter: none;
  opacity: 0;
  transition: opacity .7s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: opacity;
}
.duo-cover .duo-img.on {
  opacity: 1;
  z-index: 1;
}
/* 底部～中下：模糊封面克隆 + 轻磨砂（下重上轻，模糊带上移更明显） */
.duo-glass {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* 轻磨砂叠层 */
  background: linear-gradient(180deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0.12) 100%);
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0%,
    rgba(0,0,0,0.2) 18%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.88) 72%,
    #000 100%);
  mask-image: linear-gradient(180deg,
    transparent 0%,
    rgba(0,0,0,0.2) 18%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.88) 72%,
    #000 100%);
}
/* 用封面放大模糊，不依赖 backdrop-filter（WebView 更稳） */
.duo-glass img {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 210%; /* 对齐整卡封面底部区域 */
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.08);
  filter: blur(18px) saturate(1.15) brightness(0.96);
  -webkit-filter: blur(18px) saturate(1.15) brightness(0.96);
  opacity: 1;
  pointer-events: none;
}
html.dark .duo-glass {
  background: linear-gradient(180deg,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.12) 40%,
    rgba(0,0,0,0.28) 100%);
}
html.dark .duo-glass img {
  filter: blur(18px) saturate(1.12) brightness(0.72);
  -webkit-filter: blur(18px) saturate(1.12) brightness(0.72);
}
/* 任意横屏：关闭双卡底部渐变模糊（竖屏才用） */
@media (orientation: landscape) {
  .duo-glass { display: none !important; }
}

.duo-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* 轻可读性：顶部微压 + 底部略加深（毛玻璃已承担主要柔化） */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08) 0%, transparent 20%),
    linear-gradient(180deg,
      transparent 55%,
      rgba(0,0,0,0.18) 78%,
      rgba(0,0,0,0.42) 100%);
}
/* 方案 B：左上极淡品牌高光（不铺满、不斜切大色块） */
.duo-guess .duo-mask::before,
.duo-radar .duo-mask::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 56%;
  height: 42%;
  pointer-events: none;
  border-radius: 0 0 60% 0;
}
.duo-guess .duo-mask::before {
  background: radial-gradient(120% 100% at 0% 0%,
    rgba(255, 45, 85, 0.14) 0%,
    rgba(255, 45, 85, 0.05) 42%,
    transparent 70%);
}
.duo-radar .duo-mask::before {
  background: radial-gradient(120% 100% at 0% 0%,
    rgba(10, 132, 255, 0.14) 0%,
    rgba(10, 132, 255, 0.05) 42%,
    transparent 70%);
}
/* 深色：只加深底部渐变，不加粉/蓝重色罩 */
html.dark .duo-cover img {
  filter: none;
}
html.dark .duo-mask {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 24%),
    linear-gradient(180deg,
      transparent 42%,
      rgba(0,0,0,0.35) 70%,
      rgba(0,0,0,0.68) 100%);
}
html.dark .duo-guess .duo-mask::before {
  background: radial-gradient(120% 100% at 0% 0%,
    rgba(255, 55, 95, 0.12) 0%,
    rgba(255, 55, 95, 0.04) 40%,
    transparent 68%);
}
html.dark .duo-radar .duo-mask::before {
  background: radial-gradient(120% 100% at 0% 0%,
    rgba(64, 156, 255, 0.12) 0%,
    rgba(64, 156, 255, 0.04) 40%,
    transparent 68%);
}
.duo-body {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3;
  color: #fff;
  pointer-events: none;
}
/* 角标：系统风毛玻璃 + 左侧 2.5pt 色条点缀 */
.duo-kicker {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  border: 0.5px solid rgba(255,255,255,0.32);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.duo-kicker::before {
  content: "";
  width: 3px;
  height: 11px;
  border-radius: 2px;
  margin-right: 6px;
  flex-shrink: 0;
}
.duo-guess .duo-kicker::before {
  background: var(--guess-plat, #ff2d55);
  box-shadow: 0 0 6px color-mix(in srgb, var(--guess-plat, #ff2d55) 45%, transparent);
}
/* 猜你喜欢左上角色条：随当前曲站源变色 */
.duo-guess[data-plat="qq"] { --guess-plat: #31c27c; }
.duo-guess[data-plat="netease"] { --guess-plat: #ec4141; }
.duo-guess[data-plat="kuwo"] { --guess-plat: #ff6a00; }
.duo-guess[data-plat="kugou"] { --guess-plat: #2ca2f9; }
.duo-guess[data-plat="migu"] { --guess-plat: #ed4141; }
.duo-radar .duo-kicker::before {
  background: #0a84ff;
  box-shadow: 0 0 6px rgba(10, 132, 255, 0.4);
}
.duo-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 30px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4), 0 0 1px rgba(0,0,0,0.25);
}
.duo-sub {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.84);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0,0,0,0.35);
}
.feature-wrap, .feature-track, .feature-dots { display: none !important; }
.feature-track {
  position: relative;
  overflow: hidden;
  height: 168px;
  border-radius: 16px;
}
/* 全幅封面 + 底部文字；左右挤压切换 */
.feature-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 168px;
  overflow: hidden;
  border-radius: 16px;
  background: #e8e8ed;
  cursor: pointer;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0.86) translateX(28%);
  transform-origin: center center;
  transition:
    transform .55s cubic-bezier(0.32, 0.72, 0, 1),
    opacity .42s ease;
  z-index: 0;
}
.feature-slide.on {
  opacity: 1;
  pointer-events: auto;
  transform: scaleX(1) translateX(0);
  z-index: 2;
}
.feature-slide.leave-left {
  opacity: 0;
  transform: scaleX(0.86) translateX(-28%);
  z-index: 1;
}
.feature-slide.leave-right {
  opacity: 0;
  transform: scaleX(0.86) translateX(28%);
  z-index: 1;
}
.feature-slide.enter-from-left {
  transform: scaleX(0.86) translateX(-28%);
}
.feature-slide.enter-from-right {
  transform: scaleX(0.86) translateX(28%);
}
.feature-slide .feat-right {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #ddd;
}
.feature-slide .feat-right img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* 底部轻阴影，保证白字可读（非纯色块） */
.feature-slide .feat-right::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.22) 55%, rgba(0,0,0,0.38) 100%);
}
.feature-slide .feat-left {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px 18px;
  background: transparent !important;
  background-color: transparent !important;
}
.feature-slide .feature-kicker {
  color: rgba(255,255,255,0.88) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.feature-slide .feature-title {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feature-slide .feature-sub { display: none !important; }
.feature-slide .feature-body { display: none; }
/* 下拉刷新 */
.ptr-tip {
  text-align: center;
  font-size: 12px;
  color: var(--label-3);
  height: 0;
  overflow: hidden;
  transition: height .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.feature-dots {
  display: flex; justify-content: center; gap: 6px;
  position: absolute; left: 0; right: 0; bottom: 8px;
  pointer-events: none; z-index: 2;
}
.feature-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background .2s, transform .2s;
}
.feature-dots span.on {
  background: #fff;
  transform: scale(1.15);
}

/* 音质：从按钮向上弹出 */
.q-pop-mask {
  position: fixed; inset: 0; z-index: 96;
  background: transparent;
  opacity: 0; pointer-events: none;
  transition: opacity .18s;
}
.q-pop-mask.open { opacity: 1; pointer-events: auto; }
.q-pop {
  position: fixed;
  z-index: 97;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(200%) blur(40px);
  -webkit-backdrop-filter: saturate(200%) blur(40px);
  border: 0.5px solid rgba(255,255,255,0.55);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.14),
    0 2px 8px rgba(0,0,0,0.05),
    inset 0 0.5px 0 rgba(255,255,255,0.85);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity .2s ease, transform .22s cubic-bezier(0.32, 0.72, 0, 1);
}
html.dark .q-pop {
  background: rgba(44, 44, 46, 0.78);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.08);
  color: var(--label);
}
html.dark .q-opt {
  color: var(--label);
}
html.dark .q-opt:active {
  background: rgba(120, 120, 128, 0.22);
}
html.dark .q-opt.on {
  color: var(--pink);
  background: rgba(250, 45, 72, 0.18);
}
html.dark .q-opt .q-sub {
  color: var(--label-3);
}
.q-pop.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.q-opt {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 11px 12px; border: none; background: transparent;
  color: var(--label); font-size: 14px; font-family: inherit; cursor: pointer;
  border-radius: 10px; text-align: left;
}
.q-opt:active { background: rgba(120,120,128,0.1); }
.q-opt .q-sub { font-size: 11px; color: var(--label-3); margin-top: 1px; text-align: left; }
.q-opt .q-check { color: var(--pink); font-size: 14px; opacity: 0; margin-left: 10px; }
.q-opt.on .q-check { opacity: 1; }
.q-opt.on { color: var(--pink); font-weight: 600; background: rgba(250,45,72,0.08); }
/* 播放列表居中 */
.sheet {
  text-align: left;
}
.sheet .q-list-title {
  text-align: center !important;
}

/* ========== 沉浸式歌单/榜单：Solene 式融合（同一张图清晰→模糊，无实色硬边） ========== */
.detail-wall{
  position:fixed;inset:0;z-index:55;pointer-events:none;overflow:hidden;
  opacity:0;visibility:hidden;
  /* 实色底：封面未到/失败时也不透出主页 */
  background:#0c0c0e;
}
html.detail-open .detail-wall{opacity:1;visibility:visible;}
.detail-wall .dw-amb{
  position:absolute;left:-22%;right:-22%;top:-16%;bottom:-16%;
  background-size:cover;
  background-position:center 28%;
  background-repeat:no-repeat;
  -webkit-filter:blur(36px) saturate(1.45) brightness(0.58);
  filter:blur(36px) saturate(1.45) brightness(0.58);
  opacity:0;
  transition:opacity .4s linear;
  will-change:opacity;
}
.detail-wall .dw-amb.on{opacity:1;}
/* 压暗层：始终有，保证文字可读、不透主页 */
.detail-wall::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:rgba(0,0,0,0.42);
}

#detailPage{
  position:fixed;inset:0;z-index:56;
  display:flex;flex-direction:column;
  /* 半透明即可透模糊墙；底层 wall 已是实色，不会透主页 */
  background:transparent;
  color:#fff;
  opacity:0;pointer-events:none;visibility:hidden;
  transform:translate3d(0,10%,0);
  transition:transform .42s cubic-bezier(0.32,0.72,0,1), opacity .32s ease;
}
#detailPage.open{
  opacity:1;pointer-events:auto;visibility:visible;
  transform:translate3d(0,0,0);
}
#detailPage.closing{
  opacity:0;transform:translate3d(0,100%,0);
  pointer-events:none;visibility:visible;
}
.detail-scroll{
  flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:0 0 calc(var(--nav) + var(--mini) + var(--safe-b) + 28px);
  position:relative;z-index:1;
  background:transparent;
}
.detail-hero{
  position:relative;
  width:100%;
  min-height:min(64vh, 460px);
  max-height:580px;
  overflow:hidden;
  margin:0;
  color:#fff;
  background:transparent;
}
/* 清晰封面：mask 从清晰淡到透明 —— 与模糊墙同一张图衔接，无硬边 */
.detail-hero-bg{
  position:absolute;inset:0;z-index:0;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,
    #000 0%, #000 42%,
    rgba(0,0,0,0.78) 62%,
    rgba(0,0,0,0.35) 80%,
    rgba(0,0,0,0.08) 92%,
    transparent 100%);
  mask-image:linear-gradient(180deg,
    #000 0%, #000 42%,
    rgba(0,0,0,0.78) 62%,
    rgba(0,0,0,0.35) 80%,
    rgba(0,0,0,0.08) 92%,
    transparent 100%);
}
.detail-hero-bg img{
  width:100%;height:100%;object-fit:cover;display:block;
  transform:scale(1.02);
  filter:saturate(1.04) brightness(0.94);
  transform-origin:center 28%;
}
.detail-hero-veil{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,
    rgba(0,0,0,.36) 0%,
    rgba(0,0,0,.08) 16%,
    transparent 36%);
}
/* 只压标题区，末端必须归透明 —— 禁止实色补丁硬边 */
.detail-hero::after{
  content:"";
  position:absolute;left:0;right:0;bottom:0;
  height:48%;
  z-index:1;pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.28) 48%,
    rgba(0,0,0,.22) 78%,
    rgba(0,0,0,0) 100%);
}
.detail-topbar{
  position:absolute;left:0;right:0;top:0;z-index:5;
  padding:calc(8px + var(--safe-t)) 14px 8px;
  display:flex;align-items:center;gap:10px;
  pointer-events:none;
}
.detail-topbar > *{pointer-events:auto;}
.detail-back{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.28);color:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  backdrop-filter:blur(12px) saturate(1.2);
  -webkit-backdrop-filter:blur(12px) saturate(1.2);
  box-shadow:0 4px 14px rgba(0,0,0,.25);
}
.detail-back svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.detail-back:active{transform:scale(0.92);opacity:.9;}
.detail-top-title{
  flex:1;min-width:0;font-size:15px;font-weight:600;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  opacity:0;transition:opacity .25s ease;
  text-shadow:0 1px 8px rgba(0,0,0,.45);
}
#detailPage.scrolled .detail-top-title{opacity:1;}
/* body 撑满 hero 高度，标题落在底部 — 与 squid 一致 */
.detail-hero-body{
  position:relative;z-index:2;
  display:flex;flex-direction:column;justify-content:flex-end;
  min-height:min(64vh, 460px);
  padding:calc(54px + var(--safe-t)) 20px 22px;
  box-sizing:border-box;
}
.detail-hero-body .detail-title{
  font-size:22px;font-weight:700;line-height:1.32;letter-spacing:-0.2px;
  color:#fff;text-shadow:none;text-align:center;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.detail-hero-body .detail-sub{
  margin-top:8px;font-size:13px;color:rgba(255,255,255,.78);line-height:1.4;
  text-shadow:0 1px 6px rgba(0,0,0,.35);text-align:center;
}
.detail-hero-body .detail-desc{
  margin-top:8px;font-size:12px;color:rgba(255,255,255,.52);line-height:1.55;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  text-align:center;margin-left:auto;margin-right:auto;max-width:92%;
}
.detail-actions{
  display:flex;align-items:center;justify-content:center;
  gap:12px;margin-top:18px;width:100%;
}
.detail-like-btn{
  width:40px;height:40px;min-width:40px;border-radius:0;
  border:none;background:transparent;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  padding:0;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.detail-like-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.detail-like-btn.on{
  background:transparent;border:none;color:#fa2d48;
}
.detail-like-btn.on svg{fill:#fa2d48;stroke:#fa2d48;}
.detail-like-btn:active{transform:scale(0.92);opacity:.9;}
.detail-play-all{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 72px;border-radius:980px;border:none;
  background:var(--pink)!important;color:#fff!important;
  font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;
  box-shadow:0 4px 14px rgba(250,45,72,.35)!important;min-width:260px;
}
.detail-play-all:active{transform:scale(0.95);opacity:.9;}
.detail-play-all svg{width:14px;height:14px;fill:#fff;}
.detail-shuffle-btn{
  width:40px;height:40px;min-width:40px;border-radius:0;border:none;
  background:transparent;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
}
.detail-shuffle-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;}
.detail-shuffle-btn:active{transform:scale(0.92);opacity:.9;}
/* 详情页迷你条始终显示下一首 */
html.detail-open .dock .mini.show #miniNext,
html.detail-open .dock.collapsed .mini.show #miniNext{
  opacity:1!important;width:40px!important;min-width:40px!important;
  overflow:visible!important;pointer-events:auto!important;
}

/* 列表区：透模糊墙 + 恢复歌曲封面 */
.detail-song-list{
  padding:4px 12px 8px;
  position:relative;z-index:1;
  background:transparent;
}
.detail-song-row{
  display:flex;align-items:center;gap:12px;
  padding:10px 8px;cursor:pointer;
  border-radius:10px;
  -webkit-tap-highlight-color:transparent;
}
.detail-song-row:active{background:rgba(255,255,255,.08);}
.detail-song-row.playing .detail-song-name,
.detail-song-row.playing .detail-song-idx{display:none!important;width:0!important;overflow:hidden!important;color:var(--pink);}
.detail-song-idx{
  display:none!important;width:0!important;min-width:0!important;overflow:hidden!important;padding:0!important;margin:0!important;
  font-size:0!important;
}
.detail-song-art{
  width:48px;height:48px;border-radius:8px;object-fit:cover;
  flex-shrink:0;background:rgba(255,255,255,.08);
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.detail-song-meta{flex:1;min-width:0;}
.detail-song-name{
  font-size:16px;font-weight:500;line-height:1.3;color:#fff;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.detail-song-sub{
  font-size:12px;color:rgba(255,255,255,.48);margin-top:3px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.detail-load-tip{
  text-align:center;padding:16px 12px 28px;
  font-size:13px;color:rgba(255,255,255,.38);
}

/* —— 横版：歌曲列表两列（仅列表，不改整页排版） —— */
@media (orientation: landscape), (min-width: 700px) {
  #detailPage .detail-song-list,
  #detailPage #detailSongList {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px 10px !important;
    padding: 4px 14px 8px !important;
    align-content: start !important;
  }
  #detailPage .detail-song-row {
    min-width: 0 !important;
    padding: 8px 6px !important;
    gap: 10px !important;
  }
  #detailPage .detail-song-art {
    width: 42px !important;
    height: 42px !important;
    border-radius: 7px !important;
  }
  #detailPage .detail-song-name {
    font-size: 14px !important;
  }
  #detailPage .detail-song-sub {
    font-size: 11px !important;
  }
  #detailPage .detail-song-idx {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
  }
  #detailPage .detail-load-tip {
    grid-column: 1 / -1 !important;
  }
  /* 超宽再略放大行距 */
}
@media (orientation: landscape) and (min-width: 1100px), (min-width: 1100px) {
  #detailPage .detail-song-list,
  #detailPage #detailSongList {
    gap: 4px 14px !important;
    padding: 6px 18px 10px !important;
  }
  #detailPage .detail-song-art {
    width: 46px !important;
    height: 46px !important;
  }
  #detailPage .detail-song-name {
    font-size: 15px !important;
  }
}

html.detail-open .dock{z-index:57;}
html.detail-open .header{opacity:0;visibility:hidden;}
/* 详情页：隐藏底栏 Tab / 侧钮；有播放时只留完整迷你条（防二次进入变成一条线） */
html.detail-open .tabbar{
  opacity:0!important;max-height:0!important;height:0!important;
  margin:0!important;padding:0!important;border-width:0!important;
  pointer-events:none!important;overflow:hidden!important;
  width:0!important;min-width:0!important;flex:0 0 0!important;
  position:absolute!important;visibility:hidden!important;
}
html.detail-open .dock-side{
  opacity:0!important;width:0!important;min-width:0!important;max-width:0!important;
  height:0!important;pointer-events:none!important;overflow:hidden!important;
  border-width:0!important;margin:0!important;padding:0!important;
  position:absolute!important;
}
html.detail-open .dock,
html.detail-open .dock.collapsed,
html.detail-open .dock:not(.collapsed){
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  gap:0!important;
}
/* 未播放：完全收起，不占位 */
html.detail-open .dock .mini:not(.show){
  height:0!important;min-height:0!important;max-height:0!important;
  opacity:0!important;pointer-events:none!important;
  overflow:hidden!important;margin:0!important;padding:0!important;
  border-width:0!important;flex:0 0 0!important;width:100%!important;
  transform:none!important;
}
/* 播放中：强制完整胶囊高度，覆盖 collapsed 的 flex/宽度规则 */
html.detail-open .dock .mini.show,
html.detail-open .dock.collapsed .mini.show,
html.detail-open .dock:not(.collapsed) .mini.show{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  height:var(--mini)!important;
  min-height:52px!important;
  max-height:60px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0 10px!important;
  border-radius:999px!important;
  border-width:0.5px!important;
  opacity:1!important;
  pointer-events:auto!important;
  transform:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html.detail-open .dock .mini.show .mini-art{
  width:40px!important;height:40px!important;border-radius:50%!important;
  flex-shrink:0!important;
}
html.detail-open .dock .mini.show .mini-meta{
  flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;
}
html.detail-open .dock .mini.show .mini-btns{
  display:flex!important;flex-shrink:0!important;
}

/* 歌单详情 sheet：更高、圆角、无默认白底限制 */
.sheet-mask.open .sheet {
  max-height: 82vh;
  overflow: hidden;
  padding: 0;
}














/* 竖屏心率更细（横屏磁带走 .cass-seek-top 自己的 4px） */
@media (orientation: portrait) {
  .np-seek.seek-heart .np-wave i {
    max-width: 2.2px !important;
    min-width: 1px !important;
  }
  .np-seek.seek-heart .np-wave i.gap {
    max-width: 10px !important;
  }
}
/* ========== 横屏磁带 · 六爪盘芯 · 心率铺满可拖（仅横屏） ========== */
.np-cassette {
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  padding: 0;
}
.np-cassette .cass-shell,
.np-cassette .cass-deck,
.np-cassette .cass-deck *,
.np-cassette .cass-progress-row,
.np-cassette .cass-progress-row * {
  pointer-events: auto;
}

.cass-shell {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: saturate(180%) blur(36px);
  -webkit-backdrop-filter: saturate(180%) blur(36px);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.2),
    inset 0 0.5px 0 rgba(255,255,255,0.5),
    inset 0 -0.5px 0 rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 0 6px;
  box-sizing: border-box;
}
.cass-shell::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.05) 36%, transparent 58%),
    linear-gradient(180deg, transparent 72%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
  z-index: 1;
}
.cass-screw {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.75), rgba(180,180,190,0.35) 50%, rgba(50,50,58,0.35));
  box-shadow: 0 0.5px 1px rgba(0,0,0,0.2), inset 0 0.5px 0 rgba(255,255,255,0.55);
  z-index: 6;
}
.cass-screw.tl { top: 14px; left: 16px; }
.cass-screw.tr { top: 14px; right: 16px; }
.cass-screw.bl { bottom: 14px; left: 16px; }
.cass-screw.br { bottom: 14px; right: 16px; }
.cass-screw::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 4.5px; height: 1px;
  margin: -0.5px 0 0 -2.25px;
  background: rgba(0,0,0,0.28);
  border-radius: 1px;
}

.cass-brand {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 28px 48px 6px;
  flex-shrink: 0;
  text-align: center;
}
.cass-brand-mark {
  font-size: clamp(16px, 2.5vw, 21px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  font-family: -apple-system, "SF Pro Display", "PingFang SC", system-ui, sans-serif;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.cass-brand-sub {
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* 进度：歌名与齿轮之间，略下移；时长同一排 */

/* 白线圈：圈住进度+齿轮+歌词 */
.cass-stage {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 6px 4% 4px;
  padding: 12px 14px 14px;
  border-radius: 22px;
  box-sizing: border-box;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  box-shadow: none;
}
.cass-stage > .cass-progress-row,
.cass-stage > .cass-center {
  position: relative;
  z-index: 1;
}
.cass-stage > .cass-center {
  flex: 1 1 auto;
  min-height: 0;
}

/* 胶片封面模式：点齿轮切换 */
.cass-cover {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2);
  transition: opacity .28s ease;
}
.cass-reel.cass-film .cass-cover {
  opacity: 1;
}
.cass-reel.cass-film .cass-spokes,
.cass-reel.cass-film .cass-tape {
  opacity: 0;
  transition: opacity .28s ease;
}
.cass-reel.cass-film .cass-hole {
  background: rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.5);
  z-index: 3;
}
.cass-reel {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cass-progress-row {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  margin:  52px 5% 20px;
  padding: 0;
  flex-shrink: 0;
  min-height: 48px;
  box-sizing: border-box;
  overflow: visible;
}
.cass-progress-row .cass-t {
  flex: 0 0 40px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  line-height: 1;
}
.cass-progress-row .cass-t:last-of-type { text-align: right; }

.cass-seek-top {
  flex: 1 1 0%;
  min-width: 0;
  width: 0; /* flex 关键：强制吃满中间剩余宽度 */
  max-width: none;
  overflow: visible;
  position: relative;
  min-height: 48px;
  height: 48px;
  display: block;
  touch-action: none;
}
/* 关键键：seek 必须 100% 铺满中间槽 */
.cass-seek-top .np-seek,
.cass-seek-top #npSeekWrap {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  touch-action: none !important;
  pointer-events: auto !important;
}
.cass-seek-top .np-seek.seek-heart,
.cass-seek-top .np-seek.seek-orbit,
.cass-seek-top .np-seek.seek-glow,
.cass-seek-top .np-seek.seek-bar {
  height: 48px !important;
  padding: 0 !important;
}
.cass-seek-top .np-seek input[type=range] {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  pointer-events: auto !important;
  touch-action: none !important;
  z-index: 10 !important;
  opacity: 0.02 !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.cass-seek-top .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range] {
  opacity: 1 !important;
  height: 3px !important;
  top: 50% !important;
  transform: translateY(-50%);
  margin: 0 !important;
  background: linear-gradient(to right, #ff2d55 var(--seek-p, 0%), rgba(255,255,255,0.32) var(--seek-p, 0%)) !important;
}
/* 普通进度条：小圆点，垂直居中 */
.cass-seek-top .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 1.5px rgba(255,45,85,0.25), 0 0 6px 1px rgba(255,45,85,0.35) !important;
  margin-top: 0 !important;
  /* 相对 3px 轨道垂直居中：-(14-3)/2 */
  margin-top: -5.5px !important;
}
.cass-seek-top .np-seek:not(.seek-heart):not(.seek-orbit):not(.seek-glow) input[type=range]::-moz-range-thumb {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.28) !important;
}
/* 心率/星轨/光晕：大透明触控区，不显示圆点 */
.cass-seek-top .np-seek.seek-heart input[type=range]::-webkit-slider-thumb,
.cass-seek-top .np-seek.seek-orbit input[type=range]::-webkit-slider-thumb,
.cass-seek-top .np-seek.seek-glow input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 44px !important;
  height: 44px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}
/* 心率条：柱子均匀铺满整宽（根因：原固定 2.5px+margin 挤在左侧） */
.cass-seek-top .np-wave {
  display: flex !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 100% !important;
  max-width: none !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}
/* 横屏磁带心率：保持原粗细；未播白灰（覆盖 np-ui-dark 黑灰） */
.np .cass-seek-top .np-wave i,
.np.np-ui-dark .cass-seek-top .np-wave i,
.np.np-ui-light .cass-seek-top .np-wave i {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 4px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.38) !important;
  opacity: 1 !important;
}
.np .cass-seek-top .np-wave i.gap,
.np.np-ui-dark .cass-seek-top .np-wave i.gap {
  flex: 0.4 1 0 !important;
  max-width: 2px !important;
  opacity: 0.2 !important;
  background: transparent !important;
}
.np .cass-seek-top .np-wave i.on,
.np.np-ui-dark .cass-seek-top .np-wave i.on,
.np.np-ui-light .cass-seek-top .np-wave i.on {
  background: #ff2d55 !important;
  opacity: 1 !important;
}
.cass-seek-top .np-orbit {
  position: absolute !important;
  left: 0 !important; right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 100% !important;
  height: 36px !important;
  pointer-events: none !important;
}
.cass-seek-top .np-orbit-svg {
  width: 100% !important;
  height: 36px !important;
}
.cass-seek-top .np-glow {
  position: absolute !important;
  left: 0 !important; right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 100% !important;
  pointer-events: none !important;
}
.cass-seek-top .np-orbit-dim { stroke: rgba(255,255,255,0.35) !important; }
.cass-seek-top .np-orbit-lit { stroke: #ff2d55 !important; }
.cass-seek-top .np-orbit-knob {
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
  width: 10px !important; height: 10px !important;
  margin: -5px 0 0 -5px !important;
}
.cass-seek-top .np-glow-base { background: rgba(255,255,255,0.25) !important; }
.cass-seek-top .np-glow-fill { background: #ff2d55 !important; }

.cass-center {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 4px 0;
}
.cass-window {
  /* 原版布局；黑条左右各收 20px */
  width: calc(100% - 140px);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 7%;
  box-sizing: border-box;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.12);
}

/* —— 六爪塑料盘芯（接近真实磁带） —— */
.cass-reel {
  width: clamp(118px, 25vh, 160px);
  height: clamp(118px, 25vh, 160px);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background: rgba(30, 30, 36, 0.25);
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.2),
    0 8px 22px rgba(0,0,0,0.2),
    inset 0 1px 2px rgba(255,255,255,0.1);
}
.cass-rim {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.32);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  pointer-events: none;
}
.cass-tape {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.28) 0px,
      rgba(255, 255, 255, 0.28) 3px,
      rgba(255, 255, 255, 0.08) 3px,
      rgba(255, 255, 255, 0.08) 6px
    );
  opacity: 0.85;
  pointer-events: none;
  mask-image: radial-gradient(circle, transparent 28%, #000 30%, #000 92%, transparent 96%);
  -webkit-mask-image: radial-gradient(circle, transparent 28%, #000 30%, #000 92%, transparent 96%);
}
.cass-spokes {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.cass-spokes span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14%;
  height: 38%;
  margin-left: -7%;
  margin-top: -38%;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(245,245,247,0.92) 0%, rgba(200,200,210,0.75) 100%);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.12);
  transform-origin: 50% 100%;
  transform: rotate(var(--a, 0deg));
}
.cass-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  height: 22%;
  margin: -11% 0 0 -11%;
  border-radius: 50%;
  background: rgba(15, 15, 18, 0.45);
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 0 6px rgba(0,0,0,0.35);
  z-index: 2;
}
.cass-hole::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 36%; height: 36%;
  margin: -18% 0 0 -18%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}
/* 磁带齿轮：由 JS 驱动旋转；暂停时停在当前角度并惯性减速，不回正 */
.cass-reel,
.cass-reel-r {
  will-change: transform;
  transform: rotate(0deg);
}
.np.is-playing .cass-reel,
.np.is-playing .cass-reel-r,
.np.cass-forwarding .cass-reel,
.np.cass-forwarding .cass-reel-r,
.np.cass-rewinding .cass-reel,
.np.cass-rewinding .cass-reel-r {
  /* 禁用 CSS animation，避免 pause 时 transform 被清掉回 0° */
  animation: none !important;
}

.cass-lyric-mid {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 6px;
  text-align: center;
  z-index: 2;
}
.cass-ly-prev,
.cass-ly-next {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-height: 18px;
}
.cass-ly-cur {
  font-size: clamp(16px, 2.8vw, 24px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-height: 28px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  transition: opacity .18s ease, transform .26s cubic-bezier(0.34,1.56,0.64,1);
}
.cass-ly-cur.is-swap {
  opacity: 0;
  transform: translateY(5px);
}

.cass-deck {
  position: relative;
  z-index: 5;
  margin: 4px 4% 8px;
  padding: 10px 2px 10px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: none;
}
.cass-ctrl-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 4px 0 0;
}
.cass-ctrl-row .np-controls {
  position: relative !important;
  left: auto !important; right: auto !important; bottom: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 40px !important;
  order: unset !important;
  color: #ffffff !important;
  width: 100%;
  justify-content: center !important;
  background: transparent !important;
}
.cass-ctrl-row .np-controls button,
.cass-ctrl-row .np-play {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: 56px !important;
  height: 56px !important;
  opacity: 1 !important;
}
.cass-ctrl-row .np-play {
  width: 68px !important;
  height: 68px !important;
}
.cass-ctrl-row .np-controls button svg {
  width: 32px !important;
  height: 32px !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
}
.cass-ctrl-row .np-play svg {
  width: 42px !important;
  height: 42px !important;
  fill: #ffffff !important;
  filter: drop-shadow(0 1px 5px rgba(0,0,0,0.45));
}
.cass-ctrl-row .np-controls #npMode,
.cass-ctrl-row .np-controls #npQueue {
  width: 40px !important;
  height: 40px !important;
  opacity: 0.9 !important;
}
.cass-ctrl-row .np-controls #npMode svg,
.cass-ctrl-row .np-controls #npQueue svg {
  width: 20px !important;
  height: 20px !important;
}
.cass-ctrl-row .np-controls #npMode.on {
  color: #ffcc00 !important;
}
.cass-ctrl-row .np-controls #npMode.on svg {
  fill: #ffcc00 !important;
  stroke: #ffcc00 !important;
}
.cass-tool-row {
  display: flex;
  justify-content: center;
  padding: 4px 0 4px;
}
.cass-tool-row .np-tools {
  position: relative !important;
  left: auto !important; right: auto !important; bottom: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  order: unset !important;
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex !important;
  justify-content: space-evenly !important;
  align-items: center !important;
  gap: 0 !important;
}
.cass-tool-row .np-tools button {
  color: rgba(255,255,255,0.88) !important;
  min-width: 52px !important;
  min-height: 44px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  gap: 3px !important;
  background: transparent !important;
  border-radius: 10px !important;
  flex: 1 1 0 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.cass-tool-row .np-tools button:active {
  background: rgba(255,255,255,0.1) !important;
}
.cass-tool-row .np-tools button.on,
.cass-tool-row .np-tools button.liked {
  color: #ffcc00 !important;
}
.cass-tool-row .np-tools button.liked svg {
  fill: #ffcc00 !important;
  stroke: #ffcc00 !important;
}
.cass-tool-row .np-tools svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

@media (orientation: landscape) {
  /* 横屏播放页：经典 / 沉浸统一用模糊海报透出（沉浸竖屏仍纯色） */
  .np.open,
  .np.closing,
  .np.open.immersive,
  .np.closing.immersive {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    background: #1a1a1e !important;
    padding: calc(10px + var(--safe-t)) 2.5% calc(10px + var(--safe-b)) !important;
    box-sizing: border-box !important;
  }
  .np.open .np-bg,
  .np.closing .np-bg,
  .np.open.immersive .np-bg,
  .np.closing.immersive .np-bg {
    opacity: 1 !important;
    z-index: 0 !important;
    background: transparent !important;
  }
  .np.open .np-bg img,
  .np.closing .np-bg img,
  .np.open.immersive .np-bg img,
  .np.closing.immersive .np-bg img,
  .np.open.immersive:not(.lyrics-full) .np-bg img,
  .np.closing.immersive:not(.lyrics-full) .np-bg img {
    display: block !important;
    opacity: 1 !important;
    filter: blur(18px) saturate(1.25) brightness(0.9) !important;
    -webkit-filter: blur(18px) saturate(1.25) brightness(0.9) !important;
    width: 130% !important;
    height: 130% !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
  }
  .np.open .np-bg::after,
  .np.closing .np-bg::after,
  .np.open.immersive .np-bg::after,
  .np.closing.immersive .np-bg::after,
  .np.open.immersive:not(.lyrics-full) .np-bg::after,
  .np.closing.immersive:not(.lyrics-full) .np-bg::after {
    background: rgba(0,0,0,0.1) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .np.open::before,
  .np.closing::before,
  .np.open.immersive::before,
  .np.closing.immersive::before {
    opacity: 0.18 !important;
    background:
      radial-gradient(80% 50% at 50% 8%, rgba(var(--np-c1), 0.28) 0%, transparent 52%),
      linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.18) 100%) !important;
    z-index: 0 !important;
  }
  .np.open .np-grab,
  .np.closing .np-grab,
  .np.open .np-art-wrap,
  .np.closing .np-art-wrap,
  .np.open .np-info,
  .np.closing .np-info,
  .np.open > .np-lyrics,
  .np.closing > .np-lyrics,
  .np.open > .np-seek,
  .np.closing > .np-seek,
  .np.open > .np-time,
  .np.closing > .np-time,
  .np.open > .np-controls,
  .np.closing > .np-controls,
  .np.open > .np-tools,
  .np.closing > .np-tools {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .np.open .np-cassette,
  .np.closing .np-cassette {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
  }
  .np.open .cass-shell,
  .np.closing .cass-shell {
    width: 100%;
    height: 100%;
    max-height: none;
  }
  .np.lyrics-full.np.open .np-cassette {
    display: none !important;
  }
  .np.lyrics-full.np.open > .np-lyrics {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: 0 !important; right: 0 !important;
    top: 0 !important; bottom: 0 !important;
    max-height: none !important;
    text-align: center !important;
    padding: calc(48px + var(--safe-t)) 24px calc(48px + var(--safe-b)) !important;
  }

  /* 横屏沉浸：强制与经典同款海报透出（压过竖屏沉浸的 display:none） */
  .np.open.immersive:not(.lyrics-full),
  .np.closing.immersive:not(.lyrics-full) {
    background: #1a1a1e !important;
  }
  .np.open.immersive:not(.lyrics-full) .np-bg,
  .np.closing.immersive:not(.lyrics-full) .np-bg {
    opacity: 1 !important;
    background: transparent !important;
    display: block !important;
  }
  .np.open.immersive:not(.lyrics-full) .np-bg img,
  .np.closing.immersive:not(.lyrics-full) .np-bg img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: blur(18px) saturate(1.25) brightness(0.9) !important;
    -webkit-filter: blur(18px) saturate(1.25) brightness(0.9) !important;
    width: 130% !important;
    height: 130% !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
  }
  .np.open.immersive:not(.lyrics-full) .np-bg::after,
  .np.closing.immersive:not(.lyrics-full) .np-bg::after {
    background: rgba(0,0,0,0.1) !important;
  }
  .np.open.immersive:not(.lyrics-full)::before,
  .np.closing.immersive:not(.lyrics-full)::before {
    opacity: 0.18 !important;
    background:
      radial-gradient(80% 50% at 50% 8%, rgba(var(--np-c1), 0.28) 0%, transparent 52%),
      linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.18) 100%) !important;
  }
  /* 暗色主题 + 横屏沉浸：同样透出海报，不要纯色底盖住 */
  html.dark .np.open.immersive:not(.lyrics-full),
  html.dark .np.closing.immersive:not(.lyrics-full) {
    background: #1a1a1e !important;
  }
  html.dark .np.open.immersive:not(.lyrics-full) .np-bg,
  html.dark .np.closing.immersive:not(.lyrics-full) .np-bg {
    opacity: 1 !important;
    background: transparent !important;
  }
  html.dark .np.open.immersive:not(.lyrics-full) .np-bg img,
  html.dark .np.closing.immersive:not(.lyrics-full) .np-bg img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* 手机横屏：高度紧，单独压缩避免交叉 */
@media (orientation: landscape) and (max-height: 520px) {
  .np.open,
  .np.closing {
    padding: calc(4px + var(--safe-t)) 1.5% calc(4px + var(--safe-b)) !important;
  }
  .cass-shell {
    border-radius: 18px !important;
    padding-bottom: 2px !important;
  }
  .cass-brand {
    padding: 6px 36px 2px !important;
    gap: 1px !important;
  }
  .cass-brand-mark {
    font-size: clamp(13px, 3.2vh, 16px) !important;
  }
  .cass-brand-sub {
    font-size: clamp(10px, 2.4vh, 12px) !important;
  }
  .cass-stage {
    margin: 2px 2.5% 0 !important;
    padding: 4px 8px 6px !important;
    border-radius: 14px !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .cass-progress-row {
    margin: 2px 2% 2px !important;
    min-height: 28px !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .cass-progress-row .cass-t {
    font-size: 10px !important;
    min-width: 28px !important;
  }
  .cass-seek-top {
    min-height: 28px !important;
    height: 28px !important;
  }
  .cass-seek-top .np-seek,
  .cass-seek-top #npSeekWrap {
    height: 28px !important;
  }
  .cass-center {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .cass-window {
    gap: 8px !important;
    padding: 10px 7% !important;
    width: calc(100% - 140px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: auto !important;
    max-height: 100% !important;
    background: rgba(0, 0, 0, 0.12) !important;
    border-radius: 22px !important;
  }
  .cass-reel {
    width: clamp(56px, 22vh, 88px) !important;
    height: clamp(56px, 22vh, 88px) !important;
  }
  .cass-lyric-mid {
    max-width: 48% !important;
    gap: 2px !important;
    padding: 0 4px !important;
  }
  .cass-ly-prev,
  .cass-ly-next {
    font-size: 10px !important;
    min-height: 12px !important;
  }
  .cass-ly-cur {
    font-size: clamp(12px, 3.2vh, 15px) !important;
    min-height: 18px !important;
  }
  .cass-deck {
    margin: 0 2% 2px !important;
    padding: 2px 0 2px !important;
    gap: 2px !important;
    flex-shrink: 0 !important;
  }
  .cass-ctrl-row {
    min-height: 36px !important;
    padding: 0 !important;
  }
  .cass-ctrl-row .np-controls {
    gap: 18px !important;
  }
  .cass-ctrl-row .np-controls button,
  .cass-ctrl-row .np-play {
    width: 36px !important;
    height: 36px !important;
  }
  .cass-ctrl-row .np-play {
    width: 42px !important;
    height: 42px !important;
  }
  .cass-ctrl-row .np-controls button svg {
    width: 20px !important;
    height: 20px !important;
  }
  .cass-ctrl-row .np-play svg {
    width: 26px !important;
    height: 26px !important;
  }
  .cass-ctrl-row .np-controls #npMode,
  .cass-ctrl-row .np-controls #npQueue {
    width: 28px !important;
    height: 28px !important;
    opacity: 0.9 !important;
  }
  .cass-ctrl-row .np-controls #npMode svg,
  .cass-ctrl-row .np-controls #npQueue svg {
    width: 15px !important;
    height: 15px !important;
  }
  .cass-tool-row {
    padding: 0 !important;
  }
  .cass-tool-row .np-tools button {
    min-height: 28px !important;
    font-size: 9px !important;
    gap: 1px !important;
  }
  .cass-tool-row .np-tools svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* 更矮的手机横屏再压一档 */
@media (orientation: landscape) and (max-height: 400px) {
  .cass-brand { padding: 2px 24px 0 !important; }
  .cass-brand-sub { display: none !important; }
  .cass-reel {
    width: clamp(48px, 20vh, 72px) !important;
    height: clamp(48px, 20vh, 72px) !important;
  }
  .cass-ly-prev,
  .cass-ly-next { display: none !important; }
  .cass-progress-row { margin: 0 1% 0 !important; min-height: 24px !important; }
  .cass-stage { padding: 2px 6px 4px !important; margin: 1px 2% 0 !important; }
  .cass-ctrl-row .np-controls { gap: 12px !important; }
  .cass-tool-row .np-tools button { min-height: 24px !important; font-size: 8px !important; }
}

@media (orientation: portrait) {
  .np-cassette { display: none !important; }
}

/* source manager */

.src-editor-mask {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s;
  padding: 20px;
  visibility: hidden;
}
.src-editor-mask.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.src-editor-mask:not(.open),
.src-editor-mask:not(.open) * {
  pointer-events: none !important;
}
.src-editor {
  width: 100%; max-width: 340px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(200%) blur(40px);
  -webkit-backdrop-filter: saturate(200%) blur(40px);
  border-radius: 16px;
  padding: 18px 16px 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14), inset 0 0.5px 0 rgba(255,255,255,0.85);
  border: 0.5px solid rgba(255,255,255,0.55);
}
.src-editor-title {
  font-size: 17px; font-weight: 700; text-align: center; margin-bottom: 12px;
}
.src-ed-label {
  display: block; font-size: 12px; color: var(--label-3);
  margin: 10px 0 4px;
}
.src-ed-actions {
  display: flex; gap: 10px; margin-top: 16px;
}
.src-ed-actions button { flex: 1; }
.seg {
  flex-wrap: nowrap;
  max-width: none;
  width: 100%;
  min-width: 0;
  justify-content: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  font-size: 12px;
  padding: 8px 6px;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 设置项：标签与选择条统一上下排布，按钮等宽对齐 */
.set-row:has(.seg) {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.set-row:has(.seg) > div:first-child {
  width: 100%;
}
#segAutoQ,
#segShowTrans,
#segShowRoma,
#segTheme,
#segNpStyle,
#segNpSeek,
#segAutoPlay {
  max-width: 100%;
}
#segNpSeek button {
  font-size: 11px;
  padding: 7px 6px;
}
#segQ button {
  font-size: 11px;
  padding: 8px 4px;
}


.src-status {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 6px 0 4px;
}
.src-pill {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 8px;
  background: rgba(120,120,128,0.12);
  color: var(--label-3);
}
.src-pill.ok {
  background: rgba(52,199,89,0.16);
  color: #1a9e42;
}
.src-pill.fail {
  background: rgba(255,59,48,0.14);
  color: #d70015;
}
.src-plat-checks {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  padding: 8px 0 4px;
}
.src-plat-checks label {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--label);
  cursor: pointer;
}
.src-plat-checks input {
  width: 16px; height: 16px; accent-color: var(--pink);
}


.src-list { display: flex; flex-direction: column; gap: 0; }
.src-check-wrap {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; cursor: pointer;
}
/* 音源启用：iOS 风格开关（平台芯片不动） */
.src-switch {
  position: relative;
  width: 42px;
  height: 26px;
  flex-shrink: 0;
  border: none;
  border-radius: 13px;
  background: rgba(120,120,128,0.28);
  cursor: pointer;
  padding: 0;
  transition: background .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.src-switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18), 0 0 1px rgba(0,0,0,0.08);
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1);
}
.src-switch.on {
  background: #34c759;
}
.src-switch.on::after {
  transform: translateX(16px);
}
html.dark .src-switch {
  background: rgba(120,120,128,0.4);
}
html.dark .src-switch.on {
  background: #30d158;
}
.src-card {
  display: grid;
  grid-template-columns: 1fr minmax(96px, 38%);
  gap: 6px 12px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 0.5px solid var(--separator);
}
.src-card:last-child { border-bottom: none; }
.src-card.disabled { opacity: 0.48; }
.src-card.disabled .src-name { color: var(--label-3); }
.src-card .src-main { min-width: 0; }
.src-top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.src-name { font-size: 16px; font-weight: 600; }
.src-meta {
  margin-top: 4px; font-size: 12px; color: var(--label-3);
  word-break: break-all; line-height: 1.4;
}
.src-actions {
  display: flex; gap: 6px; margin-top: 10px;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.src-actions::-webkit-scrollbar { display: none; }
.src-actions button {
  border: none; border-radius: 8px; padding: 6px 10px;
  font-size: 12px; font-family: inherit; cursor: pointer;
  background: var(--fill); color: var(--label);
  flex: 0 0 auto;
  white-space: nowrap;
}
.src-actions button.danger { color: var(--pink); }
.src-actions button.primary { background: var(--pink); color: #fff; }
.src-actions button:disabled { opacity: 0.55; cursor: default; }
/* 右侧音质结果 */
.src-card .src-side {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-content: flex-start;
  justify-content: flex-end;
  min-height: 28px;
}
.src-qchip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(120,120,128,0.1);
  color: var(--label-3);
}
.src-qchip.ok {
  background: rgba(52,199,89,0.16);
  color: #1a9e42;
}
.src-qchip.fail {
  background: rgba(255,59,48,0.12);
  color: #d70015;
}
.src-qchip.testing {
  background: rgba(0,122,255,0.12);
  color: #007aff;
}
.src-plat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  align-items: center;
}
.src-platchip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 8px;
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(120,120,128,0.12);
  color: var(--label-2);
}
.src-platchip.ok {
  background: rgba(52,199,89,0.16);
  color: #1a9e42;
}
.src-platchip.fail {
  background: rgba(255,59,48,0.12);
  color: #d70015;
}
.src-platchip.testing {
  background: rgba(0,122,255,0.12);
  color: #007aff;
}
.src-side-empty {
  font-size: 11px;
  color: var(--label-3);
  padding: 4px 0;
}
html.dark .src-platchip.ok {
  background: rgba(52,199,89,0.22);
  color: #30d158;
}
html.dark .src-platchip.fail {
  background: rgba(255,59,48,0.22);
  color: #ff6961;
}
html.dark .src-platchip.testing {
  background: rgba(10,132,255,0.22);
  color: #64d2ff;
}
.src-add-panel {
  padding: 14px 16px;
  border-top: 0.5px solid var(--separator);
}
.src-add-panel .field { margin-top: 8px; }
.src-add-panel select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23999' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 28px;
}
.file-btn {
  display: block; width: 100%; text-align: center; margin-top: 8px;
  padding: 16px; border-radius: 12px; border: none;
  background: var(--fill); color: var(--label);
  font-size: 15px; cursor: pointer; font-family: inherit;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(250,45,72,0.12);
  position: relative;
  z-index: 5;
}
.file-btn:active { opacity: 0.7; }


/* —— 搜索 Tab（QQ 风格） —— */
.search-tabs {
  display: flex;
  gap: 28px;
  margin: 2px 0 4px;
  padding: 0 2px;
  border-bottom: 0.5px solid var(--separator);
}
.search-tab {
  position: relative;
  padding: 12px 4px 14px;
  border: none;
  background: transparent;
  color: var(--label-3);
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
}
.search-tab.on {
  color: var(--label);
  font-weight: 600;
}
.search-tab.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--pink);
}
.search-count {
  font-size: 12px;
  color: var(--label-3);
  padding: 8px 0 6px;
}
.singer-row, .pl-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 0.5px solid var(--separator);
}
.singer-row:active, .pl-row:active { opacity: 0.72; }
.singer-av {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
  box-shadow: none;
}
.singer-meta, .pl-meta { flex: 1; min-width: 0; }
.singer-name, .pl-name {
  font-size: 16px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.singer-sub, .pl-sub {
  font-size: 13px; color: var(--label-2); margin-top: 4px;
}
.singer-arrow {
  color: var(--label-3); font-size: 20px; flex-shrink: 0; font-weight: 300;
}
.pl-cover {
  width: 68px; height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
  box-shadow: none;
}

/* —— 专辑：就地展开（对齐截图） —— */
.album-block {
  border-bottom: 0.5px solid var(--separator);
}
.album-block .album-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.album-block .album-head:active { opacity: 0.72; }
.album-block .album-head .pl-cover {
  width: 56px;
  height: 56px;
  border-radius: 8px;
}
.album-block .album-arrow {
  color: var(--label-3);
  font-size: 18px;
  flex-shrink: 0;
  font-weight: 300;
  transition: transform .2s ease;
  width: 20px;
  text-align: center;
}
.album-block.open .album-arrow {
  transform: rotate(90deg);
}
.album-expand {
  display: none;
  padding: 0 0 12px 28px;
  position: relative;
}
.album-block.open .album-expand {
  display: block;
}
.album-expand::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: 12px;
  width: 2px;
  border-radius: 1px;
  background: color-mix(in srgb, #31c27c 55%, transparent);
}
html.dark .album-expand::before {
  background: color-mix(in srgb, #3dd68c 50%, transparent);
}
.album-expand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 10px;
  font-size: 13px;
  color: var(--label-3);
}
.album-expand-play {
  border: none;
  background: none;
  color: #31c27c;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 2px;
}
html.dark .album-expand-play { color: #3dd68c; }
.album-expand-play:active { opacity: 0.7; }
.album-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.album-track:active { opacity: 0.72; }
.album-track-idx {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.album-track-meta {
  flex: 1;
  min-width: 0;
}
.album-track-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--label);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-track-sub {
  font-size: 12px;
  color: var(--label-3);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.album-track-dur {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--label-3);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}
.album-track-like {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--label-3);
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0;
}
.album-track-like svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  pointer-events: none;
}
.album-track-like.on {
  color: var(--pink);
}
.album-track-like.on svg {
  fill: var(--pink);
  stroke: var(--pink);
}
.album-expand-loading,
.album-expand-empty {
  padding: 8px 0 4px;
  font-size: 13px;
  color: var(--label-3);
}

/* —— 小平板竖屏起步；≥768 由下方 4 列规则覆盖 —— */
@media (min-width: 700px) and (orientation: portrait) {
  #app { max-width: 980px; }
  .page { padding-left: 28px; padding-right: 28px; }
  .header { padding-left: 28px; padding-right: 28px; }
  .top-duo { gap: 14px; }
  .duo-card { height: 200px; }
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 14px;
  }
  .h-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px 12px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .album { flex: initial; width: auto; max-width: none; min-width: 0; }
  .album-art { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .album-name, .album-artist { max-width: none; }
  .dock, .dock.collapsed, .dock:not(.collapsed) {
    left: 0; right: 0;
    margin-left: auto; margin-right: auto;
    width: min(560px, calc(100% - 30px));
  }
}

/* —— 横版 / 宽屏：频道与歌单 6 列；兼容平板与 4K —— */
@media (orientation: landscape) and (min-width: 560px), (min-width: 1024px) {
  /* 容器铺满，上限兼顾 4K 平板 */
  #app { max-width: 1600px; }

  .page { padding-left: 40px; padding-right: 40px; }
  .header { padding-left: 40px; padding-right: 40px; }

  .top-duo { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .duo-card { height: 220px; }
  /* 横版：不用底部渐变模糊毛玻璃，仅竖版保留 */
  .duo-glass { display: none !important; }

  .h-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px 14px;
    overflow: visible;
    scroll-snap-type: none;
  }
  /* 为你推荐：横版固定 8 列 × 2 排 */
  #recRow.rec-row,
  .rec-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px 10px;
    overflow: hidden;
    scroll-snap-type: none;
  }
  #recRow.rec-row .album,
  .rec-row .album {
    flex: initial;
    width: auto;
    max-width: none;
    min-width: 0;
  }
  #recRow.rec-row .album-art,
  .rec-row .album-art {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  #recRow.rec-row .album-name,
  #recRow.rec-row .album-artist,
  .rec-row .album-name,
  .rec-row .album-artist {
    max-width: none;
    font-size: 12px;
  }
  .album { flex: initial; width: auto; max-width: none; min-width: 0; }
  .album-art { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .album-name, .album-artist { max-width: none; }

  /* 横版：频道 / 歌单 固定 6 列 */
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 12px;
  }

  /* 热门歌曲：横版约 4 列紧凑横条 */
  #hotList {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px 14px;
  }

  .dock, .dock.collapsed, .dock:not(.collapsed) {
    left: 0; right: 0;
    margin-left: auto; margin-right: auto;
    width: min(640px, calc(100% - 30px));
  }

  /* 横版迷你条：歌名 + 歌词居中 */
  .mini-meta {
    text-align: center;
  }
  .mini-name,
  .mini-artist {
    text-align: center;
  }
  .mini-lyric-line {
    text-align: center;
    left: 0;
    right: 0;
  }
  .dock.collapsed .mini-meta {
    text-align: center;
  }

  /* 横版：按钮不要拉满整行 */
  .btn-pink,
  .btn-ghost {
    width: auto;
    max-width: 280px;
    min-width: 120px;
    padding-left: 28px;
    padding-right: 28px;
  }
  .src-add-panel .btn-pink,
  .src-add-panel [style*="flex:1"] .btn-pink {
    width: auto !important;
    max-width: 200px;
    flex: 0 0 auto !important;
  }
  .src-add-panel > div[style*="display:flex"] {
    justify-content: flex-start;
  }
  .set-row:has(.seg) {
    align-items: flex-start;
  }
  .set-row:has(.seg) .seg {
    max-width: 640px;
    width: auto;
    align-self: flex-start;
  }
  /* 歌词 Tab 面板：横屏与其它开关同宽策略，避免整行灰条 */
  .set-ly-panel {
    max-width: 720px;
  }
  .set-ly-tabs {
    max-width: 520px;
  }
  .set-ly-pane > .seg,
  .set-ly-pane .set-ly-offset-stack .seg {
    width: auto !important;
    max-width: 480px;
    align-self: flex-start !important;
  }
  #segShowTrans button,
  #segShowRoma button,
  #segLyWavy button,
  #segLyOffset button,
  #segLyOffsetAct button {
    flex: 0 1 auto !important;
    min-width: 56px !important;
    padding: 8px 18px !important;
  }
  /* 横屏设置分段按钮略加宽，减轻挤压 */
  .seg button {
    flex: 0 1 auto !important;
    min-width: 52px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
  }
  #segQ button,
  #segNpSeek button {
    min-width: 48px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
  #segTheme button,
  #segNpStyle button,
  #segHomeFull button,
  #segAutoQ button,
  #segShowTrans button,
  #segShowRoma button {
    min-width: 56px !important;
    padding: 8px 18px !important;
  }
  /* 歌单/榜单「播放全部」横版不要拉太长 */
  .pl-detail-meta button,
  .pl-detail-head button {
    max-width: 220px !important;
    width: auto !important;
  }
}

/* —— 12 寸+ 竖屏（CSS≥1024：iPad 12.9/13）：4 列 × 3 排 —— */
@media (min-width: 1024px) and (orientation: portrait) {
  #app { max-width: 1200px; }
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 14px;
  }
  .page { padding-left: 36px; padding-right: 36px; }
  .header { padding-left: 36px; padding-right: 36px; }
}
@media (min-width: 900px) and (min-height: 1200px) and (orientation: portrait) {
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
  }
}

/* —— 4K / 超宽屏：加大留白与间距，仍保持 6 列频道/歌单 —— */
@media (min-width: 1800px) {
  #app { max-width: 1920px; }
  .page { padding-left: 56px; padding-right: 56px; }
  .header { padding-left: 56px; padding-right: 56px; }
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 22px 16px;
  }
  .h-row {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px 16px;
  }
  #recRow.rec-row,
  .rec-row {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .duo-card { height: 260px; }
  .dock, .dock.collapsed, .dock:not(.collapsed) {
    width: min(720px, calc(100% - 32px));
  }
}

/* —— 4K 横屏超宽：容器再放宽 —— */
@media (orientation: landscape) and (min-width: 2560px) {
  #app { max-width: 2400px; }
  .page { padding-left: 72px; padding-right: 72px; }
  .header { padding-left: 72px; padding-right: 72px; }
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px 18px;
  }
}



/* 竖屏频道：默认 3 列；12 寸及以上（CSS≥1024）4 列 × 3 排 */
@media (orientation: portrait) {
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
/* iPad Pro 12.9 / Air 13 / Pro 13 竖屏：1024～1032 CSS px */
@media (orientation: portrait) and (min-width: 1024px) {
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px 14px !important;
  }
}
/* Surface 等宽约 900、高≥1200 的大平板竖屏 */
@media (orientation: portrait) and (min-width: 900px) and (min-height: 1200px) {
  .pl-grid, .ch-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px 12px !important;
  }
}
@media (orientation: portrait) and (min-width: 1200px) {
  .pl-grid, .ch-grid {
    gap: 20px 16px !important;
  }
}
@media (orientation: portrait) and (min-width: 1800px) {
  .pl-grid, .ch-grid {
    gap: 24px 18px !important;
  }
}

/* —— 大平板 / 4K 竖屏播放页：放大封面与控件，减少四周空 —— */
@media (orientation: portrait) and (min-width: 700px) and (min-height: 900px) {
  .np-art-wrap {
    padding: 12px 40px 16px !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
  }
  .np-art {
    width: min(58vw, 400px) !important;
    max-width: 400px !important;
    border-radius: 18px !important;
  }
  .np-title { font-size: 26px !important; }
  .np-artist { font-size: 17px !important; margin-top: 6px !important; }
  .np-info { padding: 10px 36px 6px !important; }
  .np-lyrics {
    max-height: 34vh !important;
    min-height: 120px !important;
  }
  .np-lyrics .ly { font-size: 20px !important; }
  .np-lyrics .ly.on { font-size: 24px !important; }
  .np-controls {
    gap: 32px !important;
    padding: 12px 24px 14px !important;
  }
  .np-controls button {
    width: 64px !important;
    height: 64px !important;
  }
  .np-controls button svg {
    width: 38px !important;
    height: 38px !important;
  }
  .np-controls #npPrev svg,
  .np-controls #npNext svg {
    width: 40px !important;
    height: 40px !important;
  }
  .np-play {
    width: 72px !important;
    height: 72px !important;
  }
  .np-play svg {
    width: 50px !important;
    height: 50px !important;
  }
  .np-seek { padding: 10px 36px 0 !important; }
  .np-time { padding: 6px 36px 10px !important; font-size: 12px !important; }
  .np.immersive .np-art-wrap {
    height: min(48vh, 520px) !important;
    min-height: min(42vh, 460px) !important;
  }
}
@media (orientation: portrait) and (min-width: 1000px) and (min-height: 1200px) {
  .np-art {
    width: min(52vw, 480px) !important;
    max-width: 480px !important;
    border-radius: 22px !important;
  }
  .np-title { font-size: 30px !important; }
  .np-artist { font-size: 19px !important; }
  .np-lyrics { max-height: 36vh !important; }
  .np-lyrics .ly { font-size: 22px !important; }
  .np-lyrics .ly.on { font-size: 28px !important; }
  .np-controls { gap: 40px !important; }
  .np-play {
    width: 80px !important;
    height: 80px !important;
  }
  .np-play svg {
    width: 56px !important;
    height: 56px !important;
  }
  .np.immersive .np-art-wrap {
    height: min(46vh, 580px) !important;
    min-height: min(40vh, 520px) !important;
  }
}
@media (orientation: portrait) and (min-width: 1400px) and (min-height: 1600px) {
  .np-art {
    width: min(48vw, 560px) !important;
    max-width: 560px !important;
  }
  .np-title { font-size: 34px !important; }
  .np-artist { font-size: 21px !important; }
  .np-lyrics .ly { font-size: 24px !important; }
  .np-lyrics .ly.on { font-size: 30px !important; }
}

/* ===== FINAL KTV 扫字锁：压过所有主题 .ly.on:not(.ly-ktv) 实心色，避免扫字被盖成整句慢亮 ===== */
.np .np-lyrics .ly.on:not(.ly-ktv),
.np.np-ui-light .np-lyrics .ly.on:not(.ly-ktv),
.np.np-ui-dark .np-lyrics .ly.on:not(.ly-ktv),
.np.lyrics-full .np-lyrics .ly.on:not(.ly-ktv),
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.lyrics-full .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive:not(.lyrics-full) .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ui-dark .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ui-dark:not(.lyrics-full) .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ui-light .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ly-white .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ly-white.lyrics-full .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ly-white.np-ui-light .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ly-white.np-ui-dark .np-lyrics .ly.on:not(.ly-ktv),
.np.immersive.np-ly-white:not(.lyrics-full) .np-lyrics .ly.on:not(.ly-ktv),
html.dark .np .np-lyrics .ly.on:not(.ly-ktv),
html.dark .np:not(.np-ui-dark) .np-lyrics .ly.on:not(.ly-ktv),
html.dark .np:not(.np-ui-dark).lyrics-full .np-lyrics .ly.on:not(.ly-ktv),
html.dark .np.np-ui-dark .np-lyrics .ly.on:not(.ly-ktv) {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  background-image: linear-gradient(
    90deg,
    var(--ly-hl, #b83a4e) 0%,
    var(--ly-hl, #b83a4e) calc(var(--ly-prog, 0) * 100% - 6%),
    color-mix(in srgb, var(--ly-hl, #b83a4e) 60%, var(--ly-dim, rgba(120,120,128,0.35))) calc(var(--ly-prog, 0) * 100%),
    var(--ly-dim, rgba(120,120,128,0.35)) calc(var(--ly-prog, 0) * 100% + 10%),
    var(--ly-dim, rgba(120,120,128,0.35)) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  font-size: 26px !important;
  /* 字号过渡柔和；transform 交给 pop 动画 */
  transition: font-size .28s cubic-bezier(0.34, 1.2, 0.64, 1), opacity .18s ease !important;
}

/* ===== Baka 风格逐字扫：字级 mask，仅两色；长句就地折行，不左移 ===== */
.np-lyrics .ly.on.ly-ktv {
  display: block;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--ly-dim) !important;
  -webkit-text-fill-color: var(--ly-dim) !important;
  transform: none !important;
  animation: none !important;
  font-size: 26px !important;
  max-width: 100%;
  word-break: break-word;
  line-height: 1.45;
}
.np-lyrics .ly.on.ly-ktv .ly-w {
  display: inline;
  white-space: pre-wrap;
  color: var(--ly-dim);
  -webkit-text-fill-color: var(--ly-dim);
  background: none !important;
  transition: none !important;
  transform: none;
  text-shadow: none !important;
}
.np-lyrics .ly.on.ly-ktv .ly-w.sung {
  color: var(--ly-hl) !important;
  -webkit-text-fill-color: var(--ly-hl) !important;
  background: none !important;
  transform: none;
  text-shadow: none;
}
.np-lyrics .ly.on.ly-ktv .ly-w.cur {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: linear-gradient(
    90deg,
    var(--ly-hl) 0%,
    var(--ly-hl) calc(var(--w-prog, 0) * 100% - 8%),
    color-mix(in srgb, var(--ly-hl) 70%, var(--ly-dim)) calc(var(--w-prog, 0) * 100% - 1%),
    color-mix(in srgb, var(--ly-hl) 35%, var(--ly-dim)) calc(var(--w-prog, 0) * 100% + 5%),
    var(--ly-dim) calc(var(--w-prog, 0) * 100% + 14%),
    var(--ly-dim) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  transform: none;
  text-shadow: none !important;
}
.np-lyrics .ly-trans {
  display: block;
  margin: 2px 12px 8px;
  padding: 0 4px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  opacity: 0.35;
  transform: scale(0.96);
  color: inherit;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  transition: opacity .18s ease, transform .18s ease, font-size .12s ease;
  pointer-events: none;
}
.np-lyrics .ly-trans.is-on {
  opacity: 0.72;
  transform: scale(1);
  font-size: 13px;
  font-weight: 600;
}
.np-lyrics .ly-trans.is-sung { opacity: 0.4; }
/* 沉浸：扫字只两色，消灭第三色 */
.np.immersive .np-lyrics .ly {
  --ly-hl: #ffffff;
  --ly-dim: rgba(255, 255, 255, 0.36);
}
.np.immersive.np-ui-dark .np-lyrics .ly {
  --ly-hl: #1c1c1e;
  --ly-dim: rgba(28, 28, 30, 0.34);
}
.np.immersive.np-ly-white .np-lyrics .ly {
  --ly-hl: #ffffff;
  --ly-dim: rgba(255, 255, 255, 0.36);
}
.np.immersive .np-lyrics .ly.on.ly-ktv,
.np.immersive .np-lyrics .ly.on.ly-ktv .ly-w {
  color: var(--ly-dim) !important;
  -webkit-text-fill-color: var(--ly-dim) !important;
}
.np.immersive .np-lyrics .ly.on.ly-ktv .ly-w.sung {
  color: var(--ly-hl) !important;
  -webkit-text-fill-color: var(--ly-hl) !important;
}
.np.immersive .np-lyrics .ly-trans { color: var(--ly-dim); opacity: 0.4; }
.np.immersive .np-lyrics .ly-trans.is-on { color: var(--ly-hl); opacity: 0.7; }
.np-lyrics .ly:not(.on) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-lyrics .ly.on {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  /* 保留 scale 弹出动画，勿写死 transform:none */
}


/* ===== 沉浸与经典同一套扫字：禁止沉浸实心色盖住逐字 mask ===== */
.np.immersive .np-lyrics .ly.on.ly-ktv,
.np.immersive.lyrics-full .np-lyrics .ly.on.ly-ktv,
.np.immersive:not(.lyrics-full) .np-lyrics .ly.on.ly-ktv,
.np.immersive.np-ly-white .np-lyrics .ly.on.ly-ktv,
.np.immersive.np-ui-light .np-lyrics .ly.on.ly-ktv,
.np.immersive.np-ui-dark .np-lyrics .ly.on.ly-ktv,
.np.immersive.np-ly-white.lyrics-full .np-lyrics .ly.on.ly-ktv,
.np.immersive.np-ly-white:not(.lyrics-full) .np-lyrics .ly.on.ly-ktv,
.np.immersive.np-ui-dark:not(.lyrics-full) .np-lyrics .ly.on.ly-ktv {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: none !important;
  background-image: none !important;
  text-shadow: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}
.np.immersive .np-lyrics .ly.on.ly-ktv .ly-w,
.np.immersive.lyrics-full .np-lyrics .ly.on.ly-ktv .ly-w,
.np.immersive.np-ly-white .np-lyrics .ly.on.ly-ktv .ly-w,
.np.immersive.np-ui-dark .np-lyrics .ly.on.ly-ktv .ly-w {
  color: var(--ly-dim) !important;
  -webkit-text-fill-color: var(--ly-dim) !important;
  background: none !important;
  text-shadow: none !important;
}
.np.immersive .np-lyrics .ly.on.ly-ktv .ly-w.sung,
.np.immersive.lyrics-full .np-lyrics .ly.on.ly-ktv .ly-w.sung,
.np.immersive.np-ly-white .np-lyrics .ly.on.ly-ktv .ly-w.sung,
.np.immersive.np-ui-dark .np-lyrics .ly.on.ly-ktv .ly-w.sung {
  color: var(--ly-hl) !important;
  -webkit-text-fill-color: var(--ly-hl) !important;
  background: none !important;
  text-shadow: none !important;
}
.np.immersive .np-lyrics .ly.on.ly-ktv .ly-w.cur,
.np.immersive.lyrics-full .np-lyrics .ly.on.ly-ktv .ly-w.cur,
.np.immersive.np-ly-white .np-lyrics .ly.on.ly-ktv .ly-w.cur,
.np.immersive.np-ui-dark .np-lyrics .ly.on.ly-ktv .ly-w.cur {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  transform: none !important;
  background-image: linear-gradient(
    90deg,
    var(--ly-hl) 0%,
    var(--ly-hl) calc(var(--w-prog, 0) * 100% - 8%),
    color-mix(in srgb, var(--ly-hl) 65%, var(--ly-dim)) calc(var(--w-prog, 0) * 100%),
    var(--ly-dim) calc(var(--w-prog, 0) * 100% + 12%),
    var(--ly-dim) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  transform: scale(1.018);
  transform-origin: center bottom;
}

.np-lyrics .ly-roma {
  display: none;
  margin: 0 12px 6px;
  padding: 0 4px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  opacity: 0.32;
  color: inherit;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  pointer-events: none;
}
html.show-roma .np-lyrics .ly-roma { display: block; }
.np-lyrics .ly-roma.is-on { opacity: 0.65; font-size: 12px; font-weight: 600; }
.np.immersive .np-lyrics .ly-roma { color: var(--ly-dim); opacity: 0.35; }
.np.immersive .np-lyrics .ly-roma.is-on { color: var(--ly-hl); opacity: 0.62; }
html:not(.show-trans) .np-lyrics .ly-trans { display: none !important; }


/* ===== 沉浸进度已播段强制纯白（压过 np-ui-light/dark 的红色 accent） ===== */
.np.immersive .np-seek input[type=range],
.np.immersive.np-ui-light .np-seek input[type=range],
.np.immersive.np-ui-dark .np-seek input[type=range],
.np.immersive.np-ui-light .np-seek input[type=range]::-moz-range-track,
.np.immersive.np-ui-dark .np-seek input[type=range]::-moz-range-track,
.np.immersive .np-seek input[type=range]::-moz-range-track {
  background: linear-gradient(to right, #ffffff var(--seek-p, 0%), rgba(255,255,255,0.28) var(--seek-p, 0%)) !important;
}
.np.immersive .np-seek input[type=range]::-webkit-slider-thumb,
.np.immersive.np-ui-light .np-seek input[type=range]::-webkit-slider-thumb,
.np.immersive.np-ui-dark .np-seek input[type=range]::-webkit-slider-thumb,
.np.immersive .np-seek input[type=range]::-moz-range-thumb,
.np.immersive.np-ui-light .np-seek input[type=range]::-moz-range-thumb,
.np.immersive.np-ui-dark .np-seek input[type=range]::-moz-range-thumb {
  background: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 8px rgba(255,255,255,0.35) !important;
}
/* 星轨（默认进度样式）已播浪 + 圆点 */
.np.immersive .np-orbit-lit,
.np.immersive.np-ui-light .np-orbit-lit,
.np.immersive.np-ui-dark .np-orbit-lit,
html.dark .np.immersive .np-orbit-lit {
  stroke: #ffffff !important;
  filter: none !important;
}
.np.immersive .np-orbit-knob,
.np.immersive.np-ui-light .np-orbit-knob,
.np.immersive.np-ui-dark .np-orbit-knob,
html.dark .np.immersive .np-orbit-knob {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
.np.immersive .np-orbit-dim,
.np.immersive.np-ui-light .np-orbit-dim,
.np.immersive.np-ui-dark .np-orbit-dim {
  stroke: rgba(255,255,255,0.32) !important;
}
/* 光轨 / 心率条 */
.np.immersive .np-glow-fill,
.np.immersive.np-ui-light .np-glow-fill,
.np.immersive.np-ui-dark .np-glow-fill {
  background: #ffffff !important;
  box-shadow: none !important;
}
.np.immersive .np-wave i.on,
.np.immersive.np-ui-light .np-wave i.on,
.np.immersive.np-ui-dark .np-wave i.on {
  background: #ffffff !important;
}

/* ===== 经典模式：恢复逐字渐变扫（与原先一致），折行仍按字序第一行→第二行 ===== */
.np:not(.immersive) .np-lyrics .ly.on.ly-ktv,
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on.ly-ktv,
.np.np-ui-dark:not(.immersive) .np-lyrics .ly.on.ly-ktv,
.np.np-ui-light:not(.immersive) .np-lyrics .ly.on.ly-ktv,
html.dark .np:not(.immersive) .np-lyrics .ly.on.ly-ktv {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  /* 禁止整句横向渐变，改由每个 .ly-w 自己扫 */
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--ly-dim) !important;
  -webkit-text-fill-color: var(--ly-dim) !important;
  text-shadow: none !important;
}
.np:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w,
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w,
.np.np-ui-dark:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w,
.np.np-ui-light:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w {
  display: inline !important;
  white-space: pre-wrap !important;
  color: var(--ly-dim) !important;
  -webkit-text-fill-color: var(--ly-dim) !important;
  background: none !important;
  background-image: none !important;
  text-shadow: none !important;
  transition: none !important;
}
.np:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.sung,
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.sung,
.np.np-ui-dark:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.sung,
.np.np-ui-light:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.sung {
  color: var(--ly-hl) !important;
  -webkit-text-fill-color: var(--ly-hl) !important;
  background: none !important;
  background-image: none !important;
}
/* 当前字：柔边扫进去（宽过渡带，避免生硬切边） */
.np:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.cur,
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.cur,
.np.np-ui-dark:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.cur,
.np.np-ui-light:not(.immersive) .np-lyrics .ly.on.ly-ktv .ly-w.cur {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 1 !important;
  background-image: linear-gradient(
    90deg,
    var(--ly-hl) 0%,
    var(--ly-hl) calc(var(--w-prog, 0) * 100% - 8%),
    color-mix(in srgb, var(--ly-hl) 68%, var(--ly-dim)) calc(var(--w-prog, 0) * 100%),
    var(--ly-dim) calc(var(--w-prog, 0) * 100% + 12%),
    var(--ly-dim) 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  transform: none !important;
  text-shadow: none !important;
}
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on.ly-ktv {
  color: var(--ly-dim) !important;
}

/* ===== 歌词字号 + 排队上移（高亮放大，无 Q 弹晃动） ===== */
.np-lyrics .ly {
  font-size: 17px !important;
  line-height: 1.45 !important;
  transform: none !important;
  animation: none !important;
  transition: color .2s ease, opacity .2s ease, filter .2s ease, font-size .22s ease !important;
}
.np-lyrics .ly.near,
.np-lyrics .ly.sung {
  font-size: 18px !important;
  transform: none !important;
  animation: none !important;
}
/* 当前扫字/高亮句：明显放大，只改字号，不做 scale 弹跳 */
.np-lyrics .ly.on,
.np-lyrics .ly.on.ly-ktv,
.np.lyrics-full .np-lyrics .ly.on,
.np.lyrics-full .np-lyrics .ly.on.ly-ktv,
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on:not(.ly-ktv),
.np.lyrics-full:not(.immersive) .np-lyrics .ly.on.ly-ktv,
.np.immersive .np-lyrics .ly.on,
.np.immersive .np-lyrics .ly.on.ly-ktv {
  font-size: 26px !important;
  font-weight: 800 !important;
  transform: none !important;
  animation: none !important;
}
.np-lyrics .ly.on.ly-pop,
.np-lyrics .ly.on.ly-ktv.ly-pop {
  animation: none !important;
  transform: none !important;
}
.np-lyrics .np-ly-track {
  position: relative;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  backface-visibility: hidden;
}

/* ===== Wavy 当前行 ===== */
@keyframes lyWavy {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-2.5px); }
  75% { transform: translateY(2.5px); }
}
.np.ly-wavy-on .np-lyrics .ly.on.ly-ktv .ly-w {
  display: inline-block;
  animation: lyWavy 2.4s ease-in-out infinite;
}
.np.ly-wavy-on .np-lyrics .ly.on.ly-ktv .ly-w:nth-child(3n+1) { animation-delay: 0s; }
.np.ly-wavy-on .np-lyrics .ly.on.ly-ktv .ly-w:nth-child(3n+2) { animation-delay: 0.12s; }
.np.ly-wavy-on .np-lyrics .ly.on.ly-ktv .ly-w:nth-child(3n+3) { animation-delay: 0.24s; }
/* 非 KTV：仅在非弹出期间做轻微波浪，避免盖住 pop */
.np.ly-wavy-on .np-lyrics .ly.on:not(.ly-ktv):not(.ly-pop) {
  animation: lyWavy 2.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .np.ly-wavy-on .np-lyrics .ly.on,
  .np.ly-wavy-on .np-lyrics .ly.on .ly-w,
  .np-lyrics .ly.on.ly-pop {
    animation: none !important;
  }
}


/* ===== FORCE lyric sizes (最高优先级，勿再被盖) ===== */
#npLyrics .ly,
.np-lyrics .ly {
  font-size: 17px !important;
}
#npLyrics .ly.near,
#npLyrics .ly.sung,
.np-lyrics .ly.near,
.np-lyrics .ly.sung {
  font-size: 18px !important;
}
#npLyrics .ly.on,
#npLyrics .ly.on.ly-ktv,
#npLyrics .ly.on.ly-ktv .ly-w,
.np-lyrics .ly.on,
.np-lyrics .ly.on.ly-ktv,
.np-lyrics .ly.on.ly-ktv .ly-w,
.np.lyrics-full #npLyrics .ly.on,
.np.lyrics-full #npLyrics .ly.on.ly-ktv,
.np.lyrics-full #npLyrics .ly.on.ly-ktv .ly-w,
.np.immersive #npLyrics .ly.on,
.np.immersive #npLyrics .ly.on.ly-ktv {
  font-size: 26px !important;
  font-weight: 800 !important;
  transform: none !important;
  animation: none !important;
}


