Modified cosmology through spacetime thermodynamics and generalized mass-to-horizon entropy | Synapse