:root{--ink:#233b34;--muted:#66746c;--paper:#f5f3ed;--line:#dce0d7;--green:#234e40;--accent:#b89d63}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:7px;padding:10px 15px;min-height:44px}button:hover{background:#e9eee6;border-color:#9eada1}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #a67523;outline-offset:3px}button:disabled{opacity:.45;cursor:default}a{color:var(--green)}[hidden]{display:none!important}.header{height:95px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:20px}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:var(--ink);font:600 23px Georgia,serif}.brand small{font:9px/1.5 system-ui,sans-serif;letter-spacing:2px;display:block;margin-top:4px}.brand-mark{display:block;width:56px;height:56px;object-fit:contain;flex-shrink:0}.header-right{display:flex;align-items:center;gap:24px}.year{font-size:10px;letter-spacing:1.4px}.year b{font-size:17px;letter-spacing:.5px;display:block}.header-right button{background:transparent}.workspace{display:grid;grid-template-columns:320px minmax(0,1fr);max-width:1800px;margin:auto}.sidebar{border-right:1px solid var(--line);background:#eeeee6;height:calc(100dvh - 95px);position:sticky;top:0;display:flex;flex-direction:column}.aside-top{padding:26px 23px 0}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;margin:0 0 10px;color:var(--muted)}h1{font:36px/1.12 Georgia,serif;font-weight:400;margin:10px 0}h2{font:30px/1.2 Georgia,serif;font-weight:400;margin:0}.muted{color:var(--muted);font-size:13px}.map-preview{width:100%;height:95px;background:linear-gradient(90deg,#1e382bcf,#1e382b45),url('../vtour/map.png') center 42%/cover;border:0;display:flex;align-items:end;color:white;text-align:left;margin:20px 0}.map-preview:hover{background:linear-gradient(90deg,#1e382bdc,#1e382b66),url('../vtour/map.png') center 42%/cover}.map-preview span{width:100%;font-size:13px;font-weight:600}.map-preview span span{float:right;width:auto}.search-label{display:block;font-size:11px;margin-bottom:6px}#search{border:1px solid #cbd3c8;border-radius:6px;width:100%;padding:11px;background:#fff;min-height:44px}.list-heading{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.3px;color:var(--muted);margin:24px 0 12px}#places{overflow:auto;padding:0 12px 15px}.place{border:0;background:transparent;width:100%;display:flex;text-align:left;gap:12px;padding:10px;border-radius:6px;align-items:center;margin-bottom:3px}.place img{width:54px;height:44px;object-fit:cover;border-radius:4px}.place .number{min-width:23px;color:var(--muted);font-size:11px}.place .place-name{display:block;font-size:13px;line-height:1.35}.place small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.place[aria-current=true]{background:#fff;box-shadow:inset 3px 0 var(--green)}.extra-place{border-top:1px solid var(--line);margin-top:5px}.extra-icon{display:grid;place-items:center;width:54px;min-width:54px;height:44px;background:#e3e6d8;color:#7e602c;border-radius:4px}main{padding:30px 34px 0;min-width:0}.scene-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;min-height:74px}.kind{font-size:11px;white-space:nowrap;padding:6px 10px;border:1px solid #cdd4c9;border-radius:30px}.stage{height:clamp(320px,52vh,720px);position:relative;background:#18231f;border-radius:10px;overflow:hidden;color:#fff}#panorama,#photo-wrap{position:absolute;inset:0}#photo-wrap{display:flex;justify-content:center;align-items:center}#photo{height:100%;width:100%;object-fit:contain}.stage-top,.stage-bottom{position:absolute;left:18px;right:18px;display:flex;justify-content:space-between;align-items:center;gap:12px;pointer-events:none;z-index:3}.stage-top{top:18px}.stage-bottom{bottom:18px}.stage button{background:#1c302ccc;border:1px solid #ffffff45;color:white;pointer-events:auto;backdrop-filter:blur(8px)}.stage button:hover{background:#365648}.archive-label{font-size:10px;letter-spacing:2px;background:#1c302ca8;border-radius:4px;padding:7px 10px}.stage-bottom>span{font-size:11px;background:#182b23bb;padding:7px 10px;border-radius:4px}#pano-controls{display:flex;gap:6px;pointer-events:auto}#view-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:4;padding:12px 20px;border-radius:6px;background:#18372ee8;max-width:85%;text-align:center}#view-status:empty{display:none}.scene-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 0}.scene-actions button{background:transparent}.scene-actions .primary{background:var(--green);color:white;border-color:var(--green)}.scene-actions .primary:hover{background:#35614e}.audio-card{border:1px solid var(--line);border-radius:9px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff}.audio-card .eyebrow{margin-bottom:3px}.audio-card p{margin:0}.audio-card #track-title{font-family:Georgia,serif;font-size:20px}.audio-card #audio-status{font-size:11px;color:var(--muted)}audio{width:45%;max-width:360px;min-width:240px;height:42px}footer{font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:16px;margin:23px 0}dialog{border:1px solid #bcc8bd;border-radius:12px;background:var(--paper);color:var(--ink);padding:24px;max-height:92dvh;width:min(94vw,1100px);box-shadow:0 25px 100px #0005}dialog::backdrop{background:#0a231bcc;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:18px}.dialog-heading h2{font-size:26px}.close{flex-shrink:0}.image-scroll{overflow:auto;text-align:center;background:white;border-radius:7px;margin-bottom:15px}.image-scroll img{max-width:100%;height:auto;display:block;margin:auto}#image-original{font-size:13px}.map-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;margin:15px 0}.map-tools input{width:160px}.map-tools span{margin-left:auto}.info-legend{color:#936820;margin-left:12px}.map-scroll{height:60dvh;overflow:auto;border:1px solid #b5bba9;background:#e2e5d9;border-radius:6px}#map-canvas{position:relative;width:1000px;aspect-ratio:1}#map-canvas>img{display:block;width:100%;height:100%}.map-pin{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;min-height:26px;padding:0;border:2px solid white;border-radius:50%;background:#244e3fe8;color:white;font-size:10px;box-shadow:0 1px 5px #0007;z-index:1}.map-pin:hover,.map-pin:focus-visible{z-index:5;transform:translate(-50%,-50%) scale(1.3);background:#4e6b3c}.map-pin.info-pin{background:#936820;border-radius:5px;font-size:14px}.map-pin[aria-current=true]{outline:3px solid #dfb65f;z-index:3}.skip{position:fixed;top:-100px;left:10px;z-index:100;background:white;padding:10px}.skip:focus{top:10px}.pnlm-about-msg{font-size:10px}.pnlm-container{font-family:inherit}.pnlm-load-box{border-radius:6px}.stage:fullscreen{border-radius:0;height:100dvh;width:100vw}#places .empty{padding:20px;font-size:13px}
@media(min-width:1500px){main{padding:35px 55px 0}.sidebar{width:350px}.workspace{grid-template-columns:350px minmax(0,1fr)}}
@media(max-width:1000px){.workspace{grid-template-columns:270px minmax(0,1fr)}main{padding:24px 20px 0}.aside-top{padding:22px 18px 0}h1{font-size:31px}h2{font-size:26px}.scene-actions button{font-size:12px;padding:10px}.audio-card{flex-direction:column;align-items:stretch;gap:12px}audio{width:100%;max-width:none}.stage-bottom>span{max-width:180px}.stage-bottom{flex-wrap:wrap}}
@media(max-width:700px){.header{height:78px;padding:0 18px}.brand{font-size:19px}.brand small{font-size:7px;letter-spacing:1.3px}.brand-mark{width:44px;height:44px}.header-right{gap:9px}.header-right button{font-size:12px;padding:7px 10px}.year{font-size:8px;letter-spacing:.8px}.year b{font-size:14px}.workspace{display:flex;flex-direction:column}.sidebar{position:static;order:2;height:auto;border-right:0;border-top:1px solid var(--line)}main{padding:20px 16px 0}.aside-top{padding:24px 20px 0}.aside-top h1 br{display:none}.aside-top h1{font-size:29px}.map-preview{height:110px;margin:15px 0}.scene-heading{min-height:65px;margin-bottom:16px}.scene-heading h2{font-size:25px}.scene-heading .eyebrow{font-size:9px;letter-spacing:1.3px}.kind{font-size:10px}.stage{height:52dvh;min-height:300px;max-height:570px}.stage-top,.stage-bottom{left:10px;right:10px}.stage-top{top:10px}.stage-bottom{bottom:10px}.stage-bottom>span{font-size:10px;max-width:none}#fullscreen span{display:none}.scene-actions{gap:7px}.scene-actions button{font-size:12px}.scene-actions>button:first-child span,.scene-actions>button:last-child span{display:none}.scene-actions>button:first-child,.scene-actions>button:last-child{width:46px;font-size:20px;padding:5px}.scene-actions .primary{flex:1}.audio-card{padding:17px}footer{font-size:9px;flex-direction:column;gap:3px;margin:17px 0}#places{overflow:visible;padding:0 12px 20px;display:grid;grid-template-columns:1fr 1fr;gap:3px}.place{align-items:start}.place img{width:40px;height:40px}.place{gap:8px}.place .place-name{font-size:12px}.place .number{display:none}.extra-icon{min-width:40px;width:40px;height:40px}dialog{padding:17px;width:96vw;max-height:95dvh}.dialog-heading h2{font-size:24px}.map-tools span{margin-left:0}.map-scroll{height:55dvh}.audio-card #track-title{font-size:19px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.mobile-shortcuts{display:none}
@media(max-width:700px){.mobile-shortcuts{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:0 0 18px}.mobile-shortcuts button,.mobile-shortcuts a{font-size:12px}.mobile-shortcuts a{padding:10px}.brand>span:last-child{white-space:nowrap}.brand small{white-space:normal}.scene-heading>div{min-width:0}.scene-heading h2{overflow-wrap:anywhere}.header-right .year{display:none}}
.place{min-width:0}.place-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){#places{grid-template-columns:repeat(2,minmax(0,1fr))}audio{min-width:0}}
@media(max-width:360px){#places{grid-template-columns:1fr}.header{padding:0 14px}.header-right button{padding:7px}.brand{font-size:17px}.brand small{font-size:6px}}
.audio-card>div{min-width:0;flex:1}.audio-card #track-credits{font:12px/1.6 system-ui,sans-serif;margin:5px 0 2px;overflow-wrap:anywhere}.audio-card #track-album{font:11px/1.5 system-ui,sans-serif;color:var(--muted);margin-bottom:3px;overflow-wrap:anywhere}.audio-card audio{flex-shrink:0}
.audio-card #track-reference{font:12px/1.6 system-ui,sans-serif;margin-top:5px;overflow-wrap:anywhere}
/* Make the historical map's added navigation unmistakably interactive. */
.map-preview{height:134px;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:8px;border:1px solid #355c46;background:linear-gradient(0deg,#173e32f5,#173e32ab 65%,#173e3255),url('../vtour/map.png') center 40%/cover;box-shadow:0 3px 10px #19392b14}
.map-preview:hover{background:linear-gradient(0deg,#173e32,#173e32a8),url('../vtour/map.png') center 40%/cover;border-color:#1a6948}
.map-preview .map-preview-count{font-size:9px;letter-spacing:1.7px;color:#dcebd4;font-weight:700}
.map-preview .map-preview-title{font-size:18px;font-weight:650;line-height:1.25;display:flex;align-items:center;justify-content:space-between;gap:6px}
.map-preview-title b{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#fff;color:var(--green);border-radius:50%;font-size:18px}
.map-preview small{font-size:11px;color:#e6eddf;font-weight:400;line-height:1.35}
#map-dialog{width:min(96vw,1320px)}
.map-guide{display:flex;align-items:center;gap:13px;background:#e3ecdf;border:1px solid #bbcdb4;border-radius:8px;padding:13px 16px;margin:18px 0 12px}
.map-guide-icon,.legend-scene{display:inline-grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:#235540;border:2px solid white;color:white;border-radius:50%;font:700 12px system-ui,sans-serif;box-shadow:0 1px 4px #183d2720}
.map-guide strong{display:block;font-size:14px;font-weight:650}.map-guide div>span{display:block;font-size:12px;color:#4b6554;margin-top:3px}
.map-tools{margin:12px 0;font-size:12px}.map-legend{display:flex;align-items:center;gap:7px}.legend-scene{width:23px;height:23px;font-size:10px;box-shadow:none}.legend-info{display:inline-grid;place-items:center;background:#936820;border:2px solid white;border-radius:5px;color:white;width:23px;height:23px;font-size:12px;margin-left:8px}
.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:16px}.map-scroll{height:56dvh;min-height:290px}.map-choice-panel{min-width:0;border:1px solid #ccd5c5;border-radius:8px;background:#fff;display:flex;flex-direction:column;max-height:56dvh;min-height:290px;overflow:hidden}
.map-choice-heading{padding:15px 16px 12px;border-bottom:1px solid var(--line);background:#f6f7f0}.map-choice-heading h3{font:23px Georgia,serif;margin:0 0 3px}.map-choice-heading>span{font-size:11px;color:var(--muted)}
#map-place-list{overflow:auto;padding:6px;min-height:0}.map-choice{display:flex;gap:10px;align-items:center;text-align:left;width:100%;border:1px solid transparent;border-radius:6px;padding:10px 8px;background:#fff;min-height:64px;margin:2px 0}
.map-choice:hover,.map-choice:focus-visible{background:#edf3e8;border-color:#b1c7a8}.map-choice[aria-current=true]{background:#e7efe0;border-color:#98b28b}.map-choice-number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:#235540;color:#fff;border:2px solid white;border-radius:50%;font-size:11px}.map-choice-info .map-choice-number{border-radius:6px;background:#936820}.map-choice-label{font-size:12px;line-height:1.35;min-width:0;overflow-wrap:anywhere;flex:1}.map-choice-label small{display:block;font-size:10px;color:#526c56;margin-top:4px}.map-choice-arrow{font-size:19px;color:#41614b}
.map-pin{cursor:pointer;font-weight:700;outline:1px solid #254f36;transition:box-shadow .15s,transform .15s}
.map-pin.info-pin{outline-color:#936820}.map-pin:hover,.map-pin:focus-visible{box-shadow:0 0 0 5px #f5e1a9bb,0 2px 7px #0008}
.map-pin::after{content:attr(data-label);display:none;position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);width:max-content;max-width:235px;padding:8px 11px;border-radius:6px;background:#173e32;color:#fff;font:11px/1.4 system-ui,sans-serif;white-space:normal;box-shadow:0 3px 8px #0003;pointer-events:none;text-align:left}
.map-pin:hover::after,.map-pin:focus-visible::after{display:block}.map-history-note{font-size:11px;line-height:1.5;color:var(--muted);margin:13px 0 0}
@media(max-width:850px){.map-layout{grid-template-columns:minmax(0,1fr)}.map-scroll{height:46dvh;min-height:260px}.map-choice-panel{max-height:300px;min-height:200px}.map-tools>span{margin-left:0}.map-guide{padding:12px;align-items:flex-start}.map-guide strong{font-size:13px}.map-guide div>span{font-size:11px}.map-tools input{width:120px}.map-tools{gap:10px}.map-preview{height:134px}}
@media(prefers-reduced-motion:reduce){.map-pin{transition:none}}
#map-canvas{margin-inline:auto}
.map-view-tabs{display:none}.legend-group{display:inline-grid;place-items:center;background:#234e40;border:2px solid #efd7a0;border-radius:12px;color:white;width:27px;height:23px;font-size:14px;margin-left:8px}
.map-cluster{position:absolute;transform:translate(-50%,-50%);border:2px solid #fff;outline:2px solid #c69b45;border-radius:18px;background:#234e40;color:white;font-weight:700;font-size:12px;min-width:42px;min-height:32px;padding:3px 8px;z-index:4;box-shadow:0 2px 7px #0005}
.map-cluster:hover,.map-cluster:focus-visible{background:#396a4c;box-shadow:0 0 0 5px #f4e1a9b0}.map-cluster[aria-current=true]{outline:3px solid #dfb65f}
#map-show-all{font-size:11px;padding:6px 10px;min-height:34px;margin-top:8px}
@media(max-width:850px){.map-view-tabs{display:flex;gap:7px;margin:12px 0}.map-view-tabs button{flex:1;font-size:13px}.map-view-tabs button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}#map-dialog[data-map-view=list] .map-tools,#map-dialog[data-map-view=list] .map-scroll{display:none}#map-dialog[data-map-view=map] .map-choice-panel{display:none}#map-dialog[data-map-view=list] .map-choice-panel{max-height:52dvh;min-height:230px}.map-guide{margin-top:12px}.map-guide strong{font-size:12px}.map-legend{flex-wrap:wrap}}
