/* Site-wide 18+ confirmation overlay. Does not hide page HTML from crawlers.
   Content stays in the document; this is a visible overlay only.
   No user-agent branching. */

html:not(.age-ok) {
  overflow: hidden;
}

.site-age-gate-notice {
  margin: 0;
  padding: 0.7rem 1rem;
  background: rgba(10, 10, 10, 0.92);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-ui, 'Montserrat', system-ui, sans-serif);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.45;
}

.site-age-gate {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.78);
  box-sizing: border-box;
}

html.age-ok .site-age-gate {
  display: none;
}

.site-age-gate .age-panel {
  width: min(100%, 400px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
}

.site-age-gate .age-actions {
  width: 100%;
}

.site-age-gate .btn {
  width: 100%;
  box-sizing: border-box;
}
