/* AA Gym Round 23: iOS and Android scroll stability */
:root {color-scheme:dark}
html:not(.invpage),body:not(.invpage){height:auto!important;min-height:100%!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;
  -webkit-overflow-scrolling:touch!important}
body:not(.invpage){position:relative!important;touch-action:pan-y pinch-zoom!important}
body.aa-authenticated .app{position:relative!important;height:auto!important;max-height:none!important;min-height:100svh!important;
  overflow:visible!important;overscroll-behavior-y:auto!important;touch-action:pan-y pinch-zoom!important}
#view{position:relative!important;min-height:0!important;height:auto!important;max-height:none!important;
  overflow:visible!important;touch-action:pan-y pinch-zoom!important}
#splash.out{visibility:hidden!important;pointer-events:none!important}
#modal:not([style*="display: none"]){touch-action:pan-y!important}
#modal .mcard{-webkit-overflow-scrolling:touch!important;touch-action:pan-y pinch-zoom!important}
#scrim:not(.show){pointer-events:none!important}
input[type="date"],input[type="month"],input[type="time"],input[type="datetime-local"],select,button{cursor:pointer}
.aa-scroll-recovery-tip{color:var(--mute);font-size:12px;line-height:1.55}
@media(max-width:719px){
 html:not(.invpage),body:not(.invpage){position:static!important}
 .app{position:relative!important;max-height:none!important;overflow:visible!important;
   padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}
 #view{max-height:none!important}
 .mcard{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 18px)!important;
   overflow-y:auto!important;overflow-x:hidden!important}
 .aa-recent-grid.is-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:355px){.aa-recent-grid.is-grid{grid-template-columns:1fr}}
