.ai-auth-modal [hidden] { display: none !important; }
.ai-auth-body { max-height: 92vh; max-height: 92dvh; box-sizing: border-box; }
.ai-auth-member-note { margin-top: 18px; padding: 12px; border-radius: 10px; background: #faf8f2; color: #53665c; font-size: 12px; line-height: 1.7; }
.ai-auth-member-note a { color: #0f766e; white-space: nowrap; }
.ai-auth-error { margin: 12px 0; padding: 10px 12px; color: #b42318; background: #fff1f0; border: 1px solid #fdd6d2; border-radius: 10px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.ai-auth-field-tip { margin: 6px 0 12px; color: #53665c; font-size: 12px; line-height: 1.6; }
.ai-auth-real-captcha { flex: 0 0 120px; height: 44px; border: 1px solid #e5eee7; border-radius: 10px; background: #faf8f2; overflow: hidden; color: #0f766e; font-size: 12px; cursor: pointer; }
.ai-auth-real-captcha img { width: 100%; height: 100%; object-fit: contain; }
.ai-auth-submit:disabled { opacity: .55; cursor: wait; }
@media (max-width: 680px) {
  .ai-auth-modal { width: min(440px, 94vw); grid-template-columns: 1fr; }
  .ai-auth-side { display: none; }
  .ai-auth-body { padding: 26px 20px 20px; }
}

/* The rounded wrapper already provides focus-within feedback. */
.ai-auth-input input:focus-visible { outline: none; }
