#age-confirmation {
    width: min(92vw, 460px, calc((100vh - 32px) * .82));
    container-type: inline-size;
    max-width: none;
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: min(9.2vw, 46px, calc((100vh - 32px) * .082));
    background: transparent;
    overflow: auto;
    overscroll-behavior: contain;
}

@media (max-width: 959px) {
    #age-confirmation {
        width: min(68vw, 460px, calc((100vh - 32px) * .82));
        border-radius: min(6.8vw, 46px, calc((100vh - 32px) * .082));
    }
}

#age-confirmation::backdrop {
    background: rgba(0, 0, 0, .72);
}

.age-confirmation-card {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    padding: 6cqw 6cqw 8cqw;
    border: 1px solid #badbff;
    border-radius: inherit;
    color: #071435;
    font-family: system-ui, -apple-system, "Microsoft YaHei", sans-serif;
    background: radial-gradient(ellipse at 46% 55%, #fff 0%, rgba(255, 255, 255, .92) 24%, transparent 77%), linear-gradient(130deg, #e6f1ff, #f9fcff 38%, #cce3fc);
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 7cqw rgba(125, 181, 238, .12);
}

.age-confirmation-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(145deg, transparent 36%, rgba(162, 207, 252, .12) 36%, rgba(162, 207, 252, .12) 44%, transparent 44%, transparent 49%, rgba(162, 207, 252, .08) 49%, rgba(162, 207, 252, .08) 59%, transparent 59%) top right / 55% 36% no-repeat;
    pointer-events: none;
}

.age-confirmation-brand {
    text-align: center;
    color: #009cff;
}

.age-confirmation-wordmark {
    display: block;
    width: 30cqw;
    height: 14.8cqw;
    margin: 0 auto;
    object-fit: contain;
}

.age-confirmation-slogan {
    margin: 2cqw 0 0;
    font-size: 5.1cqw;
    line-height: 1.18;
    font-weight: 900;
}

.age-confirmation-subtitle {
    display: flex;
    justify-content: space-between;
    width: 60cqw;
    margin: 1cqw auto 0;
    font-family: "Songti SC", SimSun, serif;
    font-size: 3.8cqw;
    line-height: 1.26;
    letter-spacing: .35cqw;
}

.age-confirmation-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4cqw;
    height: 21.5cqw;
    margin-top: 5cqw;
    padding: 0 3cqw;
    border-radius: 6.5cqw;
    background: linear-gradient(110deg, rgba(215, 233, 255, .65), rgba(241, 247, 255, .6) 58%, rgba(197, 224, 255, .65));
}

.age-confirmation-badge {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 20cqw;
    height: 16.2cqw;
    color: #fff;
    font-size: 7.5cqw;
    font-weight: 700;
}

.age-confirmation-badge svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.age-confirmation-badge span {
    position: relative;
}

#age-confirmation-title {
    position: relative;
    margin: 0;
    padding-left: 4.5cqw;
    border-left: .3cqw solid #148cff;
    font-size: 9.6cqw;
    line-height: 1.15;
    font-weight: 900;
    white-space: nowrap;
}

#age-confirmation-title:focus {
    outline: none;
}

.age-confirmation-wave {
    position: absolute;
    left: 4.5cqw;
    bottom: -4cqw;
    width: 43cqw;
    height: 4.5cqw;
    pointer-events: none;
}

#age-confirmation-description {
    margin: 4.3cqw 0 6.2cqw;
    font-size: 4.1cqw;
    line-height: 1.45;
    font-weight: 500;
    text-align: center;
    color: #292e40;
}

#age-confirmation-description span {
    display: block;
    white-space: nowrap;
}

#age-confirmation-description span:last-child {
    transform: scaleX(.93);
}

.age-confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 4cqw;
}

.age-confirmation-button {
    width: 100%;
    height: 11.6cqw;
    margin: 0;
    padding: 0 3cqw;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 4.8cqw;
    line-height: 1.4;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
    -webkit-tap-highlight-color: transparent;
}

.age-confirmation-leave {
    border-color: #388dff;
    background: #f7fbff;
    color: #071435;
    box-shadow: inset 0 0 3cqw rgba(190, 221, 255, .12);
}

.age-confirmation-accept {
    height: 13.4cqw;
    font-size: 5.4cqw;
    background: linear-gradient(90deg, #39c9fa 0%, #0072ef 18%, #005fff 82%, #0097ff 100%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, .65), inset 0 -1px 2px rgba(0, 72, 210, .2);
    color: #fff;
}

.age-confirmation-arrow {
    display: inline-block;
    width: 3.2cqw;
    height: 4.8cqw;
    margin-left: 2.5cqw;
    vertical-align: -.5cqw;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
    .age-confirmation-leave:hover {
        border-color: #006aff;
        background: #e0efff;
        box-shadow: 0 5px 14px rgba(0, 106, 255, .18);
        transform: translateY(-2px);
    }

    .age-confirmation-accept:hover {
        background: linear-gradient(90deg, #19b7f3 0%, #005ac6 18%, #004bd6 82%, #007cea 100%);
        box-shadow: 0 6px 18px rgba(0, 97, 255, .3);
        transform: translateY(-2px);
    }
}

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

.age-confirmation-button:focus-visible {
    outline: 2px solid #147dff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .age-confirmation-button {
        transition: none;
    }
}

html.age-confirmation-pending,
html.age-confirmation-pending body {
    overflow: hidden !important;
}

html.age-confirmation-pending .xqbj-component-advertises {
    visibility: hidden;
}
