:root{color:#403934;background:#d9d6ce;font-family:system-ui,sans-serif;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
body{background:radial-gradient(ellipse at 52% 38%,#eeece5,#cfcbc5);touch-action:none}
body.falling{background:#000}
body.falling nav,body.falling #joystick{display:none}
[hidden]{display:none!important}.defs{position:absolute;width:0;height:0}
#world{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}
button,input{font:inherit;color:inherit}
button{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #71634d45;border-radius:12px;background:#faf5e8;cursor:pointer;touch-action:manipulation}
button[aria-pressed=true],button:active{background:#e9dac0}
button:focus-visible,input:focus-visible{outline:2px solid #89714b;outline-offset:2px}
button:disabled{opacity:.54}
svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#issue{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;gap:8px;padding:8px;border-radius:16px;background:#fcf8eb;box-shadow:0 8px 36px #554b3732}
#nickname{width:min(210px,55vw);min-width:0;border:1px solid #71634d45;border-radius:11px;padding:0 12px;background:#fffdf5;font-size:16px}
#issue-check,#finish{background:#e8d599}
#walk-tools button{position:absolute;box-shadow:0 3px 12px #35322922}
#copy{right:max(16px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top))}
#brush-tool{left:50%;transform:translateX(-50%);bottom:max(20px,env(safe-area-inset-bottom));background:#e8d599}
#zoom{position:absolute;right:max(16px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:grid;gap:6px}
#zoom button{position:static}
#draw-tools{position:absolute;left:50%;transform:translateX(-50%);bottom:max(16px,env(safe-area-inset-bottom));display:flex;gap:3px;padding:5px;background:#fcf8eb;border-radius:15px;box-shadow:0 4px 24px #554b372e}
#draw-tools button{width:clamp(32px,10.4vw,45px);border-color:transparent}
#draw-tools button[aria-pressed=true]{border-color:#887c64}
#joystick{position:absolute;width:78px;height:78px;border:1px solid #685d4970;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;display:grid;place-items:center;background:#f6edce55}
#joystick i{width:30px;height:30px;border:1px solid #6f604d60;background:#dccbb1;border-radius:50%}
#notice{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);color:#a4494d}
#notice svg{width:48px;height:48px}
.feedback{outline:2px solid #b05256!important;animation:nudge .32s ease}
@keyframes nudge{30%{translate:-4px}70%{translate:4px}}
