/* 18+ age gate (1.15.1), inc/age-gate.php. Shown only while <html> is
   cc-age-ask (the question) or cc-age-under (blocked); set by the head script. */

.agegate { display: none; }
.cc-age-ask .agegate,
.cc-age-under .agegate { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; background: rgba(20,24,31,0.94); }
.cc-age-under .agegate { background: var(--night); }
html.cc-age-ask,
html.cc-age-under { overflow: hidden; }

.agegate-card { width: 100%; max-width: 440px; margin: auto; background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 14px; padding: 28px 26px 22px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); text-align: center; }
.cc-age-ask [data-cc-age-blocked],
.cc-age-under [data-cc-age-ask] { display: none; }

.agegate .ftr-logo { justify-content: center; }
.agegate .ftr-logo .w { color: var(--ink); }
.agegate .ftr-logo .o { color: var(--orange); } /* 1.18.0: the card is light whatever the footer colour. */
.agegate-title { font-size: 44px; margin: 18px 0 0; }
.agegate-title:focus { outline: none; }
.agegate-text { font-size: 15px; color: var(--ink2); margin: 10px 0 0; }
.agegate-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.agegate-actions .btn { white-space: normal; }
.agegate-actions .btn:focus-visible { outline: 3px solid var(--orange2); outline-offset: 3px; }
.agegate-note { font-size: 12.5px; color: var(--mute); margin: 18px 0 0; line-height: 1.5; }
.agegate-note a { color: var(--ink2); text-decoration: underline; }

@media (max-width: 430px) {
  .agegate-card { padding: 22px 18px 18px; }
  .agegate-title { font-size: 36px; }
}
