/* Bayān 13.6.2 — correctif WebKit/Safari : étendue verticale du document.
   Ne jamais appliquer overflow-x:clip/hidden à la racine html/body : sur iOS
   cela peut réduire la zone de scroll alors que les derniers enfants restent peints. */
html{
  overflow-x:visible!important;
  overflow-y:visible!important;
  height:auto!important;
  max-height:none!important;
}
body.app-quran:not(.v7-drawer-open){
  overflow-x:visible!important;
  overflow-y:visible!important;
  height:auto!important;
  max-height:none!important;
  min-height:100vh!important;
  min-height:100svh!important;
}
/* Le masquage horizontal est reporté sur l'enveloppe, pas sur le viewport racine. */
body.app-quran .app-shell{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow-x:clip!important;
  overflow-y:visible!important;
}
body.app-quran main,
body.app-quran .view,
body.app-quran #homeView,
body.app-quran .v133-home,
body.app-quran .v133-home-grid,
body.app-quran .v133-home-more{
  height:auto!important;
  max-height:none!important;
  overflow-y:visible!important;
}
body.app-quran #homeView,
body.app-quran .v133-home{
  contain:none!important;
}
body.app-quran .v133-home-more{
  position:static!important;
  clear:both!important;
  align-items:stretch!important;
}
body.app-quran .v133-home-more > button{
  position:static!important;
  height:auto!important;
  min-height:48px!important;
  max-height:none!important;
  overflow:visible!important;
}
/* Garantit une vraie fin de document au-delà des dernières actions, y compris
   avec les barres dynamiques de Safari iOS. */
body.app-quran #homeView::after{
  content:"";
  display:block;
  width:1px;
  height:max(28px,env(safe-area-inset-bottom));
  pointer-events:none;
}
@media(max-width:600px){
  body.app-quran .v133-home-more{
    grid-template-columns:1fr!important;
  }
  body.app-quran .v133-home-more > button{
    width:100%!important;
    min-height:48px!important;
  }
}
