/* STEP957 beta.252 candidate: online users restored, Stile stays in drawer.
   Scoped to authenticated Lobby and shared header; nothing changes in table. */
body.sb-photo892 .topbar,
.sb-global-topbar {
  grid-template-columns: max-content minmax(0, 1fr) max-content !important;
}
body.sb-photo892 .topbar .live-summary,
.sb-global-topbar .sb-global-summary {
  display: flex !important;
  align-items: center !important;
  justify-self: start !important;
  gap: 7px !important;
  min-width: 0 !important;
  margin-left: clamp(8px, 1.5vw, 20px) !important;
  font-size: .78rem !important;
  white-space: nowrap !important;
  color: #c5cbbf !important;
}
body.sb-photo892 .topbar .live-summary strong,
.sb-global-topbar .sb-global-summary strong {
  color: #f4dfb4 !important;
  font-weight: 800 !important;
}
body.sb-photo892 .topbar .live-summary .summary-divider,
body.sb-photo892 .topbar .live-summary .summary-divider + span,
body.sb-photo892 .topbar .live-summary #lobby-connection,
.sb-global-topbar .sb-global-summary .sb-global-summary-divider,
.sb-global-topbar .sb-global-summary .sb-global-summary-divider + span {
  display: none !important;
}
body.sb-photo892 .topbar .topbar-page-links > a[href="/marketplace.html"],
.sb-global-topbar .sb-global-page-links > a[href="/marketplace.html"] {
  display: none !important;
}
@media (max-width: 780px) {
  body.sb-photo892 .topbar .live-summary,
  .sb-global-topbar .sb-global-summary {
    margin-left: 6px !important;
    gap: 5px !important;
    font-size: .72rem !important;
  }
}
@media (max-width: 390px) {
  body.sb-photo892 .topbar .live-summary,
  .sb-global-topbar .sb-global-summary {
    margin-left: 3px !important;
    gap: 4px !important;
    font-size: .69rem !important;
  }
}

/* The existing Lobby stylesheet hides the whole nav below 780px. Keep
   ONLY the Menu toggle available, so Stile remains accessible inside drawer. */
@media (max-width: 780px) {
  body.sb-photo892 .topbar .topbar-page-links {
    display: flex !important;
    position: static !important;
    transform: none !important;
    gap: 0 !important;
  }
  body.sb-photo892 .topbar .topbar-page-links [data-global-navigation-primary] {
    display: none !important;
  }
  body.sb-photo892 .topbar .topbar-page-links [data-global-navigation-toggle] {
    display: inline-flex !important;
    height: 35px !important;
    min-height: 35px !important;
    width: 35px !important;
    min-width: 35px !important;
    padding: 0 !important;
  }
}
@media (max-width: 340px) {
  body.sb-photo892 .topbar .live-summary {
    margin-left: 0 !important;
    gap: 2px !important;
    font-size: .66rem !important;
  }
}
