.cms-auth-page {
  --auth-bg: #fff6f7;
  --auth-surface: rgba(255, 255, 255, 0.96);
  --auth-surface-strong: #ffffff;
  --auth-primary: #f1557a;
  --auth-primary-strong: #d83a64;
  --auth-primary-soft: rgba(241, 85, 122, 0.12);
  --auth-text: #1f2430;
  --auth-text-soft: #5f6879;
  --auth-border: rgba(222, 214, 220, 0.9);
  --auth-shadow: 0 28px 70px rgba(174, 46, 84, 0.14);
  --auth-success: rgba(14, 116, 73, 0.94);
  --auth-warning: rgba(180, 83, 9, 0.94);
  --auth-danger: rgba(190, 24, 93, 0.94);
  background:
    radial-gradient(circle at top left, rgba(241, 85, 122, 0.12), transparent 28%),
    radial-gradient(circle at right center, rgba(255, 186, 202, 0.22), transparent 30%),
    linear-gradient(180deg, #fff9fb 0%, var(--auth-bg) 58%, #fff 100%);
  min-height: 72vh;
}

.cms-auth-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--auth-shadow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.cms-auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  min-height: 720px;
}

.cms-auth-shell__poster {
  position: relative;
  min-width: 0;
}

.cms-auth-shell__panel {
  min-width: 0; min-height: 730px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 250, 0.92) 100%);
}

.cms-auth-poster,
.cms-auth-poster__media {
  height: 100%;
}

.cms-auth-poster {
  padding: 0px;
}

.cms-auth-poster__media {
  position: relative;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  background: linear-gradient(156deg, rgb(235 95 130), rgb(255 156 215));
}

.cms-auth-poster__carousel,
.cms-auth-poster__media-link {
  position: absolute;
  inset: 0;
  display: block;
}

.cms-auth-poster__carousel .carousel-inner,
.cms-auth-poster__carousel .carousel-item {
  height: 100%;
}

.cms-auth-poster__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-auth-poster__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 23, 35, 0.06) 0%, rgba(29, 23, 35, 0.14) 32%, rgba(29, 23, 35, 0.44) 100%);
}

.cms-auth-poster__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-content: space-between;
  height: 100%;
  padding: 28px 28px 24px;
  color: #fff;
}

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

.cms-auth-poster__eyebrow {
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.94;
}

.cms-auth-poster__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}

.cms-auth-poster__body {
  display: grid;
  gap: 12px;
  max-width: 460px;
  padding: 22px 20px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(33, 81, 204, 0.92) 0%, rgba(44, 102, 236, 0.8) 100%);
  box-shadow: 0 22px 44px rgba(33, 81, 204, 0.22);
  backdrop-filter: blur(8px);
}

.cms-auth-poster__body h2 {
  margin: 0;
  max-width: 100%;
  font-size: 34px;
  line-height: 1.22;
}

