.pntd-lb-wrap {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  transform-origin: center;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Faint corner vignette — draws the eye inward toward the art */
  filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.8));
}

.pntd-lb-wrap.size-locked {
  width: var(--locked-w);
  height: var(--locked-h);
  max-width: none;
  max-height: none;
}

.pntd-lb-img {
  display: block;
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.45s ease, box-shadow 0.6s ease;
  opacity: 0;

  border-radius: 6px;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: 0px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 8px 40px rgba(0, 0, 0, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.pntd-lb-img.show {
  opacity: 1;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 60px rgba(0, 0, 0, 0.6),
    0 12px 60px rgba(0, 0, 0, 0.65),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.pntd-lb-hd {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: 6px;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: 0px;
}

.pntd-lb-hd.show {
  opacity: 1;
  pointer-events: auto;
}

.pntd-lb-hd.dissolve-out {
  opacity: 0;
  pointer-events: none;
}
