:root {
  --auth-bg: linear-gradient(180deg, #f8fbff 0%, #eef4fb 38%, #f3f7fc 100%);
  --auth-surface: rgba(255, 255, 255, 0.94);
  --auth-surface-strong: #ffffff;
  --auth-surface-soft: rgba(255, 255, 255, 0.74);
  --auth-border: rgba(12, 24, 44, 0.08);
  --auth-border-strong: rgba(12, 24, 44, 0.12);
  --auth-text: #10233e;
  --auth-text-soft: #50627d;
  --auth-text-muted: #74839a;
  --auth-panel: #081a32;
  --auth-panel-2: #102b56;
  --auth-highlight: #69e3ff;
  --auth-radius-xl: 34px;
  --auth-radius-lg: 24px;
  --auth-radius-md: 18px;
  --auth-shadow: 0 28px 70px rgba(14, 37, 69, 0.12);
  --auth-shadow-strong: 0 36px 84px rgba(12, 31, 59, 0.2);
}

html,
body {
  min-height: 100%;
}

body.entry-body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(10, 99, 230, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(105, 227, 255, 0.16), transparent 24%),
    var(--auth-bg);
  color: var(--auth-text);
}

.auth-page {
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}

.auth-page::before,
.auth-page::after {
  content: '';
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

.auth-page::before {
  width: min(82vw, 1080px);
  aspect-ratio: 1;
  left: 46%;
  top: 46%;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  background:
    radial-gradient(circle at 18% 26%, rgba(65, 200, 255, 0.72), transparent 30%),
    radial-gradient(circle at 78% 52%, rgba(18, 91, 235, 0.52), transparent 40%),
    radial-gradient(circle at 42% 84%, rgba(5, 83, 210, 0.46), transparent 42%);
  filter: blur(58px);
  opacity: 0.48;
  transform: translate(-50%, -50%) scale(1);
  animation: authHeroFluid 6.5s ease-in-out infinite alternate;
}

.auth-page::after {
  width: min(56vw, 700px);
  aspect-ratio: 1.15;
  left: 58%;
  top: 48%;
  border-radius: 62% 38% 48% 52% / 42% 58% 40% 60%;
  background:
    radial-gradient(circle at 24% 62%, rgba(20, 190, 255, 0.48), transparent 34%),
    radial-gradient(circle at 74% 34%, rgba(24, 72, 230, 0.42), transparent 42%);
  filter: blur(44px);
  opacity: 0.42;
  transform: translate(-50%, -50%) rotate(8deg);
  animation: authHeroFluidAccent 5.2s ease-in-out infinite alternate;
}

@keyframes authHeroFluid {
  0% {
    border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
    transform: translate(-56%, -52%) scale(0.92) rotate(0deg);
  }

  45% {
    border-radius: 58% 42% 44% 56% / 42% 56% 44% 58%;
    transform: translate(-44%, -56%) scale(1.1) rotate(24deg);
  }

  100% {
    border-radius: 42% 58% 52% 48% / 56% 46% 54% 44%;
    transform: translate(-51%, -43%) scale(1.18) rotate(-18deg);
  }
}

@keyframes authHeroFluidAccent {
  0% {
    border-radius: 62% 38% 48% 52% / 42% 58% 40% 60%;
    transform: translate(-58%, -48%) scale(0.94) rotate(8deg);
  }

  50% {
    border-radius: 38% 62% 58% 42% / 60% 38% 62% 40%;
    transform: translate(-45%, -56%) scale(1.12) rotate(-22deg);
  }

  100% {
    border-radius: 54% 46% 36% 64% / 44% 62% 38% 56%;
    transform: translate(-52%, -42%) scale(1.02) rotate(18deg);
  }
}

.auth-page [data-float-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(56px);
  will-change: opacity, transform;
}

.auth-page [data-float-reveal].is-visible {
  animation: authFloatRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--float-delay, 0ms);
}

@keyframes authFloatRevealUp {
  from {
    opacity: 0;
    transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(56px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, var(--hover-lift, 0px), 0) translateY(0);
  }
}

.auth-page h1,
.auth-page h2,
.auth-page strong {
  letter-spacing: 0;
}

.auth-shell {
  width: min(calc(100% - 40px), 1240px);
  margin: 18px auto 40px;
}

.auth-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
  align-items: stretch;
  min-height: clamp(720px, calc(100vh - 210px), 820px);
  margin-top: 80px;
}

