/* ============================================================
   樱色歌单 · VTuber Official Site
   粉色主题样式系统
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --pink-50:  #FFF6FA;
  --pink-100: #FFE8F1;
  --pink-200: #FFD1E4;
  --pink-300: #FFAFD0;
  --pink-400: #FF8CBB;
  --pink-500: #FF6BA6;
  --pink-600: #F0478B;
  --pink-700: #C9306E;

  --grape:    #A069F5;
  --grape-soft:#C9A8FF;
  --gold:     #FFC24B;
  --mint:     #4BD8B4;
  --sky:      #5FB8FF;

  --ink:      #3B2433;
  --ink-2:    #6B4C60;
  --ink-3:    #9C7B8E;

  --bg:       #FFF7FB;
  --bg-2:     #FFF0F6;
  --surface:  #FFFFFF;
  --surface-2:#FFF9FC;
  --line:     #FFDDE9;

  --ok:       #2FB67C;
  --warn:     #E8A400;
  --danger:   #E0453F;
  --neutral:  #8A8A9E;

  --radius-s: 12px;
  --radius:   20px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(240, 71, 139, .08);
  --shadow:   0 10px 30px rgba(240, 71, 139, .12);
  --shadow-l: 0 20px 60px rgba(240, 71, 139, .18);
  --grad:     linear-gradient(135deg, var(--pink-500), var(--grape));
  --grad-soft:linear-gradient(135deg, var(--pink-300), var(--grape-soft));

  --max: 1180px;
}

html[data-theme="dark"] {
  --bg:       #24101C;
  --bg-2:     #2C1422;
  --surface:  #33172A;
  --surface-2:#3D1C32;
  --line:     #562A45;
  --ink:      #FFE9F3;
  --ink-2:    #E4B9CF;
  --ink-3:    #B98BA4;
  --pink-50:  #3A1A2E;
  --pink-100: #4A2039;
  --shadow-s: 0 2px 10px rgba(0,0,0,.25);
  --shadow:   0 10px 30px rgba(0,0,0,.35);
  --shadow-l: 0 20px 60px rgba(0,0,0,.45);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
               -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}
/* 背景光斑 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 500px at 12% -6%,  rgba(255,138,187,.28), transparent 60%),
    radial-gradient(600px 500px at 92% 8%,   rgba(160,105,245,.20), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(255,194,75,.16),  transparent 60%);
}
a { color: var(--pink-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--grape); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--pink-300); border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }
.section-tight { padding: 36px 0; }

/* ---------- 通用排版件 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--pink-600);
  background: var(--pink-100);
  padding: 6px 14px; border-radius: 999px;
}
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 12px; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; }
p  { margin: 0 0 12px; color: var(--ink-2); }
.muted { color: var(--ink-3); font-size: 14px; }
.center { text-align: center; }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head p { max-width: 620px; margin: 10px auto 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: none;
  font-size: 15px; font-weight: 700; color: #fff;
  background: var(--grad); box-shadow: var(--shadow-s);
  transition: transform .18s, box-shadow .18s, opacity .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: var(--surface); color: var(--pink-600);
  border: 2px solid var(--pink-200); box-shadow: none;
}
.btn.ghost:hover { background: var(--pink-100); color: var(--pink-700); }
.btn.sm { padding: 8px 16px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-s);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card.hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-title { display:flex; align-items:center; gap:9px; margin-bottom: 12px; font-weight: 800; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; color: var(--ink); }
.brand img, .brand .ava {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--pink-300); flex: none;
  background: var(--grad-soft);
}
.brand .ava { display: grid; place-items: center; font-size: 18px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 700;
  color: var(--ink-2);
}
.nav-links a:hover { background: var(--pink-100); color: var(--pink-700); }
.nav-links a.active { background: var(--grad); color: #fff; box-shadow: var(--shadow-s); }
.icon-btn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: 16px;
}
.icon-btn:hover { background: var(--pink-100); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 52px 0 30px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero-grid.solo { grid-template-columns: 1fr; }
.hero h1 { margin-top: 14px; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--pink-500), var(--grape));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.tag {
  padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--pink-100); color: var(--pink-700); border: 1px solid var(--pink-200);
}
.tag.gp { background: color-mix(in srgb, var(--grape) 14%, transparent); color: var(--grape); border-color: var(--grape-soft); }

/* 头像卡 */
.hero-ava { position: relative; margin: 0 auto; max-width: 380px; }
.hero-ava .ring {
  position: relative; border-radius: 34px; overflow: hidden;
  border: 4px solid #fff; box-shadow: var(--shadow-l);
  background: var(--grad-soft); aspect-ratio: 3/4;
  display: grid; place-items: center;
}
.hero-ava img { width: 100%; height: 100%; object-fit: cover; }
.hero-ava .fallback { font-size: 76px; }
.hero-ava::after {
  content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 44px;
  background: conic-gradient(from 0deg, var(--pink-300), var(--grape-soft), var(--gold), var(--pink-300));
  filter: blur(22px); opacity: .55; animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.badge-float {
  position: absolute; bottom: 16px; left: -12px;
  background: #fff; color: var(--pink-700); font-weight: 800; font-size: 13px;
  padding: 9px 15px; border-radius: 999px; box-shadow: var(--shadow);
  border: 2px solid var(--pink-200);
}

/* ---------- 统计条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 16px 18px; text-align: center; box-shadow: var(--shadow-s);
}
.stat b { display: block; font-size: 26px; font-weight: 800; color: var(--pink-600); line-height: 1.2; }
.stat span { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

/* ---------- 点歌速查 ---------- */
.checker { background: var(--grad); border-radius: var(--radius-l); padding: 34px; color: #fff; box-shadow: var(--shadow-l); }
.checker h2, .checker p { color: #fff; }
.checker .sec-head p { opacity: .9; }
.checker-box { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.checker-box input {
  flex: 1; padding: 15px 20px; border-radius: 999px; border: none; font-size: 16px;
  outline: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
  background: rgba(255,255,255,.95); color: var(--ink); font-family: inherit;
}
.checker-box input::placeholder { color: var(--ink-3); }
.checker-box .btn { background: var(--ink); box-shadow: none; white-space: nowrap; }
.checker-box .btn:hover { background: #000; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 14px; }
.quick-chips .chip-label { color: #fff; opacity: .9; font-size: 13px; font-weight: 700; margin-right: 2px; }
.quick-chips button {
  background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.4);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.quick-chips button:hover { background: rgba(255,255,255,.35); }
#checkResult { margin-top: 22px; }
.verdict {
  max-width: 640px; margin: 0 auto; background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 18px 22px; text-align: left;
  box-shadow: var(--shadow); border-left: 6px solid var(--ok);
  animation: pop .3s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px);} to {opacity:1;transform:none;} }
.verdict.warn { border-left-color: var(--warn); }
.verdict.danger { border-left-color: var(--danger); }
.verdict.unknown { border-left-color: var(--neutral); }
.verdict .v-top { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.verdict .v-body { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.verdict .v-body div { margin-bottom: 4px; }

/* ---------- 歌曲卡 ---------- */
.song-list { display: grid; gap: 14px; }
.song-list.grid-view { grid-template-columns: repeat(3, 1fr); }
.song {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s;
}
.song:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.song-list.grid-view .song { flex-direction: column; padding: 14px; }
.song-list.grid-view .song-side { text-align: left; }
.song-list.grid-view .song-title { font-size: 15px; }
.song .idx {
  width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--pink-100);
  color: var(--pink-700); display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.song-main { flex: 1; min-width: 0; }
.song-title { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.song-meta { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.song-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.mini {
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--pink-50); color: var(--pink-700); border: 1px solid var(--pink-100);
}
.mini.lang { background: color-mix(in srgb, var(--sky) 14%, transparent); color: #2A7FC9; border-color: color-mix(in srgb, var(--sky) 35%, transparent); }
.mini.ok   { background: color-mix(in srgb, var(--ok) 14%, transparent); color: #1E8C5F; border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.mini.gp   { background: color-mix(in srgb, var(--grape) 13%, transparent); color: var(--grape); border-color: var(--grape-soft); }
.mini.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: #A87200; border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.song-side { text-align: right; flex: none; }
.diff { letter-spacing: 1px; color: var(--pink-500); font-size: 14px; }

/* ---------- 工具栏 / 筛选 ---------- */
.toolbar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-s); margin-bottom: 22px;
  position: sticky; top: 82px; z-index: 30;
}
.tool-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tool-row + .tool-row { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.search-in { position: relative; flex: 1; min-width: 220px; }
.search-in input {
  width: 100%; padding: 12px 18px 12px 42px; border-radius: 999px;
  border: 2px solid var(--pink-100); background: var(--surface-2); color: var(--ink);
  font-size: 15px; outline: none; font-family: inherit;
}
.search-in input:focus { border-color: var(--pink-400); }
.search-in::before { content: "🔍"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: .6; }
select {
  padding: 11px 16px; border-radius: 999px; border: 2px solid var(--pink-100);
  background: var(--surface-2); color: var(--ink); font-family: inherit; font-size: 14px; outline: none;
  max-width: 100%;
}
select:focus { border-color: var(--pink-400); }
.chip-filter {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 700;
}
.chip-filter:hover { border-color: var(--pink-300); color: var(--pink-700); }
.chip-filter.on { background: var(--grad); color: #fff; border-color: transparent; }
.result-count { font-size: 14px; color: var(--ink-3); font-weight: 600; }

/* ---------- 分布条 ---------- */
.dist { display: grid; gap: 10px; }
.dist-row { display: grid; grid-template-columns: 68px 1fr 42px; gap: 10px; align-items: center; font-size: 13.5px; }
.bar { height: 9px; border-radius: 999px; background: var(--pink-100); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); }

/* ---------- 禁唱库 ---------- */
.alert {
  border-radius: var(--radius); padding: 18px 22px; border: 1px solid;
  display: flex; gap: 14px; align-items: flex-start;
}
.alert.danger { background: color-mix(in srgb, var(--danger) 8%, transparent); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.alert.warn   { background: color-mix(in srgb, var(--warn) 10%, transparent); border-color: color-mix(in srgb, var(--warn) 32%, transparent); }
.alert.info   { background: color-mix(in srgb, var(--sky) 10%, transparent);  border-color: color-mix(in srgb, var(--sky) 30%, transparent); }
.alert b { display: block; margin-bottom: 4px; }
.alert .ico { font-size: 22px; flex: none; }

.ban-item {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--danger);
  border-radius: var(--radius-s); padding: 16px 18px; box-shadow: var(--shadow-s);
  display: grid; gap: 8px;
}
.ban-item.level-授权 { border-left-color: var(--warn); }
.ban-item.level-谨慎 { border-left-color: var(--sky); }
.ban-item.level-解禁 { border-left-color: var(--ok); }
.ban-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 800; }
.risk {
  font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; color: #fff;
  background: var(--danger);
}
.risk.r-授权 { background: var(--warn); }
.risk.r-谨慎 { background: var(--sky); }
.risk.r-解禁 { background: var(--ok); }
.ban-body { font-size: 14px; color: var(--ink-2); display: grid; gap: 5px; }
.ban-body .row { display: flex; gap: 8px; }
.ban-body .row b { color: var(--ink); flex: none; min-width: 62px; font-weight: 700; }

/* ---------- 时间轴 ---------- */
.tl { position: relative; padding-left: 34px; }
.tl::before {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(180deg, var(--pink-200), var(--grape-soft), var(--pink-200));
  border-radius: 3px;
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -29px; top: 8px; width: 15px; height: 15px;
  border-radius: 50%; background: #fff; border: 4px solid var(--pink-400);
  box-shadow: 0 0 0 4px var(--pink-100);
}
.tl-item.hi::before { border-color: var(--grape); background: var(--gold); }
.tl-date { font-size: 13px; font-weight: 800; color: var(--pink-600); letter-spacing: .04em; }
.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 15px 18px; margin-top: 6px; box-shadow: var(--shadow-s); }
.tl-card.hi { border-color: var(--grape-soft); box-shadow: var(--shadow); }
.tl-card h4 { margin: 0 0 4px; font-size: 16.5px; }
.tl-year { font-size: 22px; font-weight: 800; color: var(--grape); margin: 24px 0 14px; }

/* ---------- 倒计时卡 ---------- */
.countdown {
  background: var(--grad); color: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); text-align: center;
}
.countdown .num { font-size: 42px; font-weight: 800; line-height: 1; }
.countdown small { opacity: .9; }

/* ---------- 平台矩阵 ---------- */
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.plat {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-s);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: transform .2s, box-shadow .2s; color: var(--ink);
}
.plat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink-300); }
.plat .pi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--pink-100); flex: none; }
.plat b { display: block; font-size: 14.5px; }
.plat span { font-size: 12.5px; color: var(--ink-3); }
/* 抖音头像（直链外链，加载失败由 JS 换回 emoji 图标） */
.plat .plat-av { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover;
  background: var(--pink-100); border: 2px solid var(--pink-200); box-sizing: border-box; }
