/* add-global-new-navbar: home-preview.css's .tsg-home rules were written assuming they wrap an
   ENTIRE page (home.html) -- min-height:100vh, bottom padding reserved for home.html's own
   bottom nav. templates/_new_navbar.html reuses those same classes for just the nav (via
   base.html), so those page-level assumptions need neutralizing here, scoped under
   .tsg-shared-nav (the class base.html puts on the wrapping <div>) so home.html's own full-page
   usage is completely untouched. */

.tsg-shared-nav .tsg-home {
  min-height: 0;
  padding-bottom: 0;
}

/* add-fix-navbar-click-bug: .tsg-top-bar keeps home-preview.css's own position:fixed unchanged
   here -- an earlier version of this file switched it to position:static (sticky wrapper instead
   of fixed bar) to avoid overlapping page content, but position:sticky + this header's
   backdrop-filter:blur() has a known WebKit/mobile-browser bug where the sticky element's
   clickable hit-testing region can lag behind its visual position after scrolling, silently
   breaking taps on exactly the icons in that bar. Reverted to the same fixed positioning
   home.html itself uses (confirmed bug-free there) -- tsg-nav.js compensates for the overlap by
   measuring the fixed bar's real height and padding <main> to match, instead of changing how the
   bar is positioned. */

#tsg-impersonation-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
}
