/* Keep the palace's stonework and entrance intact; blend only the foreground. */
#bishops-palace.br-reference .br__art > img {
  mask-image: linear-gradient(to bottom, #000 98%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 98%, transparent);
}
#bishops-palace.br-reference .br__base-restore {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1999 / 1711;
  max-height: 100%;
  pointer-events: none;
  mask: url('../img/bishops-reference/base-complete-mask.svg') 0 0 / 100% 100% no-repeat;
  -webkit-mask: url('../img/bishops-reference/base-complete-mask.svg') 0 0 / 100% 100% no-repeat;
}
/* Align untouched original pixels with the existing cutout (crop x=1, y=39). */
#bishops-palace.br-reference .br__base-restore img {
  position: absolute;
  left: -.050025%;
  top: -2.279369%;
  display: block;
  width: 100.050025%;
  height: auto;
  max-width: none;
  max-height: none;
}
/* Taper the arch before the foreground so its border does not cut across the steps. */
#bishops-palace.br-reference .br__sky {
  bottom: 11%;
}
