/* /www/wwwroot/dj.duoz.cn/assets/css/theme-red.css
   DJ 夜店风配色：深墨底 + 橙红霓虹光
   加载在 app.css 之后，仅覆盖色彩与背景，不改布局 */

:root {
  --bg: #0f0709;
  --bg-soft: #180c10;
  --bg-card: #1f1015;
  --bg-elev: #2a161c;
  --line: #3d2028;
  --text: #fdf6f2;
  --text-dim: #d6b6ae;
  --text-mute: #9c7a74;
  --primary: #ff5a1f;
  --primary-2: #ff8a3d;
  --accent: #ffb300;
  --danger: #ff6b6b;
  --shadow: 0 14px 40px rgba(0, 0, 0, .6);
}

html, body {
  background:
    radial-gradient(90% 55% at 8% 0%, rgba(255, 90, 31, .22), transparent 62%),
    radial-gradient(70% 45% at 96% 6%, rgba(255, 179, 0, .14), transparent 58%),
    radial-gradient(80% 50% at 50% 100%, rgba(255, 60, 20, .1), transparent 60%),
    #0f0709;
  background-attachment: fixed;
  color: var(--text);
}

/* 顶部导航：毛玻璃 + 橙色底线 */
.topbar {
  background: rgba(15, 7, 9, .78);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 90, 31, .3);
  box-shadow: 0 1px 24px rgba(255, 60, 20, .14);
}
.brand-text {
  background: linear-gradient(92deg, #ff5a1f, #ffb300);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-link { color: var(--text-dim); }
.nav-link:hover { color: #fff; background: rgba(255, 90, 31, .14); }
.nav-link.active {
  background: linear-gradient(92deg, #ff5a1f, #ff8a3d);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 90, 31, .4);
}

.search-box input {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 90, 31, .24);
  color: var(--text);
}
.search-box input::placeholder { color: var(--text-mute); }
.search-box input:focus {
  background: rgba(255, 90, 31, .1);
  border-color: #ff5a1f;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .16);
}

/* Hero：大光斑霓虹 */
.hero {
  background:
    radial-gradient(100% 130% at 6% -10%, rgba(255, 90, 31, .5), transparent 58%),
    radial-gradient(90% 110% at 98% 0%, rgba(255, 179, 0, .34), transparent 55%),
    linear-gradient(155deg, #2a1013, #170a0d);
  border: 1px solid rgba(255, 90, 31, .34);
  box-shadow: 0 20px 60px rgba(255, 60, 20, .16), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.hero-eyebrow { color: #ffb300; letter-spacing: 1.2px; font-weight: 600; }
.hero-title { color: #fff; }
.hero-title em {
  background: linear-gradient(92deg, #ff5a1f, #ffb300);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--text-dim); }
.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
}
.hero-card:hover {
  background: rgba(255, 90, 31, .16);
  border-color: rgba(255, 90, 31, .6);
  box-shadow: 0 10px 26px rgba(255, 60, 20, .22);
}
.hero-card-play { color: #ffb300; }

/* 卡片 */
.card {
  background: linear-gradient(180deg, #221116, #180c10);
  border: 1px solid var(--line);
}
.card:hover {
  border-color: rgba(255, 90, 31, .7);
  box-shadow: 0 14px 34px rgba(255, 60, 20, .2), var(--shadow);
  transform: translateY(-4px);
}
.card-cover { background: #1a0d11; }
.card-play {
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  box-shadow: 0 8px 24px rgba(255, 90, 31, .55);
}
.card.is-playing .card-play { background: linear-gradient(135deg, #ffb300, #ffd166); color: #241000; }
.card-title { color: #fff; }
.card-title:hover { color: #ffb300; }
.card-artist { color: var(--text-dim); }
.card-meta { color: var(--text-mute); }

.badge-hot { background: linear-gradient(92deg, #ff5a1f, #ffb300); color: #241000; font-weight: 800; }
.badge-dur { background: rgba(0, 0, 0, .68); backdrop-filter: blur(4px); }
.badge-admin { background: rgba(255, 90, 31, .22); color: #ffb38a; }

/* 分类 chip */
.chip {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line);
  color: var(--text-dim);
}
.chip:hover {
  color: #fff;
  border-color: rgba(255, 90, 31, .7);
  background: rgba(255, 90, 31, .16);
  box-shadow: 0 4px 16px rgba(255, 60, 20, .2);
}

/* 按钮 */
.btn-primary {
  background: linear-gradient(92deg, #ff5a1f, #ff8a3d);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 90, 31, .42);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 10px 30px rgba(255, 90, 31, .55); }
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 90, 31, .7); color: #fff; background: rgba(255, 90, 31, .12); }
.btn-danger { background: rgba(255, 107, 107, .14); color: #ff9c9c; border-color: rgba(255, 107, 107, .4); }
.btn-danger:hover { background: #ff6b6b; color: #fff; }

/* 表单 / 面板 */
.upload-form, .auth-card, .stat-card, .table-wrap, .profile-card {
  background: linear-gradient(180deg, #1e1015, #170b0f);
  border-color: var(--line);
}
.field { color: var(--text-dim); }
.field input[type="text"], .field input[type="password"], .field input[type="number"],
.field select, .field textarea,
.filter-bar input, .filter-bar select {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus,
.filter-bar input:focus, .filter-bar select:focus {
  border-color: #ff5a1f;
  background: rgba(255, 90, 31, .08);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, .14);
}

/* 表格 */
.table-wrap { background: #170b0f; }
.table th { background: rgba(255, 90, 31, .1); color: #ffb38a; }
.table th, .table td { border-bottom-color: var(--line); }
.table tr:hover td { background: rgba(255, 90, 31, .06); }
.table a:hover { color: #ffb300; }
.thumb { background: #1a0d11; }
.dot-on { color: #ffb300; }

/* 详情页 */
.detail-title { color: #fff; }
.detail-artist { color: var(--text-dim); }
.detail-back { color: var(--text-dim); }
.detail-back:hover { color: #ffb300; }
.tag { background: rgba(255, 255, 255, .05); border-color: var(--line); color: var(--text-dim); }
.tag-cat { background: rgba(255, 90, 31, .18); color: #ffb38a; border-color: rgba(255, 90, 31, .45); }
.tag-link:hover { color: #ffb300; border-color: #ffb300; }
.detail-stats { color: var(--text-mute); }
.detail-desc { color: var(--text-dim); border-top-color: var(--line); }
.section-more:hover { color: #ffb300; }

/* 个人中心 */
.profile-card {
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(255, 90, 31, .28), transparent 60%),
    linear-gradient(140deg, #241116, #160a0e);
  border-color: rgba(255, 90, 31, .28);
}
.profile-avatar { background: linear-gradient(135deg, #ff5a1f, #ffb300); }
.profile-sub { color: var(--text-dim); }
.profile-stats { color: var(--text-dim); }
.auth-title { color: #fff; }
.auth-sub { color: var(--text-dim); }
.auth-foot a { color: #ffb300; }

/* 播放器 / TabBar */
.player {
  background: rgba(17, 8, 11, .96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 90, 31, .26);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
}
.player-cover { background: #1a0d11; }
.player-title { color: #fff; }
.player-title:hover { color: #ffb300; }
.player-artist { color: var(--text-dim); }
.p-btn { color: var(--text-dim); }
.p-btn:hover { background: rgba(255, 90, 31, .16); color: #ffb300; }
.p-play { background: linear-gradient(135deg, #ff5a1f, #ff8a3d); color: #fff; box-shadow: 0 6px 20px rgba(255, 90, 31, .5); }
.p-time { color: var(--text-mute); }
.p-seek, .p-volume { background: rgba(255, 255, 255, .12); }
.p-seek::-webkit-slider-thumb, .p-volume::-webkit-slider-thumb {
  background: #ffb300; box-shadow: 0 0 0 3px rgba(255, 179, 0, .26);
}
.p-seek::-moz-range-thumb, .p-volume::-moz-range-thumb { background: #ffb300; }

.tabbar {
  background: rgba(17, 8, 11, .97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 90, 31, .2);
}
.tab { color: var(--text-mute); }
.tab.active { color: #ffb300; }

/* Toast */
.toast {
  background: rgba(36, 16, 20, .98);
  border: 1px solid rgba(255, 90, 31, .4);
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .55);
}
.toast.err { border-color: rgba(255, 107, 107, .6); color: #ffc9c9; }

/* 其他 */
.error-code { background: linear-gradient(92deg, #ff5a1f, #ffb300); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-text { color: var(--text-dim); }
.empty { color: var(--text-mute); }
.account-sub { color: #fff; }

/* ============================================================
   酷狗 mixsong 风格：歌曲详情页 / 全站骨架
   ============================================================ */

/* ---------- 歌曲详情 Hero ---------- */
.kg-hero {
  position: relative;
  overflow: hidden;
  margin: 0 -16px;
  padding: 20px 16px 26px;
}
@media (min-width: 900px) {
  .kg-hero { margin: 0 -24px; padding: 40px 24px 48px; }
}

/* 封面高斯模糊大背景（酷狗的灵魂） */
.kg-hero-glow {
  position: absolute;
  inset: -20% -10%;
  background-size: cover;
  background-position: center;
  filter: blur(60px) saturate(160%);
  opacity: .38;
  transform: scale(1.15);
  pointer-events: none;
  z-index: 0;
}
.kg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,7,9,.28) 0%, rgba(15,7,9,.72) 62%, #0f0709 100%);
  pointer-events: none;
  z-index: 1;
}
.kg-hero-body {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
@media (min-width: 780px) {
  .kg-hero-body {
    flex-direction: row;
    align-items: flex-start;
    gap: 44px;
    text-align: left;
  }
}

/* 封面 */
.kg-cover-wrap { position: relative; flex: none; }
.kg-cover {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  background: #1a0d11;
}
@media (min-width: 780px) {
  .kg-cover { width: 300px; height: 300px; border-radius: 20px; }
}
.kg-cover-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  box-shadow: 0 10px 28px rgba(255, 90, 31, .6);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: .2s;
}
.kg-cover-wrap:hover .kg-cover-play { opacity: 1; transform: translateY(0); }
@media (hover: none) { .kg-cover-play { opacity: 1; transform: none; } }

/* 信息区 */
.kg-info { flex: 1; min-width: 0; }
.kg-back {
  display: inline-block;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.kg-back:hover { color: #ffb300; }
.kg-title {
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -.3px;
}
@media (min-width: 780px) { .kg-title { font-size: 34px; } }
.kg-artist { font-size: 15px; color: var(--text-dim); margin: 0 0 14px; }

.kg-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.kg-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.kg-tag-cat { background: rgba(255, 90, 31, .18); color: #ffb38a; border-color: rgba(255, 90, 31, .45); }
.kg-tag-link:hover { color: #ffb300; border-color: #ffb300; }

.kg-stats {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 20px;
}
@media (max-width: 779px) { .kg-stats { justify-content: center; } }
.kg-stats b { color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }

.kg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 779px) { .kg-actions { justify-content: center; } }
.kg-btn {
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: .18s;
}
.kg-btn:hover { border-color: rgba(255, 90, 31, .7); background: rgba(255, 90, 31, .14); color: #fff; }
.kg-btn-main {
  background: linear-gradient(92deg, #ff5a1f, #ff8a3d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 90, 31, .42);
}
.kg-btn-main:hover { filter: brightness(1.1); background: linear-gradient(92deg, #ff5a1f, #ff8a3d); }

.kg-desc {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 14px;
}

/* ---------- 歌词区 ---------- */
.kg-lyric-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 26px;
}
.kg-lyric-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.kg-lyric-title { font-size: 16px; margin: 0; color: #fff; }
.kg-lyric-hint { font-size: 12px; color: var(--text-mute); }

.kg-lyric {
  max-height: 420px;
  overflow-y: auto;
  padding: 18px 0;
  text-align: center;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.kg-lyric::-webkit-scrollbar { width: 4px; }
.kg-lyric::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 999px; }
.kg-lyric-line {
  font-size: 15px;
  line-height: 2.2;
  color: var(--text-mute);
  transition: .25s;
  padding: 1px 0;
}
.kg-lyric-line.active {
  color: #ffb300;
  font-size: 17px;
  font-weight: 600;
  transform: scale(1.02);
}
.kg-lyric-empty {
  color: var(--text-mute);
  font-size: 14px;
  padding: 40px 0;
  margin: 0;
}

/* ---------- 移动端强化（酷狗 App 手感） ---------- */
@media (max-width: 899px) {
  /* 曲库卡片：两列，圆角更大，间距更紧凑 */
  .grid { gap: 12px; }
  .card { border-radius: 12px; border-color: rgba(255, 255, 255, .07); background: linear-gradient(180deg, #1e1015, #150a0e); }
  .card:hover { transform: none; }
  .card-body { padding: 9px 10px 11px; }
  .card-title { font-size: 13.5px; }
  .card-artist { font-size: 12px; }
  .card-meta { font-size: 11px; margin-top: 5px; }

  /* 顶栏更紧凑 */
  .topbar-inner { height: 54px; padding: 0 14px; gap: 12px; }
  .brand-text { font-size: 16px; }
  .brand-mark { font-size: 20px; }
  .search-box { max-width: none; }
  .search-box input { height: 34px; font-size: 13px; }

  /* 内容区收紧 */
  .site-main { padding: 0 14px; }
  .section { padding: 20px 0 4px; }
  .section-title { font-size: 17px; }

  /* Hero 区收缩 */
  .hero { border-radius: 16px; margin: 12px 0 6px; }
  .hero-inner { padding: 22px 16px 18px; }
  .hero-title { font-size: 23px; }
  .hero-sub { font-size: 13px; margin-bottom: 16px; }
  .hero-actions .btn { height: 40px; font-size: 14px; padding: 0 18px; }
  .hero-cards { margin-top: 16px; }
  .hero-card { padding: 6px 10px 6px 6px; }
  .hero-card img { width: 42px; height: 42px; }

  /* 分类 chip */
  .chip { height: 33px; padding: 0 14px; font-size: 13px; }

  /* 筛选栏竖排更好点 */
  .filter-bar { gap: 8px; }
  .filter-bar input, .filter-bar select { height: 38px; font-size: 13px; }

  /* 详情页移动适配 */
  .kg-hero { padding: 16px 14px 22px; }
  .kg-hero-glow { filter: blur(42px) saturate(150%); opacity: .34; }
  .kg-cover { width: 176px; height: 176px; border-radius: 14px; }
  .kg-title { font-size: 22px; }
  .kg-artist { font-size: 14px; }
  .kg-actions { width: 100%; }
  .kg-btn { height: 40px; padding: 0 18px; font-size: 13.5px; }
  .kg-lyric { max-height: 320px; padding: 12px 0; }
  .kg-lyric-line { font-size: 14px; line-height: 2; }
  .kg-lyric-line.active { font-size: 16px; }

  /* 播放器：移动端加大播放键 */
  .player { height: 66px; }
  .p-play { width: 44px; height: 44px; font-size: 15px; }
  .player-cover { width: 42px; height: 42px; }

  /* TabBar 图标稍大 */
  .tab-icon { font-size: 19px; }
  .tab-label { font-size: 10.5px; }
}

/* ============================================================
   歌词编辑弹窗
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #241116, #170a0e);
  border: 1px solid rgba(255, 90, 31, .32);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.modal-head h3 { margin: 0; font-size: 16px; color: #fff; font-weight: 700; }
.modal-x {
  width: 30px; height: 30px;
  border: 0; border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--text-dim);
  font-size: 14px; cursor: pointer;
}
.modal-x:hover { background: rgba(255, 90, 31, .2); color: #fff; }

.modal-body { padding: 16px 20px 8px; overflow-y: auto; }
.modal-tip { font-size: 12.5px; color: var(--text-mute); margin: 0 0 10px; line-height: 1.7; }
.modal-tip code {
  background: rgba(255, 90, 31, .16);
  color: #ffb38a;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}
#lyricInput {
  width: 100%;
  min-height: 220px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.9;
  resize: vertical;
}
#lyricInput:focus { outline: none; border-color: #ff5a1f; box-shadow: 0 0 0 3px rgba(255, 90, 31, .16); }
.modal-count { font-size: 12px; color: var(--text-mute); text-align: right; padding: 6px 0 0; }

.modal-foot {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* 上传表单里的歌词输入 */
.field-full { display: block; grid-column: 1 / -1; }
.field-full textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.8;
  resize: vertical;
}
.field-full textarea:focus { outline: none; border-color: #ff5a1f; background: rgba(255, 90, 31, .08); box-shadow: 0 0 0 3px rgba(255, 90, 31, .14); }

/* 纯文本歌词居中 */
.kg-lyric.is-plain .kg-lyric-line { color: var(--text-dim); }
.kg-lyric.is-plain .kg-lyric-line:hover { color: #fff; }

@media (max-width: 899px) {
  .modal { padding: 12px; align-items: flex-end; }
  .modal-panel { max-height: 90vh; border-radius: 18px 18px 12px 12px; }
  #lyricInput { min-height: 180px; font-size: 13px; }
}

/* ============================================================
   酷狗移动端首页版式：大轮播 + 快捷入口 + 胶囊分类 + 榜单
   ============================================================ */

/* 区块通用 */
.kg-section { padding: 18px 0 6px; }
.kg-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.kg-section-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: #fff;
  letter-spacing: -.2px;
}
.kg-section-more {
  font-size: 12.5px;
  color: var(--text-mute);
  padding: 4px 2px;
}
.kg-section-more:hover { color: #ffb300; }

/* ---------- 大轮播 ---------- */
.kg-banner {
  position: relative;
  margin: 0 -16px;
  overflow: hidden;
  border-radius: 0;
  background: #170a0e;
}
@media (min-width: 900px) {
  .kg-banner { margin: 16px auto 0; max-width: 1180px; border-radius: 18px; }
}
.kg-banner-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.kg-banner-item {
  position: relative;
  flex: 0 0 100%;
  height: 210px;
  overflow: hidden;
}
@media (min-width: 600px) { .kg-banner-item { height: 300px; } }
@media (min-width: 900px) { .kg-banner-item { height: 340px; } }

.kg-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}
.kg-banner-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,7,9,.9) 0%, rgba(15,7,9,.5) 46%, rgba(15,7,9,.14) 100%),
              linear-gradient(0deg, rgba(15,7,9,.94) 0%, transparent 58%);
}
.kg-banner-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  z-index: 2;
}
@media (min-width: 900px) { .kg-banner-info { left: 42px; bottom: 36px; max-width: 520px; } }

.kg-banner-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #241000;
  background: linear-gradient(92deg, #ffb300, #ffd166);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 9px;
}
.kg-banner-title {
  font-size: 21px;
  line-height: 1.28;
  margin: 0 0 5px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 900px) { .kg-banner-title { font-size: 30px; } }
.kg-banner-artist { font-size: 13px; color: var(--text-dim); margin: 0 0 13px; }

.kg-banner-play {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(92deg, #ff5a1f, #ff8a3d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 26px rgba(255, 90, 31, .5);
  cursor: pointer;
  transition: .18s;
}
.kg-banner-play:hover { filter: brightness(1.1); box-shadow: 0 10px 32px rgba(255, 90, 31, .62); }

.kg-banner-dots {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
@media (min-width: 900px) { .kg-banner-dots { right: 40px; bottom: 34px; } }
.kg-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: .25s;
}
.kg-dot.on { width: 18px; background: #ffb300; }

/* ---------- 快捷入口三连 ---------- */
.kg-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 14px 0 2px;
}
.kg-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
}
.kg-quick-btn:hover {
  border-color: rgba(255, 90, 31, .6);
  background: rgba(255, 90, 31, .13);
  color: #fff;
}
.kg-quick-icon { font-size: 15px; }

/* ---------- 胶囊分类横滑 ---------- */
.kg-chip-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.kg-chip-row::-webkit-scrollbar { display: none; }
.kg-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: .18s;
}
.kg-chip:hover {
  color: #fff;
  border-color: rgba(255, 90, 31, .7);
  background: rgba(255, 90, 31, .16);
}
.kg-chip-icon { font-size: 14px; }

/* ---------- 热门排行：大卡 + 列表 ---------- */
.kg-rank-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
@media (min-width: 700px) {
  .kg-rank-wrap { grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
}

.kg-rank-hero {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #1a0d11;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
@media (min-width: 700px) { .kg-rank-hero { aspect-ratio: 1 / 1; } }
.kg-rank-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.kg-rank-hero:hover img { transform: scale(1.05); }
.kg-rank-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,4,6,.92) 0%, rgba(10,4,6,.1) 52%, transparent 100%);
}
.kg-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(6px);
  padding: 3px 9px;
  border-radius: 999px;
}
.kg-rank-hero-info {
  position: absolute;
  left: 13px;
  right: 60px;
  bottom: 13px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kg-rank-hero-info strong {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kg-rank-hero-info small { font-size: 12px; color: var(--text-mute); }

.kg-rank-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  color: #fff;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(255, 90, 31, .55);
  cursor: pointer;
}
.kg-rank-play:hover { filter: brightness(1.12); }

.kg-rank-list { display: flex; flex-direction: column; gap: 2px; }
.kg-rank-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.kg-rank-row:hover { background: rgba(255, 90, 31, .1); }
.kg-rank-num {
  flex: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-mute);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.kg-rank-num.top { color: #ffb300; }
.kg-rank-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kg-rank-title {
  font-size: 14px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kg-rank-artist {
  font-size: 11.5px;
  color: var(--text-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kg-rank-plays {
  flex: none;
  font-size: 11.5px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 899px) {
  .kg-section { padding: 16px 0 4px; }
  .kg-section-title { font-size: 17px; }
  .kg-banner-item { height: 200px; }
  .kg-banner-title { font-size: 20px; }
  .kg-quick-btn { height: 44px; font-size: 13px; }
}

/* ============================================================
   曲库页（酷狗列表风格）：粘性筛选 + 胶囊 + 榜单行
   ============================================================ */

.kg-library-head {
  position: sticky;
  top: 54px;
  z-index: 40;
  margin: 0 -16px;
  padding: 10px 16px 8px;
  background: rgba(15, 7, 9, .92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .kg-library-head { top: 64px; margin: 0; border-radius: 0 0 16px 16px; padding: 14px 4px 10px; }
}

.kg-lib-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.kg-lib-title {
  font-size: 21px;
  font-weight: 800;
  margin: 0;
  color: #fff;
  letter-spacing: -.3px;
}
.kg-lib-count { font-size: 12px; color: var(--text-mute); }

/* 搜索行 */
.kg-lib-search { display: flex; gap: 8px; margin-bottom: 10px; }
.kg-lib-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.kg-lib-search-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  opacity: .6;
  pointer-events: none;
}
.kg-lib-input-wrap input {
  width: 100%;
  height: 38px;
  padding: 0 13px 0 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: .18s;
}
.kg-lib-input-wrap input::placeholder { color: var(--text-mute); }
.kg-lib-input-wrap input:focus {
  border-color: rgba(255, 90, 31, .75);
  background: rgba(255, 90, 31, .09);
}
.kg-lib-search-btn {
  flex: none;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(92deg, #ff5a1f, #ff8a3d);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s;
}
.kg-lib-search-btn:hover { filter: brightness(1.1); }

/* 胶囊选中态 */
.kg-chip.on {
  color: #241000;
  background: linear-gradient(92deg, #ffb300, #ffd166);
  border-color: transparent;
  font-weight: 700;
}
.kg-sort-row { margin-bottom: 8px; }
.kg-sort-row .kg-chip { height: 32px; padding: 0 16px; font-size: 13px; }
.kg-cat-row { padding-bottom: 4px; }

/* ---------- 榜单行 ---------- */
.kg-lib-body { padding-top: 8px; }
.kg-list { display: flex; flex-direction: column; gap: 2px; }

.kg-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 8px;
  border-radius: 12px;
  transition: background .15s;
}
.kg-row:hover { background: rgba(255, 255, 255, .05); }

.kg-row-cover {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--bg-elev);
}
.kg-row-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kg-row-hot {
  position: absolute;
  top: 3px;
  left: 3px;
  font-size: 8.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(92deg, #ff2d55, #ff5a1f);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: .3px;
}

.kg-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.kg-row-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kg-row-title:hover { color: #ffb300; }
.kg-row-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-mute);
  overflow: hidden;
}
.kg-row-artist, .kg-row-cat {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kg-row-dot { opacity: .5; }
.kg-row-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.kg-row-play {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 90, 31, .45);
  background: rgba(255, 90, 31, .14);
  color: #ffb300;
  font-size: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .18s;
}
.kg-row-play:hover {
  background: linear-gradient(135deg, #ff5a1f, #ff8a3d);
  border-color: transparent;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(255, 90, 31, .5);
}

@media (max-width: 899px) {
  .kg-lib-title { font-size: 19px; }
  .kg-row-cover { flex-basis: 52px; width: 52px; height: 52px; }
  .kg-row-title { font-size: 14px; }
  .kg-row-play { width: 36px; height: 36px; }
}


/* ============================================================
   酷狗手机版真实还原 v10（白底 / 蓝胶囊 / 大字号导航 / 10px 圆角卡）
   参考 https://m.kugou.com/ 实测计算样式
   ============================================================ */

/* body 白底 */
body.page-home {
  background: #fff !important;
  color: #000 !important;
}
body.page-home::before,
body.page-home::after { display: none !important; }
body.page-home main,
body.page-home .container {
  background: #fff !important;
  padding-top: 0 !important;
}

/* ---------- 顶栏：白底 + 蓝 logo + 两个胶囊按钮 ---------- */
body.page-home .topbar {
  background: #fff !important;
  border-bottom: 1px solid #f0f0f0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  height: 56px !important;
  padding: 0 15px !important;
}
body.page-home .topbar .brand-text {
  color: #000 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}
body.page-home .topbar a,
body.page-home .topbar .nav-link {
  color: #333 !important;
  font-size: 13px !important;
}
/* 搜索框：白底隐藏，改由导航下的搜索 */
body.page-home .topbar form,
body.page-home .topbar input[type="search"] {
  display: none !important;
}
/* 管理员按钮 → 蓝胶囊 */
body.page-home .topbar .avatar-badge {
  background: #00baff !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 13px !important;
  height: 25px !important;
  min-width: 72px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}

/* ---------- 大字号文字导航（酷狗核心） ---------- */
.kg-navbar {
  position: sticky;
  top: 56px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 48px;
  padding: 0 15px;
  margin: 0 -16px;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.kg-navbar::-webkit-scrollbar { display: none; }
.kg-navbar a {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 400;
  color: #818894;
  line-height: 1;
  white-space: nowrap;
  transition: .15s;
}
.kg-navbar a.on {
  font-size: 21px;
  font-weight: 600;
  color: #000;
}

/* ---------- 顶部 Banner（贴边、无圆角） ---------- */
body.page-home .kg-banner {
  margin: 0 -16px;
  border-radius: 0;
  background: #f2f3f5;
}
body.page-home .kg-banner-item { height: 144px; }
@media (min-width: 600px) { body.page-home .kg-banner-item { height: 240px; } }
body.page-home .kg-banner-mask {
  background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, transparent 55%);
}
body.page-home .kg-banner-eyebrow {
  background: #00baff;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
}
body.page-home .kg-banner-title {
  color: #fff;
  font-size: 17px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
body.page-home .kg-banner-artist { color: rgba(255, 255, 255, .85); font-size: 12px; }
body.page-home .kg-banner-play {
  background: #00baff;
  box-shadow: none;
  height: 32px;
  font-size: 13px;
  padding: 0 16px;
}
body.page-home .kg-dot { background: rgba(255, 255, 255, .5); width: 5px; height: 5px; }
body.page-home .kg-dot.on { background: #fff; width: 14px; }

/* ---------- 下载条（酷狗 download strip，浅灰半透明） ---------- */
.kg-download {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(243, 244, 246, .9);
  margin: 0 -16px;
  padding: 6px 8px;
}
.kg-download a,
.kg-download button {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  color: rgba(15, 27, 46, .8);
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* ---------- 内容区白底 ---------- */
body.page-home .kg-section {
  background: #fff;
  padding: 0;
  margin: 0 -16px;
}
body.page-home .container > .kg-section,
body.page-home main > .kg-section { padding: 0 15px; }

/* 区块标题：16px 粗体 + 右侧 12px 灰「更多」 */
body.page-home .kg-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  margin: 0;
  padding: 0;
}
body.page-home .kg-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0;
  margin: 0;
}
body.page-home .kg-section-more {
  font-size: 12px;
  font-weight: 400;
  color: #818894;
}

/* ---------- 横向卡片网格（酷狗 3 列 / 2 行，封面 92px 圆角 10px） ---------- */
body.page-home .kg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 14px;
  padding-bottom: 6px;
}
.kg-card {
  display: block;
  min-width: 0;
}
.kg-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f3f5;
}
.kg-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kg-card-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 16px 6px 4px;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent);
  display: flex;
  justify-content: space-between;
}
.kg-card-play {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: #00baff;
  font-size: 11px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.kg-card-title {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.kg-card-artist {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #818894;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 分类胶囊：白底灰边小胶囊 */
body.page-home .kg-chip-row {
  gap: 8px;
  padding-bottom: 12px;
}
body.page-home .kg-chip {
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 400;
  background: #f5f6f8;
  border: 0;
  color: #333;
  border-radius: 15px;
}
body.page-home .kg-chip.on,
body.page-home .kg-chip:hover {
  background: #00baff;
  color: #fff;
}

/* 榜单：白底无卡片 */
body.page-home .kg-rank-wrap {
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  body.page-home .kg-rank-wrap { grid-template-columns: 200px 1fr; padding: 0; }
}
body.page-home .kg-rank-hero { border-radius: 10px; box-shadow: none; }
body.page-home .kg-rank-hero-info strong { font-size: 13px; }
body.page-home .kg-rank-play { background: #00baff; box-shadow: none; width: 34px; height: 34px; font-size: 12px; }
body.page-home .kg-rank-badge { background: rgba(0, 0, 0, .5); font-size: 10px; }
body.page-home .kg-rank-row { padding: 9px 0; border-radius: 0; }
body.page-home .kg-rank-row:hover { background: #f7f8fa; }
body.page-home .kg-rank-num { color: #b3b8c1; font-size: 13px; }
body.page-home .kg-rank-num.top { color: #ff4d2e; }
body.page-home .kg-rank-title { color: #000; font-size: 14px; font-weight: 400; }
body.page-home .kg-rank-artist { color: #818894; }

/* 「最新上架」卡片也用酷狗横排卡片风格 */
body.page-home #trackGrid.grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px 14px !important;
}
body.page-home .card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}
body.page-home .card:hover { transform: none !important; }
body.page-home .card-cover {
  border-radius: 10px !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
body.page-home .card-body { padding: 6px 0 0 !important; }
body.page-home .card-title {
  color: #000 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}
body.page-home .card-artist { color: #818894 !important; font-size: 11px !important; }
body.page-home .card-meta { color: #b3b8c1 !important; font-size: 10px !important; }
body.page-home .card-play {
  background: rgba(255, 255, 255, .92) !important;
  color: #00baff !important;
  box-shadow: none !important;
  width: 26px !important;
  height: 26px !important;
  font-size: 11px !important;
}
body.page-home .badge-hot { background: #ff4d2e !important; font-size: 9px; }
body.page-home .badge-dur { background: rgba(0, 0, 0, .5) !important; font-size: 9px; }

/* 加载更多：白底灰边 */
body.page-home .btn-ghost {
  background: #f5f6f8 !important;
  border: 0 !important;
  color: #333 !important;
  border-radius: 15px !important;
  height: 30px;
  font-size: 13px;
}
body.page-home .load-more-wrap { padding: 20px 0 90px; }
body.page-home .empty { color: #818894; }

/* 底部 TabBar：白底 */
body.page-home .tabbar {
  background: #fff !important;
  border-top: 1px solid #f0f0f0 !important;
}
body.page-home .tabbar a { color: #818894 !important; }
body.page-home .tabbar a.active { color: #00baff !important; }

/* 播放器：白底 */
body.page-home .player {
  background: #fff !important;
  border-top: 1px solid #f0f0f0 !important;
  color: #000 !important;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, .06) !important;
}
body.page-home .player .p-title,
body.page-home #pTitle { color: #000 !important; }
body.page-home .player .p-artist,
body.page-home #pArtist { color: #818894 !important; }
body.page-home .player button { color: #00baff !important; }
body.page-home #pPlay {
  background: #00baff !important;
  color: #fff !important;
  border-color: #00baff !important;
}
body.page-home #pSeek::-webkit-slider-thumb { background: #00baff !important; }
body.page-home #pCur, body.page-home #pDur { color: #818894 !important; }

/* ============================================================
   v11：曲库页 + 详情页也统一为酷狗白底风
   ============================================================ */

/* ---------- 全站白底（登录/注册/后台除外） ---------- */
body.page-home,
body.page-library,
body.page-detail,
body.page-profile {
  background: #fff !important;
  color: #000 !important;
}
body.page-library::before, body.page-library::after,
body.page-detail::before,  body.page-detail::after,
body.page-profile::before, body.page-profile::after { display: none !important; }
body.page-library .site-main,
body.page-detail .site-main,
body.page-profile .site-main { background: #fff !important; }

/* 顶栏白底（所有前台页） */
body.page-library .topbar,
body.page-detail .topbar,
body.page-profile .topbar {
  background: #fff !important;
  border-bottom: 1px solid #f0f0f0 !important;
  box-shadow: none !important;
  height: 56px !important;
  padding: 0 15px !important;
}
body.page-library .topbar .brand-text,
body.page-detail .topbar .brand-text,
body.page-profile .topbar .brand-text {
  color: #000 !important; font-size: 17px !important; font-weight: 700 !important;
}
body.page-library .topbar .nav-link,
body.page-detail .topbar .nav-link,
body.page-profile .topbar .nav-link {
  color: #333 !important; font-size: 13px !important;
}
body.page-library .topbar .nav-link.active,
body.page-detail .topbar .nav-link.active,
body.page-profile .topbar .nav-link.active { color: #00baff !important; }

/* ============================================================
   曲库页：白底 + 顶部搜索 + 胶囊 + 行式列表
   ============================================================ */
body.page-library .kg-library-head {
  position: sticky;
  top: 56px;
  z-index: 40;
  margin: 0 -16px;
  padding: 10px 15px 8px;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid #f0f0f0;
}
body.page-library .kg-lib-title-row {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px;
}
body.page-library .kg-lib-title {
  font-size: 21px; font-weight: 600; color: #000; margin: 0; letter-spacing: 0;
}
body.page-library .kg-lib-count { font-size: 12px; color: #818894; }

body.page-library .kg-lib-search { display: flex; gap: 8px; margin-bottom: 10px; }
body.page-library .kg-lib-input-wrap input {
  height: 36px;
  border-radius: 18px;
  border: 0;
  background: #f5f6f8;
  color: #000;
  font-size: 13px;
}
body.page-library .kg-lib-input-wrap input::placeholder { color: #b3b8c1; }
body.page-library .kg-lib-input-wrap input:focus {
  background: #eef6ff;
  border: 0;
}
body.page-library .kg-lib-search-icon { opacity: .45; left: 12px; }
body.page-library .kg-lib-search-btn {
  height: 36px;
  padding: 0 18px;
  border-radius: 18px;
  background: #00baff;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
body.page-library .kg-lib-search-btn:hover { filter: brightness(1.06); }

/* 胶囊：灰底白字改灰底黑字 + 选中蓝 */
body.page-library .kg-chip {
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 400;
  background: #f5f6f8;
  border: 0;
  color: #333;
  border-radius: 15px;
  box-shadow: none;
}
body.page-library .kg-chip.on {
  background: #00baff;
  color: #fff;
  font-weight: 500;
}
body.page-library .kg-sort-row .kg-chip { height: 30px; padding: 0 14px; font-size: 13px; }

/* 行列表 */
body.page-library .kg-lib-body { padding: 0 15px; }
body.page-library .kg-list { padding-top: 4px; }
body.page-library .kg-row { padding: 10px 0; border-radius: 0; }
body.page-library .kg-row:hover { background: #f7f8fa; }
body.page-library .kg-row-cover {
  flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 10px; background: #f2f3f5;
}
body.page-library .kg-row-hot {
  background: #ff4d2e; font-size: 8px; padding: 1px 4px; border-radius: 3px;
}
body.page-library .kg-row-title {
  font-size: 14px; font-weight: 400; color: #000;
}
body.page-library .kg-row-title:hover { color: #00baff; }
body.page-library .kg-row-sub,
body.page-library .kg-row-meta { color: #818894; font-size: 11.5px; }
body.page-library .kg-row-play {
  width: 34px; height: 34px;
  border: 1px solid #d5d9e0;
  background: #fff;
  color: #00baff;
  font-size: 11px;
}
body.page-library .kg-row-play:hover {
  background: #00baff; border-color: #00baff; color: #fff;
  transform: none; box-shadow: none;
}
body.page-library .empty { color: #818894; }
body.page-library .btn-ghost {
  background: #f5f6f8 !important; border: 0 !important; color: #333 !important;
  border-radius: 15px !important; height: 30px; font-size: 13px;
}
body.page-library .load-more-wrap { padding: 16px 0 100px; }
body.page-library .tabbar,
body.page-detail .tabbar,
body.page-profile .tabbar {
  background: #fff !important; border-top: 1px solid #f0f0f0 !important;
}
body.page-library .tabbar a,
body.page-detail .tabbar a,
body.page-profile .tabbar a { color: #818894 !important; }
body.page-library .tabbar a.active,
body.page-detail .tabbar a.active,
body.page-profile .tabbar a.active { color: #00baff !important; }
body.page-library .player,
body.page-detail .player,
body.page-profile .player {
  background: #fff !important; border-top: 1px solid #f0f0f0 !important;
  color: #000 !important; box-shadow: 0 -1px 10px rgba(0,0,0,.06) !important;
}
body.page-library .player .p-title, body.page-detail .player .p-title, body.page-profile .player .p-title,
body.page-library #pTitle, body.page-detail #pTitle, body.page-profile #pTitle { color: #000 !important; }
body.page-library .player .p-artist, body.page-detail .player .p-artist, body.page-profile .player .p-artist,
body.page-library #pArtist, body.page-detail #pArtist, body.page-profile #pArtist { color: #818894 !important; }
body.page-library .player button, body.page-detail .player button, body.page-profile .player button { color: #00baff !important; }
body.page-library #pPlay, body.page-detail #pPlay, body.page-profile #pPlay {
  background: #00baff !important; color: #fff !important; border-color: #00baff !important;
}

/* ============================================================
   详情页：白底 + 模糊封面 Hero + 蓝胶囊按钮
   ============================================================ */
body.page-detail .kg-hero {
  margin: 0 -16px;
  padding: 20px 15px 24px;
  background: #fff !important;
  position: relative;
  overflow: hidden;
}
body.page-detail .kg-hero::after { display: none !important; }
body.page-detail .kg-hero-glow {
  position: absolute;
  top: -40px; left: -30px; right: -30px;
  height: 320px;
  background-size: cover;
  background-position: center;
  filter: blur(60px) saturate(160%);
  opacity: .28;
  z-index: 0;
  pointer-events: none;
}
body.page-detail .kg-hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
body.page-detail .kg-cover {
  width: 200px; height: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
}
body.page-detail .kg-cover-play {
  width: 48px; height: 48px;
  background: #00baff;
  box-shadow: 0 6px 18px rgba(0, 186, 255, .5);
}
body.page-detail .kg-info { width: 100%; text-align: left; }
body.page-detail .kg-back {
  display: none;
}
body.page-detail .kg-title {
  font-size: 19px;
  font-weight: 700;
  color: #000;
  margin: 0 0 4px;
  line-height: 1.35;
}
body.page-detail .kg-artist { font-size: 13px; color: #818894; margin: 0 0 10px; }
body.page-detail .kg-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
body.page-detail .kg-tag {
  height: 22px;
  padding: 0 9px;
  font-size: 11px;
  line-height: 22px;
  border-radius: 11px;
  background: #f5f6f8;
  border: 0;
  color: #5a6270;
}
body.page-detail .kg-tag-cat { background: #e8f7ff; color: #0090c8; }
body.page-detail .kg-tag-link:hover { background: #00baff; color: #fff; }
body.page-detail .kg-stats {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: #818894;
  margin-bottom: 14px;
}
body.page-detail .kg-stats b { color: #000; font-size: 13px; }

/* 操作按钮：酷狗蓝实心 + 白底灰边 */
body.page-detail .kg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
body.page-detail .kg-btn {
  flex: 1 1 0;
  min-width: 88px;
  height: 38px;
  border-radius: 19px;
  border: 1px solid #e3e6eb;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: .15s;
}
body.page-detail .kg-btn:hover { background: #f7f8fa; }
body.page-detail .kg-btn-main {
  flex: 1.6 1 0;
  background: #00baff;
  border-color: #00baff;
  color: #fff;
  font-weight: 600;
}
body.page-detail .kg-btn-main:hover { filter: brightness(1.06); background: #00baff; }
body.page-detail .kg-desc {
  font-size: 12.5px;
  color: #818894;
  line-height: 1.7;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid #f0f0f0;
}

/* 歌词区：白底 */
body.page-detail .kg-lyric-section {
  margin: 0 -16px;
  padding: 16px 15px 24px;
  background: #fff !important;
  border-top: 8px solid #f5f6f8;
}
body.page-detail .kg-lyric-head { margin-bottom: 10px; }
body.page-detail .kg-lyric-title { font-size: 16px; font-weight: 700; color: #000; margin: 0; }
body.page-detail .kg-lyric-hint { font-size: 11px; color: #b3b8c1; }
body.page-detail .kg-lyric {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  text-align: center;
}
body.page-detail .kg-lyric::-webkit-scrollbar { width: 3px; }
body.page-detail .kg-lyric::-webkit-scrollbar-thumb { background: #e3e6eb; border-radius: 9px; }
body.page-detail .kg-lyric-line {
  font-size: 14px;
  line-height: 2.1;
  color: #9aa0aa;
  transition: .2s;
  padding: 0 8px;
  cursor: pointer;
}
body.page-detail .kg-lyric-line:hover { color: #5a6270; }
body.page-detail .kg-lyric-line.active {
  font-size: 16px;
  font-weight: 700;
  color: #00baff;
}
body.page-detail .kg-lyric-empty { color: #b3b8c1; font-size: 13px; }
body.page-detail .kg-lyric.is-plain .kg-lyric-line { color: #5a6270; }
body.page-detail .kg-lyric.is-plain .kg-lyric-line:hover { color: #000; }

/* 详情页推荐区 */
body.page-detail .section {
  background: #fff !important;
  border-top: 8px solid #f5f6f8;
  margin: 0 -16px;
  padding: 16px 15px 90px;
}
body.page-detail .section-title { font-size: 16px; font-weight: 700; color: #000; }
body.page-detail .section-head { margin-bottom: 10px; }
body.page-detail .card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
body.page-detail .card-cover { border-radius: 10px !important; }
body.page-detail .card-title { color: #000 !important; font-size: 13px !important; font-weight: 400 !important; }
body.page-detail .card-artist { color: #818894 !important; font-size: 11px !important; }
body.page-detail .card-meta { color: #b3b8c1 !important; font-size: 10px !important; }
body.page-detail .card-play {
  background: rgba(255,255,255,.92) !important; color: #00baff !important;
  box-shadow: none !important; width: 26px !important; height: 26px !important;
  font-size: 11px !important;
}
body.page-detail #trackGrid.grid { gap: 16px 14px !important; }

/* ============================================================
   v12：详情页修复（歌词白底不可见 / 紫色 hero / 底部遮挡）
   ============================================================ */

/* hero 区彻底白底，模糊封面只做极淡光晕 */
body.page-detail .kg-hero {
  background: #fff !important;
}
body.page-detail .kg-hero-glow {
  opacity: .14 !important;
  filter: blur(70px) saturate(140%) !important;
  height: 220px !important;
}
/* 标题必须黑字 */
body.page-detail .kg-title,
body.page-detail .kg-info .kg-title {
  color: #000 !important;
  text-shadow: none !important;
}
body.page-detail .kg-artist { color: #818894 !important; }

/* 歌词：浅灰 → 中灰，高亮蓝，保证白底可读 */
body.page-detail .kg-lyric,
body.page-detail .kg-lyric-line,
body.page-detail .kg-lyric p,
body.page-detail .kg-lyric span,
body.page-detail .kg-lyric div {
  color: #8a9099;
  text-shadow: none !important;
}
body.page-detail .kg-lyric-line {
  color: #8a9099 !important;
  font-size: 14px;
  line-height: 2.1;
  font-weight: 400;
}
body.page-detail .kg-lyric-line:hover { color: #4a515c !important; }
body.page-detail .kg-lyric-line.active {
  color: #00baff !important;
  font-size: 16px;
  font-weight: 700;
}
body.page-detail .kg-lyric.is-plain .kg-lyric-line { color: #5a6270 !important; }
body.page-detail .kg-lyric.is-plain .kg-lyric-line:hover { color: #000 !important; }
body.page-detail .kg-lyric-empty { color: #b3b8c1 !important; }

/* 底部留白，避免被 TabBar / 播放器遮挡 */
body.page-detail .kg-lyric-section { padding-bottom: 30px; }
body.page-detail .section { padding-bottom: 110px !important; }
body.page-detail .site-main { padding-bottom: 0 !important; }

/* 详情页推荐卡片 2 列（手机） */
@media (max-width: 599px) {
  body.page-detail #trackGrid.grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 胶囊横滑：右侧留出渐隐提示，避免"被截断"观感 */
body.page-home .kg-chip-row,
body.page-library .kg-chip-row,
body.page-library .kg-cat-row {
  padding-right: 30px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
}

/* 首页热门大卡不那么大（手机） */
@media (max-width: 599px) {
  body.page-home .kg-rank-hero {
    max-width: 150px;
    margin: 0 auto;
  }
  body.page-home .kg-rank-wrap { gap: 10px; }
}

/* ============================================================
   v13：根治 html/body 深色底 — 前台页面全部强制白底
   （v11/v12 只改了 body，html 仍是深色径向渐变，滚动到底漏黑）
   ============================================================ */

html:has(body.page-home),
html:has(body.page-library),
html:has(body.page-detail),
html:has(body.page-profile) {
  background: #fff !important;
  background-image: none !important;
  background-attachment: scroll !important;
  min-height: 100%;
}

body.page-home,
body.page-library,
body.page-detail,
body.page-profile {
  background: #fff !important;
  background-image: none !important;
  background-attachment: scroll !important;
  color: #000 !important;
  min-height: 100vh;
}

/* 兜底：非 :has 支持的老浏览器 */
body.page-home ~ * { background-color: #fff; }

/* TabBar / 播放器占位时也不要露底 */
body.page-home .site-main,
body.page-library .site-main,
body.page-detail .site-main,
body.page-profile .site-main {
  background: #fff !important;
  min-height: calc(100vh - 56px);
}

/* 页面最底部留白也白 */
body.page-home::after,
body.page-library::after,
body.page-detail::after,
body.page-profile::after {
  content: '';
  display: block;
  height: 0;
  background: #fff;
}

/* 首页加载更多区底部留白 */
body.page-home .load-more-wrap { padding-bottom: 120px !important; }
body.page-library .load-more-wrap { padding-bottom: 120px !important; }

/* ============================================================
   v14：TabBar 深色化 + 灰字对比度提升（白底可读）
   ============================================================ */

/* TabBar：白底 + 深灰未选中 + 蓝色选中 */
body.page-home .tabbar,
body.page-library .tabbar,
body.page-detail .tabbar,
body.page-profile .tabbar {
  background: #fff !important;
  border-top: 1px solid #eceef1 !important;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, .05) !important;
}
body.page-home .tabbar .tab,
body.page-library .tabbar .tab,
body.page-detail .tabbar .tab,
body.page-profile .tabbar .tab {
  color: #5a6270 !important;
  font-size: 11px !important;
}
body.page-home .tabbar .tab-icon,
body.page-library .tabbar .tab-icon,
body.page-detail .tabbar .tab-icon,
body.page-profile .tabbar .tab-icon {
  font-size: 19px !important;
  opacity: .78;
  filter: grayscale(1);
}
body.page-home .tabbar .tab.active,
body.page-library .tabbar .tab.active,
body.page-detail .tabbar .tab.active,
body.page-profile .tabbar .tab.active {
  color: #00baff !important;
  font-weight: 600 !important;
}
body.page-home .tabbar .tab.active .tab-icon,
body.page-library .tabbar .tab.active .tab-icon,
body.page-detail .tabbar .tab.active .tab-icon,
body.page-profile .tabbar .tab.active .tab-icon {
  opacity: 1;
  filter: none;
}

/* 灰字加深：列表副信息 / 播放量 / 时长 */
body.page-library .kg-row-sub,
body.page-library .kg-row-meta,
body.page-detail .kg-artist,
body.page-detail .kg-stats,
body.page-home .kg-rank-artist,
body.page-home .kg-card-artist {
  color: #6b7280 !important;
}
body.page-home .kg-rank-plays,
body.page-detail .kg-stats span {
  color: #8a9099 !important;
}
body.page-library .kg-row-cat { color: #8a9099 !important; }

/* 区块「更多」加深一点 */
body.page-home .kg-section-more { color: #6b7280 !important; }

/* 详情页描述文字加深 */
body.page-detail .kg-desc { color: #6b7280 !important; }
body.page-detail .kg-lyric-hint { color: #9aa0aa !important; }

/* ============================================================
   v15：首页细节收尾（下载条/热搜按钮/Banner 播放钮/空格）
   ============================================================ */

/* 下载条：纯白底，去掉灰块感，加细分隔线 */
body.page-home .kg-download {
  background: #fff !important;
  border-bottom: 8px solid #f5f6f8;
  padding: 0 8px;
}
body.page-home .kg-download a,
body.page-home .kg-download button {
  color: #333 !important;
  font-weight: 400 !important;
  border-right: 1px solid #f0f0f0;
}
body.page-home .kg-download > *:last-child { border-right: 0; }
body.page-home .kg-download a:active,
body.page-home .kg-download button:active { background: #f5f6f8; }

/* Banner 立即播放钮：酷狗蓝 */
body.page-home .kg-banner-play {
  background: #00baff !important;
  box-shadow: none !important;
  height: 34px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
body.page-home .kg-banner-play:hover { filter: brightness(1.06); box-shadow: none !important; }

/* 顶栏右侧登录/注册：蓝胶囊 + 描边（去掉橙色） */
body.page-home .topbar .btn-primary,
body.page-home .topbar .btn-ghost {
  border-radius: 13px !important;
  height: 26px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
  box-shadow: none !important;
  border: 0 !important;
}
body.page-home .topbar .btn-primary {
  background: #00baff !important;
  color: #fff !important;
}
body.page-home .topbar .btn-ghost {
  background: #f5f6f8 !important;
  color: #333 !important;
}

/* 区块之间加 8px 浅灰分隔，模拟酷狗分组 */
body.page-home .kg-section + .kg-section {
  border-top: 8px solid #f5f6f8;
  padding-top: 4px;
}

/* 首页主容器取消左右内边距（由各区块自己控制 15px） */
body.page-home .site-main {
  padding-left: 15px !important;
  padding-right: 15px !important;
  max-width: 100% !important;
}
@media (min-width: 900px) {
  body.page-home .site-main { max-width: 720px !important; margin: 0 auto !important; }
}

/* ============================================================
   v16：www.kugou.com 电脑端布局（kgpc-*）
   蓝顶栏 + 二级导航 + 全宽轮播 + 左主栏/右榜单栏
   ============================================================ */

/* 默认：手机端显示 kgm，隐藏 kgpc */
.kgpc-only { display: none; }

@media (min-width: 900px) {
  .kgm-only { display: none !important; }
  .kgpc-only { display: block; }
  /* PC 端隐藏移动 TabBar */
  .tabbar { display: none !important; }
}

/* ---- PC 顶栏（蓝 #007aff） ---- */
@media (min-width: 900px) {
  body.page-home .topbar {
    background: #007aff !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.page-home .topbar-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    height: 60px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
  }
  body.page-home .topbar .brand-mark { filter: none; }
  body.page-home .topbar .brand-text {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    font-size: 19px !important;
    font-weight: 700 !important;
  }
  /* 搜索框：半透明白胶囊 */
  body.page-home .topbar .search-box {
    flex: 0 1 260px !important;
    height: 34px !important;
    background: rgba(255, 255, 255, .22) !important;
    border-radius: 999px !important;
    border: 0 !important;
    padding: 0 4px 0 14px !important;
  }
  body.page-home .topbar .search-box input {
    background: transparent !important;
    color: #fff !important;
    font-size: 13px !important;
  }
  body.page-home .topbar .search-box input::placeholder { color: rgba(255, 255, 255, .75) !important; }
  body.page-home .topbar .search-box button { color: #fff !important; background: transparent !important; }
  /* 导航 */
  body.page-home .topbar .nav-pc { margin-left: auto !important; display: flex !important; gap: 20px !important; }
  body.page-home .topbar .nav-link {
    color: rgba(255, 255, 255, .92) !important;
    background: none !important;
    font-size: 14px !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  body.page-home .topbar .nav-link.active { color: #fff !important; font-weight: 700 !important; }
  body.page-home .topbar .nav-link:hover { color: #fff !important; }
  /* 登录/注册：白色胶囊 */
  body.page-home .topbar .btn-primary,
  body.page-home .topbar .btn-ghost {
    height: 32px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.page-home .topbar .btn-primary { background: #fff !important; color: #007aff !important; font-weight: 600 !important; }
  body.page-home .topbar .btn-ghost { background: rgba(255, 255, 255, .2) !important; color: #fff !important; }
  body.page-home .topbar .avatar-initial { background: #fff !important; color: #007aff !important; }
}

/* ---- 二级导航 ---- */
.kgpc-subnav {
  display: none;
}
@media (min-width: 900px) {
  .kgpc-subnav {
    display: block;
    background: linear-gradient(90deg, #e8f4ff 0%, #ffffff 45%, #ffffff 100%);
    border-bottom: 1px solid #eef2f7;
    height: 46px;
  }
  .kgpc-subnav .kgpc-wrap { display: flex; align-items: center; gap: 6px; height: 46px; }
  .kgpc-subnav a {
    font-size: 14px;
    color: #333;
    padding: 0 14px;
    height: 30px;
    line-height: 30px;
    border-radius: 999px;
    transition: .15s;
  }
  .kgpc-subnav a:hover { color: #007aff; }
  .kgpc-subnav a.on { background: #007aff; color: #fff; font-weight: 600; }
}

/* ---- 通用容器 ---- */
.kgpc-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ---- 轮播 全宽 330px ---- */
@media (min-width: 900px) {
  .kgpc-banner {
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #0a2a4a;
  }
  .kgpc-banner-track { display: flex; width: 100%; height: 100%; transition: transform .45s ease; }
  .kgpc-banner-item {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .kgpc-banner-mask {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(3, 20, 40, .82) 0%, rgba(3, 20, 40, .45) 45%, rgba(3, 20, 40, .1) 100%);
  }
  .kgpc-banner-inner { position: absolute; inset: 0; display: flex; align-items: center; }
  .kgpc-banner-eyebrow {
    display: inline-block; font-size: 12px; color: #fff;
    background: rgba(0, 186, 255, .9); border-radius: 4px;
    padding: 2px 8px; margin-bottom: 12px;
  }
  .kgpc-banner-title {
    font-size: 34px; font-weight: 800; color: #fff;
    margin: 0 0 8px; max-width: 640px; line-height: 1.25;
  }
  .kgpc-banner-artist { font-size: 14px; color: rgba(255, 255, 255, .82); margin: 0 0 18px; }
  .kgpc-banner-play {
    height: 40px; padding: 0 24px; border: 0; border-radius: 999px;
    background: #00baff; color: #fff; font-size: 15px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  }
  .kgpc-banner-play:hover { filter: brightness(1.08); }
  .kgpc-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .24); color: #fff;
    font-size: 26px; line-height: 1; cursor: pointer;
    display: grid; place-items: center; backdrop-filter: blur(4px);
  }
  .kgpc-arrow:hover { background: rgba(255, 255, 255, .42); }
  .kgpc-arrow.prev { left: 32px; }
  .kgpc-arrow.next { right: 32px; }
  .kgpc-dots {
    position: absolute; left: 0; right: 0; bottom: 16px;
    display: flex; justify-content: center; gap: 7px;
  }
  .kgpc-dot {
    width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0;
    background: rgba(255, 255, 255, .5); cursor: pointer; transition: .2s;
  }
  .kgpc-dot.on { width: 18px; border-radius: 4px; background: #fff; }

  /* 下载通栏 */
  .kgpc-dl { background: #f2f8ff; border-bottom: 1px solid #e6eff8; height: 46px; }
  .kgpc-dl .kgpc-wrap { display: flex; align-items: center; gap: 12px; height: 46px; }
  .kgpc-dl a, .kgpc-dl button {
    font-size: 13px; color: #007aff; background: none; border: 0; cursor: pointer;
  }
  .kgpc-dl a:hover, .kgpc-dl button:hover { text-decoration: underline; }
  .kgpc-dl i { color: #d6e4f2; font-style: normal; }

  /* 主内容两栏 */
  .kgpc-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    padding: 26px 0 40px;
    align-items: start;
  }

  /* 区块标题 */
  .kgpc-section { margin-bottom: 34px; }
  .kgpc-sec-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 14px;
  }
  .kgpc-sec-head h2 { font-size: 24px; font-weight: 800; color: #000; margin: 0; letter-spacing: -.4px; }
  .kgpc-sec-head .more { font-size: 13px; color: #999; }
  .kgpc-sec-head .more:hover { color: #007aff; }

  /* 精选歌单：1 大 + 4 小 */
  .kgpc-playlist {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr;
    grid-template-rows: 190px 190px;
    gap: 14px;
  }
  .kgpc-pl { display: flex; flex-direction: column; min-width: 0; }
  .kgpc-pl.big { grid-row: span 2; }
  .kgpc-pl-cover {
    position: relative; flex: 1; border-radius: 10px; overflow: hidden;
    background: #f2f4f7;
  }
  .kgpc-pl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
  .kgpc-pl:hover .kgpc-pl-cover img { transform: scale(1.05); }
  .kgpc-pl-plays {
    position: absolute; left: 8px; bottom: 8px;
    font-size: 11px; color: #fff; background: rgba(0, 0, 0, .45);
    border-radius: 4px; padding: 1px 6px;
  }
  .kgpc-pl-play {
    position: absolute; right: 10px; bottom: 10px;
    width: 34px; height: 34px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .94); color: #007aff;
    font-size: 13px; cursor: pointer; opacity: 0; transition: .2s;
    display: grid; place-items: center;
  }
  .kgpc-pl:hover .kgpc-pl-play { opacity: 1; }
  .kgpc-pl-play:hover { background: #007aff; color: #fff; }
  .kgpc-pl-title {
    display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #000;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .kgpc-pl.big .kgpc-pl-title { font-size: 16px; }
  .kgpc-pl-title:hover { color: #007aff; }
  .kgpc-pl-artist { font-size: 12px; color: #999; margin-top: 2px; }

  /* 新歌首发 卡片网格 */
  .kgpc-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .kgpc-card { min-width: 0; }
  .kgpc-card-cover {
    position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden;
    background: #f2f4f7;
  }
  .kgpc-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
  .kgpc-card:hover .kgpc-card-cover img { transform: scale(1.06); }
  .kgpc-card-tag {
    position: absolute; right: 6px; bottom: 6px;
    font-size: 11px; color: #fff; background: rgba(0, 0, 0, .42);
    border-radius: 3px; padding: 0 5px;
  }
  .kgpc-card-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .95); color: #007aff; font-size: 14px;
    cursor: pointer; opacity: 0; transition: .2s; display: grid; place-items: center;
  }
  .kgpc-card:hover .kgpc-card-play { opacity: 1; }
  .kgpc-card-play:hover { background: #007aff; color: #fff; }
  .kgpc-card-title {
    display: block; margin-top: 8px; font-size: 13px; color: #000;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .kgpc-card-title:hover { color: #007aff; }
  .kgpc-card-artist { font-size: 12px; color: #999; }

  /* 右栏榜单 */
  .kgpc-col-side { position: sticky; top: 20px; }
  .kgpc-rank {
    display: grid; grid-template-columns: 96px 1fr;
    background: #fff; border: 1px solid #eef0f3; border-radius: 10px;
    overflow: hidden; margin-bottom: 14px; transition: .2s;
  }
  .kgpc-rank:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, .07); }
  .kgpc-rank-badge {
    display: grid; place-items: center; text-align: center;
    color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 1px;
  }
  .kgpc-rank-badge.r1 { background: linear-gradient(160deg, #ff9a2e, #ff6a00); }
  .kgpc-rank-badge.r2 { background: linear-gradient(160deg, #3d8bff, #0057d9); }
  .kgpc-rank-badge.r3 { background: linear-gradient(160deg, #a855f7, #7c3aed); }
  .kgpc-rank-list { list-style: none; margin: 0; padding: 8px 10px; }
  .kgpc-rank-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
  .kgpc-rank-list .num {
    width: 16px; flex: 0 0 16px; text-align: center;
    font-size: 12px; color: #b3b8c1; font-weight: 700;
  }
  .kgpc-rank-list .num.top { color: #ff3b30; }
  .kgpc-rank-list .row {
    flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px;
    background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  }
  .kgpc-rank-list .t {
    font-size: 13px; color: #222; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-width: 130px;
  }
  .kgpc-rank-list .row:hover .t { color: #007aff; }
  .kgpc-rank-list .a {
    font-size: 11px; color: #999; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; flex: 1;
  }

  /* 按风格听 chips */
  .kgpc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .kgpc-chip {
    font-size: 13px; color: #444; background: #f5f6f8;
    border-radius: 999px; padding: 7px 16px; transition: .15s;
  }
  .kgpc-chip:hover { background: #e8f4ff; color: #007aff; }

  /* PC 端首页主容器 */
  body.page-home .site-main { padding: 0 !important; max-width: 100% !important; }
}

/* 手机端：确保 kgpc 区块完全不占位 */
@media (max-width: 899px) {
  .kgpc-only { display: none !important; }
}

/* ============================================================
   v17：PC 端顶栏去重（隐藏重复导航）+ 榜单更丰满 + 卡片补位
   ============================================================ */

@media (min-width: 900px) {
  /* 顶栏只留 logo + 搜索 + 登录/注册（酷狗原版就是这样，导航交给二级导航） */
  body.page-home .topbar .nav-pc { display: none !important; }

  /* 搜索框加宽，更像酷狗 */
  body.page-home .topbar .search-box { flex: 0 1 300px !important; }

  /* 右栏榜单加第四张：热门DJ（用 chips 区数据），并加高榜单行 */
  body.page-home .kgpc-rank { grid-template-columns: 92px 1fr; }
  body.page-home .kgpc-rank-list { padding: 10px 12px; }
  body.page-home .kgpc-rank-list li { padding: 6px 0; }
  body.page-home .kgpc-rank-list .t { max-width: 120px; font-size: 13px; }

  /* 右栏底部补一个「按风格听」紧凑块，避免右栏单薄 */
  body.page-home .kgpc-col-side .kgpc-sec-head { margin-top: 6px; }

  /* 新歌首发：不足 5 张时用渐变占位补齐，视觉不空 */
  body.page-home .kgpc-cards { grid-auto-rows: auto; }

  /* 轮播文字不要贴太左 */
  body.page-home .kgpc-banner-inner .kgpc-wrap { padding-left: 0; }

  /* 精选歌单大卡标题与文字间距 */
  body.page-home .kgpc-pl.big .kgpc-pl-artist { font-size: 13px; }
}

/* ============================================================
   v18：PC 顶栏搜索框强制显示（蓝底白字胶囊）
   ============================================================ */
@media (min-width: 900px) {
  body.page-home .topbar form.search-box {
    display: flex !important;
    align-items: center !important;
    order: 2 !important;
    margin: 0 !important;
  }
  body.page-home .topbar .search-box input {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 34px !important;
    width: 100% !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .22) !important;
    color: #fff !important;
    padding: 0 40px 0 16px !important;
    font-size: 13px !important;
  }
  body.page-home .topbar .search-box input:focus {
    background: rgba(255, 255, 255, .32) !important;
    border: 0 !important;
  }
  body.page-home .topbar .search-box button {
    display: block !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 26px !important;
    height: 26px !important;
    color: #fff !important;
    background: transparent !important;
  }
  /* 顺序：logo | 搜索 | 登录注册 */
  body.page-home .topbar .brand { order: 1 !important; flex: 0 0 auto !important; }
  body.page-home .topbar .topbar-user { order: 3 !important; margin-left: 0 !important; }
  body.page-home .topbar .search-box { order: 2 !important; flex: 0 1 320px !important; margin-right: auto !important; }
}

/* ============================================================
   v19：移动端严格还原 m.kugou.com（mk-* 命名空间）
   蓝色顶栏 + 蓝色导航胶囊 + 蓝色轮播 + 横滑大卡 + 垂直列表
   ============================================================ */

@media (max-width: 899px) {

  /* 隐藏旧的 kg-* 首页样式影响（新版用 mk-*） */
  body.page-home .kg-navbar,
  body.page-home .kg-banner,
  body.page-home .kg-download,
  body.page-home .kg-rank-wrap,
  body.page-home .kg-chip-row,
  body.page-home .kg-cards,
  body.page-home .kg-section { display: none !important; }

  /* 移动端顶栏交给 .mk-head，隐藏全局 topbar */
  body.page-home .topbar { display: none !important; }

  body.page-home .site-main {
    padding: 0 0 76px !important;
    max-width: 100% !important;
  }

  /* ---------- 蓝色顶栏 ---------- */
  .mk-head {
    height: 50px;
    padding: 0 15px;
    background: linear-gradient(180deg, #3d6ff2 0%, #4c7dff 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 60;
  }
  .mk-logo { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
  .mk-logo-k {
    width: 26px; height: 26px; border-radius: 50%;
    background: #fff; color: #4c7dff;
    display: grid; place-items: center;
    font-size: 15px; font-weight: 800;
  }
  .mk-logo-t { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.2px; }

  .mk-search {
    flex: 1;
    height: 32px;
    background: rgba(255, 255, 255, .28);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    min-width: 0;
  }
  .mk-search-ico { font-size: 12px; opacity: .9; }
  .mk-search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    outline: none;
    min-width: 0;
  }
  .mk-search input::placeholder { color: rgba(255, 255, 255, .8); }

  /* ---------- 蓝色导航 Tab ---------- */
  .mk-nav {
    height: 44px;
    background: #4c7dff;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 15px;
  }
  .mk-nav a {
    font-size: 16px;
    color: rgba(255, 255, 255, .82);
    font-weight: 400;
    transition: .15s;
  }
  .mk-nav a.on {
    background: #fff;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    height: 28px;
    line-height: 28px;
    padding: 0 14px;
    border-radius: 14px;
  }

  /* ---------- 蓝色轮播 ---------- */
  .mk-banner {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #8bc3ff;
  }
  .mk-banner-track { display: flex; height: 100%; transition: transform .45s ease; }
  .mk-banner-item {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .mk-banner-mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .72) 100%);
  }
  .mk-banner-info { position: absolute; left: 15px; right: 15px; bottom: 14px; }
  .mk-banner-tag {
    display: inline-block;
    font-size: 11px; color: #fff;
    background: rgba(255, 255, 255, .26);
    border-radius: 4px;
    padding: 2px 7px;
    margin-bottom: 7px;
    backdrop-filter: blur(4px);
  }
  .mk-banner-title {
    font-size: 20px; font-weight: 700; color: #fff;
    margin: 0 0 4px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  }
  .mk-banner-artist { font-size: 12px; color: rgba(255, 255, 255, .86); margin: 0 0 10px; }
  .mk-banner-play {
    height: 30px; padding: 0 15px; border: 0; border-radius: 15px;
    background: #fff; color: #4c7dff; font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 5px;
  }
  .mk-dots {
    position: absolute; right: 15px; bottom: 16px;
    display: flex; gap: 5px;
  }
  .mk-dot {
    width: 5px; height: 5px; border-radius: 50%; border: 0; padding: 0;
    background: rgba(255, 255, 255, .5);
  }
  .mk-dot.on { width: 13px; border-radius: 3px; background: #fff; }

  /* ---------- 下载电脑版条 ---------- */
  .mk-dlbar {
    display: block;
    height: 34px; line-height: 34px;
    text-align: center;
    background: #a9d7ff;
    color: #1a4d80;
    font-size: 12px;
  }

  /* ---------- 区块通用 ---------- */
  .mk-section { padding: 16px 0 4px; }
  .mk-sec-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 15px; margin-bottom: 11px;
  }
  .mk-sec-head h2 { font-size: 20px; font-weight: 800; color: #1a1a1a; margin: 0; letter-spacing: -.3px; }
  .mk-more { font-size: 12px; color: #999; }
  .mk-tabs { display: flex; gap: 6px; align-items: center; }
  .mk-tabs a { font-size: 13px; color: #666; padding: 3px 9px; border-radius: 11px; }
  .mk-tabs a.on { background: #e8f0ff; color: #4c7dff; font-weight: 700; }

  /* ---------- 精选歌单：横滑大卡 ---------- */
  .mk-scroll {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 0 15px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .mk-scroll::-webkit-scrollbar { display: none; }
  .mk-pl { scroll-snap-align: start; }
  .mk-pl-cover {
    display: block;
    position: relative;
    width: 258px; height: 258px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f4f7;
  }
  .mk-pl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mk-pl-cover::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
    background: linear-gradient(0deg, rgba(0, 0, 0, .66), transparent);
  }
  .mk-pl-plays {
    position: absolute; right: 9px; bottom: 38px;
    font-size: 11px; color: #fff;
    background: rgba(0, 0, 0, .45);
    border-radius: 4px; padding: 1px 6px;
  }
  .mk-pl-name {
    position: absolute; left: 11px; right: 11px; bottom: 10px;
    font-size: 13px; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mk-pl-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 7px;
  }
  .mk-pl-artist {
    font-size: 12px; color: #999;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px;
  }
  .mk-pl-play {
    width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid #e3e6eb; background: #fff;
    color: #4c7dff; font-size: 10px;
    display: grid; place-items: center;
  }

  /* ---------- 垂直列表行 ---------- */
  .mk-list { list-style: none; margin: 0; padding: 0 15px; }
  .mk-row {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f4f5f7;
  }
  .mk-row:last-child { border-bottom: 0; }
  .mk-row-cover {
    flex: 0 0 55px; width: 55px; height: 55px;
    border-radius: 6px; overflow: hidden; background: #f2f4f7;
  }
  .mk-row-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mk-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .mk-row-title {
    font-size: 14px; font-weight: 600; color: #1a1a1a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mk-row-sub {
    font-size: 12px; color: #999;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mk-row-plays { font-size: 11px; color: #b3b8c1; flex: 0 0 auto; }
  .mk-row-play {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid #e3e6eb; background: #fff;
    color: #4c7dff; font-size: 10px;
    display: grid; place-items: center;
  }
  .mk-row-play:active { background: #4c7dff; color: #fff; border-color: #4c7dff; }

  /* ---------- 热门榜单三行 ---------- */
  .mk-ranks { padding: 0 15px; display: flex; flex-direction: column; gap: 10px; }
  .mk-rank {
    display: grid;
    grid-template-columns: 88px 1fr;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }
  .mk-rank-badge {
    display: grid; place-items: center; text-align: center;
    color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .5px;
  }
  .mk-rank-badge.r1 { background: linear-gradient(160deg, #ff9a2e, #ff6a00); }
  .mk-rank-badge.r2 { background: linear-gradient(160deg, #3d8bff, #0057d9); }
  .mk-rank-badge.r3 { background: linear-gradient(160deg, #a855f7, #7c3aed); }
  .mk-rank-list { list-style: none; margin: 0; padding: 8px 10px; }
  .mk-rank-list li { display: flex; align-items: center; gap: 7px; padding: 4px 0; }
  .mk-rank-list .num {
    width: 14px; flex: 0 0 14px; text-align: center;
    font-size: 12px; font-weight: 700; color: #b3b8c1;
  }
  .mk-rank-list .num.top { color: #ff3b30; }
  .mk-rank-list .row {
    flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px;
    background: none; border: 0; padding: 0; text-align: left;
  }
  .mk-rank-list .t {
    font-size: 13px; color: #222; max-width: 130px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mk-rank-list .a {
    font-size: 11px; color: #999; flex: 1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* ---------- 热门频道 ---------- */
  .mk-channels { gap: 10px; }
  .mk-channel {
    flex: 0 0 104px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
  }
  .mk-channel-ico {
    width: 104px; height: 104px;
    border-radius: 10px;
    background: linear-gradient(150deg, #eef4ff, #dbe7ff);
    display: grid; place-items: center;
    font-size: 33px;
  }
  .mk-channel-name {
    font-size: 13px; color: #333;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 104px;
  }

  /* ---------- 页脚 ---------- */
  .mk-foot {
    padding: 26px 15px 30px;
    text-align: center;
    background: #f7f8fa;
    margin-top: 18px;
  }
  .mk-foot p { font-size: 12px; color: #999; margin: 0 0 5px; }
  .mk-foot-sub { font-size: 11px; color: #b8bcc4; }
}

/* ============================================================
   v20：PWA 安装条 + 播放器模式按钮
   ============================================================ */

/* 播放器 模式 / 随机 按钮 */
.p-btn.p-mode { font-size: 14px; opacity: .55; transition: .15s; }
.p-btn.p-mode.on { opacity: 1; background: #e8f0ff; color: #4c7dff; }

/* PWA 安装提示条 */
.pwa-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 74px;
  width: calc(100% - 24px);
  max-width: 460px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9000;
  animation: pwaIn .28s ease;
}
.pwa-bar[hidden] { display: none !important; }
@keyframes pwaIn {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.pwa-bar-ico { width: 38px; height: 38px; border-radius: 9px; flex: 0 0 38px; }
.pwa-bar-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pwa-bar-txt b { font-size: 14px; color: #1a1a1a; font-weight: 700; }
.pwa-bar-txt span { font-size: 11px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwa-bar-btn {
  flex: 0 0 auto;
  height: 30px; padding: 0 16px;
  border: 0; border-radius: 15px;
  background: #4c7dff; color: #fff;
  font-size: 13px; font-weight: 600;
}
.pwa-bar-close {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border: 0; background: none;
  color: #b3b8c1; font-size: 13px;
  display: grid; place-items: center;
}

@media (min-width: 900px) {
  .pwa-bar { bottom: 84px; }
}

/* ============================================================
   v21：播放器改酷狗样式（移动端迷你条 + PC 播放条 + 队列抽屉）
   ============================================================ */

/* ---------- 基础重置：统一白底蓝点缀 ---------- */
.player {
  position: fixed !important;
  left: 0; right: 0; bottom: 0;
  background: #fff !important;
  border-top: 1px solid #eceef1 !important;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, .06) !important;
  z-index: 800 !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  height: auto !important;
}
.player[hidden] { display: none !important; }

/* 顶部细进度条 */
.pl-progress {
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px; background: #f0f2f5;
}
.pl-progress-bar {
  height: 100%; width: 0;
  background: #4c7dff;
  transition: width .18s linear;
}

.player-inner {
  display: flex; align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 14px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- 左：封面 + 信息 ---------- */
.player-meta { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; }
.pl-cover-wrap { position: relative; flex: 0 0 auto; }
.player-cover {
  width: 44px !important; height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover;
  background: #f2f4f7 !important;
  border: 1px solid #eceef1;
}
/* 播放时封面旋转（酷狗式） */
body.is-playing .player-cover { animation: plSpin 12s linear infinite; }
@keyframes plSpin { to { transform: rotate(360deg); } }
.pl-cover-mask {
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55);
  pointer-events: none;
}
.player-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 190px; }
.player-title {
  font-size: 13.5px !important; font-weight: 600 !important;
  color: #1a1a1a !important; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-title:hover { color: #4c7dff !important; }
.player-artist {
  font-size: 11.5px !important; color: #818894 !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 中：控制按钮 ---------- */
.player-controls { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.p-btn {
  border: 0; background: transparent;
  color: #5a6270 !important;
  font-size: 15px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: .15s;
  flex: 0 0 auto;
  padding: 0;
}
.p-btn:hover { background: #f5f6f8 !important; color: #4c7dff !important; }
.p-btn.p-mode { font-size: 14px; opacity: .55; }
.p-btn.p-mode.on { opacity: 1; background: #e8f0ff !important; color: #4c7dff !important; }

.p-play {
  width: 38px !important; height: 38px !important;
  background: #4c7dff !important; color: #fff !important;
  font-size: 14px !important;
  box-shadow: 0 2px 8px rgba(76, 125, 255, .32);
}
.p-play:hover { filter: brightness(1.08); color: #fff !important; }
.p-btn.is-fav { color: #ff3b30 !important; }

/* 进度条（PC） */
.p-progress-wrap { display: none; align-items: center; gap: 8px; flex: 1; min-width: 0; margin-left: 6px; }
.p-time {
  font-size: 11px; color: #b3b8c1;
  font-variant-numeric: tabular-nums;
  min-width: 32px; text-align: center;
  flex: 0 0 auto;
}

.p-seek, .p-volume {
  -webkit-appearance: none; appearance: none;
  height: 3px; border-radius: 999px;
  background: #e8eaee;
  outline: none;
}
.p-seek { flex: 1; min-width: 60px; cursor: pointer; }
.p-seek::-webkit-slider-thumb, .p-volume::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 11px; height: 11px; border: 0; border-radius: 50%;
  background: #4c7dff;
  box-shadow: 0 0 0 3px rgba(76, 125, 255, .16);
}
.p-seek::-moz-range-thumb, .p-volume::-moz-range-thumb {
  width: 11px; height: 11px; border: 0; border-radius: 50%; background: #4c7dff;
}

/* 右：收藏 / 列表 / 音量 */
.player-extra { display: none; align-items: center; gap: 4px; flex: 0 0 auto; }
.p-volume { width: 74px; }

/* 展开按钮 */
.pl-expand { display: none; }

/* ---------- 队列抽屉 ---------- */
.pl-queue {
  position: absolute;
  right: 12px; bottom: 70px;
  width: 320px; max-height: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 34px rgba(0, 0, 0, .16);
  display: flex; flex-direction: column;
  overflow: hidden;
  z-index: 810;
}
.pl-queue[hidden] { display: none !important; }
.plq-head {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid #f2f4f7;
  flex: 0 0 auto;
}
.plq-head b { font-size: 14px; color: #1a1a1a; flex: 1; }
.plq-count { font-size: 12px; color: #b3b8c1; }
.plq-x { border: 0; background: none; color: #b3b8c1; font-size: 13px; padding: 4px; }

.plq-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.plq-item {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 8px; border-radius: 8px; cursor: pointer;
}
.plq-item:hover { background: #f7f8fa; }
.plq-item.on { background: #eef4ff; }
.plq-item.on .plq-info b { color: #4c7dff; }
.plq-cover { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex: 0 0 34px; background: #f2f4f7; }
.plq-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.plq-info b {
  font-size: 13px; font-weight: 500; color: #1a1a1a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.plq-info i {
  font-size: 11px; color: #999; font-style: normal;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.plq-play { font-size: 11px; color: #4c7dff; flex: 0 0 auto; }
.plq-empty { padding: 24px 0; text-align: center; font-size: 13px; color: #b3b8c1; }

/* ---------- PC 端（≥900px）：完整播放条 ---------- */
@media (min-width: 900px) {
  .player-inner { height: 72px; padding: 0 24px; gap: 18px; }
  .player-meta { flex: 0 0 30%; max-width: 320px; }
  .player-cover { width: 52px !important; height: 52px !important; }
  .player-info { max-width: 240px; }
  .player-title { font-size: 14px !important; }
  .player-artist { font-size: 12px !important; }
  .player-controls { flex: 1; justify-content: center; gap: 6px; }
  .p-progress-wrap { display: flex; max-width: 420px; }
  .player-extra { display: flex; }
  .pl-progress { display: none; }
  .pl-expand { display: none; }
  .p-btn { width: 36px; height: 36px; font-size: 16px; }
  .p-play { width: 42px !important; height: 42px !important; font-size: 15px !important; }
  .pl-queue { right: 24px; bottom: 84px; }
}

/* ---------- 移动端（<900px）：酷狗迷你条 ---------- */
@media (max-width: 899px) {
  /* 播放条贴底，位于 TabBar 之上 */
  body.has-player .player { bottom: 56px; }
  body.has-player .tabbar { display: none !important; }
  body.has-player .site-main { padding-bottom: 132px !important; }

  .player-inner { height: 58px; padding: 0 12px; gap: 8px; }
  .player-cover { width: 40px !important; height: 40px !important; }
  .player-info { max-width: 130px; }
  .player-title { font-size: 13px !important; }
  .player-artist { font-size: 11px !important; }

  .player-controls { flex: 0 0 auto; gap: 2px; }
  .p-progress-wrap { display: none; }

  /* 移动端只留 上/播放/下，模式与随机收进播放页 */
  .p-btn.p-side { width: 32px; height: 32px; font-size: 14px; }
  #pMode, #pShuffle { display: none; }

  .p-play { width: 40px !important; height: 40px !important; }

  .player-extra { display: flex; margin-left: auto; gap: 0; }
  #pFav, #pVolumeBtn, #pVolume { display: none; }
  #pList { display: grid; }

  .pl-expand { display: grid; width: 30px; height: 30px; font-size: 16px; color: #b3b8c1; }

  .pl-queue {
    position: fixed;
    left: 0; right: 0; bottom: 0; top: auto;
    width: 100%; max-height: 68vh;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 30px rgba(0, 0, 0, .18);
  }

  /* 全屏播放页（展开态） */
  body.pl-expanded .player {
    top: 0 !important; bottom: 0 !important;
    height: 100vh !important;
    border-top: 0 !important;
    z-index: 9500 !important;
  }
  body.pl-expanded .player-inner {
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 60px 26px 40px;
  }
  body.pl-expanded .player-meta { flex-direction: column; max-width: none; gap: 20px; }
  body.pl-expanded .player-cover {
    width: 240px !important; height: 240px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  }
  body.pl-expanded .player-info { max-width: 100%; align-items: center; }
  body.pl-expanded .player-title { font-size: 19px !important; }
  body.pl-expanded .player-artist { font-size: 13px !important; }
  body.pl-expanded .player-controls { flex-direction: column-reverse; gap: 18px; width: 100%; }
  body.pl-expanded .p-progress-wrap { display: flex; width: 100%; order: 0; }
  body.pl-expanded .p-btn.p-side,
  body.pl-expanded #pMode,
  body.pl-expanded #pShuffle { display: grid; }
  body.pl-expanded .pl-expand { position: absolute; top: 22px; left: 50%; transform: translateX(-50%) rotate(180deg); }
  body.pl-expanded .player-extra { margin-left: 0; }
}

/* ============================================================
   v22：移动端宽度/留白修正（卡片自适应 + 统一 16px 安全边距）
   ============================================================ */
@media (max-width: 899px) {

  /* 全局：禁止横向溢出，统一安全边距变量 */
  :root { --mk-pad: 15px; }
  html, body { overflow-x: hidden !important; max-width: 100% !important; }
  body { width: 100%; }
  .site-main, .mk-wrap { max-width: 100% !important; overflow-x: hidden; }

  /* ---------- 顶栏：logo 与搜索框留呼吸感 ---------- */
  .mk-head { padding: 0 var(--mk-pad) !important; gap: 10px !important; }
  .mk-logo { flex: 0 0 auto; gap: 6px; }
  .mk-logo-t { font-size: 15px; letter-spacing: -.3px; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mk-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    margin-left: 2px;
    height: 30px;
    padding: 0 10px;
  }
  .mk-search input { font-size: 12.5px; }

  /* ---------- 导航 Tab：等分，不再贴边 ---------- */
  .mk-nav {
    padding: 0 var(--mk-pad) !important;
    gap: 0 !important;
    justify-content: flex-start;
  }
  .mk-nav a { font-size: 15px; margin-right: 22px; }
  .mk-nav a.on { font-size: 14px; padding: 0 13px; height: 27px; line-height: 27px; border-radius: 13.5px; }

  /* ---------- 轮播：圆点与按钮内收 ---------- */
  .mk-banner-info { left: var(--mk-pad) !important; right: var(--mk-pad) !important; bottom: 12px !important; }
  .mk-banner-title { font-size: 17px; }
  .mk-banner-play { height: 30px; padding: 0 16px; font-size: 12.5px; }
  .mk-dots { right: var(--mk-pad) !important; bottom: 9px !important; }
  .mk-dot { width: 5px; height: 5px; }
  .mk-dot.on { width: 13px; }

  /* ---------- 区块头：统一边距 ---------- */
  .mk-section { padding: 15px 0 4px; }
  .mk-sec-head { padding: 0 var(--mk-pad) !important; margin-bottom: 10px; }
  .mk-sec-head h2 { font-size: 18px; }
  .mk-more { font-size: 12px; padding-right: 0; }

  /* ---------- 横滑区：边距 + 卡片等比缩小 ---------- */
  .mk-scroll {
    padding: 0 var(--mk-pad) 4px !important;
    gap: 10px;
    scroll-padding-left: var(--mk-pad);
  }
  /* 卡片宽度由 v27 统一控制 */
  .mk-pl { flex: 0 0 auto !important; }
  .mk-pl-cover {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 11px;
  }
  .mk-pl-name { font-size: 12.5px; left: 10px; right: 10px; bottom: 9px; }
  .mk-pl-plays { font-size: 10px; right: 8px; bottom: 34px; }
  .mk-pl-foot { margin-top: 6px; gap: 6px; }
  .mk-pl-artist { font-size: 11.5px; max-width: none; flex: 1; min-width: 0; }
  .mk-pl-play { width: 24px; height: 24px; font-size: 9px; flex: 0 0 24px; }

  /* ---------- 列表行：统一左右边距 ---------- */
  .mk-list { padding: 0 var(--mk-pad) !important; }
  .mk-row { gap: 10px; padding: 9px 0; }
  .mk-row-cover { flex: 0 0 52px !important; width: 52px !important; height: 52px !important; }
  .mk-row-title { font-size: 13.5px; }
  .mk-row-sub { font-size: 11.5px; }
  .mk-row-play { flex: 0 0 30px; width: 30px; height: 30px; }

  /* ---------- 榜单：边距 + 缩窄徽标 ---------- */
  .mk-ranks { padding: 0 var(--mk-pad) !important; gap: 9px; }
  .mk-rank { grid-template-columns: 74px 1fr; }
  .mk-rank-badge { font-size: 12.5px; }
  .mk-rank-list { padding: 7px 9px; }
  .mk-rank-list .t { max-width: 108px; font-size: 12.5px; }
  .mk-rank-list .a { font-size: 10.5px; }

  /* ---------- 频道：108→92 方块，留边距 ---------- */
  .mk-channels { padding: 0 var(--mk-pad) !important; gap: 9px !important; }
  .mk-channel { flex: 0 0 92px !important; }
  .mk-channel-ico { width: 92px !important; height: 92px !important; border-radius: 9px; font-size: 29px; }
  .mk-channel-name { font-size: 12px; max-width: 92px; }

  /* ---------- 页脚 ---------- */
  .mk-foot { padding: 24px var(--mk-pad) 28px; }

  /* ---------- 播放条内边距一致 ---------- */
  .player-inner { padding: 0 var(--mk-pad) !important; }
  .player-info { max-width: 116px !important; }
}

/* 超小屏（≤340px）再收一档 */
@media (max-width: 340px) {
  .mk-logo-t { display: none; }
}

/* ============================================================
   v23：移动端细节收尾（搜索框呼吸感 / 横滑尾留白 / 底部不遮）
   ============================================================ */
@media (max-width: 899px) {
  /* 顶栏：logo 与搜索框之间 12px，搜索框右侧留 15px */
  .mk-head { padding-right: var(--mk-pad) !important; }
  .mk-search { margin-left: 4px; }

  /* 横滑容器末尾补白，最后一张卡不贴边 */
  .mk-scroll::after {
    content: '';
    flex: 0 0 calc(var(--mk-pad) - 10px);
  }

  /* 底部：给 TabBar / 播放条留足空间，最后一行不被遮 */
  body { padding-bottom: 0 !important; }
  body:not(.has-player) .site-main { padding-bottom: 76px !important; }
  body.has-player .site-main { padding-bottom: 136px !important; }

  /* 区块头：标题与右侧 chips 之间不再被拉太开 */
  .mk-sec-head { gap: 10px; }
  .mk-sec-head h2 { flex: 0 1 auto; }

  /* 列表行内文字行距略放宽 */
  .mk-row-main { gap: 4px !important; }
  .mk-row-sub { line-height: 1.35; }
}

/* ============================================================
   v24：移动端底部安全区 + 播放器/TabBar 不遮内容
   ============================================================ */
@media (max-width: 899px) {
  /* TabBar 固定高度 56px + 底部安全区 */
  .tabbar {
    height: auto !important;
    min-height: 56px;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }

  /* 未播放：只给 TabBar 让位 */
  body:not(.has-player) .site-main {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* 播放中：TabBar 隐藏，播放条 58px 让位 */
  body.has-player .site-main {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.has-player .player {
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }

  /* 顶栏搜索框右侧再收一点点呼吸 */
  .mk-search { margin-right: 2px; }
}

/* ============================================================
   v25：底部安全区彻底修正 + 横滑卡片宽度定档
   ============================================================ */
@media (max-width: 899px) {
  /* 卡片宽度定档：390 屏约 62%(=242) 未到位，改为固定 vw 比例并限制 */

  /* 底部安全区：用更高的静态 padding 兜住 TabBar(56) + 安全区 + 余量 */
  body:not(.has-player) .site-main {
    padding-bottom: 96px !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.has-player .site-main {
    padding-bottom: 96px !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* 页脚本身也补一段，最后一项绝不会被遮 */
  .mk-foot { padding-bottom: 34px !important; }

  /* TabBar 抬到底部之上，永不被播放条挤掉 */
  body.has-player .tabbar { display: flex !important; bottom: 58px !important; }
  body.has-player .player { bottom: 0 !important; }
  body.has-player .site-main {
    padding-bottom: 158px !important;
    padding-bottom: calc(158px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ============================================================
   v26：窄屏(≤375)底部安全区兜底 + 品牌/搜索框窄屏适配
   ============================================================ */
@media (max-width: 899px) {
  /* 底部安全区再兜一层：无论 TabBar 实测高度多少都不会遮内容 */
  .mk-foot { padding-bottom: 64px !important; }
  body .site-main { scroll-margin-bottom: 100px; }

  /* 卡片宽度统一档位：≤375 用 66vw，>375 用 64vw，上限 230 */
}

@media (max-width: 375px) {
  /* 窄屏：品牌字缩一点，搜索框右侧多留 */
  .mk-logo-t { font-size: 14px; max-width: 66px; }
  .mk-search { margin-left: 6px; margin-right: 2px; }
  .mk-foot { padding-bottom: 78px !important; }
  .tabbar { min-height: 58px; }
}

@media (max-width: 340px) {
  .mk-foot { padding-bottom: 86px !important; }
}

/* ============================================================
   v27：横滑卡片宽度最终档位（一次定义，后续不再覆盖）
   ============================================================ */
@media (max-width: 899px) {
  /* 单卡宽：屏幕 46%，最小 150px，最大 190px → 一屏正好露出 1.9 张 */
  .mk-pl {
    flex: 0 0 clamp(150px, 46vw, 190px) !important;
    max-width: 190px;
  }
  .mk-pl-cover {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 11px;
  }
  /* 卡片文字在窄卡上不挤 */
  .mk-pl-name  { font-size: 12px !important; left: 9px !important; right: 9px !important; bottom: 8px !important; }
  .mk-pl-plays { font-size: 9.5px !important; right: 7px !important; bottom: 30px !important; }
  .mk-pl-artist { font-size: 11px !important; }
  .mk-pl-play  { width: 22px !important; height: 22px !important; flex: 0 0 22px !important; font-size: 8px !important; }

  /* 频道方块同步缩到与卡片协调 */
  .mk-channel { flex: 0 0 88px !important; }
  .mk-channel-ico { width: 88px !important; height: 88px !important; font-size: 27px !important; }
  .mk-channel-name { font-size: 11.5px !important; max-width: 88px !important; }
}

@media (max-width: 375px) {
  .mk-pl { flex: 0 0 clamp(140px, 48vw, 172px) !important; max-width: 172px; }
  .mk-channel { flex: 0 0 82px !important; }
  .mk-channel-ico { width: 82px !important; height: 82px !important; font-size: 25px !important; }
  .mk-channel-name { max-width: 82px !important; }
}

/* ============================================================
   v28：曲库页 /library 移动端照 m.kugou.com 重做（ml-* 命名）
   ============================================================ */
@media (max-width: 899px) {

  /* ---------- 粘性筛选容器 ---------- */
  .ml-filter {
    position: sticky;
    top: 94px;             /* mk-head 50 + mk-nav 44 */
    z-index: 50;
    background: #fff;
    padding: 10px 0 0;
  }

  /* 搜索条 */
  .ml-search-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 0 var(--mk-pad) 10px;
  }
  .ml-input-wrap {
    flex: 1; min-width: 0;
    height: 34px;
    background: #f2f4f7;
    border-radius: 17px;
    display: flex; align-items: center; gap: 6px;
    padding: 0 12px;
  }
  .ml-search-ico { font-size: 12px; opacity: .5; }
  .ml-input-wrap input {
    flex: 1; min-width: 0;
    border: 0; background: transparent;
    font-size: 13px; color: #1a1a1a;
    outline: none;
  }
  .ml-input-wrap input::placeholder { color: #b3b8c1; }
  .ml-search-btn {
    flex: 0 0 auto;
    height: 34px; padding: 0 16px;
    border: 0; border-radius: 17px;
    background: #4c7dff; color: #fff;
    font-size: 13px; font-weight: 600;
  }
  .ml-search-btn:active { opacity: .85; }

  /* 胶囊行 */
  .ml-chips {
    display: flex; gap: 8px;
    overflow-x: auto;
    padding: 0 var(--mk-pad) 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ml-chips::-webkit-scrollbar { display: none; }
  .ml-chips::after { content: ''; flex: 0 0 calc(var(--mk-pad) - 8px); }

  .ml-chip {
    flex: 0 0 auto;
    height: 30px; padding: 0 14px;
    border: 0; border-radius: 15px;
    background: #f2f4f7; color: #5a6270;
    font-size: 13px;
    display: inline-flex; align-items: center; gap: 4px;
    transition: .15s;
    white-space: nowrap;
  }
  .ml-chip.on {
    background: #e8f0ff;
    color: #4c7dff;
    font-weight: 700;
  }
  .ml-chip-ico { font-size: 12px; }

  /* 排序行更紧凑 */
  .ml-sort-row .ml-chip { height: 28px; padding: 0 13px; font-size: 12.5px; }

  /* 筛选区底部分割线 */
  .ml-filter::after {
    content: '';
    display: block;
    height: 8px;
    background: #f7f8fa;
  }

  /* ---------- 列表头 ---------- */
  .ml-list-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px var(--mk-pad) 6px;
  }
  .ml-list-count { font-size: 12px; color: #999; }
  .ml-list-sort-name { font-size: 13px; font-weight: 700; color: #1a1a1a; }

  /* ---------- 曲目行 ---------- */
  .ml-list { padding: 0 var(--mk-pad); }

  .ml-row {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 0;
    border-bottom: 1px solid #f4f5f7;
  }
  .ml-row:last-child { border-bottom: 0; }

  .ml-row-cover {
    position: relative;
    flex: 0 0 56px; width: 56px; height: 56px;
    border-radius: 7px; overflow: hidden;
    background: #f2f4f7;
  }
  .ml-row-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .ml-row-hot {
    position: absolute; left: 0; top: 0;
    background: #ff3b30; color: #fff;
    font-size: 9px; font-weight: 700;
    padding: 1px 4px;
    border-radius: 7px 0 7px 0;
    letter-spacing: .3px;
  }

  .ml-row-main {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 3px;
  }
  .ml-row-title {
    font-size: 14px; font-weight: 600; color: #1a1a1a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.35;
  }
  .ml-row-sub {
    display: flex; align-items: center; gap: 4px;
    font-size: 11.5px; color: #999;
    white-space: nowrap; overflow: hidden;
  }
  .ml-row-artist, .ml-row-cat {
    max-width: 46%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .ml-row-dot { flex: 0 0 auto; opacity: .6; }
  .ml-row-meta {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; color: #b3b8c1;
  }
  .ml-row-plays { color: #b3b8c1; }
  .ml-row-dur { font-variant-numeric: tabular-nums; }

  .ml-row-play {
    flex: 0 0 32px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid #e3e6eb;
    background: #fff;
    color: #4c7dff;
    font-size: 10px;
    display: grid; place-items: center;
    transition: .15s;
  }
  .ml-row-play:active {
    background: #4c7dff;
    border-color: #4c7dff;
    color: #fff;
  }
  .ml-row.is-playing .ml-row-play {
    background: #4c7dff; border-color: #4c7dff; color: #fff;
  }
  .ml-row.is-playing .ml-row-title { color: #4c7dff; }

  /* ---------- 空态 ---------- */
  .ml-empty {
    padding: 60px 20px;
    text-align: center;
  }
  .ml-empty-ico { font-size: 42px; margin-bottom: 14px; opacity: .45; }
  .ml-empty p { font-size: 15px; font-weight: 600; color: #5a6270; margin: 0 0 6px; }
  .ml-empty span { font-size: 12.5px; color: #b3b8c1; }

  /* ---------- 加载更多 ---------- */
  .ml-more-wrap {
    padding: 18px var(--mk-pad) 24px;
    text-align: center;
  }
  .ml-more-btn {
    width: 100%;
    height: 42px;
    border: 1px solid #e3e6eb;
    border-radius: 21px;
    background: #fff;
    color: #4c7dff;
    font-size: 14px;
    font-weight: 600;
  }
  .ml-more-btn:disabled { opacity: .55; }
  .ml-no-more { font-size: 12.5px; color: #c8ccd4; }

  /* 曲库页隐藏 PC 旧区块的移动端影响 */
  .kgm-only { display: block; }
  .kgpc-only { display: none !important; }
}

/* ============================================================
   v29：详情页 = 酷狗手机版「单独播放页」(mixsong) 全屏深色版
   mp-* 命名空间，仅移动端生效
   ============================================================ */
@media (max-width: 899px) {

  /* 详情页整体：隐藏 PC 区块、去掉底部留白 */
  body.page-detail .kgpc-only { display: none !important; }
  body.page-detail .site-main { padding-bottom: 0 !important; }
  body.page-detail .tabbar { display: none !important; }

  /* ---------- 页面容器 ---------- */
  .mp-page {
    position: relative;
    min-height: 100vh;
    padding: 0 var(--mk-pad) 26px;
    background: #0a0a0c;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* 高斯模糊封面背景 */
  .mp-bg {
    position: absolute;
    left: -24%; top: -10%;
    width: 148%; height: 62%;
    background-size: cover;
    background-position: center;
    filter: blur(52px) saturate(160%);
    transform: scale(1.1);
    opacity: .62;
    z-index: 0;
  }
  .mp-bg-mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
      rgba(10, 10, 12, .34) 0%,
      rgba(10, 10, 12, .66) 34%,
      rgba(10, 10, 12, .94) 58%,
      #0a0a0c 74%);
    z-index: 1;
  }

  /* ---------- 顶栏 ---------- */
  .mp-head {
    position: relative;
    z-index: 5;
    display: flex; align-items: center;
    gap: 8px;
    padding: 10px 0 6px;
    color: #fff;
  }
  .mp-back, .mp-share {
    flex: 0 0 36px;
    width: 36px; height: 36px;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: grid; place-items: center;
    padding: 0;
  }
  .mp-back:active, .mp-share:active { background: rgba(255, 255, 255, .2); }
  .mp-head-mid {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; align-items: center;
    gap: 1px;
    text-align: center;
  }
  .mp-head-title {
    font-size: 15px; font-weight: 600; color: #fff;
    max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    letter-spacing: .2px;
  }
  .mp-head-artist {
    font-size: 11px; color: rgba(255, 255, 255, .6);
    max-width: 100%;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* ---------- 唱片区 ---------- */
  .mp-disc-area {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex; justify-content: center;
    padding: 18px 0 8px;
  }

  /* 黑胶唱片 */
  .mp-disc {
    position: relative;
    width: 68vw; height: 68vw;
    max-width: 268px; max-height: 268px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 50%,
        #1c1c22 0%, #0f0f13 26%, #17171c 34%, #0d0d11 48%, #16161b 66%, #0b0b0e 100%);
    box-shadow:
      0 12px 44px rgba(0, 0, 0, .66),
      inset 0 0 0 1px rgba(255, 255, 255, .05);
    display: grid; place-items: center;
  }
  .mp-disc-groove {
    position: absolute; inset: 6%;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, .038) 0 1px,
      transparent 1px 4px);
    pointer-events: none;
  }
  .mp-disc-cover {
    position: relative;
    width: 62%; height: 62%;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a1e;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .07);
  }
  .mp-disc.spinning { animation: mpSpin 22s linear infinite; }
  @keyframes mpSpin { to { transform: rotate(360deg); } }

  /* 唱针 */
  .mp-tonearm {
    position: absolute;
    right: 12%;
    top: -4px;
    width: 92px; height: 118px;
    transform-origin: 84% 12%;
    transform: rotate(-26deg);
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
    z-index: 6;
  }
  .mp-tonearm.on { transform: rotate(-4deg); }
  .mp-tonearm-base {
    position: absolute;
    right: 0; top: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(160deg, #d8dae0, #8d919b);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
  }
  .mp-tonearm-arm {
    position: absolute;
    right: 7px; top: 14px;
    width: 4px; height: 92px;
    border-radius: 3px;
    background: linear-gradient(180deg, #e2e4ea, #a8acb6);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .45);
  }
  .mp-tonearm-arm::after {
    content: '';
    position: absolute;
    left: -5px; bottom: -8px;
    width: 14px; height: 16px;
    border-radius: 3px;
    background: linear-gradient(180deg, #b9bdc6, #7c818c);
  }

  /* ---------- 歌词区 ---------- */
  .mp-lyric {
    position: relative;
    z-index: 4;
    flex: 1;
    min-height: 128px;
    max-height: 160px;
    overflow-y: auto;
    padding: 6px 0;
    margin: 6px 0 4px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  }
  .mp-lyric::-webkit-scrollbar { display: none; }
  .mp-lyric-inner { padding: 46px 0; }
  .mp-l-line {
    margin: 0;
    padding: 6px 2px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .38);
    text-align: center;
    transition: color .24s, transform .24s;
    transform-origin: center;
  }
  .mp-l-line.on {
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    transform: scale(1.02);
  }
  .mp-lyric-empty {
    text-align: center;
    color: rgba(255, 255, 255, .3);
    font-size: 13px;
    padding: 42px 0;
    margin: 0;
  }

  /* ---------- 进度条 ---------- */
  .mp-progress {
    position: relative;
    z-index: 4;
    padding: 4px 0 0;
  }
  .mp-seek-wrap {
    position: relative;
    height: 22px;
    display: flex; align-items: center;
    cursor: pointer;
    touch-action: none;
  }
  .mp-seek-track {
    position: relative;
    width: 100%; height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
  }
  .mp-seek-fill {
    position: absolute; left: 0; top: 0;
    height: 100%; width: 0;
    background: linear-gradient(90deg, #6f9bff, #4c7dff);
    border-radius: 2px;
  }
  .mp-seek-dot {
    position: absolute;
    left: 0; top: 50%;
    width: 11px; height: 11px;
    margin-left: -5.5px;
    margin-top: -5.5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 125, 255, .3);
    pointer-events: none;
  }
  .mp-times {
    display: flex; justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, .42);
    font-variant-numeric: tabular-nums;
    padding-top: 1px;
  }

  /* ---------- 控制按钮 ---------- */
  .mp-controls {
    position: relative;
    z-index: 4;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 6px 10px;
  }
  .mp-ctl {
    border: 0; background: none;
    color: rgba(255, 255, 255, .82);
    display: grid; place-items: center;
    padding: 6px;
    transition: .15s;
  }
  .mp-ctl:active { color: #fff; transform: scale(.94); }
  .mp-ctl-side { width: 38px; height: 38px; }
  .mp-mode-ico { font-size: 17px; opacity: .55; line-height: 1; }
  .mp-ctl-side.on .mp-mode-ico { opacity: 1; }
  .mp-ctl-side.on { color: #7aa2ff; }

  .mp-play {
    flex: 0 0 60px;
    width: 60px; height: 60px;
    border: 0; border-radius: 50%;
    background: #fff;
    color: #0a0a0c;
    display: grid; place-items: center;
    box-shadow: 0 6px 22px rgba(255, 255, 255, .18);
    transition: .15s;
  }
  .mp-play:active { transform: scale(.94); }

  /* ---------- 功能栏 ---------- */
  .mp-actions {
    position: relative;
    z-index: 4;
    display: flex; align-items: center; justify-content: space-around;
    padding: 12px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .mp-act {
    border: 0; background: none;
    color: rgba(255, 255, 255, .66);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 4px 8px;
    text-decoration: none;
    transition: .15s;
  }
  .mp-act:active { color: #fff; }
  .mp-act.on { color: #ff5a6a; }
  .mp-act-label { font-size: 10.5px; }

  /* ---------- 曲目信息 ---------- */
  .mp-info {
    position: relative;
    z-index: 4;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 5px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .34);
    padding: 8px 0 0;
  }
  .mp-desc {
    position: relative;
    z-index: 4;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .42);
    padding: 10px 0 0;
    text-align: center;
  }
}

/* 移动端详情页：底部播放条不重复显示（本页本身就是播放页） */
@media (max-width: 899px) {
  body.page-detail.has-player .player { display: none !important; }
  body.page-detail.has-player .site-main { padding-bottom: 0 !important; }
}

/* ============================================================
   v31：我的 / 登录 / 注册 移动端照酷狗手机版
   myp-*（我的）、auth-m-*（登录注册）
   ============================================================ */
@media (max-width: 899px) {

  /* ---------------- 我的 ---------------- */
  .myp-head {
    position: relative;
    background: linear-gradient(160deg, #3d6ff2 0%, #4c7dff 52%, #5f8dff 100%);
    padding: 0 var(--mk-pad) 18px;
    overflow: hidden;
  }
  .myp-head-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 82% 12%, rgba(255, 255, 255, .22), transparent 46%),
      radial-gradient(circle at 12% 88%, rgba(255, 255, 255, .12), transparent 44%);
    pointer-events: none;
  }
  .myp-head-bar {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    height: 50px;
  }
  .myp-logo { display: flex; align-items: center; gap: 7px; text-decoration: none; }
  .myp-logo-k {
    width: 26px; height: 26px; border-radius: 50%;
    background: #fff; color: #4c7dff;
    font-size: 15px; font-weight: 800;
    display: grid; place-items: center;
  }
  .myp-logo-t { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .3px; }
  .myp-set {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff; font-size: 16px;
    display: grid; place-items: center;
    text-decoration: none;
  }
  .myp-set:active { background: rgba(255, 255, 255, .3); }

  .myp-user {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 0 18px;
  }
  .myp-avatar {
    flex: 0 0 62px; width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .5);
    overflow: hidden;
    display: grid; place-items: center;
  }
  .myp-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .myp-avatar span { color: #fff; font-size: 24px; font-weight: 700; }
  .myp-user-meta { flex: 1; min-width: 0; }
  .myp-name {
    margin: 0 0 4px;
    font-size: 18px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .myp-sub {
    margin: 0; font-size: 11.5px; color: rgba(255, 255, 255, .72);
    display: flex; align-items: center; gap: 6px;
  }
  .myp-badge {
    background: rgba(255, 255, 255, .26);
    color: #fff; font-size: 10px;
    padding: 1px 6px; border-radius: 8px;
  }
  .myp-edit {
    flex: 0 0 auto;
    height: 30px; padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 15px;
    background: rgba(255, 255, 255, .14);
    color: #fff; font-size: 12.5px;
  }
  .myp-edit:active { background: rgba(255, 255, 255, .3); }

  .myp-stats {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 11px 0;
  }
  .myp-stat {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    border-right: 1px solid rgba(255, 255, 255, .16);
  }
  .myp-stat:last-child { border-right: 0; }
  .myp-stat b { font-size: 15px; font-weight: 700; color: #fff; }
  .myp-stat span { font-size: 10.5px; color: rgba(255, 255, 255, .68); }

  /* 九宫格 */
  .myp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px 0;
    background: #fff;
    padding: 16px 0 10px;
    margin-bottom: 8px;
  }
  .myp-grid-item {
    border: 0; background: none;
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 6px 0;
    text-decoration: none;
    cursor: pointer;
  }
  .myp-grid-ico {
    width: 44px; height: 44px;
    border-radius: 13px;
    display: grid; place-items: center;
    font-size: 19px;
  }
  .myp-grid-item:active .myp-grid-ico { transform: scale(.94); }
  .myp-grid-txt { font-size: 11.5px; color: #4a5260; }

  /* 区块 */
  .myp-sec { background: #fff; margin-bottom: 8px; padding: 0 var(--mk-pad) 4px; }
  .myp-sec-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0 8px;
  }
  .myp-sec-title { margin: 0; font-size: 15px; font-weight: 700; color: #1a1a1a; }
  .myp-sec-more { font-size: 11.5px; color: #b3b8c1; }
  .myp-list { padding-bottom: 4px; }

  /* 空态 */
  .myp-empty {
    display: flex; flex-direction: column; align-items: center;
    padding: 32px 0 36px;
    gap: 4px;
  }
  .myp-empty-ico { font-size: 36px; opacity: .35; margin-bottom: 4px; }
  .myp-empty p { margin: 0; font-size: 14px; font-weight: 600; color: #5a6270; }
  .myp-empty span { font-size: 12px; color: #b3b8c1; }
  .myp-empty-btn {
    margin-top: 14px;
    height: 34px; padding: 0 22px;
    border-radius: 17px;
    background: #eef3ff; color: #4c7dff;
    font-size: 13px; font-weight: 600;
    display: inline-grid; place-items: center;
    text-decoration: none;
  }
  .myp-empty-btn:active { background: #dfe9ff; }

  /* 退出 */
  .myp-logout-wrap { padding: 12px var(--mk-pad) 24px; }
  .myp-logout {
    width: 100%; height: 46px;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    background: #fff;
    color: #ff5a6a;
    font-size: 15px;
    font-weight: 600;
  }
  .myp-logout:active { background: #fff5f6; }

  /* 账号设置抽屉 */
  .myp-sheet {
    position: fixed; inset: 0; z-index: 900;
    display: flex; align-items: flex-end;
  }
  .myp-sheet[hidden] { display: none !important; }
  .myp-sheet-mask {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .45);
    animation: mypFade .2s ease;
  }
  @keyframes mypFade { from { opacity: 0 } to { opacity: 1 } }
  .myp-sheet-body {
    position: relative;
    width: 100%;
    max-height: 84vh;
    background: #fff;
    border-radius: 18px 18px 0 0;
    display: flex; flex-direction: column;
    animation: mypUp .26s cubic-bezier(.32, .72, 0, 1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  @keyframes mypUp { from { transform: translateY(100%) } to { transform: translateY(0) } }
  .myp-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px var(--mk-pad) 10px;
    border-bottom: 1px solid #f4f5f7;
  }
  .myp-sheet-head h3 { margin: 0; font-size: 16px; font-weight: 700; color: #1a1a1a; }
  .myp-sheet-x {
    border: 0; background: #f4f5f7;
    width: 28px; height: 28px; border-radius: 50%;
    color: #666; font-size: 13px;
  }
  .myp-sheet-scroll {
    overflow-y: auto;
    padding: 4px var(--mk-pad) 20px;
    -webkit-overflow-scrolling: touch;
  }
  .myp-form { padding: 12px 0; }
  .myp-form + .myp-form { border-top: 8px solid #f7f8fa; margin: 0 calc(-1 * var(--mk-pad)); padding: 12px var(--mk-pad); }
  .myp-form-sub {
    margin: 6px 0 12px;
    font-size: 13.5px; font-weight: 700; color: #4c7dff;
  }
  .myp-field {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 13px;
  }
  .myp-field span { font-size: 12px; color: #8a9099; }
  .myp-field input {
    height: 44px;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    background: #fafbfc;
    padding: 0 13px;
    font-size: 14px; color: #1a1a1a;
    outline: none;
    transition: .15s;
  }
  .myp-field input:focus { border-color: #4c7dff; background: #fff; }
  .myp-field input:disabled { color: #b3b8c1; background: #f4f5f7; }
  .myp-submit {
    width: 100%; height: 46px;
    border: 0; border-radius: 23px;
    background: #4c7dff; color: #fff;
    font-size: 15px; font-weight: 600;
    margin-top: 4px;
  }
  .myp-submit:active { opacity: .88; }
  .myp-submit:disabled { opacity: .6; }

  /* ---------------- 登录 / 注册 ---------------- */
  .auth-m {
    position: relative;
    min-height: 100vh;
    background: #f6f8fb;
    padding: 0 var(--mk-pad) 30px;
    overflow: hidden;
  }
  .auth-m-bg {
    position: absolute; left: -20%; top: -14%;
    width: 140%; height: 46%;
    background: linear-gradient(160deg, #3d6ff2 0%, #4c7dff 58%, #7ba3ff 100%);
    border-radius: 0 0 46% 46%;
    filter: blur(.4px);
  }
  .auth-m-head {
    position: relative;
    height: 50px;
    display: flex; align-items: center;
  }
  .auth-m-back {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    display: grid; place-items: center;
    text-decoration: none;
  }
  .auth-m-back:active { background: rgba(255, 255, 255, .32); }

  .auth-m-brand {
    position: relative;
    text-align: center;
    padding: 10px 0 30px;
  }
  .auth-m-logo {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: #fff;
    color: #4c7dff;
    font-size: 32px; font-weight: 800;
    display: grid; place-items: center;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(76, 125, 255, .32);
  }
  .auth-m-title { margin: 0 0 6px; font-size: 21px; font-weight: 700; color: #fff; }
  .auth-m-sub { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .82); }

  .auth-m-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 22px 18px 18px;
    box-shadow: 0 8px 30px rgba(15, 35, 80, .08);
  }
  .auth-m-field {
    display: flex; align-items: center; gap: 9px;
    height: 48px;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    background: #fafbfc;
    padding: 0 13px;
    margin-bottom: 13px;
    transition: .15s;
  }
  .auth-m-field:focus-within { border-color: #4c7dff; background: #fff; }
  .auth-m-ico { font-size: 14px; opacity: .55; flex: 0 0 auto; }
  .auth-m-field input {
    flex: 1; min-width: 0;
    border: 0; background: transparent;
    font-size: 14px; color: #1a1a1a;
    outline: none;
    height: 100%;
  }
  .auth-m-field input::placeholder { color: #b3b8c1; }
  .auth-m-eye {
    flex: 0 0 auto;
    border: 0; background: none;
    font-size: 14px; opacity: .45;
    padding: 4px;
    cursor: pointer;
  }
  .auth-m-eye.on { opacity: .95; }

  .auth-m-err {
    margin: 0 0 12px;
    font-size: 12.5px;
    color: #ff3b30;
    text-align: center;
  }
  .auth-m-btn {
    width: 100%; height: 48px;
    border: 0; border-radius: 24px;
    background: linear-gradient(135deg, #4c7dff, #3d6ff2);
    color: #fff;
    font-size: 16px; font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 6px 18px rgba(76, 125, 255, .3);
  }
  .auth-m-btn:active { transform: scale(.985); opacity: .92; }
  .auth-m-btn:disabled { opacity: .6; transform: none; }

  .auth-m-foot {
    margin: 16px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: #8a9099;
  }
  .auth-m-foot a { color: #4c7dff; font-weight: 600; text-decoration: none; }

  .auth-m-tip {
    margin: 22px 0 0;
    text-align: center;
    font-size: 11px;
    color: #b3b8c1;
    line-height: 1.6;
  }
}

/* ============================================================
   音效面板（audiofx.js）
   ============================================================ */
.fx-panel {
  position: absolute;
  right: 14px;
  bottom: calc(100% + 10px);
  z-index: 60;
  width: 268px;
  background: #17181c;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
  overflow: hidden;
  animation: fxPanelIn .18s ease-out;
}
@keyframes fxPanelIn {
  from { opacity: 0; transform: translateY(6px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fx-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 13.5px;
  color: #fff;
}
.fx-close {
  border: 0; background: none; color: rgba(255, 255, 255, .5);
  font-size: 15px; cursor: pointer; padding: 0 2px; line-height: 1;
}
.fx-close:hover { color: #fff; }
.fx-body { padding: 6px 14px 10px; }
.fx-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .82);
}
.fx-name { flex: 0 0 auto; }

/* 分段选择器（重低音 关/弱/中/强） */
.fx-seg {
  display: flex;
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}
.fx-seg button {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .55);
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: .14s;
  font-family: inherit;
}
.fx-seg button.on {
  background: #ff3b4f;
  color: #fff;
  font-weight: 600;
}

/* 开关 */
.fx-switch {
  position: relative;
  display: inline-block;
  width: 40px; height: 22px;
  flex: 0 0 auto;
}
.fx-switch input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.fx-switch i {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .16);
  border-radius: 22px;
  transition: .18s;
  cursor: pointer;
}
.fx-switch i::after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: .18s;
}
.fx-switch input:checked + i {
  background: #ff3b4f;
}
.fx-switch input:checked + i::after {
  transform: translateX(18px);
}

.fx-tip {
  margin: 4px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, .34);
  line-height: 1.5;
}
.fx-foot {
  padding: 0 14px 12px;
}
.fx-reset {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  padding: 8px;
  border-radius: 9px;
  cursor: pointer;
  transition: .14s;
  font-family: inherit;
}
.fx-reset:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* 移动端：底部弹出 */
@media (max-width: 899px) {
  .fx-panel {
    position: fixed;
    right: 10px; left: 10px;
    bottom: 78px;
    width: auto;
    border-radius: 16px;
    animation: fxSheetIn .2s ease-out;
  }
  @keyframes fxSheetIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .fx-row { padding: 11px 0; font-size: 13.5px; }
  .fx-seg button { padding: 5px 11px; font-size: 12px; }
}

/* ============================================================
   详情页移动端照酷狗增强（detail-m.js）
   ============================================================ */

/* ---------- 歌名 + 歌手居中区块（酷狗 newui-songname / singername） ---------- */
.mp-titlebar {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 10px 20px 2px;
}
.mp-titlebar-song {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; flex-wrap: wrap;
}
.mp-titlebar-name {
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
}
.mp-bpm {
  flex: 0 0 auto;
  font-size: 9.5px;
  font-weight: 600;
  color: #ffd24a;
  background: rgba(255, 210, 74, .14);
  border: 1px solid rgba(255, 210, 74, .3);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: .3px;
}
.mp-titlebar-artist {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .48);
  word-break: break-word;
}

/* ---------- 「查看完整歌词」按钮（酷狗 more_lrc-btn） ---------- */
.mp-lrc-more {
  position: relative;
  z-index: 4;
  display: block;
  margin: 0 auto 2px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-family: inherit;
  padding: 3px 12px;
  border-radius: 11px;
  cursor: pointer;
  transition: .15s;
}
.mp-lrc-more:active { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- 全屏歌词遮罩 ---------- */
.mp-lrc-full {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 12, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  animation: mpLrcIn .2s ease-out;
}
@keyframes mpLrcIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.mp-lrc-full-head {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mp-lrc-full-close {
  border: 0; background: none;
  color: rgba(255, 255, 255, .55);
  font-size: 17px; line-height: 1;
  cursor: pointer; padding: 2px 4px;
}
.mp-lrc-full-close:active { color: #fff; }
.mp-lrc-full-body {
  flex: 1;
  overflow-y: auto;
  padding: 40vh 26px 46vh;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mp-lrc-full-body::-webkit-scrollbar { display: none; }
.mp-lf-line {
  margin: 0;
  padding: 9px 0;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  color: rgba(255, 255, 255, .32);
  transition: color .25s, transform .25s;
  word-break: break-word;
}
.mp-lf-line.on {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  transform: scale(1.03);
}
body.mp-lrc-open { overflow: hidden; }

/* ---------- 模块区（相似歌曲 / 精彩评论） ---------- */
.mp-mod {
  position: relative;
  z-index: 4;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.mp-mod-title {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
}

/* 相似歌曲横向滚动 */
.mp-similar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.mp-similar::-webkit-scrollbar { display: none; }
.mp-sim-item {
  flex: 0 0 100px;
  width: 100px;
  text-decoration: none;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}
.mp-sim-cover {
  width: 100px; height: 100px;
  border-radius: 9px;
  object-fit: cover;
  background: rgba(255, 255, 255, .06);
  display: block;
  transition: transform .15s;
}
.mp-sim-item:active .mp-sim-cover { transform: scale(.95); }
.mp-sim-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .82);
  word-break: break-word;
}
.mp-sim-artist {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .36);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 评论占位 */
.mp-comment-empty {
  margin: 0;
  padding: 20px 0 24px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .3);
}

/* ---------- 详情页触发音效面板时：固定到底部 ---------- */
.fx-panel.fx-from-detail {
  position: fixed !important;
  left: 10px !important;
  right: 10px !important;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
  top: auto !important;
  width: auto !important;
  border-radius: 16px;
  z-index: 210;
  animation: fxSheetIn .2s ease-out;
}

/* ============================================================
   评论（comment.js）
   ============================================================ */
.mp-cm-count {
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .34);
  margin-left: 2px;
}

/* 发表框 */
.mp-cm-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}
.mp-cm-input {
  flex: 1;
  min-height: 36px;
  max-height: 96px;
  resize: none;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  font-family: inherit;
  padding: 8px 11px;
  outline: none;
  transition: border-color .15s;
}
.mp-cm-input:focus { border-color: rgba(255, 59, 79, .55); }
.mp-cm-input::placeholder { color: rgba(255, 255, 255, .28); }

.mp-cm-send {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #ff3b4f;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: .15s;
}
.mp-cm-send:active { transform: scale(.96); }
.mp-cm-send:disabled { opacity: .5; cursor: default; }

.mp-cm-login {
  display: block;
  padding: 11px 0;
  margin-bottom: 12px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .12);
  border-radius: 10px;
  text-decoration: none;
}
.mp-cm-login:active { background: rgba(255, 255, 255, .08); }

/* 列表 */
.mp-cm-list { display: flex; flex-direction: column; gap: 14px; }

.mp-cm {
  display: flex;
  gap: 10px;
  animation: mpCmIn .22s ease-out;
}
@keyframes mpCmIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mp-cm-avatar {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3b4f, #ff7a3d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
  user-select: none;
}

.mp-cm-main { flex: 1; min-width: 0; }

.mp-cm-meta {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 3px;
}
.mp-cm-name {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}
.mp-cm-time {
  font-size: 10.5px;
  color: rgba(255, 255, 255, .28);
  flex: 0 0 auto;
}

.mp-cm-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  word-break: break-word;
  white-space: pre-wrap;
}

.mp-cm-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 5px;
}

.mp-cm-like {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .34);
  font-size: 11px;
  font-family: inherit;
  padding: 2px 0;
  cursor: pointer;
  transition: color .15s;
}
.mp-cm-like-ico { font-size: 12px; line-height: 1; }
.mp-cm-like.on { color: #ff3b4f; }
.mp-cm-like:active { transform: scale(.92); }

.mp-cm-del {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .26);
  font-size: 11px;
  font-family: inherit;
  padding: 2px 0;
  cursor: pointer;
}
.mp-cm-del:active { color: rgba(255, 255, 255, .6); }

.mp-cm-more {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.mp-cm-more:active { background: rgba(255, 255, 255, .1); }

/* ============================================================
   PC 端评论区（comment.js mount pc）
   ============================================================ */
.pc-cm-count {
  font-size: 13px;
  font-weight: 400;
  color: var(--kg-text-3, #8a8a92);
  margin-left: 4px;
}

.pc-cm-section { max-width: 1180px; margin-left: auto; margin-right: auto; }

.pc-cm-form {
  margin-bottom: 22px;
}
.pc-cm-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 76px;
  resize: vertical;
  border: 1px solid var(--kg-border, #e6e6ea);
  background: var(--kg-bg-2, #fafafb);
  border-radius: 10px;
  color: var(--kg-text-1, #1a1a1f);
  font-size: 14px;
  line-height: 1.65;
  font-family: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.pc-cm-input:focus {
  border-color: #ff3b4f;
  background: #fff;
}
.pc-cm-input::placeholder { color: var(--kg-text-3, #a8a8b0); }

.pc-cm-form-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.pc-cm-send {
  border: 0;
  border-radius: 9px;
  background: #ff3b4f;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  padding: 9px 22px;
  cursor: pointer;
  transition: .15s;
}
.pc-cm-send:hover { background: #ff2038; }
.pc-cm-send:disabled { opacity: .55; cursor: default; }

.pc-cm-login {
  display: block;
  margin-bottom: 20px;
  padding: 15px;
  text-align: center;
  font-size: 13.5px;
  color: var(--kg-text-2, #5a5a66);
  background: var(--kg-bg-2, #fafafb);
  border: 1px dashed var(--kg-border, #e0e0e6);
  border-radius: 10px;
  text-decoration: none;
  transition: .15s;
}
.pc-cm-login:hover { border-color: #ff3b4f; color: #ff3b4f; }

.pc-cm-list { display: flex; flex-direction: column; gap: 18px; }

.pc-cm {
  display: flex;
  gap: 12px;
  animation: pcCmIn .2s ease-out;
}
@keyframes pcCmIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pc-cm-avatar {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3b4f, #ff7a3d);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
  user-select: none;
}

.pc-cm-main { flex: 1; min-width: 0; }

.pc-cm-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.pc-cm-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kg-text-1, #2a2a32);
}
.pc-cm-time {
  font-size: 11.5px;
  color: var(--kg-text-3, #a0a0aa);
}

.pc-cm-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--kg-text-1, #33333d);
  word-break: break-word;
  white-space: pre-wrap;
}

.pc-cm-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.pc-cm-like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  color: var(--kg-text-3, #9a9aa4);
  font-size: 12px;
  font-family: inherit;
  padding: 2px 0;
  cursor: pointer;
  transition: color .15s;
}
.pc-cm-like:hover { color: #ff3b4f; }
.pc-cm-like.on { color: #ff3b4f; }
.pc-cm-like-ico { font-size: 13px; line-height: 1; }

.pc-cm-del {
  border: 0;
  background: none;
  color: var(--kg-text-3, #b0b0b8);
  font-size: 12px;
  font-family: inherit;
  padding: 2px 0;
  cursor: pointer;
}
.pc-cm-del:hover { color: #ff3b4f; }

.pc-cm-empty {
  margin: 0;
  padding: 34px 0 40px;
  text-align: center;
  font-size: 13.5px;
  color: var(--kg-text-3, #a0a0aa);
}

.pc-cm-more {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: var(--kg-bg-2, #f4f4f6);
  color: var(--kg-text-2, #666670);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: .15s;
}
.pc-cm-more:hover { background: var(--kg-bg-3, #ececf0); color: var(--kg-text-1, #33333d); }

/* PC 详情页歌词空态 */
.kg-lyric.is-empty { display: flex; align-items: center; justify-content: center; min-height: 140px; }
