/* Keep the back control in normal flow so it cannot cover the title. */
body .clone-room{padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));scrollbar-gutter:stable}
body .clone-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;max-width:680px;margin:0 auto 28px;min-height:44px}
body .clone-heading .clone-close{position:static!important;width:44px!important;height:44px;min-width:44px;padding:0!important;margin:0;background:transparent!important;border:1px solid #ddd;border-radius:50%!important;font:24px/1 system-ui!important;display:grid;place-items:center}
body .clone-heading .clone-close:focus-visible{outline:2px solid #252628;outline-offset:3px}
body .clone-heading .clone-title{min-width:0;margin:0!important;font:500 18px/1.4 system-ui;overflow-wrap:anywhere}
body .clone-room .clone-orb{width:clamp(140px,24vh,220px);height:clamp(170px,29vh,260px);margin:32px auto 28px;object-fit:cover}
body .clone-room .clone-state{max-width:520px;margin:20px auto;font-size:15px;line-height:1.65;min-height:0}
body .clone-room .clone-notice{margin:24px auto 16px;max-width:500px;line-height:1.6}
body .clone-room .clone-text{max-width:420px}
@media(max-width:760px){body .clone-heading{gap:8px;margin-bottom:24px}body .clone-heading .clone-title{font-size:16px}body .clone-room .clone-orb{margin-top:20px}body .clone-room .clone-state{font-size:14px}body .clone-room .clone-notice{font-size:11px}}
body .clone-heading .clone-title:focus{outline:none!important}@media(max-width:760px){body .clone-room .clone-orb{width:150px;height:180px}}

/* Session controls stay reachable without a multi-row mobile banner. */
@media(max-width:760px){
 body .voice-session-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 12px!important;padding:8px 12px!important}
 body .voice-session-bar[hidden]{display:none!important}
 body .voice-session-state{grid-column:1/-1;min-width:0!important;font-size:12px!important;line-height:1.4}
 body .voice-session-bar button{min-height:44px;font-size:12px;padding:6px 10px!important}
 body .voice-session-end{justify-self:end}
}