.gr-age-dialog { max-width:min(480px,calc(100vw - 32px)); padding:0; border:1px solid var(--gr-border-strong); border-radius:16px; background:var(--slate-790); color:var(--text); box-shadow:0 30px 80px rgba(0,0,0,.5); }
.gr-age-dialog::backdrop { background:color-mix(in srgb,var(--slate-880) 85%,transparent); backdrop-filter:blur(8px); }
.gr-age-dialog-surface { padding:32px; text-align:center; }
.gr-age-mark { display:inline-grid; place-items:center; width:72px; height:72px; border:2px solid var(--red-270); border-radius:50%; background:color-mix(in srgb,var(--red-480) 28%,var(--slate-850)); box-shadow:0 0 0 7px color-mix(in srgb,var(--red-270) 12%,transparent); color:var(--red-140); font-size:24px; font-weight:800; letter-spacing:-.02em; }
.gr-age-dialog h2 { margin:22px 0 10px; font-size:22px; line-height:1.3; }
.gr-age-dialog p,.gr-age-restricted p { margin:0; color:var(--muted-bright); font-size:15px; line-height:1.6; }
.gr-age-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:24px; }
.gr-age-actions .gr-button { display:inline-flex; flex:1 1 190px; align-items:center; justify-content:center; min-height:46px; margin:0; font-size:14px; }
.gr-age-note { display:block; margin-top:16px; color:var(--slate-340); font-size:12px; line-height:1.5; }
.gr-age-dialog button:focus-visible,.gr-age-restricted :is(button,a):focus-visible { outline:2px solid var(--gr-primary); outline-offset:4px; }

/* The home banner withholds adult media as a blurred poster and does not ask the question. */
.gr-app .gr-age-banner { position:relative; overflow:hidden; aspect-ratio:16/9; border-radius:10px; background:var(--slate-850); }
.gr-app .gr-age-banner img { position:absolute; inset:-32px; width:calc(100% + 64px); height:calc(100% + 64px); object-fit:cover; filter:blur(26px) saturate(1.1); pointer-events:none; }

/* A restricted page: the blurred poster says what is behind it, and the question is asked in place. */
.gr-age-restricted { position:relative; isolation:isolate; overflow:hidden; display:grid; place-items:center; min-height:min(72vh,640px); margin:24px auto 40px; padding:32px 16px; border:1px solid var(--gr-border-strong); border-radius:16px; background:var(--slate-850); text-align:center; }
.gr-age-restricted::after { content:''; position:absolute; z-index:-1; inset:0; background:radial-gradient(ellipse at center,color-mix(in srgb,var(--slate-880) 55%,transparent) 0%,color-mix(in srgb,var(--slate-880) 85%,transparent) 75%); pointer-events:none; }
.gr-age-poster { position:absolute; z-index:-2; inset:-48px; width:calc(100% + 96px); height:calc(100% + 96px); object-fit:cover; filter:blur(30px) saturate(1.2); opacity:.55; pointer-events:none; }
.gr-age-restricted-copy { position:relative; width:min(100%,560px); padding:40px 32px 32px; border:1px solid var(--line-strong); border-radius:16px; background:color-mix(in srgb,var(--slate-820) 78%,transparent); box-shadow:0 30px 80px rgba(0,0,0,.45); backdrop-filter:blur(10px); }
.gr-age-restricted .gr-age-eyebrow { margin:20px 0 6px; color:var(--red-230); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.gr-age-title { margin:0 0 18px; color:var(--text); font-size:clamp(26px,3vw,36px); line-height:1.15; letter-spacing:-.02em; text-wrap:balance; overflow-wrap:anywhere; }
.gr-age-restricted .gr-age-question { margin:0 0 8px; color:var(--text); font-size:19px; line-height:1.35; }
.gr-age-restricted .gr-age-mark + .gr-age-question { margin-top:20px; }
@media (max-width:600px) {
  .gr-age-dialog-surface { padding:24px; }
  .gr-age-dialog h2 { font-size:20px; }
  .gr-age-restricted { min-height:0; margin:12px auto 24px; padding:16px 12px; }
  .gr-age-restricted-copy { padding:28px 20px 22px; }
  .gr-age-actions .gr-button { flex-basis:100%; }
}
