/* GrowtopiaTools V1.5.1 — anchored navigation and optically centered search.
   Previous V97 overrides applied position:relative to the topbar, disabling sticky behavior. */
body[data-theme="glass"] .main.main-area > header.top.topbar {
  position: sticky !important;
  top: 0;
  z-index: 80;
  isolation: isolate;
  flex: 0 0 auto;
  background: linear-gradient(110deg,rgba(29,63,110,.78),rgba(9,24,52,.87));
  border-bottom: 1px solid rgba(170,205,247,.20);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 7px 22px rgba(2,13,30,.20),inset 0 1px rgba(255,255,255,.10);
}
/* The default geometric center skews right due to persistent sidebar and public controls.
   Slight offset is limited to desktop layouts where the search button floats absolutely. */
@media (min-width:1601px){
 body[data-theme="glass"] .main.main-area > header.top.topbar #search-trigger.v62-search-main {left:calc(50% - 38px)}
}
@media (min-width:1251px) and (max-width:1600px){
 body[data-theme="glass"] .main.main-area > header.top.topbar #search-trigger.v62-search-main {left:calc(50% - 24px)}
}
/* Preserve V97's compact / in-flow layouts; don't force the search behind header controls. */
@media (max-width:1250px){
 body[data-theme="glass"] .main.main-area > header.top.topbar #search-trigger.v62-search-main{left:auto}
}
@media (max-width:800px){
 body[data-theme="glass"] .main.main-area > header.top.topbar{z-index:40}
}
