.age-gate{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.age-gate.is-active{
    display: flex;
}

.age-gate__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .46);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.age-gate__modal{
    position: relative;
    width: min(500px, 100%);
    border-radius: 15px;
    background: #fff;
    color: #333;
    padding: 23px 25px 25px;
    text-align: center;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.age-gate__modal h2{
    color: #333;
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 12px;
}

.age-gate__modal p{
    color: #777;
    font-size: 1em;
    margin-bottom: 22px;
}

.age-gate__modal button{
    width: 100%;
    height: 48px;
    border-radius: 16px;
    font-size: 1.05em;
    font-weight: 800;
    cursor: pointer;
}

.age-gate__yes{
    border: 1px solid #000;
    background: #000;
    color: #fff;
    margin-bottom: 10px;
}

.age-gate__no{
    border: 1px solid #8b949e;
    background: #fff;
    color: #73777d;
}

.age-gate__no:disabled{
    cursor: not-allowed;
    opacity: .72;
}

.age-gate__denied{
    display: none;
    margin-top: 13px;
    color: #a33131;
    font-weight: 700;
}

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

@media (max-width: 480px){
    .age-gate__modal{
        padding: 22px 24px 24px;
        border-radius: 14px;
    }

    .age-gate__modal h2{
        font-size: 1.1em;
    }
}
