body[data-view=guest]:has(#knock:not([hidden])) {
 min-height:100svh;
 isolation:isolate;
 background:#061723;
}
body[data-view=guest]:has(#knock:not([hidden])) main {
 min-height:100svh;
 display:flex;
 flex-direction:column;
 justify-content:center;
 align-items:center;
}
.joinBackdrop { display:none; }
body:has(#knock:not([hidden])) .joinBackdrop {
 display:block;
 position:fixed;
 inset:0;
 z-index:-1;
 pointer-events:none;
 overflow:hidden;
 background:#010409 url('/join-night-sky.jpg') center bottom / cover no-repeat;
}
#knock.entry {
 width:min(100%,390px);
 max-width:none;
 margin:0 auto;
 padding:clamp(20px,6vw,28px);
 overflow:hidden;
 border-radius:26px;
 border:1px solid #bbf4ffad;
 background:linear-gradient(155deg,#062633ed,#083448df 69%,#12607ce3);
 color:#f4faff;
 box-shadow:0 25px 72px #00101c80,inset 0 1px #ffffff30;
}
#knock.entry h1 {
 margin:0 0 28px;
 font:900 clamp(54px,9vw,78px)/.85 "Arial Black",Arial,sans-serif;
 letter-spacing:-.082em;
 text-shadow:0 3px 22px #021724;
}
#knock.entry label {
 position:absolute;
 width:1px;
 height:1px;
 clip-path:inset(50%);
 overflow:hidden;
 white-space:nowrap;
}
#knock.entry input,#knock.entry button {
 min-height:48px;
 border-radius:999px;
 padding:12px 16px;
 font:inherit;
}
#knock.entry input { border:1px solid #daf9ffb0; background:#082b3ecc; color:#fff; }
#knock.entry input::placeholder { color:#d4e7ee; }
#knock.entry p { color:#e0eef4; font-size:14px; line-height:1.45; margin:10px 5px 15px; }
#knock.entry button.primary { border:0; background:#f2f8fb; color:#092536; font-weight:750; }
#knock.entry :focus-visible { outline-color:#64e2ff; }

.joinBackdrop::after {
 content:'';
 position:absolute;
 inset:0;
 opacity:.53;
 background:url('/join-night-stars.jpg') center bottom / cover no-repeat;
 mask-image:linear-gradient(#000 83%,transparent 94%);
}


body:is(.guestWaiting,[data-view="admin"],[data-view="admin-login"]) {
 min-height:100svh;
 isolation:isolate;
 color-scheme:dark;
 color:#eff8ff;
 background:#010409;
}
body.guestWaiting .joinBackdrop {
 display:block;
 position:fixed;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:#010409 url('/join-night-sky.jpg') center bottom / cover no-repeat;
}
body.guestWaiting main {
 min-height:100svh;
 display:grid;
 place-items:center;
}
body.guestWaiting .actions {
 width:min(100%,390px);
 margin:0;
 padding:24px;
 border:1px solid #bbf4ffad;
 border-radius:26px;
 background:linear-gradient(155deg,#062633ed,#083448df 69%,#12607ce3);
 box-shadow:0 24px 65px #010e20a0;
}
body.guestWaiting #status { margin:0; color:#eff8ff; }
body.guestWaiting #status::before {
 content:'';
 display:inline-block;
 width:7px;
 height:7px;
 margin-right:8px;
 border-radius:50%;
 vertical-align:2px;
 background:#8de2fa;
 box-shadow:0 0 12px #8de2fa9c;
}
body:is([data-view="admin"],[data-view="admin-login"]) :is(main,#title,h1,p,a,label,summary,#notice,#status,#queue,#archive) { color:#f5f6fa; }
body:is([data-view="admin"],[data-view="admin-login"]) :is(article,#queue,#archive,.signIn form,.directInvitePanel,#chat:not([hidden]),#selfOptions) {
 background:linear-gradient(155deg,#7f858f78,#3438408c 51%,#a4a8b344);
 border-color:#e4e7ee61;
 box-shadow:inset 0 1px #ffffff3d, 0 16px 40px #0007;
 backdrop-filter:blur(18px) saturate(.7);
 color:#f5f6fa;
}
body[data-view="admin"] .stage { background:#17181d; color:#f5f6fa; }
body[data-view="admin"] .picture { background:#111216; }
body[data-view="admin"] .identity { color:#e3e5eb; }
body:not(.guestActive)[data-view="admin"] .stage video { background:#111216; }
body:is([data-view="admin"],[data-view="admin-login"]) :is(input,select,button,.recordingDay,.request,.recordingPlayer) {
 background:#303239;
 color:#f5f6fa;
 border-color:#e4e7ee61;
}
body[data-view="admin"] :is(.recordingDay summary,.recordingRow,.stage .tools) { border-color:#e4e7ee61; }
body[data-view="admin"] :is(.recordingRow span,#messages p,#messages strong,#chatStatus) { color:#e3e5eb; }
body[data-view="admin"] :is(.testCall:hover,.recordingDay summary:hover) { background:#494b53; }
body:is([data-view="admin"],[data-view="admin-login"]) :is(.primary,#directInvite) {
 background:#eef0f4;
 color:#26282d;
 border-color:#eef0f4;
}
body:is([data-view="admin"],[data-view="admin-login"]) :focus-visible { outline-color:#dbe0ec; }

body:is([data-view="admin"],[data-view="admin-login"]) .joinBackdrop {
 display:block;
 position:fixed;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:linear-gradient(#02030644,#02030666),#010409 url('/admin-stars.jpg') center / cover no-repeat;
}
body:is([data-view="admin"],[data-view="admin-login"]) .joinBackdrop::after { content:none; }
body[data-view="admin"] .callHeading { background:#e9eaf0ed; color:#25262b; }
body[data-view="admin"] .callHeading .badge { color:#363940; }
body[data-view="admin"] .callHeading .badge:not(:empty)::before { background:#777e8d; }
body[data-view="admin"] .tools [aria-pressed=false]:after { color:#f49b9b; }
body[data-view="admin"] input::placeholder { color:#c2c5ce; }

body[data-view="guest"].guestActive,
body[data-view="guest"].guestActive #stage,
body[data-view="guest"].guestActive #stage :is(article,.stage,.picture,video) {
 background:#000;
}
body[data-view="guest"].guestActive #stage article { border-color:transparent; box-shadow:none; }
body[data-view="guest"].guestActive #stage .identity { color:#e4e6ec; }
body[data-view="guest"].guestActive #stage .tools { border-color:#2a2b2e; }

body[data-view="admin"] { background:#000; }
