/* ---------- Age gate (Pondasi module age_gate) ----------
   The page ships locked: <html class="age-locked">. age-gate.js removes the class once
   the visitor is verified. While locked the gate covers everything and the page cannot scroll. */
.age-gate {
  display: none;
}

html.age-locked {
  overflow: hidden;
}

html.age-locked .age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  overflow-y: auto;
  isolation: isolate;
  background: var(--ink-deep);
}

.age-gate__media {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.age-gate__panel {
  width: min(100%, 520px);
  padding: clamp(28px, 6vw, 48px);
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.age-gate__panel:focus {
  outline: none;
}

.age-gate__logo {
  width: 170px;
  margin: 0 auto 28px;
}

.age-gate__title {
  font-size: clamp(2rem, 6vw, 2.75rem);
}

.age-gate__text {
  max-width: 40ch;
  margin: 16px auto 0;
  color: var(--muted);
}

.age-gate__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.age-gate__note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* The note on the home page after "No", and the age note on range tiles and group headings. */
.age-notice {
  padding: 14px 0;
  background: var(--ink);
  color: var(--paper);
}

.age-notice p {
  margin: 0;
}
