/* The 18+ gate on Nibbles' pages (assets/age_gate.js; 24 Nov 2026 - Wisse: "were going 18+ from now on").
   The page stays hidden (html.age-wait) until the Yes; the gate is the DeadRooms wall (site.css .backrooms) with a card
   in the gallery's dark frame (gallery.css .gal-big). */
html.age-wait { overflow: hidden; }
html.age-wait body > :not(.age-gate) { visibility: hidden; }

.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 20px; overflow-y: auto;
}
.age-gate .light { z-index: 0; }
.age-gate-card {
  position: relative; z-index: 1; width: min(100%, 520px); padding: 26px 24px 18px; text-align: center;
  border: 2px solid var(--dr-wall-dark); border-radius: 12px; background: #100f08; color: var(--dr-text);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .7);
}
.age-gate-card .kicker { margin: 0 0 6px; }
.age-gate-title {
  font-family: var(--font-display); font-weight: 400; font-stretch: condensed; text-transform: uppercase;
  font-size: clamp(2.1rem, 8vw, 3.2rem); line-height: .95; letter-spacing: .01em; margin: 0 0 14px;
  color: var(--dr-text); text-shadow: 0 2px 0 #000;
}
.age-gate-text { margin: 0 0 14px; color: var(--dr-muted); }
.age-gate-q { margin: 0 0 12px; font-weight: 700; font-size: 1.1rem; }
.age-gate-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.age-gate-row .btn { min-width: 120px; font: inherit; font-weight: 700; }
.age-gate-note { margin: 0; }

/* the signup's "I'm 18 or older" box (pet.html, never ticked for you) */
.acct-form .acct-adult { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 2px; font-size: .9rem; color: var(--dr-text); cursor: pointer; }
.acct-form .acct-adult input { margin: 3px 0 0; padding: 0; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.acct-form .acct-adult input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.acct-form .acct-adult[hidden] { display: none; }
