*{box-sizing:border-box}body{margin:0;background:#202522;color:#fff6e7;font:16px system-ui,sans-serif;min-height:100dvh;display:flex;flex-direction:column}header,footer{padding:14px clamp(14px,4vw,60px);display:flex;align-items:center;justify-content:space-between;gap:15px}header{border-bottom:1px solid #566057;background:#1b201d}.brand,small{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#ddd0b8}h1,h2{font:normal clamp(23px,3vw,41px) Georgia,serif;margin:3px 0}nav,#links{display:flex;gap:7px;align-items:center;flex-wrap:wrap}button,a,select{font:inherit}button,a{border:1px solid #758074;background:#29332c;color:#fff6e7;padding:9px 13px;border-radius:7px;cursor:pointer;text-decoration:none}button:hover,a:hover,button:focus-visible,a:focus-visible{background:#4b584c}#model{background:#f4e6cf;color:#233025;border-color:#f4e6cf}main{flex:1;display:flex;flex-direction:column}#viewport{flex:1;min-height:40vh;display:grid;place-items:center;background:#171c19;overflow:hidden}#frame{position:relative;line-height:0;max-width:100%}#photo{width:auto;height:auto;max-width:100vw;max-height:calc(100dvh - 185px);display:block}#pins,#dots{position:absolute;inset:0;pointer-events:none}.pin,.dot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#1a2724e6;color:white;border:1px solid #fff9;border-radius:20px;box-shadow:0 2px 7px #0005;font-size:13px;line-height:1.1;white-space:nowrap;padding:8px 11px}.pin:before{content:'⌃';margin-right:5px}.near{flex:1}.near small,.location small{margin-bottom:5px}#links button{font-size:14px;padding:6px 10px}select{background:#25342a;color:#fff;padding:6px;border-radius:4px;max-width:100%}dialog{background:#f7f4ed;color:#233025;border:0;border-radius:10px;width:min(900px,96vw);max-height:95dvh;padding:14px}dialog::backdrop{background:#000a}.mapHeader{display:flex;justify-content:space-between;align-items:center}.sheet{position:relative;width:fit-content;max-width:100%;margin:10px auto}.sheet img{display:block;max-height:61dvh;max-width:100%}.dot{background:#1a453b;padding:0;width:25px;height:25px;font-size:12px;text-align:center}#legend{display:flex;flex-wrap:wrap;gap:4px}#legend button{font-size:12px;padding:5px 8px}#error{padding:12px;color:white}body:fullscreen #photo{max-height:calc(100dvh - 165px)}@media(max-width:650px){header,footer{padding:10px 12px;gap:8px}h1{font-size:21px}nav{gap:4px}nav>*{font-size:13px;padding:8px}footer{flex-wrap:wrap}.near{flex-basis:100%;order:3}#expand{font-size:13px}.pin{font-size:10px;padding:6px}#viewport{min-height:45vh}.brand,small{font-size:10px}#photo{max-height:65dvh}#links{gap:4px}.dot{width:22px;height:22px}}
@media(prefers-reduced-motion:no-preference){#photo{animation:appear .22s ease-out}@keyframes appear{from{opacity:.8}to{opacity:1}}}
