- Debounce timer (300ms) advances lastReadMsgId only when message is fully in viewport - Unread badge no longer resets on channel select — only when actual scroll reads msgs - saveChannelState() uses tracked m_lastReadMsgId instead of viewport bottom - getChannels() reads lastReadMsgId from ui_state (was reading unused channels column)