/* ============================================================
   杨好好音乐 · 样式
   ============================================================ */
:root {
  --bg: #0d0b14;
  --bg-2: #141122;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --txt: #ece9f5;
  --txt-2: #a49dbb;
  --txt-3: #6f6885;
  --primary: #7c5cff;
  --primary-2: #a78bfa;
  --accent: #ff9f45;
  --ok: #34d399;
  --bad: #f87171;
  --radius: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* 关键：class 上的 display 会盖掉 [hidden] 的默认样式，这里强制兜底 */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60vw 40vw at 12% -8%, rgba(124, 92, 255, 0.28), transparent 70%),
    radial-gradient(50vw 36vw at 96% 4%, rgba(255, 159, 69, 0.14), transparent 70%),
    radial-gradient(70vw 50vw at 50% 110%, rgba(124, 92, 255, 0.1), transparent 70%);
  z-index: 0;
}

.app {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px calc(84px + var(--safe-b));
  min-height: 100vh;
}

/* ---------------- 顶部 ---------------- */
.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px 14px;
}
.hd-l { display: flex; align-items: center; gap: 11px; min-width: 0; }
.logo {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), #c084fc 60%, var(--accent));
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.4);
}
.hd-txt { min-width: 0; }
.hd h1 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: 0.3px; }
.hd .sub { margin: 1px 0 0; font-size: 11.5px; color: var(--txt-3); }

/* 传了头像图片时：圆形 + 细描边，不再显示渐变方块的「Logo 字」 */
.logo.has-img, .gate-logo.has-img {
  background: none;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 6px 20px rgba(0, 0, 0, 0.45);
}
.logo.has-img img, .gate-logo.has-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.avatar-preview {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%; object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}

.announce {
  margin: 0 0 12px;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  color: #ffd9a8;
  background: rgba(255, 159, 69, 0.1);
  border: 1px solid rgba(255, 159, 69, 0.22);
}

/* ---------------- 卡片 ---------------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 15px 17px;
  margin-bottom: 13px;
  backdrop-filter: blur(14px);
}
.card-hd { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.card-hd > div { flex: 1; min-width: 0; }
.step {
  flex: 0 0 26px; width: 26px; height: 26px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 3px 12px rgba(124, 92, 255, 0.35);
}
.step.ico { background: var(--surface-2); box-shadow: none; border: 1px solid var(--line-2); }
.card-hd h2 { margin: 0; font-size: 15.5px; font-weight: 650; }
.card-hd h2 em { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--txt-3); margin-left: 6px; }
.tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.2px;
  color: var(--primary-2);
  opacity: 0.85;
  margin-bottom: 1px;
}
/* 五步的步骤标签，做成醒目的胶囊，让人一眼看出做到第几步了 */
.tag.steptag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #dcd0ff;
  opacity: 1;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.42);
  border-radius: 7px;
  padding: 2px 9px;
  margin-bottom: 6px;
}

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 13px; }
.field > label {
  display: block;
  font-size: 12.5px;
  color: var(--txt-2);
  margin-bottom: 7px;
  font-weight: 500;
}
.field > label b { color: var(--accent); font-weight: 600; float: right; }
.opt { color: var(--txt-3); font-size: 11.5px; font-weight: 400; }
.right { float: right; }

/* 用排除法覆盖所有文本类输入框，避免以后新增 type 又忘了配色（password 就漏过一次） */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
textarea, select {
  width: 100%;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--txt);
  font-size: 14px;
  font-family: inherit;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
textarea { resize: vertical; line-height: 1.7; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14);
}
input::placeholder, textarea::placeholder { color: var(--txt-3); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--txt-2) 50%), linear-gradient(135deg, var(--txt-2) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
option { background: #1a1728; }
select:disabled { opacity: 0.5; }

input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 26px; background: transparent; padding: 0; border: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  opacity: 0.75;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; margin-top: -7px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.counter { text-align: right; font-size: 11px; color: var(--txt-3); margin-top: 5px; }
.meter { font-size: 12px; color: var(--txt-3); margin-top: 8px; }
.meter em { font-style: normal; color: var(--accent); margin-left: 8px; }

.check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--txt-2);
  padding: 8px 0; cursor: pointer;
}
.check input { width: 17px; height: 17px; accent-color: var(--primary); flex: 0 0 17px; }

.hint { font-size: 11.5px; color: var(--txt-3); margin: 6px 0 0; line-height: 1.6; }
.warn {
  font-size: 11.5px; color: #ffd9a8; margin: 12px 0 0;
  background: rgba(255, 159, 69, 0.09);
  border: 1px solid rgba(255, 159, 69, 0.2);
  border-radius: 11px; padding: 8px 11px;
}

