body.auth-required {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #fff !important;
}

.shell > header,
.modal-mark {
  display: none !important;
}

.flow-page.auth-modal {
  position: fixed !important;
  z-index: 1000 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) !important;
  background: #fff !important;
  color: #30372e !important;
}

.auth-modal .modal-head {
  display: none !important;
}

.auth-modal #modal-content {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

.auth-layout {
  width: 100% !important;
  min-height: 100% !important;
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.auth-top {
  position: static !important;
  width: 100% !important;
  height: 68px !important;
  min-height: 68px !important;
  flex: 0 0 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 0 max(24px, calc((100vw - 440px) / 2)) !important;
}

.auth-back-button {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #e7eae5 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #424944 !important;
}

.auth-back-button svg {
  width: 19px !important;
  height: 19px !important;
  transform: none !important;
}

.auth-brand {
  position: static !important;
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  transform: none !important;
  border-radius: 11px !important;
  background: #424944 !important;
  color: #fff !important;
  font-size: 29px !important;
}

.auth-top-spacer {
  display: none !important;
}

.auth-main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  padding: 28px 0 !important;
}

.auth-heading {
  width: min(440px, calc(100% - 40px)) !important;
  margin: 0 auto 28px !important;
  text-align: center !important;
}

.auth-heading .auth-kicker {
  display: block !important;
  margin: 0 0 12px !important;
  color: #7a8375 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
}

.auth-heading h1,
.auth-heading h2 {
  margin: 0 0 9px !important;
  color: #30372e !important;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(27px, 5vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -1px !important;
}

.auth-heading p {
  max-width: 360px !important;
  margin: 0 auto !important;
  color: #747b71 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.auth-main #auth-form {
  width: 100% !important;
  display: grid !important;
  gap: 13px !important;
  padding: 0 !important;
}

.auth-input-wrap {
  width: min(440px, 75vw) !important;
  height: 54px !important;
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  border: 1px solid #e1e5de !important;
  border-radius: 12px !important;
  background: #f9faf8 !important;
  box-shadow: none !important;
}

.auth-input-wrap:focus-within {
  border-color: #768270 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px #42494412 !important;
}

.auth-input-icon {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  display: grid !important;
  place-items: center !important;
  color: #687363 !important;
}

.auth-input-icon svg,
.auth-password-toggle svg {
  width: 19px !important;
  height: 19px !important;
}

.auth-input-wrap input {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #30372e !important;
  font-size: 16px !important;
  line-height: normal !important;
}

.auth-input-wrap input::placeholder {
  color: #898f86 !important;
  opacity: 1 !important;
}

.auth-password-toggle {
  width: 34px !important;
  height: 38px !important;
  flex: 0 0 34px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  background: transparent !important;
  color: #687363 !important;
}

.auth-main .field-hint {
  width: min(440px, 75vw) !important;
  margin: -6px auto -3px !important;
  color: #747b71 !important;
  font-size: 12px !important;
  text-align: left !important;
}

.auth-main .forgot-link {
  width: min(440px, 75vw) !important;
  justify-self: center !important;
  margin: -4px auto 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #4e5c49 !important;
  font-size: 13px !important;
  text-align: right !important;
}

.auth-main .error,
.auth-main .auth-status {
  width: min(440px, 75vw) !important;
  justify-self: center !important;
  margin: 0 auto !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.auth-main .error:empty,
.auth-main .auth-status:empty {
  display: none !important;
}

.auth-submit {
  width: min(440px, 75vw) !important;
  height: 54px !important;
  min-height: 54px !important;
  justify-self: center !important;
  margin: 3px auto 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #424944 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

.auth-submit:hover {
  background: #343b36 !important;
}

.auth-bottom {
  width: 100% !important;
  min-height: 64px !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  margin: auto 0 0 !important;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid #eef0ec !important;
  background: #fff !important;
  color: #747b71 !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

.auth-switch-link {
  padding: 5px !important;
  background: transparent !important;
  color: #424944 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  white-space: nowrap !important;
}

@media (min-width: 760px) {
  .auth-layout {
    max-width: 100% !important;
  }

  .auth-main {
    width: min(520px, calc(100% - 48px)) !important;
    min-height: 0 !important;
    flex: 0 1 auto !important;
    margin: 0 auto !important;
    padding: 42px 0 !important;
    border: 1px solid #edf0eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 50px #2930210b;
  }

  .auth-main #auth-form {
    padding-bottom: 0 !important;
  }

  .auth-top {
    padding-right: max(32px, calc((100vw - 520px) / 2)) !important;
    padding-left: max(32px, calc((100vw - 520px) / 2)) !important;
  }
}

@media (max-height: 700px) {
  .auth-top {
    height: 54px !important;
    min-height: 54px !important;
    flex-basis: 54px !important;
  }

  .auth-main {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .auth-heading {
    margin-bottom: 17px !important;
  }

  .auth-heading .auth-kicker {
    margin-bottom: 7px !important;
  }

  .auth-main #auth-form {
    gap: 9px !important;
  }

  .auth-input-wrap,
  .auth-submit {
    height: 48px !important;
    min-height: 48px !important;
  }
}

@media (max-width: 360px) {
  .auth-top {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .auth-heading {
    width: 75vw !important;
  }

  .auth-heading h1,
  .auth-heading h2 {
    font-size: 25px !important;
  }

  .auth-bottom {
    font-size: 12px !important;
  }

  .auth-switch-link {
    font-size: 12px !important;
  }
}

.auth-top {
  display: none !important;
}

.auth-main #auth-form {
  --auth-control-width: min(480px, calc(100vw - 40px));
}

.auth-input-wrap,
.auth-submit {
  width: var(--auth-control-width) !important;
  max-width: none !important;
}

.auth-input-wrap {
  height: 58px !important;
  min-height: 58px !important;
  padding-right: 17px !important;
  padding-left: 17px !important;
  border-radius: 14px !important;
  background: #f8f9f7 !important;
}

.auth-input-wrap:focus-within {
  background: #fff !important;
}

.auth-main .field-hint,
.auth-main .forgot-link,
.auth-main .error,
.auth-main .auth-status {
  width: var(--auth-control-width) !important;
  max-width: none !important;
}

.auth-submit {
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 14px !important;
}

@media (min-width: 760px) {
  .auth-main #auth-form {
    --auth-control-width: min(480px, calc(100vw - 64px));
  }
}

@media (max-height: 700px) {
  .auth-input-wrap,
  .auth-submit {
    height: 50px !important;
    min-height: 50px !important;
  }
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  justify-self: center;
  width: min(480px, calc(100vw - 40px));
  margin-inline: auto;
  color: #8b918c;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: #e8ebe8;
  content: "";
}

.auth-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  justify-self: center;
  width: min(480px, calc(100vw - 40px));
  min-height: 58px;
  margin: 0 auto;
  border: 1px solid #dfe3df;
  border-radius: 14px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.auth-google-button:hover {
  border-color: #c8ceca;
  background: #f8f9f8;
}

.auth-google-button:focus-visible {
  outline: 3px solid rgb(66 133 244 / 30%);
  outline-offset: 2px;
}

.auth-google-button:disabled {
  cursor: wait;
  opacity: .72;
}

.auth-google-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

@media (max-height: 700px) {
  .auth-google-button {
    min-height: 50px;
  }
}

.auth-main #error:not(:empty) {
  display: block !important;
  box-sizing: border-box !important;
  padding: 11px 13px !important;
  border: 1px solid #f1d5d8 !important;
  border-radius: 10px !important;
  background: #fff6f6 !important;
  color: #a52f40 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.auth-main #error[hidden] {
  display: none !important;
}

