*{box-sizing:border-box}body{margin:0;background:#c9dbe6;font:15px system-ui,sans-serif;color:#172d36}#scene{position:fixed;inset:0}canvas{display:block;touch-action:none}header{position:absolute;top:20px;left:24px;right:24px;display:flex;align-items:center;gap:20px;padding:14px 18px;border:1px solid #ffffffa8;border-radius:14px;background:#f4f8f4ed;box-shadow:0 8px 30px #26384215}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#18343b;font-size:23px;font-weight:700;letter-spacing:-1px}.brand b{background:#173e3e;color:#73e5c7;padding:4px 8px;border-radius:8px}.brand em{font-style:normal;font-size:11px;letter-spacing:2px;display:block}.mode{font-size:10px;letter-spacing:1.6px;color:#5c7378;border-left:1px solid #c8d5d5;padding-left:20px}.place-label{margin-left:auto;font-size:12px;color:#526c73}select{font:inherit;font-size:14px;border:0;background:transparent;color:#173a3b;padding:8px;max-width:220px;font-weight:600}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #06a77b;outline-offset:3px}.location{position:absolute;top:123px;left:32px;text-shadow:0 1px 14px #fff}.location>span{font-size:11px;letter-spacing:2px}.location h1{font-size:32px;font-weight:600;margin:6px 0;letter-spacing:-1px}.location p{font-size:13px;margin:0;color:#40595f}.near-panel{position:absolute;top:245px;left:24px;background:#f5f8f3eb;border:1px solid #fffa;border-radius:12px;width:230px;padding:17px;box-shadow:0 8px 30px #203c3d12}.near-panel h2{font-size:14px;margin:0 0 12px}#nearby{font-size:13px;max-height:260px;overflow:auto}#nearby button{display:block;border:0;border-top:1px solid #dbe2dc;background:transparent;padding:10px 0;width:100%;text-align:left;font-weight:600;font-size:13px}#nearby button:hover{color:#00775e}#nearby small{display:block;font-weight:400;color:#627575;font-size:11px;margin-top:4px}.muted{font-size:11px;color:#667777;line-height:1.5;margin-bottom:0}#mini-map{position:absolute;bottom:70px;right:24px;width:245px;height:180px;border:5px solid #f2f6f1;border-radius:14px;overflow:hidden;box-shadow:0 8px 35px #273b392b}.compass{position:absolute;top:130px;right:30px;display:flex;align-items:center;gap:10px;background:#f6f8f1db;padding:10px;border-radius:10px;font-size:12px}.compass>span{font-weight:800;color:#0c9978}.compass strong{font-weight:500;min-width:30px}.compass button{border:0;background:transparent;color:#526868;font-size:12px}.controls{position:absolute;bottom:80px;left:50%;transform:translateX(-50%);text-align:center;width:min(530px,95vw)}.controls p{font-size:12px;background:#f1f6f0ed;display:inline-block;padding:8px 13px;border-radius:20px;margin:0 0 12px}.controls>div{display:flex;gap:8px;justify-content:center}.controls button{border:1px solid #ffffffa0;border-radius:12px;padding:14px 18px;background:#f5f8f2ed;box-shadow:0 5px 18px #203a3826;font-size:21px;white-space:nowrap}.controls button span{font-size:13px;margin-left:5px;font-weight:600}#forward{background:#153e3e;color:#ecfff8;border-color:#346762;min-width:160px}.controls button:hover{filter:brightness(1.1)}.controls small{display:block;font-size:11px;color:#183a3f;background:#f4f8f1dd;border-radius:6px;padding:6px;margin:12px auto 0;width:fit-content}footer{position:absolute;bottom:0;left:0;right:0;display:flex;gap:14px;flex-wrap:wrap;padding:10px 20px;background:#f5f8f1e8;font-size:10px;color:#496362}footer a{color:inherit}#count{margin-left:auto}#loading{position:fixed;inset:0;display:grid;place-items:center;background:#dce8e6;font-size:20px;z-index:20}#shop-panel{position:absolute;right:24px;top:195px;background:#f9fbf6;width:310px;padding:24px;border-radius:12px;box-shadow:0 15px 70px #143e3838}#shop-close{float:right;border:0;background:transparent}#shop-kind{font-size:12px;text-transform:capitalize;color:#607572}#shop-title{font-size:24px}#photo-note{font-size:13px;line-height:1.6;color:#607572}#shop-photo img{width:100%;border-radius:8px}#shop-photo a{font-size:12px;color:#18765c}[hidden]{display:none!important}@media(max-width:1050px){.near-panel{width:195px}#mini-map{width:170px;height:140px;bottom:65px}.controls{bottom:70px;width:430px}.controls button{padding:12px}.controls small{max-width:300px}}@media(max-width:760px){header{left:10px;right:10px;top:10px;padding:10px;gap:8px}.brand{font-size:17px}.brand em{font-size:9px}.mode{display:none}.place-label{font-size:0}select{max-width:170px;font-size:12px}.location{top:105px;left:18px}.location h1{font-size:25px}.location p{font-size:11px}.near-panel{display:none}.compass{top:185px;right:12px}#mini-map{right:12px;bottom:207px;width:145px;height:115px}.controls{bottom:73px;width:95vw}.controls button{padding:12px}.controls button span{font-size:12px}#forward{min-width:135px}.controls small{font-size:10px;max-width:95%}footer{gap:5px;font-size:9px;padding:8px 12px}#count{margin-left:0}#shop-panel{top:245px;right:12px;width:calc(100vw - 24px);max-height:40vh;overflow:auto}}
/* Restrained overlays keep the street in view. */
header{background:rgba(22,27,30,.76);border:1px solid #ffffff24;box-shadow:0 2px 12px #0002;border-radius:7px;color:#fff;padding:10px 15px;backdrop-filter:blur(9px)}.brand{color:#fff;font-size:20px}.brand b{background:transparent;color:#fff;padding:3px}.mode{color:#e0e3e4;border-color:#ffffff30}.place-label,select{color:#f5f5f5}select option{color:#182026;background:#fff}.location{text-shadow:0 1px 4px #0009;color:white;background:rgba(22,27,30,.55);padding:12px 16px;border-radius:6px;top:110px;left:24px}.location h1{font-size:24px}.location p{color:#eceeee}.near-panel{background:rgba(25,30,32,.67);border:1px solid #ffffff20;color:white;backdrop-filter:blur(8px);width:205px;top:240px}.near-panel .muted,#nearby small{color:#d2d6d7}#nearby button{border-color:#ffffff20}#nearby button:hover{color:#fff;background:#ffffff12}.controls{bottom:70px}.controls>div{gap:15px;align-items:center}.controls button,.controls #forward{background:rgba(22,25,28,.15);border:1px solid #ffffff9c;border-radius:50%;color:#fff;width:55px;height:55px;min-width:0;padding:0;font-size:29px;text-shadow:0 2px 5px #0009;box-shadow:0 2px 10px #0002;backdrop-filter:blur(2px)}.controls #forward{width:76px;height:76px;font-size:44px;background:rgba(22,25,28,.19);border-width:2px}.controls button span{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.controls button:hover,.controls #forward:hover{background:#ffffff30;box-shadow:0 0 0 4px #ffffff18}.controls p{background:rgba(22,25,28,.5);color:#fff;border-radius:5px;font-size:11px}.controls small{background:rgba(22,25,28,.45);color:#fff;font-size:10px}.compass{background:rgba(22,27,30,.55);color:#fff;border:1px solid #ffffff36;border-radius:50px}.compass>span,.compass button{color:#fff}#mini-map{border-width:2px;border-color:#ffffffb3;border-radius:7px;opacity:.92}footer{background:rgba(18,23,26,.61);color:#eee;font-size:10px}.controls #forward:active{background:#ffffff55}@media(max-width:760px){.location{left:12px;top:95px;padding:10px}.location h1{font-size:21px}.controls{bottom:73px}.controls button{width:48px;height:48px}.controls #forward{width:68px;height:68px}.compass{top:200px}}

#reference-photo{background:#ffffff12;color:white;border:1px solid #ffffff55;border-radius:6px;font-size:12px;padding:7px;white-space:nowrap}#reference-photo:disabled{opacity:.35;cursor:default}#reference-dialog{width:min(1000px,95vw);border:1px solid #ffffff55;border-radius:12px;background:#182326;color:white;padding:18px}#reference-dialog::backdrop{background:#061418bb}#reference-image{display:block;width:100%;max-height:70vh;object-fit:contain}#reference-close{float:right;margin-bottom:10px;border:0;background:transparent;color:white;font-size:20px}#reference-caption,#reference-source{font-size:12px;color:#e0ebe8;line-height:1.6}@media(max-width:760px){header{flex-wrap:wrap}#reference-photo{font-size:10px}.location{top:125px}}

#view-mode{background:#ffffff18;border:1px solid #ffffff70;color:white;border-radius:6px;padding:8px 10px;font-size:12px;white-space:nowrap}#view-mode[aria-pressed=true]{background:#e2eee9;color:#173933}header{flex-wrap:wrap;gap:12px}@media(max-width:760px){#view-mode{font-size:10px;padding:6px}.location{top:145px}}

.capture-link{color:#e7faf5;text-decoration:none;border:1px solid #ffffff55;padding:10px 13px;border-radius:12px;background:#102733aa;font-size:13px}
/* Compact touch controls and scrollable panels for mobile browsers. */
@media(max-width:760px){
 header{top:calc(8px + env(safe-area-inset-top));left:8px;right:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}.brand{grid-column:1;min-width:0;font-size:16px;gap:3px}.place-label{grid-column:2/4;min-width:0;margin:0}#place{width:100%;max-width:100%;font-size:16px;min-height:44px}.capture-link,#view-mode,#reference-photo{min-height:44px;display:flex;align-items:center;justify-content:center;padding:5px;font-size:11px;text-align:center;white-space:normal}
 .location{top:calc(126px + env(safe-area-inset-top));left:8px;right:8px;padding:8px;pointer-events:none}.location h1{font-size:19px;margin:4px 0}.location>span{font-size:9px}.location p{font-size:10px}.compass{top:calc(218px + env(safe-area-inset-top));right:8px;padding:3px 8px}#reset-look{min-height:44px}
 #mini-map{width:120px;height:95px;right:8px;bottom:calc(238px + env(safe-area-inset-bottom))}.controls{bottom:calc(90px + env(safe-area-inset-bottom));width:calc(100% - 16px)}.controls>div{gap:12px}.controls small{max-width:100%;line-height:1.4}.controls p{max-width:100%;overflow-wrap:anywhere}
 footer{max-height:78px;overflow:auto;padding-bottom:calc(8px + env(safe-area-inset-bottom));font-size:10px}footer a{padding:5px 0}#shop-panel{inset:calc(126px + env(safe-area-inset-top)) 8px auto;width:auto;max-height:calc(100dvh - 150px);padding:16px;z-index:5}#shop-close,#reference-close{min-width:44px;min-height:44px}#reference-dialog{max-height:90dvh;overflow:auto}
}
@media(max-height:500px) and (orientation:landscape){
 header{display:flex;flex-wrap:nowrap;top:4px;padding:4px 8px;gap:6px}.brand{font-size:14px}.brand em{font-size:8px}.mode{display:none}.place-label{margin-left:auto}#place{max-width:180px;font-size:14px}.capture-link,#view-mode,#reference-photo{font-size:10px;padding:4px;min-height:44px}.location{top:64px;right:auto;max-width:45%;padding:6px}.location h1{font-size:16px}.location>span,.location p{display:none}.near-panel{display:none}.compass{top:64px;right:8px}#mini-map{width:120px;height:85px;bottom:48px;right:8px}.controls{bottom:42px;width:55%}.controls p,.controls small{display:none}.controls #forward{width:60px;height:60px}.controls button{width:44px;height:44px}footer{max-height:34px}.controls>div{gap:10px}
}
