.reaction-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 960px;
}

.reaction-item {
  border: none;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1rem 0.8rem;
  width: 100px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.reaction-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  background: #fffde7;
}

.reaction-item.active {
  background: #fff176;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.reaction-icon {
  font-size: 2.1rem;
  display: block;
  margin-bottom: 0.3rem;
  transition: transform 0.3s ease;
}

.reaction-icon.pulse {
  animation: pulse-grow 0.6s ease;
}

@keyframes pulse-grow {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.reaction-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: #333;
}

.reaction-percent {
  font-weight: bold;
  font-size: 0.85rem;
  color: #111;
}
