.card {
  background: var(--card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  padding: 14px;
  box-sizing: border-box;
}

.image-wrap {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7fbff;
  cursor: pointer;
}

img.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  loading: lazy;
}

.word {
  font-size: 1.4rem;
  margin: 6px 0 0;
}

.difficulty {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 13px;
}

.stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 10px 0;
}

.star {
  font-size: 24px;
  color: #eee;
}

.star.filled {
  color: var(--accent);
  text-shadow: 0 1px 8px rgba(76, 175, 80, 0.25);
}

.star.speaking {
  color: #4CAF50 !important;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

.actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

button.action {
  min-width: 110px;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 600;
}

#learnedBtn { background: var(--accent); }
#resetBtn   { background: var(--muted); }
#nextBtn    { background: var(--danger); }

.learned {
  opacity: 0.6;
  transform: scale(0.98);
  box-shadow: none;
  border: 2px solid var(--accent);
}
