/* Card hover grain from the owner's Solar Services store (solarservices.cc ._ctz::before/::after, user: their store), 2026-11-15.
   Solar puts the grain and the ring on the card's own ::before/::after; on Inferno those are taken by the gradient border
   (.before-border-wh), so the same layers sit on the card's text area (.px-6), which is where Solar's bottom-left mask shows them.
   Values unchanged: grain .13 -> .28 on hover, ring .35 -> 1 with a slow drift, picture brightness 1.35 on hover. */
:is(a.bg-gradient-card,button.ig-stasis-card)>.px-6{position:relative;isolation:isolate;overflow:hidden;border-radius:0 0 15px 15px}
:is(a.bg-gradient-card,button.ig-stasis-card)>.px-6>*{position:relative;z-index:1}
:is(a.bg-gradient-card,button.ig-stasis-card)>.px-6::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.13;transition:opacity .4s;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .89 0 0 0 0 .25 0 0 0 0 .33 3 0 0 0 -1.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:200px 200px;-webkit-mask-image:radial-gradient(75% 60% at 0% 100%,#000 5%,transparent 72%);mask-image:radial-gradient(75% 60% at 0% 100%,#000 5%,transparent 72%)}
:is(a.bg-gradient-card,button.ig-stasis-card):hover>.px-6::before{opacity:.28}
:is(a.bg-gradient-card,button.ig-stasis-card)>.px-6::after{content:"";position:absolute;z-index:0;pointer-events:none;width:170%;aspect-ratio:1/1;left:-105%;bottom:-132%;border-radius:50%;
  background:radial-gradient(circle closest-side,transparent 74%,rgba(227,65,83,.22) 88%,transparent 100%);filter:blur(14px);
  -webkit-mask-image:linear-gradient(35deg,transparent 30%,#000 55%,#000 75%,transparent 92%);mask-image:linear-gradient(35deg,transparent 30%,#000 55%,#000 75%,transparent 92%);
  opacity:.35;transition:transform .9s cubic-bezier(.16,1,.3,1),opacity .4s}
:is(a.bg-gradient-card,button.ig-stasis-card):hover>.px-6::after{transform:translate(4%,-3%) rotate(3deg);opacity:1}
:is(a.bg-gradient-card,button.ig-stasis-card)>.relative.aspect-video img{transition:filter .2s}
:is(a.bg-gradient-card,button.ig-stasis-card):hover>.relative.aspect-video img{filter:brightness(1.35)}
@media (prefers-reduced-motion:reduce){:is(a.bg-gradient-card,button.ig-stasis-card)>.px-6::after{transition:none}}