.auth-card-wrap,
.auth-visual {
  min-width: 0;
  min-height: 100%;
}

.auth-card-wrap {
  display: flex;
}

.auth-stage--signup .auth-card-wrap {
  order: 2;
  grid-column: 2;
  width: 480px;
  max-width: 100%;
  justify-self: end;
  align-self: center;
  min-height: 0;
}

.auth-stage--signup .auth-visual {
  order: 1;
  grid-column: 1;
}

.auth-stage--signup .auth-card {
  min-height: 0;
}

.auth-stage--signin .auth-card-wrap {
  order: 2;
  grid-column: 2;
  width: 480px;
  max-width: 100%;
  justify-self: end;
  align-self: center;
  min-height: 0;
}

.auth-stage--signin .auth-visual {
  order: 1;
  grid-column: 1;
}

.auth-stage--signin {
  height: 720px;
  min-height: 720px;
}

.auth-stage--signin .auth-card {
  min-height: 0;
}

.auth-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-height: 100%;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(10, 99, 230, 0.08), transparent 28%), linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 78px rgba(14, 37, 69, 0.14);
  backdrop-filter: blur(16px);
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(10, 99, 230, 0.06);
  pointer-events: none;
}

.auth-card--dense {
  padding: 36px;
}

.auth-card__header {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 176px;
}

.auth-card__header--compact {
  gap: 24px;
  min-height: fit-content;
}

.auth-stage--signup .auth-form--compact .field label,
.auth-stage--signin .auth-form--compact .field label {
  font-size: 14px;
  font-weight: 400;
}

.auth-stage--signup .auth-tab,
.auth-stage--signin .auth-tab {
  font-size: 14px;
  font-weight: 600;
}

.auth-stage--signup .field input,
.auth-stage--signin .field input {
  font-size: 14px;
}

.auth-stage--signup .auth-form,
.auth-stage--signin .auth-form {
  gap: 16px;
}

.auth-stage--signup .field__toggle,
.auth-stage--signin .field__toggle {
  background: transparent;
  border-color: transparent;
}

.auth-stage--signup .field__toggle:hover,
.auth-stage--signup .field__toggle:focus-visible,
.auth-stage--signin .field__toggle:hover,
.auth-stage--signin .field__toggle:focus-visible {
  background: transparent;
  border-color: transparent;
  color: var(--auth-text-soft);
  outline: none;
}

.auth-stage--signup .field-action {
  border: 0;
  font-size: 14px;
  font-weight: 400;
}

.auth-stage--signup .field-action:disabled,
.auth-stage--signup .field-action:disabled:hover {
  border: 1px solid rgba(12, 24, 44, 0.1);
}

.auth-stage--signup .auth-checkbox span,
.auth-stage--signin .auth-checkbox span {
  font-size: 14px;
  font-weight: 400;
}

.auth-stage--signup .auth-checkbox .auth-link,
.auth-stage--signin .auth-checkbox .auth-link {
  font-weight: 400;
}

.auth-stage--signup .auth-checkbox input,
.auth-stage--signin .auth-checkbox input {
  width: 12px;
  height: 12px;
}

.auth-stage--signin .auth-inline > .auth-link {
  font-size: 14px;
  font-weight: 400;
}

.auth-stage--signup .auth-switch,
.auth-stage--signin .auth-switch {
  font-weight: 400;
  text-align: center;
}

.auth-stage--signup .auth-switch .auth-link,
.auth-stage--signin .auth-switch .auth-link {
  font-size: 14px;
  font-weight: 400;
}

.auth-stage--signup .auth-card__footer,
.auth-stage--signin .auth-card__footer {
  gap: 24px;
  margin-top: 0;
}

.auth-stage--signup .auth-support-line a,
.auth-stage--signin .auth-support-line a {
  font-size: 14px;
  font-weight: 400;
}

.auth-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 99, 230, 0.08);
  color: var(--auth-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-tabs {
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(226, 231, 239, 0.86);
  box-shadow: inset 0 0 0 1px rgba(12, 24, 44, 0.06), 0 14px 34px rgba(14, 37, 69, 0.08);
  backdrop-filter: blur(14px);
}

.auth-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--auth-text-soft);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.auth-tab:hover {
  color: var(--auth-text);
  background: rgba(255, 255, 255, 0.6);
}