.plat:hover .plat-av { border-color: var(--pink-400); }

/* ---------- 档案表 ---------- */
.profile-list { display: grid; gap: 2px; }
.profile-list .row {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 4px;
  border-bottom: 1px dashed var(--line); font-size: 15px;
}
.profile-list .row:last-child { border-bottom: none; }
.profile-list .k { color: var(--ink-3); font-weight: 700; font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 60px; padding: 34px 0 30px; border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer small { color: var(--ink-3); font-size: 13px; }
.footer a { color: var(--ink-3); text-decoration: none; }
.footer a:hover { color: #FA4178; }

/* ---------- 其他零碎 ---------- */
.empty { text-align: center; padding: 46px 20px; color: var(--ink-3); }
.empty .e { font-size: 42px; display: block; margin-bottom: 10px; }
.demo-note {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent);
  color: #8A5C00; font-size: 13.5px; padding: 10px 16px; border-radius: var(--radius-s);
  text-align: center; margin-bottom: 22px;
}
.kbd {
  display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--surface-2); font-size: 12px; color: var(--ink-2); font-weight: 700;
}
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 应援色块 ---------- */
.swatch {
  display: inline-block; width: 15px; height: 15px; border-radius: 5px; vertical-align: -2px;
  margin-right: 7px; border: 1px solid var(--line);
}

