I’ve edited my post for a fix in the SCSS, to properly apply the shadow covers. This now allows for setting --lines-shadow-width to any size while still properly fading in/fading out.
It also includes an example for radial-gradient now. But that won’t change a lot for tall code blocks:

