:root{--bg:#000;--panel:#0b0c10;--elev:#181818;--hover:#1f1f1f;--hover2:#2a2a2a;--line:#2a2a2a;--text:#fff;--muted:#b3b3b3;--dim:#7c7c7c;--accent:#1ed760;--accent-dk:#1db954;--bad:#f15e6c;--warn:#ffa42b;--blue:#3d91f4;--r:8px;--top-h:64px;--player-h:80px}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font:400 14px/1.4 "Circular Sp","Circular Std","Helvetica Neue",Helvetica,"Segoe UI",system-ui,Roboto,Arial,sans-serif;overflow:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,select,input,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
input,select,textarea{background:var(--hover2);border:1px solid transparent;border-radius:6px;padding:9px 12px;width:100%}
input:focus,select:focus,textarea:focus{outline:2px solid #fff;outline-offset:-1px}
select{width:auto;padding:7px 10px;cursor:pointer}
input[type=checkbox]{width:auto}
::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-thumb{background:transparent;border-radius:8px;border:3px solid transparent;background-clip:content-box}
*:hover::-webkit-scrollbar-thumb{background:#ffffff33;background-clip:content-box;border:3px solid transparent}::-webkit-scrollbar-thumb:hover{background:#ffffff66!important;background-clip:content-box!important}
.muted{color:var(--muted)}.dim{color:var(--dim)}.small{font-size:12px}
.ic{display:inline-flex;width:24px;height:24px;flex:none}.ic svg{width:100%;height:100%;fill:currentColor}
.hidden,[hidden]{display:none!important}
:focus{outline:none}a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:4px}
.btn,.pbtn,.big-play,.play-btn,.pill-btn,.chip,.home-btn,.avatar,.fplay,.ep-play{transition:transform .12s ease,background-color .2s,border-color .2s,color .2s}
.btn:active,.pbtn:active,.big-play:active,.play-btn:active,.fplay:active,.ep-play:active{transform:scale(.96)!important}
pre{background:#0006;padding:10px 12px;border-radius:6px;font-size:13px;overflow-x:auto;color:#fff}
input[type=file]{padding:6px;color:var(--muted)}input[type=file]::file-selector-button{background:#fff;color:#000;border:0;border-radius:500px;padding:6px 14px;font-weight:700;margin-right:12px;cursor:pointer}

.box{background:var(--panel);border-radius:var(--r)}
.lib-head{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 6px 16px}
.lib-title{display:flex;gap:12px;align-items:center;font-weight:700;color:var(--muted);font-size:16px;white-space:nowrap;min-width:0}.lib-title:hover{color:#fff}
.lib-actions{display:flex;align-items:center;gap:4px}
.pill-btn{display:flex;align-items:center;gap:8px;background:var(--hover);padding:0 14px 0 10px;height:36px;border-radius:500px;font-weight:700;font-size:14px;color:var(--muted)}
.pill-btn:hover{background:var(--hover2);color:#fff;transform:scale(1.03)}.pill-btn .ic{width:20px;height:20px}
.icon-btn{color:var(--muted);display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;flex:none}
.icon-btn:hover{color:#fff}.icon-btn.on{color:var(--accent)}
.icon-btn .ic{width:20px;height:20px}
.chips{display:flex;gap:8px;padding:8px 16px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}
.chip{background:#2a2a2a;padding:0 12px;height:32px;display:inline-flex;align-items:center;gap:4px;border-radius:500px;font-size:14px;white-space:nowrap;color:#fff;flex:none}.chip:hover{background:#333}
.chip.on{background:#fff;color:#000}
.lib-tools{display:flex;gap:6px;padding:4px 16px 8px 8px;align-items:center}
.lib-tools input{padding:6px 12px;font-size:13.5px;flex:1}
.lib-tools .icon-btn{width:32px;height:32px;margin-right:auto}.lib-tools input:not([hidden])~.sortbtn{margin-left:8px}
.sortbtn{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;padding:4px 6px;border-radius:4px;margin-left:auto}.sortbtn:hover{color:#fff;transform:scale(1.03)}.sortbtn .ic{width:16px;height:16px}
#lib-list{flex:1;overflow-y:auto;padding:0 8px 8px}
.lib-item{display:flex;gap:12px;align-items:center;padding:8px;border-radius:6px}.lib-item:hover{background:var(--hover)}.lib-item.on{background:var(--hover2)}
.lib-item .t{font-weight:400;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-item .s{font-size:14px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:6px}
.lib-item .s .ic{width:14px;height:14px;color:var(--accent)}
.lib-item .meta{min-width:0;flex:1}.lib-item.playing .t{color:var(--accent)}.lib-item .playing-ic{color:var(--accent);flex:none}
.cover{width:48px;height:48px;border-radius:4px;background:var(--hover2) center/cover;flex:none;object-fit:cover;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;color:var(--dim)}
.cover.round{border-radius:50%}.cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover .ph{font-weight:700;color:#fff;font-size:1.1em}
.cover>.ic,.cover-lg>.ic{color:#fff;filter:drop-shadow(0 2px 8px #0004)}

h1{font-size:2rem;margin:8px 0 16px}
.page-title{font-size:2rem;font-weight:800;margin:4px 0 20px;letter-spacing:-.01em}
.section{margin:24px 0}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
.sec-head h2{font-size:24px;font-weight:700;margin:0;letter-spacing:-.01em}.sec-head h2:hover{text-decoration:underline}
.sec-head a{color:var(--muted);font-weight:700;font-size:14px}.sec-head a:hover{text-decoration:underline}
.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(164px,1fr));grid-template-rows:1fr;grid-auto-rows:0;overflow:hidden;gap:0;margin:0 -12px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(164px,1fr));gap:0;margin:0 -12px}
.filterchips{display:flex;gap:8px;padding:16px 0 12px;position:sticky;top:0;z-index:15;background:transparent}
.card{display:block;padding:12px;border-radius:6px;background:transparent;transition:background .3s;position:relative;min-width:0;cursor:pointer}
.card:hover{background:var(--hover)}
.artwrap{position:relative}
.art{position:relative;aspect-ratio:1;width:100%;border-radius:6px;background:var(--hover2);overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--dim);font-size:48px;box-shadow:0 8px 24px #00000066}
.art.round{border-radius:50%}.art.wide{aspect-ratio:16/9}
.artwrap .badge{position:absolute;right:6px;bottom:6px;background:#000c;color:#fff;font-size:12px;font-weight:700;padding:1px 6px;border-radius:4px;font-variant-numeric:tabular-nums}.card.wide:hover .badge{opacity:0}
.grid.wide{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.shelf.wide{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.btn.ghost{border-color:transparent;color:var(--muted)}.btn.ghost:hover{color:#fff;border-color:#7c7c7c}.art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.art .ph{font-weight:800;color:#fff;font-size:44px}
.card .t{font-weight:400;font-size:16px;margin-top:12px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}
.card .s{color:var(--muted);font-size:14px;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dotnew::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--blue);margin-right:8px;vertical-align:1px}
.artwrap .pbtn{position:absolute;right:8px;bottom:8px;opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s}
.card:hover .pbtn,.card:focus-within .pbtn,.artwrap .pbtn.on{opacity:1;transform:none}
.card.center{text-align:center}.card .actions{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.pbtn,.big-play{width:48px;height:48px;border-radius:50%;background:var(--accent);color:#000;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 8px #0004;flex:none}
.pbtn:hover,.big-play:hover{transform:scale(1.06);background:#ffc75c}.pbtn .ic,.big-play .ic{width:26px;height:26px}
.big-play{width:56px;height:56px}.big-play .ic{width:30px;height:30px}
.btn{background:transparent;border:1px solid #7c7c7c;color:#fff;border-radius:500px;padding:7px 16px;font-weight:700;font-size:13px}
.btn:hover{border-color:#fff;transform:scale(1.03)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:#000}.btn.primary:hover{background:#ffc75c;border-color:#ffc75c}
.btn.white{background:#fff;color:#000;border-color:#fff}
.btn.danger:hover{border-color:var(--bad);color:var(--bad)}
.btn.small{padding:4px 12px;font-size:12px}
.btn.danger-fill{background:var(--bad);border-color:var(--bad);color:#000}.btn.danger-fill:hover{background:#ff7a86;border-color:#ff7a86}
.btn:disabled{opacity:.5;pointer-events:none}
.quick{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px;margin-bottom:8px}
.quick a{display:flex;align-items:center;gap:12px;background:#ffffff12;border-radius:4px;overflow:hidden;height:48px;font-weight:700;position:relative;padding-right:56px;font-size:14px}
.quick a:hover{background:#ffffff26}.quick .cover{width:48px;height:48px;border-radius:0}.quick .pbtn{position:absolute;width:36px;height:36px;right:8px;top:6px;opacity:0;transform:none}.quick .pbtn .ic{width:20px;height:20px}
.quick a:hover .pbtn,.quick .pbtn.on{opacity:1}.quick a span.q{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.hero{display:flex;gap:24px;align-items:flex-end;padding:24px 0 16px}
.hero .cover-lg{width:232px;height:232px;border-radius:4px;box-shadow:0 4px 60px #0008;background:var(--hover2) center/cover;flex:none;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;font-size:80px;color:var(--dim)}
.hero .cover-lg.round{border-radius:50%}.hero .cover-lg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .kind{font-size:12px;font-weight:700}
.hero h1{font-size:clamp(2rem,6vw,5.5rem);font-weight:900;margin:.08em 0;line-height:1.05;letter-spacing:-.02em}
.hero .meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:14px}.hero .meta b:hover{text-decoration:underline}
.hero .meta .sep::before{content:"•";margin-right:6px;color:var(--muted)}
.actionbar{display:flex;align-items:center;gap:20px;padding:16px 0}
.actionbar .icon-btn{width:40px;height:40px}.actionbar .icon-btn .ic{width:32px;height:32px}
.tracks{width:100%}
.th,.tr{display:grid;grid-template-columns:16px minmax(120px,6fr) minmax(0,4fr) minmax(60px,1fr);gap:16px;align-items:center;padding:0 16px;border-radius:4px}
.tr.noalbum,.th.noalbum{grid-template-columns:16px minmax(120px,1fr) minmax(60px,auto)}
.th{height:36px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.1em;border-bottom:1px solid #ffffff1a;margin-bottom:8px;position:sticky;top:0;background:var(--panel);z-index:5}
.tr{height:56px;color:var(--muted)}.tr:hover{background:#ffffff1a}
.tr .num{text-align:right;position:relative}.tr .num .ic{display:none;color:#fff;width:16px;height:16px}
.tr:hover .num span{display:none}.tr:hover .num .ic{display:inline-flex}
.tr .title{display:flex;gap:12px;align-items:center;min-width:0;color:#fff}.tr .title .cover{width:40px;height:40px}
.tr .title .tt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.tr .title .ts{color:var(--muted);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr .title .ts a:hover{text-decoration:underline;color:#fff}
.tr .alb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tr .alb a:hover{text-decoration:underline;color:#fff}
.tr .end{display:flex;gap:10px;justify-content:flex-end;align-items:center}
.tr .end .icon-btn{opacity:0;width:28px;height:28px}.tr:hover .end .icon-btn,.tr .end .icon-btn.on{opacity:1}
.tr.playing .tt{color:var(--accent)}.tr.playing .num span{color:var(--accent)}
.row{display:flex;align-items:center;gap:14px;padding:8px 12px;border-radius:6px}.row:hover{background:#ffffff1a}
.row .grow{flex:1;min-width:0}.row .grow>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .cover{width:56px;height:56px}
.pill{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;background:var(--hover2);color:var(--muted);font-weight:600}
.pill.ok{color:var(--accent)}.pill.bad{color:var(--bad)}.pill.warn{color:var(--warn)}
.bar{height:4px;background:#ffffff33;border-radius:2px;overflow:hidden;min-width:80px}.bar>i{display:block;height:100%;background:var(--accent)}
.topres{display:grid;grid-template-columns:minmax(260px,2fr) 3fr;gap:24px}.topres>section{min-width:0}
.topcard{background:var(--elev);border-radius:var(--r);padding:20px;position:relative;display:block}.topcard:hover{background:#242424}
.topcard .cover{width:92px;height:92px;border-radius:6px}.topcard .cover.round{border-radius:50%}
.topcard .t{font-size:2rem;font-weight:800;margin:16px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topcard .pbtn{position:absolute;right:20px;bottom:20px;opacity:0;transform:translateY(8px);transition:.3s}.topcard:hover .pbtn,.topcard .pbtn.on{opacity:1;transform:none}
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:4px 0 12px}
.filters .sp{flex:1}.filters label{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:13px}
.filters input[type=number]{width:84px;padding:6px 8px}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}
.tile{border-radius:8px;height:190px;padding:16px;font-size:1.5rem;font-weight:800;position:relative;overflow:hidden;display:block}.tile:hover{filter:brightness(1.1)}
.tile .ic{position:absolute;right:-8px;bottom:-8px;width:84px;height:84px;transform:rotate(25deg);opacity:.5}
.panel{background:var(--elev);border-radius:var(--r);padding:20px;margin-bottom:16px}
.panel h2{margin:0 0 12px;font-size:1.1rem}
.form{display:grid;gap:12px;max-width:680px}.form>.btn{justify-self:start;padding:9px 22px}.form label{display:grid;gap:6px;color:var(--muted);font-size:13px}
.empty{padding:40px;text-align:center;color:var(--muted)}
.loading{display:flex;justify-content:center;padding:80px 0;opacity:0;animation:fadein .2s .25s forwards}.loading i{width:34px;height:34px;border-radius:50%;border:3px solid #ffffff26;border-top-color:var(--accent);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadein{to{opacity:1}}@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.98)}}
table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:8px;border-bottom:1px solid #ffffff14}th{color:var(--muted);font-weight:500;font-size:12px}
.login{max-width:400px;margin:10vh auto;display:grid;gap:14px;background:var(--elev);padding:36px 32px;border-radius:12px;box-shadow:0 16px 48px #0008}
.login h1{text-align:center;font-size:1.8rem;font-weight:800;margin:0 0 8px;letter-spacing:-.02em}.login label{display:grid;gap:6px;font-weight:700;font-size:13px}.login input:not([type=file]){padding:11px 14px;font-size:15px}
.login-logo{display:flex;justify-content:center;color:var(--accent)}.login-go{padding:13px;font-size:15px;margin-top:4px}
.login-err{background:#e9142933;color:#ffb3ba;border-radius:6px;padding:10px 12px;font-size:13px}
body.gate #app{padding:0}body.gate #main{background:linear-gradient(#2a2a2a,#0b0c10 60%);border-radius:0}body.gate #view{padding:16px}
.gate #side,.gate #topbar,.gate #player,.gate #rpanel{display:none!important}.gate #app{grid-template-columns:1fr}
code{background:var(--hover2);padding:1px 6px;border-radius:4px;font-size:12px}

/* ---- player ---- */
#player{position:fixed;left:0;right:0;bottom:0;height:var(--player-h);background:#000;display:grid;grid-template-columns:minmax(180px,30%) minmax(300px,40%) minmax(180px,30%);align-items:center;padding:0 16px;z-index:40}
#player[hidden]{display:flex;visibility:hidden}
.np{display:flex;align-items:center;gap:14px;min-width:0}
.np img{width:56px;height:56px;border-radius:4px;object-fit:cover;background:var(--hover2);flex:none}
.np-text{display:flex;flex-direction:column;min-width:0}.np-text a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#np-title{font-size:14px;font-weight:400}#np-title:hover,#np-sub:hover{text-decoration:underline}#np-sub{font-size:12px}
.np .icon-btn{margin-left:4px}.np .icon-btn .ic{width:20px;height:20px}
#player .center{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:722px;width:100%;margin:0 auto}
.controls{display:flex;gap:16px;align-items:center;justify-content:center}
.controls .icon-btn{width:32px;height:32px}.controls .icon-btn .ic{width:20px;height:20px}
#b-back .ic,#b-fwd .ic{width:26px;height:26px}
.controls #b-prev .ic,.controls #b-next .ic{width:24px;height:24px}
.play-btn{width:32px;height:32px;border-radius:50%;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;flex:none}.play-btn:hover{transform:scale(1.06)}.play-btn .ic{width:18px;height:18px}
.seek{display:flex;align-items:center;gap:8px;width:100%;font-size:12px;color:var(--muted)}.seek span{min-width:40px;text-align:center;font-variant-numeric:tabular-nums}
input[type=range]{-webkit-appearance:none;appearance:none;background:none;padding:0;height:12px;border:0;cursor:pointer;--p:0%}
input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,#fff var(--p),#4d4d4d var(--p))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:#fff;margin-top:-4px;opacity:0}
input[type=range]:hover::-webkit-slider-thumb{opacity:1}input[type=range]:hover::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--accent) var(--p),#4d4d4d var(--p))}
input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:#4d4d4d}input[type=range]::-moz-range-progress{height:4px;background:#fff;border-radius:2px}
input[type=range]:focus{outline:none}
.seek input{flex:1}
.right{display:flex;align-items:center;gap:8px;justify-content:flex-end}.right input{width:93px}
.speed{font-size:14px;font-weight:700;color:var(--muted);padding:4px 6px;border-radius:12px;min-width:32px}.speed:hover{color:#fff}
#media{position:fixed;opacity:0;pointer-events:none;width:1px;height:1px;bottom:0;right:0}
#media.mini{opacity:1;pointer-events:auto;width:340px;height:192px;right:16px;bottom:calc(var(--player-h) + 16px);z-index:35;border-radius:8px;background:#000;box-shadow:0 8px 40px #000a;object-fit:contain}
#media.mini.in-rp{width:calc(21vw - 48px);min-width:252px;height:calc((21vw - 48px) * .5625);min-height:142px;right:24px;top:calc(var(--top-h) + 64px);bottom:auto}
#media.full{opacity:1;pointer-events:auto;position:fixed;inset:0 0 var(--player-h) 0;width:100%;height:calc(100% - var(--player-h));z-index:45;background:#000;object-fit:contain;border-radius:0}

/* ---- right panel: now playing view / queue ---- */
#rpanel{overflow-y:auto;padding:0 0 16px;position:relative}
.rp-head{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 12px;position:sticky;top:0;background:var(--panel);z-index:3}
.rp-head a,.rp-head b{font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rp-head a:hover{text-decoration:underline}
.rp-body{padding:0 16px}
.rp-art{width:100%;aspect-ratio:1;border-radius:8px;object-fit:cover;background:var(--hover2);display:block;box-shadow:0 8px 24px #0006}
.rp-video{width:100%;aspect-ratio:16/9;border-radius:8px;background:#000}
.rp-chips{display:flex;gap:8px;margin:12px 0}
.rp-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:16px 0 4px}
.rp-title{font-size:24px;font-weight:700;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.rp-title a:hover{text-decoration:underline}
.rp-sub{color:var(--muted);font-size:16px}.rp-sub a:hover{text-decoration:underline;color:#fff}
.rp-title-row .icon-btn{width:32px;height:32px;margin-top:2px}.rp-title-row .icon-btn .ic{width:28px;height:28px}
.rp-card{background:var(--elev);border-radius:8px;margin-top:16px;overflow:hidden}
.rp-card-h{display:flex;justify-content:space-between;align-items:center;padding:16px 16px 8px}.rp-card-h b{font-size:16px}.rp-card-h a,.rp-card-h button{color:var(--muted);font-weight:700;font-size:13px}.rp-card-h a:hover,.rp-card-h button:hover{color:#fff;text-decoration:underline}
.rp-card-b{padding:0 16px 16px;color:var(--muted);font-size:14px;line-height:1.5}
.rp-artist{position:relative;height:200px;background:var(--hover2) center/cover}.rp-artist img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rp-artist b{position:absolute;left:16px;top:14px;font-size:16px;text-shadow:0 1px 6px #000a}
.rp-row{display:flex;align-items:center;gap:12px;padding:8px 16px;cursor:pointer}.rp-row:hover{background:#ffffff14}
.rp-row .cover{width:48px;height:48px}.rp-row .t{font-size:15px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rp-row .s{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rp-row .grow{flex:1;min-width:0}
#rpanel h3{margin:4px 16px 12px;font-size:1.1rem}#rpanel h4{margin:16px 16px 6px;color:var(--muted);font-size:14px}
.q-h{display:flex;justify-content:space-between;align-items:center}.q-h button{color:var(--muted);font-weight:700;font-size:13px}.q-h button:hover{color:#fff;text-decoration:underline}

/* ---- overlays ---- */
#menu{position:fixed;z-index:80;background:#1d212b;border-radius:4px;padding:4px;min-width:200px;max-width:min(320px,calc(100vw - 16px));max-height:calc(100vh - 16px);overflow-y:auto;box-shadow:0 16px 24px #0006}
#menu button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#menu button:focus-visible{outline:none;background:#ffffff1a}
#menu[hidden]{display:none}
#menu button,#menu .sub,#menu a{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:2px;font-size:14px;color:#e8e8e8}
#menu button:hover,#menu a:hover{background:#ffffff1a}#menu .sub{color:var(--dim);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:10px 12px 4px}#menu hr{border:0;border-top:1px solid #ffffff1a;margin:4px 0}
#modal{position:fixed;inset:0;background:#000b;z-index:70;display:flex;align-items:center;justify-content:center;padding:20px}#modal[hidden]{display:none}
.sheet{background:#1d212b;border-radius:10px;padding:24px;max-width:960px;width:100%;max-height:85vh;overflow-y:auto;position:relative}.sheet .x{position:absolute;right:12px;top:12px}
#toast{position:fixed;bottom:calc(var(--player-h) + 20px);left:50%;transform:translateX(-50%);background:#fff;color:#000;padding:12px 20px;border-radius:6px;z-index:90;font-weight:600;box-shadow:0 8px 24px #0008;max-width:calc(100vw - 32px);text-align:center;animation:pop .18s ease-out}#toast[hidden]{display:none}

/* ---- stats ---- */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-bottom:12px}
.stat{background:var(--elev);border-radius:var(--r);padding:18px}.stat .n{font-size:2rem;font-weight:800;letter-spacing:-.02em}.stat .l{color:var(--muted);font-size:13px;margin-top:2px}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:12px}
.chart{width:100%;height:auto;display:block}.chart text{fill:var(--muted);font-size:10px}
.hbar{display:grid;grid-template-columns:26px minmax(80px,1fr) 2fr 70px;gap:10px;align-items:center;padding:6px 0;font-size:14px}
.hbar .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbar .track{height:8px;background:#ffffff1a;border-radius:4px;overflow:hidden}.hbar .track i{display:block;height:100%;background:var(--accent);border-radius:4px}
.stack{display:flex;height:14px;border-radius:7px;overflow:hidden;background:#ffffff1a;margin:8px 0}.stack i{display:block;height:100%}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--muted)}.legend b{color:#fff}.legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
.wrap{border-radius:16px;padding:40px;margin:0 0 16px;min-height:300px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.wrap h2{font-size:1.2rem;margin:0 0 12px;opacity:.85}.wrap .big{font-size:clamp(3rem,9vw,7rem);font-weight:900;line-height:1;letter-spacing:-.03em}
.wrap ol{margin:0;padding:0;list-style:none;font-size:1.6rem;font-weight:800;display:grid;gap:8px}.wrap ol li small{font-weight:500;opacity:.75;font-size:1rem;margin-left:8px}
.wrap-banner{display:block;border-radius:12px;padding:28px 32px;margin-bottom:12px;background:linear-gradient(135deg,#450af5,#c4efd9);color:#000;font-weight:900;font-size:1.8rem}.wrap-banner span{display:block;font-weight:600;font-size:1rem;margin-top:4px}

/* ---- phone Now Playing sheet (also used by the Android app) ---- */
.quick-link{display:flex;align-items:center;gap:12px;background:var(--elev);border-radius:8px;padding:14px 16px;margin-bottom:14px;font-weight:700}
body.app #vol,body.app #b-mute{display:none}
#sheet{position:fixed;inset:0;background:linear-gradient(var(--mini-bg,#3a3a3a),#0b0c10 70%);z-index:60;display:flex;flex-direction:column;padding:12px 24px 24px;overflow-y:auto}
#sheet[hidden]{display:none}#sheet{transition:transform .2s ease-out;animation:sheetup .22s ease-out}@keyframes sheetup{from{transform:translateY(40px);opacity:.4}}
#sheet input[type=range]::-webkit-slider-thumb{opacity:1}#sheet input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,#fff var(--p),#ffffff4d var(--p))}
.sheet-top{display:flex;align-items:center;justify-content:space-between}
.sheet-art{flex:1;display:flex;align-items:center;justify-content:center;padding:18px 0;min-height:0}
.sheet-art img{width:100%;max-width:min(80vw,46vh);aspect-ratio:1;object-fit:cover;border-radius:8px;box-shadow:0 12px 48px #000a;background:#2a2a2a}
.sheet-info{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sheet-title{font-size:1.4rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sheet-seek{margin:16px 0 4px}.sheet-seek input{width:100%}.sheet-times{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
.sheet-ctrls{display:flex;align-items:center;justify-content:space-between;margin:8px 0}
.sheet-ctrls .icon-btn{width:44px;height:44px}.sheet-ctrls .icon-btn .ic{width:26px;height:26px}.sheet-ctrls .icon-btn.big .ic{width:36px;height:36px}
.play-btn.lg{width:64px;height:64px}.play-btn.lg .ic{width:34px;height:34px}
.sheet-extra{display:flex;justify-content:center;gap:10px;margin-top:6px}
#mini-prog{position:absolute;left:8px;right:8px;bottom:0;height:2px;background:#ffffff33;border-radius:2px;display:none}#mini-prog i{display:block;height:100%;background:#fff;width:0}
.queue-page{padding-top:12px}.queue-page h3{font-size:1.4rem;margin:8px 0}
#mobnav{display:none}

.mob-only{display:none}
.quick .qdot{width:10px;height:10px;border-radius:50%;background:var(--blue);position:absolute;right:14px;top:50%;transform:translateY(-50%)}
.quick .qprog{position:absolute;left:68px;right:12px;bottom:8px;height:4px;border-radius:2px;background:#ffffff33;overflow:hidden}.quick .qprog i{display:block;height:100%;background:var(--accent)}
.featured{display:flex;gap:16px;background:#242424;border-radius:8px;overflow:hidden;margin:4px 0 8px;max-width:640px}
.featured .fimg{width:34%;min-width:120px;flex:none;aspect-ratio:1;position:relative;background:var(--hover2)}.featured .fimg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.featured .fimg .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:44px;font-weight:800}
.featured .fbody{flex:1;min-width:0;padding:14px 14px 14px 0;display:flex;flex-direction:column}
.featured .fkind{color:var(--muted);font-size:14px}.featured .ftitle{font-weight:700;font-size:16px;line-height:1.25;margin:4px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.featured .fdesc{color:var(--muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.featured .fact{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:10px}.featured .fact .icon-btn .ic{width:30px;height:30px}
.featured .fplay{width:48px;height:48px;border-radius:50%;background:#fff;color:#000;display:flex;align-items:center;justify-content:center}.featured .fplay:hover{transform:scale(1.06)}.featured .fplay .ic{width:26px;height:26px}
.home-head{display:flex;gap:10px;align-items:center;padding:16px 0 12px}.home-head .filterchips{padding:0;flex:1;position:static}

@media(max-width:900px){
  :root{--top-h:56px;--mini-h:56px;--nav-h:calc(58px + var(--sab,0px))}
  .mob-only{display:flex}
  .filterchips{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;padding:0}.filterchips::-webkit-scrollbar{display:none}
  .filterchips .chip{height:36px;padding:0 16px;font-size:15px;background:#2a2a2a}.filterchips .chip.on{background:var(--accent);color:#000}
  /* tinted mini player floating above the nav */
  #player{height:var(--mini-h);bottom:calc(var(--nav-h) + 6px);left:8px;right:8px;border-radius:8px;background:var(--mini-bg,#3b2a2a);padding:0 8px 0 0;grid-template-columns:1fr auto;box-shadow:0 4px 16px #0008;overflow:hidden}
  #player .np{gap:10px}.np img{width:56px;height:56px;border-radius:0}
  #player .center{max-width:none;margin:0;width:auto}#player .controls{gap:0}.seek,.right{display:none}
  #player .controls #b-prev,#player .controls #b-next,#player .controls #b-back,#player .controls #b-fwd,#player .controls #b-shuffle,#player .controls #b-repeat,#player .controls #b-speed{display:none}
  #player .play-btn{background:none;color:#fff;width:44px;height:44px}#player .play-btn .ic{width:30px;height:30px}
  #player .np-text{max-width:48vw}#np-title{font-weight:700;font-size:14px}#np-sub{font-size:13px}
  #mini-prog{display:block;left:0;right:0;height:2px}
  #media.mini,#media.mini.in-rp{bottom:calc(var(--nav-h) + var(--mini-h) + 14px);right:8px;top:auto;width:60vw;height:34vw;min-width:0;min-height:0}
  #toast{bottom:calc(var(--nav-h) + var(--mini-h) + 20px)}body:not(.has-player) #toast{bottom:calc(var(--nav-h) + 16px)}
  /* shelves swipe sideways like the real thing */
  .shelf{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;margin:0 -16px;padding:0 4px;scrollbar-width:none}.shelf::-webkit-scrollbar{display:none}
  .shelf.wide .card{flex-basis:min(78vw,300px)}
  .shelf .card{flex:0 0 min(46vw,200px);padding:12px;scroll-snap-align:start;background:transparent}
  .grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));margin:0 -12px}
  .card:hover{background:transparent}.artwrap .pbtn{display:none}
  .sec-head h2{font-size:22px}
  .topres{grid-template-columns:1fr}.topcard .pbtn{opacity:1;transform:none}
  .filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:4px -16px 12px;padding:0 16px}.filters::-webkit-scrollbar{display:none}.filters label{flex:none}
  .hero{flex-direction:column;align-items:center;text-align:left;padding-top:8px}.hero h1{font-size:clamp(1.8rem,9vw,3rem)}.hero .cover-lg{width:62vw;height:62vw;max-width:260px;max-height:260px}
  .actionbar{gap:14px;flex-wrap:wrap}.actionbar .big-play{order:10;margin-left:auto}.actionbar select{max-width:118px}.actionbar{gap:12px}
  .hero>div:last-child{align-self:stretch}
  .th,.tr{grid-template-columns:16px 1fr minmax(50px,auto);padding:0 4px}.tr{cursor:pointer;-webkit-tap-highlight-color:transparent}.tr:hover{background:transparent}.tr:active{background:#ffffff14}.tr:hover:not(.playing) .num span{display:inline}.tr:hover:not(.playing) .num .ic{display:none}.th .alb,.tr .alb{display:none}.tr .end .icon-btn{opacity:1}
  .quick{grid-template-columns:1fr 1fr;gap:8px}.quick a{height:56px;font-size:14px;padding-right:8px;background:#1d212b;font-weight:700}.quick .cover{width:56px;height:56px}.quick .pbtn{display:none}
  .quick a span.q{flex:1;min-width:0;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;padding-right:14px}
  .featured{max-width:none}
  .stat-grid{grid-template-columns:1fr 1fr;gap:8px}.stat{padding:14px}.stat .n{font-size:1.5rem}.two{grid-template-columns:minmax(0,1fr)}.panel{padding:16px}
  .hbar{grid-template-columns:20px minmax(70px,1fr) 1.2fr 58px;gap:8px}.wrap{padding:28px 22px;min-height:240px}.wrap ol{font-size:1.25rem}
  #sheet{padding:calc(var(--sat,0px) + 12px) 24px calc(var(--sab,0px) + 24px)}
}

/* ---- in-app dialogs (prompt / confirm replacements) ---- */
.dlg-back{position:fixed;inset:0;background:#000b;z-index:95;display:flex;align-items:center;justify-content:center;padding:16px;animation:fadein .12s forwards;opacity:0}
.dlg{background:#1d212b;border-radius:12px;padding:24px;width:min(480px,100%);display:grid;gap:14px;box-shadow:0 16px 48px #000c;animation:pop .16s ease-out}
.dlg h2{margin:0;font-size:1.35rem;font-weight:800;letter-spacing:-.01em}
.dlg-body{color:var(--muted);line-height:1.5}
.dlg input[name=v]{font-size:15px;padding:11px 14px}
.dlg-check{display:flex;gap:10px;align-items:center;color:var(--text);cursor:pointer}.dlg-check input{width:18px;height:18px;accent-color:var(--accent)}
.dlg-btns{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:6px}.dlg-btns .btn{padding:10px 20px;font-size:14px;border-color:transparent}.dlg-btns .btn:not(.white):not(.danger-fill){color:var(--muted)}.dlg-btns .btn:not(.white):not(.danger-fill):hover{color:#fff}

/* ---- podcast episode list ---- */
.row.ep{align-items:flex-start;padding:16px 12px;border-radius:6px;border-bottom:1px solid #ffffff10}.row.ep:hover{border-color:transparent}
.ep .grow>div{white-space:normal}.ep-t{font-weight:700;font-size:15px;line-height:1.3}
.ep-d{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0 6px;line-height:1.45}
.ep-play{width:36px;height:36px;border-radius:50%;background:#fff;color:#000;display:inline-flex;align-items:center;justify-content:center;flex:none;margin-top:2px}.ep-play:hover{transform:scale(1.06)}.ep-play .ic{width:20px;height:20px}
.row.ep.playing .ep-t{color:var(--accent)}
@media(max-width:900px){
  .dlg-back{align-items:flex-end;padding:0}.dlg{border-radius:16px 16px 0 0;padding:24px 20px calc(var(--sab,0px) + 20px);width:100%;animation:sheetup .2s ease-out}.dlg-btns .btn{flex:1}
  .row.ep{padding:14px 4px}
}
@media(min-width:901px) and (max-width:1400px){#newpl{padding:0;width:36px;justify-content:center;font-size:0;gap:0}#newpl .ic{width:20px;height:20px}}

/* ---- add media (+) ---- */
.add{width:40px;height:40px;color:var(--muted)}.add:hover{color:#fff;transform:scale(1.06)}.add .ic{width:26px;height:26px}
.add-form{display:grid;gap:12px}.add-form[hidden]{display:none}
.add-form input[name=url],.add-form input[name=title]{font-size:15px;padding:11px 14px}
.add-dest{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted)}.add-dest select{min-width:210px}.add-hint{margin-top:-4px}
.add-adv{background:var(--bg-2);border:1px solid var(--line);border-radius:12px;padding:11px 14px}.add-adv summary{cursor:pointer;font-weight:700;color:var(--muted)}.add-adv textarea{width:100%;font-family:var(--mono,ui-monospace,monospace);font-size:12.5px}
.add-status{display:grid;gap:6px}.add-go{padding:12px 20px;font-size:14px;justify-self:start}.add-go:disabled{opacity:.5}
.drop{display:grid;justify-items:center;gap:6px;text-align:center;border:1.5px dashed var(--line-2);background:var(--bg-2);border-radius:14px;transition:border-color .15s,background .15s;padding:30px 16px;cursor:pointer;color:var(--muted)}
.drop:hover,.drop.over,.drop:focus-visible{border-color:var(--accent);background:var(--accent-soft,#ff7a451c);color:var(--text);outline:none}.drop b{color:#fff}
@media(max-width:900px){.add{display:none}}

.sheet-tile{width:100%;max-width:min(80vw,46vh)}.sheet-tile .art{border-radius:8px;box-shadow:0 12px 48px #000a;font-size:64px}

/* ---- sleep timer + live transcript ---- */
.chip.on{background:var(--accent);color:#000}.sheet-extra{flex-wrap:wrap}
.tx{position:relative;display:flex;flex-direction:column;min-height:0;width:100%;height:100%}
.tx-lines{position:relative;flex:1;overflow-y:auto;padding:30% 2px 40% 2px;scrollbar-width:none;-webkit-mask-image:linear-gradient(transparent,#000 8%,#000 88%,transparent);mask-image:linear-gradient(transparent,#000 8%,#000 88%,transparent)}
.tx-lines::-webkit-scrollbar{display:none}
.tx-l{margin:0 0 14px;font-size:21px;line-height:1.35;font-weight:700;color:#ffffff73;cursor:pointer;transition:color .25s}
.tx-l.past{color:#ffffff4d}.tx-l.cur{color:#fff}.tx-l:hover{color:#ffffffcc}
.tx-lines.empty{flex:0 0 0;padding:0;min-height:0}
.tx-status{color:var(--muted);font-size:13px;padding:10px 2px;text-align:center}
.tx-status:not([hidden]):only-child,.tx-lines.empty+.tx-status{margin:auto}
#sheet.with-tx .sheet-art{align-items:stretch;justify-content:stretch;padding:8px 0;overflow:hidden}
.tx-card{height:300px;padding:0 16px;display:flex;flex-direction:column}.tx-card .tx-lines{padding-top:40px}.tx-card .tx-l{font-size:16px;margin-bottom:10px}

/* ---- song info ---- */
.info-grid{display:grid;grid-template-columns:max-content 1fr;gap:10px 18px;margin:0}
.info-grid dt{color:var(--muted);font-size:13px;padding-top:2px}.info-grid dd{margin:0;word-break:break-word;min-width:0}
.info-grid .ok{color:var(--accent)}.info-grid code{word-break:break-all}
.rp-btns{display:inline-flex;align-items:center;gap:2px;flex:none}
@media(max-width:900px){.tr .info{display:none}.info-grid{grid-template-columns:1fr;gap:2px}.info-grid dt{padding-top:10px}}

/* ---- Spotify picker ---- */
.sp-tools{display:flex;gap:8px;align-items:center;margin-bottom:8px}.sp-tools input{flex:1;min-width:0}.sp-tools .btn{white-space:nowrap}
.sp-list{max-height:min(48vh,440px);overflow-y:auto;border-radius:8px;background:#ffffff08}
.sp-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 12px;cursor:pointer;border-bottom:1px solid #ffffff0d}
.sp-row:hover{background:#ffffff10}.sp-row.have{opacity:.5;cursor:default}.sp-row input{width:18px;height:18px;accent-color:var(--accent)}
.sp-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-m{color:var(--muted);font-size:12px;white-space:nowrap}
.sp-foot{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:14px}.sp-foot .muted{flex:1;min-width:140px}
.ok{color:var(--accent)}
@media(max-width:900px){.sp-row{grid-template-columns:22px minmax(0,1fr)}.sp-m{grid-column:2;margin-top:-6px;white-space:normal}.sp-foot .btn{width:100%}}

/* ---- download / job rows ---- */
.job{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;align-items:center;padding:12px;border-radius:8px;border-bottom:1px solid #ffffff10}
.job:hover{background:#ffffff0d}
.job-t{font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.job-d{color:var(--muted);font-size:13px;line-height:1.4;margin-top:3px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.job-side{display:flex;gap:8px;align-items:center;justify-self:end}
.job-bar{grid-column:1/-1;min-width:0}

/* ---- phones: rows and filters wrap instead of squashing text ---- */
@media(max-width:900px){
  .row .grow>div{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .filters label{display:grid;gap:4px;font-size:12px;min-width:0}.filters select,.filters input{width:100%;min-width:0}
  .filters label:has(input[type=number]){grid-column:1/-1;grid-template-columns:auto 1fr 1fr;align-items:center;gap:8px}
}

/* ---- forms ---- */
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.form label:has(>input[type=checkbox]){display:flex;gap:10px;align-items:flex-start;color:var(--text);cursor:pointer;line-height:1.4}
.form label>input[type=checkbox]{margin-top:2px;flex:none;width:18px;height:18px;accent-color:var(--accent)}
.form label>input[type=checkbox]+span{min-width:0}
#modal .chips{flex-wrap:wrap;overflow:visible}
@media(max-width:900px){.sp-list{max-height:30vh}#modal{padding:12px}.sheet{padding:20px 16px}}

/* ---- search results, show previews, empty states ---- */
.btn.outline{border-color:#7c7c7c}.btn .ic{width:16px;height:16px;vertical-align:-3px}
.following{display:inline-flex;align-items:center;height:26px;padding:0 12px;border:1px solid #ffffff55;border-radius:500px;font-size:12px;font-weight:700;color:#fff}
.searchtabs{padding-left:0!important;padding-right:0!important;align-items:center}.searchtabs .sp{flex:1;min-width:8px}
.chip.ghost{background:transparent;color:var(--muted);border:1px solid #ffffff33}.chip.ghost:hover{color:#fff;border-color:#fff;background:transparent}.chip.ghost.on{color:#fff;border-color:#fff;background:transparent}.chip .ic{width:16px;height:16px}
.row.websong{display:grid;grid-template-columns:40px minmax(0,1.4fr) minmax(0,1fr) 48px auto 32px;gap:12px;padding:6px 8px}
.row.websong .cover.sm,.cover.sm{width:40px;height:40px;border-radius:4px;font-size:12px}
.row.websong .tt{color:#fff;font-size:15px}.row.websong .ws-album{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row.websong .ws-dur{text-align:right;font-variant-numeric:tabular-nums}
.row.websong>.icon-btn{opacity:0;color:var(--muted)}.row.websong:hover>.icon-btn,.row.websong>.icon-btn:focus-visible{opacity:1}.row.websong>.icon-btn:hover{color:#fff}
.explicit{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:2px;background:var(--muted);color:#000;font-size:9px;font-weight:700;margin-right:6px;vertical-align:1px}
.topres .row.websong{grid-template-columns:40px minmax(0,1fr) 48px auto 32px}.topres .row.websong .ws-album{display:none}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 20px}.page-head .page-title{margin:0}
.empty-big{display:flex;flex-direction:column;align-items:center;text-align:center;padding:64px 16px;color:var(--muted)}
.empty-big .ic{color:#fff;opacity:.9}.empty-big h2{color:#fff;font-size:1.5rem;margin:16px 0 6px}.empty-big p{margin:0 0 20px;max-width:420px}
.row-btns{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.about{max-width:760px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:900px){
  .row.websong{grid-template-columns:40px minmax(0,1fr) auto 32px;padding:6px 0}
  .row.websong .ws-album,.row.websong .ws-dur{display:none}.row.websong>.icon-btn{opacity:1}
  .row.websong .grow>div{white-space:nowrap;display:block}
  .page-head{margin-top:4px}
}
/* covers: a quiet grey tile while the image loads; the initials tile only when there is no image */
.cover,.art{background:var(--ph,var(--hover2))}
.cover.loading,.art.loading{background:#1d212b}.cover.loading .ph,.art.loading .ph{opacity:0}
.cover img,.art img{animation:imgin .25s ease}@keyframes imgin{from{opacity:0}to{opacity:1}}
.getbtn{border-color:#ffffff40;color:var(--muted)}.row.websong:hover .getbtn{color:#fff;border-color:#fff}
#rel-meta{display:contents}
.row.websong.pop .popn{display:inline-block;width:28px;color:var(--muted);font-variant-numeric:tabular-nums}
.row.websong.pop .grow .muted{padding-left:28px}
.seemore{color:var(--muted);font-weight:700;font-size:14px;padding:12px 8px}.seemore:hover{color:#fff}
.cover:has(img) .ph,.art:has(img) .ph{opacity:0}.cover:has(img),.art:has(img){background:#1d212b}
.getbtn{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
@media (max-width:900px){.getbtn{width:34px;height:34px;padding:0;justify-content:center;font-size:0;gap:0}.getbtn .ic{width:18px;height:18px}}
.autodl{display:flex;gap:8px;align-items:center}.autodl .ic{display:none;width:18px;height:18px}
@media (max-width:900px){
  .podbar{flex-wrap:nowrap;gap:10px}.podbar .autodl .lbl{display:none}.podbar .autodl .ic{display:inline-flex}
  .podbar .autodl select{max-width:120px;padding:6px 8px}.podbar .btn{flex:none}
}
@media (max-width:900px){
  .podbar{gap:8px}.podbar .autodl{flex:0 1 auto;min-width:0;gap:4px}.podbar .autodl select{min-width:0;width:100%;max-width:110px}
  .podbar .big-play{flex:none}.podbar>.icon-btn{flex:none}
}
