/* ============================================================
   短音乐播放器 —— 对齐文章详情页风格（.main-wrapper / .content / .sidebar / .widget）
   对应模板：content/music.html；歌曲与分类数据来自页面内 #music-data、
   #music-categories 两个 SSR JSON 脚本块，由 static/js/music.js 读取。
   .is-playing / .is-pulsing / .is-active / .lyric-anim 均由该脚本切换。
   ============================================================ */

/* ── 左侧播放器卡片（左：播放器主体；右：歌词同步面板） ── */
.music-player-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-28);
  margin-bottom: var(--space-24);
  display: flex;
  align-items: stretch;
  gap: var(--space-28);
  background:
    radial-gradient(120% 180% at 8% -30%, rgba(93, 151, 67, 0.16), transparent 55%),
    radial-gradient(90% 140% at 105% 115%, rgba(93, 151, 67, 0.1), transparent 50%),
    var(--bg-card);
}

/* 顶部光晕线：彩虹绿渐变，卡片视觉焦点 */
.music-player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color) 30%, var(--primary-dark) 70%, transparent);
  opacity: 0.8;
}

/* 播放中：卡片边缘呼吸微光 */
.music-player-card.is-playing::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 80% at 50% 0%, rgba(93, 151, 67, 0.08), transparent 70%);
  animation: cardBreath 2.8s ease-in-out infinite;
}
@keyframes cardBreath {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.music-player-main {
  flex: 1;
  min-width: 0;
}

.music-player-top {
  display: flex;
  align-items: center; gap: var(--space-24); margin-bottom: var(--space-24);
}

.mp-cover {
  position: relative;
  width: 118px;
  height: 118px;
  flex: none;
  border-radius: var(--radius-16);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(93, 151, 67, 0.35);
  transition: box-shadow 0.3s ease;
}

/* 播放中：封面多重光晕呼吸（内环 + 外晕） */
.mp-cover.is-playing {
  animation: coverGlow 2.4s ease-in-out infinite;
}
@keyframes coverGlow {
  0%, 100% {
    box-shadow: 0 6px 18px -6px rgba(93, 151, 67, 0.35),
                0 0 0 3px rgba(93, 151, 67, 0.12),
                0 0 18px rgba(93, 151, 67, 0.25);
  }
  50% {
    box-shadow: 0 6px 24px -6px rgba(93, 151, 67, 0.5),
                0 0 0 6px rgba(93, 151, 67, 0.2),
                0 0 34px rgba(93, 151, 67, 0.45);
  }
}

.mp-cover-img { width: 100%; height: 100%; object-fit: cover; }
.mp-cover-fallback { font-size: 40px; color: var(--primary-color); opacity: 0.65; }

.mp-eq {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end; gap: var(--space-2);
  height: 16px;
}
.mp-eq span {
  width: 3px;
  border-radius: var(--radius-2);
  background: #fff;
  animation: mpEq 0.8s ease-in-out infinite;
}
.mp-eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.mp-eq span:nth-child(2) { height: 85%; animation-delay: 0.2s; }
.mp-eq span:nth-child(3) { height: 55%; animation-delay: 0.4s; }
@keyframes mpEq {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.mp-info { flex: 1; min-width: 0; }
.mp-category-wrap { margin-bottom: var(--space-8); }
.mp-category-tag {
  display: inline-block;
  padding: var(--space-2) var(--space-12);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(93, 151, 67, 0.35);
  letter-spacing: 0.5px;
}
.mp-title {
  margin: 0 0 6px;
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--text-primary) 20%, var(--primary-dark) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 控制条 */
.mp-controls { padding-top: var(--space-4); }
.mp-progress-row {
  display: flex;
  align-items: center;
  gap: var(--space-10); margin-bottom: var(--space-12);
}
.mp-time {
  font-size: var(--fs-11);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: center;
}
.mp-progress {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--border-color);
  cursor: pointer;
}
.mp-progress-buffer {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: var(--border-light);
  transform-origin: left;
  transform: scaleX(0);
}
.mp-progress-fill {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary-color), #7ecb52, var(--primary-dark));
  box-shadow: 0 0 10px rgba(93, 151, 67, 0.5);
  transform-origin: left;
  transform: scaleX(0);
  overflow: hidden;
}
/* 进度条流动高光（卡拉 OK 式流光） */
.mp-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: progressFlow 2s linear infinite;
}
@keyframes progressFlow {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.mp-progress-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary-color);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
  pointer-events: none;
}
.mp-progress:hover .mp-progress-thumb { transform: translate(-50%, -50%) scale(1); }

