html,body{background:#07040f;height:100%;margin:0;overflow:hidden}#app{place-items:center;width:100vw;height:100vh;display:grid}#game{image-rendering:pixelated;image-rendering:crisp-edges;display:block}#app{position:relative}#fullscreen{z-index:2;color:#ffd95a;cursor:pointer;background:#07040fb3;border:2px solid #ffd95a;border-radius:6px;width:40px;height:40px;font-size:20px;line-height:1;transition:opacity .3s;position:absolute;top:12px;right:12px}#fullscreen:hover,#fullscreen:focus-visible{color:#07040f;background:#ffd95a}#fullscreen.idle{opacity:0;pointer-events:none}#touch{display:none}body.touch{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}body.touch #touch{pointer-events:none;z-index:3;display:block;position:fixed;inset:0}#touch button,#t-stick{pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;color:#fff;font-family:"Press Start 2P",monospace}#t-stick{left:calc(18px + env(safe-area-inset-left));bottom:calc(18px + env(safe-area-inset-bottom));background:#ffffff1a;border:2px solid #ffffff59;border-radius:50%;width:128px;height:128px;position:absolute}#t-knob{pointer-events:none;background:#ffd95a8c;border:2px solid #ffd95a;border-radius:50%;width:56px;height:56px;position:absolute;top:34px;left:34px}#t-buttons{right:calc(16px + env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));grid-template-rows:40px 60px;grid-template-columns:repeat(3,60px);grid-template-areas:"ex super super""p k s";gap:10px;display:grid;position:absolute}#t-buttons button{background:#07040f73;border:2px solid #fff9;border-radius:50%;padding:0;font-size:14px}#t-buttons button.down{color:#07040f;background:#ffd95abf}#t-p{grid-area:p;border-color:#ff6b5a!important}#t-k{grid-area:k;border-color:#5ab8ff!important}#t-s{grid-area:s;border-color:#ffd95a!important}#t-ex,#t-super{border-radius:10px!important;font-size:9px!important}#t-ex{grid-area:ex}#t-super{grid-area:super}#t-esc{left:calc(12px + env(safe-area-inset-left));top:calc(12px + env(safe-area-inset-top));background:#07040f8c;border:2px solid #ffffff80;border-radius:6px;height:32px;padding:0 10px;font-size:9px;position:absolute}@media (height<=450px){#t-stick{width:104px;height:104px;left:calc(10px + env(safe-area-inset-left));bottom:calc(10px + env(safe-area-inset-bottom))}#t-knob{width:48px;height:48px;top:26px;left:26px}#t-buttons{right:calc(10px + env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));grid-template-rows:32px 50px;grid-template-columns:repeat(3,50px);gap:8px}#t-buttons button{font-size:12px}}#rotate{display:none}@media (orientation:portrait){body.touch #rotate{left:0;right:0;top:calc(64px + env(safe-area-inset-top));text-align:center;pointer-events:none;z-index:1;font-family:"Press Start 2P",monospace;display:block;position:fixed}}#rotate p{color:#ffd95a;text-shadow:2px 2px #c0392b;margin:0 0 10px;font-size:13px}#rotate p.sub{color:#d8d0e8;text-shadow:none;font-size:9px}#rotate p.tip{color:#6fc3ff;margin-top:18px}
