Mobile Chatroom Input Focus Zero-Shift & Soft-Keyboard 3-State Stability Fix (r115)
Eliminated mobile chatroom upward window jump, missing titlebar/nickname row, and unintended message-list expansion when tapping the input strictly within mobile scope by removing keyboard-open padding/hide mutations, enforcing 16px input font-size against iOS auto-zoom, locking root document scroll, and guarding portr
# Mobile Chatroom Input Focus Zero-Shift & Soft-Keyboard 3-State Stability Fix (r115)
Based on real-device reproduction feedback, fixed the structural layout causes behind the mobile chatroom jumping upward, hiding the titlebar and nickname row, and expanding the message area when tapping the composer input — strictly within mobile scope while keeping PC desktop untouched:
- **Removed `r114` Keyboard-Open Layout Mutations**: Deleted the `[data-mobile-keyboard="open"]` rules that dropped `.site-shell > main` `padding-top` from `46px` to `6px`, hid `.chatroom-nickname-row` (`display: none !important`), and shrank titlebar/header/footer chrome. Window top (`46px`), titlebar, nickname row, room status row, and message-list top now stay frozen at `0px` shift across focus, keyboard open, and keyboard close.
- **Prevented iOS Safari Auto-Zoom & Root Document Focus Scroll**: Upgraded mobile `#chat-message-input` (was `15px`), `#chat-private-password` (was `14px`), and other mobile text inputs to `font-size: 16px !important` so iOS Safari never auto-zooms or pans upward; locked mobile `html` and `body` to `height: 100% !important; min-height: 0 !important; max-height: 100% !important; overflow: hidden !important` so `body { min-height: 100vh }` never causes document focus scroll.
- **Guarded Portrait Phones From Landscape Media Queries**: Added `and (min-width: 521px)` to mobile `@media (orientation: landscape) and (max-height: 520px)` so tall portrait soft keyboards (`width > height`, e.g. `390×380`) never trigger landscape padding or header rules, while preserving all `r112` and `r114` fixes.