/* Private Bot · rubrique « Membres » (src/web/modules/membres.js) : mêmes tuiles, lignes et boutons que Modération et Tickets. */
.mb-zone { display: grid; gap: 14px; padding: 6px 22px 14px; }
.etiquette.rouge { background: rgb(240 113 120 / .16); color: #ffb3b7; }
.mb-gris { color: var(--attenue); font-weight: 400; }
.mb-vide { margin: 0; color: var(--attenue); font-size: 14.5px; line-height: 20px; list-style: none; }
.mb-vide-liste { padding: 14px 22px; }
.mb-note { margin: 0; color: var(--attenue); font-size: 13.5px; line-height: 19px; }
.mb-zone > .mb-note, .groupe > .mb-note { padding: 0 22px 10px; }
.mb-zone > .mb-note { padding: 0; }
.mb-note.avert { color: var(--ambre); }

/* Recherche */
.mb-recherche { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; position: relative; }
.mb-recherche .saisie { padding-left: 42px; }
.mb-loupe { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--attenue); pointer-events: none; }
.mb-loupe svg, .mb-chevron svg, .mb-retour svg, .mb-preuve svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.mb-avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; background: var(--tuile-haute); }
.mb-avatar.vide { display: grid; place-items: center; color: var(--attenue); font-weight: 700; font-size: 15px; }
.mb-f-tete .mb-avatar { width: 56px; height: 56px; font-size: 21px; }

.mb-resultats { display: grid; gap: 2px; margin: 0 -10px; }
.mb-membre { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; width: 100%; min-height: 56px; padding: 8px 10px; border: 0; border-radius: 14px; background: transparent; color: var(--texte); font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.mb-membre:hover { background: var(--tuile-survol); }
.mb-membre:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bleu-clair); }
.mb-id { display: grid; min-width: 0; }
.mb-id b, .mb-id h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 600; }
.mb-id h3 { margin: 0; font-size: 19px; line-height: 24px; }
.mb-id small { color: var(--attenue); font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-etats { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.mb-chevron { width: 18px; height: 18px; color: var(--attenue); }
@media (max-width: 560px) {
  .mb-membre { grid-template-columns: 36px minmax(0, 1fr) 18px; }
  .mb-membre .mb-etats { grid-column: 2; grid-row: 2; justify-content: flex-start; }
  .mb-membre .mb-chevron { grid-column: 3; grid-row: 1 / span 2; }
}

/* Fiche d'un membre */
.mb-fiche { display: grid; gap: 14px; padding: 16px; border-radius: 16px; background: var(--tuile-survol); animation: etape-avant .35s var(--sortie); }
.mb-retour { justify-self: start; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 12px 0 6px; border: 0; border-radius: 999px; background: var(--tuile-haute); color: var(--texte); font: inherit; font-size: 14px; cursor: pointer; }
.mb-retour svg { width: 16px; height: 16px; }
.mb-retour:hover { background: #45474e; }
.mb-f-tete { display: flex; gap: 14px; align-items: center; min-width: 0; }
.mb-f-tete .mb-etats { justify-content: flex-start; margin-top: 6px; }
.mb-f-tete .mb-id small { white-space: normal; overflow-wrap: anywhere; }
.mb-f-cols { display: grid; gap: 12px; }
@container panneau (min-width: 800px) { .mb-f-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .mb-f-large { grid-column: 1 / -1; } }
.mb-f-bloc { padding: 14px 16px; border-radius: 14px; background: var(--tuile); min-width: 0; }
.mb-f-bloc h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; display: flex; gap: 8px; }
.mb-f-bloc ul { margin: 0; padding: 0; list-style: none; display: grid; }
.mb-liste-s > li + li, .mb-liste-n > li + li, .mb-liste-p > li + li { border-top: 1px solid var(--trait); }
.mb-sanction { padding: 10px 0; }
.mb-s-tete { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.mb-s-date { color: var(--attenue); }
.mb-s-num { color: var(--attenue); font: 600 13px ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; }
.mb-s-etat { margin-left: auto; color: var(--attenue); font-size: 13.5px; }
.mb-s-etat.actif { color: #ffb3b7; }
.mb-raison { margin: 4px 0 0; font-size: 14.5px; line-height: 20px; overflow-wrap: anywhere; }
.mb-s-pied { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 4px; color: var(--attenue); font-size: 13.5px; line-height: 19px; }
.mb-preuve { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; color: var(--bleu-clair); text-decoration: none; }
.mb-preuve span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-preuve svg { width: 14px; height: 14px; flex: none; }
a.mb-preuve:hover span { text-decoration: underline; }
.mb-preuve.sans { color: var(--attenue); }
.mb-liste-n li, .mb-liste-p li { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; padding: 8px 0; font-size: 14.5px; min-width: 0; }
.mb-liste-n .mb-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; min-width: 0; }
.mb-liste-n .mb-gris, .mb-liste-p .mb-gris { margin-left: auto; font-size: 13.5px; white-space: nowrap; }

/* Sanctions en cours */
.mb-segments { justify-self: start; max-width: 100%; overflow-x: auto; }
.mb-segments button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mb-compte { font-size: 13px; color: inherit; opacity: .7; font-variant-numeric: tabular-nums; }
.mb-lignes { display: grid; }
.mb-ligne { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 22px; position: relative; }
.mb-ligne-simple { grid-template-columns: minmax(0, 1fr) auto; }
.mb-ligne + .mb-ligne::before { content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 1px; background: var(--trait); }
.mb-l-corps { min-width: 0; }
.mb-l-nom { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.mb-l-nom b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-l-nom small { color: var(--attenue); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mb-ligne .mb-raison { margin-top: 2px; color: #dbdee1; }
@media (max-width: 560px) {
  .mb-ligne { grid-template-columns: 36px minmax(0, 1fr); align-items: start; }
  .mb-ligne > .mb-avatar { margin-top: 2px; }
  .mb-ligne > .bouton { grid-column: 2; justify-self: start; }
  .mb-ligne-simple { grid-template-columns: minmax(0, 1fr); }
  .mb-ligne-simple > .bouton { grid-column: 1; }
}
.mb-pages { align-self: center; color: var(--attenue); font-size: 14px; font-variant-numeric: tabular-nums; padding: 0 6px; }

/* Noms interdits */
.mb-mots { min-height: 30px; }
.mb-ajout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; max-width: 460px; }
