/* Each bridge samples the actual bottom of one poster and the top of the next.
   Feather the two ends over the artwork to hide even a one-pixel printed rule. */
.sheet-blend {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(22px, 4.5vw, 48px);
  pointer-events: none;
}
.sheet-blend::before {
  content: "";
  position: absolute;
  inset: -5px 0;
  background-image: var(--edge);
  background-size: 100% 100%;
  mask-image: linear-gradient(to bottom, transparent, black 5px, black calc(100% - 5px), transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 5px, black calc(100% - 5px), transparent);
}

#dm .dmBody .imageWidget:has(+ .sheet-blend),
#dm .dmBody .sheet-blend + .imageWidget {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-inline: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  line-height: 0;
}
#dm .dmBody .imageWidget:has(+ .sheet-blend) { margin-bottom: 0 !important; }
#dm .dmBody .sheet-blend + .imageWidget { margin-top: 0 !important; }

#dm .dmBody .imageWidget:has(+ .sheet-blend) > :is(a, img, svg),
#dm .dmBody .sheet-blend + .imageWidget > :is(a, img, svg) {
  display: block;
}
#dm .dmBody .imageWidget img.dessert-poster {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  border-radius: 0;
  object-fit: contain;
}