.auth-submit:disabled {
  cursor: wait !important;
  opacity: .72 !important;
}

.flow-page.auth-modal[hidden] {
  display: none !important;
}

.progress-screen[hidden] {
  display: none !important;
}

.progress-screen {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 84%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  pointer-events: all;
  touch-action: none;
}

.progress-card {
  width: min(260px, 78vw);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px 22px 24px;
  border: 1px solid #eff0ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 38px rgb(38 43 36 / 10%);
  text-align: center;
}

.progress-spinner {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: #424944;
  stroke-width: 4.2;
  stroke-linecap: round;
  animation: progress-spin 1.8s linear infinite;
}

.progress-spinner path {
  stroke-dasharray: 5 2.5;
}

.progress-card p {
  margin: 0;
}

#progress-title {
  color: #30372e;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

#progress-detail {
  color: #747b71;
  font-size: 12px;
  line-height: 1.5;
}

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

@media (prefers-reduced-motion: reduce) {
  .progress-spinner {
    animation-duration: 3.6s;
  }
}

.topup-modal #modal-content {
  width: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  padding: clamp(24px, 6vw, 64px) !important;
  background: #fff !important;
}

.flow-page.topup-modal {
  position: fixed !important;
  z-index: 1000 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.flow-page.topup-modal[hidden] {
  display: none !important;
}

.topup-page {
  width: min(100%, 560px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topup-heading {
  margin-bottom: 30px;
}

.topup-eyebrow {
  display: block;
  margin-bottom: 11px;
  color: #7b8577;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.topup-heading h2 {
  margin: 0 0 7px;
  color: #30372e;
  font-size: clamp(26px, 6vw, 32px);
  letter-spacing: -1px;
}

.topup-heading p {
  margin: 0;
  color: #747b71;
  font-size: 14px;
  line-height: 1.5;
}

.topup-label {
  display: block;
  margin-bottom: 9px;
  color: #464e43;
  font-size: 13px;
  font-weight: 650;
}

.topup-amount {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  border: 1px solid #dfe4dc;
  border-radius: 14px;
  background: #fbfcfa;
  color: #424944;
}

.topup-amount:focus-within {
  border-color: #788474;
  background: #fff;
  box-shadow: 0 0 0 3px #42494412;
}

.topup-amount>span:first-child {
  font-size: 28px;
  font-weight: 600;
}

.topup-amount input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #30372e;
  font-size: 32px !important;
  font-weight: 650;
  letter-spacing: -.8px;
}

.topup-amount input::placeholder {
  color: #a3a99f;
  opacity: 1;
}

.topup-amount .topup-currency {
  color: #858c82;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
}

.topup-limit {
  margin: 9px 0 18px;
  color: #747b71;
  font-size: 12px;
}

.topup-modal .presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 25px;
}

.topup-modal .presets button {
  min-width: 0;
  min-height: 42px;
  padding: 8px 5px;
  border: 1px solid #e3e7e0;
  border-radius: 10px;
  background: #fff;
  color: #50594b;
  font-size: 12px;
  font-weight: 600;
}

.topup-modal .presets button:hover,
.topup-modal .presets button.active {
  border-color: #737e6d;
  background: #f1f4ef;
  color: #333b30;
}

.topup-payment {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #eef0ec;
  border-bottom: 1px solid #eef0ec;
}

.topup-payment-icon,
.topup-payment-check {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0f3ee;
  color: #596451;
}

.topup-payment-icon svg,
.topup-payment-check svg {
  width: 19px;
  height: 19px;
}

.topup-payment>span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.topup-payment strong {
  color: #3d4539;
  font-size: 13px;
}

.topup-payment small {
  color: #81877e;
  font-size: 11px;
}

.topup-payment-check {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  margin-left: auto;
  background: #edf5ee;
  color: #527457;
}

.topup-payment-check svg {
  width: 16px;
  height: 16px;
}

.topup-modal #error:not(:empty) {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #f1d5d8;
  border-radius: 10px;
  background: #fff6f6;
  color: #a52f40;
  font-size: 12px;
  line-height: 1.45;
}

