/* Compact the beta header on phones while keeping its controls available. */
.gb-mobile-header-toggle { display: none; }
@media (max-width: 760px) {
  .gb-beta-bar-left { position: relative; min-height: 44px; padding-right: 86px; }
  .gb-mobile-header-toggle {
    position: absolute; right: 0; top: 0;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; min-width: 76px; padding: 6px 10px;
    border: 1px solid #607080; border-radius: 10px;
    background: #101419; color: #d4f77b; font: inherit; font-size: 14px;
    font-weight: 800; cursor: pointer;
  }
  .gb-mobile-header-toggle:focus-visible { outline: 3px solid #d4f77b; outline-offset: 3px; }
  body.gb-header-collapsed .gb-beta-bar { min-height: 60px; justify-content: center; }
  body.gb-header-collapsed .gb-beta-disclaimer,
  body.gb-header-collapsed .gb-beta-sep,
  body.gb-header-collapsed .gb-beta-bar-actions,
  body.gb-header-collapsed header.topbar { display: none !important; }
  body.v5 .story-nav, body.v5 .g-filter-bar {
    top: calc(var(--beta-bar-h, 60px) + var(--topbar-h, 0px)) !important;
  }
}
