.age-gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: 24px 16px;
    background: rgba(33, 16, 25, .82);
    backdrop-filter: blur(5px);
}

.age-gate-panel {
    width: min(480px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 36px;
    border: 1px solid var(--line, #eadfe4);
    border-radius: 16px;
    background: var(--white, #fff);
    color: var(--ink, #2b2329);
    box-shadow: 0 28px 90px rgba(24, 5, 14, .36);
    text-align: center;
}

.age-gate-panel:focus { outline: none; }

.age-gate-mark {
    display: grid;
    width: 86px;
    height: 86px;
    margin: 0 auto 24px;
    place-items: center;
    border: 2px solid var(--red, #a51e46);
    border-radius: 50%;
    background: var(--pink, #f8eaf0);
    color: var(--red, #a51e46);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.age-gate-panel .eyebrow { margin-bottom: 10px; }

.age-gate-panel h2 {
    margin: 0 0 14px;
    font-size: 30px;
    letter-spacing: -.8px;
}

.age-gate-panel > p:not(.eyebrow):not(.age-gate-terms) {
    max-width: 370px;
    margin: 0 auto 25px;
    color: var(--muted, #766a72);
    font-size: 13px;
    line-height: 1.75;
}

.age-gate-actions {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 10px;
}

.age-gate-actions .button { width: 100%; white-space: normal; }

.age-gate-terms {
    margin: 20px 0 0;
    color: var(--muted, #766a72);
    font-size: 10px;
    line-height: 1.7;
}

html.age-gate-pending,
html.age-gate-pending body { overflow: hidden; }

@media (max-width: 480px) {
    .age-gate-panel { padding: 29px 21px; }
    .age-gate-mark { width: 76px; height: 76px; margin-bottom: 20px; font-size: 27px; }
    .age-gate-panel h2 { font-size: 26px; }
    .age-gate-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .age-gate { backdrop-filter: none; }
}
