/* 登录前遮罩 — 内容隐藏直到登录通过 */
body.auth-wait { background: #0a1020 !important; overflow: hidden; }
body.auth-wait > *:not(#ak-gate):not(.ak-mask):not(.ak-captcha-overlay):not(.ak-prompt-overlay):not(script):not(style):not(link) {
  visibility: hidden !important;
}
#ak-gate {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a1020 0%, #1a2858 100%); z-index: 9999;
  font-family: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  color: #fffdf7; text-align: center;
}
body.auth-ok #ak-gate { display: none; }
#ak-gate-content {
  max-width: 480px; padding: 40px 32px;
  background: rgba(255,255,255,.06); border-radius: 16px;
  backdrop-filter: blur(8px);
}
#ak-gate h1 {
  font-size: 28pt; font-weight: 900; margin: 0 0 12px;
  background: linear-gradient(90deg, #ffc547 0%, #ff9020 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
#ak-gate p { font-size: 13pt; opacity: .8; margin: 0 0 24px; line-height: 1.6; }
#ak-gate-btn {
  padding: 12px 36px; font-size: 14pt; font-weight: 700;
  background: #ffc547; color: #1a1a1a; border: none; border-radius: 10px;
  cursor: pointer; box-shadow: 0 4px 16px rgba(255,197,71,.3);
}
#ak-gate-btn:hover { background: #ffb030; }
:root { --ak-primary: #ffc547; }
