/* Purpose-built small-screen topbar. Loaded after legacy mobile patches. */
@media(max-width:1024px){
 #appShell .nord-main>.nord-topbar{
   position:relative!important;inset:auto!important;
   display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;
   grid-template-rows:minmax(48px,auto) auto!important;
   align-items:center!important;align-content:start!important;
   column-gap:10px!important;row-gap:0!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:auto!important;min-height:68px!important;
   padding:10px 12px!important;
   background:var(--surface,#0c1421)!important;
   border-bottom:1px solid var(--border,#283348)!important;
   overflow:visible!important;z-index:80!important;
 }
 #appShell .nord-topbar #mobileMenu{
   grid-column:1!important;grid-row:1!important;position:static!important;
   display:grid!important;place-items:center!important;
   width:44px!important;height:44px!important;min-width:44px!important;
   max-width:44px!important;margin:0!important;transform:none!important;
   border-radius:12px!important;align-self:center!important;
 }
 #appShell .nord-topbar .nord-mobile-page-title{
   display:flex!important;flex-direction:column;justify-content:center;
   grid-column:2!important;grid-row:1!important;
   min-width:0!important;width:100%!important;overflow:hidden!important;
   padding:0 2px!important;margin:0!important;
 }
 #appShell .nord-mobile-page-title strong{
   display:block!important;font-size:16px!important;line-height:1.25!important;
   font-weight:800!important;white-space:nowrap!important;
   overflow:hidden!important;text-overflow:ellipsis!important;
 }
 #appShell .nord-mobile-page-title small{
   display:block;font-size:10px!important;color:var(--text-2,#97a5b9);
   line-height:1.4!important;white-space:nowrap!important;
   overflow:hidden!important;text-overflow:ellipsis!important;
 }
 #appShell .nord-topbar #nordAccountMenuWrap{
   grid-column:3!important;grid-row:1!important;position:relative!important;
   justify-self:end!important;align-self:center!important;margin:0!important;
   width:44px!important;min-width:44px!important;max-width:44px!important;
   z-index:90!important;
 }
 #appShell .nord-topbar #nordAccountTrigger{
   display:grid!important;place-items:center!important;width:44px!important;height:44px!important;
   min-width:44px!important;max-width:44px!important;padding:3px!important;
   margin:0!important;border-radius:12px!important;
 }
 #appShell .nord-topbar #nordAccountTrigger .user-avatar{margin:0!important;flex:none!important}
 #appShell .nord-topbar #nordAccountTrigger .nord-account-trigger-copy,
 #appShell .nord-topbar #nordAccountTrigger>.fa-chevron-down{display:none!important}
 #appShell .nord-topbar #nordAccountDropdown{
   position:absolute!important;top:calc(100% + 8px)!important;
   left:auto!important;right:0!important;
   width:min(310px,calc(100vw - 95px))!important;
   max-height:calc(100dvh - 100px)!important;overflow-y:auto!important;
   z-index:30000!important;
 }
 #appShell .nord-topbar .server-context{
   grid-column:1/-1!important;grid-row:2!important;
   display:flex!important;flex-wrap:wrap!important;
   align-items:center!important;gap:8px!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:auto!important;margin:8px 0 0!important;padding:8px 0 0!important;
   border-top:1px solid var(--border,#283348)!important;
 }
 #appShell .nord-topbar .server-context[hidden]{display:none!important}
 #appShell .nord-topbar .server-context>.context-select{
   flex:1 1 150px!important;min-width:0!important;max-width:100%!important;
   width:auto!important;height:40px!important;margin:0!important;
 }
 #appShell .nord-topbar .server-context>.context-select.small{flex:1 1 110px!important}
 #appShell .nord-topbar .server-context select{
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:100%!important;text-overflow:ellipsis!important;
   font-size:12px!important;padding-right:26px!important;
 }
 #appShell .nord-topbar #accountTopbarContext,
 #appShell .nord-topbar .topbar-spacer,
 #appShell .nord-topbar .nord-legacy-topbar-action{display:none!important}
}
@media(max-width:440px){
 #appShell .nord-main>.nord-topbar{padding:9px 10px!important;column-gap:8px!important}
 #appShell .nord-mobile-page-title strong{font-size:15px!important}
 #appShell .nord-topbar .server-context>.context-select{flex-basis:125px!important}
}
