/**
 * 音乐 App · 黑白仿真版 CSS
 * 2026-09-11 重做 —— 按 _wg_music_bl.html 定稿落地
 *
 * 设计规范（见 小手机UI改版方案.md）：
 *   - 黑白灰中性底，不做彩色渲染
 *   - 主色 = 黑，可用 --m-accent 覆盖（装扮页换色）
 *   - 卡片白 + 细线 + 柔阴影，靠层次不靠边框
 *   - 作用域：#musicApp（不污染其它 App）
 */

/* ═══════════════ 变量 ═══════════════ */

#musicApp {
  --m-bg:         #F4F4F6;
  --m-card:       #FFFFFF;
  --m-ink:        #17171A;
  --m-ink2:       #6E6E76;
  --m-ink3:       #A6A6AE;
  --m-line:       rgba(0,0,0,.08);
  --m-soft:       rgba(0,0,0,.05);

  /* 主色 —— 装扮页会覆盖这三个 */
  --m-accent:      #1A1A1A;
  --m-accent-deep: #000000;
  --m-accent-soft: rgba(0,0,0,.055);

  --m-r-lg: 14px;
  --m-r-md: 10px;
  --m-r-sm: 8px;
  --m-shadow: 0 1px 3px rgba(0,0,0,.05);

  background: var(--m-bg);
}

/* 深色模式（跟随全局） */
html.dark-mode #musicApp {
  --m-bg:    #17171A;
  --m-card:  #232327;
  --m-ink:   #F2F2F4;
  --m-ink2:  #9A9AA2;
  --m-ink3:  #6A6A72;
  --m-line:  rgba(255,255,255,.09);
  --m-soft:  rgba(255,255,255,.06);
  --m-accent: #F2F2F4;
  --m-accent-deep: #FFFFFF;
  --m-accent-soft: rgba(255,255,255,.08);
  --m-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* ═══════════════ 外壳 ═══════════════ */

.m-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  background: var(--m-bg);
}

.m-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  padding-bottom: 108px;
  scrollbar-width: none;
}
.m-scroll::-webkit-scrollbar { display: none; }

/* 登录卡内容在小屏 / 大字号下超过视口时必须能滚动，二维码不参与纵向压缩。 */
#musicApp .music-login-shell {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px 12px 24px;
  box-sizing: border-box;
  display: block;
  background: var(--m-bg);
}

#musicApp .music-login-shell .music-login-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  box-sizing: border-box;
  flex-shrink: 0;
  background: var(--m-card);
  color: var(--m-ink);
}

#musicApp .music-login-shell .music-qr-box {
  width: 204px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 12px;
  background: #fff;
  color: #666;
}

#musicApp .music-login-qr {
  display: block;
  width: 100%;
  height: auto;
  max-width: 180px;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
}

#musicApp .music-login-shell .music-login-title { color: var(--m-ink); }
#musicApp .music-login-shell .music-login-status,
#musicApp .music-login-shell .music-login-help { color: var(--m-ink2); }
#musicApp .music-login-help { line-height: 1.6; text-align: center; }
#musicApp .music-login-native { width: 100%; box-sizing: border-box; text-align: center; }
#musicApp .music-login-shell button { max-width: 100%; white-space: normal; flex-shrink: 0; }

/* 顶部搜索（发现/搜索页共用） */
.m-topsearch { flex-shrink: 0; padding: 4px 16px 12px; }
.m-searchbox {
  height: 38px;
  border-radius: var(--m-r-md);
  background: var(--m-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--m-ink3);
  font-size: 13px;
}
.m-searchbox svg { width: 15px; height: 15px; flex-shrink: 0; }
.m-searchbox input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--m-ink);
  outline: none;
  padding: 0;
}
.m-searchbox input::placeholder { color: var(--m-ink3); }
.m-searchbox .go {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--m-ink);
  padding: 4px 2px;
}

/* ═══════════════ 分区标题 ═══════════════ */

.m-sec {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  margin: 18px 0 8px;
}
.m-sec:first-child { margin-top: 4px; }
.m-sec-title { font-size: 14px; font-weight: 600; color: var(--m-ink); letter-spacing: .02em; }
.m-sec-more { margin-left: auto; font-size: 11px; color: var(--m-ink3); }
.m-empty {
  padding: 26px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--m-ink3);
}

/* ═══════════════ 歌单横滑卡 ═══════════════ */

