Thanks for the suggestion. I already have the viewport meta tag set, but unfortunately it doesn't provide the Android WindowInsets or the actual status/navigation bar inset values.
The issue specifically occurs with gesture navigation, where the WebView content can extend into the system gesture area. I'm looking for a way in DroidScript to get the top/bottom safe-area insets in pixels, or another recommended way to prevent WebView content from being covered.