/* styles.css */
:root{color-scheme:dark;--bg:#181818;--sidebar:#141414;--panel:#242424;--hover:#303030;--line:#ffffff14;--text:#e5e5e5;--muted:#aaa;--faint:#929292;--accent:#dedede;--focus:#bdbdbd;--danger:#d9a8a8;--sidebar-width:224px;--page-gutter:36px;--player-height:94px;font:14px "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:0}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{color:inherit;border:0;background:none;cursor:pointer}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #cccccc;outline-offset:4px}a{color:inherit}svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{pointer-events:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}img{display:block;object-fit:cover;max-width:100%}h1{font-size:25px;font-weight:500;letter-spacing:-.02em;line-height:1.2}h2{font-size:16px;font-weight:500}h3{font-size:13px;font-weight:500}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:var(--sidebar);border-right:1px solid var(--panel);padding:27px 13px 20px;display:flex;flex-direction:column;overflow-y:auto;z-index:20}.brand{display:flex;gap:9px;align-items:center;font-size:18px;font-weight:500;letter-spacing:-.02em;margin:0 12px 31px;color:#cccccc}.brand svg{width:19px;height:19px;color:var(--muted)}.primary-nav{display:grid;gap:3px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;color:var(--muted);text-align:left;border-radius:5px;font-size:13px}.nav-item.active{background:var(--panel);color:var(--text)}.nav-item:hover,.collection-link:hover{background:var(--panel)}.nav-item svg{width:17px;height:17px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin:30px 12px 12px}.sidebar-heading button{display:grid;place-items:center;padding:0;color:var(--muted)}.sidebar-heading svg{height:15px;width:15px}.collection-nav{display:grid;gap:4px;align-content:start;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.collection-link{display:flex;align-items:center;gap:10px;min-width:0;width:100%;height:43px;padding:4px 10px;border-radius:5px;text-align:left;color:var(--muted);font-size:12px;transition:background .15s}.sidebar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.collection-link.active{background:var(--hover);color:#ffffff}.collection-link.drag-over{background:#484848;outline:1px solid var(--faint)}.sidebar-foot{margin-top:auto;padding:36px 12px 4px;font-size:10px;color:var(--muted)}.workspace{margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));padding-bottom:110px}.topbar{height:65px;display:flex;align-items:center;gap:18px;padding:0 var(--page-gutter)}.history-controls{display:flex;gap:3px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:5px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--hover);color:#ffffff}.history-controls .icon-button{width:25px}.history-controls svg{width:15px;height:15px}.global-search{height:31px;width:280px;display:flex;align-items:center;gap:8px;padding:0 9px;border-radius:5px;border:1px solid var(--hover);background:var(--panel);color:var(--muted)}.global-search>span{display:flex}.global-search svg{width:13px;height:13px}.global-search input{background:none;outline:0;border:0;color:var(--text);min-width:0;width:100%;font-size:11px}.global-search input::placeholder{color:var(--muted)}.global-search kbd{font:10px inherit;white-space:nowrap}main{padding:21px var(--page-gutter) 30px;max-width:none;margin:0}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:38px}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;padding:4px 0}.text-button:hover{color:white}.text-button svg{height:14px;width:14px}.create-playlist{font-size:11px}.collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:33px 26px;max-width:1230px}.collection-card{position:relative;min-width:0;border-radius:6px}.collection-open{display:block;width:100%;padding:0;text-align:left}.collection-card.drag-over{outline:1px solid var(--muted);outline-offset:8px;background:#ffffff06}.collection-name{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.collection-caption{display:block;color:var(--muted);font-size:11px;margin-top:4px}.sidebar-folder{width:29px;height:28px;aspect-ratio:auto;flex:0 0 29px;margin:0;max-width:none}.collection-hero{display:flex;align-items:center;gap:20px;margin:0 0 26px;min-height:85px}.hero-art{width:89px;flex-shrink:0}.hero-art .collection-object{margin:0}.hero-info{min-width:0}.hero-info h1{font-size:27px;letter-spacing:-.02em;margin-bottom:8px}.hero-info p{font-size:12px;color:var(--muted)}.hero-settings{margin-left:auto;align-self:center}.track-tools{display:flex;align-items:center;gap:19px;padding-bottom:12px;min-height:37px}.collection-browsebar{border-bottom:1px solid var(--line)}.collection-browsebar .track-tools{width:100%}.browse-label{font-size:12px;font-weight:500;color:var(--muted)}.browse-label small{font-size:11px;color:var(--muted);margin-left:6px}.local-search{display:flex;align-items:center;gap:7px;color:var(--muted);margin-left:auto}.local-search input{width:133px;border:0;background:none;color:var(--text);outline:0;font-size:11px}.local-search svg{width:13px;height:13px}.sort-select{background:transparent;color:var(--muted);font-size:11px;border:0;padding:5px 0;max-width:135px}.track-head,.track-row{display:grid;grid-template-columns:22px minmax(200px,1.5fr) minmax(110px,1fr) 80px 38px 27px;gap:15px;align-items:center;padding:0 9px}.track-head{height:36px;border-bottom:1px solid var(--hover);font-size:10px;color:var(--muted)}.duration-head{display:grid;place-items:center}.duration-head svg{width:12px;height:12px}.track-row{height:54px;border-bottom:1px solid var(--panel);border-radius:4px}.track-row:hover,.track-row.menu-open{background:var(--panel)}.track-row.playing{background:var(--panel)}.track-row.playing .track-name{color:var(--text)}.track-row.dragging{opacity:.4}.row-number{position:relative;text-align:center;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.row-number button{position:absolute;inset:-10px;display:grid;place-items:center;opacity:0}.row-number svg{width:12px;height:12px;fill:currentColor}.track-row:hover .row-number>span,.track-row:focus-within .row-number>span,.track-row.playing .row-number>span{opacity:0}.track-row:hover .row-number button,.track-row:focus-within .row-number button,.track-row.playing .row-number button{opacity:1}.track-cell{display:flex;gap:11px;align-items:center;min-width:0}.track-cell img{width:35px;height:35px;border-radius:3px;flex-shrink:0}.track-cell>div{min-width:0}.track-name{display:block;font-size:12px;font-weight:500;padding:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:var(--text)}.track-artist{display:block;font-size:11px;color:var(--muted);margin-top:4px;padding:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.track-artist:hover{text-decoration:underline;color:#cccccc}.album-name{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.release-date,.duration{font-size:10px;color:var(--muted)}.duration{text-align:center;font-variant-numeric:tabular-nums}.row-more{opacity:0}.row-more svg{width:16px;height:16px}.track-row:hover .row-more,.track-row:focus-within .row-more{opacity:1}.kept-mark{font-size:9px;color:var(--muted)}.preview-unavailable{font-size:9px;margin-left:5px;color:var(--muted)}.list-footer{padding:19px 9px;font-size:10px;color:var(--muted)}.list-footer svg{width:12px;height:12px}.empty,.home-empty{padding:60px 15px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.empty h3{font-size:16px;font-weight:500;margin-bottom:8px;color:var(--text)}.empty .button,.home-empty .button{margin-top:15px}.subtle{color:var(--muted);font-size:12px;line-height:1.6}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:500;border-radius:5px;white-space:nowrap}.button svg{width:14px;height:14px}.button.primary{background:var(--text);color:var(--panel)}.button.secondary{background:var(--hover);border:1px solid #484848;color:var(--text)}.button:hover{filter:brightness(1.12)}.eyebrow{font-size:10px;color:var(--muted);margin-bottom:8px}.section-heading{display:flex;justify-content:space-between;margin:24px 0 18px}.search-heading{margin-bottom:25px}.search-collections{margin-bottom:32px}.player{position:fixed;bottom:20px;left:calc(50% + var(--sidebar-width)/2);transform:translateX(-50%);width:min(750px,calc(100% - var(--sidebar-width) - 48px));height:65px;z-index:50;background:#303030ee;border:1px solid #484848;box-shadow:0 5px 22px #00000055,inset 0 1px #ffffff09;backdrop-filter:blur(20px);border-radius:13px;padding:10px 13px;display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) auto;gap:20px;align-items:center}.now-playing{display:flex;align-items:center;gap:9px;min-width:0}.now-playing img{width:38px;height:38px;border-radius:5px}.mini-info{min-width:0;flex:1}.mini-info strong{display:block;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-info p{font-size:10px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.now-playing>.icon-button{width:22px;height:22px}.now-playing>.icon-button svg{width:13px;height:13px}.transport{display:flex;justify-content:center;align-items:center;gap:17px;height:24px}.transport .icon-button{width:21px;height:21px}.transport svg{width:15px;height:15px;fill:currentColor;stroke-width:1.2}.play-button{display:grid;place-items:center;padding:0;width:24px;height:24px}.play-button svg{width:18px;height:18px}.timeline{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted);margin-top:5px;font-variant-numeric:tabular-nums}.timeline input{flex:1;min-width:0}.player input[type=range]{appearance:none;height:3px;border-radius:2px;background:#707070;accent-color:#cccccc;padding:0;cursor:pointer}.player input[type=range]::-webkit-slider-thumb{appearance:none;width:6px;height:6px;border-radius:50%;background:var(--text)}.player-end{display:flex;gap:9px;align-items:center}.volume-control{display:flex;gap:7px;align-items:center}.volume-control input{width:43px}.volume-control svg{width:14px;height:14px}.player-end .icon-button svg{height:15px;width:15px}.queue-panel{position:fixed;right:0;top:0;bottom:94px;width:320px;z-index:45;background:var(--panel);border-left:1px solid var(--hover);padding:23px;overflow:auto;box-shadow:-10px 0 25px #00000044}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.queue-track{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--hover)}.mini-art{padding:0;flex-shrink:0}.mini-art img{width:37px;height:37px;border-radius:4px}.queue-track>.icon-button{width:24px;height:24px}.queue-track svg{width:14px;height:14px}dialog{background:var(--panel);color:var(--text);border:1px solid #484848;border-radius:12px;padding:25px;width:430px;max-width:calc(100vw - 32px);max-height:85vh;overflow:auto;box-shadow:0 25px 90px #00000088}dialog::backdrop{background:#070707a8;backdrop-filter:blur(5px)}dialog .subtle{font-size:11px;margin-bottom:18px}.destination{display:flex;align-items:center;gap:12px;text-align:left;padding:10px 8px;width:100%;border-radius:5px}.destination:hover{background:var(--hover)}.destination-folder{width:38px;height:36px;aspect-ratio:auto;flex:0 0 38px;margin:0}.destination strong{display:block;font-size:12px;font-weight:500}.destination small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.destination>svg{margin-left:auto;width:16px;height:16px}.edit-form label.field{display:block;font-size:11px;color:var(--muted);margin-top:17px}.edit-form input[type=text],.edit-form textarea{width:100%;margin-top:7px;padding:10px;border:1px solid #484848;border-radius:5px;background:var(--bg);color:var(--text);font-size:12px;resize:vertical}.check-field{display:flex;align-items:center;gap:8px;margin-top:19px;font-size:11px;color:var(--muted)}.check-field input{accent-color:#cccccc}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:25px}.living-option{margin-right:auto;font-size:10px}.context-menu{position:fixed;z-index:80;background:var(--hover);border:1px solid #484848;border-radius:7px;width:207px;padding:5px;box-shadow:0 8px 25px #00000077}.context-menu button,.context-menu a{display:flex;width:100%;text-align:left;align-items:center;gap:9px;padding:10px;font-size:11px;text-decoration:none;border-radius:4px}.context-menu button:hover,.context-menu a:hover{background:#484848}.context-menu svg{width:14px;height:14px;color:var(--muted)}.context-menu .danger{color:var(--danger)}#toast{position:fixed;bottom:101px;left:calc(50% + var(--sidebar-width)/2);transform:translate(-50%,8px);background:var(--text);color:var(--panel);padding:11px 17px;border-radius:7px;font-size:12px;box-shadow:0 5px 20px #00000044;opacity:0;pointer-events:none;z-index:100;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.collection-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:34px}}
@media(max-width:1050px){:root{--sidebar-width:200px}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:30px 20px}.track-head,.track-row{grid-template-columns:20px minmax(150px,1.4fr) minmax(80px,1fr) 35px 25px;gap:10px}.release-date{display:none}.volume-control{display:none}.player{gap:13px}}
@media(max-width:700px){:root{--sidebar-width:62px;--page-gutter:20px}.sidebar{padding:23px 8px}.brand{justify-content:center;margin:0 0 26px}.brand>span,.nav-item>span,.sidebar-heading,.sidebar-name,.sidebar-foot{display:none}.nav-item{justify-content:center;padding:11px}.collection-nav{margin-top:24px;gap:8px}.collection-link{padding:4px 6px;justify-content:center}.sidebar-folder{width:32px;height:31px;flex-basis:32px}.topbar{height:56px;padding:0 var(--page-gutter);gap:10px}.history-controls{display:none}.global-search{width:100%;max-width:340px}.global-search kbd{display:none}main{padding:21px var(--page-gutter) 30px}.page-title{margin-bottom:29px;gap:10px}h1{font-size:23px}.create-playlist{font-size:10px}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:27px 19px}.collection-name{font-size:12px}.collection-caption{font-size:10px}.collection-hero{gap:15px}.hero-art{width:70px}.hero-info h1{font-size:23px}.hero-info p{font-size:11px}.track-head,.track-row{grid-template-columns:17px minmax(140px,1fr) 32px 25px;gap:7px;padding:0 4px}.album-name{display:none}.track-cell{gap:8px}.track-cell img{width:31px;height:31px}.track-name{font-size:11px}.track-artist{font-size:10px}.row-more{opacity:1}.track-tools{gap:10px}.local-search input{width:94px}.sort-select{font-size:10px;max-width:92px}.browse-label{font-size:11px}.player{bottom:13px;width:calc(100% - var(--sidebar-width) - 25px);height:64px;grid-template-columns:minmax(100px,1fr) 101px;gap:10px;padding:9px}.player-end,.now-playing>.icon-button{display:none}.transport{gap:13px}.timeline{gap:4px;font-size:8px}.now-playing img{width:32px;height:32px}.now-playing .mini-info strong{font-size:10px}.now-playing .mini-info p{font-size:9px}#toast{max-width:80vw;width:max-content;font-size:11px}.queue-panel{width:280px}.form-actions{flex-wrap:wrap}.living-option{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* workspace.css */
/* Discovery controls stay behind an explicit action; the music keeps the canvas. */
.workbench-heading h1{min-width:0;overflow-wrap:anywhere}.workbench-commit{flex-shrink:0}.workbench-result-tools[hidden]{display:none}
.workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.workbench-heading h1{font-size:25px}.workbench-commit{display:flex;align-items:center;gap:15px}.workbench-layout{display:block}.discovery-settings{border-bottom:1px solid var(--line);margin-bottom:20px}.discovery-settings>summary{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);cursor:pointer;list-style:none;padding:8px 0 16px}.discovery-settings>summary:after{content:'+';margin-left:auto;font-size:16px;color:var(--muted)}.discovery-settings[open]>summary:after{content:'−'}.discovery-settings>summary svg{width:14px;height:14px}.refine-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 24px;padding:10px 0 23px;align-items:start}.refine-top{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1}.refine-top h2,.refine-section-title{font-size:12px;color:var(--muted)}.refine-help{grid-column:1/-1;font-size:11px;color:var(--muted);margin-top:-10px}.refine-help strong{font-weight:500;color:var(--muted)}.source-group{min-width:0}.source-empty{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:12px;color:var(--muted);border-bottom:1px solid #484848;text-align:left;padding:8px 0}.source-empty svg,.small-add svg{width:14px;height:14px}.refine-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:7px}.small-add{padding:0;color:var(--muted);display:flex}.selected-sources{display:flex;flex-wrap:wrap;gap:6px}.source-chip{display:flex;align-items:center;gap:5px;padding:6px 7px;background:var(--hover);border-radius:4px;max-width:100%;font-size:11px;color:#cccccc}.source-chip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:160px}.source-chip svg{width:10px;height:10px;color:var(--muted)}.more-sources{font-size:10px;color:var(--muted)}.follow-source{font-size:10px;display:flex;gap:7px;align-items:center;color:var(--muted);align-self:center}.follow-source input{accent-color:#cccccc}.refine-divider{grid-column:1/-1;border-top:1px solid var(--hover)}.refine-section-title{grid-column:1/-1}.release-control{font-size:11px;color:var(--muted)}.release-control select,.custom-dates input{display:block;background:var(--panel);border:1px solid #484848;color:#cccccc;padding:7px;border-radius:4px;margin-top:7px;width:100%;font-size:11px}.custom-dates{display:flex;gap:10px;grid-column:span 2}.custom-dates label{font-size:10px;color:var(--muted)}.date-error{font-size:11px;color:var(--danger);grid-column:1/-1}.date-error:empty{display:none}.workbench-results{min-width:0}.workbench-results-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.workbench-results-top h2{font-size:13px;font-weight:500}.workbench-result-tools{display:flex;align-items:center;gap:20px;margin-left:auto}.rule-sentence{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:12px}.label-cell button{font-size:11px;color:var(--muted);text-align:left;padding:0}.label-cell button:hover{text-decoration:underline}.label-cell small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.artist-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:17px}.artist-card{padding:0;min-width:0;text-align:center;font-size:11px;color:var(--muted)}.artist-avatar{border-radius:50%!important;aspect-ratio:1;object-fit:cover}.artist-card img,.artist-initial{width:67px;height:67px;margin:auto}.artist-card>span:last-child{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:9px}.artist-initial{display:grid;place-items:center;background:var(--hover);color:#cccccc;font-size:23px}.source-start-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 17px}.source-start-heading h3{font-size:13px;color:var(--muted)}.source-start-heading .text-button,.source-start-heading .subtle{font-size:11px}.label-start-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.label-start-list button{display:flex;gap:10px;align-items:center;text-align:left;font-size:11px;color:var(--muted);padding:8px 0}.label-symbol{width:35px;height:35px;border:1px solid #484848;background:var(--hover);border-radius:50%;display:grid;place-items:center;flex-shrink:0}.label-symbol svg{width:17px;height:17px}.label-start-list small,.playlist-start-list small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.label-start-list button>svg,.playlist-start-list button>svg{width:12px;height:12px;margin-left:auto}.playlist-start-list{display:grid;gap:12px}.playlist-start-list button{display:flex;align-items:center;text-align:left;gap:11px;font-size:12px;color:var(--muted);padding:4px 0}.playlist-start-list img{width:39px;height:39px;border-radius:4px}.research-utilities{display:flex;gap:20px;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;margin-top:27px}.research-utilities .text-button{font-size:11px}#source-picker{width:440px}.picker-search{display:flex;align-items:center;gap:8px;border:1px solid #484848;background:var(--bg);border-radius:5px;padding:10px;margin:17px 0 10px;color:var(--muted)}.picker-search svg{width:14px;height:14px}.picker-search input{width:100%;background:none;border:0;color:var(--text);outline:0;font-size:12px}.picker-list{max-height:335px;overflow:auto;margin:0 -8px 12px}.picker-item{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:9px;border-radius:5px}.picker-item:hover{background:var(--hover)}.picker-item img,.genre-swatch,.picker-initial{width:39px;height:39px;flex-shrink:0;border-radius:4px}.picker-initial{font-size:18px}.genre-swatch{display:grid;place-items:center;background:var(--hover);color:var(--muted)}.genre-swatch svg{width:17px;height:17px}.source-avatar{border-radius:50%}.picker-item strong{font-size:12px;font-weight:500;display:block;color:var(--text)}.picker-item small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.picker-check{display:grid;place-items:center;width:22px;height:22px;border:1px solid #484848;border-radius:50%;margin-left:auto;color:var(--muted)}.picker-check svg{width:12px;height:12px}.picker-check.selected{color:var(--panel);background:#cccccc;border-color:#cccccc}.picker-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--hover);padding-top:14px;font-size:11px;color:var(--muted)}.picker-empty{font-size:12px;color:var(--muted);padding:25px 10px}.save-preview{display:flex;align-items:center;gap:20px;margin:23px 0}.save-preview .collection-object{width:80px;flex-shrink:0;margin:0}.save-preview>p,.save-promise{font-size:11px;color:var(--muted);line-height:1.7}.save-promise{margin-top:18px}.playlist-check-source{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.playlist-check-source>img{width:80px;height:80px;border-radius:5px}.playlist-check-source h2{font-size:19px;margin:7px 0}.playlist-check-source p,.check-summary>span{font-size:11px;color:var(--muted)}.sample-tag{font-size:9px;color:var(--muted)}.check-summary{margin-left:auto}.check-summary strong{display:block;font-size:13px;font-weight:500;margin-bottom:8px}.check-summary strong span{color:var(--muted)}.check-boundary{font-size:11px;color:var(--muted);line-height:1.7;margin:16px 0 24px}.check-toolbar{display:flex;justify-content:space-between;margin-bottom:15px}.scope-tabs{display:flex;gap:5px}.scope-tabs button{padding:6px 9px;font-size:11px;color:var(--muted);border-radius:4px}.scope-tabs button.active{color:var(--text);background:var(--hover)}.scope-tabs small{font-size:9px;margin-left:4px}.check-track-head,.check-track{display:grid;grid-template-columns:minmax(180px,1fr) 170px 30px;gap:18px;align-items:center;padding:0 9px}.check-track-head{font-size:10px;color:var(--muted);height:35px;border-bottom:1px solid var(--line)}.check-track{height:58px;border-bottom:1px solid var(--hover)}.check-track:hover{background:var(--panel)}.match-status{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.match-status svg{width:13px;height:13px}.match-status.missing{color:var(--muted)}
@media(max-width:900px){.artist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.refine-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.label-start-list{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-dates{grid-column:span 1}}
@media(max-width:700px){.workbench-heading{gap:12px;align-items:flex-start}.workbench-heading h1{font-size:21px}.workbench-commit{gap:9px}.workbench-commit .button{font-size:10px;padding:7px}.workbench-commit .text-button{font-size:10px}.refine-panel{grid-template-columns:1fr}.custom-dates{grid-column:auto}.workbench-results-top{flex-wrap:wrap;gap:10px}.workbench-result-tools{gap:10px}.rule-sentence{font-size:10px}.artist-card img,.artist-initial{width:55px;height:55px}.source-start-heading{gap:12px}.source-start-heading .text-button{font-size:10px}.research-utilities{flex-direction:column;gap:12px}.playlist-check-source{flex-wrap:wrap}.check-summary{margin:0}.check-toolbar{flex-direction:column;gap:13px}.check-track-head,.check-track{grid-template-columns:minmax(120px,1fr) 25px;gap:8px}.check-track-head{display:none}.check-track{height:75px;position:relative}.match-status{position:absolute;bottom:4px;left:49px;font-size:9px}.check-track .track-cell{margin-top:-9px}.check-track .track-name{font-size:10px}}
/* Keep optional restrictions out of the first reading of a collection. */
.source-facet{min-width:0}.source-facet .follow-source{margin-top:12px}.more-filters{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}.more-filters>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;font-size:11px;color:var(--muted);width:max-content;max-width:100%}.more-filters>summary::-webkit-details-marker{display:none}.more-filters>summary:after{content:'+';font-size:14px;color:var(--muted);margin-left:3px}.more-filters[open]>summary:after{content:'−'}.more-filters>summary>span{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#ffffff13;font-size:10px}.more-filters-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 24px;padding-top:16px}.more-filters .custom-dates{grid-column:1/-1}.custom-dates label{flex:1;min-width:0}.more-filters .select-control{width:100%}
@media(max-width:900px){.more-filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.more-filters-grid{grid-template-columns:1fr}}

/* A saved brief stays readable without competing with the music. */
.collection-rule-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.5;min-height:30px}
.collection-rule-bar>span{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.collection-rule-bar>span>svg{width:14px;height:14px;flex:none}
.collection-rule-bar>span>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.collection-rule-bar>.text-button{flex:none;white-space:nowrap}
@media(max-width:700px){.collection-rule-bar{gap:12px;font-size:11px}.collection-rule-bar>.text-button{min-height:44px;font-size:11px}}

/* folder-material.css */
/* One geometry drives the sharp inserts and the transmitted artwork. */
.glass-folder{position:relative;display:block;width:var(--folder-size,160px);height:calc(var(--folder-size,160px)/1.232);isolation:isolate;overflow:visible;--glass-blur:9px;--smoke:.16;--rim:.65;--scale:1;pointer-events:none;transform-origin:50% 85%;transition:transform .18s}
.ground-shadow{position:absolute;left:13%;right:13%;bottom:-.5%;height:5%;background:#00000033;border-radius:50%;filter:blur(calc(3px*var(--scale)));z-index:-1}
.rear-shell{position:absolute;z-index:-3;inset:21.5% 6% 2%;border-radius:13% 13% 17% 17%;background:#d6d6d612;border:1px solid #e8e8e818}
.inserts{position:absolute;inset:0;clip-path:inset(-6% -10% 69% -10%)}
.insert{position:absolute;width:70.75%;height:auto;aspect-ratio:1;left:14.31%;top:3.15%;border-radius:10%;object-fit:cover;border:1px solid #ffffff26;box-shadow:0 2px 4px #00000044;transform:rotate(0deg);transform-origin:50% 85%}
.insert-1{z-index:-1;width:68.9%;top:3.35%;left:13%;transform:rotate(6deg);filter:brightness(.9)}
.insert-2{z-index:-2;width:68.3%;top:3.35%;left:17.3%;transform:rotate(-6deg);filter:brightness(.78)}
.glass-pocket{position:absolute;inset:28.8% 0 0;width:100%;height:71.2%;clip-path:url(#pocket-shape);isolation:isolate}
.glass-window{position:absolute;inset:0;mask:url('folder-study-assets/pocket-transmission.png?v=a9cd6ec474') 0 0/100% 100%;-webkit-mask:url('folder-study-assets/pocket-transmission.png?v=a9cd6ec474') 0 0/100% 100%}
.glass-transmission{position:absolute;inset:0;overflow:hidden;filter:url(#folder-refraction-a9cd6ec474)}
.optical-contents{position:absolute;left:0;right:0;top:-40.449438%;height:140.449438%;pointer-events:none;isolation:isolate;filter:blur(calc(var(--glass-blur)*var(--scale))) saturate(1.2) contrast(1.04) brightness(.97)}
.glass-near-field{position:absolute;inset:0;mask-image:linear-gradient(#000000,transparent 27%);-webkit-mask-image:linear-gradient(#000000,transparent 27%)}
.optical-contents.near-contents{filter:blur(calc(var(--glass-blur)*var(--scale)*.45)) saturate(1.2) contrast(1.04) brightness(.97)}
.optical-contents .insert{box-shadow:none;border:0}
.optical-contents .rear-shell{border:0}
.glass-tint{position:absolute;inset:0;background:rgba(12,12,12,var(--smoke));pointer-events:none}
.glass-reflection,.glass-fresnel,.glass-base-reflection,.glass-occlusion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;object-fit:fill}
.glass-reflection{opacity:calc(var(--rim)*.18)}
.glass-fresnel{opacity:calc(var(--rim)*.55)}
.glass-base-reflection{opacity:calc(var(--rim)*.2)}
.glass-occlusion{opacity:.18}
.arrival-bubble{position:absolute;left:93%;top:30.0816%;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:calc(34px*var(--scale));height:calc(34px*var(--scale));padding:0 calc(10px*var(--scale));border-radius:999px;background:linear-gradient(145deg,#3e3e3ee8,#191919f5);color:var(--text,#e5e5e5);font-size:calc(18px*var(--scale));font-weight:400;font-variant-numeric:tabular-nums;line-height:1;border:1px solid #f4f4f442;box-shadow:0 2px 5px #00000044,inset 0 1px #ffffff08;letter-spacing:-.2px;z-index:5}
.small-folder .insert{border-width:.5px;border-radius:3px;box-shadow:none}
.small-folder .rear-shell{border:0}
.small-folder .glass-transmission{filter:none}
.small-folder .ground-shadow{opacity:.5}
.scene.light .rear-shell{background:#77777720;border:0;filter:blur(calc(.3px*var(--scale)))}
.scene.light .glass-tint{background:linear-gradient(180deg,rgba(44,44,44,calc(var(--smoke)*2.2)),transparent 30%),rgba(50,50,50,calc(var(--smoke)*.1))}
.scene.light .glass-reflection{opacity:var(--rim)}
.scene.light .glass-fresnel{filter:brightness(.25);opacity:calc(var(--rim)*.35)}
.scene.light .glass-base-reflection{opacity:var(--rim)}
.scene.light .glass-occlusion{opacity:1}
.scene.light .ground-shadow{background:#32323218;bottom:-.1%;height:1.5%;filter:blur(calc(.7px*var(--scale)))}
.scene.light .arrival-bubble{background:linear-gradient(145deg,#484848,var(--panel,#242424));border-color:#d1d1d16e}

.arrival-bubble[hidden]{display:none}
.folder-optical-defs{position:absolute;overflow:hidden;pointer-events:none;fill:#000000;stroke:none}.folder-optical-defs path{fill:#000000;stroke:none}

/* home.css */
/* A quiet library: the objects hold the color, not containers around them. */
:root{--music-secondary:var(--muted);--sidebar-width:224px;--collection-card-width:174px;--collection-card-gap:20px}
.sidebar{border-right-color:#ffffff09;padding-top:27px}.brand{color:var(--text)}.brand svg{color:var(--muted)}.nav-item.active{background:#ffffff0b}.nav-item:hover,.collection-link:hover{background:#ffffff07}.collection-link.active{background:#ffffff0c}.sidebar-heading{color:var(--muted);margin-top:31px}.collection-link{height:44px;gap:10px}.sidebar-name{flex:1}.sidebar-arrivals{flex:none;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:17px;height:17px;display:grid;place-items:center;background:#ffffff0a;border-radius:9px}.sidebar-foot{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.library-dot{height:4px;width:4px;border-radius:50%;background:var(--faint)}
.topbar{height:58px;justify-content:space-between;padding:0 var(--page-gutter)}.global-search{background:#ffffff03;border-color:#ffffff0c;width:280px}.global-search:focus-within{border-color:#707070}.global-search input{font-size:12px}.history-controls .icon-button:hover{background:#ffffff08}main{padding-top:20px}.home-title{margin-bottom:26px}.home-title h1{font-size:28px;font-weight:500;letter-spacing:-.02em}.create-collection{gap:6px;font-size:12px;color:var(--muted)}.home-section-heading{display:flex;align-items:center;gap:9px;margin-bottom:18px}.home-section-heading h2{font-size:18px;font-weight:500;letter-spacing:-.2px}.home-section-heading>span{font-size:11px;color:var(--muted)}.home-section-heading>.text-button{margin-left:auto;font-size:12px;gap:5px;color:var(--muted)}.home-section-heading .text-button svg{width:11px;height:11px}
.collection-grid{grid-template-columns:repeat(auto-fill,minmax(145px,var(--collection-card-width)));gap:28px var(--collection-card-gap);justify-content:start;max-width:none}.collection-card{border-radius:7px}.collection-open{display:flex;flex-direction:column;align-items:center;text-align:center;padding:2px 0 0}.collection-object.glass-folder{margin:0 auto 15px;flex:none;max-width:none;aspect-ratio:auto}.collection-name{font-size:13px;color:var(--text);width:100%;font-weight:500}.collection-caption{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.4}.collection-card.drag-over{outline-color:var(--muted);background:#cbcbcb06}
.collection-object.sidebar-folder{margin:0;flex:0 0 28px}.collection-object.destination-folder{margin:0;flex:0 0 38px}.hero-art{width:100px}.hero-art .glass-folder{--folder-size:100px!important;--scale:.625!important;margin:0}.hero-info h1{font-size:27px}.folder-preview .glass-folder{margin:0}.empty-insert{background:linear-gradient(140deg,#dedede48,#80808022);border:1px solid #c7c7c72a}.empty-insert:after{content:'';position:absolute;left:25%;right:25%;top:25%;height:1px;background:#bfbfbf3a;box-shadow:0 6px #bfbfbf20,0 12px #bfbfbf20}.glass-folder .insert{max-width:none}.glass-folder .rear-shell{box-sizing:border-box}
.collection-open .collection-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;line-height:17px;min-height:34px;max-height:34px}
.source-directory.home-source-directory{grid-template-columns:repeat(auto-fill,minmax(145px,var(--collection-card-width)));gap:28px var(--collection-card-gap);padding-top:2px}
.home-source-directory .source-portrait{width:100px;height:100px}
.home-source-directory .source-card-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:18px;max-height:36px}
@media(max-width:700px){.source-directory.home-source-directory{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:26px 18px}.home-source-directory .source-portrait{width:80px;height:80px}.home-source-directory .source-card-name{font-size:12px}}
.home-music{margin-top:32px;padding-top:0;border:0}.home-music .home-section-heading{margin-bottom:15px}.home-song-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;grid-auto-flow:column;grid-template-rows:repeat(3,58px)}.home-song{display:flex;align-items:center;gap:10px;border-bottom:1px solid #ffffff07;min-width:0;border-radius:4px;position:relative;padding:6px 3px}.home-song:hover,.home-song.menu-open{background:#ffffff05}.home-song.dragging{opacity:.4}.home-song-art{position:relative;padding:0;flex:none}.home-song-art img{width:42px;height:42px;border-radius:4px}.home-song-art>span{position:absolute;inset:0;display:grid;place-items:center;background:#00000066;border-radius:4px;opacity:0}.home-song-art svg{width:14px;height:14px;fill:currentColor}.home-song:hover .home-song-art>span,.home-song-art:focus-visible>span,.home-song.playing .home-song-art>span{opacity:1}.home-song-info{min-width:0;flex:1}.home-song .track-name{font-size:13px;font-weight:400;line-height:17px}.home-song .track-artist{font-size:12px;color:var(--music-secondary);line-height:16px;margin-top:1px}.home-song .row-more{width:23px;flex:none;margin-left:-2px}.home-song:hover .row-more,.home-song:focus-within .row-more{opacity:1}.home-song.playing .track-name{color:var(--text)}
.home-sources{margin-top:32px;padding-top:0;border:0}.home-sources .home-section-heading{margin-bottom:18px}.home-artist-shelf{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:15px}.home-artist{display:flex;flex-direction:column;align-items:center;gap:12px;padding:0;min-width:0;color:var(--muted);font-size:10px}.home-artist img,.artist-initial{width:68px;height:68px;border-radius:50%;object-fit:cover;filter:saturate(.85)}.artist-initial{display:grid;place-items:center;background:var(--hover);color:#cccccc;font-size:20px}.home-artist>span:last-child{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-artist:hover{color:var(--text)}.home-artist:hover img{filter:none}.prototype-note{margin-top:34px;font-size:9px;line-height:1.7;color:var(--muted)}
.player{background:#2d2d2df5;border-color:#ffffff18;box-shadow:0 6px 24px #00000055,inset 0 1px #ffffff04;backdrop-filter:none}.player .mini-info p{color:var(--muted)}.player input[type=range]{background:#707070}.track-row:hover,.track-row.menu-open{background:#ffffff04}.track-head{border-color:var(--line)}.track-row{border-bottom-color:#ffffff08}.collection-hero{margin-top:3px;margin-bottom:30px}.context-menu{background:var(--hover);border-color:#ffffff18}.context-menu button:hover{background:#ffffff0b}
@media(max-width:1100px){:root{--sidebar-width:224px}.home-song-grid{column-gap:16px}.home-song-art img{width:42px;height:42px}.home-song{gap:8px}.home-artist-shelf{gap:10px}.home-artist img,.artist-initial{width:59px;height:59px}}
@media(max-width:850px){.home-song-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,58px)}.home-song:nth-child(n+9){display:none}.home-artist-shelf{grid-template-columns:repeat(6,minmax(0,1fr))}.home-artist:nth-child(n+7){display:none}}
@media(max-width:700px){:root{--sidebar-width:62px}.sidebar{padding:23px 8px}.collection-link{padding:4px 7px}.sidebar-arrivals{position:absolute;margin:0;right:3px;top:0;min-width:13px;height:13px;font-size:8px;background:#484848;border:1px solid var(--sidebar)}.collection-link{position:relative}.sidebar-foot{display:none}.topbar{padding:0 var(--page-gutter);height:57px}.global-search{max-width:none;width:100%}main{padding:18px var(--page-gutter) 28px}.home-title{margin-bottom:25px}.home-title h1{font-size:25px}.create-collection{font-size:10px;gap:4px}.create-collection svg{width:12px;height:12px}.home-section-heading{margin-bottom:20px}.home-section-heading h2{font-size:14px}.home-section-heading>.text-button{font-size:9px}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:25px 18px}.collection-grid .glass-folder{--folder-size:116px!important;--scale:.725!important}.collection-object.glass-folder{margin-bottom:11px}.collection-object.sidebar-folder{margin:0}.collection-name{font-size:11px}.collection-caption{font-size:9px}.home-music{margin-top:30px;padding-top:22px}.home-song-grid{column-gap:15px}.home-song .row-more{display:none}.home-song .track-name{font-size:10px}.home-song .track-artist{font-size:9px}.home-song-art img{width:34px;height:34px}.home-song{gap:7px}.home-sources{margin-top:26px}.home-artist-shelf{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.home-artist:nth-child(n+6){display:none}.home-artist img,.artist-initial{width:49px;height:49px}.home-artist{font-size:9px}.prototype-note{font-size:8px;max-width:280px}.hero-art{width:75px}.hero-art .glass-folder{--folder-size:75px!important;--scale:.46875!important}}
@media(max-width:450px){.home-song-grid{display:block}.home-song:nth-child(n+7){display:none}.home-song .row-more{display:flex;opacity:1}.home-song-art img{width:37px;height:37px}.home-song{height:57px}.home-song .track-name{font-size:11px}.home-song .track-artist{font-size:10px}.home-artist-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}.home-artist:nth-child(n+4){display:none}.home-artist img,.artist-initial{width:55px;height:55px}.home-title{gap:8px}.home-title .create-collection{font-size:9px}.collection-grid{gap:25px 12px}}

.home-song[draggable],.track-row[draggable]{cursor:grab}.home-song.dragging,.track-row.dragging{cursor:grabbing}

/* Source updates share one badge and acknowledgement model across Home and Browse. */



.source-card-shelf{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:18px 14px;padding:4px 0}
.source-card{display:flex;flex-direction:column;align-items:center;gap:0;padding:2px 0 4px;min-width:0;text-align:center;scroll-snap-align:start}
.source-portrait{position:relative;display:block;width:68px;height:68px;aspect-ratio:1;padding:0;margin:0 auto 12px;flex:none;border-radius:50%;overflow:hidden}
.source-card .source-portrait{padding:0}
.source-portrait>img,.source-initial{display:block;width:100%;height:100%;max-width:none;border-radius:50%;object-fit:cover;border:1px solid #ffffff0d}
.source-initial{display:grid;place-items:center;font-size:22px;color:#cccccc;background:linear-gradient(145deg,#484848,var(--panel))}
.label-initial{font-size:18px;letter-spacing:-.02em;color:#cccccc;background:linear-gradient(145deg,#484848,var(--panel));box-shadow:inset 0 1px #ffffff08}
.source-badge{position:absolute;left:83%;top:-3%;min-width:21px;height:21px;padding:0 5px;display:grid;place-items:center;font-size:10px;line-height:1;color:var(--text);background:linear-gradient(145deg,#484848,var(--panel));border:1px solid #b7b7b74d;border-radius:20px;box-shadow:0 2px 5px #00000055;font-variant-numeric:tabular-nums}
.source-card-name{display:block;font-size:12px;line-height:1.5;color:#cccccc;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.source-card small{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px;white-space:nowrap}.source-card small.upcoming-label{color:var(--muted)}
.source-card:hover .source-card-name{color:var(--text)}.source-card:hover .source-portrait>img{border-color:#ffffff30}
.label-start-list .source-card{display:flex;flex-direction:column;text-align:center;padding:6px 0}.label-start-list .source-card>span{display:block}
.source-release-summary{display:flex;flex-wrap:wrap;gap:18px 35px;margin:-3px 0 24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.source-release-summary:empty{display:none}
.source-release-item{display:flex;align-items:center;gap:11px;min-height:43px}.source-release-item>img,.release-calendar{width:39px;height:39px;border-radius:5px;flex:none}.release-calendar{display:grid;place-items:center;background:#ffffff06;color:var(--muted);border:1px solid #ffffff0c}.release-calendar svg{width:17px;height:17px}
.source-release-item small{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.source-release-item strong{display:block;font-size:12px;font-weight:500;color:var(--text)}.source-release-item div>span{display:block;font-size:10px;color:var(--muted);margin-top:4px}

/* Apple Music in-app proportions: 700 × 54, with a scrubber beneath the identity. */
.player{position:absolute;z-index:10;left:50%;bottom:18px;transform:translateX(-50%);height:54px;width:min(700px,calc(100% - 48px));padding:10px 16px;display:block;border-radius:100px;background:transparent;border:0;box-shadow:0 3px 10px #00000022;backdrop-filter:none;isolation:isolate;overflow:visible}
.player-glass{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:inherit;pointer-events:none;background:#3a3a3a40;box-shadow:inset 0 1px #ffffff26,inset 0 -1px #ffffff0a;border:1px solid #ffffff0a;backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2)}
.player-top-row{display:flex;align-items:center;gap:12px;min-width:0;width:100%}
.player-track{display:flex;align-items:center;gap:10px;min-width:0;flex:1;height:34px}
.player-art-control{position:relative;flex:none;display:block;width:34px;height:34px;padding:0;border-radius:5px;color:#ffffff}.player-art{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.player-art-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#00000066;border-radius:inherit;opacity:0;transition:opacity .15s}.player-art-control:hover .player-art-overlay,.player-art-control:focus-visible .player-art-overlay{opacity:1}.player-art-overlay svg{width:14px;height:14px;stroke:none;fill:currentColor}
.player-metadata{position:relative;min-width:0;flex:1}.player-metadata strong{display:block;font-size:13px;font-weight:500;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-metadata>button{display:block;max-width:100%;padding:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-metadata>#player-title{margin:0;color:var(--text)}.player-metadata>#player-artist{margin-top:0;color:var(--muted);font-size:11px;line-height:14px}.player-metadata>button:hover{color:#ffffff}
.player .timeline{position:absolute;left:0;right:0;bottom:-10px;display:flex;align-items:center;min-width:0;height:12px;margin:0}
.player input[type=range]{appearance:none;height:12px;background:transparent!important;min-width:0;margin:0;padding:0}.player #seek{width:100%}.player input[type=range]::-webkit-slider-runnable-track{height:2px;border-radius:2px;background:#ffffff24}.player #seek::-webkit-slider-runnable-track{background:linear-gradient(to right,#cccccc var(--progress,0%),#ffffff24 var(--progress,0%))}.player input[type=range]::-webkit-slider-thumb{width:6px;height:6px;margin-top:-1.5px;background:var(--text)}.player #seek::-webkit-slider-thumb{margin-top:-2px;opacity:0}.player .timeline:hover #seek::-webkit-slider-thumb,.player #seek:focus-visible::-webkit-slider-thumb{opacity:1}.player input[type=range]::-moz-range-track{height:2px;border-radius:2px;background:#ffffff24}.player input[type=range]::-moz-range-progress{height:2px;background:#cccccc}.player input[type=range]::-moz-range-thumb{width:6px;height:6px;border:0;background:var(--text)}.player input:disabled{cursor:default;opacity:.5}
.player-end{display:flex;gap:0;align-items:center;justify-content:flex-end;flex:none}.player-end .icon-button{height:34px;width:28px;padding:0;color:var(--muted)}.player-end .icon-button svg{height:15px;width:15px}
.player .icon-button:hover,.player .icon-button[aria-expanded=true]{background:transparent;color:var(--text)}
.player-volume{position:relative;display:flex;align-items:center;gap:6px}.player #volume-popover{width:88px;height:32px;display:flex;align-items:center}.player #volume{height:32px;width:100%;margin:0;cursor:pointer}.player #volume::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,#cccccc var(--volume,65%),#ffffff28 var(--volume,65%))}.player #volume::-webkit-slider-thumb{width:10px;height:10px;margin-top:-3.5px;border:0;border-radius:50%;background:var(--text);box-shadow:0 1px 3px #00000055}.player #volume::-moz-range-thumb{width:10px;height:10px;border:0;border-radius:50%;background:var(--text);box-shadow:0 1px 3px #00000055}.player #volume::-moz-range-progress{background:#cccccc}.player input[type=range]:focus-visible{outline:none}.player :is(#volume,#seek):focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #cacaca55}.player :is(#volume,#seek):focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #cacaca55}
@media(max-width:599px){.player-volume{display:block}.player #volume-popover{position:absolute;right:-42px;bottom:50px;width:132px;height:42px;padding:5px 12px;background:#3a3a3a80;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:0;border-radius:21px;box-shadow:none}}

/* Local, non-inherited progress keeps every artwork copy on the same paint clock. */
@property --folder-progress{syntax:"<number>";inherits:false;initial-value:0}
@property --pocket-fold{syntax:"<angle>";inherits:false;initial-value:0deg}
@property --pocket-clearance{syntax:"<percentage>";inherits:false;initial-value:0%}
.collection-object.glass-folder{transform:none!important;transition:none}
.collection-object .insert{--card-rest:0deg;--card-fan:0deg;--card-spread:0px;--card-lift:5px;transition:none}
.collection-object .insert-1{--card-rest:6deg;--card-fan:5deg;--card-spread:2.5px;--card-lift:8px}.collection-object .insert-2{--card-rest:-6deg;--card-fan:-5deg;--card-spread:-2.5px;--card-lift:10px}
.collection-object .insert{translate:calc(var(--card-spread)*var(--scale)*var(--folder-progress)) calc(-1*var(--card-lift)*var(--scale)*var(--folder-progress));transform:rotate(calc(var(--card-rest) + var(--card-fan)*var(--folder-progress)))}
.collection-object :is(.glass-pocket,.glass-transmission,.inserts){--pocket-fold:calc(-20deg * var(--folder-progress))}
.collection-object .inserts{--pocket-clearance:calc(71.2% - 71.2% * cos(var(--pocket-fold)) / (1 + .1027417027 * sin(var(--pocket-fold))));clip-path:inset(-35% -20% calc(69% - var(--pocket-clearance)) -20%);transition:none}
.collection-object .glass-pocket,.collection-object .glass-transmission{transform-origin:50% 100%;transition:none}
.collection-object .glass-pocket{transform:perspective(calc(900px*var(--scale))) rotateX(var(--pocket-fold))}
.collection-object .glass-transmission{transform:matrix3d(1,0,0,0,0,calc(1 / cos(var(--pocket-fold))),0,calc(sin(var(--pocket-fold)) / (900 * var(--scale) * cos(var(--pocket-fold)))),0,0,1,0,0,0,0,1)}
.collection-object .arrival-bubble{translate:0 calc(3px*var(--scale)*var(--folder-progress))}

/* Let the object or artwork be the hover feedback. Keep visible keyboard focus. */
.collection-link:hover,.collection-card.drag-over,.collection-link.drag-over,.home-song:hover,.home-song.menu-open,.track-row:hover,.track-row.menu-open{background:transparent;outline:none}
.collection-link.active{background:#ffffff07}.source-card:hover .source-portrait>img{border-color:#ffffff0d}.icon-button:hover{background:transparent;color:var(--text)}
.collection-open:focus-visible,.collection-link:focus-visible,.source-card:focus-visible,.player button:focus-visible,.home-song button:focus-visible{outline:1px solid var(--muted);outline-offset:3px}
.home-song-art>span{background:#00000055}
@media(max-width:700px){.source-portrait{width:57px;height:57px;margin-bottom:10px}.source-card-name{font-size:9px}.source-card small{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:8px}.source-badge{min-width:18px;height:18px;font-size:9px}.home-sources .home-section-heading{gap:6px}.home-sources .text-button{font-size:8px}.source-release-item strong{font-size:11px}.source-release-summary{gap:15px}.queue-panel{right:10px;top:60px;bottom:94px;width:min(290px,calc(100vw - 80px))}}

@media(hover:none){.home-song-art>span,.player-art-overlay{opacity:1}}
@media(prefers-reduced-motion:reduce){.player-art-overlay{transition:none}}
#sidebar,.collection-open,.collection-link,.home-title,.home-section-heading{-webkit-user-select:none;user-select:none}

.track-tools>.sort-select,.track-tools>.select-trigger{margin-left:auto}

/* Atlas: clear shelves, consistent reading sizes, and input-aware feedback. */
.home-releases{margin-top:32px}
.home-release-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 20px}
.home-release-grid .release-card{max-width:160px}
.home-release-grid .release-year{display:none}
#home-source-cards .source-card-shelf{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:20px 16px}
#home-source-cards .source-card-name{font-size:12px}
#home-source-cards .source-card small{font-size:10px}
@media(min-width:701px){
 .home-song-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,58px);grid-auto-flow:column;column-gap:24px}
 .home-song{height:58px;gap:10px;padding:6px 4px}
 .home-song .track-name{font-size:13px}.home-song .track-artist{font-size:12px}
 .source-card-shelf{grid-template-columns:repeat(8,minmax(0,1fr));gap:18px 12px}
 .source-card-name{font-size:12px}.source-card small{font-size:10px}
 .source-portrait{width:68px;height:68px}
 .collection-hero{min-height:112px;margin-bottom:22px}
 .hero-art{width:112px}.hero-art .glass-folder{--folder-size:112px!important;--scale:.7!important}
 .hero-info h1{font-size:28px;line-height:1.15}.hero-info p{font-size:12px;color:var(--muted)}
}
@media(max-width:1279px){
@container music-browsing (max-width:1000px){
 .home-release-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container music-browsing (max-width:840px){
 .home-song-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,58px);grid-auto-flow:column}
 .home-song:nth-child(n+9){display:none}
 .source-card-shelf{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:20px}
}
@container music-browsing (max-width:520px){
 .home-song-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
 .home-song:nth-child(n+7){display:none}
 .home-release-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
}
}
@media(hover:hover) and (pointer:fine){
 .home-song:hover,.home-song.menu-open{background:#ffffff06}
 .home-song:hover{border-bottom-color:transparent}
}

.collection-link.drag-over{background:#ffffff08}
@media(prefers-contrast:more){.collection-caption,.source-card small,.home-song .track-artist{color:#cccccc}}

/* Search reuses the same music objects, with compact entity results. */
.search-result-section{margin-top:26px}.search-source-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,110px));gap:18px}.search-result-section .section-heading{margin-bottom:15px}.search-result-section .source-card-name{font-size:12px}.home-empty{display:flex;align-items:center;gap:18px}

/* Shelf headings open the complete collection; music objects keep their size. */
.shelf-title{display:inline-flex;align-items:center;gap:5px;padding:0;color:inherit;font:inherit;text-align:left}.shelf-title svg{width:13px;height:13px;color:var(--muted)}.shelf-title:hover{color:#ffffff}.shelf-title:focus-visible{outline:1px solid var(--muted);outline-offset:4px;border-radius:2px}
.music-art-shelf{display:grid;grid-auto-flow:column;grid-auto-columns:150px;justify-content:start;gap:20px;overflow-x:auto;overflow-y:hidden;padding:2px 0 8px;scroll-snap-type:x proximity}.music-art-shelf .release-card{min-width:0;scroll-snap-align:start}.music-art-shelf .release-year{display:none}
.music-source-shelf{display:grid;grid-auto-flow:column;grid-auto-columns:88px;justify-content:start;gap:20px;overflow-x:auto;padding:4px 3px 6px;scroll-snap-type:x proximity}.music-source-shelf .source-card{scroll-snap-align:start}.music-source-shelf .source-portrait{width:68px;height:68px}.music-source-shelf .source-card-name{font-size:12px}.music-source-shelf .source-card small{font-size:10px}
.discovery-section{margin-top:30px}.discovery-title{margin-bottom:18px}.discovery-back{margin:-7px 0 8px}.discovery-links{display:flex;gap:26px;margin:0 0 8px}.discovery-links .text-button{font-size:12px}
.discovery-song-shelf{display:grid;grid-auto-flow:column;grid-template-rows:repeat(4,58px);grid-auto-columns:minmax(225px,calc((100% - 48px)/3));column-gap:24px;overflow-x:auto;overflow-y:hidden}.discovery-song-shelf .home-song{display:flex;height:58px}.discovery-song-shelf .home-song .track-name{font-size:13px}.discovery-song-shelf .home-song .track-artist{font-size:12px}.discovery-song-shelf .home-song-art img{width:42px;height:42px}
.genre-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px}.genre-links button{display:flex;align-items:center;justify-content:space-between;min-height:48px;border-bottom:1px solid #ffffff0a;color:#cccccc;text-align:left;padding:0 3px;font-size:14px}.genre-links button:hover{color:#ffffff}.genre-links svg{width:12px;height:12px;color:var(--muted)}
.release-directory{display:grid;grid-template-columns:repeat(auto-fill,150px);gap:26px 20px;justify-content:start}.source-directory{display:grid;grid-template-columns:repeat(auto-fill,100px);gap:28px 20px;justify-content:start}.music-pagination{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:26px;min-height:38px}.music-pagination span{font-size:12px;color:var(--muted)}.music-pagination button:disabled{opacity:.3;cursor:default}
@media(max-width:700px){.music-art-shelf{grid-auto-columns:136px;gap:18px}.music-source-shelf{grid-auto-columns:80px;gap:18px;justify-content:start}.genre-links{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}.genre-links button{font-size:13px}.discovery-title .text-button{font-size:11px}.release-directory{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:24px 18px}.discovery-links{gap:22px}.music-source-shelf .source-portrait{width:64px;height:64px}.music-source-shelf .source-card-name{font-size:11px}.music-source-shelf .source-card small{font-size:9px}}

@media(min-width:1280px){
 .home-collections .collection-grid{--home-folder-gap:22px;--home-shelf-width:calc(100vw - var(--sidebar-width) - 2 * var(--page-gutter));--home-folder-cell:clamp(145px,calc((var(--home-shelf-width) - 5 * var(--home-folder-gap))/6),200px);grid-template-columns:repeat(6,var(--home-folder-cell));column-gap:var(--home-folder-gap);justify-content:space-between;overflow-x:auto;overflow-y:hidden;padding-top:4px;padding-bottom:10px}
 .home-song-grid{grid-template-columns:repeat(3,minmax(210px,1fr));overflow-x:auto;overflow-y:hidden}
}
@media(min-width:1500px){.home-collections .collection-grid{--home-folder-gap:26px}}

/* Scale the music, rather than leaving small objects clustered in a wide canvas. */
@media(min-width:1280px){
 .app-shell>.workspace{--closed-content-width:calc(100vw - var(--sidebar-width) - 2 * var(--page-gutter));--music-cover-size:clamp(145px,calc((var(--closed-content-width) - 100px)/6),200px)}
 .music-art-shelf{grid-auto-columns:var(--music-cover-size)}
 .music-source-shelf{grid-auto-columns:max(88px,calc((var(--closed-content-width) - 146px)/8))}
 .music-source-shelf .source-portrait{width:clamp(68px,calc(var(--closed-content-width) * .06),84px);height:clamp(68px,calc(var(--closed-content-width) * .06),84px)}
}
.home-playlist-cover{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));overflow:hidden;border-radius:6px;background:var(--panel)}
.home-playlist-cover img{display:block;width:100%;height:100%;min-height:0;border-radius:0;box-shadow:none}
.home-playlist-cover:has(img:only-child){grid-template-columns:1fr;grid-template-rows:1fr}
.home-playlist-cover:has(img:nth-child(2):last-child){grid-template-rows:1fr}
.home-playlist-cover:has(img:nth-child(3):last-child) img:first-child{grid-row:span 2}
.playlist-context{display:block;margin-top:4px;font-size:11px;line-height:1.35;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* A rolling song shelf keeps every arrival reachable; shared edge controls live in shelves.css. */
.home-updates-shelf.home-song-grid{display:grid;grid-template-columns:none;grid-template-rows:repeat(3,58px);grid-auto-flow:column;grid-auto-columns:clamp(250px,calc((var(--closed-content-width,1000px) - 72px)/3.15),360px);column-gap:24px;row-gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scroll-behavior:smooth}
.home-updates-shelf.home-song-grid>.home-song{display:flex;height:58px}
.home-updates-shelf>.home-song:nth-child(3n+1){scroll-snap-align:start}
.home-updates-shelf:focus-visible{outline:1px solid var(--muted);outline-offset:4px;border-radius:4px}
@media(min-width:701px) and (max-width:1279px){.home-updates-shelf.home-song-grid{grid-auto-columns:max(246px,44%)}}
@media(max-width:700px){
 .home-updates-shelf.home-song-grid{grid-template-rows:repeat(3,64px);grid-auto-columns:86%;column-gap:18px}
 .home-updates-shelf.home-song-grid>.home-song{height:64px;gap:10px;padding:6px 3px}
 .home-updates-shelf .home-song-art img{width:42px;height:42px}
 .home-updates-shelf .home-song .track-name{font-size:13px;line-height:17px}
 .home-updates-shelf .home-song .track-artist{font-size:12px;line-height:16px}
 .home-updates-shelf .home-song .row-more{display:flex;opacity:1}
}
@media(prefers-reduced-motion:reduce){.home-updates-shelf.home-song-grid{scroll-behavior:auto}}

/* source-pages.css */
/* Circular people and labels, square releases; the music supplies the color. */
.source-profile{padding-top:4px}
.source-identity-header{display:flex;align-items:center;gap:24px;margin:0 0 32px;min-width:0}
.source-profile .profile-portrait{width:124px;height:124px;flex:none;border-radius:50%;overflow:hidden;background:var(--panel)}
.profile-portrait img{width:100%;height:100%;object-fit:cover}
.label-profile .profile-portrait img{object-fit:contain}
.profile-monogram{display:grid;place-items:center;width:100%;height:100%;padding:16px;text-align:center;color:#cccccc;font-size:23px;letter-spacing:-.02em}
.profile-identity{min-width:0;flex:1}
.profile-identity h1{color:var(--text);font-size:34px;font-weight:500;letter-spacing:-.02em;line-height:1.12;overflow-wrap:anywhere}
.source-profile .profile-description{max-width:500px;font-size:13px;line-height:1.5;color:var(--muted);margin-top:8px}
.source-profile .profile-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:16px}
.source-profile .profile-follow{display:flex;align-items:center;gap:6px;min-height:32px;padding:6px 12px;border-radius:18px;background:#ffffff0c;color:var(--text);font-size:12px;line-height:1.4}
.profile-follow svg{height:14px;width:14px}
.profile-follow:hover{background:#ffffff14;color:#ffffff}
.source-profile .profile-actions .text-button{font-size:12px;gap:5px;min-height:32px}
.profile-actions .text-button svg{width:14px;height:14px}
.source-profile .profile-provider{display:grid;place-items:center;width:32px;height:32px;margin:0;color:var(--muted)}
.profile-provider svg{height:15px;width:15px}
.profile-provider:hover{color:var(--text)}
.source-profile .profile-announcement{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:12px;color:var(--muted);line-height:1.4}
.profile-announcement svg{width:13px;height:13px;flex:none}
.profile-nav{display:flex;align-items:center;gap:22px;margin:0 0 28px;border-bottom:1px solid var(--line);min-width:0}
.profile-nav>div{display:flex;gap:24px}
.profile-nav button{position:relative;padding:0 0 12px;font-size:13px;color:var(--muted);line-height:18px}
.profile-nav button[aria-pressed=true]{color:var(--text)}
.profile-nav button[aria-pressed=true]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#cccccc;border-radius:1px}
.profile-nav button:hover{color:var(--text)}
.profile-back{font-size:13px;margin-bottom:22px;min-height:32px}
.profile-back svg{width:13px;height:13px}
.profile-section{margin-bottom:34px;min-width:0}
.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:24px;margin-bottom:14px}
.profile-section-heading h2,.profile-song-browser h2{font-size:18px;font-weight:500;line-height:1.25;letter-spacing:-.3px;color:var(--text)}
.profile-section-heading h2>button{display:inline-flex;align-items:center;gap:5px;padding:0;text-align:left;font:inherit;color:inherit}
.profile-section-heading h2>button:hover{color:#ffffff}
.profile-section-heading h2>button svg{width:12px;height:12px;color:var(--muted)}
.profile-section-heading .text-button{font-size:12px;color:var(--muted);padding:0;white-space:nowrap}
.profile-section-heading svg{height:12px;width:12px}
.profile-song-tools{display:flex;align-items:center;gap:22px;flex:none}
.profile-song-toggle{display:flex;align-items:center;gap:16px}
.profile-song-toggle button{position:relative;min-height:28px;padding:4px 0;font-size:12px;line-height:20px;color:var(--muted)}
.profile-song-toggle button[aria-pressed=true]{color:var(--text)}
.profile-song-toggle button[aria-pressed=true]:after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor}
.profile-song-toggle button:hover{color:var(--text)}
.profile-catalog-lead{display:grid;grid-template-columns:164px minmax(0,1fr);gap:30px;margin-bottom:34px}
.profile-catalog-lead>.profile-section{margin:0}
.profile-catalog-lead .track-head{display:none}
.profile-catalog-lead .song-table .track-row:first-child:before{content:'';position:absolute;top:0;left:57px;right:8px;height:1px;background:#ffffff07}
.profile-latest-release{min-width:0}
.profile-latest-release .release-year{margin-top:5px}
.profile-song-grid{display:grid;grid-template-columns:repeat(var(--profile-song-columns,3),minmax(0,1fr));grid-template-rows:repeat(var(--profile-song-rows,4),56px);grid-auto-flow:column;column-gap:24px;min-width:0}
.source-profile .profile-song-grid .home-song:nth-child(n){display:flex;height:56px;padding:6px 0;border-radius:0;gap:10px}
.profile-song-grid .home-song-art,.profile-song-grid .home-song-art img{height:40px;width:40px}
.profile-song-grid .home-song .track-name{font-size:13px}
.profile-song-grid .home-song .track-artist{display:block;font-size:12px;line-height:16px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;max-width:100%}
.profile-song-grid .home-song .row-more{display:flex;flex:none;width:24px;height:36px}
.profile-song-grid .home-song-art:disabled>span{display:none}
.profile-song-shelf{--profile-shelf-columns:3.15;--profile-shelf-gaps:3;display:grid;grid-auto-flow:column;grid-template-rows:repeat(3,56px);grid-auto-columns:clamp(246px,calc((100cqw - var(--profile-shelf-gaps)*24px)/var(--profile-shelf-columns)),360px);column-gap:24px;min-width:0;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}
.artist-profile .profile-song-shelf{--profile-shelf-columns:2.15;--profile-shelf-gaps:2}
.profile-song-shelf:empty{display:none}
.source-profile .profile-song-shelf .home-song:nth-child(n){display:flex;height:56px;padding:6px 0;border-radius:0;gap:10px}
.profile-song-shelf .home-song:nth-child(3n+1){scroll-snap-align:start}
.profile-song-shelf .home-song-art,.profile-song-shelf .home-song-art img{height:40px;width:40px}
.profile-song-shelf .home-song .track-name{font-size:13px}
.profile-song-shelf .home-song .track-artist{display:block;font-size:12px;line-height:16px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;max-width:100%}
.profile-song-shelf .home-song .row-more{display:flex;flex:none;width:24px;height:36px}
.profile-song-shelf .home-song-art:disabled>span{display:none}
.profile-song-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;color:var(--muted);font-size:11px;line-height:1.4}
.profile-song-pagination nav{display:flex;gap:20px}
.profile-song-pagination .text-button{font-size:12px;gap:5px;min-height:36px}
.profile-song-pagination .text-button svg{width:12px;height:12px}
.profile-song-pagination button:disabled{opacity:.3;cursor:default}
.profile-song-browser .profile-section-heading{margin-bottom:10px}
.profile-song-duration{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;margin-inline:8px 4px}
.profile-release-shelf{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 100px)/6);gap:20px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}
.release-card{min-width:0;scroll-snap-align:start}
.release-art{position:relative;aspect-ratio:1;margin-bottom:9px}
.release-art>button:first-child{display:block;width:100%;height:100%;padding:0}
.release-art img{width:100%;height:100%;object-fit:cover;border-radius:5px;box-shadow:0 2px 6px #00000022}
.release-title,.release-artist{display:block;max-width:100%;padding:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}
.release-title{font-size:13px;font-weight:400;color:var(--text)}
.release-title:hover{color:#ffffff}
.release-artist{font-size:12px;color:var(--muted);margin-top:3px}
.release-artist:is(button,a):hover{text-decoration:underline;color:#cccccc}
.release-year{display:block;font-size:11px;color:var(--muted);line-height:1.4;margin-top:3px}
.music-update-results{min-width:0}
.update-release{display:flex;align-items:center;gap:14px;min-width:0;padding:12px 0;border-bottom:1px solid #ffffff08}
.update-release .release-art{width:60px;height:60px;flex:none;margin:0}
.update-release .release-play{width:28px;height:28px;right:4px;bottom:4px}
.update-release-info{min-width:0;flex:1}
.update-release .release-title{font-size:14px}
.update-release-detail{display:block;margin-top:5px;font-size:11px;line-height:1.4;color:var(--muted)}
.update-release-open{color:var(--muted);flex:none}
.update-release-open svg{width:14px;height:14px}
.update-edition{border-bottom:1px solid #ffffff08}
.update-edition summary{display:flex;align-items:center;gap:14px;padding:12px 0;cursor:pointer;list-style:none}
.update-edition summary::-webkit-details-marker{display:none}
.update-edition summary>img{width:60px;height:60px;border-radius:5px;object-fit:cover;flex:none}
.update-edition summary>span{min-width:0;flex:1}
.update-edition summary strong,.update-edition summary span>span,.update-edition summary small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.update-edition summary strong{font-size:14px;line-height:1.35;font-weight:400;color:var(--text)}
.update-edition summary span>span{margin-top:3px;font-size:12px;color:var(--muted)}
.update-edition summary small{margin-top:5px;font-size:11px;color:var(--muted);line-height:1.4}
.update-edition summary>svg{width:14px;height:14px;color:var(--muted);margin:0 15px;flex:none}
.update-edition[open] summary>svg{transform:rotate(90deg)}
.update-edition-songs{padding-bottom:12px;min-width:0}
.music-update-results>.song-table .track-head{display:none}
.update-edition summary:focus-visible{outline:2px solid var(--accent,#cccccc);outline-offset:3px;border-radius:6px}
.release-play{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;background:#1a1a1aa8;color:#ffffff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:0;pointer-events:none;transition:opacity .15s}
.release-play svg{width:13px;height:13px;fill:currentColor;stroke:none;margin-left:1px}
@media(hover:hover) and (pointer:fine){.release-art:hover .release-play{opacity:1;pointer-events:auto}}
.release-art:focus-within .release-play{opacity:1;pointer-events:auto}
.profile-release-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:26px 20px}
.profile-release-grid .release-card{max-width:220px}
.profile-artist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:24px;min-width:0}
.profile-artist-grid .source-card{min-width:0;max-width:120px}
.profile-artist-grid .source-portrait{width:80px;height:80px;margin-bottom:11px}
.profile-artist-grid .source-card-name{font-size:12px}
.profile-artist-grid .source-card small{display:none}
.profile-artist-shelf{display:flex;gap:24px;overflow-x:auto;padding:3px 2px 6px;scroll-snap-type:x proximity}
.profile-artist-shelf .source-card{flex:0 0 96px}
.profile-artist-shelf .source-portrait{width:80px;height:80px;margin-bottom:11px}
.profile-artist-shelf .source-card-name{font-size:12px;color:#cccccc}
.profile-artist-shelf .source-card small{display:none}
.profile-collections,.profile-playlists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 24px}
.profile-saved-collection{display:flex;align-items:center;gap:14px;min-width:0;min-height:72px;padding:8px 0;text-align:left;border-radius:0}
.profile-saved-collection .collection-object.source-folder{flex:0 0 64px;margin:0}
.profile-collection-info{min-width:0;flex:1}
.profile-saved-collection strong{display:block;font-size:13px;font-weight:400;color:#cccccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-saved-collection small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.profile-saved-collection>svg{height:12px;width:12px;color:var(--muted);opacity:0}
.profile-saved-collection:hover,.profile-saved-collection.drag-over{background:none;outline:none}
.profile-saved-collection:is(:hover,:focus-visible)>svg{opacity:1}
.profile-playlist{display:flex;align-items:center;gap:12px;min-width:0;padding:0;text-align:left}
.profile-playlist>img{width:52px;height:52px;border-radius:4px;flex:none}
.profile-playlist>span{min-width:0;flex:1}
.profile-playlist strong{display:block;font-size:13px;font-weight:400;color:#cccccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-playlist small{display:block;font-size:11px;color:var(--muted);line-height:1.4;margin-top:4px}
.profile-playlist>svg{width:12px;height:12px;color:var(--muted);opacity:0}
.profile-playlist:is(:hover,:focus-visible)>svg{opacity:1}
.profile-song-browser .track-tools{margin-bottom:4px}
.release-page-header{display:flex;align-items:center;gap:28px;margin:2px 0 24px}
.release-page-header>img{width:176px;height:176px;flex:none;border-radius:6px;box-shadow:0 4px 14px #00000022}
.release-page-header>div{min-width:0}
.release-page-header h1{font-size:28px;font-weight:500;line-height:1.16;letter-spacing:-.02em;margin-bottom:8px;overflow-wrap:anywhere}
.release-page-artist{display:block;padding:0;text-align:left;color:#cccccc;font-size:18px;line-height:1.35}
.release-page-artist:hover{text-decoration:underline}
.release-page-header p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:10px}
.release-page-header p button{padding:0;font:inherit;color:inherit}
.release-page-header p button:hover{text-decoration:underline;color:#cccccc}
.release-page .track-tools{justify-content:flex-start;margin-bottom:10px}
.release-page .track-tools>a{font-size:12px;min-height:30px;text-decoration:none}
.release-page .list-footer{color:var(--muted);line-height:1.6}
.profile-kind{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}
@media(max-width:1279px){
@container music-browsing (max-width:1000px){
 .profile-release-shelf{grid-auto-columns:calc((100% - 60px)/4)}
 .profile-collections,.profile-playlists{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-song-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--profile-song-rows-medium,6),56px)}
}
@container music-browsing (max-width:740px){
 .source-profile .profile-portrait{width:108px;height:108px}
 .profile-identity h1{font-size:30px}
 .profile-catalog-lead{grid-template-columns:minmax(0,1fr);gap:28px}
 .profile-latest-release .release-card{display:grid;grid-template-columns:84px minmax(0,1fr);column-gap:16px;min-height:84px}
 .profile-latest-release .release-art{width:84px;height:84px;grid-column:1;grid-row:1/3;margin:0}
 .profile-latest-release .release-title{grid-column:2;align-self:end;font-size:15px;white-space:normal;line-height:1.35}
 .profile-latest-release .release-year{grid-column:2;align-self:start;font-size:12px;margin-top:5px}
 .profile-release-shelf{grid-auto-columns:calc((100% - 40px)/3)}
 .profile-artist-shelf{gap:18px}.profile-artist-shelf .source-card{flex-basis:86px}.profile-artist-shelf .source-portrait{width:72px;height:72px}
}
@container music-browsing (max-width:520px){
 .source-identity-header{display:grid;grid-template-columns:84px minmax(0,1fr);gap:8px 18px;align-items:center;margin-bottom:28px}
 .source-identity-header .profile-portrait{grid-column:1;grid-row:1/3}
 .source-identity-header .profile-identity{display:contents}
 .source-identity-header .profile-identity h1{grid-column:2;grid-row:1;align-self:end}
 .source-profile .source-identity-header .profile-description{grid-column:2;grid-row:2;align-self:start;margin-top:0}
 .source-profile .source-identity-header .profile-actions{grid-column:1/-1;grid-row:3;margin-top:8px;gap:18px}
 .source-identity-header .profile-provider{margin-left:auto}
 .source-identity-header .profile-announcement{grid-column:1/-1;grid-row:4;margin-top:0}
 .source-profile .profile-portrait{width:84px;height:84px}
 .source-profile .profile-identity{width:auto}
 .profile-identity h1{font-size:28px;letter-spacing:-.02em}
 .source-profile .profile-description{display:block;font-size:12px;margin-top:6px}
 .source-profile .profile-actions{gap:8px 14px;margin-top:12px}
 .source-profile .profile-follow,.source-profile .profile-actions .text-button{font-size:12px;min-height:40px}
 .source-profile .profile-provider{width:36px;height:40px}
 .source-profile .profile-announcement{display:flex;font-size:11px}
 .profile-release-shelf{grid-auto-columns:calc((100% - 18px)/2);gap:18px}
 .profile-release-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
 .profile-section-heading h2,.profile-song-browser h2{font-size:19px}
 .profile-section-heading .text-button{font-size:12px;min-height:36px}
 .profile-collections,.profile-playlists{grid-template-columns:minmax(0,1fr)}
 .profile-song-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
 .profile-section{margin-bottom:30px}
 .source-profile .profile-song-grid .home-song:nth-child(n){height:64px}
 .source-profile .profile-song-grid .home-song-art,.source-profile .profile-song-grid .home-song-art img{width:44px;height:44px}
 .source-profile .profile-song-grid .home-song .track-name{font-size:14px}
 .source-profile .profile-song-grid .home-song .track-artist{font-size:12px}
 .profile-song-duration{display:none}
 .profile-song-pagination{gap:8px}
 .profile-song-pagination nav{gap:14px}
 .profile-song-pagination .text-button{min-height:44px}
 .source-profile .release-title{font-size:14px}.source-profile .release-artist{font-size:12px}.source-profile .release-year{font-size:11px}
 .source-profile .profile-latest-release .release-title{font-size:15px}
 .release-page-header{flex-wrap:wrap}
}
}
@media(max-width:700px){
 .profile-song-shelf,.artist-profile .profile-song-shelf{grid-auto-columns:86%;grid-template-rows:repeat(3,64px);column-gap:18px}
 .source-profile .profile-song-shelf .home-song:nth-child(n){height:64px}
 .source-profile .profile-song-shelf .home-song-art,.source-profile .profile-song-shelf .home-song-art img{width:44px;height:44px}
 .source-profile .profile-song-shelf .home-song .track-name{font-size:14px}
 .source-profile .profile-identity h1{font-size:30px}
 .source-profile .profile-actions .text-button{min-height:44px}
 .source-profile .profile-follow{min-height:44px}
 .profile-section-heading .text-button{min-height:36px}
 .release-page .release-page-header{display:block;text-align:center;margin-bottom:20px}
 .release-page .release-page-header>img{width:min(232px,64vw);height:auto;aspect-ratio:1;margin:0 auto 22px}
 .release-page .release-page-header h1{font-size:26px}
 .release-page .release-page-artist{font-size:17px;text-align:center}
 .release-page .release-page-header p{font-size:12px}
 .release-page .track-tools{justify-content:center}
 .release-page .track-tools>a{min-height:40px}
}
@media(hover:none){.release-play{opacity:1;pointer-events:auto;min-width:44px;min-height:44px;right:4px;bottom:4px}}
@media(prefers-reduced-motion:reduce){.release-play{transition:none}}
@media(prefers-contrast:more){.profile-description,.release-year,.release-artist,.profile-playlist small,.profile-saved-collection small{color:var(--muted)}}

/* A desktop detail well reduces available columns, never the song's size or shelf height. */
@media(min-width:1280px){
 .profile-song-grid{grid-template-columns:repeat(var(--profile-song-columns,3),minmax(210px,1fr));grid-template-rows:repeat(var(--profile-song-rows,4),56px);overflow-x:auto;overflow-y:hidden}
 .profile-release-shelf{grid-auto-columns:var(--music-cover-size,164px)}
}

/* Long catalog label statements remain available in the title without dominating a profile. */
.label-profile .profile-identity h1{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* song-browser.css */
/* Music rows are a list, with the recording's detail kept out of its way. */
.song-table .track-head,.song-table .track-row{grid-template-columns:minmax(150px,1.4fr) minmax(100px,1fr) 39px 26px;gap:15px;padding:0 8px;border:0;border-radius:4px}.song-table .track-head{height:32px;font-size:12px;color:var(--muted);border-bottom:1px solid #ffffff0a;margin-bottom:0}.song-table .track-row{height:54px;position:relative}.song-table .track-row:after{content:'';position:absolute;bottom:0;left:57px;right:8px;height:1px;background:#ffffff07;pointer-events:none}.song-table .track-row.menu-open{background:#ffffff08}.song-table .track-row[data-selected=true]{background:#ffffff0c}.song-table .track-row.playing{background:transparent}.song-table .track-row.playing .track-name{color:#cccccc}.song-table .track-row[data-selected=true].playing{background:#ffffff0c}.song-table .track-row:focus-visible{outline:1px solid #bdbdbd88;outline-offset:0}.song-table .track-cell{gap:11px;min-width:0}.song-titles{min-width:0;flex:1}.song-table .track-name{font-size:13px;color:var(--text);font-weight:400;line-height:1.3;max-width:100%}.song-table .track-name:hover{color:#ffffff}.song-album{display:block;max-width:100%;padding:0;margin-top:2px;color:var(--muted);font-size:12px;line-height:1.3;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.song-album:hover,.song-artist:hover{text-decoration:underline}.song-table .song-secondary{font-size:12px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:left;padding:0;line-height:1.5}.song-table .label-cell small{display:block;font-size:10px;color:var(--muted)}.song-table .label-cell button{padding:0;font-size:inherit}.song-table .duration{font-size:11px;color:var(--muted);text-align:right}.song-table .row-more,.song-table .row-save{width:26px;height:32px;border-radius:5px;opacity:0;color:var(--muted);background:none;padding:5px}.song-table .row-more svg,.song-table .row-save svg{width:16px;height:16px}.song-table .row-save.is-kept{opacity:1;color:var(--muted)}.song-table .track-row:is(:has(:focus-visible),.menu-open) :is(.row-more,.row-save){opacity:1}.song-table :is(.row-more,.row-save):hover{color:var(--text);background:transparent}.row-art{padding:0;position:relative;display:block;flex:none;border-radius:3px;width:38px;height:38px;overflow:hidden}.row-art img{width:100%;height:100%;border-radius:3px}.row-art>span{position:absolute;inset:0;display:grid;place-items:center;background:#00000077;color:#ffffff;opacity:0;transition:opacity .12s}.row-art svg{width:13px;height:13px;fill:currentColor;stroke:none}.track-row:is(:has(:focus-visible),.playing) .row-art>span,.detail-related-song:is(:has(:focus-visible),.playing) .row-art>span{opacity:1}.explicit-mark{display:inline-flex;align-items:center;justify-content:center;font-size:7px;font-weight:600;width:10px;height:10px;background:#83838344;color:var(--muted);border-radius:2px;vertical-align:1px;margin-left:5px}.song-table-artist .track-head,.song-table-artist .track-row{grid-template-columns:minmax(120px,1fr) 36px 26px;gap:10px}.song-table-album .track-head,.song-table-album .track-row{grid-template-columns:25px minmax(100px,1fr) 39px 26px;gap:13px}.song-table-album .track-row{height:43px}.song-table-album .track-row:after{left:46px}.song-table-album .row-number{font-size:12px;color:var(--muted)}.song-table-album .row-number button{inset:-8px}.song-table-album .track-head{padding-top:0}.song-table-album .track-name{font-size:13px}.song-table .track-row.dragging{opacity:.4}
.playlist-mosaic{width:148px;height:148px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;overflow:hidden;border-radius:5px;flex:none;box-shadow:0 4px 15px #00000022}.playlist-mosaic img{width:100%;height:100%}.tracked-playlist-page .release-page-header .text-button{margin-top:15px;font-size:10px}.song-detail{display:flex;flex-direction:column;grid-column:2;grid-row:1;position:relative;inset:auto;align-self:stretch;width:100%;min-width:0;min-height:0;height:100%;max-width:none;max-height:none;margin:0;padding:0;background:var(--bg);color:inherit;border:0;border-left:1px solid #ffffff0b;border-radius:0;box-shadow:none;overflow:hidden}.detail-toolbar{position:absolute;z-index:2;top:28px;left:28px;right:28px;display:flex;align-items:center;justify-content:flex-end;gap:6px;pointer-events:none}.detail-toolbar [data-detail-back]{margin-right:auto}.detail-toolbar .icon-button{pointer-events:auto;width:32px;height:32px;border-radius:50%;color:#ffffff;background:#1b1b1b66;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff20}.detail-toolbar .icon-button:hover{background:#1b1b1b99;color:#ffffff}.detail-toolbar .icon-button svg{width:14px;height:14px}.detail-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding:20px 20px 24px}.detail-artwork{width:100%;aspect-ratio:1;position:relative;margin-bottom:18px}.detail-artwork>img{height:100%;width:100%;border-radius:5px;box-shadow:0 4px 18px #00000033}.detail-preview{position:absolute;bottom:10px;right:10px;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#1717179c;backdrop-filter:blur(10px);color:var(--text)}.detail-preview svg{width:14px;height:14px;fill:currentColor;stroke:none}.song-detail h2{font-size:20px;letter-spacing:-.02em;line-height:1.35;font-weight:500;color:var(--text)}.detail-artist{display:flex;align-items:center;gap:7px;margin-top:9px;padding:0;color:var(--muted);font-size:12px;text-align:left;line-height:1.5}.detail-artist>img{width:22px;height:22px;border-radius:50%}.detail-artist>svg{width:10px;height:10px}.detail-identity{display:flex;align-items:center;gap:12px}.detail-identity>div{flex:1;min-width:0}.detail-save{flex:none;display:grid;place-items:center;width:36px;height:36px;padding:8px;border-radius:50%;color:#cccccc;background:#ffffff08}.detail-save svg{width:19px;height:19px}.detail-save:hover{background:#ffffff10}.detail-catalog-link{display:grid;place-items:center;flex:none;width:32px;height:32px;color:var(--muted)}.detail-catalog-link svg{width:14px;height:14px}.detail-catalog-link:hover{color:var(--text)}.song-facts{font-size:11px;margin:7px 0 25px}.song-facts>div{display:grid;grid-template-columns:87px minmax(0,1fr);gap:9px;line-height:1.65;padding:9px 0;border-bottom:1px solid #ffffff06}.song-facts dt{color:var(--muted)}.song-facts dd{margin:0;color:var(--muted);overflow-wrap:anywhere}.song-facts dd button{padding:0;font:inherit;text-align:left;color:inherit}.song-facts dd button:hover{text-decoration:underline}.unknown-value{color:var(--muted)}.detail-section h3{font-size:11px;font-weight:500;margin:0 0 9px;color:var(--muted)}.detail-playlist{display:flex;align-items:center;gap:9px;padding:9px 0;text-align:left;width:100%;font-size:10px;color:var(--muted)}.detail-playlist>img{width:32px;height:32px;border-radius:3px}.detail-playlist>span{flex:1;min-width:0;line-height:1.5}.detail-playlist small{display:block;font-size:8px;color:var(--muted);margin-top:2px}.detail-playlist svg{width:10px;height:10px;color:var(--muted)}.song-rights{font-size:8px;line-height:1.6;color:var(--muted);margin-top:28px}.detail-context{font-size:10px;line-height:1.7;color:var(--muted);margin:16px 0}.detail-related-song{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #ffffff07}.detail-related-song .row-art{width:33px;height:33px}.detail-related-title{display:block;flex:1;min-width:0;padding:0;text-align:left}.detail-related-title strong,.detail-related-title small,.detail-related-title>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.detail-related-title strong{font-size:10px;font-weight:400;color:#cccccc}.detail-related-title small{font-size:9px;color:var(--muted);margin-top:1px}.detail-related-title>span{font-size:8px;color:var(--muted);margin-top:2px}.detail-related-song>.icon-button{width:22px;height:24px;padding:3px;color:var(--muted)}.detail-related-song>.icon-button svg{width:12px;height:12px}
@media(hover:none){.song-table .row-save,.song-table .row-more{opacity:1}}
@media(max-width:700px){.detail-content{padding-left:24px;padding-right:24px}.detail-artwork{max-width:260px;margin-left:auto;margin-right:auto}.playlist-mosaic{width:92px;height:92px}.tracked-playlist-page .release-page-header{align-items:flex-start}.tracked-playlist-page .release-page-header .text-button{margin-top:9px}.tracked-playlist-page .release-page-header h1{font-size:23px}}
.song-mobile-artist{display:none}.song-mobile-artist:hover{text-decoration:underline}
@media(max-width:450px){.tracked-playlist-page .playlist-mosaic{margin-bottom:17px}}

/* One viewport, independent browsing and detail scrolling. */
:root{--song-detail-size:280px;--song-detail-width:0px}
html,body{height:100%;overflow:hidden}
.app-shell{display:grid;grid-template-columns:minmax(0,1fr) var(--song-detail-width);height:100dvh;min-height:0;margin-left:var(--sidebar-width);width:calc(100% - var(--sidebar-width));align-items:stretch;overflow:hidden;overflow-anchor:none}
.app-shell>.workspace{grid-column:1;grid-row:1;position:relative;display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;margin-left:0;width:auto;padding-bottom:0;overflow:hidden;container:music-browsing / inline-size}
.topbar{flex:none}
main{flex:1;min-height:0;width:100%;margin:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;overflow-anchor:none;scroll-padding-block:16px 110px;padding-bottom:130px}
/* Main and toolbar share the compact page gutter defined in styles.css. */
@media(min-width:600px){
 .song-detail{position:fixed;inset:8px 8px 8px auto;width:300px;height:calc(100dvh - 16px);border:1px solid #ffffff14;border-radius:14px;box-shadow:0 12px 40px #00000066;animation:song-panel-in .18s ease-out}
}
.song-detail::backdrop{background:#00000077;backdrop-filter:none}
@keyframes song-panel-in{from{transform:translateX(20px);opacity:0}to{transform:translateX(0);opacity:1}}
/* Hide secondary information as the list narrows; keep music sizing stable. */
.song-table{container:song-list / inline-size}
.song-table .song-titles{min-width:0}
.song-table .track-head,.song-table .track-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 39px 26px}
.song-table-artist .track-head,.song-table-artist .track-row{grid-template-columns:minmax(0,1fr) 36px 26px}
.song-table-album .track-head,.song-table-album .track-row{grid-template-columns:25px minmax(0,1fr) 39px 26px}
@container song-list (max-width:560px){
 .song-table-playlist>.track-head,.song-table-playlist>.track-list>.track-row,.song-table-research>.track-head,.song-table-research>.track-list>.track-row{grid-template-columns:minmax(0,1fr) 39px 26px;gap:10px}
 .song-secondary,.song-secondary-heading{display:none}.song-table-playlist .song-album{display:none}.song-mobile-artist{display:block;padding:0;max-width:100%;font-size:12px;line-height:1.3;color:var(--muted);text-align:left;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@container song-list (max-width:320px){
 .song-table .track-head,.song-table .track-row{grid-template-columns:minmax(0,1fr) 26px;gap:8px;padding-left:0;padding-right:0}.song-table-album .track-head,.song-table-album .track-row{grid-template-columns:25px minmax(0,1fr) 26px}.duration,.duration-head{display:none}
}
/* Narrow-window layouts depend on the window, not on opening the desktop well.
   Otherwise inspecting a song can restack every shelf and move the song being browsed. */
@media(max-width:1279px){
@container music-browsing (max-width:740px){
 .home-song-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;grid-auto-rows:58px}.artist-music-first{grid-template-columns:minmax(0,1fr)}.artist-latest{display:none}.profile-collections,.profile-playlists{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container music-browsing (max-width:520px){
 .history-controls,.global-search kbd,.profile-nav>span{display:none}.global-search{width:100%;min-width:0}.topbar{gap:10px}.home-song-grid,.label-song-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}.home-song{height:58px}.home-section-heading{flex-wrap:wrap}.profile-collections,.profile-playlists{grid-template-columns:minmax(0,1fr)}.profile-actions{flex-wrap:wrap}.source-profile-header{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.profile-description,.profile-announcement{display:none}.profile-identity{width:100%}.refine-panel{grid-template-columns:minmax(0,1fr)}.custom-dates{grid-column:auto}.artist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.label-start-list{grid-template-columns:repeat(2,minmax(0,1fr))}.workbench-heading,.research-utilities{flex-wrap:wrap}.release-page-header{flex-wrap:wrap}.workbench-commit{flex-wrap:wrap}
}
@container music-browsing (max-width:360px){
 .collection-hero{gap:12px}.home-title{flex-wrap:wrap}.profile-nav>div{gap:18px}.workbench-commit{gap:10px}
}
}
@media(max-width:599px){
 body:has(.has-song-detail){--song-detail-width:0px}.app-shell{grid-template-columns:minmax(0,1fr)}.app-shell>.workspace{grid-column:1;grid-row:1}
 html:has(.song-detail:modal){overflow:hidden}
 .song-detail{position:fixed;inset:auto 0 0;width:100%;height:min(760px,88dvh);max-height:calc(100dvh - 40px);margin:0;border-left:0;border-top:1px solid #ffffff14;border-radius:22px 22px 0 0;box-shadow:0 -12px 40px #00000055;animation:song-sheet-up .24s cubic-bezier(.2,.7,.3,1)}
 .song-detail::backdrop{background:#00000088;backdrop-filter:none}
 .detail-toolbar{top:34px;left:calc((100% - min(260px,68vw))/2 + 10px);right:calc((100% - min(260px,68vw))/2 + 10px)}.detail-toolbar .icon-button{width:40px;height:40px}.detail-content{display:block;padding:24px 24px calc(28px + env(safe-area-inset-bottom,0px))}
 .detail-artwork{width:min(260px,68vw);max-width:none;margin:0 auto 18px}.detail-preview{width:40px;height:40px;bottom:8px;right:8px}.detail-preview svg{width:16px;height:16px}
 .song-detail h2{font-size:22px;line-height:1.3;text-align:left;margin:0}.detail-artist{justify-content:flex-start;margin:8px 0 0;font-size:14px}.detail-artist>img{width:24px;height:24px}.detail-identity{width:min(260px,68vw);margin:0 auto}.detail-save{width:40px;height:40px}.detail-save svg{width:21px;height:21px}
 .detail-catalog-link{width:40px;height:40px}.song-facts{font-size:12px;margin-bottom:22px}.song-facts>div{grid-template-columns:100px minmax(0,1fr);padding:11px 0}.detail-section h3{font-size:12px}.detail-playlist{font-size:12px;padding:10px 0}.song-rights{font-size:9px;margin-top:22px}.detail-context{font-size:12px}.detail-related-song .row-art{width:42px;height:42px}.detail-related-title strong{font-size:12px}.detail-related-title small{font-size:11px}.detail-related-title>span{font-size:10px}
}
@keyframes song-sheet-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.song-detail{animation:none}}

.song-facts dt{color:var(--muted)}.song-facts dd{color:#cccccc}

.song-detail h2{overflow-wrap:anywhere}.detail-artist{max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-height:600px){.detail-artwork{width:min(100%,32dvh);margin-inline:auto}.detail-toolbar{top:28px;left:calc((100% - 32dvh)/2 + 8px);right:calc((100% - 32dvh)/2 + 8px)}.detail-toolbar .icon-button{width:30px;height:30px}}

/* Atlas: compact rows, input-aware artwork controls, and uninterrupted selection. */
.song-table .track-row:is([data-selected=true],.menu-open,:has(:focus-visible)):after,
.song-table .track-row:has(+.track-row:is([data-selected=true],.menu-open,:has(:focus-visible))):after{opacity:0}
@media(hover:hover) and (pointer:fine){
 .song-table .track-row:hover{background:#ffffff06}
 .song-table .track-row:hover:after,.song-table .track-row:has(+.track-row:hover):after{opacity:0}
 .song-table .track-row:hover :is(.row-more,.row-save),.track-row:hover .row-art>span,.detail-related-song:hover .row-art>span{opacity:1}
}
@media(hover:none){.row-art>span{opacity:1}}
@media(prefers-contrast:more){.song-table .track-row:after{background:#ffffff32}.song-table .track-name{color:#ffffff}.song-table :is(.song-album,.song-secondary,.duration){color:#cccccc}}

/* Related songs stay with the recording's facts in the same independent scroller. */
.detail-content{overscroll-behavior-y:contain;scroll-padding-block:16px}
.detail-related{margin-top:24px}
.detail-related .detail-related-song:last-child{border-bottom:0}
.album-disc{padding:22px 8px 10px;border-bottom:1px solid var(--line)}
.album-disc:first-child{padding-top:0}
.album-disc h2{font-size:12px;font-weight:400;color:var(--muted)}
.detail-related-info{flex:1;min-width:0}
.detail-related-title{width:100%}
.detail-related-title strong{font-size:12px;line-height:1.4}
.detail-related-artist{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.5;color:var(--muted)}

/* Dates occupy a column only when the song list has room for them. */
.song-release-date,.song-release-heading{display:none}
.song-row-meta{display:flex;gap:8px;align-items:center;min-width:0;margin-top:2px;font-size:10px;line-height:1.3;color:var(--muted)}
.song-upcoming{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.song-editions-link{padding:0;font-size:inherit;line-height:inherit;color:var(--muted);white-space:nowrap}
.song-editions-link:hover{text-decoration:underline;color:var(--text)}
.detail-edition>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.browse-select input:disabled{opacity:.35}
@container song-list (min-width:761px){
 .song-table-research>.track-head,.song-table-research>.track-list>.track-row,.song-table-playlist>.track-head,.song-table-playlist>.track-list>.track-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 94px 39px 26px}
 .song-release-date,.song-release-heading{display:block;color:var(--muted);font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
}

/* menus.css */
/* The glass belongs to the surface; controls remain calm and legible. */
.context-menu,dialog{background:#282828e8;border:1px solid #ffffff16;box-shadow:0 10px 28px #00000044,inset 0 1px #ffffff08;backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35);color:var(--text)}
.context-menu{width:218px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;border-radius:8px;padding:4px;scrollbar-width:thin;transform-origin:top right;animation:menu-appear .12s ease-out}.context-menu[role=listbox]{width:188px}.context-menu button,.context-menu a{min-height:32px;line-height:16px;padding:8px 9px;gap:10px;border-radius:4px;font-size:13px;font-weight:400;color:var(--text);outline:none}.context-menu button:hover,.context-menu a:hover,.context-menu button:focus-visible,.context-menu a:focus-visible{background:#ffffff0d;color:#ffffff}.context-menu svg{width:16px;height:16px;color:var(--muted);stroke-width:1.5}.context-menu .danger{color:var(--danger)}.context-menu .danger svg{color:var(--danger)}.context-menu>a:last-child{margin-top:5px;position:relative}.context-menu>a:last-child:before{content:'';height:1px;position:absolute;top:-3px;left:9px;right:9px;background:#fbfbfb09}.option-check{width:16px;flex:none;display:flex;align-items:center;justify-content:center}.context-menu [aria-selected=true]{color:var(--text)}.context-menu [aria-selected=true] svg{color:#cccccc}.select-control{display:inline-flex;align-items:center;max-width:100%;padding:0;vertical-align:middle}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px;padding:3px 0 3px 5px;font-size:12px;color:var(--muted);width:100%;white-space:nowrap;border-radius:6px}.select-trigger>svg{width:10px;height:10px;rotate:90deg;color:var(--muted);transition:color .12s}.select-trigger:hover,.select-trigger[aria-expanded=true]{color:var(--text)}.select-trigger:hover>svg,.select-trigger[aria-expanded=true]>svg{color:#cccccc}.select-trigger:focus-visible{outline:1px solid #c0c0c088;outline-offset:3px}.release-control .select-control{display:flex;width:100%;margin-top:7px}.release-control .select-trigger{min-height:33px;padding:7px 10px;background:#f3f3f304;box-shadow:inset 0 0 0 1px #dfdfdf0a;border-radius:8px;color:var(--muted)}.release-control .select-trigger:hover{background:#f3f3f307}.custom-dates input{background:#f3f3f304;border-color:#dfdfdf10;border-radius:8px;color:#cccccc}.source-chip{background:#dedede0a;color:#cccccc;border-radius:7px}.source-chip svg{color:var(--muted)}
dialog{border-radius:19px;padding:22px;width:416px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);scrollbar-width:thin}dialog::backdrop{background:#0b0b0b4f;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}dialog .panel-title{margin-bottom:10px}dialog h2{font-size:16px;font-weight:500;letter-spacing:-.3px;color:var(--text)}dialog .panel-title .icon-button{width:26px;height:26px;color:var(--muted)}dialog .panel-title .icon-button svg{width:14px;height:14px}dialog .subtle{font-size:12px;line-height:1.5;color:var(--muted);margin-bottom:14px}dialog .button{border-radius:15px;font-size:12px;min-height:32px;padding:6px 13px}dialog .button.primary{background:#d8d8d817;color:var(--text);border:1px solid #e5e5e512}dialog .button.secondary{background:#e2e2e208;color:var(--muted);border:1px solid #e5e5e508}dialog .button:hover{filter:none;background:#e2e2e218}dialog .form-actions{margin-top:18px;gap:8px}dialog .edit-form label.field{font-size:12px;color:var(--muted)}dialog .edit-form input[type=text],dialog .edit-form textarea{background:#0e0e0e33;border:1px solid #e6e6e612;border-radius:9px;color:var(--text);font-size:14px;line-height:1.5;padding:9px 11px}dialog input::placeholder,dialog textarea::placeholder{color:var(--muted)}dialog .edit-form :is(input,textarea):focus-visible{outline:1px solid #b5b5b566;outline-offset:0}.destination{border-radius:9px;padding:8px 5px;gap:12px;min-height:55px}.destination:hover{background:#e9e9e907}.destination strong{font-size:13px;font-weight:400;color:#cccccc}.destination small{font-size:11px;color:var(--muted);margin-top:4px}.destination>svg{width:14px;height:14px;color:var(--muted)}.destination[aria-pressed=true]>svg{color:#cccccc}#source-picker{width:416px}.picker-search{border:1px solid #e2e2e210;background:#14141426;border-radius:9px;padding:9px 10px;margin:16px 0 9px;color:var(--muted)}.picker-search input{color:var(--text);font-size:13px}.picker-search svg{width:13px;height:13px}.picker-list{margin:0 -6px 12px;max-height:min(335px,48dvh);scrollbar-width:thin}.picker-item{gap:11px;padding:8px 7px;border-radius:8px;min-height:47px}.picker-item:hover{background:#f0f0f007}.picker-item img,.picker-item .picker-initial{width:33px;height:33px}.picker-item strong{font-size:13px;font-weight:400;color:#cccccc}.picker-item small{font-size:11px;color:var(--muted);margin-top:3px}.picker-item>span:not(.picker-check):not(.picker-initial):not(.source-avatar){min-width:0}.picker-item .picker-check{border:0;background:none;width:20px;height:20px;color:var(--muted);flex:none}.picker-check svg{width:12px;height:12px}.picker-check.selected{background:#e5e5e50c;color:#cccccc}.picker-bottom{border-top-color:#e7e7e70a;padding-top:12px;color:var(--muted);font-size:12px}.picker-empty{font-size:12px;color:var(--muted)}.picker-initial,.genre-swatch{background:#bcbcbc0a;color:var(--muted)}.picker-item .source-avatar{width:33px;height:33px;font-size:13px}.picker-item:has(>.picker-label-only){min-height:36px}.picker-item .picker-label-only small{display:none}.save-preview>p,.save-promise{font-size:12px;color:var(--muted)}.save-promise{margin-top:15px}
@keyframes menu-appear{from{opacity:0;translate:0 -2px}to{opacity:1;translate:0 0}}
@media(max-width:700px){.context-menu button,.context-menu a{min-height:44px}.select-trigger{font-size:12px;gap:6px}.context-menu{width:228px}.context-menu[role=listbox]{width:180px}dialog{padding:19px;border-radius:17px}.picker-item{min-height:49px}}
@media(prefers-reduced-motion:reduce){.context-menu{animation:none}}
@supports not (backdrop-filter:blur(1px)){.context-menu,dialog{background:var(--panel)}}
@media(prefers-contrast:more){.context-menu,dialog{background:var(--panel);border-color:#ffffff55;backdrop-filter:none;-webkit-backdrop-filter:none}.context-menu button,.context-menu a{color:#ffffff}.context-menu svg{color:var(--text)}}

.context-menu[data-kind=create]{width:198px}.picker-item .picker-initial{margin:0}

.source-empty{border-bottom-color:#e7e7e712;color:var(--muted)}.refine-divider{border-top-color:#e7e7e70b}
.context-menu:popover-open{position:fixed;inset:auto;margin:0}

/* mobile.css */
/* Desktop keeps its library rail. A phone uses one thumb-reachable navigation bar. */
.mobile-navigation,.mobile-search-title{display:none}
@media(max-width:700px){
 :root{--sidebar-width:0px;--mobile-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 #sidebar{display:none}
 .app-shell{margin-left:0;width:100%}
 .app-shell>.workspace{width:100%}
 .topbar{display:none}
 main{max-width:none;padding:28px 20px 190px;scrollbar-gutter:auto;scroll-padding-bottom:190px}
 .home-title,.page-title{margin-bottom:28px;gap:12px}
 .home-title h1,.page-title h1{font-size:32px;letter-spacing:-.02em;line-height:1.15}
 .home-title .create-collection{font-size:12px;min-height:44px}
 .home-section-heading h2{font-size:19px;letter-spacing:-.02em}
 .home-section-heading>.text-button{font-size:11px;min-height:32px}
 .home-section-heading>span{font-size:12px}
 .home-sources,.home-music{margin-top:32px;padding-top:0;border:0}
 .home-sources .home-section-heading{margin-bottom:18px}
 .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}
 .collection-grid .glass-folder{--folder-size:136px!important;--scale:.85!important}
 .collection-name{font-size:13px}.collection-caption{font-size:11px}
 .source-card-shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 12px}
 .source-portrait{width:64px;height:64px}
 .source-card-name{font-size:11px;line-height:1.35}
 .source-card small{font-size:9px;line-height:1.4}
 .home-song-grid{grid-auto-rows:64px}
 .home-song{height:64px;gap:10px;padding:6px 0}
 .home-song-art img{width:44px;height:44px}
 .home-song .track-name{font-size:14px;font-weight:400}
 .home-song .track-artist{font-size:12px;margin-top:3px}
 .home-song .row-more{display:flex;opacity:1;width:32px;height:44px}
 .song-table .track-head,.song-table .track-row{grid-template-columns:minmax(0,1fr) 32px;gap:8px;padding-inline:0}
 .song-table-album .track-head,.song-table-album .track-row{grid-template-columns:22px minmax(0,1fr) 32px}
 .song-table .track-head{display:none}
 .song-table .track-row{height:64px}
 .song-table .duration,.song-table .duration-head,.song-table .song-secondary,.song-table .song-secondary-heading{display:none}
 .song-mobile-artist{display:block}
 .song-table-playlist .song-album,.song-table-research .song-album{display:none}
 .song-table .row-art{width:44px;height:44px}
 .song-table .track-name{font-size:14px;font-weight:400}
 .song-mobile-artist,.song-table .song-album{font-size:12px;line-height:1.4;margin-top:3px}
 .song-table .row-more,.song-table .row-save{width:32px;height:44px;opacity:1}
 .song-table .row-more svg,.song-table .row-save svg{width:17px;height:17px}
 .song-table .track-row:after{left:55px;right:0}
 .song-table-album .track-row:after{left:30px}
 .collection-hero{gap:16px;margin-bottom:24px}.hero-info h1{font-size:26px;overflow-wrap:anywhere}
 [data-mobile-page=detail] .topbar{position:absolute;z-index:6;top:0;left:0;right:0;display:flex;height:64px;padding:12px 20px;pointer-events:none}
 [data-mobile-page=detail] .history-controls{display:flex}
 [data-mobile-page=detail] .global-search,#forward{display:none}
 .history-controls #back{pointer-events:auto;display:grid;width:40px;height:40px;border-radius:50%;background:#1b1b1b8c;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff20;color:#ffffff}
 .history-controls #back:disabled{display:none}
 [data-mobile-page=detail] main{padding-top:80px}
 [data-mobile-page=search] .topbar{display:flex;flex-direction:column;align-items:stretch;height:auto;padding:28px 20px 8px;gap:18px}
 [data-mobile-page=search] .history-controls{display:none}
 [data-mobile-page=search] .mobile-search-title{display:block;font-size:32px;line-height:1.15;letter-spacing:-.02em}
 [data-mobile-page=search] .global-search{display:flex;max-width:none;width:100%;height:44px;padding:0 14px;border:0;border-radius:24px;background:#ffffff09;gap:10px}
 [data-mobile-page=search] .global-search input{font-size:16px}
 [data-mobile-page=search] .global-search svg{width:19px;height:19px}
 [data-mobile-page=search] .search-heading{display:none}
 [data-mobile-page=search] main{padding-top:6px}
 /* Photography and the latest release recompose for the phone, rather than shrinking. */
 .artist-profile>.artist-photo-header{height:360px;margin-top:-84px;margin-bottom:20px}
 .artist-photo{width:100%;object-position:50% 35%}
 .artist-photo-shade{background:linear-gradient(180deg,#00000022,transparent 30%,#1a1a1a70 62%,var(--bg) 100%)}
 .artist-photo-identity{bottom:18px;left:20px;right:20px}
 .artist-photo-identity h1{font-size:34px;letter-spacing:-.02em}
 .artist-photo-identity>p:not(.profile-announcement){font-size:12px;margin-top:8px}
 .profile-actions,.artist-photo-identity .profile-actions{gap:16px;margin-top:12px}
 .profile-follow{font-size:12px;min-height:40px;padding:8px 13px;border-radius:22px}
 .profile-actions .text-button,.artist-photo-identity .profile-actions .text-button{font-size:12px;min-height:40px}
 .profile-provider{min-width:36px;min-height:40px;justify-content:center}
 .profile-section-heading h2,.profile-song-browser h2{font-size:19px;letter-spacing:-.3px}
 .profile-section-heading .text-button{font-size:12px;min-height:36px}
 .artist-music-first{grid-template-columns:minmax(0,1fr);gap:26px}
 .artist-music-first .artist-latest{display:block;order:-1}
 .artist-latest>.profile-section-heading{display:none}
 .artist-latest .release-card{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:16px;min-height:104px;padding:12px;border-radius:14px;background:#ffffff07}
 .artist-latest .release-art{position:relative;grid-column:1;grid-row:1/3;width:80px;height:80px;margin:0;inset:auto}
 .artist-latest .release-title{grid-column:2;align-self:end;margin-bottom:5px;font-size:16px;white-space:normal;line-height:1.3}
 .artist-latest .release-year{grid-column:2;align-self:start;font-size:12px;margin:0}
 .profile-release-shelf{grid-auto-columns:calc((100% - 18px)/2);gap:18px;scrollbar-width:none}
 .profile-release-shelf .release-title{font-size:14px;font-weight:400}
 .profile-release-shelf .release-artist{font-size:12px}.profile-release-shelf .release-year{font-size:11px}
 .profile-song-grid .home-song{height:64px}
 .profile-song-grid .home-song-art img{width:44px;height:44px}
 .profile-song-grid .home-song .track-name{font-size:14px}.profile-song-grid .home-song .track-artist{font-size:12px}
 .release-back{display:none}
 .release-page-header{text-align:center;display:block;margin-bottom:24px}
 .release-page-header>img{width:min(240px,66vw);height:auto;aspect-ratio:1;margin:0 auto 22px}
 .release-page-header h1{font-size:26px;margin-bottom:8px}
 .release-page-artist{font-size:16px;text-align:center}.release-page-header p{font-size:12px}
 .release-page .track-tools{justify-content:center;padding-bottom:12px}
 .release-page .track-tools>a{font-size:12px;min-height:36px;gap:6px}
 .mobile-navigation{display:block;position:absolute;z-index:15;left:20px;right:20px;bottom:var(--mobile-bottom);height:62px;pointer-events:none}
 .mobile-tabs,.mobile-current,.mobile-search-shortcut{background:linear-gradient(155deg,#d1d1d112,#10101020),#252525b8;backdrop-filter:blur(14px) saturate(1.25);-webkit-backdrop-filter:blur(14px) saturate(1.25);box-shadow:0 5px 18px #00000033,inset 0 1px #ffffff24,inset 0 -1px #ffffff08;border-radius:40px}
 .mobile-tabs{position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px;pointer-events:auto;transition:opacity .18s,transform .24s cubic-bezier(.2,.7,.3,1),visibility .18s}
 .mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;border-radius:32px;padding:6px 2px;color:var(--muted)}
 .mobile-tab svg{width:24px;height:24px;stroke-width:1.8}
 .mobile-tab span{font-size:10px;line-height:13px;font-weight:500}
 .mobile-tab[aria-current=page]{background:#f1f1f111;color:var(--text)}
 .mobile-tab[aria-current=page][data-mobile-destination=home] svg{fill:currentColor;stroke-width:1.2}
 .mobile-current,.mobile-search-shortcut{position:absolute;bottom:0;width:48px;height:48px;padding:12px;display:grid;place-items:center;color:var(--text);visibility:hidden;opacity:0;pointer-events:none;transform:scale(.8);transition:opacity .18s,transform .24s cubic-bezier(.2,.7,.3,1),visibility .18s}
 .mobile-current{left:8px}.mobile-search-shortcut{right:8px}
 .mobile-current svg,.mobile-search-shortcut svg{width:24px;height:24px}
 .mobile-nav-collapsed .mobile-tabs{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px) scale(.92)}
 .mobile-nav-collapsed .mobile-current,.mobile-nav-collapsed .mobile-search-shortcut{visibility:visible;opacity:1;pointer-events:auto;transform:none}
 .mobile-navigation button:focus-visible{outline:1px solid #cccccc;outline-offset:3px}
 /* The native mobile mini-player is 48px high, 8px above navigation. */
 .player{bottom:calc(var(--mobile-bottom) + 70px);width:calc(100% - 40px);padding:9px 16px;height:48px;transition:bottom .24s cubic-bezier(.2,.7,.3,1),width .24s cubic-bezier(.2,.7,.3,1),padding .24s}
 .player-top-row{gap:4px;height:30px}
 .player-track{height:30px;gap:8px}
 .player-art-control{width:30px;height:30px;border-radius:4px}
 .player-art-control:before{content:"";position:absolute;inset:-7px;border-radius:inherit}
 .player-art-overlay svg{width:12px;height:12px}
 .player-metadata strong{font-size:16px;line-height:18px}
 .player-metadata>#player-artist{font-size:14px;line-height:16px;margin-top:0}
 .player .timeline{bottom:-9px}
 .player-end .icon-button{height:44px;width:36px}
 .player-end .icon-button svg{width:17px;height:17px}
 .player-volume{display:block}
 .player #volume-popover{position:absolute;right:-22px;bottom:45px;width:132px;height:42px;padding:5px 12px;background:#3a3a3a80;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:0;border-radius:21px;box-shadow:none}
 .mobile-nav-collapsed .player{bottom:var(--mobile-bottom);width:calc(100% - 180px);padding:9px 12px}
 .mobile-nav-collapsed .player-metadata strong{font-size:15px;line-height:17px}
 .mobile-nav-collapsed .player-metadata>#player-artist{font-size:13px;line-height:15px}
 .mobile-nav-collapsed .player .timeline,.mobile-nav-collapsed .player-end{display:none}
 .player-art-overlay{opacity:1}
 #toast,body:has(.has-song-detail) #toast{left:50%;max-width:calc(100% - 32px);bottom:calc(var(--mobile-bottom) + 154px)}
 .song-detail{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(prefers-reduced-motion:reduce){.mobile-tabs,.mobile-current,.mobile-search-shortcut,.player{transition:none}}

/* Small collection objects keep a phone library browsable at a glance. */
@media(min-width:375px) and (max-width:520px){
 .collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 12px}
 .collection-grid .glass-folder{--folder-size:100px!important;--scale:.625!important;margin-bottom:10px}
 .collection-name{font-size:12px}.collection-caption{font-size:10px}
}
@media(max-width:700px){.song-table:not(.song-table-album) .track-head,.song-table:not(.song-table-album) .track-row{grid-template-columns:minmax(0,1fr) 32px}}

/* scrollbars.css */
/* Site-wide policy: hide scroll chrome without changing native overflow or input. */
* {
  scrollbar-width: none !important;
  scrollbar-gutter: auto !important;
}
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* sound-browse.css */
/* One command row keeps references available without displacing the song list. */
.browse-workbench .workbench-heading{margin-bottom:8px;align-items:center}
.browse-workbench .workbench-save{min-height:30px;padding:4px 0;background:none;border:0;color:var(--muted);font-size:12px}
.browse-command-bar{display:flex;align-items:center;gap:16px;min-width:0;min-height:38px;margin-bottom:4px}
.browse-command-bar #sound-references{flex:1;min-width:0}
.sound-entry{display:flex;align-items:center;min-height:32px}
.sound-entry .text-button{min-height:32px;color:#cccccc;font-size:12px}
.sound-reference-bar{display:flex;align-items:center;gap:8px;min-width:0}
.sound-reference-label{flex:none;font-size:11px;color:var(--muted)}
.sound-reference-list{display:flex;align-items:center;gap:12px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.sound-reference-list::-webkit-scrollbar{display:none}
.sound-reference{display:flex;align-items:center;gap:7px;flex:0 0 auto;min-width:0;width:145px;height:32px}
.sound-reference>img{width:28px;height:28px;object-fit:cover;border-radius:4px;flex:none}
.sound-reference>div{flex:1;min-width:0}
.sound-reference strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4;font-size:12px;font-weight:400;color:#cccccc}
.sound-reference>.icon-button{width:20px;height:28px;padding:4px;color:var(--muted);border-radius:50%}
.sound-reference>.icon-button svg{width:11px;height:11px}
.sound-reference>.icon-button:hover{color:var(--text);background:#ffffff08}
.sound-add-reference{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:32px;padding:6px;color:var(--muted);border-radius:6px}
.sound-add-reference svg{width:14px;height:14px}
.sound-add-reference:hover{color:var(--text);background:#ffffff06}
.filter-count{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#e6e6e60b;color:#cccccc;font-size:10px;font-variant-numeric:tabular-nums}
.browse-workbench .workbench-results-top{min-height:30px;margin-bottom:0;gap:12px}
.browse-workbench .workbench-results-top h2{flex:none;font-size:12px;color:var(--muted)}
.browse-result-note{min-width:0;font-size:10px;line-height:1.5;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.browse-workbench .workbench-result-tools{gap:16px;flex:none}
.browse-workbench .workbench-result-tools .text-button{font-size:12px;min-height:28px}
.browse-workbench .rule-sentence{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.browse-workbench .rule-sentence:empty{display:none}
.sound-prototype-note{font-size:11px;line-height:1.6;color:var(--muted);margin:4px 0 8px}
.sound-coverage{font-size:11px;line-height:1.6;color:var(--muted);margin:5px 0 8px;max-width:760px}
/* Inline facets share the music list's rhythm; advanced conditions expand in place. */
.browse-workbench .inline-refine{display:block;padding:0 0 6px;margin:0;border:0}
.inline-filter-strip,.inline-filter-extra{display:flex;align-items:center;flex-wrap:wrap;gap:2px 14px;min-width:0}
.inline-facet,.inline-more{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0;max-width:100%;min-height:32px;padding:4px 0;border-radius:6px;color:var(--muted);font-size:12px;text-align:left}
.inline-facet>span{display:block;min-width:0;max-width:140px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.inline-facet>svg,.inline-more>svg{width:10px;height:10px;color:var(--muted);flex:none}.inline-facet>svg{rotate:90deg}
.inline-facet:is(.active,[data-active=true]),.inline-release:is(.active,[data-active=true]) .select-trigger{color:var(--text)}
.inline-facet:is(.active,[data-active=true]){background:#e6e6e608;padding-inline:8px;margin-inline:-8px}
.inline-more[aria-expanded=true]{color:var(--text)}

.inline-reset{min-height:32px;font-size:11px;color:var(--muted)}
.inline-release{display:flex;align-items:center;min-width:0;max-width:180px;min-height:32px;font-size:12px;color:var(--muted)}
.inline-release .select-control{display:flex;max-width:100%;margin:0}
.inline-release .select-trigger{min-height:32px;padding:4px 0;gap:6px;color:inherit;font-size:12px}
.inline-release .select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inline-filter-options{padding:8px 0 9px;margin:3px 0 2px;border-top:1px solid #e7e7e70a;border-bottom:1px solid #e7e7e70a}
.inline-filter-extra{gap:4px 20px;margin-bottom:8px}
.inline-filter-extra .follow-source{margin:0;min-height:32px;font-size:11px;color:var(--muted);gap:7px}
.inline-filter-extra .follow-source input{margin:0;width:14px;height:14px;accent-color:#cccccc}
.inline-filter-options .more-filters{border:0;padding:0}
.inline-filter-options .more-filters>summary{min-height:30px;font-size:11px}
.inline-filter-options .more-filters-grid{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px 22px;padding-top:0}
.inline-filter-options .more-filters[open] .more-filters-grid{padding-top:8px}
.inline-filter-options .release-control{flex:0 1 170px;min-width:140px;font-size:11px;color:var(--muted)}
.inline-filter-options .release-control .select-control{margin-top:2px}
.inline-filter-options .release-control .select-trigger{padding:4px 0;min-height:30px;background:none;box-shadow:none;border-radius:4px;color:#cccccc}
.inline-filter-options .custom-dates{flex:0 1 310px;gap:12px}
.inline-refine>.custom-dates{display:inline-flex;max-width:350px;margin:4px 0 2px}
.inline-refine .custom-dates label{font-size:10px;color:var(--muted)}
.inline-refine .custom-dates input{min-height:30px;margin-top:3px;padding:4px 7px;font-size:11px}
.inline-refine .date-error{margin-top:4px;font-size:11px}
@media(hover:hover) and (pointer:fine){.inline-facet:hover,.inline-more:hover,.inline-reset:hover{color:var(--text)}.inline-facet:hover>svg,.inline-more:hover>svg{color:var(--muted)}}
:is(.inline-filter-strip,.inline-filter-options) button:focus-visible{outline:1px solid #c0c0c088;outline-offset:3px}
.browse-selection-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px 17px;min-height:36px;margin:0 0 4px;font-size:12px;color:var(--muted)}
.browse-selection-tools .text-button{font-size:12px;min-height:32px}
.browse-selection-tools>span:first-child{font-variant-numeric:tabular-nums}
.browse-select{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;min-height:32px;margin-left:-4px;cursor:pointer}
.browse-select input{width:15px;height:15px;margin:0;accent-color:#cccccc;cursor:pointer;flex:none}
.song-table .track-row[data-batch-selected=true]{background:#ffffff08}
.song-table .track-row[data-batch-selected=true]:after{opacity:0}
.reference-picker{width:480px}
.reference-picker-list{max-height:min(360px,48dvh);overflow-y:auto;overscroll-behavior:contain}
.reference-choice{display:flex;align-items:center;gap:11px;width:100%;min-height:56px;text-align:left;padding:7px;border-radius:8px}
.reference-choice>img{width:40px;height:40px;border-radius:4px;object-fit:cover;flex:none}
.reference-choice>span:not(.picker-check),.reference-choice>div{flex:1;min-width:0}
.reference-choice strong,.reference-choice small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.45}
.reference-choice strong{font-size:13px;font-weight:400;color:#cccccc}
.reference-choice small{font-size:11px;color:var(--muted);margin-top:3px}
.reference-choice .picker-check{display:grid;place-items:center;width:24px;height:24px;margin-left:auto;border:1px solid #d6d6d622;border-radius:50%;background:none;color:var(--muted);flex:none}
.reference-choice .picker-check svg{width:12px;height:12px}
.reference-choice:is([aria-pressed=true],[aria-selected=true]) .picker-check,.reference-choice .picker-check.selected{color:var(--text);background:#e5e5e50c;border-color:#cccccc47}
.reference-picker-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.5}
#reference-picker-status{font-size:11px;line-height:1.5;color:var(--muted);margin:7px 0}
#reference-picker-status:empty{display:none}
.reference-picker .picker-bottom{gap:16px}
.reference-picker .picker-search:focus-within{outline:1px solid #b5b5b566;outline-offset:0}
:is(.browse-command-bar,.browse-selection-tools,.reference-picker) button:focus-visible,.browse-select input:focus-visible{outline:1px solid #c0c0c088;outline-offset:3px}
.sound-entry[hidden],.sound-reference-bar[hidden],.sound-coverage[hidden],.browse-selection-tools[hidden]{display:none}
@media(hover:hover) and (pointer:fine){.reference-choice:hover{background:#f0f0f007}}
@media(max-width:700px){
 .browse-workbench .workbench-heading{gap:12px;flex-wrap:nowrap;margin-bottom:5px}
 .browse-workbench .workbench-commit{max-width:62%;gap:10px}
 .browse-workbench .workbench-save{min-height:44px;font-size:11px;white-space:normal;text-align:right}
 .browse-command-bar{gap:12px;min-height:44px;margin-bottom:1px}
 .sound-entry .text-button,.sound-add-reference,.browse-selection-tools .text-button{min-height:44px}
 .sound-reference-label{display:none}
 .sound-reference-bar{gap:3px}
 .sound-reference-list{gap:9px}
 .sound-reference{width:155px;height:44px;gap:6px}
 .sound-reference strong{font-size:12px}
 .sound-reference>.icon-button{width:44px;height:44px;padding:15px}
 .sound-reference>.icon-button svg{width:12px;height:12px}
 .sound-add-reference{width:44px}
 .browse-workbench .workbench-results-top{min-height:40px;flex-wrap:nowrap;gap:0 10px}
 .browse-workbench .workbench-results-top .browse-result-note{flex:1}
 .browse-workbench .workbench-result-tools{gap:12px}
 .browse-workbench .workbench-result-tools .text-button,.browse-workbench .workbench-result-tools .select-trigger{min-height:44px}
 .browse-result-note{max-width:130px;font-size:9px}
 .browse-workbench .rule-sentence{font-size:10px;margin-bottom:3px}
 .inline-filter-strip{gap:0 14px}
 .inline-facet,.inline-more,.inline-reset,.inline-release,.inline-release .select-trigger{min-height:44px}
 .inline-facet>span{max-width:120px}
 .inline-release{max-width:170px}
 .inline-filter-options{padding:3px 0 7px;margin-top:1px}
 .inline-filter-extra{gap:0 16px;margin-bottom:4px}
 .inline-filter-extra .follow-source{min-height:44px;font-size:12px}
 .inline-filter-extra .follow-source input{width:16px;height:16px}
 .inline-filter-options .more-filters>summary{min-height:44px}
 .inline-filter-options .more-filters-grid{gap:6px 18px}
 .inline-filter-options .release-control{flex:1 1 135px;min-width:125px}
 .inline-filter-options .release-control .select-trigger,.inline-refine .custom-dates input{min-height:44px}
 .inline-filter-options .custom-dates{flex:1 1 100%}
 .inline-refine>.custom-dates{display:flex;max-width:100%;margin:2px 0}
 .browse-select{width:44px;min-height:44px;margin-left:-6px}
 .browse-selection-tools{gap:0 14px}
 .reference-picker .panel-title .icon-button{width:44px;height:44px;margin:-9px -8px -9px 0}
 .reference-picker .picker-search{min-height:44px}
 .reference-choice{min-height:58px}
 .reference-picker .picker-bottom{align-items:center;flex-wrap:wrap;gap:8px 14px}
 .reference-picker .picker-bottom .button{min-height:44px}
}
@media(max-width:370px){.browse-result-note{max-width:100px;font-size:9px}.browse-workbench .workbench-result-tools{gap:8px}.browse-workbench .workbench-result-tools .text-button{font-size:11px}}
@media(prefers-contrast:more){
 .sound-reference-label,.browse-result-note,.browse-workbench .rule-sentence,.reference-choice small{color:#cccccc}
 .sound-coverage,#reference-picker-status{color:#cccccc}
 .song-table .track-row[data-batch-selected=true]{background:#ffffff14}
 .reference-choice .picker-check{border-color:#d6d6d677}
}

/* artist-credits.css */
/* Individual verified credits keep the surrounding music typography and truncation. */
.artist-credits{min-width:0}
.artist-credits:hover{text-decoration:none}
.artist-credits .artist-credit{display:inline;padding:0;margin:0;border:0;background:none;border-radius:0;color:inherit;font:inherit;line-height:inherit;text-align:inherit;vertical-align:baseline}
.artist-credits .artist-credit:hover{color:var(--text);text-decoration:underline;text-underline-offset:2px}
.artist-credits .artist-credit:focus-visible{outline:1px solid var(--focus);outline-offset:2px;border-radius:2px}
.detail-artist.artist-credits{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:6px;white-space:normal;line-height:1.6}
.detail-artist .artist-credit{display:inline-flex;align-items:center;gap:5px;max-width:100%;vertical-align:middle}
.detail-artist .artist-credit>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.detail-artist .artist-credit img{width:22px;height:22px;flex:none;border-radius:50%;object-fit:cover}
.player-metadata>#player-artist{display:block;max-width:100%;padding:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.song-table-album .track-row:has(.album-song-credit){height:54px}
@media(max-width:700px){.detail-artist .artist-credit img{width:24px;height:24px}}

/* shelves.css */
/* Music keeps a steady size. A partial next item and quiet arrows make depth visible. */
.music-shelf{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;scroll-behavior:smooth;min-width:0}
.music-shelf::-webkit-scrollbar{display:none}
.music-shelf:focus-visible{outline:1px solid var(--focus);outline-offset:4px;border-radius:4px}
.music-shelf[data-pointer-focus]:focus-visible{outline:none}
.music-shelf>.release-card,.music-shelf>.source-card{scroll-snap-align:start}
.music-shelf-frame{position:relative;min-width:0;container:music-shelf / inline-size}
.music-shelf-controls{position:absolute;inset:0;z-index:8;pointer-events:none}
.music-shelf-controls[hidden]{display:none}
.music-shelf-controls .icon-button{position:absolute;top:var(--shelf-control-y,50%);translate:0 -50%;transform:none;animation:none;left:8px;pointer-events:none;display:grid;place-items:center;width:32px;height:32px;padding:0;color:var(--text);border-radius:50%;opacity:0;transition:opacity .12s ease-out;border:1px solid #ffffff26;background:linear-gradient(145deg,#414141a6,#202020c2);box-shadow:0 2px 8px #00000033,inset 0 1px #ffffff0d;backdrop-filter:blur(12px) saturate(1.2);-webkit-backdrop-filter:blur(12px) saturate(1.2)}
.music-shelf-frame:is(:hover,:has(:focus-visible:not([data-pointer-focus])))>.music-shelf-controls .icon-button{pointer-events:auto;opacity:1}
.music-shelf-controls .icon-button:last-child{left:auto;right:12px}
.music-shelf-controls .icon-button svg{width:14px;height:14px}
.music-shelf-controls .icon-button:hover{color:#fff;background:linear-gradient(145deg,#525252bd,#292929d4)}
.music-shelf-controls .icon-button:disabled{visibility:hidden;pointer-events:none}
.music-shelf-controls .icon-button:focus-visible{outline:1px solid var(--focus);outline-offset:2px}
.music-art-shelf.music-shelf,.profile-release-shelf.music-shelf{grid-auto-columns:clamp(156px,calc((var(--closed-content-width,1000px) - 100px)/5.6),200px);gap:20px;justify-content:start;padding:2px 0 8px;overflow-x:auto;overflow-y:hidden}
.music-source-shelf.music-shelf,.profile-artist-shelf.music-shelf{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:116px;gap:20px;justify-content:start;overflow-x:auto;overflow-y:hidden;padding:10px 0 8px}
.music-source-shelf.music-shelf .source-portrait,.profile-artist-shelf.music-shelf .source-portrait{width:100px;height:100px}
.music-source-shelf.music-shelf .source-card-name,.profile-artist-shelf.music-shelf .source-card-name{font-size:12px}
.discovery-song-shelf.music-shelf{grid-auto-columns:clamp(246px,calc((var(--closed-content-width,1000px) - 72px)/3.15),360px);grid-template-rows:repeat(4,58px);column-gap:24px;padding-bottom:4px}
.discovery-song-shelf.music-shelf>.home-song:nth-child(4n+1){scroll-snap-align:start}
.discovery-title{margin-bottom:18px}
.discovery-section{margin-top:34px}
.discovery-section .home-section-heading{margin-bottom:15px;min-height:28px;flex-wrap:nowrap}
.discovery-section .home-section-heading h2{font-size:19px;line-height:24px}
.discovery-links{margin-bottom:4px;flex-wrap:wrap;row-gap:8px}
.discovery-playlist-art img{width:100%;height:100%;object-fit:cover}
/* Fractional columns leave a visible next collection when there is more to browse.
   Short shelves keep their normal card size and simply have no overflow. */
.collection-shelf.music-shelf{--collection-columns:2.35;--collection-gaps:2;--collection-gap:var(--collection-card-gap);display:grid;grid-auto-flow:column;grid-auto-columns:min(var(--collection-card-width),max(128px,calc((100cqw - var(--collection-gaps)*var(--collection-gap))/var(--collection-columns))));justify-content:start;gap:var(--collection-gap);overflow-x:auto;overflow-y:hidden;padding:24px 0 10px;margin-top:-20px}
.collection-shelf.music-shelf .collection-card{min-width:0;scroll-snap-align:start}
@container music-shelf (min-width:600px){.collection-shelf.music-shelf{--collection-columns:3.35;--collection-gaps:3}}
@container music-shelf (min-width:800px){.collection-shelf.music-shelf{--collection-columns:4.35;--collection-gaps:4}}
@container music-shelf (min-width:1020px){.collection-shelf.music-shelf{--collection-columns:5.35;--collection-gaps:5}}
@container music-shelf (min-width:1240px){.collection-shelf.music-shelf{--collection-columns:6.35;--collection-gaps:6}}
@container music-shelf (min-width:1480px){.collection-shelf.music-shelf{--collection-columns:7.35;--collection-gaps:7}}
@media(min-width:701px) and (max-width:1279px){
 .music-art-shelf.music-shelf,.profile-release-shelf.music-shelf{grid-auto-columns:160px}
 .music-source-shelf.music-shelf,.profile-artist-shelf.music-shelf{grid-auto-columns:100px;gap:18px}
 .music-source-shelf.music-shelf .source-portrait,.profile-artist-shelf.music-shelf .source-portrait{width:84px;height:84px}
 .discovery-song-shelf.music-shelf{grid-auto-columns:max(246px,44%)}
}
@media(max-width:700px){
 .music-art-shelf.music-shelf,.profile-release-shelf.music-shelf{grid-auto-columns:140px;gap:18px}
 .music-source-shelf.music-shelf,.profile-artist-shelf.music-shelf{grid-auto-columns:86px;gap:18px}
 .music-source-shelf.music-shelf .source-portrait,.profile-artist-shelf.music-shelf .source-portrait{width:72px;height:72px}
 .music-shelf-controls .icon-button{width:36px;height:36px}
 :root{--collection-card-width:140px;--collection-card-gap:14px}
 .discovery-section{margin-top:28px}
 .discovery-section .home-section-heading{margin-bottom:12px}
 .discovery-section .home-section-heading h2{font-size:19px}
 .discovery-song-shelf.music-shelf{grid-auto-columns:86%;column-gap:18px}
 .discovery-song-shelf.music-shelf .home-song .row-more{display:flex;opacity:1}
}
@media(prefers-reduced-motion:reduce){.music-shelf{scroll-behavior:auto}.music-shelf-controls .icon-button{transition:none}}
/* The padded frame keeps its original content/container width while the scroller
   reaches into the leading gutter. At scroll zero that gutter is empty; after
   paging it reveals the preceding item without shifting the page or the cards. */
main .music-shelf-frame{--shelf-leading-inset:var(--page-gutter);--shelf-scroll-peek:16px;margin-left:calc(-1 * var(--shelf-leading-inset));margin-right:calc(-1 * var(--page-gutter));padding-left:var(--shelf-leading-inset)}
main .music-shelf-frame>.music-shelf{margin-left:calc(-1 * var(--shelf-leading-inset));padding-left:var(--shelf-leading-inset);padding-right:16px;scroll-padding-left:calc(var(--shelf-leading-inset) + var(--shelf-scroll-peek))}
/* A nested song shelf uses only the gap beside its latest-release artwork. */
main .profile-catalog-lead .music-shelf-frame{--shelf-leading-inset:20px;--shelf-scroll-peek:20px}
@media(min-width:1280px){
 main .home-collections .collection-grid{margin-right:calc(-1 * var(--page-gutter));padding-right:16px}
 .home-collections .collection-grid{max-width:none}
}
@media(max-width:700px){main .music-shelf-frame{--shelf-scroll-peek:20px}main .music-shelf-frame>.music-shelf{padding-right:20px}}

/* search-ui.css */
/* One quiet search treatment for navigation, sources and reference songs. */
.search-surface{background:#242424;color:var(--text);border:1px solid #ffffff12;border-radius:12px;overflow:hidden}
.search-surface[hidden]{display:none!important}
.global-search-control{position:relative;width:340px;min-width:0;max-width:100%}
.global-search-control .global-search{width:100%;height:34px;border-radius:8px;background:#ffffff05;border-color:#ffffff0d}
.global-search-control .global-search input{font-size:12px}
.global-search-control:focus-within .global-search{border-color:#ffffff24}
.global-search-control:has(.global-search-results:not([hidden])) .global-search{border-radius:8px 8px 0 0;background:#242424;border-bottom-color:transparent}
.global-search-results{position:absolute;top:calc(100% - 1px);right:0;width:100%;border-radius:0 0 10px 10px;max-width:calc(100vw - var(--sidebar-width) - 58px);max-height:min(620px,calc(100dvh - 110px));overflow:auto;overscroll-behavior:contain;z-index:60;box-shadow:0 14px 40px #0005}
.search-group{padding:6px;border-top:1px solid #ffffff0a}
.search-group:first-child{border-top:0}
.search-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;font-weight:500;color:var(--muted);line-height:1.4;padding:7px 8px}
.search-group-heading[hidden]{display:none}
.search-group-heading small{margin-left:4px;font-size:10px;font-weight:400;color:var(--muted)}
.search-group-more{font-size:10px;color:var(--muted);padding:3px 0;white-space:nowrap}
.search-group-more:hover{color:var(--text)}
.search-result{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:38px;padding:4px 7px;border-radius:6px;text-align:left;color:var(--text)}
.search-result:hover,.search-result:focus-visible{background:#ffffff08}
.search-result:focus-visible{outline:1px solid #ffffff36;outline-offset:-1px}
.search-portrait{width:28px;height:28px;flex:0 0 28px;border-radius:4px;object-fit:cover;background:#ffffff08;display:grid;place-items:center;font-size:12px;color:var(--muted)}
.search-portrait.artist-avatar{border-radius:50%}
.search-result>span:not(.search-portrait){min-width:0;flex:1}
.search-result strong{display:block;font-size:13px;font-weight:400;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-meta{display:block;font-size:11px;line-height:1.4;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.search-result>svg{width:12px;height:12px;flex:none;color:var(--muted)}
.global-search-results>.search-group-more,.global-search-results>.search-empty{display:block;width:100%;padding:12px 15px;text-align:left;font-size:12px}
#browse-lookup-slot:empty{display:none}
#refine-panel[hidden]{display:none}
#source-picker.inline-lookup,#reference-picker.inline-lookup{position:static;width:min(100%,440px);max-width:none;margin:0 0 16px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:visible}
.search-field-row{display:flex;align-items:center;gap:14px;min-height:36px}
.search-field{display:flex;align-items:center;gap:8px;min-width:0;flex:1;height:34px;padding:0 10px;border-radius:7px;background:#ffffff06;color:var(--muted)}
.search-field>svg{width:14px;height:14px;flex:none}
.search-field input{width:100%;min-width:0;border:0;outline:0;padding:8px 0;background:none;color:var(--text);font:inherit;font-size:13px}
.search-field input::placeholder{color:var(--muted)}
.search-field:focus-within{box-shadow:inset 0 0 0 1px #ffffff12}
.inline-lookup .lookup-close{padding:0;min-height:34px;border-radius:0;font-size:12px;color:var(--muted)}
.inline-lookup .lookup-close:hover{background:none;color:var(--text)}
.inline-lookup .lookup-results:has(.picker-list:empty){display:none}
.inline-lookup .lookup-results{padding:5px 0 0}
.inline-lookup .picker-list{max-height:208px;overflow:auto;overscroll-behavior:contain;margin:0;padding:0}
.inline-lookup .picker-item,.inline-lookup .reference-choice{min-height:38px;padding:5px 7px;gap:9px;border:0;border-radius:5px}
.inline-lookup :is(.picker-item,.reference-choice):hover,.inline-lookup :is(.picker-item,.reference-choice):focus-visible{background:#ffffff07}
.inline-lookup :is(.picker-item,.reference-choice):focus-visible{outline:1px solid #ffffff36;outline-offset:-1px}
.inline-lookup :is(.picker-item,.reference-choice) img,.inline-lookup .picker-initial,.inline-lookup .source-avatar{width:28px;height:28px;flex:0 0 28px}
.inline-lookup :is(.picker-item,.reference-choice) strong{font-size:13px;font-weight:400;line-height:1.4;color:var(--text)}
.inline-lookup :is(.picker-item,.reference-choice) small{font-size:11px;line-height:1.4;margin-top:0}
#source-picker .picker-item small{display:none}
#source-picker .picker-item[data-distinct] small,#source-picker[data-kind=playlists] .picker-item small{display:block}
.inline-lookup .picker-check{width:20px;height:20px;border:0;background:none;color:var(--muted);border-radius:50%}
.inline-lookup .picker-check.selected{background:none;color:var(--text)}
.inline-lookup .picker-check svg{width:13px;height:13px}
.lookup-status{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.inline-lookup .picker-bottom{min-height:34px;margin:4px 0 0;padding:0 7px;gap:12px;border:0;font-size:11px}
.inline-lookup .picker-bottom[hidden]{display:none}
.inline-lookup .picker-bottom .text-button{font-size:12px;min-height:30px}
.inline-lookup .picker-empty{padding:14px 7px;font-size:12px}
.inline-lookup .picker-pagination{position:sticky;bottom:0;background:var(--bg);min-height:30px;font-size:10px;padding:5px 7px;margin:3px 0 0;border:0}
.inline-lookup .picker-pagination .text-button{font-size:11px}
.inline-lookup #reference-picker-status{margin:0;padding:0 7px;font-size:11px}
.inline-lookup #reference-picker-status:not(:empty){padding-block:8px}
.inline-facet[aria-expanded=true]{color:var(--text)}
@media(max-width:700px){
 .global-search-control{width:100%;max-width:340px}
 [data-mobile-page=search] .global-search-control{max-width:none}
 .global-search-results{width:100%;max-width:none;max-height:calc(100dvh - 220px);border-radius:0 0 10px 10px}
 .global-search-results .search-result{min-height:44px}
 .search-group-more{min-height:32px}
 #source-picker.inline-lookup,#reference-picker.inline-lookup{width:100%;margin:3px 0 12px}
 .search-field-row{min-height:44px;gap:12px}
 .search-field{height:40px;padding:0 10px}
 .search-field input{font-size:16px;padding-block:9px}
 .inline-lookup .lookup-close{width:auto;min-height:44px;font-size:13px}
 .inline-lookup .picker-list{max-height:min(220px,32dvh)}
 .inline-lookup .picker-item,.inline-lookup .reference-choice{min-height:44px}
 .inline-lookup .picker-bottom{min-height:44px}
 .inline-lookup .picker-bottom .text-button,.inline-lookup .picker-pagination .text-button{min-height:38px}
}
@media(prefers-contrast:more){.search-surface{border-color:#ffffff55}.search-meta,.search-group-heading{color:#ccc}}

/* polish.css */
/* Visual polish pass, measured against the Apple Music reference captures. Loaded last. */

/* Collection header follows the playlist header: identity, definition, status, actions. */
.collection-header{display:flex;align-items:stretch;gap:28px;margin:4px 0 26px}
.collection-header-art{flex:none;width:200px;display:flex;align-items:flex-end}
.collection-header-art .glass-folder{margin:0}
.collection-header-info{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:flex-end}
.collection-header-info h1{font-size:28px;font-weight:500;line-height:1.16;letter-spacing:-.02em;margin:0 0 6px;overflow-wrap:anywhere}
.collection-definition{font-size:15px;line-height:1.4;color:var(--muted);margin:0 0 8px;overflow-wrap:anywhere}
.collection-status{font-size:12px;color:var(--faint);margin:0}
.collection-note{font-size:13px;line-height:1.5;color:var(--muted);margin:10px 0 0;max-width:560px}
.collection-actions{display:flex;align-items:center;gap:10px;margin-top:18px;min-width:0}
.collection-actions .button{min-height:32px;padding:0 16px;border-radius:16px}
.collection-actions .button.secondary{background:var(--hover);border:0}
.collection-play svg{width:11px;height:11px;fill:currentColor;stroke:none}
.collection-more{width:32px;height:32px;border-radius:50%;background:var(--hover);flex:none}
.collection-sort{margin-left:auto;min-width:0}
.collection-sort .select-trigger{width:auto}

/* Rows stay two lines; status sits beside the title. */
.song-title-line{display:flex;align-items:center;gap:6px;min-width:0}
.song-title-line .track-name{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.title-badge{flex:none;display:inline-flex;align-items:center;height:17px;padding:0 7px;border-radius:9px;background:#ffffff10;color:var(--muted);font-size:11px;line-height:1;white-space:nowrap}
button.title-badge{cursor:pointer}
button.title-badge:hover{background:#ffffff1c;color:var(--text);text-decoration:none}
.new-dot{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--text);vertical-align:2px}
.release-title .new-dot{vertical-align:1px}
.song-table .label-cell small,.label-cell small{font-size:11px}
.song-table .label-cell button,.label-cell button{font-size:12px}

/* Browse: one row of capsules; each opens its panel directly below the row, which stays visible. */
.inline-filter-strip{gap:8px;row-gap:8px;align-items:center}
.filter-capsule{display:inline-flex;align-items:center;max-width:100%;min-height:32px;border-radius:16px;box-shadow:inset 0 0 0 1px #ffffff1f}
.filter-capsule.active{background:var(--text);box-shadow:none}
.filter-capsule.active .filter-capsule-open,.filter-capsule.active .filter-capsule-open>svg{color:var(--panel)}
.filter-capsule.open{background:#ffffff1f;box-shadow:inset 0 0 0 1px #ffffff47}
.filter-capsule.active.open{background:var(--text);box-shadow:inset 0 0 0 2px #ffffff47}
.filter-capsule-open{display:inline-flex;align-items:center;gap:6px;min-width:0;min-height:32px;padding:0 12px;border-radius:16px;font-size:12px;color:var(--text)}
.filter-capsule-title{white-space:nowrap}
.filter-capsule-open>svg{width:10px;height:10px;flex:none;rotate:90deg;color:var(--muted);transition:rotate .15s}
.filter-capsule.open .filter-capsule-open>svg{rotate:-90deg}
@media(hover:hover) and (pointer:fine){.filter-capsule:not(.open):not(.active):hover{background:#ffffff0d}}
.inline-reset[data-idle]{visibility:hidden}
@media(prefers-reduced-motion:reduce){.filter-capsule-open>svg,.genre-expand svg{transition:none}}
.inline-reset{padding:0 4px}
.filter-strip-end{display:flex;align-items:center;gap:14px;margin-left:auto;min-width:0}
.matching-count{font-size:12px;color:var(--faint);white-space:nowrap;font-variant-numeric:tabular-nums}
.browse-result-note{font-size:11px;color:var(--faint)}
.filter-strip-end .select-control{width:auto;margin:0}
.filter-strip-end .select-trigger{width:auto;min-height:30px;font-size:12px}
.inline-refine{margin-bottom:12px}
#browse-lookup-slot{position:relative;height:0;margin:0;z-index:30}
#browse-lookup-slot>.search-surface.inline-lookup{display:block;position:absolute;top:0;left:0;width:min(100%,440px);max-height:560px;overflow:auto;overscroll-behavior:contain;margin:0;padding:8px 14px 12px;border-radius:12px;background:var(--panel);box-shadow:inset 0 0 0 1px #ffffff14,0 14px 40px #00000073}
#browse-lookup-slot .picker-list{max-height:300px}
.filter-chip{display:inline-flex;align-items:center;gap:2px;min-height:28px;padding:0 4px 0 11px;border-radius:14px;background:#ffffff14;font-size:12px;color:var(--text)}
.filter-chip-clear{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;color:var(--muted)}
.filter-chip-clear svg{width:10px;height:10px}
.filter-chip-clear:hover{background:#ffffff14;color:var(--text)}

/* Released and More panels: short choice lists that apply immediately. */
.filter-panel-heading{display:flex;align-items:center;justify-content:space-between;min-height:34px}
.filter-panel-heading h3{font-size:13px;font-weight:500}
.filter-choice{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:10px;padding:9px 0;border-top:1px solid var(--line)}
.filter-choice-title{padding-top:6px;font-size:12px;color:var(--muted)}
.filter-choice-options{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.filter-choice-options>button{min-height:28px;padding:0 11px;border-radius:14px;font-size:12px;color:var(--text);box-shadow:inset 0 0 0 1px #ffffff1f}
.filter-choice-options>button:hover{background:#ffffff0d}
.filter-choice-options>button[aria-pressed=true]{background:var(--text);color:var(--panel);box-shadow:none}
.filter-panel-actions{display:flex;align-items:center;gap:16px}
.filter-panel-actions .text-button{min-height:34px;padding:0;font-size:12px}
.filter-choice.untitled{grid-template-columns:minmax(0,1fr)}
.filter-choice-options>button[data-filter-toggle]{display:inline-flex;align-items:center;gap:5px}
.filter-choice-options>button svg{width:11px;height:11px}
.filter-panel .bpm-range{margin:0;padding:10px 0;border-top:1px solid var(--line);max-width:none}
.key-grid{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px 10px;padding:10px 0;border-top:1px solid var(--line)}
.key-grid .filter-choice-title{padding:0}
.key-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.key-row button{min-height:28px;border-radius:14px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--text);box-shadow:inset 0 0 0 1px #ffffff1f}
.key-row button:hover{background:#ffffff0d}
.key-row button[aria-pressed=true]{background:var(--text);color:var(--panel);box-shadow:none}
.filter-panel .custom-dates{margin:0 0 6px 86px}
.filter-note{margin:8px 0 0;font-size:11px;line-height:1.5;color:var(--faint)}
.filter-note .text-button{display:inline;padding:0;font-size:11px;text-decoration:underline}

/* Follow sets, genre families and chosen references inside the search panels. */
.picker-quick:empty,.reference-selected:empty{display:none}
.picker-quick{display:grid;gap:2px;padding:6px 0;margin-bottom:2px;border-bottom:1px solid var(--line)}
.picker-quick-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:50%;background:#ffffff10;color:var(--text)}
.picker-quick-icon svg{width:14px;height:14px}
.genre-mode{display:inline-flex;gap:2px;padding:2px;border-radius:9px;background:#ffffff0d;justify-self:start}
.genre-mode button{min-height:26px;padding:0 14px;border-radius:7px;font-size:12px;color:var(--muted)}
.genre-mode button[aria-pressed=true]{background:#ffffff1f;color:var(--text)}
.genre-family{display:flex;align-items:center;gap:2px}
.genre-family .picker-item{flex:1;min-width:0}
.genre-expand{width:30px;height:30px;flex:none;border-radius:50%}
.genre-expand svg{width:11px;height:11px;transition:rotate .15s}
.genre-expand[aria-expanded=true] svg{rotate:90deg}
.genre-members{padding-left:22px}
.picker-item[aria-pressed=mixed] .picker-check{color:var(--text)}
.reference-selected{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0 4px}
.reference-selected-song{display:inline-flex;align-items:center;gap:6px;max-width:240px;min-height:28px;padding:0 9px 0 3px;border-radius:14px;background:#ffffff14;font-size:12px;color:var(--text)}
.reference-selected-song img{width:22px;height:22px;border-radius:50%}
.reference-selected-song span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reference-selected-song svg{width:9px;height:9px;flex:none;color:var(--muted)}

/* Home: Best New Songs proportions, dated release captions. */
.home-updates-shelf.home-song-grid{grid-template-rows:repeat(4,56px);row-gap:0}
.home-updates-shelf.home-song-grid>.home-song,.discovery-song-shelf .home-song{height:56px;border-bottom:1px solid var(--line)}
.home-updates-shelf>.home-song:nth-child(4n),.discovery-song-shelf>.home-song:nth-child(4n){border-bottom:0}
.home-updates-shelf>.home-song:nth-child(3n+1){scroll-snap-align:none}
.home-updates-shelf>.home-song:nth-child(4n+1){scroll-snap-align:start}
.home-updates-shelf .home-song-art img,.discovery-song-shelf .home-song-art img{width:48px;height:48px}
.discovery-song-shelf.music-shelf{grid-template-rows:repeat(4,56px)}
.music-art-shelf.music-shelf,.profile-release-shelf.music-shelf{grid-auto-columns:clamp(160px,calc((var(--closed-content-width,1000px) - 80px)/5.1),210px)}
.music-art-shelf .release-year,.home-release-grid .release-year{display:block}
.release-facts{display:block;font-size:11px;line-height:1.4;color:var(--faint);margin-top:2px}

/* Nothing that carries state is smaller than 11px. */
.source-card small,.music-source-shelf .source-card small,#home-source-cards .source-card small{font-size:11px}
.collection-caption,.release-year,.list-footer{font-size:11px}
@media(prefers-contrast:more){.collection-status,.matching-count,.release-facts,.title-badge,.source-card small{color:#cccccc}}

/* Undo needs to be clickable inside the toast. */
#toast:has(.toast-action){pointer-events:auto;display:flex;align-items:center;gap:14px}
.toast-action{padding:0;font-size:inherit;font-weight:600;color:inherit;text-decoration:underline}

@media(max-width:700px){
  .collection-header{flex-direction:column;align-items:center;gap:16px;text-align:center}
  .collection-header-art{width:168px;justify-content:center}
  .collection-header-art .glass-folder{--folder-size:168px!important;--scale:1.05!important}
  .collection-header-info h1{font-size:24px}
  .collection-actions{justify-content:center;flex-wrap:wrap}
  .collection-sort{margin-left:0}
  .home-updates-shelf.home-song-grid{grid-template-rows:repeat(4,64px)}
  .home-updates-shelf.home-song-grid>.home-song{height:64px}
  .source-card small{font-size:11px}
  .source-card-name{font-size:11px}
  .collection-caption{font-size:11px}
  .filter-strip-end{width:100%;margin-left:0}
  .filter-strip-end .matching-count{margin-right:auto}
  .filter-choice{grid-template-columns:1fr;gap:6px}
  .filter-choice-title{padding-top:0}
  .filter-panel .custom-dates{margin-left:0}
}
/* Search results keep their counts hidden; follow sets and genre families need their one-line explanation. */
#source-picker .picker-quick-item small,#source-picker .genre-family-item small{display:block}
.reference-suggestions:empty{display:none}
.reference-suggestions{padding:8px 0 2px}
.reference-suggestion-list{display:flex;flex-wrap:wrap;gap:6px;max-height:104px;margin-top:6px;overflow:auto}
.reference-suggestion{background:transparent;box-shadow:inset 0 0 0 1px #ffffff1f}
.reference-suggestion:hover{background:#ffffff0d}
/* Genres page: Apple Browse Categories tiles, one colour per family with an artist from it. */
.genre-list{list-style:none;margin:0;padding:0;columns:2;column-gap:40px;max-width:900px}
.genre-list li{break-inside:avoid;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}
.genre-link{flex:1;min-width:0;padding:15px 0;text-align:left;font-size:15px;color:var(--text)}
.genre-link:hover{color:#fff}
.genre-follow{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:var(--muted);box-shadow:inset 0 0 0 1px #ffffff1f}
.genre-follow svg{width:13px;height:13px}
.genre-follow:hover{color:#fff;background:#ffffff0d}
.genre-follow[aria-pressed=true]{color:var(--text);background:#ffffff14;box-shadow:none}
.discovery-actions{display:flex;align-items:center;gap:22px}
.genre-subgenres{margin:0 0 20px;color:var(--muted);font-size:12px}
.genre-subgenres summary{display:inline-flex;align-items:center;gap:5px;list-style:none;cursor:pointer;min-height:28px}
.genre-subgenres summary::-webkit-details-marker{display:none}
.genre-subgenres summary svg{width:11px;height:11px}
.genre-subgenres[open] summary svg{rotate:90deg}
.genre-subgenres nav{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px}
.genre-subgenres button{min-height:28px;padding:0 11px;border-radius:14px;font-size:12px;color:var(--text);box-shadow:inset 0 0 0 1px #ffffff1f}
.genre-subgenres button:hover{background:#ffffff0d}
/* Home collections are one shelf like every other Home row; the Collections page keeps the full grid. */
@media(max-width:700px){.collection-shelf .glass-folder{--folder-size:120px!important;--scale:.75!important}}
.profile-stats{margin:4px 0 0;font-size:12px;color:var(--faint)}
@media(max-width:700px){.genre-list{columns:1}.genre-link{padding:13px 0;font-size:14px}.discovery-actions{gap:16px}}

.home-song-aside{flex:none;font-size:11px;color:var(--faint);font-variant-numeric:tabular-nums;margin-left:4px}
.page-note{margin:-6px 0 18px;font-size:12px;color:var(--faint);max-width:620px}
.detail-section+.detail-section{margin-top:22px}
.playlist-context.playlist-new{color:var(--text)}
.playlist-cover{width:148px;height:148px;flex:none;border-radius:5px;object-fit:cover;box-shadow:0 4px 15px #00000022}
.tracked-playlist-page .profile-actions{display:flex;align-items:center;gap:16px;margin-top:14px}
.tracked-playlist-page .profile-follow{display:flex;align-items:center;gap:6px;min-height:32px;padding:6px 12px;border-radius:18px;background:#ffffff0c;color:var(--text);font-size:12px}
.tracked-playlist-page .profile-follow:hover{background:#ffffff14}
.tracked-playlist-page .profile-actions .text-button{margin-top:0}
@media(max-width:700px){.playlist-cover{width:112px;height:112px}}
/* One notification bubble, styled like the folder's count: dark, a thin light edge, top-right of the artwork. Hovering the bubble swaps the count for ×, which marks it seen. */
.notice-bubble{position:absolute;top:0;right:0;transform:translate(35%,-35%);z-index:6;width:28px;height:28px;padding:0;pointer-events:auto;display:grid;place-items:center;border-radius:999px;font-size:13px;font-weight:400;line-height:normal;font-variant-numeric:tabular-nums;color:var(--text);background:linear-gradient(145deg,#3e3e3ee8,#191919f5);border:1px solid #f4f4f442;box-shadow:0 2px 5px #00000044,inset 0 1px #ffffff08;cursor:pointer;transition:background .15s,border-color .15s}
.notice-bubble>*{grid-area:1/1;transition:opacity .12s}
.notice-count{position:static;display:block;margin:0;padding:0;line-height:normal;letter-spacing:0;text-align:center}
.notice-bubble>svg{width:12px;height:12px;stroke-width:2;opacity:0}
.notice-bubble[data-digits="2"]>.notice-count{font-size:13px;letter-spacing:-.1px}
.notice-bubble[data-digits="3"]>.notice-count{font-size:11px;letter-spacing:-.25px}
.notice-bubble:is(:hover,:focus-visible){background:linear-gradient(145deg,#4a4a4a,#262626);border-color:#f4f4f466}
.notice-bubble:is(:hover,:focus-visible)>.notice-count{opacity:0}
.notice-bubble:is(:hover,:focus-visible)>svg{opacity:1}
.notice-bubble:focus-visible{outline:2px solid var(--text);outline-offset:3px}
/* Clear controls are siblings of the opening buttons, outside decorative glass. */
.source-portrait-wrapper{position:relative;display:block;width:max-content;margin:0 auto 12px}
.source-portrait-wrapper .source-portrait{margin:0}
.source-portrait-wrapper .notice-bubble{top:2px;right:2px}
.source-card-wrap .source-card-name{display:block;padding:0;text-align:center}
.collection-card{--collection-art-size:150px}
.collection-notice{left:calc(50% + var(--collection-art-size)*.43);right:auto;top:calc(2px + var(--collection-art-size)*.2441688312);transform:translate(-50%,-50%)}
.collection-link-wrapper{position:relative;min-width:0}
.collection-link-wrapper:has(.sidebar-notice) .collection-link{padding-right:36px}
.notice-bubble.sidebar-notice{top:50%;right:8px;transform:translateY(-50%);width:20px;height:20px;font-size:10px}
.notice-bubble.sidebar-notice:before{content:'';position:absolute;inset:-4px;border-radius:inherit}
.sidebar-notice[data-digits="2"]>.notice-count{font-size:10px;letter-spacing:0}
.sidebar-notice[data-digits="3"]>.notice-count{font-size:9px;letter-spacing:-.25px}
.notice-bubble.sidebar-notice>svg{width:10px;height:10px}
/* Nonmodal desktop details must cover the browsing surface's raised controls. */
.song-detail{z-index:40}
@media(min-width:600px) and (max-width:700px){.collection-link-wrapper:has(.sidebar-notice) .collection-link{padding-right:7px}.notice-bubble.sidebar-notice{top:-3px;right:-2px;transform:none}}
@media(max-width:700px){.collection-card{--collection-art-size:116px}.collection-shelf .collection-card{--collection-art-size:120px}.source-portrait-wrapper{margin-bottom:10px}}
.row-art:disabled{cursor:default}.row-art:disabled>span{display:none}
@media(prefers-reduced-motion:reduce){.notice-bubble,.notice-bubble>*{transition:none}}
/* Following: portraits, covers and pills like the rest of the app, each with a corner follow control. */
.following-title{flex-wrap:wrap;margin-bottom:24px}
.following-search{flex:0 1 360px;min-width:220px}
.follow-section{margin-bottom:34px}
.follow-section h2{font-size:17px;font-weight:500;margin:0 0 14px}
.follow-section h2 span{font-size:13px;font-weight:400;color:var(--faint);margin-left:4px}
.follow-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:22px 18px}
.follow-tiles.covers{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.follow-tile{min-width:0;text-align:center}
.follow-tiles.covers .follow-tile{text-align:left}
.follow-art{position:relative;display:block;width:88px;margin:0 auto 9px}
.follow-tiles.covers .follow-art{width:100%;margin:0 0 9px}
.follow-art-open{display:block;width:100%;aspect-ratio:1;padding:0;border-radius:8px;overflow:hidden;background:#ffffff0a}
.follow-tile.round .follow-art-open{border-radius:50%}
.follow-art-open img{width:100%;height:100%;object-fit:cover}
.follow-monogram{display:grid;place-items:center;width:100%;height:100%;font-size:22px;color:var(--muted)}
.follow-tile.unfollowed .follow-art-open{opacity:.45}
.follow-name{display:block;max-width:100%;margin:0 auto;padding:0;font-size:13px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.follow-tiles.covers .follow-name{margin:0}
.follow-tile small{display:block;margin-top:3px;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.follow-corner{position:absolute;top:0;right:0;transform:translate(25%,-25%);width:26px;height:26px;display:grid;place-items:center;border-radius:999px;color:var(--text);background:linear-gradient(145deg,#3e3e3ee8,#191919f5);border:1px solid #f4f4f442;box-shadow:0 2px 5px #00000044,inset 0 1px #ffffff08}
.follow-tile.round .follow-corner{transform:translate(0,0)}
.follow-corner>svg{grid-area:1/1;width:12px;height:12px;stroke-width:2}
.follow-corner[aria-pressed=true]>svg:last-child{opacity:0}
.follow-corner[aria-pressed=true]:hover>svg:first-child{opacity:0}
.follow-corner[aria-pressed=true]:hover>svg:last-child{opacity:1}
.follow-corner:hover{background:linear-gradient(145deg,#4a4a4a,#262626);border-color:#f4f4f466}
.follow-pills{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.follow-pill{display:flex;align-items:center;border-radius:18px;background:#ffffff0c;box-shadow:inset 0 0 0 1px #ffffff14}
.follow-pill>button:first-child{padding:8px 4px 8px 14px;font-size:13px;color:var(--text)}
.follow-pill-toggle{display:grid;place-items:center;width:30px;height:30px;margin-right:2px;border-radius:50%;color:var(--muted)}
.follow-pill-toggle svg{width:12px;height:12px}
.follow-pill-toggle:hover{color:var(--text);background:#ffffff12}
.follow-pill.unfollowed{background:none}
.follow-pill.unfollowed>button:first-child{color:var(--muted)}
.follow-empty{font-size:13px;color:var(--muted);padding:6px 0 0}
@media(max-width:700px){.following-search{flex:1 1 100%}.follow-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}.follow-tiles.covers{grid-template-columns:repeat(2,minmax(0,1fr))}.follow-art{width:76px}.follow-corner{width:30px;height:30px}}
/* Room above artwork shelves so a corner bubble isn't clipped by the horizontal scroller. */
.home-playlist-shelf .music-art-shelf{padding-top:12px;margin-top:-10px}
/* Start from a brief: each card names the intent, says what it brings in, and shows what it would bring in now. */
.intent-strip{margin:0 0 22px}
.intent-strip h2{font-size:13px;font-weight:500;color:var(--muted);margin:0 0 10px}
.intent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.intent-card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;column-gap:12px;row-gap:3px;align-items:start;padding:12px;border-radius:10px;background:#ffffff08;box-shadow:inset 0 0 0 1px #ffffff12;text-align:left;color:var(--text)}
.intent-card:hover{background:#ffffff0f}
.intent-art{grid-row:1/4;display:grid;grid-template-columns:repeat(2,26px);grid-auto-rows:26px;gap:2px;width:54px}
.intent-art img{width:26px;height:26px;border-radius:3px;object-fit:cover}
.intent-art img:first-child{grid-column:1/3;grid-row:1;width:54px;height:26px}
.intent-card strong{font-size:13px;font-weight:500}
.intent-card>span:not(.intent-art){font-size:12px;line-height:1.4;color:var(--muted)}
.intent-card small{font-size:11px;color:var(--faint);font-variant-numeric:tabular-nums}
@media(max-width:700px){.intent-grid{grid-template-columns:1fr}}

