/* Density changes affect browsing screens only. Keep text and interactive maths at native size. */
@media (min-width:761px) {
 html:not([data-density="standard"]) .page:not(#page-tutorial):not(#page-play) :is(h1,h2) {
  font-size:clamp(20px,2vw,29px);line-height:1.15;margin-block:6px;
 }
 html:not([data-density="standard"]) #albumRoot .dex-collection>.dex-grid {
  grid-auto-columns:clamp(142px,12vw,174px);gap:8px!important;padding:8px!important;
 }
 html:not([data-density="standard"]) #albumRoot :is(.dex-portrait,.dex-unknown-art) {
  height:auto!important;min-height:0!important;aspect-ratio:4/5;
 }
 html:not([data-density="standard"]) #arenasRoot .nr167-atlas-grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,138px),1fr));gap:8px;
 }
 html:not([data-density="standard"]) #arenasRoot .nr167-hero-scene {
  min-height:0;height:clamp(145px,22vh,215px);aspect-ratio:auto;
 }
 html:not([data-density="standard"]) #homeRoot :is(.nr209-command-deck,.nr209-launch) {
  min-height:clamp(290px,41vh,390px);gap:10px;
 }
 html:not([data-density="standard"]) #homeRoot .nr209-launch-content {padding-top:clamp(70px,11vh,115px)}
 html:not([data-density="standard"]) #homeRoot .nr209-hq-shell {padding:10px}
 html:not([data-density="standard"]) .page:not(#page-play):not(#page-tutorial) :is(.panel,.nr278-board,.nr167-atlas-header) {padding:12px}
}
@media(max-width:760px){#compactViewButton{display:none}}
