/* ============================================
 * 初探 AI 综合站 — 配色和原初探 AI 一致
 * 主色:#1677FF  背景:#FFFFFF  气泡:#F0F2F5
 * 严格规范:全站无外露滚动条 / 顶栏 60px / 圆角统一
 * ============================================
 * 2026-08-23 字体铁律 (用户拍板): 全站字体不加黑, 全部 normal
 * - 所有 font-weight: 6/7/8/9xx 已统一改成 normal
 * - 颜色保持灰色系 (#1A1A1A / #595959 / #8C8C8C)
 * - 改新元素时也不要 font-weight: 600+ / bold
 * ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
*::-webkit-scrollbar { width: 0; height: 0; display: none; }
* { scrollbar-width: none; -ms-overflow-style: none; }

:root {
  --primary: #1677FF;
  --primary-hover: #4096FF;
  --primary-active: #0958D9;
  --primary-bg: rgba(22, 119, 255, 0.08);
  --primary-bg-strong: rgba(22, 119, 255, 0.14);
  --bg: #FFFFFF;
  --bg-sidebar: #FAFAFA;
  --bg-hover: #F0F2F5;
  --bg-card: #FFFFFF;
  --bg-bubble-ai: #F0F2F5;
  --bg-bubble-user: #1677FF;
  --text: #1A1A1A;
  --text-2: #595959;
  --text-3: #8C8C8C;
  --text-4: #BFBFBF;
  --border: #F0F0F0;
  --border-strong: #E5E5E5;
  --error: #FF4D4F;
  --success: #52C41A;
  --warning: #FAAD14;
  --sidebar-w: 260px;
  --topbar-h: 60px;
  --composer-h: 72px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
}

html, body { height: 100%; overflow: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: row;
}
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea { font-family: inherit; }

/* 通用 */
.hidden { display: none !important; }
.flex { display: flex; }
.f1 { flex: 1; min-width: 0; }
.center { display: flex; align-items: center; justify-content: center; }

/* AI 头像(纯 CSS,不用 emoji) */
.avatar-ai {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #1677FF 0%, #4096FF 100%);
  color: white; font-weight: normal; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(22,119,255,.25);
  letter-spacing: -0.5px;
}
.avatar-user {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white; font-weight: normal; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* 布局:左侧栏 + 主区 */
.app { display: flex; height: 100vh; width: 100vw; }

/* ============== 左侧栏 ============== */
.sidebar {
  width: 10vw;
  min-width: 140px;
  max-width: 240px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  flex-shrink: 0; position: relative;
  height: 100%;
  transition: width .2s;
}
.sidebar.collapsed { width: 60px; min-width: 60px; max-width: 60px; }
.sidebar.collapsed .brand-text,
.sidebar.collapsed .nav-item .lbl,
.sidebar.collapsed .conv-section,
.sidebar.collapsed .user-info .user-name,
.sidebar.collapsed .user-info .user-action { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 0; }
.sidebar.collapsed .brand { padding: 0; justify-content: center; }
.sidebar.collapsed .user-info { justify-content: center; padding: 10px 0; }
.brand { cursor: pointer; user-select: none; }
.brand:hover { background: var(--bg-hover); }
.brand {
  height: var(--topbar-h);
  padding: 0 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-sidebar);
  flex-shrink: 0;
}
.brand .logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #1677FF 0%, #4096FF 100%);
  color: white; font-weight: normal; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -0.5px;
}
.brand-text { font-size: 16px; font-weight: normal; color: var(--text); }

/* 菜单 */
.nav { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2); font-size: 14px;
  cursor: pointer; transition: all .15s;
  background: transparent; border: none; text-align: left; width: 100%;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.active { background: var(--primary-bg); color: var(--primary); font-weight: normal; }
.nav-item .icon { width: 20px; text-align: center; font-size: 16px; flex-shrink: 0; }
.nav-item .caret {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-3);
  transition: transform .15s;
}
.nav-item .caret.open { transform: rotate(0deg); }
.nav-divider { height: 1px; background: var(--border); margin: 6px 8px; opacity: .6; }

/* 音乐子菜单(左侧菜单内联展开) */
.nav-group { display: flex; flex-direction: column; }
.nav-sub {
  display: flex; flex-direction: column;
  margin: 0 4px 4px 4px;
  padding: 4px 0 4px 0;
  background: transparent;
  border-left: 2px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}
.nav-sub.hidden { display: none !important; }
.nav-sub-item {
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 10px 0 22px;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  background: transparent; border: none; text-align: left;
  width: 100%;
  transition: background .12s;
}
.nav-sub-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-sub-item .sub-icon { width: 16px; text-align: center; font-size: 13px; flex-shrink: 0; }
.nav-sub-item span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 对话列表 */
.conv-section {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  padding: 16px 12px 80px;  /* 底部 80px 给用户信息让位置 */
  overflow: hidden;
}
.conv-section.hidden { display: none; }
.conv-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 8px 8px;
  font-size: 12px; color: var(--text-3); font-weight: normal;
}
.conv-header .icon-btn {
  width: 22px; height: 22px;
  border: none; background: transparent;
  border-radius: 4px; cursor: pointer;
  color: var(--text-3); font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.conv-header .icon-btn:hover { background: var(--bg-hover); color: var(--primary); }
.conv-list { flex: 1; overflow-y: auto; padding-right: 4px; }
.conv-empty { padding: 20px 8px; text-align: center; color: var(--text-4); font-size: 12px; }
.conv-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: var(--radius-sm);
  cursor: pointer; font-size: 13px;
  color: var(--text-2); transition: all .15s;
  margin-bottom: 1px;
}
.conv-item:hover { background: var(--bg-hover); color: var(--text); }
.conv-item.active { background: var(--primary-bg); color: var(--primary); font-weight: normal; }
.conv-item .conv-title {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.conv-item .conv-del {
  opacity: 0; width: 18px; height: 18px;
  border: none; background: transparent; border-radius: 4px;
  cursor: pointer; color: var(--text-3); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.conv-item:hover .conv-del { opacity: 1; }
.conv-item .conv-del:hover { background: var(--error); color: white; }

/* 用户信息(钉在左下角) */
.user-info {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background .15s;
  background: transparent; z-index: 10;
}
.user-info:hover { background: var(--bg-hover); }
.user-info .avatar { width: 32px; height: 32px; flex-shrink: 0; }
.user-info .user-name { flex: 1; font-size: 13px; color: var(--text); font-weight: normal; }
.user-info .user-action { font-size: 16px; color: var(--text-3); }

/* ============== 主区 ============== */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg); height: 100%; overflow: hidden; }

/* 顶栏(60px,跟左栏 brand 高度一致) */
.topbar {
  height: var(--topbar-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px;
  gap: 16px;
  flex-shrink: 0;
  z-index: 5;
}
.topbar .title {
  font-size: 16px; font-weight: normal; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.topbar .title .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.topbar .spacer { flex: 1; }

.model-pick {
  height: 36px; padding: 0 32px 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 13px; color: var(--text);
  cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1L5 5L9 1' stroke='%238C8C8C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: border-color .15s;
}
.model-pick:hover, .model-pick:focus { border-color: var(--primary); }

/* 顶栏右上模型信息(脱敏后只显示内部名) */
.model-info {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--primary-bg);
  border-radius: 20px;
  font-size: 12px; color: var(--primary);
  cursor: default; user-select: none;
}
.model-info .model-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

.icon-btn {
  width: 36px; height: 36px;
  border: none; background: transparent; border-radius: var(--radius-sm);
  cursor: pointer; font-size: 16px; color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.icon-btn:hover { background: var(--bg-hover); color: var(--primary); }

/* 移动端菜单按钮 */
.menu-btn {
  display: none;
  position: fixed; top: 12px; left: 12px; z-index: 200;
  width: 40px; height: 40px;
  background: white; border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer; font-size: 18px;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* ============== AI 聊天 ============== */
.mode { flex: 1; display: flex; flex-direction: column; min-height: 0; height: 100%; overflow: hidden; }
.mode.hidden { display: none; }

/* 消息流 */
.messages {
  flex: 1; min-height: 0;
  overflow-y: auto;
  padding: 24px 20px 16px;
  display: flex; flex-direction: column; gap: 16px;
}
.msg { display: flex; gap: 12px; max-width: 820px; width: 100%; margin: 0 auto; }
.msg.user { flex-direction: row-reverse; }

.msg-body { display: flex; flex-direction: column; max-width: calc(100% - 56px); }
.msg.user .msg-body { align-items: flex-end; }
.msg.assistant .msg-body { align-items: flex-start; }

.msg-bubble {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px; line-height: 1.65;
  word-break: break-word; white-space: pre-wrap;
  max-width: 100%;
}
.msg.assistant .msg-bubble { background: var(--bg-bubble-ai); color: var(--text); }
.msg.user .msg-bubble { background: var(--primary); color: white; }

.msg-actions { display: flex; gap: 4px; margin-top: 4px; padding: 0 4px; }
.msg-action {
  border: none; background: transparent;
  font-size: 13px; color: var(--text-3);
  cursor: pointer; padding: 4px 8px; border-radius: 4px;
  display: flex; align-items: center; gap: 4px;
  transition: all .15s;
}
.msg-action:hover { background: var(--bg-hover); color: var(--primary); }
.msg-action.tts-loading { color: var(--warning); pointer-events: none; }
.msg-action.tts-error { color: var(--error); }

.empty-tip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 20px; color: var(--text-3); text-align: center; gap: 8px;
  flex: 1; min-height: 200px;
}
.empty-tip .greet {
  font-size: 28px; font-weight: normal; color: var(--text);
  margin-bottom: 4px;
}
.empty-tip .sub { font-size: 14px; color: var(--text-3); }

.typing { display: flex; gap: 4px; align-items: center; padding: 6px 0; }
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-3);
  animation: typing 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); } 30% { opacity: 1; transform: scale(1); } }

