:root{
  color-scheme:dark;
  --bg:#0b0b0c; --panel:#141416; --panel2:#1c1c1f; --line:rgba(255,255,255,.08);
  --text:#f5f5f7; --dim:rgba(255,255,255,.82); --faint:rgba(255,255,255,.6);
  --ink:#fff; --track:rgba(255,255,255,.22); --hov:rgba(255,255,255,.08); --wave-dim:rgba(255,255,255,.3);
  --side-bg:#0e0e10; --player-bg:rgba(32,32,36,.72); --tabs-bg:rgba(14,14,16,.88); --menu-bg:rgba(36,36,40,.92); --studio-bg:#161618;
  --pill-bg:#fff; --pill-fg:#000; --pill-hov:#e8e8e8; --shadow:rgba(0,0,0,.4);
  --accent:#ffffff; --r:14px; --side:272px; --playerH:76px; --tabH:56px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,system-ui,sans-serif;
  --safe-b:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
button:disabled{cursor:default}
i[data-i]{display:inline-flex;width:22px;height:22px}
i[data-i] svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
i[data-i].fill svg{fill:currentColor;stroke:none}
[hidden]{display:none!important}

#app{display:grid;grid-template-columns:var(--side) 1fr;height:100%}

/* sidebar */
.side{display:flex;flex-direction:column;gap:20px;padding:22px 14px 22px;border-right:1px solid var(--line);background:var(--side-bg)}
.brand{display:flex;align-items:center;gap:10px;padding:0 8px;text-decoration:none;color:var(--text);font-weight:700;font-size:20px;letter-spacing:-.02em}
.brand img{width:30px;height:30px;border-radius:8px}
.nav{display:flex;flex-direction:column;gap:2px}
.nav button{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:9px;font-size:15px;font-weight:500;color:var(--dim);text-align:left}
.nav button:hover{background:var(--panel)}
.nav button.on{background:var(--panel2);color:var(--text)}
.nav button.on i{color:var(--accent)}
.grow{flex:1}
.mac{padding:14px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel)}
.mac-row{display:flex;align-items:center;gap:8px;font-size:13px}
.mac p{font-size:12px;color:var(--dim);margin:6px 0 12px}
.mac button{width:100%;padding:8px;border-radius:8px;background:var(--panel2);color:var(--faint);font-size:13px;font-weight:600}

/* main */
.main{--px:36px;--pt:28px;overflow-y:auto;padding:var(--pt) var(--px) calc(var(--playerH) + 40px)}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
.page-head h1{font-size:34px;letter-spacing:-.03em;font-weight:700}
.page-head p{color:var(--dim);font-size:14px;margin-top:4px}
.pill{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:99px;background:var(--pill-bg);color:var(--pill-fg);font-weight:600;font-size:14px}
.pill:hover{background:var(--pill-hov)}

.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:20px;margin-bottom:34px}
.card{display:flex;flex-direction:column;gap:10px;text-align:left}
.card .art{width:100%;aspect-ratio:1;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.4);transition:transform .2s}
.card:hover .art{transform:translateY(-3px)}
.card b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card span{font-size:13px;color:var(--dim);margin-top:-6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.sect{font-size:20px;font-weight:700;letter-spacing:-.02em;margin:6px 0 10px}
.rows{display:flex;flex-direction:column}
.row{display:grid;grid-template-columns:44px 1fr 1fr 64px 36px;align-items:center;gap:14px;padding:8px 10px;border-radius:10px;position:relative}
.row:hover{background:var(--panel)}
.row.cur{background:var(--panel2)}
.row .art{width:44px;height:44px;border-radius:7px;position:relative}
.row .art::after{content:"";position:absolute;inset:0;border-radius:7px;background:rgba(0,0,0,.45) center/16px no-repeat;opacity:0;transition:opacity .15s}
.row:hover .art::after{opacity:1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E")}
.row .t{min-width:0}
.row .t b{display:block;font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row.cur .t b{color:var(--accent)}
.row .t span{font-size:12.5px;color:var(--dim)}
.row .al{font-size:13.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .du{font-size:13px;color:var(--dim);text-align:right;font-variant-numeric:tabular-nums;display:flex;justify-content:flex-end;align-items:center;gap:8px}
.badge{font-size:10px;font-weight:700;letter-spacing:0;padding:2px 5px;border-radius:4px;border:1px solid var(--faint);color:var(--dim)}
.row .more{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:var(--dim)}
.row .more:hover{background:var(--panel2);color:var(--text)}

.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:90px 20px}
.empty .art{width:150px;height:150px;border-radius:26px;margin-bottom:12px}
.empty h2{font-size:22px;letter-spacing:-.02em}
.empty p{color:var(--dim);max-width:340px;font-size:14px;line-height:1.5;margin-bottom:10px}
.drop{outline:2px dashed var(--accent);outline-offset:-10px}

.search{display:flex;align-items:center;gap:10px;background:var(--panel2);padding:11px 14px;border-radius:12px;margin-bottom:22px;color:var(--dim)}
.search input{flex:1;background:none;border:0;outline:0;color:var(--text);font:inherit;font-size:16px}

/* player bar */
.player{position:fixed;left:calc(var(--side) + 16px);right:16px;bottom:16px;height:var(--playerH);display:grid;grid-template-columns:minmax(180px,260px) 1fr auto auto;align-items:center;gap:18px;padding:0 18px 0 10px;border-radius:20px;background:var(--player-bg);backdrop-filter:blur(30px) saturate(1.6);-webkit-backdrop-filter:blur(30px) saturate(1.6);border:1px solid var(--line);box-shadow:0 12px 40px rgba(0,0,0,.45);z-index:20}
.p-info{display:flex;align-items:center;gap:12px;text-align:left;min-width:0}
.p-info .art{width:54px;height:54px;border-radius:9px;flex:none}
.meta{display:flex;flex-direction:column;min-width:0}
.meta b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meta span{font-size:12.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wave{width:100%;height:40px;cursor:pointer}
.time{font-size:12.5px;color:var(--dim);font-variant-numeric:tabular-nums;white-space:nowrap}
.ctrl{display:flex;align-items:center;gap:4px}
.ctrl button{width:38px;height:38px;display:grid;place-items:center;border-radius:50%}
.ctrl button:hover{background:var(--hov)}
.ctrl .big{width:44px;height:44px}
.ctrl .big i{width:28px;height:28px}
.ctrl .opt{color:var(--dim)}
.ctrl .opt.on{color:var(--accent)}
.vol{display:flex;align-items:center;gap:6px;color:var(--dim);margin-left:6px}
.vol input{width:84px}
.m-ctrl,.m-bar{display:none}

input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;height:20px;cursor:pointer}
input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,var(--ink) var(--v,0%),var(--track) var(--v,0%))}
input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:var(--track)}
input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:var(--ink)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:0;height:0}
input[type=range]:hover::-webkit-slider-thumb{width:12px;height:12px;border-radius:50%;background:var(--ink);margin-top:-4px}
input[type=range]::-moz-range-thumb{width:0;height:0;border:0}

/* now playing */
.np{position:fixed;inset:0;z-index:40;background:#0a0a0b;transform:translateY(102%);transition:transform .45s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;overflow:hidden}
.np.open{transform:none}
.np-bg{position:absolute;inset:0;overflow:hidden;background:#0a0a0b}
.np-bg-l{position:absolute;inset:-25%;background-size:cover!important;background-position:center!important;filter:blur(70px) saturate(1.6) brightness(.85);transform:scale(1.4);opacity:0;transition:opacity 1.8s ease,transform 3.4s cubic-bezier(.2,.7,.2,1)}
.np-bg-l.in{opacity:1;transform:scale(1.15)}
#pArt,#npArt{position:relative}
.np::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 30% 35%,rgba(0,0,0,0) 0,rgba(0,0,0,.28) 100%),linear-gradient(180deg,rgba(10,10,11,.15) 0,rgba(10,10,11,.35) 45%,rgba(10,10,11,.8) 100%)}
.np>*{position:relative;z-index:1}
.np::after{z-index:0}
.np-top{display:flex;justify-content:space-between;align-items:center;padding:calc(18px + env(safe-area-inset-top,0px)) 24px 0}
.np-top button{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:99px;background:rgba(255,255,255,.12);backdrop-filter:blur(14px);font-size:14px;font-weight:600}
.np-actions{display:flex;gap:8px}
.mobile-only{display:none!important}
.np-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(320px,440px) 1fr;gap:6vw;padding:2vh 7vw 4vh;align-items:center}
.np-left{display:flex;flex-direction:column;gap:22px}
.np-art{width:100%;aspect-ratio:1;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.45),0 0 120px rgba(255,255,255,.06);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.np-art.paused{transform:scale(.9)}
.np-meta b{display:block;font-size:24px;font-weight:700;letter-spacing:-.02em}
.np-meta span{color:var(--dim);font-size:17px}
.scrub .t{display:flex;justify-content:space-between;font-size:12px;color:var(--dim);font-variant-numeric:tabular-nums;margin-top:2px}
.scrub input{width:100%}
.np-ctrl{display:flex;justify-content:space-between;align-items:center}
.np-ctrl button{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:var(--dim)}
.np-ctrl button.on{color:var(--accent)}
.np-ctrl button:hover{background:rgba(255,255,255,.1);color:#fff}
.np-ctrl .big{width:68px;height:68px;color:#fff}
.np-ctrl .big i{width:42px;height:42px}
.np-ctrl i{width:26px;height:26px}

/* lyrics */
.lyrics{height:100%;max-height:78vh;overflow-y:auto;scrollbar-width:none;padding:34vh 0;-webkit-mask-image:linear-gradient(transparent 0,#000 18%,#000 82%,transparent 100%);mask-image:linear-gradient(transparent 0,#000 18%,#000 82%,transparent 100%)}
.lyrics::-webkit-scrollbar{display:none}
.line{display:block;width:100%;text-align:left;font-size:clamp(26px,3.3vw,44px);font-weight:700;line-height:1.18;letter-spacing:-.02em;padding:10px 14px;margin:2px -14px;border-radius:14px;opacity:.38;filter:blur(var(--b,0px));transform-origin:left center;transform:scale(.96);transition:opacity .35s,filter .35s,transform .35s,background .2s}
.line:hover{background:rgba(255,255,255,.07);opacity:.7;filter:blur(0)}
.line.active{opacity:1;filter:blur(0);transform:scale(1)}
.line.gap{font-size:0;padding:14px}
.w{--p:0;display:inline-block;margin-right:.26em;color:transparent;-webkit-text-fill-color:transparent;background-image:linear-gradient(90deg,#fff calc(var(--p)*118% - 9%),rgba(255,255,255,.4) calc(var(--p)*118% + 9%));-webkit-background-clip:text;background-clip:text}
.line.past .w{--p:1}
.lyr-empty{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:0 4px;height:100%;justify-content:center}
.lyr-empty h3{font-size:28px;letter-spacing:-.02em}
.lyr-empty p{color:var(--dim);max-width:380px;line-height:1.5}
.lyrics.empty-wrap{padding:0;-webkit-mask-image:none;mask-image:none}

/* dialog */
.studio{margin:auto;width:min(560px,calc(100vw - 24px));max-height:calc(100vh - 24px);border:1px solid var(--line);border-radius:22px;background:var(--studio-bg);color:var(--text);padding:0;overflow:auto}
.studio::backdrop{background:rgba(0,0,0,.6);backdrop-filter:blur(6px)}
.studio-in{display:flex;flex-direction:column;gap:18px;padding:24px}
.studio header{display:flex;justify-content:space-between;align-items:flex-start}
.studio h2{font-size:22px;letter-spacing:-.02em}
.studio header p{color:var(--dim);font-size:13.5px;margin-top:2px}
.x{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--panel2)}
.field{display:flex;flex-direction:column;gap:7px}
.field label{font-size:13px;font-weight:600}
.field label em{font-style:normal;color:var(--faint);font-weight:500;margin-left:6px}
.field small{font-size:12px;color:var(--dim);line-height:1.45}
.field.row{flex-direction:row;align-items:center;gap:12px}
.field.row input{flex:1}
.field.row output{width:64px;text-align:right;font-size:12.5px;color:var(--dim);font-variant-numeric:tabular-nums}
select,textarea{background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;outline:0;resize:vertical}
select:focus,textarea:focus{border-color:rgba(255,255,255,.3)}
.status{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--dim)}
.bar{height:5px;border-radius:5px;background:var(--panel2);overflow:hidden}
.bar i{display:block;height:100%;width:0;background:var(--ink);transition:width .2s}
.studio footer{display:flex;justify-content:space-between;gap:10px}
.ghost{padding:11px 16px;border-radius:99px;background:var(--panel2);font-size:14px;font-weight:600;color:var(--dim)}
.solid{padding:11px 20px;border-radius:99px;background:var(--pill-bg);color:var(--pill-fg);font-size:14px;font-weight:700}
.solid:disabled{opacity:.5}

/* menu & toast */
.menu{position:fixed;z-index:60;min-width:200px;padding:6px;border-radius:14px;background:var(--menu-bg);backdrop-filter:blur(24px);border:1px solid var(--line);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:9px;font-size:14px;text-align:left}
.menu button:hover{background:var(--hov)}
.menu .danger{color:#ff6b6b}
.toast{position:fixed;left:50%;bottom:calc(var(--playerH) + 40px);transform:translateX(-50%);z-index:70;padding:11px 18px;border-radius:99px;background:var(--pill-bg);color:var(--pill-fg);font-size:14px;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.4);max-width:90vw}

/* mobile */
.tabs{display:none}
@media (max-width:820px){
  #app{display:block}
  .side{display:none}
  .main{height:100%;--px:18px;--pt:calc(18px + env(safe-area-inset-top,0px));padding:var(--pt) var(--px) calc(var(--tabH) + 60px + 32px + var(--safe-b))}
  .page-head h1{font-size:30px}
  .shelf{grid-template-columns:repeat(2,1fr);gap:14px}
  .row{grid-template-columns:52px 1fr 32px;gap:14px;padding:7px 4px}
  .row .art{width:52px;height:52px;border-radius:8px}
  .row .t b{font-size:16px}
  .row .t span{font-size:13.5px}
  .row .al,.row .du .time-t{display:none}
  .row .du{grid-column:auto;order:3}
  .row .du .dur{display:none}
  /* bottom bar: flat, square, full width and attached to the screen edge (TIDAL-style), not a floating pill */
  .tabs{display:flex;gap:0;position:fixed;left:0;right:0;bottom:0;height:calc(var(--tabH) + var(--safe-b));padding:0 0 var(--safe-b);border-radius:0;background:var(--side-bg);border-top:1px solid var(--line);box-shadow:none;z-index:30}
  .tabs button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:0;font-size:10.5px;font-weight:600;color:var(--faint);background:none;transition:color .2s}
  .tabs button i{width:24px;height:24px}
  .tabs button.on{color:var(--text);background:none}
  .player{left:8px;right:8px;bottom:calc(var(--tabH) + var(--safe-b) + 8px);height:60px;grid-template-columns:1fr auto;padding:0 8px 0 8px;gap:8px;border-radius:10px;overflow:hidden}
  .wave,.time,.ctrl{display:none}
  .p-info .art{width:44px;height:44px;border-radius:6px}
  .m-ctrl{display:flex;gap:2px}
  .m-ctrl button{width:42px;height:42px;display:grid;place-items:center}
  .m-ctrl i{width:26px;height:26px}
  .m-bar{display:block;position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--track)}
  .m-bar i{display:block;height:100%;width:0;background:var(--ink)}
  .toast{bottom:calc(var(--tabH) + 60px + 24px + var(--safe-b))}

  .np-body{grid-template-columns:1fr;padding:2vh 24px calc(24px + var(--safe-b));gap:0;align-items:stretch}
  .np-left{height:100%;justify-content:center;gap:20px}
  .np-top{padding:calc(14px + env(safe-area-inset-top,0px)) 16px 0}
  .np-art{max-width:min(100%,44svh);margin:0 auto 4px}
  .np-meta b{font-size:26px}
  .np-meta span{font-size:18px}
  .np.lyr .np-left{display:none}
  .np:not(.lyr) .lyrics{display:none}
  .mobile-only{display:inline-flex!important}
  .lyrics{max-height:none;padding:22vh 0}
  .line{font-size:28px}
}
@media (max-width:820px) and (max-height:700px){ .np-art{max-width:34vh} }
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* immersive now-playing stays dark in both themes */
.np{--text:#f5f5f7;--dim:rgba(255,255,255,.84);--faint:rgba(255,255,255,.62);--ink:#fff;--track:rgba(255,255,255,.22);--hov:rgba(255,255,255,.1);color:#f5f5f7}

/* light theme */
:root[data-theme="light"]{
  /* the second theme is GREY (the key stays "light" so saved choices keep working) */
  color-scheme:dark;
  --bg:#3b3b3f; --panel:#47474c; --panel2:#515157; --line:rgba(255,255,255,.1);
  --text:#f5f5f7; --dim:rgba(255,255,255,.86); --faint:rgba(255,255,255,.64);
  --ink:#fff; --track:rgba(255,255,255,.24); --hov:rgba(255,255,255,.09); --wave-dim:rgba(255,255,255,.3);
  --side-bg:#333337; --player-bg:rgba(71,71,76,.8); --tabs-bg:rgba(59,59,63,.92); --menu-bg:rgba(71,71,76,.96); --studio-bg:#404045;
  --pill-bg:#fff; --pill-fg:#000; --pill-hov:#e8e8e8; --shadow:rgba(0,0,0,.35);
  --accent:#ffffff;
}
:root[data-theme="light"] .card .art,:root[data-theme="light"] .hero .art{box-shadow:0 10px 30px var(--shadow)}
:root[data-theme="light"] .player{box-shadow:0 12px 40px rgba(40,30,20,.14)}
:root[data-theme="light"] .studio::backdrop{background:rgba(30,25,20,.35)}
body{transition:background-color .25s,color .25s}

/* new bits */
.icon-btn{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--panel2);color:var(--text);flex:none}
.icon-btn:hover{background:var(--hov)}
.icon-btn i{width:20px;height:20px}
.head-actions{display:flex;gap:8px;align-items:center}
.pill.alt{background:var(--panel2);color:var(--text)}
.pill.alt:hover{background:var(--hov)}
.banner{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--dim);font-size:13px;margin-bottom:22px}
.banner i{width:18px;height:18px;flex:none}
.back{display:inline-flex;align-items:center;gap:2px;margin:-8px 0 14px -8px;padding:6px 12px 6px 6px;border-radius:99px;color:var(--dim);font-size:14px;font-weight:600}
.back:hover{background:var(--hov);color:var(--text)}
.back i{width:20px;height:20px}
.hero{display:flex;gap:28px;align-items:flex-end;margin-bottom:28px}
.hero .art{width:210px;height:210px;border-radius:14px;flex:none;box-shadow:0 18px 50px var(--shadow)}
.hero h1{font-size:34px;letter-spacing:-.03em;font-weight:700}
.hero p{color:var(--dim);margin-top:4px;font-size:14px}
.hero .acts{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap;align-items:center}
.row .art,.card .art,.p-info .art,.np-art{background-size:cover;background-position:center}
.cover-pick{display:flex;gap:16px;align-items:center}
.cover-pick .art{width:104px;height:104px;border-radius:14px;flex:none;box-shadow:0 8px 24px var(--shadow)}
.cover-pick .btns{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.btn-sm{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:99px;background:var(--panel2);font-size:13px;font-weight:600}
.btn-sm:hover{background:var(--hov)}
.btn-sm i{width:16px;height:16px}
.studio input[type=text]{background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;outline:0;width:100%}
.studio input[type=text]:focus{border-color:var(--faint)}
@media (max-width:820px){
  .hero{flex-direction:column;align-items:flex-start;gap:18px}
  .hero .art{width:min(70vw,240px);height:min(70vw,240px)}
  .page-head{align-items:center}
}

.lyrics.snap .line{transition:none}
.model-note{font-size:12.5px;color:var(--dim);line-height:1.45}

.w.ad{font-style:italic}
.line .w.ad{opacity:.75}
.card.artist .art,.hero.artist .art{border-radius:50%}
.hero .bio{margin:8px 0 12px;max-width:520px;line-height:1.5;color:var(--dim)}
.sect{margin:22px 0 8px}

/* typography */
body{font-feature-settings:"cv11","ss03","calt";letter-spacing:-.011em;font-weight:450}
h1,h2,h3{letter-spacing:-.03em;font-weight:700}
.line{font-weight:650;letter-spacing:-.028em}
/* minimal sidebar */
html[data-side=closed]{--side:76px}
#app{transition:grid-template-columns .3s cubic-bezier(.2,.8,.2,1)}
.player{transition:left .3s cubic-bezier(.2,.8,.2,1)}
.side{gap:18px;padding:18px 10px;overflow:hidden;border-right:1px solid var(--line)}
.side-top{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:34px;padding:0 2px 0 6px}
.brand{padding:0;gap:9px;font-size:15px;font-weight:650;letter-spacing:-.025em;white-space:nowrap}
.brand img{width:22px;height:22px;border-radius:6px}
.side-tgl{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;color:var(--faint);flex:none;transition:color .2s,background .2s}
.side-tgl:hover{color:var(--text);background:var(--hov)}
.side-tgl i{width:20px;height:20px}
.side-tgl .bar{transform-box:fill-box;transform-origin:left center;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
html[data-side=open] .side-tgl .bar{transform:scaleX(2.6)}
.nav{gap:1px}
.nav button{gap:11px;padding:8px 9px;border-radius:8px;font-size:13.5px;font-weight:500;white-space:nowrap;color:var(--faint);transition:color .2s,background .2s}
.nav button i{width:19px;height:19px;flex:none}
.nav button:hover{background:var(--hov);color:var(--text)}
.nav button.on{background:transparent;color:var(--text)}
.nav button span,.brand span{transition:opacity .2s}
html[data-side=closed] .side{padding:18px 8px}
html[data-side=closed] .side-top{justify-content:center;padding:0}
html[data-side=closed] .brand{display:none}
html[data-side=closed] .nav button{justify-content:center;padding:10px 0}
html[data-side=closed] .nav button span{display:none}
@media (max-width:820px){.side-tgl{display:none}}

/* bass-reactive now-playing (driven by --kick/--sx/--sy from JS; individual transform props so the pause-shrink still works) */
.np{--kick:0;--sx:0px;--sy:0px;--glow:0}
.np-bg{scale:calc(1.04 + var(--kick)*.07);translate:calc(var(--sx)*-1.6) calc(var(--sy)*-1.6);filter:brightness(calc(.92 + var(--kick)*.28)) saturate(calc(1 + var(--kick)*.35));will-change:scale,translate,filter}
.np-art{box-shadow:0 24px 70px rgba(0,0,0,.45),0 0 calc(40px + var(--kick)*110px) rgba(255,255,255,calc(.05 + var(--kick)*.16))}
@media (prefers-reduced-motion:reduce){.np-bg{scale:none;translate:none;filter:none}}

/* ---------- unavailable (greyed) controls ---------- */
.unavail,.unavail:hover{opacity:.42;cursor:not-allowed;pointer-events:none}
.np-top button.unavail{background:rgba(255,255,255,.06);color:rgba(255,255,255,.7)}
.pill.unavail{background:var(--panel2);color:var(--dim)}
.menu .unavail{justify-content:flex-start}
.menu .unavail em{font-style:normal;margin-left:auto;font-size:12px;color:var(--dim)}

/* ---------- release & artist pages ---------- */
.bleed{position:relative;isolation:isolate;overflow:hidden;margin:calc(var(--pt)*-1) calc(var(--px)*-1) 0;padding:var(--pt) var(--px) 0}
.bleed-bg{position:absolute;inset:0;z-index:-1;background-size:cover!important;background-position:center 22%!important}
.bleed::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.topbar{display:flex;justify-content:space-between;align-items:center}
.round{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(28,28,32,.5);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);border:1px solid rgba(255,255,255,.1)}
.round:hover{background:rgba(28,28,32,.7)}
.round i{width:22px;height:22px}
.link{display:inline-flex;align-items:center;gap:1px;font:inherit;color:inherit}
.link i{width:17px;height:17px;opacity:.7}
.meta{color:var(--dim)}

.hero-album .bleed-bg{inset:-60px;filter:blur(48px) saturate(1.5) brightness(.62);transform:scale(1.15)}
.hero-album::after{background:linear-gradient(180deg,rgba(0,0,0,.1) 0,rgba(0,0,0,.2) 55%,var(--bg) 100%)}
.ha-art{display:flex;justify-content:center;margin-top:16px}
.ha-art .art{width:min(64vw,300px);aspect-ratio:1;border-radius:10px;box-shadow:0 24px 60px rgba(0,0,0,.5);background-size:cover}
.ha-text{text-align:center;padding:24px 0 26px}
.ha-text h1{font-size:clamp(26px,7.4vw,36px);line-height:1.1}
.ha-text .by{margin-top:8px;font-size:16px;font-weight:600;color:var(--dim)}
.ha-text .meta{margin-top:8px;font-size:13px;letter-spacing:.02em;color:var(--faint)}
.bigacts{display:flex;gap:12px;margin:2px 0 6px}
.bigbtn{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;height:52px;border-radius:16px;background:var(--panel2);font-size:17px;font-weight:650;letter-spacing:-.02em}
.bigbtn i{width:21px;height:21px}
.bigbtn.light{background:var(--pill-bg);color:var(--pill-fg)}
.bigbtn:not(.light):hover{background:var(--hov)}
.quick{display:flex;justify-content:space-around;margin:14px 0 14px}
.quick button{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:72px;padding:8px 6px;border-radius:12px;font-size:12.5px;font-weight:600}
.quick button:hover{background:var(--hov)}
.quick i{width:26px;height:26px}
.tl{display:flex;flex-direction:column;margin:0 -4px}
.tr{display:grid;grid-template-columns:34px 1fr auto 36px;align-items:center;gap:6px;padding:10px 4px;min-height:62px;border-radius:12px}
.tr:hover{background:var(--panel)}
.tr.cur{background:var(--panel2)}
.tr .n{color:var(--dim);font-size:17px;font-weight:500;text-align:center;font-variant-numeric:tabular-nums}
.tr .t,.trk .t{min-width:0}
.tr .t b,.trk .t b{display:block;font-size:16.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr .t span,.trk .t span{display:block;font-size:14px;color:var(--dim);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr .more,.trk .more{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:var(--dim)}
.tr .more:hover,.trk .more:hover{background:var(--panel2);color:var(--text)}

.hero-artist{min-height:min(60svh,520px);display:flex;flex-direction:column;justify-content:space-between;padding-bottom:6px}
.hero-artist::after{background:linear-gradient(180deg,rgba(0,0,0,.3) 0,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 45%,var(--bg) 96%)}
.ah-text{padding-top:90px}
.ah-text h1{font-size:clamp(36px,11vw,60px);line-height:1.02;letter-spacing:-.04em}
.ah-text .meta{margin-top:10px;font-size:15px;font-weight:600}
.circ{display:flex;gap:12px;margin:22px 0 0}
.circ button{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:var(--panel2);color:var(--text)}
.circ button:hover{background:var(--hov)}
.circ button.go{background:var(--pill-bg);color:var(--pill-fg)}
.circ i{width:28px;height:28px}
.circ .go i{width:30px;height:30px}
.atabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:22px 0 8px}
.atabs button{padding:0 0 12px;font-size:17px;font-weight:650;color:var(--faint);margin-bottom:-1px;border-bottom:2px solid transparent}
.atabs button.on{color:var(--text);border-bottom-color:var(--text)}
.sech{display:flex;justify-content:space-between;align-items:baseline}
.sech button{font-size:15px;font-weight:600;color:var(--dim)}
.sech button:hover{color:var(--text)}
.sect{font-size:24px}
.trks{display:flex;flex-direction:column;margin:2px 0 8px}
.trk{display:grid;grid-template-columns:auto 1fr auto 36px;align-items:center;gap:16px;padding:8px 0;border-radius:12px}
.trk .art{width:64px;height:64px;border-radius:6px;background-size:cover;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.trk.cur .t b{color:var(--accent)}
.trk:hover{background:var(--hov)}
.bio-t{line-height:1.6;color:var(--text);max-width:640px;margin:12px 0}
.bio-t.dim,.stats{color:var(--dim)}
.stats{font-size:14px;margin-top:8px}

html[data-theme="light"] .hero-album .bleed-bg{filter:blur(48px) saturate(1.3) brightness(.75);opacity:.8}
html[data-theme="light"] .hero-album::after{background:linear-gradient(180deg,rgba(0,0,0,.1) 0,rgba(59,59,63,.3) 55%,var(--bg) 100%)}
html[data-theme="light"] .ha-art .art{box-shadow:0 20px 50px rgba(40,30,20,.25)}

@media (min-width:821px){
  .hero-album{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"top top" "art text";column-gap:34px;align-items:end;padding-bottom:30px}
  .hero-album .topbar{grid-area:top}
  .ha-art{grid-area:art;margin-top:26px}
  .ha-art .art{width:230px}
  .ha-text{grid-area:text;text-align:left;padding:0}
  .ha-text h1{font-size:48px}
  .bigacts{max-width:420px}
  .quick{justify-content:flex-start;gap:8px}
  .hero-artist{min-height:440px}
  .tr .t b,.trk .t b{font-size:15px}
  .tr .t span,.trk .t span{font-size:13px}
  .trk .art{width:52px;height:52px}
  .trks,.tl{max-width:820px}
}

/* ---------- mobile: dialogs become bottom sheets ---------- */
@media (max-width:820px){
  .studio{margin:auto 0 0;width:100%;max-width:100%;max-height:92dvh;border-radius:24px 24px 0 0;border-bottom:0}
  .studio-in{padding:20px 20px calc(22px + var(--safe-b))}
  .studio input[type=text],select,textarea{font-size:16px}
  .menu{min-width:220px}
  .page-head h1{font-size:32px}
}

.ah-bio{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left;margin-top:10px;max-width:560px;font-size:14.5px;line-height:1.45;color:var(--dim)}
.ah-bio:hover{color:var(--text)}

/* ---------- explicit (E) and clean tags, release version chips ---------- */
.eb,.cb{font-style:normal}
.eb{display:inline-grid;place-items:center;width:15px;height:15px;margin-left:7px;border-radius:3px;background:var(--dim);color:var(--bg);font-size:10px;font-weight:800;letter-spacing:0;line-height:1;vertical-align:1px;text-indent:0}
.eb.big{width:22px;height:22px;font-size:14px;border-radius:4px;margin-left:10px;vertical-align:5px}
.cb{display:inline-block;margin-left:7px;padding:2px 5px;border-radius:3px;border:1px solid var(--faint);color:var(--dim);font-size:9.5px;font-weight:700;letter-spacing:0;line-height:1.1;vertical-align:1px}
.np .eb{background:rgba(255,255,255,.62);color:#0a0a0b}
.model-note .eb{margin:0 2px}
.vchips{display:flex;gap:8px;margin:2px 0 12px}
.vchips button{padding:7px 14px;border-radius:99px;background:var(--panel2);font-size:13px;font-weight:600;color:var(--dim)}
.vchips button.on{background:var(--pill-bg);color:var(--pill-fg)}

/* ================= motion ================= */
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;transform:scale(.88) translateY(10px)}to{opacity:1;transform:none}}
@keyframes pop{0%{transform:scale(1)}40%{transform:scale(1.35)}100%{transform:scale(1)}}
@keyframes ring{from{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(26)}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes eqbar{0%,100%{height:25%}50%{height:100%}}
@keyframes slideUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,14px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes menuIn{from{opacity:0;transform:scale(.94) translateY(-4px)}to{opacity:1;transform:none}}
@keyframes dlgIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.08)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes breathe{0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.0)}50%{box-shadow:0 0 0 7px rgba(255,255,255,.1)}}

/* a page glides in when you go somewhere new; lists cascade in */
.main.enter>*{animation:rise .55s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0)*55ms)}
.main.enter>.bleed{animation-name:fadeIn;animation-duration:.5s}
.main.enter .shelf>*,.main.enter .rows>*,.main.enter .tl>*,.main.enter .trks>*{animation:rise .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--j,0)*40ms + 140ms)}
.main.enter .ha-art>*{animation:popIn .7s cubic-bezier(.2,.9,.3,1.2) both .1s}
.empty .art{animation:float 4s ease-in-out infinite}

