/* m-users — Kullanıcılar listesi + detayı (DESIGN.md). Renkler yalnız base.css değişkenleri. */

/* ── Liste kartı ── */
.mu-card { display: flex; flex-direction: column; }
.mu-card .user-card-bottom { margin-top: auto; padding-top: 10px; }
.mu-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mu-card .user-card-bottom svg { width: 12px; height: 12px; vertical-align: -2px; }
.mu-ban-strip {
  display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 9px;
  border-radius: 8px; background: var(--red-soft); color: var(--red);
  font-size: 12px; font-weight: 700;
}
.mu-ban-strip svg { width: 13px; height: 13px; flex-shrink: 0; }
.user-card.banned.mu-card { border-color: color-mix(in srgb, var(--red) 55%, transparent); }
.badge svg { width: 11px; height: 11px; }

/* ── Detay: kimlik kartı ── */
.mu-id-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mu-id-main .mono { word-break: break-all; }
.mu-id.is-banned { border-color: color-mix(in srgb, var(--red) 50%, transparent); }
.mu-ban-box { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 0 0; }
.mu-ban-box svg { flex-shrink: 0; }

.stat .faint.tiny { margin-top: 2px; }
.mu-stat-strong { border-color: var(--accent-line, var(--orange)); background: var(--accent-soft); }
.mu-stat-strong .stat-val { color: var(--orange); }

/* Tutar renkleri (cüzdan) */
.mu-pos { color: var(--green); font-weight: 650; }
.mu-neg { color: var(--red); font-weight: 650; }

/* Etiketli form alanı */
.mu-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mu-field > span { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mu-field textarea { min-height: 80px; resize: vertical; }
.card > .mu-field { margin-top: 2px; }
.modal .mu-field { margin-bottom: 10px; }

/* Aktivite çubukları */
.mu-bar-row { margin-bottom: 10px; }
.mu-bar-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 4px; }
.mu-bar-head span { color: var(--muted); }
.mu-bar-track { height: 6px; border-radius: 6px; background: var(--sunken); overflow: hidden; }
.mu-bar-fill { height: 100%; border-radius: 6px; background: var(--orange); min-width: 2px; }
.mu-tl-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Tehlikeli bölge */
.mu-danger-zone { border-color: color-mix(in srgb, var(--red) 40%, transparent); }
.mu-danger-zone .card-title { color: var(--red); }

/* Sohbet: başlıktaki ad taşmasın, okundu tiki tema rengiyle */
.admin-chat-head .mini-info { min-width: 0; }
.admin-chat-head .mini-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-msg-ticks.read { color: var(--blue); }
.admin-msg-wrap.mine .admin-msg-ticks.read { color: inherit; }
.admin-media-head svg { width: 14px; height: 14px; color: var(--muted); }
.admin-media-menu-btn svg { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .chat-admin-shell { grid-template-columns: 1fr; }
  .chat-admin-list, .chat-admin-pane { min-height: 0; }
  #adminChatList { max-height: 260px; }
}
@media (max-width: 640px) {
  #tabBody .form-grid, .modal .form-grid { grid-template-columns: 1fr; }
  .detail-head .avatar.lg { width: 56px; height: 56px; }
}
