/* Legacy pages such as TG invitations render a container directly after the
   fixed topbar instead of the normal main wrapper that reserves its height. */
.app-topbar + div.container {
  padding-top: calc(4rem + 1.5rem);
}

/* The bundled brand combines `hidden` and `inline-flex`; the latter wins
   on phones. At tablet widths the wordmark plus the account controls and
   whitelist shortcut also leave too little space for the overflow menu. */
@media (max-width: 1023px) {
  .app-topbar .app-brand-link [data-logo-text] {
    display: none !important;
  }
}