/* composer 全宽白条 */
.composer {
  flex-shrink: 0;
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 12px 20px 16px;
  display: flex; gap: 12px; align-items: flex-end;
}
.composer-inner {
  max-width: 820px; width: 100%; margin: 0 auto;
  display: flex; gap: 12px; align-items: flex-end;
}
.composer .input-wrap {
  flex: 1;
  background: var(--bg-hover);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  display: flex; align-items: flex-end; gap: 8px;
  transition: border-color .15s, background .15s;
  min-height: 44px;
}
.composer .input-wrap:focus-within { background: white; border-color: var(--primary); }
.composer .input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  resize: none; font-size: 14px; line-height: 1.5;
  color: var(--text);
  max-height: 120px;
  padding: 0; font-family: inherit;
}
.composer .voice-btn {
  width: 28px; height: 28px; flex-shrink: 0;
  border: none; background: transparent; border-radius: 50%;
  cursor: pointer; font-size: 16px; color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.composer .voice-btn:hover { background: rgba(0,0,0,0.04); color: var(--primary); }
.composer .voice-btn.rec {
  background: var(--error); color: white;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,79,.4); } 50% { box-shadow: 0 0 0 8px rgba(255,77,79,0); } }

.send-btn {
  height: 44px; min-width: 72px; padding: 0 18px;
  border: none; border-radius: var(--radius);
  background: var(--primary); color: white;
  font-size: 14px; font-weight: normal;
  cursor: pointer; flex-shrink: 0;
  transition: background .15s;
}
.send-btn:hover:not(:disabled) { background: var(--primary-hover); }
.send-btn:active:not(:disabled) { background: var(--primary-active); }
.send-btn:disabled { background: #D9D9D9; color: white; cursor: not-allowed; }

/* ============== 音乐 ============== */
.music-body {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 24px 20px 24px;
  overflow: hidden;
  position: relative;
}

/* 2026-08-22 v21: 整体播放控制 - 移到歌曲列表下方, 离顶近 (用户要求缩小 10cm) */
.music-bottom-ctrl {
  flex-shrink: 0;
  display: flex; flex-direction: column;
  padding: 12px 20px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 0;       /* v21: 紧贴歌曲列表 */
  gap: 8px;
}
.ctrl-progress-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 0 4px;
}
.ctrl-button-row {
  display: flex; align-items: center; gap: 20px;
  width: 100%;
  padding: 0 4px;
}
/* 左: 圆形旋转封面 (跟播放按钮一样大, 点击进车机) */
.ctrl-cover {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1677FF, #4096FF);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22,119,255,0.3);
  transition: transform .15s;
}
.ctrl-cover:hover { transform: scale(1.05); box-shadow: 0 6px 18px rgba(22,119,255,0.45); }
.ctrl-cover:active { transform: scale(0.95); }
.ctrl-cover img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ctrlCoverSpin 8s linear infinite;  /* 旋转 */
}
.ctrl-cover.paused img { animation-play-state: paused; }
.ctrl-cover-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: rgba(255,255,255,0.5);
}
@keyframes ctrlCoverSpin { to { transform: rotate(360deg); } }

/* 中: 上一首 / 播放 / 下一首 */
.ctrl-buttons {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.ctrl-buttons .ctrl-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.1);
  color: #333;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.ctrl-buttons .ctrl-btn:hover { background: rgba(0,0,0,0.12); transform: scale(1.05); }
.ctrl-buttons .ctrl-btn.play {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #1677FF, #4096FF);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(22,119,255,0.4);
}
.ctrl-buttons .ctrl-btn.play:hover { box-shadow: 0 6px 18px rgba(22,119,255,0.5); }

/* 右: 歌名 + 歌手 + 歌词 2 行 (v26 重新布局: 横向) */
.ctrl-info {
  flex: 1;
  min-width: 0;
  display: flex; align-items: center; gap: 24px;
  text-align: left;
  overflow: hidden;
  padding: 0 12px;
}
.ctrl-text {
  flex: 0 0 auto;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 200px;
  max-width: 380px;
  overflow: hidden;
}
.ctrl-info .song-name {
  font-size: 18px;       /* v48: 跟 720-1199 块一致 (主定义作 fallback) */
  font-weight: normal;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin: 0;
}
.ctrl-info .song-artist {
  font-size: 18px;       /* v48: 跟歌名统一 18px, 区分靠颜色 (text-3 灰) */
  color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin: 0;
}

/* v26: 歌词 2 行 (放在播放按钮右边) */
.ctrl-lyric {
  flex: 1;
  min-width: 0;
  display: flex; flex-direction: column;
  gap: 6px;
  overflow: hidden;
  text-align: left;
}
.ctrl-lyric-line {
  font-size: 18px;
  line-height: 1.2;
  color: rgba(0,0,0,0.42);
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
  min-height: 24px;
}
.ctrl-lyric-line.active {
  color: #1677FF;
  font-weight: normal;
  font-size: 22px;
  min-height: 28px;
}

/* ============================================
 * 2026-08-24 手机横屏比例修复 (用户反馈 比例一塌糊涂)
 * 范围: 720-1199px (手机横屏 / 小平板)
 * - 顶栏 50px 紧凑
 * - 歌名 18px (不 32px, 不 48px, 合理中间值)
 * - 歌手 13px
 * - 圆形封面 48px (跟 56px play 按钮成比例, 跟 18px 歌名匹配)
 * - play 按钮 56px (跟封面 48px 配)
 * - 歌词行 16px / 20px active (跟歌名比例 1:1, 跟 64px 圆 2px 字)
 * - 搜索 input 20px
 * - quick-tabs 20px
 * - 歌单行 56px min-height
 * - 进度 thumb 14px
 * ============================================ */
@media (min-width: 720px) and (max-width: 1199px) {
  /* 顶栏紧凑 */
  :root { --topbar-h: 50px; }
  .topbar { padding: 0 16px; gap: 8px; }
  .topbar .title { font-size: 14px; }

  /* 搜索框 */
  .search-bar { padding: 8px 12px; }
  .search-bar input { font-size: 20px; height: 40px; }
  .search-bar .search-go { font-size: 18px; padding: 0 18px; height: 40px; }

  /* 歌单 tab */
  .quick-tabs { gap: 16px; padding: 8px 12px 0; }
  .tab { font-size: 18px; padding: 8px 4px 10px; }

  /* 歌单行 - 中等大小 */
  .song-item { padding: 10px 16px; min-height: 56px; }
  .song-num { font-size: 13px; }
  .song-col-title { font-size: 18px; line-height: 1.3; }
  .song-col-artist, .song-col-album { font-size: 14px; }
  .song-added { width: 28px; height: 28px; font-size: 16px; }

  /* 底部控制条 - v48: 歌名 18px 跟封面 48px 比例 1:2.7
     歌名/歌手/歌词 统一 18px, active 用颜色区分不用字号 */
  .music-bottom-ctrl { padding: 10px 16px; gap: 6px; }
  .ctrl-progress-row { padding: 0 2px; gap: 10px; }
  .ctrl-cover { width: 48px; height: 48px; }
  .ctrl-button-row { gap: 16px; padding: 0 2px; }
  .ctrl-buttons { gap: 12px; }
  .ctrl-buttons .ctrl-btn { width: 36px; height: 36px; }
  .ctrl-buttons .ctrl-btn.play { width: 56px; height: 56px; }
  .ctrl-info { gap: 16px; padding: 0 8px; }
  .ctrl-text { min-width: 0; max-width: 200px; gap: 2px; }
  .ctrl-info .song-name { font-size: 18px; }
  .ctrl-info .song-artist { font-size: 18px; color: var(--text-3); }
  .ctrl-lyric { gap: 4px; }
  .ctrl-lyric-line { font-size: 18px; min-height: 22px; }
  .ctrl-lyric-line.active { font-size: 18px; min-height: 22px; color: var(--primary); }

  /* 进度条 thumb 适中 */
  .progress::-webkit-slider-thumb { width: 14px; height: 14px; }
  .progress::-moz-range-thumb { width: 14px; height: 14px; }
  .time { font-size: 12px; min-width: 50px; }
}

/* ============================================
 * 2026-08-24 v45: 竖屏 (<720px) 底部控制栏 + 播放页适配
 * 用户原话: "竖屏下方最起码可以弄个两行小字歌词放在控制栏里面"
 * 解决:
 * - 竖屏 2 行布局: 上行 封面+歌名/歌手+控件组, 下行 歌词 2 行
 * - 竖屏控件组简化: 只 prev/play/next + 搜索 (999k/随隐藏)
 * - 竖屏播放页: cover 占满 50vh 居中, 歌名/歌手/歌词 中间, 控件底部
 * ============================================ */
