Giant planet formation via pebble accretion across different stellar masses | Synapse