/* ==========================================================================
   登录 / 注册 · 方案十三「雾面浅灰」
   独立样式表，仅作用于 body.au-page，不依赖也不影响站点其它页面。
   ========================================================================== */

html body.au-page {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(29, 29, 31, 0.08);
  --line-2: rgba(29, 29, 31, 0.14);
  --fill: #f5f6f9;
  --fill-2: #eef0f5;
  --blue: #0066cc;
  --slate: #5c6b8a;
  --slate-2: #8c9bb9;
  --slate-3: #9aa7c4;
  --danger: #c0392b;
  --ok: #2e8b6f;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background-color: #fbfbfd;
  background-image: radial-gradient(70% 46% at 50% 0%, #eef1f7 0%, rgba(238, 241, 247, 0) 72%);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

html body.au-page *,
html body.au-page *::before,
html body.au-page *::after {
  box-sizing: border-box;
}

html body.au-page :where(button, a, input, [tabindex]):focus-visible {
  outline: 2px solid #8c9bb9;
  outline-offset: 2px;
}

html body.au-page ::selection {
  background: rgba(140, 155, 185, 0.28);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   1. 顶部胶囊导航
   -------------------------------------------------------------------------- */

.au-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: min(1100px, calc(100% - 32px));
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: au-drop 0.7s var(--ease) both;
}

.au-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.au-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
}

.au-brand b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.au-brand span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
  text-transform: uppercase;
  padding-left: 2px;
  border-left: 1px solid var(--line-2);
  margin-left: 4px;
  line-height: 1;
}

.au-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.au-nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.au-nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

.au-nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.au-nav-cta:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(29, 29, 31, 0.16);
}

.au-nav-cta:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   2. 舞台与聚光
   -------------------------------------------------------------------------- */

.au-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 92px 24px 40px;
}

.au-stage {
  position: relative;
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 40px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 28% 18%, #eef1f8 0%, rgba(238, 241, 248, 0) 58%),
    radial-gradient(52% 72% at 82% 28%, #e5eaf4 0%, rgba(229, 234, 244, 0) 60%),
    linear-gradient(180deg, #f4f5f9 0%, #e6eaf1 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: au-fade 0.9s var(--ease) both;
}

/* 光标聚光：跟随鼠标在舞台上移动的柔光 */
.au-stage::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 30%),
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.35) 32%,
    rgba(255, 255, 255, 0) 62%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.au-stage.is-lit::before {
  opacity: 1;
}

/* 舞台细网格（呼应品牌的 Grid / 56px，极淡） */
.au-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 107, 138, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 107, 138, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 78%);
}

/* --------------------------------------------------------------------------
   3. 主窗口
   -------------------------------------------------------------------------- */

.au-win {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 452px);
  min-height: 588px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(30, 40, 60, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
  will-change: transform;
  animation: au-rise 0.95s var(--ease) both;
}

.au-win.is-tracking {
  transition: transform 0.12s linear, box-shadow 0.45s ease;
}

/* 窗口标题条 */
.au-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 0 18px;
  background: #f7f8fa;
  border-bottom: 1px solid rgba(29, 29, 31, 0.05);
  z-index: 3;
}

.au-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e0e3e8;
  display: block;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.au-win:hover .au-bar i:nth-child(1) {
  background: #f0c9c3;
}

.au-win:hover .au-bar i:nth-child(2) {
  background: #f0e0bd;
}

.au-win:hover .au-bar i:nth-child(3) {
  background: #c7ded2;
}

.au-bar-meta {
  margin-left: auto;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: #a9aeb8;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. 左侧视觉区
   -------------------------------------------------------------------------- */

.au-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 74px 46px 34px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 6%, #f5f7fb 0%, rgba(245, 247, 251, 0) 58%),
    radial-gradient(90% 80% at 88% 92%, #dfe5f0 0%, rgba(223, 229, 240, 0) 62%),
    linear-gradient(165deg, #eff2f7 0%, #e4e9f2 100%);
  border-right: 1px solid rgba(29, 29, 31, 0.05);
}

/* 视觉区内部的鼠标柔光 */
.au-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    300px circle at var(--vx, 50%) var(--vy, 40%),
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0) 62%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.au-visual.is-lit::before {
  opacity: 1;
}

.au-visual > * {
  position: relative;
  z-index: 1;
}

.au-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.au-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--slate-2);
  display: block;
}

