Like you, I hope for a narrow ruling that protects religious freedom. I’m not optimistic about that, but it isn’t out of the realm of possibility.
Frankly, it’s best case scenario. No way they rule against the whole thing.