.topup-submit {
  width: 100% !important;
  min-height: 54px !important;
  margin-top: 22px !important;
  border-radius: 12px !important;
  background: #424944 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 650 !important;
}

.topup-submit:disabled {
  background: #d8dcd6 !important;
  color: #73796f !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

@media (max-width: 600px) {
  .topup-modal #modal-content {
    align-items: center !important;
    padding: 24px !important;
  }

  .topup-page {
    margin: auto 0;
  }

  .topup-heading {
    margin-bottom: 23px;
  }

  .topup-amount {
    height: 68px;
  }

  .topup-amount input {
    font-size: 29px !important;
  }

  .topup-modal .presets {
    gap: 7px;
  }

  .topup-modal .presets button {
    min-height: 40px;
    font-size: 11px;
  }
}

.flow-page.topup-modal {
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) !important;
}

.topup-modal .modal-head {
  display: none !important;
}

.topup-modal #modal-content {
  align-items: stretch !important;
  justify-content: stretch !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.topup-page {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.topup-page #add-form {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.topup-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  padding: 8px 20px;
}

.topup-back {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #30372e;
}

.topup-back svg {
  width: 24px;
  height: 24px;
}

.topup-title {
  text-align: center;
}

.topup-title h2 {
  margin: 0 0 5px;
  color: #30372e;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.3px;
}

.topup-title p {
  margin: 0;
  color: #747b71;
  font-size: 14px;
}

.topup-main {
  width: 100%;
  min-height: 150px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 24px;
}

.topup-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.topup-amount {
  width: min(100%, 420px);
  min-height: 80px;
  display: flex;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #e1e5de;
  border-radius: 14px;
  background: #f3f4f1;
  color: #30372e;
}

.topup-amount:focus-within {
  border-color: #788474;
  background: #fff;
  box-shadow: 0 0 0 3px #42494412;
}

.topup-amount > span:first-child {
  align-self: center;
  color: #424944;
  font-size: clamp(36px, 10vw, 54px);
  font-weight: 600;
  line-height: 1;
}

.topup-amount input {
  width: auto;
  height: 76px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  color: #30372e !important;
  caret-color: #596451;
  font-size: clamp(38px, 11vw, 58px) !important;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1;
}

.topup-amount input::placeholder {
  color: #a3a99f;
}

.topup-limit {
  margin: 13px 0 0;
  color: #747b71;
  font-size: 13px;
  text-align: center;
}

.topup-footer {
  display: block !important;
  width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 18px 24px 20px;
  background: #fff;
}

.topup-modal .presets {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}

.topup-modal .presets button {
  min-height: 42px;
  padding: 8px 3px;
  border-radius: 12px;
  background: #f3f4f0;
  color: #68705f;
  font-size: 12px;
  font-weight: 600;
}

.topup-modal .presets button.active {
  border-color: #424944;
  background: #424944;
  color: #fff;
}

.topup-payment {
  min-height: 54px;
  padding: 9px 0 13px;
  border-top: 0;
  border-bottom: 0;
}

.topup-payment-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 10px;
}

.topup-payment small {
  font-size: 11px;
}

.topup-submit {
  min-height: 58px !important;
  margin-top: 8px !important;
  border-radius: 30px !important;
  font-size: 17px !important;
}

.topup-submit:not(:disabled) {
  background: #424944 !important;
}

.topup-modal #error:not(:empty) {
  margin: 6px 0 0;
}

@media (max-width: 600px) {
  .topup-header {
    min-height: 72px;
    padding: 6px 16px;
  }

  .topup-main {
    padding: 16px 18px;
  }

  .topup-footer {
    padding: 12px 18px 14px;
  }
}