.cms-auth-poster__summary {
  max-width: 360px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.cms-auth-poster__highlights {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cms-auth-poster__highlights li {
  position: relative;
  padding: 12px 16px 12px 42px;
  border-radius: 18px;
  background: rgba(35, 84, 204, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  line-height: 1.7;
  box-shadow: 0 14px 30px rgba(26, 61, 145, 0.14);
}

.cms-auth-poster__highlights li::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}

.cms-auth-poster__footer {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.7;
}

.cms-auth-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 48px 42px;
}

.cms-auth-main__header {
  margin-bottom: 28px;
}

.cms-auth-main__eyebrow {
  color: var(--auth-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cms-auth-main__header h3 {
  margin: 0;
  color: #e10084;
  font-size: 32px;
}

.cms-auth-main__summary {
  max-width: 520px;
  color: var(--auth-text-soft);
  line-height: 1.8;
}

.cms-auth-alert {
  margin-bottom: 18px;
  border-radius: 18px;
}

.cms-auth-toast {
  position: fixed;
  top: 88px;
  left: 50%;
  z-index: 1080;
  min-width: min(420px, calc(100vw - 32px));
  max-width: 520px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.18);
  transform: translate(-50%, -10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cms-auth-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cms-auth-toast--success {
  background: var(--auth-success);
}

.cms-auth-toast--warning {
  background: var(--auth-warning);
}

.cms-auth-toast--danger {
  background: var(--auth-danger);
}

.cms-auth-main .form-label {
  margin-bottom: 8px;
  color: var(--auth-text);
  font-size: 14px;
  font-weight: 600;
}

.cms-auth-main .form-control,
.cms-auth-main .form-select {
  height: 52px;
  border-radius: 16px;
  border-color: var(--auth-border);
  padding: 0 16px;
  color: var(--auth-text);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cms-auth-main .form-control::placeholder,
.cms-auth-main .form-select::placeholder {
  color: #9ca3af;
}

.cms-auth-main .form-control:focus,
.cms-auth-main .form-select:focus {
  border-color: rgba(241, 85, 122, 0.52);
  background: #fff;
  box-shadow: 0 0 0 0.25rem rgba(241, 85, 122, 0.14);
}

.cms-auth-main .form-control:-webkit-autofill,
.cms-auth-main .form-control:-webkit-autofill:hover,
.cms-auth-main .form-control:-webkit-autofill:focus,
.cms-auth-main .form-select:-webkit-autofill,
.cms-auth-main .form-select:-webkit-autofill:hover,
.cms-auth-main .form-select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--auth-text);
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-in-out 0s;
}

.cms-auth-field-note {
  margin-top: 8px;
  color: var(--auth-text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.cms-auth-register-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 16px;
  align-items: start;
}

.cms-auth-register-meta-row__item {
  min-width: 0;
}

.cms-auth-register-meta-row__item--agreement {
  display: flex;
  align-items: flex-start;

}

.cms-auth-choice-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cms-auth-choice-group .form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 0;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(222, 214, 220, 0.88);
  background: rgba(255, 255, 255, 0.88);
}

.cms-auth-main .form-check-input:checked {
  background-color: var(--auth-primary);
  border-color: var(--auth-primary);
}

.cms-auth-agreement.form-check {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 83px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(241, 85, 122, 0.14);
  background: rgba(255, 244, 247, 0.82);
}

.cms-auth-agreement .form-check-input {
  float: none;
  flex: 0 0 auto;
  margin: 0;
}

.cms-auth-agreement .form-check-label {
  display: block;
  margin: 0;
  color: var(--auth-text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.cms-auth-field-stack {
  display: grid;
  gap: 18px;
}

.cms-auth-inline-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(164px, 5fr);
  gap: 14px;
  align-items:flex-start;}

.cms-auth-inline-row__field,
.cms-auth-inline-row__side {
  min-width: 0;
}

.cms-auth-inline-row__side {
  display: flex;
  /* align-items: flex-end; */
}

.cms-auth-inline-row__button {
  width: 100%;
}

.cms-auth-mobile-check {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--auth-text-soft);
}

.cms-auth-mobile-check.is-visible {
  display: inline-flex;
}

.cms-auth-mobile-check__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.cms-auth-mobile-check.is-checking .cms-auth-mobile-check__icon {
  border: 2px solid rgba(79, 70, 229, 0.2);
  border-top-color: #4f46e5;
  border-right-color: #4f46e5;
  font-size: 0;
  background: transparent;
  animation: cms-auth-spin 0.8s linear infinite;
}

.cms-auth-mobile-check.is-checking .cms-auth-mobile-check__text {
  color: #4338ca;
}

.cms-auth-mobile-check.is-available .cms-auth-mobile-check__icon {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
}

.cms-auth-mobile-check.is-available .cms-auth-mobile-check__text {
  color: #15803d;
}

.cms-auth-mobile-check.is-taken .cms-auth-mobile-check__icon,
.cms-auth-mobile-check.is-error .cms-auth-mobile-check__icon {
  background: rgba(225, 29, 72, 0.12);
  color: #be123c;
}

.cms-auth-mobile-check.is-taken .cms-auth-mobile-check__text,
.cms-auth-mobile-check.is-error .cms-auth-mobile-check__text {
  color: #be123c;
}

@keyframes cms-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

.cms-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(241, 85, 122, 0.14);
  background: rgba(255, 246, 248, 0.9);
}

.cms-auth-tab {
  min-height: 46px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--auth-text-soft);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.cms-auth-tab:hover,
.cms-auth-tab:focus {
  color: var(--auth-primary-strong);
  box-shadow: inset 0 0 0 1px rgba(241, 85, 122, 0.08);
}

.cms-auth-tab.is-active {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 100%);
  color: var(--auth-primary-strong);
  box-shadow:
    inset 0 0 0 1px rgba(241, 85, 122, 0.06),
    0 8px 18px rgba(241, 85, 122, 0.1);
}

.cms-auth-login-mode-stack {
  display: grid;
  align-content: start;
  min-height: 138px;
}

.cms-auth-login-mode-pane {
  display: grid;
  align-content: start;
  gap: 14px;
}

[data-login-mode-panel] {
  margin: 0;
}

[data-login-mode-panel][hidden] {
  display: none !important;
}

.cms-auth-verify {
  width: 100%;
}

.cms-auth-verify__trigger {
  min-height: 52px;
  border: 1px solid rgba(241, 85, 122, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  color: var(--auth-primary);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.cms-auth-verify__trigger:hover,
.cms-auth-verify__trigger:focus {
  color: var(--auth-primary-strong);
  transform: translateY(-1px);
}

.cms-auth-verify.is-verified .cms-auth-verify__trigger,
.cms-auth-verify__trigger.is-verified {
  border-color: rgba(34, 197, 94, 0.22);
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  color: #15803d;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.12);
}

.cms-auth-verify.is-verified .cms-auth-verify__trigger:hover,
.cms-auth-verify.is-verified .cms-auth-verify__trigger:focus,
.cms-auth-verify__trigger.is-verified:hover,
.cms-auth-verify__trigger.is-verified:focus {
  color: #15803d;
  transform: none;
}

.cms-auth-verify.is-locked .cms-auth-verify__trigger {
  border-color: rgba(225, 29, 72, 0.18);
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  color: #be123c;
  box-shadow: none;
}

.cms-auth-verify__assist,
.cms-auth-verify__state--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cms-auth-login-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 24px;
}

.cms-auth-login-tools__remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--auth-primary-strong);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cms-auth-login-tools__remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ef4444;
}