.mp-btns { display: flex; align-items: center; justify-content: center; gap: var(--space-20); }
.mp-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: var(--fs-17);
  color: var(--text-secondary);
  padding: var(--space-8);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s, transform 0.1s, box-shadow 0.2s;
}
.mp-btn svg { display: block; }
/* hover：浅绿圆底 + 轻微放大（交互反馈，非开启状态背景） */
.mp-btn:hover { color: var(--primary-color); background: var(--primary-bg); transform: scale(1.08); }
.mp-btn:active { transform: scale(0.92); }
/* 随机/循环按钮：仅两种状态 —— 关闭=灰色，开启=绿色（不加背景，纯颜色区分） */
.mp-btn--shuffle, .mp-btn--repeat { font-size: var(--fs-14); color: var(--text-secondary); }
.mp-btn--shuffle.is-active, .mp-btn--repeat.is-active { color: var(--primary-color); }
/* 激活态 hover 加深，不被 .mp-btn:hover 覆盖 */
.mp-btn--shuffle.is-active:hover, .mp-btn--repeat.is-active:hover { color: var(--primary-dark); }
/* 播放主按钮：渐变绿底 + 霓虹光晕 + 柔和阴影 */
.mp-btn--play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5dbf4e, var(--primary-dark));
  color: #fff;
  font-size: var(--fs-15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(93, 151, 67, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: box-shadow 0.25s ease, transform 0.1s ease, background 0.25s ease;
}
/* 播放中：霓虹光晕脉冲呼吸 */
.mp-btn--play.is-pulsing {
  animation: playGlow 1.8s ease-in-out infinite;
}
@keyframes playGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(93, 151, 67, 0.45), 0 0 0 0 rgba(93, 151, 67, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 4px 24px rgba(93, 151, 67, 0.65), 0 0 0 12px rgba(93, 151, 67, 0), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}
.mp-btn--play:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(93, 151, 67, 0.55), 0 0 0 6px rgba(93, 151, 67, 0.12);
}
.mp-btn--play:active { transform: scale(0.94); }

/* 音量控制 */
.mp-volume {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: var(--space-6);
}
.mp-btn--volume { font-size: var(--fs-15); color: var(--text-muted); }
.mp-volume-track {
  position: relative;
  width: 70px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--border-color);
  cursor: pointer;
}
.mp-volume-fill {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 0 6px rgba(93, 151, 67, 0.4);
  transform-origin: left;
  transform: scaleX(1);
}
.mp-volume-thumb {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary-color);
  transform: translate(-50%, -50%);
}

/* ── 歌词同步面板（播放器卡片右侧） ── */
.music-lyrics-panel {
  flex: 0 0 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light); padding-left: var(--space-24);
}

.music-lyrics-head {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--text-secondary); margin-bottom: var(--space-12);
}

.music-lyrics-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-12);
  box-shadow: 0 2px 8px rgba(93, 151, 67, 0.35);
  transition: transform 0.3s ease;
}

/* 播放中：音符图标轻跳，提示歌词在同步 */
.music-lyrics-panel.is-playing .music-lyrics-icon {
  animation: lyricNoteJump 1.2s ease-in-out infinite;
}
@keyframes lyricNoteJump {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-3px) rotate(6deg); }
}

/* 当前句时间戳胶囊 */
.music-lyrics-time {
  margin-left: auto;
  font-size: var(--fs-11);
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  background: var(--primary-bg);
  border: 1px solid var(--primary-lighter);
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-pill);
  transition: opacity 0.25s ease;
}

.music-lyrics-body {
  flex: 1;
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-lyrics-empty {
  font-size: var(--fs-12);
  color: var(--text-muted);
  text-align: center;
  line-height: var(--lh-base);
  opacity: 0.75;
}

.music-lyrics-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

/* display:flex 会覆盖 [hidden] 的 UA 样式，需显式声明隐藏 */
.music-lyrics-lines[hidden] { display: none; }

.lyric-line {
  max-width: 100%;
  text-align: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-12);
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lyric-line--empty {
  visibility: hidden;
  pointer-events: none;
}

/* 上一句 / 下一句：弱化小字，hover 渐进强调（提示可点击跳转） */
.lyric-line--prev,
.lyric-line--next {
  font-size: var(--fs-12);
  line-height: var(--lh-ui);
  color: var(--text-muted);
  opacity: 0.5;
  transform: scale(0.9);
}
.lyric-line--prev:not(.lyric-line--empty):hover,
.lyric-line--next:not(.lyric-line--empty):hover {
  opacity: 1;
  color: var(--primary-color);
  transform: scale(0.95);
}

/* 当前句：渐变文字 + 底部下划线指示条（非按钮样式） */
.lyric-line--current {
  font-size: var(--fs-18);
  font-weight: 800;
  line-height: 1.5;
  padding: var(--space-8) var(--space-4);
  position: relative;
  color: var(--primary-dark);
  background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(93, 151, 67, 0.3));
  transform: scale(1.05);
}
.lyric-line--current:hover {
  filter: drop-shadow(0 3px 16px rgba(93, 151, 67, 0.45));
  transform: scale(1.08);
}
/* 当前句底部渐变下划线（卡拉 OK 指示条，静态常驻） */
.lyric-line--current::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: var(--space-2);
  transform: translateX(-50%);
  width: 52%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

