.places-scroll{scrollbar-width:none}.places-scroll::-webkit-scrollbar{display:none}
.top-actions #walkBtn{background:#e8bc69;color:#1d332d;border-color:#e8bc69}.top-actions #walkBtn.active{background:#f0dca9}
.walk-hud{position:absolute;z-index:7;left:30px;bottom:44px;width:300px;padding:16px;border-radius:14px}.walk-hud.hidden{display:none}.walk-hud-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:800}.walk-hud-head>span{display:flex;gap:9px;align-items:center}.walk-hud-head button{background:transparent;color:#edc775;border:0;font-size:11px;font-weight:700}.walk-hud p{margin:9px 0 0;color:#b4c7ba;font-size:10px}
#aboutModal{padding:4vh 16px 16px}.about-modal{width:min(900px,100%);max-height:90vh;overflow:auto}.reference-map{margin:16px 0;padding:8px;background:#e3e4d8;border-radius:9px}.reference-map img{display:block;width:100%;height:auto;object-fit:contain;border-radius:5px}.reference-map figcaption{font-size:10px;color:#476052;margin:7px 2px 2px}
.route-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding:8px 10px;border:1px solid #f8d27677;border-radius:8px;background:#f8d27618;color:#ffdc8e;font-size:11px;line-height:1.35}.route-row strong{font-weight:700}.route-row button{border:0;background:transparent;color:#ffdc8e;font-size:18px;cursor:pointer}.route-row button.hidden{display:none}
.play-route{display:block;width:100%;margin-top:8px;padding:9px 12px;border:1px solid #f2cb77;border-radius:8px;background:#f0c875;color:#19342d;font-size:12px;font-weight:800;cursor:pointer;touch-action:manipulation}.play-route:hover{background:#ffe0a0}.play-route:focus-visible{outline:3px solid #fff;outline-offset:2px}.play-route[aria-pressed="true"]{background:#294a3d;color:#ffe4a7}.play-route.hidden{display:none}
#panBtn[aria-pressed="true"]{background:#e8bc69;color:#203b31}.scene-labels button{pointer-events:auto}
.places-head-controls{display:flex;align-items:center;gap:6px}.places-head-controls span{color:#a7b9ac;font-weight:500;margin-right:6px}.places-head-controls button{border:1px solid #ffffff36;background:#ffffff12;color:#f5f2e7;border-radius:6px;width:24px;height:22px;line-height:1;font-size:15px}.places-head-controls button:hover{background:#e8bd68;color:#173129}.places-scroll{overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;cursor:grab;user-select:none;scroll-behavior:smooth}.places-scroll.dragging{cursor:grabbing;scroll-behavior:auto}
@media(max-width:850px){.walk-hud{left:14px;bottom:46px;width:248px}.top-actions #walkBtn{font-size:10px}}
@media(max-width:570px){.top-actions{max-width:230px}.top-actions #walkBtn{height:31px}.walk-hud{width:178px;padding:11px}.walk-hud p{display:none}.walk-hud-head{font-size:10px}.walk-hud-head button{font-size:9px}.places{left:14px;right:14px;bottom:45px}.walk-hud{bottom:166px}.control-stack{bottom:235px}.reference-map img{height:auto}}
.walk-speed{margin:12px 0 8px}.walk-speed label,.walk-speed>div{display:flex;justify-content:space-between;align-items:center}.walk-speed label{font-size:12px;color:#e9eddf}.walk-speed output{font-weight:700;color:#f6cd78}.walk-speed input{display:block;width:100%;margin:9px 0 5px;accent-color:#e7bd67;cursor:pointer;touch-action:pan-y}.walk-speed>div{font-size:10px;color:#acbbae}.walk-speed input:focus-visible{outline:2px solid #f6cd78;outline-offset:4px}

/* Tabs remain reachable at the viewport edge after their panel slides away. */
.walk-hud,.places{--panel-bottom:44px;transition:transform .28s ease}
.position-map{--panel-right:30px;transition:transform .28s ease}
.walk-hud.is-collapsed,.places.is-collapsed{transform:translateY(calc(100% + var(--panel-bottom)))}
.position-map.is-collapsed{transform:translateX(calc(100% + var(--panel-right)))}
.panel-tab{position:absolute;border:1px solid #ffffff30;background:#17312df5;color:#f0cb80;cursor:pointer;font-size:12px;font-weight:700;box-shadow:0 2px 8px #10282130;touch-action:manipulation}
.panel-tab-down{top:-29px;left:0;height:29px;padding:0 14px;border-radius:9px 9px 0 0}
.places>.panel-tab-down{left:auto;right:0}
.panel-tab-right{left:-30px;top:16px;width:30px;height:48px;border-radius:9px 0 0 9px;font-size:20px}
.panel-tab:hover{background:#315448}.is-collapsed>[id$="Body"]{visibility:hidden}
@media(max-width:850px){.walk-hud{--panel-bottom:46px}.places{--panel-bottom:45px}.position-map{--panel-right:14px}}
@media(max-width:570px){.walk-hud{--panel-bottom:166px}.panel-tab-down{font-size:11px;padding:0 10px}}
@media(prefers-reduced-motion:reduce){.walk-hud,.places,.position-map{transition:none}}

/* Independent movement stick stays available when the walking HUD is folded. */
.joystick-control{display:none;position:absolute;z-index:12;left:max(20px,env(safe-area-inset-left));bottom:calc(160px + env(safe-area-inset-bottom));width:134px;align-items:center;flex-direction:column;gap:7px;user-select:none;-webkit-user-select:none}
.joystick-control.hidden{display:none!important}
.walk-joystick{position:relative;width:134px;height:134px;display:grid;place-items:center;border:2px solid #f7d68791;border-radius:50%;background:radial-gradient(circle,#ffffff0a 38%,#ffffff24 39%,#ffffff14 68%,#ffffff30 69%);box-shadow:0 8px 24px #0e211f45,inset 0 0 0 12px #ffffff07;touch-action:none;cursor:grab;-webkit-tap-highlight-color:transparent}
.joystick-knob{position:absolute;width:48px;height:48px;border-radius:50%;border:2px solid #fff0bd99;background:radial-gradient(circle at 35% 25%,#ffe8a675,#e5b75e66);box-shadow:0 4px 13px #091c2466;pointer-events:none;will-change:transform}
.joystick-axis{position:absolute;inset:18px;border:1px solid #ecdbaf25;border-radius:50%;pointer-events:none}
.joystick-axis:before,.joystick-axis:after{content:'';position:absolute;background:#f5deb849;left:50%;top:50%;transform:translate(-50%,-50%)}
.joystick-axis:before{width:1px;height:100%}.joystick-axis:after{height:1px;width:100%}
.walk-joystick.is-active{border-color:#ffe4a7cc;background-color:#ffffff12;cursor:grabbing}
#joystickHint{font-size:10px;font-weight:700;color:#fff1cc;text-shadow:0 1px 4px #12372b;background:#17312dbb;border-radius:20px;padding:4px 8px;white-space:nowrap;pointer-events:none}
@media(pointer:coarse){.joystick-control{display:flex}.walking .walk-hud{bottom:330px;--panel-bottom:330px}.walking .walk-hud.is-collapsed{transform:translateY(calc(100% + var(--panel-bottom)))}.walking .walk-hud p{display:none}}
@media(pointer:coarse) and (max-height:600px) and (max-width:950px){.joystick-control{bottom:calc(50px + env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left))}.walking .walk-hud{left:178px;bottom:48px;--panel-bottom:48px;width:230px}.walking .places{left:430px;right:68px;bottom:44px}.walking .position-map{top:95px;width:145px}.walking .position-map canvas{height:65px}.walking .control-stack{bottom:20px}}

.joystick-direction{position:absolute;color:#fff4d7b3;font-size:13px;line-height:1;pointer-events:none;text-shadow:0 1px 3px #17312d66}.joystick-direction.up{top:8px}.joystick-direction.down{bottom:8px}.joystick-direction.left{left:8px}.joystick-direction.right{right:8px}

.avatar-picker{display:flex;align-items:center;gap:7px;margin:12px 0 8px;font-size:12px;color:#e9eddf}.avatar-picker>span{margin-right:auto}.avatar-picker button{min-height:36px;min-width:52px;padding:6px 10px;border:1px solid #ffffff40;border-radius:8px;background:#ffffff0d;color:#e9eddf;cursor:pointer;touch-action:manipulation}.avatar-picker button[aria-pressed="true"]{background:#edc775;border-color:#edc775;color:#19342d;font-weight:800}.avatar-picker button:focus-visible{outline:2px solid #fff;outline-offset:3px}
