Decrease the screen size (not resolution) on Android 11 (`wm overscan` is deprecated)

I recently bought a Pixel 4a and being used to a way smaller phones before (4.7 inches), it’s gigantic for me. I’m trying to find a way to decrease the usable space of the screen (from the top) and hide the camera cutout.

I found out this, but the option is only available on Samsung (and other brands). Then I found out this thread and the wm overscan ADB command and just as it looked like I found a solution, it turned out Google deprecated the overscan command in Android 11.

I tried also Nacho Notch and other “notch-hiding” software, but they only “blacken” the notification bar and don’t actually reduce the screen size.

Any ideas what I can do to actually achieve this on Android 11?