Stability-first build for Brave: prefer native theater toggle + fill viewport height with clean letterboxing.

Theater mode fully expanded - no black bars, no wasted space.
Tested primarily on Brave (Chromium-based).
Also works on Chrome and Firefox.
AUTO_THEATER can disable this)No buttons. No UI. No bloat. Just a better layout with seamless control.
To exit Theater mode, press T or click the standard Theater toggle.
/watch page - even before YouTube finishes rendering.localStorage for consistency across reloads.dvh, svh),100vh if needed. This ensures compatibility across devices, window sizes, and UI updates.USE_HEADER_OFFSET.yt-navigate) and reapplies itself automatically./watch URLs. You can configure three options directly in the code (near the top):
FILL_ENABLED - disables the fill layout entirely (fallback to default Theater)USE_HEADER_OFFSET - disables header subtraction (useful if your setup hides it already)AUTO_THEATER - disables automatic switching to Theater mode (for manual control)No UI is provided - just flip the switches in code. The rest handles itself.