
/* V285 — Samsung VINYL portrait space usage, cover + unfolded.
   Independent of AVEE, vinyl rotation and player state. */
@media (orientation:portrait) {
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying:not(.hidden) {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:space-evenly!important;
    width:100%!important;
    height:100dvh!important;
    min-height:0!important;
    box-sizing:border-box!important;
    padding-top:max(10px,env(safe-area-inset-top))!important;
    padding-bottom:max(22px,env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .np-header {
    flex:0 0 auto!important;
    margin:0!important;
    min-height:30px!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying #npVinyl {
    flex:0 0 auto!important;
    aspect-ratio:1/1!important;
    max-height:none!important;
    max-width:100%!important;
    margin:0 auto!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .np-info-row,
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .quality-badge,
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .scrubber-wrap,
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .transport {
    flex:0 0 auto!important;
    margin-top:0!important;
    margin-bottom:0!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .quality-badge {
    align-self:flex-start!important;
    max-width:100%!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .scrubber-wrap,
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .transport {
    width:100%!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .np-actions {
    display:none!important;
  }
}
@media (orientation:portrait) and (max-width:599.98px) {
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying #npVinyl {
    width:min(78vw,47dvh,390px)!important;
    height:min(78vw,47dvh,390px)!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .np-info h2 {
    font-size:clamp(20px,6vw,30px)!important;
  }
}
@media (orientation:portrait) and (min-width:600px) {
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying {
    padding-left:max(26px,env(safe-area-inset-left))!important;
    padding-right:max(26px,env(safe-area-inset-right))!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying #npVinyl {
    width:min(74vw,48dvh,470px)!important;
    height:min(74vw,48dvh,470px)!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying .np-info h2 {
    font-size:clamp(23px,4vw,34px)!important;
  }
}
/* A short portrait viewport must scroll instead of hiding playback controls. */
@media (orientation:portrait) and (max-height:620px) {
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying:not(.hidden) {
    justify-content:flex-start!important;
    gap:10px!important;
  }
  html.samsung-device:not([data-player-style="avee"]) #nowPlaying #npVinyl {
    width:min(66vw,33dvh,280px)!important;
    height:min(66vw,33dvh,280px)!important;
  }
}
