html.age-gate-open,
body.age-gate-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    padding: clamp(.75rem, 3vw, 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(8, 2, 8, .05);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

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

.age-gate-dialog {
    position: relative;
    box-sizing: border-box;
    width: 23rem;
    max-height: calc(100vh - clamp(1.5rem, 6vw, 4rem));
    margin: auto;
    padding: 1.3rem 0.5rem 1.5rem 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #1ABC9D;
    border-radius: 1rem;
    color: #fff;
    background: linear-gradient(to bottom, #133733 0%, #131D19 100%);
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .55);
    text-align: center;
    -webkit-overflow-scrolling: touch;
}

.age-gate-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(42, 4, 28, .18);
    pointer-events: none;
}

.age-gate-shield {
    display: block;
    width: 6rem;
    height: auto;
    margin: 0 auto clamp(1rem, 2.5vw, 1rem);
    object-fit: contain;
    filter: drop-shadow(0 .75rem 1.5rem rgba(69, 0, 37, .4));
}

.age-gate-title {
    margin: 0;
    line-height: 1;
}

.age-gate-title img {
    display: block;
    width: 6rem;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 .2rem .35rem rgba(47, 0, 25, .55));
}

.age-gate-description {
    margin: 1.1rem 0 1.1rem 0;
    color: rgba(255, 255, 255, .7);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.75;
}

.age-gate-description span {
    display: block;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: clamp(.1rem, 2vw, 1.25rem);
    width: min(100%, 37.5rem);
    margin: 0 auto;
}

.age-gate-button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 85%;
    margin: 0 auto;
    height: 3.2rem;
    padding: 0.6rem;
    border-radius: 1rem;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
}

.age-gate-button:hover {
    transform: translateY(-1px);
}

.age-gate-button:active {
    transform: translateY(0);
}

.age-gate-button-minor {
    gap: 0.7rem;
    height: 3.6rem;
    border: 1px solid #1ABC9D;
    color: #1ABC9D;
    background: #0F2827;
}

.age-info-box {
    text-align: left;
}

.no18en {
    color: rgba(255, 255, 255, .7);
    font-size: 0.7rem;
    display: block;
    margin-top: 0.25rem;
}

.age-gate-button-minor img {
    flex: 0 0 auto;
    width: 2rem;
    height: auto;
}

.age-gate-button-adult {
    border: 1px solid transparent;
    color: #fff;
    background: #067145;
    font-weight: 500;
    font-size: 0.9rem;
    height: 2.8rem;
    width: 76%;
    border-radius: 2rem;
}

@media (max-width: 767px) {
    .age-gate-overlay {
        align-items: center;
    }

    .age-gate-dialog {
        max-height: calc(100vh - 1.5rem);
        padding: 1.5rem 0.7rem;
        border-radius: 1rem;
        width: 92%;
    }

    .age-gate-shield {
        margin-bottom: .75rem;
    }

    .age-gate-title img {
        width: 7rem;
    }

    .age-gate-button {
        width: 88%;
        padding: 0.6rem 0.8rem;
    }

    .age-gate-button-adult {
        font-size: 1rem;
        width: 76%;
    }

    .age-gate-actions {
        gap: 1.1rem;
    }

    .no18en {
        font-size: 0.62rem;
    }

    .age-gate-description {
        margin: 0.7rem auto 1rem;
        font-size: 0.85rem;
    }
}
