:root{font-family:Malgun Gothic,Apple SD Gothic Neo,system-ui,sans-serif;color:#e5debd;background:#081522;color-scheme:dark}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}body{background:radial-gradient(ellipse at 30% 28%,#172f41,#081522 70%)}.game-shell{position:fixed;inset:0;width:100%;height:100%;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(ellipse at 30% 28%,#172f41,#081522 70%)}.game-shell:fullscreen{width:100%;height:100%}#game-screen{position:relative;width:100%;height:100%;min-width:0;min-height:0}canvas{display:block;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}[hidden],canvas[hidden]{display:none!important}.system-tools{position:absolute;z-index:2;display:flex;gap:6px;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}.system-tools button{display:grid;place-items:center;width:36px;height:36px;padding:8px;border:1px solid #81947e55;border-radius:9px;background:#0a1c2bd9;color:#c4cbb1;cursor:pointer;-webkit-tap-highlight-color:transparent}.system-tools button:hover,.system-tools button[aria-pressed=true]{background:#28433d;border-color:#aaad7f}.system-tools button:disabled{opacity:.25}.system-tools svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,canvas:focus-visible{outline:2px solid #c2be87;outline-offset:-2px}.notice{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;background:#081522}.notice h2{color:#e5debd;font-size:24px;font-weight:500;letter-spacing:.16em}.notice p{max-width:380px;color:#9cafa9;font-size:14px;line-height:1.8}@media(max-width:400px),(max-height:400px){.system-tools{gap:4px}.system-tools button{width:32px;height:32px;padding:7px}}