@media (max-height: 500px) {
  .topup-header {
    min-height: 60px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .topup-main {
    min-height: 0;
    padding: 4px 18px;
  }

  .topup-amount {
    min-height: 58px;
  }

  .topup-amount input {
    height: 54px;
    font-size: 38px !important;
  }

  .topup-amount > span:first-child {
    font-size: 36px;
  }

  .topup-limit {
    margin-top: 4px;
    font-size: 11px;
  }

  .topup-footer {
    padding: 5px 16px 8px;
  }

  .topup-modal .presets {
    gap: 5px;
    margin-bottom: 4px;
  }

  .topup-modal .presets button {
    min-height: 32px;
    padding: 4px 2px;
    font-size: 11px;
  }

  .topup-payment {
    min-height: 38px;
    padding: 3px 0 5px;
  }

  .topup-payment-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .topup-submit {
    min-height: 44px !important;
    margin-top: 4px !important;
  }
}

@media (max-width: 600px) {
  .topup-header {
    height: 64px;
    min-height: 64px;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding: 4px 14px;
  }

  .topup-back {
    width: 38px;
    height: 38px;
  }

  .topup-back svg {
    width: 21px;
    height: 21px;
  }

  .topup-title h2 {
    margin-bottom: 3px;
    font-size: 18px;
  }

  .topup-title p {
    font-size: 12px;
  }

  .topup-main {
    min-height: 0;
    padding: 16px 20px;
  }

  .topup-amount {
    width: min(100%, 340px);
    min-height: 68px;
    gap: 7px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .topup-amount > span:first-child {
    font-size: 40px;
  }

  .topup-amount input {
    height: 64px;
    font-size: 42px !important;
  }

  .topup-limit {
    margin-top: 9px;
    font-size: 11px;
  }

  .topup-footer {
    padding: 10px 16px 12px;
  }

  .topup-modal .presets {
    gap: 6px;
    margin-bottom: 7px;
  }

  .topup-modal .presets button {
    min-height: 36px;
    padding: 5px 2px;
    border-radius: 9px;
    font-size: 11px;
  }

  .topup-payment {
    min-height: 44px;
    gap: 9px;
    padding: 5px 0 7px;
  }

  .topup-payment-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .topup-payment strong {
    font-size: 12px;
  }

  .topup-payment small {
    font-size: 10px;
  }

  .topup-submit {
    min-height: 50px !important;
    margin-top: 6px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 350px) {
  .topup-header {
    height: 58px;
    min-height: 58px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .topup-title h2 {
    font-size: 17px;
  }

  .topup-title p {
    font-size: 11px;
  }

  .topup-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .topup-footer {
    padding-right: 12px;
    padding-left: 12px;
  }

  .topup-modal .presets button {
    font-size: 10px;
  }
}

@media (max-height: 500px) and (max-width: 600px) {
  .topup-header {
    height: 48px;
    min-height: 48px;
  }

  .topup-main {
    padding: 4px 14px;
  }

  .topup-amount {
    min-height: 54px;
  }

  .topup-amount input {
    height: 50px;
    font-size: 34px !important;
  }

  .topup-amount > span:first-child {
    font-size: 32px;
  }

  .topup-limit {
    margin-top: 3px;
  }

  .topup-footer {
    padding: 4px 12px 7px;
  }

  .topup-modal .presets {
    margin-bottom: 2px;
  }

  .topup-modal .presets button {
    min-height: 30px;
  }

  .topup-payment {
    min-height: 34px;
    padding: 2px 0 3px;
  }

  .topup-submit {
    min-height: 42px !important;
    margin-top: 3px !important;
  }
}

.topup-page {
  display: grid;
  grid-template-rows: clamp(62px, 8vh, 82px) minmax(0, 1fr) 20%;
  position: relative;
}

.topup-header {
  height: 100%;
  min-height: 0;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  padding: 0 clamp(18px, 5vw, 32px);
}

.topup-back {
  width: 40px;
  height: 40px;
  color: #485347;
}

.topup-back svg {
  width: 22px;
  height: 22px;
}

.topup-title h2 {
  margin: 0;
  color: #222820;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
}

.topup-title p {
  display: none;
}

.topup-page #add-form {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr);
}

.topup-main {
  min-height: 0;
  justify-content: flex-end;
  padding: 0 clamp(20px, 5vw, 36px) 2%;
}

.topup-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  margin: 0 0 15px;
  color: #454b3e;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}

.topup-amount {
  width: min(100%, 420px);
  min-height: 84px;
  justify-content: flex-start;
  gap: 4px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topup-amount:focus-within {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.topup-amount > span:first-child {
  color: #d3d6da;
  font-size: clamp(42px, 11vw, 66px);
  font-weight: 500;
}

.topup-amount input {
  height: 80px;
  padding: 0 !important;
  color: #d3d6da !important;
  caret-color: #30372e;
  font-size: clamp(42px, 11vw, 66px) !important;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
}

.topup-amount input::placeholder {
  color: #d3d6da;
}

.topup-limit {
  margin: clamp(26px, 6vh, 64px) 0 0;
  color: #8b9488;
  font-size: 15px;
  text-align: center;
}

.topup-footer {
  min-height: 0;
  padding: clamp(14px, 3vh, 30px) clamp(16px, 4vw, 24px) 0;
}

.topup-modal .presets {
  gap: 9px;
  margin: 0;
}

.topup-modal .presets button {
  min-height: clamp(40px, 5.4vh, 56px);
  padding: 6px 3px;
  border: 1px solid #e3e6df;
  border-radius: 13px;
  background: #f3f4f0;
  color: #68705f;
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 600;
}

.topup-modal .presets button.active {
  border-color: #424944;
  background: #424944;
  color: #fff;
}

.topup-submit {
  min-height: clamp(52px, 7.5vh, 76px) !important;
  margin-top: clamp(24px, 4.5vh, 46px) !important;
  border-radius: 999px !important;
  background: #d9ddd7 !important;
  box-shadow: 0 10px 22px rgb(48 55 46 / 8%) !important;
  color: #747c71 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.topup-submit:disabled {
  background: #d9ddd7 !important;
  color: #747c71 !important;
}

.topup-submit:not(:disabled) {
  background: #424944 !important;
  color: #fff !important;
}

.topup-payment {
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 0;
  justify-self: center;
  align-self: center;
  gap: 9px;
  padding: 0;
}

.topup-payment-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 8px;
  background: #f1f3ef;
  color: #818b79;
}

.topup-payment-icon svg {
  width: 16px;
  height: 16px;
}

.topup-payment > span:nth-child(2) {
  gap: 2px;
}

.topup-payment strong {
  color: #747c71;
  font-size: 11px;
  font-weight: 600;
}

.topup-payment small {
  color: #a1a79e;
  font-size: 9px;
}

.topup-modal #error:not(:empty) {
  margin: 4px 0 0;
  padding: 6px 8px;
}

@media (max-width: 380px) {
  .topup-title h2 {
    font-size: 18px;
  }

  .topup-label {
    font-size: 15px;
  }

  .topup-limit {
    font-size: 12px;
  }

  .topup-modal .presets {
    gap: 6px;
  }
}

@media (max-height: 620px) {
  .topup-page {
    grid-template-rows: 56px minmax(0, 1fr) 16%;
  }

  .topup-page #add-form {
    grid-template-rows: minmax(0, 1fr) minmax(0, .85fr);
  }

  .topup-main {
    padding-bottom: 0;
  }

  .topup-label {
    margin-bottom: 5px;
  }

  .topup-amount {
    min-height: 54px;
  }

  .topup-amount input {
    height: 52px;
    font-size: 40px !important;
  }

  .topup-amount > span:first-child {
    font-size: 40px;
  }

  .topup-limit {
    margin-top: 8px;
    font-size: 11px;
  }

  .topup-footer {
    padding-top: 4px;
  }

  .topup-modal .presets button {
    min-height: 32px;
  }

  .topup-submit {
    min-height: 42px !important;
    margin-top: 8px !important;
  }
}

.topup-modal #modal-content {
  margin: 0 !important;
}

.topup-page {
  display: block;
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.topup-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8%;
  min-height: 0;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  padding: 0 24px;
}

.topup-back {
  position: relative;
  justify-self: start;
  width: 36px;
  height: 40px;
  color: #414940;
}

.topup-back svg {
  width: 20px;
  height: 20px;
}

.topup-back::after {
  content: none;
}

.topup-title h2 {
  color: #242a22;
  font-size: 20px;
  font-weight: 500;
}

.topup-page #add-form {
  display: contents;
}

