/* A single conversation stage replaces off-screen columns in public phone demos. */
.ms-mobile-dock{display:none}
@media(max-width:900px){
 html.ms-mobile,html.ms-mobile body{height:100%;height:100dvh;overflow:hidden!important}
 .ms-mobile #header{height:52px!important;min-height:52px;padding:8px 16px!important;display:flex;align-items:center;border-bottom:1px solid var(--border,#364752)}
 .ms-mobile #header>:not(.brand){display:none!important}
 .ms-mobile #header .brand{font-size:16px!important}
 .ms-mobile #header #searchform,.ms-mobile #header #chessbtn,.ms-mobile .chatcontrols,.ms-mobile #missions,.ms-mobile #right,.ms-mobile .coldivider{display:none!important}
 .ms-mobile #layout{display:flex!important;height:calc(100dvh - 52px)!important;min-height:0!important;gap:0!important;overflow:hidden}
 .ms-mobile #center{display:flex!important;flex-direction:column!important;flex:1;min-width:0;min-height:0!important;height:100%!important;overflow:hidden;grid-row:auto!important}
 .ms-mobile #stream{flex:1;min-height:0;padding:20px 18px 24px!important;overflow-y:auto!important;overscroll-behavior-y:auto;scroll-behavior:auto}
 .ms-mobile #turns{max-width:580px;width:100%;margin:0 auto!important;padding:0!important}
 .ms-mobile #dock{display:block!important;flex:none;order:initial!important;width:100%;padding:12px 16px max(12px,env(safe-area-inset-bottom))!important;border-top:1px solid var(--border,#364752);background:var(--panel,#101b24);z-index:5}
 .ms-mobile #dock> :not(.ms-mobile-dock){display:none!important}
 .ms-mobile .ms-mobile-dock{display:block;max-width:580px;margin:auto}
 .ms-mobile-step{font:12px/1.5 system-ui;color:var(--muted,#b9c8cf);margin:0 0 9px}
 .ms-mobile-dock-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .ms-mobile .ms-primary,.ms-mobile .ms-secondary{min-height:46px!important;padding:11px 14px!important;font:600 14px/1.4 system-ui!important;border-radius:10px!important;cursor:pointer;touch-action:manipulation}
 .ms-mobile .ms-primary{background:#e3be68!important;color:#16212b!important;border:1px solid #e3be68!important}
 .ms-mobile .ms-secondary{border:1px solid #64747e!important;color:var(--ink,#f3f6f8)!important;background:transparent!important}
 .ms-mobile button:disabled{opacity:.42;cursor:default}
 .ms-mobile button:focus-visible,.ms-mobile a:focus-visible{outline:3px solid #74e0a1!important;outline-offset:3px}
 .ms-mobile-intro h1{font:600 clamp(25px,7vw,34px)/1.18 system-ui;margin:14px 0 18px;letter-spacing:-.035em;color:var(--ink,#f3f6f8)}
 .ms-mobile-intro p,.ms-mobile-invite p{font:15px/1.7 system-ui;color:var(--muted,#c1ced5);margin:0 0 17px}
 .ms-mobile-intro .ms-eyebrow,.ms-mobile-invite .ms-eyebrow{font:600 10px/1.5 system-ui;color:#e3be68;letter-spacing:.15em}
 .ms-mobile p.ms-mobile-note{font-size:13px;line-height:1.65}
 .ms-mobile-intro>.ms-primary{width:100%;margin-top:2px}
 .ms-mobile .dm{margin:0 0 18px!important;max-width:100%!important}
 .ms-mobile .dm-user{margin-left:22px!important}
 .ms-mobile .dm-bub{padding:14px!important;font-size:14px!important;line-height:1.65!important}
 .ms-mobile .ms-delivery{margin:16px 0 24px;max-width:100%}
 .ms-mobile .ms-artifact{border-radius:12px!important}
 .ms-mobile .ms-artifact-preview img{height:170px}
 .ms-mobile .ms-artifact-document .ms-artifact-preview img{height:210px;object-position:top}
 .ms-mobile .ms-artifact-actions{gap:12px}
 .ms-mobile .ms-artifact-actions a,.ms-mobile .ms-artifact-actions button{display:inline-flex;align-items:center;min-height:44px!important;font-size:14px!important;padding:7px!important}
 .ms-mobile-invite{padding:18px;border:1px solid #536557;border-radius:14px!important;background:var(--panel,#101b24);margin-top:20px}
 .ms-mobile-invite h2{font:600 22px/1.3 system-ui;margin:8px 0 12px}
 .ms-mobile-invite>.ms-primary{width:100%}
 .ms-mobile .ms-audio-modal{box-sizing:border-box;width:calc(100% - 28px);max-width:430px;max-height:calc(100dvh - 28px);overflow-y:auto;padding:20px;color:#edf3f8;background:#0c2230;border:1px solid #5d737d;border-radius:18px!important}
 .ms-audio-modal::backdrop{background:#020b13d9;backdrop-filter:blur(5px)}
 .ms-mobile .ms-audio-modal h2{font:600 24px/1.3 system-ui;margin:20px 0 12px}
 .ms-mobile .ms-modal-close{display:block;margin-left:auto;min-height:44px;border:1px solid #64747e;border-radius:8px!important}
 .ms-mobile .ms-audio-modal #dm-player{padding:20px 0!important;border:0!important}
 .ms-mobile .ms-audio-modal #dm-player #dm-unmute{width:100%!important;min-height:64px;height:auto!important;padding:17px!important;font:700 18px/1.3 system-ui!important;border-radius:12px!important;background:#209b54!important;color:#fff!important}
 .ms-mobile .ms-audio-modal #dm-status{display:block!important;color:#e3be68;margin:0;padding:12px 0!important}
 .ms-mobile .ms-audio-modal #dm-player small{font-size:12px!important}
}