@media (max-width: 720px) {
  /* 底部控制栏改 2 行布局: 进度条 / 控件行 / 歌词行 */
  .music-bottom-ctrl { padding: 8px 10px 10px; gap: 4px; }
  .ctrl-progress-row { gap: 6px; }
  .time { font-size: 10px; min-width: 38px; }

  /* 控件行: 封面 48 + 歌名歌手 1fr + 控件组 (简化) */
  .ctrl-cover { width: 48px; height: 48px; }
  .ctrl-info { gap: 10px; padding: 0 4px; }
  .ctrl-text { min-width: 0; max-width: none; flex: 1; gap: 1px; }
  /* v48: 歌名/歌手/歌词 全部 13px, active 用颜色区分不用字号 */
  .ctrl-info .song-name { font-size: 13px; }
  .ctrl-info .song-artist { font-size: 13px; color: var(--text-3); }

  /* 控件组: 隐藏音质/随/搜索按钮 (竖屏空间不够, 搜索走顶部浮动), 只留 prev/play/next */
  .ctrl-extras { display: none !important; }
  .ctrl-buttons-group { gap: 6px; }
  .ctrl-buttons { gap: 4px; }
  .ctrl-buttons .ctrl-btn { width: 36px; height: 36px; }
  .ctrl-buttons .ctrl-btn.play { width: 48px; height: 48px; }

  /* 歌词 2 行: 跟歌名/歌手同一行 (但用 grid 跨列) */
  .ctrl-lyric {
    /* 跟 .ctrl-info 同行, 占右边 */
    flex: 1; min-width: 0;
    gap: 2px;
  }
  .ctrl-lyric-line { font-size: 13px; min-height: 18px; line-height: 1.3; }
  .ctrl-lyric-line.active { font-size: 13px; min-height: 18px; color: var(--primary); }

  /* 2026-08-24 v46: 弹窗居中后, 不再覆盖 right/bottom, 留空 */

  /* 播放页 - 竖屏 重新布局 */
  .full-player { padding: 48px 12px 12px; gap: 8px; }
  .full-main {
    flex-direction: column; gap: 16px;
  }
  .full-left, .full-right { flex: 0 0 auto; width: 100%; }
  .cover-lg { width: min(60vw, 60vh, 220px); height: min(60vw, 60vh, 220px); margin: 0 auto; }
  .full-right { align-items: center; text-align: center; }
  .song-name-lg { font-size: 18px; }
  .song-artist-lg { font-size: 12px; margin-bottom: 8px; }
  .lyric-box-lg { width: 100%; height: 80px; font-size: 13px; line-height: 1.6; }
  .lyric-line.active { font-size: 15px; }
  .full-bottom .ctrl-row { gap: 20px; }
  .full-bottom .ctrl-row .ctrl-btn { width: 44px; height: 44px; font-size: 20px; }
  .full-bottom .ctrl-row .ctrl-btn.play { width: 60px; height: 60px; font-size: 24px; }
}

/* 超窄屏 (手机竖屏 <480px) - 控件更紧凑 */
@media (max-width: 480px) {
  .music-bottom-ctrl { padding: 6px 8px 8px; }
  .ctrl-cover { width: 40px; height: 40px; }
  .ctrl-buttons .ctrl-btn { width: 32px; height: 32px; }
  .ctrl-buttons .ctrl-btn.play { width: 44px; height: 44px; }
  /* v48: 歌名/歌手/歌词 全部 12px, active 用颜色 */
  .ctrl-info .song-name { font-size: 12px; }
  .ctrl-info .song-artist { font-size: 12px; color: var(--text-3); }
  .ctrl-lyric-line { font-size: 12px; min-height: 16px; }
  .ctrl-lyric-line.active { font-size: 12px; min-height: 16px; color: var(--primary); }
  .cover-lg { width: min(70vw, 60vh, 200px); height: min(70vw, 60vh, 200px); }
}

/* ============================================
 * 2026-08-24 v45: 平板/手机横屏 (720-1199px) 播放页适配
 * 独立出来, 不嵌在 v42 块
 * ============================================ */
@media (min-width: 720px) and (max-width: 1199px) {
  /* 2026-08-24 v43: 删顶栏后, 底部控制栏占满顶空间, 加圆角弹窗 */
  .music-body { padding: 8px 8px 0 !important; }
  /* 2026-08-24 v46: 弹窗居中后无需 right/bottom 覆盖, 删掉 */
  /* 播放页 (fullPlayer) - 横屏 */
  .full-player { padding: 52px 16px 16px; }
  .full-main { gap: 24px; }
  .cover-lg { width: 160px; height: 160px; }
  .song-name-lg { font-size: 18px; }
  .song-artist-lg { font-size: 13px; }
  .lyric-box-lg { font-size: 13px; line-height: 1.8; }
  .lyric-line.active { font-size: 15px; }
  .full-bottom .ctrl-row .ctrl-btn { width: 40px; height: 40px; font-size: 18px; }
  .full-bottom .ctrl-row .ctrl-btn.play { width: 56px; height: 56px; font-size: 22px; }
}

/* 横屏字体大 2x (v21 / v26 加强)
   2026-08-24 v48: 控制栏 3 个元素 歌名/歌手/歌词 统一 18px, 不依赖字号大小区分 (active 用颜色区分) */
