html,body{background:#222;height:100%;margin:0;font-family:system-ui,sans-serif;overflow:hidden}canvas{display:block}#hud{color:#fff;text-shadow:0 2px 4px #000;pointer-events:none;justify-content:space-between;font-size:28px;display:flex;position:fixed;top:10px;left:10px;right:10px}#msg{text-align:center;color:#ffe066;text-shadow:0 3px 6px #000;pointer-events:none;width:100%;font-size:44px;position:fixed;top:30%}#pad{-webkit-user-select:none;user-select:none;touch-action:none;justify-content:space-between;align-items:flex-end;display:flex;position:fixed;bottom:14px;left:14px;right:14px}#dpad{grid-template:repeat(3,64px)/repeat(3,64px);gap:4px;display:grid}#dpad .u{grid-area:1/2}#dpad .l{grid-area:2/1}#dpad .r{grid-area:2/3}#dpad .d{grid-area:3/2}#pad button{color:#fff;touch-action:none;background:#0008;border:3px solid #fff;border-radius:14px;font-size:26px}#fire{width:140px;height:100px;font-weight:700;background:#d33!important;font-size:28px!important}#menu{color:#fff;text-align:center;background:#000b;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:20px;display:flex;position:fixed;inset:0}#menu h1{color:#ffd23f;margin:0;font-size:48px}#menu p{max-width:600px;margin:0;font-size:26px}#start{cursor:pointer;background:#ffd23f;border:0;border-radius:20px;padding:14px 40px;font-size:40px}
