/* COMBOBOX - POPOVER: Remove todos os itens menos Configurações */
/* 1) Esconde TODOS os options que vêm depois do 1º separador... */
.popover-ui[role="listbox"] > [role="separator"] ~ div[role="option"] {
  display: none !important;
}

/* 2) ...mas reexibe APENAS o option que vem imediatamente antes do PRÓXIMO separador
      (ou seja, o último option do bloco entre os separadores → "Configurações") */
.popover-ui[role="listbox"] > [role="separator"] ~ div[role="option"]:has(+ [role="separator"]) {
  display: flex !important;
}

/* 3) Garante que o último option da lista (depois do 2º separador) continue visível (→ "Sair") */
.popover-ui[role="listbox"] > div[role="option"]:last-of-type {
  display: flex !important;
}

/* FOOTER: Remover o conteúdo dinâmico original (span) e o primeiro divisor */
[role="contentinfo"] > :nth-child(1),
[role="contentinfo"] > :nth-child(2) {
  display: none !important;
}

/* FOOTER: Inserir apenas "Scápole Chat" (texto simples, sem link) */
[role="contentinfo"]::before {
  content: "Scápole Chat";
  display: inline-block;
  margin-right: .5rem;   /* espaço antes dos outros itens do footer, se existirem */
  color: inherit;        /* acompanha o tema claro/escuro */
  text-decoration: none; /* sem sublinhado */
}
