
/* Keep the phone-frame glow, but crossfade a fixed layer instead of repainting
   border colours and large shadows on every animation frame. */
body #sn-home .sn-gallery button[data-gallery]{position:relative;transition:none}
body #sn-home .sn-gallery .sn-active button[data-gallery]{border-color:#95ccc657;box-shadow:0 24px 65px #0006}
body #sn-home .sn-gallery button[data-gallery]::after{content:"";position:absolute;inset:-1px;border:1px solid #b7e5dfb0;border-radius:inherit;box-shadow:0 25px 90px #0005,0 0 40px #95ccc615;opacity:0;transition:opacity .5s;pointer-events:none}
body #sn-home .sn-gallery .sn-active button[data-gallery]::after{opacity:1}
body #sn-home .sn-gallery button[data-gallery]:hover{border-color:#95ccc657}
body #sn-home .sn-gallery button[data-gallery]:hover::after{opacity:1;border-color:#b7e5df}
@media(prefers-reduced-motion:reduce){body #sn-home .sn-gallery button[data-gallery]::after{transition:none}}
body.sn-reduced #sn-home .sn-gallery button[data-gallery]::after{transition:none}
