.av-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.68);
}

.av-age-overlay.av-age-visible {
  display: flex;
}

.av-age-dialog {
  width: 100%;
  max-width: 520px;
  padding: 32px;
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.av-age-dialog h2 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
}

.av-age-dialog p {
  margin: 0 0 10px;
  color: #222222 !important;
  font-size: 17px;
  line-height: 1.5;
}

.av-age-main-text {
  color: #222222 !important;
  font-size: 20px !important;
  font-weight: 700;
}

.av-age-subtext {
  color: #333333 !important;
  opacity: 1;
}

.av-age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.av-age-btn {
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.av-age-btn-yes {
  background: #2e7d32;
}

.av-age-btn-no {
  background: #c62828;
}

.av-age-btn:hover,
.av-age-btn:focus {
  filter: brightness(0.95);
}

.av-age-btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.28);
  outline-offset: 2px;
}

html.av-age-locked,
body.av-age-locked {
  overflow: hidden !important;
}

@media (max-width: 560px) {
  .av-age-dialog {
    padding: 24px 18px;
  }

  .av-age-dialog h2 {
    font-size: 24px;
  }

  .av-age-actions {
    flex-direction: column;
  }

  .av-age-btn {
    width: 100%;
  }
}
