.stslite-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.88);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.stslite-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.stslite-lightbox__img {
	display: block;
	max-width: min(92vw, 1400px);
	max-height: 92vh;
	width: auto;
	height: auto;
	object-fit: contain;
	transform: scale(0.96);
	transition: transform 0.25s ease;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.stslite-lightbox.is-open .stslite-lightbox__img {
	transform: scale(1);
}

.stslite-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.stslite-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.24);
}

body.stslite-lightbox-open {
	overflow: hidden;
}

/* 兜底：即使原站 JS 仍创建了 swiper 弹层，也不显示 */
.tem327-irregular .swiper {
	display: none !important;
}
