.nomatic-agecheck-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.62);
}

.nomatic-agecheck-overlay.is-visible {
  display: flex;
}

.nomatic-agecheck-modal {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid rgba(47, 161, 234, 0.32);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.28);
  color: #111827;
  padding: 26px 24px 22px;
  text-align: left;
}

.nomatic-agecheck-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6b7a;
  font-size: 28px;
  line-height: 30px;
  cursor: pointer;
}

.nomatic-agecheck-close:hover,
.nomatic-agecheck-close:focus {
  background: #eef7ff;
  color: #0b78c9;
  outline: 0;
}

.nomatic-agecheck-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 34px;
  border-radius: 999px;
  background: #2fa1ea;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}

.nomatic-agecheck-title {
  margin: 0 34px 10px 0;
  color: #263238;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

.nomatic-agecheck-message {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.nomatic-agecheck-choice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px solid #cfe8fb;
  border-radius: 8px;
  background: #f5fbff;
  color: #172033;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
}

.nomatic-agecheck-choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #2fa1ea;
}

.nomatic-agecheck-help {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .nomatic-agecheck-modal {
    padding: 22px 18px 18px;
  }

  .nomatic-agecheck-title {
    font-size: 20px;
  }
}

