/* Dream RPG Reborn v0.65 R39 — simplified text bottom bar and touch-reliable drawer. */
:root{--drr-shell-bottom:58px}
body{padding-bottom:calc(var(--drr-shell-bottom) + env(safe-area-inset-bottom,0px))!important}
.screen{padding-bottom:calc(var(--drr-shell-bottom) + 18px)!important}
.bottom.gameBottom035{height:58px!important;grid-template-columns:repeat(5,minmax(48px,1fr))!important;gap:5px!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))!important}
.bottom.gameBottom035 button{min-height:44px!important;height:44px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;padding:5px 4px!important;touch-action:manipulation!important}
.bottom.gameBottom035 button>span,.bottom.gameBottom035 button img{display:none!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important}
.bottom.gameBottom035 button b{font-size:12px!important;line-height:1.1!important;margin:0!important}
.bottom.gameBottom035 .verChip{display:none!important}

/* Drawer: larger, dependable touch targets and no animation lag while selecting a route. */
.drawer{width:min(360px,94vw)!important;left:min(-370px,-94vw)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-y!important}
.drawer.open{left:0!important;transform:none!important}
#shade.open,#shade.show{display:block!important;opacity:1!important;touch-action:none!important}
.drrNavGroupV050>summary{min-height:52px!important;padding:11px 10px!important;cursor:pointer!important;touch-action:manipulation!important;user-select:none!important}
.drrNavGroupBodyV050{gap:5px!important;padding:7px!important}
.drrNavGroupBodyV050 button,.drrNavGroupBodyV050 a{min-height:48px!important;padding:10px 11px!important;font-size:14px!important;touch-action:manipulation!important;cursor:pointer!important;position:relative!important;z-index:1!important}
.drrNavSearchR29,.drrNavSearchClearR29{touch-action:manipulation!important}
@media(max-width:760px){
 :root{--drr-shell-bottom:56px}
 .bottom.gameBottom035{height:56px!important;padding-top:6px!important;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))!important}
 .bottom.gameBottom035 button{min-height:42px!important;height:42px!important}
 .bottom.gameBottom035 button b{font-size:11px!important}
 .drawer{width:min(350px,94vw)!important;left:min(-360px,-94vw)!important}
 .drrNavGroupV050>summary>small{display:none!important}
}
