:root {
  --bg: #0e1016;
  --bg2: #141824;
  --card: #191e2c;
  --card2: #1f2536;
  --line: #262d40;
  --fg: #eef0f6;
  --fg-dim: #9aa3b8;
  --fg-faint: #6b7386;
  --accent: #ec4141;
  --accent2: #ff7a5c;
  --accent-grad: linear-gradient(135deg, #ff5f6d, #ec4141);
  --hl: #ffd76e;
  --radius: 14px;
  --pb-h: 96px;
  --scrollbar: #2a3045;
  --topbar-bg: rgba(14,16,22,.86);
  --input-focus-bg: #171b28;
  --playerbar-bg: rgba(16,19,28,.92);
  --bar-track: #2a3045;
  --bar-loaded: #3a4260;
  --wash: rgba(255,255,255,.08);
  --toast-bg: rgba(30,34,48,.95);
  --tabbar-bg: rgba(24,28,42,.72);
  --caps-song-bg: rgba(24,28,42,.45);
  --tabbar-inset: rgba(255,255,255,.07);
  --w-rest: rgba(238,240,246,.55);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scrollbar-color: var(--scrollbar) transparent; }
body {
  font-family: system-ui, -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  background-image: radial-gradient(1000px 500px at 80% -10%, rgba(236,65,65,.08), transparent 60%),
                    radial-gradient(800px 400px at 0% 110%, rgba(90,120,255,.05), transparent 60%);
}
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
svg[hidden] { display: none; }
img { display: block; }
input { font-family: inherit; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 980px; margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; gap: 22px;
}
.logo { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: .5px; flex-shrink: 0; cursor: pointer; user-select: none; }
.searchbox {
  flex: 1; max-width: 460px; position: relative;
  display: flex; align-items: center;
}
.ico-search { position: absolute; left: 13px; color: var(--fg-faint); pointer-events: none; }
.searchbox input {
  width: 100%; height: 40px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--bg2);
  color: var(--fg); padding: 0 38px 0 40px; font-size: 14px; outline: none;
  transition: border-color .2s, background .2s;
}
.searchbox input:focus { border-color: var(--accent); background: var(--input-focus-bg); }
.searchbox input::placeholder { color: var(--fg-faint); }
.clear-btn {
  position: absolute; right: 8px; width: 24px; height: 24px; border-radius: 50%;
  color: var(--fg-faint); font-size: 12px; display: none; align-items: center; justify-content: center;
}
.clear-btn:hover { color: var(--fg); background: var(--card2); }
.searchbox.has-text .clear-btn { display: flex; }

/* ---------- 独立页面容器：底部栏四个标签页各自为完全独立的界面 ----------
   每个页面是独立的全屏滚动容器：滚动位置、内容状态互不影响，互不嵌套。 */
.page {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 1;
}
.page[hidden] { display: none !important; }

/* ---------- 列表 ---------- */
.main { max-width: 980px; margin: 0 auto; padding: 16px 18px calc(var(--pb-h) + 30px); }
.list-head { display: flex; align-items: baseline; gap: 12px; margin: 8px 2px 14px; }
.list-head h2 { font-size: 21px; }
.list-sub { font-size: 12px; color: var(--fg-faint); }
.song-list { display: flex; flex-direction: column; gap: 6px; }

