.typex-dialog{box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:40px 32px 28px;border:0;border-radius:16px;background:#fff;color:#10213d;box-shadow:0 24px 80px #061a3a40;overflow:auto;font:16px/1.65 "Microsoft YaHei",system-ui,sans-serif}
.typex-dialog::backdrop{background:#071b38a6}
.typex-dialog *{box-sizing:border-box}.typex-dialog [hidden]{display:none!important}
.typex-dialog-close{position:absolute;right:16px;top:12px;min-height:44px;padding:8px 12px;border:0;border-radius:6px;background:#edf2fa;color:#31496c;font:inherit;cursor:pointer}
.typex-dialog h2{margin:0 60px 12px 0;font-size:26px;line-height:1.4}.typex-dialog p{overflow-wrap:anywhere}
.typex-dialog :is(button,a,select):focus-visible{outline:3px solid #5145cc;outline-offset:3px}
.typex-dialog ::selection{background:#dedaff;color:#10213d}.typex-dialog{scrollbar-color:#8496b5 #f2f5fb}
.typex-login{text-align:center}.typex-login h2{margin:4px 0 12px;text-align:center}.typex-login>p{margin:12px auto;max-width:42ch}
.typex-dialog h2:focus{outline:none}.typex-dialog{padding-top:68px}
.typex-login-code{display:grid;place-items:center;width:272px;height:272px;max-width:100%;margin:24px auto 16px;padding:16px;border:1px solid #d4deed;border-radius:12px;background:#fff;color:#52647e;font:inherit;cursor:pointer}
.typex-login-code img{display:block;width:240px;height:240px;max-width:100%;object-fit:contain;background:#fff}.typex-login-code:disabled{cursor:wait}
.typex-login-heading{font-weight:700;font-size:18px}.typex-login-refresh{min-height:44px;padding:10px 20px;border:0;border-radius:8px;background:#5145cc;color:#fff;font:600 16px/1.5 system-ui,sans-serif;cursor:pointer}.typex-login-refresh:disabled{background:#e4eaf4;color:#465978;cursor:wait}
.typex-login .typex-login-note{font-size:14px;color:#52647e;margin-top:20px}
.typex-login-password{display:inline-block;margin-top:8px;color:#5145cc;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.typex-dialog .typex-purchase{margin:0;padding:0;border-radius:0}.typex-dialog .typex-purchase img{padding:12px;background:#fff;border:1px solid #d4deed;border-radius:8px;margin-inline:auto;width:264px}
.typex-dialog-fallback{position:fixed;z-index:2147483001;inset:20px 0;margin:auto;box-shadow:0 0 0 100vmax #071b38a6}
@media(max-width:600px){.typex-dialog{padding:60px 20px 24px;max-height:calc(100dvh - 24px)}.typex-dialog h2{font-size:24px}.typex-login-code{width:256px;height:256px;padding:12px}.typex-login-code img{width:232px;height:232px}.typex-dialog .typex-purchase{padding:0}}