/* ---------- 个人形象图鉴 ---------- */
.forms-sec { margin-top: 44px; }.forms-head { text-align: center; margin-bottom: 26px; }
.forms-head h3 { margin-top: 6px; }
.forms-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.form-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: zoom-in;
}
.form-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--pink-300); }
.form-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--surface-2); }
.form-card figcaption {
  padding: 10px 8px; text-align: center; font-weight: 800; font-size: 13.5px;
  color: var(--ink-2); border-top: 1px solid var(--line);
}

/* ---------- 形象图鉴灯箱（点击放大查看） ---------- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(20, 8, 14, .86); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 28px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox .lb-in {
  position: relative; max-width: min(92vw, 720px); max-height: 92vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox img {
  max-width: 100%; max-height: calc(92vh - 56px);
  border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  display: block; background: var(--surface-2);
}
.lightbox .lb-cap {
  margin-top: 12px; color: #fff; font-weight: 800; font-size: 15px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.lightbox .lb-x {
  position: absolute; top: -14px; right: -14px; width: 36px; height: 36px;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--pink-500); color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
}
.lightbox .lb-x:hover { background: var(--pink-600, #e02f63); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ava { max-width: 300px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .song-list.grid-view { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: grid; margin-left: auto; }
  .section { padding: 44px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .song-list.grid-view { grid-template-columns: 1fr; }
  .toolbar { position: static; }
  .checker { padding: 24px 18px; }
  .checker-box { flex-direction: column; }
  .checker-box .btn { justify-content: center; }
  .song { flex-direction: column; }
  .song-side { text-align: left; }
}

/* ---------- 打印（导出歌单给主播/乐队） ---------- */
.print-only { display: none; }

