/* Keep the account and app actions visible and usable before JavaScript runs. */
.form-signup .btn-signup.auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.form-signup .btn-signup.auth-actions > .auth-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  height: 48px !important;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #d7a94f;
  border-radius: 24px;
  background-image: none !important;
  color: #fff3d2;
  font: 700 15px/1 "SF Pro Display", sans-serif;
  letter-spacing: .2px;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.form-signup .btn-signup.auth-actions > .auth-login {
  background: linear-gradient(180deg, #7d5a25, #2e1b08);
}

.form-signup .btn-signup.auth-actions > .auth-register {
  background: linear-gradient(180deg, #a43127, #4d0d09);
}

.form-signup .btn-signup.auth-actions > .auth-action:focus-visible,
.download-action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 400px;
  max-width: 100%;
  margin: 0 auto 10px;
}

.download-action {
  display: flex;
  min-width: 0;
  height: 58px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #d7a94f;
  border-radius: 29px;
  background: linear-gradient(180deg, #5d4829, #160e06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 10px rgba(0, 0, 0, .35);
  color: #fff3d2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.download-action .download-platform {
  font-size: 11px;
  font-weight: 500;
  opacity: .82;
}

.download-action strong {
  font-size: 14px;
  white-space: nowrap;
}

.download-action:active,
.form-signup .btn-signup.auth-actions > .auth-action:active {
  transform: translateY(1px);
}

@media screen and (max-width: 767px) {
  .main-inner {
    min-height: 100svh;
  }

  .form-signup {
    margin-top: 5px !important;
    padding: 48px 18px 22px !important;
  }

  .form-signup .input-wrapper {
    padding-bottom: 11px;
    margin-bottom: 5px;
  }

  .form-signup .btn-signup.auth-actions > .auth-action {
    height: 46px !important;
    font-size: 14px !important;
  }

  .divider {
    margin: 0;
    padding: 8px 0 !important;
  }

  .divider img {
    height: 2px;
  }

  .bottom-box {
    width: 100% !important;
    max-width: 370px !important;
    margin: 0 auto 12px !important;
  }

  .download-actions {
    width: 100%;
    gap: 8px;
    margin-bottom: 0;
  }

  .download-action {
    height: 50px;
    gap: 5px;
    padding: 0 8px;
  }

  .download-action .download-platform {
    font-size: 10px;
  }

  .download-action strong {
    font-size: 12px;
  }

  .custom-pc {
    display: none;
  }

  .partner {
    margin-top: 8px !important;
  }
}

@media screen and (max-width: 360px) {
  .form-signup .btn-signup.auth-actions {
    gap: 7px;
  }

  .form-signup .btn-signup.auth-actions > .auth-action {
    padding: 0 6px;
    font-size: 12px !important;
  }

  .download-actions {
    gap: 7px;
  }

  .download-action {
    flex-direction: column;
    gap: 1px;
  }

  .download-action strong {
    font-size: 11px;
  }
}

@media screen and (max-width: 767px) and (max-height: 680px) {
  .form-signup {
    padding-top: 44px !important;
    padding-bottom: 18px !important;
  }

  .form-signup input {
    height: 36px !important;
  }

  .form-signup .btn-signup.auth-actions > .auth-action {
    height: 42px !important;
  }

  .download-action {
    height: 46px;
  }

  .partner-title .partner-glow {
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .partner-content {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }
}