.au-headline {
  margin: 0;
  font-size: clamp(2.2rem, 2.9vw, 3.2rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.au-headline span {
  display: block;
}

.au-headline .is-grad {
  background: linear-gradient(90deg, #6e7fa3 0%, #9aa7c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.au-lede {
  margin: 20px 0 0;
  max-width: 24em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

/* 地图插画 */
.au-map {
  position: relative;
  margin: 0 0 14px;
  height: 156px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 10px 26px rgba(60, 76, 110, 0.07);
  overflow: hidden;
}

.au-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.au-map-route {
  fill: none;
  stroke: #7f8dab;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  animation: au-dash 22s linear infinite;
}

.au-map-halo {
  fill: none;
  stroke: rgba(140, 155, 185, 0.4);
  stroke-width: 1;
  transform-origin: center;
  animation: au-pulse 3.6s ease-out infinite;
}

.au-map-halo:nth-of-type(2) {
  animation-delay: 1.8s;
}

.au-map-dot {
  fill: #5c6b8a;
}

.au-map-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  fill: #8a93a6;
}

.au-parallax {
  transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px), 0);
  transition: transform 0.5s var(--ease);
}

.au-visual-foot {
  display: flex;
  flex-direction: column;
}

.au-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.au-meta li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.au-meta b {
  color: var(--slate);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   5. 右侧表单区
   -------------------------------------------------------------------------- */

.au-form {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 58px 46px 30px;
  background: #fff;
}

.au-form-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.au-form-head img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(29, 29, 31, 0.08);
}

.au-form-head b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.3;
}

.au-form-head small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
  margin-top: 2px;
}

.au-form-index {
  margin-left: auto;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: #c2c6ce;
  font-variant-numeric: tabular-nums;
}

.au-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.au-sub {
  margin: 6px 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.au-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.au-field {
  display: block;
}

.au-field-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.au-field-label i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #b9bec8;
  font-variant-numeric: tabular-nums;
}

.au-input,
html body.au-page .au-input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 12px !important;
  background: var(--fill);
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.28s ease;
  appearance: none;
}

.au-input::placeholder {
  color: #a6abb5;
}

.au-input:hover {
  background: #f1f3f7;
}

.au-input:focus {
  background: #fff;
  border-color: #8c9bb9;
  box-shadow: 0 0 0 4px rgba(92, 107, 138, 0.13);
}

/* 验证码行 */
.au-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 10px;
  align-items: center;
}

.au-captcha-btn {
  position: relative;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 12px !important;
  background: var(--fill);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.au-captcha-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}

.au-captcha-btn:hover {
  border-color: #b9c3d6;
  box-shadow: 0 6px 16px rgba(60, 76, 110, 0.1);
  transform: translateY(-1px);
}

.au-captcha-btn:hover img {
  transform: scale(1.04);
}

.au-captcha-btn:active {
  transform: translateY(0) scale(0.99);
}

.au-captcha-btn.is-refreshing img {
  animation: au-flip 0.5s var(--ease);
}

.au-hint {
  margin: 7px 0 0;
  font-size: 12.5px;
  color: var(--faint);
}

/* 复选框 */
.au-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  width: max-content;
}

.au-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.au-check-box {
  position: relative;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 1px solid rgba(29, 29, 31, 0.22);
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.au-check:hover .au-check-box {
  border-color: var(--ink);
  transform: scale(1.06);
}

.au-check-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg) scale(0.4);
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.2s var(--ease);
}

.au-check input:checked + .au-check-box {
  background: var(--ink);
  border-color: var(--ink);
}

.au-check input:checked + .au-check-box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.au-check input:focus-visible + .au-check-box {
  box-shadow: 0 0 0 4px rgba(140, 155, 185, 0.2);
}

/* 主按钮 */
.au-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px !important;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.22s ease, transform 0.22s var(--ease), box-shadow 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}

/* 悬停时掠过的一道高光 */
.au-submit::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}

.au-submit:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(29, 29, 31, 0.18);
}

.au-submit:hover::before {
  left: 115%;
}

.au-submit:active {
  transform: translateY(0) scale(0.995);
}

.au-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.au-submit:hover svg {
  transform: translateX(3px);
}

.au-submit.is-loading {
  background: #4a4a4d;
  cursor: progress;
}

.au-submit.is-loading span {
  opacity: 0.72;
}

.au-submit.is-loading svg {
  animation: au-nudge 0.9s ease-in-out infinite;
}

/* 点击涟漪 */
.au-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%) scale(0);
  animation: au-ripple 0.62s ease-out forwards;
  pointer-events: none;
}

/* 切换链接 */
.au-switch {
  margin: 16px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  text-align: center;
}

