/* 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-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-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){
 .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}
