/* Nunito Sans: SIL Open Font License 1.1. See /fonts/OFL.txt. Self-hosted. */
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:200 1000;font-display:swap;src:url("/fonts/NunitoSans-v1.ttf") format("truetype")}
@font-face{font-family:"Nunito Sans";font-style:italic;font-weight:200 1000;font-display:swap;src:url("/fonts/NunitoSans-Italic-v1.ttf") format("truetype")}
/* Palette, rounded surfaces and persistent shell adapted from Creator Library app.dart. */
:root{color-scheme:dark;--bg:#090d14;--surface:#111826;--high:#182131;--mint:#7ae7c7;--blue:#74a7ff;--text:#f2f5fb;--muted:#a6b3c9;--line:#253248;--error:#ff94a2;font-family:"Nunito Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}a:hover{color:var(--mint)}button,input,select,textarea{font:inherit}button,.button{border:1px solid var(--line);background:var(--high);border-radius:12px;min-height:44px;padding:10px 16px;color:var(--text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650}button:hover,.button:hover{border-color:var(--mint);color:var(--mint)}button.primary,.button.primary{background:var(--mint);color:#032019;border-color:var(--mint)}button.danger{color:var(--error)}button:disabled{opacity:.45;cursor:default}input,select,textarea{background:#0e1521;border:1px solid var(--line);border-radius:10px;color:var(--text);padding:12px;width:100%;min-width:0}textarea{resize:vertical;min-height:110px}input[type=checkbox]{width:20px;height:20px;accent-color:var(--mint);flex-shrink:0}input[type=range]{accent-color:var(--mint);padding:0;min-height:20px}input[type=file]{max-width:100%}:focus-visible{outline:2px solid var(--mint);outline-offset:4px}small,.muted{color:var(--muted)}small{display:block;font-size:12px;line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.5px;line-height:1.13}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:17px}p{line-height:1.65}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:var(--muted);margin-bottom:16px}.app-shell{display:grid;grid-template-columns:234px minmax(0,1fr);min-height:100vh;padding-bottom:106px}.rail{padding:34px 22px;border-right:1px solid #1a2537;position:fixed;top:0;bottom:106px;width:234px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-weight:760;font-size:19px;margin:0 0 56px}.brand small{font-size:11px;font-weight:450;letter-spacing:.3px}.brand-mark{background:var(--mint);color:#08251f;width:42px;height:42px;border-radius:13px;font-size:21px;display:flex;align-items:center;justify-content:center;letter-spacing:-4px;padding-right:4px}.brand-mark span{transform:translateY(4px)}nav{display:flex;flex-direction:column;gap:8px}nav a{padding:13px 15px;border-radius:11px;color:var(--muted);font-size:14px;display:flex;gap:15px;align-items:center}nav a.active{background:#16342f;color:var(--mint)}nav .nav-icon{font-size:18px;width:20px;text-align:center}.rail-foot{margin-top:auto;font-size:12px;color:var(--muted);line-height:2.4}.status-dot{display:inline-block;width:7px;height:7px;background:var(--mint);border-radius:50%;margin-right:8px}.workspace{grid-column:2;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;padding:26px 42px;gap:20px;border-bottom:1px solid #192233}.topbar form{display:flex;align-items:center;gap:12px;max-width:620px;width:100%}.topbar form>span{font-size:27px;color:var(--muted)}.topbar input{border:0;background:transparent;padding-left:0}.topbar form button{background:transparent;font-size:12px}.topbar #account{flex-shrink:0;display:flex;gap:10px;align-items:center}#content{padding:34px 42px 10px;max-width:1600px;margin:auto;min-height:60vh}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:25px}.page-heading h1{font-size:30px;letter-spacing:-.8px;margin-bottom:7px}.page-heading p{margin:0}.hero{background:radial-gradient(ellipse at 80% 30%,#285854 0,transparent 53%),linear-gradient(125deg,#132b2b,#172331 65%);border:1px solid #2b4948;border-radius:24px;min-height:300px;position:relative;overflow:hidden;padding:42px;margin:4px 0 35px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;max-width:560px}.hero h1{max-width:490px;margin:14px 0}.hero p{max-width:405px;color:#bed2d0}.hero .eyebrow{color:var(--mint)}.hero-art{position:absolute;right:-35px;top:-90px;width:440px;height:440px;border-radius:50%;background:repeating-radial-gradient(circle,#102526 0px,#102526 4px,#365653 5px,#163635 7px);border:22px solid #183b39;box-shadow:0 35px 90px #0008;opacity:.65;transform:rotate(-22deg)}.hero-art:after{content:'a m';position:absolute;inset:145px;background:var(--mint);border-radius:50%;color:#153d33;display:grid;place-items:center;font-size:27px;font-weight:800;letter-spacing:-6px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 20px}.section-head h2{margin:0}.badge{display:inline-block;font-size:10px;letter-spacing:.9px;text-transform:uppercase;border:1px solid #345148;color:var(--mint);background:#132c29;padding:5px 9px;border-radius:7px;line-height:1.4}.badge.warn{color:#ffd08c;background:#362a1b;border-color:#58432a}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(188px,1fr));gap:23px}.music-card{min-width:0;padding:12px;background:var(--surface);border:1px solid #202b3c;border-radius:18px}.music-card h3{margin:16px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-card p{font-size:13px;color:var(--muted);margin:0 0 14px}.artwork{position:relative;aspect-ratio:1;border-radius:12px;background:radial-gradient(ellipse at 25% 80%,#8db9b0,transparent 60%),linear-gradient(140deg,#245f66,#161e3b);overflow:hidden;display:grid;place-items:center;font-size:64px;color:#f8fffcaa}.artwork.v1{background:radial-gradient(ellipse at 75% 20%,#e4bb81,transparent 60%),linear-gradient(140deg,#65553c,#2c1d37)}.artwork.v2{background:radial-gradient(ellipse at 30% 30%,#8994d8,transparent 60%),linear-gradient(145deg,#272962,#112628)}.artwork img{width:100%;height:100%;object-fit:cover;position:absolute}.artwork .art-label{font-size:13px;letter-spacing:5px;position:absolute;bottom:18px;left:18px;right:12px;text-transform:uppercase;font-weight:700}.card-actions{display:flex;gap:8px}.card-actions .primary{flex:1;font-size:12px;padding:9px}.play-icon{background:#ffffff15;border-color:#ffffff22;font-size:16px}.track-list{display:flex;flex-direction:column;gap:8px}.track{display:flex;align-items:center;gap:15px;background:var(--surface);border:1px solid #202b3c;border-radius:14px;padding:12px 16px;min-width:0}.track .track-info{flex:1;min-width:0}.track strong{display:block;overflow-wrap:anywhere}.track .artwork{width:52px;flex-shrink:0;border-radius:9px;font-size:24px}.track .art-label{display:none}.track .buy{min-width:133px}.track small{margin-top:3px}.track .track-meta{color:var(--muted);font-size:12px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.panel{background:var(--surface);border:1px solid var(--line);padding:25px;border-radius:20px;margin:18px 0}.panel p:last-child{margin-bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .wide{grid-column:1/-1}label.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.check{display:flex;align-items:start;gap:12px;line-height:1.6}.form-actions{margin-top:20px}.empty{padding:38px 25px;text-align:center;border:1px dashed var(--line);border-radius:18px;color:var(--muted)}.auth-panel{max-width:490px;margin:30px auto}.auth-panel form{display:flex;flex-direction:column;gap:18px}.profile-banner{height:170px;border-radius:20px;background:linear-gradient(120deg,#244c47,#18243b);overflow:hidden}.profile-banner img{width:100%;height:100%;object-fit:cover}.profile-heading{display:flex;align-items:center;gap:24px;margin:22px 0}.avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;background:var(--high)}.profile-heading h1{margin-bottom:8px}.split{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:25px}.stats{display:flex;gap:20px;flex-wrap:wrap}.stats .panel{flex:1;min-width:150px}.stats strong{font-size:27px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-weight:500}.page-footer{padding:35px 42px;color:var(--muted);font-size:12px}.page-footer a{margin-left:10px}.player{position:fixed;bottom:0;left:0;right:0;height:106px;background:#101824f5;border-top:1px solid #2a394c;backdrop-filter:blur(20px);display:grid;grid-template-columns:minmax(210px,1fr) minmax(260px,1.3fr) minmax(200px,1fr);gap:24px;align-items:center;padding:12px 28px;z-index:20}.now-playing{display:flex;gap:14px;align-items:center;min-width:0}.now-playing>div:last-child{min-width:0}.now-playing strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-art{width:57px;height:57px;border-radius:10px;background:linear-gradient(145deg,#32685d,#1b2941);display:grid;place-items:center;color:var(--mint);font-size:25px;flex-shrink:0}.mini-art img{width:100%;height:100%;border-radius:10px;object-fit:cover}.transport-buttons{display:flex;justify-content:center;align-items:center;gap:15px}.transport-buttons button{background:none;border:0;padding:8px;min-width:40px}.transport-buttons .play-main{border-radius:50%;background:var(--mint);color:#05291e;width:39px;height:39px;min-height:39px}.timeline{display:flex;gap:12px;align-items:center;font-size:10px;color:var(--muted);margin-top:7px}.timeline input{flex:1}.player-extra{display:flex;align-items:center;gap:12px;justify-content:end}.player-extra label{font-size:11px;color:var(--muted)}.player-extra input{width:85px}.player-extra button{font-size:12px}#notice{position:fixed;right:22px;bottom:124px;z-index:60;max-width:min(460px,90vw);background:var(--high);border:1px solid var(--mint);border-radius:14px;padding:16px 22px;box-shadow:0 15px 45px #0007;display:none}#notice.visible{display:block}#notice.error{border-color:var(--error)}dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:20px;max-width:700px;width:90%;max-height:80vh;padding:25px}dialog::backdrop{background:#000a}.dialog-close{float:right}progress{width:100%;height:20px;accent-color:var(--mint)}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-60px;background:var(--mint);color:#000;padding:15px;z-index:100}.skip:focus{top:5px}.error-text{color:var(--error)}.subnav{display:flex;gap:10px;overflow:auto;padding-bottom:15px}.long-copy{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:1500px){.grid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:1100px){.rail{width:195px;padding:30px 15px}.app-shell{grid-template-columns:195px 1fr}.topbar,#content{padding-left:25px;padding-right:25px}.hero{padding:30px}.hero-copy{max-width:65%}.hero-art{right:-165px}.player{grid-template-columns:1fr 1.2fr auto;gap:15px;padding:12px 20px}.player-extra label,.player-extra input{display:none}.track .track-meta{display:none}}
@media(max-width:760px){.app-shell{display:block;padding-bottom:176px}.rail{position:static;width:auto;padding:18px 18px 0;border:0;display:block}.brand{margin:0 0 18px;font-size:19px}.rail>.eyebrow,.rail-foot{display:none}nav{flex-direction:row;overflow:auto;gap:5px;padding-bottom:10px}nav a{white-space:nowrap;padding:10px 12px;font-size:12px;gap:6px}.topbar{padding:12px 18px;gap:6px}.topbar #account small{display:none}.topbar button{padding:8px;font-size:11px}.topbar form{gap:7px}.topbar input{font-size:12px}.topbar form>span{display:none}.topbar form button{display:none}#content{padding:24px 18px 0}.hero{min-height:280px;padding:25px;border-radius:18px;margin-bottom:25px}.hero-copy{max-width:83%}.hero h1{font-size:34px}.hero-art{width:300px;height:300px;right:-180px;top:10px}.hero-art:after{inset:90px}.hero p{font-size:13px}.hero .eyebrow{font-size:9px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.music-card{padding:9px;border-radius:13px}.music-card h3{font-size:14px;margin-top:12px}.music-card p{font-size:11px}.card-actions{gap:5px}.card-actions button{padding:8px;min-height:40px}.card-actions .primary{font-size:10px}.artwork .art-label{font-size:10px;letter-spacing:2px;left:12px;bottom:12px}.track{gap:10px;padding:10px;flex-wrap:wrap}.track .artwork{width:40px}.track strong{font-size:13px}.track .buy{min-width:0;font-size:11px;padding:9px}.track .add{display:none}.track .play-icon{padding:8px}.form-grid,.split{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.panel{padding:19px}.page-heading{align-items:start}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.page-footer{padding:28px 18px;font-size:11px}.player{height:157px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 18px}.now-playing{grid-column:1;grid-row:1}.mini-art{width:40px;height:40px}.transport{grid-column:1/-1;grid-row:2;display:flex;gap:16px;align-items:center}.transport-buttons{gap:5px}.timeline{flex:1;margin:0;gap:7px}.player-extra{grid-column:2;grid-row:1}.player-extra button{min-height:36px;padding:8px}.stats{gap:10px}.stats .panel{min-width:90px;padding:15px}.stats strong{font-size:22px}#notice{bottom:170px}.profile-heading{gap:16px}.avatar{width:70px;height:70px}.profile-banner{height:120px}.profile-heading h1{font-size:28px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:color .15s,border-color .15s,background .15s}.music-card:hover{transform:translateY(-2px);transition:transform .2s}}
@media(max-width:480px){.track{display:grid;grid-template-columns:40px 36px minmax(0,1fr);gap:9px}.track .track-info{grid-column:3}.track .buy,.track>a.button{grid-column:3;justify-self:start}.track .add{display:inline-flex;grid-column:2;grid-row:2;padding:5px}.page-heading>.badge{display:none}.hero-copy{max-width:100%}.hero h1{font-size:30px}.hero-art{opacity:.3}.card-actions{flex-wrap:wrap}.card-actions .primary{flex-basis:100%}.card-actions .play-icon{width:100%}.section-head{gap:10px}.section-head h2{font-size:20px}.section-head>.muted{font-size:11px}.player .transport-buttons button{min-width:32px}.player .transport{gap:4px}.timeline{gap:4px}.profile-heading{flex-wrap:wrap}}
.card-actions{flex-wrap:wrap}
@media(max-width:480px){.track [data-action="share-song"]{grid-column:3;justify-self:start}}

/* No player or reserved space until the listener explicitly starts a song. */
.player[hidden]{display:none}
body:not(.player-active) .app-shell{padding-bottom:0}
body:not(.player-active) .rail{bottom:0}
body:not(.player-active) #notice{bottom:24px}
/* Artwork-led landing pages for shared songs and playlists. */
.shared-header{display:none}
.shared-page .rail,.shared-page .topbar{display:none}
.shared-page .app-shell{display:block}
.shared-page .workspace{min-width:0}
.shared-page #content{max-width:1120px;margin:auto;padding:44px 40px}
.shared-header{padding:18px 32px;border-bottom:1px solid var(--line);background:var(--bg);align-items:center;justify-content:space-between;gap:16px}
.shared-page .shared-header{display:flex}
.shared-brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:750;white-space:nowrap}
.shared-brand .brand-mark{width:36px;height:36px;font-size:19px}
.shared-header-actions{display:flex;align-items:center;gap:16px}
.shared-header-actions>.button{border-radius:28px;font-size:13px;background:var(--surface)}
.shared-menu,.song-more{position:relative}
.shared-menu summary,.song-more summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;min-width:44px;min-height:44px;font-size:23px;color:var(--muted)}
.shared-menu summary::-webkit-details-marker,.song-more summary::-webkit-details-marker{display:none}
.shared-menu nav,.song-more>div{position:absolute;z-index:20;right:0;top:100%;min-width:180px;padding:8px;background:var(--high);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px #0008}
.shared-menu nav a,.song-more>div a{display:block;padding:12px;font-size:14px;white-space:nowrap}
.song-more>div button{white-space:nowrap;width:100%;background:none;border:0}
.song-hero{display:grid;grid-template-columns:minmax(220px,340px) minmax(0,1fr);gap:44px;align-items:center;background:radial-gradient(ellipse at 20% 15%,#7ae7c719,transparent 65%);padding-bottom:32px}
.song-cover .artwork{aspect-ratio:1;border-radius:8px;box-shadow:0 18px 50px #0006;width:100%}
.song-intro h1{margin:0 0 16px;overflow-wrap:anywhere;font-size:clamp(30px,4vw,52px)}
.song-intro .eyebrow{display:block;margin-bottom:14px}
.song-artist{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600}
.artist-monogram{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:var(--line);color:var(--mint);font-size:15px}
.song-meta{color:var(--muted);font-size:14px;margin:14px 0 22px}
.song-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}
.song-secondary{display:flex;align-items:center;gap:14px}
.song-icon{padding:8px;background:transparent;border:0;border-radius:50%;color:var(--muted);font-size:30px;width:46px;height:46px}
.song-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.song-play{width:72px;height:72px;min-width:72px;border:0;border-radius:50%;background:var(--mint);color:#032019;font-size:28px;padding:0}
.song-play span{padding-left:4px}.song-play:hover{background:#96efd5;color:#032019;transform:scale(1.04)}
.song-listening-note{text-align:right;color:var(--muted);font-size:12px;margin:10px 0 0}
.song-purchase{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.song-purchase h2{font-size:20px;margin:0 0 6px}.song-purchase p{margin:0;color:var(--muted);font-size:14px}.song-purchase .buy{flex-shrink:0}
.song-about{padding-top:32px}.song-about h2{font-size:22px}.song-about dl{margin:0 0 24px}.song-about dl>div{display:grid;grid-template-columns:100px 1fr;gap:16px;padding:9px 0;font-size:14px}.song-about dt{color:var(--muted)}.song-about dd{margin:0;overflow-wrap:anywhere}.song-about>p{font-size:12px;max-width:620px}
.shared-page .page-footer{max-width:1120px;margin:auto}
@media(max-width:640px){
.shared-header{padding:14px 18px;gap:10px}.shared-brand{font-size:17px;gap:9px}.shared-header-actions{gap:5px}.shared-header-actions>.button{font-size:12px;padding:8px 12px}
.shared-page #content{padding:20px 20px 28px}.song-hero{display:flex;flex-direction:column;gap:25px;padding-bottom:24px}.song-cover{width:65%;max-width:270px;align-self:center}.song-intro{width:100%}.song-intro .eyebrow{display:none}.song-intro h1{font-size:30px;letter-spacing:-.7px;margin-bottom:12px}.song-meta{margin-bottom:20px}.song-play{width:64px;height:64px;min-width:64px;font-size:26px}.song-listening-note{margin-bottom:0}.song-purchase{align-items:flex-start;flex-direction:column;gap:16px}.song-purchase .buy{width:100%}.song-about dl>div{grid-template-columns:75px 1fr;gap:12px}
}
@media(max-width:360px){.shared-header{padding-inline:14px}.shared-brand{font-size:15px;gap:7px}.shared-brand .brand-mark{width:30px;height:30px}.shared-header-actions>.button{font-size:11px;padding:8px 10px}}
/* Discover uses the same compact navigation and artwork-led hierarchy. */
.discover-search{display:flex;align-items:center;gap:8px;max-width:650px;background:var(--surface);border:1px solid var(--line);border-radius:30px;padding:3px 8px 3px 16px;margin-bottom:18px}
.discover-search input{background:none;border:0;padding:12px 0;border-radius:18px}
.discover-search button{border:0;border-radius:50%;padding:10px;background:transparent;min-width:44px}
.discover-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.discover-tabs{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.discover-tabs a{display:flex;align-items:center;min-height:42px;padding:10px 18px;border:1px solid var(--line);border-radius:24px;color:var(--muted);font-size:13px;font-weight:650}
.discover-tabs a[aria-current]{background:var(--mint);color:#032019;border-color:var(--mint)}
.discover-hero{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:36px;padding:28px 32px;margin-bottom:34px;border-radius:22px;background:radial-gradient(ellipse at 85% 10%,#7ae7c71f,transparent 70%),var(--surface)}
.discover-intro h1{font-size:clamp(32px,4vw,52px);margin:12px 0 16px;letter-spacing:-1px}
.discover-intro p{color:var(--muted);max-width:330px;margin-bottom:22px}
.discover-intro .eyebrow{color:var(--mint);font-size:10px}
.discover-feature{min-width:0}.discover-feature .artwork{aspect-ratio:1;border-radius:10px;box-shadow:0 10px 28px #0004}.discover-feature strong{display:block;margin-top:12px;font-size:16px;overflow-wrap:anywhere}.discover-feature small{margin-top:2px}
.discover-page .music-card{background:transparent;border:0;padding:0}.discover-page .music-card .artwork{border-radius:12px}.discover-page .section-head{margin-top:32px}
@media(max-width:640px){.discover-page #content{padding-top:16px}.discover-search{margin-bottom:14px}.discover-search input{font-size:13px}.discover-tabs{gap:7px;margin-bottom:22px}.discover-tabs a{padding:8px 13px;font-size:12px}.discover-hero{grid-template-columns:minmax(0,1fr) minmax(0,125px);gap:16px;padding:22px 18px;margin-bottom:26px;border-radius:18px}.discover-intro h1{font-size:28px;line-height:1.12;margin:10px 0 12px;letter-spacing:-.7px}.discover-intro p{font-size:12px;line-height:1.5;margin-bottom:16px}.discover-intro .button{font-size:12px;padding:10px 12px}.discover-intro .eyebrow{font-size:8px;letter-spacing:1.5px}.discover-feature strong{font-size:13px;margin-top:9px}.discover-feature small{font-size:10px;line-height:1.4}.discover-feature .art-label{display:none}.discover-page .section-head h2{font-size:22px}}
@media(max-width:360px){.discover-hero{padding:18px 14px;gap:12px;grid-template-columns:minmax(0,1fr) 95px}.discover-intro h1{font-size:25px}.discover-intro .eyebrow{letter-spacing:.8px}.discover-tabs a{padding-inline:11px}}
/* Recording rights studio: contain audio and long provider evidence on phones. */
.recording-rights{min-width:0}.recording-rights audio{display:block;width:100%;max-width:100%;min-width:0}.recording-rights .button,.recording-rights button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.recording-rights pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.recording-rights .field{margin-bottom:16px}
/* Artist portal uses the existing navy/mint form and panel system. */
.portal-nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin:0 0 24px}.portal-nav .button{font-size:13px;padding:8px 12px}.portal-song[hidden]{display:none}.portal-nav+.panel{margin-top:16px}

/* Administration: task-first overview, consistent with the existing palette. */
.subnav [aria-current="page"]{background:var(--mint);color:#032019;border-color:var(--mint)}
.admin-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(120deg,#163b36,var(--surface))}
.admin-welcome p:last-child{margin-bottom:0;color:var(--muted)}
.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.admin-metrics .panel{display:flex;flex-direction:column;gap:8px;margin:0}
.admin-metrics strong{font-size:32px;color:var(--mint)}
.admin-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.admin-shortcuts .panel{margin:0}.admin-shortcuts p{margin-bottom:0;color:var(--muted)}
.admin-task{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.admin-task:last-child{border-bottom:0}.admin-task span:last-child{flex-shrink:0;color:var(--mint)}
#content .track[hidden]{display:none}
@media(max-width:700px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-shortcuts{grid-template-columns:1fr}.admin-welcome{align-items:start;flex-direction:column}.admin-task{align-items:start;flex-wrap:wrap}.subnav{max-width:100%;flex-wrap:wrap}}

.profile-image-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:24px}.profile-image-preview{display:block;object-fit:cover;max-width:100%;margin-bottom:16px;border:1px solid var(--line)}.profile-image-preview.photo{width:160px;height:160px;border-radius:50%}.profile-image-preview.banner{width:100%;height:180px;border-radius:16px}.profile-image-editor [hidden]{display:none}.image-placeholder{padding:30px;background:var(--bg);border:1px dashed var(--line);border-radius:16px;color:var(--muted)}@media(max-width:640px){.profile-image-grid{grid-template-columns:1fr}}

/* Presentation refresh: retain navy/mint balance and calm management surfaces. */
:root{--gold:#e8c776}
.section-head h2{color:var(--gold)}
.music-card,.track{border-color:transparent}
.track:hover,.music-card:hover{background:var(--high)}
button,.button,nav a{transition:background-color 140ms ease-out,color 140ms ease-out,border-color 140ms ease-out}
button:active:not(:disabled),.button:active{filter:brightness(.92)}
.panel table{font-variant-numeric:tabular-nums}
.panel th{color:var(--muted);font-weight:600}
.panel td{padding-block:16px}
.portal-nav a,.subnav a{line-height:1.4}
@media(prefers-reduced-motion:reduce){button,.button,nav a{transition:none}html{scroll-behavior:auto}}
.subnav{flex-wrap:wrap;overflow:visible;gap:8px;padding-bottom:8px}
.subnav .button{flex:0 0 auto;min-height:44px;padding:10px 14px;font-size:13px;white-space:nowrap}

/* Shared artist pages: compact promotion and calm, accessible song actions. */
.app-download{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;margin:8px 0 30px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(110deg,#7ae7c70a,var(--surface));}
.app-download-copy{min-width:0}.app-download h2{font-size:20px;line-height:1.3;margin:0 0 6px;color:var(--gold)}
.app-download p{font-size:14px;line-height:1.5;color:var(--muted);margin:0;max-width:440px}
.store-options{display:flex;align-items:center;gap:24px;flex-shrink:0;padding:12px}
.store-soon{display:flex;flex-direction:column;gap:5px;min-width:132px;font-size:12px;color:var(--muted)}
.store-soon strong{font-size:14px;color:var(--text)}
.store-badge{display:flex;align-items:center;justify-content:center;min-height:48px;flex-shrink:0;background:none}
.store-badge.apple img{height:48px;width:auto;max-width:170px}.store-badge.google img{height:72px;width:auto;max-width:190px}
.store-badge:focus-visible,.shared-menu summary:focus-visible{outline:3px solid var(--mint);outline-offset:5px}
.app-open{margin-top:12px;font-size:13px}.shared-menu nav{max-height:70vh;overflow-y:auto;max-width:calc(100vw - 36px)}
.shared-menu nav button{width:100%;text-align:left}.shared-page .profile-banner{margin-top:0}
@media(max-width:900px){.app-download{align-items:flex-start;flex-direction:column;gap:12px}.store-options{padding:4px 0;flex-wrap:wrap;width:100%;gap:24px}.store-soon{flex:1}.shared-page .split{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.app-download{padding:18px;margin-bottom:24px}.app-download h2{font-size:18px}.store-options{gap:16px}.store-soon{min-width:108px}.shared-page .track{display:grid;grid-template-columns:44px 44px minmax(0,1fr);gap:12px;padding:14px;align-items:center}.shared-page .track .art{width:44px;height:44px}.shared-page .track .play-icon{width:44px;min-width:44px;height:44px;padding:0;grid-column:2;grid-row:1}.shared-page .track-info{grid-column:3;grid-row:1;min-width:0}.shared-page .track-info strong{overflow-wrap:anywhere}.shared-page .track .track-meta{display:none}.shared-page .track .add{grid-column:1;grid-row:2;min-width:44px;min-height:44px;padding:0}.shared-page .track [data-action="share-song"]{grid-column:2 / 4;grid-row:2;justify-self:start;min-height:44px}.shared-page .track .buy,.shared-page .track>a.button{grid-column:2 / 4;grid-row:3;justify-self:start;min-height:44px;white-space:normal}}
@media(max-width:380px){.shared-header{flex-wrap:wrap}.shared-header-actions{margin-left:auto}.store-options{flex-wrap:wrap}.store-badge{margin:8px 0}.app-download p{font-size:13px}}
@media(max-width:640px){.shared-page .profile-heading{flex-wrap:nowrap;align-items:center;gap:14px;margin:20px 0}.shared-page .profile-heading>div{min-width:0}.shared-page .profile-heading h1{font-size:26px;line-height:1.15;overflow-wrap:anywhere;margin:6px 0}.shared-page .profile-heading .eyebrow{font-size:10px;letter-spacing:1.5px}.shared-page .profile-heading .avatar{width:60px;height:60px;flex-shrink:0}.shared-page .profile-heading p:empty{display:none}.store-options:has(.store-soon):not(:has(.store-badge)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.store-soon{min-width:0}.shared-page .profile-banner{height:150px}}
@media(max-width:380px){.shared-header{flex-wrap:nowrap}.shared-header-actions>.button{display:none}.shared-page .profile-heading h1{font-size:23px}}
/* Shared listening surface: restrained gold, matching the native player. */
.player{background:#24221c;border-top-color:#5a5037}
dialog.panel{max-width:min(520px,calc(100vw - 32px));color:var(--text);background:var(--surface)}
dialog.panel::backdrop{background:rgba(0,0,0,.65)}

dialog.panel{margin:auto;padding:24px}

.transport-buttons{flex-wrap:wrap} .transport-buttons [aria-pressed=true]{color:var(--mint);border-color:var(--mint)}
@media(max-width:600px){.transport{flex-wrap:wrap}.transport-buttons{width:100%;justify-content:center}.transport-buttons button{padding:8px;min-height:44px;font-size:12px}.player{height:auto;min-height:157px}.timeline{min-width:100%}}

body.player-active .app-shell{padding-bottom:calc(var(--player-height,176px) + 20px)}body.player-active #notice{bottom:calc(var(--player-height,176px) + 12px)}
/* Integrated merchandise: same palette, calm management and checkout surfaces. */
.merch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.merch-mockup{width:100%;max-width:360px;aspect-ratio:1;object-fit:contain;border-radius:16px}.merch-editor{width:100%;max-width:360px;height:auto;border:1px dashed #cfb878;border-radius:12px} [data-merch-form] fieldset{display:flex;flex-wrap:wrap;gap:12px} [data-merch-form] pre,.merch-grid pre{white-space:pre-wrap;overflow-wrap:anywhere} [data-resolution]{display:block;color:#d8c187;margin:12px 0} [data-discovery]{max-height:240px;overflow:auto;white-space:pre-wrap}
/* Hosted management shell reuses the existing theme without advertising unavailable browsing. */
body[data-public-studio=true] #search-form{display:none}
body[data-public-studio=true] .topbar{justify-content:flex-end}
body[data-public-studio=true] .portal-nav,body[data-public-studio=true] .subnav{gap:6px}
body[data-public-studio=true] .portal-nav a,body[data-public-studio=true] .subnav a{white-space:normal}
body[data-public-studio=true] .page-heading h1{color:var(--gold,#ddc887)}
body[data-public-studio=true] .panel{overflow-wrap:anywhere}
/* Merchandise management uses existing dark palette and brand controls. */
.merch-tabs,.merch-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.merch-tabs{padding-bottom:12px;border-bottom:1px solid var(--border,#29364b)}.merch-tabs button[aria-pressed=true]{background:var(--accent,#79dfc4);color:#07131b}.merch-tabs button,.merch-actions button{min-height:44px}.merch-filter{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:16px;align-items:end}.merch-design{width:100%;max-height:220px;object-fit:contain;border-radius:12px;background:#101a28}.merch-steps{display:flex;flex-wrap:wrap;gap:12px;padding:0;list-style:none;color:#aab7cb}.merch-steps li{padding:6px 10px;border:1px solid #29364b;border-radius:8px}.merch-steps [aria-current=step]{color:#79dfc4;border-color:#79dfc4}.merch-variants{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));max-height:320px;overflow:auto}.merch-variants label{display:flex;align-items:center;gap:8px;min-height:44px}.merch-variants input{width:auto!important}.merch-grid>*{min-width:0}.merch-grid p,.merch-grid h3,[data-merch-form] p{overflow-wrap:anywhere}[data-merch-form] details{margin:16px 0}[data-merch-form] summary{cursor:pointer;padding:12px 0}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #79dfc4;outline-offset:3px}[data-studio-panel][hidden],[data-admin-panel][hidden],[data-step][hidden]{display:none!important}@media(max-width:480px){.merch-tabs{gap:8px}.merch-tabs button{flex:1 1 40%;white-space:normal}.merch-actions button{flex:1 1 auto}.merch-steps{font-size:.85rem;gap:6px}}@media(prefers-reduced-motion:reduce){.merch-grid *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.merch-tabs button{width:auto;flex:0 1 auto;display:inline-flex}.merch-tabs{align-items:center}[data-studio-panel] .merch-actions button{width:auto} .merch-grid .panel button{max-width:100%}@media(max-width:480px){.merch-tabs button{flex:1 1 40%}}
.merch-editor{touch-action:none}
[data-discovery]{max-height:none;overflow:visible;white-space:normal}body:has(.merch-tabs) .portal-nav,body:has(.merch-tabs) .subnav{display:flex;flex-wrap:nowrap;overflow:auto;max-width:100%;padding-bottom:8px}body:has(.merch-tabs) .portal-nav .button,body:has(.merch-tabs) .subnav .button{flex:0 0 auto;white-space:nowrap}body:has(.merch-tabs) main{min-width:0}

.merch-tabs{flex-direction:row;justify-content:flex-start}body:has(.merch-tabs) .portal-nav,body:has(.merch-tabs) .subnav{flex-direction:row;justify-content:flex-start}

[data-config-step][hidden]{display:none!important}

/* Artist names remain recognizable profile links on cards and the persistent player. */
.artist-link{display:inline-flex;align-items:center;min-height:32px;max-width:100%;color:var(--mint);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;overflow-wrap:anywhere}
.artist-link:hover{color:var(--text)}
@media(pointer:coarse){.artist-link{min-height:44px}}

/* Sharing remains usable when the browser blocks native sharing or copying. */
.share-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #314157;border-radius:16px;background:#101b29;color:#eff3f9}
.share-dialog::backdrop{background:rgb(0 0 0 / .65)}
.share-dialog h2{font-size:22px;line-height:1.3;margin:0 0 12px}
.share-dialog p{line-height:1.5;margin:0 0 16px}
.share-dialog label{display:block;font-size:14px}
.share-dialog .share-link-field{box-sizing:border-box;display:block;width:100%;min-width:0;margin-top:6px;padding:12px;border:1px solid #526079;border-radius:8px;background:#080e16;color:#eff3f9;font:16px/1.5 "Nunito Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.share-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.share-dialog button{min-height:44px}
.share-dialog :focus-visible{outline:2px solid #79e3c6;outline-offset:3px}

/* Native mobile listening layout; desktop and public Studio retain their shell. */
.mobile-navigation,.mobile-card-play,.mobile-track-more,.mobile-search-icon,.mobile-header-queue,.mobile-brand-mark,.mobile-menu-icon{display:none}
.desktop-brand-mark{display:flex;align-items:center}.card-cover{position:relative}
@media(max-width:760px){
body:not([data-public-studio="true"]){--bg:#080f13;--mobile-nav-height:calc(86px + env(safe-area-inset-bottom,0px))}
body:not([data-public-studio="true"]) .shared-header{display:flex;padding:20px 16px 16px;border:0;min-height:80px;gap:8px}
body:not([data-public-studio="true"]) .shared-brand{font-size:20px;font-weight:700;gap:10px}
body:not([data-public-studio="true"]) .shared-brand .brand-mark{width:34px;height:34px;border-radius:50%;padding:0;letter-spacing:0}
body:not([data-public-studio="true"]) .desktop-brand-mark,body:not([data-public-studio="true"]) .desktop-menu-icon{display:none}
body:not([data-public-studio="true"]) .mobile-brand-mark{display:block;font-size:28px;line-height:1;transform:none}
body:not([data-public-studio="true"]) .shared-header-actions>.button{display:none}
.mobile-header-queue{display:inline-flex;border:0;background:none;padding:10px;color:var(--text)}
.mobile-menu-icon{display:flex;color:var(--text)}
.mobile-header-queue svg,.mobile-menu-icon svg,.mobile-nav-icon svg,.mobile-search-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:not([data-public-studio="true"]) .rail,body:not([data-public-studio="true"]) .topbar{display:none}
body:not([data-public-studio="true"]) .app-shell{display:block;padding-bottom:calc(var(--mobile-nav-height) + 30px)}
body:not([data-public-studio="true"]):has(.player:not([hidden])) .app-shell{padding-bottom:calc(var(--mobile-nav-height) + 205px)}
body:not([data-public-studio="true"]) #content{padding:20px 20px 0}
.mobile-navigation{position:fixed;inset:auto 0 0;z-index:25;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;height:var(--mobile-nav-height);padding:6px 0 calc(16px + env(safe-area-inset-bottom,0px));background:#25241f;border-top:1px solid #ffffff08;overflow:visible}
.mobile-navigation a{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 2px;color:var(--text);font-size:14px;font-weight:650;letter-spacing:.2px;border-radius:0}
.mobile-nav-icon{display:flex;align-items:center;justify-content:center;min-width:64px;height:32px;border-radius:24px;color:var(--muted)}
.mobile-navigation a[aria-current] .mobile-nav-icon{background:#344b40;color:#081f28}
.mobile-navigation a:focus-visible{outline-offset:-3px}
.discover-page .discover-search{max-width:none;min-height:52px;border-radius:18px;padding:0 14px;gap:16px;margin:0 0 24px}
.mobile-search-icon{display:flex;color:var(--muted);flex-shrink:0}
.discover-page .discover-search input{font-size:16px;font-weight:600;letter-spacing:.3px;padding:14px 0}
.discover-page .discover-search button{color:var(--muted);padding:0;min-width:24px;background:none}
.discover-page .discover-tabs{display:none}
.discover-page .discover-hero{grid-template-columns:minmax(0,1fr) 100px;gap:16px;padding:20px;border-radius:22px;min-height:170px;margin:0 0 30px;background:linear-gradient(105deg,#143331,#101722)}
.discover-page .discover-intro h1{font-size:26px;line-height:1.12;letter-spacing:-.5px;margin:14px 0 12px}
.discover-page .discover-intro .eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--gold)}
.discover-page .discover-intro p{font-size:13px;font-weight:600;letter-spacing:.3px;line-height:1.4;margin:0}
.discover-page .discover-intro .button,.discover-page .discover-feature small{display:none}
.discover-page .discover-feature strong{font-size:14px;margin-top:8px}
.discover-page .discover-feature .artwork{border-radius:16px;box-shadow:none}
.discover-page .section-head{margin:30px 0 16px}
.discover-page .section-head h2{font-size:20px;color:var(--text);letter-spacing:-.5px}
.discover-page .section-head>.muted{display:none}
.discover-page .music-card h3{font-size:14px;margin:10px 0 0;letter-spacing:.3px;font-weight:700}
.discover-page .music-card p{font-size:12px;line-height:1.5;letter-spacing:.3px;font-weight:600;margin:0;color:var(--muted)}
.discover-page .music-card .artist-link{color:inherit;text-decoration:none;display:inline;min-height:0}
.discover-page .music-card .artwork{border-radius:14px}
.discover-page .music-card .card-actions{display:none}
.discover-page .mobile-card-play{display:flex;position:absolute;right:14px;bottom:14px;width:32px;height:32px;min-height:32px;padding:6px;border:0;border-radius:50%;background:var(--mint);color:#05291e;font-size:15px}
.mobile-discover-home .grid:has(.card-cover){display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:0 0 10px;scrollbar-width:none}
.mobile-discover-home .grid:has(.card-cover)::-webkit-scrollbar{display:none}
.mobile-discover-home .grid:has(.card-cover) .music-card{flex:0 0 154px;scroll-snap-align:start}
.mobile-discover-home .grid:has(.card-cover)+.section-head{margin-top:42px}
.mobile-discover-home .track-list{gap:0}
.mobile-discover-home .track{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:16px;background:none;border:0;padding:12px 20px;position:relative;min-height:76px}
.mobile-discover-home .track>.artwork,.mobile-discover-home .track>.track-meta,.mobile-discover-home .track>.buy,.mobile-discover-home .track>[data-action="share-song"],.mobile-discover-home .track>.add{display:none}
.mobile-discover-home .track>.play-icon{grid-column:1;grid-row:1;width:44px;height:44px;min-height:44px;background:none;border:0;color:var(--mint);font-size:16px}
.mobile-discover-home .track>.play-icon::first-letter{border:2px solid var(--mint);border-radius:50%;padding:1px 3px}
.mobile-discover-home .track .track-info{grid-column:2;grid-row:1}
.mobile-discover-home .track strong{font-size:14px;letter-spacing:.4px}
.mobile-discover-home .track small{font-size:13px;font-weight:600;letter-spacing:.3px}
.mobile-discover-home .track small .artist-link{display:inline;min-height:0;color:var(--muted);text-decoration:none}
.mobile-discover-home .mobile-track-more{display:block;grid-column:3;grid-row:1;position:relative}
.mobile-track-more summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;list-style:none;color:var(--muted);cursor:pointer;letter-spacing:2px}
.mobile-track-more summary::-webkit-details-marker{display:none}
.mobile-track-more>div{position:absolute;right:0;top:44px;min-width:200px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:8px;z-index:5;box-shadow:0 12px 30px #0006;display:flex;flex-direction:column;gap:6px}
body:not([data-public-studio="true"]) .player{bottom:var(--mobile-nav-height)}
body:not([data-public-studio="true"]) #notice{bottom:calc(var(--mobile-nav-height) + 170px)}
}
@media(max-width:360px){.discover-page .discover-hero{padding:16px;gap:12px;grid-template-columns:minmax(0,1fr) 84px}.discover-page .discover-intro h1{font-size:23px}.discover-page .discover-search{gap:10px}.discover-page .discover-search input{font-size:14px}.mobile-navigation a{font-size:12px}}

.mobile-track-play{display:none}
@media(max-width:760px){
.discover-page .music-card h3{font-size:13.5px;letter-spacing:0}
.discover-page .mobile-card-play{width:44px;height:44px;min-height:44px;right:6px;bottom:6px;background:radial-gradient(circle at center,var(--mint) 16px,transparent 16.5px)}
.mobile-discover-home .desktop-track-play,.mobile-discover-home .track-genre{display:none}
.mobile-discover-home .mobile-track-play{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}
.mobile-track-play path{fill:currentColor;stroke:none}
body[data-public-studio="true"] .mobile-header-queue,body[data-public-studio="true"] .mobile-menu-icon{display:none}
}

/* Release workspace follows the existing dark/mint theme. */
.release-steps{display:flex;flex-direction:row;gap:.5rem;flex-wrap:wrap;margin:1.5rem 0}.release-steps [aria-current=step]{background:var(--mint,#75dfc3);color:#081118}.release-drop{padding:2rem;border:2px dashed #75dfc3;border-radius:18px;text-align:center}.release-track{margin:1rem 0;padding:1.5rem}.release-track-list audio{width:100%;max-width:500px}.release-track progress{width:100%;margin:.7rem 0}.release-cover{width:160px;height:160px;object-fit:cover;border-radius:16px}.release-studio input[type=file]{display:block;max-width:100%;margin:.6rem 0}.release-editor{max-width:850px;width:92%;max-height:90vh;overflow:auto;background:#131f2e;color:#eff3f8;border:1px solid #75dfc3;border-radius:18px;padding:1.5rem}.release-editor::backdrop{background:#000a}@media(max-width:600px){.release-steps button{font-size:.8rem;padding:.7rem}.release-track{padding:1rem}.release-drop{padding:1rem}.release-track .page-heading{display:block}.release-editor .form-grid{display:block}}

/* Wallet amounts must stay legible independently of dashboard metric grids. */
.wallet-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin:20px 0}
.wallet-stats>.panel{min-width:0;padding:18px;overflow:visible}
.wallet-stats small{display:block;color:var(--muted);margin-bottom:6px}
.wallet-stats strong{display:block;font-size:1.5rem;line-height:1.3;overflow-wrap:anywhere}

/* Artist workspace: compact navigation and progressive detail. */
.portal-nav .button[aria-current="page"]{background:var(--mint);color:#032019;border-color:var(--mint)}
.wallet-total{padding:16px 0 4px}.wallet-total strong{display:block;font-size:clamp(28px,4vw,40px);line-height:1.25;overflow-wrap:anywhere}.wallet-help{margin:16px 0}.wallet summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:650}.wallet-payout{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.wallet-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.wallet-methods>.panel{align-self:start;margin:0}.wallet form{max-width:520px}.wallet [data-wallet-result]:empty{display:none}.wallet dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.wallet dd{margin:0}.wallet-help p{margin:12px 0}.portal-nav{gap:8px}
@media(max-width:600px){.wallet-methods{grid-template-columns:1fr}.portal-nav .button{padding:10px 12px}.wallet{padding:18px}.wallet-stats{gap:10px}.wallet-stats>.panel{padding:14px}}

.royalty-splits .split-member{border:1px solid #27364e;border-radius:18px;padding:18px;margin:16px 0;min-width:0}.royalty-splits .split-member legend{color:#79e1c9;padding:0 8px}.royalty-splits ul{padding-left:22px}.royalty-splits li{margin:10px 0}.royalty-splits [data-split-total]{font-weight:700}.royalty-splits input[type=checkbox]{width:auto}.royalty-splits .actions{flex-wrap:wrap}

/* Separate page actions from reading and form content. Compact players and nav
   controls retain their existing layout. */
.panel > .actions,.panel > form > .actions,.release-studio > .actions{margin-block:16px}
.panel > .actions:last-child,.panel > form > .actions:last-child{margin-bottom:0}
.actions{row-gap:12px}
.panel > button,.panel > .button{margin-block:8px}

/* One continuous listening list for EPs, Albums and playlists. */
.collection-header{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:32px;margin:0 0 24px}
.collection-cover{width:100%;max-width:220px;margin:auto}
.collection-cover .artwork{border-radius:12px;box-shadow:0 12px 32px #0004}
.collection-cover-placeholder{aspect-ratio:1;display:grid;place-items:center;background:linear-gradient(145deg,#245b60,#182131);border-radius:12px;font-size:64px;color:var(--mint)}
.collection-heading{min-width:0}
.collection-heading h1{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:0 0 8px;overflow-wrap:anywhere}
.collection-artist{font-size:16px;color:var(--mint);margin:0 0 6px}
.collection-meta{font-size:13px;color:var(--muted);margin:0 0 16px}
.collection-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.collection-controls>button,.collection-controls>.button{min-height:44px;margin:0;display:inline-flex;align-items:center;justify-content:center}
.collection-controls .collection-play{min-width:140px;border-radius:28px}
.collection-description{font-size:14px;color:var(--muted);line-height:1.5;margin-top:16px;max-width:620px}
.collection-description p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.collection-description .is-collapsed{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.collection-description button{padding:4px 0;min-height:36px;background:none;border:0;color:var(--mint);font-size:13px}
.collection-track-list{list-style:none;display:block;margin:0;padding:0;border-top:1px solid var(--line)}
.collection-track{display:flex;align-items:center;gap:10px;min-height:64px;margin:0;padding:4px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;position:relative}
.collection-track-play{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:56px;padding:4px 0;margin:0;border:0;border-radius:6px;background:transparent;text-align:left;color:var(--text);font:inherit;cursor:pointer}
.collection-track-play:hover{background:#ffffff06}
.collection-track-play:focus-visible,.collection-track-menu summary:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
.collection-track-cover{display:block;width:44px;height:44px;flex:0 0 44px}
.collection-track-cover .artwork{width:44px;height:44px;aspect-ratio:1;border-radius:6px;font-size:22px}
.collection-track-cover .art-label{display:none}
.collection-track-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.collection-track-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;font-weight:700;line-height:1.3}
.collection-track-artist{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;line-height:1.3;color:var(--muted)}
.collection-explicit{display:inline-block;vertical-align:1px;font-size:9px;line-height:1.2;border-radius:2px;padding:1px 3px;margin-left:5px;background:var(--muted);color:var(--bg)}
.collection-track-duration{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;padding-left:8px}
.collection-track-menu{position:relative;flex:0 0 44px}
.collection-track-menu summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;list-style:none;cursor:pointer;color:var(--muted);font-size:20px;border-radius:6px}
.collection-track-menu summary::-webkit-details-marker{display:none}
.collection-track-actions{position:absolute;z-index:45;right:0;top:100%;width:238px;max-width:calc(100vw - 40px);max-height:60vh;overflow-y:auto;background:var(--high);border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 12px 36px #0009}
.collection-track-menu.opens-up .collection-track-actions{top:auto;bottom:100%}
.collection-track-actions>a,.collection-track-actions>button,.collection-track-actions>.buy,.collection-track-actions>.muted{display:flex;align-items:center;justify-content:flex-start;min-height:44px;width:100%;padding:10px 12px;margin:0;border:0;background:transparent;text-align:left;border-radius:8px;white-space:normal;font-size:14px;line-height:1.3;color:var(--text)}
.collection-track-actions>a:hover,.collection-track-actions>button:hover{background:#ffffff0c}
.collection-track-actions>.muted{color:var(--muted)}
.collection-track-actions>.danger{color:var(--error)}
.collection-track .is-unavailable{cursor:default;opacity:.55}
.collection-settings{margin:0 0 16px;color:var(--muted)}
.collection-settings>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--mint);font-size:14px}
.collection-settings .panel{margin-top:0}
.collection-footnote{font-size:12px;line-height:1.5;color:var(--muted);margin:16px 0 24px}
@media(max-width:640px){
 .collection-header{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}
 .collection-cover{width:min(52vw,200px)}
 .collection-heading{width:100%;text-align:center}
 .collection-heading h1{font-size:26px;margin-bottom:6px}
 .collection-controls{justify-content:center}
 .collection-description{text-align:left;margin-top:14px}
 .collection-track-title{font-size:15px}
 .collection-track-duration{display:none}
}

/* The persistent player starts as one small row. Full controls open on demand. */
.player.player-compact{height:auto;min-height:64px;grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;padding:8px 12px;align-items:center}
.player-compact .now-playing{grid-column:1;grid-row:1;gap:10px}
.player-compact .mini-art{width:36px;height:36px;border-radius:6px}
.player-compact .mini-art img{border-radius:6px}
.player-compact .now-playing>div:last-child{overflow:hidden}
.player-compact .player-title-button{display:block;max-width:100%;min-height:22px;padding:0;border:0;border-radius:2px;background:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:13px;line-height:1.4;font-weight:700}
.player-compact #player-artist{line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.player-compact #player-artist .artist-link{min-height:0;display:inline}
.player-compact .transport{grid-column:2;grid-row:1;display:block;min-width:0}
.player-compact .transport-buttons{width:auto;flex-wrap:nowrap;gap:0}
.player-compact .transport-buttons button{width:44px;min-width:44px;min-height:44px;padding:0}
.player-compact .transport-buttons .play-main{height:44px}
.player-compact .player-expand{grid-column:3;grid-row:1;min-width:44px;min-height:44px;padding:0;background:none;border:0;font-size:23px}
.player-compact:not(.is-expanded) .player-advanced{display:none}
.player-compact.is-expanded{grid-template-columns:minmax(0,1fr) 44px;row-gap:12px;padding:12px 16px;max-height:calc(100dvh - 120px);overflow:auto}
.player-compact.is-expanded .now-playing{grid-column:1;grid-row:1}
.player-compact.is-expanded .player-expand{grid-column:2;grid-row:1}
.player-compact.is-expanded .transport{grid-column:1/-1;grid-row:2}
.player-compact.is-expanded .transport-buttons{justify-content:center;flex-wrap:wrap;gap:8px}
.player-compact.is-expanded .transport-buttons .player-advanced{width:auto;padding-inline:10px}
.player-compact.is-expanded .timeline{display:flex;min-width:0;gap:10px;margin-top:12px}
.player-compact.is-expanded .timeline input{min-width:0}
.player-compact.is-expanded .player-extra{display:flex;grid-column:1/-1;grid-row:3;justify-content:center}
.player-compact.is-expanded .player-extra label,.player-compact.is-expanded .player-extra input{display:block}
body.player-active:not([data-public-studio="true"]) .app-shell{padding-bottom:calc(var(--player-height,64px) + 24px)}
body.player-active #notice{bottom:calc(var(--player-height,64px) + 12px)}
@media(max-width:760px){
 body.player-active:not([data-public-studio="true"]) .app-shell{padding-bottom:calc(var(--mobile-nav-height) + var(--player-height,64px) + 24px)}
 body.player-active:not([data-public-studio="true"]) #notice{bottom:calc(var(--mobile-nav-height) + var(--player-height,64px) + 12px)}
 .player-compact:not(.is-expanded) #previous{display:none}
}

/* Playback indicators stay inside the existing artwork footprint. */
.collection-track-cover{position:relative}
.collection-track-state{position:absolute;right:1px;bottom:1px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#032019e8;color:#7ae7c7;font-size:12px;line-height:1;pointer-events:none}
.collection-track-play.is-playing .collection-track-title{color:#7ae7c7}

/* Full Now Playing view; the collapsed 64px player and audio element persist. */
.player-backdrop,.player-heading{display:none}
body.player-open{overflow:hidden}
.player.player-compact.is-expanded{inset:0;bottom:0!important;z-index:100;min-height:100dvh;max-height:100dvh;overflow:auto;display:flex;flex-direction:column;gap:0;padding:calc(env(safe-area-inset-top) + 52px) 24px calc(env(safe-area-inset-bottom) + 20px);background:linear-gradient(145deg,#244540,#101c27);border:0;border-radius:0;isolation:isolate}
.player-compact.is-expanded .player-backdrop{display:block;position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.player-backdrop img{width:100%;height:100%;object-fit:cover;filter:blur(70px);transform:scale(1.2);opacity:.85}
.player-compact.is-expanded:after{content:'';position:fixed;inset:0;background:linear-gradient(145deg,#0005,#000b);z-index:-1;pointer-events:none}
.player-compact.is-expanded .player-heading{display:block;position:absolute;top:calc(env(safe-area-inset-top) + 16px);left:72px;right:72px;text-align:center;font-size:12px;color:#e0e8e5}
.player-compact.is-expanded .player-expand{position:absolute;top:calc(env(safe-area-inset-top) + 2px);left:16px;width:48px;min-height:48px;color:#fff}
.player-compact.is-expanded .now-playing{display:flex;flex-direction:column;align-items:stretch;width:min(100%,440px);gap:24px;margin:auto auto 12px;overflow:visible;flex-shrink:0}
.player-compact.is-expanded .mini-art{width:min(76vw,34dvh,360px);height:min(76vw,34dvh,360px);align-self:center;border-radius:14px;box-shadow:0 16px 50px #0003;margin:8px 0 4px;flex-shrink:0}
.player-compact.is-expanded .mini-art img{border-radius:14px;object-fit:cover}
.player-compact.is-expanded .now-playing>div:last-child{overflow:visible}
.player-compact.is-expanded .player-title-button{min-height:44px;white-space:normal;text-align:left;font-size:clamp(21px,6vw,28px);line-height:1.2;overflow-wrap:anywhere;color:#fff}
.player-compact.is-expanded #player-artist{font-size:17px;line-height:1.4;white-space:normal;color:#d5dfdd;overflow-wrap:anywhere}
.player-compact.is-expanded .transport{width:min(100%,440px);display:flex;flex-direction:column;gap:8px;margin:0 auto;flex-shrink:0}
.player-compact.is-expanded .timeline{order:0;display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;margin:0;color:#d5dfdd;font-size:12px}
.player-compact.is-expanded .timeline input{grid-column:1/-1;grid-row:1;min-height:32px;width:100%;accent-color:#fff}
.player-compact.is-expanded .timeline #elapsed{grid-column:1;grid-row:2}
.player-compact.is-expanded .timeline #duration{grid-column:2;grid-row:2;text-align:right}
.player-compact.is-expanded .transport-buttons{order:1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;justify-items:center;align-items:center}
.player-compact.is-expanded .transport-buttons #previous,.player-compact.is-expanded .transport-buttons #next{grid-row:1;width:64px;min-height:64px;font-size:42px;color:#fff}
.player-compact.is-expanded .transport-buttons #previous{grid-column:1}
.player-compact.is-expanded .transport-buttons #next{grid-column:3}
.player-compact.is-expanded .transport-buttons #toggle{grid-column:2;grid-row:1;width:76px;height:76px;background:none;color:#fff;font-size:48px;border-radius:14px}
.player-compact.is-expanded .transport-buttons #shuffle,.player-compact.is-expanded .transport-buttons #repeat{grid-row:2;width:auto;max-width:100%;min-height:44px;font-size:12px;color:#e0e8e5;padding-inline:8px;white-space:normal}
.player-compact.is-expanded .transport-buttons #shuffle{grid-column:1}
.player-compact.is-expanded .transport-buttons #repeat{grid-column:3}
.player-compact.is-expanded .player-extra{display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:min(100%,440px);margin:4px auto auto;flex-shrink:0}
.player-compact.is-expanded .player-extra label{display:block;font-size:12px;color:#d5dfdd}
.player-compact.is-expanded .player-extra input{display:block;flex:1;width:auto;min-width:90px;accent-color:#fff}
.player-compact.is-expanded #queue-button{display:flex;min-height:44px;background:#ffffff12;border-color:#ffffff40;font-size:13px}
body.player-open #notice{bottom:24px;z-index:150}
@media(min-width:850px) and (min-height:580px){.player-compact.is-expanded .mini-art{width:min(40dvh,360px);height:min(40dvh,360px)}}
@media(prefers-reduced-motion:reduce){.player-backdrop img{transform:none}}

.player-compact.is-expanded .timeline,.player-compact.is-expanded .transport-buttons{width:100%;margin-inline:0}

/* Collection colors come from its own cover; decoration never receives input. */
.collection-page{position:relative;isolation:isolate;min-height:calc(100svh - 200px);margin:-20px -18px 0;padding:20px 18px;border-radius:18px;overflow:hidden;background:#080d14}
.collection-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.collection-backdrop>.artwork{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:0;filter:blur(60px);transform:scale(1.08)}
.collection-backdrop>.artwork:not(:has(img)){display:none}
.collection-backdrop .art-label{display:none}
.collection-backdrop img{width:100%;height:100%;object-fit:cover}
.collection-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.85))}
.collection-page .collection-track{background:transparent}
@media(max-width:640px){.collection-page{border-radius:0}}

.shared-page .collection-page{margin:-20px;padding:20px}

/* Small visible purchase entry; 44px targets, no price guessed from catalogue. */
button.compact-buy{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #86dabe55;border-radius:12px;background:#172f2b;color:#9bf3d5;font-size:13px;font-weight:650;line-height:1.25;white-space:normal;flex:0 0 auto}
button.compact-buy:hover,button.compact-buy:focus-visible{background:#24483f;outline-color:#9bf3d5}
.collection-controls{flex-wrap:wrap;align-items:center;gap:10px}.collection-track>.compact-buy{margin-left:8px}.collection-track-duration{display:none}
.discover-page .music-card .card-actions{display:flex;gap:8px}.discover-page .music-card .card-actions>.play-icon,.discover-page .music-card .card-actions>[data-action="share-song"]{display:none}
.music-card>.compact-buy{margin-top:8px}.song-purchase .compact-buy{width:auto}
#player-purchase{display:inline-flex;align-items:center}#player-purchase .compact-buy{min-width:44px;min-height:44px}
@media(max-width:640px){.mobile-discover-home .track>.compact-buy{display:inline-flex;grid-column:3;grid-row:2;justify-self:start}.card-actions .compact-buy{flex-basis:auto}.collection-track>.compact-buy{padding:8px;max-width:88px}.collection-track-menu{flex-basis:44px}.player-extra{flex-wrap:wrap}.music-card .compact-buy{max-width:100%}.song-purchase .compact-buy{width:auto}}

.player-extra #volume-help{flex-basis:100%;text-align:center;white-space:normal}

/* Mobile web uses device volume; hiding these flex items leaves no empty slot.
   Coarse, non-hovering devices stay mobile in landscape as well. */
@media (max-width:760px), (hover:none) and (pointer:coarse){
  .player .player-extra label[for="volume"],
  .player .player-extra #volume,
  .player .player-extra #volume-help{display:none}
}

/* Song information overlays the phone player, retaining its playback and queue. */
#song-information{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:760px;height:62dvh;max-height:calc(100dvh - env(safe-area-inset-top) - 16px);padding:12px max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));border:1px solid #42504c;border-radius:24px 24px 0 0;background:#17211f;color:#f5f7f6;overflow:hidden;}
#song-information[open]{display:flex;flex-direction:column;animation:information-rise .2s ease-out;}
#song-information::backdrop{background:rgb(0 0 0 / .48);}
.information-handle{flex:none;width:36px;height:4px;margin:0 auto 12px;background:#87928e;border-radius:4px;}
.information-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;}
.information-header h2{margin:0;font-size:1.1rem;}
#information-close,#information-retry{min-height:44px;flex:none;}
.information-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-wrap:anywhere;padding:8px 2px;}
#information-credits{white-space:pre-wrap;}
#song-information dd{margin:0 0 16px;}#song-information dt{font-weight:600;}
#information-status:empty{display:none;}
@keyframes information-rise{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(max-height:500px){#song-information{height:82dvh;}}
@media(prefers-reduced-motion:reduce){#song-information[open]{animation:none;}}

/* Author button styles must not override hidden loading/error/metadata states. */
#song-information [hidden]{display:none!important;}

/* Discover uses artwork links and a single cover play control, without empty action rows. */
.mobile-discover-home .music-card .card-cover{position:relative;}
.mobile-discover-home .music-card .mobile-card-play{display:flex;position:absolute;right:6px;bottom:6px;width:44px;height:44px;min-height:44px;padding:6px;align-items:center;justify-content:center;border:0;border-radius:50%;background:radial-gradient(circle at center,var(--mint) 16px,transparent 16.5px);color:#05291e;font-size:15px;}
.mobile-discover-home .music-card>a:focus-visible,.mobile-discover-home .card-cover>a:focus-visible{display:block;outline:2px solid var(--mint);outline-offset:4px;border-radius:14px;}
