#age-gate-overlay,
#age-gate-overlay * {
  box-sizing: border-box;
}

#age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #F5F6F7;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Arial, sans-serif;
}

#age-gate-overlay.show {
  display: flex;
}

#age-gate-modal {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  color: #222;
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

#age-gate-logo {
  max-width: 220px;
  margin: 10px auto 20px auto;
  display: block;
}

#age-gate-modal h2 {
  color: #273BAB;
  margin: 0 0 10px 0;
  font-size: 24px;
}

#age-gate-modal p {
  margin: 0 0 16px 0;
  font-size: 15px;
  color: #555;
}

.age-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 18px 0;
}

.age-row input {
  width: 80px;
  height: 48px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.age-row input.year {
  width: 110px;
}

.age-row input:focus {
  outline: none;
  border-color: #222;
}

#age-submit {
  width: 100%;
  height: 48px;
  background: #222;
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

#age-submit:hover {
  background: #111;
}

#age-error {
  color: #b00020;
  margin-top: 10px;
  font-size: 14px;
}

#age-exit {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

body.lock {
  overflow: hidden !important;
}