@media print {
  body::before, .nav, .footer, .toolbar, .checker, .btn, .demo-note, .icon-btn,
  aside, .quick-chips, .alert, .print-hide { display: none !important; }
  body { background: #fff; }
  .card, .song, .ban-item, .tl-card { box-shadow: none; break-inside: avoid; border-color: #ddd; }
  .wrap { max-width: 100%; }
  a::after { content: ""; }
  /* 打印稿：抬头一行说明 + 歌曲排成紧凑单列，一页能放更多 */
  .print-only { display: block !important; font-size: 12.5px; color: #555; margin-bottom: 10px; }
  .sec-head { margin-bottom: 10px; }
  .sec-head h1 { font-size: 22px; }
  .song-list { grid-template-columns: 1fr !important; gap: 5px; }
  .song { padding: 7px 10px; border-radius: 8px; }
  .song:hover { transform: none; box-shadow: none; }
  .song .idx { width: 26px; height: 26px; font-size: 12px; border-radius: 8px; }
  .song-title { font-size: 14.5px; }
  .song-meta, .song-tags { margin-top: 2px; }
}

/* ---------- 首页 · 最近收录紧凑网格 ---------- */
.recent-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.rc {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 12px; box-shadow: var(--shadow-s);
  text-decoration: none; color: var(--ink);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.rc:hover { transform: translateY(-3px); border-color: var(--pink-300); box-shadow: var(--shadow); }
.rc-n {
  flex: none; width: 22px; height: 22px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--pink-100); color: var(--pink-700);
  font-size: 12px; font-weight: 800;
}
.rc-t { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc .mini { margin-left: auto; flex: none; }

/* ---------- 个人档案页 · 形象轮播 ---------- */
.profile-carousel .ring img { transition: opacity .26s ease; }
.profile-carousel .ring img.fading { opacity: 0; }
.carousel-cap {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  background: rgba(255, 255, 255, .88); color: var(--pink-700);
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  white-space: nowrap; pointer-events: none;
  box-shadow: var(--shadow-s);
}

/* ---------- 平台与联系 · 联系人卡放大一档 ---------- */
.plat-lg { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.plat-lg .plat { padding: 24px 20px; }
.plat-lg .plat .pi { width: 50px; height: 50px; font-size: 24px; border-radius: 14px; }
.plat-lg .plat .plat-av { width: 50px; height: 50px; }
.plat-lg .plat b { font-size: 16.5px; }
.plat-lg .plat span { font-size: 13.5px; }

/* ---------- 个人作品（档案页） ---------- */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.work { border: 1px solid var(--line); background: var(--surface-2); border-radius: var(--radius-s); padding: 14px 16px; }
.work-t { font-weight: 800; font-size: 15.5px; }
.work-m { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.work-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.work-singer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; }
