:root{font-family:Arial,Helvetica,sans-serif;color:#243b3c;--ink:#183c42;--accent:#0c4e5a;--line:rgba(34,57,54,.13);--cream:#f6f4ef;--shadow:0 12px 50px #19383b18;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#e9e6df}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #61b9ce;outline-offset:3px}button:disabled{opacity:.45;cursor:default}button:hover{filter:brightness(.96)}[hidden]{display:none!important}#view{display:block;width:100%;height:100%;touch-action:none}.glass{background:#faf9f4eb;backdrop-filter:blur(16px);border:1px solid #fff9;box-shadow:var(--shadow)}#topbar{position:absolute;top:0;left:0;right:0;padding:25px 32px;display:flex;justify-content:space-between;align-items:center;z-index:20;pointer-events:none}.brand{color:var(--ink);display:flex;align-items:center;gap:11px;text-decoration:none;letter-spacing:3px;font:24px Georgia,serif;pointer-events:auto}.brand small{display:block;font:8px Arial,sans-serif;letter-spacing:2px;margin-top:5px}.brand-mark{display:flex;gap:3px;align-items:flex-end;height:31px}.brand-mark i{display:block;width:5px;height:24px;background:var(--ink)}.brand-mark i:nth-child(2){height:32px}.brand-mark i:nth-child(3){height:18px}.top-controls{display:flex;align-items:center;gap:8px;pointer-events:auto}.segmented{display:flex;background:#faf9f4ed;border:1px solid #fff9;border-radius:30px;padding:4px;box-shadow:0 3px 24px #19383b0d}.segmented button{font-size:12px;font-weight:600;min-width:98px;border-radius:22px;padding:11px 15px;transition:background .2s}.segmented button.active{background:var(--ink);color:white}.icon-button{display:inline-grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#faf9f4ee;font-size:21px;box-shadow:0 3px 24px #19383b0a}#overview-panel{position:absolute;left:32px;top:110px;width:278px;padding:26px 24px;border-radius:20px;z-index:10}.eyebrow{font-size:8px;letter-spacing:2.5px;font-weight:700;margin:0 0 17px;color:#6a8580}h1{font:36px/1.12 Georgia,serif;letter-spacing:-1px;margin:0 0 16px;color:var(--ink)}.intro{font-size:12px;line-height:1.65;margin:0 0 23px;color:#72807a}.unit-buttons{display:grid;gap:6px}.unit-buttons button{text-align:left;display:flex;justify-content:space-between;align-items:center;padding:13px 12px;border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:600;background:#fff5}.unit-buttons button.active{background:var(--ink);color:white;border-color:var(--ink)}.unit-buttons small{font-size:10px;font-weight:400;display:block;margin:6px 0 0 13px;opacity:.65}.unit-buttons i{display:inline-block;width:6px;height:6px;background:var(--unit);border-radius:50%;margin-right:7px}.unit-arrow{font-size:19px;opacity:.7}.view-buttons{display:flex;gap:4px;background:#e4e9e3;padding:4px;border-radius:9px;margin-top:19px}.view-buttons button{padding:9px 0;flex:1;font-size:10px;border-radius:7px}.view-buttons button.active{background:#fff;box-shadow:0 2px 6px #0001}#overview-bottom{position:absolute;bottom:23px;right:30px;display:flex;align-items:center;gap:10px;z-index:10;font-size:10px}#overview-bottom>span{color:#677470;margin-right:10px}#overview-bottom button{background:#faf9f4e9;border:1px solid #fff;border-radius:22px;padding:12px 16px;font-size:11px}#room-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden}.room-label{position:absolute;left:0;top:0;transform:translate(-50%,-50%);padding:6px 10px;border-radius:16px;white-space:nowrap;color:#183c42;background:#fffdf5e8;border:1px solid #fff;box-shadow:0 3px 12px #0001;pointer-events:auto;font-size:9px;font-weight:600;transition:opacity .2s}.room-label:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--unit,#76978b);margin-right:6px}.room-label:hover{background:var(--ink);color:white}#tour-header{position:absolute;top:94px;left:32px;padding:5px;display:flex;gap:5px;border-radius:25px;z-index:15}#tour-header button{font-size:11px;padding:10px 13px;border-radius:20px}#tour-header select{border:0;border-left:1px solid var(--line);background:transparent;font-size:11px;padding:7px 14px;max-width:180px}#tour-location{position:absolute;top:154px;left:35px;pointer-events:none;text-shadow:0 1px 10px #fff;z-index:10}#location-unit{font-size:9px;font-weight:700;letter-spacing:2px;color:#496561}#location-room{font:28px Georgia,serif;margin:7px 0;color:#183c42}#tour-bottom{position:absolute;bottom:max(27px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;z-index:20;white-space:nowrap}.pill{background:#fcfbf6ed;backdrop-filter:blur(12px);box-shadow:0 3px 30px #0002;padding:14px 20px;border-radius:28px;font-size:11px;font-weight:600;border:1px solid #fff8;display:inline-flex;align-items:center;justify-content:center;gap:9px}.pill.primary{background:var(--ink);color:white;border-color:#31565c}.furnish-icon{font-size:19px;line-height:12px}#rooms-toggle{min-width:90px}#rooms-panel{position:absolute;bottom:90px;left:50%;transform:translateX(-50%);width:440px;max-width:calc(100vw - 24px);padding:20px;border-radius:18px;z-index:25}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel-heading h2{font:23px Georgia,serif;margin:0}#room-list{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;max-height:43vh;overflow:auto}#room-list button{padding:13px 11px;border:1px solid var(--line);border-radius:9px;font-size:11px;text-align:left;display:flex;justify-content:space-between;gap:6px}#room-list button.active{background:var(--ink);color:#fff}#room-list small{opacity:.6}.room-group{grid-column:1/-1;text-transform:uppercase;letter-spacing:1px;font-size:8px;font-weight:700;padding-top:10px}#look-hint{position:absolute;bottom:91px;left:50%;transform:translateX(-50%);font-size:10px;color:#fff;background:#173c42a0;backdrop-filter:blur(5px);border-radius:20px;padding:8px 13px;pointer-events:none;white-space:nowrap;opacity:.9;transition:opacity .5s}#show-tools{position:absolute;right:20px;bottom:20px;z-index:30}#zoom-tools{position:absolute;right:24px;top:50%;display:grid;gap:1px;border-radius:22px;background:#faf9f4e8;overflow:hidden;box-shadow:var(--shadow)}#zoom-tools button{width:38px;height:38px;font-size:21px}#toast{position:absolute;top:155px;left:50%;transform:translateX(-50%);padding:11px 18px;border-radius:24px;background:#183c42ed;color:#fff;font-size:12px;z-index:80;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}#options{position:absolute;right:32px;top:85px;padding:8px;width:260px;border-radius:15px;z-index:40}#options button{padding:13px 12px;width:100%;text-align:left;display:flex;justify-content:space-between;font-size:12px;border-radius:8px}#options button:hover{background:#e2e8e1}dialog{border:0;border-radius:20px;max-width:min(1100px,94vw);max-height:90dvh;overflow:auto;background:#faf9f4;color:var(--ink);padding:32px;box-shadow:var(--shadow)}dialog::backdrop{background:#0a262bbd;backdrop-filter:blur(6px)}#dialog-close{position:sticky;top:0;float:right;z-index:2}dialog h2{font:30px Georgia,serif}dialog p,dialog li{font-size:13px;line-height:1.7}dialog img{width:100%;height:auto;border-radius:8px}dialog .reference-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}#loading{position:fixed;inset:0;background:#f1efe8;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:100;transition:opacity .6s}.loading-brand{font:44px Georgia,serif;letter-spacing:8px;text-align:center}.loading-brand small{display:block;font:8px Arial,sans-serif;letter-spacing:3px;margin:18px 0 48px}.loading-track{width:220px;height:2px;background:#d8dfd8;border-radius:2px;overflow:hidden}.loading-track i{display:block;width:0;height:100%;background:#214d55;transition:width .2s}#loading p{font:24px Georgia,serif;margin:17px 0 13px}#loading p>span+span{font:10px Arial;margin-left:4px}#loading>small{font-size:10px;color:#6f827b;min-height:13px}#webgl-error{position:fixed;inset:0;padding:10vw;background:var(--cream);z-index:110}#webgl-error button,#webgl-error a{display:inline-block;background:var(--ink);color:white;padding:15px 25px;border-radius:30px;margin:15px;text-decoration:none;font-size:13px}body.tools-hidden #topbar,body.tools-hidden #tour-header,body.tools-hidden #tour-location,body.tools-hidden #tour-bottom,body.tools-hidden #look-hint,body.tools-hidden #zoom-tools{display:none!important}
@media(max-width:900px){#overview-panel{width:240px;left:20px;padding:20px;top:95px}h1{font-size:30px}#topbar{padding:20px}#overview-bottom>span{display:none}.unit-buttons button{padding:11px}#tour-header{left:20px}#tour-location{left:24px}}
@media(max-width:600px){#topbar{padding:14px;align-items:flex-start}.brand{font-size:18px;letter-spacing:2px;gap:7px}.brand small{font-size:6px;letter-spacing:1.4px}.brand-mark{height:25px;gap:2px}.brand-mark i{width:4px;height:18px}.brand-mark i:nth-child(2){height:25px}.brand-mark i:nth-child(3){height:13px}.top-controls{gap:4px}.segmented{padding:3px}.segmented button{min-width:68px;font-size:9px;padding:9px 10px}.icon-button{width:33px;height:33px;font-size:18px}#fullscreen{display:none}#overview-panel{left:12px;right:12px;bottom:max(64px,calc(env(safe-area-inset-bottom) + 54px));top:auto;width:auto;padding:12px 13px;border-radius:16px}#overview-panel .eyebrow,#overview-panel h1,#overview-panel .intro{display:none}.unit-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.unit-buttons button{font-size:10px;padding:10px 5px;justify-content:center;text-align:center;min-width:0;line-height:1.3}.unit-buttons button:first-child{font-size:9px}.unit-buttons small{font-size:8px;margin:5px 0 0}.unit-buttons small{max-height:10px;overflow:hidden}.unit-buttons i{width:4px;height:4px;margin-right:3px}.unit-arrow{display:none}.view-buttons{margin-top:9px;background:transparent;padding:0;gap:5px}.view-buttons button{font-size:9px;padding:7px;background:#e8ece7}.view-buttons button.active{background:var(--ink);color:white}#overview-bottom{left:12px;right:12px;bottom:max(15px,env(safe-area-inset-bottom));justify-content:center;gap:7px}#overview-bottom button{padding:10px 15px;font-size:10px}.room-label{font-size:8px;padding:5px 7px}#tour-header{top:66px;left:12px;right:12px;width:fit-content;max-width:calc(100vw - 24px)}#tour-header button{font-size:10px;padding:8px 10px}#tour-header select{font-size:10px;padding:7px;max-width:160px}#tour-location{top:117px;left:18px}#location-unit{font-size:7px}#location-room{font-size:23px;margin-top:5px}#tour-bottom{bottom:max(16px,env(safe-area-inset-bottom));width:calc(100vw - 24px);flex-wrap:wrap;gap:6px;justify-content:center}.pill{font-size:10px;padding:12px 13px}.pill.primary{flex:1;max-width:210px}#unit-furnish{font-size:9px;padding:12px 10px}#rooms-toggle{min-width:auto;padding:12px}#hide-tools{width:31px;height:31px}#tour-bottom>.pill{height:39px}.furnish-icon{display:none}#look-hint{font-size:8px;bottom:72px;padding:7px 10px;max-width:95vw;white-space:normal;text-align:center}#zoom-tools{right:12px;top:43%}#zoom-tools button{width:32px;height:35px}#rooms-panel{bottom:72px;padding:15px}.panel-heading h2{font-size:20px}#options{right:12px;top:58px}#toast{top:166px;font-size:10px;max-width:90%;text-align:center}dialog{padding:18px;border-radius:14px}dialog .reference-grid{grid-template-columns:1fr}dialog h2{font-size:25px}body.tour .brand small{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Revision 2: thumb-friendly destination controls, no overlapping buttons. */
#nearby-panel{position:absolute;bottom:92px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;z-index:18;background:#f8f7f0ed;border:1px solid #fff9;border-radius:17px;padding:10px 12px;box-shadow:0 6px 24px #16383b20}#nearby-panel>span{font-size:8px;letter-spacing:1.5px;color:#637773;display:block;margin:0 0 7px}#nearby-destinations{display:flex;gap:7px;max-width:74vw;overflow-x:auto;scrollbar-width:none}#nearby-destinations button{flex:none;background:#e1e9e3;border:1px solid #cbd8cf;padding:12px 14px;min-height:44px;border-radius:11px;font-size:11px;font-weight:600;white-space:nowrap}.destination-label{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;border-radius:23px;background:#144d56ed;color:white;border:2px solid #fffc;padding:12px 17px;font-size:11px;font-weight:600;box-shadow:0 4px 18px #0003;min-height:44px}#level-view{position:absolute;right:24px;top:calc(50% + 90px);z-index:15}#look-hint{bottom:177px}body.tools-hidden #nearby-panel,body.tools-hidden #level-view{display:none!important}
@media(max-width:600px){#tour-location{top:112px;left:17px}#location-room{font-size:20px}#tour-bottom{display:grid;grid-template-columns:1fr 1fr 44px;bottom:max(12px,env(safe-area-inset-bottom));gap:6px;width:calc(100vw - 24px)}#tour-bottom .pill{padding:9px 8px;width:100%;max-width:none;min-height:44px;font-size:10px}#room-furnish{grid-column:1}#unit-furnish{grid-column:2}#rooms-toggle{grid-column:1 / 3;grid-row:2}#hide-tools{grid-column:3;grid-row:1 / 3;width:44px;height:44px}#nearby-panel{bottom:116px;left:12px;right:12px;transform:none;width:auto;max-width:none;padding:9px 10px}#nearby-destinations{max-width:100%}#nearby-destinations button{padding:11px 13px;font-size:10px}#rooms-panel{bottom:116px}#look-hint{bottom:193px}#zoom-tools{top:43%}#zoom-tools button{width:44px;height:44px}#level-view{right:12px;top:calc(43% + 100px);width:44px;height:44px}#room-labels .destination-label{font-size:10px;padding:11px 13px}.room-label{max-width:140px;overflow:hidden;text-overflow:ellipsis}#room-list button{min-height:44px}}

#info-dialog table{border-collapse:collapse;width:100%;font-size:13px;margin:20px 0}#info-dialog th,#info-dialog td{text-align:left;padding:10px 12px;border-bottom:1px solid #d7ded7}#info-dialog th{background:#e9eee7}

/* Clear destinations and a compact dock leave more of the wide view exposed. */
#view{opacity:1;transition:none}
.loading-track{height:5px;width:min(280px,72vw)}
.loading-note{display:block;margin-top:22px;max-width:290px;text-align:center;font-size:11px;line-height:1.6;color:#67766e;padding:0 12px}
#loading-status{max-width:90vw;text-align:center;line-height:1.5}
.destination-label{font-size:12px;background:#123f47;border:2px solid #fff9e9;box-shadow:0 3px 0 #102e33,0 6px 22px #0005}
#nearby-panel{background:#173f46f5;color:#fff;border-color:#ffffff55}
#nearby-panel>span{color:#d0e1dd}
#nearby-destinations button{background:#fffaf0;color:#123b42;border-color:#fff;font-size:12px}
#tour-location{text-shadow:0 1px 5px #fff,0 0 14px #fffd}
@media(max-width:600px){
 #tour-bottom{display:grid;grid-template-columns:1fr 1.12fr .72fr 40px;gap:5px;width:calc(100vw - 20px);bottom:max(10px,env(safe-area-inset-bottom))}
 #tour-bottom .pill{font-size:10px;line-height:1.2;white-space:normal;min-height:46px;height:46px;padding:7px 5px}
 #room-furnish{grid-column:1;grid-row:1}#unit-furnish{grid-column:2;grid-row:1}
 #rooms-toggle{grid-column:3;grid-row:1}#rooms-toggle span{display:none}
 #hide-tools{grid-column:4;grid-row:1;width:40px;height:44px}
 #nearby-panel{bottom:calc(65px + env(safe-area-inset-bottom));padding:7px 9px;left:10px;right:10px;border-radius:13px}
 #nearby-panel>span{display:none}#nearby-destinations{gap:6px}
 #nearby-destinations button{font-size:11px;min-height:44px;padding:10px 12px}
 #rooms-panel{bottom:calc(66px + env(safe-area-inset-bottom))}
 #look-hint{bottom:calc(127px + env(safe-area-inset-bottom));font-size:10px;background:#123e47ed}
 #room-labels .destination-label{font-size:12px;min-height:46px;padding:10px 14px}
 #tour-location{top:108px}#location-room{font-size:22px;max-width:70vw}
 #topbar{padding:11px 12px}.room-label{font-size:10px}
}

/* Reference navigation: compact panorama controls, plan and 2D / 3D / 360 modes. */
#tour-transition{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
#room-labels{z-index:5}
#view-modes{position:absolute;right:24px;bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px));z-index:21;display:flex;gap:5px;padding:5px;border-radius:30px}
#view-modes button{width:48px;height:44px;border-radius:50%;font-size:12px;font-weight:700;background:#fff9}
#view-modes button.active{background:var(--ink);color:white}
#overview-bottom{right:210px;bottom:max(28px,calc(env(safe-area-inset-bottom) + 18px))}
#overview-bottom>span{display:none}
#tour-controls{position:absolute;bottom:90px;right:24px;z-index:24;display:flex;gap:6px;align-items:center}
#tour-controls .pill{font-size:12px;min-height:44px;padding:11px 16px}
#tour-controls #hide-tools{width:44px;height:44px}
#panorama-controls{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:2px;padding:4px;border-radius:30px;z-index:22}
#panorama-controls button{position:static;width:44px;height:44px;display:grid;place-items:center;font-size:20px;border-radius:50%;background:#ffffff85}
#panorama-controls #rotation-speed{font-size:12px;font-weight:700}
#auto-rotate[aria-pressed=true]{background:var(--ink);color:#fff}
#mini-map{position:absolute;left:24px;bottom:24px;width:184px;border-radius:14px;padding:7px;z-index:24;box-shadow:0 4px 22px #152e3333;overflow:hidden}
.map-heading{display:flex;align-items:center;justify-content:space-between;height:34px;font-size:11px;font-weight:700;padding-left:7px}
.map-heading button{width:44px;height:44px;font-size:20px;flex:none;border-radius:10px}
.map-drawing{position:relative;height:177px;background:#fcfcf7;border-radius:8px}
.map-drawing svg{width:100%;height:100%;display:block;padding:6px}
[data-map-preview]{position:absolute;inset:0;width:100%;height:100%;border-radius:8px}
.map-surface{fill:#f2efe7;stroke:#60736f;stroke-width:.075;stroke-linejoin:round}
.map-surface.outdoor{fill:#e3ebdd}.map-surface.current{fill:#d4e4df}
.map-room:hover .map-surface,.map-room:focus .map-surface{fill:#bfd8cf;stroke:#124952;stroke-width:.12}
.map-room-name{font:0.34px Arial,sans-serif;fill:#183c42;paint-order:stroke;stroke:#fff9;stroke-width:.065;pointer-events:none}
#mini-map:not(.expanded) .map-room-name{display:none}
#mini-map:not(.expanded) svg [role=button]{pointer-events:none}
.map-opening{fill:#fcfcf7;pointer-events:none}
.map-hit{fill:transparent;cursor:pointer}.map-dot{fill:#5c827a;stroke:#fff;stroke-width:.07;pointer-events:none}
.map-point:hover .map-dot,.map-point:focus .map-dot{fill:#124952}
.map-cone{fill:#cda347;fill-opacity:.42}.map-current{fill:#c69a33;stroke:#fff;stroke-width:.09}
.map-position,.map-room-name{pointer-events:none}
.map-help{font-size:11px;text-align:center;margin:11px 0 4px;display:none;color:#627470}
#mini-map.expanded{width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 150px);padding:10px}
#mini-map.expanded .map-drawing{height:min(430px,calc(100dvh - 245px));min-height:140px}
#mini-map.expanded .map-help{display:block}
#mini-map.expanded .map-heading{font-size:12px;margin-bottom:8px}
#tour-bottom{left:auto;right:24px;bottom:150px;transform:none;width:310px;padding:18px;border-radius:18px;display:grid;grid-template-columns:1fr;white-space:normal;gap:10px;z-index:29}
#tour-bottom .panel-heading{grid-column:1/-1;margin-bottom:2px}
#tour-bottom .panel-heading h2{font-size:22px}
#tour-bottom>.pill{width:100%;max-width:none;min-height:46px;font-size:12px;grid-column:1;grid-row:auto}
#tour-bottom #unit-furnish{font-size:12px}
#rooms-panel{left:auto;right:24px;bottom:150px;transform:none;z-index:29}
#nearby-panel{position:static;transform:none;max-width:none;width:auto;margin:0 0 12px;padding:10px;border-radius:12px;box-shadow:none}
#nearby-panel>span{display:block;font-size:9px;margin-bottom:8px}
#nearby-destinations{max-width:100%}
#look-hint{bottom:155px;max-width:min(400px,80vw);white-space:normal;text-align:center;font-size:11px;background:#153f48ec;z-index:15}
#tour-header{box-shadow:0 3px 15px #0001}
#tour-location{background:#faf9f4ed;border:1px solid #fff9;border-radius:12px;padding:9px 13px;top:151px;text-shadow:none;max-width:75vw}
#location-unit{font-size:8px;letter-spacing:1px}#location-room{font:18px Arial,sans-serif;margin:5px 0 0;line-height:1.2}
#zoom-tools{z-index:15}
#zoom-tools button{width:44px;height:44px}
#room-labels .destination-label{width:48px;height:52px;min-height:44px;padding:7px;background:transparent;border:0;border-radius:15px;box-shadow:none;filter:drop-shadow(0 1px 2px #163c45)}
.destination-label svg{width:30px;height:34px;overflow:visible;pointer-events:none;fill:#ffffff22;stroke:#fff;stroke-width:2}
.destination-label circle{fill:#fff;stroke:none}
#room-labels .destination-label:hover,#room-labels .destination-label:focus-visible{background:#16434b99}
body.tools-hidden #mini-map,body.tools-hidden #tour-controls,body.tools-hidden #panorama-controls,body.tools-hidden #view-modes,body.tools-hidden .destination-label{display:none!important}
@media(max-width:700px){
 #view-modes{right:10px;bottom:calc(12px + env(safe-area-inset-bottom));padding:4px;gap:3px}
 #view-modes button{width:44px;height:44px;font-size:11px}
 #tour-controls{right:10px;bottom:calc(76px + env(safe-area-inset-bottom));gap:5px}
 #tour-controls .pill{font-size:11px;padding:10px 12px;min-height:44px;height:44px}
 #tour-controls #hide-tools{width:44px;height:44px}
 #panorama-controls{left:auto;right:10px;transform:none;bottom:calc(134px + env(safe-area-inset-bottom));padding:3px;gap:1px}
 #mini-map{left:10px;bottom:calc(12px + env(safe-area-inset-bottom));width:112px;padding:5px;border-radius:11px}
 .map-heading{height:30px;font-size:9px;padding-left:3px}.map-heading button{height:44px;width:38px;font-size:18px}
 .map-drawing{height:119px}.map-drawing svg{padding:3px}
 #mini-map.expanded{left:12px;bottom:calc(76px + env(safe-area-inset-bottom));max-height:calc(100dvh - 170px);width:calc(100vw - 24px);z-index:28}
 #mini-map.expanded .map-drawing{height:min(410px,calc(100dvh - 265px))}
 #tour-location{top:109px;left:12px;padding:7px 10px;border-radius:9px;max-width:72vw}
 #location-unit{font-size:7px}#location-room{font:15px Arial,sans-serif;margin-top:4px;max-width:65vw}
 #tour-header{top:61px;left:10px;right:10px}.tour #topbar{padding:11px 10px}
 #tour-header button,#tour-header select{min-height:34px}
 #tour-bottom{right:10px;left:10px;bottom:calc(192px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 270px);overflow-y:auto;grid-template-columns:1fr;padding:15px;gap:10px}
 #tour-bottom>.pill{grid-column:1;grid-row:auto;min-height:46px;font-size:12px;height:auto;padding:12px}
 #rooms-panel{left:10px;right:10px;bottom:calc(130px + env(safe-area-inset-bottom));width:auto;max-width:none;padding:15px;max-height:calc(100dvh - 200px);overflow:auto}
 #room-list{max-height:37dvh}#nearby-panel{margin-bottom:10px}#nearby-panel>span{display:block}
 #look-hint{bottom:calc(202px + env(safe-area-inset-bottom));width:260px;max-width:80vw;font-size:10px;line-height:1.5}
 #zoom-tools{right:10px;top:40%;background:#faf9f4dd}#zoom-tools button{width:44px;height:44px}
 #overview-bottom{left:10px;right:auto;bottom:calc(17px + env(safe-area-inset-bottom));gap:4px;max-width:calc(100vw - 165px)}
 #overview-bottom button{font-size:9px;padding:8px 10px;min-height:44px;max-width:94px}
 #overview-panel{bottom:calc(83px + env(safe-area-inset-bottom))}
 #show-tools{font-size:11px;min-height:44px;bottom:calc(15px + env(safe-area-inset-bottom))}
}
@media(max-width:350px){
 #mini-map{width:94px}.map-drawing{height:106px}.map-heading{font-size:8px}.map-heading button{width:32px}
 #tour-controls .pill{padding:10px 9px;font-size:10px}#tour-controls{gap:4px}
 .segmented button{min-width:59px;padding:9px 7px}.brand{font-size:16px;gap:4px}
 #overview-bottom button{padding:7px 6px;font-size:8px}
}
@media(max-height:500px) and (orientation:landscape){
 .tour #topbar{padding:8px 14px}.tour .brand small{display:none}
 #tour-header{top:56px;left:14px}#tour-location{top:106px;left:14px;padding:6px 9px}#location-room{font-size:14px}
 #mini-map{left:14px;bottom:12px;width:110px;padding:5px}.map-drawing{height:103px}.map-heading{height:26px;font-size:9px}
 #panorama-controls{left:50%;right:auto;transform:translateX(-50%);bottom:12px}
 #tour-controls{bottom:78px;right:14px}#view-modes{right:14px;bottom:12px}#zoom-tools{right:14px;top:70px;display:flex}
 #rooms-panel,#tour-bottom{bottom:132px;top:60px;right:14px;left:auto;max-height:none;width:min(390px,calc(100vw - 170px));overflow:auto}
 #room-list{max-height:45dvh}#tour-bottom{display:flex;flex-direction:column}
 #mini-map.expanded{left:14px;bottom:12px;max-height:calc(100dvh - 24px);width:290px}#mini-map.expanded .map-drawing{height:calc(100dvh - 114px);min-height:110px}
 #look-hint{bottom:76px;font-size:10px}#overview-bottom{bottom:18px}
}
