/* Tenant authentication form templates
   The four templates intentionally change the form area's hierarchy and grouping,
   not only its color or background artwork. */

:root[data-auth-style] body.auth-entry-page {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  overflow-x: hidden;
}

:root[data-auth-style] body.auth-entry-page .auth-shell {
  width: min(1480px, 100%);
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

:root[data-auth-style] body.auth-entry-page .auth-visual {
  position: relative;
  min-width: 0;
  min-height: calc(100vh - 48px);
  overflow: hidden;
}

:root[data-auth-style] body.auth-entry-page .auth-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  filter: none;
}

:root[data-auth-style] body.auth-entry-page .auth-visual-loader,
:root[data-auth-style] body.auth-entry-page .auth-visual::after {
  display: none;
}

:root[data-auth-style] body.auth-entry-page .auth-content {
  position: relative;
  min-width: 0;
  height: calc(100vh - 48px);
  min-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

:root[data-auth-style] body.auth-entry-page .auth-topbar {
  flex: 0 0 auto;
  min-height: 78px;
  padding: 0 clamp(26px, 3vw, 44px);
}

:root[data-auth-style] body.auth-entry-page .auth-main {
  min-height: 0;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
}

:root[data-auth-style] body.auth-entry-page .auth-form-heading {
  margin-bottom: 28px;
}

:root[data-auth-style] body.auth-entry-page .auth-form-heading h1 {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

:root[data-auth-style] body.auth-entry-page .auth-theme-heading-copy {
  margin: 10px 0 0;
  color: #778293;
  font-size: 14px;
  line-height: 1.6;
}

:root[data-auth-style] body.auth-entry-page .auth-form {
  gap: 14px;
}

:root[data-auth-style] body.auth-entry-page .auth-input,
:root[data-auth-style] body.auth-entry-page .auth-select,
:root[data-auth-style] body.auth-entry-page .auth-phone-input,
:root[data-auth-style] body.auth-entry-page .auth-split-input,
:root[data-auth-style] body.auth-entry-page .auth-code-input {
  min-height: 50px;
  border-radius: 10px;
  box-shadow: none;
}

:root[data-auth-style] body.auth-entry-page .auth-primary,
:root[data-auth-style] body.auth-entry-page .auth-secondary,
:root[data-auth-style] body.auth-entry-page .auth-outline {
  min-height: 50px;
  border-radius: 10px;
  box-shadow: none;
}

:root[data-auth-style] body.auth-entry-page .auth-social {
  margin-top: 24px;
  gap: 15px;
}

:root[data-auth-style] body.auth-entry-page .auth-social-list {
  width: 100%;
}

:root[data-auth-style] body.auth-entry-page .auth-social-btn {
  box-shadow: none;
}

:root[data-auth-style] body.auth-entry-page .auth-social-btn .auth-social-label {
  color: currentColor;
  font-weight: 750;
}

:root[data-auth-style] body.auth-entry-page .auth-register-cta {
  margin-top: 22px;
  text-align: center;
}

:root[data-auth-style] body.auth-entry-page .auth-footer {
  flex: 0 0 auto;
  min-height: 58px;
  padding: 0 28px;
}

.auth-theme-field {
  display: grid;
  gap: 8px;
}

.auth-theme-field-label {
  color: #273244;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.auth-theme-mode-switch {
  display: none;
}

/* Style 1 — floating card: inspired by the centered agent-login reference. */
:root[data-auth-style="style1"] body.auth-entry-page {
  --auth-accent: #247fff;
  --auth-accent-dark: #0f63de;
  --auth-accent-soft: rgba(36, 127, 255, 0.12);
  --auth-border: rgba(255, 255, 255, 0.13);
  --auth-focus: rgba(36, 127, 255, 0.2);
  background: #0b0c0e;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-shell {
  position: relative;
  display: block;
  background: #090a0c;
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-visual-img {
  object-position: center;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: rgba(2, 3, 5, 0.38);
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-visual-caption,
:root[data-auth-style="style1"] body.auth-entry-page .auth-theme-stage {
  display: none;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-content {
  z-index: 2;
  width: 100%;
  background: transparent;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-topbar {
  border-bottom: 0;
  color: #fff;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-brand,
:root[data-auth-style="style1"] body.auth-entry-page .auth-icon-btn,
:root[data-auth-style="style1"] body.auth-entry-page .auth-footer,
:root[data-auth-style="style1"] body.auth-entry-page .auth-footer a {
  color: rgba(255, 255, 255, 0.9);
}

:root[data-auth-style="style1"] body.auth-entry-page .theme-toggle {
  display: none;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-main {
  width: min(100% - 48px, 560px);
  flex: 0 0 auto;
  margin: auto;
  padding: 44px 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background: rgba(11, 13, 17, 0.94);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-main {
  width: min(100% - 48px, 780px);
  margin: 26px auto 36px;
}

:root[data-auth-style="style1"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style1"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style1"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style1"] body.auth-page-reset .auth-main {
  width: min(100% - 48px, 620px);
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-form-heading,
:root[data-auth-style="style1"] body.auth-entry-page .auth-form-heading h1,
:root[data-auth-style="style1"] body.auth-entry-page .auth-form-heading p {
  text-align: center;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-form-heading h1,
:root[data-auth-style="style1"] body.auth-entry-page .auth-field,
:root[data-auth-style="style1"] body.auth-entry-page .auth-field > span:first-child,
:root[data-auth-style="style1"] body.auth-entry-page .auth-term-line,
:root[data-auth-style="style1"] body.auth-entry-page .auth-check {
  color: #f6f7f9;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-theme-heading-copy,
:root[data-auth-style="style1"] body.auth-entry-page .auth-form-heading p,
:root[data-auth-style="style1"] body.auth-entry-page .auth-optional {
  color: #aab1bd;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-input,
:root[data-auth-style="style1"] body.auth-entry-page .auth-select,
:root[data-auth-style="style1"] body.auth-entry-page .auth-phone-input,
:root[data-auth-style="style1"] body.auth-entry-page .auth-split-input,
:root[data-auth-style="style1"] body.auth-entry-page .auth-code-input {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-input::placeholder {
  color: #7f8793;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-primary {
  border-color: #247fff;
  background: #247fff;
  color: #ffffff;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-primary:hover {
  border-color: #4894ff;
  background: #4894ff;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-secondary,
:root[data-auth-style="style1"] body.auth-entry-page .auth-outline {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #f4f5f7;
}

:root[data-auth-style="style1"] body.auth-page-login .auth-social-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

:root[data-auth-style="style1"] body.auth-page-login .auth-social-btn {
  width: 100%;
  height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 6px;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: #f5f6f8;
}

:root[data-auth-style="style1"] body.auth-page-login .auth-social-btn .auth-social-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  font-size: 11px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-social-divider {
  color: #8f97a3;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-social-divider::before,
:root[data-auth-style="style1"] body.auth-entry-page .auth-social-divider::after,
:root[data-auth-style="style1"] body.auth-entry-page .auth-footer-divider {
  background: rgba(255, 255, 255, 0.13);
}

/* Style 2 — classic centered column: based on the clean Nucleus form area. */
:root[data-auth-style="style2"] body.auth-entry-page {
  --auth-accent: #247fff;
  --auth-accent-dark: #0f63de;
  --auth-accent-soft: rgba(36, 127, 255, 0.1);
  --auth-border: #dfe2e8;
  --auth-focus: rgba(36, 127, 255, 0.16);
  background: #e9e9eb;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-shell {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(480px, 62%);
  background: #fff;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-visual {
  grid-column: 1;
  grid-row: 1;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: rgba(5, 8, 12, 0.22);
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-visual-caption {
  position: absolute;
  inset: auto 38px 42px;
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 0;
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-visual-caption strong {
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-visual-copy,
:root[data-auth-style="style2"] body.auth-entry-page .auth-visual-caption span:last-child {
  color: rgba(255, 255, 255, 0.84);
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-content {
  grid-column: 2;
  grid-row: 1;
  background: #fff;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-topbar,
:root[data-auth-style="style2"] body.auth-entry-page .auth-footer {
  border-color: #eef0f4;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-main {
  width: min(100% - 64px, 500px);
  margin: 0 auto;
  padding: 44px 0;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-main {
  width: min(100% - 72px, 720px);
  justify-content: flex-start;
  padding-top: 34px;
}

:root[data-auth-style="style2"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style2"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style2"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style2"] body.auth-page-reset .auth-main {
  width: min(100% - 64px, 540px);
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-form-heading,
:root[data-auth-style="style2"] body.auth-entry-page .auth-form-heading h1,
:root[data-auth-style="style2"] body.auth-entry-page .auth-form-heading p {
  text-align: center;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-form-heading p {
  margin-right: auto;
  margin-left: auto;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-primary {
  border-color: #247fff;
  background: #247fff;
  color: #fff;
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-primary:hover {
  border-color: #0f63de;
  background: #0f63de;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-login-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-muted-link {
  grid-row: 1;
  justify-self: start;
  color: #247fff;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check {
  grid-row: 2;
  width: 100%;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check-box {
  order: 2;
  width: 42px;
  min-width: 42px;
  height: 24px;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: #cbcfd8;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check-box::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.22);
  transform: translateX(-8px);
  transition: transform 0.15s ease;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check-box svg {
  display: none;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check input:checked + .auth-check-box {
  background: #247fff;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check input:checked + .auth-check-box::after {
  transform: translateX(8px);
}

:root[data-auth-style="style2"] body.auth-page-login .auth-social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-social-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 15px;
  border-radius: 9px;
  background: #f7f8fa;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-social-btn .auth-social-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  color: #303846;
  font-size: 12px;
}

/* Style 3 — segmented access: modeled on the SmartSave form hierarchy. */
:root[data-auth-style="style3"] body.auth-entry-page {
  --auth-accent: #247fff;
  --auth-accent-dark: #0f63de;
  --auth-accent-soft: rgba(36, 127, 255, 0.1);
  --auth-border: #d9e0e8;
  --auth-focus: rgba(36, 127, 255, 0.16);
  background: #dfe5ec;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-shell {
  display: grid;
  grid-template-columns: minmax(420px, 52%) minmax(380px, 48%);
  background: #fff;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-content {
  grid-column: 1;
  grid-row: 1;
  background: #fff;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-visual {
  grid-column: 2;
  grid-row: 1;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: rgba(222, 241, 255, 0.04);
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-visual-caption {
  position: absolute;
  inset: auto 34px 34px;
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  background: rgba(248, 252, 255, 0.86);
  color: #153c67;
  text-shadow: none;
  backdrop-filter: blur(12px);
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-visual-caption strong {
  color: #14385e;
  font-size: clamp(27px, 2.5vw, 38px);
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-visual-copy,
:root[data-auth-style="style3"] body.auth-entry-page .auth-visual-caption span:last-child {
  color: #58728b;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-topbar,
:root[data-auth-style="style3"] body.auth-entry-page .auth-footer {
  border-color: #eef1f5;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-main {
  width: min(100% - 72px, 470px);
  margin: 0 auto;
  padding: 40px 0;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-main {
  width: min(100% - 72px, 640px);
  justify-content: flex-start;
  padding-top: 28px;
}

:root[data-auth-style="style3"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style3"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style3"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style3"] body.auth-page-reset .auth-main {
  width: min(100% - 72px, 540px);
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-theme-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 30px;
  padding: 4px;
  border-radius: 12px;
  background: #f0f2f5;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-theme-mode-switch a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #727b88;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-theme-mode-switch a.is-active {
  color: #172033;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-form-heading h1 {
  font-size: clamp(30px, 2.4vw, 38px);
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-input,
:root[data-auth-style="style3"] body.auth-entry-page .auth-select,
:root[data-auth-style="style3"] body.auth-entry-page .auth-phone-input,
:root[data-auth-style="style3"] body.auth-entry-page .auth-split-input,
:root[data-auth-style="style3"] body.auth-entry-page .auth-code-input {
  min-height: 54px;
  border-radius: 14px;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-primary {
  min-height: 54px;
  border-color: #247fff;
  border-radius: 14px;
  background: #247fff;
  color: #fff;
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-primary:hover {
  border-color: #0f63de;
  background: #0f63de;
}

:root[data-auth-style="style3"] body.auth-page-login .auth-social-list {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

:root[data-auth-style="style3"] body.auth-page-login .auth-social-btn {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: #fff;
}

:root[data-auth-style="style3"] body.auth-page-login .auth-social-btn .auth-social-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Style 4 — editorial form: based on the Voice Aura stacked action column. */
:root[data-auth-style="style4"] body.auth-entry-page {
  --auth-accent: #247fff;
  --auth-accent-dark: #0f63de;
  --auth-accent-soft: rgba(36, 127, 255, 0.09);
  --auth-border: #d8d8d8;
  --auth-focus: rgba(36, 127, 255, 0.16);
  background: #e7e7e7;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-shell {
  display: grid;
  grid-template-columns: minmax(420px, 55%) minmax(380px, 45%);
  background: #fff;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-visual {
  grid-column: 1;
  grid-row: 1;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: rgba(255, 255, 255, 0.08);
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-visual-caption {
  position: absolute;
  inset: 44px auto auto 44px;
  z-index: 2;
  width: min(58%, 430px);
  margin: 0;
  padding: 0;
  color: #13263c;
  text-shadow: none;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-visual-caption strong {
  color: #13263c;
  font-size: clamp(28px, 2.8vw, 42px);
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-visual-copy,
:root[data-auth-style="style4"] body.auth-entry-page .auth-visual-caption span:last-child {
  color: #5a6b80;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-content {
  grid-column: 2;
  grid-row: 1;
  background: #fff;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-topbar,
:root[data-auth-style="style4"] body.auth-entry-page .auth-footer {
  border-color: #eeeeee;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-main {
  width: min(100% - 64px, 450px);
  margin: 0 auto;
  padding: 42px 0;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-main {
  width: min(100% - 64px, 500px);
  justify-content: flex-start;
  padding-top: 30px;
}

:root[data-auth-style="style4"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style4"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style4"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style4"] body.auth-page-reset .auth-main {
  width: min(100% - 64px, 470px);
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-form-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 2.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form.compact {
  grid-template-columns: 1fr;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form.compact > * {
  grid-column: 1;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-input,
:root[data-auth-style="style4"] body.auth-entry-page .auth-select,
:root[data-auth-style="style4"] body.auth-entry-page .auth-phone-input,
:root[data-auth-style="style4"] body.auth-entry-page .auth-split-input,
:root[data-auth-style="style4"] body.auth-entry-page .auth-code-input {
  border-radius: 8px;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-primary {
  border-color: #247fff;
  border-radius: 8px;
  background: #247fff;
  color: #fff;
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-primary:hover {
  border-color: #0f63de;
  background: #0f63de;
}

:root[data-auth-style="style4"] body.auth-page-login .auth-social-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

:root[data-auth-style="style4"] body.auth-page-login .auth-social-btn {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 16px;
  border-radius: 8px;
  background: #fff;
}

:root[data-auth-style="style4"] body.auth-page-login .auth-social-btn .auth-social-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  color: #555;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

:root[data-auth-style="style4"] body.auth-page-login .auth-register-cta {
  text-align: center;
}

/* Dark mode for the light themes. */
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page {
  --auth-border: rgba(148, 163, 184, 0.24);
  background: #0b1016;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-content {
  background: #10161d;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-brand,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-form-heading h1,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-field,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-field > span:first-child,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-theme-field-label {
  color: #f1f5f9;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-input,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-select,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-phone-input,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-split-input,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-code-input {
  border-color: rgba(148, 163, 184, 0.24);
  background: #161e27;
  color: #f1f5f9;
}

:root[data-theme="dark"][data-auth-style="style3"] body.auth-entry-page .auth-theme-mode-switch {
  background: #19222c;
}

:root[data-theme="dark"][data-auth-style="style3"] body.auth-entry-page .auth-theme-mode-switch a.is-active {
  color: #fff;
  background: #293542;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-entry-page .auth-social-btn,
:root[data-theme="dark"][data-auth-style="style2"] body.auth-entry-page .auth-social-btn {
  border-color: rgba(148, 163, 184, 0.24);
  background: #161e27;
  color: #e6edf5;
}

/* Responsive: preserve functions, simplify the canvas, and keep every control usable. */
@media (max-width: 900px) {
  :root[data-auth-style] body.auth-entry-page {
    padding: 0;
  }

  :root[data-auth-style] body.auth-entry-page .auth-shell {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  :root[data-auth-style] body.auth-entry-page .auth-visual {
    display: none;
  }

  :root[data-auth-style] body.auth-entry-page .auth-content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    min-height: 100vh;
  }

  :root[data-auth-style] body.auth-entry-page .auth-main,
  :root[data-auth-style] body.auth-page-register .auth-main,
  :root[data-auth-style] body.auth-page-register-verify .auth-main,
  :root[data-auth-style] body.auth-page-forgot .auth-main,
  :root[data-auth-style] body.auth-page-forgot-verify .auth-main,
  :root[data-auth-style] body.auth-page-reset .auth-main {
    width: min(100% - 40px, 620px);
    margin: 0 auto;
    padding: 32px 0 48px;
  }

  :root[data-auth-style="style1"] body.auth-entry-page .auth-content {
    background: #0b0d11;
  }

  :root[data-auth-style="style1"] body.auth-entry-page .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-reset .auth-main {
    width: min(100% - 40px, 620px);
    margin: 22px auto 36px;
    padding: 34px;
  }
}

@media (max-width: 560px) {
  :root[data-auth-style] body.auth-entry-page .auth-topbar {
    min-height: 70px;
    padding: 0 18px;
  }

  :root[data-auth-style] body.auth-entry-page .auth-main,
  :root[data-auth-style] body.auth-page-register .auth-main,
  :root[data-auth-style] body.auth-page-register-verify .auth-main,
  :root[data-auth-style] body.auth-page-forgot .auth-main,
  :root[data-auth-style] body.auth-page-forgot-verify .auth-main,
  :root[data-auth-style] body.auth-page-reset .auth-main {
    width: min(100% - 32px, 520px);
    padding-top: 26px;
  }

  :root[data-auth-style="style1"] body.auth-entry-page .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-reset .auth-main {
    width: min(100% - 28px, 520px);
    margin-top: 14px;
    padding: 26px 22px 28px;
    border-radius: 20px;
  }

  :root[data-auth-style] body.auth-page-register .auth-form.compact {
    grid-template-columns: 1fr;
  }

  :root[data-auth-style] body.auth-page-register .auth-form.compact > * {
    grid-column: 1;
  }

  :root[data-auth-style] body.auth-page-login .auth-login-options {
    align-items: center;
  }

  :root[data-auth-style] body.auth-page-register .auth-phone-input {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  :root[data-auth-style="style1"] body.auth-page-login .auth-social-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root[data-auth-style="style2"] body.auth-page-login .auth-social-list {
    gap: 8px;
  }

  :root[data-auth-style="style2"] body.auth-page-login .auth-social-btn {
    padding: 0 11px;
  }

  :root[data-auth-style="style3"] body.auth-entry-page .auth-theme-mode-switch {
    margin-bottom: 24px;
  }

  :root[data-auth-style] body.auth-entry-page .auth-footer {
    padding: 0 16px;
  }
}

/* Form template system
   The tenant choice below changes the information architecture of the form
   itself. The page artwork and business fields remain tenant-owned content. */
:root[data-auth-form-style] body.auth-entry-page .auth-template-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--auth-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

:root[data-auth-form-style] body.auth-entry-page .auth-form-section {
  min-width: 0;
}

:root[data-auth-form-style] body.auth-entry-page .auth-form-section-heading,
:root[data-auth-form-style] body.auth-entry-page .auth-form-stepper,
:root[data-auth-form-style] body.auth-entry-page .auth-template-marker {
  display: none;
}

:root[data-auth-form-style] body.auth-entry-page .auth-form-section-body {
  min-width: 0;
  display: grid;
  gap: 14px;
}

:root[data-auth-form-style] body.auth-page-register .auth-form.compact {
  grid-template-columns: minmax(0, 1fr);
}

:root[data-auth-form-style] body.auth-page-register .auth-form.compact > *,
:root[data-auth-form-style] body.auth-page-register .auth-form-section {
  grid-column: 1;
}

:root[data-auth-form-style] body.auth-page-register .auth-form-section-profile .auth-form-section-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:root[data-auth-form-style] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:root[data-auth-form-style] body.auth-page-forgot .auth-form-section-body > .auth-recovery-methods {
  margin: 0;
}

/* Template 1 — secure panel: grouped form modules inside one focused card. */
:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-section {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-section-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
}

:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-section-heading span {
  color: #6ba9ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-section-heading small {
  color: #8f98a7;
  font-size: 11px;
  font-weight: 700;
}

:root[data-auth-form-style="style1"] body.auth-page-login .auth-form {
  gap: 14px;
}

:root[data-auth-form-style="style1"] body.auth-page-login .auth-form-section-credentials .auth-form-section-body {
  gap: 10px;
}

:root[data-auth-form-style="style1"] body.auth-page-register .auth-main {
  width: min(100% - 48px, 820px);
}

:root[data-auth-form-style="style1"] body.auth-page-register .auth-form,
:root[data-auth-form-style="style1"] body.auth-page-forgot .auth-form {
  gap: 16px;
}

:root[data-auth-form-style="style1"] body.auth-page-register .auth-form-stepper,
:root[data-auth-form-style="style1"] body.auth-page-forgot .auth-form-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-stepper li {
  display: grid;
  gap: 5px;
  padding-top: 9px;
  border-top: 2px solid rgba(255, 255, 255, 0.12);
  color: #77808d;
}

:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-stepper li.is-active {
  border-color: #247fff;
  color: #6ba9ff;
}

:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-stepper b,
:root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-stepper span {
  font-size: 11px;
  font-weight: 900;
}

:root[data-auth-form-style="style1"] body.auth-page-forgot .auth-recovery-option {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

:root[data-auth-form-style="style1"] body.auth-page-forgot .auth-recovery-option.is-active {
  border-color: rgba(36, 127, 255, 0.7);
  background: rgba(36, 127, 255, 0.1);
}

:root[data-auth-form-style="style1"] body.auth-page-forgot .auth-recovery-copy strong,
:root[data-auth-form-style="style1"] body.auth-page-forgot .auth-recovery-copy small {
  color: #eef1f5;
}

/* Template 2 — guided form: explicit progress and numbered sections. */
:root[data-auth-form-style="style2"] body.auth-page-register .auth-main {
  width: min(100% - 72px, 760px);
}

:root[data-auth-form-style="style2"] body.auth-page-register .auth-form-stepper,
:root[data-auth-form-style="style2"] body.auth-page-forgot .auth-form-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: auth-step;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-stepper li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #9aa1ad;
  font-size: 11px;
  font-weight: 850;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-stepper li::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 1px;
  background: #dfe2e8;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-stepper li:last-child::after {
  display: none;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-stepper b {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe2e8;
  border-radius: 50%;
  background: #fff;
  font-size: 10px;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-stepper li.is-active,
:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-stepper li.is-active b {
  border-color: #247fff;
  color: #247fff;
}

:root[data-auth-form-style="style2"] body.auth-page-login .auth-form-section-heading {
  display: none;
}

:root[data-auth-form-style="style2"] body.auth-page-register .auth-form-section,
:root[data-auth-form-style="style2"] body.auth-page-forgot .auth-form-section {
  padding: 20px;
  border: 1px solid #e3e5eb;
  border-radius: 12px;
  background: #fff;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eceef3;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-section-heading span {
  color: #202637;
  font-size: 15px;
  font-weight: 900;
}

:root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-section-heading small {
  color: #8a93a2;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

:root[data-auth-form-style="style2"] body.auth-page-forgot .auth-form-section-method .auth-recovery-methods {
  grid-template-columns: 1fr;
}

:root[data-auth-form-style="style2"] body.auth-page-forgot .auth-recovery-option {
  min-height: 64px;
}

/* Template 3 — segmented workspace: tabs, connected inputs and card groups. */
:root[data-auth-form-style="style3"] body.auth-entry-page .auth-form-section-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
}

:root[data-auth-form-style="style3"] body.auth-entry-page .auth-form-section-heading span {
  color: #172033;
  font-size: 14px;
  font-weight: 900;
}

:root[data-auth-form-style="style3"] body.auth-entry-page .auth-form-section-heading small {
  color: #788697;
  font-size: 11px;
  font-weight: 700;
}

:root[data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials {
  padding: 5px;
  border: 1px solid #dbe3ec;
  border-radius: 16px;
  background: #f8fafc;
}

:root[data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials .auth-form-section-heading {
  padding: 11px 12px 2px;
}

:root[data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials .auth-form-section-body {
  gap: 5px;
}

:root[data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials .auth-input,
:root[data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials .auth-password-wrap {
  border-radius: 11px;
  background: #fff;
}

:root[data-auth-form-style="style3"] body.auth-page-register .auth-form-section,
:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-form-section {
  padding: 18px;
  border: 1px solid #d9e5f4;
  border-radius: 16px;
  background: #f7fbff;
}

:root[data-auth-form-style="style3"] body.auth-page-register .auth-form {
  gap: 12px;
}

:root[data-auth-form-style="style3"] body.auth-page-register .auth-form-stepper,
:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-form-stepper {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -14px 0 22px;
  padding: 0;
  color: #8793a3;
  list-style: none;
}

:root[data-auth-form-style="style3"] body.auth-entry-page .auth-form-stepper li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 850;
}

:root[data-auth-form-style="style3"] body.auth-entry-page .auth-form-stepper li + li::before {
  content: "/";
  margin-right: 2px;
  color: #c3cad3;
}

:root[data-auth-form-style="style3"] body.auth-entry-page .auth-form-stepper li.is-active {
  color: #247fff;
}

:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #e9f0f8;
}

:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-option {
  min-height: 46px;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
}

:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-option.is-active {
  background: #fff;
  box-shadow: 0 4px 14px rgba(23, 54, 91, 0.1);
}

:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-icon,
:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-copy small,
:root[data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-check {
  display: none;
}

/* Template 4 — editorial form: numbered chapters and underline controls. */
:root[data-auth-form-style="style4"] body.auth-entry-page .auth-template-marker {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 30px;
  color: #777;
  font-family: Georgia, "Times New Roman", serif;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-template-marker b {
  color: #247fff;
  font-size: 24px;
  font-weight: 400;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-template-marker span {
  font-size: 12px;
  letter-spacing: 0.12em;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form {
  counter-reset: editorial-section;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section {
  counter-increment: editorial-section;
  padding-top: 18px;
  border-top: 1px solid #d8d8d8;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 10px;
  margin-bottom: 18px;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section-heading::before {
  content: "0" counter(editorial-section);
  grid-row: 1 / span 2;
  color: #247fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.2;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section-heading span {
  color: #222;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section-heading small {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 650;
}

:root[data-auth-form-style="style4"] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root[data-auth-form-style="style4"] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  grid-template-columns: 1fr;
}

:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section .auth-input,
:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section .auth-select,
:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section .auth-phone-input,
:root[data-auth-form-style="style4"] body.auth-entry-page .auth-form-section .auth-split-input {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

:root[data-auth-form-style="style4"] body.auth-page-login .auth-form-section-credentials {
  padding-top: 12px;
}

:root[data-auth-form-style="style4"] body.auth-page-forgot .auth-recovery-methods {
  grid-template-columns: 1fr;
  gap: 0;
}

:root[data-auth-form-style="style4"] body.auth-page-forgot .auth-recovery-option {
  min-height: 58px;
  padding: 8px 30px 8px 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

:root[data-auth-form-style="style4"] body.auth-page-forgot .auth-recovery-icon {
  width: 28px;
  height: 28px;
}

:root[data-auth-form-style="style4"] body.auth-page-forgot .auth-recovery-icon svg {
  width: 26px;
  height: 26px;
}

:root[data-auth-form-style="style4"] body.auth-page-forgot .auth-action-row {
  grid-template-columns: 1fr;
}

:root[data-auth-form-style="style4"] body.auth-page-forgot .auth-action-row .auth-secondary {
  grid-row: 2;
  border: 0;
  background: transparent;
}

/* Dark-mode support for the new structural surfaces. */
:root[data-theme="dark"][data-auth-form-style="style2"] body.auth-entry-page .auth-form-section,
:root[data-theme="dark"][data-auth-form-style="style3"] body.auth-entry-page .auth-form-section,
:root[data-theme="dark"][data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials {
  border-color: rgba(148, 163, 184, 0.22);
  background: #141c25;
}

:root[data-theme="dark"][data-auth-form-style="style2"] body.auth-entry-page .auth-form-stepper b,
:root[data-theme="dark"][data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-option.is-active,
:root[data-theme="dark"][data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials .auth-input,
:root[data-theme="dark"][data-auth-form-style="style3"] body.auth-page-login .auth-form-section-credentials .auth-password-wrap {
  background: #19232e;
}

:root[data-theme="dark"]:is([data-auth-form-style="style2"], [data-auth-form-style="style3"], [data-auth-form-style="style4"]) body.auth-entry-page .auth-form-section-heading span,
:root[data-theme="dark"][data-auth-form-style="style4"] body.auth-entry-page .auth-template-marker b {
  color: #f1f5f9;
}

@media (max-width: 900px) {
  :root[data-auth-form-style] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
  :root[data-auth-form-style] body.auth-page-register .auth-form-section-security .auth-form-section-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root[data-auth-form-style] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
  :root[data-auth-form-style] body.auth-page-register .auth-form-section-security .auth-form-section-body {
    grid-template-columns: 1fr;
  }

  :root[data-auth-form-style="style1"] body.auth-entry-page .auth-form-section,
  :root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-section,
  :root[data-auth-form-style="style3"] body.auth-entry-page .auth-form-section {
    padding: 14px;
  }

  :root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-section-heading {
    display: grid;
  }

  :root[data-auth-form-style="style2"] body.auth-entry-page .auth-form-section-heading small {
    text-align: left;
  }

  :root[data-auth-form-style="style3"] body.auth-page-forgot .auth-recovery-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :root[data-auth-form-style="style4"] body.auth-entry-page .auth-template-marker {
    margin-bottom: 22px;
  }
}


/* =========================================================================
   Style 5 — 黑金控制台 (Gold Console)
   版式取自后台 fusion 外壳：左侧细导航轨 + 顶栏 + 内容区浮卡，不用大图。
   表单改成「连体凭证组 / 分隔线分组 / 横向通道页签」，与其余四套的排布不同。
   token 与 client-home-fusion.css 同源，白天 / 暗夜双档。
   ========================================================================= */
:root[data-auth-style="style5"] body.auth-entry-page {
  --auth-accent: #f7b52c;
  --auth-accent-dark: #d9930d;
  --auth-accent-soft: rgba(247, 181, 44, 0.12);
  --auth-border: rgba(247, 181, 44, 0.28);
  --auth-focus: rgba(247, 181, 44, 0.2);
  --gold-soft: #ffd166;
  --gold-ink: #1a1302;

  --g-bg: #060607;
  --g-surface: #101012;
  --g-surface-2: #141417;
  --g-surface-3: #1a1a1e;
  --g-line: #26262c;
  --g-line-2: #34343c;
  --g-ink: #f3f4f6;
  --g-ink-2: #c6c9d0;
  --g-muted: #8d919b;
  --g-faint: #676b74;
  --g-rail: #0a0a0c;
  --g-rail-2: #060607;

  /* 输入控件单独一组令牌，明暗两档各自调 */
  --field-bg: rgba(255, 255, 255, 0.028);
  --field-bg-hover: rgba(255, 255, 255, 0.052);
  --field-line: rgba(255, 255, 255, 0.09);
  --field-line-hover: rgba(255, 255, 255, 0.16);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  padding: 0;
  background:
    radial-gradient(760px 420px at 78% -8%, rgba(247, 181, 44, 0.13), transparent 70%),
    radial-gradient(620px 360px at 8% 4%, rgba(247, 181, 44, 0.06), transparent 72%),
    var(--g-bg);
  color: var(--g-ink);
  font-variant-numeric: tabular-nums;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 38%) minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--g-surface);
  box-shadow: none;
}

/* =========================  左：品牌展示位  ========================= */
:root[data-auth-style="style5"] body.auth-entry-page .auth-visual {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--g-line);
  background:
    radial-gradient(120% 80% at 50% 38%, #10131a 0%, #0a0a0c 58%, #08080a 100%);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-visual-img,
:root[data-auth-style="style5"] body.auth-entry-page .auth-visual-loader,
:root[data-auth-style="style5"] body.auth-entry-page .auth-visual-caption {
  display: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stage {
  flex: 1 1 auto;
  min-height: 190px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 正方形容器：把地球钉在 logo 与文案之间那块空白的正中，随空白大小缩放 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-orb {
  position: relative;
  /* 上限 = 素材边长 ÷ 2：Retina 上最多 1:1，永远不放大，线条才不会糊 */
  width: min(100%, 512px);
  max-height: 100%;
  aspect-ratio: 1 / 1;
}

/* 球体本体与辉光由 CSS 画（素材里只有线条与点，体积小、可自由缩放） */
:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-orb::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 181, 44, 0.10) 48%, transparent 70%);
  filter: blur(10px);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-orb::after {
  content: "";
  position: absolute;
  inset: 14.5%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #141c26 0%, #0e131b 52%, #0a0d12 100%);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 压暗 + 金色底光，保证文字可读 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0) 0%, rgba(6, 6, 7, 0) 46%, rgba(6, 6, 7, 0.72) 82%, rgba(6, 6, 7, 0.94) 100%),
    radial-gradient(560px 360px at 16% 106%, rgba(247, 181, 44, 0.2), transparent 68%);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.24;
  background: repeating-conic-gradient(
    from 186deg at 8% 122%,
    rgba(247, 181, 44, 0) 0deg 2.6deg,
    rgba(247, 181, 44, 0.3) 2.6deg 2.95deg,
    rgba(247, 181, 44, 0) 2.95deg 6.4deg
  );
  mask-image: linear-gradient(180deg, transparent 26%, #000 88%);
  -webkit-mask-image: linear-gradient(180deg, transparent 26%, #000 88%);
  animation: auth-gold-beams 26s linear infinite;
}

@keyframes auth-gold-beams {
  from { transform: rotate(0deg) scale(1.6); }
  to { transform: rotate(6deg) scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-auth-style="style5"] body.auth-entry-page .auth-visual::after {
    animation: none;
    transform: none;
  }
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-panel {
  position: relative;
  z-index: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(22px, 2.4vw, 34px);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-logo {
  width: auto;
  height: 42px;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-copy {
  margin-top: auto;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--auth-accent);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-copy p {
  margin-top: 10px;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13.5px;
  line-height: 1.6;
}

/* 品牌实力数据 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats li {
  display: grid;
  align-content: start;
  gap: 3px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats b {
  color: var(--auth-accent);
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -0.02em;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* 找回流程的三步进度接在品牌文案下方，替掉数据条 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps {
  display: grid;
  gap: 4px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  font-weight: 600;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps li.is-active {
  color: #fff;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps b {
  width: 21px;
  height: 21px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: none;
  color: inherit;
  font-size: 10px;
  font-weight: 800;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps li.is-active b {
  border-color: transparent;
  background: linear-gradient(140deg, var(--gold-soft), var(--auth-accent) 55%, var(--auth-accent-dark));
  color: var(--gold-ink);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps li span {
  background: none;
  color: inherit;
}



/* =========================  右：内容区  ========================= */
:root[data-auth-style="style5"] body.auth-entry-page .auth-content {
  grid-column: 2;
  grid-row: 1;
  height: auto;
  min-height: 0;
  background: var(--g-surface);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-topbar {
  justify-content: flex-end;
  min-height: 62px;
  border-color: var(--g-line);
}

/* 品牌已经在导航轨上，顶栏只留工具 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-topbar .auth-brand {
  display: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-icon-btn,
:root[data-auth-style="style5"] body.auth-entry-page [data-language-toggle] {
  border: 1px solid var(--g-line);
  border-radius: 10px;
  background: var(--g-surface-2);
  color: var(--g-ink-2);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-icon-btn:hover {
  border-color: var(--auth-border);
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-language-menu {
  border: 1px solid var(--g-line);
  border-radius: 14px;
  background: var(--g-surface-2);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.6);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-language-menu button {
  color: var(--g-ink-2);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-language-menu button:hover {
  background: var(--g-surface-3);
  color: var(--auth-accent);
}

/* 表单落在一张浮卡里 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-main {
  width: min(100% - 56px, 384px);
  margin: 0 auto;
  padding: 48px 0 52px;
}

:root[data-auth-style="style5"] body.auth-page-register .auth-main {
  width: min(100% - 56px, 420px);
  justify-content: flex-start;
  padding-top: 40px;
}

:root[data-auth-style="style5"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style5"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style5"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style5"] body.auth-page-reset .auth-main {
  width: min(100% - 56px, 400px);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-form-heading {
  margin-bottom: 26px;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-form-heading h1 {
  color: var(--g-ink);
  font-size: clamp(22px, 1.8vw, 27px);
  font-weight: 820;
  letter-spacing: -0.03em;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-form-heading p {
  color: var(--g-muted);
  font-size: 13px;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-form-kicker,
:root[data-auth-style="style5"] body.auth-entry-page .auth-template-eyebrow,
:root[data-auth-style="style5"] body.auth-entry-page .auth-template-marker {
  display: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-form {
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* =====  表单展示：字段直接排在卡里，不再套第二层盒子  ===== */
:root[data-auth-form-style="style5"] body.auth-page-login .auth-form-section-credentials {
  border: 0;
  border-radius: 0;
  background: none;
}

:root[data-auth-form-style="style5"] body.auth-page-login .auth-form-section-heading {
  display: none;
}

:root[data-auth-form-style="style5"] body.auth-page-login .auth-form-section-body {
  gap: 0;
}

:root[data-auth-form-style="style5"] body.auth-page-login .auth-theme-field {
  gap: 0;
  padding: 10px 0 12px;
}

:root[data-auth-form-style="style5"] body.auth-page-login .auth-theme-field + .auth-theme-field {
  border-top: 1px solid var(--g-line);
}

:root[data-auth-form-style="style5"] body.auth-page-login .auth-theme-field-label {
  color: var(--g-faint);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 连体组里的输入框去掉自己的边框，靠分隔线区隔 */
:root[data-auth-form-style="style5"] body.auth-page-login .auth-form-section-credentials .auth-input,
:root[data-auth-form-style="style5"] body.auth-page-login .auth-form-section-credentials .auth-password-wrap {
  min-height: 32px;
  height: 32px;
  padding-right: 0;
  padding-left: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-auth-form-style="style5"] body.auth-page-login .auth-theme-field:focus-within {
  background: none;
}

:root[data-auth-form-style="style5"] body.auth-page-login .auth-theme-field:focus-within .auth-theme-field-label {
  color: var(--auth-accent);
}

/* =====  表单展示：分隔线分组（注册）  ===== */
:root[data-auth-form-style="style5"] body.auth-page-register .auth-form-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

:root[data-auth-form-style="style5"] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root[data-auth-form-style="style5"] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

:root[data-auth-form-style="style5"] body.auth-page-register .auth-form-section + .auth-form-section {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 0;
}

:root[data-auth-form-style="style5"] body.auth-page-register .auth-form-section-heading {
  display: block;
  margin-bottom: 12px;
}

:root[data-auth-form-style="style5"] body.auth-page-register .auth-form-section-heading span {
  color: var(--auth-accent);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

:root[data-auth-form-style="style5"] body.auth-entry-page .auth-form-section-heading small {
  display: none;
}

/* =====  表单展示：横向通道页签（找回）  ===== */
:root[data-auth-style="style5"] body.auth-page-forgot .auth-recovery-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
}

:root[data-auth-style="style5"] body.auth-page-forgot .auth-recovery-option {
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--g-surface-2);
  color: var(--g-muted);
}

:root[data-auth-style="style5"] body.auth-page-forgot .auth-recovery-option.is-active {
  background: var(--auth-accent-soft);
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-page-forgot .auth-recovery-icon {
  color: currentColor;
}

:root[data-auth-style="style5"] body.auth-page-forgot .auth-recovery-copy small {
  display: none;
}

/* =====  通用控件  ===== */
:root[data-auth-style="style5"] body.auth-entry-page .auth-field > span:first-child {
  color: var(--g-ink-2);
  font-size: 12px;
  font-weight: 700;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-input,
:root[data-auth-style="style5"] body.auth-entry-page .auth-select,
:root[data-auth-style="style5"] body.auth-entry-page .auth-phone-input,
:root[data-auth-style="style5"] body.auth-entry-page .auth-split-input,
:root[data-auth-style="style5"] body.auth-entry-page .auth-code-input,
:root[data-auth-style="style5"] body.auth-entry-page .auth-password-wrap {
  min-height: 54px;
  border: 1px solid var(--field-line);
  border-radius: 12px;
  background: var(--field-bg);
  color: var(--g-ink);
  transition: border-color 0.18s var(--ease-out), background 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-input:hover,
:root[data-auth-style="style5"] body.auth-entry-page .auth-select:hover,
:root[data-auth-style="style5"] body.auth-entry-page .auth-phone-input:hover,
:root[data-auth-style="style5"] body.auth-entry-page .auth-password-wrap:hover {
  border-color: var(--field-line-hover);
  background: var(--field-bg-hover);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-input::placeholder {
  color: var(--g-faint);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-input:focus,
:root[data-auth-style="style5"] body.auth-entry-page .auth-select:focus,
:root[data-auth-style="style5"] body.auth-entry-page .auth-code-input:focus,
:root[data-auth-style="style5"] body.auth-entry-page .auth-password-wrap:focus-within {
  border-color: rgba(247, 181, 44, 0.55);
  background: var(--field-bg-hover);
  box-shadow: 0 0 0 3px rgba(247, 181, 44, 0.13);
  outline: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-password-wrap .auth-input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-password-toggle,
:root[data-auth-style="style5"] body.auth-entry-page .auth-name-toggle {
  border: 0;
  background: transparent;
  color: var(--g-muted);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-password-toggle:hover,
:root[data-auth-style="style5"] body.auth-entry-page .auth-name-toggle:hover {
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-phone-prefix,
:root[data-auth-style="style5"] body.auth-entry-page select.auth-phone-prefix {
  border: 0;
  border-right: 1px solid var(--field-line);
  border-radius: 0;
  background-color: transparent;
  color: var(--g-ink-2);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-phone-input:focus-within .auth-phone-prefix {
  border-right-color: var(--field-line-hover);
}

:root[data-auth-style="style5"] body.auth-entry-page select.auth-phone-prefix {
  /* auth.css 的 dark 规则用 background 简写重置了箭头的 size/position，这里补回来 */
  background-image:
    linear-gradient(45deg, transparent 50%, var(--auth-accent) 50%),
    linear-gradient(135deg, var(--auth-accent) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat, no-repeat;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-phone-prefix::after,
:root[data-auth-style="style5"] body.auth-entry-page .auth-select-wrap::after {
  border-right-color: var(--auth-accent);
  border-bottom-color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-primary {
  min-height: 52px;
  border: 0;
  border-radius: 9px;
  background: var(--auth-accent);
  color: var(--gold-ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: background 0.16s;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-primary:hover {
  background: var(--gold-soft);
  filter: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-secondary,
:root[data-auth-style="style5"] body.auth-entry-page .auth-outline {
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: var(--g-surface-2);
  color: var(--g-ink-2);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-secondary:hover,
:root[data-auth-style="style5"] body.auth-entry-page .auth-outline:hover {
  background: var(--g-surface-3);
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-muted-link,
:root[data-auth-style="style5"] body.auth-entry-page .auth-link,
:root[data-auth-style="style5"] body.auth-entry-page .auth-heading-link,
:root[data-auth-style="style5"] body.auth-entry-page .auth-text-link,
:root[data-auth-style="style5"] body.auth-entry-page .auth-resend-button,
:root[data-auth-style="style5"] body.auth-entry-page .auth-icon-spark,
:root[data-auth-style="style5"] body.auth-entry-page .auth-rule.is-valid {
  color: var(--auth-accent);
  font-weight: 650;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-footer,
:root[data-auth-style="style5"] body.auth-entry-page .auth-footer a,
:root[data-auth-style="style5"] body.auth-entry-page .auth-optional,
:root[data-auth-style="style5"] body.auth-entry-page .auth-term-line,
:root[data-auth-style="style5"] body.auth-entry-page .auth-form-status,
:root[data-auth-style="style5"] body.auth-entry-page .auth-channel-heading,
:root[data-auth-style="style5"] body.auth-entry-page .auth-code-meta,
:root[data-auth-style="style5"] body.auth-entry-page .auth-countdown,
:root[data-auth-style="style5"] body.auth-entry-page .auth-helper-copy,
:root[data-auth-style="style5"] body.auth-entry-page .auth-rule {
  color: var(--g-muted);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-footer {
  border-color: var(--g-line);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-footer a:hover {
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-footer-divider {
  background: var(--g-line);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-check {
  color: var(--g-ink-2);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-check-box {
  border: 1px solid var(--g-line-2);
  border-radius: 6px;
  background: var(--g-surface-3);
  color: var(--gold-ink);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-check input:checked + .auth-check-box {
  border-color: transparent;
  background: linear-gradient(140deg, var(--gold-soft), var(--auth-accent) 55%, var(--auth-accent-dark));
}

:root[data-auth-style="style5"] body.auth-page-login .auth-social-divider {
  color: var(--g-faint);
  font-size: 11.5px;
  font-weight: 700;
}

:root[data-auth-style="style5"] body.auth-page-login .auth-social-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

:root[data-auth-style="style5"] body.auth-page-login .auth-social-btn {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: var(--g-surface-2);
  color: var(--g-ink-2);
  transition: background 0.16s;
}

:root[data-auth-style="style5"] body.auth-page-login .auth-social-btn:hover {
  background: var(--g-surface-3);
}

:root[data-auth-style="style5"] body.auth-page-login .auth-social-btn .auth-social-label {
  display: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-social-user svg {
  stroke: currentColor;
}

:root[data-auth-style="style5"] body.auth-page-login .auth-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-register-cta .auth-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-channel-option {
  border: 0;
  border-radius: 9px;
  background: var(--g-surface-2);
  color: var(--g-ink-2);
}

/* 说明性容器不再画成卡片，只留一条分隔线 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-channel-options,
:root[data-auth-style="style5"] body.auth-entry-page .auth-channel-target,
:root[data-auth-style="style5"] body.auth-entry-page .auth-email-summary,
:root[data-auth-style="style5"] body.auth-entry-page .auth-password-rules {
  padding-left: 0;
  padding-right: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--g-ink-2);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-channel-option.is-active {
  border-color: var(--auth-accent);
  background: var(--auth-accent-soft);
  color: var(--g-ink);
}

:root[data-auth-style="style5"] body.auth-page-reset .auth-field,
:root[data-auth-style="style5"] body.auth-page-forgot .auth-field,
:root[data-auth-style="style5"] body.auth-page-forgot-verify .auth-field,
:root[data-auth-style="style5"] body.auth-page-register-verify .auth-field {
  border-radius: 11px;
  background: transparent;
}

/* 注册 / 找回主表单里的三步进度收到卡片顶部 */
:root[data-auth-form-style="style5"] body.auth-page-register .auth-form-stepper,
:root[data-auth-form-style="style5"] body.auth-page-forgot .auth-form-stepper {
  display: none;
}


/* ---- 人机校验：做成带勾选框的验证条，而不是一个空按钮 ---- */
:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button] {
  position: relative;
  min-height: 56px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  border: 1px dashed var(--field-line-hover);
  border-radius: 12px;
  background: var(--field-bg);
  color: var(--g-ink-2);
  font-size: 13.5px;
  font-weight: 650;
  text-align: left;
  transition: border-color 0.18s var(--ease-out), background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

/* 左侧勾选框 */
:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button]::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border: 1.5px solid var(--field-line-hover);
  border-radius: 7px;
  background: transparent center / 14px 14px no-repeat;
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}

/* 右侧安全盾，验证通过后隐去 */
:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button]::after {
  content: "";
  width: 17px;
  height: 17px;
  margin-left: auto;
  flex: none;
  opacity: 0.5;
  background: currentColor;
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 4.6-2.9 8.6-7 10-4.1-1.4-7-5.4-7-10V6z'/%3E%3C/svg%3E");
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 4.6-2.9 8.6-7 10-4.1-1.4-7-5.4-7-10V6z'/%3E%3C/svg%3E");
}

:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button]:hover {
  border-color: rgba(247, 181, 44, 0.45);
  background: var(--field-bg-hover);
  color: var(--g-ink);
}

:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button]:hover::before {
  border-color: rgba(247, 181, 44, 0.6);
}

/* 已通过：实线金框 + 打勾 */
:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button].is-verified {
  border-style: solid;
  border-color: rgba(247, 181, 44, 0.42);
  background: var(--auth-accent-soft);
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button].is-verified::before {
  border-color: transparent;
  background-color: var(--auth-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1302' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button].is-verified::after {
  opacity: 0;
}

/* 未验证就提交：红边 + 轻微抖动 */
:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button].needs-verification {
  border-style: solid;
  border-color: rgba(224, 57, 62, 0.65);
  color: #ff7b7f;
  animation: auth-captcha-shake 0.4s var(--ease-out);
}

:root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button].needs-verification::before {
  border-color: rgba(224, 57, 62, 0.65);
}

@keyframes auth-captcha-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  45% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  :root[data-auth-style="style5"] body.auth-entry-page [data-captcha-button].needs-verification {
    animation: none;
  }
}

:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page [data-captcha-button].is-verified {
  color: var(--auth-accent-dark);
}


/* ---- 页面里不出现分隔线，层级只用留白和金色小标题表达 ---- */
:root[data-auth-style="style5"] body.auth-entry-page .auth-form-heading,
:root[data-auth-style="style5"] body.auth-entry-page .auth-register-heading,
:root[data-auth-style="style5"] body.auth-entry-page .auth-term-line,
:root[data-auth-style="style5"] body.auth-entry-page .auth-action-row,
:root[data-auth-style="style5"] body.auth-entry-page .auth-social,
:root[data-auth-style="style5"] body.auth-entry-page .auth-register-cta {
  border: 0;
}

/* 「已有账号？登录」从描边胶囊改成纯文字链接 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-heading-link {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--auth-accent);
  font-size: 12.5px;
  font-weight: 650;
}

:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-heading-link {
  color: var(--auth-accent-dark);
}

/* 快捷登录那条「文字夹在两条线之间」的分隔也去掉 */
:root[data-auth-style="style5"] body.auth-page-login .auth-social-divider::before,
:root[data-auth-style="style5"] body.auth-page-login .auth-social-divider::after {
  display: none;
}

:root[data-auth-style="style5"] body.auth-page-login .auth-social-divider {
  text-align: center;
}


/* =========================================================================
   Style 5 —— 代理申请页（auth-page-agent）
   同一套外壳：左品牌位 + 右表单；字段同样一行一个
   ========================================================================= */
/* 顶栏品牌已在左侧，原本被页面隐藏的主题 / 语言按钮放出来，保持各页一致 */
:root[data-auth-style="style5"] body.auth-page-agent .auth-tools {
  display: flex;
}

:root[data-auth-style="style5"] body.auth-page-agent .auth-topbar {
  min-height: 62px;
  padding: 0 clamp(20px, 2.4vw, 32px);
}

:root[data-auth-style="style5"] body.auth-page-agent .auth-main {
  width: min(100% - 56px, 420px);
  justify-content: flex-start;
  padding: 34px 0 44px;
}

/* 代理申请每一步的字段栅格：改成单列 */
:root[data-auth-style="style5"] body.auth-page-agent .auth-agent-step {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

:root[data-auth-style="style5"] body.auth-page-agent .auth-agent-step > * {
  grid-column: 1 / -1;
}

:root[data-auth-style="style5"] body.auth-page-agent .auth-agent-form {
  gap: 14px;
}

/* =========================================================================
   Style 5 —— 准入路径选择页（无左侧品牌位，单栏居中）
   ========================================================================= */
:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-shell {
  grid-template-columns: minmax(0, 1fr);
}

:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-content {
  grid-column: 1;
}

:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-main {
  width: min(100% - 56px, 720px);
}




/* 准入路径选择页：渠道图标与国家控件去掉蓝底 */
:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-selection-option .auth-channel-icon {
  border-color: var(--field-line);
  background: var(--field-bg);
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-selection-option .auth-channel-icon svg,
:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-selection-option .auth-channel-icon svg * {
  stroke: currentColor;
}

:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-country-control,
:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-selection-country {
  border-color: var(--field-line);
  background: var(--field-bg);
}

:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-country-unlock,
:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-channel-check {
  color: var(--auth-accent);
}

:root[data-auth-style="style5"] body.auth-page-onboarding-select .auth-selection-option.is-active .auth-channel-icon {
  border-color: var(--auth-border);
  background: var(--auth-accent-soft);
}

/* =========================================================================
   Style 5 —— 准入流程页（onboarding-flow 那一套布局）
   这套页面是 token 驱动的，直接改变量整体换肤，不逐个组件改写
   ========================================================================= */
:root[data-auth-style="style5"] body.onboarding-public-page {
  --onboarding-page: #060607;
  --onboarding-surface: #141417;
  --onboarding-surface-soft: #1a1a1e;
  --onboarding-border: rgba(255, 255, 255, 0.1);
  --onboarding-border-light: rgba(255, 255, 255, 0.07);
  --onboarding-text: #f3f4f6;
  --onboarding-muted: #8d919b;
  --onboarding-accent: #f7b52c;
  --onboarding-accent-dark: #d9930d;
  --onboarding-accent-soft: rgba(247, 181, 44, 0.12);
  --onboarding-rail-bg: #0a0a0c;
  --onboarding-rail-text: #f3f4f6;
  --onboarding-rail-muted: #8d919b;

  /* 这套页面还直接引用了一组蓝色 token，一并换掉 */
  --blue: #f7b52c;
  --blue-rgb: 247, 181, 44;
  --blue-dark: #d9930d;
  --blue-deep: #b8790a;
  --blue-soft: rgba(247, 181, 44, 0.12);
  --blue-ink: #1a1302;

  background:
    radial-gradient(760px 420px at 78% -8%, rgba(247, 181, 44, 0.12), transparent 70%),
    var(--onboarding-page);
  color: var(--onboarding-text);
}

/* 金底上的字必须是深墨，白字在金色上读不出来 */
:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-next-button,
:root[data-auth-style="style5"] body.onboarding-public-page .auth-primary {
  background: var(--onboarding-accent);
  color: #1a1302;
  font-weight: 800;
  box-shadow: none;
}

:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-next-button:hover,
:root[data-auth-style="style5"] body.onboarding-public-page .auth-primary:hover {
  background: #ffd166;
}

/* 选中态的卡片：金色描边 + 金色微填充 */
:root[data-auth-style="style5"] body.onboarding-public-page .choice-card.is-active,
:root[data-auth-style="style5"] body.onboarding-public-page .account.is-active {
  border-color: var(--onboarding-accent);
  background: var(--onboarding-accent-soft);
}

:root[data-auth-style="style5"] body.onboarding-public-page .account-icon,
:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-auth-switch-item.is-active {
  color: var(--onboarding-accent);
}

:root[data-auth-style="style5"] body.onboarding-public-page .auth-logo-mark path {
  fill: var(--onboarding-accent);
}


/* onboarding-flow.css 里有一批写死 #fff 的表面，token 覆盖不到，单独收一遍 */
:root[data-auth-style="style5"] body.onboarding-public-page .status-timeline li > div,
:root[data-auth-style="style5"] body.onboarding-public-page .status-timeline li.is-done > div,
:root[data-auth-style="style5"] body.onboarding-public-page .status-supplement-task li,
:root[data-auth-style="style5"] body.onboarding-public-page .status-section-head span,
:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-supplement-banner li,
:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-supplement-banner textarea,
:root[data-auth-style="style5"] body.onboarding-public-page .questionnaire-policy-note,
:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-auth-switch a:hover {
  background: var(--onboarding-surface);
  color: var(--onboarding-text);
  border-color: var(--onboarding-border);
}

:root[data-auth-style="style5"] body.onboarding-public-page .status-timeline li.is-pending b {
  background: var(--onboarding-surface-soft);
  color: var(--onboarding-muted);
}

:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-choice-card.selected,
:root[data-auth-style="style5"] body.onboarding-public-page .onboarding-choice-card:has(input:checked) {
  background: var(--onboarding-accent-soft);
  border-color: var(--onboarding-accent);
}

/* 状态页顶部那条浅色横幅 */
:root[data-auth-style="style5"] body.onboarding-status-page .status-card > header,
:root[data-auth-style="style5"] body.onboarding-status-page .onboarding-status-header {
  background: linear-gradient(120deg, var(--onboarding-accent-soft), transparent 62%), var(--onboarding-surface);
  color: var(--onboarding-text);
}

:root[data-theme="light"][data-auth-style="style5"] body.onboarding-public-page {
  --onboarding-page: #f1f2f5;
  --onboarding-surface: #ffffff;
  --onboarding-surface-soft: #f7f8fa;
  --onboarding-border: #dfe2e8;
  --onboarding-border-light: #e6e8ec;
  --onboarding-text: #111214;
  --onboarding-muted: #6b7280;
  --onboarding-accent: #d9930d;
  --onboarding-accent-dark: #b8790a;
  --onboarding-rail-bg: #ffffff;
  --onboarding-rail-text: #111214;
  --onboarding-rail-muted: #6b7280;

  --blue: #d9930d;
  --blue-rgb: 217, 147, 13;
}


/* =========================================================================
   Style 5 白天档：象牙金控制台
   ========================================================================= */
:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page {
  --g-surface: #ffffff;
  --g-surface-2: #ffffff;
  --g-surface-3: #f7f8fa;
  --g-line: #e6e8ec;
  --g-line-2: #d7dae1;
  --g-ink: #111214;
  --g-ink-2: #3b3f47;
  --g-muted: #6b7280;
  --g-faint: #9aa0aa;
  --g-rail: #ffffff;
  --g-rail-2: #f8f9fb;

  --field-bg: #ffffff;
  --field-bg-hover: #ffffff;
  --field-line: #dfe2e8;
  --field-line-hover: #c7ccd6;

  background:
    radial-gradient(760px 420px at 78% -8%, rgba(247, 181, 44, 0.16), transparent 70%),
    radial-gradient(620px 360px at 8% 4%, rgba(247, 181, 44, 0.07), transparent 72%),
    #f1f2f5;
  color: var(--g-ink);
}

:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-shell {
  border-color: rgba(247, 181, 44, 0.26);
  box-shadow: 0 1px 2px rgba(17, 18, 20, 0.04), 0 14px 34px rgba(17, 18, 20, 0.07);
}

:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page {
  --g-surface-2: #f3f4f7;
  --g-surface-3: #eaecf1;
}

:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-form {
  background: none;
  box-shadow: none;
}

:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-muted-link,
:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-link,
:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-heading-link,
:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-text-link,
:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-resend-button,
:root[data-theme="light"][data-auth-style="style5"] body.auth-entry-page .auth-register-cta .auth-link,
:root[data-theme="light"][data-auth-form-style="style5"] body.auth-page-register .auth-form-section-heading span {
  color: var(--auth-accent-dark);
}

:root[data-theme="light"][data-auth-style="style5"] body.auth-page-forgot .auth-recovery-option.is-active,
:root[data-theme="light"][data-auth-form-style="style5"] body.auth-page-login .auth-theme-field:focus-within .auth-theme-field-label {
  color: var(--auth-accent-dark);
}

/* =========================================================================
   Style 5 响应式：导航轨在窄屏收成顶部横条
   ========================================================================= */
@media (max-width: 1080px) {
  :root[data-auth-style="style5"] body.auth-entry-page {
    padding: 0;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  /* 品牌位收成顶部横幅，视频照常播 */
  :root[data-auth-style="style5"] body.auth-entry-page .auth-visual {
    grid-row: 1;
    min-height: 238px;
    border-right: 0;
    border-bottom: 1px solid var(--g-line);
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-panel {
    padding: 16px 18px 18px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-copy {
    margin-top: 14px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stage {
    min-height: 150px;
    margin: 6px 0 0;
  }

  /* 横幅模式下地球别抢版面 */
  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-orb {
    width: min(100%, 240px);
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-copy p {
    max-width: 46ch;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 12px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-content {
    grid-column: 1;
    grid-row: 2;
    height: auto;
  }
}

@media (max-width: 640px) {
  :root[data-auth-style="style5"] body.auth-entry-page .auth-visual {
    min-height: 190px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-mark {
    width: 34px;
    height: 34px;
    padding-bottom: 9px;
    box-shadow: none;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-copy p,
  :root[data-auth-style="style5"] body.auth-entry-page .auth-rail-steps li span {
    display: none;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stage {
    min-height: 120px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-orb {
    width: min(100%, 190px);
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats li {
    padding: 8px 10px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-brand-stats b {
    font-size: 15px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-topbar {
    min-height: 46px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-main,
  :root[data-auth-style="style5"] body.auth-page-register .auth-main,
  :root[data-auth-style="style5"] body.auth-page-forgot .auth-main {
    width: min(100% - 28px, 460px);
    padding: 20px 0 28px;
  }

  :root[data-auth-style="style5"] body.auth-entry-page .auth-form {
    padding: 16px 14px;
  }
}

:root[data-auth-style="style5"] body.auth-page-forgot .auth-recovery-icon svg {
  stroke: currentColor;
  fill: none;
}

/* 通道图标里的绿色小勾同样跟随当前色 */
:root[data-auth-style="style5"] body.auth-page-forgot .auth-recovery-icon svg *,
:root[data-auth-style="style5"] body.auth-entry-page .auth-channel-option svg * {
  stroke: currentColor;
}

/* 姓名副输入框与未选中的下拉：去掉残留的浅蓝 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-name-variant {
  border: 0;
  background: none;
}

/* 组合控件（姓名、手机）：边框只画在外层，内部输入靠一条细线区隔 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-split-input .auth-input,
:root[data-auth-style="style5"] body.auth-entry-page .auth-phone-input .auth-input {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-split-input .auth-input + .auth-input {
  border-left: 1px solid var(--field-line);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-split-input:focus-within,
:root[data-auth-style="style5"] body.auth-entry-page .auth-phone-input:focus-within {
  border-color: rgba(247, 181, 44, 0.55);
  background: var(--field-bg-hover);
  box-shadow: 0 0 0 3px rgba(247, 181, 44, 0.13);
}

/* 聚焦哪一半，中间那条线就跟着亮一档 */
:root[data-auth-style="style5"] body.auth-entry-page .auth-split-input:focus-within .auth-input + .auth-input {
  border-left-color: var(--field-line-hover);
}

:root[data-auth-style="style5"] body.auth-entry-page .auth-select:invalid,
:root[data-auth-style="style5"] body.auth-entry-page .auth-select option[value=""] {
  color: var(--g-faint);
}


/* =========================================================================
   注册页重制（style1 / style2 / style3 / style4）
   黑金（style5）不参与，保持原样。
   四套模板原先只是换了主色，注册页看上去几乎一样；这里让每套模板
   在展示位、进度、分组和控件上都走各自的表达方式。
   ========================================================================= */

/* ---------------  共用骨架：结构一致，配色与质感各模板自己给  --------------- */

/* 左侧展示位：导语 + 三步进度 + 实力数据（style1 是浮卡压全图，不用这块） */
:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-visual {
  display: grid;
  gap: 0;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-eyebrow small {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-rail-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-rail-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 760;
  opacity: 0.6;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-rail-steps li.is-active {
  opacity: 1;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-rail-steps b {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  list-style: none;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-metrics li {
  display: grid;
  gap: 2px;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-metrics b {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-metrics small {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
}

/* 分组标题统一带编号，编号写在 data 属性上，四套模板各自决定怎么画 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-heading::before {
  content: attr(data-section-index);
}

/* 必填字段在标签后补一个主色小点，比星号安静 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-field[data-auth-field-required="true"] > span:first-child::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 1px;
  align-self: flex-start;
  border-radius: 50%;
  background: var(--auth-accent);
}

/* 安全承诺条：把原来空荡荡的条款行补成有内容的一段 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 1px 10px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--auth-border);
  border-radius: 12px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li::before {
  content: "";
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  background: var(--auth-accent);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li[data-assurance="shield"]::before {
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5.2c0 4.4-2.9 8.3-7 9.8-4.1-1.5-7-5.4-7-9.8V6z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E");
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5.2c0 4.4-2.9 8.3-7 9.8-4.1-1.5-7-5.4-7-9.8V6z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E");
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li[data-assurance="vault"]::before {
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2.6'/%3E%3Cpath d='M8 10V7.2a4 4 0 0 1 8 0V10'/%3E%3Cpath d='M12 14.4v2.6'/%3E%3C/svg%3E");
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2.6'/%3E%3Cpath d='M8 10V7.2a4 4 0 0 1 8 0V10'/%3E%3Cpath d='M12 14.4v2.6'/%3E%3C/svg%3E");
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li[data-assurance="badge"]::before {
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5.4'/%3E%3Cpath d='m8.6 13.6-1.3 7 4.7-2.6 4.7 2.6-1.3-7'/%3E%3C/svg%3E");
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='5.4'/%3E%3Cpath d='m8.6 13.6-1.3 7 4.7-2.6 4.7 2.6-1.3-7'/%3E%3C/svg%3E");
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance b {
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.3;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance small {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0.72;
}

/* 人机校验：统一做成带勾选框的验证条，不再是一个空描边按钮 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button] {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  border: 1px dashed var(--auth-border);
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button]::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border: 1.5px solid var(--auth-border);
  border-radius: 7px;
  background: transparent center / 14px 14px no-repeat;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button]::after {
  content: "";
  width: 17px;
  height: 17px;
  margin-left: auto;
  flex: none;
  opacity: 0.45;
  background: currentColor;
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 4.6-2.9 8.6-7 10-4.1-1.4-7-5.4-7-10V6z'/%3E%3C/svg%3E");
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 4.6-2.9 8.6-7 10-4.1-1.4-7-5.4-7-10V6z'/%3E%3C/svg%3E");
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button]:hover {
  border-color: var(--auth-accent);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button].is-verified {
  border-style: solid;
  border-color: var(--auth-accent);
  background: var(--auth-accent-soft);
  color: var(--auth-accent);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button].is-verified::before {
  border-color: transparent;
  background-color: var(--auth-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button].is-verified::after {
  opacity: 0;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button].needs-verification {
  border-style: solid;
  border-color: #e0393e;
  color: #e0393e;
  animation: auth-captcha-shake 0.4s ease;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button].needs-verification::before {
  border-color: #e0393e;
}


/* ---------------  Style 1 · 安全面板：金线浮卡 + 连贯进度轨  --------------- */
/* 浮卡压在整幅图上，所以展示位文案继续隐藏，分量全放在卡里。 */

:root[data-auth-style="style1"] body.auth-page-register .auth-main {
  position: relative;
  width: min(100% - 48px, 880px);
  margin: 22px auto 34px;
  padding: 34px 40px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(36, 127, 255, 0) 0%, #247fff 22%, #8cbcff 50%, #247fff 78%, rgba(36, 127, 255, 0) 100%) top / 100% 2px no-repeat,
    radial-gradient(120% 88% at 12% -12%, rgba(36, 127, 255, 0.16), rgba(36, 127, 255, 0) 58%),
    linear-gradient(180deg, rgba(18, 21, 27, 0.965), rgba(10, 12, 16, 0.975));
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.52);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-heading,
:root[data-auth-style="style1"] body.auth-page-register .auth-form-heading h1,
:root[data-auth-style="style1"] body.auth-page-register .auth-form-heading p {
  text-align: left;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-heading {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-heading h1 {
  font-size: clamp(26px, 2.1vw, 32px);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-kicker {
  color: #6ba9ff;
  font-size: 11px;
  letter-spacing: 0.17em;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-heading-link {
  top: 4px;
  border-color: rgba(36, 127, 255, 0.34);
  background: rgba(36, 127, 255, 0.1);
  color: #6ba9ff;
}

/* 进度做成「圆片 + 连接轨」，走过的一段是金色渐隐 */
:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper li {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 9px;
  padding: 0 16px 0 0;
  border: 0;
  color: #7f8998;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 34px;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper li.is-active:not(:last-child)::after {
  background: linear-gradient(90deg, rgba(36, 127, 255, 0.85), rgba(36, 127, 255, 0.1));
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper b {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #9aa3b1;
  font-size: 11.5px;
  font-weight: 900;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper span {
  color: #97a0ae;
  font-size: 12.5px;
  font-weight: 800;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper li.is-active b {
  border-color: rgba(36, 127, 255, 0.75);
  background: linear-gradient(180deg, #4894ff, #247fff);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(36, 127, 255, 0.26);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper li.is-active span {
  color: #f6f8fa;
}

/* 分组：暗玻璃小面板 + 金色编号方片 */
:root[data-auth-style="style1"] body.auth-page-register .auth-form-section {
  padding: 20px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018));
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-section-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 1px 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-section-heading::before {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 127, 255, 0.38);
  border-radius: 11px;
  background: rgba(36, 127, 255, 0.12);
  color: #6ba9ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-section-heading span {
  color: #f2f4f7;
  font-size: 14.5px;
  font-weight: 850;
  letter-spacing: 0;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-section-heading small {
  color: #8b94a2;
  font-size: 11.5px;
  font-weight: 650;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root[data-auth-style="style1"] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-field[data-auth-field="name"] {
  grid-column: 1 / -1;
}

/* 控件：更高、更圆，聚焦是一圈金色光晕 */
:root[data-auth-style="style1"] body.auth-page-register .auth-input,
:root[data-auth-style="style1"] body.auth-page-register .auth-select,
:root[data-auth-style="style1"] body.auth-page-register .auth-phone-input,
:root[data-auth-style="style1"] body.auth-page-register .auth-split-input,
:root[data-auth-style="style1"] body.auth-page-register .auth-password-wrap {
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-input:hover,
:root[data-auth-style="style1"] body.auth-page-register .auth-select:hover,
:root[data-auth-style="style1"] body.auth-page-register .auth-phone-input:hover,
:root[data-auth-style="style1"] body.auth-page-register .auth-split-input:hover,
:root[data-auth-style="style1"] body.auth-page-register .auth-password-wrap:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-input:focus,
:root[data-auth-style="style1"] body.auth-page-register .auth-select:focus,
:root[data-auth-style="style1"] body.auth-page-register .auth-phone-input:focus-within,
:root[data-auth-style="style1"] body.auth-page-register .auth-split-input:focus-within,
:root[data-auth-style="style1"] body.auth-page-register .auth-password-wrap:focus-within {
  border-color: rgba(36, 127, 255, 0.6);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(36, 127, 255, 0.14);
  outline: none;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-split-input .auth-input,
:root[data-auth-style="style1"] body.auth-page-register .auth-phone-input .auth-input,
:root[data-auth-style="style1"] body.auth-page-register .auth-password-wrap .auth-input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-phone-prefix,
:root[data-auth-style="style1"] body.auth-page-register select.auth-phone-prefix {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  background-color: transparent;
  color: #e7eaef;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-password-toggle,
:root[data-auth-style="style1"] body.auth-page-register .auth-name-toggle {
  border: 0;
  background: transparent;
  color: #8b94a2;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-password-toggle:hover,
:root[data-auth-style="style1"] body.auth-page-register .auth-name-toggle:hover {
  color: #6ba9ff;
}

:root[data-auth-style="style1"] body.auth-page-register [data-captcha-button] {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: #c3cbd6;
}

:root[data-auth-style="style1"] body.auth-page-register [data-captcha-button]::before {
  border-color: rgba(255, 255, 255, 0.24);
}

:root[data-auth-style="style1"] body.auth-page-register [data-captcha-button].is-verified {
  border-color: rgba(36, 127, 255, 0.5);
  background: rgba(36, 127, 255, 0.11);
  color: #6ba9ff;
}

:root[data-auth-style="style1"] body.auth-page-register [data-captcha-button].is-verified::before {
  background-color: #247fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

:root[data-auth-style="style1"] body.auth-page-register .auth-register-assurance li {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-register-assurance li::before {
  background: #6ba9ff;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-register-assurance b {
  color: #eef1f5;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-register-assurance small {
  color: #8b94a2;
  opacity: 1;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-term-line {
  border-top-color: rgba(255, 255, 255, 0.09);
  color: #98a1af;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-term-line a {
  color: #6ba9ff;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-register-action-row {
  grid-template-columns: 150px minmax(0, 1fr);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-primary {
  border-color: transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, #4894ff, #247fff);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(36, 127, 255, 0.24);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-primary:hover {
  background: linear-gradient(180deg, #6ba9ff, #4894ff);
}

:root[data-auth-style="style1"] body.auth-page-register .auth-secondary {
  border-radius: 12px;
}


/* ---------------  Style 2 · 步骤向导：紫色进度卡 + 编号分组  --------------- */

:root[data-auth-style="style2"] body.auth-page-register .auth-visual::before {
  background: linear-gradient(168deg, rgba(8, 38, 84, 0.28) 0%, rgba(6, 26, 60, 0.9) 76%);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-visual-caption {
  inset: auto 36px 40px;
  color: #fff;
  text-shadow: none;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-visual-kicker {
  color: #b7d5ff;
  letter-spacing: 0.17em;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-visual-eyebrow small {
  color: rgba(255, 255, 255, 0.72);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-visual-caption strong {
  font-size: clamp(27px, 2.7vw, 38px);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-visual-copy {
  color: rgba(255, 255, 255, 0.78);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-rail-steps li {
  color: rgba(255, 255, 255, 0.92);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-rail-steps li.is-active b {
  border-color: transparent;
  background: #fff;
  color: #0f63de;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-visual-metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 顶部进度：单独做成一张浅紫渐变卡，走完的一段轨道也是紫色 */
:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper {
  gap: 0;
  margin: 0 0 24px;
  padding: 20px 22px 17px;
  border: 1px solid #dbe8fb;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4f9ff, #fff);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper li::after {
  top: 17px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  border-radius: 2px;
  background: #dce9fa;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper li.is-active::after {
  background: linear-gradient(90deg, #247fff, #dce9fa);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper b {
  width: 34px;
  height: 34px;
  border: 1.5px solid #d5e5fa;
  color: #9aa1ad;
  font-size: 11.5px;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper span {
  font-size: 12.5px;
  font-weight: 800;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper li.is-active b {
  border-color: transparent;
  background: linear-gradient(135deg, #4894ff, #0f63de);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(36, 127, 255, 0.14);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-heading,
:root[data-auth-style="style2"] body.auth-page-register .auth-form-heading h1,
:root[data-auth-style="style2"] body.auth-page-register .auth-form-heading p {
  text-align: left;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-heading {
  margin-bottom: 22px;
  padding-bottom: 0;
  border-bottom: 0;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-heading h1 {
  font-size: clamp(27px, 2.2vw, 34px);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-kicker {
  letter-spacing: 0.17em;
  font-size: 11px;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-heading-link {
  top: 2px;
  border-color: rgba(36, 127, 255, 0.22);
  background: rgba(36, 127, 255, 0.08);
  color: #247fff;
}

/* 分组：白卡 + 紫色编号圆片，标题与说明并排 */
:root[data-auth-style="style2"] body.auth-page-register .auth-form-section {
  padding: 22px;
  border: 1px solid #dee9f8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 60, 120, 0.055);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-section-heading {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 1px 12px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eaf1fb;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-section-heading::before {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4894ff, #0f63de);
  color: #fff;
  font-size: 11.5px;
  font-weight: 900;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-section-heading span {
  color: #1d2333;
  font-size: 15px;
  font-weight: 900;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-section-heading small {
  color: #8b91a5;
  font-size: 11.5px;
  font-weight: 700;
  text-align: left;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root[data-auth-style="style2"] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-field[data-auth-field="name"] {
  grid-column: 1 / -1;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-input,
:root[data-auth-style="style2"] body.auth-page-register .auth-select,
:root[data-auth-style="style2"] body.auth-page-register .auth-phone-input,
:root[data-auth-style="style2"] body.auth-page-register .auth-split-input,
:root[data-auth-style="style2"] body.auth-page-register .auth-password-wrap {
  min-height: 52px;
  border-radius: 11px;
  background: #fafcff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-input:hover,
:root[data-auth-style="style2"] body.auth-page-register .auth-select:hover,
:root[data-auth-style="style2"] body.auth-page-register .auth-phone-input:hover,
:root[data-auth-style="style2"] body.auth-page-register .auth-split-input:hover,
:root[data-auth-style="style2"] body.auth-page-register .auth-password-wrap:hover {
  border-color: #b6d2f6;
  background: #fff;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-input:focus,
:root[data-auth-style="style2"] body.auth-page-register .auth-select:focus,
:root[data-auth-style="style2"] body.auth-page-register .auth-phone-input:focus-within,
:root[data-auth-style="style2"] body.auth-page-register .auth-split-input:focus-within,
:root[data-auth-style="style2"] body.auth-page-register .auth-password-wrap:focus-within {
  border-color: #247fff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 127, 255, 0.14);
  outline: none;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-split-input .auth-input,
:root[data-auth-style="style2"] body.auth-page-register .auth-phone-input .auth-input,
:root[data-auth-style="style2"] body.auth-page-register .auth-password-wrap .auth-input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-auth-style="style2"] body.auth-page-register [data-captcha-button] {
  border-color: #cfe0f8;
  background: #f6faff;
  color: #6b6f81;
}

:root[data-auth-style="style2"] body.auth-page-register [data-captcha-button]::before {
  border-color: #c3d9f4;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-register-assurance li {
  border-color: #e6eefa;
  background: #f8fbff;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-register-assurance b {
  color: #232838;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-register-assurance small {
  color: #868ca0;
  opacity: 1;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-register-action-row {
  grid-template-columns: 136px minmax(0, 1fr);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-primary {
  border-color: transparent;
  border-radius: 11px;
  background: linear-gradient(135deg, #4894ff, #0f63de);
  box-shadow: 0 14px 30px rgba(36, 127, 255, 0.26);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-primary:hover {
  background: linear-gradient(135deg, #5a9eff, #1a72ec);
}

:root[data-auth-style="style2"] body.auth-page-register .auth-secondary {
  border-radius: 11px;
}


/* ---------------  Style 3 · 分段工作台：图标分组面板 + 胶囊进度  --------------- */

:root[data-auth-style="style3"] body.auth-page-register .auth-visual::before {
  background: linear-gradient(200deg, rgba(9, 40, 82, 0.06) 0%, rgba(9, 40, 82, 0.3) 100%);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-visual-caption {
  inset: auto 30px 30px;
  padding: 22px 24px 24px;
  border-color: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(249, 252, 255, 0.9);
  box-shadow: 0 20px 50px rgba(12, 40, 76, 0.16);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-visual-kicker {
  color: #247fff;
  letter-spacing: 0.16em;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-visual-eyebrow small {
  color: #7b93ab;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-rail-steps li {
  color: #4a6684;
  opacity: 0.72;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-rail-steps li.is-active {
  color: #14385e;
  opacity: 1;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-rail-steps li.is-active b {
  border-color: transparent;
  background: #247fff;
  color: #fff;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-visual-metrics {
  border-top: 1px solid rgba(36, 127, 255, 0.16);
  color: #14385e;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-visual-metrics small {
  color: #61799a;
  opacity: 1;
}

/* 顶部分段切换：更大的滑块，激活项是抬起的白片 */
:root[data-auth-style="style3"] body.auth-page-register .auth-theme-mode-switch {
  gap: 5px;
  margin-bottom: 24px;
  padding: 5px;
  border: 1px solid #e3eaf2;
  border-radius: 14px;
  background: #eff3f8;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-theme-mode-switch a {
  min-height: 44px;
  border-radius: 10px;
  font-size: 14.5px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-theme-mode-switch a.is-active {
  color: #0f2543;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 45, 90, 0.11);
}

/* 进度改成一排胶囊，去掉原来的斜杠分隔 */
:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 22px;
  padding: 0;
  list-style: none;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper li + li::before {
  content: none;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 7px;
  border: 1px solid #dde7f3;
  border-radius: 999px;
  background: #f6faff;
  color: #7b8a9c;
  font-size: 11.5px;
  font-weight: 850;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper b {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e2edfa;
  color: #6a8299;
  font-size: 10px;
  font-weight: 900;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper li.is-active {
  border-color: rgba(36, 127, 255, 0.4);
  background: rgba(36, 127, 255, 0.09);
  color: #247fff;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper li.is-active b {
  background: #247fff;
  color: #fff;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-heading {
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: 0;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-heading h1 {
  font-size: clamp(27px, 2.2vw, 34px);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-heading-link {
  top: 2px;
  border-color: rgba(36, 127, 255, 0.22);
  background: rgba(36, 127, 255, 0.08);
  color: #247fff;
}

/* 分组：带蓝色标题条的工作台面板，编号位换成图标 */
:root[data-auth-style="style3"] body.auth-page-register .auth-form-section {
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 54, 91, 0.055);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-heading {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 1px 11px;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid #e3edf8;
  background: linear-gradient(180deg, #f5faff, #edf4fd);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-heading::before {
  content: "";
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #247fff center / 18px 18px no-repeat;
  box-shadow: 0 6px 16px rgba(36, 127, 255, 0.28);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-profile .auth-form-section-heading::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.2' r='3.6'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-security .auth-form-section-heading::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.6' y='10' width='14.8' height='10.4' rx='2.5'/%3E%3Cpath d='M8.3 10V7.4a3.7 3.7 0 0 1 7.4 0V10'/%3E%3C/svg%3E");
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-heading span {
  color: #12294a;
  font-size: 14.5px;
  font-weight: 900;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-heading small {
  color: #7b8ea3;
  font-size: 11.5px;
  font-weight: 700;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-body {
  padding: 18px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-field[data-auth-field="name"] {
  grid-column: 1 / -1;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-input,
:root[data-auth-style="style3"] body.auth-page-register .auth-select,
:root[data-auth-style="style3"] body.auth-page-register .auth-phone-input,
:root[data-auth-style="style3"] body.auth-page-register .auth-split-input,
:root[data-auth-style="style3"] body.auth-page-register .auth-password-wrap {
  min-height: 52px;
  border-color: #dce6f2;
  border-radius: 13px;
  background: #f7fbff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-input:hover,
:root[data-auth-style="style3"] body.auth-page-register .auth-select:hover,
:root[data-auth-style="style3"] body.auth-page-register .auth-phone-input:hover,
:root[data-auth-style="style3"] body.auth-page-register .auth-split-input:hover,
:root[data-auth-style="style3"] body.auth-page-register .auth-password-wrap:hover {
  border-color: #b6d0ef;
  background: #fff;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-input:focus,
:root[data-auth-style="style3"] body.auth-page-register .auth-select:focus,
:root[data-auth-style="style3"] body.auth-page-register .auth-phone-input:focus-within,
:root[data-auth-style="style3"] body.auth-page-register .auth-split-input:focus-within,
:root[data-auth-style="style3"] body.auth-page-register .auth-password-wrap:focus-within {
  border-color: #247fff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 127, 255, 0.14);
  outline: none;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-split-input .auth-input,
:root[data-auth-style="style3"] body.auth-page-register .auth-phone-input .auth-input,
:root[data-auth-style="style3"] body.auth-page-register .auth-password-wrap .auth-input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-auth-style="style3"] body.auth-page-register [data-captcha-button] {
  border-color: #cfe0f5;
  border-radius: 13px;
  background: #f7fbff;
  color: #64798f;
}

:root[data-auth-style="style3"] body.auth-page-register [data-captcha-button]::before {
  border-color: #c2d7ef;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-register-assurance li {
  border-color: #e2ecf7;
  border-radius: 13px;
  background: #f7fbff;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-register-assurance b {
  color: #12294a;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-register-assurance small {
  color: #7b8ea3;
  opacity: 1;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-register-action-row {
  grid-template-columns: 132px minmax(0, 1fr);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-primary {
  border-radius: 13px;
  box-shadow: 0 14px 30px rgba(36, 127, 255, 0.24);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-secondary {
  border-radius: 13px;
}


/* ---------------  Style 4 · 编辑式章节：衬线章节号 + 下划线控件  --------------- */

:root[data-auth-style="style4"] body.auth-page-register .auth-visual::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.78) 26%, rgba(255, 255, 255, 0.2) 52%, rgba(255, 255, 255, 0) 66%, rgba(9, 20, 34, 0.34) 100%);
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-caption {
  inset: 44px auto auto 46px;
  width: min(64%, 460px);
  color: #13263c;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-eyebrow {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(19, 38, 60, 0.28);
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-kicker {
  color: #247fff;
  font-size: 11px;
  letter-spacing: 0.2em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-eyebrow small {
  color: #5d7089;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.12em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-caption strong {
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-rail-steps {
  gap: 12px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-rail-steps li {
  color: #4f6379;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  opacity: 0.68;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-rail-steps li.is-active {
  color: #102338;
  opacity: 1;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-rail-steps b {
  border-radius: 0;
  border-width: 0 0 1px;
  width: 20px;
  height: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-metrics {
  border-top: 1px solid rgba(19, 38, 60, 0.24);
  color: #13263c;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-metrics b {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 24px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-metrics small {
  color: #5a6b80;
  opacity: 1;
}

/* 右栏：章节式表单 */
:root[data-auth-style="style4"] body.auth-page-register .auth-main {
  width: min(100% - 64px, 520px);
}

:root[data-auth-style="style4"] body.auth-page-register .auth-template-marker {
  display: none;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid #dcdcdc;
  list-style: none;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a2a2a2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper b {
  font-size: 13px;
  font-weight: 400;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper li.is-active {
  color: #247fff;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper li:not(:last-child)::after {
  content: "";
  width: 22px;
  height: 1px;
  margin-left: 5px;
  background: #d3d3d3;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-heading {
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: 0;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-kicker {
  color: #8a8a8a;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-heading-link {
  top: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #555;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 章节：左边留出衬线大号数字，靠细线分章 */
:root[data-auth-style="style4"] body.auth-page-register .auth-form-section {
  padding-top: 24px;
  border-top: 1px solid #dcdcdc;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: baseline;
  gap: 3px 14px;
  margin-bottom: 22px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading::before {
  grid-row: 1 / span 2;
  align-self: start;
  color: #247fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading span {
  color: #141414;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading small {
  color: #939393;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

/* 字段标签走小字距的编辑体，控件只留一条底线 */
:root[data-auth-style="style4"] body.auth-page-register .auth-field > span:first-child {
  color: #8b8b8b;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-input,
:root[data-auth-style="style4"] body.auth-page-register .auth-select,
:root[data-auth-style="style4"] body.auth-page-register .auth-phone-input,
:root[data-auth-style="style4"] body.auth-page-register .auth-split-input,
:root[data-auth-style="style4"] body.auth-page-register .auth-password-wrap {
  min-height: 46px;
  padding-left: 0;
  border-width: 0 0 1px;
  border-color: #d5d5d5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-input:hover,
:root[data-auth-style="style4"] body.auth-page-register .auth-select:hover,
:root[data-auth-style="style4"] body.auth-page-register .auth-phone-input:hover,
:root[data-auth-style="style4"] body.auth-page-register .auth-split-input:hover,
:root[data-auth-style="style4"] body.auth-page-register .auth-password-wrap:hover {
  border-bottom-color: #a8a8a8;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-input:focus,
:root[data-auth-style="style4"] body.auth-page-register .auth-select:focus,
:root[data-auth-style="style4"] body.auth-page-register .auth-phone-input:focus-within,
:root[data-auth-style="style4"] body.auth-page-register .auth-split-input:focus-within,
:root[data-auth-style="style4"] body.auth-page-register .auth-password-wrap:focus-within {
  border-bottom-color: #247fff;
  box-shadow: 0 1px 0 #247fff;
  outline: none;
}

/* 组合控件内部不再各画一条底线，姓名两格靠中间竖线区隔 */
:root[data-auth-style="style4"] body.auth-page-register .auth-split-input .auth-input,
:root[data-auth-style="style4"] body.auth-page-register .auth-phone-input .auth-input,
:root[data-auth-style="style4"] body.auth-page-register .auth-password-wrap .auth-input {
  border-width: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-split-input .auth-input + .auth-input {
  padding-left: 14px;
  border-left-width: 1px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-phone-prefix,
:root[data-auth-style="style4"] body.auth-page-register select.auth-phone-prefix {
  padding-left: 0;
  border-width: 0;
  border-radius: 0;
  background-color: transparent;
}

:root[data-auth-style="style4"] body.auth-page-register [data-captcha-button] {
  min-height: 56px;
  padding: 0;
  border-width: 1px 0;
  border-style: solid;
  border-color: #dcdcdc;
  border-radius: 0;
  background: transparent;
  color: #5b5b5b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13.5px;
  font-weight: 400;
}

:root[data-auth-style="style4"] body.auth-page-register [data-captcha-button]::before {
  border-color: #c2c2c2;
  border-radius: 3px;
}

:root[data-auth-style="style4"] body.auth-page-register [data-captcha-button].is-verified {
  border-color: #247fff;
  background: transparent;
  color: #247fff;
}

:root[data-auth-style="style4"] body.auth-page-register [data-captcha-button].is-verified::before {
  background-color: #247fff;
}

/* 承诺条不画盒子，用竖细线分栏 */
:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance {
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid #dcdcdc;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance li {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 1px 9px;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid #e6e6e6;
  border-radius: 0;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance li:first-child {
  padding-left: 0;
  border-left: 0;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance li::before {
  width: 18px;
  height: 18px;
  background: #247fff;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance b {
  color: #141414;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance small {
  color: #949494;
  opacity: 1;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-term-line {
  border-top-color: #e2e2e2;
  color: #8a8a8a;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-term-line a {
  color: #247fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 动作纵向排：主按钮通栏，返回退成文字链接 */
:root[data-auth-style="style4"] body.auth-page-register .auth-register-action-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-action-row .auth-primary {
  grid-row: 1;
  width: 100%;
  height: 54px;
  border-radius: 8px;
  letter-spacing: 0.05em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-action-row .auth-secondary {
  grid-row: 2;
  height: auto;
  min-height: 0;
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 13px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-action-row .auth-secondary:hover {
  color: #247fff;
}


/* ---------------  注册页重制：暗色主题补齐（style2 / style3 / style4）  --------------- */

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section {
  border-color: rgba(148, 163, 184, 0.2);
  background: #141c25;
  box-shadow: none;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-heading span {
  color: #f1f5f9;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-heading small {
  color: #93a1b3;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-heading {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-input,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-select,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-phone-input,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-split-input,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-password-wrap {
  border-color: rgba(148, 163, 184, 0.24);
  background: #19222c;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-input:hover,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-select:hover,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-phone-input:hover,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-split-input:hover,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-password-wrap:hover,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-input:focus,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-select:focus,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-phone-input:focus-within,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-split-input:focus-within,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-password-wrap:focus-within {
  background: #1d2833;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button] {
  border-color: rgba(148, 163, 184, 0.24);
  background: #161e27;
  color: #a9b6c6;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance b {
  color: #eef2f7;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance small {
  color: #8d9aab;
}

:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button]::before {
  border-color: rgba(148, 163, 184, 0.34);
}

:root[data-theme="dark"][data-auth-style="style2"] body.auth-page-register .auth-form-stepper {
  border-color: rgba(148, 163, 184, 0.2);
  background: #141c25;
}

:root[data-theme="dark"][data-auth-style="style2"] body.auth-page-register .auth-form-stepper b {
  border-color: rgba(148, 163, 184, 0.28);
  background: #19222c;
}

:root[data-theme="dark"][data-auth-style="style2"] body.auth-page-register .auth-form-stepper li::after {
  background: rgba(148, 163, 184, 0.24);
}

:root[data-theme="dark"][data-auth-style="style3"] body.auth-page-register .auth-form-section-heading {
  border-bottom-color: rgba(148, 163, 184, 0.18);
  background: #18212b;
}

:root[data-theme="dark"][data-auth-style="style3"] body.auth-page-register .auth-form-stepper li {
  border-color: rgba(148, 163, 184, 0.24);
  background: #161e27;
  color: #93a1b3;
}

:root[data-theme="dark"][data-auth-style="style3"] body.auth-page-register .auth-form-stepper b {
  background: #232f3c;
  color: #a9b6c6;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-form-section,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-register-assurance {
  border-top-color: rgba(148, 163, 184, 0.22);
  background: transparent;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-form-stepper {
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-form-section-heading::before,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-form-stepper li.is-active,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-term-line a {
  color: #6ba9ff;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-register-assurance li {
  border-left-color: rgba(148, 163, 184, 0.2);
  background: transparent;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-register-assurance li::before,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register [data-captcha-button].is-verified::before {
  background-color: #e2e8f0;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-input,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-select,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-phone-input,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-split-input,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-password-wrap {
  background: transparent;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-input:focus,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-select:focus,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-phone-input:focus-within,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-split-input:focus-within,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-password-wrap:focus-within {
  border-bottom-color: #e2e8f0;
  box-shadow: 0 1px 0 #e2e8f0;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register [data-captcha-button] {
  background: transparent;
}


/* ---------------  注册页重制：窄屏收敛  --------------- */

@media (max-width: 900px) {
  :root[data-auth-style="style1"] body.auth-page-register .auth-main {
    width: min(100% - 40px, 620px);
    margin: 22px auto 36px;
    padding: 30px 28px 32px;
  }

  :root[data-auth-style="style4"] body.auth-page-register .auth-main {
    width: min(100% - 40px, 620px);
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-form-section-profile .auth-form-section-body,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-form-section-security .auth-form-section-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  :root[data-auth-style="style1"] body.auth-page-register .auth-main {
    width: min(100% - 28px, 520px);
    margin: 14px auto 30px;
    padding: 24px 20px 26px;
    border-radius: 20px;
  }

  :root[data-auth-style="style4"] body.auth-page-register .auth-main {
    width: min(100% - 32px, 520px);
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-profile .auth-form-section-body,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-security .auth-form-section-body {
    grid-template-columns: minmax(0, 1fr);
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  :root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance li {
    padding: 0;
    border-left: 0;
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-action-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-register-action-row .auth-primary {
    grid-row: 1;
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-register-action-row .auth-secondary {
    grid-row: 2;
  }

  :root[data-auth-style="style1"] body.auth-page-register .auth-form-section {
    padding: 16px 15px 18px;
  }

  :root[data-auth-style="style2"] body.auth-page-register .auth-form-section {
    padding: 17px 15px;
  }

  :root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper {
    padding: 16px 14px 13px;
  }

  :root[data-auth-style="style3"] body.auth-page-register .auth-form-section-body {
    padding: 15px;
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"]) body.auth-page-register .auth-form-stepper span {
    font-size: 11.5px;
  }

  :root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  :root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading::before {
    font-size: 27px;
  }
}


/* ---------------  注册页重制：收尾修正  --------------- */

/* auth.css 给展示位文案压了 270px 上限，重制后的版面更宽，放开 */
:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-caption strong {
  max-width: none;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-copy,
:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-caption span:last-child {
  max-width: 400px;
}

/* 紫色罩子压得太狠会把照片吃掉，上半留出天际线 */
:root[data-auth-style="style2"] body.auth-page-register .auth-visual::before {
  background: linear-gradient(172deg, rgba(9, 38, 86, 0.12) 0%, rgba(7, 32, 74, 0.5) 42%, rgba(5, 22, 54, 0.93) 100%);
}

/* 编辑式模板的展示位是「浅色纸面压照片」，文字要够黑才读得出来 */
:root[data-auth-style="style4"] body.auth-page-register .auth-visual-caption,
:root[data-auth-style="style4"] body.auth-page-register .auth-visual-caption strong {
  color: #0f2338;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-copy,
:root[data-auth-style="style4"] body.auth-page-register .auth-visual-caption span:last-child {
  color: #4c6076;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-rail-steps li {
  color: #324a63;
  opacity: 0.75;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-rail-steps li.is-active {
  color: #102338;
  opacity: 1;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-visual-metrics small {
  color: #4f6379;
}

/* 姓名两格靠中间那条线区隔：上面把内层输入框的边框清了，这里把分隔线补回来 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-split-input .auth-input + .auth-input {
  border-left: 1px solid var(--auth-border);
}

/* 下划线版式里区号也左对齐，跟其余字段起始线对齐 */
:root[data-auth-style="style4"] body.auth-page-register select.auth-phone-prefix {
  padding: 0 26px 0 0;
  text-align: left;
}

/* 暗色下 auth.css 给区号单独上了一层浅蓝底，重制版里区号和输入框是一体的。
   注意：<select> 的背景必须给实色 —— 透明或半透明时 Chrome 会自己补一层浅色控件底。 */
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-phone-prefix,
:root[data-theme="dark"]:is([data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register select.auth-phone-prefix {
  border-right: 1px solid rgba(148, 163, 184, 0.24);
  background-color: #19222c;
  color: #e3ebf5;
}

:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register .auth-phone-prefix,
:root[data-theme="dark"][data-auth-style="style4"] body.auth-page-register select.auth-phone-prefix {
  background-color: #10161d;
  color: #e3ebf5;
}

/* auth.css 的 dark 规则用 background 简写把箭头的 size/position 重置成了 auto，
   两条 45°/135° 渐变会胀满整个区号框（看着像一块浅色方片），这里补回来 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register select.auth-phone-prefix {
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat, no-repeat;
}


/* =========================================================================
   紧凑化（style1 / style2 / style3 / style4）
   四套模板原来的控件、字号和留白都偏大，整屏只放得下几个字段。
   这里统一压到一套更紧的尺度：控件 42、按钮 42、正文 13.5、标签 12.5，
   登录 / 注册 / 找回 / 代理申请四条流程共用，黑金（style5）不受影响。
   只调尺寸，不动各模板自己的配色与边框语言。
   ========================================================================= */

/* ---- 外壳 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-topbar {
  min-height: 60px;
  padding: 0 clamp(20px, 2.4vw, 34px);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-footer {
  min-height: 46px;
  padding: 0 22px;
  font-size: 12px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-brand {
  font-size: 17px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-logo-mark {
  width: 26px;
  height: 30px;
}

/* ---- 标题 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-form-heading {
  margin-bottom: 20px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-form-heading h1 {
  font-size: clamp(21px, 1.7vw, 27px);
  font-weight: 820;
  letter-spacing: -0.03em;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-form-heading p,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-theme-heading-copy {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.55;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-form-kicker,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-template-eyebrow {
  min-height: 0;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-heading-link {
  top: 2px;
  min-height: 28px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 800;
}

/* ---- 字段与标签 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-form {
  gap: 12px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-field {
  gap: 6px;
  font-size: 12.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-field > span:first-child,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-theme-field-label {
  font-size: 12.5px;
  font-weight: 750;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-optional,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-field small {
  font-size: 11px;
  font-weight: 650;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-field[data-auth-field-required="true"] > span:first-child::after {
  width: 4px;
  height: 4px;
}

/* ---- 输入控件：统一 42 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-select,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-phone-prefix,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-phone-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-split-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-password-wrap,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-name-full-input {
  height: 42px;
  min-height: 42px;
  font-size: 13.5px;
  font-weight: 700;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-select {
  padding: 0 13px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-select {
  padding-right: 36px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-select-wrap::after {
  right: 14px;
  width: 6px;
  height: 6px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-select,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-phone-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-split-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-password-wrap {
  border-radius: 9px;
}

/* 组合控件里的内层输入框跟着外框走满 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-split-input .auth-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-phone-input .auth-input,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-password-wrap .auth-input {
  height: 100%;
  min-height: 0;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-phone-input {
  grid-template-columns: 84px minmax(0, 1fr);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page select.auth-phone-prefix {
  padding: 0 22px 0 11px;
  font-size: 13px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page select.auth-phone-prefix {
  background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%;
  background-size: 4.5px 4.5px, 4.5px 4.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-phone-prefix::after {
  width: 6px;
  height: 6px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-password-wrap .auth-input {
  padding-right: 38px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-password-toggle {
  right: 8px;
  width: 26px;
  height: 26px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-password-toggle svg {
  width: 15px;
  height: 15px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-name-toggle {
  right: 8px;
  width: 26px;
  height: 26px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-name-toggle svg {
  width: 15px;
  height: 15px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-input::placeholder {
  font-size: 13px;
  font-weight: 650;
}

/* 验证码格子 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-code-grid {
  gap: 8px;
  margin: 8px 0 10px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-code-input {
  height: 46px;
  min-height: 46px;
  border-radius: 9px;
  font-size: 18px;
  font-weight: 800;
}

/* ---- 按钮 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-primary,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-secondary,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-outline {
  height: 42px;
  min-height: 42px;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 820;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-primary,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-secondary,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-entry-page .auth-outline {
  border-radius: 9px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-secondary svg,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-primary svg {
  width: 15px;
  height: 15px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-term-line,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-form-status {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

/* ---- 登录页：快捷登录与选项行 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-login .auth-social {
  margin-top: 18px;
  gap: 11px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-login .auth-social-divider {
  gap: 16px;
  font-size: 11.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-login .auth-social-btn svg {
  width: 18px;
  height: 18px;
}

:root[data-auth-style="style1"] body.auth-page-login .auth-social-btn {
  height: 54px;
  gap: 4px;
}

:root[data-auth-style="style1"] body.auth-page-login .auth-social-btn .auth-social-label {
  font-size: 10px;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-social-btn {
  height: 42px;
  padding: 0 12px;
  border-radius: 9px;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-social-btn .auth-social-label {
  font-size: 11.5px;
}

:root[data-auth-style="style3"] body.auth-page-login .auth-social-btn {
  width: 44px;
  height: 44px;
}

:root[data-auth-style="style4"] body.auth-page-login .auth-social-btn {
  height: 42px;
  border-radius: 9px;
}

:root[data-auth-style="style4"] body.auth-page-login .auth-social-btn .auth-social-label {
  font-size: 13px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-login .auth-login-options {
  font-size: 12.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-login .auth-register-cta {
  margin-top: 16px;
  font-size: 12.5px;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check-box {
  width: 36px;
  min-width: 36px;
  height: 20px;
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check-box::after {
  width: 15px;
  height: 15px;
  transform: translateX(-7px);
}

:root[data-auth-style="style2"] body.auth-page-login .auth-check input:checked + .auth-check-box::after {
  transform: translateX(7px);
}

/* ---- 找回密码：通道选项 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-recovery-option {
  min-height: 56px;
  padding: 9px 28px 9px 11px;
  gap: 9px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-recovery-icon {
  width: 28px;
  height: 28px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-recovery-icon svg {
  width: 16px;
  height: 16px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-recovery-copy strong {
  font-size: 12.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-recovery-copy small {
  font-size: 11px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-password-rules,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-email-summary,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-countdown,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-helper-copy {
  font-size: 12px;
}

/* ---- 注册页：分组、进度、承诺条一起收紧 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-form-section {
  padding: 16px 16px 18px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section {
  padding: 0;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-heading {
  padding: 11px 15px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-body {
  padding: 15px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-heading {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 1px 10px;
  margin-bottom: 14px;
  padding-bottom: 11px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-heading,
:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading {
  padding-bottom: 0;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"]) body.auth-page-register .auth-form-section-heading::before {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-section-heading::before {
  border-radius: 9px;
  background-size: 16px 16px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-heading span {
  font-size: 13.5px;
  font-weight: 850;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-heading small {
  font-size: 11px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-security .auth-form-section-body {
  gap: 12px 14px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-profile .auth-form-section-body,
:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-security .auth-form-section-body {
  gap: 15px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button] {
  min-height: 46px;
  height: 46px;
  gap: 10px;
  padding: 0 13px;
  font-size: 12.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button]::before {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background-size: 12px 12px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register [data-captcha-button]::after {
  width: 14px;
  height: 14px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0 8px;
  padding: 9px 11px;
  border-radius: 10px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance li::before {
  width: 18px;
  height: 18px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance b {
  font-size: 11.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance small {
  font-size: 10.5px;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper {
  margin-bottom: 20px;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper b {
  width: 28px;
  height: 28px;
  font-size: 10.5px;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper li:not(:last-child)::after {
  top: 13px;
  left: 28px;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-form-stepper span,
:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper span {
  font-size: 11.5px;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper {
  margin-bottom: 18px;
  padding: 15px 18px 13px;
  border-radius: 13px;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper b {
  width: 28px;
  height: 28px;
  font-size: 10.5px;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-form-stepper li::after {
  top: 14px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
}

:root[data-auth-style="style3"] body.auth-page-register .auth-theme-mode-switch {
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 11px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-theme-mode-switch a {
  min-height: 36px;
  border-radius: 8px;
  font-size: 13px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper {
  margin: -6px 0 16px;
  gap: 6px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper li {
  padding: 4px 10px 4px 5px;
  font-size: 10.5px;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-form-stepper b {
  width: 17px;
  height: 17px;
  font-size: 9px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper {
  margin-bottom: 18px;
  padding-bottom: 13px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper li {
  font-size: 11px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-stepper b {
  font-size: 12px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section {
  padding-top: 20px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 12px;
  margin-bottom: 17px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading::before {
  font-size: 27px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-form-section-heading span {
  font-size: 15px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-field > span:first-child {
  font-size: 10.5px;
  letter-spacing: 0.13em;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance {
  padding-top: 14px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance li {
  grid-template-columns: 16px minmax(0, 1fr);
  padding: 0 12px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance li::before {
  width: 16px;
  height: 16px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-assurance b {
  font-size: 12px;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-register-action-row .auth-primary {
  height: 44px;
}

/* ---- 代理申请（IB）---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-step[data-agent-step="1"] {
  max-width: 740px;
  gap: 14px 16px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-doc-step,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-verify-step {
  max-width: 620px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-doc-step {
  padding-top: clamp(10px, 2.4vh, 24px);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-verify-step {
  padding-top: clamp(16px, 4vh, 44px);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-terms {
  gap: 10px;
  margin: 12px 0 4px;
  font-size: 12.5px;
  font-weight: 750;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-terms .auth-check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-action-row {
  grid-template-columns: 124px 124px;
  margin-top: 8px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-upload-grid {
  gap: 14px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-upload-tile {
  width: 112px;
  border-radius: 9px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-upload-plus {
  width: 30px;
  height: 30px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-upload-plus::before {
  width: 28px;
  height: 2.5px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-upload-plus::after {
  width: 2.5px;
  height: 28px;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-upload-name {
  font-size: 11px;
}

/* ---- 展示位文案跟着收一档 ---- */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-visual-caption strong {
  font-size: clamp(22px, 2.1vw, 31px);
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-visual-copy,
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-visual-caption span:last-child {
  font-size: 12.5px;
  font-weight: 650;
}

:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-visual-kicker {
  padding: 5px 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-rail-steps {
  gap: 8px;
  margin-top: 18px;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-rail-steps li {
  gap: 9px;
  font-size: 12.5px;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-rail-steps b {
  width: 21px;
  height: 21px;
  font-size: 10px;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-metrics {
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-metrics b {
  font-size: 18px;
}

:root:is([data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-visual-metrics small {
  font-size: 10.5px;
}

/* ---- 版心宽度：控件小了，整栏也不需要那么宽 ---- */
:root[data-auth-style="style1"] body.auth-entry-page .auth-main {
  width: min(100% - 48px, 470px);
  padding: 30px 34px 30px;
}

:root[data-auth-style="style1"] body.auth-page-register .auth-main {
  width: min(100% - 48px, 800px);
  margin: 20px auto 30px;
  padding: 26px 30px 28px;
}

:root[data-auth-style="style1"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style1"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style1"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style1"] body.auth-page-reset .auth-main {
  width: min(100% - 48px, 520px);
}

:root[data-auth-style="style2"] body.auth-entry-page .auth-main {
  width: min(100% - 64px, 420px);
  padding: 34px 0;
}

:root[data-auth-style="style2"] body.auth-page-register .auth-main {
  width: min(100% - 64px, 680px);
  padding-top: 24px;
}

:root[data-auth-style="style2"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style2"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style2"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style2"] body.auth-page-reset .auth-main {
  width: min(100% - 64px, 460px);
}

:root[data-auth-style="style3"] body.auth-entry-page .auth-main {
  width: min(100% - 64px, 400px);
  padding: 30px 0;
}

:root[data-auth-style="style3"] body.auth-page-register .auth-main {
  width: min(100% - 64px, 600px);
  padding-top: 22px;
}

:root[data-auth-style="style3"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style3"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style3"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style3"] body.auth-page-reset .auth-main {
  width: min(100% - 64px, 460px);
}

:root[data-auth-style="style4"] body.auth-entry-page .auth-main {
  width: min(100% - 56px, 390px);
  padding: 32px 0;
}

:root[data-auth-style="style4"] body.auth-page-register .auth-main {
  width: min(100% - 56px, 480px);
  padding-top: 24px;
}

:root[data-auth-style="style4"] body.auth-page-register-verify .auth-main,
:root[data-auth-style="style4"] body.auth-page-forgot .auth-main,
:root[data-auth-style="style4"] body.auth-page-forgot-verify .auth-main,
:root[data-auth-style="style4"] body.auth-page-reset .auth-main {
  width: min(100% - 56px, 420px);
}

/* 代理申请自己控宽，版心不再限制 */
:root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-main {
  width: min(100% - 56px, 900px);
  padding: 26px 0 34px;
}

:root[data-auth-style="style1"] body.auth-page-agent .auth-main {
  width: min(100% - 48px, 820px);
  margin: 20px auto 30px;
  padding: 26px 30px 28px;
}

/* ---- 窄屏：重新给回紧凑后的尺寸 ---- */
@media (max-width: 900px) {
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register-verify .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-forgot .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-forgot-verify .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-reset .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-main {
    width: min(100% - 36px, 560px);
    margin: 0 auto;
    padding: 26px 0 40px;
  }

  :root[data-auth-style="style1"] body.auth-entry-page .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-reset .auth-main,
  :root[data-auth-style="style1"] body.auth-page-agent .auth-main {
    width: min(100% - 36px, 560px);
    margin: 18px auto 30px;
    padding: 26px 24px 28px;
  }
}

@media (max-width: 560px) {
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-entry-page .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register-verify .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-forgot .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-forgot-verify .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-reset .auth-main,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-main {
    width: min(100% - 28px, 500px);
    padding: 20px 0 36px;
  }

  :root[data-auth-style="style1"] body.auth-entry-page .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register .auth-main,
  :root[data-auth-style="style1"] body.auth-page-register-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot .auth-main,
  :root[data-auth-style="style1"] body.auth-page-forgot-verify .auth-main,
  :root[data-auth-style="style1"] body.auth-page-reset .auth-main,
  :root[data-auth-style="style1"] body.auth-page-agent .auth-main {
    width: min(100% - 24px, 500px);
    margin: 12px auto 26px;
    padding: 20px 18px 22px;
    border-radius: 18px;
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-profile .auth-form-section-body,
  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-form-section-security .auth-form-section-body {
    grid-template-columns: minmax(0, 1fr);
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-register .auth-register-assurance {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-agent-step[data-agent-step="1"] {
    grid-template-columns: minmax(0, 1fr);
  }

  :root:is([data-auth-style="style1"], [data-auth-style="style2"], [data-auth-style="style3"], [data-auth-style="style4"]) body.auth-page-agent .auth-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ---------------  Style 1 · 验证 / 重设页里的浅色面板补一套暗色  --------------- */
/* 这几块（接收渠道、目标地址、密码规则）原本只有浅色版，压在暗色浮卡上会白得很突兀 */

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-options {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-option {
  min-height: 42px;
  padding: 7px 28px 7px 10px;
  border-radius: 8px;
  color: #98a1af;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-option:hover,
:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-option:focus-within {
  border-color: rgba(36, 127, 255, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-option.is-active {
  border-color: rgba(36, 127, 255, 0.5);
  background: rgba(36, 127, 255, 0.14);
  color: #f2f4f7;
  box-shadow: none;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-option.is-active .auth-channel-icon,
:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-option.is-active .auth-channel-check {
  color: #6ba9ff;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-copy strong {
  color: #eef1f5;
  font-size: 12.5px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-copy small {
  color: #8b94a2;
  font-size: 11px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-icon {
  width: 22px;
  height: 22px;
  color: #8b94a2;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-icon svg {
  width: 18px;
  height: 18px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-target {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #c3cbd6;
  font-size: 12.5px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-heading h2 {
  color: #f2f4f7;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-heading span,
:root[data-auth-style="style1"] body.auth-entry-page .auth-channel-helper,
:root[data-auth-style="style1"] body.auth-entry-page .auth-helper-copy,
:root[data-auth-style="style1"] body.auth-entry-page .auth-countdown {
  color: #8b94a2;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-email-main {
  color: #f2f4f7;
  font-size: 16px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-email-main svg {
  width: 20px;
  height: 20px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-password-rules {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #7f8998;
  font-size: 11.5px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-rule svg {
  width: 14px;
  height: 14px;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-rule.is-met {
  color: #6ba9ff;
}

/* 验证码格子在暗卡上也得跟着变暗 */
:root[data-auth-style="style1"] body.auth-entry-page .auth-code-input {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: #f2f4f7;
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-code-input:focus {
  border-color: rgba(36, 127, 255, 0.6);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(36, 127, 255, 0.14);
}


/* ---------------  Style 4 · 代理申请页也走下划线控件  --------------- */
/* 这套模板的语言是「细线 + 衬线章节号」，代理申请页原来还是圆角输入框，不统一 */

:root[data-auth-style="style4"] body.auth-page-agent .auth-field > span:first-child {
  color: #8b8b8b;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-input,
:root[data-auth-style="style4"] body.auth-page-agent .auth-select,
:root[data-auth-style="style4"] body.auth-page-agent .auth-phone-input,
:root[data-auth-style="style4"] body.auth-page-agent .auth-split-input,
:root[data-auth-style="style4"] body.auth-page-agent .auth-password-wrap {
  padding-left: 0;
  border-width: 0 0 1px;
  border-color: #d5d5d5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-input:hover,
:root[data-auth-style="style4"] body.auth-page-agent .auth-select:hover,
:root[data-auth-style="style4"] body.auth-page-agent .auth-phone-input:hover,
:root[data-auth-style="style4"] body.auth-page-agent .auth-split-input:hover,
:root[data-auth-style="style4"] body.auth-page-agent .auth-password-wrap:hover {
  border-bottom-color: #a8a8a8;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-input:focus,
:root[data-auth-style="style4"] body.auth-page-agent .auth-select:focus,
:root[data-auth-style="style4"] body.auth-page-agent .auth-phone-input:focus-within,
:root[data-auth-style="style4"] body.auth-page-agent .auth-split-input:focus-within,
:root[data-auth-style="style4"] body.auth-page-agent .auth-password-wrap:focus-within {
  border-bottom-color: #247fff;
  box-shadow: 0 1px 0 #247fff;
  outline: none;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-split-input .auth-input,
:root[data-auth-style="style4"] body.auth-page-agent .auth-phone-input .auth-input,
:root[data-auth-style="style4"] body.auth-page-agent .auth-password-wrap .auth-input {
  border-width: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-split-input .auth-input + .auth-input {
  padding-left: 14px;
  border-left-width: 1px;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-phone-prefix,
:root[data-auth-style="style4"] body.auth-page-agent select.auth-phone-prefix {
  padding: 0 22px 0 0;
  border-width: 0;
  border-radius: 0;
  background-color: transparent;
  text-align: left;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-code-input {
  border-width: 0 0 1px;
  border-color: #d5d5d5;
  border-radius: 0;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-code-input:focus {
  border-bottom-color: #247fff;
  box-shadow: 0 1px 0 #247fff;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-upload-tile {
  border-radius: 2px;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-action-row .auth-primary {
  border-radius: 8px;
  letter-spacing: 0.05em;
}

:root[data-auth-style="style4"] body.auth-page-agent .auth-action-row .auth-secondary {
  border-radius: 8px;
}

/* Style 1 的浮卡是暗的，勾选框默认的白底会跳出来 */
:root[data-auth-style="style1"] body.auth-entry-page .auth-check-box {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-auth-style="style1"] body.auth-entry-page .auth-check {
  color: #c3cbd6;
  font-size: 12.5px;
}

:root[data-auth-style="style1"] body.auth-page-agent .auth-agent-terms {
  color: #98a1af;
}

:root[data-auth-style="style1"] body.auth-page-agent .auth-form-heading p,
:root[data-auth-style="style1"] body.auth-page-agent .auth-field {
  color: #aab1bd;
}

:root[data-auth-style="style1"] body.auth-page-agent .auth-upload-tile {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #8b94a2;
}

:root[data-auth-style="style1"] body.auth-page-agent .auth-upload-tile:hover,
:root[data-auth-style="style1"] body.auth-page-agent .auth-upload-tile:focus-within {
  border-color: rgba(36, 127, 255, 0.55);
  background: rgba(36, 127, 255, 0.1);
  color: #6ba9ff;
}

:root[data-auth-style="style1"] body.auth-page-agent .auth-upload-name {
  color: #aab1bd;
}
