/* Responsive wide-screen layouts: preserve card readability without empty side gutters. */
@media (min-width:1500px){
  .bosses-page,.feature-page{max-width:1640px;width:calc(100% - 88px)}
  .bosses-grid,.class-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:1101px) and (max-width:1499px){
  .bosses-page,.feature-page{max-width:1340px;width:calc(100% - 56px)}
  .bosses-grid,.class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1500px){
  .boss-card{gap:12px}
  .boss-portrait{width:clamp(85px,7vw,115px)}
}
@media (max-width:1100px) and (min-width:651px){
  .bosses-grid,.class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:650px){
  .bosses-grid,.class-grid{grid-template-columns:1fr}
  .bosses-page,.feature-page{width:auto}
}
/* Hidden navigation must not occupy space or create unnecessary scrolling. */
.bosses-bottom-nav[hidden],.feature-bottom-nav[hidden]{display:none!important}
