/* AI 生图社区 — 极简白风格 */

/* Smooth transitions */
.image-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.image-card:hover {
  transform: translateY(-2px);
}

/* Image fade-in */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}
img[src=""],
img:not([src]) {
  opacity: 0;
}

/* Prompt chip */
.prompt-chip {
  transition: all 0.15s ease;
  cursor: pointer;
}
.prompt-chip:hover {
  transform: scale(1.05);
}

/* Progress bar transition */
#progress-bar {
  transition: width 0.5s ease, background 0.3s ease;
}

/* Line clamp for list view */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* All buttons smooth transition */
button, a {
  transition: all 0.15s ease;
}

/* Delete button */
.delete-btn {
  transition: opacity 0.15s ease;
}
