:root {
  color-scheme: dark;
  --bg: #0b0b12;
  --card: rgba(255,255,255,.075);
  --card2: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.56);
  --line: rgba(255,255,255,.12);
  --primary: #31c27c;
  --cyan: #4da3ff;
  --pink: #7c8cff;
  --good: #ffd45a;
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}
body.neon {
  --bg: #070b1c;
  --card: rgba(255,255,255,.085);
  --card2: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.58);
  --line: rgba(255,255,255,.14);
  --primary: #8b6cff;
  --cyan: #18d8ff;
  --pink: #ff4fd8;
  --good: #f6ff58;
}
body.dark {
  --bg: #0b0b12;
  --card: rgba(255,255,255,.07);
  --card2: rgba(255,255,255,.115);
  --text: rgba(255,255,255,.93);
  --muted: rgba(255,255,255,.55);
  --line: rgba(255,255,255,.12);
  --primary: #31c27c;
  --cyan: #4da3ff;
  --pink: #7c8cff;
  --good: #ffd45a;
}
body.light {
  color-scheme: light;
  --bg: #f4f6ff;
  --card: rgba(255,255,255,.78);
  --card2: rgba(255,255,255,.96);
  --text: rgba(19,23,42,.92);
  --muted: rgba(28,34,55,.55);
  --line: rgba(69,83,130,.16);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 2%, rgba(49,194,124,.16), transparent 28%),
    radial-gradient(circle at 95% 18%, rgba(77,163,255,.14), transparent 30%),
    linear-gradient(145deg, var(--bg), #10121c 58%, #090a10);
  overflow-x: hidden;
}
body.neon {
  background:
    radial-gradient(circle at 12% 2%, rgba(139,108,255,.35), transparent 28%),
    radial-gradient(circle at 95% 18%, rgba(24,216,255,.22), transparent 30%),
    linear-gradient(145deg, var(--bg), #0a0820 55%, #160820);
}
body.dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(49,194,124,.12), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(77,163,255,.12), transparent 28%),
    linear-gradient(145deg, #0b0b12, #11131c 56%, #08090e);
}
body.light { background: linear-gradient(145deg, #f8fbff, #eef2ff 54%, #fff4fb); }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(to bottom, #000, transparent 76%);
}
.app { min-height: 100vh; padding: calc(14px + var(--safe-top)) 14px calc(172px + var(--safe-bottom)); position: relative; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.brand { display: flex; gap: 10px; align-items: center; min-width: 0; }
.logo { width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--cyan) 55%, var(--pink)); box-shadow: 0 12px 36px rgba(24,216,255,.22); color: #fff; font-weight: 900; font-size: 21px; }
h1, h2, h3, p { margin: 0; }
.brand h1 { font-size: 22px; line-height: 1; }
.sub { color: var(--muted); font-size: 12px; margin-top: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.icon, .pill, button { border: 0; color: var(--text); font: inherit; }
button { cursor: pointer; }
.icon { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; backdrop-filter: blur(18px); }
.pill { border-radius: 999px; padding: 9px 12px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(18px); font-size: 12px; }
.search { display: flex; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); backdrop-filter: blur(24px); box-shadow: 0 18px 60px rgba(0,0,0,.20); }
input, select { width: 100%; min-width: 0; border: 1px solid var(--line); outline: 0; background: rgba(255,255,255,.08); color: var(--text); border-radius: 15px; padding: 11px 12px; font-size: 15px; }
.search input { border: 0; background: transparent; padding: 8px 4px; font-size: 16px; }
input::placeholder { color: var(--muted); }
.primary { background: linear-gradient(135deg, var(--primary), var(--cyan)); border-radius: 16px; padding: 10px 14px; color: #fff; font-weight: 800; }
.ghost { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 13px; }
.chips { display: flex; gap: 9px; overflow-x: auto; padding: 12px 1px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border-radius: 999px; padding: 8px 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 13px; }
.chip.active { background: linear-gradient(135deg, rgba(139,108,255,.78), rgba(24,216,255,.48)); color: #fff; }
.ios-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ios-tabs { flex: 1 1 auto; min-width: 0; display: flex; gap: 24px; overflow-x: auto; padding: 2px 0 14px; margin: 0 -2px; scrollbar-width: none; }
.ios-tabs::-webkit-scrollbar { display: none; }
.ios-tab { flex: 0 0 auto; position: relative; padding: 5px 0 10px; background: transparent; color: var(--muted); font-size: 22px; letter-spacing: .5px; white-space: nowrap; }
.ios-tab.active { color: var(--text); font-weight: 900; }
.ios-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 999px; background: #1fe6a5; box-shadow: 0 5px 14px rgba(31,230,165,.34); }
.account-avatar { flex: 0 0 auto; width: 42px; height: 42px; margin-top: 2px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: linear-gradient(135deg, #93f8ff, #7c5cff); color: #fff; font-size: 13px; font-weight: 900; box-shadow: 0 10px 26px rgba(24,216,255,.22); overflow: hidden; }
.account-avatar.logged { font-size: 0; }
.account-avatar.logged::before { content: "我"; font-size: 16px; }
.qq-search { align-items: center; border: 0; border-radius: 23px; background: rgba(255,255,255,.92); color: rgba(20,24,38,.86); padding: 8px 9px 8px 13px; box-shadow: 0 16px 46px rgba(9,21,47,.10); }
body:not(.light) .qq-search { background: rgba(255,255,255,.12); color: var(--text); }
.qq-search input { flex: 1 1 auto; width: auto; color: inherit; font-size: 16px; }
.qq-search .primary { flex: 0 0 auto; width: 42px; height: 36px; border-radius: 999px; padding: 0; overflow: hidden; font-size: 0; background: linear-gradient(135deg, #20e59c, #19cfff); }
.qq-search .primary::before { content: "搜"; font-size: 14px; font-weight: 900; }
.search-gem { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #54f7ff, #8c62ff); transform: rotate(-10deg); font-size: 13px; }
.account-strip { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 12px 0 6px; color: var(--muted); }
.user-chip { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 58%; padding: 0; background: transparent; color: var(--text); font-size: 18px; font-weight: 850; }
.user-chip::before { content: ""; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; background: linear-gradient(135deg, #93f8ff, #7c5cff); box-shadow: 0 8px 22px rgba(24,216,255,.22); }
.account-strip .hint { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; font-size: 13px; }
.home-rail { display: flex; gap: 14px; overflow-x: auto; padding: 12px 0 3px; margin-right: -14px; scrollbar-width: none; scroll-snap-type: x proximity; }
.home-rail::-webkit-scrollbar { display: none; }
.qq-card { flex: 0 0 58%; min-height: 150px; border: 0; border-radius: 8px; padding: 15px; text-align: left; color: #101522; position: relative; overflow: hidden; scroll-snap-align: start; background: linear-gradient(135deg, #bfe5ff, #d7e8ff); box-shadow: 0 18px 48px rgba(10,21,45,.13); }
.qq-card:nth-child(2n) { background: linear-gradient(135deg, #ff7a74, #351227); color: #fff; }
.qq-card h3 { font-size: 22px; line-height: 1.1; margin-bottom: 8px; }
.qq-card p { max-width: 52%; font-size: 14px; line-height: 1.35; opacity: .82; }
.qq-card img { position: absolute; right: 14px; top: 34px; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.qq-card .round-play { position: absolute; left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #18e790; color: #071122; font-weight: 900; }
.qq-card:nth-child(2n) .round-play { left: auto; right: 14px; bottom: 12px; width: 38px; height: 38px; color: #fff; background: rgba(255,255,255,.25); backdrop-filter: blur(14px); }
.pc-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: 12px; margin: 12px 0 16px; }
.hero-main, .hero-side { min-height: 178px; padding: 16px; overflow: hidden; position: relative; }
.hero-main { display: grid; grid-template-columns: minmax(0,1fr) 112px; gap: 12px; align-items: center; background: linear-gradient(135deg, rgba(49,194,124,.22), rgba(77,163,255,.16)); }
body.neon .hero-main { background: linear-gradient(135deg, rgba(139,108,255,.26), rgba(24,216,255,.17)); }
.hero-main .eyebrow { display: inline-flex; margin-bottom: 8px; color: var(--good); font-size: 12px; font-weight: 900; letter-spacing: .5px; }
.hero-main h2 { font-size: 25px; line-height: 1.1; margin-bottom: 9px; }
.hero-main p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.hero-main img { width: 112px; height: 112px; border-radius: 22px; object-fit: cover; box-shadow: 0 18px 44px rgba(0,0,0,.25); transform: rotate(4deg); }
.hero-side h3 { font-size: 16px; margin-bottom: 10px; }
.rank-preview-row { width: 100%; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 8px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; }
.rank-preview-row:last-child { border-bottom: 0; }
.rank-preview-row span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-num { color: var(--good); font-weight: 900; font-variant-numeric: tabular-nums; }
.source-rail, .playlist-rail { display: flex; gap: 12px; overflow-x: auto; padding: 3px 0 8px; margin-right: -14px; scrollbar-width: none; }
.source-rail::-webkit-scrollbar, .playlist-rail::-webkit-scrollbar { display: none; }
.source-card, .playlist-rail .playlist { flex: 0 0 132px; border: 0; background: transparent; padding: 0; text-align: left; }
.playlist-cover, .playlist-info, .source-cover, .source-info { width: 100%; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; }
.playlist-cover, .source-cover { position: relative; display: block; }
.playlist-cover .round-play, .source-cover .round-play { position: absolute; right: 9px; bottom: 9px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(24,231,144,.92); color: #071122; box-shadow: 0 10px 24px rgba(0,0,0,.24); backdrop-filter: blur(10px); font-weight: 900; font-style: normal; }
.playlist-info, .source-info { display: block; }
.source-card img, .playlist-rail .playlist img { display: block; width: 132px; height: 132px; border-radius: 10px; object-fit: cover; box-shadow: 0 12px 28px rgba(0,0,0,.13); }
.source-card b, .playlist-rail .playlist b { display: block; margin-top: 8px; font-size: 15px; line-height: 1.22; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.source-card span, .playlist-rail .playlist span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collection-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 14px; }
.collection-head h2 { font-size: 23px; line-height: 1.15; font-weight: 850; }
.collection-play { width: 54px; height: 38px; border-radius: 999px; background: rgba(255,255,255,.9); color: #0b1020; box-shadow: 0 10px 28px rgba(13,25,52,.12); }
body:not(.light) .collection-play { background: rgba(255,255,255,.14); color: var(--text); }
.qq-song-list { display: grid; gap: 14px; }
.qq-song { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; gap: 14px; align-items: center; border: 0; background: transparent; padding: 0; }
.qq-song img { width: 62px; height: 62px; border-radius: 8px; object-fit: cover; }
.qq-song .song-title { margin: 0; font-size: 19px; font-weight: 780; }
.qq-song .song-meta { font-size: 15px; margin-top: 7px; }
.song-tag { display: inline-block; margin-left: 6px; padding: 2px 5px; border-radius: 4px; background: rgba(10,22,48,.08); color: var(--muted); font-size: 12px; vertical-align: middle; }
.like-ghost { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; background: rgba(255,255,255,.08); color: var(--muted); border: 1px solid var(--line); font-size: 20px; }
.like-ghost.liked { background: rgba(255,122,168,.22); color: #ff69a6; border-color: rgba(255,122,168,.35); }
.hero, .card, .panel { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055)); backdrop-filter: blur(22px); }
body.light .hero, body.light .card, body.light .panel { background: rgba(255,255,255,.82); }
.hero { padding: 16px; margin: 13px 0; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -64px; top: -64px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,216,.42), transparent 65%); }
.hero h2 { font-size: 21px; margin-bottom: 7px; }
.hero p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 2px 10px; }
.head h2 { font-size: 18px; }
.status { font-size: 12px; color: var(--muted); }
.grid, .playlist-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.playlist { padding: 10px; min-width: 0; }
article.playlist { display: block; }
.playlist img, .cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: linear-gradient(135deg, rgba(139,108,255,.45), rgba(24,216,255,.28)); }
.playlist b, .song-title { display: block; margin-top: 8px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.playlist span, .song-meta { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.playlist-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.playlist-card .playlist-cover img { border-radius: 16px; box-shadow: 0 16px 34px rgba(0,0,0,.17); }
.playlist-card .playlist-info b { margin-top: 9px; font-size: 14px; line-height: 1.28; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.playlist-card .playlist-info span { font-size: 12px; }
.home-bang-grid { display: grid; gap: 14px; }
.home-bang-group { padding: 12px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.055)); }
body.light .home-bang-group { background: rgba(255,255,255,.86); }
.home-bang-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.home-bang-head h3 { font-size: 16px; }
.home-bang-head span { color: var(--muted); font-size: 12px; }
.home-bang-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-bang-card { min-width: 0; }
.ranking-cover, .ranking-info { width: 100%; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; }
.ranking-cover { position: relative; display: block; }
.ranking-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 34px rgba(0,0,0,.18); background: linear-gradient(135deg, rgba(139,108,255,.35), rgba(24,216,255,.24)); }
.ranking-cover .round-play { position: absolute; right: 9px; bottom: 9px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(24,231,144,.92); color: #071122; box-shadow: 0 10px 24px rgba(0,0,0,.24); font-weight: 900; font-style: normal; }
.ranking-info b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 9px; font-size: 14px; line-height: 1.28; }
.ranking-info span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bang-hot { position: absolute; left: 8px; top: 8px; border-radius: 999px; padding: 3px 7px; background: rgba(255,68,116,.92); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .4px; }
.bang-card { padding: 12px; }
.song-panel { padding: 12px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); backdrop-filter: blur(22px); display: grid; gap: 12px; }
.hall-load-more { width: 100%; margin: 16px 0 4px; padding: 13px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; background: rgba(255,255,255,.045); }
.hall-load-more.loading { color: var(--text); border-style: solid; }
.list { display: grid; gap: 10px; }
.song { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(18px); }
.song.active { border-color: rgba(24,216,255,.62); background: rgba(24,216,255,.14); }
.song .cover { width: 52px; height: 52px; border-radius: 15px; }
.row-actions { display: flex; align-items: center; justify-content: center; gap: 7px; }
.mini { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; background: rgba(255,255,255,.1); border: 1px solid var(--line); color: var(--text); }
.mini[data-action="play"], .round-play, .collection-play, .play { text-indent: 2px; }
.qq-song .mini, .qq-song .like-ghost { width: 42px; height: 42px; flex: 0 0 42px; }
.mini.liked { color: #ff7aa8; background: rgba(255,122,168,.14); }
.empty { color: var(--muted); text-align: center; padding: 26px 10px; border: 1px dashed var(--line); border-radius: 22px; }
.toolbar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tabbar { position: fixed; left: 50%; bottom: calc(8px + var(--safe-bottom)); z-index: 22; transform: translateX(-50%); display: flex; gap: 6px; width: max-content; max-width: calc(100vw - 20px); padding: 8px; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); background: #1b1c2d; box-shadow: 0 18px 80px rgba(0,0,0,.42); overflow-x: auto; scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
body.light .tabbar { background: #fff; border-color: rgba(29,38,64,.12); box-shadow: 0 16px 52px rgba(28,40,80,.16); }
.tabbar button { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 14px; background: transparent; color: #aaa; font-size: 13px; white-space: nowrap; transition: color .25s ease, background .25s ease, transform .25s ease; }
.tabbar button:hover { color: #fff; }
body.light .tabbar button { color: rgba(28,34,55,.58); }
body.light .tabbar button:hover { color: rgba(19,23,42,.92); }
.tabbar button.active { background: rgba(255,255,255,.10); color: #fff; transform: scale(1.05); }
body.light .tabbar button.active { background: rgba(31,194,124,.12); color: rgba(19,23,42,.94); }
.tabbar svg { width: 18px; height: 18px; stroke: currentColor; flex: 0 0 auto; }
.player { position: fixed; left: 10px; right: 10px; bottom: calc(84px + var(--safe-bottom)); z-index: 24; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background-color: #071020; background-image: linear-gradient(145deg, #071020, #12182e); box-shadow: 0 24px 90px rgba(0,0,0,.46); padding: 10px; transition: transform .28s ease, opacity .2s ease; will-change: transform; }
body.light .player { background-color: #fff; background-image: none; border-color: rgba(29,38,64,.12); box-shadow: 0 18px 52px rgba(28,40,80,.18); }
.player-main { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; align-items: center; }
.player .cover { width: 48px; height: 48px; border-radius: 15px; }
#openNowPlaying { min-width: 0; }
.player-title { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta { color: var(--muted); font-size: 12px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.controls { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.play { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; font-weight: 900; }
.pause-bars { display: inline-block; transform: translateX(-1px); letter-spacing: -2px; font-size: 18px; line-height: 1; }
.player.collapsed-right { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; }
.player.collapsed-left { transform: translateX(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
.player-dock { position: fixed; bottom: calc(118px + var(--safe-bottom)); z-index: 26; width: 24px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); background: rgba(8,13,30,.58); color: var(--text); backdrop-filter: blur(22px); box-shadow: 0 12px 34px rgba(0,0,0,.26); font-size: 18px; line-height: 1; }
body.light .player-dock { background: rgba(255,255,255,.68); }
.player-dock.right { right: 0; border-radius: 14px 0 0 14px; border-right: 0; }
.player-dock.left { left: 0; border-radius: 0 14px 14px 0; border-left: 0; }
.progress { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 7px; margin-top: 8px; font-size: 11px; color: var(--muted); }
input[type=range] { accent-color: var(--cyan); padding: 0; }
.lyric-line { color: var(--good); text-align: center; min-height: 19px; margin-top: 6px; font-weight: 760; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet { position: fixed; inset: auto 0 0 0; z-index: 40; padding: 12px 14px calc(14px + var(--safe-bottom)); background: rgba(7,10,26,.94); backdrop-filter: blur(30px); border-radius: 28px 28px 0 0; border-top: 1px solid var(--line); max-height: 84vh; overflow: auto; transform: translateY(0); box-shadow: 0 -22px 80px rgba(0,0,0,.45); }
body.light .sheet { background: rgba(255,255,255,.96); }
.hidden { display: none !important; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.settings { display: grid; gap: 12px; }
.setting-card { padding: 12px; }
.seg { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.seg button.active { background: linear-gradient(135deg, rgba(139,108,255,.86), rgba(24,216,255,.58)); color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.now { text-align: center; padding-top: 10px; }
.disc { width: min(74vw, 310px); aspect-ratio: 1; border-radius: 50%; margin: 10px auto 18px; padding: 18px; background: radial-gradient(circle, #1b1e34 0 18%, #050711 19% 100%); border: 1px solid var(--line); box-shadow: 0 28px 90px rgba(0,0,0,.36); animation: spin 18s linear infinite; animation-play-state: paused; }
body.playing .disc { animation-play-state: running; }
.disc img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.lyrics { max-height: 38vh; overflow: auto; display: grid; gap: 10px; padding: 8px 0 22px; }
.lyrics p { color: var(--muted); font-size: 15px; line-height: 1.55; transition: .2s ease; }
.lyrics p.active { color: var(--good); font-size: 18px; font-weight: 800; }
.toast { position: fixed; left: 50%; bottom: calc(228px + var(--safe-bottom)); transform: translateX(-50%) translateY(12px); z-index: 60; max-width: calc(100vw - 36px); border-radius: 999px; background: rgba(0,0,0,.76); color: #fff; padding: 10px 14px; opacity: 0; pointer-events: none; transition: .22s ease; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
audio { display: none; }
@media (max-width: 480px) {
  .pc-hero { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: minmax(0,1fr) 94px; min-height: 158px; }
  .hero-main img { width: 94px; height: 94px; }
  .tabbar { gap: 4px; padding: 7px; }
  .tabbar button { gap: 4px; padding: 9px 10px; font-size: 12px; }
  .tabbar svg { width: 17px; height: 17px; }
  .controls { width: 76px; justify-content: flex-end; gap: 4px; }
  .controls .mini { width: 29px; height: 29px; }
  .play { width: 38px; height: 38px; }
  #openNowPlaying { max-width: calc(100vw - 162px); }
  .player-main { grid-template-columns: 44px minmax(0,1fr) 76px; gap: 8px; }
  .player .cover { width: 44px; height: 44px; }
}
@media (min-width: 740px) {
  .app { max-width: 740px; margin: 0 auto; }
  .player, .tabbar { max-width: 716px; left: 50%; transform: translateX(-50%); }
  .sheet { max-width: 740px; left: 50%; transform: translateX(-50%); border-radius: 28px 28px 0 0; }
  .grid, .playlist-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
