body.ng-age-gate-open {
    overflow: hidden;
}

.ng-age-gate[hidden] {
    display: none !important;
}

.ng-age-gate {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: max(18px, env(safe-area-inset-top, 0px)) 18px max(18px, env(safe-area-inset-bottom, 0px));
}

.ng-age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.ng-age-gate__panel {
    position: relative;
    width: min(100%, 460px);
    padding: 24px 20px;
    border-radius: 22px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.ng-age-gate__brand {
    margin: 0 0 8px;
    color: var(--ng-accent);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ng-age-gate__panel h2 {
    margin: 0;
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.1;
}

.ng-age-gate__panel p:not(.ng-age-gate__brand) {
    margin: 14px 0 20px;
    color: #444;
    font-size: 1rem;
}

.ng-age-gate__confirm {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: var(--ng-accent);
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.ng-age-gate__confirm:focus-visible {
    outline-color: #111;
}

@media (max-width: 359px) {
    .ng-age-gate {
        padding-inline: 12px;
    }

    .ng-age-gate__panel {
        padding: 20px 16px;
        border-radius: 18px;
    }
}
