html:not(.age-ok) { overflow: hidden; }
html:not(.age-ok) body > :not(#age) { visibility: hidden; }
.agegate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 17, 12, .92);
}
html.age-ok .agegate { display: none; }
.agecard {
  width: min(440px, 100%);
  background: #0c1f18;
  color: #f8fafc;
  border: 1px solid rgba(251, 191, 36, .5);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  font-family: Manrope, system-ui, sans-serif;
}
.agecard h2 { margin: 0 0 8px; font-size: 1.35rem; line-height: 1.25; }
.agecard p { margin: 0 0 16px; color: #cbd5e1; line-height: 1.45; }
.ageacts { display: flex; gap: 10px; }
.ageacts button {
  flex: 1;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}
#ageYes {
  border: 0;
  background: linear-gradient(135deg, #fbbf24, #34d399);
  color: #052e16;
}
#ageNo {
  border: 1px solid rgba(148, 163, 184, .45);
  background: transparent;
  color: #f8fafc;
}
#medrx-compliance {
  margin: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, .35);
  background: rgba(7, 8, 11, .92);
  color: #cbd5e1;
  font: 14px/1.45 Manrope, system-ui, sans-serif;
}
#medrx-compliance strong {
  display: block;
  margin-bottom: 4px;
  color: #fbbf24;
  font-size: 12px;
  letter-spacing: .12em;
}
