/* AA Gym Round 24 — iPhone scrolling, freezing and speed.
   One scroller only (the page). On older iPhones "overflow-x:hidden" on <body> secretly turned the body
   into a second scroll box, which is what made the page stick / freeze. */
html:not(.invpage){overflow-x:hidden!important;overflow-y:visible!important;height:auto!important;-webkit-overflow-scrolling:auto!important;overscroll-behavior-y:auto!important}
body:not(.invpage){overflow:visible!important;height:auto!important;min-height:100%;-webkit-overflow-scrolling:auto!important;touch-action:manipulation!important;position:static}
body.aa-authenticated .app,#view{touch-action:manipulation!important;overflow:visible!important}
html,body{background-attachment:scroll!important}
body.aa-locked{position:fixed!important;left:0;right:0;width:100%;overflow:hidden!important}
#modal{overscroll-behavior:contain!important}
#modal .mcard{overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}
.mlist>.row,.mlist>.mrow{content-visibility:auto;contain-intrinsic-size:auto 76px}
/* Phones and tablets: no glass blur and no row animations (these are very slow on iPhone GPUs) */
@media (hover:none),(pointer:coarse){
 *,*::before,*::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
 nav div{background:#35363b!important}
 .stat,.hero,.panel,.row,.mrow,.btn,.plancard{animation:none!important}
 .mrow,.row,.opt2,.arow{transition:none!important}
 input,select,textarea{font-size:16px!important}
}
/* Camera was hidden behind pop-ups (pop-ups were raised to 65), so "Capture" could not be tapped */
#camov{z-index:80!important}
#cropov{z-index:92!important}
/* Messages ("Saved", errors) were hidden behind open pop-ups */
#toast{z-index:120!important}
#aa-backup .act{flex-direction:column;gap:8px}#aa-backup .act .btn{margin:0;width:100%}
