body.age-warning-lock {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
body.age-warning-lock > * {
    pointer-events: none;
}
body.age-warning-lock > #age-warning {
    pointer-events: auto;
    display: flex;
}
.age-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
    z-index: 99999;
}
.age-warning-modal {
    position: relative;
    width: 25rem;
    height: 26.5rem;
    max-width: 100%;
    padding: 1.75rem 1.75rem 1.25rem;
    border-radius: 0.75rem;
    border: 0.041875rem solid transparent;
    background:
        linear-gradient(180deg, #103833 0%, #07100F 100%) padding-box,
        linear-gradient(180deg, #D2FFED 0%, #1ABC9D 100%) border-box;
    box-shadow: inset 0 0 3.75rem rgba(17, 230, 190, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.age-warning-icon {
    width: 6.25rem;
    height: 6.25rem;
    overflow: hidden;
    flex-shrink: 0;
}
.age-warning-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.age-warning-title {
    margin-top: 0.75rem;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 2.125rem;
    text-align: center;
    background: linear-gradient(90deg, #EBF8EC 0%, #1ABC9D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.age-warning-desc {
    margin: 0.75rem 0 0;
    width: 20rem;
    max-width: 100%;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}
.age-warning-notice {
    position: relative;
    isolation: isolate;
    margin-top: 1rem;
    width: 21.375rem;
    max-width: 100%;
    min-height: 3.75rem;
    border-radius: 0.5rem;
    border: none;
    background: rgba(5, 22, 20, 0.72);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 1rem;
    box-sizing: border-box;
    cursor: pointer;
}
.age-warning-notice::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 0.041875rem;
    border-radius: inherit;
    background: linear-gradient(90deg, #D2FFED 0%, #1ABC9D 100%);
    -webkit-mask: linear-gradient(#FFFFFF 0 0) content-box, linear-gradient(#FFFFFF 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.age-warning-notice:hover {
    filter: brightness(1.15);
}
.age-warning-badge {
    flex-shrink: 0;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    border: 0.0625rem solid #1ABC9D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    color: #1ABC9D;
}
.age-warning-notice-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.age-warning-notice-zh {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1rem;
    color: #1ABC9D;
}
.age-warning-notice-en {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1rem;
    color: rgba(255, 255, 255, 0.7);
}
.age-warning-confirm {
    margin-top: 1.25rem;
    width: 16.875rem;
    max-width: 100%;
    height: 3rem;
    border-radius: 1.5rem;
    border: none;
    cursor: pointer;
    background: #21C9AE;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.125rem;
    font-family: inherit;
}
.age-warning-confirm::after {
    content: "I am 18 or older. Continue.";
    display: block;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1rem;
}
.age-warning-confirm:hover {
    filter: brightness(1.05);
}
@media (max-width: 640px) {
    .age-warning-modal {
        width: min(25rem, calc(100vw - 1.5rem));
        height: auto;
        min-height: 26.5rem;
        padding: 1.75rem 1.75rem 1.25rem;
    }

    .age-warning-icon {
        width: 6.25rem;
        height: 6.25rem;
    }

    .age-warning-title {
        font-size: 1.75rem;
        line-height: 2.125rem;
    }

    .age-warning-notice-text {
        gap: 0.25rem;
    }
    .age-warning-desc {
        width: 20rem;
        font-size: 0.875rem;
        line-height: 1.5rem;
    }

    .age-warning-notice {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .age-warning-notice-zh {
        font-size: 0.75rem;
    }

    .age-warning-notice-en {
        font-size: 0.75rem;
    }

    .age-warning-confirm {
        width: 16.875rem;
        height: 3rem;
        font-size: 1rem;
    }
}
