html,body{margin:0;height:100%;height:100dvh;overflow:hidden;background:#0d1110;color:#e8efe8;font-family:SF Mono,Menlo,Consolas,monospace;user-select:none;-webkit-user-select:none}#game{display:block;width:100%;height:100%;touch-action:none}#hud{position:fixed;left:calc(16px + env(safe-area-inset-left));top:calc(16px + env(safe-area-inset-top));z-index:2;padding:12px 14px;min-width:220px;background:#080c0bb8;border:1px solid rgba(232,239,232,.12);border-radius:8px;line-height:1.5;pointer-events:none;font-size:13px}#hud strong{color:#8fd0ff}#hud.is-touch{min-width:0;padding:7px 10px;font-size:11px;line-height:1.35;background:#080c0b5c;border-color:#e8efe814}#gate{position:fixed;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;background:#080c0bd1}#gate.hidden{display:none}#gate>label{font-size:14px;color:#c5d4c8}#gate input[name=name]{width:220px;min-height:44px;padding:10px 12px;border:1px solid rgba(232,239,232,.18);border-radius:8px;background:#141a18;color:#e8efe8;font:inherit;user-select:text;-webkit-user-select:text}#character-pick{margin:8px 0 0;padding:0;border:0;max-width:min(920px,100%)}#character-pick legend{padding:0 0 10px;font-size:14px;color:#c5d4c8}#character-pick .cards{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;-webkit-overflow-scrolling:touch}#character-pick label{position:relative;flex:0 0 auto;width:132px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px;border:1px solid rgba(232,239,232,.16);border-radius:10px;background:#141a18;cursor:pointer}#character-pick input{position:absolute;opacity:0;pointer-events:none}#character-pick label:has(input:focus-visible){outline:2px solid #8fd0ff;outline-offset:2px}#character-pick label:has(input:checked){border-color:#8fd0ff;background:#1b2830}#character-pick img{display:block;width:116px;height:116px;object-fit:contain;background:#0d1110;border-radius:6px}#character-pick span{font-size:13px;color:#e8efe8}#gate>button[type=submit]{min-height:44px;padding:12px 28px;border:0;border-radius:8px;background:#3d7a52;color:#e8efe8;font:inherit;cursor:pointer}#touch{position:fixed;inset:0;z-index:2;pointer-events:none}#touch.hidden{display:none}.touch-stick{pointer-events:auto;position:absolute;left:calc(36px + env(safe-area-inset-left));bottom:calc(36px + env(safe-area-inset-bottom));width:140px;height:140px;touch-action:none}.touch-stick-ring,.touch-stick-base{position:absolute;inset:0;border-radius:50%;box-sizing:border-box}.touch-stick-ring{border:2px solid rgba(232,239,232,.22);background:#080c0b47}.touch-stick.is-active .touch-stick-ring{border-color:#8fd0ffbf;box-shadow:0 0 0 4px #8fd0ff1f}.touch-stick-base{inset:22%;border:1px solid rgba(232,239,232,.16);background:#141a1873}.touch-stick-knob{position:absolute;left:50%;top:50%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:50%;background:#e8efe8c7;box-shadow:0 2px 8px #00000059}.touch-skill-wrap{pointer-events:none;position:absolute;right:calc(56px + env(safe-area-inset-right));bottom:calc(56px + env(safe-area-inset-bottom));width:80px;height:80px}.touch-skill-aim{position:absolute;left:50%;bottom:50%;width:8px;height:92px;margin-left:-4px;border-radius:4px 4px 2px 2px;background:linear-gradient(#8fd0fff2,#8fd0ff26);transform-origin:center bottom;pointer-events:none;opacity:0}.touch-skill-aim.is-on{opacity:1}.touch-skill{pointer-events:auto;position:relative;width:80px;height:80px;border:2px solid rgba(232,239,232,.28);border-radius:50%;background:#3d7a52e0;color:#e8efe8;font:inherit;font-size:15px;touch-action:none;cursor:pointer;outline:none;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;overflow:hidden}.touch-skill:focus,.touch-skill:focus-visible,.touch-skill:active{outline:none}.touch-skill.is-cooling{opacity:.45}
