/* The prelaunch screen reuses the real title, access, seat and image controls. */
body.prelive-screen { background:#08090b !important; }
body.prelive-screen :is(.shell,.main,.content,.topbar,.nav) { background:#08090b !important; }
body.prelive-screen .content { padding-top:6px; }
#studio.prelive-simple[data-prelive='true'] { gap:12px; padding:0; }
#studio.prelive-simple[data-prelive='true'] > .page-title,
#studio.prelive-simple[data-prelive='true'] .studio-media-column,
#studio.prelive-simple[data-prelive='true'] > .room-music-home,
#studio.prelive-simple[data-prelive='true'] .studio-disclosure,
#studio.prelive-simple[data-prelive='true'] :is(#studioLaunchHint,#endSession,#studioInvite) { display:none !important; }
#studio.prelive-simple[data-prelive='true'] > .studio-workspace { flex:1 1 auto; width:100%; overflow-y:auto; overflow-x:hidden; padding:0; gap:0; }
#studio.prelive-simple[data-prelive='true'] .prelive-card { display:flex; flex:1 1 auto; flex-direction:column; gap:14px; width:min(100%,620px); min-height:0; margin:0 auto; padding:10px 0 0; border:0; border-radius:0; background:transparent; box-shadow:none; }
#studio.prelive-simple[data-prelive='true'] .prelive-card > :not(.prelive-title-field,.prelive-cover,.prelive-settings) { display:none !important; }
#studio.prelive-simple[data-prelive='true'] .prelive-title-field { display:block; flex:0 0 auto; width:100%; font-size:0; }
#studio.prelive-simple[data-prelive='true'] .prelive-title-field #liveTitle { width:100%; height:auto; min-height:60px; padding:8px 10px; margin:0; border:1px solid transparent; border-radius:12px; background:transparent; color:#fff; font-family:inherit; font-size:clamp(23px,4.5vw,34px); font-weight:800; line-height:1.2; text-align:center; text-overflow:ellipsis; }
#studio.prelive-simple[data-prelive='true'] .prelive-title-field #liveTitle:focus { border-color:#ffffff50; outline:2px solid #ff697980; outline-offset:2px; }
#studio.prelive-simple[data-prelive='true'] .prelive-cover { display:flex; flex:1 1 auto; flex-direction:column; align-items:center; justify-content:center; width:100%; min-height:0; gap:8px; padding:0; border:0; }
#studio.prelive-simple[data-prelive='true'] .prelive-cover .live-cover-thumbnail { position:relative; display:grid; flex:0 0 auto; place-items:center; width:min(100%,60.444dvh); max-width:560px; aspect-ratio:16/9; border:1px solid #ffffff1f; border-radius:20px; overflow:hidden; background:#0d0e11; }
#studio.prelive-simple[data-prelive='true'] .prelive-cover .live-cover-thumbnail > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
#studio.prelive-simple[data-prelive='true'] #preliveCoverDefault { object-fit:contain; padding:12px; }
#studio.prelive-simple[data-prelive='true'] :is(#liveCoverPlaceholder,.live-cover-controls) { display:none !important; }
#studio.prelive-simple[data-prelive='true'] .prelive-cover-add { position:absolute; right:12px; bottom:12px; z-index:2; display:grid; place-items:center; width:48px; min-width:48px; height:48px; min-height:48px; padding:0; border:1px solid #ffffff55; border-radius:50%; background:#202126; color:#fff; font:400 34px/1 system-ui,sans-serif; cursor:pointer; box-shadow:0 3px 12px #0005; }
#studio.prelive-simple[data-prelive='true'] .prelive-cover-add:focus-visible { outline:2px solid #ff6879; outline-offset:3px; }
#studio.prelive-simple[data-prelive='true'] .prelive-cover-add:disabled { cursor:wait; }
#studio.prelive-simple[data-prelive='true'] #liveCoverRemove { position:absolute; right:12px; top:10px; z-index:2; width:32px; height:32px; min-height:32px; padding:0; border-radius:50%; background:#202126; color:#fff; font-size:23px; line-height:1; text-decoration:none; }
#studio.prelive-simple[data-prelive='true'] #liveCoverStatus { display:none; width:100%; margin:0; text-align:center; font-size:12px; }
#studio.prelive-simple[data-prelive='true'] #liveCoverStatus[data-error='true'] { display:block; color:#ffa4b0; }
#studio.prelive-simple[data-prelive='true'] .prelive-settings { display:grid; flex:0 0 auto; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; width:100%; padding-top:8px; }
#studio.prelive-simple[data-prelive='true'] .prelive-settings .field { display:block; min-width:0; margin:0; color:#c2c2c9; font-size:11px; }
#studio.prelive-simple[data-prelive='true'] .prelive-settings select { width:100%; min-height:46px; margin-top:6px; padding:9px 13px; border:1px solid #ffffff24; border-radius:24px; background:#202126; color:#fff; font:600 15px/1.2 system-ui,sans-serif; }
#studio.prelive-simple[data-prelive='true'] > .studio-launcher { flex:0 0 auto; width:min(100%,620px); margin:0 auto; padding:0 0 4px; gap:6px; }
#studio.prelive-simple[data-prelive='true'] .studio-launcher #startSession { min-height:54px; border:0; border-radius:30px; background:#ff4d65; background-image:none; color:#fff; font-size:16px; font-weight:800; box-shadow:none; }
#studio.prelive-simple[data-prelive='true'] .prelive-capture-error { margin:0; color:#ffa4b0; font-size:12px; line-height:1.4; text-align:center; }
@media(max-height:650px) { #studio.prelive-simple[data-prelive='true'] .prelive-card { gap:8px; padding-top:0; } #studio.prelive-simple[data-prelive='true'] .prelive-title-field #liveTitle { min-height:48px; font-size:23px; } #studio.prelive-simple[data-prelive='true'] .prelive-cover .live-cover-thumbnail { width:min(100%,51.555dvh); max-width:380px; } #studio.prelive-simple[data-prelive='true'] .prelive-settings { padding-top:0; } }
/* Match the reference's quiet full-height preparation view. */
body.prelive-screen .shell{display:block!important;}
body.prelive-screen :is(.side,.nav){display:none!important;}
body.prelive-screen .main{width:100%!important;margin:0!important;padding-bottom:0!important;}
body.prelive-screen .topbar{height:46px!important;min-height:46px!important;padding:4px 12px!important;border:0!important;background:#08090b!important;}
body.prelive-screen .topbar>:not(#appBackButton){display:none!important;}
body.prelive-screen .content{height:calc(100dvh - 46px)!important;max-height:none!important;padding:8px 14px max(14px,env(safe-area-inset-bottom))!important;overflow:hidden!important;}
body.prelive-screen #studio.prelive-simple[data-prelive='true']{display:flex!important;flex-direction:column;height:100%!important;min-height:0!important;}
body.prelive-screen #studio .prelive-title-field #liveTitle{background:transparent!important;border:0!important;border-bottom:1px solid #ffffff55!important;border-radius:0!important;color:#eeeeef!important;box-shadow:none!important;}
body.prelive-screen #studio .prelive-settings select{background:#202126!important;color:#f2f2f4!important;border-color:#ffffff28!important;box-shadow:none!important;}
body.prelive-screen #studio .studio-launcher #startSession{background:#ff4d65!important;color:#08090b!important;border:0!important;box-shadow:none!important;}
