.conversation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  transition: background 200ms;
}

.conversation-item:active {
  background: rgba(216, 180, 255, 0.06);
}

.conversation-item__main {
  flex: 1;
  min-width: 0;
}

.conversation-item__top,
.conversation-item__bottom,
.conversation-item__name-row {
  display: flex;
  align-items: center;
}

.conversation-item__top {
  justify-content: space-between;
}

.conversation-item__name-row {
  min-width: 0;
  gap: 4px;
}

.conversation-item__name {
  color: $fg;
  font: 600 14px / 1.2 $font-body;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-item__pet {
  color: $accent;
  font: 500 11px / 1 $font-body;
}

.conversation-item__time {
  color: $muted;
  font: 400 11px / 1 $font-body;
}

.conversation-item__bottom {
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.conversation-item__preview {
  flex: 1;
  min-width: 0;
  color: $fg-2;
  font: 400 12px / 1.3 $font-body;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-item__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9px;
  background: $accent-2;
  color: $primary-on;
  font: 700 10px / 18px $font-body;
  text-align: center;
  box-sizing: border-box;
}

.conversation-item__muted {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: $muted;
  opacity: 0.4;
}

.conversation-item__pin {
  color: $primary;
}

