html,body {height:100%;min-height:0!important;overflow:hidden!important;}
.scr {height:100dvh;min-height:0!important;max-height:100dvh;overflow:hidden;}
#chapScr.on,#listScr.on {display:flex!important;flex-direction:column;}
.scr > .app-header {flex:0 0 auto;}
.scr > .hub {flex:1 1 auto;min-height:0;max-height:100%;width:100%;overflow:hidden;--screen-fit:1;}
.scr > .hub > * {zoom:var(--screen-fit,1);}
#gameScr .gbody {overflow:hidden!important;--screen-fit:1;}
#gameScr .gbody > * {zoom:var(--screen-fit,1);}
#gameScr .gbody .qimg {object-fit:contain;max-width:100%;}
.screen-page-hidden {display:none!important;}
.screen-pages {display:flex;justify-content:center;align-items:center;gap:16px;margin:10px auto 14px;}
.screen-pages[hidden] {display:none;}
.screen-pages button {border:2px solid #fff;border-radius:16px;padding:8px 18px;background:#851013;color:white;font:700 15px 'Nunito',sans-serif;box-shadow:0 4px 0 #5a0a0c;}
.screen-pages button:disabled {opacity:.4;cursor:default;}
@media(max-width:600px){.scr>.hub{padding:6px 12px 10px!important}.hub-title-section{margin:8px auto!important;padding:4px!important}.screen-pages{margin:8px auto;gap:12px}.screen-pages button{padding:6px 14px}}
