* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body { height:100%; }
body {
  font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  color:#eaf2ff; overflow-x:hidden;
  background:#04101f;
}
/* ---------- 海报背景 ---------- */
.bg-poster { position:fixed; inset:0; z-index:0; pointer-events:none; }
.bg-poster img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.bg-poster::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(6,2,18,.10) 0%, rgba(6,2,18,.26) 55%, rgba(6,2,18,.55) 100%);
}

/* 漂浮音符 */
.note { position:fixed; color:#9ec5ff; opacity:.26; z-index:0; pointer-events:none; animation:nf 3.4s ease-in-out infinite; }
.n1 { font-size:30px; top:17%; left:9%; }
.n2 { font-size:44px; top:10%; right:11%; animation-delay:.9s; animation-duration:3.8s; }
.n3 { font-size:26px; top:64%; left:6%; animation-delay:1.7s; animation-duration:3.3s; }
.n4 { font-size:34px; top:36%; right:7%; animation-delay:2.4s; animation-duration:4.2s; }
.n5 { font-size:22px; top:52%; right:17%; animation-delay:.4s; animation-duration:3.6s; animation-name:nf2; }
.n6 { font-size:27px; top:76%; right:8%; animation-delay:1.3s; animation-duration:4.1s; animation-name:nf2; }
.n7 { font-size:30px; top:86%; left:18%; animation-delay:2.1s; animation-duration:3.5s; animation-name:nf2; }
.n8 { font-size:24px; top:44%; left:24%; animation-delay:2.9s; animation-duration:4.5s; animation-name:nf2; }
@keyframes nf { 0%,100%{transform:translateY(0) rotate(-14deg);opacity:.16} 50%{transform:translateY(-30px) rotate(14deg);opacity:.34} }
@keyframes nf2 { 0%,100%{transform:translate(0,0) rotate(12deg);opacity:.14} 50%{transform:translate(16px,-26px) rotate(-12deg);opacity:.32} }

.wrap { position:relative; z-index:1; max-width:640px; margin:0 auto; padding:0 20px 70px; min-height:100%; display:flex; flex-direction:column; }

/* ---------- 头部（海报字标下方开始） ---------- */
.head { text-align:center; margin-top:15vh; transition:margin .45s cubic-bezier(.22,.8,.35,1); }
.head.compact { margin-top:16px; }
.logo {
  width:78px; height:78px; margin:0 auto 24px; border-radius:26px;
  background:linear-gradient(135deg,rgba(59,130,246,.32),rgba(14,165,233,.14));
  border:1px solid rgba(147,197,253,.35);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 40px rgba(14,60,140,.45), inset 0 1px 0 rgba(255,255,255,.22);
  animation:bob 4s ease-in-out infinite;
}
.logo svg { width:38px; height:38px; color:#8ec3ff; }
.head.compact .logo { display:none; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.t2 {
  font-size:24px; font-weight:700; letter-spacing:16px; text-indent:16px; line-height:1.7; margin-top:2px;
  background:linear-gradient(90deg,#dbe9ff,#8ec3ff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  transition:font-size .45s,opacity .4s,line-height .45s;
}
.head.compact .t2 { font-size:0; opacity:0; line-height:0; }
.sub { font-size:13.5px; color:rgba(228,240,255,.72); letter-spacing:1px; margin:10px 0 44px; text-shadow:0 2px 12px rgba(4,12,30,.65); transition:margin .45s; }
.head.compact .sub { margin:4px 0 14px; }

/* ---------- 搜索框（暗玻璃） ---------- */
.search {
  display:flex; align-items:center; gap:10px;
  background:rgba(10,18,40,.42);
  -webkit-backdrop-filter:blur(24px); backdrop-filter:blur(24px);
  border:1px solid rgba(255,255,255,.16); border-radius:999px;
  padding:14px 20px;
  box-shadow:0 12px 38px rgba(6,2,18,.5), inset 0 1px 0 rgba(255,255,255,.16);
  transition:box-shadow .3s, border-color .3s, background .3s;
}
.search.focus {
  border-color:rgba(125,170,255,.7); background:rgba(10,18,40,.55);
  box-shadow:0 16px 48px rgba(10,4,24,.6), 0 0 42px rgba(70,130,255,.4);
}
.search input { flex:1; border:none; outline:none; background:transparent; color:#fff; font-size:17px; min-width:0; }
.search input::placeholder { color:rgba(228,240,255,.4); }
.search .icon { display:flex; color:rgba(158,197,255,.9); }
.search .icon svg { width:19px; height:19px; }
.clear {
  width:26px; height:26px; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(255,255,255,.12); color:rgba(230,242,255,.8); cursor:pointer;
}
.clear svg { width:14px; height:14px; }

/* ---------- 查看歌单入口 ---------- */
.list-entry {
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin:14px auto 0; padding:11px 26px; max-width:280px;
  background:rgba(10,18,40,.42);
  -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  border:1px solid rgba(125,175,255,.35); border-radius:999px;
  color:#dbe9ff; font-size:14px; font-weight:600; letter-spacing:1px; cursor:pointer;
  box-shadow:0 8px 26px rgba(10,4,24,.4);
  transition:opacity .4s, transform .4s, max-height .4s, margin .4s, padding .4s, box-shadow .3s;
}
.list-entry:active { transform:scale(.96); }
.list-entry svg { width:16px; height:16px; }
.head.compact .list-entry { opacity:0; pointer-events:none; max-height:0; margin-top:0; padding-top:0; padding-bottom:0; border-width:0; overflow:hidden; }

/* ---------- 面板（玻璃卡片） ---------- */
.panel {
  margin-top:16px;
  background:rgba(10,18,40,.5);
  -webkit-backdrop-filter:blur(24px); backdrop-filter:blur(24px);
  border:1px solid rgba(255,255,255,.12); border-radius:22px;
  padding:18px 16px 10px;
  box-shadow:0 14px 44px rgba(6,2,18,.45), inset 0 1px 0 rgba(255,255,255,.1);
  animation:fadeUp .35s ease-out both;
}
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.section { font-size:15px; font-weight:700; letter-spacing:.5px; margin-bottom:10px; display:flex; align-items:center; gap:7px; color:#dbe9ff; }
.section::before { content:''; width:4px; height:15px; border-radius:2px; background:linear-gradient(180deg,#60a5fa,#22d3ee); }

.item { padding:11px 4px; border-bottom:1px solid rgba(255,255,255,.07); animation:fadeUp .4s ease-out both; }
.item:last-child { border-bottom:none; }
.line { display:flex; align-items:center; gap:12px; }
/* 亮蓝圆形序号徽章 */
.no {
  flex-shrink:0; width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#3b82f6,#0ea5e9);
  color:#fff; font-family:ui-monospace,Consolas,monospace;
  font-size:10.5px; font-weight:700; letter-spacing:-.2px;
  box-shadow:0 6px 16px rgba(37,130,235,.4), inset 0 1px 0 rgba(255,255,255,.3);
}
.name { font-size:16.5px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#eaf2ff; }
.meta { font-size:12px; color:rgba(170,205,248,.55); margin:5px 0 0 52px; }
.more { padding:14px 0 8px; text-align:center; font-size:12px; color:rgba(186,215,255,.4); }

.empty { text-align:center; padding:24px 0 32px; }
.empty .e1 { color:rgba(147,197,253,.5); margin-bottom:12px; }
.empty .e1 svg { width:44px; height:44px; }
.empty .e2 { font-size:16px; font-weight:600; color:#dbe9ff; }
.empty .e3 { font-size:13px; color:rgba(186,215,255,.45); margin-top:8px; }

/* ---------- 最近搜索 ---------- */
.tags { display:flex; flex-wrap:wrap; gap:10px; padding:4px 0 12px; }
.tag {
  background:rgba(125,175,255,.12); border:1px solid rgba(125,175,255,.3); color:#dbe9ff; font-size:13px;
  padding:7px 16px; border-radius:999px; cursor:pointer; animation:fadeUp .3s both;
}

/* ---------- 点歌单页 ---------- */
.sl-head {
  position:sticky; top:0; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin:16px -20px 0; padding:12px 20px;
  background:rgba(10,18,40,.72);
  -webkit-backdrop-filter:blur(22px); backdrop-filter:blur(22px);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.sl-back { display:flex; align-items:center; gap:2px; color:#9ec5ff; font-size:15px; font-weight:600; cursor:pointer; padding:6px 8px 6px 0; }
.sl-back svg { width:18px; height:18px; }
.sl-title { font-size:17px; font-weight:800; letter-spacing:6px; text-indent:6px; color:#e4f0ff; }
.sl-count { font-size:12px; color:rgba(205,228,255,.55); }
.foot { position:fixed; left:0; right:0; bottom:calc(14px + env(safe-area-inset-bottom)); text-align:center; font-size:12px; color:rgba(228,240,255,.85); text-shadow:0 2px 8px rgba(10,4,24,.7); z-index:1; pointer-events:none; }

/* ---------- 备案号（首屏外，滚动可见，手机更小） ---------- */
.beian { padding:34px 0 16px; text-align:center; font-size:10px; line-height:2.1; }
.beian a { color:rgba(186,215,255,.42); text-decoration:none; margin:0 6px; }
.beian a:active { color:#9ec9ff; }
@media (max-width:480px) { .beian { font-size:9px; padding:26px 0 12px; } }
