/* Player layout constraints shared by normal and radio surfaces. */
:root[data-theme] .player .now-playing { min-width:0; overflow:hidden; }
:root[data-theme] .player .now-playing>div:last-child { min-width:0; max-width:100%; overflow:hidden; }
:root[data-theme] #playerArtist { display:block; min-width:0; width:100%; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
:root[data-theme] #playerArtist>* { display:inline; white-space:nowrap; }
:root[data-theme] #playerTitle { display:block; min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
:root[data-theme] .radio-dock-track { min-width:0; overflow:hidden; }
:root[data-theme] .radio-dock-track>span { min-width:0; overflow:hidden; }
:root[data-theme] .radio-dock-track :is(strong,[data-radio-artist]) { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
:root[data-theme] #fullscreenPlayer .fullscreen-player-layout { width:min(1240px,100%); min-height:calc(100dvh - 88px); margin-inline:auto; padding:20px 32px 28px; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:clamp(24px,4vw,64px); align-items:center; }
:root[data-theme] #fullscreenPlayer .fullscreen-player-content { min-width:0; gap:18px; }
:root[data-theme] #fullscreenPlayerTitle { font-size:clamp(30px,3.8vw,60px); line-height:1.1; letter-spacing:-.035em; overflow-wrap:anywhere; text-wrap:balance; }
:root[data-theme] #fullscreenPlayerTitle[data-title-size="long"] { font-size:clamp(28px,3vw,44px); }
:root[data-theme] #fullscreenPlayerTitle[data-title-size="very-long"] { font-size:clamp(24px,2.5vw,36px); }
:root[data-theme] #fullscreenPlayer .fullscreen-track-copy { min-width:0; }
:root[data-theme] #fullscreenPlayer .fullscreen-track-copy>p:last-child { font-size:clamp(14px,1.35vw,19px); line-height:1.5; overflow-wrap:anywhere; margin-top:12px; }
:root[data-theme] #fullscreenPlayer .fullscreen-player-cover { width:100%; max-width:min(510px,calc(100dvh - 190px)); max-height:calc(100dvh - 190px); aspect-ratio:1; margin-inline:auto; }
:root[data-theme] #fullscreenPlayer .fullscreen-player-actions { flex-wrap:wrap; gap:8px; }
:root[data-theme] #fullscreenPlayer .fullscreen-context-card { padding:12px; }
@media(min-width:701px) and (max-height:760px) {
 :root[data-theme] #fullscreenPlayer .fullscreen-player-layout { padding-block:8px 16px; min-height:calc(100dvh - 74px); gap:24px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-content { gap:10px; }
 :root[data-theme] #fullscreenPlayerTitle { font-size:clamp(26px,3vw,42px); }
 :root[data-theme] #fullscreenPlayer .fullscreen-context-card { padding:8px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-controls { gap:18px; }
}
@media(max-width:700px) {
 :root[data-theme] #fullscreenPlayer .fullscreen-player-layout { display:flex; flex-direction:column; justify-content:flex-start; align-items:stretch; padding:8px 22px 24px; gap:14px; min-height:0; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-cover { width:min(70vw,30dvh,280px); max-height:none; flex:none; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-content { display:flex; flex-direction:column; gap:12px; width:100%; }
 :root[data-theme] #fullscreenPlayerTitle { font-size:clamp(24px,6vw,30px); line-height:1.15; letter-spacing:-.025em; }
 :root[data-theme] #fullscreenPlayerTitle:is([data-title-size="long"],[data-title-size="very-long"]) { font-size:24px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-track-copy>p:last-child { font-size:13px; margin-top:6px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-actions { margin-top:0; }
 :root[data-theme] #fullscreenPlayer .fullscreen-context-card { padding:8px 10px; }
 :root[data-theme] .player .now-playing { width:auto; }
}
@media(max-width:700px) {
 :root[data-theme] #fullscreenPlayerTitle:is([data-title-size="long"],[data-title-size="very-long"]) { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-content>.fullscreen-context { order:5; }
}
@media(prefers-reduced-motion:reduce) { #fullscreenPlayer,#fullscreenPlayer .fullscreen-player-layout { transition:none; animation:none; } }@media(min-width:701px) and (max-height:500px) {
 :root[data-theme] :is(#fullscreenPlayer,#radioFullscreen) .fullscreen-player-head { padding:8px 20px; min-height:50px; }
 :root[data-theme] #fullscreenPlayer.fullscreen-player .fullscreen-player-layout { display:grid; grid-template-columns:minmax(140px,.6fr) minmax(0,1.4fr); padding:4px 20px 16px; min-height:0; align-items:start; gap:20px; width:100%; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-cover { width:min(30vw,230px); max-height:calc(100dvh - 100px); }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-content { gap:8px; }
 :root[data-theme] #fullscreenPlayerTitle { font-size:24px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.1; }
 :root[data-theme] #fullscreenPlayer .fullscreen-track-copy>p:last-child { font-size:12px; margin-top:4px; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-content>.fullscreen-context { order:5; }
 :root[data-theme] #fullscreenPlayer .fullscreen-progress { margin:0; gap:3px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-controls .fullscreen-play-toggle { width:52px; height:52px; min-height:52px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-actions { margin:0; flex-wrap:wrap; gap:6px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-actions>button { padding:8px 10px; font-size:12px; min-height:40px; }
 :root[data-theme] #fullscreenPlayer .fullscreen-player-actions>label { max-width:110px; }
 :root[data-theme] #radioFullscreen .radio-stage { padding-block:4px 16px; gap:24px; }
 :root[data-theme] #radioFullscreen .fullscreen-track-copy h2 { font-size:26px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
}