/* Mobile-only layout corrections; original guide, themes, gallery and content remain intact. */
@media(max-width:767px){
 #go-theme-control{top:calc(env(safe-area-inset-top,0px) + 76px);right:10px;z-index:70}
 #go-theme-control summary{font-size:13px;padding:7px 10px}
 #go-english-link{bottom:calc(9.2rem + env(safe-area-inset-bottom))!important;right:10px!important;font-size:12px!important;padding:7px 9px!important}
 .site-guide{right:12px;bottom:calc(5.8rem + env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}
 .site-guide>.btn-gold,.site-guide>button{max-width:calc(100vw - 24px);font-size:14px}
 .guide-panel{box-sizing:border-box;width:min(390px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:min(62dvh,520px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px;margin-bottom:10px}
 body.go-guide-open .site-guide{position:fixed!important;z-index:2147483002!important;left:12px!important;right:12px!important;bottom:auto!important;top:calc(var(--go-visible-top,0px) + 10px)!important;max-width:none!important;display:flex;flex-direction:column-reverse;align-items:stretch;gap:8px}
 body.go-guide-open .guide-panel{width:100%;max-width:none;max-height:calc(var(--go-visible-height,100dvh) - 86px);margin:0;overflow:auto}
 body.go-guide-open .site-guide>button{align-self:flex-end;flex-shrink:0;padding:8px 12px;font-size:13px}
 body.go-guide-open #go-theme-control,body.go-guide-open #go-english-link,body.go-guide-open .mobile-actions{visibility:hidden!important;pointer-events:none!important}
 body.go-guide-open .site-guide input,body.go-guide-open .site-guide textarea{font-size:16px!important;min-width:0}
 body.go-guide-open .site-guide form{max-width:100%;min-width:0}
}
