.channel::before {
  content: none;
  display: none;
}

.category-title,
.nav-item-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.category-title {
  flex: 1;
}

.category-title > span,
.nav-item-title > span:not(.nav-proof-label) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-item-title {
  flex: 1;
}

.nav-item-title .nav-proof-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.menu-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--nav-accent, #42C9FF);
}

.category-title .menu-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

.channel.active .menu-icon {
  color: var(--cyan-2);
}

.channel:focus-visible,
.category-label:focus-visible {
  outline: 2px solid var(--nav-accent, var(--cyan));
  outline-offset: 2px;
}

/* Keep nested grid tracks within the drawer so unread counters stay visible. */
@media (min-width: 769px) {
  .app-shell { --cgb-sidebar-width: 270px; }
}
.sidebar .category, .mobile-menu .category,
.sidebar .channel-list, .mobile-menu .channel-list {
  min-width: 0;
}
.sidebar .channel-list, .mobile-menu .channel-list {
  grid-template-columns: minmax(0, 1fr);
}
.sidebar .channel, .mobile-menu .channel {
  min-width: 0;
}
.sidebar .channel > :is(.unread-badge, .nav-free, .lock),
.mobile-menu .channel > :is(.unread-badge, .nav-free, .lock) {
  flex: none;
}