.topup-main,
.topup-footer {
  display: contents;
}

.topup-label {
  position: absolute;
  top: 25.5%;
  left: 0;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: #454b3e;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.topup-amount {
  position: absolute;
  top: 30.5%;
  left: 50%;
  width: min(60vw, 280px);
  min-height: 82px;
  justify-content: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
}

.topup-amount > span:first-child {
  font-size: clamp(42px, 11vw, 66px);
}

.topup-amount input {
  height: 80px;
  flex: 0 1 220px;
  font-size: clamp(42px, 11vw, 66px) !important;
}

.topup-limit {
  position: absolute;
  top: 45.8%;
  left: 0;
  width: 100%;
  margin: 0;
  font-size: clamp(12px, 3.4vw, 16px);
  text-align: center;
}

.topup-modal .presets {
  position: absolute;
  top: 50.2%;
  left: 50%;
  width: calc(100% - 44px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  transform: translateX(-50%);
}

.topup-modal .presets button {
  min-height: clamp(40px, 5.4vh, 56px);
  padding: 5px 2px;
  border-radius: 12px;
  font-size: clamp(10px, 2.8vw, 13px);
}

.topup-modal #error:not(:empty) {
  position: absolute;
  top: 56%;
  left: 24px;
  width: calc(100% - 48px);
  margin: 0;
}

.topup-submit {
  position: absolute;
  top: 60.2%;
  left: 50%;
  width: calc(100% - 48px) !important;
  min-height: clamp(52px, 7.5vh, 76px) !important;
  margin: 0 !important;
  transform: translateX(-50%);
  border-radius: 999px !important;
  background: #d9ddd7 !important;
  box-shadow: 0 10px 22px rgb(48 55 46 / 8%) !important;
  color: #747c71 !important;
}

.topup-submit:active {
  transform: translateX(-50%) scale(.98) !important;
}

.topup-submit:not(:disabled) {
  background: #424944 !important;
  color: #fff !important;
}

.topup-payment {
  position: absolute;
  top: 83.2%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 0;
  justify-self: auto;
  align-self: auto;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
}

.topup-payment-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 8px;
}

.topup-payment strong {
  font-size: 11px;
}

.topup-payment small {
  font-size: 9px;
}

@media (max-width: 380px) {
  .topup-header {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    padding: 0 16px;
  }

  .topup-title h2 {
    font-size: 18px;
  }

  .topup-modal .presets {
    width: calc(100% - 36px);
    gap: 6px;
  }

  .topup-submit {
    width: calc(100% - 36px) !important;
  }
}

@media (max-height: 560px) {
  .topup-header {
    height: 12%;
  }

  .topup-label {
    top: 15%;
  }

  .topup-amount {
    top: 25%;
    min-height: 58px;
  }

  .topup-amount input {
    height: 56px;
    font-size: 40px !important;
  }

  .topup-amount > span:first-child {
    font-size: 40px;
  }

  .topup-limit {
    top: 44%;
    font-size: 11px;
  }

  .topup-modal .presets {
    top: 50%;
  }

  .topup-modal .presets button {
    min-height: 32px;
  }

  .topup-submit {
    top: 60%;
    min-height: 42px !important;
  }

  .topup-payment {
    top: 78%;
  }
}

.topup-back {
  border-radius: 12px;
  color: #424944;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.topup-back:hover {
  background: #f1f3ef;
  color: #30372e;
}

.topup-back:focus-visible {
  outline: 2px solid #788474;
  outline-offset: 2px;
}

.topup-back svg {
  display: block !important;
}

.topup-back::before {
  content: none;
}

.topup-back::after {
  content: none;
}

.topup-amount {
  justify-content: center;
}

.topup-amount input {
  color: #242a22 !important;
}

.topup-amount > span:first-child,
.topup-amount input::placeholder {
  color: #d3d6da !important;
}

.topup-amount input {
  text-align: center;
}

body.auth-required .flow-page.auth-modal {
  color: #171717 !important;
}

body.auth-required .auth-layout {
  min-height: 100% !important;
  justify-content: flex-start !important;
}

body.auth-required .auth-main {
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  padding: clamp(104px, 15vh, 184px) 0 0 !important;
}

body.auth-required .auth-heading {
  width: min(590px, calc(100% - 40px)) !important;
  margin: 0 auto clamp(70px, 12vh, 148px) !important;
}

body.auth-required .auth-heading .auth-kicker,
body.auth-required .auth-heading p {
  display: none !important;
}

body.auth-required .auth-heading h1,
body.auth-required .auth-heading h2 {
  margin: 0 !important;
  color: #242424 !important;
  font-size: clamp(27px, 5vw, 34px) !important;
  font-weight: 500 !important;
  letter-spacing: -.65px !important;
}

