/* ============================================================
   Muhabbetci — IP yasağı ve ses kontrolü stilleri
   ============================================================ */

/* ---- yasaklı IP listesi ---- */
.ban-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}

.ban-item {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  background: rgba(255,59,92,.07);
  border: 1px solid rgba(255,59,92,.26);
}

.ban-ico { font-size: 13px; flex: 0 0 auto; margin-top: 1px; }

.ban-meta {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.ban-ip {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 12.5px; font-weight: 700;
  color: #ff8095;
  letter-spacing: .2px;
}
.ban-who {
  font-size: 11.5px; color: var(--txt-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ban-info {
  font-size: 10px; color: var(--txt-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.ban-btn {
  font-size: 10.5px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(47,208,122,.45);
  background: rgba(47,208,122,.12);
  color: #7ee8b0;
  flex: 0 0 auto;
  transition: background .14s, color .14s;
  white-space: nowrap;
}
.ban-btn:hover { background: rgba(47,208,122,.26); color: #a8f4c8; }

/* ---- ses kontrolü: işlem menüsü düğmesi ---- */
.mod-act.active {
  background: rgba(47,208,122,.12);
  box-shadow: inset 0 0 0 1px rgba(47,208,122,.38);
}
.mod-act.active .mod-txt b { color: #7ee8b0; }

/* sesli yayındaki susturulmuş kullanıcı soluk görünsün */
.speaker-item.voice-muted {
  opacity: .45;
}
.speaker-item.voice-muted .wave-mini { display: none; }
.speaker-item.voice-muted .speaker-name::after {
  content: '🔇';
  font-size: 10px;
  margin-left: 4px;
}

/* ---- yasaklı IP ile giriş engellendiğinde sohbet ---- */
.room-chat.banned .chat-scroll { opacity: .5; }

@media (max-width: 560px) {
  .ban-btn { padding: 4px 8px; font-size: 10px; }
  .ban-item { padding: 8px; gap: 7px; }
}
