#alpha-entry-dialog { position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:20px;background:#000b;backdrop-filter:blur(8px); }
#alpha-entry-dialog.is-open { display:flex; }
#alpha-entry-dialog .alpha-entry-window { position:relative;width:min(540px,100%);height:min(820px,calc(100dvh - 40px));overflow:hidden;border:1px solid #ffffff24;border-radius:28px;background:#111;box-shadow:0 24px 100px #000b; }
#alpha-entry-frame { display:block;width:100%;height:100%;border:0;background:#111; }
#alpha-entry-close { position:absolute;top:12px;right:12px;z-index:2;width:36px;height:36px;border:1px solid #ffffff33;border-radius:50%;background:#111d;color:#ddd;font:26px/1 Arial;cursor:pointer; }
#alpha-entry-close:focus-visible { outline:2px solid #ffc400;outline-offset:3px; }
body.alpha-entry-open { overflow:hidden; }
body.alpha-embedded > :not(#alpha-entry-dialog) { display:none!important; }
#alpha-entry-dialog.as-chat { padding:0;background:#070707;backdrop-filter:none; }
#alpha-entry-dialog.as-chat .alpha-entry-window { width:100%;height:100dvh;border:0;border-radius:0;box-shadow:none; }
#alpha-entry-dialog.as-chat #alpha-entry-close { display:none; }
@media(max-width:600px) { #alpha-entry-dialog { padding:10px; } #alpha-entry-dialog .alpha-entry-window { height:calc(100dvh - 20px);border-radius:22px; } }
/* Match the main page modal motion and dimming. */
#alpha-entry-dialog {
 display:flex;opacity:0;visibility:hidden;pointer-events:none;
 background:rgba(0,0,0,.5);backdrop-filter:none;
 transition:opacity .15s linear,visibility 0s linear .3s;
}
#alpha-entry-dialog.is-open { opacity:1;visibility:visible;pointer-events:auto;transition:opacity .15s linear,visibility 0s; }
#alpha-entry-dialog .alpha-entry-window {
 background:#000;border:1px solid #526078;border-radius:26px;
 box-shadow:0 24px 80px #0006;transform:translateY(-25%);
 transition:transform .3s ease-out;
}
#alpha-entry-dialog.is-open .alpha-entry-window { transform:translateY(0); }
#alpha-entry-frame { background:#000; }
#alpha-entry-close {
 top:22px;right:22px;width:36px;height:36px;padding:6px;
 border:0;border-radius:0;background:transparent;color:#c2cada;font-size:0;
}
#alpha-entry-close::before,#alpha-entry-close::after {
 content:"";position:absolute;left:6px;top:17px;width:24px;height:1.5px;background:currentColor;
 transform:rotate(45deg);
}
#alpha-entry-close::after { transform:rotate(-45deg); }
#alpha-entry-close:hover { color:#ffc600; }
#alpha-entry-dialog.as-chat .alpha-entry-window { transform:none;transition:none;border:0;border-radius:0; }
@media(prefers-reduced-motion:reduce) {
 #alpha-entry-dialog,#alpha-entry-dialog.is-open,#alpha-entry-dialog .alpha-entry-window { transition:none; }
}

#alpha-entry-close:focus, #alpha-entry-close:focus-visible { outline: none; box-shadow: none; }
