I tried using Polypane, but unfortunately, I couldn't find any relevant settings.
That’s not surprising, though Chrome DevTools doesn’t support it, and even the Safari simulator lacks this functionality.
It seems I still have to rely on guesswork and iterative adjustments to resolve all the issues related to safe-areas.