/* feel: hover lifts and press-in */
.card .art,.plart{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s}
.card:hover .art{transform:translateY(-4px) scale(1.02);box-shadow:0 16px 36px rgba(0,0,0,.45)}
.pill,.bigbtn,.circ button,.round,.icon-btn,.quick button,.vchips button,.ctrl button,.np-ctrl button,.btn-sm,.solid,.ghost,.atabs button,.m-ctrl button{transition:transform .16s cubic-bezier(.2,.8,.2,1),background .2s,color .2s,box-shadow .2s}
.pill:active,.bigbtn:active,.circ button:active,.round:active,.icon-btn:active,.quick button:active,.vchips button:active,.ctrl button:active,.np-ctrl button:active,.btn-sm:active,.solid:active,.ghost:active,.m-ctrl button:active{transform:scale(.94)}
.card:active{transform:scale(.98)}
.card{transition:transform .16s}
.bigbtn:hover,.pill:hover{transform:translateY(-1px)}
.row,.tr,.trk{transition:background .18s,transform .18s}
.row:active,.tr:active,.trk:active{transform:scale(.99)}
.nav button:hover{transform:translateX(2px)}
.nav button.on i,.tabs button.on i{animation:pop .45s cubic-bezier(.2,.9,.3,1.4)}
.atabs button{transition:color .2s,border-color .25s}
.player{animation:slideUp .5s cubic-bezier(.2,.9,.3,1.1)}
body.playing .ctrl .big{animation:breathe 2.4s ease-in-out infinite}
.toast{animation:toastIn .35s cubic-bezier(.2,.9,.3,1.3)}
.menu{animation:menuIn .18s ease-out;transform-origin:top right}
.studio[open]{animation:dlgIn .32s cubic-bezier(.2,.9,.3,1.1)}
.studio[open]::backdrop{animation:fadeIn .25s}
@media (max-width:820px){.studio[open]{animation:sheetUp .38s cubic-bezier(.2,.9,.3,1)}}

/* equalizer on the song that is playing */
.eq{display:inline-flex;align-items:flex-end;gap:2px;height:14px;vertical-align:middle}
.eq s{display:block;width:3px;height:30%;border-radius:1px;background:currentColor;text-decoration:none}
body.playing .eq s{animation:eqbar .9s ease-in-out infinite}
.eq s:nth-child(2){animation-delay:-.35s!important}.eq s:nth-child(3){animation-delay:-.7s!important}
.row .art .eq,.trk .art .eq{position:absolute;left:50%;top:50%;translate:-50% -50%;height:18px;color:#fff;z-index:2}
.row.cur .art::after{opacity:1;background-image:none}
.trk .art{position:relative}
.trk.cur .art::after{content:"";position:absolute;inset:0;border-radius:6px;background:rgba(0,0,0,.45)}
.tr .n .eq{color:var(--accent)}

/* follow */
.bigbtn.follow{position:relative;overflow:hidden}
.bigbtn.follow.on{background:transparent;box-shadow:inset 0 0 0 1.5px var(--text)}
.bigbtn.follow.pop i{animation:pop .5s cubic-bezier(.2,.9,.3,1.5)}
.bigbtn.follow.pop i svg path{stroke-dasharray:40;stroke-dashoffset:40;animation:draw .4s .08s forwards}
.bigbtn.follow.pop::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px;border-radius:50%;border:2px solid var(--text);animation:ring .6s ease-out forwards;pointer-events:none}

/* locked: made on another device */
.lock-note{display:flex;align-items:center;gap:10px;margin:14px 0;padding:11px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--dim);font-size:13px;line-height:1.4}
.lock-note i{width:18px;height:18px;flex:none}
.round[data-act="locked"]{opacity:.8}
.menu .unavail i{opacity:.8}

