/* Rüya Ailem V2.0.4 — iPhone/PWA scroll stabilization */
html,body{overscroll-behavior-x:none;overscroll-behavior-y:none}
@media(max-width:780px){
 body:has(.role-parent){overscroll-behavior-y:none!important;background:#f4f6fb!important}
 .role-parent .main,.role-parent .parentMain{overflow-x:clip!important;min-height:100dvh!important}
 .role-parent .parentTeacherHome,.role-parent .v5ParentPage{overscroll-behavior-y:none!important;transform:none!important}
 .role-parent .v52ParentHeader{margin-top:0!important}
 body:not(.v760ParentSubPage) #v760ParentTopbar{display:none!important}
}

/* V2.0.4 customizer/footer cleanup is also built into main CSS. */

/* Fallback: React customizer is a full visual-viewport sheet on mobile. */
@media(max-width:780px){
 body.parentCustomizerOpen .role-parent .bottomNav{display:none!important}
 .parentCustomizerBack{height:var(--ruya-customizer-vh,100dvh)!important;max-height:var(--ruya-customizer-vh,100dvh)!important;padding:0!important}
 .parentCustomizerPanel{height:100%!important;max-height:100%!important;border-radius:0!important;grid-template-rows:auto minmax(0,1fr) auto!important}
 .parentCustomizerPanel>main{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
 .parentCustomizerPanel>footer{position:relative!important;bottom:auto!important;z-index:50!important}
}
