No it wouldn't affect everyone in the castle cause you can't see everyone in the castle.It matters yes. If it doesn't, then all of the COC festival in Wano would have affected everyone inside the castle.
I RP a few times pointing out the distance of my NPCs. In a large-scale war, I really need to point out how far a faction of the army is.
Gunslinging range = mastery. And there's a system in perk that extends the range of COC, so that pretty much answers your question.
[automerge]1650782548[/automerge]
Conquerors Haki Boost (Range): (requires 100 Haki) Increases the range of Conquerors Haki x2.
So yeah, I think it's really 100 meters.
And gunslinging is a very different concept, since it involves putting a physical bullet through someone, you need to aim lol. By that logic someone could sidestep a CoC burst, if it was an aiming concept.