@media (min-width: 1200px) {
  .ctrl-info .song-name { font-size: 18px; }
  .ctrl-info .song-artist { font-size: 18px; color: var(--text-3); }
  .ctrl-lyric-line { font-size: 18px; }
  .ctrl-lyric-line.active { font-size: 18px; color: var(--primary); }
  .search-bar input { font-size: 28px; }
  .search-bar .search-go { font-size: 28px; padding: 0 24px; }
  .quick-tabs .tab { font-size: 20px; padding: 12px 8px; }
  /* v26: 歌单列表里所有元素都大 2x */
  .song-col-title, .song-title { font-size: 22px !important; font-weight: normal; }
  .song-col-artist, .song-sub { font-size: 16px !important; }
  .song-num, .song-meta { font-size: 18px !important; }
  .result-list { padding: 4px 0; }
  .song-item { padding: 12px 20px !important; min-height: 64px !important; }
  .song-item .playlist-name { font-size: 22px !important; }
  .song-item .playlist-creator { font-size: 16px !important; }
  /* v46: 桌面端弹窗尺寸 (居中) */
  .search-popup { width: 520px; }
  /* v43: 播放页 - 桌面 */
  .full-player { padding: 60px 32px 24px; gap: 20px; }
  .cover-lg { width: 240px; height: 240px; }
  .song-name-lg { font-size: 24px; }
  .song-artist-lg { font-size: 15px; }
  .lyric-box-lg { font-size: 16px; line-height: 2.2; }
  .lyric-line.active { font-size: 18px; }
  .full-bottom .ctrl-row .ctrl-btn { width: 56px; height: 56px; font-size: 24px; }
  .full-bottom .ctrl-row .ctrl-btn.play { width: 72px; height: 72px; font-size: 28px; }
}
.now-playing {
  width: 360px; flex-shrink: 0;
  height: 100%;       /* 撑满父容器高度(音乐区) */
  min-height: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  /* 2026-07-18: padding-bottom 减到 4 (原 24) 消除布局空档, 上 12 (原 24) 平衡 */
  padding: 12px 20px 4px 20px;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.cover {
  width: 240px; height: 240px;
  border-radius: var(--radius);
  overflow: hidden; background: linear-gradient(135deg, #F0F2F5, #E5E5E5);
  margin-bottom: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cover { transition: width .3s, height .3s; }
@media (max-height: 800px) { .cover { width: 200px; height: 200px; } }
@media (max-height: 700px) { .cover { width: 180px; height: 180px; } }

/* 桌面/手机 元素显隐 */
.desktop-only { display: flex; }
.mobile-only { display: none !important; }
@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  /* v21: 手机端隐藏新的底部控制 (用 mini-player) */
  .music-bottom-ctrl { display: none !important; }
}

@media (max-width: 900px) {
  .menu-btn { display: flex; }
  /* 手机端隐藏桌面右侧大播放器(全宽列表优先) */
  .now-playing { display: none !important; }
  .sidebar {
    position: fixed; top: 0; bottom: 0; left: -160px;
    width: 140px;
    z-index: 100;
    box-shadow: 4px 0 16px rgba(0,0,0,.1);
    transition: left .25s;
    overflow: visible;
  }
  .sidebar.show { left: 0; width: 140px; }
  .sidebar.show .brand-text,
  .sidebar.show .nav-item .lbl,
  .sidebar.show .conv-section,
  .sidebar.show .user-info .user-name,
  .sidebar.show .user-info .user-action { display: block; }
  .sidebar.show .nav-item { justify-content: flex-start; padding: 0 10px; gap: 6px; font-size: 13px; }
  .sidebar.show .brand { padding: 0 14px; justify-content: flex-start; }
  .sidebar.show .user-info { justify-content: flex-start; padding: 8px 10px; gap: 8px; }
  .sidebar.show .user-info .user-name { font-size: 12px; }
  .sidebar.show .nav { padding: 12px 6px 0; }
  .sidebar.show .conv-section { padding: 12px 6px 80px; }
  /* 手机端:更多下拉菜单浮出,不被 sidebar 高度限制 */
  .sidebar.show .nav-dropdown {
    position: absolute;
    left: 100%; top: auto;
    margin: -40px 0 0 4px;
    min-width: 160px;
    background: var(--bg-card, white);
    z-index: 110;
  }
  .sidebar.show .nav-dropdown::before {
    content: ''; position: absolute; left: -4px; top: 10px;
    width: 0; height: 0;
    border: 4px solid transparent;
    border-right-color: var(--bg-card, white);
  }
  .sidebar:not(.show).collapsed,
  .sidebar:not(.show) { width: 0; border: none; overflow: hidden; }
  body.sidebar-open .menu-btn { display: none; }
  .topbar { padding: 0 12px 0 60px; }
  .topbar .title { font-size: 15px; }
  .messages { padding: 16px 12px 8px; }
  .composer { padding: 10px 12px 12px; }
  .model-pick { font-size: 12px; padding: 0 28px 0 10px; }
  /* 2026-08-09: mobile 模式完全撑满 (去掉右侧播放器) */
  .now-playing { display: none !important; }
  .music-body { padding: 8px 0; gap: 0; }
  .search-results { width: 100%; border-radius: 0; border: none; }
  .cover { width: 180px; height: 180px; }
  .lyric-box { height: 120px; }
  /* 2026-08-18: tab 字号恢复正常 14px, 配色用 gray (跟 desktop 一致) */
  .quick-tabs { gap: 24px; padding: 12px 20px 0; }
  .tab { font-size: 14px; padding: 8px 0 12px; color: var(--text-3); }
  .tab.active { border-bottom-width: 2px; }
  .mini-player {
    position: fixed; left: 0; right: 0; bottom: 0;
    height: 56px;
    background: white;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
    padding: 0 12px;
    z-index: 50;
    box-shadow: 0 -2px 8px rgba(0,0,0,.04);
    cursor: pointer;
  }
  .mini-cover {
    width: 40px; height: 40px; border-radius: 6px;
    object-fit: cover; background: var(--bg-hover); flex-shrink: 0;
  }
  .mini-info { flex: 1; min-width: 0; overflow: hidden; }
  .mini-name { font-size: 14px; font-weight: normal; color: var(--text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mini-artist { font-size: 12px; color: var(--text-3);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mini-play {
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: #333; color: white;
    font-size: 14px; cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .full-player {
    position: fixed; inset: 0; z-index: 200;
    background: #ffffff !important;
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 24px 24px;
  }
  /* 2026-07-28 v24: 沉浸式主色背景(动态提取自专辑封面) */
  
  
  
  /* 顶部组件兼容主色背景 */
  
  
  
  
  
  
  
  /* close 按钮适配主色 */
  
  
  .full-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}
.full-close:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.full-close:active { transform: scale(0.92); }
.full-close svg { width: 20px; height: 20px; }
  .full-close:hover { background: var(--bg-hover); }
  .cover-lg {
    width: 240px; height: 240px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #F0F2F5, #E5E5E5);
    margin-top: 40px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.25), 0 0 0 6px rgba(255,255,255,.12);
    /* 2026-07-28 v24: 旋转动画 (动态主色调外环) */
    animation: coverSpin 24s linear infinite;
    border: 3px solid rgba(255,255,255,.15);
  }
  .cover-lg.paused { animation-play-state: paused; }
  .cover-lg img { width: 100%; height: 100%; object-fit: cover; }
  .cover-lg .placeholder { font-size: 80px; color: var(--text-4); }
  @keyframes coverSpin { to { transform: rotate(360deg); } }
  .song-name-lg { font-size: 18px; font-weight: normal; margin-bottom: 4px;
    max-width: 100%; text-align: center;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .song-artist-lg { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
  .lyric-box-lg {
    width: 100%; height: 200px;
    overflow: hidden; position: relative;
    text-align: center; font-size: 13px; line-height: 2; color: var(--text-3);
    margin-bottom: 20px;
  }
  .lyric-box-lg::before, .lyric-box-lg::after {
    content: ''; position: absolute; left: 0; right: 0; height: 40px;
    z-index: 2; pointer-events: none;
  }
  .lyric-box-lg::before { top: 0; background: linear-gradient(to bottom, white, rgba(255,255,255,0)); }
  .lyric-box-lg::after { bottom: 0; background: linear-gradient(to top, white, rgba(255,255,255,0)); }
  .progress-row { padding: 0 8px; }
  .ctrl-row { gap: 24px; }
}

@media (max-width: 480px) {
  .modal { padding: 20px; }
  .composer .input-wrap { padding: 8px 10px; }
  .cover-lg { width: 200px; height: 200px; }
  .lyric-box-lg { height: 160px; }
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .placeholder { font-size: 80px; color: var(--text-4); }

.song-name { font-size: 18px; font-weight: normal; color: var(--text); margin-bottom: 4px;
  text-align: center; max-width: 100%; flex-shrink: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-artist { font-size: 13px; color: var(--text-3); margin-bottom: 16px;
  text-align: center; max-width: 100%; flex-shrink: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 歌词区(无滚动条,渐变遮罩) - 高度自适应(撑满父容器剩余空间) */
.lyric-box {
  width: 100%; flex: 1 1 auto; min-height: 120px;
  /* 2026-07-18: 去 max-height 让 flex 真正撑开,大屏不留白 */
  overflow: hidden;
  position: relative;
  text-align: center;
  font-size: 13px; line-height: 2;
  color: var(--text-3);
  margin-bottom: 16px;
}
.lyric-box::before, .lyric-box::after {
  content: ''; position: absolute; left: 0; right: 0; height: 32px;
  z-index: 2; pointer-events: none;
}
.lyric-box::before { top: 0; background: linear-gradient(to bottom, white, rgba(255,255,255,0)); }
.lyric-box::after { bottom: 0; background: linear-gradient(to top, white, rgba(255,255,255,0)); }
.lyric-track { position: absolute; left: 0; right: 0; transition: transform .4s ease; padding: 64px 0; }
.lyric-line {
  padding: 4px 8px; transition: all .3s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lyric-line.active { color: var(--primary); font-size: 15px; font-weight: normal; transform: scale(1.05); }
.lyric-empty { padding: 64px 16px; color: var(--text-4); font-size: 13px; text-align: center; }

/* 进度条 */
.progress-row {
  display: flex; gap: 8px; align-items: center;
  width: 100%; margin-bottom: 8px; flex-shrink: 0;
}
.time { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; min-width: 36px; text-align: center; }
@media (min-width: 1200px) { .time { font-size: 22px; min-width: 72px; } }
.progress {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 4px; background: var(--border-strong); border-radius: 2px; outline: none;
  cursor: pointer;
}
.progress::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); cursor: pointer;
  border: 2px solid white; box-shadow: 0 0 0 1px var(--border-strong);
}
.progress::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); cursor: pointer; border: 2px solid white;
}

.ctrl-row { display: flex; gap: 20px; align-items: center; margin-top: 4px; flex-shrink: 0; padding-bottom: 0; }
.ctrl-btn {
  border: none; background: transparent;
  cursor: pointer; font-size: 22px; color: var(--text);
  padding: 8px; border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.ctrl-btn:hover { background: var(--bg-hover); }
.ctrl-btn.play {
  width: 56px; height: 56px;
  background: var(--primary); color: white;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(22,119,255,.3);
  display: flex; align-items: center; justify-content: center;
}
.ctrl-btn.play svg { color: white; }
.ctrl-btn.play:hover { background: var(--primary-hover); }
/* 清除描边/伪元素可能造成的三色 */
.ctrl-btn.play, .ctrl-btn.play *, .ctrl-btn.play::before, .ctrl-btn.play::after { outline: none; box-shadow: 0 4px 12px rgba(22,119,255,.3); }

/* 搜索 + 列表 */
.search-results {
  flex: 1; min-width: 0; height: 100%; min-height: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.search-bar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 8px;
}
.search-input {
  flex: 1; height: 40px; padding: 0 16px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--bg); font-size: 14px;
  outline: none; transition: border-color .15s;
}
.search-input:focus { border-color: var(--primary); }
.search-input::placeholder { color: var(--text-4); }
.search-go {
  height: 40px; padding: 0 20px;
  border: none; border-radius: var(--radius);
  background: var(--primary); color: white;
  font-size: 14px; cursor: pointer;
  transition: background .15s;
}
.search-go:hover { background: var(--primary-hover); }

.quick-tabs { display: flex; gap: 24px; padding: 12px 20px 0; border-bottom: 1px solid var(--border); }
.tab {
  padding: 8px 0 12px; color: var(--text-3);
  cursor: pointer; font-size: 14px;
  border-bottom: 2px solid transparent;
  transition: all .15s;
  user-select: none;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: normal; }
.mylist-count { font-size: 12px; color: var(--text-3); margin-left: 2px; }
.tab.active .mylist-count { color: var(--primary); }

/* 2026-07-12: 5 平台音乐源切换(网易/QQ/酷狗/酷我/咪咕) */
/* 2026-08-25 v49: cookie 状态栏 + 扫码登录按钮 */
.userlist-cookie-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; margin-bottom: 10px;
  background: var(--bg-2, #f5f6f8); border-radius: 8px;
  border: 1px solid var(--border);
}
.cookie-status { font-size: 12px; color: var(--text-2); flex: 1 1 auto; min-width: 0; }
.cookie-btn {
  font-size: 12px; padding: 6px 10px; border: 0; border-radius: 6px;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.cookie-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* 2026-07-12: 用户歌单 tab 样式 */
.userlist-form { padding: 16px 20px 8px; }
.userlist-tip { font-size: 12px; color: var(--text-3); margin-bottom: 10px; }
.userlist-inputs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.userlist-uid {
  flex: 1 1 200px; min-width: 120px; height: 36px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-2, #f5f6f8); color: var(--text);
  font-size: 14px; outline: none;
}
.userlist-uid:focus { border-color: var(--primary); }
.userlist-type {
  height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-2, #f5f6f8); color: var(--text);
  font-size: 14px; cursor: pointer;
}
.userlist-go {
  height: 36px; padding: 0 16px;
  background: var(--primary); color: white;
  border: none; border-radius: 8px;
  font-size: 14px; cursor: pointer; transition: all .15s;
}
.userlist-go:hover { background: var(--primary-hover, #4096ff); }

.userlist-history { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.userlist-history-label { font-size: 12px; color: var(--text-3); margin-right: 4px; }
.userlist-h-item {
  font-size: 12px; padding: 3px 10px; cursor: pointer;
  background: var(--bg-2, #f5f6f8); color: var(--text-2);
  border: 1px solid var(--border); border-radius: 12px;
  transition: all .15s;
}
.userlist-h-item:hover { background: var(--primary-bg, #e6f4ff); color: var(--primary); border-color: var(--primary); }

.userlist-list {
  padding: 8px 20px 20px;
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.userlist-pl {
  cursor: pointer; border-radius: 8px; overflow: hidden;
  background: var(--bg-2, #f5f6f8);
  transition: all .15s;
  display: flex; flex-direction: column;
}
.userlist-pl:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.userlist-pl-cover { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-3, #e8e8e8); display: block; }
.userlist-pl-info { padding: 8px 10px; flex: 1; min-width: 0; }
.userlist-pl-name { font-size: 14px; font-weight: normal; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.userlist-pl-creator { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.userlist-pl-avatar { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }

/* 2026-07-12: 专辑头部 + 歌曲列表 */
.album-head {
  display: flex; gap: 16px; padding: 16px;
  background: var(--bg-2, #f5f6f8); border-radius: 12px;
  margin-bottom: 12px;
}
.album-head-cover { width: 120px; height: 120px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--bg-3, #e8e8e8); }
.album-head-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.album-head-name { font-size: 18px; font-weight: normal; color: var(--text); }
.album-head-artist { font-size: 13px; color: var(--text-3); }
.album-head-count { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.album-head-actions { margin-top: auto; }
.album-head-play {
  height: 36px; padding: 0 16px;
  background: var(--primary); color: white;
  border: none; border-radius: 18px;
  font-size: 14px; cursor: pointer; transition: all .15s;
}
.album-head-play:hover { background: var(--primary-hover, #4096ff); }

.album-songs {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-2, #f5f6f8); border-radius: 12px;
  padding: 8px;
}
.album-song {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; transition: all .15s;
}
.album-song:hover { background: var(--primary-bg, #e6f4ff); }
.album-song-num { font-size: 13px; color: var(--text-3); width: 30px; flex-shrink: 0; text-align: center; }
.album-song-name { font-size: 14px; color: var(--text); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-song-artist { font-size: 12px; color: var(--text-3); flex-shrink: 0; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* 2026-08-06: 搜索源改成下拉菜单 (放在 topbar 绿点右边, 紧凑版) */
.source-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 10;
  flex-shrink: 0;
  margin-left: 12px;
}
.src-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 12px; font-weight: normal;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
  min-width: 80px;
  max-width: 140px;
  justify-content: space-between;
  position: relative;
  z-index: 11;
}
.src-trigger:hover { border-color: var(--primary); color: var(--primary); }
.src-trigger.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .12);
  color: var(--primary);
}
.src-trigger-label { flex: 1; text-align: left; }
.src-trigger-arrow {
  width: 12px; height: 12px;
  transition: transform .2s;
  color: var(--text-3);
  flex-shrink: 0;
}
.src-trigger.active .src-trigger-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}
.src-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  list-style: none; margin: 0; padding: 4px;
  min-width: 140px; max-width: 200px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .06);
  display: none;
  z-index: 9999;
  max-height: 280px; overflow-y: auto;
}
.src-menu.show { display: block; animation: srcMenuIn .15s ease-out; }
@keyframes srcMenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.src-option {
  padding: 8px 12px;
  font-size: 13px; color: var(--text-2);
  cursor: pointer; border-radius: 6px;
  transition: all .12s;
  user-select: none;
  display: flex; align-items: center; gap: 8px;
}
.src-option:hover {
  background: var(--primary-bg, rgba(22,119,255,.08));
  color: var(--primary);
}
.src-option.active {
  background: var(--primary);
  color: white;
  font-weight: normal;
}
.src-option.active::before {
  content: '✓';
  font-size: 12px; font-weight: normal;
}

.mode-btn {
  height: 32px; padding: 0 12px;
  background: var(--primary-bg); color: var(--primary);
  border: none; border-radius: 16px;
  font-size: 13px; font-weight: normal;
  cursor: pointer; transition: all .15s;
}
.mode-btn:hover { background: var(--primary); color: white; }
.car-btn {
  font-size: 14px; font-weight: normal;
  width: 32px; padding: 0;
  background: var(--bg-2, #f5f6f8);
  color: var(--text);
}
.car-btn:hover { background: var(--primary); color: white; }

/* ============================================
 * 2026-08-21 v5: 车机模式 (用户重做要求)
 * 1. 顶栏: 左=返回, 右=音质 (黑字, 浅色背景) - 删掉音源
 * 2. 封面: 圆形 + 旋转 (1/8 屏宽)
 * 3. 歌名: 缩小 1/2 (从 5vw → 2.4vw) - 完整显示
 * 4. 歌手: 完整显示
 * 5. 歌词: 主动拉取 + 同步滚动
 * 6. 频谱: 透明, 全屏宽, 高度 1cm (38px), 在屏幕最下方
 * ============================================ */

/* 1. 整体: 浅色背景, 黑字 */
#carMode {
  position: fixed; inset: 0;
  background: linear-gradient(180deg, #fafbfc 0%, #eef0f3 100%);
  color: #222;
  display: flex; flex-direction: column;
  padding: 0; margin: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  z-index: 50;
  overflow: hidden;
  box-sizing: border-box;
}
#carMode.hidden { display: none !important; }

/* 2. 顶栏: 60px 高, 左=返回, 右=音质 (黑字, 浅色) */
.car-top {
  display: flex; align-items: center;
  height: 60px; padding: 0 24px;
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
  position: relative; z-index: 10;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* 返回按钮: 左上, 黑字, 圆角 */
.car-back {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px;
  background: rgba(0,0,0,0.04);
  color: #222;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  font-size: 15px; font-weight: normal;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.car-back:hover { background: rgba(0,0,0,0.1); }
.car-back svg { width: 18px; height: 18px; stroke: #222; }

/* v5: 隐藏音源选择 (车机只显示一个源, 不允许切换) */
#carSource, .car-source { display: none !important; }

/* 右上: 音质 (橙字, 圆角) - 只有它, 没有音源选择 */
.car-quality {
  height: 40px; padding: 0 16px;
  display: inline-flex; align-items: center;
  background: rgba(22,119,255,0.12);
  color: #1677FF;
  border: 1px solid rgba(22,119,255,0.3);
  border-radius: 20px;
  font-size: 15px; font-weight: normal;
  flex-shrink: 0;
  cursor: pointer;
  margin-left: auto;  /* 推到最右 */
}
.car-quality:hover { background: rgba(22,119,255,0.2); }

/* 3. 主区: flex:1, cover 左 + 歌名/歌手/歌词 右 */
.car-main {
  flex: 1; min-height: 0;
  display: flex; gap: 40px; align-items: center; justify-content: center;
  padding: 32px 48px 32px 280px;  /* v7: 左边 280px = 封面 420 的一半 + 缓冲 */
  position: relative; z-index: 1;
  overflow: hidden;
}

/* 4. 封面: 圆形 + 旋转, 放大 1.5x (1/4 屏宽) */
.car-left { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.car-cover {
  width: 28vw; height: 28vw;  /* v6: 28vw (从 22vw 放大) */
  max-width: 420px; max-height: 420px;  /* v6: max 420 */
  min-width: 240px; min-height: 240px;
  border-radius: 50%;  /* v5: 圆形! */
  background: linear-gradient(135deg, #1677FF 0%, #4096FF 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}
.car-cover img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  animation: carCoverSpin 24s linear infinite;  /* v5: 旋转 */
}
.car-cover.paused img { animation-play-state: paused; }
.car-cover-placeholder { font-size: 96px; color: rgba(255,255,255,0.3); }
@keyframes carCoverSpin { to { transform: rotate(360deg); } }

/* 5. 歌名/歌手/歌词: 缩小, 完整显示, 歌词居中 */
.car-right {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;  /* v6: 歌词 + 标题 全部居中 */
  height: 100%;
  overflow: hidden;
  text-align: center;  /* v6: 文字居中 */
}
.car-song {
  font-size: 2.6vw;  /* v6: 略放大 (从 2.4vw) */
  max-font-size: 64px;
  font-weight: normal;
  color: #111; line-height: 1.1;
  letter-spacing: -0.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,0.05);
  width: 100%;  /* v6: 居中 */
  text-align: center;
}
.car-artist {
  font-size: 1.6vw;  /* v6: 1.6vw (从 1.4vw) */
  max-font-size: 40px;
  color: #666; font-weight: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  width: 100%;
  text-align: center;
}

/* 歌词区: 大字黑, 上下淡, 居中 */
.car-lyric {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 20px;
  text-align: center;  /* v6: 歌词居中 */
  width: 100%;
  align-items: center;
}
.car-lyric-line {
  font-size: 1.8vw;  /* v48: 1.6vw→1.8vw (跟 active 一样, 区分不靠字号靠颜色) */
  max-font-size: 44px;
  line-height: 1.4;
  color: rgba(0,0,0,0.32);
  font-weight: normal;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .25s;  /* v48: 只过渡颜色, 不过渡大小 */
  min-height: 56px;
  width: 100%;
  text-align: center;  /* v6: 居中 */
}
.car-lyric-line.car-lyric-active {
  font-size: 1.8vw;  /* v48: 跟普通一样 1.8vw, 区分靠 color (主色蓝) */
  max-font-size: 44px;
  font-weight: normal;
  color: var(--primary);  /* v48: 蓝 (主色), 不用 #111 黑 */
  text-shadow: 0 2px 8px rgba(22,119,255,0.18);
  min-height: 56px;
  width: 100%;
  text-align: center;  /* v6: 居中 */
}

/* 6. 底栏: 进度 + 控制 (频谱在屏幕最下方, 绝对定位) */
.car-progress-wrap {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.car-progress-row {
  display: flex; align-items: center; gap: 12px;
}
.car-time { font-size: 14px; color: #555; font-variant-numeric: tabular-nums; min-width: 50px; text-align: center; font-weight: normal; }
.car-progress {
  flex: 1; height: 6px;
  background: rgba(0,0,0,0.1);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.car-progress-bar {
  position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, #1677FF, #4096FF);
  border-radius: 3px;
  width: 0;
  transition: width .2s;
}
.car-progress-dot {
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 16px;
  background: #fff;
  border: 2px solid #1677FF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(22,119,255,0.4);
}

/* 控制按钮: 居中, 大圆按钮 */
.car-ctrl {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  flex: 0 0 auto;
}
.car-btn-prev, .car-btn-next {
  width: 60px; height: 60px;
  background: rgba(0,0,0,0.05);
  color: #222;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.car-btn-prev:hover, .car-btn-next:hover { background: rgba(0,0,0,0.12); transform: scale(1.05); }
.car-btn-prev svg, .car-btn-next svg { width: 30px; height: 30px; fill: #222; }
.car-btn-play {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, #1677FF, #4096FF);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(22,119,255,0.4);
  transition: all .15s;
  flex-shrink: 0;
}
.car-btn-play:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(22,119,255,0.5); }
.car-btn-play:active { transform: scale(0.95); }
.car-btn-play svg { width: 36px; height: 36px; fill: #fff; }

/* 7. 频谱: 跟主站 musicSpectrum 完全一致
   高度 67.5px (1cm 翻倍) / mix-blend-mode multiply / opacity 0.5
   颜色灰 (跟主页一样, 不再用渐变蓝) */
.car-spectrum {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 67.5px;  /* v48: 跟主页一致 (原 38px) */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  z-index: 5;
  opacity: 0.5;
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
}
.car-spectrum canvas {
  width: 100%; height: 100%;
  display: block;
  background: transparent !important;
}

/* car-bottom: 留出 38px 给频谱 (频谱在 bottom: 0 绝对定位) */
.car-bottom {
  position: relative; z-index: 1;
  flex-shrink: 0;
  display: flex; align-items: center; gap: 20px;
  height: 100px; padding: 16px 32px 54px 32px;  /* 下 padding 54 = 38 频谱 + 16 缓冲 */
  background: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* 8. 车机模式 mobile portrait (竖屏手机) */
@media (max-width: 900px) {
  .car-top { height: 50px; padding: 0 12px; }
  .car-back, .car-quality { height: 32px; padding: 0 12px; font-size: 13px; }
  .car-back svg { width: 14px; height: 14px; }
  .car-main { flex-direction: column; gap: 12px; padding: 12px; }
  .car-cover { width: 160px; height: 160px; }
  .car-song { font-size: 24px; }
  .car-artist { font-size: 16px; }
  .car-lyric-line { font-size: 16px; min-height: 24px; }
  .car-lyric-line.car-lyric-active { font-size: 22px; min-height: 32px; }
  .car-bottom { height: 80px; padding: 8px 12px; gap: 8px; }
  .car-btn-prev, .car-btn-next { width: 40px; height: 40px; }
  .car-btn-play { width: 52px; height: 52px; }
  .car-spectrum { height: 28px; }
}

/* 8. 车机模式 mobile portrait (竖屏手机) */
@media (max-width: 900px) {
  .car-top { height: 60px; padding: 0 16px; }
  .car-back, .car-source, .car-quality { height: 40px; padding: 0 14px; font-size: 14px; }
  .car-back svg, .car-source svg { width: 16px; height: 16px; }
  .car-source-label { font-size: 14px; }
  .car-main { flex-direction: column; gap: 20px; padding: 20px; }
  .car-cover { width: 240px; height: 240px; }
  .car-song { font-size: 36px; }
  .car-artist { font-size: 20px; }
  .car-lyric-line { font-size: 18px; }
  .car-lyric-line.car-lyric-active { font-size: 28px; }
  .car-bottom { height: 140px; padding: 16px; gap: 16px; }
  .car-btn-prev, .car-btn-next { width: 56px; height: 56px; }
  .car-btn-play { width: 70px; height: 70px; }
  .car-spectrum { height: 100px; }
}

/* 2026-08-09: 退出按钮 (白底圆形 ×) */
.exit-btn {
  width: 32px; height: 32px;
  background: #fff;
  color: var(--text-2, #595959);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .15s;
  margin-left: 4px;
  flex-shrink: 0;
}
.exit-btn:hover {
  background: var(--error, #FF4D4F);
  color: white;
  border-color: var(--error, #FF4D4F);
  transform: scale(1.05);
}
.exit-btn svg { display: block; }


.pl-tabs {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 8px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.pl-tabs::-webkit-scrollbar { display: none; }
.pl-tab {
  flex-shrink: 0; font-size: 13px; color: var(--text-3);
  cursor: pointer; padding: 4px 0;
  white-space: nowrap; user-select: none;
  border-bottom: 2px solid transparent;
}
.pl-tab:hover { color: var(--text); }
.pl-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: normal; }

.result-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.result-empty { padding: 80px 20px; text-align: center; color: var(--text-4); font-size: 13px; }

/* 2026-07-17 v19: 大歌词区 fixed 浮动悬浮窗
   2 个独立 row(active 上, next 下), 永远显示 2 行完整, 不滚动
   透明背景, 默认屏幕中下方(top:75%), 鼠标按下可拖拽
   字号 2.5em (40px), 行高 1.15 (间距减半) */
.big-lyric {
  position: fixed;                     /* 脱离文档流, 不影响其他布局 */
  left: 50%; top: 50%;                 /* v20: 移到屏幕正中央, 任意拖动 */
  transform: translate(-50%, -50%);    /* v20: 居中, 拖动时切换到 left/top px */
  width: min(80vw, 900px);
  z-index: 50;
  background: transparent;
  border: none;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  padding: 0;
  gap: 8px;                            /* v21: 4→8, 行间距增加 1 倍 (用户要求) */
  overflow: visible;
}
.big-lyric:active { cursor: grabbing; }
.big-lyric.dragging { cursor: grabbing; opacity: 0.85; transform: none; }  /* 拖动时不再 translate */
.big-lyric-line {
  font-size: 48px;                     /* v20: 固定 48px (从 5em 改为 px, 修 378px bug) */
  line-height: 1.2;
  height: 58px;                        /* v21: 48*1.2=57.6, 配合 8px gap */
  color: rgba(0,0,0,0.42);
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  transition: color .2s;
}
.big-lyric-line.active {
  color: var(--primary);
  font-weight: normal;
  text-shadow: 0 2px 12px rgba(22,119,255,0.25);
  font-size: 56px;                     /* 当前歌词稍大 */
  height: 67px;                        /* v21: 56*1.2=67.2 */
}
@media (max-width: 900px) {
  .big-lyric { display: none; }
}

/* 2026-07-17 v20: 底部动态频谱背景
   宽的山峰频谱, 灰色半透明, 脘脘可见
   绝对定位底部, pointer-events:none 不拦截点击
   z-index 低, 位于所有内容之下 */
.music-spectrum {
  position: fixed;                 /* 2026-07-18: 改 fixed 浮在视口底部, 不挤压主容器 */
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 67.5px;                  /* v18: 90→45→67.5 提高0.5倍 */
  z-index: 0;                      /* 2026-07-18: 改 0, 在内容之下 */
  pointer-events: none;            /* 不拦截任何点击 */
  user-select: none;
  background: transparent !important;  /* 强制 transparent, 不让浏览器默认白 */
  display: block;
  opacity: 0.5;
  mix-blend-mode: multiply;        /* 2026-07-18: 改成 multiply 模式, 白底 = 无色, 只显示柱状 */
  transition: opacity 0.3s ease;
}
body.music-playing .music-spectrum {
  opacity: 0.6;  /* v18: 浅灰 */
}
/* 2026-08-24 v47: 主页频谱在所有屏都显示 (之前 <=900 隐藏, 但用户期望播放页跟"横屏版首页"一样,
   平板/手机看不到主页频谱就认为"页面没频谱", 实际上应该都有) */
/* 2026-07-12 v8: 歌单列表多列布局 [序号] [歌名] [歌手] [专辑] [+]
   宽屏:4 列横排(2fr/1.2fr/1.2fr)  窄屏(<=720):只显示序号+歌名+,歌名下叠歌手-专辑 */
.song-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.5fr) 28px;
  align-items: center; gap: 16px;
  padding: 8px 20px; cursor: pointer;
  transition: background .12s;
}
.song-item:hover { background: var(--bg-hover); }
.song-item.playing { background: var(--primary-bg); }
.song-num { color: var(--text-3); text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.song-item.playing .song-num { color: var(--primary); }
.song-col { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-col-title { font-size: 14px; color: var(--text); }
.song-item.playing .song-col-title { color: var(--primary); font-weight: normal; }
.song-col-artist, .song-col-album { font-size: 13px; color: var(--text-3); }
/* 旧 meta class 保留兼容(以防其他地方引用) */
.song-meta { flex: 1; min-width: 0; }
.song-title { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-item.playing .song-title { color: var(--primary); font-weight: normal; }
.song-sub { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 窄屏:隐藏 歌手/专辑 独立列,改在歌名下方叠加显示(data-sub 内容) */
@media (max-width: 720px) {
  /* 2026-08-18: 主页歌单列表恢复小字 + 灰色 (跟 desktop 一致)
     mobile 字号 12px (原来 14px 略小), 颜色 var(--text-2) 灰色 */
  .song-item {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 8px; padding: 7px 14px;
  }
  .song-num { font-size: 12px; }
  .song-col-artist, .song-col-album { display: none; }
  .song-col-title {
    display: flex; flex-direction: column; line-height: 1.3;
    font-size: 13px; font-weight: 400;
    color: var(--text-2, #595959);
  }
  .song-col-title::after {
    content: attr(data-sub);
    color: var(--text-3, #8C8C8C); font-size: 11px; font-weight: normal;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    margin-top: 1px;
  }
  .song-col-title:empty::after { content: ''; }
  .song-added { width: 28px; height: 28px; font-size: 16px; }
  .song-remove { width: 24px; height: 24px; font-size: 16px; }
  /* 播放中歌曲: 蓝色稍亮 */
  .song-item.playing .song-col-title { color: var(--primary); font-weight: normal; }
}
.song-added {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  color: var(--text-3); font-size: 18px;
  transition: all .15s;
}
.song-added:hover { background: var(--primary-bg); color: var(--primary); }
.song-added.on { color: var(--error); }
.song-remove {
  width: 24px; height: 24px;
  background: transparent; border: none;
  color: var(--text-3); font-size: 18px;
  cursor: pointer; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.song-remove:hover { background: var(--error); color: white; }

/* 右键菜单 */
.ctx-menu {
  position: fixed; z-index: 10000;
  background: white; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  border: 1px solid var(--border);
  padding: 4px 0; min-width: 140px;
  font-size: 13px;
}
.ctx-item {
  padding: 8px 14px; cursor: pointer;
  transition: background .12s;
}
.ctx-item:hover { background: var(--bg-hover); color: var(--primary); }

/* 登录弹窗 */
.modal-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-mask.hidden { display: none; }
.modal {
  width: 100%; max-width: 400px;
  background: white; border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.modal h3 { font-size: 18px; margin-bottom: 20px; font-weight: normal; }
.modal-input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; margin-bottom: 12px;
  transition: border-color .15s;
}
.modal-input:focus { border-color: var(--primary); }
.modal-err { color: var(--error); font-size: 12px; min-height: 18px; margin-bottom: 8px; }
.modal-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.modal-btn {
  height: 38px; padding: 0 18px;
  border: 1px solid var(--border-strong); background: white;
  border-radius: var(--radius-sm);
  cursor: pointer; font-size: 14px;
  transition: all .15s;
}
.modal-btn:hover { border-color: var(--primary); color: var(--primary); }
.modal-btn.primary { background: var(--primary); color: white; border-color: var(--primary); }
.modal-btn.primary:hover { background: var(--primary-hover); }
.modal-foot { text-align: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.modal-foot a { color: var(--primary); font-size: 13px; text-decoration: none; }
.modal-foot a:hover { text-decoration: underline; }
.modal-wide { max-width: 460px; }
.reg-step { animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.reg-step.hidden { display: none; }
.reg-tip { color: var(--text-3); font-size: 13px; margin-bottom: 12px; line-height: 1.5; }
.reg-tip b { color: var(--primary); }
.reg-username-hint { font-size: 12px; margin: -8px 0 12px; padding: 0 4px; color: var(--text-3); transition: color .15s; }
.reg-username-hint.ok { color: var(--success); }
.reg-username-hint.bad { color: var(--error); }
.reg-inbox-tip { margin-bottom: 12px; }
.reg-inbox-tip summary { cursor: pointer; color: var(--primary); font-size: 13px; padding: 6px 0; }
.reg-inbox { background: var(--bg-hover); border-radius: 8px; padding: 12px; margin-top: 8px; }
.reg-inbox-empty { color: var(--text-3); font-size: 12px; text-align: center; padding: 12px; }
.reg-mail { font-size: 13px; }
.reg-mail-hd { display: flex; justify-content: space-between; color: var(--text-2); margin-bottom: 8px; }
.reg-mail-sub { font-weight: normal; }
.reg-mail-date { color: var(--text-3); font-size: 11px; }
.reg-mail-code { padding: 8px 12px; background: white; border-radius: 6px; margin: 8px 0; font-family: ui-monospace, monospace; }
.reg-mail-code b { color: var(--primary); font-size: 18px; letter-spacing: 2px; }
.reg-mail-fill { background: var(--primary); color: white; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; }
.reg-mail-fill:hover { background: var(--primary-hover); }
.reg-username-row { position: relative; }
.reg-username-row .modal-input { padding-right: 60px; }
.reg-username-row .reg-username-hint { position: absolute; right: 12px; top: 12px; font-size: 12px; }
.reg-debug-code {
  background: #FFF7E6; color: #874D00;
  padding: 8px 12px; border-radius: 6px; font-size: 12px;
  margin-bottom: 8px; border: 1px solid #FFD591;
}
.reg-debug-code b { color: #1677FF; font-size: 14px; letter-spacing: 1px; }
.captcha-row {
  display: flex; gap: 8px; align-items: stretch;
  margin-bottom: 12px;
}
.captcha-row .modal-input { flex: 1; margin: 0; }
.captcha-img {
  width: 120px; height: 44px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: #F0F2F5; cursor: pointer; object-fit: contain;
}
.captcha-img.loading { opacity: 0.5; }
.captcha-refresh {
  width: 44px; height: 44px;
  background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); cursor: pointer; font-size: 18px; color: var(--text-2);
}
.captcha-refresh:hover { background: var(--bg-hover); color: var(--primary); }
.reg-hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.modal-err.ok { color: var(--success); }

/* Toast */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
  z-index: 9999;
  padding: 10px 20px; background: rgba(0,0,0,.78); color: white;
  border-radius: 20px; font-size: 13px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.toast.show { opacity: 1; }
.toast.error { background: var(--error); }
.toast.success { background: var(--success); }

/* 调试面板 */
#debugPanel {
  position: fixed; top: 80px; right: 20px;
  width: 480px; max-width: calc(100vw - 40px);
  max-height: 60vh;
  background: rgba(20, 24, 30, 0.96);
  color: #E6E6E6;
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; line-height: 1.5;
  z-index: 99999;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all .2s;
}
#debugPanel.hidden { display: none; }
#debugPanel.pinned {
  top: 10px !important;
  box-shadow: 0 0 0 2px var(--error), 0 8px 24px rgba(0,0,0,.4);
}
.dbg-head {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  user-select: none;
}
.dbg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #52C41A;
  flex-shrink: 0;
  transition: background .2s;
}
.dbg-dot.err { background: var(--error); animation: pulse-dot 1s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.dbg-title { flex: 1; font-weight: normal; color: white; font-size: 12px; }
.dbg-head button {
  background: rgba(255,255,255,0.1);
  border: none; color: white;
  width: 22px; height: 22px;
  border-radius: 4px; cursor: pointer;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.dbg-head button:hover { background: rgba(255,255,255,0.2); }
.dbg-body {
  flex: 1; overflow-y: auto; padding: 4px 0;
  font-variant-numeric: tabular-nums;
}
.dbg-body.collapsed { max-height: 0; overflow: hidden; padding: 0; }
.dbg-line {
  display: flex; gap: 8px; padding: 2px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  word-break: break-all;
}
.dbg-line:hover { background: rgba(255,255,255,0.04); }
.dbg-t { color: #888; flex-shrink: 0; }
.dbg-l { font-weight: normal; flex-shrink: 0; min-width: 50px; }
.dbg-m { flex: 1; min-width: 0; }
.dbg-info .dbg-l { color: #5B9BD5; }
.dbg-warn .dbg-l { color: #FAAD14; }
.dbg-error { background: rgba(255, 77, 79, 0.12); }
.dbg-error .dbg-l { color: #FF4D4F; }
.dbg-ok .dbg-l { color: #52C41A; }
.dbg-user .dbg-l { color: #B37FEB; }
.dbg-api .dbg-l { color: #13C2C2; }
.dbg-api .dbg-m { color: #B5E0F0; }

/* 3D 频谱已禁用,body.music-playing 半透明移除 */


/* 应用下载卡片 */
.app-body {
  padding: 32px 24px;
  max-width: 1100px;
  margin: 0 auto;
  /* 2026-07-12: 允许 appMode 内部上下滚动 (父 .mode overflow:hidden 截断) */
  flex: 1;
  min-height: 0;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
.app-sub { color: #888; font-size: 14px; margin-bottom: 24px; }
.app-grid {
  display: grid !important; gap: 16px !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
}
@media (min-width: 600px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .app-grid { grid-template-columns: repeat(4, 1fr); } }
.app-card {
  background: #fff !important; border-radius: 12px !important; padding: 20px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  display: flex !important; flex-direction: column !important; gap: 8px !important;
  align-items: flex-start !important;  /* 2026-07-12: 防止子元素被拉宽成色块 */
  text-decoration: none !important; color: inherit !important;
  transition: all 0.2s !important;
  overflow: hidden !important;
  min-width: 0 !important;
  width: 100% !important;
}
.app-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(22,119,255,0.15); }
.app-icon {
  width: 48px !important; height: 48px !important; border-radius: 12px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  color: #fff !important; font-size: 22px !important; font-weight: normal !important;
  margin-bottom: 4px !important;
  flex-shrink: 0 !important;
  align-self: flex-start !important;
}
.app-name { font-size: 15px !important; font-weight: normal !important; color: #1A1A1A !important; align-self: stretch !important; }
.app-desc { font-size: 12px !important; color: #999 !important; line-height: 1.5 !important; flex: 1 !important; min-height: 36px !important; word-break: break-word !important; align-self: stretch !important; }
.app-meta { font-size: 11px !important; color: #BBB !important; align-self: stretch !important; }
.app-btn {
  display: inline-block !important; padding: 8px 16px !important;
  background: #1677FF !important; color: #fff !important; border-radius: 6px !important;
  font-size: 13px !important; font-weight: normal !important;
  text-align: center !important; margin-top: 4px !important;
  align-self: flex-start !important;
}
.app-card:hover .app-btn { background: #4096FF; }
.app-foot { margin-top: 32px; text-align: center; color: #CCC; font-size: 12px; }


/* 2026-07-12: 小智 AI 缩到右下角浮窗 */
.xiaozhi-wrap.xiaozhi-mini {
  position: fixed !important;
  right: 20px;
  bottom: 20px;
  width: 360px;
  height: 480px;
  max-width: 90vw;
  max-height: 70vh;
  z-index: 9999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.xiaozhi-wrap.xiaozhi-mini iframe { border-radius: 16px; }

/* 小智意图提示横幅 */
.xiaozhi-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1677FF 0%, #4096FF 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.4);
  z-index: 10000;
  font-size: 14px;
  font-weight: normal;
  animation: xiaozhi-toast-in 0.3s ease, xiaozhi-toast-out 0.3s ease 2.5s both;
}
@keyframes xiaozhi-toast-in { from { transform: translate(-50%, -20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes xiaozhi-toast-out { to { transform: translate(-50%, -20px); opacity: 0; } }


/* 2026-07-12: 小智 AI 缩到右下角浮窗 — 方向自适应 */
.xiaozhi-wrap.xiaozhi-mini {
  position: fixed !important;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
/* 竖屏 (portrait): 竖长方形 — 高度占 60% 屏, 宽 360px */
.xiaozhi-wrap.xiaozhi-mini-portrait {
  width: 360px;
  max-width: 90vw;
  height: 60vh;
  max-height: 720px;
}
/* 横屏 (landscape): 横长方形 — 宽 480px, 高 360px */
.xiaozhi-wrap.xiaozhi-mini-landscape {
  width: 480px;
  max-width: 80vw;
  height: 360px;
  max-height: 70vh;
}
.xiaozhi-wrap.xiaozhi-mini iframe {
  border-radius: 16px;
  width: 100%;
  height: 100%;
}

/* 2026-07-18: 后台 grid 卡片 */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  padding: 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-content: flex-start;
}
.admin-card {
  background: var(--bg, #fff);
  border: 1px solid var(--border, #e8e8e8);
  border-radius: var(--radius-lg, 12px);
  padding: 20px 12px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-family: inherit;
}
.admin-card:hover {
  border-color: var(--primary, #1677FF);
  box-shadow: 0 4px 16px rgba(22,119,255,.15);
  transform: translateY(-2px);
}
.admin-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 4px;
}
.admin-name {
  font-size: 14px;
  font-weight: normal;
  color: var(--text, #333);
}
.admin-desc {
  font-size: 11px;
  color: var(--text-4, #999);
}
/* 顶栏后台按钮 (在音乐右上角) */
.admin-btn {
  font-size: 16px;
  padding: 4px 8px;
  margin-right: 4px;
}

/* 2026-07-26: 主页默认 music 模式,左侧 sidebar 完全隐藏 (用户要求"主页只有音乐") */
body.music-mode-only .sidebar { display: none !important; }
body.music-mode-only .menu-btn { display: none !important; }
body.music-mode-only .main { margin-left: 0 !important; }

/* ============================================
 * 2026-08-24 v43: 删顶栏 + 底部控制栏重排 + 搜索弹窗
 * ============================================ */
/* 主页顶部空出顶栏 60px 高度 (删顶栏后, body 留白) */
body.music-mode-only .topbar { display: none !important; }
body.music-mode-only .main { padding-top: 0 !important; }

/* 底部控制栏重排 - 桌面: 封面 + 歌名歌手歌词 + 控件组 */
.ctrl-button-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0 4px;
}
.ctrl-info {
  flex: 1;
  min-width: 0;
  display: flex; align-items: center; gap: 16px;
  text-align: left;
  overflow: hidden;
  padding: 0 4px;
}
.ctrl-buttons-group {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.ctrl-buttons {
  display: flex; align-items: center; gap: 8px;
}
.ctrl-extras {
  display: flex; align-items: center; gap: 4px;
  margin-left: 8px;
}
.mode-btn-extra {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  min-width: 28px;
  height: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.mode-btn-extra:hover { background: var(--bg-hover); color: var(--primary); border-color: var(--primary); }
.bitrate-menu { position: relative; display: inline-block; }
.bitrate-menu .bitrate-badge {
  display: inline-block; font-size: 11px; color: #1677FF;
  padding: 4px 8px; border-radius: var(--radius-sm);
  background: #f0f7ff; border: 1px solid #d6e4ff;
  cursor: pointer; line-height: 1.4;
  font-family: inherit; font-weight: normal;
}
.bitrate-menu .bitrate-badge:hover { transform: scale(1.05); }
.bitrate-menu .bitrate-dropdown {
  display: none; position: absolute; bottom: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.12);
  list-style: none; padding: 4px 0; margin: 0; min-width: 140px; z-index: 9999;
}
.bitrate-menu .bitrate-dropdown.show { display: block; }
.bitrate-menu .bitrate-dropdown li {
  padding: 8px 14px; font-size: 12px; color: var(--text-2);
  cursor: pointer; user-select: none;
}
.bitrate-menu .bitrate-dropdown li:hover { background: #f0f7ff; color: #1677FF; }
.bitrate-menu .bitrate-dropdown li.active { background: #f0f7ff; color: #1677FF; }
.bitrate-menu .bitrate-dropdown li.active::before { content: '✓ '; }

/* 搜索弹窗 (右下角 🔍 触发) */
.search-popup-mask {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  /* 2026-08-24 v46: 输入法弹出时不被遮挡, 用 padding-bottom + JS 动态偏移
     触发时设 --keyboard-offset CSS 变量, 弹窗跟着抬起来 */
}
.search-popup-mask.hidden { display: none; }
.search-popup {
  position: fixed; z-index: 9991;
  /* 2026-08-24 v46: 改为屏幕正中央, 不再靠右下角
     用 translate 居中 (CSS transform 不影响 layout 性能)
     留出 max-height 让 flex 内部滚动, 防止输入框被键盘遮挡 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + var(--keyboard-offset, 0px) * -1));
  width: 480px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 100px - var(--keyboard-offset, 0px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,.22);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
  /* 弹出动画 (v46) */
  animation: searchPopupIn .2s ease-out;
}
@keyframes searchPopupIn {
  from { transform: translate(-50%, calc(-50% + 10px)); opacity: 0; }
  to { transform: translate(-50%, calc(-50% + var(--keyboard-offset, 0px) * -1)); opacity: 1; }
}
.search-popup.hidden { display: none; }
.search-popup-header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; color: var(--text);
  font-weight: normal;
}
.search-popup-close {
  border: none; background: transparent;
  font-size: 22px; line-height: 1; color: var(--text-3);
  cursor: pointer; padding: 0; width: 24px; height: 24px;
}
.search-popup-close:hover { color: var(--text); }
.search-popup-src {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.src-pill {
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text-2);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.src-pill:hover { border-color: var(--primary); color: var(--primary); }
.src-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.search-popup-input {
  display: flex; gap: 8px;
}
.search-popup-input input {
  flex: 1; min-width: 0;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 14px;  /* v46: 加大 (8→10) 防止输入法键盘遮挡时 input 被压缩 */
  font-size: 15px;  /* v46: 加大 (14→15) 方便用户输入 */
  outline: none;
  font-family: inherit;
  /* v46: 输入时 input 不要被键盘遮挡, 弹窗要 scroll 到 input 可见 */
  scroll-margin: 100px;
}
.search-popup-input input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}
.search-popup-input button {
  border: none; background: var(--primary);
  color: #fff; padding: 0 20px;  /* v46: 加大 16→20 跟 input 等高 */
  border-radius: 8px;
  font-size: 14px; cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.search-popup-input button:hover { background: var(--primary-hover); }
.search-popup-hint {
  font-size: 12px; color: var(--text-3);
  text-align: center;
}

/* 播放页 (fullPlayer) 重排: 左 cover, 中歌词, 底控件, 顶搜索源+关闭 */
.full-player {
  position: fixed; inset: 0; z-index: 200;
  background: #ffffff !important;
  display: flex; flex-direction: column;
  padding: 56px 24px 24px;
  gap: 16px;
  overflow: hidden;
}
.full-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  background: rgba(0,0,0,.04);
  color: var(--text-2);
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none;
  z-index: 20;
  transition: all .15s;
}
.full-close:hover { background: rgba(0,0,0,.08); transform: scale(1.05); }
.full-close svg { width: 18px; height: 18px; }

.full-src-badge {
  position: absolute;
  top: 18px; left: 24px;
  font-size: 12px; color: var(--text-3);
  background: rgba(0,0,0,.04);
  padding: 4px 10px;
  border-radius: 999px;
}

/* 2026-08-24 v47: 播放页频谱 跟主站 .music-spectrum 完全一致
   直接用同样的样式 (position: absolute 而非 fixed, 因为在 fullPlayer 内)
   颜色/高度/宽度/gap 跟主页一字不差 */
.full-spectrum {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 67.5px;
  pointer-events: none;
  user-select: none;
  background: transparent !important;
  display: block;
  opacity: 0.5;
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
}
.full-player.full-playing .full-spectrum { opacity: 0.6; }
.full-main {
  flex: 1; min-height: 0;
  display: flex; align-items: center; gap: 32px;
  z-index: 2;
}
.full-left {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.full-right {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.cover-lg {
  width: 200px; height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #F0F2F5, #E5E5E5);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  animation: ctrlCoverSpin 24s linear infinite;
}
.cover-lg.paused { animation-play-state: paused; }
.cover-lg img { width: 100%; height: 100%; object-fit: cover; }
.cover-lg .placeholder { font-size: 64px; color: var(--text-4); }
@keyframes ctrlCoverSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.song-name-lg {
  font-size: 22px;
  color: var(--text);
  font-weight: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.song-artist-lg {
  font-size: 14px;
  color: var(--text-3);
  font-weight: normal;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-bottom: 4px;
}
.lyric-box-lg {
  flex: 1; min-height: 0;
  overflow: hidden; position: relative; text-align: center;
  font-size: 14px; line-height: 2;
  color: var(--text-3);
}
.lyric-box-lg::before, .lyric-box-lg::after {
  content: ''; position: absolute; left: 0; right: 0; height: 24px; z-index: 2; pointer-events: none;
}
.lyric-box-lg::before { top: 0; background: linear-gradient(to bottom, white, rgba(255,255,255,0)); }
.lyric-box-lg::after { bottom: 0; background: linear-gradient(to top, white, rgba(255,255,255,0)); }
.lyric-track { position: absolute; left: 0; right: 0; transition: transform .4s ease; padding: 40px 0; }
.lyric-line { padding: 4px 8px; transition: all .3s; }
.lyric-line.active { color: var(--primary); font-size: 16px; font-weight: normal; }

.full-bottom {
  flex: 0 0 auto;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 2;
}
.full-bottom .progress-row { margin-bottom: 0; }
.full-bottom .ctrl-row { justify-content: center; gap: 24px; }
.full-bottom .ctrl-row .ctrl-btn { width: 48px; height: 48px; font-size: 22px; }
.full-bottom .ctrl-row .ctrl-btn.play { width: 64px; height: 64px; font-size: 26px; }