.cms-auth-login-tools--placeholder {
  visibility: hidden;
  pointer-events: none;
}

.cms-auth-login-tools__placeholder-text {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
}

.cms-auth-submit,
.cms-auth-code-btn,
.cms-auth-wechat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cms-auth-code-btn, .cms-auth-submit {
  width: 100%;
  border: none;
  /* background: linear-gradient(135deg, #f46b8f 0%, #ffa0b8 100%); */
  background:linear-gradient(135deg, #e10084 0%, #ff90d1 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(241, 85, 122, 0.18);
}

.cms-auth-code-btn:hover,
.cms-auth-code-btn:focus,
.cms-auth-submit:hover,
.cms-auth-submit:focus {
  background: linear-gradient(135deg, #f148a5 0%, #f891b3 100%);
  color: #fff;
  transform: translateY(-1px);
}

.cms-auth-wechat-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #0b8b4e 0%, #29bb6f 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 197, 107, 0.18);
}

.cms-auth-wechat-btn:hover,
.cms-auth-wechat-btn:focus {
  background: linear-gradient(135deg, #07b05f 0%, #1fc86f 100%);
  color: #fff;
  transform: translateY(-1px);
}

.cms-auth-submit:disabled,
.cms-auth-code-btn:disabled,
.cms-auth-wechat-btn:disabled {
  transform: none;
  box-shadow: none;
  opacity: 0.84;
}

.cms-auth-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 18px;
}

.cms-auth-action-row--single {
  grid-template-columns: 1fr;
}

.cms-auth-action-row .cms-auth-submit,
.cms-auth-action-row .cms-auth-thirdparty,
.cms-auth-action-row .cms-auth-wechat-btn {
  width: 100%;
}

.cms-auth-action-row .cms-auth-thirdparty {
  margin-top: 0;
}

.cms-auth-thirdparty {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.cms-auth-helper {
  color: #7c8594;
  font-size: 13px;
  line-height: 1.75;
}

.cms-auth-helper--panel {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(241, 85, 122, 0.14);
  background: rgba(255, 246, 248, 0.88);
}

.cms-auth-helper-actions {
  display: flex;
  justify-content: flex-end;
}

.cms-auth-helper-actions a,
.cms-auth-switch a {
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 700;
}

.cms-auth-switch {
  color: var(--auth-text-soft);
}

.cms-auth-debug,
.cms-auth-prefill,
.cms-auth-security {
  border-radius: 22px;
}

.cms-auth-debug {
  padding: 12px 16px;
  border: 1px solid rgba(241, 85, 122, 0.14);
  background: rgba(255, 248, 250, 0.96);
  color: var(--auth-text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.cms-auth-prefill {
  margin-bottom: 24px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(241, 85, 122, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 245, 248, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.cms-auth-prefill__eyebrow {
  margin: 0 0 6px;
  color: var(--auth-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cms-auth-prefill__title {
  margin: 0 0 10px;
  color: var(--auth-text);
  font-size: 17px;
  font-weight: 700;
}

.cms-auth-prefill__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.cms-auth-prefill__meta li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(241, 85, 122, 0.1);
  color: var(--auth-primary-strong);
  font-size: 13px;
  font-weight: 600;
}

.cms-auth-prefill__hint {
  margin: 0;
  color: var(--auth-text-soft);
  line-height: 1.7;
}

.cms-auth-prefill--compact {
  padding: 14px 16px;
}

.cms-auth-prefill--compact .cms-auth-prefill__eyebrow {
  margin-bottom: 10px;
}

.cms-auth-prefill--compact .cms-auth-prefill__meta {
  margin-bottom: 0;
}

.cms-auth-security {
  padding: 18px;
  border: 1px solid rgba(241, 85, 122, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 203, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(255, 248, 250, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.cms-auth-security__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.cms-auth-security__title {
  margin-bottom: 6px;
  color: var(--auth-text);
  font-size: 16px;
  font-weight: 700;
}

.cms-auth-security__desc {
  color: var(--auth-text-soft);
  line-height: 1.7;
}

.cms-auth-security__refresh {
  border-radius: 999px;
  padding: 7px 14px;
  border-color: rgba(241, 85, 122, 0.2);
  color: var(--auth-primary);
  font-weight: 700;
}

.cms-auth-security__question {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px dashed rgba(241, 85, 122, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--auth-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.cms-auth-security__debug {
  margin-top: 10px;
  color: #7c3aed;
  font-size: 13px;
}

.alert.alert-warning {
  border-radius: 18px;
}

@media (max-width: 1199.98px) {
  .cms-auth-shell {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  }

  .cms-auth-main {
    padding: 40px 32px;
  }

  .cms-auth-poster__body h2 {
    font-size: 34px;
  }
}

@media (max-width: 991.98px) {
  .cms-auth-page {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .cms-auth-card {
    border-radius: 26px;
  }

  .cms-auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cms-auth-poster {
    padding: 18px 18px 0;
  }

  .cms-auth-poster__media {
    min-height: 320px;
  }

  .cms-auth-main {
    padding: 30px 22px 28px;
  }

  .cms-auth-main__header h3 {
    font-size: 28px;
  }

  .cms-auth-toast {
    top: 72px;
    min-width: calc(100vw - 24px);
  }
}

@media (max-width: 767.98px) {
  .cms-auth-card {
    border-radius: 24px;
  }

  .cms-auth-poster {
    padding: 14px 14px 0;
  }

  .cms-auth-poster__media {
    min-height: 280px;
    border-radius: 24px;
  }

  .cms-auth-poster__content {
    gap: 18px;
    padding: 22px 20px 20px;
  }

  .cms-auth-poster__topline,
  .cms-auth-security__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cms-auth-poster__body h2 {
    max-width: none;
    font-size: 28px;
  }

  .cms-auth-main {
    padding: 24px 16px 22px;
  }

  .cms-auth-inline-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cms-auth-login-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .cms-auth-tabs {
    grid-template-columns: 1fr;
  }

  .cms-auth-login-mode-stack {
    min-height: auto;
  }

  .cms-auth-register-meta-row {
    grid-template-columns: 1fr;
  }

  .cms-auth-action-row {
    grid-template-columns: 1fr;
  }

  .cms-auth-register-meta-row__item--agreement {
    padding-top: 0;
  }

  .cms-auth-inline-row__side,
  .cms-auth-verify__trigger {
    width: 100%;
  }

  .cms-auth-main__header {
    margin-bottom: 22px;
  }

  .cms-auth-main__header h3 {
    font-size: 24px;
  }

  .cms-auth-prefill,
  .cms-auth-security {
    padding: 16px;
    border-radius: 18px;
  }

  .cms-auth-prefill__meta {
    flex-direction: column;
  }

  .cms-auth-prefill--compact .cms-auth-prefill__meta {
    flex-direction: row;
  }

  .cms-auth-choice-group .form-check-inline {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cms-auth-toast,
  .cms-auth-submit,
  .cms-auth-code-btn,
  .cms-auth-wechat-btn,
  .cms-auth-main .form-control,
  .cms-auth-main .form-select {
    transition: none;
  }

  .cms-auth-mobile-check.is-checking .cms-auth-mobile-check__icon {
    animation: none;
  }
}
