/* BLACKBOX Obsidian identity gateway: separate from ordinary public-demo pages. */
.bb-auth-entry{border:1px solid #68449c!important;color:#c8aaf8!important;white-space:nowrap}
.bb-auth-layer{position:fixed;inset:0;z-index:9900;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(4,7,18,.9);backdrop-filter:blur(14px);overflow-y:auto}
.bb-auth-layer.hidden{display:none!important}
.bb-auth-frame{width:min(100%,940px);min-height:520px;display:grid;grid-template-columns:1fr 1.1fr;background:#0d1122;border:1px solid #343452;border-radius:22px;box-shadow:0 30px 90px #000b;overflow:hidden}
.bb-auth-header{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:36px;background:radial-gradient(circle at 35% 68%,#38265e 0%,#12162d 56%,#090e1d 90%);color:#c5b5ec;font-weight:800;letter-spacing:1.8px;font-size:11px;position:relative}
.bb-auth-header img{display:block;object-fit:contain;width:min(100%,280px);max-height:340px;align-self:center;flex:1}
.bb-auth-header #authClose{position:absolute;right:18px;top:18px;color:#e5daf8;border:1px solid #8573ac;border-radius:7px;background:#15172a;font-size:26px;width:38px;height:38px;cursor:pointer}
.bb-auth-content{padding:52px 46px;color:#f1edf8;display:flex;flex-direction:column;justify-content:center}
.bb-auth-kicker{font-size:11px;color:#b9a0ff;font-weight:800;letter-spacing:1.9px}
.bb-auth-content h1{font-size:clamp(27px,3vw,39px);line-height:1.18;margin:15px 0 12px;letter-spacing:-.9px}
.bb-auth-content p{color:#b2b4cb;line-height:1.5;font-size:13px}
#authForm{display:grid;gap:15px;margin-top:20px}
#authForm label{display:grid;gap:8px;font-size:10px;color:#b3a4cf;font-weight:800;letter-spacing:1.5px}
#authForm input{width:100%;padding:14px;background:#0a1021;border:1px solid #394063;border-radius:9px;color:white;outline:0;font-size:14px;box-sizing:border-box}
#authForm input:focus{border-color:#b18bff;box-shadow:0 0 0 3px #aa8bff27}
#authForm .bb-auth-error{color:#ffb1b4;min-height:0;margin:0}
.bb-auth-submit{padding:15px;border:0;border-radius:9px;font-weight:900;background:linear-gradient(120deg,#8c69dc,#bea2fa);color:#130a24;cursor:pointer;font-size:14px}
.bb-auth-submit:disabled{opacity:.6;cursor:wait}
.bb-auth-actions{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:18px;gap:12px}
.bb-auth-actions button{border:0;background:transparent;color:#c8adff;text-decoration:underline;cursor:pointer;padding:0;font-size:13px}
.bb-auth-note{font-size:11px;color:#8991b0;line-height:1.6;margin-top:22px;border-top:1px solid #292f49;padding-top:18px}
@media(max-width:730px){.bb-auth-frame{grid-template-columns:1fr;min-height:0}.bb-auth-header{padding:12px 25px;flex-direction:row;align-items:center}.bb-auth-header img{width:45px;height:45px;max-height:45px;flex:0;order:-1}.bb-auth-content{padding:30px 25px}}
#authForm #inviteRow[hidden],#authLayer [hidden]{display:none!important}
