/* 独立样式，避免影响登录、公告和其他活动弹窗。 */
.double11-popup {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
}
.double11-popup-dialog {
    /* 与原图宽度一致，避免普通桌面窗口下缩放重采样导致边缘变软。 */
    width: 328px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 32px);
    overflow: auto;
    text-align: center;
}
.double11-popup-artwork { position: relative; }
.double11-popup-poster {
    display: block;
    width: 100%;
    height: auto;
}
/* 原图 328×423，按钮区域约为 x=82~247、y=317~363，随图片等比缩放。 */
.double11-popup-buy {
    position: absolute;
    left: 25%;
    top: 74.94%;
    width: 50.3%;
    height: 10.87%;
    border-radius: 24px;
}
.double11-popup-close {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    margin: 10px auto 0;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.double11-popup-close::before,
.double11-popup-close::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 12px;
    width: 14px;
    height: 1px;
    background: #fff;
    transform: rotate(45deg);
}
.double11-popup-close::after { transform: rotate(-45deg); }
.double11-popup-buy:focus-visible,
.double11-popup-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
body.double11-popup-open { overflow: hidden; }
