/* Home-screen windows: keep content clear of the notch and home indicator. */
:root{--install-header-height:72px;--install-footer-space:40px}
.app-shell{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
.brand-bar{height:calc(var(--install-header-height) + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);flex-shrink:0}
body:not(.is-pokedex):not(.is-raids) main{padding-bottom:max(var(--install-footer-space),calc(20px + env(safe-area-inset-bottom,0px)))}
.is-pokedex .dex-scroll,.is-raids .raid-scroll{padding-bottom:max(27px,calc(16px + env(safe-area-inset-bottom,0px)))}
@media(max-width:350px){:root{--install-header-height:65px;--install-footer-space:35px}}
@media(min-width:620px){:root{--install-header-height:77px;--install-footer-space:46px}}
@media(display-mode:standalone){
  body{padding:0}
  .app-shell{min-height:100svh;border:0;border-radius:0}
  .is-pokedex .app-shell,.is-raids .app-shell{height:100svh;min-height:0;max-height:none}
}