body.auth-required .auth-main #auth-form {
  width: 100% !important;
  gap: 23px !important;
}

body.auth-required .auth-input-wrap,
body.auth-required .auth-submit,
body.auth-required .auth-main .forgot-link,
body.auth-required .auth-main .error,
body.auth-required .auth-main .auth-status {
  width: min(590px, calc(100% - 48px)) !important;
}

body.auth-required .auth-input-wrap {
  height: 68px !important;
  min-height: 68px !important;
  gap: 0 !important;
  padding: 0 25px !important;
  border: 1px solid #dfe2e4 !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgb(16 24 40 / 4%), inset 0 1px 2px rgb(16 24 40 / 3%) !important;
}

body.auth-required .auth-input-wrap:focus-within {
  border-color: #777 !important;
  box-shadow: 0 0 0 3px rgb(17 17 17 / 8%) !important;
}

body.auth-required .auth-input-icon {
  display: none !important;
}

body.auth-required .auth-input-wrap input {
  color: #171717 !important;
  font-size: 17px !important;
}

body.auth-required .auth-input-wrap input::placeholder {
  color: #7b8087 !important;
}

body.auth-required .auth-main .forgot-link {
  justify-self: center !important;
  margin: -5px auto 2px !important;
  color: #303030 !important;
  font-size: 14px !important;
  text-align: right !important;
}

body.auth-required .auth-submit {
  height: 68px !important;
  min-height: 68px !important;
  margin: 0 auto !important;
  border: 1px solid #181818 !important;
  border-radius: 11px !important;
  background: #242424 !important;
  color: #fff !important;
  box-shadow: 0 2px 3px rgb(0 0 0 / 12%) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

body.auth-required .auth-submit:hover {
  background: #101010 !important;
}

body.auth-required .auth-bottom {
  width: min(590px, calc(100% - 48px)) !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  margin: 20px auto 0 !important;
  padding: 0 0 calc(22px + env(safe-area-inset-bottom)) !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 15px !important;
}

body.auth-required .auth-switch-link {
  color: #202020 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body.auth-required .auth-divider,
body.auth-required .auth-google-button {
  width: min(590px, calc(100vw - 48px)) !important;
  justify-self: center !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 520px) {
  body.auth-required .auth-main {
    padding-top: clamp(92px, 15vh, 176px) !important;
  }

  body.auth-required .auth-heading {
    margin-bottom: clamp(72px, 12vh, 138px) !important;
  }

  body.auth-required .auth-input-wrap,
  body.auth-required .auth-submit {
    height: 64px !important;
    min-height: 64px !important;
  }
}

@media (max-height: 700px) {
  body.auth-required .auth-main {
    padding-top: 60px !important;
  }

  body.auth-required .auth-heading {
    margin-bottom: 38px !important;
  }

  body.auth-required .auth-main #auth-form {
    gap: 13px !important;
  }

  body.auth-required .auth-input-wrap,
  body.auth-required .auth-submit {
    height: 54px !important;
    min-height: 54px !important;
  }
}

body.auth-required .flow-page.auth-modal,
body.auth-required .auth-modal #modal-content,
body.auth-required .auth-layout,
body.auth-required .auth-main,
body.auth-required .auth-main #auth-form {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.auth-required .auth-layout {
  min-height: 100dvh !important;
}

body.auth-required .auth-top {
  display: none !important;
}

body.auth-required .auth-main {
  flex: 1 0 auto !important;
  padding-top: clamp(104px, 15vh, 184px) !important;
}

body.auth-required .auth-bottom {
  justify-content: center !important;
  gap: 4px !important;
  text-align: center !important;
  font-size: 12px !important;
}

body.auth-required .auth-switch-link {
  font-size: 12px !important;
}

@media (max-width: 520px) {
  body.auth-required .auth-main {
    padding-top: clamp(92px, 15vh, 176px) !important;
  }
}

body.auth-required .auth-layout {
  position: relative !important;
  min-height: 100dvh !important;
  justify-content: flex-start !important;
}

body.auth-required .auth-top {
  position: absolute !important;
  z-index: 1;
  top: clamp(32px, 4.2vh, 48px) !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 20px !important;
}

body.auth-required .auth-top > .auth-back-button,
body.auth-required .auth-top > .auth-brand,
body.auth-required .auth-top > .auth-top-spacer {
  display: none !important;
}

.auth-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-brand-lockup img {
  display: block;
  width: min(158px, 52vw);
  height: auto;
}

body.auth-required .auth-main {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  padding: clamp(190px, 25.5vh, 280px) 0 0 !important;
}

body.auth-required .auth-heading {
  width: min(440px, calc(100% - 48px)) !important;
  margin: 0 auto clamp(62px, 8.5vh, 94px) !important;
}

body.auth-required .auth-heading h1,
body.auth-required .auth-heading h2 {
  color: #171717 !important;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(27px, 5.5vw, 31px) !important;
  font-weight: 300 !important;
  letter-spacing: -.8px !important;
  line-height: 1.25 !important;
}

body.auth-required .auth-main #auth-form {
  width: 100% !important;
  gap: 27px !important;
}

body.auth-required .auth-divider {
  display: none !important;
}

body.auth-required .auth-input-wrap {
  position: relative !important;
  width: min(440px, calc(100vw - 48px)) !important;
  height: 70px !important;
  min-height: 70px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  border: 1px solid #c4c4c4 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.auth-required .auth-input-wrap:focus-within {
  border-color: #6e6e6e !important;
  box-shadow: 0 0 0 1px #6e6e6e !important;
}

body.auth-required .auth-input-wrap input {
  color: #171717 !important;
  font-size: 17px !important;
}