.au-switch a {
  position: relative;
  margin-left: 4px;
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}

.au-switch a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.au-switch a:hover::after {
  transform: scaleX(1);
}

.au-form-foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b0b5be;
}

.au-form-foot span:last-child {
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   6. 注册页：字段更多，整体收紧一档
   -------------------------------------------------------------------------- */

.au-form--compact {
  padding-top: 56px;
  padding-bottom: 24px;
}

.au-form--compact .au-form-head {
  margin-bottom: 18px;
}

.au-form--compact .au-sub {
  margin-bottom: 14px;
}

.au-form--compact .au-fields {
  gap: 12px;
}

.au-form--compact .au-input,
html body.au-page .au-form--compact .au-input,
.au-form--compact .au-captcha-btn {
  height: 46px;
}

.au-form--compact .au-field-label {
  margin-bottom: 5px;
}

.au-form--compact .au-hint {
  margin-top: 4px;
}

.au-form--compact .au-submit {
  height: 48px;
  margin-top: 6px;
}

.au-form--compact .au-switch {
  margin-top: 10px;
}

.au-form--compact .au-form-foot {
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   7. 注册页镜像：视觉区在右
   -------------------------------------------------------------------------- */

.au-win--mirror {
  grid-template-columns: minmax(0, 452px) minmax(0, 1fr);
}

.au-win--mirror .au-visual {
  order: 2;
  border-right: 0;
  border-left: 1px solid rgba(29, 29, 31, 0.05);
  background:
    radial-gradient(120% 90% at 88% 6%, #f5f7fb 0%, rgba(245, 247, 251, 0) 58%),
    radial-gradient(90% 80% at 12% 92%, #dfe5f0 0%, rgba(223, 229, 240, 0) 62%),
    linear-gradient(195deg, #eff2f7 0%, #e4e9f2 100%);
}

.au-win--mirror .au-form {
  order: 1;
}

/* --------------------------------------------------------------------------
   8. 提示条（沿用 base.html 的 flash 结构，换成雾面风格）
   -------------------------------------------------------------------------- */

html body.au-page .toast-stack {
  top: 84px;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  gap: 8px;
  justify-items: center;
}

html body.au-page .toast {
  min-width: 0;
  max-width: 420px;
  padding: 11px 16px 11px 15px;
  border: 1px solid rgba(29, 29, 31, 0.06) !important;
  border-left: 3px solid var(--faint) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(30, 40, 60, 0.14);
  color: var(--ink);
  font-size: 14px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: au-toast 0.42s var(--ease) both;
}

html body.au-page .toast-error {
  border-left-color: var(--danger) !important;
}

html body.au-page .toast-success {
  border-left-color: var(--ok) !important;
}

/* --------------------------------------------------------------------------
   9. 动效
   -------------------------------------------------------------------------- */

@keyframes au-rise {
  from {
    opacity: 0;
    translate: 0 26px;
    scale: 0.985;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes au-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes au-drop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes au-toast {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes au-flip {
  0% {
    opacity: 0.2;
    transform: rotateX(70deg) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: rotateX(0) scale(1);
  }
}

@keyframes au-dash {
  to {
    stroke-dashoffset: -200;
  }
}

@keyframes au-pulse {
  0% {
    opacity: 0.55;
    transform: scale(0.6);
  }
  70% {
    opacity: 0;
    transform: scale(2.1);
  }
  100% {
    opacity: 0;
    transform: scale(2.1);
  }
}

@keyframes au-ripple {
  to {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}

@keyframes au-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/* 进场错峰：标题、字段依次浮现 */
.au-form > *,
.au-visual > * {
  animation: au-in 0.8s var(--ease) both;
}

.au-visual > *:nth-child(1) { animation-delay: 0.1s; }
.au-visual > *:nth-child(2) { animation-delay: 0.18s; }
.au-visual > *:nth-child(3) { animation-delay: 0.26s; }
.au-visual > *:nth-child(4) { animation-delay: 0.34s; }

.au-form > *:nth-child(1) { animation-delay: 0.16s; }
.au-form > *:nth-child(2) { animation-delay: 0.22s; }
.au-form > *:nth-child(3) { animation-delay: 0.28s; }
.au-form > *:nth-child(4) { animation-delay: 0.34s; }
.au-form > *:nth-child(5) { animation-delay: 0.4s; }
.au-form > *:nth-child(6) { animation-delay: 0.46s; }

@keyframes au-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   10. 窄屏兜底（不做移动端适配，只保证不崩）
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .au-win,
  .au-win--mirror {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    min-height: 0;
  }

  .au-visual {
    display: none;
  }

  .au-win--mirror .au-form {
    order: 0;
  }

  .au-form {
    padding: 64px 28px 30px;
  }

  .au-stage {
    padding: 20px;
    border-radius: 24px;
  }

  .au-nav-link {
    display: none;
  }
}


/* 矮视口：笔记本常见 1366×768 / 1280×800，压缩一档保证整窗不被裁 */
@media (max-height: 880px) and (min-width: 981px) {
  .au-shell {
    padding: 76px 24px 24px;
  }

  .au-stage {
    padding: 30px 32px;
  }

  .au-form {
    padding: 46px 42px 24px;
  }

  .au-form-head {
    margin-bottom: 18px;
  }

  .au-sub {
    margin-bottom: 16px;
  }

  .au-fields {
    gap: 13px;
  }

  .au-input,
  html body.au-page .au-input,
  .au-captcha-btn {
    height: 46px;
  }

  .au-submit {
    height: 46px;
    margin-top: 4px;
  }

  .au-visual {
    padding: 62px 42px 28px;
  }

  .au-map {
    height: 132px;
  }

  .au-form--compact {
    padding-top: 46px;
  }

  .au-form--compact .au-fields {
    gap: 10px;
  }
}

/* 更矮的 768 屏：只压留白，不动字段尺寸 */
@media (max-height: 810px) and (min-width: 981px) {
  .au-shell {
    padding: 66px 24px 14px;
  }

  .au-stage {
    padding: 20px 26px;
  }

  .au-form {
    padding-top: 38px;
    padding-bottom: 24px;
  }

  .au-form--compact {
    padding-top: 38px;
  }

  .au-visual {
    padding-top: 54px;
    padding-bottom: 24px;
  }

  .au-map {
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.au-page *,
  html body.au-page *::before,
  html body.au-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .au-win {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   11. 满屏版式：去掉外层舞台边距，窗口铺满整个视口
   （放在最后，覆盖前面所有居中留白的设定）
   -------------------------------------------------------------------------- */

html body.au-page {
  overflow-x: hidden;
}

/* 舞台与外壳不再留边，直接做成整屏 */
.au-shell {
  display: block;
  min-height: 100vh;
  padding: 0;
}

.au-stage {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  align-items: stretch;
}

/* 窗口本体撑满视口：无圆角、无投影 */
.au-win,
.au-win--mirror {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  grid-template-columns: minmax(0, 1.5fr) minmax(420px, 1fr);
}

.au-win--mirror {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1.5fr);
}

/* 两栏各自撑满高度，内容垂直居中，避免上下大片留白 */
.au-visual {
  min-height: 100vh;
  justify-content: center;
  gap: clamp(36px, 7vh, 84px);
  padding: 88px clamp(46px, 6vw, 150px) 56px;
}

.au-form {
  min-height: 100vh;
  justify-content: center;
  padding: 76px clamp(36px, 3.6vw, 66px) 76px;
}

/* 内容宽度上限，超宽屏不至于拉成一条长线 */
.au-visual > * {
  width: 100%;
  max-width: 700px;
}

.au-form > * {
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  margin-right: auto;
}

html body.au-page .au-form .au-form-foot {
  position: absolute;
  left: clamp(36px, 3.6vw, 66px);
  right: clamp(36px, 3.6vw, 66px);
  bottom: 26px;
  width: auto;
  max-width: none;
  margin: 0;
  padding-top: 0;
}

/* 空间变大后，标题与地图跟着长一档 */
.au-headline {
  font-size: clamp(2.4rem, 3.1vw, 3.6rem);
}

.au-map {
  height: clamp(180px, 25vh, 290px);
}

/* 视觉区内的标题块与地图块不再各贴一端 */
.au-visual > div:first-child {
  padding-top: 0;
}

/* 满屏时不做 3D 倾斜，否则四角会露出底色；光斑与视差保留 */
.au-win,
.au-win--mirror {
  transform: none;
}

/* 窄屏兜底：保持单列、内部滚动，不铺成两栏 */
@media (max-width: 980px) {
  .au-win,
  .au-win--mirror {
    grid-template-columns: minmax(0, 1fr);
    min-height: 100vh;
  }

  .au-visual {
    display: none;
  }

  .au-form {
    padding: 64px 28px 30px;
    min-height: 100vh;
  }

  .au-form > * {
    max-width: 460px;
  }
}
