:root{color-scheme:dark;--gold:#be9461;--blue:#042556;--surface:rgba(0,0,0,.6);font:12px PingFangSC-Regular,"Microsoft YaHei","Hiragino Sans GB",tahoma,Arial,sans-serif;color:#fff}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#181c22}button,input{font:inherit}button{border:0;color:inherit;background:none;cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}[hidden]{display:none!important}
#panorama{position:absolute;inset:0;outline:none}.circle{width:34px;height:34px;border:2px solid #ffffff33;border-radius:50%;background:#0009;background-clip:padding-box;display:grid;place-items:center;padding:6px;box-shadow:0 0 0 1px #0005;color:#fff}.circle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.circle:hover{background:#042556d9;color:#ead5bb}.top-tools{position:absolute;top:max(16px,env(safe-area-inset-top));right:15px;display:flex;flex-direction:column;gap:8px;z-index:5}#language-button{font:12px Arial,sans-serif;padding:0}
#language-panel{position:absolute;z-index:8;top:99px;right:15px;min-width:140px;background:#151b22eF;border:1px solid #ffffff25;padding:5px;border-radius:6px;box-shadow:0 5px 20px #0004}#language-panel button{display:block;width:100%;padding:9px 12px;text-align:left;border-radius:3px}#language-panel button.active,#language-panel button:hover{background:var(--gold);color:#fff}
#tour-footer{position:absolute;bottom:78px;left:15px;right:15px;z-index:4;transition:opacity .22s,visibility .22s}#tour-footer.closed{visibility:hidden;opacity:0;pointer-events:none}
#floor-row{height:32px;margin-bottom:8px;gap:12px;justify-content:safe center;align-items:center}#floor-row button{height:32px;line-height:32px;padding:0 18px;min-width:100px;max-width:none;border-radius:28px;background:#0008;white-space:nowrap}#floor-row button.active{background:var(--gold)}
#floor-row button span,#room-row button span{display:block;white-space:nowrap}#floor-row button:hover span.overflow,#floor-row button.active span.overflow{animation:marquee var(--duration,7s) linear infinite}
@keyframes marquee{0%,15%{transform:translateX(0)}65%,80%{transform:translateX(var(--travel,0px))}100%{transform:translateX(0)}}
#scene-panel{background:var(--surface);border-radius:6px;overflow:hidden}#room-row{height:49px;border-bottom:1px solid #ffffff24;justify-content:safe center;gap:8px;padding:0 14px}#room-row button{position:relative;height:48px;line-height:48px;padding:0 18px;max-width:none;white-space:nowrap}#room-row button:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:transparent}#room-row button.active:after{background:var(--gold)}#room-row button.active span.overflow,#room-row button:hover span.overflow{animation:marquee var(--duration,7s) linear infinite}
#scene-strip{height:102px;padding:14px;gap:10px;justify-content:safe center;align-items:center}.scene-card{position:relative;width:70px;height:70px;padding:0;border:2px solid white;border-radius:5px;overflow:hidden;flex:0 0 70px}.scene-card.active{border-color:var(--gold)}.scene-card img{display:block;width:100%;height:100%;object-fit:cover}.scene-card .name{position:absolute;bottom:0;left:0;right:0;height:24px;line-height:24px;text-align:center;background:#0005;font-size:12px;white-space:nowrap;overflow:hidden;padding:0 2px}.scene-card .check{display:none;position:absolute;right:2px;top:2px;width:17px;height:17px;border-radius:50%;background:white;color:var(--gold);font-size:14px;line-height:17px;text-align:center;font-weight:bold}.scene-card.active .check{display:block}
.horizontal-row{touch-action:pan-y;scrollbar-width:none}.horizontal-row:focus-visible{outline:1px solid var(--gold);outline-offset:-1px}
#toggle-scenes{position:absolute;left:15px;bottom:max(8px,env(safe-area-inset-bottom));z-index:5;width:50px;height:58px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:0;font-size:12px;white-space:nowrap}#toggle-scenes .circle{width:34px;height:34px;flex-shrink:0}#toggle-scenes[aria-expanded=false] svg{transform:rotate(180deg)}#search-button{position:absolute;right:0;bottom:calc(100% + 10px);z-index:5}
.route-arrow{width:70px!important;height:95px!important;background:none!important;border:0!important;cursor:pointer;outline:none;overflow:visible;z-index:2}.arrow-image{position:absolute;width:70px;height:70px;left:0;top:0;display:block;background-repeat:no-repeat;background-size:100% 1600%;animation:reference-arrow .96s steps(16) infinite;pointer-events:none}.arrow-label{position:absolute;left:50%;top:72px;transform:translateX(-50%);white-space:nowrap;background:#0009;border-radius:3px;font-size:12px;line-height:1.5;padding:3px 6px;letter-spacing:1px;max-width:320px;overflow:hidden;text-overflow:ellipsis;font-weight:400;pointer-events:none}.route-arrow:hover .arrow-label{background:#042556dd}.route-arrow:focus-visible{outline:1px solid var(--gold)}

#loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:10px;align-items:center;z-index:10;background:#101720d9;padding:14px 20px;border-radius:6px;font-size:12px}#loading i{width:20px;height:20px;border:2px solid #ffffff33;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#viewer-error{position:absolute;inset:0;z-index:9;display:grid;place-items:center;padding:30px;background:#111a25dc;text-align:center;white-space:pre-line;line-height:1.8;color:#edcda5}#toast{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:15;background:#111b28eF;padding:12px 18px;border-radius:5px;max-width:80vw;overflow-wrap:anywhere}
#search-dialog{color:white;background:#17202bf5;border:1px solid #ffffff28;border-radius:8px;width:min(600px,calc(100vw - 30px));max-height:80dvh;padding:14px}#search-dialog::backdrop{background:#0007}.search-head{display:flex;gap:8px;margin-bottom:12px}#search-input{min-width:0;flex:1;border:1px solid #ffffff3a;background:#0003;border-radius:4px;padding:10px;color:white}#search-close{font-size:26px;width:32px}#search-results{overflow:auto;max-height:60dvh;display:flex;flex-direction:column;gap:4px}.search-card{display:flex;gap:12px;padding:7px;text-align:left;border-radius:4px;align-items:center}.search-card:hover{background:#be946133}.search-card img{width:78px;height:49px;object-fit:cover;border-radius:3px}.search-card span{display:block}.search-card small{display:block;color:#bbb;margin-top:5px}
.pnlm-controls-container,.pnlm-load-box,.pnlm-about-msg,.pnlm-panorama-info{display:none!important}.pnlm-hotspot-base{margin:0}.pnlm-error-msg{display:none!important}
@media(max-width:650px){
 #tour-footer{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom))}
 #floor-row{justify-content:safe center;gap:12px;height:34px;padding:0 14px;margin-bottom:10px}
 #floor-row button{height:34px;line-height:34px;padding:0 18px;min-width:100px}
 #room-row{justify-content:safe center;gap:8px;height:49px;padding:0 14px}
 #room-row button{height:48px;line-height:48px;padding:0 18px}
 #scene-strip{justify-content:safe center;padding:14px;gap:12px;height:102px}
 .top-tools{right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top))}
 #language-panel{right:12px;top:94px}.arrow-label{max-width:220px;font-size:11px}
 #toggle-scenes{left:max(10px,env(safe-area-inset-left));bottom:calc(8px + env(safe-area-inset-bottom))}
}
@media(max-height:500px){#tour-footer{bottom:calc(54px + env(safe-area-inset-bottom))}#scene-strip{height:82px;padding:6px 14px}.scene-card{width:66px;height:66px;flex-basis:66px}#room-row{height:41px}#room-row button{height:40px;line-height:40px}#floor-row{height:30px;margin-bottom:6px}#floor-row button{height:30px;line-height:30px}#toggle-scenes{height:44px;gap:2px}#toggle-scenes .circle{width:27px;height:27px}#toggle-scenes .toggle-label{font-size:10px}.circle{width:30px;height:30px}.top-tools{gap:6px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@keyframes reference-arrow{to{background-position-y:-1120px}}

/* Circle contents must not exceed the inner box, including on short screens. */
.circle{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;vertical-align:middle;appearance:none;-webkit-appearance:none}
.circle svg{display:block;width:20px;height:20px;flex:0 0 20px;margin:0;overflow:visible}
#language-button{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;text-align:center}
#language-button .circle-label{display:flex;align-items:center;justify-content:center;width:20px;height:20px;line-height:20px;margin:0;padding:0}