.auth-field-label {
  position: absolute;
  top: -11px;
  left: 52px;
  z-index: 1;
  padding: 0 8px;
  background: #fff;
  color: #424242;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}

body.auth-required .auth-password-toggle {
  color: #222 !important;
}

body.auth-required .auth-main .forgot-link {
  width: min(440px, calc(100vw - 48px)) !important;
  margin: -20px auto -5px !important;
  color: #555 !important;
  font-size: 13px !important;
}

body.auth-required .auth-main .error,
body.auth-required .auth-main .auth-status {
  width: min(440px, calc(100vw - 48px)) !important;
}

body.auth-required .auth-submit,
body.auth-required .auth-google-button {
  width: min(440px, calc(100vw - 48px)) !important;
  height: 82px !important;
  min-height: 82px !important;
  border-radius: 13px !important;
  justify-self: center !important;
  margin: 0 auto !important;
  font-size: 18px !important;
}

body.auth-required .auth-submit {
  background: #242424 !important;
  font-weight: 700 !important;
}

body.auth-required .auth-google-button {
  border: 0 !important;
  background: #f0f0f0 !important;
  color: #171717 !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  margin-top: -11px !important;
  text-transform: capitalize !important;
}

body.auth-required .auth-google-button:hover {
  background: #e9e9e9 !important;
}

body.auth-required .auth-divider {
  margin-top: -13px !important;
  margin-bottom: -13px !important;
}

body.auth-required .auth-bottom {
  width: min(440px, calc(100vw - 48px)) !important;
  margin: 30px auto 48px !important;
  padding: 0 !important;
  color: #848b83 !important;
  font-size: 15px !important;
}

body.auth-required .auth-switch-link {
  color: #242424 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

@media (max-width: 520px) {
  body.auth-required .auth-main {
    padding-top: clamp(150px, 25.5vh, 280px) !important;
  }

  body.auth-required .auth-heading {
    margin-bottom: clamp(48px, 8.5vh, 94px) !important;
  }

  body.auth-required .auth-input-wrap {
    height: clamp(58px, 13vw, 70px) !important;
    min-height: clamp(58px, 13vw, 70px) !important;
  }

  body.auth-required .auth-submit,
  body.auth-required .auth-google-button {
    height: clamp(64px, 15.5vw, 82px) !important;
    min-height: clamp(64px, 15.5vw, 82px) !important;
  }

  .auth-field-label {
    font-size: 18px;
  }
}

body.auth-required .auth-main {
  padding-top: clamp(112px, 17vh, 160px) !important;
}

body.auth-required .auth-heading {
  width: min(440px, calc(100% - 48px)) !important;
  margin-bottom: clamp(36px, 5vh, 48px) !important;
}

body.auth-required .auth-main #auth-form {
  gap: clamp(17px, 2.2vh, 21px) !important;
}

body.auth-required .auth-input-wrap {
  height: 58px !important;
  min-height: 58px !important;
}

body.auth-required .auth-submit,
body.auth-required .auth-google-button {
  height: 62px !important;
  min-height: 62px !important;
  font-size: 16px !important;
}

body.auth-required .auth-main .field-hint {
  margin: -4px auto 0 !important;
  line-height: 1.4 !important;
}

body.auth-required .auth-bottom {
  margin-top: 28px !important;
  margin-bottom: max(32px, env(safe-area-inset-bottom)) !important;
}

body.auth-required .auth-google-button {
  margin-top: 0 !important;
}

@media (max-height: 760px) {
  body.auth-required .auth-main {
    padding-top: clamp(96px, 14vh, 118px) !important;
  }

  body.auth-required .auth-heading {
    margin-bottom: clamp(28px, 4vh, 36px) !important;
  }

  body.auth-required .auth-main #auth-form {
    gap: 15px !important;
  }

  body.auth-required .auth-input-wrap {
    height: 54px !important;
    min-height: 54px !important;
  }

  body.auth-required .auth-submit,
  body.auth-required .auth-google-button {
    height: 58px !important;
    min-height: 58px !important;
  }

  body.auth-required .auth-bottom {
    margin-top: 22px !important;
    margin-bottom: max(24px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 520px) {
  body.auth-required .auth-main {
    padding-top: clamp(100px, 16vh, 132px) !important;
  }

  body.auth-required .auth-heading {
    margin-bottom: clamp(30px, 4.5vh, 42px) !important;
  }

  body.auth-required .auth-input-wrap {
    width: min(440px, calc(100vw - 48px)) !important;
  }

  body.auth-required .auth-submit,
  body.auth-required .auth-google-button {
    width: min(440px, calc(100vw - 48px)) !important;
  }
}

body.auth-required .auth-layout.auth-register {
  min-height: 100dvh !important;
}

body.auth-required .auth-register .auth-top {
  display: none !important;
}

body.auth-required .auth-register .auth-main {
  flex: 1 0 auto !important;
  padding-top: clamp(52px, 8vh, 76px) !important;
  padding-bottom: 8px !important;
}

body.auth-required .auth-register .auth-heading {
  margin-bottom: clamp(20px, 3vh, 28px) !important;
}

body.auth-required .auth-register .auth-main #auth-form {
  gap: clamp(10px, 1.6vh, 14px) !important;
}

body.auth-required .auth-register .auth-input-wrap {
  height: 50px !important;
  min-height: 50px !important;
}

body.auth-required .auth-register .auth-submit,
body.auth-required .auth-register .auth-google-button {
  height: 54px !important;
  min-height: 54px !important;
}

body.auth-required .auth-register .auth-main .field-hint {
  margin: -5px auto -2px !important;
}

body.auth-required .auth-register .auth-bottom {
  flex: 0 0 auto !important;
  margin: 12px auto max(18px, env(safe-area-inset-bottom)) !important;
}

@media (max-height: 680px) {
  body.auth-required .auth-register .auth-main {
    padding-top: 28px !important;
  }

  body.auth-required .auth-register .auth-heading {
    margin-bottom: 16px !important;
  }

  body.auth-required .auth-register .auth-main #auth-form {
    gap: 8px !important;
  }

  body.auth-required .auth-register .auth-input-wrap {
    height: 46px !important;
    min-height: 46px !important;
  }

  body.auth-required .auth-register .auth-submit,
  body.auth-required .auth-register .auth-google-button {
    height: 48px !important;
    min-height: 48px !important;
  }

  body.auth-required .auth-register .auth-bottom {
    margin-top: 8px !important;
  }
}

