/* Thread Panel — Slack-style side panel for threaded replies */

/* ── In-channel thread indicator ── */
.thread-indicator {
  margin-top: 0.25rem;
}

.thread-reply-count {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-link, #1264a3);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.thread-reply-count:hover {
  background: color-mix(in srgb, var(--color-link, #1264a3) 8%, transparent);
}

.thread-participants {
  display: inline-flex;
  margin-left: 0.25rem;
}

.thread-participants .avatar {
  width: 20px;
  height: 20px;
  margin-left: -4px;
  border: 2px solid var(--color-bg);
  border-radius: 4px;
}

.thread-participants .avatar:first-child {
  margin-left: 0;
}

/* Avatar utilities */
.avatar--tiny {
  width: 20px;
  height: 20px;
  font-size: 0.5rem;
  border-radius: 4px;
}

.avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-text) 15%, transparent);
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  font-weight: 600;
}
