
/* Shared viewport shell. Child activities remain scrollable inside their stage. */
body.garima-playing{overflow:hidden;overscroll-behavior:none}
.garima-play-surface{position:fixed;inset:0;z-index:50;min-width:0;min-height:0;width:100%;height:100vh;height:100dvh;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#edf7ef}
.garima-play-surface[hidden]{display:none!important}
/* The fixed play shell needs a bounded scrolling stage below its HUD. */
@media screen{body.home-playing :is(#library-app,#picture-app,#wordsearch-app,#hindi-colour-app){height:calc(100vh - var(--game-hud) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));height:calc(100dvh - var(--game-hud) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}}
@media print{body.home-playing.garima-play-surface{position:static;inset:auto;height:auto;min-height:0;overflow:visible;padding:0}body.home-playing :is(#library-app,#picture-app,#wordsearch-app,#hindi-colour-app){height:auto;overflow:visible}}
.garima-play-surface button,.garima-play-surface summary,.garima-play-surface select{min-height:44px}
.garima-play-surface button{min-width:44px}
.garima-play-surface :focus-visible{outline:3px solid #d58e19;outline-offset:3px}
.play-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
