/* V283: right-side mobile sections drawer, preserving the original menu buttons and navigation. */
@media (max-width: 767px){
  html body.studio-app dialog#modal.v283-mobile-sections-drawer[open]{
    position:fixed!important;inset:0 0 0 auto!important;top:0!important;right:0!important;left:auto!important;bottom:0!important;
    width:min(330px,86vw)!important;max-width:86vw!important;height:100dvh!important;max-height:100dvh!important;
    margin:0!important;padding:0!important;transform:none!important;border:0!important;
    border-radius:17px 0 0 17px!important;overflow-y:auto!important;overflow-x:hidden!important;
    background:rgba(64,59,54,.94)!important;box-shadow:-14px 0 45px rgba(0,0,0,.28)!important;
    backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
  }
  html body.studio-app dialog#modal.v283-mobile-sections-drawer .modal-body{
    width:100%!important;max-width:100%!important;min-height:100%!important;max-height:none!important;
    margin:0!important;padding:52px 16px 24px!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;overflow:visible!important;
  }
  html body.studio-app dialog#modal.v283-mobile-sections-drawer #modalContent{width:100%!important;max-width:100%!important}
  html body.studio-app dialog#modal.v283-mobile-sections-drawer .search-results{display:flex!important;flex-direction:column!important;gap:9px!important}
  html body.studio-app dialog#modal.v283-mobile-sections-drawer .search-result{width:100%!important;box-sizing:border-box!important}
  html body.studio-app dialog#modal.v283-mobile-sections-drawer .modal-close{top:12px!important;left:12px!important;right:auto!important}
  /* Reduce the entire player's height slightly; preserve cover, seek bar, controls and labels. */
  html body.studio-app #player.player{
    height:auto!important;min-height:0!important;
    padding-top:6px!important;padding-bottom:6px!important;
    row-gap:4px!important;
  }
  html body.studio-app #player.player #playerCover{width:clamp(37px,10vw,46px)!important;height:clamp(37px,10vw,46px)!important;object-fit:cover!important}
}
/* iPad/tablet: use the locally bundled Andalus face for the centered SHALIZ wordmark. */
@media (min-width:768px) and (max-width:1199px){
  html body.studio-app #view-hall .studio-hero-title .v213-brand-name,
  html body.studio-app #view-hall .studio-hero-title .v256-desktop-title,
  html body.studio-app #view-hall .studio-hero-title .v256-mobile-title{
    font-family:'SHALIZ Andalus Local',serif!important;font-weight:400!important;
    font-synthesis:none!important;letter-spacing:normal!important;
  }
}
