.age-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-modal-overlay--hidden {
  display: none;
}

.age-modal {
  width: min(480px, 92vw);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top right, #fef3c7 0, #fdfcfb 48%, #e0f2fe 100%);
  box-shadow: var(--shadow-lg);
}

.age-modal-title {
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.age-modal-text {
  font-size: var(--text-sm);
}

.age-modal-text-secondary {
  margin-top: var(--space-2);
}

.age-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  justify-content: flex-end;
}

.age-btn {
  min-width: 9rem;
}

.age-btn-no {
  order: 1;
}

.age-btn-yes {
  order: 2;
}

@media (max-width: 480px) {
  .age-modal {
    padding: var(--space-5);
  }

  .age-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .age-btn {
    width: 100%;
    justify-content: center;
  }
}

html.age-modal-open,
body.age-modal-open {
  overflow: hidden;
}
