body.access-gate-loading {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.access-gate-loading #app {
  pointer-events: none !important;
  user-select: none;
}

.customer-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 18px;
  overflow: hidden;
  background: rgba(255, 253, 242, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-sizing: border-box;
  overscroll-behavior: none;
  touch-action: pan-y;
  contain: layout paint;
}

.customer-gate-box {
  flex: 0 1 430px;
  width: min(100%, 430px);
  min-width: 0;
  max-width: 430px;
  max-height: calc(100svh - 36px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px 20px 20px;
  border: 1px solid rgba(11, 29, 58, 0.12);
  border-radius: 30px;
  background: #ffffff;
  color: #0b1d3a;
  box-shadow: 0 28px 90px rgba(11, 29, 58, 0.18);
  box-sizing: border-box;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  transform: none !important;
  will-change: auto !important;
}

.customer-register-box h2,
.customer-denied-box h2,
.customer-error-box h2 {
  margin: 0 0 9px;
  color: #0b1d3a;
  font-size: 1.78rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.055em;
}

.customer-gate-kicker {
  margin: 0 0 7px;
  color: #ff7a00;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.customer-gate-box > p,
.customer-gate-box form > p {
  margin: 0 0 14px;
  color: #5c6a80;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.customer-register-form {
  display: grid;
  min-width: 0;
  gap: 11px;
}

.customer-register-form > label {
  min-width: 0;
  max-width: 100%;
}

.customer-register-form > label:not(.customer-terms-label) {
  display: grid;
  gap: 6px;
  color: #0b1d3a;
  font-size: 0.86rem;
  font-weight: 850;
}

.customer-register-form input[type="text"],
.customer-register-form input[type="tel"],
.customer-register-form input[type="email"],
.customer-register-form input[type="date"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(11, 29, 58, 0.14);
  border-radius: 15px;
  outline: none;
  background: #ffffff;
  color: #0b1d3a;
  font: inherit;
  box-sizing: border-box;
}

.customer-register-form input:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.14);
}

.customer-terms-label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 1px 0;
  color: #5c6a80;
  font-size: 0.79rem;
  font-weight: 760;
  line-height: 1.26;
}

.customer-terms-label input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #ffb800;
}

.customer-age-notice {
  margin: 2px 0 4px !important;
  padding: 11px 12px;
  border: 1px solid rgba(255, 122, 0, 0.18);
  border-radius: 15px;
  background: #fff8dd;
  color: #4c5870 !important;
  font-size: 0.76rem !important;
  font-weight: 790 !important;
  line-height: 1.3 !important;
}

.customer-gate-primary,
.customer-gate-danger {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  border-radius: 17px;
  font-size: 0.94rem;
  font-weight: 950;
  cursor: pointer;
  box-sizing: border-box;
}

.customer-gate-primary {
  border: 0;
  background: linear-gradient(135deg, #ffd100, #ffb800);
  color: #0b1d3a;
  box-shadow: 0 14px 30px rgba(255, 209, 0, 0.28);
}

.customer-gate-danger {
  border: 0;
  background: #0b1d3a;
  color: #ffffff;
}

.customer-gate-status {
  min-height: 16px;
  margin: 1px 0 0 !important;
  color: #ff7a00 !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.customer-denied-box,
.customer-error-box {
  text-align: center;
}

.customer-denied-box .customer-age-notice,
.customer-error-box .customer-age-notice {
  text-align: left;
}

@media (max-width: 480px) {
  .customer-gate-overlay {
    align-items: center;
    width: 100%;
    padding: 12px;
  }

  .customer-gate-box {
    width: 100%;
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    padding: 18px 18px 16px;
    border-radius: 25px;
  }

  @supports (height: 100dvh) {
    .customer-gate-box {
      max-height: calc(100dvh - 24px);
    }
  }

  .customer-register-box h2,
  .customer-denied-box h2,
  .customer-error-box h2 {
    font-size: 1.5rem;
  }

  .customer-register-form {
    gap: 9px;
  }

  .customer-register-form input[type="text"],
  .customer-register-form input[type="tel"],
  .customer-register-form input[type="email"],
  .customer-register-form input[type="date"] {
    min-height: 41px;
    padding: 9px 11px;
    border-radius: 13px;
    font-size: 0.9rem;
  }

  .customer-terms-label {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    font-size: 0.73rem;
  }

  .customer-terms-label input {
    width: 16px;
    height: 16px;
    min-height: 16px;
  }

  .customer-gate-primary,
  .customer-gate-danger {
    min-height: 44px;
    border-radius: 15px;
    font-size: 0.88rem;
  }
}

@media (max-height: 680px) {
  .customer-gate-box {
    align-self: flex-start;
    margin-block: 8px;
  }
}