.auth-tab--active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 12px 24px rgba(14, 37, 69, 0.1);
}

.auth-card h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 46px);
  line-height: 1;
  /* letter-spacing: -0.05em; */
  text-wrap: balance;
}

.auth-card h1.auth-card__title--single {
  font-size: 28px;
  font-weight: 600;
  line-height: 42px;
  white-space: nowrap;
}

.auth-card__intro {
  margin: 0;
  max-width: 30ch;
  color: var(--auth-text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 13px;
}

[data-signin-panel][hidden] {
  display: none;
}

.auth-form--dense {
  gap: 10px;
}

.auth-form--compact {
  gap: 9px;
}

.auth-form--compact .field {
  gap: 8px;
}

.auth-form--compact .field input {
  min-height: 48px;
}

.auth-form--compact .field label {
  font-size: 11px;
}

.auth-form--compact .auth-checkbox {
  margin-top: 0;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--auth-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field__error {
  min-width: 0;
  color: #e52d2d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
  text-transform: none;
  letter-spacing: 0;
}

.field__hint {
  color: var(--auth-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.field__control {
  position: relative;
}

.field__control--grow {
  flex: 1;
}

.field-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.field__control::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(12, 24, 44, 0.1);
  border-radius: 16px;
  background: #f5f8fd;
  color: var(--auth-text);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(14, 37, 69, 0.04);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.field input::placeholder {
  color: #9ca8ba;
}

.field input:hover {
  background: #fbfcff;
}

.field input:focus {
  background: #ffffff;
  border-color: rgba(10, 99, 230, 0.42);
  box-shadow:
    0 0 0 4px rgba(10, 99, 230, 0.1),
    0 14px 28px rgba(10, 99, 230, 0.08);
  transform: translateY(-1px);
}

.field__toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(12, 24, 44, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--auth-text-soft);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.field__toggle:hover {
  background: #ffffff;
  border-color: rgba(10, 99, 230, 0.18);
  color: var(--primary);
}

.field__toggle svg,
.field__toggle img {
  width: 16px;
  height: 16px;
}

.field__toggle img {
  display: block;
}

.field-action {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 118px;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(10, 99, 230, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.field-action:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 38px rgba(10, 99, 230, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  filter: saturate(1.04);
}

.field-action:disabled {
  background: #f5f8fd;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(12, 24, 44, 0.1);
  color: #9ca8ba;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(14, 37, 69, 0.04);
  cursor: not-allowed;
  transform: none;
}

.field-action:disabled:hover {
  background: #f5f8fd;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(12, 24, 44, 0.1);
  transform: none;
}

.auth-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--auth-text-soft);
  font-size: 13px;
  font-weight: 700;
}

.auth-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.auth-agreement-note {
  margin: 0;
  color: var(--auth-text-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.auth-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 400;
}

.auth-submit {
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(10, 99, 230, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 38px rgba(10, 99, 230, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  filter: saturate(1.04);
}

.auth-submit:active {
  transform: translateY(0);
}

.auth-submit:disabled {
  cursor: wait;
  filter: grayscale(0.15) saturate(0.82);
  opacity: 0.72;
  transform: none;
}

.auth-social-login {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.auth-social-login__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin-inline: auto;
  color: var(--auth-text-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.auth-social-login__divider span {
  height: 1px;
  flex: 0 0 40px;
  width: 40px;
  background: rgba(12, 24, 44, 0.1);
}

.auth-social-login__divider em {
  font-style: normal;
}

.auth-wechat-button {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.auth-wechat-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #07c160;
  font-size: 14px;
  font-weight: 400;
  transition: box-shadow 80ms ease-out;
}

.auth-wechat-button:hover,
.auth-wechat-button:focus-visible {
  background: #07c160;
  box-shadow: 0 4px 10px rgba(7, 193, 96, 0.18);
  color: #ffffff;
  outline: none;
}

.auth-wechat-button::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("/assets/images/site-icon/wechat-icon.svg?t=20260617094405") center / contain no-repeat;
}

.auth-wechat-button img {
  display: none;
  pointer-events: none;
}

.auth-wechat-modal {
  display: block;
}

.auth-wechat-modal[hidden] {
  display: none;
}

.auth-wechat-modal__dialog {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 256px;
  padding: 8px 0 0;
}

.auth-wechat-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.auth-wechat-modal__header strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.auth-wechat-modal__qr {
  position: relative;
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border: 1px solid rgba(12, 24, 44, 0.08);
  border-radius: 16px;
  background: #ffffff;
}

.auth-wechat-modal__qr img {
  display: none;
  width: 184px;
  height: 184px;
  object-fit: contain;
}

.auth-wechat-modal__qr.is-ready img {
  display: block;
}

.auth-wechat-modal__qr.is-ready span {
  display: none;
}

.auth-wechat-modal__qr span {
  color: var(--auth-text-muted);
  font-size: 13px;
}

.auth-wechat-modal__tip {
  position: relative;
  display: block;
  width: 200px;
  margin: -4px auto 0;
  color: var(--auth-text-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.auth-wechat-modal__tip span {
  display: block;
}

.auth-wechat-modal__tip-refresh {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 50%;
  left: calc(50% + 92px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.auth-wechat-modal__tip-refresh::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("/assets/images/auth-icons/refresh.svg?t=20260617094405") center / contain no-repeat;
}

.auth-wechat-modal__tip-refresh:hover,
.auth-wechat-modal__tip-refresh:focus-visible {
  color: var(--primary);
  outline: none;
}

.auth-wechat-modal__tip-refresh:disabled {
  opacity: 0.65;
  cursor: wait;
}

body.auth-wechat-modal-open {
  overflow: auto;
}

@media (max-width: 720px) {
  .auth-wechat-modal {
    width: 100%;
  }

  .auth-wechat-modal__dialog {
    min-height: 250px;
  }
}

.setpwd-account {
  margin: 0;
  padding-top: 6px;
  padding-bottom: 10px;
  color: #1b2c50;
  font-size: 14px;
  font-weight: 350;
  line-height: 20px;
}

.setpwd-skip {
  margin: 22px 0 14px;
  text-align: center;
}

.setpwd-skip a {
  color: #1b2c50;
  font-size: 14px;
  font-weight: 350;
  line-height: 20px;
  cursor: pointer;
}

.auth-message {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  max-width: min(calc(100% - 72px), 320px);
  min-height: 0;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 24, 44, 0.1);
  box-shadow: 0 18px 42px rgba(14, 37, 69, 0.16);
  color: #d03333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.auth-message[data-state='success'] {
  color: #138a55;
}

.auth-message:empty {
  display: none;
}

.auth-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--auth-text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.auth-checklist li::before {
  content: '';
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--auth-highlight), var(--primary));
  box-shadow: 0 0 0 5px rgba(10, 99, 230, 0.08);
  flex: 0 0 auto;
}

.auth-footnote {
  margin: 0;
  color: var(--auth-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.auth-switch {
  color: var(--auth-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.auth-card__footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.auth-support-line {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px 12px;
  padding-top: 0;
}

.auth-support-line a {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--auth-radius-xl);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.auth-visual--signup {
  background: transparent;
}

.auth-visual::before {
  content: '';
  display: none;
  position: absolute;
  width: 360px;
  height: 360px;
  left: -160px;
  bottom: -180px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 55% 42%, rgba(29, 168, 255, 0.28) 0%, rgba(27, 123, 255, 0.16) 34%, rgba(41, 81, 207, 0.06) 56%, transparent 68%);
  filter: blur(4px);
  opacity: 0.9;
}

.auth-visual::after {
  content: '';
  display: none;
  position: absolute;
  top: 22px;
  right: 22px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(10, 99, 230, 0.1) 0 1px, transparent 1px 13px);
  opacity: 0.72;
}

.auth-visual__grid {
  display: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(12, 24, 44, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 24, 44, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.26;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.86), transparent 72%);
}

.auth-visual__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  height: 100%;
  padding: 48px;
}

.auth-visual--signup .auth-visual__content {
  justify-content: center;
}

.auth-visual--signin .auth-visual__content {
  justify-content: center;
}

.auth-visual__hero {
  display: grid;
  gap: 20px;
  max-width: 100%;
  min-width: 0;
}

.auth-visual__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(10, 99, 230, 0.08);
}

.auth-visual__hero-copy {
  display: grid;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.auth-visual__hero h2 {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.auth-visual--signup .auth-visual__hero h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
}

.auth-visual--signin .auth-visual__hero h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.auth-visual__hero p {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  color: var(--auth-text-soft);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.auth-visual--signup .auth-visual__hero p {
  font-size: 18px;
  line-height: 28px;
}

.auth-visual--signin .auth-visual__hero p {
  font-size: 18px;
  line-height: 28px;
}

.auth-visual__focus-group {
  display: grid;
  gap: 20px;
  max-width: 620px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(241, 247, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
}

.auth-visual--signup .auth-visual__focus-group,
.auth-visual--signin .auth-visual__focus-group {
  position: relative;
}

.auth-visual--signup .auth-visual__focus-group::after,
.auth-visual--signin .auth-visual__focus-group::after {
  content: '';
  display: none;
}

.auth-visual__focus {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.82));
  border: 1px solid rgba(12, 24, 44, 0.08);
  box-shadow: 0 14px 30px rgba(14, 37, 69, 0.06);
}

.auth-visual__focus-label {
  color: var(--auth-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-visual--signup .auth-visual__focus-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--auth-text-soft);
  letter-spacing: 0;
  text-transform: none;
}

.auth-visual--signin .auth-visual__focus-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--auth-text-soft);
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
}

.auth-visual--signup .auth-visual__focus {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.auth-visual--signin .auth-visual__focus {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.auth-visual__focus-copy {
  display: grid;
  gap: 20px;
  max-width: 100%;
  min-width: 0;
}

.auth-visual__focus-heading {
  color: var(--auth-text);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.auth-visual--signin .auth-visual__focus-heading {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.auth-visual--signup .auth-visual__focus-heading {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.auth-visual__focus strong {
  color: var(--auth-text);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.auth-visual__focus-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-visual__focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--auth-text);
  font-size: 18px;
  line-height: 1.6;
}

.auth-visual__focus-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0.72em;
  flex: 0 0 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--auth-highlight));
}

.auth-visual__focus-list--ordered {
  counter-reset: auth-steps;
}

.auth-visual--signup .auth-visual__focus-list--ordered {
  gap: 12px;
}

.auth-visual--signup .auth-visual__focus-list--ordered li {
  min-height: 32px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.auth-visual--signin .auth-visual__focus-list {
  gap: 10px;
}

.auth-visual--signin .auth-visual__focus-list li {
  min-height: 32px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.auth-visual--signin .auth-visual__focus-list li::before {
  width: 7px;
  height: 7px;
  margin-top: 0.72em;
  flex-basis: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--auth-highlight));
}

.auth-visual__focus-list--ordered li::before {
  counter-increment: auth-steps;
  content: counter(auth-steps, decimal-leading-zero);
  width: auto;
  height: auto;
  margin-top: 0;
  flex: 0 0 30px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.auth-visual--signup .auth-visual__focus-list--ordered li {
  align-items: center;
  gap: 14px;
}

.auth-visual--signup .auth-visual__focus-list--ordered li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0;
  flex: 0 0 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--auth-highlight));
  color: transparent;
  font-size: 0;
  line-height: 1;
}

.auth-visual__shortcut-group {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.auth-visual--signup .auth-visual__shortcut-group {
  margin-top: 0;
}

.auth-visual__shortcut {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(8, 26, 50, 0.04);
  border: 1px solid rgba(12, 24, 44, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.auth-visual__shortcut:hover {
  transform: translateY(-1px);
  background: rgba(10, 99, 230, 0.07);
  border-color: rgba(10, 99, 230, 0.16);
}

.auth-visual__shortcut span {
  color: var(--auth-text);
  font-size: 14px;
  font-weight: 800;
}

.auth-visual__shortcut small {
  color: var(--auth-text-soft);
  font-size: 12px;
  line-height: 1.5;
}

.auth-visual__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-visual__pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 24, 44, 0.08);
  color: var(--auth-text-soft);
  font-size: 12px;
  font-weight: 700;
}

.auth-visual__highlights {
  display: grid;
  gap: 12px;
}

.auth-visual__highlight {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 249, 255, 0.8));
  border: 1px solid rgba(12, 24, 44, 0.08);
  box-shadow: 0 10px 24px rgba(14, 37, 69, 0.05);
}

.auth-visual__highlight strong {
  color: var(--auth-text);
  font-size: 15px;
  line-height: 1.3;
}

.auth-visual__highlight p {
  margin: 0;
  color: var(--auth-text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.auth-visual__section {
  display: grid;
  gap: 12px;
}

.auth-visual__section-label {
  color: var(--auth-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-visual__steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-visual__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(12, 24, 44, 0.07);
}

.auth-visual__step-index {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.auth-visual__step-copy {
  display: grid;
  gap: 4px;
}

.auth-visual__step-copy strong {
  color: var(--auth-text);
  font-size: 14px;
  line-height: 1.35;
}

.auth-visual__step-copy p {
  margin: 0;
  color: var(--auth-text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.auth-visual__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.auth-visual__action {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(8, 26, 50, 0.04);
  border: 1px solid rgba(12, 24, 44, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.auth-visual__action:hover {
  transform: translateY(-1px);
  background: rgba(10, 99, 230, 0.07);
  border-color: rgba(10, 99, 230, 0.16);
}

.auth-visual__action span {
  color: var(--auth-text);
  font-size: 14px;
  font-weight: 800;
}

.auth-visual__action small {
  color: var(--auth-text-soft);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .auth-stage {
    grid-template-columns: 1fr;
    gap: 24px;
    height: auto;
    min-height: auto;
  }

  .auth-stage--signin {
    height: auto;
    min-height: auto;
  }

  .auth-stage--signup .auth-card-wrap,
  .auth-stage--signin .auth-card-wrap,
  .auth-stage--signup .auth-visual,
  .auth-stage--signin .auth-visual {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .auth-stage--signup .auth-card-wrap,
  .auth-stage--signin .auth-card-wrap {
    order: 1;
  }

  .auth-stage--signup .auth-visual,
  .auth-stage--signin .auth-visual {
    order: 2;
  }

  .auth-visual {
    min-height: auto;
  }

  .auth-card-wrap {
    display: block;
  }
}

@media (max-width: 920px) {
  .auth-shell {
    width: min(calc(100% - 24px), 1240px);
    margin-top: 12px;
  }

  .auth-card,
  .auth-card--dense,
  .auth-visual__content {
    padding: 24px;
  }

  .auth-card__header {
    min-height: auto;
  }

  .auth-tabs {
    left: 24px;
    right: 24px;
    top: 24px;
    width: auto;
  }

  .auth-tab {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
  }

  .auth-support-line {
    flex-direction: row;
    gap: 8px 12px;
  }

  .field-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .field-action {
    width: auto;
    min-height: 46px;
  }

  .auth-visual {
    order: 2;
  }

  .auth-visual__content {
    gap: 16px;
  }

  .auth-visual--signup .auth-visual__hero h2,
  .auth-visual--signin .auth-visual__hero h2 {
    font-size: 32px;
    line-height: 1.25;
    white-space: normal;
  }

  .auth-visual--signup .auth-visual__hero p,
  .auth-visual--signin .auth-visual__hero p {
    font-size: 15px;
    line-height: 1.7;
  }

}

@media (max-width: 640px) {
  .auth-shell {
    width: min(calc(100% - 20px), 1240px);
    margin-top: 0;
    margin-bottom: 32px;
  }

  .auth-stage {
    gap: 20px;
    margin-top: 80px;
  }

  .auth-card,
  .auth-card--dense,
  .auth-visual__content {
    padding: 24px;
  }

  .auth-inline {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .auth-card h1 {
    font-size: 32px;
  }

  .auth-card h1.auth-card__title--single {
    font-size: 24px;
    line-height: 34px;
    white-space: normal;
  }

  .auth-card__footer {
    gap: 10px;
  }

  .auth-support-line {
    flex-direction: row;
    align-items: flex-start;
  }

  .auth-visual--signup .auth-visual__hero h2,
  .auth-visual--signin .auth-visual__hero h2 {
    font-size: 24px;
    line-height: 34px;
  }

  .auth-visual--signup .auth-visual__focus-heading,
  .auth-visual--signin .auth-visual__focus-heading {
    font-size: 22px;
    line-height: 34px;
  }

  .auth-visual--signup .auth-visual__hero p,
  .auth-visual--signin .auth-visual__hero p {
    font-size: 14px;
    line-height: 22px;
  }

  .auth-visual__focus-list li {
    font-size: 16px;
    line-height: 24px;
  }

  .auth-visual__focus,
  .auth-visual__shortcut {
    padding: 14px;
  }

  .auth-visual__steps li,
  .auth-visual__action,
  .auth-visual__highlight {
    padding: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .auth-page::before,
  .auth-page::after {
    animation: none;
  }

  .auth-page [data-float-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
