.react-btn {
  transition: all 0.25s ease;
  position: relative;
}
.react-btn.active-react {
  background: #1d3557;
  color: #fff;
  transform: scale(1.05);
}
.react-btn:hover {
  transform: translateY(-2px);
}
.react-pulse {
  animation: reactPulse 0.25s ease-in-out;
}
@keyframes reactPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.react-fade {
  animation: reactFade 0.35s ease-in-out;
}
@keyframes reactFade {
  0% { opacity: 0.2; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}
.react-btn::after {
  content: attr(data-type);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1d3557;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.react-btn:hover::after {
  opacity: 1;
}

/* Reaction count color fix */
.react-btn span {
  color: #1d3557 !important;
  font-weight: 600;
  margin-left: 3px;
}
