*{box-sizing:border-box}html,body{margin:0;height:100%;background:#000;color:#ddd;font-family:ui-monospace,Menlo,Consolas,monospace;overscroll-behavior:none}body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#app{height:100%;display:flex;flex-direction:column;align-items:center;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.bar{width:100%;max-width:1024px;display:flex;justify-content:space-between;align-items:center;padding:8px 12px;font-size:13px}.bar a{color:#8a8a8a;text-decoration:none}.bar a:hover{color:#fff}.tools{display:flex;gap:8px}button{font:inherit;color:#ddd;background:#111;border:1px solid #333;border-radius:6px;padding:4px 10px;cursor:pointer;touch-action:manipulation}button:hover{border-color:#666}button:focus-visible{outline:2px solid #fff}#stage{flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;padding:0 8px;overflow:hidden}#screen{display:block;background:#000;border:1px solid #1a1a1a}#touch{display:none}.help{margin:8px 0 12px;font-size:12px;color:#666;text-align:center}body.touch .help{display:none}body.touch #touch{width:100%;max-width:640px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px 16px;touch-action:none}body.touch #touch .cluster{display:flex;align-items:center;gap:10px}body.touch #touch button{width:68px;height:68px;border-radius:50%;font-size:26px;background:#0d0d0d;border:2px solid #555;color:#fff;touch-action:none}body.touch #touch button.small{width:58px;height:58px;font-size:10px}body.touch #touch #btn-fire{width:84px;height:84px;font-size:16px;font-weight:700;border-color:#aaa}body.touch #touch button.down{background:#333}@media(max-width:420px){.bar{font-size:11px;padding:6px 8px}body.touch #touch{padding:10px 8px 14px;gap:6px}body.touch #touch .cluster{gap:6px}body.touch #touch button{width:58px;height:58px}body.touch #touch button.small{width:50px;height:50px}body.touch #touch #btn-fire{width:72px;height:72px}}
