/* These career pages no longer render their own navigation bar. Keep only the
   compact in-career HUD, which appears after the player scrolls into a run. */
:root,
:root[data-theme="dark"],
:root[data-theme="light"] {
  --glory-header: 0px;
}

:root[data-theme="dark"] {
  background: #080808;
}

:root[data-theme="light"] {
  background: #e8e8e4;
}

.glory-site-header {
  display: none;
}

@media (max-width: 820px) {
  body.mobile-career-scrolled .glory-site-header,
  html.f1-app-shell body.mobile-career-scrolled .glory-site-header {
    /* focus-reset hides web navigation in the native shell with !important.
       This element becomes the in-career HUD after scrolling, so it must be
       explicitly restored without bringing the web navigation back. */
    display: block !important;
  }
}
