#page-back{max-width:1136px;margin:14px auto 0;padding:0;display:flex;align-items:center}
#page-back[hidden]{display:none!important}
.page-back-button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--muted,#65616a);font:inherit;font-size:14px;font-weight:500;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.page-back-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.page-back-button:hover,.page-back-button:active,.page-back-button:focus{background:none;box-shadow:none;color:var(--ink,#242126)}
.page-back-button:focus-visible{outline:2px solid var(--accent,#7154ad);outline-offset:2px}
.page-back-button:disabled{opacity:.55;cursor:wait}
#page-back{position:sticky;top:0;z-index:9;background:var(--paper,#faf9f6);padding-top:4px;padding-bottom:4px}
.page-return{display:flex;margin:32px 0 0;border-top:1px solid var(--line);padding-top:18px;white-space:normal;text-align:left}
body:is([data-route=record],[data-route=short-record],[data-route=highlight]) #page-back{position:static}
body.has-page-back #app a.back{display:none}
body.has-page-back #app{padding-top:12px}
/* Personal favorites: quiet rows, one shared player, and secondary actions in a sheet. */
.liked-home.ap-panel{min-width:0}
.liked-home .ap-section-heading h2 small{font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap;margin-left:6px}
.liked-home-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 6px}
.liked-home-actions>small{font-size:11px;color:var(--muted)}
#app .liked-play-all{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;min-height:44px;white-space:nowrap;font-size:12px;flex:none}
#app .liked-play-all svg{width:16px;height:16px;fill:currentColor;stroke:none}
.liked-rows{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-width:0}
#app .liked-track{display:grid;grid-template-columns:48px minmax(0,1fr) auto 36px 36px;align-items:center;gap:10px;min-height:76px;padding:12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;min-width:0;box-sizing:border-box;transition:background-color .25s}
#app .liked-track:last-child{border-bottom:0}
#app .liked-track.is-current{background:color-mix(in srgb,var(--accent) 4%,transparent)}
#app .liked-cover,#app .liked-cover .row-art{position:relative;display:grid;place-items:center;width:48px;height:48px;min-height:48px;min-width:48px;padding:0;margin:0;border:0;border-radius:9px;overflow:hidden;background:var(--soft);box-sizing:border-box}
#app .liked-cover .row-art img{display:block;width:100%;height:100%;object-fit:cover}
#app .liked-track-info{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;text-decoration:none;padding:0}
#app .liked-track-info strong{font-size:14px;font-weight:650;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .25s}
#app .liked-track-info small{font-size:11px;color:var(--muted);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .liked-track.is-current .liked-track-info strong{color:var(--accent)}
.liked-duration{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.liked-save-slot{display:block;min-width:0}
#app .liked-track :is(.playlist-add,.liked-more){display:grid;place-items:center;width:36px;min-height:44px;height:44px;margin:0;padding:7px;border:0;border-radius:10px;background:transparent;color:var(--muted);box-sizing:border-box}
#app .liked-track .playlist-add span{display:none}
.liked-more svg{width:20px;height:20px;fill:currentColor}
.liked-collection .is-current-playing .discovery-play-icon{opacity:0}
.liked-collection .is-current-playing .discovery-cover-wave{opacity:1}
.liked-collection .is-current-playing .discovery-cover-wave i{animation:music-chart-level .85s ease-in-out infinite alternate}
.liked-collection .is-current-playing .discovery-cover-wave i:nth-child(2){animation-delay:-.55s}.liked-collection .is-current-playing .discovery-cover-wave i:nth-child(3){animation-delay:-.25s}
#app .liked-track :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.liked-library-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.liked-library-heading h1{font-size:32px;margin:8px 0 10px;letter-spacing:-.04em}.liked-library-heading .muted{margin:0;font-size:13px}
.liked-library-tools{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;margin:0 0 18px}
#app .liked-search{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 14px;box-sizing:border-box;min-width:0}
.liked-search>svg{width:19px;height:19px;flex:none;color:var(--muted)}
#app .liked-search input{border:0;background:transparent;box-shadow:none;padding:10px 0;margin:0;min-width:0;width:100%;border-radius:0;font-size:14px;outline-offset:4px}
#app #liked-sort{min-width:0;max-width:100%;min-height:48px;margin:0;border-radius:14px;font-size:12px;padding:10px;background-color:#fff}
.liked-results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px;margin-bottom:4px}
.liked-results-heading .text-btn{font-size:12px;min-height:44px;display:inline-flex;align-items:center}
.liked-play-hint{font-size:12px;color:var(--muted);line-height:1.7;margin-top:16px}.liked-pagination:empty{display:none}
.liked-rows>.empty{grid-column:1/-1}
.liked-menu-song{display:flex;gap:16px;align-items:center;padding:8px 0 20px;border-bottom:1px solid var(--line)}
.liked-menu-song .row-art{width:64px;height:64px;flex:none;border-radius:12px;overflow:hidden}.liked-menu-song .row-art img{width:100%;height:100%;object-fit:cover}
#dialog .liked-menu-song h2{font-size:19px;margin:0 0 6px;overflow-wrap:anywhere}.liked-menu-song p{font-size:12px;color:var(--muted);margin:0 0 6px}.liked-menu-song small{font-size:11px;color:var(--muted)}
.liked-menu-actions{display:grid;gap:4px;padding-top:12px}
#dialog .liked-menu-actions :is(.playlist-add,.liked-menu-action){display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px;margin:0;border:0;border-radius:12px;background:transparent;color:var(--ink);font-size:14px;text-decoration:none;box-sizing:border-box;text-align:left}
#dialog .liked-menu-actions .playlist-add{justify-content:flex-start}.liked-menu-actions .playlist-add svg{width:20px;height:20px}
#dialog .liked-menu-actions .liked-unlike{color:var(--muted);margin-top:8px;border-top:1px solid var(--line);border-radius:0}
@media(min-width:1000px){.liked-library .liked-rows{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}}
@media(hover:hover){#app .liked-track :is(.playlist-add,.liked-more):hover,#dialog .liked-menu-actions :is(.playlist-add,.liked-menu-action):hover{background:var(--soft);color:var(--accent)}.liked-track .liked-cover:hover .discovery-play-icon{opacity:1}.liked-track .liked-cover:hover .discovery-cover-wave{opacity:0}}
@media(max-width:760px){.liked-library-heading{gap:14px;align-items:flex-start;flex-direction:column;margin-bottom:20px}.liked-library-heading h1{font-size:26px}.liked-library-tools{grid-template-columns:minmax(0,1fr) 128px;gap:8px}#app .liked-search{padding:0 10px;gap:6px}#app .liked-search input{font-size:16px}#app .liked-track{gap:7px;grid-template-columns:44px minmax(0,1fr) auto 32px 32px;min-height:72px;padding:10px 0}#app .liked-cover,#app .liked-cover .row-art{width:44px;min-width:44px;height:44px;min-height:44px}#app .liked-track :is(.playlist-add,.liked-more){width:32px;padding:6px}#app .liked-track-info strong{font-size:13px}.liked-home .ap-section-heading h2 small{display:none}.liked-home-actions>small{font-size:10px}}
@media(max-width:360px){#app .liked-track{grid-template-columns:44px minmax(0,1fr) 32px 32px;gap:6px}.liked-duration{display:none}.liked-library-tools{grid-template-columns:minmax(0,1fr) 118px}.liked-results-heading{font-size:11px}.liked-results-heading .text-btn{font-size:11px}}
@media(prefers-reduced-motion:reduce){.liked-track,.liked-track-info strong{transition:none!important}.liked-collection .discovery-cover-wave i{animation:none!important}}
@media(max-width:1200px){#page-back{margin-left:28px;margin-right:28px}}
@media(max-width:760px){#page-back{margin:8px 16px 0}.page-back-button{font-size:13px}body.has-page-back #app{padding-top:10px}}
/* HIPNET living canvas — restrained surfaces, artwork first, responsive controls. */
/* Information opens above its origin. Title, close and dismissal stay outside the scroller. */
:root:has(#dialog.context-panel[open]){overflow:hidden;scrollbar-gutter:stable}
#dialog.context-panel[open]{display:flex}
/* Native close removes [open] before its exit finishes; retain the panel geometry. */
#dialog.context-panel{flex-direction:column;gap:0;overflow:hidden;width:720px;max-width:calc(100vw - 48px);max-height:86dvh;padding:22px 24px 18px;inset:0;margin:auto;border-radius:28px;background:var(--paper,#faf9f6)}
#dialog.context-panel[data-panel-kind=plans]{width:860px}
#dialog.context-panel>.close{position:absolute;top:14px;right:16px;float:none;margin:0;z-index:22;min-width:44px;min-height:44px;width:44px;height:44px;background:#ffffffb8;box-shadow:none;color:var(--muted)}
.dialog-panel-head{flex:none;min-height:40px;padding:4px 56px 12px 0}
.dialog-panel-head p{margin:0;font-size:12px;font-weight:650;color:var(--muted);line-height:1.6}
.dialog-panel-grip{display:none}
#dialog.context-panel>#dialog-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px 4px 10px 0;-webkit-overflow-scrolling:touch}
#dialog.context-panel>#dialog-content>:first-child{margin-top:0}
#dialog.context-panel #dialog-content a.back{display:none}
#dialog.context-panel h1{font-size:30px;line-height:1.3;letter-spacing:-.05em;text-wrap:balance}
#dialog.context-panel h2{font-size:19px;line-height:1.5;text-wrap:balance}
#dialog.context-panel .section{margin-top:24px}
#dialog.context-panel .panel{padding:20px;border-radius:20px}
#dialog.context-panel .grid.section{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#dialog.context-panel .plans{gap:12px}
#dialog.context-panel .plans .price{font-size:25px}
#dialog.context-panel .plans .btn{font-size:12px;padding:12px}
#dialog.context-panel :is(.reading-page,.reading-body){max-width:100%;margin:0}
#dialog.context-panel .terms-index{margin:20px 0}
#dialog.context-panel .receipt-json{white-space:pre-wrap;overflow-wrap:anywhere}
#dialog.context-panel .dialog-toast{flex:none;position:static;margin:0 0 12px}
.dialog-panel-foot{flex:none;border-top:1px solid var(--line);padding:12px 0 0;background:var(--paper,#faf9f6)}
.dialog-panel-foot .btn{font-size:13px;padding:12px 18px;background:transparent!important;color:var(--muted)!important;border:0!important}
.panel-loading{padding:30px 0;color:var(--muted)}
/* Notice reading stays inside one sheet, with quiet rows and reachable return controls. */
:is(.notice-list-page,#dialog .notice-panel-view) .notice-board{display:grid;gap:0;margin:22px 0 12px;border:0;border-radius:0;background:transparent}
:is(.notice-list-page,#dialog .notice-panel-view) .notice-entry{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;width:100%;box-sizing:border-box;padding:18px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left;text-decoration:none;color:var(--ink);min-width:0;box-shadow:none;transition:background-color .2s}
:is(.notice-list-page,#dialog .notice-panel-view) .notice-entry:hover{background:color-mix(in srgb,var(--accent) 5%,transparent)}
.notice-entry-copy{display:grid;justify-items:start;gap:6px;min-width:0}
.notice-entry-copy strong{font-size:15px;line-height:1.55;overflow-wrap:anywhere;word-break:keep-all}
.notice-entry-copy time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.notice-entry-arrow{flex:none;color:var(--muted);font-size:24px}
#dialog .notice-panel-back{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;margin:0 0 16px;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--muted);font:inherit;font-size:13px}
#dialog .notice-panel-view .eyebrow{margin-top:0}
#dialog .notice-panel-view h1{margin:8px 0 12px;overflow-wrap:anywhere}
#dialog .notice-panel-view .muted{font-size:13px;line-height:1.7}
#dialog .notice-panel-view .reading-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#dialog .notice-panel-view .reading-actions :is(a,button){min-height:44px;display:inline-flex;align-items:center;font-size:13px}
#dialog .notice-panel-view .pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 4px;font-size:12px}
#dialog .notice-panel-view .pagination .btn{min-height:44px;font-size:12px;padding:9px 16px}
#dialog .notice-panel-view{animation:notice-content-in .2s var(--ui-curve,cubic-bezier(.16,1,.3,1))}
@keyframes notice-content-in{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#dialog .notice-panel-view{animation:none}}
@media(max-width:760px){
 #dialog.context-panel{inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:90dvh;border-radius:28px 28px 0 0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-bottom:0}
 #dialog.context-panel>.close{top:20px;right:12px}
 .dialog-panel-head{min-height:64px;padding:0 48px 10px 0}
 .dialog-panel-grip{display:flex;align-items:flex-start;justify-content:center;height:24px;margin-right:-48px;padding:3px 0 0;touch-action:none;cursor:grab}
 .dialog-panel-grip span{width:34px;height:4px;background:#cbc6c4;border-radius:99px;pointer-events:none}
 #dialog.context-panel h1{font-size:26px}
 #dialog.context-panel .grid.section,#dialog.context-panel .plans{grid-template-columns:minmax(0,1fr)}
 #dialog.context-panel .actions{display:flex;gap:8px;flex-wrap:wrap}
 #dialog.context-panel .actions>.btn{font-size:12px;min-height:44px}
 #dialog.context-panel :is(input[type=text],input[type=email],input[type=password],input[type=search],textarea){font-size:16px}
}
/* Only a home notice opens from the top. Placement survives native close until the fade finishes. */
#dialog.context-panel[data-panel-placement=top]{inset:0 0 auto;margin:max(20px,env(safe-area-inset-top)) auto 0;max-height:calc(100dvh - max(20px,env(safe-area-inset-top)) - max(20px,env(safe-area-inset-bottom)));border-radius:28px;border:1px solid var(--line);transform-origin:50% 0}
@media(max-width:760px){#dialog.context-panel[data-panel-placement=top]{width:calc(100% - 24px);max-width:calc(100% - 24px);margin:max(12px,env(safe-area-inset-top)) auto 0;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));padding:12px 16px 12px;border-radius:24px}}
@supports(transition-behavior:allow-discrete){
 #dialog.context-panel[data-panel-placement=top]{opacity:0;transform:translateY(-18px) scale(.97,.96);clip-path:inset(0 0 88% 0 round 28px);transition:opacity .18s,transform .24s var(--ux-ease),clip-path .24s var(--ux-ease),display .24s allow-discrete,overlay .24s allow-discrete}
 #dialog.context-panel[data-panel-placement=top][open]{opacity:1;transform:none;clip-path:inset(0 0 0 0 round 28px)}
}
@media(prefers-reduced-motion:reduce){#dialog.context-panel[data-panel-placement=top]{transition:none!important}}
:root{--ux-ease:cubic-bezier(.16,1,.3,1);--ux-shadow:0 16px 48px #24202c12;--ux-radius:24px}
.chart-play-all{display:inline-flex;align-items:center;justify-content:center;min-height:40px}
#app :is(h1,h2,h3){text-wrap:balance}
#app :is(button,.btn,.pill){word-break:keep-all;overflow-wrap:normal}
#app :is(button,a):focus-visible,#dialog :is(button,a):focus-visible{outline:2px solid var(--accent,#bf4035);outline-offset:4px}
/* Reading headings receive focus for screen readers, not a selection frame. */
#dialog.context-panel #dialog-content :is(h1,h2)[tabindex="-1"]:focus{outline:none}
/* Pointer focus stays quiet; the next key restores ordinary keyboard cues. */
#app [data-panel-pointer-focus]:focus,#dialog [data-panel-pointer-focus]:focus{outline:none}
#app .notice:focus-visible{outline-offset:-2px;border-radius:10px}
.artist-home .ap-body{gap:24px}
.artist-home .ap-body>.ap-panel{border:0;background:transparent;box-shadow:none;border-radius:0;padding:20px 0}
.artist-home .ap-body>.ap-panel+.ap-panel{border-top:1px solid #837c7117}
.artist-home .ap-section-heading h2{letter-spacing:-.035em;font-size:20px}
.artist-home .ap-tabs{border:0;border-radius:99px;background:#8277700c;padding:5px;gap:4px}
.artist-home .ap-tabs button{border:0;border-radius:99px;min-height:44px;transition:background .18s,color .18s,box-shadow .18s}
.artist-home .ap-tabs button.active{background:var(--paper,#fff);box-shadow:0 3px 12px #221c2110;color:var(--accent)}
.artist-home .ap-songs{border:0;background:transparent;box-shadow:none;padding:12px 0}
.artist-home .listener-wallet{border:0;border-radius:20px;background:linear-gradient(120deg,#f3e5de88,#ece8f766);box-shadow:none;margin-top:16px}
.artist-home .ap-stats{border:0;background:transparent}
.artist-home .ap-owner-tools{margin-top:16px;gap:12px;flex-wrap:wrap}
.artist-home .ap-hero{border:0;box-shadow:var(--ux-shadow);isolation:isolate}
.ux-disclosure{min-width:0;border:0;border-top:1px solid #82777020;padding:14px 0;margin:10px 0;background:transparent}
.ux-disclosure>summary{cursor:pointer;min-height:32px;align-content:center;font-size:14px;font-weight:650;word-break:keep-all}
.ux-disclosure>.ap-panel{border:0;box-shadow:none;background:transparent;padding:14px 0;margin:0}
.ux-disclosure>.ap-panel>h2{display:none}
.ux-disclosure pre{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ux-expand-hint{font-size:12px;font-weight:500;color:var(--accent)}
.moderation-grid{display:block}
.moderation-card{border:0;border-bottom:1px solid var(--line,#ddd);border-radius:0;box-shadow:none;background:transparent;padding:18px 0}
.moderation-card>summary{cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 16px;min-height:54px}
.moderation-card>summary>b{font-size:16px;overflow-wrap:anywhere}
.moderation-card>summary>.legal{grid-column:1;line-height:1.6}
.moderation-card>summary>.ux-expand-hint{grid-column:2;grid-row:1/3;align-self:center}
.moderation-card[open]{background:#fff;border-radius:18px;padding:20px;margin:10px 0;box-shadow:0 6px 24px #20172508}
.moderation-card .moderation-form{margin-top:18px}
.admin-console :is(.admin-console-layout,.admin-console-main,.admin-results,.admin-member-tools,label,select,input){min-width:0;max-width:100%;box-sizing:border-box}
.admin-console .admin-member-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin-console .admin-member-tools select{width:100%}
.admin-console .admin-member-tools label{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
.admin-console .filter-row{flex-wrap:wrap}
.admin-console .admin-console-main{overflow-wrap:anywhere}
.admin-console .audit-row{padding:16px 0}
.admin-console .audit-row .ux-disclosure{margin:4px 0;padding:4px 0;border:0}
/* Top-layer dialogs must be anchored to the viewport even on deeply scrolled pages. */
#dialog,.voice-add-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box}
#dialog{border:1px solid #ffffff70;border-radius:28px;box-shadow:0 28px 90px #16121e35;overscroll-behavior:contain}
#dialog::backdrop{background:#15131d65}
.has-island-player #toast{bottom:min(calc(var(--island-space,240px) + 8px),calc(60dvh - 24px))}
@supports (transition-behavior:allow-discrete){
 #dialog{opacity:0;transform:translateY(6px) scale(.97);transition:opacity .16s,transform .2s var(--ux-ease),display .2s allow-discrete,overlay .2s allow-discrete}
 #dialog[open]{opacity:1;transform:none}
 #dialog::backdrop{opacity:0;transition:opacity .18s,display .2s allow-discrete,overlay .2s allow-discrete}
 #dialog[open]::backdrop{opacity:1}
 @starting-style{#dialog[open]::backdrop{opacity:0}}
}
.ux-disclosure:has(>#cover-presets[hidden]){display:none}
#dialog>.close{position:sticky;top:0;z-index:20;background:var(--paper,#fff);border-radius:50%;min-width:40px;min-height:40px;box-shadow:0 3px 14px #0000000c}
#dialog .pe-preview-slot{max-height:160px;overflow:hidden;border-radius:18px}
#dialog .pe-heading p{font-size:13px;line-height:1.6}
#dialog .pe-tabs{gap:4px}
#dialog .pe-tabs button{min-height:44px;word-break:keep-all}
#player.island-player{box-shadow:0 12px 42px #15101c24}
#toast{border-radius:99px;box-shadow:0 12px 36px #15101c22}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .pl-home-item .pl-art,.chart-cover-play .row-art,.ap-peers img{transition:transform .24s var(--ux-ease)}
 .pl-home-item:hover .pl-art,.chart-cover-play:hover .row-art{transform:translateY(-3px)}
}
@media(max-width:650px){
 .artist-home .ap-body{padding-left:18px;padding-right:18px}
 .artist-home .ap-body>.ap-panel{padding:16px 0}
 .artist-home .ap-section-heading h2{font-size:18px}
 #app .actions{flex-wrap:wrap;gap:10px}
 #app .actions>.btn{min-height:44px;flex-shrink:0}
 #app :is(.settings-group,.notification-settings,.admin-console) button{min-height:44px}
 #app .short-chart-row{display:grid;grid-template-columns:24px minmax(0,1fr) 44px;gap:8px 10px;padding:16px 0}
 #app .short-chart-row .chart-rank{grid-column:1;grid-row:1;align-self:center}
 #app .short-chart-row .chart-song{grid-column:2;grid-row:1;min-width:0}
 #app .short-chart-row .chart-play{grid-column:3;grid-row:1;position:static;width:44px;height:44px;align-self:center}
 #app .short-chart-row .chart-song h2{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-size:14px}
 #app .short-chart-row .chart-plays{grid-column:2;grid-row:2;justify-self:start}
 #app .short-chart-row .chart-likes{grid-column:2;grid-row:2;justify-self:end}
 #app .short-chart-row :is(.chart-hips,.chart-ad){grid-row:3;font-size:11px}
 #app .short-chart-row .chart-hips{grid-column:2;justify-self:start}
 #app .short-chart-row .chart-ad{grid-column:2;justify-self:end}
 #app .short-chart-row .chart-metric{width:auto;min-width:0}
 #dialog .pe-preview-slot{max-height:125px}
 body[data-route=support-guide] #app .grid.section{grid-template-columns:minmax(0,1fr)}
 body[data-route=notification-settings] #app .actions{display:grid;grid-template-columns:minmax(0,1fr)}
 body[data-route=settings] #app .actions{gap:12px}
 body[data-route=settings] #app .actions button{white-space:nowrap}
 body[data-route=create] #app .split{display:block}
 body[data-route=create] #app aside.stack{margin-top:20px}
 body[data-route=create] #app .ux-disclosure .panel{border:0;background:transparent;padding:10px 0;box-shadow:none}
 .admin-console .admin-member-tools{grid-template-columns:minmax(0,1fr)}
 #dialog{width:calc(100% - 24px);max-height:88dvh;padding:20px;border-radius:26px}
 .moderation-card>summary{gap:8px}
}
@media(prefers-reduced-motion:reduce){
 #dialog,#player,#app .ap-tabs button{animation:none!important;transition:none!important}
}
@media(max-width:650px){
 #app .workspace-short-entry{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:20px;border-radius:22px}
 #app .workspace-short-entry>div{min-width:0}
 #app .workspace-short-entry h2{font-size:19px;line-height:1.4;margin:5px 0}
 #app .workspace-short-entry p{font-size:13px;line-height:1.6;word-break:keep-all}
 #app .workspace-short-go{grid-column:2;white-space:nowrap;justify-self:start}
 #app .social-login .actions{display:grid;grid-template-columns:minmax(0,1fr)}
 #app .notification-item{min-width:0;padding:18px 12px;border-radius:16px}
 #app .notification-item strong{font-size:14px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
}

/* Artist portfolios are public presentations, separate from the listener dashboard. */
.artist-portfolio-home{background:#fcfbfd;border:0;box-shadow:0 18px 60px #34263f09}
.artist-portfolio-home .ap-body{padding:0 30px 30px}
.artist-portfolio-home .ap-hero{box-shadow:none;padding-bottom:26px}
.artist-portfolio-home #ap-share{min-height:40px;padding:9px 17px;background:#ffffffef;color:#332b3e;box-shadow:0 4px 16px #20172512;border:0}
.artist-portfolio-home .ap-owner-tools{font-size:12px;padding:4px 0 10px;gap:18px}
.artist-portfolio-home .ap-stats{gap:0;margin:0;padding:22px 0;border-bottom:1px solid #e8e3eb}
.artist-portfolio-home .ap-stats>div{background:transparent;border:0;border-radius:0;padding:0 8px}
.artist-portfolio-home .ap-stats>div+div{border-left:1px solid #e8e3eb}
.artist-portfolio-home .ap-stats .ap-supporter-stat a{display:block;padding:0}
.artist-portfolio-home .ap-stats strong{font-size:25px;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.artist-portfolio-home .ap-editorial-label{font-size:10px;line-height:1.4;letter-spacing:.16em;color:#82688e;font-weight:650;margin:0 0 9px}
.artist-portfolio-home .ap-section-heading h2{font-size:22px;letter-spacing:-.045em}
.artist-portfolio-home .ap-section-heading>span{color:#85778b;font-size:11px}
.artist-portfolio-home .ap-body>.ap-portfolio-overview{padding:28px 0 24px;margin:0}
.artist-portfolio-home .ap-portfolio{margin-top:24px;gap:0}
.artist-portfolio-home .ap-portfolio>div{border:0;border-left:2px solid #cfb9db;background:transparent;border-radius:0;padding:0 20px!important}
.artist-portfolio-home .ap-portfolio>div:nth-child(2){border-color:#bfbde1}
.artist-portfolio-home .ap-portfolio>div:nth-child(3){border-color:#ddbfc8}
.artist-portfolio-home .ap-portfolio>div:nth-child(4){border-color:#b2d0ca}
.artist-portfolio-home .ap-portfolio small{font-size:12px;color:#6c6077}
.artist-portfolio-home .ap-portfolio strong{font-size:36px;line-height:1.15;font-weight:650;letter-spacing:-.055em;color:#3d304a;font-variant-numeric:tabular-nums}
.artist-portfolio-home .ap-portfolio strong span{font-size:12px;font-weight:400;letter-spacing:0;color:#85778b}
.artist-portfolio-home .ap-portfolio-overview>.ap-note{margin-top:18px;font-size:11px}
.ap-portfolio-music,.ap-portfolio-story{min-width:0}
.artist-portfolio-home .ap-portfolio-music .ap-tabs{margin-bottom:16px;background:#ede8f280;padding:4px}
.artist-portfolio-home .ap-song{grid-template-columns:76px minmax(0,1fr) 26px;gap:14px;padding:19px 0}
.artist-portfolio-home .ap-art{width:76px;height:76px}
.artist-portfolio-home .ap-song h3{font-size:16px;line-height:1.4}
.artist-portfolio-home .ap-song-side{display:contents}
.artist-portfolio-home .ap-song-detail{grid-column:3;grid-row:auto;align-self:center;justify-self:end}
.artist-portfolio-home .ap-song-money{grid-column:2/-1;display:flex;flex-direction:row;justify-content:flex-start;gap:16px;text-align:left;margin-top:-6px}
.artist-portfolio-home .ap-song-money b{font-size:11px}
.artist-portfolio-home .ap-journey .ap-section-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}
.artist-portfolio-home .ap-journey h2{font-size:20px}
.artist-portfolio-home .ap-journey .ap-note{margin-top:12px;line-height:1.7}
.artist-portfolio-home .ap-career-date{font-size:10px;color:#8a7f94;line-height:1.5}
.artist-portfolio-home .ap-career-empty{font-size:13px;color:#83778e;line-height:1.8;padding:20px 0}
.artist-portfolio-home .ap-body>.ap-portfolio-peers{padding:26px 0;border-top:1px solid #e8e3eb;margin:0}
.artist-portfolio-home .ap-peers{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));overflow:visible;gap:18px 28px;padding-top:22px}
.artist-portfolio-home .ap-peers>a{display:grid;grid-template-columns:52px minmax(0,1fr);gap:3px 12px;text-align:left;align-content:center}
.artist-portfolio-home .ap-peers .avatar{grid-row:1/4;width:52px;height:52px;margin:0}
.artist-portfolio-home .ap-peers b{font-size:13px;align-self:end;overflow-wrap:anywhere}
.artist-portfolio-home .ap-peers small{max-width:none}
.artist-portfolio-home .ap-body>.ap-portfolio-income{border-top:1px solid #e8e3eb;padding:26px 0 0;margin:0}
.artist-portfolio-home .ap-income{max-width:620px;gap:32px}
.artist-portfolio-home .ap-income strong{font-size:26px;color:#53425d}
@media(max-width:850px){
 .artist-portfolio-home .ap-body{padding:0 20px 26px}
 .artist-portfolio-home .ap-journey .ap-section-heading{align-items:center}
}
@media(max-width:650px){
 .artist-portfolio-home{border-radius:0}
 .artist-portfolio-home .ap-hero{padding-bottom:20px}
 .artist-portfolio-home .ap-stats{padding:18px 0}
 .artist-portfolio-home .ap-stats strong{font-size:22px}
 .artist-portfolio-home .ap-stats small{font-size:9px}
 .artist-portfolio-home .ap-section-heading h2{font-size:20px}
 .artist-portfolio-home .ap-section-heading>span{font-size:10px}
 .artist-portfolio-home .ap-body>.ap-portfolio-overview{padding:24px 0 20px}
 .artist-portfolio-home .ap-portfolio>div{padding:0 9px!important}
 .artist-portfolio-home .ap-portfolio small{font-size:10px}
 .artist-portfolio-home .ap-portfolio strong{font-size:29px}
 .artist-portfolio-home .ap-song{grid-template-columns:68px minmax(0,1fr) 18px;gap:10px}
 .artist-portfolio-home .ap-art{width:68px;height:68px}
 .artist-portfolio-home .ap-song h3{font-size:15px}
 .artist-portfolio-home .ap-peers{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
 .artist-portfolio-home .ap-peers>a{grid-template-columns:minmax(0,1fr);gap:5px}
 .artist-portfolio-home .ap-peers .avatar{grid-row:auto;width:48px;height:48px;margin-bottom:3px}
}


.artist-portfolio-home .ap-body>.ap-owner-tools{display:flex;gap:7px;margin:14px 0 0;padding:0;background:none;border:0}
.artist-portfolio-home .ap-owner-tools a{font-size:11px;padding:7px 11px;min-height:34px;box-sizing:border-box}

/* Listening actions and a queue anchored immediately above the music player. */
#app .chart-title-row{justify-content:space-between;gap:16px;flex-wrap:nowrap}
#app .chart-title-row h2{margin:0;flex:1}
#app .chart-title-row>.text-btn{flex:none;white-space:nowrap}
#app .chart-playback-bar{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin:16px 0 8px;flex-wrap:wrap}
#app .chart-playback-bar .chart-play-all{order:0;min-height:44px;padding:10px 19px;border:0;border-radius:var(--ui-button-radius,16px);background:var(--accent);color:#fff;font-size:13px;font-weight:650;white-space:nowrap;display:inline-flex;gap:8px}
#app .chart-playback-bar .playlist-playback-guide-link{order:1;margin:0;padding:10px 8px;min-height:44px;border:0;box-shadow:none;background:transparent;font-size:12px}
#app .chart-playback-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 18px;word-break:keep-all}
#player-queue-panel{position:fixed;z-index:450;box-sizing:border-box;display:flex;flex-direction:column;max-height:480px;padding:16px 10px 10px;border:1px solid #e4dbea;border-radius:24px;background:#fffdfd;box-shadow:0 14px 45px #382b4e30;overflow:hidden;animation:queue-appear .22s cubic-bezier(.16,1,.3,1);transform-origin:center bottom;color:var(--ink,#262329)}
.player-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 6px 12px;flex:none}
.player-queue-head h2{font-size:16px;line-height:1.4;margin:0;letter-spacing:-.03em}
.player-queue-count{font-size:11px;line-height:1.5;color:var(--muted);margin:4px 0 0}
.player-queue-close{display:grid;place-items:center;width:36px;height:36px;flex:none;border:0;border-radius:50%;background:#f2edf5;color:#756782;font-size:23px;cursor:pointer;padding:0}
.player-queue-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;max-height:380px;scrollbar-width:thin;touch-action:pan-y}
.player-queue-song{display:flex;align-items:center;gap:10px;padding:10px 8px;width:100%;border:0;border-radius:14px;background:transparent;color:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
.player-queue-song.active{background:#f0e8f6;color:#75528f}
.player-queue-number{width:18px;flex:none;text-align:center;font-size:12px;color:#8c7a99}
.player-queue-art{display:grid;place-items:center;position:relative;overflow:hidden;width:40px;height:40px;flex:none;border-radius:10px;background:#e9dfef;color:#9772ac}
.player-queue-art img{width:100%;height:100%;object-fit:cover}
.player-queue-copy{flex:1;min-width:0}.player-queue-copy b,.player-queue-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-queue-copy b{font-size:13px;line-height:1.5;font-weight:650}.player-queue-copy small{font-size:11px;line-height:1.5;margin-top:3px;color:#84758e}
.player-queue-now{flex:none;font-size:10px}.player-queue-song:hover{background:#f5eff8}
#player-queue-panel button:focus-visible{outline:2px solid #9d77b9;outline-offset:-2px}
@keyframes queue-appear{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#player-queue-panel{animation:none}}
@media(max-width:380px){.player-queue-now{display:none}.player-queue-song{gap:8px}#app .chart-playback-hint{font-size:11px}}

/* Shared control hierarchy: mode accent for actions, tonal selection, quiet navigation. */
#app :is(.chips .pill,.pagination .pill){min-height:40px;border-radius:99px;padding:9px 17px;border:1px solid #e9e4e8;background:#fff;color:#665d67;font:inherit;font-size:12px;line-height:1.4;box-sizing:border-box}
#app .chips .pill:is(.active,[aria-pressed=true]){border-color:color-mix(in srgb,var(--accent) 28%,white);background:color-mix(in srgb,var(--accent) 11%,white);color:var(--accent);font-weight:700;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 12%,white)}
#app .btn.secondary{border:1px solid #e8e2e8;background:#fff;color:var(--ink);box-shadow:0 2px 7px #33243704}
#app :is(.pagination .btn,.pagination .pill){min-height:44px;min-width:64px;font-size:12px;white-space:nowrap}
#app :is(.btn,.pill):disabled{opacity:.4;cursor:default;box-shadow:none}
#app :is(.row,.ap-section-heading,.pl-track-heading)>.text-btn{display:inline-flex;align-items:center;min-height:36px;white-space:nowrap}
#app :is(.short-filters,.filter-row,.collab-list-heading) select{min-height:42px;border-radius:13px;border-color:#e8e2e8;background-color:#fff;color:#62576a}
#app .collab-list-heading label{font-size:0}#app .collab-list-heading select{font-size:12px}
#app .collab-genres>summary{min-height:42px;display:flex;align-items:center;gap:8px;box-sizing:border-box}
#app .collab-join{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
#app .playlist-add{min-height:36px;border-radius:99px;background:color-mix(in srgb,var(--accent) 6%,white);color:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 12%,white)}
/* Discovery: clear search, lightweight genre rail, compact filters, prominent results. */
.discovery-browser{max-width:1320px;margin:0 auto}
.discovery-heading{margin:4px 0 22px}.discovery-heading h1{font-size:30px;letter-spacing:-.045em;margin:7px 0 9px}.discovery-heading>p:last-child{font-size:14px;color:var(--muted);line-height:1.6;margin:0}
.discovery-search{padding:22px;border-radius:24px;background:linear-gradient(125deg,#fff,#faf7f7);border:1px solid #eee7e7}
.discovery-search #search-form{max-width:none;display:flex;align-items:center;gap:10px;margin:0;padding:5px 5px 5px 14px;background:#f5f1f2;border:1px solid transparent;border-radius:16px}
.discovery-search #search-form:focus-within{border-color:color-mix(in srgb,var(--accent) 45%,white);background:#fff}
.discovery-search-icon{font-size:26px;color:#9a7882;flex:none;line-height:1}
.discovery-search #search-form input{min-width:0;flex:1;width:0;border:0;box-shadow:none;background:transparent;padding:10px 0;font-size:14px;outline:none}
.discovery-search #search-form .btn{flex:none;min-height:44px;border-radius:12px;padding:10px 17px;font-size:13px}
.discovery-genre-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:12px;color:var(--muted)}.discovery-genre-heading b{margin-left:6px;color:var(--ink);font-weight:600}.discovery-genre-heading .text-btn{min-height:36px;padding:5px 0;font-size:12px}
#app .discovery-genres{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;margin:4px 0 0;padding:3px 1px 10px;scrollbar-width:thin;scrollbar-color:#dfcbd3 transparent;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
#app .discovery-genres .pill{flex:none;white-space:nowrap}
#app .discovery-genres.is-expanded{flex-wrap:wrap;overflow:visible}
.discovery-options{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px;padding-top:14px;border-top:1px solid #ece5e8}
.discovery-option{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 11px;font-size:12px;border:1px solid #e9e3e7;border-radius:99px;color:#766773;background:#fff;cursor:pointer;box-sizing:border-box}
.discovery-option:has(input:checked){color:var(--accent);border-color:color-mix(in srgb,var(--accent) 24%,white);background:color-mix(in srgb,var(--accent) 7%,white)}
.discovery-option input{appearance:auto;width:15px;height:15px;margin:0;padding:0;accent-color:var(--accent)}
.discovery-reset{margin-left:auto;min-height:36px;padding:4px 0;font-size:12px}
.discovery-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 12px}.discovery-results-heading h2{font-size:18px;margin:0;letter-spacing:-.035em}.discovery-results-heading h2 span{font-size:13px;color:var(--accent);margin-left:4px;font-weight:500}
.discovery-results-heading select{width:auto;max-width:160px;min-width:0;font-size:12px;padding:10px 12px;min-height:42px;border:1px solid #e8e2e8;border-radius:13px;background:#fff;color:#62576a}
.discovery-ai-note{font-size:11px;line-height:1.7;color:var(--muted);margin:16px 0}
.discovery-results .explore-track{border-color:#eee7eb;box-shadow:none}
body[data-mode=listen][data-route=explore] .discovery-results .track-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:3px 10px}
body[data-mode=listen][data-route=explore] .discovery-results .row-art{grid-row:1/3}
body[data-mode=listen][data-route=explore] .discovery-results .song-counts{grid-column:2}
body[data-mode=listen][data-route=explore] .discovery-results .track-info strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;line-height:1.45}
body[data-mode=listen][data-route=explore] .discovery-results .playlist-add{width:40px;min-height:40px;height:40px;padding:9px;margin:0;display:grid;place-items:center;align-self:start;border-radius:50%}
.discovery-results .playlist-add svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
/* Revenue is a first-class portfolio result. Music history returns to one horizontal rail. */
.artist-portfolio-home .ap-body>.ap-portfolio-income{margin:20px 0 8px;padding:22px;border:0;border-radius:22px;background:linear-gradient(115deg,#f2e8ed,#eeeaf7)}
.artist-portfolio-home .ap-portfolio-income .ap-editorial-label{margin-bottom:6px}
.artist-portfolio-home .ap-portfolio-income .ap-section-heading h2{font-size:19px}
.artist-portfolio-home .ap-income{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:20px;margin-top:18px}
.artist-portfolio-home .ap-income>div+div{border-left:1px solid #d9cbdc;padding-left:20px}
.artist-portfolio-home .ap-income strong{font-size:34px;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:#6e4c79;overflow-wrap:anywhere}
.ap-income-note{margin-top:13px;color:#807187;font-size:11px}.ap-income-note summary{cursor:pointer;min-height:30px;align-content:center}.ap-income-note p{line-height:1.7}
.artist-portfolio-home .ap-body>.ap-portfolio-overview{padding:18px 0}
.artist-portfolio-home .ap-portfolio{margin-top:18px}
.artist-portfolio-home .ap-portfolio-music{margin:12px 0 22px;min-width:0}
.artist-portfolio-home .ap-body>.ap-journey{border:0;border-top:1px solid #e8e3eb;padding:22px 0;margin:0;background:transparent;border-radius:0}
.artist-portfolio-home .ap-timeline{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#d6c8df transparent;padding:12px 0 8px;touch-action:pan-x pan-y;cursor:grab}
.artist-portfolio-home .ap-timeline-track{display:flex;width:max-content;min-width:100%;gap:0}
.artist-portfolio-home .ap-milestone{flex:1 0 132px;width:132px;display:flex;flex-direction:column;text-align:center;padding:0 6px;gap:8px;border:0}
.artist-portfolio-home .ap-career-date{font-size:9px;line-height:1.5;max-width:120px;color:#8a7f94}
@media(max-width:650px){
 .discovery-heading{margin-bottom:18px}.discovery-heading h1{font-size:25px}.discovery-heading>p:last-child{font-size:12px}
 .discovery-search{padding:14px;border-radius:20px}.discovery-search #search-form{gap:7px;padding-left:10px}.discovery-search #search-form input{font-size:12px}.discovery-search #search-form .btn{padding:9px 13px;font-size:12px}
 .discovery-results-heading{margin-top:22px}.discovery-results-heading h2{font-size:17px}.discovery-results-heading select{max-width:142px;font-size:11px}
 .discovery-options{gap:8px}.discovery-option{padding:0 9px;font-size:11px}.discovery-reset{font-size:11px}
 .artist-portfolio-home .ap-body>.ap-portfolio-income{padding:18px 16px;margin-top:16px}.artist-portfolio-home .ap-income{gap:14px}.artist-portfolio-home .ap-income>div+div{padding-left:14px}.artist-portfolio-home .ap-income strong{font-size:29px}.artist-portfolio-home .ap-income span{font-size:10px}
 .artist-portfolio-home .ap-milestone{flex-basis:116px;width:116px}.artist-portfolio-home .ap-career-date{max-width:105px}
}

/* Listener discovery: browse many songs without repeating the full player. */
body[data-mode=listen][data-route=explore] .discovery-results{display:grid;grid-template-columns:minmax(0,1fr);gap:0 28px;background:transparent;border:0;border-radius:0;overflow:visible}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto 40px;gap:12px;align-items:center;align-content:center;min-height:76px;padding:10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;transition:background-color .25s}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track.is-current{background:color-mix(in srgb,var(--accent) 4%,transparent)}
.discovery-results .discovery-cover-play{position:relative;display:block;width:48px;height:48px;min-height:48px;padding:0;border:0;border-radius:9px;background:transparent;overflow:hidden;flex:none}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track .row-art{display:grid;place-items:center;width:48px;height:48px;min-width:48px;margin:0;border-radius:9px}
.discovery-play-icon{position:absolute;inset:0;display:grid;place-items:center;color:white;background:#0002;filter:drop-shadow(0 1px 2px #0005);pointer-events:none;transition:opacity .2s}
.discovery-play-icon svg{width:22px;height:22px;fill:currentColor}
.discovery-results .is-current-playing .discovery-play-icon{opacity:0}
.discovery-results .discovery-track:not(.is-current-playing) .discovery-cover-wave{opacity:0}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track .track-info{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;grid-column:auto;padding:0}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track .track-info strong{display:block;margin:0;font-size:14px;font-weight:650;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:color .25s}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track.is-current .track-info strong{color:var(--accent)}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track .track-info small{display:block;margin:0;font-size:11px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--muted)}
.discovery-summary{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0;color:var(--muted)}
.discovery-stats{display:flex;align-items:center;gap:12px;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.discovery-stats>span{display:inline-flex;align-items:center;gap:4px}
.discovery-stats svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round;flex:none}
@media(max-width:650px){.discovery-summary{flex-direction:column;align-items:flex-end;gap:5px}.discovery-stats{gap:8px;font-size:10px}.discovery-stats>span{gap:3px}.discovery-stats svg{width:11px;height:11px}}
.discovery-duration{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-mode=listen][data-route=explore] .discovery-results .discovery-track>.playlist-add{position:static;display:grid;place-items:center;align-self:center;width:40px;min-height:44px;height:44px;margin:0;padding:9px;border:0;border-radius:10px;background:transparent;color:var(--muted)}
.discovery-results .discovery-cover-play:focus-visible,.discovery-results .track-info:focus-visible,.discovery-results .playlist-add:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.discovery-results>.empty{grid-column:1/-1}
@media(hover:hover){.discovery-results .discovery-cover-play:hover .discovery-play-icon{opacity:1}.discovery-results .discovery-cover-play:hover .discovery-cover-wave{opacity:0}body[data-mode=listen][data-route=explore] .discovery-results .discovery-track>.playlist-add:hover{color:var(--accent);background:var(--soft)}}
@media(min-width:800px){body[data-mode=listen][data-route=explore] .discovery-results{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-mode=listen][data-route=explore] .discovery-results .discovery-track{min-height:80px}}
@media(max-width:380px){body[data-mode=listen][data-route=explore] .discovery-results .discovery-track{gap:8px;grid-template-columns:44px minmax(0,1fr) auto 36px;min-height:72px}.discovery-results .discovery-cover-play,body[data-mode=listen][data-route=explore] .discovery-results .discovery-track .row-art{width:44px;height:44px;min-width:44px;min-height:44px}body[data-mode=listen][data-route=explore] .discovery-results .discovery-track>.playlist-add{width:36px;padding:7px}}
@media(prefers-reduced-motion:reduce){.discovery-results .discovery-track,.discovery-play-icon,.discovery-results .track-info strong{transition:none!important}}
/* Reuse the existing shorts helper line, adding no new row above the cover. */
.short-help-tour{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;margin:12px 0;font-size:12px}
.short-help-tour .text-btn{font-size:12px;white-space:nowrap;padding:4px 0;min-height:36px;flex-shrink:0}
.short-help-tour>span{min-width:0}
.feature-tour{padding-left:0}
.hipnet-tour{max-width:640px;margin:auto}.hipnet-tour h2{font-size:28px;line-height:1.3;letter-spacing:-.045em;margin:8px 0 20px}
.tour-mode-tip{border-radius:18px;background:linear-gradient(115deg,#fff0e9,#f0eafa);padding:18px 20px;margin-bottom:20px}.tour-mode-tip b{font-size:15px}.tour-mode-tip b span{margin-right:8px;font-size:21px}.tour-mode-tip p{font-size:13px;line-height:1.8;margin:8px 0}.tour-mode-tip small{font-size:11px;color:var(--muted)}
.tour-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#f3f0f3;border-radius:14px}.tour-tabs button{border:0;border-radius:11px;min-height:44px;background:transparent;color:#807480;font-size:12px;line-height:1.5;padding:8px}.tour-tabs button[aria-pressed=true]{background:#fff;color:#a9443e;box-shadow:0 2px 8px #3927390c}.tour-tabs button[data-tour-mode=artist][aria-pressed=true]{color:#7050bc}
.tour-panel[hidden]{display:none}.tour-panel ol{list-style:none;padding:6px 0;margin:10px 0}.tour-panel li{display:flex;gap:15px;padding:13px 0;border-bottom:1px solid #efeaee}.tour-panel li:last-child{border:0}.tour-step{color:#ba8983;font-size:13px;line-height:24px;font-variant-numeric:tabular-nums}.tour-panel[data-tour-panel=artist] .tour-step{color:#9481b3}.tour-panel small{font-size:11px;color:var(--muted)}.tour-panel h3{font-size:16px;margin:3px 0 5px}.tour-panel p{font-size:12px;line-height:1.7;margin:0;color:#756b76}.tour-footnote{font-size:11px;text-align:center;color:var(--muted)}
@media(max-width:760px){.short-help-tour{font-size:11px;gap:5px;margin:4px 0}.short-help-tour .text-btn{font-size:11px}.hipnet-tour h2{font-size:24px}.tour-mode-tip{padding:14px}.tour-panel li{padding:11px 0}.tour-tabs button{font-size:11px}}

.listening-albums{cursor:grab;touch-action:pan-x pan-y;user-select:none}.listening-albums.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}.listening-albums.is-dragging *{cursor:grabbing}.listening-albums:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:12px}

/* A single finite palette wave, from the actual mode switch, without blocking controls. */
.hip-mode-transition{position:fixed;inset:0;z-index:1000;overflow:hidden;pointer-events:none;contain:strict}
.hip-mode-wave{position:absolute;border-radius:50%;pointer-events:none;transform:scale(0);opacity:0;transform-origin:50% 50%;will-change:transform,opacity;background:radial-gradient(circle,rgba(173,129,208,.24) 0%,rgba(164,115,206,.29) 58%,rgba(151,97,198,.38) 75%,rgba(173,132,214,.19) 85%,rgba(192,167,219,0) 100%)}
.hip-mode-transition[data-target=listen] .hip-mode-wave{background:radial-gradient(circle,rgba(248,178,151,.20) 0%,rgba(239,155,129,.27) 58%,rgba(222,126,106,.35) 75%,rgba(246,180,158,.17) 85%,rgba(250,215,193,0) 100%)}
@media(prefers-reduced-motion:reduce){.hip-mode-transition{display:none}}

/* HIPNET brand grammar: shared shapes; mode, music and capture keep separate palettes. */
:root{--ui-button-radius:16px;--ui-card-radius:20px;--ui-float-radius:28px;--ui-curve:cubic-bezier(.22,.8,.2,1);--ui-control-line:#e5e0dd;--ui-control-ink:#635d61}
body[data-mode=listen]{--accent:#c43e35;--soft:#fff0eb;--mode-line:#f0d3c9;--mode-wash:#fff8f4}
#app .btn:not(:where(.studio-plus *,.simple-recorder *)),#dialog .btn{border-radius:var(--ui-button-radius);min-height:44px;transition:background-color .2s,color .2s,border-color .2s,transform .28s var(--ui-curve);box-sizing:border-box}
#app .btn.accent:not(:where(.studio-plus *,.simple-recorder *)),#dialog .btn.accent{background:var(--accent);color:white;border-color:transparent}
#app .btn.secondary:not(:where(.studio-plus *,.simple-recorder *)),#dialog .btn.secondary{background:#fff;border-color:var(--ui-control-line);color:var(--ink);box-shadow:none}
#app .btn:not(:where(.studio-plus *,.simple-recorder *)):active,#dialog .btn:active{transform:scale(.98)}
#app :is(.panel,.discovery-search,.sound-library-body):not(:where(.studio-plus *,.simple-recorder *)){border-radius:var(--ui-card-radius)}
#app :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select):not(:where(.studio-plus *,.simple-recorder *,.short-shell *)),#dialog :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select){border-radius:var(--ui-button-radius);border-color:var(--ui-control-line);transition:border-color .2s,box-shadow .2s}
#app :is(input,textarea,select):not(:where(.studio-plus *,.simple-recorder *)):focus-visible,#dialog :is(input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#app :is(input[type=checkbox],input[type=radio]):not(:where(.studio-plus *,.simple-recorder *)),#dialog :is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}
#app :is(.check,.discovery-option):not(:where(.studio-plus *,.simple-recorder *)){min-height:44px}
#app .discovery-option{border-color:var(--ui-control-line);border-radius:var(--ui-button-radius)}
#app .discovery-option input{width:17px;height:17px}
#app :is(.discovery-genres,.storage-tabs,.chips,.sound-library-tabs) button{transition:background-color .22s,color .22s,border-color .22s,transform .28s var(--ui-curve)}
#app :is(.discovery-genres,.storage-tabs,.chips,.sound-library-tabs) button:active{transform:scale(.97)}
#app .discovery-search-icon{display:grid;place-items:center;color:var(--muted)}
#app :is(.form-error,.sound-library-error,.note){line-height:1.7;overflow-wrap:anywhere}
#app :is(.workspace-hero,.compact-welcome){border-radius:var(--ui-float-radius)}
#app .hip-action-icon{width:20px;height:20px;flex:none;vertical-align:middle}
#app .chart-play-all .hip-action-icon{fill:currentColor;stroke:none;width:18px;height:18px}
#app .playlist-add{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border-radius:var(--ui-button-radius);font-size:12px;box-sizing:border-box}
#app .playlist-add svg{width:20px;height:20px;flex:none}
#app .listening-albums{scroll-snap-type:none;scroll-behavior:auto;overflow-anchor:none;scrollbar-width:none}
#app .listening-albums::-webkit-scrollbar{display:none}
#app .listening-albums .album-card-title{display:flex;align-items:flex-start;gap:4px;margin-top:10px;min-width:0}
#app .listening-albums .album-card-title>a{flex:1;min-width:0}
#app .listening-albums .album-card-title h3{margin:5px 0 0;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
#app .listening-albums .playlist-add{flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:-2px -6px 0 0;padding:12px;border:0;background:transparent;color:var(--muted);box-shadow:none;border-radius:50%}
#app .listening-albums .playlist-add span{display:none}
#app .listening-albums .playlist-add:hover,#app .listening-albums .playlist-add.is-saved{background:color-mix(in srgb,var(--accent) 7%,transparent);color:var(--accent)}
#app .listening-albums .playlist-add:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.album-heading-actions{display:flex;align-items:center;gap:4px;flex:none}
#app .album-motion-toggle{display:grid;place-items:center;width:40px;height:40px;padding:11px;border:0;border-radius:50%;background:transparent;color:var(--muted);box-shadow:none}
#app .album-motion-toggle[hidden]{display:none}
#app .album-motion-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#app .album-motion-toggle:hover{color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,transparent)}
#app .album-motion-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@media(max-width:480px){#app .listening-stage .section>.row>h2{font-size:21px}.album-heading-actions>.text-btn{font-size:12px;white-space:nowrap}}
#app .popular-chart-row .chart-save{border-radius:12px;color:var(--muted);min-height:44px}
#app .popular-chart-row .chart-save:is(:hover,:focus-visible){color:var(--accent);background:var(--soft);outline-color:var(--accent)}
#app .popular-chart-row .chart-save.is-saved{color:#286c4b;background:#e9f3ed}
#app .workspace-tool-icon .hip-action-icon{width:22px;height:22px}
#app .workspace-tools>a{border-radius:var(--ui-card-radius)}
#app .ap-owner-tools a{border-radius:var(--ui-button-radius);min-height:44px;display:inline-flex;align-items:center}
#app .ap-tabs button,#app .storage-tabs button{min-height:44px}
#app :is(.admin-console,.sound-library,.settings-grid) :is(input,select,textarea){max-width:100%;box-sizing:border-box}
/* A recognisable unfold surface for explanations, tools and preferences. Native details remain accessible. */
#app :is(.brand-disclosure,.ux-disclosure,.ai-disclaimer,.sound-library-help,.ap-income-note){border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;padding:8px 0;min-width:0}
#app :is(.brand-disclosure,.ux-disclosure,.ai-disclaimer,.sound-library-help,.ap-income-note)>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;list-style:none;color:var(--ink);font-size:13px;font-weight:650;cursor:pointer;border-radius:12px;padding:4px 0;box-sizing:border-box}
#app :is(.brand-disclosure,.ux-disclosure,.ai-disclaimer,.sound-library-help,.ap-income-note)>summary::-webkit-details-marker{display:none}
#app :is(.brand-disclosure,.ux-disclosure,.ai-disclaimer,.sound-library-help,.ap-income-note)>summary:after{content:'';width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin:0 8px 4px 0;flex:none;color:var(--muted);transition:transform .35s var(--ui-curve),color .2s}
#app :is(.brand-disclosure,.ux-disclosure,.ai-disclaimer,.sound-library-help,.ap-income-note)[open]>summary:after{transform:rotate(225deg);margin-top:5px;color:var(--accent)}
#app :is(.brand-disclosure,.ux-disclosure,.ai-disclaimer,.sound-library-help,.ap-income-note)>summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
#app .brand-disclosure>summary small{display:block;color:var(--muted);font-size:11px;font-weight:400;line-height:1.5;margin-top:4px}
#app .listening-shortcuts{margin:20px 0 4px}
#app .listening-shortcuts>summary{padding:10px 2px}
#app .listening-shortcuts .listening-links{margin:10px 0 8px}
#app .settings-group.brand-disclosure{padding:12px 20px;border:1px solid var(--line);border-radius:var(--ui-card-radius);background:#fff;align-self:start}
#app .settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
@media(max-width:980px){#app .settings-grid{grid-template-columns:1fr}}
#app .settings-group.brand-disclosure>summary{padding:4px 0 10px}
#app .settings-group.brand-disclosure>summary h2{margin:0;font-size:16px;color:var(--ink)}
#app .settings-group.brand-disclosure:not([open])>summary{padding-bottom:4px}
#app .settings-group.brand-disclosure>:is(a,button){border-radius:12px;transition:background-color .2s}
#app .settings-group.brand-disclosure>:is(a,button):hover{background:var(--mode-wash,var(--soft))}
#app .ap-income-note{font-size:11px;padding:6px 0 0;border-color:#d9cbdc}
#app .ap-income-note>summary{font-size:11px;color:var(--mode-muted,var(--muted))}
/* Motion follows intention. No idle animation, layout observer or media work on regular cards. */
@media(hover:hover) and (pointer:fine){#app :is(.pl-library-item,.workspace-tools>a,.sound-create){transition:background-color .24s,transform .38s var(--ui-curve)}#app :is(.pl-library-item,.sound-create):hover{transform:translateY(-2px)}}
@media(max-width:760px){#app :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],textarea):not(:where(.studio-plus *,.simple-recorder *)),#dialog :is(input[type=text],input[type=email],input[type=password],input[type=search],textarea){font-size:16px}#app .settings-group.brand-disclosure{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){#app .btn,#dialog .btn,#app :is(.brand-disclosure,.ux-disclosure,.ai-disclaimer,.sound-library-help,.ap-income-note)>summary:after{transition:none!important}#app :is(.pl-library-item,.workspace-tools>a,.sound-create):hover{transform:none}}

/* Rising music stays calm; the album rail supplies the page's continuous motion. */
#app .rising-section{margin:36px 0 12px;padding-top:26px;border-top:1px solid var(--line)}
#app .rising-section .section-title{margin:0 0 8px}
#app .rising-section .eyebrow{font-size:10px;margin:0 0 5px;letter-spacing:.13em}
#app .rising-section h2{font-size:22px;margin:0}
#app .rising-section .chart-caption{margin:0 0 16px;line-height:1.5}
#app .rising-list{display:grid;gap:6px;min-width:0}
#app .rising-chart-row{padding:10px 12px;gap:12px;min-width:0;border:1px solid var(--line);background:rgba(255,255,255,.7)}
#app .rising-chart-row .row-art{width:44px;height:44px;border-radius:11px}
#app .rising-chart-row .track-info strong{font-size:14px}
#app .rising-chart-row .track-info small{font-size:11px}
#app .rising-chart-row .row-arrow{display:none}
#app .rising-growth{flex-shrink:0;font-size:11px;white-space:nowrap;color:var(--accent);font-variant-numeric:tabular-nums}
#app .rising-more{display:grid;grid-template-rows:1fr}
#app .rising-more-inner{min-height:0;overflow:hidden}
#app .rising-more .rising-list{padding-top:6px}
#app .rising-toggle{display:none}
#app .rising-empty{padding:16px 0;display:grid;gap:6px;color:var(--muted);font-size:12px;line-height:1.6}
#app .rising-empty b{font-size:13px;color:var(--text)}
@media(max-width:700px){#app .rising-section{margin-top:28px;padding-top:22px}#app .rising-section h2{font-size:20px}#app .rising-chart-row{grid-template-columns:18px 44px minmax(0,1fr) 40px;gap:2px 8px;padding:10px 7px}#app .rising-chart-row .track-info strong{font-size:13px}#app .rising-chart-row .rank{font-size:15px}#app .rising-growth{grid-column:3;grid-row:2;font-size:10px}#app .rising-more{grid-template-rows:0fr;opacity:0;transition:grid-template-rows .38s var(--ui-curve),opacity .25s}#app .rising-section.is-expanded .rising-more{grid-template-rows:1fr;opacity:1}#app .rising-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;margin-top:6px;font-size:12px;background:transparent;border:0}}
@media(prefers-reduced-motion:reduce){#app .rising-more{transition:none}}