/* ---------------- 按钮 ---------------- */
.cta {
  display: block; width: 100%;
  border: 0; border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px; font-weight: 650; font-family: inherit;
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #9b6bff 55%, #c084fc);
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.34);
  margin-top: 12px; text-decoration: none; text-align: center;
  transition: transform 0.12s, opacity 0.18s;
}
.cta:active { transform: scale(0.98); }
.cta:disabled { opacity: 0.55; box-shadow: none; cursor: default; }
.cta.ghost {
  background: var(--surface-2);
  color: var(--txt);
  border: 1px solid var(--line-2);
  box-shadow: none;
  font-weight: 550;
}
.cta.center { margin-top: 12px; }

.mini {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--txt);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s;
}
.mini:active { background: rgba(255, 255, 255, 0.14); }
.mini.danger { color: #ffb4b4; border-color: rgba(248, 113, 113, 0.32); background: rgba(248, 113, 113, 0.1); }
.mini.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); border: 0; color: #fff; }
.mini.rec { background: rgba(248, 113, 113, 0.2); border-color: rgba(248, 113, 113, 0.5); color: #ffd0d0; }
.mini.upload { display: inline-flex; align-items: center; }
.mini:disabled { opacity: 0.45; }

.link {
  background: none; border: 0; color: var(--primary-2);
  font-size: 12.5px; font-family: inherit; cursor: pointer;
  padding: 8px 0; text-decoration: underline; text-underline-offset: 3px;
}
.pill {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px; font-family: inherit; cursor: pointer;
  white-space: nowrap;
}

.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > input, .row > select { flex: 1 1 130px; }
.row > .mini, .row > .pill { flex: 0 0 auto; }

/* ---------------- 标签 / chips ---------------- */
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tags button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--txt-2);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 13px; font-family: inherit; cursor: pointer;
  transition: all 0.16s;
}
.tags button:hover { border-color: var(--line-2); }
.tags button.on {
  background: linear-gradient(135deg, #7c5cff, #c084fc);
  border-color: transparent; color: #fff; font-weight: 700;
  box-shadow: 0 4px 16px rgba(124, 92, 255, 0.45);
}
.tags button .dot { font-size: 9px; margin-left: 4px; color: var(--accent); }
.tags button.on .dot { color: #ffe0b0; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--txt-2);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px; font-family: inherit; cursor: pointer;
  transition: all 0.16s;
}
.chips button:hover { border-color: var(--line-2); }
.chips button:active { transform: scale(0.96); }
.chips button.on {
  background: linear-gradient(135deg, #7c5cff, #a78bfa);
  border-color: transparent;
  color: #fff; font-weight: 700;
  box-shadow: 0 3px 12px rgba(124, 92, 255, 0.42);
}
/* ✓ 只加在「风格精调」的标签上，不加在作品页的筛选条上 */
.chips:not(.small) button.on::before { content: "✓ "; font-size: 11px; }
.chips.small button { padding: 6px 11px; font-size: 12px; }

/* 「展开全部 N 个」按钮：虚线边框，和普通标签区分开 */
.chips button.chip-more {
  border-style: dashed;
  border-color: rgba(124, 92, 255, 0.55);
  background: transparent;
  color: var(--primary-2);
  font-weight: 600;
}
.chips button.chip-more::before { content: ""; }

.seg { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.seg button {
  flex: 1; border: 0; background: transparent; color: var(--txt-2);
  padding: 10px 0; font-size: 13px; font-family: inherit; cursor: pointer;
}
.seg button.on { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 600; }

.adv { margin: 12px 0 4px; border-top: 1px solid var(--line); padding-top: 11px; }
.adv > summary {
  cursor: pointer; font-size: 12.5px; color: var(--txt-2);
  list-style: none; padding: 2px 0 6px;
}
.adv > summary::-webkit-details-marker { display: none; }
.adv > summary::before { content: "▸ "; color: var(--primary-2); }
.adv[open] > summary::before { content: "▾ "; }
.adv-body { padding-top: 8px; }

.preview {
  margin: 8px 0 0; padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px; color: #b9e7ff;
  white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  max-height: 200px; overflow: auto;
}

/* ---------------- 音质 ---------------- */
.qual { display: flex; flex-direction: column; gap: 9px; }
.qual button {
  text-align: left; border: 1px solid var(--line);
  background: var(--surface); border-radius: 13px;
  padding: 12px 14px; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; gap: 2px;
}
.qual button b { font-size: 14px; color: var(--txt); font-weight: 600; }
.qual button i { font-style: normal; font-size: 11.5px; color: var(--txt-3); }
.qual button.on {
  border-color: rgba(124, 92, 255, 0.75);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(192, 132, 252, 0.1));
}
.qual button.on b { color: #ded2ff; }

/* ---------------- 进度 ---------------- */
.progress { margin-top: 16px; text-align: center; }
.ring { position: relative; width: 88px; height: 88px; margin: 0 auto 10px; }
.ring svg { width: 88px; height: 88px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: rgba(255, 255, 255, 0.09); }
.ring .fg {
  stroke: url(#g) var(--primary);
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
  transition: stroke-dashoffset 0.5s ease;
}
.ring span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 17px; font-weight: 700; color: var(--primary-2);
}
.ptext { font-size: 13px; color: var(--txt-2); margin: 0 0 8px; }
.safe { font-size: 11px; color: var(--txt-3); margin: 0 0 10px; }
.logs {
  text-align: left; max-height: 132px; overflow: auto;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 11px; padding: 9px 11px;
  font-size: 11.5px; color: var(--txt-3);
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.logs div { padding: 1px 0; }

/* ---------------- 作品 ---------------- */
.res { display: flex; flex-direction: column; gap: 11px; }
.song {
  display: flex; gap: 11px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px;
}
.song img {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 11px; object-fit: cover;
  background: linear-gradient(135deg, #2a2440, #1a1628);
}
.song .info { flex: 1; min-width: 0; }
.song .info b {
  display: block; font-size: 13.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.song .info small { display: block; font-size: 11px; color: var(--txt-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song .acts { display: flex; gap: 6px; flex: 0 0 auto; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface-2);
  color: var(--txt); font-size: 14px; cursor: pointer;
  display: grid; place-items: center;
}
.icon-btn.on { color: var(--accent); border-color: rgba(255, 159, 69, 0.4); }
.icon-btn:disabled { opacity: 0.4; }

.filter { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.history { display: flex; flex-direction: column; gap: 10px; }
.empty { text-align: center; color: var(--txt-3); font-size: 12.5px; padding: 26px 10px; }
.empty .big { font-size: 30px; display: block; margin-bottom: 8px; opacity: 0.5; }

/* ---------------- 我 ---------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 12px; }
.stats div {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 13px; padding: 11px 8px; text-align: center;
}
.stats b { display: block; font-size: 17px; font-weight: 700; color: var(--primary-2); }
.stats small { display: block; font-size: 10.5px; color: var(--txt-3); margin-top: 2px; }

.kefu-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; font-size: 13px; color: var(--txt-2);
  border-bottom: 1px solid var(--line);
}
.kefu-row:last-child { border-bottom: 0; }
.kefu-row b { flex: 1; color: var(--txt); font-weight: 600; }

.voices { display: flex; flex-direction: column; gap: 10px; margin-top: 11px; }
.voices .v {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 13px; padding: 10px 12px; font-size: 13px;
}
.voices .v b { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voices .v small { color: var(--txt-3); font-size: 11px; }

.gen { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.gen input, .gen button { width: 100%; }
.gen button {
  grid-column: 1 / -1;
  border: 0; border-radius: 12px; padding: 12px;
  font-size: 14px; font-weight: 600; font-family: inherit; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  cursor: pointer;
}
.cards { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.cards .c {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px;
}
.cards .c .top { display: flex; align-items: center; gap: 8px; }
.cards .c code {
  flex: 1; font-size: 12.5px; color: var(--accent);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cards .c .meta { font-size: 11px; color: var(--txt-3); margin-top: 5px; display: flex; gap: 10px; flex-wrap: wrap; }
.cards .c .meta em { font-style: normal; color: var(--txt-2); }
.cards .c.off { opacity: 0.5; }

.promo { width: 100%; border-radius: 13px; border: 1px solid var(--line); display: block; }

.card.admin { border-color: rgba(255, 159, 69, 0.24); }

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: 640px;
  display: flex;
  background: rgba(16, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 6px 8px calc(6px + var(--safe-b));
  z-index: 60;
}
.tab {
  flex: 1; position: relative;
  border: 0; background: transparent;
  color: var(--txt-3);
  font-size: 10.5px; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 0 5px; cursor: pointer;
  transition: color 0.18s;
}
.tab span { font-size: 19px; line-height: 1; filter: grayscale(1) opacity(0.55); transition: filter 0.18s; }
.tab.on { color: var(--primary-2); font-weight: 600; }
.tab.on span { filter: none; }
.badge {
  position: absolute; top: 2px; right: calc(50% - 22px);
  background: var(--bad); color: #fff;
  font-size: 9px; font-style: normal; font-weight: 700;
  border-radius: 999px; padding: 1px 5px; min-width: 15px;
}

.ft { text-align: center; padding: 22px 0 8px; color: var(--txt-3); font-size: 11px; }
.ft p { margin: 2px 0; }
.ft .tiny { font-size: 10px; opacity: 0.7; }

/* ---------------- 提示 ---------------- */
.toast {
  position: fixed; left: 50%; top: calc(70px + env(safe-area-inset-top, 0px));
  transform: translateX(-50%) translateY(-10px);
  background: rgba(30, 26, 46, 0.97);
  border: 1px solid var(--line-2);
  color: var(--txt);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  max-width: 84vw; text-align: center;
  z-index: 400;
  opacity: 0; transition: opacity 0.24s, transform 0.24s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.bad { border-color: rgba(248, 113, 113, 0.5); color: #ffd4d4; }

.bgm-fab {
  position: fixed; right: 14px; bottom: calc(88px + var(--safe-b));
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(30, 26, 46, 0.9);
  color: var(--txt); font-size: 17px; cursor: pointer; z-index: 70;
  backdrop-filter: blur(10px);
}
.bgm-fab.muted { opacity: 0.5; }

/* ---------------- 口令闸门 ---------------- */
.gate {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(8, 6, 14, 0.94);
  backdrop-filter: blur(16px);
  padding: 24px;
}
.gate-box { width: 100%; max-width: 340px; text-align: center; }
.gate-logo {
  width: 62px; height: 62px; margin: 0 auto 14px;
  border-radius: 20px; display: grid; place-items: center;
  font-size: 28px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), #c084fc 60%, var(--accent));
  box-shadow: 0 10px 32px rgba(124, 92, 255, 0.45);
}
.gate-box h2 { margin: 0 0 4px; font-size: 19px; }
.gate-box p { margin: 0 0 18px; font-size: 12.5px; color: var(--txt-3); }
/* 登录框：左对齐 + 明显边框，避免看起来像"标题"而不是输入框。
   用 #gate 提权，否则会被上面那条带 4 个 :not() 的全局输入框规则压住。 */
#gate .gate-box input {
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;                 /* 16px 以上，iOS 不会自动放大页面 */
  letter-spacing: 0.4px;
  margin-bottom: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
#gate .gate-box input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.4px;
}
#gate .gate-box input:focus {
  border-color: rgba(124, 92, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16);
}
.gate-box button {
  width: 100%; border: 0; border-radius: 13px; padding: 13px;
  font-size: 15px; font-weight: 650; font-family: inherit; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  cursor: pointer;
}
.gate-box em { display: block; margin-top: 11px; font-size: 12px; color: var(--bad); font-style: normal; min-height: 17px; }
.gate-box .gate-switch {
  display: block; width: 100%; margin-top: 10px; text-align: center;
  font-size: 12.5px; color: var(--primary-2);
  background: none; border: 0; cursor: pointer; padding: 6px 0;
}
.gate-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.gate-links .gate-switch { width: auto; margin-top: 0; }
#gatePass, #regPass { letter-spacing: 1px; }

/* ---------------- 弹窗（购买卡密等） ---------------- */
.modal {
  position: fixed; inset: 0; z-index: 320;
  display: grid; place-items: center;
  background: rgba(8, 6, 14, 0.74);
  backdrop-filter: blur(8px);
  padding: 22px;
}
.modal-box {
  width: 100%; max-width: 360px;
  background: linear-gradient(180deg, rgba(38, 32, 58, 0.98), rgba(24, 20, 38, 0.98));
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 20px 18px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.modal-box h3 { margin: 0 0 11px; font-size: 16px; font-weight: 700; }
.modal-bal {
  margin: 0 0 11px; padding: 9px 12px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 11px;
  font-size: 13px; color: #d9ccff;
}
.modal-tip { margin: 0 0 13px; font-size: 12.5px; color: var(--txt-2); line-height: 1.75; }
.modal-tip b { color: var(--accent); font-weight: 700; }
.modal-warn { font-size: 12.5px; color: #ffd9a8; margin: 0 0 14px; line-height: 1.7; }
.modal .kefu-row { border-bottom: 0; padding: 8px 0; }
.modal .cta { margin-top: 6px; }

/* ---------------- 跟唱录制 ---------------- */
.fp-rec {
  display: flex;
  align-items: center;
  margin: 10px 0 0;
  padding: 9px 12px;
  background: rgba(255, 77, 94, 0.13);
  border: 1px solid rgba(255, 77, 94, 0.38);
  border-radius: 14px;
}
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff4d5e;
  flex-shrink: 0;
  margin-right: 9px;
  animation: recpulse 1.1s ease-in-out infinite;
}
@keyframes recpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}
.fp-rec b {
  font-size: 13px; color: #ff97a1; margin-right: 9px;
  font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.rec-tip {
  flex: 1;
  font-size: 11px;
  color: #b5888f;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fp-rec button {
  flex-shrink: 0;
  border: 0;
  background: linear-gradient(135deg, #ff4d5e, #ff7a5c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  cursor: pointer;
}

/* 我的录音列表 */
.fp-recs {
  margin-top: 10px;
  max-height: 148px;
  overflow-y: auto;
  scrollbar-width: none;
}
.fp-recs::-webkit-scrollbar { display: none; }
.rec-item {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.rec-item.on {
  border-color: rgba(124, 92, 255, 0.7);
  background: rgba(124, 92, 255, 0.14);
}
.rec-play {
  width: 34px; height: 34px; border-radius: 50%;
  flex-shrink: 0; margin-right: 10px;
  border: 0; cursor: pointer;
  background: linear-gradient(135deg, #7c5cff, #c084fc);
  color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.rec-info { flex: 1; min-width: 0; }
.rec-info b {
  display: block;
  font-size: 12.5px; color: var(--txt);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.rec-info small { font-size: 10.5px; color: var(--txt-3); }
.rec-dl {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--primary-2);
  text-decoration: none;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  margin-right: 6px;
}
.rec-del {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  color: var(--txt-3); font-size: 12px;
}

/* ---------------- 全屏播放 ---------------- */
.fplayer {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 0 20px calc(20px + var(--safe-b));
  overflow: hidden;
}
.fplayer::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 11, 20, 0.62), rgba(13, 11, 20, 0.82));
  z-index: -1;
}
.fp-bg {
  position: absolute; inset: -20%;
  width: 140%; height: 140%;
  object-fit: cover; filter: blur(60px) saturate(1.4) brightness(0.5);
  z-index: -2;
}
.fp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0 8px; flex: 0 0 auto;
}
.fp-head button {
  background: none; border: 0; color: var(--txt); font-size: 24px;
  cursor: pointer; padding: 0 8px; line-height: 1;
}
.fp-head span {
  font-size: 13.5px; font-weight: 600; max-width: 60%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
}
/* 用纯文字提示，避免 ✎ 这类符号在部分中文字体下渲染成方块 */
.fp-head span::after {
  content: " 改名";
  font-size: 10px; font-weight: 400; opacity: 0.45;
  vertical-align: 1px;
}
.fp-body { flex: 1; display: flex; flex-direction: column; align-items: center; min-height: 0; padding-top: 6px; }
.fp-cover { flex: 0 0 auto; }
.fp-cover img {
  width: 46vw; max-width: 200px; aspect-ratio: 1;
  border-radius: 20px; object-fit: cover;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, #2a2440, #1a1628);
}
.fp-lyr {
  position: relative;              /* 让 .lyr-line 的 offsetTop 相对歌词区计算，滚动才准 */
  flex: 1; width: 100%; margin-top: 16px; overflow-y: auto;
  text-align: center;
  font-size: 18px; line-height: 2;
  color: #46415c;                  /* 非当前行压暗，当前行才跳得出来 */
  padding: 0 2px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 13%, #000 85%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 13%, #000 85%, transparent);
  scrollbar-width: none;
}
.fp-lyr::-webkit-scrollbar { display: none; }

/* 当前这一行整体放大提亮（用 scale 而不是改字号，避免每行重排导致滚动抖动） */
.lyr-line {
  padding: 4px 0;
  transform-origin: center;
  transition: color 0.3s, transform 0.3s;
}
.lyr-line.on { transform: scale(1.09); font-weight: 700; }

/* 逐字高亮：KTV 效果。
   当前行里"没唱到的字"保持中等亮度（不能太暗，否则整行看不出被选中），
   "唱到的字"纯白 + 辉光，"正在唱的这个字"再多一点放大和光晕，跳动感更明显。 */
.ch { display: inline-block; }
.lyr-line.on .ch { color: rgba(255, 255, 255, 0.46); transition: color 0.1s linear, text-shadow 0.1s linear; }
.lyr-line.on .ch.on {
  color: #fff;
  text-shadow: 0 0 12px rgba(167, 139, 250, 0.95), 0 0 26px rgba(124, 92, 255, 0.5);
}
.lyr-line.on .ch.on.now {
  transform: scale(1.14);
  text-shadow: 0 0 14px #fff, 0 0 30px rgba(167, 139, 250, 1), 0 0 46px rgba(124, 92, 255, 0.7);
}
.fp-modes, .fp-sync { display: flex; gap: 8px; justify-content: center; flex: 0 0 auto; }
.fp-modes { margin-top: 10px; }
.fp-sync { margin-top: 8px; align-items: center; }
.fp-modes button, .fp-sync button {
  border: 1px solid var(--line-2); background: var(--surface);
  color: var(--txt-2); border-radius: 999px;
  padding: 7px 15px; font-size: 12px; font-family: inherit; cursor: pointer;
}
.fp-modes button.on { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-color: transparent; font-weight: 600; }
.fp-sync span { font-size: 11.5px; color: var(--txt-3); min-width: 42px; text-align: center; }
.fp-sync button { padding: 6px 12px; font-size: 11.5px; }
.fp-ctrl { flex: 0 0 auto; margin-top: 12px; }
.fp-bar { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--txt-3); }
.fp-bar input[type="range"] { flex: 1; }
.fp-bar input[type="range"]::-webkit-slider-runnable-track { background: rgba(255, 255, 255, 0.2); }
.fp-btns { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 8px; }
.fp-btns button {
  background: none; border: 0; color: var(--txt); font-size: 24px; cursor: pointer; padding: 4px;
}
#fpPlay { font-size: 32px; }

/* ---------------- 桌面 ---------------- */
@media (min-width: 700px) {
  .app { max-width: 720px; padding: 0 24px 100px; }
  .fp-cover img { width: 200px; }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 3px; }

/* ---------------- 录音台词卡 ---------------- */
.script-box {
  margin: 12px 0 14px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.12), rgba(255, 255, 255, 0.02));
}
.script-hd b { display: block; font-size: 13.5px; color: var(--txt); font-weight: 600; }
.script-hd span { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.55; color: var(--txt-3); }
.script-text {
  margin: 10px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--primary);
  font-size: 14px;
  line-height: 1.9;
  color: var(--txt-2);
}
.script-ft { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.script-ft #scriptMeta { font-size: 11px; color: var(--txt-3); }

/* 录完起名 */
.name-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.name-row input {
  flex: 1; min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  color: var(--txt);
  font-size: 13.5px;
  font-family: inherit;
  padding: 10px 12px;
  outline: none;
}
.name-row input:focus { border-color: var(--primary); }
.name-row input::placeholder { color: var(--txt-3); }
.name-tip { font-size: 10.5px; color: var(--txt-3); flex: none; }

/* ---------------- 照片写歌词 ---------------- */
.look-wrap { position: fixed; inset: 0; z-index: 92; display: flex; align-items: flex-end; }
.look-wrap[hidden] { display: none; }
.look-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); }
.look-box {
  position: relative; width: 100%; max-height: 84vh;
  display: flex; flex-direction: column; gap: 12px;
  background: #16121f;
  border-radius: 20px 20px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
  animation: lookUp 0.22s ease;
}
@keyframes lookUp { from { transform: translateY(26px); opacity: 0.5; } }
.look-hd { display: flex; align-items: center; justify-content: space-between; }
.look-hd b { font-size: 15px; color: var(--txt); font-weight: 600; }
.look-x { background: rgba(255, 255, 255, 0.08); border: 0; color: var(--txt-3); width: 30px; height: 30px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.look-body {
  flex: 1; min-height: 90px; overflow: auto; -webkit-overflow-scrolling: touch;
  font-size: 13px; line-height: 1.85; color: var(--txt-2); white-space: pre-wrap;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
}
.look-who input {
  width: 100%; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 12px 14px; color: var(--txt); font-size: 14px; font-family: inherit; outline: none;
}
.look-who input:focus { border-color: var(--primary); }
.look-ft { display: flex; gap: 10px; }
.look-ft .mini { flex: 0 0 auto; padding: 12px 16px; }
.look-go {
  flex: 1; border: 0; border-radius: 12px; padding: 13px;
  font-size: 15px; font-weight: 600; color: #1a1030; font-family: inherit; cursor: pointer;
  background: linear-gradient(135deg, #a78bfa, #7c5cff);
}
.look-go:active { transform: scale(0.99); }
.look-go:disabled { opacity: 0.6; }

/* 看照片时的等待提示 */
.look-busy { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; background: rgba(8, 6, 14, 0.72); }
.look-busy[hidden] { display: none; }
.lb-box { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 16px; background: rgba(30, 25, 44, 0.96); border: 1px solid rgba(255, 255, 255, 0.12); }
.lb-box b { font-size: 13.5px; color: var(--txt-2); font-weight: 500; }
.lb-dots { display: inline-flex; gap: 4px; }
.lb-dots i { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; animation: lbPulse 1s infinite; }
.lb-dots i:nth-child(2) { animation-delay: 0.15s; }
.lb-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lbPulse { 0%, 100% { opacity: 0.3; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.1); } }

/* 照片写词的基调选择 */
.look-mood { display: flex; flex-direction: column; gap: 8px; }
.look-mood > span { font-size: 12px; color: var(--txt-3); }
.lm-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-opts button {
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: var(--txt-2);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-family: inherit; cursor: pointer;
}
.lm-opts button.on {
  background: linear-gradient(135deg, #a78bfa, #7c5cff); border-color: transparent; color: #17111f; font-weight: 600;
}

/* 播放页「⋯」菜单 */
.fp-menu { position: fixed; inset: 0; z-index: 96; display: flex; align-items: flex-end; }
.fp-menu[hidden] { display: none; }
.fpm-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.fpm-box {
  position: relative; width: 100%; padding: 10px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 8px;
  background: #17131f; border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.5);
  animation: lookUp 0.2s ease;
}
.fpm-box button {
  border: 0; border-radius: 13px; padding: 14px; font-size: 15px; font-family: inherit;
  color: var(--txt); background: rgba(255, 255, 255, 0.06); cursor: pointer;
}
.fpm-box button:active { background: rgba(255, 255, 255, 0.12); }
.fpm-box .fpm-cancel { color: var(--txt-3); background: transparent; margin-top: 2px; }

/* 播放页：复制歌词 / 下载音频（不用进菜单） */
.fp-acts { display: flex; gap: 10px; padding: 0 18px 4px; }
.fp-acts button {
  flex: 1; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.07);
  color: var(--txt-2); border-radius: 11px; padding: 9px 0; font-size: 13px;
  font-family: inherit; cursor: pointer;
}
.fp-acts button:active { background: rgba(255, 255, 255, 0.14); }

/* 做 MV */
.mv-wrap { position: fixed; inset: 0; z-index: 160; display: flex; align-items: flex-end; }
.mv-wrap[hidden] { display: none; }
.mv-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); }
.mv-box {
  position: relative; width: 100%; max-height: 90vh; overflow-y: auto;
  background: #17131f; border-radius: 20px 20px 0 0;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 12px;
}
.mv-hd { display: flex; align-items: center; justify-content: space-between; }
.mv-hd b { font-size: 16px; color: var(--txt); }
.mv-tip { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--txt-3); }
.mv-tip b { color: #ffb4b4; font-weight: 500; }
.mv-picks { display: flex; gap: 8px; flex-wrap: wrap; }
.mv-picks .ph { position: relative; width: 62px; height: 62px; border-radius: 10px; overflow: hidden; background: #241d33; }
.mv-picks .ph img { width: 100%; height: 100%; object-fit: cover; }
.mv-picks .ph i {
  position: absolute; right: 0; top: 0; width: 18px; height: 18px; line-height: 18px; text-align: center;
  background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 12px; font-style: normal; cursor: pointer;
}
.mv-add {
  border: 1px dashed rgba(255, 255, 255, 0.22); background: transparent; color: var(--txt-2);
  border-radius: 10px; padding: 12px; font-size: 14px; font-family: inherit; cursor: pointer;
}
.mv-box input {
  width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px;
  color: var(--txt); font-size: 14px; font-family: inherit; outline: none;
}
.mv-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.mv-bar i { display: block; height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, #7c5cff); transition: width 0.4s; }
.mv-step { margin: 8px 0 0; font-size: 13px; color: var(--txt-2); }

/* 缩略图上的「拆」标记 */
.mv-picks .ph u {
  position: absolute; left: 3px; bottom: 3px; padding: 0 4px; height: 15px; line-height: 15px;
  background: rgba(124, 92, 255, 0.86); color: #fff; font-size: 10px; font-style: normal;
  border-radius: 4px; text-decoration: none;
}
.mv-picks .ph.raw u { background: rgba(255, 255, 255, 0.24); }
.mv-picks .ph img { cursor: zoom-in; }

/* 单张预览 */
.mv-pv {
  position: fixed; inset: 0; z-index: 180; background: rgba(0, 0, 0, 0.86);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px;
}
.mv-pv-img { max-width: 100%; max-height: 68vh; display: flex; }
.mv-pv-img img { max-width: 100%; max-height: 68vh; border-radius: 12px; object-fit: contain; }
.mv-pv-tip { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.mv-pv-ft { display: flex; gap: 10px; }
.mv-pv-ft .mini, .mv-pv-ft .look-go { min-width: 88px; }

/* ==================== MV 首页 ==================== */
.mvhome {
  position: relative;
  margin: 0 0 16px;
  padding: 34px 20px 26px;
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124, 92, 255, 0.35), transparent 62%),
    linear-gradient(180deg, #17122a 0%, #0d0b14 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.mvhome::after {
  content: '';
  position: absolute; left: 50%; top: -40%;
  width: 320px; height: 320px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28), transparent 70%);
  pointer-events: none;
}
.mvhome-kick {
  margin: 0 0 10px; font-size: 11px; letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.42); text-transform: uppercase;
}
.mvhome-tt {
  margin: 0; font-size: 34px; line-height: 1.22; font-weight: 600;
  color: #fff; letter-spacing: 0.5px;
}
.mvhome-tt b {
  font-weight: 600;
  background: linear-gradient(96deg, #fff 10%, #c4b5fd 55%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mvhome-sub { margin: 14px 0 22px; font-size: 13px; line-height: 1.85; color: rgba(255, 255, 255, 0.62); }
.mvhome-go {
  width: 100%; padding: 15px; border: 0; border-radius: 14px;
  background: linear-gradient(96deg, #8b5cf6, #6d3bf5);
  color: #fff; font-size: 15.5px; font-weight: 600; font-family: inherit;
  box-shadow: 0 10px 26px rgba(109, 59, 245, 0.38);
  cursor: pointer;
}
.mvhome-go:active { transform: translateY(1px); }
.mvhome-note {
  margin: 12px 0 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.36);
  text-align: center;
}

/* 横向卡片条 */
.mv-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 4px; -webkit-overflow-scrolling: touch; }
.mv-strip::-webkit-scrollbar { display: none; }
.mv-card { flex: 0 0 96px; width: 96px; cursor: pointer; }
.mv-card-pic {
  position: relative; width: 96px; height: 128px; border-radius: 12px;
  background-size: cover; background-position: center;
  background-color: #241d33;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.mv-card-play {
  position: absolute; right: 6px; bottom: 6px;
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  border-radius: 50%; background: rgba(0, 0, 0, 0.55);
  color: #fff; font-size: 11px;
}
.mv-card b { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 500; color: var(--txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-card small { display: block; margin-top: 2px; font-size: 11px; color: var(--txt-3); }

/* 弹层里的选歌 */
.mv-songbox { display: flex; flex-direction: column; gap: 8px; }
.mv-sub { margin: 0; font-size: 12px; color: var(--txt-3); }
.mv-songs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.mv-songs::-webkit-scrollbar { display: none; }
.mv-song {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 62px; padding: 6px 4px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid transparent;
  color: var(--txt-2); font-family: inherit; font-size: 11px;
}
.mv-song.on { border-color: #7c5cff; background: rgba(124, 92, 255, 0.16); color: #fff; }
.mv-song img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.mv-song span { max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mv-empty {
  margin: 0 0 14px; padding: 16px; border-radius: 14px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px dashed rgba(167, 139, 250, 0.45);
  color: var(--txt-2); font-size: 13px; line-height: 1.8; text-align: center;
}
.mv-empty b { color: #fff; font-weight: 500; }
.mv-empty .mini { margin-top: 10px; }

/* 首页上的「正在生成」条 */
.mv-resume {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 14px; padding: 13px 14px; border-radius: 14px;
  background: linear-gradient(96deg, rgba(124,92,255,.22), rgba(124,92,255,.08));
  border: 1px solid rgba(139,108,255,.45);
}
.mv-resume b { display: block; font-size: 14px; color: #fff; font-weight: 500; }
.mv-resume small { display: block; font-size: 11.5px; color: var(--txt-3); margin-top: 3px; }
.mv-resume button {
  flex: 0 0 auto; border: 0; border-radius: 9px; padding: 8px 13px;
  background: #7c5cff; color: #fff; font-size: 12.5px; font-family: inherit;
}
