/* [tf-fixes O] Локальный мют (наушники) + ссылка на канал в панели голоса. Графит + фиолетовый. */
#voiceChannelList .voice-user .tflm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; padding: 0; margin: 0 0 0 2px; flex: 0 0 auto;
  border: 0; border-radius: 6px; background: transparent; color: #a7a3c2; cursor: pointer;
  opacity: 0; transition: opacity .15s, background .15s, color .15s;
  --tflm-bg: #1f1d27;
}
#voiceChannelList .voice-user:hover .tflm-btn,
#voiceChannelList .voice-user .tflm-btn:focus-visible { opacity: 1; }
#voiceChannelList .voice-user .tflm-btn:hover { background: rgba(255,255,255,.12); color: #f2f3f5; }
#voiceChannelList .voice-user .tflm-btn:focus-visible { outline: 2px solid #dcdfe4; outline-offset: 1px; }
#voiceChannelList .voice-user .tflm-btn .tflm-cut { stroke: var(--tflm-bg); }
@media (hover: none) { #voiceChannelList .voice-user .tflm-btn { opacity: .45; width: 28px; height: 28px; } }
/* заглушён (видит только тот, кто поставил): перечёркнутые наушники видны всегда */
#voiceChannelList .voice-user.tflm-muted .tflm-btn { opacity: 1; color: #e3e5e8; background: rgba(255,255,255,.14); }
#voiceChannelList .voice-user.tflm-muted .tflm-btn:hover { background: rgba(255,255,255,.16); color: #f2f3f5; }
#voiceChannelList .voice-user.tflm-muted > span:not(.live-tag) { opacity: .6; }
#voiceChannelList .voice-user.tflm-muted > img { opacity: .55; filter: grayscale(.6); }
/* индикатор речи для заглушённого — приглушённый, без зелёного */
#voiceChannelList .voice-user.tflm-muted.speaking > img { box-shadow: 0 0 0 2px rgba(255,255,255,.35) !important; }

/* карточка участника */
#userMenu .tflm-card-btn {
  display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 8px; padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.08);
  color: #d9d6ec; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left;
  transition: background .15s, border-color .15s; --tflm-bg: #22202c;
}
#userMenu .tflm-card-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
#userMenu .tflm-card-btn.on { background: rgba(255,255,255,.14); border-color: #dcdfe4; color: #f2f3f5; }
#userMenu .tflm-card-btn .tflm-ico { flex: 0 0 auto; color: #e3e5e8; }
#userMenu .tflm-card-btn .tflm-cut { stroke: var(--tflm-bg); }
#userMenu .tflm-card-btn.hidden { display: none; }
#userMenu .up-vol.tflm-vol-off label, #userMenu .up-vol.tflm-vol-off input[type=range] { opacity: .45; }

/* панель «Голос подключён»: название канала → перейти к нему */
#voiceBar .tflm-vrow { display: flex; align-items: baseline; gap: 5px; min-width: 0; max-width: 100%; }
#voiceBar .tflm-vrow #voiceName { flex: 0 1 auto; min-width: 0; }
html body #voiceBar #voiceName.tflm-link { cursor: pointer; border-radius: 3px; text-decoration: none; text-underline-offset: 3px; transition: color .15s; }
html body #voiceBar #voiceName.tflm-link:hover,
html body #voiceBar .tflm-vrow:hover #voiceName.tflm-link { color: #f2f3f5 !important; text-decoration: underline; text-decoration-color: rgba(255,255,255,.7); }
html body #voiceBar #voiceName.tflm-link:focus-visible { outline: 2px solid #dcdfe4; outline-offset: 1px; }
#voiceBar .tflm-vsrv { flex: 0 1 auto; min-width: 0; font-size: 11px; font-weight: 500; color: #8e8aa6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
#voiceBar .tflm-vsrv:hover { color: #f2f3f5; }
#voiceBar .tflm-vsrv.hidden, #voiceBar.collapsed .tflm-vsrv { display: none; }
#voiceChannelList .ch.tflm-flash { animation: tflmFlash 1.5s ease-out; border-radius: 6px; }
@keyframes tflmFlash { 0% { box-shadow: inset 0 0 0 2px #dcdfe4; background: rgba(255,255,255,.14); } 100% { box-shadow: inset 0 0 0 2px transparent; background: transparent; } }
