/* Narrateur participant — carte discrète sous la voix, opt-in explicite. */

.comm-narrateur { margin: 10px 0 14px; }
.narr {
  border: 1px solid rgba(177, 151, 252, .35);
  background: rgba(177, 151, 252, .08);
  border-radius: 14px;
  padding: 12px 14px;
}
.narr-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.narr-head strong { font-size: 14px; }
.narr-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #b9aec6; box-shadow: 0 0 0 3px rgba(185, 174, 198, .18);
  flex: 0 0 auto;
}
.narr-dot.on { background: #3fae5a; box-shadow: 0 0 0 3px rgba(63, 174, 90, .2); }
.narr-etat { color: var(--mut); font-size: 12px; margin-left: auto; }
.narr-optin {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 10px 0 8px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.narr-optin input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--violet); }
.narr-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.narr-controls button { padding: 7px 12px; font-size: 12px; }
.narr-vol { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mut); }
.narr-vol input { width: 110px; accent-color: var(--violet); }
.narr-statut {
  margin: 9px 0 0; font-size: 12px; line-height: 1.45;
  color: var(--mut); overflow-wrap: anywhere;
}
.narr-statut.ok { color: #2b7a2b; }
.narr-statut.warn { color: #9a6200; }
.narr-statut.err { color: #b3261e; }
.narr-audio { display: none; }
.narr-ai {
  margin-top: 10px;
  border-top: 1px dashed rgba(177, 151, 252, .35);
  padding-top: 9px;
}
.narr-ai-title { font-size: 13px; }
.narr-ai-log {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  max-height: 150px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.narr-ai-msg {
  background: rgba(255, 255, 255, .55);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
}
.narr-ai-meta {
  display: block;
  color: var(--mut);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.narr-ai-text { display: block; overflow-wrap: anywhere; }
.narr-ai-statut {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mut);
}
.narr-ai-statut.ok { color: #2b7a2b; }
.narr-ai-statut.warn { color: #9a6200; }
.narr-ai-statut.err { color: #b3261e; }
body.sombre .narr-ai-msg { background: rgba(255, 255, 255, .07); }
body.sombre .narr-ai-statut.ok { color: #8ce99a; }
body.sombre .narr-ai-statut.warn { color: #ffd43b; }
body.sombre .narr-ai-statut.err { color: #ff9b9b; }
body.sombre .narr { background: rgba(177, 151, 252, .1); border-color: rgba(177, 151, 252, .3); }
body.sombre .narr-statut.ok { color: #8ce99a; }
body.sombre .narr-statut.warn { color: #ffd43b; }
body.sombre .narr-statut.err { color: #ff9b9b; }
