.wb-auth-form.is-wb-loading,
.wb-account-form.is-wb-loading {
  position: relative;
  pointer-events: none;
  opacity: .78;
}

.wb-auth-form.is-wb-loading::after,
.wb-account-form.is-wb-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 24px;
  background: rgba(255, 255, 255, .52);
}

.wb-register-submit-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: .55rem;
  vertical-align: -.15em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: wbRegisterSpin .72s linear infinite;
}

@keyframes wbRegisterSpin {
  to { transform: rotate(360deg); }
}

.wb-auth-modal__body.is-wb-register-success > :not(.wb-register-success-state) {
  display: none !important;
}

.wb-register-success-state {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 8px 0 4px;
  text-align: center;
  animation: wbRegisterSuccessIn .28s ease both;
}

.wb-register-success-state__mascot,
.wb-account-welcome-modal__mascot {
  display: block;
  width: min(174px, 52vw);
  height: auto;
  margin: 0 auto 4px;
}

.wb-register-success-state__title {
  margin: 0;
  color: #F18ABF;
  font-family: var(--wb-font-heading, inherit);
  font-weight: 800;
  line-height: 1.08;
}

.wb-register-success-state__text,
.wb-register-success-state__hint {
  max-width: 420px;
  margin: 0;
}

.wb-register-success-state__hint {
  color: #8f8f8f;
  font-size: 14px;
  line-height: 1.45;
}

.wb-register-success-state__ok {
  min-width: 160px;
  margin-top: 4px;
}

[data-favorites-toggle] {
  position: relative;
  z-index: 15;
  pointer-events: auto;
  touch-action: manipulation;
}

[data-favorites-toggle].is-active,
[data-favorites-toggle].ms3f--active {
  transform: scale(1.04);
}

@keyframes wbRegisterSuccessIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}