:root{--bg:#071a23;--border:rgba(232,243,239,.16);--cream:#f1f1e7;--muted:#bac7c7;--teal:#b4dfd4;--accent:#e6b57a;--panel:rgba(9,27,37,.87);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--cream);color-scheme:dark}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{overflow:hidden;background:#09202d}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.app-shell{position:relative;width:100%;height:100vh;height:100dvh;min-height:520px;overflow:hidden;isolation:isolate;background:#142b34}#scene{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:none;outline:0;z-index:0}#scene.dragging{cursor:grabbing}#scene:focus-visible{outline:2px solid var(--teal);outline-offset:-4px}
.app-shell:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(90deg,rgba(3,20,28,.52),transparent 44%,rgba(5,19,29,.24) 68%,rgba(5,19,29,.28)),linear-gradient(0deg,rgba(2,17,24,.55),transparent 29%);}
.topbar{z-index:9;position:absolute;top:0;left:0;right:0;height:85px;padding:0 3.2%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:linear-gradient(180deg,rgba(9,25,34,.7),rgba(9,25,34,.18))}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none}.brand-icon{display:grid;place-items:center;position:relative;width:31px;height:43px;border-radius:4px 4px 1px 1px;clip-path:polygon(39% 9%,61% 9%,70% 100%,30% 100%);background:linear-gradient(to bottom,#c54d35 0 36%,#eff0e5 36% 73%,#102b35 73%);box-shadow:inset 0 0 0 5px #11212a}.brand-icon:before{content:"";position:absolute;top:0;height:8px;background:#d6d9cf;width:70%;border:3px solid #10252a}.brand-beam{position:absolute;top:9px;width:13px;height:3px;background:#dacc95;box-shadow:0 0 11px #e4c87d}.brand-copy{display:flex;flex-direction:column;gap:5px}.brand-copy strong{font-size:18px;letter-spacing:.12em;font-weight:780;line-height:1}.brand-slash{padding:0 5px;color:var(--accent)}.brand-copy small{font-size:9px;letter-spacing:.19em;color:#d1dcda;font-weight:650}.top-center{display:flex;align-items:center;gap:9px;color:#e7f0ea;font-size:10px;letter-spacing:.2em;font-weight:650}.signal-dot,.footer-mark{display:inline-block;width:6px;height:6px;background:#a7dbbd;border-radius:50%;box-shadow:0 0 11px #b4e7b1}.top-actions{display:flex;align-items:center;gap:23px}.edition{font-size:10px;letter-spacing:.18em;color:#d4e3e1}.lang-button{background:rgba(11,32,42,.42);border:1px solid rgba(219,233,232,.4);border-radius:4px;color:#edf5ed;padding:10px 15px;letter-spacing:.08em;font-size:11px;font-weight:700}
.intro{position:absolute;top:22%;left:5.25%;width:min(390px,30%);z-index:3;pointer-events:none}.eyebrow{font-size:10px;letter-spacing:.26em;color:#c9e4de;display:flex;align-items:center;gap:13px;font-weight:720}.eyebrow .line{display:inline-block;width:29px;height:1px;background:#e8c494}.intro-heading{font-weight:700;font-size:clamp(43px,5.1vw,82px);line-height:.98;letter-spacing:-.052em;margin:28px 0 20px;text-shadow:0 3px 50px #09212b}.intro-heading em{font-family:Georgia,serif;font-size:.65em;font-weight:400;letter-spacing:-.045em;font-style:italic;color:#f1dbb6;line-height:1.5}.title-dot{color:#dfaf70}.intro p{max-width:310px;font-size:13px;line-height:1.85;color:#e1eae7;letter-spacing:.004em;text-shadow:0 2px 20px #07191e}.intro-foot{margin-top:35px;display:flex;gap:13px;align-items:center;font-size:10px;letter-spacing:.18em;font-weight:720;color:#f4e7d1}.index-no{color:var(--accent);font-size:10px}.tiny-arrow{font-size:25px;font-weight:300}
.control-panel{position:absolute;right:3%;top:109px;bottom:79px;width:315px;max-height:760px;z-index:5;background:var(--panel);border:1px solid rgba(207,232,227,.22);border-radius:9px;box-shadow:0 12px 55px #06141c80;backdrop-filter:blur(16px);display:flex;flex-direction:column;overflow:hidden}.panel-heading{padding:24px 24px 20px;display:flex;align-items:center;justify-content:space-between}.panel-kicker{color:#a6c7bd;font-size:9px;letter-spacing:.21em;font-weight:750}.panel-heading h2{font-size:26px;font-weight:570;letter-spacing:-.035em;margin:5px 0 0}.indicator-ring{width:34px;height:34px;border:1px solid #7b948c;border-radius:50%;display:grid;place-items:center}.indicator-ring:before{content:"";display:block;width:19px;height:19px;border:1px dashed #a4bdb6;border-radius:50%}.indicator-ring i{position:absolute;width:4px;height:4px;background:var(--accent);border-radius:50%}.tabs{display:flex;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.tab{border:0;border-right:1px solid var(--border);background:transparent;color:#9eb7b5;padding:14px 9px;font-size:9px;letter-spacing:.16em;font-weight:750;flex:1;position:relative}.tab:last-child{border-right:0}.tab.active{color:#f5e9d0;background:#ffffff0a}.tab.active:after{content:"";position:absolute;bottom:0;height:2px;left:11px;right:11px;background:var(--accent)}.panel-page{padding:20px 24px 14px;overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#52696b transparent}.panel-page[hidden]{display:none}.control-group{margin:0 0 21px}.control-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:760;letter-spacing:.14em;color:#c3d7d2;font-size:10px;margin:0 0 11px}.control-caption output{font-size:12px;color:#f5dcba;letter-spacing:.06em;font-weight:640}input[type=range]{width:100%;height:4px;margin:4px 0 5px;accent-color:#e6bf91;cursor:pointer}.range-ends{display:flex;justify-content:space-between;color:#839c9f;font-size:9px;letter-spacing:.04em}.segmented{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid rgba(218,233,229,.2);border-radius:5px;overflow:hidden}.segmented button{border:0;border-right:1px solid var(--border);color:#bdd0ce;background:rgba(255,255,255,.02);font-size:11px;font-weight:680;padding:10px 5px}.segmented button:last-child{border-right:0}.segmented button.selected{background:#e8c695;color:#20323a}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid var(--border)}.toggle-row.last{padding-bottom:1px}.toggle-row strong{display:block;font-size:12px;font-weight:650}.toggle-row small{display:block;color:#96b2b0;font-size:10px;margin-top:4px}.switch{position:relative;display:block;width:36px;height:21px;flex-shrink:0}.switch input{position:absolute;opacity:0}.switch span{position:absolute;inset:0;border-radius:21px;border:1px solid #728c8b;background:#253e46;transition:background .15s}.switch span:before{content:"";position:absolute;width:13px;height:13px;border-radius:50%;background:#adc5c1;left:3px;top:3px;transition:transform .15s}.switch input:checked+span{background:#dcb88d;border-color:#e4cba8}.switch input:checked+span:before{background:#1a343b;transform:translateX(15px)}.switch input:focus-visible+span{outline:2px solid white}.panel-bottom{padding:14px 24px 21px;border-top:1px solid var(--border)}.panel-bottom .control-caption{display:block;font-size:9px;margin-bottom:11px}.camera-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.camera-buttons button{border:1px solid #627b7a55;border-radius:3px;background:#32474b57;color:#b9ceca;font-size:9px;letter-spacing:.08em;padding:10px 2px;font-weight:780}.camera-buttons button.selected{border-color:#dabf95;color:#ffdfb8;background:#d9bd9120}.reset-button{width:100%;display:flex;align-items:center;justify-content:center;gap:11px;margin-top:13px;border:1px solid #d5dfd346;border-radius:4px;color:#e6e9de;background:#e5e9df0a;padding:12px 8px;font-size:10px;letter-spacing:.13em;font-weight:750}.reset-button span:first-child{font-size:19px;line-height:10px;font-weight:300}.outline-button{border:1px solid #92aea6;background:transparent;border-radius:4px;color:#e4ecdf;padding:13px;width:100%;font-size:10px;letter-spacing:.13em;font-weight:680}.optic-graphic{height:175px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;background:radial-gradient(ellipse at center,#1e3e48 0,transparent 72%)}.optic-circle{width:110px;height:110px;border:1px dashed #54767e;border-radius:50%;display:grid;place-items:center;position:relative}.optic-circle:before,.optic-circle:after{content:"";position:absolute;border-radius:50%;border:1px solid #51717c66;inset:16px}.optic-circle:after{inset:34px}.optic-center{position:absolute;border-radius:50%;width:10px;height:10px;background:#eed6a1;box-shadow:0 0 19px #ffe6ac}.optic-sweep{position:absolute;inset:-5px;background:conic-gradient(from 0deg,transparent 0%,#e8c99260 13%,transparent 27%);border-radius:50%}.optic-tag{color:#93b9b5;font-size:9px;letter-spacing:.14em}.optic-note{font-size:12px;line-height:1.8;color:#afc8c4;margin:8px 0 20px}.heritage-list{display:grid;grid-template-columns:1fr 1fr;gap:15px}.heritage-list>div{border:1px solid #63828455;border-radius:4px;padding:16px 11px;background:#18313b42}.heritage-list span{display:block;color:#f2e1c6;font-size:18px;font-weight:700}.heritage-list small{font-size:8px;color:#a3bfbb;letter-spacing:.1em;line-height:1.8}.source-link{font-size:9px;line-height:1.6;letter-spacing:.12em;text-decoration:none;border-bottom:1px solid var(--accent);color:#f0d0a3;padding-bottom:7px;font-weight:700}
.hotspots{position:absolute;inset:0;z-index:3;pointer-events:none}.hotspot{position:absolute;width:24px;height:24px;transform:translate(-50%,-50%);border:1px solid #f1dfbd9c;background:#17343f7d;border-radius:50%;pointer-events:auto;display:grid;place-items:center;box-shadow:0 0 0 7px #253e3d30,0 4px 12px #0014;transition:transform .15s,background .15s}.hotspot:before{content:"";width:5px;height:5px;background:#f9dfb4;border-radius:50%}.hotspot:hover,.hotspot.active{background:#e4ba7b;transform:translate(-50%,-50%) scale(1.2)}.hotspot:hover:before,.hotspot.active:before{background:#163844}.hotspot:after{content:attr(data-title);position:absolute;white-space:nowrap;bottom:35px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:.03em;color:white;background:#081f29e9;padding:9px 12px;border:1px solid #adc7c160;border-radius:4px;opacity:0;pointer-events:none}.hotspot:hover:after,.hotspot:focus-visible:after{opacity:1}
.location-card{position:absolute;left:5.2%;bottom:104px;z-index:4;width:300px;padding:19px 21px;background:#0b252edf;backdrop-filter:blur(14px);border:1px solid #b5d1c969;border-radius:5px;box-shadow:0 20px 50px #0917207a;transform:translateY(20px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.location-card.visible{opacity:1;transform:translateY(0);pointer-events:auto}.location-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.16em;font-weight:750;color:#e9c89b}.location-top button{border:0;background:transparent;color:white;font-size:23px;line-height:1}.location-card h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:12px 0}.location-card p{font-size:12px;line-height:1.75;color:#c5d8d3;margin:0 0 15px}.detail-action{border-top:1px solid var(--border);padding-top:12px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.15em;color:#e5c29a}
.footer{position:absolute;bottom:0;left:0;right:0;min-height:58px;display:flex;align-items:center;justify-content:space-between;z-index:6;border-top:1px solid var(--border);background:#081f29a6;backdrop-filter:blur(8px);padding:0 3.2%;font-size:10px;letter-spacing:.15em;font-weight:700;color:#d9e8e3}.footer-left,.footer-mid,.footer-right{display:flex;align-items:center;gap:14px}.footer-div{color:#829e9d}.footer-mid>span:first-child{color:#a6e5ba}.compass{font-size:23px;font-weight:300;color:#e9d4ac}
#errorPanel{position:absolute;z-index:40;top:30%;left:50%;width:min(90vw,500px);transform:translateX(-50%);padding:26px;color:#fff;background:#74291f;border:1px solid #fff;border-radius:9px;line-height:1.8}#errorPanel[hidden]{display:none}
@media(max-width:1100px){.intro{left:4%;top:18%;width:33%}.intro-heading{font-size:clamp(43px,5.8vw,65px)}.intro-foot{margin-top:15px}.control-panel{right:2%;width:292px}.topbar{padding:0 2%}.edition,.top-center{display:none}.location-card{left:3%}}
@media(max-width:740px){.app-shell{min-height:560px}.topbar{height:67px;padding:0 16px}.brand-copy strong{font-size:15px}.brand-copy small{font-size:7px}.brand-icon{width:27px;height:37px}.lang-button{padding:9px 10px}.intro{top:86px;left:17px;width:46%}.eyebrow{font-size:8px;gap:8px}.intro-heading{font-size:clamp(32px,7.5vw,50px);margin:16px 0}.intro p{font-size:10px;line-height:1.5;max-width:200px}.intro-foot{display:none}.control-panel{right:12px;top:auto;bottom:62px;width:min(320px,72vw);height: min(430px,60dvh)}.panel-heading{padding:13px 15px 12px}.panel-heading h2{font-size:20px}.tabs .tab{padding:10px 5px}.panel-page{padding:14px 15px 7px}.control-group{margin-bottom:15px}.panel-bottom{padding:11px 15px 12px}.camera-buttons button{font-size:8px;padding:8px 1px}.reset-button{margin-top:8px;padding:8px}.location-card{left:12px;bottom:84px;width:min(280px,57vw)}.footer{min-height:49px;padding:0 14px;font-size:9px}.footer-mid,.footer-right{display:none}.hotspot{width:20px;height:20px}}
@media(max-width:480px){.intro{top:88px;left:13px;width:56%}.intro-heading{font-size:34px}.intro p{max-width:185px}.control-panel{right:7px;width:62vw;max-width:300px;height:min(380px,57dvh)}.panel-heading h2{font-size:17px}.panel-kicker{font-size:8px}.indicator-ring{display:none}.control-caption{font-size:9px}.toggle-row small{font-size:9px}.hotspot{width:17px;height:17px}.location-card{left:9px;bottom:82px;width:48vw;padding:11px}.location-card h3{font-size:18px}.location-card p{font-size:10px}.footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
