/* Sized as a real portrait viewport: both the panorama and overlays keep their geometry. */
body.tour-live-portrait .tour-shell { inset:0 auto auto 50%; transform:translateX(-50%); width:min(100vw,56.25vh); height:min(100vh,177.777778vw); overflow:hidden; }
@supports (height:100dvh) { body.tour-live-portrait .tour-shell { width:min(100vw,56.25dvh); height:min(100dvh,177.777778vw); } }
body.tour-live-portrait #viewer360,body.tour-live-portrait .hotspot-layer,body.tour-live-portrait .tour-preview,body.tour-live-portrait .tour-loader { inset:0!important;width:100%!important;height:100%!important; }
body.tour-live-portrait .tour-topbar,body.tour-live-portrait .mobile-topbar,body.tour-live-portrait .tour-bottom,body.tour-live-portrait .mobile-dock { display:none!important; }
.tour-live-tools { position:fixed;left:12px;top:12px;z-index:10000;font:14px/1.4 system-ui,sans-serif;color:white;max-width:calc(100vw - 24px); }
.tour-live-tools summary,.tour-live-tools button { cursor:pointer;color:white;background:#13283e;border:1px solid #7292ac;border-radius:9px;padding:10px 14px;font:inherit; }
.tour-live-tools summary { list-style:none;width:max-content;box-shadow:0 3px 12px #0005; }
.tour-live-tools section { margin-top:6px;padding:14px;background:#102338f5;border:1px solid #7292ac;border-radius:12px;width:300px;max-width:100%;box-shadow:0 4px 20px #0006; }
.tour-live-tools button { margin:4px 0;display:block;width:100%;text-align:left; }
.tour-live-tools button[aria-pressed=true] { background:#087b70; }
.tour-live-tools p { margin:8px 0;font-size:13px; }
body.tour-live-clean .tour-live-tools,body.tour-live-clean .tour-topbar,body.tour-live-clean .mobile-topbar,body.tour-live-clean .tour-bottom,body.tour-live-clean .mobile-dock,body.tour-live-clean .mobile-scene-panel,body.tour-live-clean .fullscreen-hint { display:none!important; }
body.realtor-app-webview .tour-live-tools { display:none; }