/* ── 歌词切换动画（JS 在行内容变化时添加 lyric-anim，动画结束移除，末帧与静态样式一致实现无缝衔接） ── */
.lyric-line--current.lyric-anim {
  animation: lyricPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.lyric-line--prev.lyric-anim,
.lyric-line--next.lyric-anim {
  animation: lyricFade 0.35s ease backwards;
}
@keyframes lyricPop {
  0%   { transform: scale(0.8) translateY(12px); opacity: 0; filter: blur(4px); }
  55%  { transform: scale(1.12) translateY(-3px); opacity: 1; filter: blur(0); }
  100% { transform: scale(1.05) translateY(0); opacity: 1; filter: blur(0); }
}
@keyframes lyricFade {
  0%   { transform: translateY(8px) scale(0.9); opacity: 0; filter: blur(2px); }
  100% { transform: translateY(0) scale(0.9); opacity: 0.5; filter: blur(0); }
}
/* 当前句下划线：文字弹入后延迟展开（backwards 填充保证动画前为 0 宽，结束后回静态 52%） */
.lyric-line--current.lyric-anim::after {
  animation: lyricUnderline 0.45s ease 0.12s backwards;
}
@keyframes lyricUnderline {
  from { width: 0; opacity: 0.6; }
  to { width: 52%; opacity: 1; }
}

/* ── 歌曲列表卡片 ── */
.music-list-card {
  padding: 0;
  margin-bottom: var(--space-24);
  overflow: hidden;
}

.music-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-12) var(--space-20);
  border-bottom: 1px solid var(--border-light);
  gap: var(--space-12);
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(93, 151, 67, 0.04), transparent);
}

