body[data-surface=account] {
  --auth-ink: #222520;
  --auth-paper: #f4f1e8;
  --auth-lime: #d8edb6;
  --auth-muted: #5b5c52;
  --auth-line: #cccbbd;
  --auth-ease: cubic-bezier(.22,.68,.24,1);
  --auth-font: "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color: #f8f8f1;
  background: #202321;
  font-family: var(--auth-font);
}
body[data-surface=account] .shell { border-bottom: 1px solid #4d514c; padding-block: 14px; }
body[data-surface=account] main { display: grid; place-items: center; padding-block: clamp(24px,5vh,58px) clamp(42px,8vh,90px); }
body[data-surface=account] .site-footer-brand img { width: 124px; }
body[data-surface=account] .fp-brand-light { display: none; }
body[data-surface=account] .fp-brand-dark { display: block; }

.fp-auth {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,.99fr) minmax(0,1.01fr);
  width: min(100%,1040px);
  min-height: 602px;
  border: 1px solid #53594a;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 23px 72px #14181086;
  animation: fp-auth-enter .52s var(--auth-ease) both;
}
.fp-auth-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(25px,4vw,54px);
  background: radial-gradient(ellipse at 59% 24%,#41482f 0%,#303926 51%,#242d21 85%);
  overflow: hidden;
}
.fp-auth-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle,#c8e89c4b .58px,transparent .88px) 50% 40% / 12px 12px;
  mask-image: linear-gradient(#000,transparent 83%);
}
.fp-auth-art-copy { position: relative; z-index: 2; }
.fp-auth-art-copy h2 {
  margin: 0 0 12px;
  font: 780 clamp(32px,4vw,56px)/1.12 var(--auth-font);
  letter-spacing: -.075em;
  color: var(--auth-lime);
}
.fp-auth-art-copy p { margin: 0; color: #f3f3e9; font-size: clamp(15px,1.5vw,19px); line-height: 1.6; }
.fp-auth-body {
  display: grid;
  align-items: center;
  padding: clamp(34px,5.4vw,74px);
  background: var(--auth-paper);
  color: var(--auth-ink);
  background-image: radial-gradient(ellipse at 100% 0%,#fcfbf4 8%,transparent 58%);
}
.fp-auth-content { width: min(100%,368px); margin: auto; animation: fp-auth-enter .44s .12s var(--auth-ease) both; }
.fp-auth-body h1 { margin: 0; font: 780 clamp(38px,5vw,66px)/1.06 var(--auth-font); letter-spacing: -.085em; }
.fp-auth-description { margin: 14px 0 29px; color: var(--auth-muted); font-size: 14px; }
.fp-auth-form { display: grid; gap: 15px; margin: 0; }
.fp-field { min-width: 0; }
.fp-field label { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 700; }
.fp-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #565b50;
  min-height: 52px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid var(--auth-line);
  background: #fffdf7;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.fp-input-wrap:focus-within { border-color: #55754a; box-shadow: 0 0 0 3px #cbe5bb88; }
.fp-input-wrap input { width: 100%; min-width: 0; min-height: 49px; padding: 6px 0; color: var(--auth-ink); background: transparent; border: 0; outline: 0; }
.fp-input-wrap input:focus-visible { outline: none; }
.fp-input-wrap input::placeholder { color: #737568; }
.fp-icon { display: block; width: 19px; height: 19px; flex: none; }
.fp-field-icon { color: #656c5b; }
.fp-field-action {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #465543;
  border-radius: 8px;
  cursor: pointer;
}
.fp-field-action:hover { background: #e5eadb; }
.fp-icon-hide,.fp-field-action[aria-pressed=true] .fp-icon-show { display: none; }
.fp-field-action[aria-pressed=true] .fp-icon-hide { display: inline; }
.fp-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 710;
  cursor: pointer;
  transition: background .18s, transform .2s var(--auth-ease), box-shadow .2s;
}
.fp-auth-button:active { transform: translateY(1px); }
.fp-auth-button--primary {
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin: 4px 0 0;
  padding: 0 15px;
  color: #fffdf2;
  background: #292e24;
  border: 1px solid #22281e;
  box-shadow: 0 3px 0 #cad4b7;
}
.fp-auth-button--primary:hover { background: #3b4932; box-shadow: 0 3px 0 #abbf92; }
.fp-auth-button--primary .fp-icon { transition: transform .2s var(--auth-ease); }
.fp-auth-button--primary:hover .fp-icon { transform: translateX(2px); }
.fp-auth-button--quiet { min-height: 44px; padding: 6px 12px; border: 1px solid #b9cb9c; background: #e0eccd; color: #263521; }
.fp-auth-button--quiet:hover { background: #d4e8b7; }
.fp-auth-button--quiet .fp-icon { width: 16px; height: 16px; }
.fp-auth-links,.fp-auth-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 12px; font-size: 13px; color: var(--auth-muted); }
.fp-auth-links { margin-top: 17px; }
.fp-auth-links a,.fp-auth-text { color: #334e30; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fp-auth-text { min-height: 44px; align-self: end; border: 0; background: transparent; cursor: pointer; }
.fp-auth-verify { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 7px; }
.fp-auth-demo { margin-top: 25px; border-top: 1px solid #dadccf; padding-top: 16px; }
.fp-auth-status { padding: 9px 12px; background: #e5efd7; border-left: 3px solid #507047; color: #2f4b29; font-size: 14px; }
.fp-auth-status--error { background: #fae8de; color: #792c21; border-left-color: #af553e; }
.fp-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; }
.fp-auth-form--filled .fp-input-wrap { animation: fp-auth-fill .62s var(--auth-ease); }

.fp-atlas {
  position: absolute;
  inset: 5% 6% 25%;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.fp-atlas-orbit {
  position: absolute;
  width: 88%;
  height: 45%;
  border-radius: 50%;
  transform: rotate(-31deg);
  border: 1px solid #d2f59f43;
}
.fp-atlas-orbit--inner { width: 76%; height: 37%; border-style: dashed; transform: rotate(24deg); opacity: .66; }
.fp-atlas-stack {
  position: relative;
  width: min(64%,300px);
  aspect-ratio: 1.13;
  transform: rotate(-13deg);
  animation: fp-atlas-arrive .85s .1s var(--auth-ease) both;
}
.fp-atlas-sheet { position: absolute; inset: 0; border-radius: 15px; border: 1px solid #1c241c; }
.fp-atlas-sheet--under { transform: translate(-6%,12%) rotate(-8deg); background: #d9c877; box-shadow: 0 16px 22px #1d271bb3; }
.fp-atlas-sheet--lilac { transform: translate(13%,7%) rotate(16deg); background: linear-gradient(154deg,#d7caed,#ab96d5); box-shadow: 0 7px 11px #161a1459; }
.fp-atlas-sheet--map {
  overflow: hidden;
  background: linear-gradient(119deg,#eef2d9,#d4e7b3 72%,#aac58e);
  box-shadow: inset 0 0 0 2px #ecf3d9a1,0 7px 10px #1016107d;
}
.fp-atlas-sheet--map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg,transparent 32%,#607c4c42 33%,#ffffff69 33.6%,transparent 35%,transparent 65%,#536a4275 66%,#ffffff80 66.6%,transparent 68%),repeating-linear-gradient(0deg,#72896620 0 1px,transparent 1px 12px),repeating-linear-gradient(90deg,#72896620 0 1px,transparent 1px 12px);
}
.fp-atlas-contour {
  position: absolute;
  inset: 13% 38% -8% -24%;
  border-radius: 49% 49% 38% 61%;
  background: repeating-radial-gradient(ellipse at 45% 50%, transparent 0 6px,#53745354 7px 8px,transparent 8.5px 11px);
  transform: rotate(-23deg);
  mask-image: radial-gradient(ellipse,#000 49%,transparent 72%);
}
.fp-atlas-contour--second { inset: -35% -42% 12% 18%; opacity: .75; transform: rotate(18deg); }
.fp-atlas-route {
  position: absolute;
  inset: 34% 19% 21% 22%;
  transform: rotate(-11deg) skewX(15deg);
  border: 2px dashed #374933;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 62% 40% 63% 58%;
}
.fp-atlas-route i { position: absolute; width: 11px; height: 11px; border: 2px solid #31412e; background: #fff9ce; border-radius: 50%; }
.fp-atlas-route i:nth-child(1) { top: 16%; left: 6%; }
.fp-atlas-route i:nth-child(2) { top: -6%; left: 42%; background: #d8b4e7; }
.fp-atlas-route i:nth-child(3) { top: 56%; right: -6px; }
.fp-atlas-pin {
  position: absolute;
  top: 31%;
  right: 15%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 6%;
  transform: rotate(-45deg);
  background: radial-gradient(circle, #394530 0 18%,#fae895 19% 53%,#e5c24f 70%);
  box-shadow: 0 2px 0 #614f32,0 6px 9px #29383273;
  border: 1px solid #8b7334;
}

@keyframes fp-auth-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fp-atlas-arrive { from { opacity: .38; transform: translateY(13px) rotate(-17deg) scale(.96); } to { opacity: 1; transform: rotate(-13deg); } }
@keyframes fp-auth-fill { 0%,100% { background: #fffdf7; } 28% { background: #edf5dd; border-color: #98af7b; } }

@media(max-width:760px) {
  .fp-auth { grid-template-columns: minmax(0,1fr); min-height: 0; max-width: 490px; border-radius: 21px; }
  .fp-auth-art { min-height: 166px; padding: 24px; justify-content: center; }
  .fp-auth-art-copy h2 { font-size: clamp(23px,5.8vw,32px); margin-bottom: 7px; }
  .fp-auth-art-copy p { font-size: 13px; }
  .fp-atlas { inset: 0 2% 0 43%; }
  .fp-atlas-stack { width: min(62%,133px); }
  .fp-atlas-sheet { border-radius: 8px; }
  .fp-atlas-route i { width: 7px; height: 7px; border-width: 1px; }
  .fp-atlas-route i:nth-child(3) { right: -4px; }
  .fp-atlas-route { border-width: 1px; }
  .fp-auth-body { padding: 25px clamp(20px,6vw,36px) 28px; }
  .fp-auth-description { margin: 10px 0 20px; }
}
@media(max-width:370px) {
  body[data-surface=account] main { padding-inline: 13px; }
  .fp-auth-art { padding-inline: 19px; }
  .fp-auth-demo { margin-top: 19px; }
}
@media(prefers-reduced-motion:reduce) {
  .fp-auth,.fp-auth-content,.fp-atlas-stack,.fp-auth-form--filled .fp-input-wrap { animation: none; }
  .fp-auth-button,.fp-auth-button .fp-icon,.fp-input-wrap { transition: none; }
}
