.eight-pop-mask {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.76);
    box-sizing: border-box;
}

.eight-pop-mask.is-open {
    display: flex;
}

.eight-pop-dialog {
    width: 440px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.eight-pop-card {
    width: 440px;
    max-width: 100%;
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    overflow: hidden;
    color: #FFFFFF;
    background: #0D0D0D;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 40px;
    box-shadow: none;
    box-sizing: border-box;
}

.eight-pop-icon {
    width: 78px;
    height: 78px;
    display: block;
    flex: 0 0 78px;
    object-fit: contain;
}

.eight-pop-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.eight-pop-title {
    margin: 0;
    min-height: 36px;
    color: #FFFFFF;
    font: 400 24px/32px "PingFang SC", "Noto Sans SC", sans-serif;
    text-align: center;
}

.eight-pop-desc {
    width: 100%;
    margin: 0;
    color: #FFFFFF;
    font: 400 18px/24px "PingFang SC", "Noto Sans SC", sans-serif;
    text-align: justify;
}

.eight-pop-actions {
    width: 100%;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-radius: 0;
}

.eight-pop-btn {
    width: 100%;
    height: 46px;
    flex: 0 0 46px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #FFFFFF;
    border: 0;
    border-radius: 12px;
    box-sizing: border-box;
    cursor: pointer;
    font: 600 16px/22px "PingFang SC", "Noto Sans SC", sans-serif;
    text-align: center;
    transition: filter 180ms ease, transform 180ms ease;
}

.eight-pop-btn--confirm {
    background: #EC237F;
}

.eight-pop-btn--exit {
    background: #1A1A1A;
}

.eight-pop-btn:hover,
.eight-pop-btn:focus-visible {
    filter: brightness(1.08);
}

.eight-pop-btn:active {
    transform: scale(0.99);
}

.eight-pop-close {
    width: 36px;
    height: 36px;
    padding: 0;
    display: block;
    flex: 0 0 36px;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease;
}

.eight-pop-close img {
    width: 36px;
    height: 36px;
    display: block;
}

.eight-pop-close:hover,
.eight-pop-close:focus-visible {
    opacity: 0.8;
    transform: scale(1.06);
}

@media (max-width: 767px) {
    .eight-pop-mask {
        padding: 16px;
    }

    .eight-pop-dialog {
        width: 300px;
        gap: 36px;
    }

    .eight-pop-card {
        width: 300px;
        padding: 24px 20px;
        gap: 18px;
        border-radius: 20px;
    }

    .eight-pop-copy {
        gap: 24px;
    }

    .eight-pop-title {
        min-height: 0;
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
    }

    .eight-pop-desc {
        font-size: 14px;
        line-height: 20px;
    }

    .eight-pop-actions {
        gap: 12px;
    }

    .eight-pop-btn {
        height: 50px;
        flex-basis: 50px;
        padding: 13px 0;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
    }

    .eight-pop-btn--exit {
        background: rgba(255, 255, 255, 0.10);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eight-pop-btn,
    .eight-pop-close {
        transition: none;
    }
}