.music-list-title {
  margin: 0;
  font-size: var(--fs-15);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.music-list-count {
  font-size: var(--fs-12);
  font-weight: 400;
  color: var(--text-muted);
}

/* 风格筛选 tab */
.music-list-filter {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.filter-chip {
  padding: var(--space-4) var(--space-12);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: var(--fs-12);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-chip:hover { border-color: var(--primary-light); color: var(--primary-color); }
.filter-chip--active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* 歌曲列表 */
.music-list-body { padding: 8px 0 14px; }

.music-song {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
  height: 52px;
  margin: 0 10px;
  border-radius: var(--radius-8);
  cursor: pointer;
  transition: background 0.2s;
}
/* 左侧指示条：hover / 播放中滑出 */
.music-song::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 55%;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 0 6px rgba(93, 151, 67, 0.6);
  transition: transform 0.2s ease;
}
.music-song:hover::before,
.music-song.is-active::before { transform: translateY(-50%) scaleY(1); }
.music-song:hover { background: linear-gradient(90deg, var(--primary-bg), transparent); }
.music-song.is-active {
  background: linear-gradient(90deg, var(--primary-lighter), var(--primary-bg));
}
.music-song.is-active .song-name {
  background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.song-idx {
  width: 36px;
  flex: none;
  text-align: center;
  font-size: var(--fs-13);
  color: var(--text-muted);
}
.song-play-ico { display: none; color: var(--primary-color); }
.music-song:hover .song-idx-num { display: none; }
.music-song:hover .song-play-ico { display: inline; }
.music-song.is-playing .song-idx-num { display: none; }
.music-song.is-playing .song-eq-ico { display: inline; color: var(--primary-color); }
.song-eq-ico { display: none; }

.song-main { flex: 1; min-width: 0; padding-right: var(--space-16); }
.song-name {
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-duration {
  width: 50px;
  flex: none;
  text-align: right;
  font-size: var(--fs-13);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.music-list-empty {
  text-align: center;
  padding: 60px var(--space-20);
  color: var(--text-muted);
}
.empty-icon { font-size: 40px; display: block; margin-bottom: var(--space-10); opacity: 0.5; }
.music-list-empty p { font-size: var(--fs-13); }

/* 版权声明（侧边栏 widget） */
.music-copyright-widget .widget-content { padding: var(--space-12) var(--space-16); }
.music-copyright-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  padding: var(--space-12);
  border-radius: var(--radius-12);
  background: var(--primary-bg);
  border: 1px solid var(--primary-lighter);
}
.music-copyright-icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: var(--fs-13);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-2);
}
.music-copyright-box p {
  margin: 0;
  font-size: var(--fs-12);
  line-height: var(--lh-base);
  color: var(--text-muted);
}

/* ── 播放特效 ── */

/* 播放中：播放按钮脉冲光环 */
.mp-btn--play { position: relative; }
.mp-btn--play.is-pulsing::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  opacity: 0;
  animation: mpPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes mpPulse {
  0% { transform: scale(0.92); opacity: 0.7; }
  70%, 100% { transform: scale(1.28); opacity: 0; }
}

/* 播放中：封面轻微呼吸（有封面图时） */
.mp-cover.is-playing .mp-cover-img { animation: mpBreathe 3.2s ease-in-out infinite; }
@keyframes mpBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* 随机按钮 hover：图标旋转一周（应景） */
.mp-btn--shuffle:hover svg { animation: mpSpin 0.6s ease; }
@keyframes mpSpin { to { transform: rotate(360deg); } }

/* 随机/循环激活态：图标持续微呼吸，强化"开启"感知 */
.mp-btn--shuffle.is-active svg, .mp-btn--repeat.is-active svg {
  animation: mpActivePulse 2.4s ease-in-out infinite;
}
@keyframes mpActivePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

/* 播放中列表行：音符图标跳动 */
.music-song.is-playing .song-eq-ico { animation: mpNoteJump 0.9s ease-in-out infinite; }
@keyframes mpNoteJump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.mp-progress { transition: height 0.2s ease; }
.mp-progress:hover { height: 8px; }

/* ── 响应式 ── */
/* 平板 / 小屏：主内容单列（common 规则），播放器卡片上下堆叠，侧边栏 widget 两列网格 */
@media (max-width: 991px) {
  .music-player-card { flex-direction: column; gap: var(--space-16); }
  .music-lyrics-panel {
    flex: none;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-left: 0;
    padding-top: var(--space-16);
  }
  .music-lyrics-body { min-height: 132px; }
  .music-player-top { flex-direction: column; text-align: center; }
  .mp-controls { width: 100%; }
  /* 版权声明同样占满整行 */
  .music-copyright-widget { grid-column: 1 / -1; }
  .mp-volume-track { width: 60px; }
}

/* 手机竖屏：收紧卡片与控件 */
@media (max-width: 767px) {
  .music-player-card { padding: var(--space-16) var(--space-12); }
  .music-player-top { gap: var(--space-12); margin-bottom: var(--space-16); }
  .mp-cover { width: 96px; height: 96px; border-radius: var(--radius-12); }
  .mp-cover-fallback { font-size: var(--fs-32); }
  .mp-title { margin-bottom: var(--space-4); }
  .mp-category-tag { font-size: var(--fs-11); padding: var(--space-2) var(--space-10); }
  .mp-btns { gap: var(--space-10); }
  .mp-btn { padding: var(--space-6); }
  .mp-btn--play { width: 42px; height: 42px; }
  .mp-progress-row { margin-bottom: var(--space-10); }
  .mp-time { min-width: 30px; }

  /* 列表卡片与 tab */
  .music-list-toolbar { padding: var(--space-12); }
  .music-list-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--space-2); scrollbar-width: none; }
  .music-list-filter::-webkit-scrollbar { display: none; }
  .filter-chip { flex: none; padding: var(--space-4) var(--space-12); }
  .music-song { padding: 0 12px; height: 48px; margin: 0 6px; }
  .song-idx { width: 30px; }
  .song-name { font-size: var(--fs-13); }
  .music-list-empty { padding: 40px var(--space-12); }

  /* 歌词面板收紧 */
  .music-lyrics-body { min-height: 110px; }
  .music-lyrics-lines { gap: var(--space-6); }
  .lyric-line { padding: var(--space-2) var(--space-8); }
  .lyric-line--current { font-size: var(--fs-16); }
  .lyric-line--prev, .lyric-line--next { font-size: var(--fs-11); }

  /* 侧边栏单列由 common.css 的 ≤767px 规则统一提供 */
}

/* 极小屏：隐藏音量条，进一步收紧 */
@media (max-width: 479px) {
  .mp-volume { display: none; }
  .mp-btns { gap: var(--space-6); }
  .music-list-title { font-size: var(--fs-14); }
  .music-list-count { font-size: var(--fs-11); }
}