.xf-main::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  translate: none;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(4,7,10,.55), rgba(4,7,10,.32) 50%, rgba(4,7,10,.75)), url("assets/footer-market-cyan.webp") center center / cover no-repeat;
  opacity: .62;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 78%, transparent);
  pointer-events: none;
}
.xf-skyline { display: none; }
/* On narrow screens the footer is much taller than the landscape artwork.
   Anchor the full chart near the bottom rather than enlarging and cropping it. */
@media (max-width: 900px) {
  .xf-main::before {
    inset: auto 0 5%;
    height: clamp(220px, 62vw, 480px);
    background: url("assets/footer-market-cyan.webp") center bottom / 100% auto no-repeat;
    opacity: .42;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 70%, transparent 100%);
  }
}
