Coffee-stain growth dynamics on dry and wet surfaces