.edge-coral {
  position: fixed;
  inset: 0 auto 0 0;
  width: clamp(22px, 4.1vw, 68px);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 100%);
}

.edge-coral__body {
  position: absolute;
  left: -74px;
  top: -26vh;
  width: clamp(220px, 21vw, 340px);
  height: max(145vh, 1100px);
  max-width: none;
  object-fit: cover;
  object-position: left center;
  opacity: .32;
  filter: drop-shadow(9px 0 7px #000a);
  transform-origin: left center;
  animation: coral-edge-drift 24s ease-in-out infinite alternate;
}

@keyframes coral-edge-drift {
  from { transform: translate3d(-7px, -30px, 0) rotate(-1.2deg); }
  to { transform: translate3d(8px, 30px, 0) rotate(1.2deg); }
}

@media (max-width: 800px) {
  .edge-coral { width: 22px; }
  .edge-coral__body { left: -88px; width: 220px; opacity: .27; }
}

@media (max-width: 560px) {
  .edge-coral { width: 18px; }
  .edge-coral__body { left: -94px; width: 210px; opacity: .24; }
}

@media (prefers-reduced-motion: reduce) {
  .edge-coral__body { animation: none; transform: none; }
}