/* ================= site playlists: TIDAL-style cover tiles ================= */
.plart{position:relative;width:100%;aspect-ratio:1;border-radius:8px;overflow:hidden;isolation:isolate;background:var(--c,#222);box-shadow:0 10px 30px rgba(0,0,0,.35);container-type:inline-size;font-family:var(--font)}
.plart .pl-ph{position:absolute;overflow:hidden;background:#1a1a1d}
.plart .pl-ph i,.plart .pl-ph svg{position:absolute;inset:0;width:100%;height:100%;display:block;background-size:cover;background-position:center 22%}
.plart .pl-ph.duo i:nth-child(1){right:50.4%}
.plart .pl-ph.duo i:nth-child(2){left:50.4%}
.pl-side .pl-ph{left:5.3cqw;top:5.3cqw;bottom:5.3cqw;width:77.5cqw}
.pl-side .pl-v{position:absolute;right:2.4cqw;top:24cqw;bottom:5.3cqw;width:14cqw;display:flex;align-items:flex-end;justify-content:center}
.pl-v b{display:block;writing-mode:vertical-rl;transform:rotate(180deg);color:var(--ink);font-weight:800;letter-spacing:-.01em;line-height:1;white-space:nowrap;max-height:100%;overflow:hidden}
.pl-head .pl-t{position:absolute;left:6.4cqw;top:5.4cqw;right:22cqw}
.pl-t b{display:block;color:var(--acc);font-weight:800;letter-spacing:-.025em;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-t span{display:block;margin-top:1cqw;color:var(--ink);font-weight:800;letter-spacing:-.02em;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-head .pl-ph{left:5.3cqw;right:5.3cqw;bottom:5.3cqw;top:35cqw}
.pl-mark{position:absolute;z-index:2;top:5.3cqw;right:4.4cqw;width:12cqw;aspect-ratio:152/130;background:var(--ink);-webkit-mask:url(mark.png) center/contain no-repeat;mask:url(mark.png) center/contain no-repeat;opacity:.95}
.card.pl .plart{transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.card.pl:hover .plart{transform:translateY(-4px)}
.card.pl>b{margin-top:2px}
.ha-art .plart{width:min(64vw,300px);border-radius:10px;box-shadow:0 24px 60px rgba(0,0,0,.5)}
@media (min-width:821px){.ha-art .plart{width:230px}}
.pl-hero .bleed-bg{background:#222}

/* ================= keep motion gentle for people who ask ================= */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* ===== v2 UI pass: bigger desktop sidebar, icon-only mobile bar, theme fixes ===== */
@media (min-width:821px){
  .side{padding:20px 16px;gap:22px}
  .side-top{min-height:42px;padding:0 4px 0 8px}
  .brand{font-size:20px;gap:12px}
  .brand img{width:32px;height:32px;border-radius:9px}
  .side-tgl{width:38px;height:38px}
  .side-tgl i{width:22px;height:22px}
  .nav{gap:4px}
  .nav button,.side-theme{display:flex;align-items:center;gap:14px;width:100%;padding:12px 14px;border-radius:12px;font-size:15.5px;font-weight:600;color:var(--dim);text-align:left;white-space:nowrap}
  .nav button i,.side-theme i{width:24px;height:24px;flex:none}
  .side-theme:hover{background:var(--panel);color:var(--text)}
  .nav .s-search{background:var(--panel2);border-radius:99px;padding:12px 18px;margin-bottom:10px;font-weight:500}
  .nav .s-search:hover{background:var(--hov);color:var(--text)}
  .nav .s-search.on{background:var(--panel2);box-shadow:inset 0 0 0 1px var(--faint);color:var(--text)}
  html[data-side=closed] .side{padding:20px 12px}
  html[data-side=closed] .nav .s-search{border-radius:12px;padding:12px 0}
  html[data-side=closed] .side-theme{justify-content:center;padding:12px 0}
  html[data-side=closed] .side-theme span{display:none}
  .page-head [data-act="theme"],.topbar [data-act="theme"]{display:none}
}
@media (max-width:820px){
  :root{--tabH:54px}
  .side-theme{display:none}
  .tabs button{position:relative;gap:0;color:var(--faint)}
  .tabs button i{width:27px;height:27px}
  .tabs button span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .tabs button.on{color:var(--text)}
  .tabs button.on i svg{stroke-width:2.3}
  .tabs button:active i{transform:scale(.88)}
  .tabs button i{transition:transform .15s}
}
.tb-r{display:flex;gap:8px;align-items:center}

/* theme fixes */
html.theming *,html.theming *::before,html.theming *::after{transition:background-color .28s,color .28s,border-color .28s,box-shadow .28s,fill .28s,stroke .28s!important}
.np{--accent:#fff;--pill-bg:#fff;--pill-fg:#000;--pill-hov:#e8e8e8;--panel:rgba(255,255,255,.06);--panel2:rgba(255,255,255,.1);--line:rgba(255,255,255,.12);--shadow:rgba(0,0,0,.4)}
html[data-theme="light"] .hero-artist .bleed-bg{filter:saturate(1.15) brightness(1.08);opacity:.75}
html[data-theme="light"] .hero-artist::after{background:linear-gradient(180deg,rgba(255,255,255,.12) 0,rgba(246,245,243,0) 30%,rgba(246,245,243,.25) 55%,var(--bg) 96%)}
html[data-theme="light"] .menu{box-shadow:0 12px 36px rgba(40,30,20,.18)}
html[data-theme="light"] .toast{box-shadow:0 10px 30px rgba(40,30,20,.22)}
html[data-theme="light"] .trk .art{box-shadow:0 4px 14px rgba(40,30,20,.18)}

/* ===== fullscreen player styles: Artwork / Grey / Black ===== */
.np-top button{color:var(--text)}
.np-artist{display:block;color:var(--dim);font-size:17px;font-weight:500;text-align:left;padding:0;border-radius:6px}
.np-artist:not(:disabled):hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.np[data-style="grey"],.np[data-style="black"]{--nb:#2b2b2e;--nl:rgba(255,255,255,.06)}
.np[data-style="black"]{--nb:#000}
.np[data-style="grey"] .np-bg,.np[data-style="black"] .np-bg{background:var(--nb);transition:background .5s}
.np[data-style="grey"] .np-bg-l,.np[data-style="black"] .np-bg-l{opacity:0!important}
.np[data-style="grey"]::after{background:radial-gradient(90% 70% at 25% 20%,rgba(255,255,255,.07),transparent 70%)}
.np[data-style="black"]::after{background:none}
.np[data-style="grey"] .np-art,.np[data-style="black"] .np-art{box-shadow:0 20px 50px rgba(0,0,0,.45)}
.np{background:var(--nb,#0a0a0b)}
/* artwork shape */
.np[data-shape="square"] .np-art{border-radius:3px}
.np[data-shape="circle"] .np-art{border-radius:50%}
/* lyrics size and options */
.np[data-lsize="s"] .line{font-size:clamp(20px,2.4vw,32px)}
.np[data-lsize="l"] .line{font-size:clamp(32px,4.2vw,58px)}
.np.nowords .w{color:inherit;-webkit-text-fill-color:currentColor;background:none}
.np.nopulse{--kick:0!important}
.np.nopulse .np-bg{scale:1.04;translate:none;filter:none}
/* options popover */
.np-pop{position:absolute;z-index:5;top:calc(66px + env(safe-area-inset-top,0px));right:24px;width:min(340px,calc(100vw - 32px));max-height:calc(100svh - 110px);overflow:auto;display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:18px;background:rgba(36,36,40,.92);backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);box-shadow:0 20px 60px rgba(0,0,0,.45);animation:popIn .22s cubic-bezier(.2,.9,.3,1.1)}
.pop-row{display:flex;flex-direction:column;gap:7px}
.pop-row:has(.sw){flex-direction:row;align-items:center;justify-content:space-between}
.pop-row>b{font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--dim)}
.seg{display:flex;padding:3px;gap:2px;border-radius:11px;background:rgba(255,255,255,.08)}
.seg button{flex:1;padding:7px 4px;border-radius:8px;font-size:13px;font-weight:600;color:var(--dim)}
.seg button.on{background:#fff;color:#000}
.sw{width:44px;height:26px;border-radius:99px;background:rgba(255,255,255,.2);position:relative;flex:none;transition:background .2s}
.sw i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.sw[aria-checked="true"]{background:#34c759}
.sw[aria-checked="true"] i{transform:translateX(18px)}
#npPop input[type=range]{width:100%}
@media (max-width:820px){.np-pop{right:16px;left:16px;width:auto}.np-top button span{display:none}.np-top button{padding:10px 12px}#npLyricsEdit span{display:inline}}
/* artist profile */
.a-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0 6px;max-width:560px}
.a-stats div{display:flex;flex-direction:column;gap:2px;padding:12px 10px;border-radius:14px;background:var(--panel);border:1px solid var(--line);text-align:center}
.a-stats b{font-size:20px;font-weight:700;letter-spacing:-.02em}
.a-stats span{font-size:11.5px;color:var(--dim);text-transform:none;letter-spacing:0;font-weight:600}
.sortbar{display:flex;gap:8px;margin:8px 0 6px;flex-wrap:wrap}
.sortbar button{padding:6px 14px;border-radius:99px;background:var(--panel2);color:var(--dim);font-size:13px;font-weight:600}
.sortbar button.on{background:var(--pill-bg);color:var(--pill-fg)}
.quick{flex-wrap:wrap}

/* ===== TIDAL-style shelves ===== */
.shead{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px}
.shead .sect{margin:0;font-size:22px}
.sarrows{display:flex;align-items:center;gap:8px}
.sarrows button:not(.va){width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--panel2);color:var(--text)}
.sarrows button:not(.va):hover{background:var(--hov)}
.sarrows i{width:18px;height:18px}
.sarrows .va{margin-left:8px;font-size:14px;font-weight:600;color:var(--dim)}
.sarrows .va:hover{color:var(--text)}
.shelf.row-scroll{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(150px,188px);gap:18px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin:0 -4px 8px;padding:4px 4px 10px}
.shelf.row-scroll::-webkit-scrollbar{display:none}
.shelf.row-scroll>*{scroll-snap-align:start}
.shelf.row-scroll .card .art{border-radius:6px}
.shelf.row-scroll .card b{font-size:15px;font-weight:650;display:flex;align-items:center;gap:6px}
.shelf.row-scroll .card span{font-size:13.5px;margin-top:-4px}
.eb{display:inline-grid;place-items:center;flex:none;width:17px;height:17px;border-radius:4px;font-size:10px;font-style:normal;font-weight:800;background:var(--text);color:var(--bg)}
.shelf.round-row .card.artist{align-items:center;text-align:center}
.shelf.round-row .card.artist b{justify-content:center}
.shelf.round-row{grid-auto-columns:minmax(130px,170px)}
.bio-t.clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:var(--dim);font-size:16px}
.readmore{font-size:15px;font-weight:600;color:var(--dim);margin:2px 0 6px}
.readmore:hover{color:var(--text)}
.ah-text .meta .fans{color:var(--text)}
@media (max-width:820px){.shelf.row-scroll{grid-auto-columns:minmax(138px,44vw)}.sarrows button:not(.va){display:none}.shead{margin-top:20px}}
/* small polish */
.card{min-width:0}
.card .art{background-color:var(--panel2)}
.round,.icon-btn,.pill,.bigbtn{-webkit-user-select:none;user-select:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}

/* ===== splash: just the Android-style wheel (same one the album art shows) while the site loads; the colours and wheel are inlined in index.html so it paints at once ===== */
#splash{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:#000;transition:opacity .5s ease,visibility .5s}
html[data-theme="light"] #splash{background:#3b3b3f}
#splash.out{opacity:0;visibility:hidden;pointer-events:none}

/* ===== TIDAL-style sidebar + header (desktop) ===== */
.top{display:none}
.side-pl{display:none}
@media (min-width:821px){
  #app{grid-template-rows:auto minmax(0,1fr)}
  .side{grid-column:1;grid-row:1/-1;background:var(--side-bg);border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:none}
  .top{grid-column:2;grid-row:1;display:flex;align-items:center;gap:12px;padding:10px 36px 8px;position:relative;z-index:5}
  .main{grid-column:2;grid-row:2}
  .main{--pt:10px}
  .top-nav{display:flex;gap:2px;padding:3px;border-radius:99px;background:var(--panel2)}
  .top-nav button{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:var(--text);transition:background .15s,opacity .15s}
  .top-nav button:hover:not(:disabled){background:var(--hov)}
  .top-nav button:disabled{opacity:.35;cursor:default}
  .top-nav i{width:20px;height:20px}
  .top-grow{flex:1}
  .top-search{display:flex;align-items:center;gap:10px;width:min(360px,34vw);height:46px;padding:0 16px;border-radius:99px;background:var(--panel2);color:var(--dim);cursor:text;transition:box-shadow .2s}
  .top-search:focus-within{box-shadow:inset 0 0 0 1.5px var(--faint);color:var(--text)}
  .top-search i{width:20px;height:20px;flex:none}
  .top-search input{flex:1;min-width:0;background:none;border:0;outline:0;color:var(--text);font:inherit;font-size:16px}
  .top-pill{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 20px;border-radius:99px;background:var(--panel2);color:var(--text);font-weight:650;font-size:15.5px;white-space:nowrap;transition:background .15s,transform .15s}
  .top-pill:hover{background:var(--hov)}
  .top-pill i{width:19px;height:19px}
  .top-pill.solid-w{background:var(--pill-bg);color:var(--pill-fg)}
  .top-pill.solid-w:hover{background:var(--pill-hov)}
  .main .search{display:none}
  /* sidebar: big rounded active pill, quiet sections */
  .side{padding:20px 14px;gap:18px}
  .nav{gap:6px}
  .nav button{padding:14px 16px;border-radius:16px;font-size:17px;font-weight:650;gap:16px;color:var(--dim)}
  .nav button i{width:26px;height:26px}
  .nav button:hover{background:var(--hov);color:var(--text)}
  .nav button.on,.nav .s-search.on{background:var(--panel2);color:var(--text);box-shadow:none}
  .nav .s-search{background:none;border-radius:16px;padding:14px 16px;margin:0;font-weight:650}
  .nav .s-search:hover{background:var(--hov)}
  .side-pl{display:flex;flex-direction:column;gap:6px;margin-top:10px;min-height:0}
  .side-pl-h{display:flex;align-items:center;justify-content:space-between;padding:6px 16px 6px;color:var(--faint);font-size:17px;font-weight:650}
  .side-pl-h button{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:var(--faint);transition:color .15s,background .15s}
  .side-pl-h button:hover{color:var(--text);background:var(--hov)}
  .side-pl-h i{width:22px;height:22px}
  .side-pl-list{display:flex;flex-direction:column;gap:2px}
  .side-pl-list button{display:flex;align-items:center;gap:12px;padding:10px 16px;border-radius:12px;color:var(--dim);font-size:15px;font-weight:550;text-align:left}
  .side-pl-list button i{width:20px;height:20px;flex:none}
  .side-pl-list button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .side-pl-list button:hover,.side-pl-list button.on{background:var(--hov);color:var(--text)}
  html[data-side=closed] .top{padding-left:24px}
  html[data-side=closed] .side-pl{display:none}
  html[data-side=closed] .nav button{padding:14px 0}
  .player{left:calc(var(--side) + 16px)}
}
/* dark grey keeps white text everywhere */
html:not([data-theme="light"]) .np[data-style="grey"],html:not([data-theme="light"]) .np[data-style="black"]{color:#f5f5f7}
html:not([data-theme="light"]) .np[data-style="grey"] .np-meta b,html:not([data-theme="light"]) .np[data-style="grey"] .line{color:#fff}

/* ===== v4: smaller, calmer UI (desktop) ===== */
@media (min-width:821px){
  :root{--side:220px;--playerH:66px}
  html[data-side=closed]{--side:68px}
  body{font-size:14px}
  .side{padding:14px 10px;gap:12px}
  .side-top{min-height:34px;padding:0 2px 0 6px}
  .brand{font-size:16px;gap:9px}
  .brand img{width:26px;height:26px;border-radius:7px}
  .side-tgl{width:30px;height:30px}
  .side-tgl i{width:18px;height:18px}
  .nav{gap:2px}
  .nav button,.nav .s-search{padding:9px 12px;border-radius:11px;font-size:14px;font-weight:600;gap:12px}
  .nav button i,.side-theme i{width:19px;height:19px}
  .side-theme{padding:9px 12px;font-size:14px;border-radius:11px;gap:12px}
  .side-pl{margin-top:6px;gap:2px}
  .side-pl-h{padding:4px 12px;font-size:12.5px;font-weight:600;letter-spacing:0;text-transform:none;}
  .side-pl-h button{width:24px;height:24px}
  .side-pl-h i{width:16px;height:16px}
  .side-pl-list button{padding:7px 12px;font-size:13.5px;gap:10px;border-radius:9px}
  .side-pl-list button i{width:16px;height:16px}
  html[data-side=closed] .nav button{padding:10px 0}
  .top{padding:10px 28px 2px;gap:10px}
  .top-nav button{width:30px;height:30px}
  .top-nav i{width:18px;height:18px}
  .top-search{height:36px;padding:0 13px;width:min(300px,30vw);gap:8px}
  .top-search i{width:16px;height:16px}
  .top-search input{font-size:14px}
  .top-pill{height:34px;padding:0 15px;font-size:13.5px;gap:7px}
  .top-pill i{width:16px;height:16px}
  .main{--px:28px;--pt:8px}
  .page-head{margin-bottom:16px}
  .page-head h1{font-size:26px}
  .page-head p{font-size:13px}
  .pill{padding:7px 14px;font-size:13px}
  .shelf{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:16px}
  .shelf.row-scroll{grid-auto-columns:minmax(138px,164px);gap:14px}
  .shelf.round-row{grid-auto-columns:minmax(110px,140px)}
  .card b,.shelf.row-scroll .card b{font-size:13.5px}
  .card span,.shelf.row-scroll .card span{font-size:12px}
  .sect,.shead .sect{font-size:18px}
  .shead{margin:18px 0 8px}
  .sarrows button:not(.va){width:26px;height:26px}
  .sarrows i{width:15px;height:15px}
  .sarrows .va{font-size:13px}
  .hero-artist{min-height:min(44svh,360px)}
  .ah-text h1{font-size:clamp(30px,5vw,46px)}
  .ah-text .meta{font-size:13.5px}
  .ah-bio{font-size:13.5px}
  .bigbtn{font-size:14px}
  .atabs{gap:22px}
  .atabs button{font-size:14.5px;padding-bottom:9px}
  .a-stats{max-width:440px;gap:6px}
  .a-stats div{padding:9px 8px}
  .a-stats b{font-size:16px}
  .a-stats span{font-size:10.5px}
  .bio-t.clamp{font-size:14px}
  .trk .art{width:48px;height:48px}
  .trk{padding:6px 0;gap:12px}
  .trk .t b,.row .t b{font-size:14px}
  .trk .t span,.row .t span{font-size:12.5px}
  .row{padding:5px 8px;gap:12px}
  .row .art{width:42px;height:42px}
  .hero .art{width:170px;height:170px}
  .hero h1{font-size:28px}
  .ha-text h1{font-size:36px}
  .ha-art .art,.ha-art .plart{width:190px}
  .player{left:calc(var(--side) + 12px);right:12px;bottom:12px;border-radius:16px;gap:14px}
  .np-body{grid-template-columns:minmax(300px,380px) 1fr}
  .np-meta b{font-size:21px}
  .np-meta span,.np-artist{font-size:15px}
  .line{font-size:clamp(22px,2.8vw,36px)}
  .np[data-lsize="s"] .line{font-size:clamp(17px,2vw,26px)}
  .np[data-lsize="l"] .line{font-size:clamp(27px,3.5vw,46px)}
  .np-ctrl .big{width:58px;height:58px}
  .np-ctrl button{width:42px;height:42px}
}
@media (max-width:820px){
  .page-head h1{font-size:26px}
  .sect,.shead .sect{font-size:19px}
  .ah-text h1{font-size:clamp(30px,9vw,46px)}
  .hero-artist{min-height:min(48svh,400px)}
  .np-meta b{font-size:22px}
}

/* ===== v5: calmer type (Instrument Sans, lighter weights) ===== */
body{font-feature-settings:normal;letter-spacing:0;font-weight:400}
h1,h2,h3,.sect,.shead .sect,.page-head h1,.hero h1,.ah-text h1,.ha-text h1,.lyr-empty h3{font-weight:600;letter-spacing:-.015em}
.brand{font-weight:600;letter-spacing:-.01em}
.nav button,.nav .s-search,.side-theme,.side-pl-list button,.top-pill,.pill,.bigbtn,.solid,.ghost,.btn-sm,.quick button,.atabs button,.sortbar button,.seg button,.sarrows .va,.readmore,.back,.menu button{font-weight:500;letter-spacing:0}
.side-pl-h{font-weight:500}
.card b,.shelf.row-scroll .card b,.row .t b,.trk .t b,.tr .t b,.np-meta b,.a-stats b,.pop-row>b,.a-stats span,.ah-text .meta,.ah-text .meta .fans{font-weight:500;letter-spacing:0}
.line{font-weight:600;letter-spacing:-.012em}
.np-top button,.np-actions button{font-weight:500}
.lk{cursor:pointer}
.lk:hover{color:var(--text);text-decoration:underline;text-underline-offset:2px}
.np-alb{display:block;font-size:14px;margin-top:2px}
.np-alb:hover{color:var(--text);text-decoration:underline}

/* ===== download desktop dialog ===== */
.dl-dlg .studio-in{max-width:520px}
.dl-mock{border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--panel);box-shadow:0 14px 40px var(--shadow)}
.mw-bar{display:flex;gap:7px;padding:10px 12px;background:var(--panel2)}
.mw-bar i{width:11px;height:11px;border-radius:50%;background:#ff5f57}.mw-bar i:nth-child(2){background:#febc2e}.mw-bar i:nth-child(3){background:#28c840}
.mw-body{display:grid;grid-template-columns:96px 1fr;height:168px}
.mw-side{display:flex;flex-direction:column;gap:9px;padding:14px 12px;background:var(--side-bg);border-right:1px solid var(--line)}
.mw-side b{height:12px;width:56px;border-radius:4px;background:var(--text);opacity:.85;margin-bottom:6px}
.mw-side s{height:8px;border-radius:4px;background:var(--faint);opacity:.6}
.mw-side s:first-of-type{background:var(--text);opacity:.5}
.mw-side u{height:1px;background:var(--line);margin:3px 0}
.mw-main{padding:14px;display:flex;flex-direction:column;gap:8px}
.mw-hero{height:56px;border-radius:8px;background:linear-gradient(120deg,var(--panel2),var(--hov));display:flex;align-items:center;padding:0 12px}
.mw-hero img{width:34px;height:34px;border-radius:9px}
.mw-row{height:14px;border-radius:5px;background:var(--panel2)}
.dl-info{display:flex;flex-direction:column;gap:8px}
.dl-os{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel)}
.dl-os i{width:22px;height:22px;color:var(--text)}
.dl-os b{display:block;font-weight:500;font-size:14px}
.dl-os span{font-size:12.5px;color:var(--dim)}
.dl-os.off{opacity:.45}
.dl-note{font-size:12.5px;color:var(--dim);align-self:center}

/* ===== v6: artist header like TIDAL, biography, round artists, smaller fullscreen ===== */
.shelf.round-row .card.artist .art{border-radius:50%;box-shadow:none}
.shelf.round-row .card.artist b{font-weight:500;font-size:14px;justify-content:center}
.shelf.round-row{grid-auto-columns:minmax(120px,168px)}
.hero-artist{min-height:min(52svh,430px);padding-bottom:22px}
.hero-artist .bleed-bg{background-position:center 30%!important}
.hero-artist::after{background:linear-gradient(90deg,var(--bg) 0,rgba(0,0,0,0) 26%,rgba(0,0,0,0) 74%,var(--bg) 100%),linear-gradient(180deg,rgba(0,0,0,.35) 0,rgba(0,0,0,0) 28%,rgba(0,0,0,0) 50%,var(--bg) 100%)}
html[data-theme="light"] .hero-artist::after{background:linear-gradient(90deg,var(--bg) 0,rgba(246,245,243,0) 26%,rgba(246,245,243,0) 74%,var(--bg) 100%),linear-gradient(180deg,rgba(255,255,255,.12) 0,rgba(246,245,243,0) 30%,rgba(246,245,243,.25) 55%,var(--bg) 100%)}
.ah-text{padding-top:90px}
.ah-text h1{font-size:clamp(34px,6vw,56px);font-weight:600;letter-spacing:-.02em;line-height:1.05}
.ah-text .meta{margin-top:8px;font-size:14px;font-weight:500;color:var(--dim)}
.ah-text .meta .fans{color:var(--dim);font-weight:500}
.bio-t{font-size:15.5px;line-height:1.65;max-width:780px;color:var(--dim)}
.bio-t.clamp{-webkit-line-clamp:4}
.bio-t.dim{color:var(--faint)}
.readmore{display:block;margin:6px 0 10px;font-size:15px;font-weight:500;color:var(--dim)}
.sech button[data-act]{font-size:13.5px;font-weight:500;color:var(--dim)}
.sech button[data-act]:hover{color:var(--text)}
/* fullscreen player: a bit smaller, same type as the rest of the app */
.np-body{grid-template-columns:minmax(250px,330px) 1fr;gap:4.5vw;padding:2vh 6vw 4vh}
.np-left{gap:18px}
.np-meta b{font-size:19px;font-weight:500}
.np-meta span,.np-artist{font-size:14px}
.np-alb{font-size:13px}
.np-ctrl button{width:38px;height:38px}
.np-ctrl i{width:22px;height:22px}
.np-ctrl .big{width:52px;height:52px}
.np-ctrl .big i{width:34px;height:34px}
.np-top button{font-size:13px;padding:8px 12px}
.line{font-size:clamp(20px,2.4vw,32px);padding:8px 12px}
.np[data-lsize="s"] .line{font-size:clamp(16px,1.8vw,24px)}
.np[data-lsize="l"] .line{font-size:clamp(25px,3.1vw,42px)}
@media (max-width:820px){
  .np-art{max-width:min(100%,36svh)}
  .np-meta b{font-size:19px}
  .line{font-size:clamp(22px,6vw,30px)}
}


/* ================= v7: new header logo, TIDAL-style type, artist banner, steadier buttons, bigger mobile player ================= */

/* header logo (top left): a mask, so it takes the text colour of whichever theme is on: white on dark, black on light */
.brand{display:flex;align-items:center;padding:0 4px;min-width:0}
.brand .logo{display:block;width:150px;max-width:100%;aspect-ratio:757/130;background:var(--text);-webkit-mask:url(logo.png) left center/contain no-repeat;mask:url(logo.png) left center/contain no-repeat}

/* type: Inter in TIDAL's weights, used everywhere (buttons, inputs, playlist covers, lyrics) */
body{font-weight:400;letter-spacing:-.003em;font-feature-settings:"calt","kern"}
button,input,select,textarea{font-family:inherit}
h1,h2,h3,.sect,.shead .sect,.page-head h1,.hero h1,.ha-text h1,.lyr-empty h3,.studio h2{font-weight:700;letter-spacing:-.022em}
.nav button,.nav .s-search,.side-theme,.top-pill,.pill,.bigbtn,.solid,.ghost,.btn-sm,.quick button,.atabs button,.sortbar button,.seg button,.menu button,.back,.vchips button,.side-pl-h,.np-top button,.np-actions button{font-weight:600;letter-spacing:-.005em}
.side-pl-list button{font-weight:500}
.card b,.shelf.row-scroll .card b,.row .t b,.trk .t b,.tr .t b,.np-meta b,.meta b{font-weight:600;letter-spacing:-.005em}
.card span,.row .t span,.trk .t span,.tr .t span,.meta span{font-weight:500}
.a-stats b{font-weight:700;letter-spacing:-.015em}
.sarrows .va,.readmore,.sech button,.sech button[data-act]{font-weight:600}
.line{font-weight:700;letter-spacing:-.02em}
.field label,.pop-row>b{font-weight:600}

/* artist page: banner like TIDAL's, text always white on the picture (readable in every theme) */
.ab{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;min-height:min(62svh,460px);display:flex;flex-direction:column;justify-content:space-between;padding:14px;color:#fff;background:#1a1a1d;margin:0 0 6px}
.ab-bg{position:absolute;inset:0;z-index:-2;background-size:cover!important;background-position:center 22%!important}
.ab-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.4) 0,rgba(0,0,0,0) 30%,rgba(0,0,0,.16) 48%,rgba(0,0,0,.8) 100%),linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,0) 65%)}
.ab .topbar{position:relative}
.ab-text{padding:0 8px 10px;color:#fff}
.ab-text h1{font-size:clamp(34px,9.4vw,60px);font-weight:800;letter-spacing:-.03em;line-height:1.02;color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.35);overflow-wrap:anywhere}
.ab-meta{margin-top:8px;font-size:14px;font-weight:500;color:rgba(255,255,255,.88);text-shadow:0 1px 10px rgba(0,0,0,.4)}
.ab-meta b{color:#fff;font-weight:700}
.ab-acts{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.abp{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;min-width:152px;padding:0 22px;border-radius:99px;font-size:15px;font-weight:700;letter-spacing:-.005em;-webkit-user-select:none;user-select:none}
.abp i{width:20px;height:20px}
.abp.white{background:#fff;color:#000}
.abp.white:hover{background:#ececec}
.abp.glass{background:rgba(255,255,255,.2);color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.abp.glass:hover{background:rgba(255,255,255,.28)}
.abp.glass.on{background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1.5px #fff}
/* buttons on the artist page never move, scale, pop or fade in: a press just changes the colour */
.ab *,.ab *::before,.ab *::after,.quick button{transition:none!important;animation:none!important}
.ab .abp:active,.ab .round:active,.quick button:active,.ab .abp:hover,.ab .round:hover{transform:none!important}
.abp:active{opacity:.88}
.hero-artist .bleed-bg,.ab-bg{animation:none!important}
@media (min-width:821px){
  .ab{min-height:340px;padding:18px 20px}
  .ab-text{padding:0 6px 8px}
  .ab-text h1{font-size:clamp(34px,4.6vw,56px)}
  .ab-shade{background:linear-gradient(180deg,rgba(0,0,0,.36) 0,rgba(0,0,0,0) 28%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.74) 100%),linear-gradient(90deg,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 55%)}
}

/* mobile fullscreen player: sized for a phone (the smaller desktop sizes were leaking into it) */
@media (max-width:820px){
  .np-top{padding:calc(14px + env(safe-area-inset-top,0px)) 16px 0}
  .np-top button{min-height:44px;font-size:14px}
  .np-top button:not(:has(span)){min-width:44px;justify-content:center}
  .np-body{padding:1.5svh 26px calc(24px + var(--safe-b));align-items:stretch}
  .np-left{height:100%;justify-content:center;gap:clamp(14px,2.6svh,26px)}
  .np-art{width:100%;max-width:min(100%,46svh);margin:0 auto}
  .np-meta b{font-size:clamp(22px,3.3svh,28px);font-weight:700;letter-spacing:-.02em}
  .np-meta span,.np-artist{font-size:clamp(16px,2.3svh,19px)}
  .np-alb{font-size:15px}
  .scrub input{height:28px}
  .scrub input::-webkit-slider-thumb{width:14px;height:14px;border-radius:50%;background:var(--ink);margin-top:-5px}
  .scrub input::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--ink)}
  .scrub .t{font-size:13px}
  .np-ctrl button{width:54px;height:54px}
  .np-ctrl i{width:28px;height:28px}
  .np-ctrl .big{width:78px;height:78px}
  .np-ctrl .big i{width:48px;height:48px}
  .line{font-size:clamp(26px,7.6vw,34px);padding:10px 12px}
  .lyrics{padding:24svh 0}
}
@media (max-width:820px) and (max-height:700px){
  .np-art{max-width:38svh}
  .np-ctrl .big{width:66px;height:66px}
  .np-ctrl .big i{width:40px;height:40px}
}

/* five stat tiles in one row */
.a-stats{grid-template-columns:repeat(5,1fr);max-width:620px}
@media (max-width:820px){.a-stats{max-width:none;gap:6px}.a-stats div{padding:11px 4px}.a-stats b{font-size:17px}.a-stats span{font-size:9px;letter-spacing:.03em}}

/* fullscreen "Grey": a graphite grey with white text in both themes (it used to turn light grey with black text in the light theme) */
html[data-theme="light"] .np[data-style="grey"]{--nb:#4b4b50;--text:#f5f5f7;--dim:rgba(255,255,255,.68);--faint:rgba(255,255,255,.42);--ink:#fff;--track:rgba(255,255,255,.26);--hov:rgba(255,255,255,.1);--accent:#fff;--pill-bg:#fff;--pill-fg:#000;--panel:rgba(255,255,255,.07);--panel2:rgba(255,255,255,.12);--line:rgba(255,255,255,.14);color:#f5f5f7}
html[data-theme="light"] .np[data-style="grey"]::after{background:radial-gradient(90% 70% at 25% 20%,rgba(255,255,255,.08),transparent 70%)}
html[data-theme="light"] .np[data-style="grey"] .np-meta b,html[data-theme="light"] .np[data-style="grey"] .line{color:#fff}
html[data-theme="light"] .np[data-style="grey"] .w{background-image:linear-gradient(90deg,#fff calc(var(--p)*118% - 9%),rgba(255,255,255,.4) calc(var(--p)*118% + 9%))}
html[data-theme="light"] .np[data-style="grey"] .np-top button{background:rgba(255,255,255,.12);color:#fff}
html[data-theme="light"] .np[data-style="grey"] .np-pop{background:rgba(36,36,40,.94);color:#f5f5f7}
html[data-theme="light"] .np[data-style="grey"] .seg{background:rgba(255,255,255,.08)}
html[data-theme="light"] .np[data-style="grey"] .seg button.on{background:#fff;color:#000}
html[data-theme="light"] .np[data-style="grey"] .sw{background:rgba(255,255,255,.2)}
html[data-theme="light"] .np[data-style="grey"] .sw[aria-checked="true"]{background:#34c759}
html[data-theme="light"] .np[data-style="grey"] .eb{background:rgba(255,255,255,.62);color:#0a0a0b}
html[data-theme="light"] .np[data-style="grey"] .np-art{box-shadow:0 20px 50px rgba(0,0,0,.4)}
/* Play + Follow stay side by side on phones */
.ab-acts{flex-wrap:nowrap}
.abp{flex:0 1 152px;min-width:0}
@media (max-width:820px){.abp{flex:1 1 0;max-width:170px;padding:0 12px}}

/* ===== polish pass: playlist covers, sidebar label, play/shuffle buttons ===== */
/* cover text can't be selected or clicked; the finished tile is a real image you can right-click */
.plart,.plart *,.card.pl>b,.card.pl>span{-webkit-user-select:none;user-select:none;-webkit-touch-callout:default}
.plart .pl-t,.plart .pl-v,.plart .pl-mark{pointer-events:none}
.plart-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;-webkit-user-drag:auto}
/* sidebar header: plain, not shouty */
.side-pl-h,.side-pl-h span{text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
/* Play / Shuffle */
.bigbtn{height:50px;border-radius:99px;gap:10px;font-size:16px;font-weight:600;letter-spacing:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
.bigbtn i{width:22px;height:22px;display:grid;place-items:center}
.bigbtn i svg{width:100%;height:100%;stroke-linejoin:round;stroke-linecap:round}
.bigbtn.light{box-shadow:0 6px 18px rgba(0,0,0,.28)}
.bigbtn.light i svg{fill:currentColor;stroke:currentColor;stroke-width:1.6}
.bigbtn:not(.light) i svg{stroke-width:2}
.bigbtn:hover{transform:translateY(-1px)}
.bigbtn:active{transform:scale(.97)}
.abp{border-radius:99px;font-weight:600;gap:10px;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.abp i svg{stroke-linejoin:round;stroke-linecap:round}
.abp.white i svg{fill:currentColor;stroke:currentColor;stroke-width:1.6}
.abp.glass{box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}


/* ================= v8: centred mobile player, calm hovers, hover-play, new Home, mix modes ================= */
:root{--playdisc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='white'/%3E%3Cpath d='M12 10.2v11.6c0 .9.9 1.4 1.7.9l8.2-5.8c.7-.5.7-1.4 0-1.9l-8.2-5.8c-.8-.5-1.7 0-1.7.9z' fill='%23111'/%3E%3C/svg%3E");--playtri:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7.2 5.6v12.8c0 1.3 1.4 2.1 2.5 1.4l10-6.4c1-.6 1-2.1 0-2.8l-10-6.4c-1.1-.7-2.5.1-2.5 1.4Z'/%3E%3C/svg%3E")}

/* mobile fullscreen player: the old two-column grid was leaking into phones and pushing everything left */
@media (max-width:820px){
  .np-body{grid-template-columns:minmax(0,1fr);gap:0}
  .np-left{width:100%;align-items:stretch}
  .np-art{margin-left:auto;margin-right:auto}
}

/* hovering never moves anything: only colour changes */
.card:hover .art,.card.pl:hover .plart,.card:hover .plart{transform:none;box-shadow:0 10px 30px rgba(0,0,0,.4)}
.bigbtn:hover,.pill:hover,.nav button:hover{transform:none}

/* Play / Shuffle / Follow: on hover the edge softens into a see-through halo */
.abp,.bigbtn{transition:background .22s ease,box-shadow .28s ease,color .2s ease}
.ab .abp{transition:background .22s ease,box-shadow .28s ease!important}
.abp.white:hover,.bigbtn.light:hover{background:rgba(255,255,255,.9);box-shadow:0 0 0 6px rgba(255,255,255,.16),0 8px 22px rgba(0,0,0,.22)}
.abp.glass:hover{background:rgba(255,255,255,.26);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 0 0 6px rgba(255,255,255,.09)}
.bigbtn:not(.light):hover{background:var(--hov);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 0 0 6px rgba(255,255,255,.07)}
/* Following: a grey edge, never white */
.abp.glass.on,.bigbtn.follow.on{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1.5px #8e8e93}
.abp.glass.on:hover,.bigbtn.follow.on:hover{background:rgba(255,255,255,.13);box-shadow:inset 0 0 0 1.5px #a3a3a8,0 0 0 6px rgba(255,255,255,.07)}

/* hover play on songs */
.row .art::after,.trk .art::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(0,0,0,.42);background-image:none;opacity:0;transition:opacity .18s}
.row:hover .art::after,.trk:hover .art::after{opacity:1;background-image:var(--playdisc);background-size:26px 26px;background-position:center;background-repeat:no-repeat}
.row.cur .art::after,.trk.cur .art::after{opacity:1;background-image:none}
.row.cur:hover .art::after,.trk.cur:hover .art::after{background-image:var(--playdisc);background-size:26px 26px;background-position:center;background-repeat:no-repeat}
.row.cur:hover .art .eq,.trk.cur:hover .art .eq{display:none}
.tr:not(.cur) .n{background-position:center;background-repeat:no-repeat;background-size:17px}
.tr:not(.cur):hover .n{color:transparent;background-image:var(--playtri)}
.card .art{position:relative}
.pb{position:absolute;right:8px;bottom:8px;width:38px;height:38px;border-radius:50%;background:var(--playdisc) center/100% no-repeat;box-shadow:0 6px 16px rgba(0,0,0,.45);opacity:0;transform:translateY(6px);transition:opacity .18s,transform .18s;pointer-events:none}
.card:hover .pb{opacity:1;transform:none}
@media (hover:none){.pb{display:none}}

/* ---------- Home ---------- */
.home-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:6px 0 18px}
.home-top h1{font-size:30px}
.home-top p{color:var(--dim);font-size:13.5px;margin-top:4px}
.home-feat{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:26px;min-height:210px;padding:26px;margin-bottom:18px;border-radius:22px;color:#fff;background:#1a1a1d}
.hf-bg{position:absolute;inset:-50px;z-index:-2;background-size:cover!important;background-position:center!important;filter:blur(42px) saturate(1.5) brightness(.62);transform:scale(1.1)}
.hf-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.4),rgba(0,0,0,.06))}
.hf-art{width:160px;height:160px;flex:none;border-radius:12px;background-size:cover!important;background-position:center!important;box-shadow:0 18px 44px rgba(0,0,0,.5)}
.hf-text{min-width:0}
.hf-k{font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:rgba(255,255,255,.78)}
.hf-text h2{margin:6px 0 4px;font-size:clamp(24px,3.4vw,38px);line-height:1.08;letter-spacing:-.025em;color:#fff;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hf-text p{color:rgba(255,255,255,.86);font-size:14.5px}
.hf-text .lk:hover{color:#fff}
.hf-acts{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.hf-acts .abp{min-width:140px}
.picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 4px}
.pick{position:relative;display:flex;align-items:center;gap:12px;padding-right:56px;overflow:hidden;border-radius:10px;background:var(--panel);text-align:left;transition:background .18s}
.pick:hover{background:var(--panel2)}
.pick .art{width:56px;height:56px;flex:none;background-size:cover;background-position:center}
.pk-t{min-width:0}
.pk-t b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pk-t span{display:block;font-size:12.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.pick .pb{right:10px;bottom:auto;top:50%;margin-top:-17px;width:34px;height:34px;transform:translateX(6px)}
.pick:hover .pb{opacity:1;transform:none}
.shead-t p{font-size:12.5px;color:var(--dim);margin-top:2px}
.shead{margin-top:28px}
.card.newpl .art.plus{display:grid;place-items:center;background:var(--panel2);box-shadow:inset 0 0 0 1.5px var(--line);color:var(--dim)}
.card.newpl:hover .art.plus{color:var(--text);background:var(--hov)}
.card.newpl .art.plus i{width:34px;height:34px}
.shelf.row-scroll .card.song .art,.shelf.row-scroll .card.newpl .art{border-radius:8px}
@media (max-width:820px){
  .home-top h1{font-size:26px}
  .home-top .pill span,.home-top .pill{padding:8px 14px}
  .home-feat{gap:16px;padding:18px;min-height:0;border-radius:18px}
  .hf-art{width:104px;height:104px}
  .hf-text h2{font-size:22px}
  .hf-text p{font-size:13.5px}
  .hf-acts{margin-top:12px;gap:8px}
  .hf-acts .abp{height:40px;min-width:0;padding:0 16px;font-size:14px;flex:0 1 auto}
  .picks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pick .art{width:48px;height:48px}
  .pk-t b{font-size:13px}
  .shead{margin-top:22px}
}
@media (max-width:420px){.home-feat{flex-direction:column;align-items:flex-start}.hf-art{width:132px;height:132px}}

/* playlist cover with no artist picture yet: a plain tinted tile, not generated art */
.plart .pl-ph.blank{background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(0,0,0,.4)),var(--c)}

/* mix modes */
.mixgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.mixgrid button{padding:9px 8px;border-radius:10px;background:rgba(255,255,255,.08);font-size:13px;font-weight:600;color:var(--dim);transition:background .15s,color .15s}
.mixgrid button:hover{background:rgba(255,255,255,.15);color:#fff}
.mixgrid button.on{background:#fff;color:#000}
#speedRow.dis{opacity:.4;pointer-events:none}

/* v8 fixes */
.hf-text{flex:1}
@media (min-width:821px){.home-top .head-actions{display:none}}
/* lyrics: words are painted with background-clip:text, so give each word's box room for ascenders/descenders (a tight box clips glyphs and leaves hairlines in Safari), and keep the blur/scale layers crisp */
.w{padding:.14em 0;margin-top:-.14em;margin-bottom:-.14em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.line{-webkit-appearance:none;appearance:none;border:0;outline:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-tap-highlight-color:transparent;text-shadow:none}
.line:focus,.line:focus-visible{outline:0;box-shadow:none}
.lyrics{outline:0}

#autoRows{display:contents}#autoRows[hidden]{display:none}#xlenRow.dis{opacity:.4;pointer-events:none}

/* catalog results */
.cat-un{opacity:.5;cursor:not-allowed}.cat-un .badge{background:rgba(255,255,255,.12)}.cat-note{color:var(--dim);padding:14px 4px}.cat-h{margin:26px 0 8px}
.plart-link{display:block;width:100%;background:none;border:0;padding:0;cursor:pointer;border-radius:inherit}

/* ===== artist header: bigger, edge to edge, square corners; Following has no outline; no round back button ===== */
.ab{border-radius:0;margin:calc(-1*var(--pt)) calc(-1*var(--px)) 6px;min-height:min(74svh,560px);padding:calc(18px + env(safe-area-inset-top,0px)) var(--px) 26px}
.ab .topbar{justify-content:flex-end}
.ab-text{padding:0 0 6px}
.ab-text h1{font-size:clamp(44px,12vw,84px)}
.ab-meta{font-size:15px}
.ab-bg{background-position:center 25%!important}
@media (min-width:821px){
  .ab{min-height:min(60vh,600px);padding:22px var(--px) 34px}
  .ab-text{padding:0}
  .ab-text h1{font-size:clamp(56px,7vw,104px)}
}
.abp.glass.on,.abp.glass.on:hover{box-shadow:none!important;border:0;outline:0}

/* ===== round buttons (edit, theme, back): soft glass circle, no outline ===== */
.round{border:0;box-shadow:0 4px 16px rgba(0,0,0,.22);background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6)}
.round:hover{background:rgba(255,255,255,.22)}
.ab .round{width:42px;height:42px}
.ab .round i{width:19px;height:19px}
.ab .round i svg{stroke-width:2}

/* ===== macOS app (Liquid Glass): the window is real glass, the page lets it show through ===== */
html[data-shell="mac"],html[data-shell="mac"] body{background:transparent!important}
html[data-shell="mac"] #app{padding-top:30px;box-sizing:border-box}
html[data-shell="mac"] .side{background:rgba(22,22,26,.34);border-right:0;-webkit-backdrop-filter:blur(34px) saturate(1.7);backdrop-filter:blur(34px) saturate(1.7)}
html[data-shell="mac"] .main{background:rgba(10,10,12,.46);border-top-left-radius:20px;box-shadow:inset 1px 1px 0 rgba(255,255,255,.07)}
html[data-shell="mac"] .top{background:transparent}
html[data-shell="mac"] .top-nav,html[data-shell="mac"] .top-pill,html[data-shell="mac"] .top-search{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(26px) saturate(1.8);backdrop-filter:blur(26px) saturate(1.8);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 6px 18px rgba(0,0,0,.18)}
html[data-shell="mac"] .top-pill:hover,html[data-shell="mac"] .top-nav button:hover:not(:disabled){background:rgba(255,255,255,.16)}
html[data-shell="mac"] .top-pill.solid-w{background:rgba(255,255,255,.94);color:#000}
html[data-shell="mac"] .nav button.on,html[data-shell="mac"] .side-theme:hover,html[data-shell="mac"] .nav button:hover{background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
html[data-shell="mac"] .player{background:rgba(30,30,34,.5);-webkit-backdrop-filter:blur(36px) saturate(1.8);backdrop-filter:blur(36px) saturate(1.8);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 14px 40px rgba(0,0,0,.35)}
html[data-shell="mac"] .card .art,html[data-shell="mac"] .panel{box-shadow:0 10px 30px rgba(0,0,0,.28)}
html[data-shell="mac"] .ab{margin-top:calc(-1*var(--pt));border-top-left-radius:20px}

/* Follow / Following / lock: no outline in any state */
.abp.glass,.abp.glass:hover,.abp.glass:active,.abp.glass.on,.abp.glass.on:hover{box-shadow:none!important;border:0;outline:0}
.round,.round:hover,.round:focus,.round:focus-visible,.round[data-act="locked"]{border:0;outline:0}
.ab .round,.ab .round:hover{box-shadow:none}

/* party animal + confetti */
.party-layer{position:fixed;inset:0;z-index:300;pointer-events:none;overflow:hidden}
.party-layer i{position:absolute;display:block;will-change:transform}
.party-pet{position:absolute;width:64px;height:64px;font-size:56px;line-height:64px;text-align:center;will-change:transform;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
.pp-face{display:block}
.pp-hat{position:absolute;left:50%;top:-12px;margin-left:-8px;width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-bottom:30px solid #ff5ac8;transform:rotate(14deg);transform-origin:50% 100%;z-index:1}
.pp-hat::after{content:"";position:absolute;left:-5px;top:-8px;width:10px;height:10px;border-radius:50%;background:#ffd23f}

/* loading wheel + catalog releases */
.disc-load{height:64px;width:100%}
.ab-spin{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;z-index:0}
.cat-rel .art{position:relative;overflow:hidden}
.cat-rel .art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ext-note{margin:6px 0 4px;color:var(--dim);font-size:14px;line-height:1.5}

/* round buttons (more, theme, edit, lock): plain solid grey like the other buttons, no glass */
.round,.round:hover,html[data-shell="mac"] .round{background:#2b2b2f;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
.round:hover{background:#38383d}


/* ---- claimed artist badge: a music note in a circle, YouTube Music style scalloped seal, grey until hovered, then white ---- */
.nw{white-space:nowrap}
.mbadge{display:inline-grid;place-items:center;width:.5em;height:.5em;min-width:22px;min-height:22px;margin-left:.25em;vertical-align:.1em;padding:0;border:0;background:none;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;text-shadow:none;transition:none}
.mbadge svg,.claim-seal svg{width:100%;height:100%;display:block}
.mbadge .seal,.claim-seal .seal{fill:#fff}
.mbadge .ck,.claim-seal .ck{fill:none;stroke:#0b0b0d;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.claim-dlg{width:min(380px,calc(100vw - 24px))}
.claim-dlg .studio-in{text-align:center;position:relative;padding:30px 24px 22px}
.cbg{display:inline-block;width:14px;height:14px;margin-left:5px;vertical-align:-2px;filter:drop-shadow(0 0 1px rgba(0,0,0,.55));pointer-events:none}
.cbg svg{width:100%;height:100%;display:block}
.cbg .seal{fill:#fff}
.cbg .ck{fill:none;stroke:#0b0b0d;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.claim-x{position:absolute;top:12px;right:12px}
.claim-seal{display:block;width:72px;height:72px;margin:0 auto 14px;padding:12px;box-sizing:border-box;border-radius:50%;background:#0b0b0d}
.claim-top h2{margin:0;font-size:20px}
.claim-name{margin:6px 0 0;color:var(--dim);font-size:14px}
.claim-list{list-style:none;margin:20px 0;padding:0;display:grid;gap:14px;text-align:left}
.claim-list li{display:grid;gap:2px}
.claim-list b{font-size:14px}
.claim-list span{color:var(--dim);font-size:13.5px;line-height:1.4}
.claim-ok{width:100%}
.quick button.on{color:var(--text)}
.quick button.on i{color:var(--text)}

/* catalog songs that aren't uploaded yet look like any other row, just a touch quieter */
.tr.xt,.trk.xt{cursor:default}
.tr.xt .t b,.tr.xt .t span,.tr.xt .n,.trk.xt .t,.trk.xt .art{opacity:.62}
.more-ph{width:36px;height:36px}
.trk.xt .art{position:relative;overflow:hidden}
.trk.xt .art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.x-label{color:var(--dim);font-size:12px;padding:16px 4px 0;line-height:1.5}

/* lyrics studio: upload + timing mode */
.lyr-up{display:flex;align-items:center;gap:10px}
.lyr-up .ghost{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:99px;border:1px solid var(--faint);font-size:13.5px;font-weight:600}
.lyr-up .ghost i{width:18px;height:18px}
.modes{display:grid;gap:8px}
.mode{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid var(--faint);cursor:pointer}
.mode:has(input:checked){border-color:var(--text);background:var(--panel)}
.mode input{margin-top:3px;accent-color:var(--text)}
.mode b{display:block;font-size:14.5px;font-weight:650}
.mode small{display:block;margin-top:2px}

/* mobile home header: greeting on top, then a row of short, long, fully rounded pills (labels never wrap) */
.pill,.top-pill{white-space:nowrap}
@media (max-width:820px){
  .home-top{flex-direction:column;align-items:stretch;gap:14px}
  .home-top .head-actions{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}
  .home-top .head-actions .pill{flex:1 1 0;justify-content:center;height:40px;min-width:0;padding:0 14px;border-radius:99px;font-size:14px;line-height:1}
  .home-top .head-actions .round,.home-top .head-actions>button:not(.pill){flex:0 0 40px;width:40px;height:40px}
  .quick button#addBtn{flex-direction:row;gap:8px;min-width:0;height:40px;padding:0 18px;border-radius:99px;font-size:14px;background:var(--panel2)}
  .quick button#addBtn i{width:18px;height:18px}
}
@media (max-width:820px){
  .quick{justify-content:flex-start;gap:8px;flex-wrap:wrap}
  .quick button{flex-direction:row;gap:8px;min-width:0;height:40px;padding:0 16px;border-radius:99px;font-size:14px;background:var(--panel2);white-space:nowrap}
  .quick button i{width:18px;height:18px}
}

/* simulated play counts next to tracks */
.pc{color:var(--dim);font-size:13.5px;font-weight:500;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;padding-left:8px}
@media (max-width:820px){.pc{font-size:12.5px;padding-left:4px}}

/* tags: clean is a "C" square like the "E", New Release and Lyrics are solid black and white like the other tags */
.cb,.nr{font-style:normal;margin-left:7px;vertical-align:1px;text-indent:0;line-height:1;font-weight:800;background:var(--text);color:var(--bg);flex:none}
.cb{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:4px;font-size:10px;letter-spacing:0;padding:0;border:0}
.nr{display:inline-block;padding:3px 6px;border-radius:4px;font-size:9.5px;letter-spacing:0;white-space:nowrap}
.np .cb,.np .nr,html[data-theme="light"] .np[data-style="grey"] .cb,html[data-theme="light"] .np[data-style="grey"] .nr{background:rgba(255,255,255,.62);color:#0a0a0b}
.row .du .badge{background:var(--text);color:var(--bg);border-color:transparent;font-weight:800}


/* ===== private profile ===== */
.me-av{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--panel2) center/cover no-repeat;color:var(--text);font-weight:700;font-size:15px;flex:none;overflow:hidden;user-select:none}
.me-av.xl{width:132px;height:132px;font-size:54px}
.me-hero{display:flex;align-items:flex-end;gap:22px;margin:6px 0 22px;flex-wrap:wrap}
.me-text{min-width:0}
.me-text h1{font-size:44px;letter-spacing:-.03em;font-weight:800;line-height:1.05;word-break:break-word}
.me-k{font-size:12.5px;font-weight:650;color:var(--dim);text-transform:none;letter-spacing:0;margin-bottom:6px}
.me-priv{display:flex;align-items:center;gap:6px;color:var(--dim);font-size:13.5px;margin-top:10px}
.me-priv i{width:15px;height:15px}
.me-stats{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.me-stats div{min-width:108px;padding:14px 18px;border-radius:16px;background:var(--panel2);display:flex;flex-direction:column;gap:2px}
.me-stats b{font-size:26px;font-weight:750;letter-spacing:-.02em}
.me-stats span{font-size:13px;color:var(--dim)}
.me-acts{justify-content:flex-start;gap:8px}
.me-note{color:var(--faint);font-size:13px;padding:22px 4px 8px}
@media (max-width:820px){
  .me-av.xl{width:104px;height:104px;font-size:42px}
  .me-text h1{font-size:32px}
  .me-hero{align-items:center;gap:16px}
  .me-stats div{flex:1;min-width:0}
}
.side-me,.top-me{display:none}
@media (min-width:821px){
  .side-me{display:flex;align-items:center;gap:12px;width:100%;padding:8px 14px;border-radius:12px;font-size:15px;font-weight:600;color:var(--dim);text-align:left;white-space:nowrap}
  .side-me:hover,.side-me.on{background:var(--panel);color:var(--text)}
  .side-me .me-n{overflow:hidden;text-overflow:ellipsis}
  html[data-side=closed] .side-me{justify-content:center;padding:8px 0}
  html[data-side=closed] .side-me .me-n{display:none}
  .top-me{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;padding:0;transition:transform .15s,box-shadow .15s}
  .top-me .me-av{width:42px;height:42px}
  .top-me:hover{transform:scale(1.05)}
  .top-me.on{box-shadow:0 0 0 2px var(--text)}
}

/* ===== Foundry for Android (only inside the app) ===== */
.is-android #topDl,.is-android #dlDlg{display:none!important}
.is-android body,.is-android{overscroll-behavior:none;-webkit-tap-highlight-color:transparent}
.is-android *{-webkit-touch-callout:none}
.is-android input,.is-android textarea,.is-android [contenteditable]{-webkit-user-select:text;user-select:text}
.is-android .tabs{--safe-b:0px}
.is-android .main{--pt:18px}
/* fullscreen player */
.is-android .np-top{padding-top:10px}
.is-android .np{overscroll-behavior:contain}

/* ===== Play + Follow centred on phones: two equal buttons that fill the row, so neither sits off to one side ===== */
.ab-meta .ab-dot{margin:0 7px;opacity:.7}
.ab-meta{font-variant-numeric:tabular-nums}
@media (max-width:820px){
  .ab-acts{width:100%;max-width:460px;margin-left:auto;margin-right:auto;justify-content:center;gap:12px}
  .ab-acts .abp{flex:1 1 0;max-width:none;min-width:0;padding:0 10px}
  .ab-meta{line-height:1.45}
}

/* ===== artists-on-this-song sheet (tap a name that has featured artists) ===== */
.asheet{position:fixed;inset:0;z-index:400;display:flex;align-items:flex-end;justify-content:center}
.asheet[hidden]{display:none}
.asheet-bg{position:absolute;inset:0;background:rgba(0,0,0,.52);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:asFade .18s ease-out}
.asheet-card{position:relative;width:min(100%,460px);max-height:78svh;overflow:auto;overscroll-behavior:contain;background:var(--studio-bg,#161618);color:var(--text);border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;padding:8px 14px calc(16px + env(safe-area-inset-bottom,0px));box-shadow:0 -20px 60px rgba(0,0,0,.45);animation:asUp .24s cubic-bezier(.2,.9,.25,1)}
.asheet-grab{width:38px;height:4px;border-radius:9px;background:var(--faint,rgba(255,255,255,.3));margin:2px auto 8px;opacity:.6}
.asheet-head{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px}
.asheet-head h3{font-size:16px;font-weight:700;letter-spacing:-.01em}
.asheet-x{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--hov)}
.asheet-x i{width:16px;height:16px}
.asheet-list{display:flex;flex-direction:column;gap:2px}
.arow{display:flex;align-items:center;gap:13px;width:100%;padding:9px 8px;border-radius:14px;text-align:left}
.arow:hover,.arow:focus-visible{background:var(--hov);outline:0}
.arow .av{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background-size:cover!important;background-position:center!important}
.arow .ai{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.arow .ai b{font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arow .ai em{font-style:normal;font-size:12px;color:var(--dim);font-weight:600;text-transform:none;letter-spacing:0;}
.arow .ai small{font-size:12.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.arow>i{width:18px;height:18px;color:var(--dim);flex:none}
@media (min-width:821px){.asheet{align-items:center}.asheet-card{border-radius:22px;border-bottom:1px solid var(--line);max-height:70vh}}
@keyframes asUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@keyframes asFade{from{opacity:0}to{opacity:1}}

/* ===== small fixes ===== */
button,.lk,.card,.tr,.trk,.row{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.pc{font-variant-numeric:tabular-nums;white-space:nowrap}
.t b,.t span{min-width:0}
.t span .lk{overflow-wrap:anywhere}
.lk[data-credit]{text-decoration:underline dotted transparent;text-underline-offset:3px}
.lk[data-credit]:hover{text-decoration-color:currentColor}
:focus-visible{outline:2px solid var(--accent,#fff);outline-offset:2px}
.ab :focus-visible{outline-color:#fff}
@media (prefers-reduced-motion:reduce){.asheet-card,.asheet-bg{animation:none}}

/* ===== artist header text, TIDAL style: bold name, then a quiet "@handle · 124.8K followers" line ===== */
.ab-text h1{font-weight:700;letter-spacing:-.028em}
.ab-meta{margin-top:10px;font-size:16px;font-weight:500;letter-spacing:-.005em;color:rgba(255,255,255,.66);text-shadow:0 1px 12px rgba(0,0,0,.5)}
.ab-meta b{font-weight:500;color:rgba(255,255,255,.66)}
.ab-meta .ab-handle{color:rgba(255,255,255,.66)}
@media (max-width:820px){.ab-meta{font-size:15px}}

/* ===== release page, TIDAL style ===== */
.rel .ha-text .rel-by{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;margin:14px auto 0;font-size:17px;font-weight:600;color:var(--text);background:none;padding:0;text-align:left}
.rel .ha-text button.rel-by{cursor:pointer}
.rel .ha-text button.rel-by:hover{text-decoration:underline;text-underline-offset:3px}
.rel-av{flex:none;width:30px;height:30px;border-radius:50%;background-size:cover!important;background-position:center!important;box-shadow:0 0 0 1px rgba(255,255,255,.14)}
.rel .ha-text .rel-meta{margin-top:20px;font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--dim);font-variant-numeric:tabular-nums}
.rel-badges{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:12px;font-size:13px;font-weight:600;letter-spacing:0;color:var(--dim)}
.rel-badge{font-style:normal;font-size:11.5px;font-weight:700;letter-spacing:0;text-transform:none;padding:4px 9px;border-radius:7px;background:rgba(255,255,255,.12);color:var(--text)}
.rel-badge.new{background:rgba(255,204,0,.16);color:#ffd60a}
.rel-left{font-weight:500;letter-spacing:.02em;text-transform:none;color:var(--faint)}
.rel-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 20px;margin:4px 0 16px}
.rel-main{display:flex;gap:12px;width:100%}
.relp{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:1 1 0;min-width:0;height:54px;padding:0 22px;border-radius:99px;font-size:17px;font-weight:700;white-space:nowrap;-webkit-user-select:none;user-select:none}
.relp i{width:22px;height:22px;display:grid;place-items:center}
.relp.white{background:var(--pill-bg);color:var(--pill-fg)}
.relp.white:hover{background:var(--pill-hov,#e8e8e8)}
.relp.glass{background:var(--panel2);color:var(--text)}
.relp.glass:hover{background:var(--hov)}
.relp:active{opacity:.88}
.rel-icons{display:flex;justify-content:space-around;width:100%;gap:4px}
.rel-icons button{display:flex;flex-direction:column;align-items:center;gap:7px;flex:1;min-width:0;padding:8px 4px;border-radius:12px;font-size:13px;font-weight:600;color:var(--text)}
.rel-icons button:hover{background:var(--hov)}
.rel-icons button i{width:26px;height:26px;display:grid;place-items:center}
.rel-icons button i svg{width:100%;height:100%;stroke-width:1.8}
.tl-head{display:none}
.asheet-note{padding:2px 6px 10px;font-size:13.5px;line-height:1.45;color:var(--dim)}
.arow.crow .ci{flex:0 0 46px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--panel2)}
.arow.crow .ci i{width:20px;height:20px}
.arow.crow .ai b{font-size:15px}
a.arow{color:inherit;text-decoration:none}
.ta,.td{display:none}
.quick{flex-wrap:wrap}
@media (min-width:821px){
  .rel .ha-text{text-align:left}
  .rel .ha-text .rel-by{margin-left:0;margin-right:0}
  .rel-badges{justify-content:flex-start}
  .hero-album.rel .ha-art .art{width:260px}
  .hero-album.rel .ha-text h1{font-size:clamp(40px,4.6vw,62px);line-height:1.04}
  .rel-acts{flex-wrap:nowrap}
  .rel-main{width:auto;flex:0 0 auto}
  .relp{flex:0 0 auto;min-width:170px;padding:0 30px}
  .rel-icons{width:auto;flex:0 0 auto;gap:8px}
  .rel-icons button{flex:0 0 auto;min-width:74px}
  .tl.rel-tl{max-width:none}
  .rel-tl .tl-head,.rel-tl .tr{grid-template-columns:44px minmax(0,2.2fr) minmax(0,1.3fr) 84px 64px 36px;column-gap:10px}
  .rel-tl .tl-head{display:grid;align-items:center;padding:10px 4px;margin-bottom:4px;border-bottom:1px solid var(--line);font-size:12.5px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--dim)}
  .rel-tl .tl-head span:first-child{text-align:center}
  .rel-tl .tr .t span{display:none}
  .rel-tl .tr .ta{display:block;font-size:15px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rel-tl .tr .td{display:block;font-size:15px;color:var(--dim);font-variant-numeric:tabular-nums}
}

/* ---- Sign Up (white) / Log In (black) ---- */
.auth-btn{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 18px;border-radius:99px;font-weight:650;font-size:14.5px;white-space:nowrap;text-decoration:none;cursor:pointer;border:1px solid transparent}
.auth-btn.su{background:#fff;color:#000}.auth-btn.su:hover{background:#e8e8e8}
.auth-btn.li{background:#000;color:#fff;border-color:rgba(255,255,255,.35)}.auth-btn.li:hover{background:#1a1a1a}
.top-auth{display:inline-flex;gap:8px}.top-auth[hidden]{display:none}
.auth-m{display:none;gap:6px}.auth-m .auth-btn{height:32px;padding:0 13px;font-size:13px}
@media (max-width:820px){.auth-m{display:inline-flex}}
.auth-err{color:#ff7a7a;font-size:13px;min-height:1em}
.auth-dlg footer{display:flex;justify-content:space-between;align-items:center;gap:12px}
.auth-dlg .link{color:var(--dim);font-size:13.5px;text-decoration:underline;background:none}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:22px}
.plan{border:1px solid var(--line);background:var(--panel);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:10px}
.plan.paid{border-color:rgba(255,255,255,.3)}.plan.cur{outline:2px solid var(--accent)}
.plan h3{font-size:18px;display:flex;gap:8px;align-items:center}.plan h3 em{font-style:normal;font-size:11px;padding:2px 7px;border-radius:99px;background:var(--accent);color:#000}
.plan .pr b{font-size:34px;letter-spacing:-.03em}.plan .pr span{color:var(--dim);margin-left:6px}
.plan p{color:var(--dim);font-size:14px}.plan ul{list-style:none;padding:0;margin:4px 0 8px;display:flex;flex-direction:column;gap:7px;font-size:14px;flex:1}
.plan li::before{content:"✓ ";font-weight:700}
.plan-feats{display:grid;gap:12px;margin-bottom:22px}.plan-feats div{padding:16px 18px;border-radius:16px;background:var(--panel)}.plan-feats b{display:block;margin-bottom:4px}.plan-feats span{color:var(--dim);font-size:14px;line-height:1.45}
.plan-contact{padding:20px;border-radius:20px;border:1px solid var(--line)}.plan-contact h3{margin-bottom:6px}.plan-contact p{color:var(--dim);margin-bottom:12px;line-height:1.5}.plan-contact b{color:var(--text)}
.plc{padding:6px 4px 12px;line-height:1.5}
.promo{display:flex;flex-direction:column;gap:2px;text-align:left;width:100%;padding:16px 18px;margin:18px 0 6px;border-radius:16px;background:linear-gradient(135deg,#2a2a30,#111);color:#fff;border:1px solid rgba(255,255,255,.18)}.promo span{color:rgba(255,255,255,.7);font-size:13.5px}
.clear-note{color:var(--dim);font-size:12.5px;padding:0 4px 8px}.clear-note button{text-decoration:underline;color:var(--text)}
.un-b{font-style:normal;font-size:10px;font-weight:700;letter-spacing:0;margin-left:8px;padding:2px 6px;border-radius:4px;border:1px solid var(--faint);color:var(--dim);text-transform:none;vertical-align:middle}
.tr.xt .t b,.trk.xt .t b{opacity:.6}

/* ===== v5 fixes ===== */
/* playlist covers: a new picture fades in instead of popping */
.plart-img.fresh{animation:plFade .35s ease both}
@keyframes plFade{from{opacity:0}to{opacity:1}}

/* ---- sidebar: nothing squashes any more. Logo + menu stay put, the playlist list is the only part that scrolls, profile + theme stay pinned at the bottom ---- */
.side{overflow:hidden!important}
.side>*{flex:none;min-width:0}
.side .grow{display:none}
@media (min-width:821px){
  .side{gap:8px;padding:14px 10px 10px}
  .nav{gap:1px}
  .nav button,.nav .s-search{padding:7px 12px;font-size:13.5px}
  .nav button i{width:18px;height:18px}
  .side-pl{flex:1 1 0;min-height:0;margin-top:4px;gap:0;border-top:1px solid var(--line);padding-top:6px}
  .side-pl-h{flex:none;padding:2px 12px 4px}
  .side-pl-list{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--faint) transparent;gap:1px;padding-bottom:6px;-webkit-mask-image:linear-gradient(#000 calc(100% - 18px),transparent);mask-image:linear-gradient(#000 calc(100% - 18px),transparent)}
  .side-pl-list::-webkit-scrollbar{width:6px}
  .side-pl-list::-webkit-scrollbar-thumb{background:var(--faint);border-radius:6px}
  .side-pl-list button{padding:6px 12px;font-size:13px;flex:none}
  .side-me{flex:none;padding:6px 10px;margin-top:2px}
  .side-theme{flex:none;padding:7px 12px}
  html[data-side=closed] .side-pl{display:none}
}
/* short windows: tighten further so the menu, profile and theme button always fit */
@media (min-width:821px) and (max-height:700px){
  .nav button,.nav .s-search{padding:5px 12px}
  .side-top{min-height:28px}
  .side-theme{display:none}
}

/* ---- top bar: the search box gives way first; Sign Up / Log In never get pushed off the screen ---- */
@media (min-width:821px){
  .top{min-width:0;flex-wrap:nowrap}
  .top>*{flex:none}
  .top-grow{flex:1 1 0;min-width:0}
  .top-search{flex:0 1 300px;min-width:140px;width:auto}
  .top-auth{flex:none}
}
@media (min-width:821px) and (max-width:1560px){
  .top-pill:not(.solid-w){padding:0;width:34px;justify-content:center}
  .top-pill:not(.solid-w) span{display:none}
}
@media (min-width:821px) and (max-width:1180px){
  .top-pill.solid-w{padding:0;width:34px;justify-content:center}
  .top-pill.solid-w span{display:none}
  .top{padding-left:16px;padding-right:16px}
}

/* ---- Log In: solid black, no light outline ---- */
.auth-btn.li,.auth-btn.li:hover,.auth-btn.li:focus-visible{border:0;box-shadow:none;outline:0}
.auth-btn.li{background:#000;color:#fff}
.auth-btn.li:hover{background:#161616}
.auth-btn.su{border:0}
.auth-btn{background-clip:padding-box;-webkit-appearance:none;appearance:none}

/* =====================================================================================================================
   v5 FULLSCREEN PLAYER
   Tinted background taken from the cover, big centred artwork, quiet text tabs at the top right,
   and one bottom bar: song + actions on the left, transport + progress in the middle, queue / volume / style on the right.
   Everything below overrides the older player rules above (same element ids, same features).
   ===================================================================================================================== */
@property --np-c1{syntax:'<color>';inherits:true;initial-value:#2b2b2e}
@property --np-c2{syntax:'<color>';inherits:true;initial-value:#1c1c1e}
.np{--np-c1:#2b2b2e;--np-c2:#1c1c1e;transition:transform .45s cubic-bezier(.2,.8,.2,1),--np-c1 1.3s ease,--np-c2 1.3s ease}
.np[data-style="art"] .np-bg{background:radial-gradient(70% 55% at 50% 38%,rgba(255,255,255,.07),transparent 72%),linear-gradient(180deg,var(--np-c1) 0,var(--np-c2) 100%)}
.np[data-style="art"] .np-bg-l{display:none}
.np[data-style="art"]::after{background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.16) 100%)}

/* top row */
.np .np-top{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(16px + env(safe-area-inset-top,0px)) 24px 0}
.np .np-top button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 12px;border-radius:10px;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;font-size:16px;font-weight:500;letter-spacing:0;color:rgba(255,255,255,.66);transition:color .2s,background .2s}
.np .np-top button:hover{color:#fff;background:rgba(255,255,255,.08)}
.np .np-top .np-tab.on{color:#fff;background:rgba(255,255,255,.12)}
.np .np-actions{display:flex;gap:4px}
.np .np-actions button{font-size:14px}
.np .np-actions i{width:18px;height:18px}
.np .np-tabs{display:flex;align-items:center;gap:6px;margin-left:auto}
.np .np-tabs .np-ic{width:40px;padding:0;justify-content:center}
.np .np-tabs .np-ic i{width:20px;height:20px}
.np .np-top button.unavail{background:none}

/* middle: artwork (and lyrics / the track list when they are open) */
.np .np-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;justify-items:center;gap:5vw;padding:2vh 5vw 3vh;transition:grid-template-columns .5s cubic-bezier(.2,.8,.2,1)}
.np .np-left{display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;container-type:size}
.np .np-art{width:min(100cqw,100cqh,760px);max-width:none;margin:0;aspect-ratio:1;border-radius:8px;box-shadow:0 30px 80px rgba(0,0,0,.38),0 0 calc(40px + var(--kick)*110px) rgba(255,255,255,calc(.03 + var(--kick)*.13));transition:transform .5s cubic-bezier(.2,.8,.2,1),border-radius .3s}
.np .np-art.paused{transform:scale(.94)}
.np[data-shape="square"] .np-art{border-radius:2px}
.np[data-shape="circle"] .np-art{border-radius:50%}
.np .lyrics{display:none;width:100%;max-width:880px;height:100%;max-height:none;justify-self:start}
.np.lyr .lyrics{display:block}
.np.lyr .np-body{grid-template-columns:minmax(200px,34%) minmax(0,1fr)}
.np.lyr .np-art{width:min(100cqw,100cqh,420px)}
.np .lyr-empty{height:100%}

/* similar tracks / up next */
.np .np-side{display:none;flex-direction:column;width:100%;max-width:460px;height:100%;max-height:100%;min-height:0;justify-self:start;border-radius:16px;background:rgba(0,0,0,.22);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);overflow:hidden}
.np.side-on .np-side{display:flex}
.np.side-on .np-body{grid-template-columns:minmax(200px,1fr) minmax(300px,460px)}
.np.side-on .np-art{width:min(100cqw,100cqh,560px)}
.np-side>header{flex:none;display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px 18px;font-size:15px}
.np-side>header button{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:rgba(255,255,255,.7)}
.np-side>header button:hover{background:rgba(255,255,255,.1);color:#fff}
.np-side>header i{width:18px;height:18px}
.np-side-list{flex:1;min-height:0;overflow-y:auto;padding:0 8px 10px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
.np-trk{display:flex;align-items:center;gap:12px;width:100%;padding:7px 10px;border-radius:10px;text-align:left;color:#fff}
.np-trk:hover{background:rgba(255,255,255,.09)}
.np-trk .art{width:44px;height:44px;border-radius:6px;flex:none;background-size:cover;background-position:center}
.np-trk .tt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.np-trk b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-trk em{font-style:normal;font-size:12.5px;color:rgba(255,255,255,.6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-trk .du{font-size:12.5px;color:rgba(255,255,255,.55);font-variant-numeric:tabular-nums}
.np-side-empty{padding:20px 12px;color:rgba(255,255,255,.6);font-size:14px;line-height:1.5}

/* bottom bar */
.np .np-bar{flex:none;position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,720px) minmax(0,1fr);align-items:center;gap:18px;padding:6px 28px calc(18px + env(safe-area-inset-bottom,0px))}
.np .np-l{display:flex;align-items:center;gap:10px;min-width:0}
.np .np-meta{min-width:0;display:flex;flex-direction:column;gap:3px}
.np .np-title{display:flex;align-items:center;gap:8px;min-width:0}
.np .np-title b{display:flex;align-items:center;gap:9px;min-width:0;font-size:19px;font-weight:600;letter-spacing:-.01em;color:#fff;white-space:nowrap}
.np .np-title b .eb{flex:none;display:inline-grid;place-items:center;width:21px;height:21px;margin:0;border-radius:5px;background:#fff;color:#111;font-size:12px;font-weight:700;font-style:normal}
.np .np-title b .cb,.np .np-title b .nr{flex:none}
.np .np-artist{display:block;max-width:100%;color:rgba(255,255,255,.62);font-size:16px;font-weight:500;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.np .np-alb{font-size:15px;margin:0}
.np .np-alb::before{content:"";display:inline-block;width:16px;height:16px;margin-right:7px;vertical-align:-3px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V6l10-2v12'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='16.5' cy='16' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V6l10-2v12'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='16.5' cy='16' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat}
.np .np-acts{display:flex;align-items:center;gap:2px;flex:none}
.np .np-acts button,.np .np-right button{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:rgba(255,255,255,.7);transition:color .2s,background .2s,transform .16s}
.np .np-acts button:hover,.np .np-right button:hover{color:#fff;background:rgba(255,255,255,.1)}
.np .np-acts i,.np .np-right i{width:22px;height:22px}
.np .np-right button.on{color:#fff;background:rgba(255,255,255,.14)}

.np .np-mid{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
.np .np-ctrl{display:flex;justify-content:center;align-items:center;gap:clamp(10px,2.2vw,26px)}
.np .np-ctrl button{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:rgba(255,255,255,.78)}
.np .np-ctrl button i{width:22px;height:22px}
.np .np-ctrl button.on{color:#fff;background:rgba(255,255,255,.16)}
.np .np-ctrl button:hover{color:#fff;background:rgba(255,255,255,.1)}
.np .np-ctrl .big{width:54px;height:54px;color:#fff}
.np .np-ctrl .big i{width:40px;height:40px}
.np .scrub{display:flex;align-items:center;gap:14px;font-size:13px;color:rgba(255,255,255,.62);font-variant-numeric:tabular-nums}
.np .scrub span{flex:none;min-width:34px}
.np .scrub span:first-child{text-align:right}
.np .scrub input{flex:1;min-width:0;width:auto}
.np .np-right{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-width:0}
.np .np-vol{display:flex;align-items:center;gap:2px;height:38px;color:rgba(255,255,255,.7)}
.np .np-vol i{width:38px;height:38px;padding:8px;flex:none}
.np .np-vol input{width:0;opacity:0;transition:width .25s ease,opacity .2s;pointer-events:none}
.np .np-vol:hover input,.np .np-vol:focus-within input{width:96px;opacity:1;pointer-events:auto;margin-right:6px}
.np .np-right .np-pill{width:auto;height:46px;padding:0 28px;margin-left:6px;border-radius:99px;display:inline-flex;gap:8px;background:#0a0a0b;color:#fff;font-size:16px;font-weight:500;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 6px 20px rgba(0,0,0,.25)}
.np .np-right .np-pill:hover{background:#18181a}
.np .np-right .np-pill i{width:18px;height:18px}
.np .np-pill span{display:inline}

/* options panel sits above the bottom bar, at the right */
.np .np-pop{top:auto;bottom:calc(92px + env(safe-area-inset-bottom,0px));right:28px;max-height:calc(100svh - 170px)}

html[data-theme="light"] .np[data-style="grey"] .np-top button{background:none}
html[data-theme="light"] .np[data-style="grey"] .np-top .np-tab.on{background:rgba(255,255,255,.12)}

@media (max-width:1100px){
  .np .np-bar{grid-template-columns:minmax(0,1fr) minmax(300px,520px) auto}
  .np .np-vol:hover input,.np .np-vol:focus-within input{width:70px}
  .np .np-right .np-pill{padding:0 18px}
}
@media (max-width:820px){
  .np .np-top{padding:calc(10px + env(safe-area-inset-top,0px)) 8px 0}
  .np .np-top button{font-size:14.5px;padding:6px 9px;min-height:40px}
  .np .np-xl,.np #npTheme,.np #npFull,.np .np-actions span{display:none}
  .np .np-actions button{min-width:40px;justify-content:center;padding:0}
  .np .np-body{padding:1vh 22px 2vh;gap:0}
  .np.lyr .np-body,.np.side-on .np-body{grid-template-columns:minmax(0,1fr)}
  .np.lyr .np-left,.np.side-on .np-left{display:none}
  .np .lyrics{max-width:none;padding:18svh 0}
  .np .np-side{max-width:none}
  .np .np-art{width:min(100cqw,100cqh,440px)}
  .np .np-bar{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:4px 24px calc(18px + env(safe-area-inset-bottom,0px))}
  .np .np-mid{display:contents}
  .np .np-l{order:1}
  .np .scrub{order:2}
  .np .np-ctrl{order:3;justify-content:space-between;gap:0}
  .np .np-ctrl button{width:52px;height:52px}
  .np .np-ctrl button i{width:25px;height:25px}
  .np .np-ctrl .big{width:68px;height:68px}
  .np .np-ctrl .big i{width:46px;height:46px}
  .np .np-right{order:4;justify-content:space-between}
  .np .np-vol{display:none}
  .np .np-right .np-pill{height:40px;padding:0 20px;font-size:14.5px}
  .np .np-title b{font-size:22px}
  .np .np-pop{top:calc(60px + env(safe-area-inset-top,0px));bottom:auto;left:16px;right:16px;width:auto;max-height:calc(100svh - 80px)}
}
@media (min-width:821px) and (max-height:620px){
  .np .np-bar{padding-bottom:10px}
  .np .np-ctrl .big{width:46px;height:46px}
  .np .np-title b{font-size:17px}
}
.np .np-top .np-tab{display:inline-block}
.np>.np-bg{position:absolute;inset:0;z-index:0}

/* ===== heart in the player: fills white with a jiggle once the song is in a playlist (same in the grey theme, the player is dark in both) ===== */
.np #npAdd i{transition:transform .2s}
.np #npAdd i svg{transition:fill .25s ease,stroke .25s ease}
.np #npAdd.on,.np #npAdd.on:hover{color:#fff}
.np #npAdd.on i svg{fill:#fff;stroke:#fff}
.np #npAdd.pop i{animation:heartJiggle .75s cubic-bezier(.2,.9,.3,1) both}
.np #npAdd:active i{transform:scale(.86)}
@keyframes heartJiggle{
  0%{transform:scale(.6) rotate(0)}
  18%{transform:scale(1.42) rotate(-14deg)}
  34%{transform:scale(.88) rotate(11deg)}
  50%{transform:scale(1.2) rotate(-8deg)}
  66%{transform:scale(.97) rotate(5deg)}
  82%{transform:scale(1.06) rotate(-2deg)}
  100%{transform:scale(1) rotate(0)}
}

/* ===== phone bottom bar: icons only, a soft pill behind the open tab, the open icon filled white ===== */
@media (max-width:820px){
  :root{--tabH:64px;--nav-bg:#1b1b1b;--nav-pill:rgba(255,255,255,.13);--nav-ic:rgba(255,255,255,.6)}
  html[data-theme="light"]{--nav-bg:#333337;--nav-pill:rgba(255,255,255,.14);--nav-ic:rgba(255,255,255,.62)}
  .tabs{align-items:flex-start;height:calc(var(--tabH) + var(--safe-b));padding:10px 6px 0;background:var(--nav-bg);border-top:0}
  .tabs button{flex:1;min-width:0;height:40px;display:flex;align-items:center;justify-content:center;gap:0;font-size:0;color:var(--nav-ic);transition:color .2s}
  .tabs button.on{color:#fff}
  .tabs button i{position:relative;width:min(64px,100%);height:40px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:20px;animation:none!important;transition:none}
  .tabs button i::before{content:"";position:absolute;inset:0;border-radius:20px;background:var(--nav-pill);opacity:0;transform:scaleX(.45);transition:opacity .22s ease,transform .3s cubic-bezier(.2,.9,.3,1.2)}
  .tabs button.on i::before{opacity:1;transform:none}
  .tabs button i svg{position:relative;width:26px;height:26px;transition:transform .15s}
  .tabs button.on i svg{stroke-width:2.2;animation:tabPop .45s cubic-bezier(.2,.9,.3,1.4)}
  .tabs button:active i svg{transform:scale(.86)}
}
@keyframes tabPop{0%{transform:scale(.8)}55%{transform:scale(1.14)}100%{transform:scale(1)}}

/* ===== phone player: sits closer to the bar, and the full player fits short screens ===== */
@media (max-width:820px){
  .player{left:8px;right:8px;bottom:calc(var(--tabH) + var(--safe-b) + 6px);height:56px;border-radius:12px}
  .p-info .art{width:40px;height:40px}
  .m-ctrl button{width:40px;height:40px}
  .main{padding-bottom:calc(var(--tabH) + 56px + 28px + var(--safe-b))}
  .toast{bottom:calc(var(--tabH) + 56px + 20px + var(--safe-b))}
  .np .np-body{padding:0 22px 6px}
  .np .np-art{width:min(100cqw,100cqh,86vw)}
  .np .np-bar{gap:8px;padding:2px 22px calc(12px + env(safe-area-inset-bottom,0px))}
  .np .np-title b{font-size:20px}
  .np .np-artist{font-size:15px}
  .np .np-ctrl button{width:48px;height:48px}
  .np .np-ctrl .big{width:62px;height:62px}
  .np .np-ctrl .big i{width:42px;height:42px}
}
@media (max-width:820px) and (max-height:700px){
  .np .np-ctrl button{width:42px;height:42px}
  .np .np-ctrl .big{width:54px;height:54px}
  .np .np-bar{gap:4px}
}

/* ================= motion v2: more life everywhere ================= */
@keyframes shimmer{0%{background-position:-220px 0}100%{background-position:220px 0}}
@keyframes imgIn{from{opacity:0;transform:scale(1.08);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
@keyframes cardIn{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:none}}
@keyframes glowPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.22)}50%{box-shadow:0 0 0 10px rgba(255,255,255,0)}}
@keyframes lineIn{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
@keyframes spinSlow{to{transform:rotate(360deg)}}
@keyframes badgeShine{0%{transform:translateX(-120%) skewX(-18deg)}60%,100%{transform:translateX(220%) skewX(-18deg)}}
@keyframes wobble{0%,100%{transform:rotate(0)}25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}

/* catalog pictures: nothing shows until the picture has loaded, then it fades and settles in (only the first time, never on a refresh) */
.card.pend,.row.pend{display:none!important}
.cat-rel .art,.card.artist .art{position:relative;overflow:hidden}
.cat-rel .art img,.card.artist .art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.card.pop{animation:cardIn .5s cubic-bezier(.2,.8,.2,1) backwards}
.card.pop .art img{animation:imgIn .6s cubic-bezier(.2,.8,.2,1) both}
.card:hover .art img{transform:scale(1.07)}
.disc-load,.cat-note{animation:fadeIn .4s both}

/* rows and tracks */
.row:hover,.tr:hover,.trk:hover{transform:translateX(3px)}
.row .art,.trk .art{transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.row:hover .art,.trk:hover .art{transform:scale(1.06)}
.row.cur .art,.trk.cur .art{animation:glowPulse 2.2s ease-in-out infinite}

/* buttons: soft glow on hover, springy press */
.pill,.bigbtn{position:relative;overflow:hidden}
.pill::after,.bigbtn::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.28) 50%,transparent 70%);transform:translateX(-120%) skewX(-18deg);pointer-events:none}
.pill:hover::after,.bigbtn:hover::after{animation:badgeShine .9s ease-out}
.icon-btn:hover,.round:hover{transform:scale(1.08)}
.icon-btn:hover i{animation:wobble .5s ease-in-out}

/* sidebar, tabs, search */
.nav button i{transition:transform .25s cubic-bezier(.2,.9,.3,1.4)}
.nav button:hover i{transform:scale(1.15) rotate(-4deg)}
.search{transition:box-shadow .25s,transform .25s}
.search:focus-within{transform:translateY(-1px);box-shadow:0 0 0 2px rgba(255,255,255,.28),0 10px 30px rgba(0,0,0,.3)}

/* claimed badge, shelf arrows, scroll rows */
.sarrows button{transition:transform .18s,background .2s,opacity .2s}
.sarrows button:hover{transform:scale(1.12)}
.sarrows button:active{transform:scale(.9)}

/* fullscreen player controls */
.np-ctrl button:hover,.ctrl button:hover{transform:scale(1.1)}
.ctrl .big:hover{transform:scale(1.08)}

/* menus, dialogs and toasts feel springier */
.menu{animation-duration:.22s}
dialog[open]{animation:dlgIn .32s cubic-bezier(.2,.9,.3,1.1)}
dialog[open]::backdrop{animation:fadeIn .25s}

@media (prefers-reduced-motion:reduce){
  .card.pop,.card.pop .art img,.row.cur .art,.trk.cur .art{animation:none!important}
  .pill::after,.bigbtn::after{display:none}
}

/* ================= the "more" box: TIDAL-style popover ================= */
.menu{min-width:232px;padding:8px;border-radius:18px;background:var(--menu-bg);-webkit-backdrop-filter:blur(30px) saturate(1.2);backdrop-filter:blur(30px) saturate(1.2);border:1px solid var(--line);box-shadow:0 24px 64px rgba(0,0,0,.55);transform-origin:top right}
.menu button{gap:16px;padding:11px 14px;border-radius:12px;font-size:15px;font-weight:600;color:var(--dim);transition:background .15s,color .15s,transform .15s}
.menu button i{width:22px;height:22px;flex:none}
.menu button:hover,.menu button:focus-visible{background:color-mix(in srgb,var(--text) 15%,transparent);color:var(--text);outline:0}
.menu button:active{transform:scale(.97)}
.menu .danger,.menu .danger:hover{color:#ff7b7b}
.menu .danger:hover{background:rgba(255,90,90,.15)}
.menu hr{border:0;height:1px;margin:6px 10px;background:var(--line)}
.menu button:disabled{opacity:.55;cursor:default}
.menu button:not(:disabled){animation:fadeIn .2s both}

/* a more button on every card (shows on hover on desktop, always on touch) */
.card{position:relative}
.cmore{position:absolute;top:8px;right:8px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(20,20,22,.74);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;z-index:3;cursor:pointer;transition:opacity .18s,transform .18s,background .18s}
.cmore i{width:20px;height:20px}
.cmore:hover{background:rgba(10,10,12,.94);transform:scale(1.1)}
.cmore:active{transform:scale(.92)}
.card.artist .art .cmore{top:auto;right:8%;bottom:8%}
@media (hover:hover){.cmore{opacity:0}.card:hover .cmore,.cmore:focus-visible{opacity:1}}
@media (hover:none){.cmore{width:30px;height:30px;top:6px;right:6px}}

/* phones: the more box is a bottom sheet */
#menuBack{position:fixed;inset:0;z-index:59;background:rgba(0,0,0,.5);animation:fadeIn .25s both}
#menuBack[hidden]{display:none}
.menu.sheet{left:0!important;right:0;top:auto!important;bottom:0;width:100%;min-width:0;max-height:82svh;overflow-y:auto;overscroll-behavior:contain;padding:22px 10px calc(14px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;border-width:1px 0 0;animation:sheetUp .34s cubic-bezier(.2,.9,.3,1);transform-origin:bottom;transition:transform .2s}
.menu.sheet::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:var(--faint,rgba(255,255,255,.3))}
.menu.sheet button{padding:15px 16px;font-size:16.5px;gap:18px}
.menu.sheet button i{width:24px;height:24px}

/* android-style circular loader + DJ Auto button */
.aspin{width:20px;height:20px;margin-right:10px;vertical-align:-4px;animation:spinSlow 1.568s linear infinite}
.aspin circle{fill:none;stroke:currentColor;stroke-width:4.2;stroke-linecap:round;stroke-dasharray:2 200;animation:aspinDash 1.4s ease-in-out infinite}
@keyframes aspinDash{0%{stroke-dasharray:2 200;stroke-dashoffset:0}50%{stroke-dasharray:90 200;stroke-dashoffset:-28}100%{stroke-dasharray:90 200;stroke-dashoffset:-118}}
.mixgrid button[data-v="dj"]{grid-column:1/-1}

/* ===== v31: plain white readable text, new home, phone-friendly ===== */
:root,:root[data-theme="light"]{--dim:rgba(255,255,255,.84);--faint:rgba(255,255,255,.62);--font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,system-ui,sans-serif}
body{font-feature-settings:normal;letter-spacing:0;font-weight:400;color:#fff}
.pop-row>b,.a-stats span,.hf-k,.me-k,.arow .ai em,.rel-meta,.rel-badges,.rel-badge,.tl-head,.un-b,.badge,.cb,.nr,.side-pl-h,.side-pl-h span,.ha-text .meta,.rel-left{text-transform:none!important;letter-spacing:0!important;font-weight:500!important;color:#fff!important;font-size:13px}
.badge,.un-b,.nr,.rel-badge{border:0;background:rgba(255,255,255,.16);padding:2px 8px;border-radius:99px}
.card span,.row .t span,.tr .t span,.trk .t span,.meta span,.pk-t span,.page-head p,.home-top p{color:rgba(255,255,255,.84)}
.line .w.ad{opacity:.85}
/* home */
.home-top{margin:4px 0 16px}
.home-top h1{font-size:32px;color:#fff}
.hm-acts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}
.hm-acts button{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:99px;background:var(--panel2);color:#fff;font-size:15px;font-weight:500}
.hm-acts button.solid{background:#fff;color:#000}
.hm-acts i{width:20px;height:20px}
.hm-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr);gap:20px;margin-bottom:8px}
.hm-feat{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-height:240px;padding:20px;border-radius:20px;background-size:cover;background-position:center;color:#fff;text-align:left;position:relative;overflow:hidden}
.hm-feat::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.75))}
.hm-feat>*{position:relative}
.hm-feat small{font-size:14px;color:#fff}
.hm-feat b{font-size:26px;font-weight:600;line-height:1.1}
.hm-feat span{font-size:15px;color:#fff}
.hm-top .picks{grid-template-columns:repeat(2,minmax(0,1fr));align-content:stretch}
@media (max-width:820px){
  .hm-top{grid-template-columns:1fr;gap:14px}
  .hm-feat{min-height:190px}
  .hm-acts button{flex:1 1 calc(50% - 10px);justify-content:center;min-width:0}
  .picks{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* older phones: no heavy blur or looping effects */
  .np-bg-l{filter:none!important}
  .player,.tabs,.menu,.cmore{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .row:hover,.tr:hover,.trk:hover{transform:none}
  .row.cur .art,.trk.cur .art,.card.pop,.pill::after{animation:none!important}
  .studio[open]{width:100%;max-width:none;max-height:92svh;margin:auto 0 0;border-radius:22px 22px 0 0}
  .studio .solid,.studio .ghost{min-height:48px;font-size:16px}
  .pastew textarea{font-size:16px}
}
.pastew summary{cursor:pointer;font-size:14px;color:#fff;padding:6px 0}
.pastew textarea{margin-top:8px;width:100%}
.cat-retry{margin-left:10px}
.ini{display:grid;place-items:center;width:100%;height:100%;font-size:40px;font-weight:600;color:#fff}


/* ===== NEW badge: white with black text, like the E and C bubbles ===== */
.rel-badge.new,.nr{background:var(--text)!important;color:var(--bg)!important;border-radius:5px!important;padding:3px 7px!important;font-weight:800!important;font-size:11px!important}

/* ===== release ratings: metallic ===== */
.rate{font-style:normal;display:inline-block;padding:3px 10px;border-radius:6px;font-size:11.5px;font-weight:800;letter-spacing:.01em;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 3px rgba(0,0,0,.35),0 1px 4px rgba(0,0,0,.35)}
.rate.low{background:linear-gradient(180deg,#ff8f8f 0%,#d32f2f 42%,#7f0f0f 58%,#e84545 100%)}
.rate.nice{background:linear-gradient(180deg,#9dffb0 0%,#2fb34f 42%,#0f6a28 58%,#43d567 100%)}
.rate.max{background:linear-gradient(180deg,#d9a8ff 0%,#8e3fd6 42%,#4a1a85 58%,#a65be8 100%)}
.rate.ultra{position:relative;overflow:hidden;text-transform:uppercase;letter-spacing:.14em;padding:3px 12px;color:#f4fbff;border-color:rgba(220,240,255,.7);
  background:conic-gradient(from 210deg at 30% 40%,#c9d3da,#7d8a94 12%,#eef6fb 24%,#8f9ca6 36%,#5a656e 48%,#dfeaf1 60%,#98a5af 72%,#e8f2f8 84%,#c9d3da),#8a96a0;
  box-shadow:inset 0 1px 0 #fff,inset 0 -2px 4px rgba(30,40,50,.55),0 0 8px rgba(150,220,255,.35),0 1px 5px rgba(0,0,0,.5);text-shadow:0 1px 1px rgba(20,30,40,.8),0 0 6px rgba(130,210,255,.5)}
.rate.ultra::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.75) 48%,rgba(160,230,255,.5) 52%,transparent 65%);transform:translateX(-120%);animation:ultraSheen 3.2s ease-in-out infinite}
.rate.ultra::after{content:"";position:absolute;inset:2px;border-radius:4px;border:1px solid rgba(255,255,255,.25);pointer-events:none}
@keyframes ultraSheen{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){.rate.ultra::before{animation:none}}

/* ===== artist list on a song: just names ===== */
.arow.plain{display:flex;align-items:center;justify-content:space-between;padding:15px 12px;font-size:17px;font-weight:500;color:var(--text);border-radius:12px}
.arow.plain small{font-size:13px;color:var(--dim);font-weight:400}
.arow.plain+.arow.plain{border-top:1px solid var(--line)}

/* ===== save heart: pops and turns white, same as the player heart ===== */
.plsave{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--dim);cursor:pointer;flex:none}
.plsave i{width:24px;height:24px;display:block;transition:transform .2s}
.plsave i svg{transition:fill .25s,stroke .25s}
.plsave.on{color:#fff}.plsave.on i svg{fill:#fff;stroke:#fff}
.plsave.pop i{animation:heartJiggle .75s cubic-bezier(.2,.9,.3,1) both}
.plsave:active i{transform:scale(.86)}
.plsave.big{width:52px;height:52px;border-radius:16px;background:var(--panel2)}
.card.pl{position:relative}
.plsave.card-heart{position:absolute;top:6px;left:6px;width:34px;height:34px;background:rgba(20,20,22,.74);color:#fff;z-index:3}
.plsave.card-heart i{width:19px;height:19px}
.sv-n{font-style:normal}

/* ===== genre chips ===== */
.gchips{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 12px;scrollbar-width:none}
.gchips::-webkit-scrollbar{display:none}
.gchip{flex:none;padding:8px 15px;border-radius:99px;background:var(--panel2);color:var(--text);font-size:14px;font-weight:600;transition:background .15s,color .15s}
.gchip:hover{background:var(--hov)}
.gchip.on{background:#fff;color:#0a0a0b}

/* ===== locked songs ===== */
.trk.locked{position:relative;display:block;min-height:84px;overflow:hidden;border-radius:12px;cursor:default}
.trk.locked .trk-in{display:flex;align-items:center;gap:12px;padding:8px;filter:blur(7px);opacity:.7;pointer-events:none;user-select:none}
.trk.locked .trk-in .art{width:48px;height:48px;border-radius:6px;flex:none}
.lockov{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:rgba(10,10,12,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.lockov p{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.3;color:#fff;margin:0;min-width:0}
.lockov p i{width:18px;height:18px;flex:none}
.lockbtns{display:flex;gap:8px;flex:none}
.lockbtns button{padding:8px 13px;border-radius:99px;font-size:13px;font-weight:700;background:rgba(255,255,255,.18);color:#fff}
.lockbtns .lk-sub{background:#fff;color:#0a0a0b}
.lockbtns button:disabled{opacity:.5}
@media (max-width:560px){.lockov{flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}.trk.locked{min-height:96px}}

/* ===== playlist covers: never flat grey ===== */
.plart .pl-ph{background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(0,0,0,.4)),var(--c)}
.pl-hero .bleed-bg{filter:saturate(1.3) brightness(.85)}

/* catalog loading circle (Android style): shown while albums, singles and release songs are being pulled in */
.xload{display:flex;align-items:center;justify-content:center;gap:10px;height:76px;width:100%;color:#fff;animation:fadeIn .4s both}
.xload .aspin{width:34px;height:34px;margin:0;vertical-align:0}
.xload.more{height:56px;font-size:13px;color:var(--dim)}.xload.more .aspin{width:22px;height:22px}
.ab-spin{color:#fff}.ab-spin .aspin{width:100%;height:100%;margin:0}
/* Shuffle buttons: no glass shine sweep on hover */
[data-act*="shuffle"]::after,#shuffle::after,#npShuffle::after{display:none!important;animation:none!important}
[data-act*="shuffle"]:hover::after{animation:none!important}

/* ===== v36 ===== */
/* full-screen player: no circle around the play button (hover, press or focus) */
.np .np-ctrl .big,.np .np-ctrl .big:hover,.np .np-ctrl .big:active,.np .np-ctrl .big:focus,.np .np-ctrl .big:focus-visible,.np-ctrl .big,.np-ctrl .big:hover{background:transparent!important;box-shadow:none!important;outline:0!important;animation:none!important}
.np .np-ctrl .big{transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
.np .np-ctrl .big:hover{transform:scale(1.08)}.np .np-ctrl .big:active{transform:scale(.9)}

/* hearts: a bigger, bouncier jiggle, with a soft glow while it lands */
@keyframes heartJiggle{
  0%{transform:scale(.4) rotate(0);filter:drop-shadow(0 0 0 rgba(255,255,255,0))}
  14%{transform:scale(1.7) rotate(-22deg);filter:drop-shadow(0 0 10px rgba(255,255,255,.55))}
  28%{transform:scale(.78) rotate(18deg)}
  42%{transform:scale(1.35) rotate(-14deg)}
  56%{transform:scale(.92) rotate(9deg)}
  70%{transform:scale(1.14) rotate(-5deg)}
  84%{transform:scale(.98) rotate(2deg)}
  100%{transform:scale(1) rotate(0);filter:drop-shadow(0 0 0 rgba(255,255,255,0))}
}
.np #npAdd.pop i,.plsave.pop i{animation:heartJiggle 1s cubic-bezier(.25,.9,.3,1) both}
/* saved-playlist hearts: just the heart, no square or circle behind it (like the player) */
.plsave,.plsave.big{background:none!important;border-radius:50%}
.plsave.big{width:52px;height:52px}.plsave.big i{width:30px;height:30px}
.plsave.card-heart{background:none!important;color:#fff;filter:drop-shadow(0 1px 4px rgba(0,0,0,.65))}
.plsave.card-heart:not(.on) i svg{stroke:#fff}
.plsave:hover i{transform:scale(1.12)}.plsave:active i{transform:scale(.8)}

/* artist picker: tap the profile picture */
.apicks{display:flex;flex-wrap:wrap;justify-content:center;gap:22px 26px;padding:14px 8px 22px}
.apick{display:flex;flex-direction:column;align-items:center;gap:10px;width:96px;text-align:center;animation:apickIn .5s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i,0)*70ms + 80ms)}
.apick span{font-size:13px;font-weight:600;color:var(--text);line-height:1.25;max-width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;pointer-events:none}
.apfp{width:84px;height:84px;border-radius:50%;background-size:cover!important;background-position:center!important;background-color:var(--panel2);box-shadow:0 8px 22px rgba(0,0,0,.35);transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
.apfp:hover,.apfp:focus-visible{transform:scale(1.09);box-shadow:0 12px 28px rgba(0,0,0,.45),0 0 0 3px rgba(255,255,255,.22);outline:0}
.apfp:active{transform:scale(.93)}
@keyframes apickIn{from{opacity:0;transform:translateY(16px) scale(.8)}to{opacity:1;transform:none}}

/* smoother, springier motion everywhere */
@keyframes menuIn{from{opacity:0;transform:scale(.92) translateY(-6px)}to{opacity:1;transform:none}}
@keyframes dlgIn{from{opacity:0;transform:translateY(26px) scale(.95)}to{opacity:1;transform:none}}
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,18px) scale(.94)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes iconSwap{0%{transform:scale(.55) rotate(-24deg);opacity:.3}60%{transform:scale(1.14) rotate(5deg);opacity:1}100%{transform:none}}
i.swap{animation:iconSwap .38s cubic-bezier(.34,1.56,.64,1)}
.asheet-card{animation:sheetUp .45s cubic-bezier(.22,1,.36,1) both}
.asheet-bg{animation:asFade .3s ease both}
.menu,.cmore{animation-timing-function:cubic-bezier(.22,1,.36,1)}
.card .art,.row .art,.trk .art{transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s cubic-bezier(.22,1,.36,1)}
.card,.row,.tr,.trk{transition:background .25s ease,transform .35s cubic-bezier(.22,1,.36,1)}
.pill,.bigbtn,.abp,.relp,.quick button,.round,.icon-btn,.gchip,.atabs button,.top-pill,.auth-btn{transition:transform .3s cubic-bezier(.34,1.56,.64,1),background .2s ease,color .2s ease,box-shadow .25s ease,filter .2s}
.pill:hover,.bigbtn:hover,.abp:hover,.relp:hover,.quick button:hover,.gchip:hover,.top-pill:hover{transform:translateY(-1px)}
.pill:active,.bigbtn:active,.abp:active,.relp:active,.quick button:active,.gchip:active,.top-pill:active{transform:scale(.95)}
.pb{transition:opacity .25s ease,transform .35s cubic-bezier(.34,1.56,.64,1)}
.card:hover .pb{transform:scale(1.04)}
.pb:hover{transform:scale(1.12)!important}
@media (prefers-reduced-motion:reduce){.apick,i.swap,.asheet-card,.asheet-bg{animation:none!important}.apfp,.pill,.bigbtn,.abp,.relp{transition:none!important}}

/* streams still loading (or zero): the Android circle */
.pc.ld{display:inline-flex;align-items:center;justify-content:flex-end;min-width:44px;color:var(--dim)}
.pc.ld .aspin{width:16px;height:16px;margin:0;vertical-align:0}

/* catalog artist tile while its picture is on the way */
.card .art .ab-spin.sm{position:absolute;inset:0;display:grid;place-items:center;color:#fff}
.card .art .ab-spin.sm .aspin{width:34%;height:34%;margin:0}

.np-q{display:inline-block;margin-left:8px;padding:1px 6px;border-radius:5px;background:#fff;color:#000;font-size:10px;font-weight:800;letter-spacing:.04em;vertical-align:2px}

/* ===== v44: play button just changes (no spin / bounce / glow), readable badges and white boxes ===== */
i.swap,#play i,#mPlay i,#npPlay i,#play,#mPlay,#npPlay,body.playing .ctrl .big{animation:none!important}
#play,#mPlay,#npPlay,#play:hover,#mPlay:hover,#npPlay:hover,#play:active,#mPlay:active,#npPlay:active{transform:none!important;transition:none!important;box-shadow:none!important}
#play i,#mPlay i,#npPlay i{transition:none!important;transform:none!important}

/* the small "C" / new tags were forced white on a white box */
.cb,.nr,.eb{color:var(--bg)!important}
.np .cb,.np .nr,.np .eb,html[data-theme="light"] .np[data-style="grey"] .cb,html[data-theme="light"] .np[data-style="grey"] .nr,html[data-theme="light"] .np[data-style="grey"] .eb{color:#0a0a0b!important}
.cb,.nr{background:var(--text)!important}
.np .cb,.np .nr{background:rgba(255,255,255,.82)!important}

/* anything with a white background gets dark text, including its label, icon and counters */
.pill,.top-pill.solid-w,.bigbtn.light,.abp.white,.relp.white,.hm-acts button.solid,.gchip.on,.lockbtns .lk-sub,.auth-btn.su,.seg button.on,.mixgrid button.on,.sortbar button.on,.vchips button.on,.circ button.go,.np-q,.toast,html[data-shell="mac"] .top-pill.solid-w{color:var(--pill-fg,#000)!important}
.pill *,.top-pill.solid-w *,.bigbtn.light *,.abp.white *,.relp.white *,.hm-acts button.solid *,.gchip.on *,.lockbtns .lk-sub *,.auth-btn.su *,.seg button.on *,.mixgrid button.on *,.sortbar button.on *,.vchips button.on *,.circ button.go *,.toast *{color:inherit!important}

/* ===== v44b: Hi-Res tag, options button moved to the top bar ===== */
.np .np-meta .np-q,.np-title .np-q{font-size:10.5px!important;line-height:1.5!important;font-weight:800!important;padding:1px 7px!important;margin-left:8px;white-space:nowrap;display:inline-block;flex:none;width:auto;height:auto;border-radius:5px;letter-spacing:.04em}
.np .np-tabs #npOpts{width:40px;padding:0;justify-content:center}
.np .np-tabs #npOpts i{width:20px;height:20px}
.np .np-tabs #npOpts[aria-expanded="true"]{background:rgba(255,255,255,.22)}
.np .np-pop{top:calc(64px + env(safe-area-inset-top,0px));bottom:auto}

/* ===== v45: Home filters + album / single / EP boxes ===== */
.hm-chips{display:flex;gap:10px;overflow-x:auto;margin:6px -16px 8px;padding:6px 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hm-chips::-webkit-scrollbar{display:none}
.hm-chips button{flex:none;height:42px;padding:0 20px;border-radius:99px;background:#141416;color:#f5f5f7;font-size:15px;font-weight:600;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);transition:background .15s,color .15s}
.hm-chips button:hover{background:#202024}
.hm-chips button.on,.hm-chips button[aria-selected="true"]{background:#fff!important;color:#000!important}
.shelf.hm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:22px 18px;margin-bottom:30px;overflow:visible}
.shelf.hm-grid .card{min-width:0}
.shelf.hm-grid .card .art{width:100%;aspect-ratio:1;border-radius:6px}
.shelf.hm-grid .card b{font-size:15px;font-weight:650;display:flex;align-items:center;gap:6px;min-width:0}
.shelf.hm-grid .card span{font-size:13.5px;color:var(--dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shelf.hm-grid.round-row .card .art{border-radius:50%}
.shelf.hm-grid.round-row .card{align-items:center;text-align:center}
.hm-all{font-size:14px;font-weight:600;color:var(--dim);padding:6px 4px}
.hm-all:hover{color:var(--text)}
.hm-n{font-size:14px;color:var(--dim)}
@media (max-width:820px){
  .shelf.hm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
  .hm-chips{margin:4px -16px 6px}
}
@media (min-width:1280px){.shelf.hm-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}
.hm-chips{margin-left:calc(var(--px,18px)*-1)!important;margin-right:calc(var(--px,18px)*-1)!important;padding-left:var(--px,18px)!important;padding-right:var(--px,18px)!important}

/* ===== v46: loading pill (Android circle + song name + progress) ===== */
.loadpill{position:fixed;left:50%;bottom:calc(var(--playerH) + 40px);transform:translateX(-50%);z-index:71;display:flex;align-items:center;gap:12px;max-width:min(92vw,440px);min-width:190px;padding:10px 18px 10px 12px;border-radius:99px;background:rgba(24,24,27,.94);color:#f5f5f7;font-size:14px;font-weight:600;box-shadow:0 12px 34px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);overflow:hidden;animation:lpIn .3s cubic-bezier(.2,.9,.3,1.2) both}
.loadpill[hidden]{display:none}
.loadpill .aspin{flex:none;width:26px;height:26px;margin:0;vertical-align:0;color:#fff}
.loadpill .lp-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loadpill .lp-p{flex:none;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.7);font-weight:600;min-width:2.4em;text-align:right}
.loadpill::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--p,0%);background:#fff;border-radius:0 3px 3px 0;transition:width .25s ease}
.loadpill.ind::after{width:30%;animation:lpInd 1.2s ease-in-out infinite}
@keyframes lpIn{from{opacity:0;transform:translate(-50%,10px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes lpInd{0%{left:-30%}100%{left:100%}}
@media (max-width:820px){.loadpill{bottom:calc(var(--tabH) + 60px + 24px + var(--safe-b))}}


/* ---------- animated covers ---------- */
.np-art,.p-info .art,.ha-art .art{position:relative}
.anim-ov{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none;z-index:1;-webkit-user-drag:none}
.cover-pick .art{position:relative}
.cv-anim{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.anim-note{display:block;font-size:12px;color:var(--dim);margin-top:6px}
.np-art,.ha-art .art[data-vw]{cursor:zoom-in}

/* ---------- artwork viewer ---------- */
.viewer{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#000;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}
.viewer[hidden]{display:none}
.vw-bg{position:absolute;inset:-20%;background-size:cover!important;background-position:center!important;filter:blur(80px) saturate(1.5) brightness(.5);transform:scale(1.2)}
.vw-fig{position:relative;margin:0;width:min(92vw,78svh,720px);display:flex;flex-direction:column;gap:18px;align-items:center;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.vw-art{position:relative;width:100%;aspect-ratio:1;border-radius:0;background-size:cover;background-position:center;box-shadow:0 30px 90px rgba(0,0,0,.6)}
.vw-fig figcaption{text-align:center;color:#fff;display:flex;flex-direction:column;gap:3px;max-width:100%}
.vw-fig figcaption b{font-size:19px;font-weight:700;letter-spacing:-.01em}
.vw-fig figcaption span{font-size:15px;color:rgba(255,255,255,.65)}
.vw-fig figcaption em{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.55);margin-top:4px}
.vw-x{position:absolute;top:calc(14px + env(safe-area-inset-top,0px));right:16px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);color:#fff;z-index:2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.vw-x i{width:20px;height:20px}

/* ---------- Apple Music style controls and scrubber ---------- */
.np-ctrl button{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation}
.np-ctrl button.hold{transform:scale(1.14);background:rgba(255,255,255,.18);color:#fff}
.np-ctrl #npPrev i,.np-ctrl #npNext i{width:30px;height:30px}
.np .scrub{display:grid;grid-template-columns:1fr 1fr;row-gap:4px;column-gap:0;align-items:center}
.np .scrub input{grid-column:1/-1;grid-row:1;width:100%;height:32px;margin:0;touch-action:none}
.np .scrub #npCur{grid-column:1;grid-row:2;text-align:left;min-width:0}
.np .scrub #npRem{grid-column:2;grid-row:2;text-align:right;min-width:0}
.np .scrub span{font-size:12px;font-weight:600;letter-spacing:.01em;color:rgba(255,255,255,.55)}
.np .scrub input::-webkit-slider-runnable-track{height:7px;border-radius:99px;background:linear-gradient(90deg,rgba(255,255,255,.9) var(--v,0%),rgba(255,255,255,.26) var(--v,0%));transition:height .2s cubic-bezier(.2,.8,.2,1),background-color .2s}
.np .scrub input::-moz-range-track{height:7px;border-radius:99px;background:rgba(255,255,255,.26);transition:height .2s cubic-bezier(.2,.8,.2,1)}
.np .scrub input::-moz-range-progress{height:7px;border-radius:99px;background:rgba(255,255,255,.9);transition:height .2s cubic-bezier(.2,.8,.2,1)}
.np .scrub input::-webkit-slider-thumb{width:0;height:0;margin-top:0;box-shadow:none;background:none}
.np .scrub input::-moz-range-thumb{width:0;height:0;border:0;background:none}
.np .scrub:hover input::-webkit-slider-runnable-track,.np .scrub.drag input::-webkit-slider-runnable-track{height:13px}
.np .scrub:hover input::-moz-range-track,.np .scrub.drag input::-moz-range-track,.np .scrub:hover input::-moz-range-progress,.np .scrub.drag input::-moz-range-progress{height:13px}
.np .scrub.drag span{color:rgba(255,255,255,.9)}
@media (hover:none){.np .scrub:hover input::-webkit-slider-runnable-track{height:7px}.np .scrub.drag input::-webkit-slider-runnable-track{height:13px}}


/* ---------- Apple Music inspired chrome ---------- */
.gl-round,.gl-pill{background:rgba(60,60,66,.5);-webkit-backdrop-filter:blur(24px) saturate(1.7);backdrop-filter:blur(24px) saturate(1.7);box-shadow:inset 0 .5px 0 rgba(255,255,255,.22),0 4px 18px rgba(0,0,0,.18);color:#fff}
.gl-round{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none}
.gl-round i{width:22px;height:22px}
.gl-round i svg{stroke-width:2.4}
.gl-pill{display:flex;align-items:center;height:46px;padding:0 6px;border-radius:99px;gap:2px}
.gl-pill button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#fff;background:none}
.gl-pill button i{width:22px;height:22px}
.gl-pill .round{width:44px;height:44px;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.gl-round:active,.gl-pill button:active{transform:scale(.92)}
.rel-top{justify-content:space-between!important}
.relc{flex:none;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(120,120,128,.28);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);color:var(--text);transition:transform .16s,background .2s}
.relc i{width:24px;height:24px;display:grid;place-items:center}
.relc i svg{width:100%;height:100%;stroke-width:2}
.relc:hover{background:rgba(120,120,128,.4)}
.relc:active{transform:scale(.92)}
.rel-main .relp.white{font-size:18px}

@media (max-width:820px){
  .rel-main{align-items:center;gap:12px}
  .rel-main .relp.white{height:54px}
  .rel .ha-text h1{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.15}
  .rel .ha-text .rel-by{font-size:22px;font-weight:400;margin-top:6px;color:rgba(255,255,255,.92)}
  .rel .ha-text .rel-av{display:none}
  .rel .ha-text .rel-meta{margin-top:6px;font-size:14px;font-weight:600;color:rgba(255,255,255,.55)}
  .rel-badges{margin-top:8px}
  .ha-art{margin-top:24px}
  .hero-album.rel .ha-art .art{width:min(70vw,300px);border-radius:12px}

  /* flat, icon-only dark nav bar with a colour-tinted mini player card sitting right on it */
  :root{--tabH:58px}
  html body .tabs{left:0;right:0;bottom:0;height:calc(var(--tabH) + var(--safe-b));padding:0 6px var(--safe-b);gap:0;align-items:center;border-radius:0;border:0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.9) 36%,#000);-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none}
  html body .tabs button{position:relative;height:var(--tabH);flex:1;min-width:0;display:flex;align-items:center;justify-content:center;border-radius:0;background:none;box-shadow:none;color:#a7a7a7;font-size:0}
  html body .tabs button span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html body .tabs button i{position:static;width:30px;height:30px;padding:0;border-radius:0;background:none}
  html body .tabs button i::before{display:none}
  html body .tabs button i svg{width:28px;height:28px}
  html body .tabs button.on{color:#fff;background:none;box-shadow:none}
  html body .player{left:8px;right:8px;bottom:calc(var(--tabH) + var(--safe-b));height:64px;padding:0 10px 0 8px;border-radius:8px;border:0;background:var(--pl-c,#2d4d5f);box-shadow:0 6px 24px rgba(0,0,0,.35);-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transition:background .8s ease,left .3s cubic-bezier(.2,.8,.2,1)}
  html body .p-info{gap:14px}
  html body .p-info .art{width:48px;height:48px;border-radius:4px}
  html body .p-info .meta b{font-size:17px;font-weight:500;color:#fff}
  html body .p-info .meta span{font-size:15px;color:rgba(255,255,255,.62)}
  html body .m-ctrl{gap:0}
  html body .m-ctrl #mNext{display:none}
  html body .m-ctrl #mPlay{width:50px;height:50px}
  html body .m-ctrl #mPlay i{width:34px;height:34px;color:#fff}
  html body .m-bar{display:block!important;left:8px;right:8px;bottom:4px;height:2.5px;border-radius:99px;background:rgba(255,255,255,.28)}
  html body .m-bar i{border-radius:99px;background:#fff}
}


/* ---------- lyrics: the cover colours the whole screen, with a small cover chip on top ---------- */
.np.lyr[data-style="art"] .np-bg-l{filter:blur(56px) saturate(1.9) brightness(.8)}
.np.lyr .np-bg::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(0,0,0,0) 24%,rgba(0,0,0,0) 60%,rgba(0,0,0,.42))}


/* ---------- Plans promo card on the song art ---------- */
.np-art{container-type:inline-size}
.np-ad{position:absolute;inset:0;z-index:6;border-radius:inherit;overflow:hidden;display:flex;flex-direction:column;color:#fff;background:linear-gradient(160deg,var(--np-c1,#2b2b2e) 0%,rgba(8,12,9,.96) 118%);-webkit-backdrop-filter:blur(30px) saturate(1.6);backdrop-filter:blur(30px) saturate(1.6);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.18);cursor:default;animation:adIn .5s cubic-bezier(.2,.9,.25,1) both}
.np-ad[hidden]{display:none}
@keyframes adIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
.ad-tag{position:absolute;top:4.5cqw;left:4.5cqw;padding:1.6cqw 3cqw;border-radius:2cqw;background:rgba(0,0,0,.45);font-size:max(11px,3.4cqw);font-weight:600;letter-spacing:.01em}
.ad-x{position:absolute;top:3.5cqw;right:3.5cqw;width:max(34px,10cqw);height:max(34px,10cqw);border-radius:50%;display:grid;place-items:center;background:rgba(60,60,66,.55);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff}
.ad-x i{width:48%;height:48%}
.ad-x:active{transform:scale(.9)}
.ad-copy{flex:1;display:flex;flex-direction:column;justify-content:center;padding:14cqw 7cqw 3cqw;gap:3cqw;min-height:0}
.ad-copy h3{margin:0;font-size:clamp(24px,10.5cqw,44px);line-height:1.04;font-weight:800;letter-spacing:-.03em}
.ad-copy p{margin:0;font-size:clamp(13px,4.4cqw,18px);line-height:1.3;color:rgba(255,255,255,.72);font-weight:500;max-width:86%}
.ad-bar{display:flex;align-items:center;justify-content:space-between;gap:3cqw;padding:3.6cqw 5cqw 3.6cqw 6cqw;background:rgba(0,0,0,.5)}
.ad-bar b{font-size:max(15px,5cqw);font-weight:600}
.ad-go{height:max(38px,11cqw);padding:0 max(18px,6cqw);border-radius:99px;background:#fff;color:#000;font-size:max(15px,4.8cqw);font-weight:700;white-space:nowrap}
.ad-go:active{transform:scale(.95)}


/* ===== Foundry subscription promo on the song art (Apple-Music-style offer card) ===== */
.np-ad{background:#1c1c1e;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 0 0 .5px rgba(255,255,255,.14),0 24px 60px rgba(0,0,0,.55)}
.ad-top{flex:1 1 50%;min-height:0;display:grid;place-items:center;background:radial-gradient(110% 100% at 50% 0%,#101012 0%,#000 72%)}
.ad-top img{width:60cqw;max-width:78%;height:auto;filter:brightness(0) invert(1);-webkit-user-drag:none;user-select:none}
.ad-panel{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.8cqw;padding:5.5cqw 6cqw 4.5cqw;background:#1c1c1e}
.ad-panel h3{margin:0;font-size:clamp(17px,6.8cqw,32px);font-weight:700;letter-spacing:-.02em;line-height:1.08;text-wrap:balance}
.ad-panel p{margin:0;font-size:clamp(11.5px,3.8cqw,16px);line-height:1.3;color:rgba(255,255,255,.9);text-wrap:balance}
.np-ad .ad-go{height:max(40px,12.5cqw);padding:0 max(36px,13cqw);margin-top:2.6cqw;background:#418df7;color:#fff;font-size:clamp(15px,5cqw,21px);font-weight:600;letter-spacing:-.01em}
.np-ad .ad-go:hover{background:#5a9cf8}
.ad-see{padding:1.6cqw 4cqw;color:#418df7;font-size:clamp(14px,4.4cqw,19px);font-weight:500}
.ad-see:hover{text-decoration:underline}
.np-ad .ad-x{background:rgba(120,120,128,.36);color:#fff}

/* home promo card, same offer */
.promo{background:linear-gradient(135deg,#1c1c1e,#000);border-radius:20px;padding:18px 20px}
.promo b{font-size:17px;letter-spacing:-.015em}

/* ===== search: pill bar with a mic ===== */
.search.sx{gap:12px;height:52px;padding:0 8px 0 18px;border-radius:99px;margin-bottom:22px;background:var(--panel2)}
.search.sx .sx-ic{width:22px;height:22px;flex:none;color:var(--text)}
.search.sx input{font-size:18px;font-weight:500;min-width:0}
.search.sx input::placeholder,.top-search input::placeholder{color:var(--faint);opacity:1}
.search.sx input::-webkit-search-cancel-button{display:none}
.sx-mic{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center;color:var(--text);background:none}
.sx-mic i{width:22px;height:22px}
.sx-mic:hover{background:var(--hov)}
.sx-mic.live{background:#ff453a;color:#fff;animation:sxPulse 1.2s ease-in-out infinite}
@keyframes sxPulse{50%{box-shadow:0 0 0 7px rgba(255,69,58,.22)}}
.top-search .sx-mic{width:30px;height:30px;margin-right:-8px}
.top-search .sx-mic i{width:18px;height:18px}
@media (max-width:820px){.top-search{display:none}}

/* ===== artist profile ===== */
.ab .tb-r:empty{display:none}

/* ===== promo v2: Foundry Plus, white button ===== */
.ad-top{flex-direction:column;gap:3.5cqw;background:radial-gradient(90% 120% at 50% 0%,#26262b 0%,#000 70%)}
.ad-plus{padding:1cqw 4cqw;border-radius:99px;background:#fff;color:#000;font-size:max(11px,3.6cqw);font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.np-ad .ad-go{background:#fff;color:#000;font-weight:700}
.np-ad .ad-go:hover{background:#e8e8ea}
.ad-see{color:rgba(255,255,255,.75)}
.ad-see:hover{color:#fff}
.ad-top{display:flex;align-items:center;justify-content:center}

/* ===== search: no outline ===== */
.search:focus-within,.top-search:focus-within{box-shadow:none!important;transform:none!important;outline:none}
.search input,.top-search input,.search input:focus,.top-search input:focus,.search input:focus-visible,.top-search input:focus-visible{outline:none!important;box-shadow:none!important}

/* ===== artist filter bubbles ===== */
.atabs.ax-tabs{position:sticky;top:0;z-index:4;display:flex;gap:10px;margin:14px 0 8px;padding:8px 0;border:0;background:linear-gradient(var(--bg) 82%,transparent)}
.ax-tabs button{flex:1;height:44px;margin:0;padding:0;border:0;border-radius:99px;background:var(--panel2);color:var(--dim);font-size:15px;font-weight:600;text-align:center}
.ax-tabs button.on{background:var(--text);color:var(--bg);border:0}
@media (min-width:821px){.atabs.ax-tabs{max-width:460px}}

/* ===== plans page ===== */
.pl-hero{position:relative;overflow:hidden;border-radius:26px;padding:30px 24px 22px;margin:0 0 18px;color:#fff;background:radial-gradient(120% 90% at 85% -10%,#3a3a42 0%,#111114 55%,#000 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.pl-badge{display:inline-block;padding:4px 12px;border-radius:99px;background:#fff;color:#000;font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.pl-hero h1{margin:14px 0 8px;font-size:clamp(34px,9vw,56px);font-weight:800;letter-spacing:-.035em;line-height:1.02}
.pl-hero>p{margin:0 0 18px;max-width:460px;color:rgba(255,255,255,.75);font-size:15.5px;line-height:1.4}
.pl-offer{display:flex;flex-direction:column;gap:2px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);max-width:460px}
.pl-offer b{font-size:17px;letter-spacing:-.015em}.pl-offer span{font-size:13.5px;color:rgba(255,255,255,.7)}
.pl-hero-acts{display:flex;align-items:center;gap:16px;margin-top:18px;flex-wrap:wrap}
.pl-link{color:#fff;font-size:15px;font-weight:600;opacity:.8;padding:10px 4px}.pl-link:hover{opacity:1;text-decoration:underline}
.pl-status{display:block;margin-top:6px;color:rgba(255,255,255,.55);font-size:12.5px}
.pl2-btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 26px;border-radius:99px;background:#fff;color:#000;font-size:15.5px;font-weight:700;letter-spacing:-.01em}
.pl2-btn:hover{background:#e8e8ea}
.pl2-btn.ghost{background:var(--panel2);color:var(--dim);font-weight:600}
.pl2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-bottom:26px}
.pl2{position:relative;display:flex;flex-direction:column;gap:10px;padding:24px 22px 22px;border-radius:24px;background:var(--panel);box-shadow:inset 0 0 0 1px var(--line)}
.pl2.plus{background:linear-gradient(160deg,#26262b,#0e0e10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);color:#fff}
.pl2.cur{box-shadow:inset 0 0 0 2px #fff}
.pl2-tag{align-self:flex-start;padding:4px 10px;border-radius:99px;background:rgba(255,255,255,.14);font-size:11.5px;font-weight:700;letter-spacing:.02em}
.pl2 h3{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:700;letter-spacing:-.02em}
.pl2 h3 em{font-style:normal;font-size:11px;font-weight:700;padding:2px 8px;border-radius:99px;background:#fff;color:#000}
.pl2-pr b{font-size:40px;font-weight:800;letter-spacing:-.04em}.pl2-pr span{margin-left:6px;color:var(--faint);font-size:14px}
.pl2>p{margin:0;color:var(--dim);font-size:14px;line-height:1.4}
.pl2 ul{list-style:none;margin:6px 0 10px;padding:0;display:flex;flex-direction:column;gap:9px;font-size:14px;flex:1}
.pl2 li{display:flex;gap:10px;align-items:flex-start;line-height:1.3}
.pl2 li::before{content:"";flex:none;width:18px;height:18px;margin-top:0;border-radius:50%;background:rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.pl2 .pl2-btn{width:100%}
.pl-h{margin:26px 0 12px}
.pl-table{border-radius:20px;background:var(--panel);overflow:hidden;margin-bottom:10px}
.pl-tr{display:grid;grid-template-columns:1.5fr 1fr 1fr;align-items:center;gap:8px;padding:14px 16px;font-size:14px}
.pl-tr+.pl-tr{border-top:1px solid var(--line)}
.pl-th{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
.pl-th span:not(:first-child),.pl-tr>span:not(.pl-n):not(:first-child){text-align:center}
.pl-n{font-weight:600}
.pl-yes{display:inline-grid;place-items:center;width:22px;height:22px;margin:0 auto;border-radius:50%;background:var(--text);color:var(--bg)}
.pl-yes svg{width:13px;height:13px}
.pl-no{color:var(--faint);font-size:18px}
.pl-tx{font-size:13px;color:var(--dim);font-weight:600}

/* ===== See all plans sheet ===== */
.pov{position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;justify-content:center;animation:povIn .22s ease both}
.pov.out{opacity:0;transition:opacity .18s}
@keyframes povIn{from{opacity:0}}
.pov-bg{position:absolute;inset:0;background:rgba(0,0,0,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.pov-card{position:relative;width:min(520px,100%);max-height:92svh;overflow:auto;padding:26px 20px calc(20px + env(safe-area-inset-bottom,0px));border-radius:28px 28px 0 0;background:#1c1c1e;color:#fff;box-shadow:0 -20px 60px rgba(0,0,0,.5);animation:povUp .34s cubic-bezier(.2,.9,.25,1) both}
@keyframes povUp{from{transform:translateY(40px);opacity:0}}
@media (min-width:600px){.pov{align-items:center}.pov-card{border-radius:28px}}
.pov-x{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(120,120,128,.36);color:#fff}
.pov-x i{width:16px;height:16px}
.pov-head h2{margin:12px 0 6px;font-size:28px;font-weight:800;letter-spacing:-.03em}
.pov-head p{margin:0 0 18px;color:rgba(255,255,255,.7);font-size:14.5px;line-height:1.4;max-width:90%}
.pov-list{display:flex;flex-direction:column;gap:10px}
.pov-row{display:flex;align-items:center;gap:14px;width:100%;padding:16px;border-radius:18px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1.5px transparent;text-align:left;color:#fff}
.pov-row.on{background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1.5px #fff}
.pov-row.basic{opacity:.6}
.pov-dot{flex:none;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.4)}
.pov-row.on .pov-dot{background:#fff radial-gradient(circle,#000 0 34%,transparent 38%);box-shadow:none}
.pov-dot.off{opacity:.4}
.pov-t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.pov-t b{font-size:16px;font-weight:700}.pov-t small{font-size:12.5px;color:rgba(255,255,255,.65);line-height:1.3}
.pov-p{font-size:18px;font-weight:800;letter-spacing:-.02em}.pov-p em{font-style:normal;font-size:12px;font-weight:600;color:rgba(255,255,255,.6)}
.pov-feats{list-style:none;margin:18px 2px 18px;padding:0;display:grid;gap:9px;font-size:14px;color:rgba(255,255,255,.85)}
.pov-feats li{display:flex;gap:10px;align-items:center}
.pov-feats li::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat}
.pov-cta{width:100%;height:52px;border-radius:99px;background:#fff;color:#000;font-size:17px;font-weight:700}
.pov-cta:active{transform:scale(.98)}
.pov-skip{display:block;margin:8px auto 0;padding:10px 16px;color:rgba(255,255,255,.65);font-size:15px;font-weight:500}


/* ===== Apple Music circle buttons + plans carousel =====
   One round grey button style used for: desktop back / forward, the buttons on release pages
   (back, share, credits, more) and the plans carousel arrows. Sampled from Apple Music's own arrows. */
:root{--ap-btn:#353537;--ap-btn-hov:#434346;--ap-chev:#d8d8d8;--ap-d:36px}
.ap-circ,.top-nav button,.gl-round,.gl-pill button,html .topbar .round,.ap-arrows button{
  width:var(--ap-d);height:var(--ap-d);padding:0;border:0;border-radius:50%;flex:none;
  display:grid;place-items:center;color:var(--ap-chev);background:var(--ap-btn);
  -webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;
  transition:background .15s,opacity .15s,transform .15s}
.ap-circ:hover,.top-nav button:hover:not(:disabled),.gl-round:hover,.gl-pill button:hover,html .topbar .round:hover,.ap-arrows button:hover:not(:disabled){background:var(--ap-btn-hov)}
.ap-circ:active,.top-nav button:active:not(:disabled),.gl-round:active,.gl-pill button:active,html .topbar .round:active,.ap-arrows button:active:not(:disabled){transform:scale(.92)}
.ap-circ:disabled,.top-nav button:disabled,.ap-arrows button:disabled{opacity:.38;cursor:default}
.ap-circ i,.top-nav i,.gl-round i,.gl-pill button i,html .topbar .round i,.ap-arrows i{width:20px;height:20px;display:grid;place-items:center}
.ap-circ i svg,.top-nav i svg,.gl-round i svg,.gl-pill button i svg,html .topbar .round i svg,.ap-arrows i svg{width:100%;height:100%;stroke-width:2.6}
/* desktop header: two separate circles, no pill behind them */
.top-nav{display:flex;gap:16px;padding:0;border-radius:0;background:none}
/* release pages: every button is its own circle, all grouped at the top right */
.gl-pill{display:flex;align-items:center;height:auto;padding:0;gap:12px;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.rel-top{justify-content:flex-end!important;gap:12px}
.tb-r{gap:12px}

/* plans page */
.ap-bar{position:sticky;top:calc(-1*var(--pt));z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;height:56px;margin:calc(-1*var(--pt)) calc(-1*var(--px)) 0;padding:0 var(--px);background:#1d1d1f;border-bottom:1px solid rgba(255,255,255,.18)}
.ap-bar b{font-size:20px;font-weight:600;letter-spacing:-.015em;color:#f5f5f7}
.ap-pill{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 22px;border-radius:99px;background:#f5f5f7;color:#000;font-size:15px;font-weight:500;white-space:nowrap;letter-spacing:-.005em;transition:background .15s,transform .15s}
.ap-pill:hover{background:#fff}.ap-pill:active{transform:scale(.97)}
.ap-pill.sm{height:30px;padding:0 16px;font-size:14px}
.ap-pill.off{background:rgba(255,255,255,.14);color:rgba(255,255,255,.7);cursor:default}
.ap-head{padding:30px 0 6px;max-width:640px}
.ap-head h1{font-size:clamp(30px,5vw,48px);font-weight:700;letter-spacing:-.03em;line-height:1.05}
.ap-head p{margin:10px 0 0;color:#8e8e93;font-size:17px;line-height:1.4}
.ap-head small{display:block;margin-top:10px;color:#8e8e93;font-size:13px}
.ap-car{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 var(--px);scrollbar-width:none;margin:22px calc(-1*var(--px)) 0;padding:0 var(--px)}
.ap-car::-webkit-scrollbar{display:none}
.ap-card{position:relative;flex:0 0 min(78vw,340px);scroll-snap-align:start;display:flex;flex-direction:column;min-height:520px;padding:28px 22px 24px;border-radius:22px;background:#000;color:#f5f5f7}
.ap-card.cur{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)}
.ap-card h3{font-size:22px;font-weight:700;letter-spacing:-.02em;line-height:1.2;color:#f5f5f7}
.ap-card h3 em{font-style:normal;margin-left:8px;padding:2px 8px;border-radius:99px;background:#f5f5f7;color:#000;font-size:11px;font-weight:700;vertical-align:3px;letter-spacing:0}
.ap-card h3 span{display:block;margin-top:2px;color:#8e8e93}
.ap-card hr{border:0;border-top:1px solid rgba(255,255,255,.85);margin:22px 0 20px}
.ap-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px;flex:1;font-size:16px;line-height:1.2}
.ap-card li{display:flex;gap:10px;align-items:flex-start}
.ap-card li::before{content:"";flex:none;width:17px;height:19px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5L19.5 6.5'/%3E%3C/svg%3E") center/17px no-repeat}
.ap-card .ap-pill{align-self:flex-start;margin-top:28px;height:40px;padding:0 24px;font-size:16px}
.ap-arrows{display:flex;justify-content:flex-end;gap:16px;margin:22px 0 10px}
.ap-arrows[hidden]{display:none}
@media (max-width:820px){:root{--ap-d:38px}.ap-bar{height:52px}.ap-card{flex-basis:min(74vw,300px)}}

/* plans page sits on Apple's near-black, like the reference */
html .main:has(.ap-bar){background:#111}

/* ===== slimmer, tighter desktop header ===== */
@media (min-width:821px){
  .top{--ap-d:32px;padding:8px 24px 6px;gap:8px;min-height:48px}
  .top-nav{gap:12px;margin-right:4px}
  .top-nav i{width:18px;height:18px}
  .top-search{height:32px;padding:0 12px;gap:7px}
  .top-search i{width:15px;height:15px}
  .top-search input{font-size:13px}
  .top .top-pill{height:30px;padding:0 13px;gap:6px;font-size:13px;font-weight:500}
  .top .top-pill i{width:16px;height:16px;flex:none}
  .top .auth-btn{height:30px;padding:0 14px;font-size:13px;font-weight:500}
  .top-auth{gap:6px}
  .top-me,.top-me .me-av{width:32px;height:32px}
}
@media (min-width:821px) and (max-width:1560px){
  .top .top-pill:not(.solid-w){width:30px;padding:0;justify-content:center}
}
@media (min-width:821px) and (max-width:1180px){
  .top .top-pill.solid-w{width:30px;padding:0;justify-content:center}
}


/* ===== iOS activity indicator (12 spokes, stepped) replaces the Android-style wheel everywhere ===== */
.aspin{animation:iosSpin 1s steps(12) infinite!important}
.aspin line{stroke:currentColor;stroke-width:3.6;stroke-linecap:round}
@keyframes iosSpin{to{transform:rotate(360deg)}}

/* ===== thinner, rounder sidebar with iOS press / hold jiggle (desktop) ===== */
@keyframes iosPop{0%{transform:scale(.93)}45%{transform:scale(1.045)}75%{transform:scale(.99)}100%{transform:scale(1)}}
@keyframes iosWiggle{0%{transform:rotate(-1.7deg) scale(.97)}50%{transform:rotate(1.7deg) scale(.97)}100%{transform:rotate(-1.7deg) scale(.97)}}
@media (min-width:821px){
  :root{--side:186px}
  html[data-side=closed]{--side:62px}
  .side{padding:12px 8px;gap:10px}
  .nav{gap:2px}
  .nav button,.nav .s-search{padding:8px 10px;gap:10px;border-radius:16px;font-size:13.5px}
  .nav button i,.side-theme i{width:18px;height:18px}
  .side-pl-h{padding:4px 10px;font-size:12px}
  .side-pl-list button{padding:7px 10px;gap:9px;border-radius:14px;font-size:13px}
  .side-me{border-radius:18px}
  .side-tgl{border-radius:50%}
  html[data-side=closed] .nav button{padding:9px 0;border-radius:16px}
  .side button,.side .brand{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;transition:transform .22s cubic-bezier(.34,1.56,.64,1),background .15s,color .15s}
  .side button.jig-down{transform:scale(.94);transition-duration:.12s}
  .side button.jig-pop{animation:iosPop .42s cubic-bezier(.34,1.56,.64,1)}
  .side button.jig-hold{animation:iosWiggle .17s ease-in-out infinite;transition:none}
}
@media (prefers-reduced-motion:reduce){.side button.jig-pop,.side button.jig-hold{animation:none}}
