8867d0abfc
Replace the hardcoded factor with the real overlap = clientHeight - visualViewport.height (works on any screen). Adds a temporary on-screen debug line to confirm which signal the device reports, so the final logic needs no per-device tuning. Debug removed once confirmed. Build marker -> 2026-07-18-batch104. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>