:root{color-scheme:light;--ink:#123e46;--cream:#fffcf1;--coral:#e5734a;--glass:rgba(255,252,241,.94)}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#66bec5;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ef743e;outline-offset:4px}button{touch-action:manipulation}#world,#scene{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}#scene:focus{outline:none}.masthead{position:fixed;top:max(25px,env(safe-area-inset-top));left:30px;right:30px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.identity{text-shadow:0 1px 18px rgba(245,255,244,.8)}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750}h1{font-family:Georgia,"Times New Roman",serif;font-size:52px;line-height:1;margin:7px 0;font-weight:500;letter-spacing:-2px}.title-dot{color:#dd6840}.identity p{margin:10px 0 0;font-size:11px;letter-spacing:1.7px;font-weight:650}.identity p span{padding:0 6px}.top-actions{display:flex;gap:8px;pointer-events:auto}.icon-button{width:43px;height:43px;display:grid;place-items:center;border:1px solid rgba(32,70,64,.09);border-radius:50%;background:var(--glass);box-shadow:0 3px 14px #20424513}.icon-button svg{width:22px;height:22px}.icon-button:hover{background:#fff}.place-label{position:fixed;top:170px;left:32px;display:flex;align-items:flex-start;gap:12px;pointer-events:none;text-shadow:0 1px 14px #ffffffb0}.place-label>span{font-size:12px;border-top:2px solid var(--ink);padding-top:8px;opacity:.75}.place-label h2{font-family:Georgia,serif;font-size:22px;font-weight:500;margin:5px 0}.place-label p{font-size:12px;letter-spacing:.3px;margin:7px 0;opacity:.75}.places{position:fixed;left:30px;bottom:104px;display:flex;gap:8px;flex-wrap:wrap;max-width:calc(100% - 130px)}.places button{border-radius:100px;background:var(--glass);padding:12px 17px;font-size:13px;box-shadow:0 4px 18px #183f4115;transition:background .2s,color .2s,transform .2s}.places button:hover{transform:translateY(-2px)}.places button span{font-size:10px;margin-right:6px;opacity:.55}.places button.active{background:var(--ink);color:#fff8e9}.mode-bar{position:fixed;left:50%;bottom:max(29px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;gap:3px;border:1px solid #ffffff60;border-radius:100px;padding:5px;background:var(--glass);box-shadow:0 6px 30px #1a3e4228;white-space:nowrap}.mode-bar button{display:flex;align-items:center;gap:9px;border-radius:100px;font-size:13px;padding:13px 20px;background:transparent}.mode-bar button.active{background:var(--ink);color:#fff8e9}.mode-bar svg{width:20px;height:20px}.zoom-controls{position:fixed;right:31px;bottom:113px;display:flex;flex-direction:column;padding:5px;background:var(--glass);border-radius:28px;box-shadow:0 3px 15px #22464a14}.zoom-controls button{width:39px;height:39px;background:transparent;font-size:26px;display:grid;place-items:center}.zoom-controls button:hover{background:#d9e7e2;border-radius:50%}.zoom-controls svg{width:21px;height:21px}#compass{position:fixed;right:30px;top:98px;width:48px;height:48px;color:#164852}#compass svg{width:100%;height:100%;filter:drop-shadow(0 1px 3px #ffffff88)}#compass span{position:absolute;top:-11px;left:21px;font-size:9px;font-weight:750}#hint{position:fixed;bottom:10px;width:100%;text-align:center;pointer-events:none;font-size:11px;letter-spacing:.1px;color:#174d54;transition:opacity .3s}#hint b{margin:0 7px;font-weight:400;opacity:.5}.hint-touch{display:none}.attribution{position:fixed;bottom:13px;left:16px;font-size:9px;opacity:.75;pointer-events:none}.attribution span{padding:0 5px}#loading{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e7f3e9;z-index:20;transition:opacity .7s,visibility .7s}.loader-mark{font-family:Georgia,serif;font-size:80px;line-height:.9;color:#1c555a}.loader-mark span{display:block;text-align:center;color:#dd714b;font-size:50px;line-height:.5;margin:12px}#loading p{font-family:Georgia,serif;font-size:24px;margin:27px 0 14px}#load-detail{font-size:12px;opacity:.65}.load-track{width:140px;height:2px;background:#accac2;margin-top:24px;overflow:hidden}.load-track i{display:block;height:100%;width:45%;background:#e27951;animation:load 1.6s ease-in-out infinite}#loading.done{opacity:0;visibility:hidden}@keyframes load{0%{transform:translateX(-110%)}100%{transform:translateX(350%)}}dialog{border:0;border-radius:22px;width:min(540px,calc(100% - 30px));max-height:calc(100% - 50px);padding:36px;color:var(--ink);background:#fffaf0;box-shadow:0 20px 80px #133d4755}dialog::backdrop{background:#10364266;backdrop-filter:blur(5px)}dialog h2{font-family:Georgia,serif;font-size:30px;line-height:1.1;font-weight:500;margin:15px 0 22px}dialog p{font-size:14px;line-height:1.65}dialog h3{font-size:14px;margin:25px 0 8px}dialog a{color:#18707a;text-underline-offset:3px;font-size:13px}.dialog-close{position:absolute;right:16px;top:12px;width:32px;height:32px;border-radius:50%;font-size:24px;background:#e5eade}#error{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;background:#eff4e7}#error[hidden]{display:none}#error p{max-width:430px;text-align:center;line-height:1.6}#error button{background:#174c55;border-radius:40px;color:white;padding:12px 20px}#walk-ui{position:fixed;inset:0;pointer-events:none}#walk-ui[hidden]{display:none}#joystick{position:absolute;bottom:127px;left:42px;width:116px;height:116px;border-radius:50%;border:1px solid #ffffff9c;background:#fffcf134;backdrop-filter:blur(5px);box-shadow:inset 0 0 20px #ffffff38;touch-action:none;pointer-events:auto}#joystick-knob{position:absolute;top:36px;left:36px;width:42px;height:42px;border-radius:50%;background:var(--cream);box-shadow:0 3px 12px #14404730}#joystick span{position:absolute;bottom:-24px;left:0;width:100%;text-align:center;font-size:9px;letter-spacing:1.5px;font-weight:700}.look-hint{position:absolute;bottom:151px;right:32px;font-size:11px;text-align:right;line-height:1.7;text-shadow:0 1px 8px white}.crosshair{position:absolute;left:50%;top:50%;width:5px;height:5px;background:#fff9e6;opacity:.7;border-radius:50%;box-shadow:0 0 2px #123b43}.walking .zoom-controls{display:none}.walking .places{bottom:96px}.walking .place-label{opacity:.8}.walking #hint .hint-desktop{font-size:11px}.walking .places button{padding:9px 14px}.walking #joystick{display:none}.walking .look-hint{display:none}
@media (hover:none),(pointer:coarse){.hint-desktop{display:none}.hint-touch{display:inline}.walking #joystick{display:block}.walking .look-hint{display:block}.walking .places{bottom:auto;top:200px;max-width:calc(100% - 32px)}.walking #hint{display:none}}
@media(max-width:650px){.masthead{top:max(20px,env(safe-area-inset-top));left:20px;right:17px}h1{font-size:42px}.eyebrow{font-size:8px;letter-spacing:1.6px}.identity p{font-size:9px;margin-top:8px}.icon-button{width:37px;height:37px}.icon-button svg{width:19px;height:19px}.top-actions{gap:6px}.place-label{top:133px;left:22px;gap:10px}.place-label h2{font-size:20px;max-width:240px}.place-label p{font-size:11px;margin-top:6px}.place-label>span{font-size:10px;padding-top:8px}.places{left:0;right:0;bottom:106px;max-width:none;flex-wrap:nowrap;overflow-x:auto;padding:6px 18px 12px;gap:6px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,black 15px,black calc(100% - 15px),transparent)}.places::-webkit-scrollbar{display:none}.places button{flex-shrink:0;font-size:12px;padding:11px 14px}.places button span{font-size:9px;margin-right:5px}.mode-bar{bottom:max(35px,env(safe-area-inset-bottom));gap:2px;padding:4px}.mode-bar button{font-size:12px;padding:12px 17px;gap:8px}.mode-bar svg{width:18px;height:18px}#hint{bottom:15px;font-size:9px;padding:0 8px}#hint b{margin:0 3px}.attribution{bottom:0;left:0;width:100%;text-align:center;font-size:7px;background:#ffffff20;padding:2px}.zoom-controls{right:17px;bottom:184px;padding:3px}.zoom-controls button{width:33px;height:34px;font-size:22px}#compass{right:18px;top:82px;width:38px;height:38px}#compass span{left:16px;top:-9px;font-size:8px}.walking .places{top:198px;left:0;right:0;max-width:100%;bottom:auto;padding-top:0}.walking .place-label{top:131px}.walking #joystick{left:28px;bottom:139px}.look-hint{right:22px;bottom:158px}dialog{padding:28px}dialog h2{font-size:27px}dialog p{font-size:14px}.walking .mode-bar{bottom:34px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

/* Comfortable control text on small screens. */
.places button{font-size:14px}.mode-bar button{font-size:14px}.attribution{font-size:12px}.identity .eyebrow,.identity p{font-size:12px}.place-label p{font-size:14px}#hint{font-size:12px}
@media(max-width:650px){.places button,.mode-bar button{font-size:14px}.mode-bar button{padding:12px 15px}.identity .eyebrow{font-size:10px}.identity p{font-size:10px}.attribution{font-size:10px}#hint{font-size:10px}.place-label p{font-size:12px}}

@media(max-width:650px){#hint{bottom:20px}.attribution{line-height:12px;bottom:1px;padding:0}}
@media(min-width:651px) and (max-width:1100px){.attribution{bottom:85px;left:32px}}
/* Revision 03: precise view references and fast navigation. */
.position-readout{display:block;background:rgba(255,252,241,.75);padding:6px 9px;margin-top:8px;border-radius:8px;text-align:left;pointer-events:auto;box-shadow:0 1px 12px #174c5509;max-width:300px}.position-readout>span{display:block;font:11px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:0;text-shadow:none;white-space:nowrap}.position-readout #direction-code{font-size:10px;opacity:.8}.position-readout:hover{background:#fffaf0}.speed-button{position:absolute;right:30px;bottom:125px;background:var(--glass);padding:11px 15px;border-radius:24px;pointer-events:auto;font-size:13px;box-shadow:0 3px 15px #174c5522}.speed-button strong{margin-left:8px;display:inline-block;min-width:22px}.walking .look-hint{display:none}#toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:#143f46ed;color:#fff9e7;border-radius:12px;padding:12px 18px;font-size:14px;max-width:85%;text-align:center;pointer-events:none;opacity:0;transition:opacity .2s;z-index:40}#toast.show{opacity:1}#map-dialog{width:min(520px,calc(100% - 24px));padding:25px;overflow:auto}#map-dialog h2{font-size:25px;margin:4px 30px 8px 0}.map-instruction{font-size:13px;margin:0 0 15px}#nav-map{display:block;width:100%;height:min(51vh,470px);border-radius:14px;border:1px solid #c7d5c8;background:#78bbc4;touch-action:none;cursor:crosshair}.map-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;font-size:12px}.map-caption button{background:#174c55;color:#fff7df;padding:9px 13px;border-radius:20px;font-size:13px}#view-link{width:100%;padding:12px;border:1px solid #c5d2c6;background:#fffdf6;font:13px/1.5 ui-monospace,monospace;border-radius:8px;color:#174c55}#select-link{margin-top:14px;padding:10px 16px;border-radius:22px;background:#174c55;color:#fffaf0}.walking .masthead h1{font-size:32px}.walking .identity .eyebrow{display:none}.walking .place-label{top:125px}.walking .place-label h2{font-size:20px}.walking .place-label p{display:none}.walking .places{top:178px;bottom:auto}.walking .speed-button{bottom:115px}.walking #compass{top:98px}
@media(max-width:650px){.masthead{left:17px;right:15px;top:max(15px,env(safe-area-inset-top))}.masthead h1{font-size:32px;letter-spacing:-1.5px}.identity .eyebrow{font-size:8px;letter-spacing:1.2px}.top-actions{gap:5px}.icon-button{width:34px;height:34px}.position-readout{padding:5px 7px;margin-top:6px;border-radius:7px;max-width:260px}.position-readout>span{font-size:10px;line-height:1.45}.position-readout #direction-code{font-size:9px}.place-label{top:148px;left:20px}.place-label h2{font-size:17px;margin-top:3px}.place-label p{font-size:12px}.place-label>span{font-size:9px}.walking .masthead h1{font-size:30px}.walking .place-label{top:116px}.walking .place-label h2{font-size:17px}.walking .places{top:157px;padding-top:0}.walking .places button{font-size:12px;padding:9px 12px}.walking #compass{top:78px}.walking .speed-button{right:22px;bottom:167px;padding:11px 14px;font-size:13px}.walking #joystick{left:25px;bottom:135px;width:108px;height:108px}.walking #joystick-knob{top:32px;left:32px}.walking .mode-bar button{font-size:13px}.walking .mode-bar{bottom:35px}#map-dialog{padding:22px}#map-dialog h2{font-size:23px}#map-dialog p{font-size:12px}#nav-map{height:min(49vh,430px)}}