body.auth-required .auth-modal:has(.auth-layout.auth-login) #modal-content {
  overflow-y: hidden !important;
}

body.auth-required .auth-layout.auth-login {
  min-height: 100dvh !important;
}

body.auth-required .auth-login .auth-main {
  width: 100% !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  justify-content: center !important;
  padding: clamp(82px, 12vh, 116px) 0 16px !important;
}

body.auth-required .auth-login .auth-heading {
  margin-bottom: clamp(30px, 5vh, 48px) !important;
}

body.auth-required .auth-login .auth-main #auth-form {
  gap: clamp(14px, 2.2vh, 20px) !important;
}

body.auth-required .auth-login .auth-input-wrap {
  height: 60px !important;
  min-height: 60px !important;
}

body.auth-required .auth-login .auth-submit,
body.auth-required .auth-login .auth-google-button {
  height: 62px !important;
  min-height: 62px !important;
}

body.auth-required .auth-login .auth-main .forgot-link {
  margin: -7px auto -2px !important;
}

body.auth-required .auth-login .auth-google-button {
  margin-top: 0 !important;
}

body.auth-required .auth-login .auth-bottom {
  flex: 0 0 auto !important;
  margin: 16px auto max(28px, env(safe-area-inset-bottom)) !important;
}

@media (max-height: 700px) {
  body.auth-required .auth-login .auth-main {
    padding-top: 72px !important;
    padding-bottom: 8px !important;
  }

  body.auth-required .auth-login .auth-heading {
    margin-bottom: 24px !important;
  }

  body.auth-required .auth-login .auth-main #auth-form {
    gap: 12px !important;
  }

  body.auth-required .auth-login .auth-input-wrap {
    height: 52px !important;
    min-height: 52px !important;
  }

  body.auth-required .auth-login .auth-submit,
  body.auth-required .auth-login .auth-google-button {
    height: 54px !important;
    min-height: 54px !important;
  }

  body.auth-required .auth-login .auth-bottom {
    margin-top: 10px !important;
    margin-bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-height: 560px) {
  body.auth-required .auth-modal:has(.auth-layout.auth-login) #modal-content {
    overflow-y: auto !important;
  }
}

body.auth-required .auth-modal:has(.auth-layout.auth-register) #modal-content {
  overflow-y: hidden !important;
}

body.auth-required .auth-layout.auth-register {
  min-height: 100dvh !important;
  height: 100dvh !important;
}

body.auth-required .auth-register .auth-main {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  justify-content: center !important;
  padding: clamp(40px, 6.5vh, 62px) 0 12px !important;
}

body.auth-required .auth-register .auth-heading {
  margin-bottom: clamp(28px, 4vh, 38px) !important;
}

body.auth-required .auth-register .auth-main #auth-form {
  gap: clamp(14px, 1.9vh, 18px) !important;
}

body.auth-required .auth-register .auth-input-wrap {
  height: 56px !important;
  min-height: 56px !important;
}

body.auth-required .auth-register .auth-submit,
body.auth-required .auth-register .auth-google-button {
  height: 60px !important;
  min-height: 60px !important;
}

body.auth-required .auth-register .auth-main .field-hint {
  margin: -8px auto -2px !important;
  line-height: 1.3 !important;
}

body.auth-required .auth-register .auth-bottom {
  width: min(440px, calc(100vw - 48px)) !important;
  min-height: 0 !important;
  justify-content: center !important;
  margin: 5px auto 0 !important;
  padding: 4px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
}

body.auth-required .auth-register .auth-switch-link {
  font-size: 14px !important;
}

body.auth-required .auth-register .auth-google-button {
  margin-top: 0 !important;
}

@media (max-height: 700px) {
  body.auth-required .auth-register .auth-main {
    padding-top: 22px !important;
    padding-bottom: 4px !important;
  }

  body.auth-required .auth-register .auth-heading {
    margin-bottom: 20px !important;
  }

  body.auth-required .auth-register .auth-main #auth-form {
    gap: 10px !important;
  }

  body.auth-required .auth-register .auth-input-wrap {
    height: 48px !important;
    min-height: 48px !important;
  }

  body.auth-required .auth-register .auth-submit,
  body.auth-required .auth-register .auth-google-button {
    height: 52px !important;
    min-height: 52px !important;
  }

  body.auth-required .auth-register .auth-bottom {
    margin-top: 2px !important;
  }
}

body.auth-required .auth-login .auth-main #auth-form,
body.auth-required .auth-register .auth-main #auth-form {
  gap: clamp(18px, 2.5vh, 24px) !important;
}

body.auth-required .auth-login .auth-submit,
body.auth-required .auth-register .auth-submit {
  margin-top: 5px !important;
}

body.auth-required .auth-login .auth-google-button,
body.auth-required .auth-register .auth-google-button {
  margin-top: 2px !important;
}

@media (max-height: 700px) {
  body.auth-required .auth-login .auth-main #auth-form,
  body.auth-required .auth-register .auth-main #auth-form {
    gap: 16px !important;
  }
}
