.auth-refined {
  --auth-ink: #f1f5f6;
  --auth-muted: #a5afb5;
  --auth-border: #41494f;
  --auth-focus: #9199ff;
  margin: 0; display: block; min-height: 100dvh; background: #020a0e; color: var(--auth-ink); color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; letter-spacing: 0;
}
.auth-refined *, .auth-refined *::before, .auth-refined *::after { box-sizing: border-box; letter-spacing: 0; }
.auth-refined button, .auth-refined input { font: inherit; }
.auth-refined button { cursor: pointer; }
.auth-refined button:disabled { cursor: wait; }
.auth-refined [hidden] { display: none !important; }
.auth-world { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.auth-world canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 700ms ease-out; }
.auth-world[data-rendered="true"] canvas { opacity: 1; }
.auth-world-fallback { position: absolute; inset: 0; background: #020a0e url('../img/globe/horizon-poster.jpg') center / cover no-repeat; }
/* The poster has different framing; never crossfade it into the live scene. */
.auth-js .auth-world-fallback { visibility: hidden; opacity: 0; }
.auth-js .auth-world[data-world-state="fallback"] .auth-world-fallback { visibility: visible; opacity: 1; }
.auth-world[data-world-state="fallback"] canvas { opacity: 0; transition: none; }
.auth-transition-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: #4a55db; pointer-events: none; }
.auth-transition-dialog::backdrop { background: transparent; }
.auth-transition-dialog::before { content: ""; position: absolute; inset: 0; background: #f5f8fb; opacity: 0; transform: translateZ(0); }
.auth-transition-dialog .auth-transition-mark { position: absolute; left: calc(50% - 36px); top: calc(50% - 36px); z-index: 1; width: 72px; height: 72px; margin: 0; opacity: 0; transform: translate3d(0, 0, 0) scale(.68); filter: drop-shadow(0 12px 22px #6672d633); }
.auth-transition-dialog .auth-transition-name { position: absolute; z-index: 1; top: calc(50% + 68px); left: 50%; opacity: 0; transform: translate(-50%, 10px); font-size: 17px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.auth-leaving .auth-world { animation: auth-world-launch 650ms cubic-bezier(.22,1,.36,1) forwards; }
.auth-leaving .auth-nav, .auth-leaving .auth-stage, .auth-leaving .auth-page-footer { animation: auth-content-leave 220ms ease-out forwards; }
.auth-leaving .auth-login-dialog { animation: auth-dialog-content-leave 220ms ease-out forwards; }
.auth-transition-dialog[open]::before { animation: auth-workspace-wash 650ms cubic-bezier(.22,1,.36,1) forwards; }
.auth-transition-dialog[open] .auth-transition-mark { animation: auth-mark-travel 650ms cubic-bezier(.22,1,.36,1) forwards; }
.auth-transition-dialog[open] .auth-transition-name { animation: auth-name-arrive 650ms cubic-bezier(.22,1,.36,1) forwards; }
@keyframes auth-world-launch { 0% { opacity: 1; transform: scale(1); filter: blur(0); } 100% { opacity: .12; transform: scale(1.055); filter: blur(1px); } }
@keyframes auth-content-leave { to { opacity: 0; transform: translateY(-6px); } }
@keyframes auth-dialog-content-leave { to { opacity: 0; transform: translateY(-8px) scale(.985); } }
@keyframes auth-workspace-wash { 0%, 48% { opacity: 0; } 100% { opacity: 1; } }
@keyframes auth-mark-travel { 0% { opacity: 0; transform: translate3d(var(--mark-x, 0px), var(--mark-y, 0px), 0) scale(.68); } 18% { opacity: 1; } 74% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(.94); } }
@keyframes auth-name-arrive { 0%, 48% { opacity: 0; transform: translate(-50%, 10px); } 76%, 92% { opacity: .82; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -4px); } }
.auth-nav { position: relative; z-index: 2; min-height: 96px; padding: 24px 5.5%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-nav-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--auth-ink); text-decoration: none; font-size: 18px; font-weight: 600; }
.auth-nav-brand .brand-lockup { gap: 3px; }
.auth-nav-brand .brand-lockup small { color: #9da9b0; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.auth-nav-brand img { flex: 0 0 auto; transform-origin: 50% 50%; transition: transform 360ms cubic-bezier(.22,1,.36,1), filter 360ms ease; }
.auth-nav-brand:hover img, .auth-nav-brand:focus-visible img { transform: translateY(-2px) rotate(-4deg) scale(1.06); filter: drop-shadow(0 7px 12px #7985ff80); animation-play-state: paused; }
.auth-nav-actions { display: flex; align-items: center; gap: 26px; }
.auth-help-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0; border: 0; background: none; color: #b4bdc2; font-size: 12px !important; white-space: nowrap; }
.auth-refined :is(.auth-help-trigger,.auth-password-toggle,.auth-dialog-close,.auth-form-footnote) img { filter: invert(1); opacity: .78; }
.auth-help-trigger:hover, .auth-hero-help:hover { color: #fff; }
.auth-nav-login { display: none; min-width: 86px; min-height: 40px; border: 1px solid #424b51; border-radius: 6px; color: #e8edef; background: #ffffff06; font-size: 13px !important; transition: background-color 150ms, border-color 150ms; }
.auth-js .auth-nav-login { display: block; }
.auth-is-login:not(.auth-ready) .auth-login-dialog > .auth-dialog-close { display: none; }
.auth-js .auth-is-login .auth-login-dialog[data-ready] > .auth-dialog-close { display: grid; }
.auth-nav-login:hover { border-color: #77868d; background: #ffffff10; }
.auth-stage { position: relative; min-height: calc(100dvh - 168px); display: grid; align-items: center; padding: 36px 24px 72px; pointer-events: none; }
.auth-hero { display: none; text-align: center; width: min(700px, 100%); margin: -12px auto 0; pointer-events: none; text-shadow: 0 2px 24px #090c0e; }
.auth-js .auth-hero { display: block; }
.auth-hero h1 { margin: 0 0 10px; color: #edf2f5; font-size: 32px; line-height: 1.45; font-weight: 600; }
.auth-hero-message { min-height: 88px; display: flex; align-items: center; justify-content: center; color: #d1ecec; font-size: 60px; font-weight: 650; line-height: 1.35; }
.auth-hero-message span { display: block; }
.auth-hero p { margin: 21px 0 32px; color: #b5bfc4; font-size: 15px; line-height: 1.8; }
.auth-hero-login { pointer-events: auto; display: flex; align-items: center; justify-content: center; gap: 18px; width: 176px; height: 50px; margin: 0 auto; border: 1px solid #61757d; border-radius: 6px; background: #202b31d9; color: #effaff; font-size: 14px !important; font-weight: 600 !important; box-shadow: inset 0 1px 0 #ffffff12, 0 4px 18px #0003; backdrop-filter: blur(12px); transition: background-color 160ms, border-color 160ms, transform 160ms; }
.auth-hero-login img { filter: invert(1); opacity: .84; transition: transform 160ms; }
.auth-hero-login:hover { background: #303f47eb; border-color: #96bac7; }
.auth-hero-login:hover img { transform: translateX(3px); }
.auth-hero-login:active { transform: scale(.98); }
.auth-hero-help { pointer-events: auto; display: block; min-height: 42px; margin: 9px auto 0; padding: 6px 12px; background: none; border: none; color: #9ba7ae; font-size: 12px !important; }
.auth-content { pointer-events: auto; width: min(440px, calc(100% - 36px)); margin: auto; padding: 36px; border: 1px solid #ffffff30; border-radius: 8px; color: var(--auth-ink); background: #191e22e8; box-shadow: inset 0 1px 0 #ffffff0f, 0 28px 110px #0009; backdrop-filter: blur(24px); }
.auth-login-dialog { position: fixed; inset: 0; max-height: calc(100dvh - 36px); overflow-y: auto; overscroll-behavior: contain; }
.auth-js .auth-login-dialog:not([data-ready]) { visibility: hidden; }
.auth-login-dialog::backdrop { background: #05080ab8; backdrop-filter: blur(5px); }
.auth-account-panel { position: relative; width: min(480px, 100%); }
.auth-emblem { width: 48px; height: 48px; margin: 0 auto 22px; }
.auth-emblem img { display: block; width: 100%; height: 100%; }
.auth-refined .auth-heading { text-align: center; margin: 0 0 29px; }
.auth-refined .auth-heading :is(h1,h2) { font-size: 28px; font-weight: 600; line-height: 1.4; color: var(--auth-ink); text-wrap: balance; margin: 0 0 10px; }
.auth-refined .auth-heading p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--auth-muted); text-wrap: pretty; }
.auth-refined .auth-kicker { display: block; color: #aababa; font-size: 12px; font-weight: 500; margin-bottom: 9px; }
.auth-refined .auth-form { width: 100%; }
.auth-refined .form-group { margin: 0 0 21px; }
.auth-refined .form-label { display: block; color: #c6cfd4; font-size: 13px; font-weight: 500; line-height: 20px; margin: 0 0 9px; }
.auth-refined .auth-form .form-input { width: 100%; height: 50px; padding: 0 14px; color: var(--auth-ink); background: #0b10145e; border: 1px solid var(--auth-border); border-radius: 6px; font-size: 16px; line-height: 1.4; box-shadow: inset 0 1px 3px #0002; transition: border-color 140ms ease-out, box-shadow 140ms ease-out; }
.auth-refined .auth-form .form-input::placeholder { color: #879299; font-size: 13px; opacity: 1; }
.auth-refined .auth-form .form-input:hover { border-color: #6b7a84; }
.auth-refined .auth-form .form-input:focus { outline: none; border-color: #909be3; box-shadow: 0 0 0 3px #939dff20; }
.auth-refined .auth-form .form-input:user-invalid { border-color: #e4a1a1; }
.auth-refined .form-input:autofill { box-shadow: 0 0 0 1000px #202930 inset; -webkit-text-fill-color: #edf3f5; caret-color: #edf3f5; }
.auth-field-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-refined .auth-text-button { padding: 0; border: none; background: none; color: #b6bdf9; font-size: 12px; line-height: 20px; }
.auth-text-button:hover { text-decoration: underline; }
.auth-password-field { position: relative; }
.auth-refined .auth-password-field .form-input { padding-right: 50px; }
.auth-password-toggle { position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 4px; background: transparent; }
.auth-password-toggle:hover { background: #ffffff08; }
.auth-refined .auth-submit { width: 100%; height: 50px; min-height: 50px; margin-top: 7px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #989fe9; border-radius: 6px; background: #4c53e3; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; box-shadow: inset 0 1px 0 #ffffff26, 0 2px 12px #0002; transition: background-color 150ms, transform 150ms; }
.auth-refined .auth-submit:hover { background: #5a62ee; }
.auth-refined .auth-submit:active { transform: scale(.985); }
.auth-refined .auth-submit:disabled { opacity: .7; }
.auth-refined .auth-submit-arrow { width: 18px; height: 18px; filter: invert(1); }
.auth-submit-progress { display: none; width: 15px; height: 15px; border: 1.5px solid #ffffff73; border-top-color: #fff; border-radius: 50%; }
.auth-submit[aria-busy="true"] .auth-submit-arrow { display: none; }
.auth-submit[aria-busy="true"] .auth-submit-progress { display: block; animation: auth-submit-turn 700ms linear infinite; }
@keyframes auth-submit-turn { to { transform: rotate(360deg); } }
.auth-refined .auth-form-footnote { margin: 24px 0 0; display: flex; justify-content: center; gap: 7px; color: var(--auth-muted); font-size: 11px; line-height: 1.6; text-align: center; }
.auth-form-footnote img { flex-shrink: 0; }
.auth-refined .auth-alert { margin: 0 0 22px; padding: 12px 14px; line-height: 1.65; border: 1px solid #a362624d; border-radius: 6px; background: #703c3c26; color: #f1b7b7; font-size: 13px; }
.auth-refined .form-hint { margin-top: 8px; color: var(--auth-muted); line-height: 1.6; }
.auth-refined .auth-back { margin-top: 24px; color: #b6bdf9; }
.auth-refined .mfa-code-input { font-variant-numeric: tabular-nums; }
.auth-refined .mfa-recovery-continue { margin-top: 20px; text-decoration: none; }
.auth-refined .mfa-manual-key { background: #12191e; color: var(--auth-muted); border-color: var(--auth-border); }
.auth-refined .mfa-manual-key code, .auth-refined .mfa-recovery-grid code { color: #dbe5ec; overflow-wrap: anywhere; }
.auth-refined .mfa-recovery-grid code { background: #10171b; border-color: var(--auth-border); }
.auth-page-footer { position: relative; z-index: 2; min-height: 72px; padding: 18px 5.5%; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #909da5; font-size: 11px; line-height: 1.7; }
.auth-footer-brand span { padding: 0 14px; color: #46545e; }
.auth-footer-icp { color: inherit; text-decoration: none; white-space: nowrap; }
.auth-footer-icp:hover { text-decoration: underline; }
.auth-page-footer { flex-wrap: wrap; }
.auth-help-dialog { width: min(420px, calc(100% - 36px)); max-height: calc(100dvh - 36px); overflow-y: auto; margin: auto; padding: 32px; border: 1px solid #ffffff30; border-radius: 8px; background: #20272bf5; color: var(--auth-ink); box-shadow: 0 20px 70px #0008; }
.auth-help-dialog::backdrop { background: #05080acc; backdrop-filter: blur(5px); }
.auth-help-dialog h2 { font-size: 24px; font-weight: 600; line-height: 1.4; margin: 0 30px 26px 0; }
.auth-help-dialog h3 { font-size: 14px; font-weight: 600; margin: 22px 0 7px; }
.auth-help-dialog p { color: #adb9bf; font-size: 13px; line-height: 1.8; }
.auth-dialog-close { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: none; border-radius: 4px; background: #ffffff05; }
.auth-dialog-close:hover { background: #ffffff0e; }
.auth-refined :is(a,button):focus-visible { outline: 2px solid #b2c5ff; outline-offset: 4px; }
.auth-refined { overflow-x: hidden; background: #020a0e; }
.auth-world { opacity: 1; }
.auth-stage { display: block; min-height: calc(100dvh - 168px); padding: 0 8% 60px; perspective: 1600px; }
.auth-hero { position: relative; z-index: 2; width: min(610px, 55%); margin: 0; padding-top: clamp(48px, 9vh, 100px); text-align: left; text-shadow: none; transform: translateZ(28px); transform-origin: left center; }
.auth-hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 32px; color: #a1acb1; font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.auth-hero-kicker-dot { width: 20px; height: 1px; background: #d6b778; }
.auth-hero h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin: 0 0 25px; color: #f3f8fb; font-size: 36px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.auth-hero h1 em { color: #d9e5e9; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 28px; font-style: normal; font-weight: 600; letter-spacing: 0; }
.auth-hero-message { min-height: 0; justify-content: flex-start; color: #eaf7f8; font-size: 64px; font-weight: 600; line-height: 1.16; letter-spacing: 0; text-shadow: 0 8px 36px #0008; }
.auth-hero-message span { max-width: 100%; overflow-wrap: break-word; }
.auth-hero p { margin: 26px 0 28px; color: #a5b4ba; font-size: 15px; line-height: 1.9; }
.auth-hero-login { margin: 0; width: 174px; height: 50px; border-color: #d2e4e8; background: #eaf7f8; color: #10202a; box-shadow: none; }
.auth-hero-login img { filter: none; opacity: .9; }
.auth-hero-login:hover { border-color: #fff; background: #fff; box-shadow: 0 4px 18px #0002; }
.auth-hero-help { margin: 8px 0 0 4px; padding-left: 0; }
.auth-world-ready .auth-nav-brand img { animation: auth-brand-light 1500ms ease-out both; }
@keyframes auth-brand-light { 0%, 100% { filter: none; } 35% { filter: brightness(1.22) drop-shadow(0 0 8px #86d8d450); } }
@media(min-width:1800px) {
  .auth-nav { padding-inline: 7%; }
  .auth-page-footer { padding-inline: 7%; }
  .auth-hero-message { font-size: 68px; }
}
@media(min-width:701px) and (max-width:1150px) {
  .auth-hero { width: 60%; }
  .auth-hero-message { font-size: 48px; }
}
@media(max-width:700px) {
  .auth-nav { min-height: 76px; padding: 18px 24px; }
  .auth-nav-brand { font-size: 15px; gap: 9px; }
  .auth-nav-brand .brand-lockup small { display: none; }
  .auth-nav-brand img { width: 29px; height: 29px; }
  .auth-nav-actions { gap: 14px; }
  .auth-help-trigger span { display: none; }
  .auth-help-trigger { width: 36px; }
  .auth-nav-login { min-width: 64px; min-height: 36px; }
  .auth-stage { min-height: calc(100dvh - 140px); padding: 0 24px 64px; }
  .auth-world { opacity: .82; }
  .auth-world-fallback { background-image: url('../img/globe/horizon-poster-mobile.jpg'); }
  .auth-hero { width: min(100%, 520px); margin: 0; padding-top: 32px; transform: none; }
  .auth-hero-kicker { margin-bottom: 24px; font-size: 9px; letter-spacing: 0; }
  .auth-hero h1 { display: block; font-size: 24px; margin-bottom: 22px; }
  .auth-hero h1 em { display: inline-block; margin-left: 10px; font-size: 20px; }
  .auth-hero-message { font-size: 42px; }
  .auth-hero p { margin: 20px 0 24px; font-size: 13px; }
  .auth-hero-login { width: 154px; }
  .auth-content { padding: 30px 24px; }
  .auth-refined .auth-heading :is(h1,h2) { font-size: 26px; }
  .auth-page-footer { min-height: 64px; padding: 14px 24px; font-size: 10px; }
  .auth-footer-brand span { padding: 0 6px; }
}
@media(max-width:360px) {
  .auth-nav { padding-inline: 18px; }
  .auth-nav-actions { gap: 6px; }
  .auth-hero-message { font-size: 32px; }
  .auth-content { padding-inline: 20px; }
}
@media(max-height:620px) and (min-width:701px) {
  .auth-nav { min-height: 72px; padding-block: 16px; }
  .auth-stage { min-height: calc(100dvh - 128px); padding-block: 22px; }
  .auth-page-footer { min-height: 56px; padding-block: 12px; }
  .auth-hero h1 { font-size: 24px; }
  .auth-hero { padding-top: 12px; }
  .auth-hero-message { font-size: 44px; min-height: 64px; }
  .auth-hero p { margin: 12px 0 18px; }
}
@media(prefers-reduced-motion:reduce) {
  .auth-refined *, .auth-refined *::before, .auth-refined *::after { animation: none !important; transition: none !important; }
}
@media(forced-colors:active) {
  .auth-refined button, .auth-refined .auth-form .form-input { border: 1px solid ButtonText; }
}
