/* BETA 45 mobile scroll fix: landing and character wizard must scroll; active game stays paged. */
@media (max-width:850px){
  html:not(:has(.layout)), body:not(:has(.layout)) {height:auto!important;max-height:none!important;min-height:100%;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;touch-action:pan-y!important;}
  body:not(:has(.layout)) .shell {height:auto!important;max-height:none!important;min-height:100dvh!important;overflow:visible!important;padding:12px!important;display:block!important;}
  body:not(:has(.layout)) #app {height:auto!important;max-height:none!important;overflow:visible!important;display:block!important;}
  body:not(:has(.layout)) .v19-landing {height:auto!important;max-height:none!important;min-height:calc(100dvh - 70px);overflow:visible!important;padding-bottom:35px!important;}
  body:not(:has(.layout)) .v19-slots {scroll-margin-top:14px;}
  body:not(:has(.layout)) .panel, body:not(:has(.layout)) .hero {max-height:none!important;overflow:visible!important;}
}

/* BETA 48: prevent Netlify badge from covering mobile navigation. */
#nl-badge-frame { display: none !important; }

