/* 灯箱缩放/平移 — 覆盖 styles.css 的 .image-lightbox img 默认尺寸 */
.image-lightbox { flex-direction: column; }

.lightbox-stage {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: grab;
  min-height: 0;
}

.lightbox-stage img {
  max-width: min(92vw, 1400px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
  transform-origin: center center;
  will-change: transform;
  user-select: none;
}

.lightbox-toolbar {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  z-index: 210;
}

.lightbox-zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.lightbox-zoom-btn:hover { background: rgba(255, 255, 255, 0.14); }

.lightbox-zoom-reset { font-size: 12px; width: auto; padding: 0 12px; border-radius: 999px; }

.lightbox-zoom-label {
  color: #fff;
  font-size: 13px;
  min-width: 46px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