.song-row {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: var(--radius);
  cursor: pointer; transition: background .15s;
  position: relative;
}
.song-row:hover { background: var(--card); }
.song-row.playing { background: rgba(236,65,65,.10); }
.song-rank {
  width: 30px; text-align: center; font-size: 15px; font-weight: 700;
  color: var(--fg-faint); font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.song-rank.top1 { color: #ff4d4f; } .song-rank.top2 { color: #ff9a3c; } .song-rank.top3 { color: #ffc53d; }
.song-cover {
  width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  background: var(--card2);
}
.song-meta { flex: 1; min-width: 0; }
.song-title { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row.playing .song-title { color: var(--accent2); }
.song-title .vip {
  display: inline-block; font-size: 10px; color: #ffb02e; border: 1px solid #ffb02e;
  border-radius: 4px; padding: 0 4px; margin-left: 6px; vertical-align: 2px; font-weight: 400;
}
.song-artist { font-size: 12.5px; color: var(--fg-dim); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-dur { font-size: 12.5px; color: var(--fg-faint); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.eq-anim { display: none; align-items: flex-end; gap: 2px; height: 14px; width: 16px; flex-shrink: 0; }
.song-row.playing .eq-anim { display: flex; }
.song-row.playing .song-dur { display: none; }
.eq-anim i { width: 3px; background: var(--accent2); border-radius: 1px; animation: eq 0.9s ease-in-out infinite; }
.eq-anim i:nth-child(2) { animation-delay: .25s; } .eq-anim i:nth-child(3) { animation-delay: .5s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 14px; } }
.song-row.playing.paused .eq-anim i { animation-play-state: paused; }

.skeleton { display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.skeleton .sk {
  height: 62px; border-radius: var(--radius);
  background: linear-gradient(90deg, var(--card) 25%, var(--card2) 50%, var(--card) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.empty { text-align: center; padding: 70px 0; }
.empty-title { font-size: 16px; color: var(--fg-dim); }
.empty-sub { font-size: 13px; color: var(--fg-faint); margin-top: 8px; }

/* ---------- 队列面板 ---------- */
.queue-panel { position: fixed; inset: 0; z-index: 120; }
.qp-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.qp-sheet {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: min(560px, 100%); height: 68vh;
  background: var(--bg2); border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column;
  animation: sheetUp .25s ease;
  box-shadow: 0 -10px 40px rgba(0,0,0,.5);
}
@keyframes sheetUp { from { transform: translate(-50%, 100%); } }
.qp-head {
  display: flex; align-items: center; gap: 10px; padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600;
}
.qp-count { font-size: 12px; color: var(--fg-faint); font-weight: 400; }
.qp-close { margin-left: auto; color: var(--fg-faint); font-size: 14px; width: 30px; height: 30px; border-radius: 50%; }
.qp-close:hover { color: var(--fg); background: var(--card2); }
.qp-list { flex: 1; overflow-y: auto; padding: 10px 12px 20px; }
.qp-row {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer;
}
.qp-row:hover { background: var(--card); }
.qp-row.current .qp-title { color: var(--accent2); }
.qp-idx { width: 22px; text-align: center; font-size: 12px; color: var(--fg-faint); font-variant-numeric: tabular-nums; }
.qp-meta { flex: 1; min-width: 0; }
.qp-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-artist { font-size: 12px; color: var(--fg-dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-dur { font-size: 12px; color: var(--fg-faint); }

/* ---------- toast / loading ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--pb-h) + 24px); transform: translateX(-50%);
  z-index: 200; background: var(--toast-bg); border: 1px solid var(--line);
  color: var(--fg); font-size: 13.5px; padding: 10px 20px; border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5); max-width: 82vw; text-align: center;
  animation: toastIn .25s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
.empty-retry {
  margin-top: 18px; padding: 8px 26px; border-radius: 18px;
  background: var(--accent); color: #fff; border: none; font-size: 14px;
  cursor: pointer;
}
.empty-retry:active { transform: scale(.96); }

/* ---------- 明暗模式（跟随系统）----------
 * 深色为默认（:root），浅色由 prefers-color-scheme: light 覆盖变量实现，
 * 系统切换时浏览器自动实时生效，无需重载。
 */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f5f9;
    --bg2: #eceef4;
    --card: #ffffff;
    --card2: #e6e9f2;
    --line: #dfe3ec;
    --fg: #23293a;
    --fg-dim: #5c6579;
    --fg-faint: #9aa2b4;
    --scrollbar: #c5cad8;
    --topbar-bg: rgba(255,255,255,.88);
    --input-focus-bg: #ffffff;
    --playerbar-bg: rgba(255,255,255,.92);
    --bar-track: #e3e6ef;
    --bar-loaded: #c9cfdd;
    --wash: rgba(0,0,0,.06);
    --toast-bg: rgba(255,255,255,.97);
    --tabbar-bg: rgba(255,255,255,.74);
    --caps-song-bg: rgba(255,255,255,.5);
    --tabbar-inset: rgba(255,255,255,.6);
    --w-rest: rgba(60,66,82,.55);
  }
}

/* ---------- 主页榜单入口（多榜单卡片）----------
 * 全部使用主题变量，明暗模式自动跟随，无需媒体查询。
 */
.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .board-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.board-card {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden; cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.board-card:hover { border-color: var(--accent); }
.board-card:active { transform: scale(.97); }
.board-cover {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  background: var(--card2);
}
.board-info { padding: 10px 12px 11px; }
.board-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-freq { font-size: 11.5px; color: var(--fg-faint); margin-top: 3px; }

/* ---------- 榜单 / 搜索 详情头部（专辑式）---------- */
.detail-head {
  display: flex; align-items: center; gap: 14px;
  margin: 8px 2px 16px;
}
.back-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line); color: var(--fg-dim);
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s;
}
.back-btn:hover { color: var(--fg); border-color: var(--accent); }
.detail-cover {
  width: 86px; height: 86px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
  background: var(--card2); box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.detail-meta { min-width: 0; }
.detail-meta h2 { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ======================================================================
 * 大改版新增样式（2026-11-11）：悬浮底部栏、胶囊、歌单/最近播放/我的
 * ====================================================================== */

/* ---------- 高斯模糊悬浮底部栏（5 图标） ---------- */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  width: max-content;
  max-width: calc(100% - 24px);
  height: 62px; padding: 0 12px; gap: 10px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--tabbar-bg);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow: 0 12px 44px rgba(0,0,0,.38), inset 0 1px 0 var(--tabbar-inset);
}
.tab {
  width: 58px; height: 54px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-faint); transition: color .18s, transform .15s;
}
.tab:active { transform: scale(.88); }
.tab.active { color: var(--accent2); }
.tab-cover { position: relative; width: 54px; height: 54px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.tab-cover img {
  width: 47px; height: 47px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--line); background: var(--card2);
  display: block; transition: transform .25s;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; -webkit-user-drag: none;
}
.tab-cover .note-ico {
  position: absolute; inset: 0; margin: auto; width: 47px; height: 47px; border-radius: 50%;
  background: var(--card2); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--fg-faint);
}
.tab-cover.has-cover .note-ico { display: none; }
.tab-cover.playing img { animation: coverSpin 16s linear infinite; }
@keyframes coverSpin { to { transform: rotate(360deg); } }

/* ---------- 长按胶囊（歌名 + 上一首/播放暂停/下一首） ---------- */
.capsule-wrap {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 95;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
  transform: translateX(-50%) translateY(8px);
}
.capsule-wrap.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.caps-song {
  max-width: 74vw; padding: 5px 18px; border-radius: 999px;
  background: var(--caps-song-bg); border: 1px solid var(--line);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  font-size: 13px; color: var(--fg); cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 8px 28px rgba(0,0,0,.32);
}
.caps-ctrl {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 2px;
  width: max-content; padding: 4px 12px; border-radius: 999px;
  background: var(--tabbar-bg); border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 10px 34px rgba(0,0,0,.36);
}
.caps-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-dim); transition: color .15s, transform .12s, background .15s;
}
.caps-btn:active { transform: scale(.86); }
.caps-btn svg { width: 22px; height: 22px; }
.caps-btn.caps-main svg { width: 25px; height: 25px; }
.caps-btn.caps-main { color: #000; background: rgba(255,255,255,.92); }
/* 播放/暂停图标状态：is-playing 时显示暂停，未播放显示播放 */
.caps-btn.caps-main .ico-pause { display: none; }
.caps-btn.caps-main.is-playing .ico-play { display: none; }
.caps-btn.caps-main.is-playing .ico-pause { display: block; }

/* ---------- 歌单页 ---------- */
.pl-import { display: flex; gap: 10px; margin: 4px 2px 18px; }
.pl-import input {
  flex: 1; min-width: 0; height: 42px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--bg2);
  color: var(--fg); padding: 0 14px; font-size: 14px; outline: none;
  transition: border-color .2s, background .2s;
}
.pl-import input:focus { border-color: var(--accent); background: var(--input-focus-bg); }
.pl-import input::placeholder { color: var(--fg-faint); }
.pl-import button {
  flex-shrink: 0; padding: 0 20px; height: 42px; border-radius: 13px; border: none;
  background: var(--accent-grad); color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: 0 4px 16px rgba(236,65,65,.32);
}
.pl-import button:active { transform: scale(.95); }
.pl-import button:disabled { opacity: .55; }
.pl-card { position: relative; }
.pl-del {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 11px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: background .15s;
}
.pl-del:hover { background: rgba(220,38,38,.85); }

/* ---------- 最近播放 ---------- */
.recent-time { font-size: 11px; color: var(--fg-faint); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 我的 ---------- */
.auth-cards { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 420px; margin: 6px auto 0; }
@media (min-width: 720px) { .auth-cards { grid-template-columns: 1fr 1fr; } }
.auth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.auth-card h3 { font-size: 16px; margin-bottom: 4px; }
.auth-card .auth-sub { font-size: 12px; color: var(--fg-faint); margin-bottom: 16px; }
.auth-card input {
  width: 100%; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg2);
  color: var(--fg); padding: 0 13px; font-size: 14px; outline: none; margin-bottom: 12px;
  transition: border-color .2s;
}
.auth-card input:focus { border-color: var(--accent); }
.auth-card input::placeholder { color: var(--fg-faint); }
.auth-card .auth-submit {
  width: 100%; height: 42px; border-radius: 12px; border: none;
  background: var(--accent-grad); color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: 0 4px 16px rgba(236,65,65,.32);
}
.auth-card .auth-submit:active { transform: scale(.97); }
.auth-card .auth-submit:disabled { opacity: .55; }
.user-box {
  max-width: 420px; margin: 6px auto 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.user-head { display: flex; align-items: center; gap: 14px; }
.user-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-grad); color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.user-name { font-size: 18px; font-weight: 700; }
.user-sub { font-size: 12px; color: var(--fg-faint); margin-top: 3px; }
.user-stats { display: flex; gap: 12px; margin: 18px 0; }
.user-stat {
  flex: 1; text-align: center; padding: 14px 6px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
}
.user-stat b { display: block; font-size: 20px; color: var(--accent2); }
.user-stat span { font-size: 12px; color: var(--fg-faint); }
.user-actions { display: flex; gap: 10px; }
.user-actions button {
  flex: 1; height: 42px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--fg); transition: all .15s;
}
.user-actions button:active { transform: scale(.97); }
.user-actions .primary {
  background: var(--accent-grad); border: none; color: #fff;
  box-shadow: 0 4px 16px rgba(236,65,65,.32);
}
.user-actions button:disabled { opacity: .55; }
.sync-note { font-size: 12px; color: var(--fg-faint); margin-top: 12px; line-height: 1.6; }

/* ---------- 播放页承载层（iframe 常驻） ---------- */
.player-host {
  position: fixed; inset: 0; z-index: 300;
  background: #000;
  opacity: 0; pointer-events: none;
  transition: opacity .24s ease;
}
.player-host.open { opacity: 1; pointer-events: auto; }
.player-host iframe { width: 100%; height: 100%; border: 0; display: block; background: #101014; }

/* ---------- 歌单页：独立界面 ---------- */
.pl-view { padding-top: 6px; }
.pl-hero {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px 20px;
  margin: 4px 0 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(236,65,65,.16), rgba(255,122,92,.08) 60%, transparent);
  border: 1px solid var(--line);
}
.pl-hero-badge {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(236,65,65,.35);
}
.pl-hero h2 { font-size: 21px; letter-spacing: .5px; }
.pl-hero-sub { font-size: 12px; color: var(--fg-faint); margin-top: 3px; display: block; }
.pl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .pl-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.pl-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--card2); cursor: pointer; aspect-ratio: 1;
  border: 1px solid var(--line);
  transition: transform .15s, border-color .15s;
}
.pl-card:hover { border-color: var(--accent); }
.pl-card:active { transform: scale(.97); }
.pl-card .pl-cover {
  width: 100%; height: 100%; object-fit: cover; display: block; background: var(--card2);
}
.pl-card .pl-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  color: #fff;
}
.pl-card .pl-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-card .pl-count { font-size: 11.5px; color: rgba(255,255,255,.72); margin-top: 2px; }

/* ---------- 歌单详情：独立界面 ---------- */
.pl-detail { padding-top: 6px; }
.pld-head { margin: 8px 0 18px; }
.pld-cover-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 22px 16px 18px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(0,0,0,.16);
}
.pld-cover {
  width: min(56vw, 210px); aspect-ratio: 1; object-fit: cover;
  border-radius: 16px; background: var(--card2);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.pld-meta { text-align: center; min-width: 0; max-width: 100%; }
.pld-meta h2 { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pld-sub { font-size: 12px; color: var(--fg-faint); margin-top: 4px; display: block; }

/* ---------- 队列面板封面 ---------- */
.qp-cover {
  width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  background: var(--card2); border: 1px solid var(--line);
}

/* ---------- 响应式补充 ---------- */
@media (max-width: 760px) {
  .tabbar { max-width: calc(100% - 20px); height: 58px; gap: 4px; padding: 0 8px; }
  .tab { width: 48px; }
  .tab-cover { width: 50px; height: 50px; }
  .capsule-wrap { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
