/* Nova mobile-native shell: never used on desktop */
.nova-mobile-native-shell,.nova-mobile-sheet,.nova-mobile-chat-back{display:none}
@media (max-width:820px),(max-width:960px) and (max-height:500px),(max-width:1366px) and (pointer:coarse){
 body.nova-mobile-native-active{padding-bottom:calc(72px + env(safe-area-inset-bottom));overflow-x:hidden}
 body.nova-mobile-native-active #sidebar,body.nova-mobile-native-active .sidebar{display:none!important}
 body.nova-mobile-native-active .chat-main{width:100%!important;max-width:none!important;margin:0!important}
 .nova-mobile-native-shell{position:fixed;z-index:2200;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:rgba(5,13,29,.91);backdrop-filter:blur(24px) saturate(150%);border-top:1px solid rgba(126,191,255,.22)}
 .nova-mobile-native-shell button{min-width:0;min-height:50px;border:0;background:transparent;color:#dbeeff;border-radius:14px;display:grid;place-items:center;gap:1px;font:inherit}
 .nova-mobile-native-shell button span{font-size:19px;line-height:1}.nova-mobile-native-shell button small{font-size:10px}
 .nova-mobile-sheet{display:block;position:fixed;z-index:2350;left:0;right:0;bottom:0;max-height:min(78dvh,640px);overflow:auto;padding:8px 16px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:rgba(8,17,35,.97);border:1px solid rgba(130,195,255,.25);box-shadow:0 -18px 60px rgba(0,0,0,.38)}
 .nova-mobile-sheet[hidden]{display:none!important}.nova-mobile-sheet-grabber{width:42px;height:4px;margin:4px auto 12px;border-radius:5px;background:rgba(255,255,255,.32)}
 .nova-mobile-sheet header{display:flex;align-items:center;justify-content:space-between}.nova-mobile-sheet header button{width:44px;height:44px;border-radius:50%}
 .nova-mobile-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.nova-mobile-more-grid button{min-height:58px;border-radius:16px}
 body.nova-mobile-native-active .composer{position:sticky!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;z-index:2100!important;margin-inline:8px!important}
 body.nova-mobile-native-active #novaSocialLayer{position:fixed!important;inset:0 0 calc(64px + env(safe-area-inset-bottom)) 0!important;z-index:2150!important;background:var(--bg,#07101f)!important}
 body.nova-mobile-native-active #novaSocialLayer .nova-social-shell[data-view="chats"]{display:block!important}
 body.nova-mobile-native-active #novaSocialLayer .nova-social-list,body.nova-mobile-native-active #novaSocialLayer .nova-social-thread{width:100%!important;max-width:none!important}
 body.nova-mobile-native-active #novaSocialLayer .nova-social-thread{display:none!important}
 body.nova-mobile-native-active #novaSocialLayer.nova-mobile-thread-open .nova-social-list{display:none!important}
 body.nova-mobile-native-active #novaSocialLayer.nova-mobile-thread-open .nova-social-thread{display:block!important}
 .nova-mobile-chat-back{display:inline-flex;position:absolute;z-index:5;top:8px;left:10px;min-height:44px;align-items:center}
 body.nova-mobile-native-active #novaSocialLayer:not(.nova-mobile-thread-open) .nova-mobile-chat-back{display:none!important}
 body.nova-mobile-native-active .nova-people-grid,body.nova-mobile-native-active .nova-projects-grid,body.nova-mobile-native-active .nova-settings-grid{grid-template-columns:1fr!important}
 body.nova-mobile-native-active .nova-feed{scroll-snap-type:y mandatory}.nova-feed-post{scroll-snap-align:start}
}
@media (max-width:960px) and (max-height:500px) and (orientation:landscape){body.nova-mobile-native-active .nova-mobile-native-shell{height:56px;grid-template-columns:repeat(5,1fr)}body.nova-mobile-native-active{padding-bottom:calc(60px + env(safe-area-inset-bottom))}.nova-mobile-sheet{max-height:88dvh}}
