.watching-tour { overflow:hidden; }
#tour-theater { position:fixed; inset:0; width:100%; height:100%; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; border-radius:0; background:var(--deep); }
#tour-theater::backdrop { background:var(--deep); }
#tour-theater .tour-player { height:100%; display:grid; grid-template-rows:auto minmax(0,1fr) auto; border:0; border-radius:0; box-shadow:none; }
.tour-stage-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left)); background:#10243a; border-bottom:1px solid var(--line); }
.tour-stage-head strong { font-size:clamp(.9rem,3.6vw,1.15rem); }
.tour-stage-head .subtle { margin:0; flex:none; min-height:44px; }
#tour-theater #tour-screen { min-height:0; width:100%; height:100%; pointer-events:none; }
#tour-theater #tour-controls { padding:7px max(12px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); background:#10243a; border-top:1px solid var(--line); }
#tour-theater #tour-controls audio { height:37px; margin:5px 0; }
#tour-theater #tour-controls details { font-size:.83rem; max-height:20dvh; overflow:auto; }
#tour-theater #tour-controls p { margin:7px 0; }
#tour-theater #tour-controls .subtle { min-height:40px; }
body.tour-frame { overflow:hidden; }
.tour-frame #workspace { padding:12px 0; }
.tour-frame .workspace-heading { margin-bottom:12px; padding-bottom:10px; }
.tour-frame .section[id],.tour-frame #quote { scroll-margin-top:0; }

.tour-phone-scene {
 position:fixed;
 inset:0;
 z-index:20;
 display:grid;
 grid-template-rows:auto minmax(0,1fr);
 justify-items:center;
 gap:8px;
 padding:clamp(8px, 2dvh, 18px) 12px;
 background:radial-gradient(ellipse at top, #203c57, #081422 70%);
 color:#faf6ed;
}
.tour-phone-label { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px 12px; font-size:.85rem; }
.tour-phone-label span { color:#c0ccda; }
.tour-phone-label strong { color:#f0cc94; }
.tour-phone {
 display:flex;
 flex-direction:column;
 width:min(100%, 348px);
 max-height:590px;
 min-height:0;
 overflow:hidden;
 border:4px solid #31465b;
 border-radius:30px;
 background:#f8f9fc;
 color:#15253a;
 box-shadow:0 14px 40px #0007;
}
.tour-phone-status {
 position:relative;
 display:flex;
 justify-content:space-between;
 padding:10px 17px 7px;
 font-size:.76rem;
 font-weight:800;
}
.tour-phone-status::after {
 content:"";
 position:absolute;
 top:7px;
 left:50%;
 translate:-50% 0;
 width:72px;
 height:15px;
 border-radius:20px;
 background:#112030;
}
.tour-phone-notice {
 display:grid;
 grid-template-columns:1fr auto;
 gap:4px 8px;
 margin:12px;
 padding:12px;
 border-radius:15px;
 background:#e4edf7;
 font-size:.81rem;
}
.tour-phone-notice span { color:#485b71; }
.tour-phone-notice p { grid-column:1 / -1; margin:0; line-height:1.3; }
.tour-phone-app, .tour-phone-content { display:none; }
.message-open .tour-phone-notice { display:none; }
.message-open .tour-phone-app {
 display:grid;
 gap:1px;
 flex:none;
 padding:6px 14px 9px;
 border-bottom:1px solid #cfd9e5;
 text-align:center;
 font-size:.86rem;
}
.tour-phone-app span { color:#255b94; font-size:.73rem; }
.message-open .tour-phone-content { display:block; min-height:0; overflow:auto; padding:12px; }
.tour-phone-content .email, .tour-phone-content .sms {
 margin:0 0 10px;
 padding:12px;
 color:#172941;
 border:1px solid #d7e1ec;
 border-radius:12px;
 background:#fff;
 font-size:.88rem;
}
.tour-phone-content .sms { background:#e5edf7; border-radius:13px 13px 13px 3px; }
.tour-phone-content .email div { padding:0; }
.tour-phone-content h3 { font-family:inherit; color:#112b43; font-size:1rem; letter-spacing:normal; margin:0 0 6px; }
.tour-phone-content p { margin:0; line-height:1.4; }
.tour-phone-link {
 display:inline-flex;
 align-items:center;
 min-height:40px;
 padding:6px 13px;
 border-radius:9px;
 background:#173c63;
 color:white;
 font-size:.87rem;
 font-weight:750;
 text-decoration:none;
}
.tour-phone-link.is-tapped { background:#e7c184; color:#071426; box-shadow:0 0 0 3px #e7c18470; }
