.brand-with-presence {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: none;
}

.online-badge:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: .27rem;
  width: fit-content;
  padding: .15rem .5rem;
  border: 1px solid #256658;
  border-radius: 999px;
  background: #0d2724;
  color: #90efca;
  font: 700 .67rem/1.1 ui-monospace, monospace;
  text-transform: uppercase;
  white-space: nowrap;
}

.online-badge::before {
  content: "";
  width: .36rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #3bd6a8;
}

@media (max-width: 1140px) {
  .brand-with-presence {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }
}

@media (901px <= width <= 1140px) {
  .header-inner:has(.brand-with-presence) {
    column-gap: .65rem;
  }

  .brand-with-presence {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-with-presence .brand-mark {
    flex: 0 0 30px;
  }

  .header-inner:has(.brand-with-presence) .primary-nav a {
    padding-inline: .5rem;
  }
}
