@charset "UTF-8";
:root{--ink:#253b32;--muted:#76847b;--green:#335d49;--accent:#8ba68a;--paper:#f6f6ef;--border:rgba(255,255,255,.7);--shadow:0 6px 30px #14231b0d;--safe-bottom:env(safe-area-inset-bottom,0px);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html,body{height:100%;width:100%;margin:0;overflow:hidden;overscroll-behavior:none;background:#e9ece4}button,input,select{font:inherit}button{color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.4;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #659c71;outline-offset:4px}button,svg{-webkit-user-select:none;user-select:none}button svg{flex-shrink:0}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}button{border:0}h1,h2,h3,p{margin:0}[hidden]{display:none!important}
#view{position:fixed;inset:0;touch-action:none}#view canvas{width:100%;height:100%;display:block;touch-action:none;outline:none;cursor:grab}#view canvas.dragging{cursor:grabbing}body.locked #view canvas{cursor:none}.edge-shade{pointer-events:none;position:fixed;inset:0;background:linear-gradient(180deg,#17271c12,transparent 22%,transparent 74%,#17271c18)}.glass{background:#f9faf1ed;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--border);box-shadow:var(--shadow)}
.topbar{position:fixed;left:28px;right:28px;top:max(24px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;gap:16px}.brand{display:flex;align-items:center;gap:13px;border-radius:18px;padding:12px 20px 12px 12px;pointer-events:auto}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--green);color:#f5f5e9}.brand-mark svg{width:25px;height:25px}.brand h1{font-size:17px;letter-spacing:.8px;font-weight:600}.brand h1 span{font-weight:400;color:#7a857a;font-size:13px;margin-left:4px}.brand p{font-size:10px;letter-spacing:.7px;color:var(--muted);margin-top:4px;display:flex;align-items:center;gap:7px}.brand p i{width:3px;height:3px;border-radius:50%;background:#9ca79b}.top-actions{display:flex;gap:9px;pointer-events:auto}.icon-button{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;transition:background .18s,transform .18s;position:relative}.icon-button:hover{background:#fff;transform:translateY(-1px)}.icon-button[aria-pressed=true]{background:var(--green);color:white;border-color:#456d54}.plain-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:transparent;color:#829080}.plain-icon:hover{background:#e6eade;color:var(--ink)}
.minimap{position:fixed;top:120px;left:28px;width:184px;border-radius:17px;overflow:hidden}.map-title{width:100%;padding:13px 14px 9px;display:flex;align-items:center;justify-content:space-between;background:none;font-size:11px;font-weight:600;letter-spacing:.5px}.map-title span{display:flex;align-items:center;gap:7px}.map-title svg{width:16px;height:16px}.map-title .collapse-arrow{width:13px;height:13px;color:#9aa798;transition:transform .2s}.map-title[aria-expanded=false] .collapse-arrow{transform:rotate(180deg)}#floorplan{display:block;width:100%;height:194px;padding:7px 18px 8px;cursor:crosshair;touch-action:manipulation;stroke:none}#floorplan .room-floor{fill:#e3e6d8;stroke:#f6f6ee;stroke-width:28}#floorplan .room-floor.wood{fill:#e2d6bd}#floorplan .room-floor.wet{fill:#d1ded7}#floorplan .room-floor.selected{fill:#bdd0b7}#floorplan .furniture{fill:#f5f3e9;stroke:#b5b5a4;stroke-width:20}#floorplan .wall{fill:#7a8778;stroke:none}#floorplan .map-marker-cone{fill:#578b6350}#floorplan .map-marker-ring{fill:#fff;stroke:#537e52;stroke-width:45}#floorplan .map-marker-dot{fill:#437246}.map-foot{border-top:1px solid #dde3d7;display:flex;flex-wrap:wrap;gap:6px;padding:11px 14px;font-size:12px;align-items:center}.map-foot small{font-size:9px;color:#8a9688;display:block;flex-basis:100%;margin-left:12px;letter-spacing:.5px}.live-dot{width:6px;height:6px;border-radius:50%;background:#6c985a;box-shadow:0 0 0 3px #80a37515}.location-label{position:fixed;top:120px;left:238px;display:flex;flex-direction:column;gap:5px;pointer-events:none;text-shadow:0 1px 14px #fff,0 0 8px #ffffffbd}.location-label span{font-size:10px;letter-spacing:2px;color:#5b6b58}.location-label strong{font-size:23px;letter-spacing:2px;font-weight:500}
.side-actions{position:fixed;right:28px;top:45%;display:flex;flex-direction:column;gap:10px}.height-button{height:48px}.height-button svg{width:18px;position:absolute;top:6px}.height-button small{font-size:9px;position:absolute;bottom:5px;color:inherit}.flipped{transform:rotate(180deg)}
.joystick-zone{position:fixed;left:42px;bottom:calc(64px + var(--safe-bottom));width:124px;display:flex;flex-direction:column;align-items:center;gap:10px;touch-action:none;user-select:none}.joystick{position:relative;width:112px;height:112px;border-radius:50%;border:1px solid #ffffffba;background:#f8faf059;box-shadow:inset 0 0 24px #fbfff746,0 3px 30px #1834250a;backdrop-filter:blur(4px);touch-action:none;cursor:move}.joystick:after{content:"";position:absolute;inset:25px;border-radius:50%;border:1px dashed #64785d25;pointer-events:none}.joystick-knob{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;border-radius:50%;background:#fcfff5ed;border:1px solid #ffffffc9;box-shadow:0 3px 14px #29432f26;pointer-events:none}.joystick.active .joystick-knob{background:#3a604b;border-color:#3a604b;box-shadow:0 3px 16px #29432f39}.joy-arrow{position:absolute;color:#445b4599;font:20px system-ui;line-height:1;pointer-events:none}.joy-arrow.north{top:5px;left:calc(50% - 6px)}.joy-arrow.south{bottom:7px;left:calc(50% - 6px)}.joy-arrow.west{left:9px;top:calc(50% - 11px)}.joy-arrow.east{right:9px;top:calc(50% - 11px)}.joystick-caption{font-size:10px;letter-spacing:2px;color:#435b44;text-shadow:0 0 6px #fff}
.bottom-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(47px + var(--safe-bottom));display:flex;align-items:center;gap:8px;padding:7px;border-radius:18px;white-space:nowrap}.mode-switch{display:flex;gap:4px}.mode-button{display:flex;align-items:center;justify-content:center;gap:9px;background:transparent;border-radius:12px;padding:12px 17px;color:#6f7e6d;font-size:12px;transition:background .18s}.mode-button svg{width:19px;height:19px}.mode-button.active{background:var(--green);color:#f5f8eb;box-shadow:0 2px 8px #263c3220}.mode-button:hover:not(.active){background:#e7ecdf}.bar-divider{height:24px;width:1px;background:#dce1d3;margin:0 2px}.rooms-button{display:flex;gap:9px;align-items:center;padding:12px 14px;border-radius:12px;background:transparent;font-size:12px}.rooms-button:hover,.rooms-button[aria-expanded=true]{background:#e7ecdf}.rooms-button svg{height:17px;width:17px}.rooms-button .chevron{width:12px;color:#809179;margin-left:3px}.rooms-button[aria-expanded=true] .chevron{transform:rotate(180deg)}
.desktop-hint{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + var(--safe-bottom));display:flex;gap:7px;align-items:center;font-size:10px;white-space:nowrap;color:#39533bdd;text-shadow:0 1px 8px white}.desktop-hint b{font-weight:500;padding:1px 4px;border:1px solid #6a80673d;border-radius:3px;background:#fffff63d;font-size:9px;letter-spacing:.5px}.desktop-hint .hint-divider{margin:0 3px}.desktop-hint button{font-size:10px;background:transparent;padding:0;border-bottom:1px dotted #536e52}.rooms-panel{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(125px + var(--safe-bottom));width:480px;max-height:65dvh;overflow:auto;border-radius:20px;padding:22px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.eyebrow{font-size:9px;letter-spacing:2.5px;color:#93a08b;font-weight:500}.panel-heading h2{font-size:17px;font-weight:500;margin-top:5px;letter-spacing:1px}.room-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.room-card{border:1px solid #dce2d2;border-radius:12px;background:#fdfdf6;color:#54664f;padding:15px 8px;text-align:left;display:flex;align-items:center;gap:10px;transition:.15s}.room-card:hover{background:#e7ecdf;border-color:#b7c7ad;transform:translateY(-1px)}.room-card.selected{background:#e1ebd8;border-color:#94ad87;color:#31533b}.room-card svg{height:24px;width:24px;stroke-width:1.3}.room-card span{font-size:11px}.rooms-panel>p{font-size:10px;color:#8a9784;margin-top:15px;text-align:center}.toast{position:fixed;bottom:calc(135px + var(--safe-bottom));left:50%;transform:translate(-50%,8px);padding:10px 18px;border-radius:25px;background:#274635df;color:#f7faef;box-shadow:0 5px 22px #10281920;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 44px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
.loading{position:fixed;inset:0;background:radial-gradient(ellipse at 50% 35%,#fafaf1,#e5e9df);z-index:30;display:grid;place-items:center;transition:opacity .6s;pointer-events:auto}.loading.finished{opacity:0;pointer-events:none}.loading-inner{text-align:center;max-width:90%;padding:25px}.loading-mark{display:grid;place-items:center;width:70px;height:70px;border:1px solid #aebda2;border-radius:21px;margin:0 auto 30px;font-family:Georgia,serif;font-size:31px;color:#4e6a49;box-shadow:0 5px 20px #455f3210}.loading h2{font-size:30px;font-weight:400;letter-spacing:4px;margin:14px 0 14px}.loading p{font-size:12px;color:#86927c}.loading-track{width:190px;height:2px;background:#d9e0ce;margin:24px auto 16px;overflow:hidden}.loading-track i{display:block;width:40%;height:100%;background:#829e6c;animation:load 1.8s ease-in-out infinite}.loading small{font-size:10px;color:#929d89;letter-spacing:.7px}@keyframes load{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}.loading.error .loading-track{display:none}.loading.error p{color:#a3543e;line-height:1.8;max-width:380px}.loading.error small{display:block;margin-top:18px}.welcome{position:fixed;bottom:calc(132px + var(--safe-bottom));left:50%;transform:translateX(-50%);width:390px;border-radius:22px;padding:27px 28px;box-shadow:0 12px 50px #203b241c}.welcome-close{position:absolute;top:10px;right:10px}.welcome h2{font-weight:500;font-size:21px;letter-spacing:1px;margin:11px 0 13px}.welcome p{font-size:12px;line-height:1.9;color:#7b8773}.welcome b{font-weight:600;color:#54664c;letter-spacing:1px}.primary-button{width:100%;background:var(--green);color:#f6f9ec;border-radius:11px;padding:13px 16px;margin-top:20px;font-size:12px;display:flex;justify-content:space-between}.primary-button:hover{background:#264b3b}.primary-button span{font-size:17px;line-height:16px}.touch-copy{display:none}
.dialog{position:fixed;inset:0;margin:auto;border:1px solid #ffffffa8;border-radius:24px;padding:28px 30px;background:#f6f8eef7;backdrop-filter:blur(20px);color:var(--ink);width:min(660px,calc(100vw - 30px));max-height:85dvh;box-shadow:0 20px 120px #091b2350;overflow:auto}.dialog::backdrop{background:#182d2559;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:25px}.dialog-heading h2{font-size:22px;font-weight:500;margin-top:8px;letter-spacing:1px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.help-grid h3{font-size:14px;font-weight:600;margin-bottom:9px}.help-grid h3:not(:first-child){margin-top:22px}.help-grid p{font-size:12px;line-height:1.9;color:#7b8775}.help-grid dl{margin:15px 0}.help-grid dl>div{display:flex;justify-content:space-between;font-size:12px;padding:7px 0;border-bottom:1px solid #dce3d3}.help-grid dt{font-size:11px;letter-spacing:.5px;color:#45613b}.help-grid dd{margin:0;color:#849079}.help-footer{font-size:10px;line-height:1.9;color:#95a08c;border-top:1px solid #dce3d3;margin-top:23px;padding-top:18px}.help-footer button{display:flex;align-items:center;gap:6px;background:none;font-size:11px;color:#56734a;padding:8px 0 0}.help-footer svg{height:17px;width:17px}.settings-dialog{width:min(500px,calc(100vw - 30px))}.setting-row{display:flex;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid #dee5d5;font-size:12px}.setting-row>span{flex:1}.setting-row small{display:block;font-size:10px;color:#91a084;margin-top:7px}.setting-row input{width:125px;accent-color:#527344}.setting-row output{width:39px;text-align:right;font-size:11px;color:#7f9173}.setting-row select{padding:8px 12px;border:1px solid #cad7bb;border-radius:8px;color:#527145;background:#f9fbf4}.secondary-button{display:block;width:100%;margin-top:22px;border:1px solid #c5d3b8;border-radius:10px;background:none;padding:12px;color:#607755;font-size:12px}.phone-dialog{width:min(450px,calc(100vw - 30px))}.phone-dialog p{font-size:13px;line-height:1.9;color:#74866a;margin-top:13px}.phone-dialog b{color:#466237}.phone-url{display:block;padding:17px;border:1px solid #cad7ba;border-radius:12px;font:16px ui-monospace,monospace;background:#edf2e5;word-break:break-all;user-select:all;margin-top:15px;color:#375c36}.no-script{position:fixed;inset:40% 10% auto;background:white;padding:30px;z-index:40}
body.overview .joystick-zone,body.overview .height-button{display:none}body.overview .location-label strong{font-size:21px}body.locked .topbar,body.locked .minimap,body.locked .side-actions,body.locked .bottom-bar,body.locked .joystick-zone{opacity:.15;pointer-events:none}body.locked .desktop-hint{background:#f4f9eac9;padding:6px 12px;border-radius:20px}body.locked .desktop-hint button{color:#244731}
@media(min-width:1700px){.minimap{width:208px}#floorplan{height:222px}.location-label{left:266px}.topbar{left:36px;right:36px;top:30px}.minimap{left:36px;top:132px}.location-label{top:135px}.side-actions{right:36px}}
@media(max-width:850px){.topbar{left:18px;right:18px;top:max(18px,env(safe-area-inset-top))}.brand{gap:10px;padding:10px 15px 10px 10px;border-radius:15px}.brand-mark{width:37px;height:37px;border-radius:11px}.brand h1{font-size:15px}.brand p{font-size:9px}.brand h1 span{font-size:11px}.icon-button{width:40px;height:40px;border-radius:12px}.minimap{left:18px;top:105px;width:156px}#floorplan{height:166px;padding:4px 14px}.location-label{top:112px;left:196px}.side-actions{right:18px}.bottom-bar{bottom:calc(39px + var(--safe-bottom))}.mode-button{padding:12px 13px;font-size:11px}.rooms-button{font-size:11px;padding:12px}.desktop-hint{font-size:9px;bottom:calc(13px + var(--safe-bottom))}.joystick-zone{left:23px;bottom:calc(105px + var(--safe-bottom))}.rooms-panel{bottom:calc(114px + var(--safe-bottom))}.welcome{bottom:calc(118px + var(--safe-bottom))}}
@media(pointer:coarse){.desktop-hint{display:none}.desktop-copy{display:none}.touch-copy{display:block}.bottom-bar{bottom:calc(20px + var(--safe-bottom))}.joystick-zone{bottom:calc(115px + var(--safe-bottom))}.rooms-panel{bottom:calc(98px + var(--safe-bottom))}.welcome{bottom:calc(104px + var(--safe-bottom))}.toast{bottom:calc(106px + var(--safe-bottom))}}
@media(max-width:600px){.topbar{left:14px;right:14px;top:max(14px,env(safe-area-inset-top));gap:7px}.brand{border-radius:14px;padding:9px 12px 9px 9px;gap:9px}.brand h1{font-size:14px}.brand h1 span{font-size:10px;margin-left:0}.brand-mark{width:34px;height:34px}.brand-mark svg{width:22px;height:22px}.brand p{font-size:8px;letter-spacing:.1px;gap:5px}.top-actions{gap:6px}.top-actions .icon-button{width:35px;height:35px;border-radius:11px}.top-actions svg{width:18px;height:18px}.minimap{top:93px;left:14px;width:132px;border-radius:14px}.map-title{padding:11px 10px 6px;font-size:10px}.map-title svg{width:14px;height:14px}.map-title span{gap:5px}#floorplan{height:148px;padding:5px 11px}.map-foot{padding:9px 11px;font-size:10px;gap:5px}.map-foot small{font-size:8px;margin-left:11px}.location-label{top:99px;left:164px;gap:4px}.location-label span{font-size:8px;letter-spacing:1.7px}.location-label strong{font-size:19px}.side-actions{right:14px;top:auto;bottom:calc(130px + var(--safe-bottom));gap:9px}.side-actions .icon-button{width:41px;height:43px;border-radius:13px}.side-actions svg{width:19px;height:19px}.height-button small{font-size:8px;bottom:4px}.height-button svg{top:4px}.joystick-zone{left:17px;bottom:calc(115px + var(--safe-bottom));width:116px;gap:9px}.joystick{width:106px;height:106px}.joystick-caption{font-size:9px;letter-spacing:1.5px}.bottom-bar{width:calc(100% - 28px);padding:6px;gap:4px;border-radius:17px;justify-content:center}.mode-button{gap:6px;padding:12px 10px;font-size:11px}.mode-button svg{width:17px;height:17px}.rooms-button{gap:6px;padding:12px 8px;font-size:11px}.rooms-button>svg{width:16px;height:16px}.rooms-button .chevron{width:10px;margin:0}.bar-divider{margin:0 1px}.rooms-panel{width:calc(100% - 28px);padding:18px;border-radius:19px;max-height:58dvh;bottom:calc(93px + var(--safe-bottom))}.panel-heading h2{font-size:16px}.room-card{padding:15px 8px;gap:6px}.room-card svg{width:22px;height:22px}.room-card span{font-size:10px}.welcome{width:calc(100% - 44px);padding:24px;bottom:calc(97px + var(--safe-bottom))}.welcome h2{font-size:19px}.welcome p{font-size:11px;line-height:1.9}.welcome .eyebrow{font-size:8px;letter-spacing:2px}.toast{font-size:11px;max-width:calc(100vw - 30px);white-space:normal}.dialog{padding:23px 22px;border-radius:20px;max-height:85dvh}.dialog-heading{margin-bottom:20px}.dialog-heading h2{font-size:20px}.help-grid{grid-template-columns:1fr;gap:20px}.help-grid section+section{border-top:1px solid #dce3d3;padding-top:20px}.setting-row{gap:12px;font-size:11px}.setting-row input{width:105px}.loading h2{font-size:26px}.loading small{font-size:9px}.desktop-hint{display:none}}
@media(max-height:540px) and (orientation:landscape){.minimap{width:118px;top:92px}#floorplan{height:111px}.map-foot small{display:none}.location-label{left:153px;top:100px}.brand{padding:7px 11px 7px 8px}.brand-mark{width:31px;height:31px}.topbar{top:12px}.side-actions{top:85px;bottom:auto;gap:6px;right:15px}.side-actions .icon-button{height:35px;width:35px}.height-button small{display:none}.height-button svg{position:static}.joystick-zone{left:23px;bottom:25px;width:98px}.joystick{width:90px;height:90px}.joystick-caption{display:none}.bottom-bar{width:auto;bottom:17px}.welcome{bottom:86px;width:355px;padding:20px 24px}.welcome h2{margin:8px 0;font-size:18px}.welcome p{font-size:11px}.primary-button{margin-top:12px;padding:10px 14px}.rooms-panel{bottom:84px;width:420px;max-height:70vh}.room-card{padding:10px}.desktop-hint{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Interactive Animation & Controls Styling */
.highlight-pulse{animation:pulseGlow 2.4s ease-in-out infinite}
@keyframes pulseGlow{0%,100%{box-shadow:0 0 0 0 rgba(83,126,82,0.4)}50%{box-shadow:0 0 0 6px rgba(83,126,82,0.18)}}
.interactive-dialog{width:min(640px,calc(100vw - 30px))}
.interactive-subtitle{font-size:12px;color:var(--muted);margin:-10px 0 18px;line-height:1.6}
.interactive-grid{display:grid;grid-template-columns:1fr;gap:14px}
.interactive-card{background:#ffffffb8;border:1px solid #dce4d4;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.card-title{font-size:13px;font-weight:600;color:#2e4b3b}
.btn-row{display:flex;flex-wrap:wrap;gap:8px}
.pill-btn{border:1px solid #cad7be;border-radius:20px;background:#f9fbf4;color:#456345;padding:7px 14px;font-size:12px;font-weight:500;transition:.18s}
.pill-btn:hover{background:#e2ecda;border-color:#92ab87;transform:translateY(-1px)}
.pill-btn:active{transform:scale(0.97)}

/* 全景样板间：进入后实时模型与摇杆都停下来，只留转头和换房间。
   箭头用 HTML 画而不是贴进贴图，文字在任何分辨率下都清晰。 */
.pano-hotspots{position:fixed;inset:0;pointer-events:none;z-index:6;overflow:hidden}
.pano-hotspot{position:absolute;left:0;top:0;pointer-events:auto;display:flex;flex-direction:column;
  align-items:center;gap:5px;background:none;border:0;padding:8px;cursor:pointer;
  transition:opacity .18s,transform .12s;will-change:transform,opacity;color:#f4f8ee}
.pano-hotspot:hover{color:#fff}
.pano-hotspot .pano-arrow{width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;
  border-bottom:15px solid currentColor;filter:drop-shadow(0 2px 6px #101d1873)}
.pano-hotspot .pano-label{font-size:12px;letter-spacing:.4px;white-space:nowrap;padding:4px 11px;border-radius:20px;
  background:#14231ba8;backdrop-filter:blur(6px);box-shadow:0 2px 12px #101d1840}
body.pano-mode .joystick-zone,body.pano-mode .side-actions .height-button{display:none}
body.pano-mode .minimap{opacity:.94}
