/* ========== 弹窗样式（所有组共用一个弹窗，节省DOM） ========== */
.img-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    display:none;
    z-index:9999;
    align-items:center;
    justify-content:center;
    padding:0;
    box-sizing:border-box;
    opacity:0;
    transition: opacity 0.3s ease;
}
.img-popup.show{
    display:flex;
    opacity:1;
}
#popupImg{
    max-width:calc(100% - 20px);
    max-height:calc(100% - 20px);
    object-fit:contain;
    opacity:0;
    transition: opacity 0.35s ease-in-out;
}
#popupImg.fade-in{
    opacity:1;
}
.pop-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    color:#fff;
    font-size:40px;
    text-align:center;
    line-height:44px;
    cursor:pointer;
    user-select:none;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.pop-prev {
    left:0;
}
.pop-next {
    right:0;
}
.pop-arrow:hover {
    color:#ffd800;
}
/* 底部半透明黑条 */
.pop-bar{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background:rgba(0,0,0,0.55);
    color:#ffffff;
    font-size:16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 20px;
    box-sizing:border-box;
}
.pop-name{
    color:#fff;
}
.pop-index{
    color:#fff;
}
/* 右上角关闭X */
.pop-close{
    position:absolute;
    top:0;
    right:0;
    width:44px;
    height:44px;
    color:#fff;
    font-size:36px;
    text-align:center;
    line-height:44px;
    cursor:pointer;
    user-select:none;
    z-index:10;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.pop-close:hover{
    color:#ffd800;
}
/* loading */
.PicLoading {
    width: 64px;
    height: 64px;
    position: fixed;
    z-index:99999001;
    top: 50%;
    left: 50%;
    margin: -32px 0 0 -32px;
    background-image: url("/Shape/PicPOP/spinner.png");
    background-size: contain;
    opacity: 0.9;
    animation: spin 2s infinite linear;
    display:none;
}
@keyframes spin {
	from {transform: rotate(0deg);}
	to {transform: rotate(360deg);}
}