/* 与主站品牌保持一致的独立入口，避免加载内部页面后才遮罩造成内容闪现。 */
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; padding: 36px 20px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #f3f7fc; color: #172b48; font: 15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
.beta-card { width: min(100%,460px); padding: 40px; background: white; border: 1px solid #dee7f3; border-radius: 20px; box-shadow: 0 16px 48px #2348720c; }
.beta-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; color: inherit; text-decoration: none; font-size: 19px; font-weight: 700; }
.beta-brand img { width: 44px; height: 44px; border-radius: 10px; }
.beta-brand small { display: block; color: #74829a; font-size: 11px; font-weight: 400; }
.beta-badge { display: inline-block; padding: 3px 10px; border-radius: 5px; background: #edf4ff; color: #176fe8; font-size: 12px; font-weight: 600; }
h1 { margin: 16px 0 8px; font-size: 30px; line-height: 1.3; letter-spacing: -.7px; }
.beta-description { margin: 0 0 28px; color: #6c7a90; }
label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
input,button { width: 100%; min-height: 48px; border-radius: 8px; font: inherit; }
input { padding: 10px 14px; border: 1px solid #cbd9ec; color: #173457; background: #fbfdff; }
input:focus { outline: 3px solid #176fe81c; border-color: #176fe8; }
button { margin-top: 16px; border: none; background: #176fe8; color: white; font-weight: 600; cursor: pointer; }
button:hover { background: #105dcc; }
button:disabled { opacity: .65; cursor: wait; }
button:focus-visible { outline: 3px solid #93baff; outline-offset: 3px; }
#betaMessage { min-height: 24px; margin: 12px 0 0; color: #b63a3a; font-size: 13px; }
.beta-note { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid #edf1f7; color: #7d899d; font-size: 12px; }
footer { display: grid; gap: 4px; margin-top: 24px; color: var(--muted, #65758c); font-size: 12px; text-align: center; }
footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:480px) { body { padding-inline: 16px; } .beta-card { padding: 28px 24px; } h1 { font-size: 27px; } }
/* 内测码固定在账号字段之后；隐藏字段由脚本同步禁用校验。 */
[hidden] { display: none !important; }
.beta-brand { margin-bottom: 24px; }
.beta-description { margin-bottom: 20px; }
#betaForm > div { margin-bottom: 16px; }
.beta-code-field { padding-top: 18px; border-top: 1px solid #e5ecf6; }
#betaCode { text-transform: uppercase; }
.beta-code-field small { display: block; margin-top: 7px; color: #8592a5; font-size: 11px; }
.beta-tabs { display: flex; padding: 4px; gap: 4px; margin-bottom: 24px; background: #f1f5fb; border-radius: 9px; }
.beta-tabs button { margin: 0; min-height: 38px; background: transparent; color: #718098; font-size: 14px; }
.beta-tabs button[aria-pressed="true"] { background: white; color: #176fe8; box-shadow: 0 2px 6px #1734570d; }
.beta-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.beta-actions button { margin: 0; width: auto; min-height: 30px; background: transparent; color: #547ba9; font-size: 12px; font-weight: 400; }
.beta-actions button:hover { color: #176fe8; }
#betaPreview { display: block; margin: 8px 0 16px; color: #176fe8; font-size: 12px; }
.beta-note { line-height: 1.8; }
/* 注册为登录页的次要入口，点击后才呈现内测码字段。 */
.beta-register-button { margin-top: 0; background: #edf4ff; color: #176fe8; border: 1px solid #d7e6fc; }
.beta-register-button:hover { background: #e0ecff; }
.beta-actions { margin-top: 16px; }
.beta-waiting { padding: 10px 0 16px; text-align: center; }
.beta-waiting-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; background: #edf4ff; color: #176fe8; font-size: 32px; }
.beta-waiting p { margin: 14px 0; color: #6c7a90; font-size: 14px; line-height: 1.8; }
.beta-waiting strong { display: block; color: #173457; font-size: 17px; overflow-wrap: anywhere; }
.beta-waiting small { color: #8592a5; font-size: 12px; }
/* 注册页右侧提供用户主动返回登录的选项，不影响成功注册后的等待状态。 */
.beta-register-login { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 10px; color: #8592a5; font-size: 12px; }
.beta-register-login button { width: auto; min-height: 28px; margin: 0; padding: 0; background: transparent; color: #176fe8; font-size: 12px; }
body[data-beta-mode="waiting"] #betaMessage { color: #547ba9; }
