/* ==========================================================================
   XiBai音乐 · 液态玻璃设计系统
   双端：小米 HyperOS（手机） / Windows（桌面）
   ========================================================================== */

/* ---------- 1. 令牌 ---------- */
:root{
  --bg:#07080c; --bg-2:#0b0e16;
  --glass-1:rgba(255,255,255,.10);
  --glass-2:rgba(255,255,255,.055);
  --glass-3:rgba(12,14,20,.55);
  --stroke:rgba(255,255,255,.13);
  --stroke-2:rgba(255,255,255,.24);
  --text:#f3f5fa;
  --text-2:rgba(243,245,250,.64);
  --text-3:rgba(243,245,250,.38);
  --brand:#7c5cff; --brand-2:#38bdf8; --pink:#ff7aa2; --mint:#4ade80;
  --grad:linear-gradient(120deg,#7c5cff,#38bdf8 55%,#ff7aa2);
  --grad-soft:linear-gradient(120deg,rgba(124,92,255,.9),rgba(56,189,248,.9));
  --r-xs:10px; --r-sm:14px; --r-md:20px; --r-lg:28px; --r-xl:36px; --r-pill:999px;
  --blur:28px;
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px; --sp-6:32px; --sp-7:48px;
  --ease:cubic-bezier(.22,.8,.28,1);
  --spring:cubic-bezier(.34,1.56,.64,1);
  --shadow-1:0 8px 24px rgba(0,0,0,.35);
  --shadow-2:0 20px 56px rgba(0,0,0,.5);
  --safe-t:env(safe-area-inset-top,0px);
  --safe-b:env(safe-area-inset-bottom,0px);
  --safe-l:env(safe-area-inset-left,0px);
  --safe-r:env(safe-area-inset-right,0px);
}
[data-theme="light"]{
  --bg:#eef1f8; --bg-2:#e4e9f4;
  --glass-1:rgba(255,255,255,.55);
  --glass-2:rgba(255,255,255,.35);
  --glass-3:rgba(255,255,255,.72);
  --stroke:rgba(255,255,255,.7);
  --stroke-2:rgba(10,14,26,.10);
  --text:#141824; --text-2:rgba(20,24,36,.66); --text-3:rgba(20,24,36,.40);
  --shadow-1:0 8px 24px rgba(30,40,80,.12);
  --shadow-2:0 20px 56px rgba(30,40,80,.20);
}
[data-glass="0"] .glass,[data-glass="0"] .glass-strong{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--glass-3)}

*,*::before,*::after{box-sizing:border-box}
html,body{height:var(--vh,100%)}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:"MiSans","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei UI","Segoe UI",system-ui,-apple-system,sans-serif;
  font-size:14px; line-height:1.5; overflow:hidden;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  font-variant-numeric:tabular-nums;
}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,textarea{font:inherit;color:inherit}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,p{margin:0}
::selection{background:rgba(124,92,255,.4)}
.ico{display:block;fill:currentColor}
.scroll{overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}
.scroll::-webkit-scrollbar{width:8px;height:8px}
.scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.16);border-radius:99px;border:2px solid transparent;background-clip:padding-box}
.scroll::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3);background-clip:padding-box}

