/* Nine Slide v7.11.444 — rodape nativo visivel em overlays iOS.
   v442 usava body::after com z-index:9; overlays tem z-index:30 e
   cobriam a faixa azul. O AdMob nativo fica acima do WebView. */
html[data-nine-platform="ios"].nine-native-banner-active body::after{
  z-index:100500!important;
  background:#bceeff!important;
  pointer-events:none!important;
}

/* O viewport rolavel de cada tela termina ANTES do banner (50pt + safe area).
   Não basta padding na pagina: em scroll intermediario controles ficariam sob o ad. */
html[data-nine-platform="ios"].nine-native-banner-active #achievements,
html[data-nine-platform="ios"].nine-native-banner-active #tutorial,
html[data-nine-platform="ios"].nine-native-banner-active #profile,
html[data-nine-platform="ios"].nine-native-banner-active #ranking,
html[data-nine-platform="ios"].nine-native-banner-active #friendChallenge,
html[data-nine-platform="ios"].nine-native-banner-active #trajectory{
  bottom:var(--nine-ios-banner-dock)!important;
  padding-bottom:0!important;
  box-sizing:border-box!important;
}
html[data-nine-platform="ios"].nine-native-banner-active #achievements .achievementsPage,
html[data-nine-platform="ios"].nine-native-banner-active #tutorial .tutorialPage,
html[data-nine-platform="ios"].nine-native-banner-active #profile .playerPage,
html[data-nine-platform="ios"].nine-native-banner-active #ranking .rankingPage,
html[data-nine-platform="ios"].nine-native-banner-active #friendChallenge .friendChallengePage{
  padding-bottom:max(24px, env(safe-area-inset-bottom, 0px))!important;
}
/* Trajetoria usa pagina flex de 100dvh. Dentro de overlay reduzido deve
   obedecer ao tamanho disponivel para não cortar a navegacao. */
html[data-nine-platform="ios"].nine-native-banner-active #trajectory .trajectoryPage{
  height:100%!important;
  max-height:100%!important;
  min-height:0!important;
}
