/* Optional mobile sticky competition navigation; remove its two assets to revert. */
@media(max-width:740px){
  /* Raise the header's stacking context, not just the dropdown inside it. */
  .public-site .site-header-band:has(.site-header.menu-open){z-index:60}
  .public-site .public-group-region{min-width:0;display:flow-root}
  .public-site p.muted:has(+.public-group-region){margin-bottom:8px}
  .public-site .public-group-region>.competition-group-switch{position:sticky;top:var(--mobile-competition-height,0px);z-index:35;background:var(--page);margin-top:0;padding:6px 0;border-bottom:1px solid var(--edge)}
  .public-site .public-group-region [data-public-group]{scroll-margin-top:calc(var(--mobile-competition-height,0px) + var(--mobile-group-height,0px) + 8px)}
  .public-site .hero.compact .hero-copy:has(.mobile-competition-placeholder)>h1{margin-bottom:12px}
  .public-site .competition-navigation.is-mobile-sticky{position:fixed;top:0;left:0;right:0;z-index:40;margin:0;padding:8px 10px;padding-top:calc(8px + env(safe-area-inset-top,0px));background:var(--page);border-bottom:1px solid var(--edge);box-shadow:0 3px 8px #0002}
  .public-site .competition-navigation.is-mobile-sticky .competition-gender-switch a{display:flex;align-items:center;justify-content:center;min-height:34px}
}
