/* Shared layout corrections; theme colors and player designs stay theme-owned. */
body .taste-song-copy .song-services{display:flex;gap:6px;flex-wrap:wrap}
body .taste-song-copy .song-services .service-link{display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:9px}
body .taste-song-copy .song-services .service-link span{display:none}
body .taste-song-copy .song-services svg{width:18px;height:18px;flex:none}
body :is(.taste-song-copy,.song-search-result,.collection-draft) :is(strong,p,span){overflow-wrap:anywhere}
body .collection-draft li{flex-wrap:wrap}
body .collection-draft li>div:first-child{flex:1 1 130px}
body .collection-draft li>div:last-child{margin-left:auto}
body .collection-draft button{min-width:40px;min-height:40px}
body .collection-backup summary{min-height:44px;cursor:pointer;padding:10px 0}
body .collection-backup>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body .collection-backup input[type=file]{max-width:100%;min-width:0}
body .collection-toast{max-height:35dvh;overflow-y:auto}
body .view :is(h1,h2,h3){overflow-wrap:anywhere}
body nav[aria-label="Main navigation"]{scroll-padding-inline:12px}
body .preview-player{max-height:calc(100dvh - 20px);overflow-y:auto;overscroll-behavior:contain}
body .preview-player .player-title{overflow-wrap:anywhere}
@media(max-width:650px){
 body .taste-song{grid-template-columns:48px minmax(0,1fr);gap:8px 10px}
 body .taste-song>button{grid-column:2;justify-self:start;max-width:none;min-height:40px;padding:8px 12px}
 body .taste-song-copy .song-services{flex-wrap:nowrap}
 body .music-card>.track-art,body.munna-experience .music-card>.track-art{height:104px;min-height:104px}
 body .music-card>.card-top,body.munna-experience .music-card>.card-top{padding-top:12px}
 body .music-card .card-body h3,body.munna-experience .music-card .card-body h3{font-size:18px}
 body .music-card .collection-quick{margin-top:0}
 body .collection-quick button{min-height:40px}
 body .collection-view input:not([type=file]),body #song-query,body #taste-query,body #filter-search,body #quick-filter-search{font-size:16px}
 body .collection-song-actions{grid-column:1/-1}
 body .comfort-song-bottom{align-items:flex-start}
 body .comfort-personal{flex-basis:100%}
 body .comfort-personal button{flex:1}
 body .comfort-set-tools button{min-height:44px}
 body .collection-section-heading{flex-wrap:wrap}
 body .collection-section-heading>button{max-width:none}
}
@media(max-width:380px){
 body .collection-summary{gap:8px 12px}
 body .collection-summary b{font-size:16px}
 body .collection-tape{flex-wrap:wrap}
 body .collection-tape-copy{flex-basis:150px}
}
@media(prefers-reduced-motion:reduce){body nav[aria-label="Main navigation"]{scroll-behavior:auto}}
/* Stats must fit the available music column beside the desktop DJ room. */
body.munna-experience #view-profile .taste-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
body.munna-experience #view-profile .taste-stats>div{min-width:0;padding:12px}
body.munna-experience #view-profile .taste-stats strong{font-size:clamp(20px,2vw,28px)}
body.munna-experience #view-profile :is(#song-query,#taste-query){background:#101925;color:#edf3fa;border-color:#7894ae66}
@media(min-width:901px) and (max-width:1500px){body.munna-experience .taste-workspace{grid-template-columns:1fr}}
@media(max-width:650px){
 body.munna-experience .track-art .art-fallback{padding:12px 16px;justify-content:center}
 body.munna-experience .track-art .art-fallback strong,body.munna-experience .track-art .art-fallback small{display:none}
 body.munna-experience .track-art .fallback-caption{margin-left:36px}
}
