The new iOS 18.2  brings a new Volume Limit option that lets you set a limit on your iPhone for media playback.
Unlike Windows, macOS doesn't let you adjust the volume of each app on your Mac individually. However, you can achieve this ...