.m-plrow {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 16px 6px;
  scrollbar-width: none;
}
.m-plrow::-webkit-scrollbar { display: none; }

.m-plcard { flex: 0 0 124px; cursor: pointer; }
.m-plcover {
  width: 124px; height: 124px;
  border-radius: var(--m-r-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg,#E9E9EE,#C5C5CE);
  box-shadow: var(--m-shadow);
}
.m-plcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-plplay {
  position: absolute; right: 8px; bottom: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.m-plplay svg { width: 10px; height: 10px; fill: var(--m-ink); margin-left: 1px; }
.m-plname {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--m-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-plcount {
  margin-top: 3px;
  font-size: 10px;
  color: var(--m-ink3);
}

/* ═══════════════ 歌曲列表 ═══════════════ */

.m-list {
  margin: 0 16px;
  background: var(--m-card);
  border-radius: var(--m-r-lg);
  overflow: hidden;
  box-shadow: var(--m-shadow);
}

.m-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--m-line);
  cursor: pointer;
}
.m-row:last-child { border-bottom: none; }
.m-row:active { background: var(--m-soft); }

.m-cover {
  width: 46px; height: 46px;
  border-radius: var(--m-r-sm);
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(150deg,#EDEDF0,#C6C6CE);
}
.m-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-cover.round { border-radius: 50%; }

.m-rmain { flex: 1; min-width: 0; }
.m-rtitle {
  font-size: 13.5px;
  color: var(--m-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-rsub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 11px;
  color: var(--m-ink3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-tag {
  font-size: 9px;
  padding: 1.5px 5px;
  border-radius: 3px;
  background: var(--m-soft);
  color: var(--m-ink2);
  flex-shrink: 0;
}
.m-tag.vip { background: var(--m-accent-soft); color: var(--m-accent-deep); }

.m-ract {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--m-soft);
  color: var(--m-ink2);
}
.m-ract svg { width: 11px; height: 11px; fill: currentColor; }
.m-ract.play svg { margin-left: 1px; }

/* ═══════════════ 迷你播放条 ═══════════════ */

.m-mini {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 74px;
  z-index: 12;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  background: var(--m-card);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  cursor: pointer;
  overflow: hidden;
}
.m-mini.hide { display: none; }

.m-minidisc {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 2px;
  background: radial-gradient(circle at 34% 30%, #F2F2F5 0%, #D8D8DE 45%, #A8A8B2 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.08);
}
.m-minidisc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.m-minidisc.spin { animation: m-spin 5s linear infinite; }
@keyframes m-spin { to { transform: rotate(360deg); } }

.m-miniinfo { flex: 1; min-width: 0; }
.m-minititle {
  font-size: 12.5px; color: var(--m-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-minisub {
  font-size: 10px; color: var(--m-ink3); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-minibtn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--m-ink2);
  padding: 0;
}
.m-minibtn svg { width: 15px; height: 15px; fill: currentColor; }
.m-minibtn.main {
  background: var(--m-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.m-minibtn.main svg { width: 13px; height: 13px; }
html.dark-mode .m-minibtn.main { color: #17171A; }

.m-miniprog {
  position: absolute; left: 18px; right: 18px; bottom: 4px;
  height: 2px; border-radius: 99px;
  background: var(--m-line);
  overflow: hidden;
}
.m-miniprog i {
  display: block; height: 100%; width: 0;
  background: var(--m-accent);
  border-radius: inherit;
  transition: width .25s linear;
}

/* ═══════════════ 底部 dock ═══════════════ */

.m-dock {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 14;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 8px;
  background: var(--m-card);
  border-top: 1px solid var(--m-line);
}
.m-dockitem {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  width: 76px;
  cursor: pointer;
  color: var(--m-ink3);
}
.m-dockitem svg {
  width: 21px; height: 21px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.m-dockitem span { font-size: 9.5px; letter-spacing: .04em; }
.m-dockitem.on { color: var(--m-ink); }
.m-dockitem.on span { font-weight: 600; }

/* ═══════════════ 全屏播放页 ═══════════════ */

.m-player {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: var(--m-bg);
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.32,.72,0,1);
  will-change: transform;
}
.m-player.show { transform: translateY(0); }

.m-pnav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 6px;
}
.m-pnavbtn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--m-ink2);
  padding: 0;
  cursor: pointer;
}
.m-pnavbtn svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.m-pmode {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--m-ink2); letter-spacing: .04em;
}
.m-pmode .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--m-accent);
  animation: m-pulse 2.2s ease-out infinite;
}
@keyframes m-pulse {
  0%   { box-shadow: 0 0 0 0 var(--m-accent-soft); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* 唱片 */
.m-discwrap {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 0 6px;
}
.m-disc {
  width: 210px; height: 210px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 32% 26%, #FCFCFD 0%, #E3E3E8 40%, #BBBBC4 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.12),
              inset 0 -6px 18px rgba(0,0,0,.05),
              inset 0 5px 14px rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
html.dark-mode .m-disc {
  background: radial-gradient(circle at 32% 26%, #35353B 0%, #24242A 40%, #141418 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.4), inset 0 -6px 18px rgba(0,0,0,.3);
}
.m-disc.spin { animation: m-spin 14s linear infinite; }
.m-disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.m-disclabel {
  font-size: 8px; letter-spacing: .22em;
  color: var(--m-ink3);
  text-align: center; line-height: 1.7;
}

/* 歌名 */
.m-meta {
  flex-shrink: 0;
  text-align: center;
  padding: 14px 30px 0;
}
.m-title {
  font-size: 20px; font-weight: 600;
  color: var(--m-ink);
  letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-artist {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--m-ink3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 一起听行：[你] ∿∿∿ [角色] */
.m-tgrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 2px;
}
.m-tgrow.hide { display: none; }
.m-tgav {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(150deg,#EDEDF0,#BFBFC7);
  overflow: hidden;
}
.m-tgav img { width: 100%; height: 100%; object-fit: cover; }
.m-tgav .ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--m-accent-soft);
  animation: m-ring 2.6s ease-out infinite;
}
@keyframes m-ring {
  0%   { transform: scale(.94); opacity: .9; }
  70%  { transform: scale(1.14); opacity: 0; }
  100% { opacity: 0; }
}
.m-tgwave { width: 116px; height: 26px; position: relative; }
.m-tgwave svg { width: 100%; height: 100%; overflow: visible; }
/* 实线波浪 + 呼吸（2026-09-11 定稿：跟设计小样一致，不消失） */
.m-tgwave .lw1 { animation: m-breathe 3.2s ease-in-out infinite; }
.m-tgwave .lw2 { animation: m-breathe 3.2s ease-in-out infinite; animation-delay: 1.6s; }
@keyframes m-breathe {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* 歌词 */
.m-lyrics {
  flex: 1;
  min-height: 0;
  margin: 12px 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  text-align: center;
}
.m-lrc {
  line-height: 1.5;
  transition: color .25s, font-size .25s, opacity .25s;
  max-width: 100%;
}
.m-lrc.prev, .m-lrc.next { font-size: 12.5px; color: var(--m-ink3); opacity: .7; }
.m-lrc.cur {
  font-size: 16px;
  font-weight: 600;
  color: var(--m-ink);
  letter-spacing: .02em;
}
.m-lrc.empty { font-size: 12.5px; color: var(--m-ink3); }

/* 进度 */
.m-progwrap { flex-shrink: 0; padding: 10px 30px 0; }
.m-prog {
  height: 3px; border-radius: 99px;
  background: var(--m-line);
  position: relative;
  cursor: pointer;
}
.m-prog i {
  position: absolute; left: 0; top: 0;
  height: 100%; width: 0;
  border-radius: inherit;
  background: var(--m-accent);
}
.m-prog b {
  position: absolute; left: 0; top: 50%;
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--m-card);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  transition: left .2s linear;
}
.m-progtime {
  display: flex; justify-content: space-between;
  margin-top: 7px;
  font-size: 10px; color: var(--m-ink3);
  font-variant-numeric: tabular-nums;
}

/* 控制行 */
.m-ctrl {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 0 4px;
}
.m-ctrlbtn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  color: var(--m-ink);
  padding: 0;
  cursor: pointer;
}
.m-ctrlbtn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.m-ctrlbtn .mode {
  font-size: 8px; color: var(--m-accent-deep);
  letter-spacing: .04em;
}
.m-ctrlplay {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 0;
  background: var(--m-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 16px rgba(0,0,0,.22);
  padding: 0;
  cursor: pointer;
}
html.dark-mode .m-ctrlplay { color: #17171A; }
.m-ctrlplay svg { width: 22px; height: 22px; fill: currentColor; }
.m-ctrlplay:active { transform: scale(.95); }

/* 底部胶囊 */
.m-pills {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0 22px;
}
.m-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--m-soft);
  border: 0;
  font-size: 11.5px;
  color: var(--m-ink2);
  letter-spacing: .02em;
  cursor: pointer;
}
.m-pill svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.m-pill.on {
  background: var(--m-accent-soft);
  color: var(--m-accent-deep);
}

/* ═══════════════ 装扮页 ═══════════════ */

.m-skinrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px 6px;
}
.m-skinitem {
  border-radius: var(--m-r-md);
  padding: 13px 8px 10px;
  text-align: center;
  background: var(--m-card);
  border: 2px solid transparent;
  box-shadow: var(--m-shadow);
  cursor: pointer;
}
.m-skinitem.on { border-color: var(--m-ink); }
.m-skindot {
  width: 38px; height: 38px;
  border-radius: 50%;
  margin: 0 auto 8px;
}
.m-skinname { font-size: 11px; color: var(--m-ink); }
.m-skinupload {
  border-radius: var(--m-r-md);
  border: 1.5px dashed var(--m-line);
  padding: 16px 8px;
  text-align: center;
  color: var(--m-ink3);
  font-size: 11px;
  cursor: pointer;
}
.m-skinupload span { font-size: 17px; display: block; margin-bottom: 4px; }
.m-hint {
  padding: 0 16px 8px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--m-ink2);
}

/* ═══════════════ 我的页 ═══════════════ */

.m-hero {
  position: relative;
  margin: 0 16px 16px;
  border-radius: var(--m-r-lg);
  overflow: hidden;
  box-shadow: var(--m-shadow);
}
.m-herobg {
  height: 168px;
  position: relative;
  background: linear-gradient(160deg,#EFEFF2 0%,#D6D6DC 52%,#C4C4CC 130%);
  background-size: cover;
  background-position: center;
}
.m-herobg .up {
  position: absolute; right: 10px; top: 10px;
  font-size: 9.5px;
  color: var(--m-ink2);
  background: rgba(255,255,255,.75);
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
}
.m-herobg .corner {
  position: absolute; left: 12px; top: 11px;
  font-size: 8px; letter-spacing: .26em;
  color: var(--m-ink2);
}
.m-head {
  position: relative;
  margin-top: -40px;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 0 16px 16px;
}
.m-avatar {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: linear-gradient(150deg,#EDEDF0,#BFBFC7);
  border: 3px solid var(--m-card);
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  position: relative;
  overflow: visible;
  cursor: pointer;
}
.m-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.m-avatar .plus {
  position: absolute; right: -1px; bottom: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--m-card);
  color: var(--m-ink3);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.m-nick {
  margin-top: 9px;
  font-size: 17px; font-weight: 600;
  color: var(--m-ink);
}
.m-nums { display: flex; gap: 22px; margin-top: 12px; }
.m-nums div { text-align: center; }
.m-nums b { display: block; font-size: 15px; color: var(--m-ink); font-weight: 600; }
.m-nums span { font-size: 9.5px; color: var(--m-ink3); }
.m-pillsrow {
  display: flex; gap: 8px; margin-top: 14px;
}
.m-pillsrow .m-pill { background: var(--m-card); box-shadow: var(--m-shadow); }

/* ═══════════════ 歌词全屏（可选） ═══════════════ */
.m-lyrfull {
  position: absolute; inset: 0; z-index: 25;
  background: var(--m-bg);
  display: none;
  flex-direction: column;
}
.m-lyrfull.show { display: flex; }
.m-lyrfull .body {
  flex: 1; overflow-y: auto;
  padding: 40px 30px 80px;
  scrollbar-width: none;
}
.m-lyrfull .body::-webkit-scrollbar { display: none; }
.m-lyrfull .body p {
  text-align: center;
  font-size: 14px;
  line-height: 2.4;
  color: var(--m-ink3);
  transition: color .2s;
}
.m-lyrfull .body p.cur { color: var(--m-ink); font-weight: 600; font-size: 15px; }


/* ═══════════════ 顶部 nav 简化（2026-09-11） ═══════════════
   搜索框已经在下面了，标题重复；只保留返回键和账号入口 */
#musicApp .nav-bar { display: none !important; }

/* ── 顶栏：返回 + 搜索 + 账号（一行） ── */
.m-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 10px;
}
.m-back, .m-acct {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--m-ink2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
}
.m-back:active, .m-acct:active { background: var(--m-soft); }
.m-back svg, .m-acct svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.m-topbar .m-searchbox { margin: 0; height: 36px; }


/* ═══════════════ 底部弹窗（选角色） ═══════════════ */
.m-sheet {
  position: absolute; inset: 0; z-index: 30;
  display: none;
}
.m-sheet.show { display: block; }
.m-sheet-mask {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.32);
  animation: m-fade .2s ease;
}
@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }
.m-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--m-card);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  max-height: 68%;
  overflow-y: auto;
  animation: m-slideup .26s cubic-bezier(.32,.72,0,1);
}
@keyframes m-slideup { from { transform: translateY(100%); } to { transform: translateY(0); } }
.m-sheet-title {
  font-size: 16px; font-weight: 600;
  color: var(--m-ink);
  text-align: center;
  margin-bottom: 16px;
}
.m-sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
  margin-bottom: 16px;
}
.m-pickitem { text-align: center; cursor: pointer; }
.m-pickav {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 6px;
  background: linear-gradient(150deg,#EDEDF0,#C0C0C9);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
}
.m-pickav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-pickitem.on .m-pickav { border-color: var(--m-ink); }
.m-pickname {
  font-size: 11px; color: var(--m-ink2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-sheet-cancel {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--m-soft);
  color: var(--m-ink2);
  font-size: 14px;
  cursor: pointer;
}


/* ═══════════════ 音乐悬浮球 · 黑白重做（2026-09-11） ═══════════════
   展开 = 横条（封面模糊底 + 歌词 + 控制）；缩小 = 小圆球
   用 #musicFloatBall id 选择器压过 phone.css 的旧红色样式 */

#musicFloatBall {
  display: block;
  position: fixed;
  box-sizing: border-box;
  left: 12px; right: 12px;
  bottom: calc(96px + var(--sab, env(safe-area-inset-bottom, 0px)));
  z-index: 9999;
  width: auto; min-width: 0; max-width: none; height: auto;
  padding: 10px 12px 6px;
  border-radius: 20px;
  background: rgba(20,20,22,.82);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
  border: none;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  animation: floatBounceIn .3s ease-out;
}

#musicFloatBall .mf-cover {
  position: absolute; inset: -30px;
  background: none center/cover no-repeat;
  opacity: .32;
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

#musicFloatBall > *:not(.mf-cover) { position: relative; z-index: 1; }

/* 顶部：唱片 + 歌名 + 关闭 */
.mf-head { display: flex; align-items: center; gap: 8px; }
.mf-head .music-float-disc {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.mf-head .music-float-disc svg { fill: rgba(255,255,255,.78); width: 12px; height: 12px; }
.mf-head .music-float-disc.playing { animation: spin 4s linear infinite; }
.mf-head .music-float-disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mf-head .music-float-title {
  flex: 1; min-width: 0;
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mf-btn {
  width: 30px; height: 30px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 0;
  cursor: pointer;
}
.mf-btn svg { fill: currentColor; width: 15px; height: 15px; }
.mf-btn:active { transform: scale(.92); }
.mf-close { font-size: 19px; line-height: 1; color: rgba(255,255,255,.6); font-weight: 300; }

/* 中间：两行歌词 */
.mf-lyrics { padding: 9px 4px 11px; text-align: center; }
#musicFloatBall .music-float-lyric {
  font-size: 16px; font-weight: 600;
  color: #fff;
  line-height: 1.45;
  max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block; margin: 0;
  -webkit-line-clamp: none;
}
#musicFloatBall .music-float-lyric.mf-sub {
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,.48);
  margin-top: 5px;
}

/* 底部：控制 */
.mf-ctrl {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; padding: 1px 0 4px;
}
.mf-btn.main {
  background: rgba(255,255,255,.94);
  color: #17171A;
  width: 42px; height: 42px;
}
.mf-btn.main svg { width: 15px; height: 15px; }

/* 迷你态：小圆球 */
#musicFloatBall.compact {
  left: auto; right: 16px;
  width: 54px; min-width: 54px; height: 54px;
  padding: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
#musicFloatBall.compact .mf-cover { opacity: .55; }
#musicFloatBall.compact .mf-head,
#musicFloatBall.compact .mf-lyrics,
#musicFloatBall.compact .mf-ctrl { display: none; }
#musicFloatBall.compact .mf-mini { display: flex; }
.mf-mini {
  display: none; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.mf-mini svg { fill: rgba(255,255,255,.9); width: 22px; height: 22px; }
