/* The world is the hero. Entry choices, not room diagnostics, own the first minute. */
:root{--studio-ivory:#f1f6ed;--studio-ink:#102b30;--studio-aqua:#c7f5e7}
body:has(#studioPortal) .lobby{top:clamp(100px,13vh,162px);width:min(630px,calc(100vw - 44px));max-height:calc(100dvh - 124px);scrollbar-width:none}
body:has(#studioPortal) .lobby::-webkit-scrollbar{display:none}
body:has(#studioPortal) .lobby h1{font-size:clamp(55px,6vw,86px);line-height:1;letter-spacing:-.075em;margin-bottom:18px}
body:has(#studioPortal) .lobby p.entry-lead{max-width:520px;line-height:1.42;color:#e1efe7;margin-bottom:19px}
body:has(#studioPortal) .entry-scene img{width:87%;filter:brightness(.85) saturate(.91) contrast(1.10)}
body:has(#studioPortal) .entry-scene::after{background:linear-gradient(90deg,#061c23 0%,#0a2429fb 24%,#0b2529cd 44%,#0b20285e 78%,transparent),linear-gradient(0deg,#05171ba8,transparent 42%)}
body:has(#studioPortal) .lobby .entry-next,body:has(#studioPortal) .lobby .entry-divider,body:has(#studioPortal) .lobby .entry-invite{display:none}
body:has(#studioPortal) .lobby-starts{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}
.studio-portal{width:min(100%,505px);padding:0 2px 8px 0}
.studio-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px}
.studio-mode{display:flex;align-items:center;gap:12px;min-width:0;text-align:left;border:1px solid #d1f3e02d;border-radius:16px;padding:13px 14px;background:#0c2429c9;color:var(--studio-ivory);box-shadow:0 9px 28px #020f174b;transition:background .16s,border-color .16s,transform .16s}
.studio-mode:hover{transform:translateY(-2px);background:#194047e9}
.studio-mode.selected,.studio-mode.selected:hover{border-color:#b3f3e2bb;background:#164042eb;box-shadow:0 0 0 1px #d4faf01c inset,0 13px 37px #04151a68}
.studio-mode-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #baf6eb75;border-radius:50%;font-size:18px;color:#e2f7ee}
.studio-mode strong{display:block;font-size:13px;letter-spacing:-.02em;font-weight:720;white-space:nowrap}
.studio-mode small{display:block;margin-top:4px;color:#bed2cf;font-size:10px;line-height:1.42}
.studio-destination{padding:16px 17px 12px;border:1px solid #d5f4e434;border-radius:17px;background:linear-gradient(155deg,#091a22ed,#143038dc);box-shadow:0 18px 60px #04151a80;backdrop-filter:blur(16px)}
.studio-destination[hidden],.studio-results[hidden]{display:none}
#studioSearch label{font-size:10px;font-weight:740;letter-spacing:.19em;color:#b8dcd1}
.studio-search-row{display:flex;align-items:center;gap:7px;margin-top:8px;border:1px solid #b8ded479;border-radius:12px;background:#0a1b24d9;padding:5px 5px 5px 12px}
.studio-search-symbol{font-size:25px;color:#ceeee5;line-height:1}
#studioPlace{width:100%;min-width:0;padding:10px 2px;border:0;outline:0;background:transparent;color:#f5f9f2;font-size:13px}
#studioPlace::placeholder{color:#91a7a7}
#studioFind{flex:0 0 auto;min-height:35px;padding:6px 14px;border:0;border-radius:9px;background:#cff4e8;color:#193539;font-size:12px;font-weight:740}
#studioFind:hover{background:#f3fff1;color:#132d32}
.studio-places{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.studio-places button{border:1px solid #c0e2db48;border-radius:999px;background:#1f3943b6;padding:9px 12px;color:#e7f5ed;font-size:11px}
.studio-places button span{color:#b9cbc9}
.studio-places button:hover,.studio-places button.selected{border-color:#b8efdbb7;background:#36645f}
.studio-results{display:grid;gap:6px;max-height:165px;overflow-y:auto;margin-top:10px}
.studio-result{width:100%;min-height:36px;text-align:left;white-space:normal;background:#203d43;border:1px solid #d2eee43e;border-radius:10px;color:#f5f9ef;font-size:11px;line-height:1.4;padding:9px 11px}
.studio-result:hover{background:#345759}
.studio-credit{margin:10px 0 0!important;color:#a4b4b1!important;font-size:9px!important;line-height:1.35!important}
.studio-enter{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:55px;margin-top:14px;padding:12px 20px;border:1px solid #e7fff1;border-radius:13px;background:#dff7ea;color:var(--studio-ink);font-size:15px;font-weight:760;letter-spacing:-.02em;box-shadow:0 12px 40px #020e136c;transition:transform .17s,background .17s}
.studio-enter:hover{background:#f1fff1;transform:translateY(-2px)}
.studio-enter:disabled{opacity:.66;cursor:progress;transform:none}
.studio-enter>span:last-child{font-size:23px;font-weight:400}
.studio-feedback{min-height:16px;margin:9px 0 0!important;color:#cce9dc;font-size:11px!important;line-height:1.45!important}
.studio-xr-pill{border:1px solid #c5f2de70;border-radius:999px;padding:9px 13px;background:#0c282cc9;color:#d6f6e9;font-size:12px}
.studio-context-hint{position:fixed;z-index:6;bottom:118px;left:50%;transform:translateX(-50%);padding:10px 18px;border:1px solid #e1f8ef3b;border-radius:999px;background:#0c2426cc;backdrop-filter:blur(17px);color:#e7f5eb;font-size:11px;letter-spacing:.08em;white-space:pre;pointer-events:none;opacity:1;transition:opacity .8s}
.studio-context-hint[hidden]{display:none}.studio-context-hint.fading{opacity:0}
/* A solo reconstruction has no video source to lose. Real host-media faults remain visible. */
body[data-scene-mode="simulation"] .ride-top #mediaState,body[data-scene-mode="simulation"] .ride-top #reconnectMedia{display:none!important}
body[data-scene-mode="simulation"] .look-around-hint{display:none!important}
body.studio-solo-world:has(#guestPanel:not([hidden])) .ride-top{padding:7px 12px;border-radius:999px;max-width:max-content;backdrop-filter:blur(20px);background:#10272b99;border:1px solid #e3f3e22c}
body.studio-solo-world:has(#guestPanel:not([hidden])) #guestPanel{background:linear-gradient(110deg,#0e252bab,#0b2428ce);backdrop-filter:blur(16px);border-color:#b3efdc45;box-shadow:0 8px 35px #07151a88}
@media(max-width:760px){body:has(#studioPortal) .lobby{top:103px;left:22px;max-height:calc(100dvh - 114px)}body:has(#studioPortal) .lobby h1{font-size:clamp(43px,10vw,65px)}body:has(#studioPortal) .lobby p.entry-lead{font-size:13px;margin-bottom:15px}.studio-mode{padding:10px 9px;gap:7px}.studio-mode-symbol{width:26px;height:26px;flex-basis:26px;font-size:14px}.studio-mode strong{font-size:11px}.studio-mode small{font-size:9px}.studio-destination{padding:13px}.studio-enter{min-height:49px;margin-top:11px}.studio-context-hint{bottom:140px;font-size:9px;padding:8px 11px;max-width:92vw;overflow:hidden}}
@media(max-height:680px){body:has(#studioPortal) .lobby{top:88px;max-height:calc(100dvh - 94px)}body:has(#studioPortal) .lobby h1{font-size:clamp(39px,5vw,64px);margin-bottom:10px}body:has(#studioPortal) .lobby p.entry-lead{margin-bottom:12px}.studio-modes{margin-bottom:9px}.studio-destination{padding:10px}.studio-places{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.studio-mode,.studio-enter,.studio-context-hint{transition:none}}
/* A solo preview is not a private live room. */
body:has(#studioPortal) #lobby #roomLabel{display:none}

/* Solo immersive view: native tools stay one explicit gesture away, rather
   than consuming half the route at every moment. Live-video host UI unchanged. */
body.studio-solo-world #hostHud:not([hidden]){
 position:fixed!important;z-index:6!important;
 left:auto!important;right:18px!important;bottom:82px!important;
 width:min(380px,calc(100vw - 36px))!important;
 max-width:none!important;max-height:calc(100dvh - 173px)!important;
 min-height:0!important;overflow:auto!important;overscroll-behavior:contain;
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 margin:0!important;padding:15px!important;gap:10px!important;
 border:1px solid #d3f7e46b!important;border-radius:18px!important;
 background:linear-gradient(155deg,#091e24eb,#0a2932ef)!important;
 box-shadow:0 24px 85px #061316c5!important;backdrop-filter:blur(25px)!important
}
body.studio-solo-world:not(.studio-controls-open) #hostHud:not([hidden]){display:none!important}
body.studio-solo-world #hostHud .host-summary{min-width:0!important;max-height:none!important;overflow:visible!important}
body.studio-solo-world #hostHud .host-source{max-height:190px;overflow:auto}
body.studio-solo-world #hostHud .host-live-people{min-height:68px;max-height:120px;overflow-y:auto}
body.studio-solo-world #hostHud .host-live-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.studio-ride-dock{position:fixed;z-index:7;right:18px;bottom:18px;
 display:flex;align-items:center;gap:6px;max-width:calc(100vw - 36px);
 padding:7px 8px 7px 17px;background:#0a222bdc;border:1px solid #d2f8e660;
 border-radius:999px;box-shadow:0 12px 42px #071821a3;backdrop-filter:blur(20px)}
.studio-ride-dock[hidden]{display:none}
.studio-dock-place{color:#d7efe5;font-size:11px;font-weight:720;max-width:150px;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px}
.studio-ride-dock button{flex:0 0 auto;min-height:36px;min-width:0;padding:8px 12px;
 background:#1a3c45c7;border:1px solid #bbece94d;border-radius:999px;
 color:#eff9ef;font-size:11px;font-weight:650;letter-spacing:0}
.studio-ride-dock button:hover,.studio-ride-dock button:focus-visible{background:#2f5860;border-color:#d3f5de}
.studio-ride-dock #studioRideControls{background:#d7f5e5;color:#143138}
.studio-ride-dock #studioRideExit{color:#f5dddd;border-color:#f7cccc55}
body.studio-solo-world .look-around-hint{display:none!important}
body.studio-solo-world #sourceBadge{font-size:10px;letter-spacing:.08em}
@media(max-width:760px){
 body.studio-solo-world #hostHud:not([hidden]){left:12px!important;right:12px!important;
 width:auto!important;bottom:77px!important;max-height:calc(100dvh - 157px)!important}
 .studio-ride-dock{left:10px;right:10px;bottom:10px;max-width:none;
 justify-content:space-between;gap:4px;padding:7px 8px}
 .studio-dock-place{max-width:82px;margin:0 2px;font-size:10px}
 .studio-ride-dock button{min-height:36px;padding:7px 9px;font-size:10px}
}
@media(max-width:375px){.studio-dock-place{display:none}.studio-ride-dock button{flex:1 1 0}}

/* A narrow drawer must not inherit the broadcast dashboard's horizontal grid. */
body.studio-solo-world #hostHud:not([hidden]){overflow-x:hidden!important;overflow-y:auto!important}
body.studio-solo-world #hostHud > *,
body.studio-solo-world #hostHud .host-summary > *,
body.studio-solo-world #hostHud .host-live-people > *{
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important
}
body.studio-solo-world #hostHud .host-summary{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 gap:9px!important;width:100%!important
}
body.studio-solo-world #hostHud .host-conversation-buttons{
 display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:6px!important
}
body.studio-solo-world #hostHud .host-conversation-buttons button{flex:1 1 140px;white-space:normal}
body.studio-solo-world #hostHud .host-live-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.studio-solo-world #hostHud .host-live-actions > *{min-width:0;max-width:100%}
