*{box-sizing:border-box}body{margin:0;background:#080e1b;color:#fff;font-family:system-ui,-apple-system,'Noto Sans JP',sans-serif}.shoot-shell{max-width:440px;margin:auto;padding:3px 6px max(4px,env(safe-area-inset-bottom))}.stage{position:relative;width:100%;height:calc(100svh - 225px);min-height:280px;max-height:740px;overflow:hidden;border:1px solid #45516a;border-radius:10px;background:#080e1b}canvas{display:block;width:100%;height:100%;touch-action:none}.hud{position:absolute;top:6px;left:10px;right:6px;display:flex;align-items:center;gap:12px;pointer-events:none;font-size:13px;text-shadow:0 1px 4px #000}.hud strong{flex:1}.hud #life{color:#ffa8c5;letter-spacing:2px}.hud button{pointer-events:auto;width:44px;height:44px;background:#19283c;color:#fff;border:1px solid #65728a;border-radius:8px}.phase{position:absolute;top:53px;left:10px;font-size:10px;color:#b8c9df;pointer-events:none}.overlay{position:absolute;inset:0;display:grid;place-items:center;background:#080e1bc9;padding:12px}.overlay[hidden]{display:none}.panel{max-width:320px;width:100%;text-align:center;background:#fff;color:#2a2328;border-radius:12px;padding:12px}.panel img{display:block;margin:auto;width:clamp(70px,19svh,144px);height:clamp(70px,19svh,144px);object-fit:cover;border-radius:50%;border:3px solid #dfad68}.panel p{margin:8px 0;font-size:14px}.panel #hint{font-size:12px;color:#6e626a}.panel #result:empty{display:none}.panel button{width:100%;min-height:46px;border:0;border-radius:8px;background:#eef0f3;color:#2a2328;font-size:16px;font-weight:700}.panel small{display:block;margin-top:6px;color:#6e626a}.controls{display:flex;gap:6px;margin-top:5px}.weapons{display:flex;flex:1;gap:4px}button{font:inherit;touch-action:manipulation;cursor:pointer}.weapons button{flex:1;min-height:48px;border:1px solid #526079;border-radius:8px;background:#192437;color:#cbd5e6;font-size:13px}.weapons small{display:block;font-size:10px;color:#a9bdd2}.weapons button[aria-pressed=true]{border:2px solid #f2c677;color:#ffda80;background:#293448}.weapons button[aria-pressed=true]::before{content:'✓ '}.controls #union{width:112px;border:1px solid #cda55d;border-radius:8px;background:#3c3540;color:#ffe0a0;font-size:13px;font-weight:bold}#union:disabled{color:#bcc4d0;border-color:#526079;background:#192437}#union.ready{background:#69502c;border-color:#ffe3a4;box-shadow:inset 0 0 12px #c59c4a55}.meter{display:block;height:4px;background:#080e1b;margin:7px 8px 0;border-radius:4px;overflow:hidden}.meter i{display:block;width:30%;height:100%;background:#ffda80}.buddy{display:flex;align-items:center;gap:9px;min-height:54px;padding-top:3px}.buddy img{width:48px;height:48px;object-fit:cover;border-radius:50%;border:1px solid #dfad68}.buddy p{font-size:12px;margin:0;color:#e1eaf6}button:focus-visible{outline:2px solid #fff;outline-offset:2px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.notice{position:absolute;top:32%;left:50%;transform:translateX(-50%);padding:8px 16px;white-space:nowrap;background:#10283ee6;border:1px solid #dfad68;border-radius:8px;color:#ffe1a1;font-size:17px;font-weight:800;pointer-events:none}.notice[hidden]{display:none}.overlay[data-outcome=won] .panel{border:2px solid #dfad68;box-shadow:0 0 24px #dfad6840}.overlay[data-outcome=won] #message{font-weight:800;color:#7c591e}.panel #result{font-size:16px;font-weight:750}.panel #best[data-record=true]{color:#8a5e10;font-weight:800}
