/* EMPIRE ZERO: one primary action + one collapsible menu. CSS only hides
 * original buttons visually; their native handlers, shortcuts and APIs survive. */
#ezSimplePlay,#ezMore,#ezSimpleRestore{display:none!important}
body.ez-simple-play .top-actions #cameraButton,
body.ez-simple-play .top-actions #graphicsButton,
body.ez-simple-play .top-actions #careerOpen,
body.ez-simple-play .top-actions #streetOpen,
body.ez-simple-play .top-actions #garageButton,
body.ez-simple-play .top-actions #ezCrewNav,
body.ez-simple-play .top-actions #ventureButton,
body.ez-simple-play .top-actions #pause,
body.ez-simple-play .top-actions #ezSessionLaunch{display:none!important}
body.ez-simple-play .top-actions #ezSimplePlay,
body.ez-simple-play .top-actions #ezMore{display:inline-flex!important;min-height:44px!important;align-items:center;justify-content:center;gap:6px;padding:10px 15px!important;font:800 12px/1.1 system-ui,sans-serif!important;letter-spacing:.015em!important;border:1px solid rgba(232,213,184,.35)!important;border-radius:22px!important;color:#eee8de!important;background:#122128!important;width:auto!important;white-space:nowrap!important;min-width:72px!important}
body.ez-simple-play .top-actions #ezSimplePlay{background:#e2c296!important;color:#182127!important;border-color:#e2c296!important;min-width:122px!important}
body.ez-simple-classic .top-actions #ezSimpleRestore{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;border:1px solid #e0bf95;border-radius:22px;background:#e0bf95;color:#111b21;font:800 11px system-ui}
#ezSimpleMenu[hidden],#ezSimpleCoach[hidden]{display:none!important}
/* The contextual button owns the same F/enter action; hide the duplicate legacy prompt in Simple mode only. */
body.ez-simple-play #hud #interact{display:none!important}
#ezSimpleMenu{position:fixed;right:max(12px,env(safe-area-inset-right,0px));top:66px;z-index:3200;width:min(334px,calc(100vw - 24px));padding:14px;border-radius:19px;border:1px solid #53636b;background:rgba(11,22,28,.98);color:#eee8df;box-shadow:0 16px 60px #000b;max-height:calc(100dvh - 82px);overflow-y:auto;overscroll-behavior:contain}
#ezSimpleMenu .ez-simple-menu-head{display:grid;gap:3px;margin-bottom:12px}
#ezSimpleMenu .ez-simple-menu-head strong{font:800 12px system-ui}
#ezSimpleMenu .ez-simple-menu-head small{font:10px system-ui;color:#a3adae}
#ezSimpleMenu .ez-simple-menu-rows{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ezSimpleMenu .ez-simple-menu-item{display:flex;flex-direction:column;align-items:start;justify-content:space-between;gap:9px;text-align:left;min-height:68px;padding:12px;border:1px solid #41565d;border-radius:12px;background:#1b2b33;color:#f0eae1;font:750 12px/1.3 system-ui}
#ezSimpleMenu .ez-simple-menu-item small{color:#b69c7e;font:700 10px system-ui}
#ezSimpleMenu .ez-simple-menu-foot{display:grid;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid #33464d}
#ezSimpleMenu .ez-simple-menu-foot p{margin:0;color:#b5beba;font:11px/1.6 system-ui}
#ezSimpleMenu .ez-simple-full{min-height:45px;border-radius:22px;background:#d7ba93;border:1px solid #e5cbab;color:#122027;font:800 11px system-ui}
body.ez-simple-play #hud #ezSimpleCoach{position:absolute;left:50%;bottom:clamp(19px,4vh,44px);transform:translateX(-50%);z-index:12;display:grid;justify-items:center;gap:7px;width:min(300px,calc(100vw - 28px));pointer-events:none}
body.ez-simple-play #hud #ezSimpleAction{pointer-events:auto;min-width:172px;min-height:48px;padding:11px 20px;border:1px solid #ebd0a6;border-radius:24px;background:#e0bf94;color:#152126;font:850 12px system-ui;box-shadow:0 7px 23px #0007}
body.ez-simple-play #hud #ezSimpleAction:disabled{opacity:.5;cursor:not-allowed}
body.ez-simple-play #hud .ez-simple-hint{margin:0;max-width:100%;text-align:center;color:#f3eee6;background:#09151bd6;padding:6px 11px;border-radius:12px;font:650 10px/1.4 system-ui;text-shadow:0 1px #000a}
#ezSimpleMenu button:focus-visible,#ezSimpleAction:focus-visible,#ezMore:focus-visible,#ezSimplePlay:focus-visible,#ezSimpleRestore:focus-visible{outline:2px solid #f6e9d4!important;outline-offset:3px!important}
@media(pointer:coarse){
 body.ez-simple-play .top-actions #ezSimplePlay{min-width:80px!important;padding:10px 12px!important;font-size:11px!important}
 body.ez-simple-play .top-actions #ezMore{min-width:65px!important;padding:10px 11px!important}
 body.ez-simple-play #hud #ezSimpleCoach{bottom:calc(174px + env(safe-area-inset-bottom,0px));width:min(210px,calc(100vw - 30px));gap:4px}
 body.ez-simple-play #hud #ezSimpleAction{min-height:44px;min-width:142px;padding:9px 12px;font-size:11px}
 body.ez-simple-play #hud .ez-simple-hint{display:none}
}
@media(pointer:coarse) and (orientation:landscape){
 body.ez-simple-play #hud #ezSimpleCoach{bottom:calc(120px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:420px){
 body.ez-simple-play .top{gap:7px!important}
 body.ez-simple-play .top .brand img{max-width:92px!important}
 body.ez-simple-play .top-actions{gap:5px!important}
 body.ez-simple-play .top-actions #ezSimplePlay{min-width:75px!important;font-size:10px!important;padding:8px!important}
 body.ez-simple-play .top-actions #ezMore{min-width:54px!important;padding:8px!important;font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){#ezSimpleMenu button,#ezSimpleAction{transition:none!important}}