@media (max-width:768px){body,html{height:100%;height:100dvh;overscroll-behavior:none;touch-action:manipulation}body{height:100dvh!important}#appScreen{height:100dvh!important;overflow:hidden;position:relative}.server-bar{position:fixed!important;left:0;top:0;bottom:0;z-index:260;width:64px;padding-top:max(10px,env(safe-area-inset-top));transform:translateX(-110%);transition:transform .22s ease;visibility:hidden}.channel-sidebar{position:fixed!important;left:64px;top:0;bottom:0;z-index:260;width:min(78vw,300px)!important;transform:translateX(-130%);transition:transform .22s ease;visibility:hidden;padding-top:env(safe-area-inset-top)}.channel-sidebar.mobile-open,.server-bar.mobile-open{transform:translateX(0);visibility:visible}.user-panel{padding-bottom:max(10px,env(safe-area-inset-bottom))}.srv-bar-bottom{padding-bottom:max(8px,env(safe-area-inset-bottom))}#mobile-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:250;-webkit-tap-highlight-color:transparent}#mobile-overlay.active{display:block}.members-sidebar{position:fixed!important;right:0;top:0;bottom:0;z-index:260;width:min(80vw,300px)!important;transform:translateX(110%);transition:transform .22s ease;visibility:hidden;padding-top:max(12px,env(safe-area-inset-top))}.members-sidebar.mobile-open{transform:translateX(0);visibility:visible}.main-area{width:100%;min-width:0;flex:1 1 100%}.chat-header{padding:8px 10px!important;padding-top:max(8px,env(safe-area-inset-top))!important;gap:6px!important;min-height:52px;flex-wrap:nowrap;overflow:hidden}.chat-header button{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.mobile-hamburger,.mobile-members-btn{background:var(--bg4)!important;border:1px solid var(--border)!important;border-radius:10px!important;color:var(--text)!important;font-size:18px!important;padding:0!important;cursor:pointer}.ch-header-div,.ch-header-topic,.online-pill{display:none!important}.ch-header-name{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.chat-header span[style*="flex:1"]{min-width:0}.messages-area{padding:4px 0!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.msg-group{padding:6px 10px!important;gap:10px!important}.msg-group.compact{padding:2px 10px!important}.msg-group.compact .msg-body{padding-left:46px!important}.msg-av{width:36px!important;height:36px!important}.msg-text{font-size:15px}.msg-body img,.msg-body video{max-width:100%!important;height:auto}.msg-body{overflow-wrap:anywhere}.msg-time-inline{display:none!important}.msg-actions{top:-44px!important;right:6px!important;padding:3px 4px!important;z-index:5}.msg-group.touch-active{background:rgba(255,255,255,.05)}.msg-group.touch-active .msg-actions{opacity:1!important;pointer-events:auto!important}.msg-actions .emoji-add-btn,.msg-actions button,.msg-actions span{min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;font-size:17px}.ch-item .ch-delete{display:none!important}.input-area{padding:0 8px max(8px,env(safe-area-inset-bottom))!important}.msg-input{font-size:16px!important;min-height:44px}.send-btn{width:40px!important;height:40px!important;margin:2px 6px 2px 0!important}.typing-bar{padding:2px 12px 4px}#attachPreview{padding:4px 10px!important}.ch-item{padding:10px 12px 10px 14px!important;min-height:44px}.mem-item{padding:9px 10px!important;min-height:44px}.srv-icon,.srv-icon-add,.srv-icon-friends{width:46px!important;height:46px!important;flex-shrink:0}.uctrl{width:40px!important;height:40px!important;font-size:16px!important}.friend-item{padding:12px!important}.ch-cat-add{width:32px!important;height:32px!important}.srv-header-btn{min-width:40px;min-height:40px}.modal-overlay{align-items:flex-end!important;padding:0}.modal{width:100%!important;max-width:100vw!important;max-height:92dvh;overflow-y:auto;border-radius:18px 18px 0 0!important;padding:20px 16px max(20px,env(safe-area-inset-bottom))!important;-webkit-overflow-scrolling:touch}.auth-input,.modal-input,input,select,textarea{font-size:16px!important}.modal-btn{min-height:44px;padding:10px 18px}.modal-actions{flex-wrap:wrap}.friends-header{padding:8px 10px!important;padding-top:max(8px,env(safe-area-inset-top))!important;gap:8px!important;flex-wrap:wrap}.friends-header .mobile-hamburger{min-width:40px;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.friends-tabs{order:3;width:100%;margin-left:0!important}.friends-tab{flex:1;padding:10px 12px!important;font-size:14px!important;min-height:40px}.friends-add-btn{margin-left:auto;padding:10px 14px!important;white-space:nowrap;min-height:40px;font-size:13px!important}.friends-body{padding:10px!important;-webkit-overflow-scrolling:touch}.mobile-hamburger{width:40px;height:40px}.games-lobby{padding:14px!important;max-height:none!important;height:100%;-webkit-overflow-scrolling:touch}.games-header h2{font-size:20px}.games-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}#userSettingsMenu{left:8px!important;right:8px!important;top:auto!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;min-width:0!important;max-height:75dvh;overflow-y:auto;z-index:10000!important;border-radius:16px!important;padding:8px!important}.mctx-item{padding:13px 14px!important;font-size:15px!important;min-height:46px;display:flex;align-items:center}.toast{bottom:max(80px,calc(env(safe-area-inset-bottom) + 70px))!important;max-width:92vw}#voicePanel>div{flex-wrap:wrap}#voiceBigUsers{gap:20px!important;padding:20px 12px!important}#voicePanel button{min-height:44px}.screen-videos{max-width:100vw!important;padding:56px 6px 6px!important}.screen-header{padding:10px 12px!important}}@media (hover:none) and (max-width:900px){.msg-group:hover{background:0 0}}@media (hover:none){.ch-item:hover{transform:none!important}.ch-item .ch-settings{display:inline-block!important}.ch-item,.mem-item,.srv-icon{-webkit-tap-highlight-color:transparent}}@media (max-width:768px){.chat-header{min-height:56px;background:var(--bg2)!important;box-shadow:0 1px 0 var(--border),0 6px 18px rgba(0,0,0,.28);position:relative;z-index:3}.chat-header .mobile-hamburger,.chat-header .mobile-members-btn,.chat-header button{background:0 0!important;border:none!important;border-radius:12px!important;width:42px;height:42px;min-width:42px!important;padding:0!important;font-size:19px!important;color:var(--text2)!important}.chat-header button:active{background:var(--bg5)!important}#pinBtn{font-size:17px!important}.chat-header button[title=Ara]{font-size:0!important}.chat-header button[title=Ara]::before{content:"🔍";font-size:18px}.chat-header button[title=Ara] span{display:none}.ch-header-icon{font-size:20px;opacity:.9}.ch-header-name{font-size:17px!important;font-weight:800;letter-spacing:-.2px}.chat-header .ch-header-name{flex:1}.ch-welcome{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 14px 12px!important;margin-bottom:2px}.welcome-icon{width:40px!important;height:40px!important;border-radius:12px!important;margin:0!important;font-size:12px!important;flex-shrink:0}.welcome-title{font-size:17px!important;margin:0!important}.welcome-desc{flex-basis:100%;font-size:12.5px;margin-top:-2px}.messages-area{padding:6px 0 10px!important;scroll-behavior:smooth}.msg-group{padding:7px 12px!important;border-radius:0;margin:0!important;gap:11px!important}.msg-group+.msg-group:not(.compact){margin-top:6px!important}.msg-av{width:38px!important;height:38px!important;margin-top:2px;box-shadow:none!important}.msg-head{margin-bottom:1px;gap:8px}.msg-user{font-size:14.5px!important;font-weight:700}.msg-time{font-size:10.5px!important;opacity:.55;font-family:inherit!important}.msg-text{font-size:15.5px!important;line-height:1.5!important}.msg-group.compact .msg-body{padding-left:49px!important}.msg-group.touch-active{background:rgba(255,255,255,.045)!important;box-shadow:inset 3px 0 0 var(--accent)}.msg-actions{border-radius:14px!important;box-shadow:0 8px 28px rgba(0,0,0,.5)!important;background:var(--bg4)!important;gap:2px!important;padding:4px!important}.msg-actions *{border-radius:10px}.date-sep{font-size:11.5px;padding:10px 0!important}.input-area{padding:6px 10px max(10px,env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,transparent,rgba(0,0,0,.18))}.input-box{border-radius:24px!important;background:var(--bg4)!important;align-items:center!important;padding:2px 4px}.input-box>button:first-child{margin:0 0 0 2px!important;width:40px!important;height:40px!important;font-size:20px!important;border-radius:50%!important;flex-shrink:0}.msg-input{padding:11px 8px!important;min-height:44px!important;max-height:120px!important}.send-btn{margin:0!important;width:40px!important;height:40px!important;border-radius:50%!important;font-size:16px!important;flex-shrink:0}.send-btn:not(:disabled){background:linear-gradient(135deg,var(--accent),var(--neon))!important;box-shadow:0 4px 14px var(--neon-glow)}.send-btn:disabled{opacity:.45}.typing-bar{min-height:18px;padding:0 16px 2px!important;font-size:11.5px}.server-bar{background:var(--bg1);width:68px;gap:8px!important;box-shadow:6px 0 24px rgba(0,0,0,.45)}.channel-sidebar{box-shadow:10px 0 30px rgba(0,0,0,.5)}.members-sidebar{box-shadow:-10px 0 30px rgba(0,0,0,.5)}.srv-header{min-height:56px;padding:12px 16px!important}.ch-item{border-radius:12px!important;margin:2px 10px!important;font-size:15.5px!important}.ch-item.active{border:none!important;box-shadow:inset 3px 0 0 var(--accent)}.ch-cat{padding:18px 14px 6px 16px!important;font-size:11px!important}.mem-item{border-radius:12px!important;font-size:15px}.user-panel{background:rgba(0,0,0,.35)!important;padding:10px 14px max(10px,env(safe-area-inset-bottom))!important}#mobile-overlay{background:rgba(0,0,0,.55);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}#donateBarWrap>*{margin:8px 10px!important;padding:10px 12px!important;border-radius:14px!important}#donateBarWrap *{font-size:11.5px}#donateBarWrap a,#donateBarWrap button{padding:9px 10px!important;font-size:13px!important;min-height:40px}.friends-header{background:var(--bg2)!important;box-shadow:0 1px 0 var(--border),0 6px 18px rgba(0,0,0,.28)}.friends-tabs{background:var(--bg4);border-radius:12px;padding:3px;gap:3px}.friends-tab{border-radius:10px!important}.friend-item{background:var(--bg3);border:1px solid var(--border)!important;border-radius:14px!important;margin-bottom:8px!important}.modal{box-shadow:0 -12px 40px rgba(0,0,0,.55)!important}.modal::before{content:"";display:block;width:40px;height:4px;border-radius:2px;background:var(--bg6);margin:-8px auto 14px}.modal-title{font-size:19px}.modal-btn.primary,.modal-btn.secondary{border-radius:12px!important}.modal-input{border-radius:12px!important}#voicePanel{background:radial-gradient(ellipse at 50% 30%,rgba(139,92,246,.12),transparent 60%),var(--bg1)!important}}@media (max-width:768px){.chat-header,.friends-header{border-bottom:none!important}#donateBarWrap>div>div:nth-child(n+3){display:none!important}#donateBarWrap>div{padding:10px 12px!important}#donateBarWrap>div>div:nth-child(2){margin-bottom:0!important;height:6px!important}#donateBarWrap button{margin-top:10px!important}}@media (max-width:768px){.friends-header .mobile-hamburger{background:0 0!important;border:none!important;color:var(--text2)!important;font-size:19px!important;border-radius:12px!important}}@media (max-width:768px){#authScreen{overflow-y:auto!important;overflow-x:hidden;-webkit-overflow-scrolling:touch;align-items:flex-start!important}#authScreen .hero{display:none!important}#authScreen .wrapper{min-height:100dvh;align-items:center!important;padding:0!important;max-width:100%!important}#authScreen .panel-shell{max-width:100%!important;width:100%}#authScreen .panel{width:100%!important;max-width:100%!important;min-height:100dvh!important;border-radius:0!important;border:none!important;flex-direction:column!important}#authScreen .page{min-height:100dvh!important}#authScreen .form-side{padding:max(28px,env(safe-area-inset-top)) 22px max(28px,env(safe-area-inset-bottom))!important;justify-content:center!important}#authScreen button,#authScreen input{min-height:48px;font-size:16px!important}#authScreen #forgotPage,#authScreen #verifyPage{min-height:100dvh}}@media (max-width:768px){#loginDownloadBtn+div,a[href*="Setup.exe"],a[href*="Setup.exe"]+div{display:none!important}}@media (max-width:768px){#navRight a[onclick*=downloadModal]{display:none!important}nav{gap:8px}#navRight{gap:6px;min-width:0}#navRight .nb{padding:8px 10px;font-size:12.5px;white-space:nowrap}nav .nav-logo-text{font-size:17px}}@media (max-width:768px){#landingPage section.hero{display:flex!important;min-height:auto;padding:96px 20px 40px}#landingPage .hero-title{font-size:clamp(34px,10vw,48px)}}html.no-screenshare #screenBtn,html.no-screenshare [onclick*=toggleScreenShare]{display:none!important}.messages-area>*{flex-shrink:0}.msg-text>span{min-width:0;max-width:100%}.lk-card{max-width:100%;box-sizing:border-box;min-width:0}.ec-txt a,.msg-text a{overflow-wrap:anywhere;word-break:break-all}@supports (-webkit-text-size-adjust:100%){html{-webkit-text-size-adjust:100%}}@supports (text-size-adjust:100%){html{text-size-adjust:100%}}@media (max-width:768px){html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]),html body select,html body textarea,html body textarea.msg-input{font-size:16px!important}html{touch-action:manipulation}*{-webkit-tap-highlight-color:transparent}.msg-user{display:inline-block;padding:3px 0}.gb-btn,.md-btn.sm,.rl-save{min-height:36px}html body #authScreen input:not([type=checkbox]){font-size:16px!important}#loginDownloadBtn,.desk-only,a[href="/download/windows"]{display:none!important}}@media (max-width:768px){.ch-item,.dm-item,.mem-item,.srv-icon,.srv-icon-friends{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}@media (max-width:900px){html body .emoji-picker-popup{position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:calc(64px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;max-height:min(440px,calc(100dvh - 90px))!important;display:flex!important;flex-direction:column!important}html body .emoji-picker-popup .ep-grid{overflow-y:auto!important;min-height:0!important;flex:1 1 auto;-webkit-overflow-scrolling:touch}html body .emoji-picker-popup .ep-grid button{width:40px!important;height:40px!important}}@media (max-width:768px){html body,html body #appScreen{height:var(--vvh,100dvh)!important}}@media (max-width:768px){#authPage,#authScreen #forgotPage,#authScreen #verifyPage,#authScreen .page,#forgotPage,#verifyPage{min-height:100dvh!important}.screen-container{height:100dvh!important}.game-container,.games-lobby{max-height:calc(100dvh - 48px)!important}}.gl-mbar{display:none}@media (max-width:768px){.gl-mbar{display:block;flex-shrink:0;padding:max(8px,env(safe-area-inset-top)) 10px 0}.gl-hero2 .mobile-hamburger{flex-shrink:0;background:0 0!important;border:none!important;color:var(--text2)!important;font-size:19px!important;border-radius:12px!important;width:40px;height:40px;min-width:40px;display:inline-flex;align-items:center;justify-content:center;padding:0!important}.gl-hero2{padding-top:max(12px,env(safe-area-inset-top))!important}}@media (max-width:768px){html body .channel-sidebar,html body .members-sidebar,html body .server-bar{z-index:260!important}html body .channel-sidebar{position:fixed!important}}html.ios *,html.ios ::after,html.ios ::before{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}@media (max-width:480px){html #mainArea .chat-header #evListBtn,html #mainArea .chat-header #thrListBtn{font-size:0!important;padding:4px 6px!important}#evListBtn::before{content:"📅";font-size:18px}#thrListBtn::before{content:"🧵";font-size:18px}html #mainArea .chat-header{gap:2px!important;padding-left:6px!important;padding-right:6px!important}html #mainArea .chat-header #evListBtn,html #mainArea .chat-header #pinBtn,html #mainArea .chat-header #thrListBtn,html #mainArea .chat-header .mobile-hamburger,html #mainArea .chat-header .mobile-members-btn,html #mainArea .chat-header button[title=Ara]{width:36px!important;min-width:36px!important;padding-left:0!important;padding-right:0!important}html #mainArea .chat-header #gdmFromDm,html #mainArea .chat-header #gdmMgBtn{font-size:0!important;width:36px!important;min-width:36px!important;padding:0!important}html #mainArea .chat-header #gdmCallBtn{white-space:nowrap!important;font-size:11px!important;width:auto!important;min-width:0!important;padding:6px 8px!important;flex-shrink:0}#gdmFromDm::before{content:"➕";font-size:17px}#gdmMgBtn::before{content:"⚙️";font-size:17px}.chat-header .ch-header-name{max-width:none}.input-box{flex-wrap:wrap;row-gap:0}.input-box>button:first-child{order:1}.input-box>.msg-input{order:2;flex:1 1 calc(100% - 96px)!important;min-width:0}.input-box>.send-btn{order:3}.input-box>.emoji-btn,.input-box>.gif-btn,.input-box>.poll-btn,.input-box>.stk-btn{order:4}.input-box>.poll-btn:first-of-type{margin-left:6px}}html.ec-no-ss [onclick*=toggleScreenShare]{display:none!important}html.ec-no-ss #ecvShare{display:none!important}@media (max-width:768px){.channel-sidebar:has(#voiceStatusPanel[style*=block]) #donateBarWrap{display:none!important}}