.game-menu-trigger{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;min-width:76px;width:auto!important;max-width:100%;margin-left:auto;padding:9px 14px!important;border:1px solid #66818d!important;border-radius:6px!important;background:#133448!important;color:#fff0d0!important;font:700 13px/1.3 system-ui,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;cursor:pointer;touch-action:manipulation}.game-menu-trigger::before{content:'☰';margin-right:8px;font-size:15px;line-height:1}.game-menu-trigger:focus-visible,#gameMenuDialog button:focus-visible{outline:3px solid #81e6d2;outline-offset:3px}.catalog-header:has(.game-menu-trigger),.mission-header:has(.game-menu-trigger),#intro header:has(.game-menu-trigger),body>header:has(.game-menu-trigger){align-items:center;gap:12px;flex-wrap:wrap}#paused .game-menu-trigger,#result .game-menu-trigger,#overlay .game-menu-trigger{display:flex!important;width:100%!important;margin-top:12px}
#gameMenuDialog{box-sizing:border-box;width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;color-scheme:dark;margin:auto;padding:22px;border:1px solid #66818d;border-radius:12px;background:#102d40;color:#fff0d0;font:15px/1.45 system-ui,sans-serif;text-align:left;box-shadow:0 18px 70px #0006}#gameMenuDialog::backdrop{background:#031321d9}#gameMenuDialog .game-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}#gameMenuDialog h2{font:30px/1.15 Impact,'Arial Black',sans-serif;letter-spacing:normal;margin:0;color:#f9ce71}#gameMenuDialog button{box-sizing:border-box;font:700 15px/1.4 system-ui,sans-serif;cursor:pointer;touch-action:manipulation;border-radius:6px;min-height:48px;margin:0}#gameMenuDialog .game-menu-close{width:44px;min-height:44px;padding:4px;background:transparent;color:#fff0d0;border:1px solid #547485;font-size:26px;line-height:1}#gameMenuDialog .game-menu-options{display:grid;gap:10px}#gameMenuDialog .game-menu-options button{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:16px;background:#183c50;border:1px solid #547485;color:#fff0d0;text-align:left}#gameMenuDialog small{font:13px/1.3 system-ui,sans-serif;color:#81e6d2;letter-spacing:normal}#gameMenuDialog #menuInstall>span{color:#81e6d2}@media(max-width:600px){.catalog-header:has(.game-menu-trigger),.mission-header:has(.game-menu-trigger),#intro header:has(.game-menu-trigger),body>header:has(.game-menu-trigger){gap:8px}.mission-header:has(.game-menu-trigger)>span,#intro header:has(.game-menu-trigger)>span,body>header:has(.game-menu-trigger)>span{display:none}.game-menu-trigger{min-width:76px;padding:9px 12px!important;font-size:12px!important}}@media(max-height:430px){#gameMenuDialog{padding:16px}#gameMenuDialog .game-menu-heading{margin-bottom:12px}#gameMenuDialog .game-menu-options button{padding:12px 14px}}
/* Keep the phone artwork below a dedicated navigation band, never under buttons. */
@media(max-width:600px) and (orientation:portrait){#mission:has(.game-menu-trigger) .mission-header{height:calc(68px + env(safe-area-inset-top));min-height:calc(68px + env(safe-area-inset-top));flex-wrap:nowrap;background:#081e30;padding:calc(12px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left))}#mission:has(.game-menu-trigger) .mission-art{top:calc(68px + env(safe-area-inset-top))}#mission:has(.game-menu-trigger) .mission-copy{margin-top:66.667vw}}
/* The full localized sound state stays in the accessible text. */
@media(max-width:600px){#intro header:has(.game-menu-trigger) #mute{flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:8px;font-size:0}#intro header:has(.game-menu-trigger) #mute::before{content:'♫';font:20px/1 system-ui,sans-serif}}

@media(max-width:600px){#intro header:has(.game-menu-trigger) #mute[data-muted="true"]::before{content:'♪̸'}}
