/* =========================================================
   V37 — remove the last Safari rectangle at a capability card's
   top-right corner.

   The old top-right glow used filter: blur() on a 280 × 280
   pseudo-element. Safari paints that filtered layer as a rectangle
   and can leave a faint box outside the rounded clip. A soft radial
   gradient gives the same glow without a rectangular filter layer.
   ========================================================= */

/* ⚠️ SAFARI-CAP-CARD-HALO-GUARD
   Do not reintroduce filter: blur() on .cap-card::before.
   Do not remove overflow: clip or the circular clip below.
   Full diagnosis: /BROWSER-NOTES.md */

.cap-card {
  overflow: clip;
}

.cap-card::before {
  filter: none;
  background: radial-gradient(
    circle,
    var(--cap-glow, rgba(0, 0, 0, 0.055)) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  clip-path: circle(50%);
  pointer-events: none;
}
