html:has(.lf-image-viewer[open]) { overflow: hidden; }
.lf-image-viewer-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lf-series-photo a:has(img) { cursor: zoom-in; }
.lf-image-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 52px 16px 16px;
  border: 0;
  background: transparent;
}
.lf-image-viewer[open] { display: grid; place-items: center; }
.lf-image-viewer::backdrop { background: rgb(18 24 20 / 92%); }
.lf-image-viewer img { display: block; max-width: 100%; max-height: calc(100dvh - 68px); object-fit: contain; }
.lf-image-viewer-close {
  position: absolute;
  top: 10px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #263f32;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lf-image-viewer-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
