/* Same native chat nodes, isolated coarse-pointer window. */
body.lan-mobile-chat #lanChat:not([hidden]),body.u20.lan-mobile-chat #u20log #lanChat:not([hidden]) {position:fixed!important;left:var(--mobile-chat-left)!important;top:var(--mobile-chat-top)!important;right:auto!important;bottom:auto!important;width:var(--mobile-chat-width)!important;height:var(--mobile-chat-height)!important;max-width:none!important;max-height:none!important;min-width:0!important;box-sizing:border-box;display:flex!important;flex-direction:column;overflow:hidden!important;z-index:100;transform:none!important;background:#101b16fa!important}
body.lan-mobile-chat #u20log:has(#lanChat) {background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important}
body.lan-mobile-chat-open #u20log:has(#lanChat) {z-index:100!important}
body.lan-mobile-chat #lanChat .lan-chat-title {flex:0 0 48px;height:48px!important;min-height:48px!important;padding:0 2px!important;gap:2px!important;box-sizing:border-box}
body.lan-mobile-chat #lanChat #lanChatTabs {flex:1;min-width:0;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x;overscroll-behavior:contain}
body.lan-mobile-chat #lanChat #lanChatTabs button {min-height:44px!important;min-width:44px!important;flex-shrink:0;font-size:12px!important}
body.lan-mobile-chat #lanGuildManage {flex:0 0 44px;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important}
body.lan-mobile-chat #lanChatClose {flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;margin:0!important;padding:0!important}
body.lan-mobile-chat #lanChat .lan-chat-content {display:flex;flex:1;min-height:0;overflow:hidden}
body.lan-mobile-chat #lanChat .lan-message-pane {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;overflow:hidden}
body.lan-mobile-chat #lanChat #lanMessages {flex:1;height:auto!important;max-height:none!important;min-height:0;box-sizing:border-box;overflow-y:auto;font-size:13px!important;line-height:1.5!important;touch-action:pan-y;overscroll-behavior:contain}
body.lan-mobile-chat #lanChatForm {flex:0 0 auto;min-height:52px;box-sizing:border-box;gap:4px;padding:4px!important}
body.lan-mobile-chat #lanChatInput {min-width:0;font-size:16px!important;height:44px;min-height:44px;padding:4px!important;box-sizing:border-box}
body.lan-mobile-chat #lanChatForm>button {flex:0 0 44px;width:44px;min-height:44px!important;padding:0!important}
body.lan-mobile-chat #lanChatPeers {width:108px!important;height:auto!important;min-width:0;flex:0 0 108px;max-height:none!important;overflow-y:auto;box-sizing:border-box;touch-action:pan-y}
body.lan-mobile-chat #lanChatPeers[hidden] {display:none!important}
body.lan-mobile-chat #lanPrivateStart {flex-wrap:wrap}
body.lan-mobile-chat #lanChatTarget {width:100%;flex:1 1 100%;min-width:0;font-size:16px;box-sizing:border-box}
body.lan-mobile-chat #lanPrivateNames button {min-height:44px;overflow-wrap:anywhere}
body.lan-mobile-chat .lan-log-resize {display:none!important}
body.lan-mobile-chat #lanChatShow {position:fixed!important;left:var(--mobile-chat-icon-left)!important;top:var(--mobile-chat-icon-top)!important;right:auto!important;bottom:auto!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;z-index:101}
body.lan-mobile-chat #lanChatShow .lan-mobile-chat-unread {position:absolute;right:-2px;top:-2px;background:#ce2535;color:white;min-width:16px;height:16px;padding:0 3px;box-sizing:border-box;border-radius:8px;font:700 10px/16px Arial,sans-serif;pointer-events:none}
.lan-mobile-chat-unread[hidden] {display:none!important}
body.lan-mobile-chat #lanChatEmojiPicker {z-index:102!important;max-width:calc(100vw - 16px);box-sizing:border-box}
