/* Additions for scene navigation, anchored building labels and original floor plans. */
@font-face{font-family:"Huaxisong WenKai";src:url("./fonts/huaxisong-wenkai.woff2?v=20260913-real6") format("woff2");font-style:normal;font-weight:400;font-display:swap}
.pnlm-container .building-marker button,.pnlm-container .walk-marker button,.pnlm-container .walk-arrow{box-sizing:border-box}.building-short{display:none}
.plan-shortcuts{position:absolute;z-index:3;left:40px;top:145px;display:flex;flex-direction:column;gap:8px}
.shortcut-label{font-size:11px;letter-spacing:2px;color:var(--gold);margin-bottom:2px}
.plan-shortcuts button{width:94px;padding:10px 12px;text-align:left;border:1px solid var(--line);border-radius:4px;color:var(--ink);background:#13281ee6;backdrop-filter:blur(12px)}
.plan-shortcuts strong{font-weight:500;font-size:16px;display:block}.plan-shortcuts button span{font-size:11px;letter-spacing:2px;color:var(--gold)}
.plan-shortcuts button:hover{background:#304535}.label-toggle{font-size:12px}.label-toggle[aria-pressed=false]{color:#fff8}
.scene-nav{max-width:calc(100% - 80px);overflow-x:auto;scrollbar-width:thin;scrollbar-color:#b9b39b66 transparent;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
.scene-button{padding:15px 16px;flex:none;white-space:nowrap;scroll-snap-align:center;min-height:46px}.scene-heading{bottom:154px}.icon-button{min-width:44px;min-height:44px}
.pnlm-hotspot-base.building-marker,.pnlm-hotspot-base.walk-marker{width:0;height:0;background:none;border:0}
.building-marker button,.walk-marker button{position:absolute;left:0;top:0;transform:translate(-50%,-100%);color:#fff;border:1px solid #d1d0bca6;border-radius:4px;white-space:nowrap;font:12px "Microsoft YaHei",sans-serif;min-height:35px;padding:7px 10px;background:#173c35eb;box-shadow:0 3px 12px #0004}
.building-marker button::after{content:"";position:absolute;top:100%;height:18px;left:50%;border-left:1px solid #f5e4b3}.building-marker button:hover{background:#bda77c;color:#172c20}.hide-building-labels .building-marker{display:none!important}
.walk-marker button{transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;background:#f1eaddeF;color:#1f382a;border-color:#fff7;min-height:42px;font-size:11px;box-shadow:0 3px 15px #1028185c}.walk-arrow{display:grid;place-items:center;border:1px solid #243d2d70;border-radius:50%;width:25px;height:25px;font-size:20px}.walk-marker button:hover{background:#fff}.building-plans{display:flex;gap:10px}.building-plans button{color:var(--ink);background:#12291e;border:1px solid var(--line);border-radius:4px;padding:14px;font-size:13px;flex:1}.building-hint{margin-top:24px;color:var(--gold)}#building-title{margin-top:15px;font-size:32px}
.plan-dialog{width:min(1200px,calc(100vw - 40px));height:calc(100dvh - 40px);max-height:100dvh;max-width:100vw;padding:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#192c23;color:var(--ink)}
.plan-dialog[open]{display:flex;flex-direction:column}.plan-header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px 12px;gap:12px;flex:none}.plan-header .eyebrow{font-size:9px}.plan-header h2{font-family:inherit;font-size:21px;margin:8px 0 6px}.plan-header p{margin:0;font-size:12px;color:#d9dfd6;line-height:1.5}.plan-close{color:white;background:#0d1e1670;border:1px solid var(--line);border-radius:4px;width:44px;height:44px;font-size:28px;flex:none}.plan-tabs{display:flex;gap:8px;padding:0 24px 12px;flex:none}.plan-tabs button{color:var(--ink);border:1px solid var(--line);background:transparent;padding:9px 16px;border-radius:4px;font-size:12px;min-height:40px}.plan-tabs button[aria-pressed=true]{background:var(--gold);border-color:var(--gold);color:#152c1f}
.plan-viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:#e9e8e1;touch-action:none;cursor:grab;user-select:none}.plan-viewport:active{cursor:grabbing}.plan-viewport img{position:absolute;top:50%;left:50%;max-width:none;max-height:none;transform-origin:center;will-change:transform;user-select:none;pointer-events:none}.plan-viewport img[hidden]{display:none}#plan-status{position:absolute;inset:40% 16px auto;color:#263c2d;text-align:center}
.plan-footer{padding:10px 24px 12px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:space-between;flex:none}.plan-gesture{font-size:11px;color:#ccd7cb}.plan-tools{display:flex;gap:6px;align-items:center}.plan-tools button,.plan-tools a{color:var(--ink);background:#10241b;border:1px solid var(--line);border-radius:3px;min-height:40px;min-width:40px;padding:9px 12px;text-align:center;font-size:12px;text-decoration:none}.plan-tools button:disabled{opacity:.4;cursor:default}.plan-footer p{width:100%;margin:0;font-size:10px;color:#bfcabd;line-height:1.4}
@media(max-width:640px){.plan-shortcuts{top:max(96px,calc(env(safe-area-inset-top) + 72px));left:16px;right:16px;gap:6px;flex-direction:row;align-items:center}.shortcut-label{display:none}.plan-shortcuts button{width:auto;flex:1;padding:8px 10px;min-height:53px}.plan-shortcuts strong{font-size:14px}.plan-shortcuts button span{font-size:10px}.header{left:20px;right:20px}.scene-nav{width:calc(100% - 28px);max-width:calc(100% - 28px);justify-content:flex-start;gap:3px}.scene-button{min-width:105px;padding:12px 14px;flex:none}.gesture{font-size:10px}.gesture span{padding:0 5px}.scene-heading{left:20px;bottom:156px}.scene-heading p{max-width:235px}.controls{right:16px;bottom:160px}.icon-button{width:44px;height:44px}.building-marker button{font-size:11px;padding:6px 8px;min-height:32px}.walk-marker button{font-size:10px;padding:6px 8px}.plan-dialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border:0;border-radius:0;margin:0}.plan-header{padding:max(14px,env(safe-area-inset-top)) 16px 10px}.plan-header h2{font-size:19px;margin:6px 0}.plan-header p{font-size:11px}.plan-tabs{padding:0 16px 10px}.plan-footer{padding:10px 12px max(12px,env(safe-area-inset-bottom));gap:8px}.plan-gesture{font-size:10px}.plan-tools{margin-left:auto;gap:4px}.plan-tools button,.plan-tools a{padding:9px 10px;font-size:11px;min-height:42px}.plan-footer p{font-size:9px}.plan-header .eyebrow{font-size:8px}.plan-close{width:44px;height:44px}.plan-tools #plan-reset{min-width:70px}}
@media(max-height:520px){.plan-shortcuts{top:85px;left:20px;right:auto;gap:5px;flex-direction:row}.plan-shortcuts button{width:76px;min-height:44px;padding:6px 8px}.plan-shortcuts strong{font-size:13px}.shortcut-label{display:none}.controls{bottom:107px}.scene-heading{bottom:112px}.scene-nav{max-width:calc(100% - 28px)}.scene-button{padding:9px 12px}.plan-dialog{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.plan-header{padding:8px 16px 5px}.plan-header .eyebrow,.plan-header p,.plan-gesture,.plan-footer p{display:none}.plan-header h2{font-size:16px;margin:2px 0}.plan-close{height:34px;width:40px}.plan-tabs{position:absolute;top:7px;left:45%;padding:0;gap:5px}.plan-tabs button{min-height:34px;padding:6px 10px;font-size:11px}.plan-footer{padding:5px 12px;justify-content:flex-end}.plan-tools button,.plan-tools a{min-height:34px;padding:6px 10px}.plan-tools{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.plan-viewport img{will-change:auto}}
@media(max-width:640px){.building-full{display:none}.building-short{display:inline}.building-marker button{width:30px;height:30px;min-height:30px;min-width:30px;border-radius:50%;padding:0;font-size:13px;line-height:28px}.building-marker button::after{height:12px}.walk-marker button{min-height:38px}.walk-arrow{width:22px;height:22px;font-size:18px}}

/* A single handwritten typeface and translucent jade glass across the tour. */
:root{--tour-hand:"Huaxisong WenKai","KaiTi","STKaiti",serif;--glass-fill:linear-gradient(145deg,#ffffff29 0%,#173e3238 48%,#ffffff0a 100%);--glass-shadow:inset 0 1px 0 #fff7,inset 0 -1px 0 #d3e8db30,0 5px 18px #0a251b30}
html,body,button,input,dialog input,dialog h2,h1,.brand-name,.plan-header h2,.building-marker button,.walk-marker button,.pnlm-container{font-family:var(--tour-hand)}
input,button,a{font-synthesis:none}.brand-name{font-size:35px;letter-spacing:6px}.brand-en{letter-spacing:3px}.scene-button{font-size:15px}.scene-heading p{font-size:14px}.gesture,.caption{font-size:12px}.eyebrow{font-size:11px}.plan-header h2{font-size:24px}.plan-header p,.plan-tabs button,.plan-tools button,.plan-tools a{font-size:14px}
.glass-button,.icon-button,.plan-shortcuts button,.building-marker button,.walk-marker button,.scene-nav{background:var(--glass-fill);border-color:#ffffff6b;backdrop-filter:blur(9px) saturate(1.25);-webkit-backdrop-filter:blur(9px) saturate(1.25);box-shadow:var(--glass-shadow);color:#fffbed;text-shadow:0 1px 5px #071c13c9}
.glass-button:hover,.icon-button:hover,.plan-shortcuts button:hover,.building-marker button:hover,.walk-marker button:hover{background:linear-gradient(145deg,#ffffff50,#25594350);color:#fffbed;border-color:#fffc}
.plan-shortcuts{gap:10px}.plan-shortcuts button{position:relative;isolation:isolate;overflow:hidden;width:102px;padding:10px 10px 11px;text-align:center;border-radius:12px;animation:glass-breathe 5.5s ease-in-out infinite;transform-origin:center}
.plan-shortcuts button:nth-of-type(2){animation-delay:-1.2s}.plan-shortcuts button:nth-of-type(3){animation-delay:-2.4s}.plan-shortcuts button:nth-of-type(4){animation-delay:-3.6s}
.plan-shortcuts button::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(120deg,#fff2,transparent 36%,transparent 70%,#fff1)}
.plan-shortcuts strong{display:flex;align-items:baseline;justify-content:center;gap:2px;font-family:var(--tour-hand);font-size:29px;font-weight:400;line-height:1.1;letter-spacing:-1px}.plan-shortcuts strong small{font-size:12px;letter-spacing:0}.plan-shortcuts button>span{display:block;font-size:13px;line-height:1.35;letter-spacing:3px;padding-left:3px;margin-top:4px;color:#fff4d8}.shortcut-label{text-align:center;font-size:13px;letter-spacing:4px;color:#fff0cc;text-shadow:0 1px 5px #102218}
@keyframes glass-breathe{0%,100%{box-shadow:var(--glass-shadow);border-color:#ffffff65}50%{box-shadow:inset 0 1px 0 #fffc,inset 0 -1px 0 #e1f2d866,0 0 18px #e7edbd25,0 5px 18px #0a251b30;border-color:#ffffffe0}}
.building-marker button{border-radius:10px;font-size:15px;line-height:1.2;padding:7px 12px;background:linear-gradient(145deg,#ffffff35,#103b3066);backdrop-filter:blur(6px) saturate(1.2);-webkit-backdrop-filter:blur(6px) saturate(1.2)}
.building-marker button::after{border-color:#fff3ccaa}.walk-marker button{border-radius:20px;background:linear-gradient(145deg,#eaf1dfba,#7b9b8580);color:#0e2b20;text-shadow:0 1px 2px #fff7;font-size:13px}.walk-arrow{border-color:#2447359c}.scene-button.active{background:linear-gradient(135deg,#f4ecdcde,#e2eac8a1);color:#213f30;text-shadow:none;border-color:#fff9}
.header-actions{display:flex;align-items:center;gap:10px}.header-actions .glass-button{min-height:47px}.contact-open{text-align:left;padding:7px 12px;font-size:18px;letter-spacing:1px;gap:10px}.contact-open small{display:block;font-size:11px;color:#fff0ce;margin-top:2px;letter-spacing:3px}.contact-seal{display:grid;place-items:center;font-size:22px;border:1px solid #e1c391a6;color:#f4ddac;width:32px;height:32px;border-radius:5px;background:#74563822}.contact-dialog{padding:22px;width:390px;max-height:calc(100dvh - 24px);overflow-y:auto;background:radial-gradient(ellipse at 5% 0%,#375347 0%,#152c23 48%,#0a1d18 100%);border-color:#c9b98480;box-shadow:0 24px 80px #0007}.contact-close{position:absolute;top:12px;right:12px}.contact-heading{padding-right:35px}.contact-heading h2{font-size:30px;margin:8px 0 2px}.contact-heading p{margin:0 0 14px;color:#d8c7a0;font-size:13px}.contact-card{display:block;width:100%;height:auto;border-radius:9px;border:1px solid #c2ad784d}.contact-hint{font-size:13px;text-align:center;margin:12px 0;color:#e2d4b5}.contact-actions{display:flex;gap:10px;align-items:stretch}.contact-actions a{display:flex;justify-content:center;flex-direction:column;text-decoration:none;border:1px solid #d9c5916b;border-radius:8px;padding:10px 12px;color:#f7ecd8;background:#e3eacb0e}.contact-phone{flex:1;gap:3px}.contact-phone span{font-size:12px;color:#d4c3a3}.contact-phone strong{font-size:23px;font-weight:400;letter-spacing:.5px}.contact-save{font-size:16px;white-space:nowrap}.contact-actions a:hover{background:#e3eacb24}
@media(max-width:640px){.brand-name{font-size:29px;letter-spacing:4px;padding-left:4px}.header-actions{gap:7px}.header-actions .glass-button{min-height:44px}.contact-open{padding:6px 9px;font-size:16px;gap:6px}.contact-open small{font-size:10px;letter-spacing:2px}.contact-seal{width:25px;height:29px;font-size:20px}.plan-shortcuts{gap:7px;top:max(100px,calc(env(safe-area-inset-top) + 78px))}.plan-shortcuts button{width:auto;padding:8px 6px;border-radius:10px}.plan-shortcuts strong{font-size:26px}.plan-shortcuts strong small{font-size:11px}.plan-shortcuts button>span{font-size:12px;margin-top:2px}.building-marker button{width:31px;height:31px;border-radius:50%;padding:0;font-size:15px;line-height:29px}.walk-marker button{font-size:12px}.scene-button{font-size:14px}.gesture{font-size:12px}.caption{font-size:11px;letter-spacing:1px}.scene-heading p{font-size:12px}.scene-heading .eyebrow{font-size:10px}.label-toggle{font-size:14px}.plan-header h2{font-size:22px}.plan-header p,.plan-tabs button,.plan-tools button,.plan-tools a{font-size:13px}.plan-footer p{font-size:11px}.contact-dialog{width:350px;max-width:calc(100vw - 24px);padding:18px}.contact-heading h2{font-size:28px}}
@media(max-width:420px){#share{padding:10px;width:42px;justify-content:center}#share>span{display:none}.header{left:16px;right:16px}}
@media(max-width:360px){.contact-actions{gap:8px}.contact-actions a{padding:10px}.contact-phone{min-width:0}.contact-phone strong{font-size:20px;letter-spacing:0}.contact-save{font-size:14px}}
.contact-close{position:sticky;top:0;right:auto;z-index:1;margin:0 0 -44px auto;display:block;background:#12271eee}
@media(max-height:520px){.plan-shortcuts{top:84px;gap:7px}.plan-shortcuts button{width:77px;padding:6px}.plan-shortcuts strong{font-size:22px}.plan-shortcuts button>span{font-size:11px}.plan-header h2{font-size:19px}.plan-tabs button,.plan-tools button,.plan-tools a{font-size:12px}.header-actions .glass-button{min-height:40px}.contact-open{padding:5px 10px}.contact-open small{display:none}.scene-heading h1{margin:6px 0;font-size:27px}.plan-footer p{display:none}}
@media(prefers-reduced-motion:reduce){.plan-shortcuts button{animation:none}.plan-shortcuts button::before{opacity:.7}}
.detail-loading{position:fixed;z-index:12;left:50%;top:88px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid #eee1b84d;border-radius:20px;color:#f5edda;background:#132b23bd;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:13px;white-space:nowrap;pointer-events:none}.detail-loading[hidden]{display:none}.detail-loading .spinner{width:13px;height:13px;flex:none}@media(max-width:640px){.detail-loading{top:185px}}@media(max-height:520px){.detail-loading{top:18px;left:50%;font-size:12px}}

/* Compact mobile controls leave the centre of the panorama open. */
.plan-shortcuts,.controls,.scene-heading{transition:opacity .16s ease-out}
.is-dragging .plan-shortcuts,.is-dragging .controls,.is-dragging .scene-heading{opacity:.25;pointer-events:none}
.is-dragging .building-marker,.is-dragging .walk-marker{visibility:hidden}
.is-dragging .plan-shortcuts button{animation-play-state:paused}
@media(max-width:640px),(max-height:520px) and (pointer:coarse){
  .header{top:max(10px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));height:44px}
  .brand-name{font-size:23px;letter-spacing:3px;padding-left:3px}.brand-en{font-size:7px;letter-spacing:2px;margin-top:3px}
  .header-actions{gap:6px}.header-actions .glass-button{height:44px;min-height:44px;border-radius:10px}
  .contact-open{padding:5px 8px;font-size:13px;gap:5px}.contact-open small{font-size:9px;letter-spacing:1px;margin-top:1px}
  .contact-seal{width:22px;height:26px;font-size:17px}#share{width:40px;padding:9px;justify-content:center}#share>span{display:none}
  .plan-shortcuts{top:max(66px,calc(env(safe-area-inset-top) + 56px));left:14px;right:auto;flex-direction:row;gap:6px;align-items:center}
  .plan-shortcuts button{flex:none;width:56px;min-height:44px;height:44px;padding:5px 3px;border-radius:9px;animation:none}
  .plan-shortcuts button::before{animation:mobile-glass-breathe 6s ease-in-out infinite}
  .plan-shortcuts strong{font-size:19px;line-height:1.05;letter-spacing:-.5px;gap:1px}.plan-shortcuts strong small{font-size:9px}
  .plan-shortcuts button>span{font-size:9px;line-height:1.2;letter-spacing:1px;padding-left:1px;margin-top:2px}
  .shortcut-label{display:none}
  .building-full{display:none}.building-short{display:inline}
  .building-marker button{width:24px;height:24px;min-width:24px;min-height:24px;padding:0;border-radius:50%;font-size:12px;line-height:22px;background:linear-gradient(145deg,#ffffff80,#31524580);box-shadow:inset 0 1px 0 #fff9,0 2px 5px #10241930;backdrop-filter:none;-webkit-backdrop-filter:none}
  .building-marker button::after{height:8px}
  .walk-marker button{width:32px;height:32px;min-height:32px;min-width:32px;padding:0;justify-content:center;border-radius:50%;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:inset 0 1px 0 #fff8,0 2px 6px #10241940}
  .walk-marker button>span:last-child{display:none}.walk-arrow{width:24px;height:24px;font-size:19px;border:0}
  .controls{right:max(14px,env(safe-area-inset-right));bottom:calc(84px + env(safe-area-inset-bottom));flex-direction:row;border-radius:9px}
  .controls .icon-button{width:40px;height:40px;min-width:40px;min-height:40px;border:0;border-right:1px solid var(--line)}.controls .icon-button:last-child{border-right:0}
  .controls #zoom-in,.controls #zoom-out{display:none}.label-toggle{font-size:12px}.icon-button svg{width:17px;height:17px}
  .scene-heading{left:16px;right:150px;bottom:calc(90px + env(safe-area-inset-bottom))}.scene-heading .eyebrow,.scene-heading p{display:none}
  .scene-heading h1{font-size:18px;line-height:1.3;letter-spacing:1px;margin:0}
  .footer{bottom:max(8px,env(safe-area-inset-bottom));gap:0}.gesture{display:none}
  .scene-nav{width:calc(100% - 24px);max-width:calc(100% - 24px);padding:3px;gap:2px;border-radius:10px}
  .scene-button{min-width:86px;min-height:40px;padding:9px 10px;font-size:12px;gap:5px}.scene-num{font-size:8px}
  .caption{font-size:9px;letter-spacing:.5px;margin-top:6px;line-height:1.3}
  .shade.top{height:120px;background:linear-gradient(#12241a70,transparent)}.shade.bottom{height:155px;background:linear-gradient(transparent,#12241a80)}
  .detail-loading{top:max(120px,calc(env(safe-area-inset-top) + 110px));left:14px;transform:none;font-size:11px;padding:6px 10px}
  .glass-button,.icon-button,.plan-shortcuts button,.scene-nav{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
  .pnlm-ui .pnlm-hotspot-base{filter:none}
}
@keyframes mobile-glass-breathe{0%,100%{opacity:.3}50%{opacity:.85}}
.is-dragging .plan-shortcuts button::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.plan-shortcuts button::before{animation:none}}
@media(max-height:520px) and (pointer:coarse){
  .plan-shortcuts{top:64px}.plan-shortcuts button{height:40px;min-height:40px}
  .controls{bottom:calc(69px + env(safe-area-inset-bottom))}.scene-heading{bottom:calc(78px + env(safe-area-inset-bottom))}
  .caption{display:none}.detail-loading{top:16px;left:45%}
}

/* Matched drone-position views keep their bearing while crossfading. */
.context-compare{position:absolute;z-index:4;top:max(32px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;padding:4px;gap:3px;border:1px solid #ffffff70;border-radius:8px;background:var(--glass-fill);backdrop-filter:blur(9px) saturate(1.2);-webkit-backdrop-filter:blur(9px) saturate(1.2);box-shadow:var(--glass-shadow)}
.context-compare[hidden]{display:none}.context-compare button{min-height:40px;padding:5px 17px;background:transparent;border:1px solid transparent;border-radius:5px;color:#fffbed;font-size:16px;text-shadow:0 1px 5px #071c13c9;white-space:nowrap}.context-compare button[aria-pressed="true"]{background:#f4eddbd9;color:#27392f;text-shadow:none;border-color:#ffffff80}.is-switching-context .context-compare{border-color:#f4deb0}.is-switching-context .building-marker,.is-switching-context .walk-marker{visibility:hidden}.pnlm-fade-img{transition-timing-function:cubic-bezier(.2,.65,.3,1)!important}
@media(max-width:640px){.context-compare{top:auto;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 127px);padding:3px;gap:2px}.context-compare button{min-height:38px;padding:4px 13px;font-size:14px}.context-compare:not([hidden])~.scene-heading{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 179px)}}
@media(max-height:520px){.context-compare{top:14px;bottom:auto;left:50%}.context-compare button{min-height:34px;font-size:14px;padding:3px 10px}.context-compare:not([hidden])~.scene-heading{bottom:112px}}
@media(prefers-reduced-motion:reduce){.pnlm-fade-img{transition:none!important}}

/* Persistent route back to the main FANLEI website. */
.website-home{text-decoration:none;justify-content:center;white-space:nowrap}
@media(max-width:640px){.website-home{width:44px;padding:0}.website-home span{display:none}}
