:root{font-family:Arial,Helvetica,sans-serif;color:#23392f;background:#d9e2df;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;color:inherit;background:#f6f6eef5;min-height:44px;border-radius:8px;padding:0 16px;font-size:14px;font-weight:600}button:hover{background:#e9ece2}button:active{background:#d8dfcf}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #bf7f3b;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}#world,#view{position:fixed;inset:0;width:100%;height:100%;display:block}#view{touch-action:none;outline:none}.top{position:absolute;top:max(22px,env(safe-area-inset-top));left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}.top>*{pointer-events:auto}.brand{display:flex;gap:10px;align-items:center;color:#203d31;text-decoration:none;background:#f6f6eef2;padding:12px 16px;border-radius:8px;font-weight:800;font-size:17px;letter-spacing:.08em}.brand svg{width:30px;height:30px;stroke:none}.brand small{display:block;font-size:11px;letter-spacing:0;font-weight:400;margin-top:3px;color:#516057}nav{display:flex;gap:7px}nav button{box-shadow:0 3px 15px #22352a14}.icon{padding:0;width:44px;flex-shrink:0}#zonesButton svg{margin-left:12px}.panel{position:absolute;background:#f6f6eefc;border-radius:12px;box-shadow:0 10px 35px #172b2726;padding:10px;z-index:10}#zones{right:142px;top:94px;width:240px;max-height:calc(100dvh - 120px);overflow:auto}#zones button{width:100%;text-align:left;background:transparent;font-weight:400;display:flex;align-items:center;gap:12px}#zones button:hover{background:#e6e9df}#zones .dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.welcome{position:absolute;top:50%;left:7%;transform:translateY(-42%);max-width:380px;padding:30px;background:#f6f6eef5;border-radius:12px;box-shadow:0 12px 45px #1a302a22}.welcome h1{font-size:32px;line-height:1.1;letter-spacing:-.025em;margin:0 0 16px;font-weight:600;text-wrap:balance}.welcome p{font-size:16px;line-height:1.6;margin:0 0 25px;color:#526057}.primary{background:#274a37;color:#fff;min-height:50px;width:100%;font-size:15px}.primary:hover{background:#365d46}.welcome span{display:block;font-size:11px;color:#58645c;text-align:center;margin-top:13px}.help{top:94px;right:28px;width:340px;max-height:calc(100dvh - 120px);overflow:auto;padding:24px}.help h2{margin:0 30px 20px 0;font-size:22px}.help p{font-size:14px;line-height:1.65}.help hr{border:0;border-top:1px solid #d7dccf}.muted{color:#5a675f;font-size:12px!important}.close{position:absolute;top:10px;right:10px;font-size:27px;font-weight:400}.location{position:absolute;top:108px;left:30px;padding:8px 12px;background:#f6f6eee6;font-size:12px;border-radius:5px}.map{position:absolute;left:28px;bottom:28px;background:#f6f6eef2;border-radius:9px;width:150px;overflow:hidden;box-shadow:0 5px 22px #24362b20}.map>button{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;font-size:11px;min-height:36px;padding:0 12px;border-radius:0;background:transparent}.map canvas{width:150px;height:200px;display:block}.map.collapsed canvas{display:none}.map.collapsed svg{transform:rotate(180deg)}.bottomHint{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);color:#fff;text-shadow:0 1px 6px #000;background:#20392de0;padding:10px 17px;border-radius:6px;font-size:12px;white-space:nowrap;pointer-events:none}.bottomHint span{margin-left:20px;color:#e6e9dd}#reticle{position:absolute;top:50%;left:50%;width:5px;height:5px;border-radius:50%;background:#fffc;box-shadow:0 0 2px #0009;pointer-events:none;display:none}body.walking #reticle{display:block}#joystick,#touchHint{display:none}#toast{position:absolute;bottom:100px;left:50%;transform:translateX(-50%);background:#203d31;color:white;padding:12px 20px;border-radius:8px;font-size:13px;max-width:90vw;text-align:center;pointer-events:none}[hidden]{display:none!important}::selection{background:#d0ddc0}body.started .welcome{display:none}
@media(max-width:700px){.top{left:12px;right:12px;top:max(12px,env(safe-area-inset-top));align-items:flex-start}.brand{font-size:14px;gap:7px;padding:9px 11px}.brand svg{width:24px;height:24px}.brand small{font-size:9px}.top nav{gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:215px}nav button{font-size:11px;padding:0 10px}nav .icon{width:40px;padding:0}#fullscreen{display:none}#zonesButton svg{margin-left:4px;width:14px}#overview{order:3}#zones{right:12px;top:112px;width:225px}.help{top:112px;right:12px;left:12px;width:auto}.location{top:80px;left:14px;font-size:10px;max-width:165px}.welcome{left:20px;right:20px;top:auto;bottom:30px;transform:none;max-width:unset;padding:24px}.welcome h1{font-size:28px}.welcome p{font-size:14px;margin-bottom:18px}.map{left:14px;bottom:20px;width:105px}.map canvas{width:105px;height:140px}.map button{font-size:9px;padding:0 8px;min-height:32px}.bottomHint{display:none}body:not(.started) .map{display:none}body.touch.started .map{bottom:auto;top:120px}.map svg{width:16px}.map.collapsed{width:105px}body.touch.started #joystick{display:block;position:absolute;bottom:max(40px,env(safe-area-inset-bottom));left:32px;width:110px;height:110px;background:#f5f5eb40;border:1px solid #fff8;border-radius:50%;touch-action:none}#stick{position:absolute;top:31px;left:31px;width:46px;height:46px;background:#f5f5ebd9;border:1px solid #fff8;border-radius:50%;box-shadow:0 3px 12px #23382b33}body.touch.started #touchHint{display:block;position:absolute;bottom:65px;right:24px;color:#fff;text-shadow:0 1px 5px #000;font-size:11px;line-height:1.6;pointer-events:none}body.overview #joystick,body.overview #touchHint{display:none!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* Paintball controls keep the walkthrough usable without a game HUD. */
#paintTools,#fire{display:none}body.walking #paintTools{display:flex;gap:6px;position:absolute;top:108px;right:28px}#paintTools button{background:#f6f6eef2;box-shadow:0 3px 15px #22352a14}#markerToggle{display:flex;align-items:center;gap:8px;font-size:12px}#markerToggle[aria-pressed="false"]{color:#536057}body.paintball-active #fire{display:flex;position:absolute;right:30px;bottom:max(28px,env(safe-area-inset-bottom));align-items:center;gap:10px;min-height:48px;background:#f6f6eef2;touch-action:none;user-select:none}#fire svg{width:25px;height:25px}#fire:active{background:#dbe5cb;transform:scale(.98)}body.paintball-active #reticle{width:7px;height:7px;transform:translate(-50%,-50%);border:1px solid #23392f88;background:#ffffffe0;box-shadow:0 0 0 3px #ffffff25}#reticle.hit{background:#ff923a!important;box-shadow:0 0 0 6px #ff923a55!important}body.paintball-active .bottomHint span::after{content:' · пробел — выстрел'}
@media(max-width:700px){body.walking #paintTools{top:120px;right:12px;gap:5px}#paintTools button{min-height:44px;padding:0 10px}#paintTools .icon{width:40px;padding:0}#markerToggle{font-size:11px;gap:6px}#markerToggle svg{width:17px}body.paintball-active #fire{right:26px;bottom:max(48px,env(safe-area-inset-bottom));width:76px;height:76px;border-radius:50%;justify-content:center;padding:0;background:#f6f6eed9;border:1px solid #ffffff99}#fire svg{width:32px;height:32px}#fire span{display:none}body.touch.started.paintball-active #touchHint{bottom:150px;right:20px;font-size:10px}body.paintball-active .bottomHint{display:none}}
@media(max-height:500px) and (pointer:coarse){body.walking #paintTools{top:78px;right:12px}body.touch.started .map{display:none}.location{display:none}body.paintball-active #fire{bottom:20px;width:64px;height:64px}body.paintball-active #touchHint{display:none}}
@media(prefers-reduced-motion:reduce){#fire:active{transform:none}}
@media(pointer:coarse) and (min-width:701px){body.touch.started #joystick{display:block;position:absolute;bottom:20px;left:32px;width:90px;height:90px;background:#f5f5eb40;border:1px solid #fff8;border-radius:50%;touch-action:none}#stick{position:absolute;top:21px;left:21px;width:46px;height:46px;background:#f5f5ebd9;border:1px solid #fff8;border-radius:50%;box-shadow:0 3px 12px #23382b33}body.overview #joystick{display:none}body.touch .bottomHint{display:none}body.paintball-active #fire{right:26px;bottom:max(20px,env(safe-area-inset-bottom));width:64px;height:64px;border-radius:50%;justify-content:center;padding:0;gap:0;background:#f6f6eed9;border:1px solid #ffffff99}#fire svg{width:30px;height:30px;flex-shrink:0}#fire span{display:none}}
