/* ============================================
   截图灯箱预览（详情页 / 下载页共用）
   ============================================ */
.imgPreviewMask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.imgPreviewBody {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  text-align: center;
}

.imgPreviewImg {
  display: block;
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.imgPreviewClose {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 20px;
  line-height: 42px;
  cursor: pointer;
  transition: background 0.2s;
}

.imgPreviewNav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 30px;
  line-height: 44px;
  cursor: pointer;
  transition: background 0.2s;
}

.imgPreviewNav:hover,
.imgPreviewClose:hover {
  background: rgba(255, 255, 255, 0.38);
}

.imgPreviewPrev { left: 24px; }
.imgPreviewNext { right: 24px; }

.imgPreviewCount {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  user-select: none;
}
