/* Embedded tour fits the allocated viewport, including short landscape screens. */
.tour-embedded .experience{min-height:0}
.tour-embedded-site-actions{display:none}
@media(max-width:900px){
 /* Only the parent carries branding and the return-to-site action. The iframe
    starts below that bar, so it must not subtract a second header height. */
 .tour-embedded{--mobile-safe-top:0px;overflow:hidden}
 .tour-embedded>.header{display:none}
 .tour-embedded .experience,.tour-embedded.immersive .experience{height:100vh;height:100dvh;min-height:0;display:block;padding:0}
 .tour-embedded .sidebar{display:none!important}
 .tour-embedded .viewport,.tour-embedded.immersive .viewport{width:100%;height:100%;min-height:0;margin:0;border-radius:0}
 .tour-embedded .tour-embedded-site-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;grid-column:1/-1;padding-top:8px;border-top:1px solid #d6ded5}
 .tour-embedded-site-actions button{min-height:44px;min-width:0;padding:10px;font-size:12px;text-align:left;border:1px solid #d6ded5;border-radius:7px;background:#fffdf8;line-height:1.4}
}

/* The host bar already owns branding and exit, at every screen size. */
.tour-embedded>.header{display:none}
.tour-embedded .experience{height:100vh;height:100dvh}
.tour-embedded .tour-embedded-site-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;grid-column:1/-1;padding-top:12px;border-top:1px solid #d6ded5}
.tour-embedded #viewer-options.outside-options .viewer-secondary{display:block}
.tour-embedded #viewer-options.outside-options .viewer-secondary>button{display:none}
.tour-embedded #viewer-options.outside-options .tour-embedded-site-actions{padding-top:0;border-top:0}