/* ---------- 2. 背景网格 ---------- */
.mesh{position:fixed;inset:0;z-index:0;overflow:hidden;background:
  radial-gradient(120% 90% at 12% -10%, #1a1440 0%, transparent 55%),
  radial-gradient(100% 80% at 95% 0%, #06364d 0%, transparent 50%),
  linear-gradient(180deg,var(--bg) 0%,var(--bg-2) 100%);}
[data-theme="light"] .mesh{background:
  radial-gradient(120% 90% at 10% -10%, #dcd4ff 0%, transparent 55%),
  radial-gradient(100% 80% at 92% 0%, #c8e8ff 0%, transparent 50%),
  radial-gradient(90% 70% at 60% 110%, #ffd9ea 0%, transparent 55%),
  linear-gradient(180deg,#f4f7ff 0%,#e9eefb 100%);}
img{-webkit-user-drag:none;user-drag:none}
/* 卡片内的图片不接收指针事件：避免 <img> 可拖拽导致 click 丢失（tap 变成拖拽） */
.tile-art img,.pl-cover img,.ar-cover img,.rk-cover img,.row-art img,.cover-ph{pointer-events:none}
.cover-ph{display:block;background:linear-gradient(140deg,rgba(124,92,255,.5),rgba(56,189,248,.32));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.46;will-change:transform}
.blob-a{width:46vw;height:46vw;min-width:320px;min-height:320px;left:-8vw;top:-6vw;background:radial-gradient(circle,#5b3cf0,transparent 68%);animation:drift-a 26s var(--ease) infinite alternate}
.blob-b{width:38vw;height:38vw;min-width:280px;min-height:280px;right:-6vw;top:calc(var(--vh,100vh) * .08);background:radial-gradient(circle,#0ea5e9,transparent 68%);animation:drift-b 32s var(--ease) infinite alternate}
.blob-c{width:34vw;height:34vw;min-width:240px;min-height:240px;left:32vw;bottom:calc(var(--vh,100vh) * -.12);background:radial-gradient(circle,#ff4d97,transparent 70%);opacity:.32;animation:drift-c 38s var(--ease) infinite alternate}
[data-theme="light"] .blob{opacity:.5}
@keyframes drift-a{to{transform:translate3d(8vw,calc(var(--vh,100vh) * .06),0) scale(1.18)}}
@keyframes drift-b{to{transform:translate3d(-7vw,calc(var(--vh,100vh) * .1),0) scale(1.1)}}
@keyframes drift-c{to{transform:translate3d(10vw,calc(var(--vh,100vh) * -.08),0) scale(1.22)}}
.grain{position:absolute;inset:0;pointer-events:none;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E")}

/* ---------- 3. 玻璃材质 ---------- */
.glass{
  position:relative;isolation:isolate;
  background:
    linear-gradient(148deg,rgba(255,255,255,.16),rgba(255,255,255,.05) 40%,rgba(255,255,255,.028));
  backdrop-filter:blur(var(--blur)) saturate(180%);
  -webkit-backdrop-filter:blur(var(--blur)) saturate(180%);
  border:1px solid var(--stroke);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30),inset 0 -1px 0 rgba(255,255,255,.05),var(--shadow-1);
}
[data-theme="light"] .glass{background:linear-gradient(148deg,rgba(255,255,255,.72),rgba(255,255,255,.42));box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(20,30,60,.06),var(--shadow-1)}
.glass::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(200deg,rgba(255,255,255,.22),transparent 38%);
  opacity:.6;mix-blend-mode:screen;
}
[data-theme="light"] .glass::after{opacity:.35}
.glass-strong{
  position:relative;isolation:isolate;
  background:linear-gradient(180deg,rgba(16,18,26,.78),rgba(10,12,18,.86));
  backdrop-filter:blur(36px) saturate(190%);
  -webkit-backdrop-filter:blur(36px) saturate(190%);
  border-top:1px solid var(--stroke);
  box-shadow:0 -10px 40px rgba(0,0,0,.45);
}
[data-theme="light"] .glass-strong{background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(246,249,255,.94));box-shadow:0 -10px 40px rgba(40,60,110,.10)}

/* ---------- 4. 布局骨架 ---------- */
.app{
  position:relative;z-index:1;height:var(--vh,100dvh);
  display:grid;
  grid-template-columns:236px minmax(0,1fr) 336px;
  grid-template-rows:auto minmax(0,1fr) auto;
  grid-template-areas:"rail top top" "rail content dock" "rail transport transport";
  gap:0;
}
.topbar{grid-area:top;display:flex;flex-direction:column;z-index:30}
.rail{grid-area:rail;display:flex;flex-direction:column;justify-content:space-between;
  border-radius:0;border-left:0;border-top:0;border-bottom:0;padding:18px 14px;z-index:25;overflow:hidden}
.content{grid-area:content;overflow-y:auto;overflow-x:hidden;min-width:0;padding:8px 26px 26px;scroll-behavior:smooth;outline:none}
.dock{grid-area:dock;margin:10px 14px 10px 0;border-radius:var(--r-lg);display:flex;flex-direction:column;overflow:hidden;transition:margin .32s var(--ease),opacity .3s var(--ease)}
.dock.collapsed{margin-right:-360px;opacity:0;pointer-events:none}
.transport{grid-area:transport;z-index:28}
.mobile-layer{display:none}

/* ---------- 5. 顶栏 ---------- */
.statusbar{display:none}
.native-shell .statusbar{display:none !important}
.topbar-main{display:flex;align-items:center;gap:var(--sp-4);padding:14px 26px 10px}
.brand{display:flex;align-items:center;gap:10px;min-width:210px;flex:none}
.brand-mark{width:30px;height:30px;border-radius:10px;background:var(--grad);box-shadow:0 6px 18px rgba(124,92,255,.5);position:relative;flex:none;overflow:hidden}
.brand-mark img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.brand-mark::after{content:"";position:absolute;inset:4px;border-radius:7px;background:rgba(255,255,255,.18);backdrop-filter:blur(4px);pointer-events:none}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-text b{font-size:15px;letter-spacing:.14em}
.brand-text i{font-style:normal;font-size:10px;letter-spacing:.26em;color:var(--text-3);text-transform:uppercase}
.search-pill{
  display:flex;align-items:center;gap:10px;height:40px;padding:0 14px;border-radius:var(--r-pill);
  color:var(--text-2);cursor:pointer;max-width:460px;flex:1 1 auto;min-width:0;
  transition:transform .2s var(--spring),border-color .2s var(--ease);
}
.search-pill:hover{border-color:var(--stroke-2)}
.search-pill:active{transform:scale(.985)}
.search-pill span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.kbd{font:inherit;font-size:11px;color:var(--text-3);border:1px solid var(--stroke);border-radius:6px;padding:1px 6px;background:rgba(255,255,255,.05)}
.topbar-actions{display:flex;gap:8px;margin-left:auto;flex:none}
.icon-btn{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;color:var(--text-2);
  transition:transform .18s var(--spring),color .2s,border-color .2s}
.icon-btn:hover{color:var(--text);border-color:var(--stroke-2)}
.icon-btn:active{transform:scale(.9)}
.icon-btn.ghost{background:none;border-color:transparent;box-shadow:none;backdrop-filter:none;width:28px;height:28px}

/* ---------- 6. 侧栏 ---------- */
.rail-nav{display:flex;flex-direction:column;gap:3px}
.rail-item{
  display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;color:var(--text-2);
  font-size:13.5px;font-weight:500;transition:background .22s var(--ease),color .2s,transform .18s var(--spring);position:relative;
}
.rail-item .ico{width:19px;height:19px;flex:none}
.rail-item:hover{background:rgba(255,255,255,.07);color:var(--text)}
[data-theme="light"] .rail-item:hover{background:rgba(20,30,60,.06)}
.rail-item:active{transform:scale(.97)}
.rail-item.active{color:#fff;background:linear-gradient(100deg,rgba(124,92,255,.85),rgba(56,189,248,.65));box-shadow:0 8px 22px rgba(124,92,255,.35)}
[data-theme="light"] .rail-item.active{color:#fff}
.rail-item .badge{margin-left:auto;font-size:10px;padding:2px 7px;border-radius:99px;background:rgba(255,255,255,.14)}
.rail-group{margin:14px 0 4px;padding:0 12px;font-size:10.5px;letter-spacing:.18em;color:var(--text-3);text-transform:uppercase}
.rail-foot{padding-top:12px}
.src-pill{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:14px;font-size:11.5px;color:var(--text-2)}
.src-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 10px var(--mint);flex:none}
.src-pill.warn .dot{background:#fbbf24;box-shadow:0 0 10px #fbbf24}
.src-pill.bad .dot{background:#f87171;box-shadow:0 0 10px #f87171}

/* ---------- 详情页头（歌单 / 专辑 / 歌手） ---------- */
.pl-head{align-items:flex-start}
.pl-hero{display:flex;gap:20px;align-items:flex-start;width:100%}
.pl-cover{width:150px;height:150px;border-radius:22px;object-fit:cover;box-shadow:var(--shadow-2);flex:none}
.pl-cover.round{width:140px;height:140px;border-radius:50%}
.pl-info{flex:1;min-width:0}
.pl-title{font-size:26px;margin:0;line-height:1.22;letter-spacing:-.01em}
.pl-sub{margin:6px 0 12px;color:var(--text-2);font-size:12.5px}
.pl-acts{display:flex;gap:9px;flex-wrap:wrap}
/* 按钮不许被压扁：宁可换行也不能让中文逐字竖排 */
.pl-acts .btn{flex:none;white-space:nowrap}

[data-platform="phone"] .pl-hero{gap:12px}
[data-platform="phone"] .pl-cover{width:92px;height:92px;border-radius:18px}
[data-platform="phone"] .pl-cover.round{width:88px;height:88px}
[data-platform="phone"] .pl-title{font-size:19px;line-height:1.25}
[data-platform="phone"] .pl-sub{font-size:11.5px;margin:5px 0 10px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-platform="phone"] .pl-acts{gap:7px}
[data-platform="phone"] .pl-acts .btn{height:34px;padding:0 11px;font-size:12px}
[data-platform="phone"] .pl-acts .btn .ico{width:13px;height:13px}

/* ---------- 应用更新结果 ---------- */
.upd-box{display:flex;flex-direction:column;gap:7px}
.upd-row{font-size:13px;color:var(--text);line-height:1.5}
.upd-row.dim{font-size:11.5px;color:var(--text-3)}

/* ---------- 详情页主按钮：渐变大圆播放键 + 玻璃圆钮 ---------- */
.pl-acts{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}

.pd-play{
  display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 20px 0 6px;
  border:0;border-radius:999px;cursor:pointer;color:#fff;font-size:14.5px;font-weight:700;
  letter-spacing:.01em;background:var(--grad);
  box-shadow:0 12px 28px rgba(124,92,255,.38),inset 0 1px 0 rgba(255,255,255,.30);
  transition:transform .2s var(--spring),box-shadow .2s var(--ease);
}
.pd-play:hover{transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(124,92,255,.48),inset 0 1px 0 rgba(255,255,255,.34)}
.pd-play:active{transform:scale(.97)}
.pd-play-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;
  background:rgba(255,255,255,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.42)}
.pd-play-ic .ico{width:18px;height:18px;fill:#fff;margin-left:1px}

.pd-like{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none;cursor:pointer;
  color:var(--text-2);background:rgba(255,255,255,.055);border:1px solid var(--stroke);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  transition:transform .2s var(--spring),color .2s,background .2s,border-color .2s;
}
.pd-like:hover{color:var(--text);background:rgba(255,255,255,.10);
  border-color:var(--stroke-2);transform:translateY(-2px)}
.pd-like:active{transform:scale(.92)}
.pd-like .ico{width:18px;height:18px;fill:currentColor}
.pd-like.on{color:#ff6b8a;background:rgba(255,107,138,.13);border-color:rgba(255,107,138,.32)}

[data-platform="phone"] .pl-acts{gap:10px}
[data-platform="phone"] .pd-play{height:42px;padding:0 17px 0 5px;font-size:13.5px}
[data-platform="phone"] .pd-play-ic{width:31px;height:31px}
[data-platform="phone"] .pd-play-ic .ico{width:16px;height:16px}
[data-platform="phone"] .pd-like{width:42px;height:42px}
[data-platform="phone"] .pd-like .ico{width:16px;height:16px}

/* ---------- 热搜榜 ---------- */
.hot-list{display:flex;flex-direction:column;gap:1px}
.hot-row{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:14px;cursor:pointer;transition:.18s var(--ease)}
.hot-row:hover{background:rgba(255,255,255,.06)}
.hot-i{width:21px;flex:none;text-align:center;font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--text-3)}
.hot-row:nth-child(1) .hot-i{color:#ff5f6d}
.hot-row:nth-child(2) .hot-i{color:#ffa24b}
.hot-row:nth-child(3) .hot-i{color:#ffd24a}
.hot-t{flex:1;min-width:0;font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hot-up{flex:none;font-size:10.5px;color:var(--text-3);font-variant-numeric:tabular-nums}
.hot-row .ico{flex:none;color:var(--text-3);opacity:.65}

/* ---------- 7. 内容区通用 ---------- */
.page{animation:page-in .34s var(--ease) both;padding-bottom:20px}
@keyframes page-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.page-head{display:flex;align-items:flex-end;gap:var(--sp-4);margin:6px 0 var(--sp-5)}
.page-head h1{font-size:30px;font-weight:700;letter-spacing:-.01em}
.page-head .sub{color:var(--text-2);font-size:12.5px;margin-bottom:3px}
.page-head .grow{flex:1}
.head-acts{display:flex;gap:10px;flex:none}
.section{margin-bottom:var(--sp-6)}
.section-head{display:flex;align-items:center;gap:10px;margin-bottom:var(--sp-3)}
.section-head h2{font-size:17px;font-weight:650;letter-spacing:.01em}
.section-head .more{margin-left:auto;font-size:12px;color:var(--text-3);display:flex;align-items:center;gap:4px;cursor:pointer}
.section-head .more:hover{color:var(--text)}
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:var(--sp-4)}
.tile{position:relative;border-radius:var(--r-md);overflow:hidden;cursor:pointer;transition:transform .24s var(--spring)}
.tile-art{aspect-ratio:1;border-radius:var(--r-md);background:var(--glass-2);box-shadow:var(--shadow-1);position:relative;overflow:hidden}
.tile-art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
.tile:hover .tile-art img{transform:scale(1.07)}
.tile-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(0,0,0,.55));opacity:.9}
.tile-play{position:absolute;right:10px;bottom:10px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:var(--grad);color:#fff;box-shadow:0 8px 20px rgba(124,92,255,.5);opacity:0;transform:translateY(8px) scale(.8);transition:.26s var(--spring)}
.tile:hover .tile-play{opacity:1;transform:none}
.tile-meta{padding:9px 2px 0}
.tile-meta .t{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile-meta .s{font-size:11.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.tile.round .tile-art{border-radius:50%}

.qgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:10px}
.qcard{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:16px;cursor:pointer;
  background:rgba(255,255,255,.055);border:1px solid var(--stroke);transition:transform .2s var(--spring),background .2s}
.qcard:hover{background:rgba(255,255,255,.1);border-color:var(--stroke-2)}
.qcard:active{transform:scale(.97)}
.qic{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.qt{display:flex;flex-direction:column;min-width:0}
.qt b{font-size:13px;font-weight:600;line-height:1.3}
.qt i{font-style:normal;font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-theme="light"] .qcard{background:rgba(255,255,255,.6)}

.chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 13px;border-radius:var(--r-pill);
  font-size:12px;color:var(--text-2);background:rgba(255,255,255,.07);border:1px solid var(--stroke);cursor:pointer;
  transition:.2s var(--ease);white-space:nowrap}
[data-theme="light"] .chip{background:rgba(255,255,255,.55)}
.chip:hover{color:var(--text);border-color:var(--stroke-2)}
.chip.active{background:var(--grad-soft);color:#fff;border-color:transparent;box-shadow:0 6px 18px rgba(124,92,255,.35)}
.chip-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
.chip-row::-webkit-scrollbar{display:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 20px;border-radius:var(--r-pill);
  font-size:13px;font-weight:600;background:rgba(255,255,255,.09);border:1px solid var(--stroke);color:var(--text);transition:.2s var(--ease)}
.btn:hover{border-color:var(--stroke-2);transform:translateY(-1px)}
.btn:active{transform:scale(.97)}
.btn.primary{background:var(--grad);border-color:transparent;color:#fff;box-shadow:0 10px 26px rgba(124,92,255,.4)}
.btn.sm{height:32px;padding:0 14px;font-size:12px}

/* ---------- 8. 歌曲行 ---------- */
.rows{display:flex;flex-direction:column;gap:1px}
.row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 10px;border-radius:14px;
  cursor:pointer;transition:background .18s var(--ease);position:relative}
.row:hover{background:rgba(255,255,255,.07)}
[data-theme="light"] .row:hover{background:rgba(255,255,255,.6)}
.row.playing{background:linear-gradient(90deg,rgba(124,92,255,.22),rgba(56,189,248,.08))}
.row-idx{font-size:12.5px;color:var(--text-3);text-align:center;font-variant-numeric:tabular-nums}
.row.playing .row-idx{color:var(--brand-2)}
.row-art{width:42px;height:42px;border-radius:11px;object-fit:cover;background:var(--glass-2);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.row-main{min-width:0}
.row-t{font-size:13.5px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row.playing .row-t{color:var(--brand-2)}
.row-s{font-size:11.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.row-end{display:flex;align-items:center;gap:10px;color:var(--text-3);font-size:11.5px}
.row-end .like{opacity:0;transition:.2s}
.row:hover .row-end .like{opacity:1}
.row-end .like.on{opacity:1;color:#ff6b8a}
.row-end .like.on .ico{fill:currentColor}
.bars{display:inline-flex;align-items:flex-end;gap:2px;height:13px}
.bars i{width:2.5px;background:var(--brand-2);border-radius:2px;animation:eq .9s ease-in-out infinite}
.bars i:nth-child(2){animation-delay:.16s}.bars i:nth-child(3){animation-delay:.32s}.bars i:nth-child(4){animation-delay:.48s}
@keyframes eq{0%,100%{height:4px}50%{height:13px}}
.tag{display:inline-block;padding:1px 6px;border-radius:6px;font-size:10px;letter-spacing:.04em;border:1px solid var(--stroke);color:var(--text-3)}

/* ---------- 9. 桌面底部播放条 ---------- */
.transport{display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,1.6fr) minmax(220px,1fr);
  align-items:center;gap:var(--sp-4);padding:12px 22px calc(12px + var(--safe-b));min-height:86px}
.tp-left{display:flex;align-items:center;gap:12px;min-width:0}
.tp-art{width:54px;height:54px;border-radius:13px;object-fit:cover;box-shadow:0 8px 22px rgba(0,0,0,.45);flex:none;cursor:pointer}
.tp-meta{min-width:0}
.tp-meta .t{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-meta .s{font-size:11.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-center{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;width:100%}
.tp-controls{display:flex;align-items:center;gap:6px}
.tp-btn{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--text-2);transition:.2s var(--ease)}
.tp-btn:hover{color:var(--text);background:rgba(255,255,255,.09)}
.tp-btn:active{transform:scale(.9)}
.tp-btn.play{width:44px;height:44px;background:var(--grad);color:#fff;box-shadow:0 8px 22px rgba(124,92,255,.45)}
.tp-btn.play:active{transform:scale(.93)}
.tp-btn.on{color:var(--brand-2)}
.tp-progress{display:flex;align-items:center;gap:10px;width:100%;max-width:560px;font-size:11px;color:var(--text-3)}
.tp-right{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.q-badge{font-size:10.5px;padding:4px 9px;border-radius:var(--r-pill);border:1px solid var(--stroke);color:var(--text-2);display:flex;align-items:center;gap:5px}
.q-badge b{color:var(--brand-2);font-weight:600}

/* 进度条 */
.bar{position:relative;height:4px;border-radius:99px;background:rgba(255,255,255,.14);cursor:pointer;flex:1}
[data-theme="light"] .bar{background:rgba(20,30,60,.14)}
.bar .fill{position:absolute;inset:0 auto 0 0;border-radius:99px;background:var(--grad);width:0}
.bar .knob{position:absolute;top:50%;width:12px;height:12px;border-radius:50%;background:#fff;transform:translate(-50%,-50%) scale(0);
  box-shadow:0 2px 8px rgba(0,0,0,.5);transition:transform .18s var(--spring)}
.bar:hover .knob{transform:translate(-50%,-50%) scale(1)}
.vol{width:78px}

/* ---------- 10. 右侧坞 ---------- */
.dock-head{display:flex;align-items:center;padding:14px 16px 10px;border-bottom:1px solid rgba(255,255,255,.07)}
.dock-title{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3)}
.dock-head .icon-btn{margin-left:auto}
.dock-body{flex:1;overflow-y:auto;padding:14px 14px 18px}
.now-card{border-radius:var(--r-md);padding:16px;background:linear-gradient(150deg,rgba(255,255,255,.13),rgba(255,255,255,.04));
  border:1px solid var(--stroke);box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.now-art{width:100%;aspect-ratio:1;border-radius:var(--r-md);object-fit:cover;box-shadow:0 18px 40px rgba(0,0,0,.5)}
.now-title{font-size:17px;font-weight:680;margin-top:13px;line-height:1.3}
.now-artist{font-size:12.5px;color:var(--text-2);margin-top:3px}
.now-line{display:flex;justify-content:space-between;font-size:11px;color:var(--text-3);margin-top:10px}
.queue-list{margin-top:14px;display:flex;flex-direction:column;gap:2px}
.queue-item{display:flex;align-items:center;gap:10px;padding:7px 9px;border-radius:11px;cursor:pointer;font-size:12.5px}
.queue-item:hover{background:rgba(255,255,255,.07)}
.queue-item.active{background:linear-gradient(90deg,rgba(124,92,255,.25),transparent);color:var(--brand-2)}
.queue-item .qi-idx{width:18px;color:var(--text-3);font-size:11px}
.queue-item .qi-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- 11. 手机端（由 data-platform 驱动，与视口宽度解耦） ---------- */
[data-platform="phone"] .app{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"top" "content"}
[data-platform="phone"] .rail,
[data-platform="phone"] .dock,
[data-platform="phone"] .transport{display:none}
[data-platform="phone"] .content{padding:6px 16px 190px}
[data-platform="phone"] .mobile-layer{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:0 12px calc(8px + var(--safe-b))}
[data-platform="phone"] .statusbar{display:flex;align-items:center;justify-content:space-between;padding:calc(var(--safe-t) + 8px) 20px 2px;font-size:12.5px;font-weight:600}
[data-platform="phone"] .sb-right{display:flex;align-items:center;gap:5px}
[data-platform="phone"] .topbar-main{padding:6px 16px 10px;gap:10px}
/* 原生壳沉浸式：顶栏要避开真实状态栏（--safe-t 由原生注入） */
[data-platform="phone"] .native-shell .topbar-main{padding-top:calc(var(--safe-t) + 8px)}
[data-platform="phone"] .brand{min-width:auto}
[data-platform="phone"] .brand-text{display:none}
[data-platform="phone"] .search-pill{height:38px;max-width:none}
[data-platform="phone"] .kbd{display:none}
[data-platform="phone"] .topbar-actions{gap:6px}
[data-platform="phone"] .topbar-actions .icon-btn{width:38px;height:38px;border-radius:13px}
[data-platform="phone"] .page-head h1{font-size:24px}
[data-platform="phone"] .card-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px}
[data-platform="phone"] .tabbar{margin-top:10px;border-radius:26px;display:flex;justify-content:space-around;align-items:center;padding:9px 8px 7px;
  box-shadow:0 -2px 30px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.16);
  position:relative;overflow:hidden;isolation:isolate}
/* 液态玻璃：底栏里缓慢流动的一道光带（不用 filter，移动端更省电） */
[data-platform="phone"] .tabbar::before{content:'';position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.55;
  background:linear-gradient(115deg,transparent 18%,rgba(255,255,255,.08) 40%,rgba(124,92,255,.20) 50%,rgba(56,189,248,.14) 60%,transparent 82%);
  background-size:280% 100%;animation:tabSheen 7.5s linear infinite}
@keyframes tabSheen{0%{background-position:150% 0}100%{background-position:-70% 0}}
[data-platform="phone"] .tab-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:7px 14px;border-radius:16px;
  color:var(--text-3);font-size:10px;transition:color .3s var(--ease),transform .34s var(--spring);background:none;border:0;position:relative;z-index:1}
[data-platform="phone"] .tab-item .ico{width:22px;height:22px;transition:transform .38s var(--spring)}
[data-platform="phone"] .tab-item.active{color:var(--text);background:rgba(255,255,255,.05);box-shadow:none}
[data-platform="phone"] .tab-item.active .ico{filter:drop-shadow(0 0 10px rgba(124,92,255,.85));transform:scale(1.12)}
/* 液态指示珠：从旧项滑到新项，滑动时横向拉长再回弹 */
[data-platform="phone"] .tab-liquid{position:absolute;top:6px;left:0;height:calc(100% - 12px);width:var(--lw,0px);
  transform:translateX(var(--lx,0px));border-radius:16px;pointer-events:none;opacity:0;z-index:0;
  background:linear-gradient(120deg,rgba(124,92,255,.40),rgba(56,189,248,.30));
  box-shadow:0 8px 22px rgba(124,92,255,.28),inset 0 1px 0 rgba(255,255,255,.42);
  transition:transform .5s cubic-bezier(.34,1.36,.5,1),width .42s cubic-bezier(.34,1.36,.5,1),opacity .28s ease}
[data-platform="phone"] .tab-liquid.on{opacity:1}
[data-platform="phone"] .tab-liquid > i{position:absolute;inset:0;border-radius:inherit;display:block;opacity:.25;
  background:radial-gradient(130% 150% at 28% -10%,rgba(255,255,255,.55),rgba(255,255,255,0) 62%)}
[data-platform="phone"] .tab-liquid.squish > i{animation:liquidSquish .52s cubic-bezier(.34,1.36,.5,1)}
@keyframes liquidSquish{
  0%{transform:scale(1,1);opacity:.25}
  28%{transform:scale(1.24,.76);opacity:.9}
  60%{transform:scale(.93,1.09);opacity:.6}
  100%{transform:scale(1,1);opacity:.25}
}
[data-platform="phone"] .mini-player{padding:8px 12px;border-radius:22px;box-shadow:0 14px 34px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.3)}
[data-platform="phone"] .mini-art{width:42px;height:42px;border-radius:13px}
[data-platform="phone"] .mini-btn{width:36px;height:36px}
[data-platform="phone"] .mini-bar{left:12px;right:12px;bottom:4px;height:2.5px}
[data-platform="phone"] .mini-player{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:var(--r-lg);box-shadow:var(--shadow-2);overflow:hidden}
[data-platform="phone"] .mini-art{width:40px;height:40px;border-radius:11px;object-fit:cover;flex:none;box-shadow:0 4px 14px rgba(0,0,0,.45)}
[data-platform="phone"] .mini-meta{flex:1;min-width:0}
/* 迷你条上的「播放列表」入口：右上角小角标显示队列长度 */
[data-platform="phone"] .mini-queue{position:relative;flex:none}
[data-platform="phone"] .mini-queue .ico{width:18px;height:18px}
[data-platform="phone"] .mini-badge{position:absolute;top:1px;right:0;min-width:14px;height:14px;padding:0 3px;
  border-radius:7px;background:linear-gradient(120deg,#7c5cff,#38bdf8);color:#fff;
  font-size:9px;font-style:normal;line-height:14px;text-align:center;font-weight:700;
  box-shadow:0 2px 6px rgba(0,0,0,.4)}
[data-platform="phone"] .mini-meta .t{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-platform="phone"] .mini-meta .s{font-size:10.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-platform="phone"] .mini-btn{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:var(--text)}
[data-platform="phone"] .mini-bar{position:absolute;left:10px;right:10px;bottom:3px;height:2px;border-radius:99px;background:rgba(255,255,255,.18)}
[data-platform="phone"] .mini-bar i{display:block;height:100%;border-radius:99px;background:var(--grad)}
[data-platform="phone"] .mini-player{position:relative}
[data-platform="phone"] .now-playing .np-cover{border-radius:var(--r-lg)}
@media (max-width:900px){
  [data-platform="phone"] .np-body{grid-template-columns:minmax(0,1fr);padding:0 20px;gap:12px;overflow-y:auto}
  [data-platform="phone"] .np-stage{width:min(72vw,300px)}
  [data-platform="phone"] .np-info .t{font-size:19px}
  [data-platform="phone"] .np-lyrics{max-height:none}
  [data-platform="phone"] .np-controls{gap:8px}
  [data-platform="phone"] .np-btn{width:38px;height:38px}
  [data-platform="phone"] .np-btn.play{width:54px;height:54px}
  [data-platform="phone"] .np-progress{padding:0 20px calc(12px + var(--safe-b))}
}

/* ---------- 12. 全屏播放页 ---------- */
.now-playing{position:fixed;inset:0;z-index:60;display:none;flex-direction:column;
  background:linear-gradient(180deg,rgba(10,12,18,.96),rgba(6,7,11,.99));backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px)}
[data-theme="light"] .now-playing{background:linear-gradient(180deg,rgba(246,249,255,.97),rgba(232,238,250,.99))}
.now-playing.open{display:flex;animation:np-in .38s var(--ease) both}
@keyframes np-in{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}
.np-bg{position:absolute;inset:0;z-index:0;opacity:.55}
.np-bg img{width:100%;height:100%;object-fit:cover;filter:blur(70px) saturate(160%)}
.np-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.8))}
.np-wrap{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;min-height:0}
.np-head{display:flex;align-items:center;gap:12px;padding:calc(var(--safe-t) + 14px) 20px 8px}
.np-head .np-title{text-align:center;flex:1;min-width:0}
.np-head .np-title .t{font-size:13.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-head .np-title .s{font-size:11px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:32px;padding:0 34px;align-items:center}
.np-left{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:0}
.np-stage{position:relative;width:min(340px,calc(var(--vh,100vh) * .42));aspect-ratio:1;display:grid;place-items:center}
.np-cover{width:100%;height:100%;object-fit:cover;border-radius:var(--r-xl);box-shadow:0 30px 70px rgba(0,0,0,.6);animation:spin-disc 26s linear infinite;animation-play-state:paused}
.now-playing.playing .np-cover{animation-play-state:running}
@keyframes spin-disc{to{transform:rotate(360deg)}}
.np-disc{position:absolute;inset:-16px;border-radius:50%;border:1px dashed rgba(255,255,255,.12);animation:spin-disc 40s linear infinite}
.np-canvas{position:absolute;inset:-40px;pointer-events:none;opacity:.9}
.np-info{text-align:center}
.np-info .t{font-size:24px;font-weight:700;letter-spacing:-.01em}
.np-info .s{font-size:13px;color:var(--text-2);margin-top:4px}
.np-lyrics{overflow-y:auto;max-height:min(calc(var(--vh,100vh) * .46),420px);padding:20px 6px;mask-image:linear-gradient(180deg,transparent,#000 14%,#000 86%,transparent);
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 14%,#000 86%,transparent)}
.lyr-line{font-size:15px;line-height:1.85;color:var(--text-3);cursor:pointer;transition:.28s var(--ease);padding:2px 0;white-space:pre-line}
.lyr-line:hover{color:var(--text-2)}
.lyr-line.on{color:var(--text);font-weight:650;transform:scale(1.03);text-shadow:0 0 24px rgba(124,92,255,.45)}
.lyr-trans{display:block;font-size:12.5px;color:var(--text-3);opacity:.85;margin-top:2px;white-space:pre-line}
.lyr-line.on .lyr-trans{color:var(--text-2)}
.lyr-empty{text-align:center;color:var(--text-3);font-size:13px;padding:40px 0}
.np-controls{display:flex;align-items:center;justify-content:center;gap:14px;padding:6px 0 12px}
.np-btn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--text-2);transition:.2s var(--spring)}
.np-btn:hover{color:var(--text);background:rgba(255,255,255,.09)}
.np-btn:active{transform:scale(.88)}
.np-btn.play{width:62px;height:62px;background:var(--grad);color:#fff;box-shadow:0 14px 34px rgba(124,92,255,.5)}
.np-progress{display:flex;align-items:center;gap:12px;padding:0 34px calc(16px + var(--safe-b));font-size:11.5px;color:var(--text-3)}
.np-progress .bar{height:5px}
.np-tools{display:flex;align-items:center;justify-content:center;gap:8px;padding-bottom:16px;flex-wrap:wrap}
@media (max-width:900px){
  [data-platform="phone"] .np-body{display:flex;flex-direction:column;gap:18px;overflow-y:auto;align-items:stretch;padding:0 20px 10px}
  [data-platform="phone"] .np-left{gap:14px;flex:none}
  [data-platform="phone"] .np-stage{width:min(62vw,260px);margin:0 auto}
  [data-platform="phone"] .np-info .t{font-size:19px}
  [data-platform="phone"] .np-lyrics{max-height:none;padding:4px 4px 0;flex:none;mask-image:none;-webkit-mask-image:none}
  [data-platform="phone"] .np-controls{gap:8px}
  [data-platform="phone"] .np-btn{width:38px;height:38px}
  [data-platform="phone"] .np-btn.play{width:54px;height:54px}
  [data-platform="phone"] .np-progress{padding:0 20px calc(12px + var(--safe-b))}
  [data-platform="phone"] .np-tools{padding-bottom:14px}
}

/* ---------- 13. 弹层 / 抽屉 / 吐司 ---------- */
.sheet-layer{position:fixed;inset:0;z-index:80;display:none}
.sheet-layer.open{display:block}
.sheet-mask{position:absolute;inset:0;background:rgba(4,6,12,.55);backdrop-filter:blur(6px);animation:fade .26s var(--ease)}
@keyframes fade{from{opacity:0}to{opacity:1}}
.sheet{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(560px,96vw);max-height:calc(var(--vh,100vh) * .82);overflow:auto;
  border-radius:var(--r-xl) var(--r-xl) 0 0;padding:18px 20px calc(24px + var(--safe-b));
  background:linear-gradient(180deg,rgba(22,25,34,.94),rgba(12,14,20,.97));backdrop-filter:blur(40px) saturate(180%);
  border:1px solid var(--stroke);border-bottom:0;box-shadow:var(--shadow-2);animation:sheet-up .34s var(--ease) both}
[data-theme="light"] .sheet{background:linear-gradient(180deg,rgba(252,253,255,.96),rgba(240,244,253,.99))}
@keyframes sheet-up{from{transform:translate(-50%,100%)}to{transform:translate(-50%,0)}}
.sheet-grip{width:38px;height:4px;border-radius:99px;background:rgba(255,255,255,.22);margin:0 auto 14px}
.sheet h3{margin-bottom:12px;font-size:15px}
.sheet-row{display:flex;align-items:center;gap:12px;padding:11px 10px;border-radius:13px;cursor:pointer;transition:.18s}
.sheet-row:hover{background:rgba(255,255,255,.08)}
.sheet-row .ic{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.08);color:var(--text-2)}
.sheet-row .tx{flex:1}
.sheet-row .tx b{display:block;font-size:13px;font-weight:600}
.sheet-row .tx span{font-size:11.5px;color:var(--text-3)}
.toast-host{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:99;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none}
.toast{padding:10px 18px;border-radius:var(--r-pill);font-size:12.5px;color:#fff;
  background:linear-gradient(120deg,rgba(124,92,255,.95),rgba(56,189,248,.9));box-shadow:var(--shadow-2);animation:toast-in .3s var(--spring) both}
.toast.err{background:linear-gradient(120deg,rgba(220,50,80,.96),rgba(150,30,60,.94));border-radius:14px;max-width:82vw;line-height:1.5}
@keyframes toast-in{from{opacity:0;transform:translateY(14px) scale(.9)}to{opacity:1;transform:none}}

/* ---------- 14. HyperOS 系统层模拟 ---------- */
.sys-layer{position:fixed;inset:0;z-index:90;display:none}
.sys-layer.open{display:block}
.sys-stage{position:absolute;inset:0;background:rgba(4,6,12,.5);backdrop-filter:blur(18px);animation:fade .3s var(--ease);overflow:auto}
.sys-hint{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:5;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;
  padding:10px 14px;border-radius:var(--r-pill);background:rgba(10,12,18,.7);border:1px solid var(--stroke);backdrop-filter:blur(20px)}
.sys-hint button{font-size:12px;padding:6px 13px;border-radius:99px;color:var(--text-2);background:rgba(255,255,255,.07);border:1px solid var(--stroke)}
.sys-hint button.on{background:var(--grad);color:#fff;border-color:transparent}

/* 灵动岛 */
.island{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:4;
  background:#05060a;border-radius:var(--r-pill);padding:0;box-shadow:0 8px 26px rgba(0,0,0,.6);overflow:hidden;
  display:flex;align-items:center;gap:10px;transition:all .45s var(--spring)}
.island .is-closed{width:112px;height:32px;justify-content:center}
.island .is-open{width:340px;height:58px;padding:0 16px}
.island .is-art{width:40px;height:40px;border-radius:11px;object-fit:cover;display:none}
.island.open .is-art{display:block}
.island .is-txt{display:none;min-width:0}
.island.open .is-txt{display:block}
.island .is-txt b{display:block;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.island .is-txt span{font-size:10.5px;color:rgba(255,255,255,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.island .is-wave{display:flex;align-items:flex-end;gap:2.5px;height:16px}
.island .is-wave i{width:2.5px;background:linear-gradient(#38bdf8,#7c5cff);border-radius:2px;animation:eq .85s ease-in-out infinite}
.island .is-wave i:nth-child(2){animation-delay:.12s}.island .is-wave i:nth-child(3){animation-delay:.24s}
.island .is-wave i:nth-child(4){animation-delay:.36s}.island .is-wave i:nth-child(5){animation-delay:.48s}

/* 通知栏（HyperOS 媒体控制 + 歌词） */
.shade{position:absolute;inset:0;z-index:3;background:rgba(6,8,14,.35);backdrop-filter:blur(24px) saturate(140%);display:none;flex-direction:column}
.shade.show{display:flex}
.shade-head{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;color:#fff;font-size:13px}
.shade-body{flex:1;padding:0 20px 20px;overflow:auto}
.hos-card{border-radius:22px;padding:14px 16px;color:#fff;background:linear-gradient(140deg,rgba(30,34,46,.86),rgba(16,18,26,.9));
  border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 44px rgba(0,0,0,.5);display:flex;gap:14px;align-items:center}
.hos-art{width:56px;height:56px;border-radius:15px;object-fit:cover;flex:none}
.hos-info{flex:1;min-width:0}
.hos-info b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hos-info .lyr{font-size:11.5px;color:rgba(255,255,255,.62);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:16px}
.hos-ctl{display:flex;align-items:center;gap:6px}
.hos-ctl button{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:rgba(255,255,255,.85);background:rgba(255,255,255,.08)}
.hos-ctl button.pri{background:rgba(255,255,255,.92);color:#12141b}
.hos-bar{height:3px;border-radius:99px;background:rgba(255,255,255,.18);margin-top:12px;overflow:hidden}
.hos-bar i{display:block;height:100%;background:linear-gradient(90deg,#38bdf8,#7c5cff);border-radius:99px}
.hos-small{width:22px;height:22px;border-radius:6px;background:linear-gradient(135deg,#7c5cff,#38bdf8);margin-top:10px;display:inline-block;vertical-align:middle;margin-right:6px}

/* 锁屏 */
.lockscreen{position:absolute;inset:0;z-index:2;display:none;flex-direction:column;justify-content:space-between;
  padding:calc(var(--safe-t) + 54px) 30px calc(var(--safe-b) + 112px);color:#fff;
  background:linear-gradient(180deg,rgba(6,8,14,.55),rgba(6,8,14,.86));backdrop-filter:blur(26px)}
.lockscreen.show{display:flex}
.ls-clock{text-align:center;font-size:74px;font-weight:200;letter-spacing:-.03em;line-height:1}
.ls-clock small{display:block;font-size:13px;font-weight:500;opacity:.7;margin-top:6px;letter-spacing:.12em}
.ls-song{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:24px;background:rgba(255,255,255,.12);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.14)}
.ls-art{width:48px;height:48px;border-radius:13px;object-fit:cover}
.ls-info{flex:1;min-width:0}
.ls-info b{display:block;font-size:13px}
.ls-info span{font-size:11px;opacity:.7}
.ls-ctl{display:flex;justify-content:center;gap:18px;margin-top:20px}
.ls-ctl button{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.13)}
.ls-ctl button.pri{width:58px;height:58px;background:rgba(255,255,255,.94);color:#12141b}

/* 桌面小组件 */
.home{position:absolute;inset:0;z-index:1;display:none;padding:34px;align-content:start;grid-template-columns:repeat(4,1fr);gap:18px}
.home.show{display:grid}
[data-platform="phone"] .home{grid-template-columns:repeat(2,1fr);padding:24px 18px;gap:12px}
[data-platform="phone"] .widget{padding:13px;border-radius:22px}
[data-platform="phone"] .widget h4{font-size:10.5px;margin-bottom:8px}
[data-platform="phone"] .w-title{font-size:14px}
.widget{grid-column:span 2;border-radius:26px;padding:16px;color:#fff;position:relative;overflow:hidden;
  background:linear-gradient(145deg,rgba(36,40,54,.82),rgba(14,16,24,.9));border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 50px rgba(0,0,0,.5);backdrop-filter:blur(26px)}
.widget.small{grid-column:span 1}
.widget h4{margin:0 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.65}
.w-art{width:64px;height:64px;border-radius:18px;object-fit:cover;box-shadow:0 10px 26px rgba(0,0,0,.55)}
.w-title{margin-top:12px;font-size:16px;font-weight:700}
.w-sub{font-size:12px;opacity:.7;margin-top:3px}
.w-lyr{margin-top:10px;font-size:12.5px;opacity:.85;min-height:18px}
.w-bar{height:3px;border-radius:99px;background:rgba(255,255,255,.2);margin-top:14px;overflow:hidden}
.w-bar i{display:block;height:100%;background:linear-gradient(90deg,#38bdf8,#7c5cff)}
.w-ctl{display:flex;gap:10px;margin-top:12px}
.w-ctl button{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);color:#fff}

/* ---------- 15. 杂项 ---------- */
.empty{text-align:center;padding:60px 20px;color:var(--text-3)}
.empty .em{font-size:40px;margin-bottom:12px;opacity:.5}
.spin{width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.2);border-top-color:var(--brand-2);animation:spin .8s linear infinite;margin:0 auto}
@keyframes spin{to{transform:rotate(360deg)}}
.skel{background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.13),rgba(255,255,255,.06));
  background-size:200% 100%;animation:shim 1.2s linear infinite;border-radius:12px}
@keyframes shim{to{background-position:-200% 0}}
.kv{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-radius:13px}
.kv:hover{background:rgba(255,255,255,.06)}
.kv b{font-weight:550;font-size:13px}
.kv span{font-size:11.5px;color:var(--text-3)}
.key-row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid var(--stroke);margin-bottom:9px}
.key-row .k-name{font-weight:650;font-size:13px}
.key-row .k-sub{font-size:11px;color:var(--text-3);margin-top:2px}
.key-row .k-right{margin-left:auto;text-align:right}
.quota{height:6px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:7px;width:130px}
.quota i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#38bdf8,#7c5cff)}
.quota.warn i{background:linear-gradient(90deg,#fbbf24,#f97316)}
.quota.bad i{background:linear-gradient(90deg,#f87171,#ef4444)}
.pill-ok{font-size:10.5px;padding:2px 8px;border-radius:99px;background:rgba(74,222,128,.16);color:#4ade80}
.pill-warn{font-size:10.5px;padding:2px 8px;border-radius:99px;background:rgba(251,191,36,.16);color:#fbbf24}
.pill-bad{font-size:10.5px;padding:2px 8px;border-radius:99px;background:rgba(248,113,113,.16);color:#f87171}
.diag-list{display:flex;flex-direction:column;gap:6px;font-size:11.5px;font-family:ui-monospace,Menlo,Consolas,monospace}
.diag-item{display:flex;gap:9px;padding:7px 10px;border-radius:9px;background:rgba(255,255,255,.04);color:var(--text-2)}
.diag-item .dt{color:var(--text-3);flex:none}
.diag-item.ok{color:#4ade80}.diag-item.warn{color:#fbbf24}.diag-item.err{color:#f87171}
.hint-note{font-size:11.5px;color:var(--text-3);line-height:1.7;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px dashed var(--stroke)}
.sec-err{display:flex;align-items:center;gap:8px;justify-content:center;padding:14px;border-radius:14px;
  font-size:12.5px;color:#fca5a5;background:rgba(239,68,68,.10);border:1px solid rgba(239,68,68,.22);cursor:pointer}
.sec-err:hover{background:rgba(239,68,68,.16)}

/* ---------- 16. 音质矩阵 ---------- */
.qlist{display:flex;flex-direction:column;gap:8px}
.qitem{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;cursor:pointer;
  background:rgba(255,255,255,.05);border:1px solid var(--stroke);transition:.22s var(--ease)}
.qitem:hover{border-color:var(--stroke-2);background:rgba(255,255,255,.09)}
.qitem.active{background:linear-gradient(100deg,rgba(124,92,255,.32),rgba(56,189,248,.14));border-color:rgba(124,92,255,.5);
  box-shadow:0 8px 22px rgba(124,92,255,.22)}
.qitem.off{opacity:.5;cursor:not-allowed;background:rgba(255,255,255,.02)}
.qi-ic{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;flex:none;color:var(--text-2);
  background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.qitem.active .qi-ic{color:#fff;background:linear-gradient(135deg,#7c5cff,#38bdf8)}
.qitem.off .qi-ic{color:var(--text-3)}
.qi-main{flex:1;min-width:0;display:flex;flex-direction:column}
.qi-main b{font-size:13.5px;font-weight:620}
.qi-main span{font-size:11px;color:var(--text-3);margin-top:1px}
.qi-right{flex:none;display:flex;align-items:center}
.qi-tick{font-size:11px;color:var(--text-3)}
.qitem .pill-bad{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip.off{opacity:.42;text-decoration:line-through}
.pmbox{display:flex;flex-direction:column;gap:6px}
.pmrow{display:flex;align-items:center;gap:12px;padding:9px 13px;border-radius:13px;background:rgba(255,255,255,.04);border:1px solid var(--stroke)}
.pmrow.off{opacity:.45}
.pm-name{font-size:12.5px;font-weight:600;min-width:64px}
.pm-q{font-size:11.5px;color:var(--text-3);flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- 17. 手机端视觉重做 ---------- */
.hscroll{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:6px;
  scrollbar-width:none;margin:0 -16px;padding-left:16px;padding-right:16px}
.hscroll::-webkit-scrollbar{display:none}
.hscroll .tile{flex:0 0 140px;scroll-snap-align:start}

/* ---------- 18. 账号 / 每日推荐 ---------- */
.acc-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:18px;
  background:linear-gradient(120deg,rgba(124,92,255,.18),rgba(56,189,248,.08));
  border:1px solid var(--stroke);box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.acc-av{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 6px 18px rgba(0,0,0,.4)}
.acc-info{min-width:0}
.acc-name{font-size:15px;font-weight:680;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-sub{font-size:11.5px;color:var(--text-3);margin-top:3px}

.daily-card{border-radius:22px;padding:16px;background:linear-gradient(140deg,rgba(124,92,255,.22),rgba(56,189,248,.10) 70%);
  border:1px solid var(--stroke);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),var(--shadow-1)}
.daily-head{display:flex;align-items:center;gap:12px}
.daily-av{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 6px 16px rgba(0,0,0,.4)}
.daily-hi{flex:1;min-width:0}
.daily-hi b{display:block;font-size:15px;font-weight:700}
.daily-hi span{font-size:11.5px;color:var(--text-2)}
.daily-list{margin-top:14px;display:flex;flex-direction:column;gap:2px}
.daily-item{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:11px;cursor:pointer;transition:background .18s}
.daily-item:hover{background:rgba(255,255,255,.08)}
.di-idx{width:18px;font-size:11px;color:var(--text-3);text-align:center}
.di-t{flex:1;min-width:0;font-size:12.5px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.di-a{font-size:11px;color:var(--text-3);max-width:38%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.daily-more{margin-top:6px;font-size:11.5px;color:var(--text-2);cursor:pointer;padding:6px 8px;border-radius:10px}
.daily-more:hover{background:rgba(255,255,255,.08)}
.ar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:18px 14px}
.ar-sub{font-size:10.5px;color:var(--text-3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-platform="phone"] .ar-grid{grid-template-columns:repeat(3,1fr);gap:16px 12px}
[data-platform="phone"] .acc-card{padding:12px 14px}
[data-platform="phone"] .daily-card{padding:14px}
[data-platform="phone"] .daily-av{width:40px;height:40px}
[data-platform="phone"] .di-a{max-width:34%}
.hscroll::-webkit-scrollbar{display:none}
.hscroll .tile{flex:0 0 140px;scroll-snap-align:start}

/* 排行榜：整行榜单卡（桌面两列 / 手机单列） */
.rank-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.rank-card{display:flex;align-items:center;gap:13px;padding:9px 12px 9px 9px;border-radius:18px;cursor:pointer;
  background:rgba(255,255,255,.05);border:1px solid var(--stroke);transition:.22s var(--ease)}
.rank-card:hover{background:rgba(255,255,255,.09);border-color:var(--stroke-2);transform:translateY(-1px)}
.rk-cover{width:58px;height:58px;border-radius:13px;object-fit:cover;flex:none;box-shadow:0 6px 18px rgba(0,0,0,.4)}
.rk-info{flex:1;min-width:0}
.rk-name{font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk-sub{font-size:11px;color:var(--text-3);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rk-play{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:none;color:#fff;
  background:var(--grad);box-shadow:0 6px 16px rgba(124,92,255,.4);opacity:.9}

/* 歌单：方形封面（桌面网格 / 手机横滑） */
.pl-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}
.pl-card{cursor:pointer;min-width:0}
.pl-cover{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:var(--glass-2);box-shadow:var(--shadow-1)}
.pl-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
.pl-card:hover .pl-cover img{transform:scale(1.06)}
.pl-play{position:absolute;right:7px;bottom:7px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  color:#fff;background:var(--grad);box-shadow:0 6px 16px rgba(124,92,255,.5);opacity:0;transform:translateY(6px) scale(.85);transition:.24s var(--spring)}
.pl-card:hover .pl-play{opacity:1;transform:none}
.pl-count{position:absolute;left:8px;bottom:8px;font-size:10px;color:rgba(255,255,255,.9);
  padding:2px 7px;border-radius:99px;background:rgba(0,0,0,.45);backdrop-filter:blur(6px)}
.pl-name{margin-top:8px;font-size:12.5px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* 歌手：圆形头像 */
.ar-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:16px}
.ar-card{cursor:pointer;text-align:center;min-width:0}
.ar-cover{width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover;background:var(--glass-2);box-shadow:0 8px 22px rgba(0,0,0,.42)}
.ar-name{margin-top:8px;font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


[data-platform="phone"]{--blur:40px}
[data-platform="phone"] .blob{opacity:.30}
[data-platform="phone"] .mesh{background:
  radial-gradient(120% 85% at 14% -12%, #1c1647 0%, transparent 56%),
  radial-gradient(100% 75% at 96% -4%, #063a52 0%, transparent 52%),
  linear-gradient(180deg,#06070b 0%,#0a0c12 100%)}
[data-platform="phone"] .glass{background:linear-gradient(148deg,rgba(255,255,255,.12),rgba(255,255,255,.035) 46%,rgba(255,255,255,.015));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30),inset 0 -1px 0 rgba(255,255,255,.05),0 10px 30px rgba(0,0,0,.34)}
[data-platform="phone"] .glass-strong{background:linear-gradient(180deg,rgba(14,16,23,.90),rgba(7,9,14,.96));
  backdrop-filter:blur(46px) saturate(190%);-webkit-backdrop-filter:blur(46px) saturate(190%)}
[data-platform="phone"] .tabbar{backdrop-filter:blur(34px) saturate(170%);-webkit-backdrop-filter:blur(34px) saturate(170%);
  background:linear-gradient(180deg,rgba(13,15,22,.93),rgba(6,8,12,.97));
  box-shadow:0 -1px 0 rgba(255,255,255,.08),0 -14px 34px rgba(0,0,0,.5)}
[data-platform="phone"] .mini-player{backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%);
  background:linear-gradient(140deg,rgba(26,30,42,.90),rgba(12,14,22,.95));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 14px 34px rgba(0,0,0,.5)}
[data-platform="phone"] .mobile-layer::before{content:"";position:absolute;left:-12px;right:-12px;bottom:-12px;height:200px;z-index:-1;
  pointer-events:none;background:linear-gradient(180deg,transparent,rgba(5,7,11,.55) 40%,rgba(5,7,11,.92) 72%)}
[data-platform="phone"] .topbar{position:sticky;top:0;z-index:30}
[data-platform="phone"] .topbar-main{padding:4px 16px 12px;gap:10px}
[data-platform="phone"] .search-pill{height:42px;border-radius:16px;background:rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 6px 18px rgba(0,0,0,.22)}
[data-platform="phone"] .search-pill span{font-size:14px}
[data-platform="phone"] .icon-btn{width:40px;height:40px;border-radius:14px}
[data-platform="phone"] .brand-mark{width:34px;height:34px;border-radius:12px}
[data-platform="phone"] .brand-mark::after{inset:5px;border-radius:8px}
[data-platform="phone"] .statusbar{padding:calc(var(--safe-t) + 10px) 22px 4px;font-size:13.5px;letter-spacing:.02em}
[data-platform="phone"] .page-head{margin:2px 0 18px;flex-wrap:wrap}
[data-platform="phone"] .page-head h1{white-space:nowrap}
[data-platform="phone"] .page-head .head-acts{flex-basis:100%;justify-content:flex-end;padding-top:2px}
[data-platform="phone"] .page-head h1{font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
[data-platform="phone"] .page-head .sub{font-size:12.5px;margin-top:4px}
[data-platform="phone"] .section{margin-bottom:26px}
[data-platform="phone"] .section-head{margin-bottom:12px}
[data-platform="phone"] .section-head h2{font-size:17.5px;font-weight:700;letter-spacing:.01em}
[data-platform="phone"] .section-head .more{font-size:12px}
[data-platform="phone"] .qgrid{grid-template-columns:repeat(4,1fr);gap:12px 8px}
[data-platform="phone"] .qcard{flex-direction:column;gap:7px;padding:12px 4px;border-radius:18px;background:rgba(255,255,255,.055)}
[data-platform="phone"] .qic{width:42px;height:42px;border-radius:14px}
[data-platform="phone"] .qt{align-items:center}
[data-platform="phone"] .qt b{font-size:11.5px}
[data-platform="phone"] .qt i{font-size:9.5px;max-width:100%}

/* —— 手机端：每个板块用各自的形态，避免全是同一种大方块 —— */
[data-platform="phone"] .rank-list{grid-template-columns:minmax(0,1fr);gap:9px}
[data-platform="phone"] .rank-card{padding:8px 10px 8px 8px;border-radius:16px}
[data-platform="phone"] .rk-cover{width:52px;height:52px;border-radius:12px}
[data-platform="phone"] .rk-name{font-size:13.5px}
[data-platform="phone"] .rk-sub{font-size:10.5px;margin-top:2px}
[data-platform="phone"] .rk-play{width:30px;height:30px}

[data-platform="phone"] .pl-strip,[data-platform="phone"] .ar-strip{
  display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none;
  margin:0 -16px;padding-left:16px;padding-right:16px}
[data-platform="phone"] .pl-strip::-webkit-scrollbar,
[data-platform="phone"] .ar-strip::-webkit-scrollbar{display:none}
[data-platform="phone"] .pl-card{flex:0 0 124px;scroll-snap-align:start}
[data-platform="phone"] .pl-cover{border-radius:14px}
[data-platform="phone"] .pl-play{opacity:1;transform:none;width:28px;height:28px;right:6px;bottom:6px}
[data-platform="phone"] .pl-name{font-size:12px;margin-top:7px}
[data-platform="phone"] .ar-card{flex:0 0 72px;scroll-snap-align:start}
[data-platform="phone"] .ar-name{font-size:11.5px;margin-top:6px}



[data-platform="phone"] .card-grid{grid-template-columns:repeat(2,1fr);gap:14px}
[data-platform="phone"] .tile .tile-meta .t{font-size:13px}
[data-platform="phone"] .tile .tile-meta .s{font-size:11px}
[data-platform="phone"] .tile-play{width:34px;height:34px;right:8px;bottom:8px;opacity:1;transform:none}
[data-platform="phone"] .rows{gap:0}
[data-platform="phone"] .row{grid-template-columns:26px minmax(0,1fr) auto;gap:11px;padding:9px 6px;border-radius:14px}
[data-platform="phone"] .row-art{width:44px;height:44px;border-radius:11px}
[data-platform="phone"] .row-t{font-size:14px}
[data-platform="phone"] .row-s{font-size:11.5px;margin-top:2px}
[data-platform="phone"] .row-idx{font-size:11.5px}
[data-platform="phone"] .row-end{gap:6px}
/* 手机端没有 hover，收藏键必须常驻可见（否则用户根本无法收藏） */
[data-platform="phone"] .row-end .like{display:grid;opacity:.6}
[data-platform="phone"] .row-end .like:active{opacity:1}
[data-platform="phone"] .row-end .like.on{opacity:1;color:#ff6b8a}
[data-platform="phone"] .chip{height:32px;padding:0 14px;font-size:12.5px}
[data-platform="phone"] .btn{height:40px;padding:0 18px}
[data-platform="phone"] .empty{padding:52px 16px}
[data-platform="phone"] .now-art,.phone-frame{}
[data-platform="phone"] .hint-note{font-size:11.5px;padding:11px 13px}
[data-platform="phone"] .qitem{padding:11px 12px;border-radius:15px}
[data-platform="phone"] .pmrow{padding:9px 11px}

/* ---------- 19. 浅色主题（完整适配） ---------- */
[data-theme="light"]{color-scheme:light}

/* 卡片类底色：深色用白透明，浅色用墨色透明 */
[data-theme="light"] .rank-card,
[data-theme="light"] .pl-card,
[data-theme="light"] .ar-card,
[data-theme="light"] .qitem,
[data-theme="light"] .pmrow,
[data-theme="light"] .acc-card,
[data-theme="light"] .daily-card,
[data-theme="light"] .qcard,
[data-theme="light"] .hint-note,
[data-theme="light"] .sec-err{background:rgba(16,22,40,.045);border-color:rgba(16,22,40,.09)}

[data-theme="light"] .rank-card:hover,
[data-theme="light"] .qitem:hover,
[data-theme="light"] .row:hover,
[data-theme="light"] .kv:hover,
[data-theme="light"] .sheet-row:hover,
[data-theme="light"] .daily-item:hover,
[data-theme="light"] .daily-more:hover{background:rgba(16,22,40,.055)}

[data-theme="light"] .daily-card{background:linear-gradient(140deg,rgba(124,92,255,.14),rgba(56,189,248,.10) 72%);border-color:rgba(16,22,40,.08)}
[data-theme="light"] .acc-card{background:linear-gradient(120deg,rgba(124,92,255,.16),rgba(56,189,248,.08));border-color:rgba(16,22,40,.08)}
[data-theme="light"] .qitem.active{background:linear-gradient(100deg,rgba(124,92,255,.18),rgba(56,189,248,.10));border-color:rgba(124,92,255,.35)}
[data-theme="light"] .qi-ic{background:rgba(16,22,40,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
[data-theme="light"] .qic{box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
[data-theme="light"] .skel{background:linear-gradient(90deg,rgba(16,22,40,.05),rgba(16,22,40,.09),rgba(16,22,40,.05));background-size:200% 100%}
[data-theme="light"] .cover-ph{background:linear-gradient(140deg,rgba(124,92,255,.34),rgba(56,189,248,.22))}
[data-theme="light"] .tile-play{box-shadow:0 8px 20px rgba(124,92,255,.35)}
[data-theme="light"] .pl-count{background:rgba(255,255,255,.72);color:#1a2036}
[data-theme="light"] .pmrow{background:rgba(255,255,255,.62)}
[data-theme="light"] .diag-item{background:rgba(16,22,40,.04)}

/* 搜索框与顶栏按钮 */
[data-theme="light"] .search-pill{background:rgba(255,255,255,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 6px 18px rgba(40,60,110,.10)}
[data-theme="light"] .icon-btn.glass{color:var(--text-2)}

/* 手机端固定栏 */
[data-theme="light"] .glass-strong{background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(248,250,255,.96));
  border-top:1px solid rgba(16,22,40,.07);box-shadow:0 -8px 28px rgba(40,60,110,.10)}
[data-theme="light"][data-platform="phone"] .glass-strong{background:linear-gradient(180deg,rgba(255,255,255,.90),rgba(247,249,255,.97))}
[data-theme="light"][data-platform="phone"] .mini-player{
  background:linear-gradient(140deg,rgba(255,255,255,.94),rgba(246,248,255,.97));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 28px rgba(40,60,110,.16)}
[data-theme="light"][data-platform="phone"] .mobile-layer::before{background:linear-gradient(180deg,transparent,rgba(238,241,248,.55) 40%,rgba(238,241,248,.85) 72%)}
[data-theme="light"][data-platform="phone"] .tab-item.active{background:rgba(16,22,40,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
[data-theme="light"][data-platform="phone"] .qcard{background:rgba(255,255,255,.62)}
[data-theme="light"] .mesh{background:
  radial-gradient(120% 85% at 12% -12%, #d9d2ff 0%, transparent 58%),
  radial-gradient(100% 78% at 96% -4%, #c6e8ff 0%, transparent 54%),
  radial-gradient(90% 70% at 60% 112%, #ffd9ec 0%, transparent 56%),
  linear-gradient(180deg,#f6f8ff 0%,#e9eefb 100%)}
[data-theme="light"] .blob{opacity:.5}
[data-theme="light"] .blob-a{background:radial-gradient(circle,#b9a4ff,transparent 70%)}
[data-theme="light"] .blob-b{background:radial-gradient(circle,#8ed6ff,transparent 70%)}
[data-theme="light"] .blob-c{background:radial-gradient(circle,#ffb3d9,transparent 72%)}
/* 浅色玻璃：边缘高光更亮，阴影更柔，透出彩色底 */
[data-theme="light"] .glass{border-color:rgba(255,255,255,.85);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(255,255,255,.55),0 10px 26px rgba(60,80,140,.10)}
[data-theme="light"] .glass::after{background:linear-gradient(200deg,rgba(255,255,255,.75),transparent 42%);opacity:.75;mix-blend-mode:normal}

/* 全屏播放页 */
[data-theme="light"] .now-playing{background:linear-gradient(180deg,rgba(248,250,255,.96),rgba(236,240,252,.99))}
[data-theme="light"] .np-bg{opacity:.42}
[data-theme="light"] .np-bg::after{background:linear-gradient(180deg,rgba(255,255,255,.25),rgba(240,243,252,.86))}
[data-theme="light"] .np-lyrics .lyr-line.on{text-shadow:0 0 22px rgba(124,92,255,.25)}
[data-theme="light"] .np-disc{border-color:rgba(16,22,40,.12)}

/* 抽屉 */
[data-theme="light"] .sheet{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(244,247,255,.99));
  border-color:rgba(16,22,40,.08);box-shadow:0 -14px 46px rgba(40,60,110,.16)}
[data-theme="light"] .sheet-grip{background:rgba(16,22,40,.18)}
[data-theme="light"] .sheet input,[data-theme="light"] .sheet textarea{
  background:rgba(16,22,40,.04);border-color:rgba(16,22,40,.12);color:var(--text)}
[data-theme="light"] .sheet input::placeholder,[data-theme="light"] .sheet textarea::placeholder{color:var(--text-3)}
[data-theme="light"] .sheet-mask{background:rgba(30,40,70,.28)}

/* 其它零散 */
[data-theme="light"] .brand-mark::after{background:rgba(255,255,255,.55)}
[data-theme="light"] .queue-item:hover{background:rgba(16,22,40,.05)}
[data-theme="light"] .empty .em{opacity:.35}
[data-theme="light"] .pill-ok{background:rgba(34,150,80,.14);color:#1f8a4c}
[data-theme="light"] .pill-warn{background:rgba(217,119,6,.14);color:#b45309}
[data-theme="light"] .pill-bad{background:rgba(220,38,38,.12);color:#c02626}
[data-theme="light"] .tp-btn:hover{background:rgba(16,22,40,.06)}
[data-theme="light"] .sec-err{background:rgba(220,38,38,.06);border-color:rgba(220,38,38,.16);color:#b91c1c}

/* ---------- 20. 页内搜索栏 ---------- */
/* 搜索页独占顶栏：隐藏全局顶栏，避免两个搜索框并存 */
body[data-page="search"] .topbar{display:none}
/* 顶栏藏了，搜索栏就得自己避开状态栏 —— 否则搜索框整个被状态栏盖住（用户反馈）。
   --safe-t 由原生注入（WebView 的 env(safe-area-inset-*) 不可靠）。
   安全区由内容区的 padding-top 承担；sticky 的 top 保持 0 —— 这里再叠加一次
   会把搜索栏整体往下顶，底下的「大家在搜」标题反被压住。 */
body[data-page="search"] .content{padding-top:calc(var(--safe-t) + 8px)}
.search-page .page-head{display:none}
.searchbar{display:flex;align-items:center;gap:10px;padding:6px 0 2px;position:sticky;top:0;z-index:5}
.sb-input{flex:1;min-width:0;display:flex;align-items:center;gap:9px;height:42px;padding:0 13px;border-radius:var(--r-pill);
  background:rgba(255,255,255,.09);border:1px solid var(--stroke);color:var(--text-3);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 4px 14px rgba(0,0,0,.16)}
[data-theme="light"] .sb-input{background:rgba(255,255,255,.8);border-color:rgba(16,22,40,.08);color:var(--text-3);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 14px rgba(60,80,140,.08)}
.sb-input input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:14px;color:var(--text)}
.sb-input input::placeholder{color:var(--text-3)}
.sb-input input::-webkit-search-cancel-button{display:none}
.sb-clear{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:var(--text-3);
  background:rgba(255,255,255,.10);flex:none}
.sb-clear:hover{color:var(--text)}
.sug-box{margin-top:12px;border-radius:var(--r-md);overflow:hidden;border:1px solid var(--stroke);background:rgba(255,255,255,.04)}
[data-theme="light"] .sug-box{background:rgba(255,255,255,.55);border-color:rgba(16,22,40,.07)}
.sug-tip{padding:9px 14px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3);
  border-bottom:1px solid rgba(255,255,255,.06)}
[data-theme="light"] .sug-tip{border-bottom-color:rgba(16,22,40,.06)}
.row.sug{grid-template-columns:44px minmax(0,1fr)}
.sug-k{width:44px;text-align:center;font-size:10px;color:var(--text-3);border-right:1px solid rgba(255,255,255,.07);padding-right:8px}
.sug-empty{padding:26px;text-align:center;color:var(--text-3);font-size:12.5px}

/* ---------- 21. 我的 ---------- */
.me-hero{border-radius:var(--r-lg);padding:18px;margin-bottom:var(--sp-5);
  background:linear-gradient(140deg,rgba(124,92,255,.20),rgba(56,189,248,.10) 70%);
  border:1px solid var(--stroke);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),var(--shadow-1)}
[data-theme="light"] .me-hero{background:linear-gradient(140deg,rgba(124,92,255,.16),rgba(56,189,248,.10) 70%);border-color:rgba(16,22,40,.08)}
.me-profile{display:flex;align-items:center;gap:14px}
.me-av{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 8px 22px rgba(0,0,0,.4)}
.me-av-ph{display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#7c5cff,#38bdf8)}
[data-theme="light"] .me-av-ph{color:#fff}
.me-info{flex:1;min-width:0}
.me-name{font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me-sub{font-size:11.5px;color:var(--text-2);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.me-act{flex:none}
.me-av .av-img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.me-av .av-preset{width:100%;height:100%;border-radius:50%;display:grid;place-items:center;font-size:26px;line-height:1}
.me-edit{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;margin-left:6px;
  vertical-align:2px;color:var(--text-3);background:rgba(255,255,255,.06);border:1px solid var(--stroke);
  cursor:pointer;transition:.18s}
.me-edit:hover{color:var(--text);background:rgba(255,255,255,.12)}
.me-edit .ico{width:11px;height:11px}

/* ---------- 账号同步状态条 ---------- */
.me-sync{margin:-6px 0 var(--sp-5)}
.sync-bar{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:14px;
  background:rgba(255,255,255,.045);border:1px solid var(--stroke);font-size:12px;color:var(--text-2);line-height:1.5}
.sync-bar .sb-ic{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;flex:none;
  background:rgba(255,255,255,.07);color:var(--text-3)}
.sync-bar .sb-ic .ico{width:13px;height:13px}
.sync-bar .sb-txt{flex:1;min-width:0}
.sync-bar .sb-btn{flex:none;height:26px;padding:0 11px;border-radius:9px;font-size:11.5px;cursor:pointer;
  color:var(--text-2);background:rgba(255,255,255,.07);border:1px solid var(--stroke);transition:.18s var(--ease)}
.sync-bar .sb-btn:hover{color:var(--text);background:rgba(255,255,255,.13)}
.sync-bar.sb-ok{border-color:rgba(74,222,128,.24);background:rgba(74,222,128,.08)}
.sync-bar.sb-ok .sb-ic{background:rgba(74,222,128,.16);color:#4ade80}
.sync-bar.sb-syncing{border-color:rgba(56,189,248,.24);background:rgba(56,189,248,.08)}
.sync-bar.sb-syncing .sb-ic{background:rgba(56,189,248,.16);color:#38bdf8}
.sync-bar.sb-err{border-color:rgba(248,113,113,.28);background:rgba(248,113,113,.09)}
.sync-bar.sb-err .sb-ic{background:rgba(248,113,113,.16);color:#f87171}
[data-theme="light"] .sync-bar{background:rgba(16,22,40,.045);border-color:rgba(16,22,40,.09)}
[data-theme="light"] .sync-bar .sb-btn{background:rgba(16,22,40,.05)}
[data-platform="phone"] .sync-bar{padding:11px 13px;font-size:12px}
[data-platform="phone"] .sync-bar .sb-btn{height:30px;padding:0 13px;font-size:12px}

/* ---------- 编辑资料对话框 ---------- */
.pf-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.pf-av{width:72px;height:72px;border-radius:50%;overflow:hidden;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,#7c5cff,#38bdf8);color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.4)}
.pf-av .av-img,.pf-av .av-preset{width:100%;height:100%;border-radius:50%;object-fit:cover}
.pf-av .av-preset{font-size:30px}
.pf-av-side{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pf-presets{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:16px}
.pf-pick{aspect-ratio:1;border-radius:50%;border:2px solid transparent;cursor:pointer;font-size:17px;
  display:grid;place-items:center;padding:0;transition:.18s var(--ease);line-height:1}
.pf-pick:hover{transform:scale(1.08)}
.pf-pick.on{border-color:#fff;box-shadow:0 0 0 2px var(--brand)}
.me-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px;
  padding-top:14px;border-top:1px solid rgba(255,255,255,.10)}
[data-theme="light"] .me-stats{border-top-color:rgba(16,22,40,.08)}
.ms{text-align:center}
.ms b{display:block;font-size:19px;font-weight:720;letter-spacing:-.01em}
.ms span{font-size:10.5px;color:var(--text-3)}
.me-quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.meq{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:16px;cursor:pointer;
  background:rgba(255,255,255,.05);border:1px solid var(--stroke);transition:.22s var(--ease)}
[data-theme="light"] .meq{background:rgba(255,255,255,.6);border-color:rgba(16,22,40,.07)}
.meq:hover{transform:translateY(-1px);border-color:var(--stroke-2)}
.meq:active{transform:scale(.98)}
.meq-ic{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;flex:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.meq-t{display:flex;flex-direction:column;min-width:0}
.meq-t b{font-size:13px;font-weight:620}
.meq-t i{font-style:normal;font-size:10.5px;color:var(--text-3)}
.me-list{display:flex;flex-direction:column;gap:2px}
.me-blank{display:flex;align-items:center;gap:12px;padding:20px 16px;border-radius:16px;color:var(--text-3);
  background:rgba(255,255,255,.04);border:1px dashed var(--stroke);font-size:13px}
[data-theme="light"] .me-blank{background:rgba(255,255,255,.5);border-color:rgba(16,22,40,.10)}
.me-blank span{line-height:1.6}
.me-blank i{font-style:normal;font-size:11.5px;color:var(--text-3)}

/* ---------- 22. 继续听（单条横排） ---------- */
.resume-card{display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:20px;
  background:linear-gradient(110deg,rgba(124,92,255,.20),rgba(56,189,248,.09));
  border:1px solid var(--stroke);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),var(--shadow-1)}
[data-theme="light"] .resume-card{background:linear-gradient(110deg,rgba(124,92,255,.15),rgba(56,189,248,.09));border-color:rgba(16,22,40,.08)}
.rs-cover{width:54px;height:54px;border-radius:14px;object-fit:cover;flex:none;box-shadow:0 8px 20px rgba(0,0,0,.4)}
.rs-info{flex:1;min-width:0}
.rs-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--brand-2);font-weight:700}
[data-theme="light"] .rs-label{color:#0e7fc4}
.rs-title{font-size:14.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.rs-sub{font-size:11.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.rs-play{display:flex;align-items:center;gap:6px;flex:none;height:34px;padding:0 13px;border-radius:var(--r-pill);
  color:#fff;background:var(--grad);box-shadow:0 8px 20px rgba(124,92,255,.42);font-size:12.5px;font-weight:620;
  transition:transform .2s var(--spring)}
.rs-play:active{transform:scale(.94)}

/* ---------- 23. 为你推荐 ---------- */
.rec-strip{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none;
  margin:0 -16px;padding-left:16px;padding-right:16px}
.rec-strip::-webkit-scrollbar{display:none}
.rec-card{flex:0 0 132px;scroll-snap-align:start;cursor:pointer;min-width:0}
.rc-cover{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:var(--glass-2);box-shadow:var(--shadow-1)}
.rc-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
.rec-card:hover .rc-cover img{transform:scale(1.06)}
.rc-play{position:absolute;right:7px;bottom:7px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  color:#fff;background:var(--grad);box-shadow:0 6px 16px rgba(124,92,255,.5);opacity:0;transform:translateY(6px) scale(.85);transition:.24s var(--spring)}
.rec-card:hover .rc-play{opacity:1;transform:none}
.rc-rank{position:absolute;left:7px;top:6px;font-size:11px;font-weight:700;color:#fff;padding:1px 7px;border-radius:99px;
  background:rgba(0,0,0,.42);backdrop-filter:blur(6px)}
.rc-name{margin-top:8px;font-size:12.5px;font-weight:620;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-artist{font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.rc-why{display:block;width:100%;font-size:10px;color:var(--brand-2);white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;margin-top:3px;line-height:1.3}
[data-theme="light"] .rc-why{color:#0e7fc4}
.rec-empty{display:flex;align-items:center;gap:12px;padding:20px 16px;border-radius:18px;cursor:pointer;
  color:var(--text-2);background:rgba(255,255,255,.05);border:1px dashed var(--stroke);font-size:13px;line-height:1.7}
[data-theme="light"] .rec-empty{background:rgba(255,255,255,.55);border-color:rgba(16,22,40,.10)}
.rec-empty i{font-style:normal;font-size:11.5px;color:var(--brand-2);display:inline-flex;align-items:center;gap:4px}

/* ---------- 24. 登录 / 注册 ---------- */
.login-page{max-width:520px;margin:0 auto}
.login-card{padding:26px 22px;border-radius:var(--r-xl);text-align:center;
  background:linear-gradient(150deg,rgba(124,92,255,.20),rgba(56,189,248,.09));
  border:1px solid var(--stroke);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),var(--shadow-1)}
[data-theme="light"] .login-card{background:linear-gradient(150deg,rgba(124,92,255,.14),rgba(56,189,248,.08));border-color:rgba(16,22,40,.08)}
.login-mark{width:64px;height:64px;border-radius:22px;margin:0 auto 12px;display:grid;place-items:center;color:#fff;
  background:var(--grad);box-shadow:0 12px 30px rgba(124,92,255,.42)}
.login-title{font-size:20px;font-weight:720}
.login-sub{font-size:12px;color:var(--text-3);margin-top:5px}
.login-form{margin-top:20px;display:flex;flex-direction:column;gap:12px;text-align:left}
.lg-field{display:flex;flex-direction:column;gap:6px}
.lg-field span{font-size:11.5px;color:var(--text-2);padding-left:4px}
.lg-field input{height:44px;border-radius:14px;border:1px solid var(--stroke);background:rgba(255,255,255,.07);
  padding:0 14px;outline:none;font-size:14px;color:var(--text);transition:border-color .2s}
[data-theme="light"] .lg-field input{background:rgba(255,255,255,.75);border-color:rgba(16,22,40,.10)}
.lg-field input:focus{border-color:rgba(124,92,255,.6);box-shadow:0 0 0 3px rgba(124,92,255,.14)}
.lg-submit{width:100%;height:46px;margin-top:4px;font-size:14.5px}
.lg-switch{text-align:center;font-size:12px;color:var(--text-3);margin-top:4px}
.lg-switch span{color:var(--brand-2);cursor:pointer;font-weight:620}
[data-theme="light"] .lg-switch span{color:#0e7fc4}

/* 为你推荐：竖向列表 */
.rec-rows{gap:1px}
.rec-row{grid-template-columns:42px minmax(0,1fr) auto}
.rec-row .row-art{width:42px;height:42px;border-radius:11px}
.rec-why{font-size:10.5px;color:var(--brand-2);max-width:132px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;padding-left:10px}
[data-theme="light"] .rec-why{color:#0e7fc4}
[data-platform="phone"] .rec-row{grid-template-columns:42px minmax(0,1fr) auto}
[data-platform="phone"] .rec-row .row-art{width:42px;height:42px}
[data-platform="phone"] .rec-why{max-width:104px;font-size:10px}

/* 推荐行右侧播放按钮 */
.rec-play{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;flex:none;
  background:var(--grad);box-shadow:0 6px 16px rgba(124,92,255,.42);transition:transform .2s var(--spring)}
.rec-play:active{transform:scale(.88)}
[data-platform="phone"] .rec-play{width:28px;height:28px}

/* 推荐行右侧时长 */
.rec-dur{font-size:10.5px;color:var(--text-3);font-variant-numeric:tabular-nums;flex:none}
