#app :is(.gw2798-gallery, .detail-image) { position: relative; }
#app :is(.gw2798-slide:not([hidden]), .detail-image) { cursor: zoom-in; }
#app .smlp-zoom {
  position: absolute;
  inset: .75rem .75rem auto auto;
  z-index: 1;
  background: #fffcf5;
  color: #30271f;
  border: 1px solid #8c7051;
  padding: .45rem .75rem;
  min-height: 44px;
  cursor: zoom-in;
}
.smlp-lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  border: 0;
  padding: 2.75rem .75rem .75rem;
  background: #25221f;
  color: #fffaf1;
  width: min(96vw, 1440px);
  max-width: none;
  max-height: none;
}
.smlp-lightbox::backdrop { background: rgb(18 15 12 / 85%); }
.smlp-large {
  width: 100%;
  height: min(76dvh, 900px);
  background-repeat: no-repeat;
}
.smlp-close {
  position: absolute;
  inset: 0 .5rem auto auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.smlp-large { height: min(70dvh, 860px); }
.smlp-navigation:not([hidden]) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
}
.smlp-navigation button {
  background: #fffcf5;
  color: #30271f;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.smlp-navigation span {
  min-width: 4ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.smlp-large { touch-action: pan-y pinch-zoom; }
