.auth-page {
  --auth-muted: #8291b3;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 5% 3%, #183a88 0, transparent 46%), radial-gradient(ellipse at 80% 68%, #102757 0, transparent 50%), #080f26;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#9db8ff07 1px, transparent 1px), linear-gradient(90deg, #9db8ff07 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000, transparent 90%);
}
.auth-header, .auth-footer { width: min(1280px, 100%); margin-inline: auto; padding-inline: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-header { padding-top: 36px; padding-bottom: 16px; }
.auth-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.auth-brand:hover { color: #fff; }
.auth-brand-icon { width: 43px; height: 43px; display: grid; place-items: center; background: #ffffff13; border: 1px solid #ffffff24; box-shadow: inset 0 1px #ffffff12; border-radius: 13px; font-size: 23px; }
.auth-brand strong { display: block; font-size: 18px; letter-spacing: 1px; line-height: 1.4; }
.auth-brand small { display: block; color: #9badce; font-size: 8px; letter-spacing: 2.5px; margin-top: 3px; }
.auth-header-note { font-size: 12px; color: #a1b1d2; display: flex; align-items: center; gap: 8px; }
.auth-header-note > span { width: 5px; height: 5px; border-radius: 50%; background: #88b4ff; box-shadow: 0 0 12px #729fff90; }
.auth-stage { width: min(1168px, 100%); margin: auto; padding: 40px 40px 48px; display: grid; grid-template-columns: minmax(0, 1fr) 428px; gap: clamp(48px, 7vw, 112px); align-items: center; flex: 1; }
.auth-eyebrow { font-size: 10px; letter-spacing: 2.6px; color: #b3c7ff; display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.auth-eyebrow > span { width: 22px; height: 1px; background: #89a8ff; }
.auth-story h1 { font-size: clamp(38px, 4.3vw, 56px); line-height: 1.35; letter-spacing: -1.7px; margin: 0; font-weight: 600 !important; }
.auth-story h1 > span { background: linear-gradient(100deg, #91b4ff, #b4a4f9 85%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.auth-story-description { color: #a6b6d7; font-size: 14px; line-height: 1.9; margin: 20px 0 28px; }
.auth-creative-preview { width: 100%; max-width: 450px; padding: 12px; border: 1px solid #aec3ff22; border-radius: 16px; background: linear-gradient(120deg, #ffffff0c, #ffffff03); box-shadow: 0 24px 64px #02081830, inset 0 1px #ffffff07; transform: perspective(1200px) rotateY(3deg) rotateX(2deg); }
.auth-preview-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; color: #a0b3d7; font-size: 10px; }
.auth-preview-top > span:first-child { display: flex; align-items: center; gap: 6px; }
.auth-preview-top > span:last-child { letter-spacing: 1.3px; font-size: 8px; color: #7890b8; }
.auth-preview-dot { width: 5px; height: 5px; border-radius: 50%; background: #80aeff; }
.auth-preview-art { height: 168px; overflow: hidden; position: relative; border-radius: 8px; background: radial-gradient(ellipse at 60% 30%, #6d72ba60, transparent 65%), linear-gradient(125deg, #172d5e, #313158 60%, #19223b); }
.auth-art-sphere { width: 140px; height: 140px; border-radius: 50%; position: absolute; right: 54px; top: -12px; background: radial-gradient(circle at 32% 22%, #f3cfb6, #b7a2c3 28%, #5c5a93 55%, #293050 80%); box-shadow: inset -15px -20px 20px #151a3c50, 0 0 60px #b3a0f424; }
.auth-art-orbit { width: 245px; height: 80px; position: absolute; right: 3px; top: 24px; border: 1px solid #c0b7f149; border-radius: 50%; transform: rotate(-31deg); z-index: 1; }
.auth-art-orbit-two { width: 290px; height: 115px; right: -19px; top: 7px; border-color: #a0b6f321; transform: rotate(-31deg); }
.auth-art-star { position: absolute; color: #d2cdff; }
.auth-art-star-one { left: 32px; top: 23px; font-size: 19px; }
.auth-art-star-two { right: 24px; bottom: 35px; font-size: 16px; opacity: .5; }
.auth-art-caption { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.auth-art-caption > small { color: #c0c9e4; font-size: 7px; letter-spacing: 2px; }
.auth-art-caption > span { color: #fff; font-size: 16px; letter-spacing: .5px; }
.auth-art-play { position: absolute; right: 18px; bottom: 16px; color: #d8def8; font-size: 24px; }
.auth-preview-prompt { display: flex; gap: 9px; align-items: center; padding: 12px 5px 0; color: #8398be; font-size: 10px; }
.auth-preview-prompt > span:first-child { color: #9eb6fb; font-size: 16px; }
.auth-prompt-send { margin-left: auto; width: 24px; height: 24px; display: grid; place-items: center; color: #abc2ff; background: #8aa7ff19; border-radius: 6px; }
.auth-features { display: flex; justify-content: space-between; max-width: 450px; margin-top: 28px; gap: 12px; }
.auth-features > div { display: flex; gap: 9px; align-items: flex-start; color: #dee5f9; font-size: 11px; }
.auth-features > div > .anticon { color: #9ab5ff; font-size: 17px; margin-top: 2px; }
.auth-features small { display: block; color: #7f94bc; font-size: 10px; margin-top: 5px; white-space: nowrap; }
.auth-card { padding: 36px; background: #fff; color: #16213d; border-radius: 20px; box-shadow: 0 32px 100px #01071350, 0 0 0 1px #ffffff12; }
.auth-card-eyebrow { color: #919bb0; font-size: 8px; letter-spacing: 1.8px; margin-bottom: 13px; }
.auth-card h2 { margin: 0; line-height: 1.45; font-size: 26px; letter-spacing: -.7px; font-weight: 600 !important; display: flex; align-items: center; gap: 12px; }
.auth-card h2 > span { font-size: 24px; font-weight: 400; color: #6484f8; }
.auth-card-description { margin: 8px 0 22px; font-size: 12px; color: #7a849a; line-height: 1.7; }
.auth-tabs .ant-tabs-nav { margin-bottom: 24px; }
.auth-tabs .ant-tabs-nav-list { width: 100%; }
.auth-tabs .ant-tabs-tab { flex: 1; justify-content: center; padding: 9px 0 13px !important; font-size: 13px; }
.auth-tabs .ant-tabs-tab + .ant-tabs-tab { margin: 0; }
.auth-tabs .ant-tabs-ink-bar { height: 2px; }
.auth-tabs .ant-tabs-tab:not(.ant-tabs-tab-active) { color: #9ba3b4; }
.auth-form .ant-form-item { margin-bottom: 18px; }
.auth-form .ant-form-item-label { padding-bottom: 7px; }
.auth-form.ant-form-vertical .ant-form-item-label > label { height: 20px !important; line-height: 20px; font-size: 12px; color: #46516a; }
.auth-form .ant-input-affix-wrapper { border-radius: 9px; background: #f9fafc; font-size: 13px; padding-inline: 13px; transition: border-color .2s, box-shadow .2s; }
.auth-form .ant-input-affix-wrapper:hover { border-color: #9eb2ff; }
.auth-form .ant-input-affix-wrapper:focus-within { background: #fff; }
.auth-form .ant-input-affix-wrapper input { background: transparent; font-size: 13px; }
.auth-form .ant-input::placeholder { color: #abb2c2; }
.auth-form .ant-input-prefix { color: #9aa5bb; margin-right: 10px; }
.auth-form .ant-input-password-icon { color: #a2acc0; }
.auth-form .ant-form-item-explain-error { font-size: 11px; padding-top: 3px; }
.auth-submit.ant-btn { height: 48px; border-radius: 9px; margin-top: 5px; font-size: 13px; background: #315bef; box-shadow: 0 6px 16px #315bef20; display: flex; gap: 12px; justify-content: center; }
.auth-submit.ant-btn:not(:disabled):hover { background: #2449dc; }
.auth-submit.ant-btn:disabled { background: #f0f2f8; box-shadow: none; }
.auth-switch { display: flex; justify-content: center; align-items: center; margin-top: 20px; color: #8b95a9; font-size: 12px; }
.auth-switch .ant-btn { padding: 0 0 0 5px; height: auto; font-size: 12px; gap: 5px; }
.auth-switch .ant-btn .anticon { font-size: 10px; }
.auth-card-footer { border-top: 1px solid #edf0f5; margin-top: 25px; padding-top: 20px; font-size: 10px; color: #9aa3b5; text-align: center; display: flex; gap: 6px; justify-content: center; align-items: center; }
.auth-card-footer > .anticon { color: #91a1bd; }
.auth-card--register { padding-block: 28px; }
.auth-card--register .auth-form .ant-form-item { margin-bottom: 13px; }
.auth-card--register .auth-tabs .ant-tabs-nav { margin-bottom: 18px; }
.auth-card--register .auth-card-description { margin-bottom: 14px; }
.auth-card--register .auth-card-footer { margin-top: 18px; padding-top: 16px; }
.auth-footer { padding-top: 12px; padding-bottom: 26px; font-size: 10px; color: #65799f; }
.auth-footer > span:last-child { letter-spacing: 2px; font-size: 8px; }
.auth-error { margin-bottom: 16px; }
.auth-error .ant-alert { font-size: 12px; border-radius: 8px; }
.auth-captcha-row { display: flex; align-items: flex-start; gap: 10px; }
.auth-captcha-row > .ant-input-affix-wrapper { min-width: 0; flex: 1; }
.auth-captcha-image.ant-btn { width: 112px; flex: 0 0 112px; height: 48px; padding: 0; overflow: hidden; background: #f2f5fc; border-color: #e0e6f2; border-radius: 9px; color: #6c7fa8; font-size: 12px; }
.auth-captcha-image img { width: 100%; height: 100%; object-fit: contain; }
.auth-captcha-hint, .auth-captcha-error { font-size: 10px; line-height: 1.7; display: block; margin-top: 6px; color: #9aa3b5; }
.auth-captcha-error { color: #d43838; }
.auth-page a:focus-visible, .auth-page button:focus-visible { outline: 3px solid #9db5ff; outline-offset: 4px; }

@media (min-width: 993px) and (max-height: 850px) {
  .auth-header { padding-top: 24px; }
  .auth-stage { padding-top: 24px; padding-bottom: 24px; }
  .auth-card { padding-block: 28px; }
  .auth-card-footer { margin-top: 20px; padding-top: 16px; }
}
@media (max-width: 992px) {
  .auth-header, .auth-footer { padding-inline: 32px; }
  .auth-header { padding-top: 26px; }
  .auth-stage { display: flex; justify-content: center; padding: 36px 24px; }
  .auth-story { display: none; }
  .auth-card { width: 428px; max-width: 100%; }
}
@media (max-width: 480px) {
  .auth-header { padding: 22px 22px 4px; }
  .auth-brand-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 20px; }
  .auth-brand strong { font-size: 16px; }
  .auth-brand small { font-size: 7px; }
  .auth-header-note { display: none; }
  .auth-stage { padding: 26px 18px; }
  .auth-card { padding: 28px 24px; border-radius: 16px; }
  .auth-card h2 { font-size: 24px; }
  .auth-card-eyebrow { font-size: 7px; }
  .auth-card-description { font-size: 11px; }
  .auth-footer { padding: 0 22px 20px; justify-content: center; font-size: 9px; }
  .auth-footer > span:last-child { display: none; }
  .auth-captcha-image.ant-btn { width: 100px; flex-basis: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after { transition: none !important; animation: none !important; }
}
