/* 与门户的樱花粉主题一致；只作用于账号表单页。 */
.auth-page {
  --auth-ink: #4a3840;
  --auth-soft: #806b75;
  --auth-pink: #b4456a;
  --auth-line: #edd8e1;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--auth-ink);
  background: #fff9fb;
  -webkit-font-smoothing: antialiased;
}
.auth-page::selection { background: #ffd7e4; color: #80314c; }
.auth-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(42rem 32rem at 92% -6%, rgba(251,185,205,.45), transparent 70%),
    radial-gradient(36rem 30rem at -8% 30%, rgba(255,215,228,.55), transparent 70%),
    radial-gradient(40rem 30rem at 70% 110%, rgba(255,225,235,.7), transparent 70%),
    #fff9fb;
}
.auth-background::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image: radial-gradient(#e8b5c7 .7px, transparent .7px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
  mask-image: linear-gradient(#000, transparent 70%);
}
.auth-halo {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(233,175,195,.24);
  border-radius: 50%;
}
.auth-halo-one { left: calc(50% - 470px); top: 14%; }
.auth-halo-two { right: -145px; bottom: -100px; width: 440px; height: 440px; }
.auth-petal {
  position: absolute;
  width: 16px;
  height: 12px;
  border-radius: 140% 0 140% 0;
  background: linear-gradient(135deg, #ffe3ec, #ecacc2);
  opacity: .55;
}
.petal-one { left: 19%; top: 18%; transform: rotate(-24deg); }
.petal-two { left: 25%; top: 31%; width: 10px; height: 8px; transform: rotate(34deg); opacity: .38; }
.petal-three { right: 18%; top: 24%; width: 23px; height: 17px; transform: rotate(-18deg); }
.petal-four { right: 26%; bottom: 19%; transform: rotate(35deg); opacity: .4; }
.petal-five { right: 12%; bottom: 35%; width: 10px; height: 8px; transform: rotate(80deg); }
.petal-six { left: 33%; bottom: 10%; width: 12px; height: 9px; transform: rotate(-8deg); opacity: .35; }
.auth-sprig {
  position: absolute;
  width: clamp(130px, 17vw, 220px);
  height: auto;
  left: 5%;
  bottom: -20px;
  opacity: .52;
  transform: rotate(-9deg);
}
.auth-page main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 40px 24px;
}
.auth-page .auth-layout {
  display: block;
  width: 100%;
  max-width: 432px;
  min-height: 0;
}
.auth-page .auth-card {
  position: relative;
  padding: 38px 38px 34px;
  border: 1px solid rgba(237,216,225,.95);
  border-radius: 26px;
  background: rgba(255,255,255,.91);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 70px -28px rgba(180,69,106,.22), 0 3px 12px rgba(116,69,88,.025);
}
.auth-page .auth-card::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin: 0 auto 23px;
  border-radius: 3px;
  background: #efb3c6;
}
.auth-page .eyebrow {
  color: #ad6d84;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 3px;
  text-align: center;
}
.auth-page h2 {
  margin: 10px 0 9px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
  text-align: center;
}
.auth-page .subtitle {
  margin: 0 0 29px;
  color: var(--auth-soft);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}
.auth-page .field { margin: 18px 0; }
.auth-page label { margin-bottom: 9px; font-size: 13px; font-weight: 500; }
.auth-page input:not([type=hidden]) {
  min-height: 48px;
  border: 1px solid var(--auth-line);
  border-radius: 11px;
  background: rgba(255,251,253,.75);
  color: var(--auth-ink);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.auth-page input::placeholder { color: #a08894; font-size: 12px; opacity: 1; }
.auth-page input:hover { border-color: #ddb6c5; }
.auth-page input:focus { border-color: #c56b8b; outline: 2px solid #ecc1d1; outline-offset: 2px; }
.auth-page .button { border-radius: 11px; min-height: 46px; font-size: 13px; font-weight: 500; }
.auth-page .primary {
  justify-content: center;
  color: #fff;
  background: linear-gradient(120deg, #c8567d, #b4456a);
  box-shadow: 0 7px 18px -10px rgba(180,69,106,.65);
}
.auth-page .primary:hover { filter: brightness(.96); }
.auth-page .full { margin-top: 9px; }
.auth-page .quiet { color: #9f3d5e; background: #fcecf2; }
.auth-page a { color: var(--auth-pink); }
.auth-page a:focus-visible, .auth-page .button:focus-visible {
  outline: 2px solid #b4456a;
  outline-offset: 4px;
}
.auth-page .form-links { margin-top: 23px; font-size: 12px; }
.auth-page .field small, .auth-page .privacy-note { color: var(--auth-soft); }
.auth-page .privacy-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid #f4e7ed; }
.auth-page .code-result { color: #566f5d; }
.auth-page .code-result.error, .auth-page .errors, .auth-page .field-error { color: #9d3456; background: #fff0f4; }
.auth-page .code-result.error { background: transparent; }
.auth-page .message {
  width: 100%;
  max-width: 432px;
  margin: 0 0 16px;
  color: #843752;
  background: #fff0f5;
  border: 1px solid #efd4df;
  line-height: 1.8;
}
@media (max-width: 600px) {
  .auth-page main { padding: 28px 20px; }
  .auth-page .auth-card { padding: 32px 26px 29px; border-radius: 23px; }
  .auth-page .auth-card::before { margin-bottom: 20px; }
  .auth-page h2 { font-size: 28px; }
  .auth-sprig { left: -30px; bottom: -25px; width: 150px; opacity: .33; }
  .auth-halo-one { left: -150px; top: 6%; }
  .petal-one { left: 10%; top: 9%; }
  .petal-three { right: 8%; top: 14%; width: 17px; height: 12px; }
  .petal-two, .petal-four, .petal-six { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-page *, .auth-page *::before, .auth-page *::after { transition: none; }
}
