/* Mobile-only shared subpage header: no horizontal overflow. */
@media (max-width:820px) {
  #genres .genre-refresh-topnav,
  #artistReleases .artist-releases-unified-topnav,
  .unified-subpage-view .unified-topnav {
    box-sizing:border-box; width:100%; max-width:100%; min-width:0;
    grid-template-columns:minmax(0,1fr) minmax(0, 184px)!important;
    height:auto!important; min-height:64px; padding:5px 8px!important; gap:8px!important;
  }
  #genres .genre-brand-home, #artistReleases .artist-releases-brand,
  .unified-subpage-view .unified-brand-home {
    width:100%!important; min-width:0!important; max-width:150px; grid-column:1;
  }
  #genres .genre-brand-home img, #artistReleases .artist-releases-brand img,
  .unified-subpage-view .unified-brand-home img {width:100%!important; max-width:100%; object-fit:contain;}
  #genres .genre-language, #artistReleases .artist-releases-language,
  .unified-subpage-view .subpage-language {
    box-sizing:border-box; display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr));
    width:100%!important; min-width:0!important; max-width:100%!important; grid-column:2;
    gap:2px!important; padding:3px!important; border-radius:16px!important;
  }
  #genres .genre-language button, #artistReleases .artist-releases-language button,
  .unified-subpage-view .subpage-language button {
    box-sizing:border-box; width:100%!important; min-width:0!important; height:36px!important;
    padding:0!important; font-size:12px!important; white-space:nowrap;
  }
}
