/* Shared Chrome v2 icons; brand/account actions sit apart from the three channels. */
.jegous-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand channels logout";
  align-items: center;
  column-gap: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.jegous-brand, .jegous-logout, .jegous-channel {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  text-decoration: none;
}
.jegous-brand { grid-area: brand; min-width: 0; color: var(--bs-body-color); font-size: 1.375rem; font-weight: 600; line-height: 1.3; }
.jegous-brand img { flex: 0 0 28px; }
.jegous-logout { grid-area: logout; justify-self: end; color: var(--bs-secondary-color); font-size: .875rem; }
.jegous-logout:hover { color: var(--bs-body-color); }
.jegous-channels { grid-area: channels; min-width: 0; }
.jegous-channels ul { display: flex; justify-content: center; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.jegous-channels li { min-width: 0; }
.jegous-channel {
  position: relative;
  justify-content: center;
  gap: .375rem;
  min-height: 68px;
  height: 100%;
  padding: .75rem .625rem;
  color: var(--bs-secondary-color);
  font-size: .9375rem;
  font-weight: 500;
  --nav-icon-base: var(--bs-body-bg);
}
.jegous-channel-label { min-width: 0; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.jegous-channel:hover, .jegous-channel.active { color: var(--bs-primary); }
.jegous-channel.active { font-weight: 600; }
.jegous-channel.active::after { position: absolute; content: ""; inset-inline: .375rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--bs-primary); }
.jegous-channel-badge { position: absolute; top: .375rem; inset-inline-end: .125rem; max-width: calc(100% - .25rem); overflow: hidden; text-overflow: ellipsis; font-size: .625rem; }
.jegous-nav-icon { flex: 0 0 20px; width: 20px; height: 20px; overflow: visible; }
.jegous-header a:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 767.98px) {
  .jegous-header { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand logout" "channels channels"; column-gap: 1rem; }
  .jegous-brand, .jegous-logout { min-height: 56px; }
  .jegous-channels ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .jegous-channel { min-height: 52px; padding: .75rem .25rem; }
  .jegous-channel-badge { top: .125rem; }
}
@media (max-width: 359.98px) {
  .jegous-channel { font-size: .875rem; gap: .25rem; padding-inline: .125rem; }
  .jegous-channel .jegous-nav-icon { flex-basis: 18px; width: 18px; height: 18px; }
}
