/* §MOBILE-NAV-UNIFY-2026-09-18 — gemeinsame Chats-Liste (Direkt + Gruppen)
   und Ungelesen-Badges. Die Mobile-Shell eskaliert Spezifität über die
   dreifach wiederholte ID; darunter greift hier keine Regel. */

/* Summe auf dem Chats-Tab */
html body.ec-mobile-shell-active #ec-mobile-shell#ec-mobile-shell#ec-mobile-shell .ec-mobile-bottom-nav [data-ecm-tab="chats"] {
  position: relative !important;
}
html body.ec-mobile-shell-active #ec-mobile-shell#ec-mobile-shell#ec-mobile-shell .ec-mobile-bottom-nav .ecm-nav-badge:not([hidden]) {
  position: absolute !important;
  top: 4px !important;
  left: calc(50% + 8px) !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font: 700 10.5px/1 var(--font-mono, ui-monospace, monospace) !important;
  letter-spacing: 0 !important;
  box-shadow: 0 0 0 2px #05070d !important;
  pointer-events: none !important;
}
html body.ec-mobile-shell-active #ec-mobile-shell#ec-mobile-shell#ec-mobile-shell .ec-mobile-bottom-nav .ecm-nav-badge[hidden] {
  display: none !important;
}

/* Dezente [Gruppe]-Markierung in der Zeile */
html body.ec-mobile-shell-active #ec-mobile-shell#ec-mobile-shell#ec-mobile-shell .ecm-chat-row .ecm-chat-group-badge {
  display: inline-block !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(113, 113, 113, 0.35) !important;
  background: rgba(113, 113, 113, 0.10) !important;
  color: #bdbdbd !important;
  font: 700 9.5px/1.2 var(--font-mono, ui-monospace, monospace) !important;
  font-style: normal !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
