/* 旅蛙官网图片灯箱：列表仍走缩略图，点开看原图 */
.ph img.photo {
  cursor: zoom-in;
}
.icard .ph img.photo,
.picker-table .ph img.photo,
.leaflet-container img {
  cursor: pointer;
}
.basic-map:not(:has(.leaflet-container)) {
  cursor: zoom-in;
}
.basic-map:not(:has(.leaflet-container)) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.img-row > img,
.section-thumb > img {
  cursor: zoom-in;
}

.lw-lb {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 12, 0.98);
  padding: 56px 72px 64px;
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}
.lw-lb[hidden],
.lw-lb__btn[hidden] {
  display: none !important;
}
.lw-lb__img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.lw-lb__img-wrap .lw-lb__img {
  pointer-events: auto;
}
.lw-lb__img {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: calc(100vh - 108px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: #111;
  cursor: default;
}
.lw-lb__img.is-loading {
  filter: blur(6px);
  transform: scale(1.02);
}
.lw-lb__btn {
  position: absolute;
  appearance: none;
  border: 0;
  background: #fff;
  color: #1a1a1a;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 0;
  z-index: 3;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: background 0.15s ease, transform 0.15s ease;
}
.lw-lb__btn:hover,
.lw-lb__btn:focus {
  background: #f3f3f3;
  outline: none;
  transform: translateY(-50%) scale(1.06);
}
.lw-lb__btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%) scale(1);
}
.lw-lb__close {
  top: 14px;
  right: 14px;
  position: fixed;
  font-size: 28px;
  z-index: 4;
}
.lw-lb__close:hover,
.lw-lb__close:focus {
  transform: scale(1.06);
}
.lw-lb__prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  position: fixed;
}
.lw-lb__next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  position: fixed;
}
.lw-lb__counter {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 3;
}
.lw-lb__hint {
  position: fixed;
  left: 0;
  right: 0;
  top: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  pointer-events: none;
  z-index: 3;
}
body.lw-lb-open {
  overflow: hidden;
}
body.lw-lb-open #app {
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 720px) {
  .lw-lb {
    padding: 56px 56px 64px;
  }
  .lw-lb__prev,
  .lw-lb__next {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .lw-lb__prev { left: 8px; }
  .lw-lb__next { right: 8px; }
}
