/* 6. COMMENT REACTIONS SYSTEM */

.reaction-picker {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.9);
  background: rgba(30, 30, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
}

.reaction-picker.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px) scale(1);
}

.reaction-emoji-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: grayscale(20%);
}

.reaction-emoji-btn:hover {
  transform: scale(1.3) translateY(-4px);
  filter: grayscale(0%);
}

.reaction-burst {
  position: absolute;
  pointer-events: none;
  animation: explodeEmoji 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes explodeEmoji {
  0% { transform: scale(0.5) translate(0, 0); opacity: 1; }
  100% { transform: scale(1.5) translate(var(--tx), var(--ty)); opacity: 0; }
}

.comment-applied-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.applied-reaction-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
}

/* LIGHT THEME STYLING OVERRIDES */
[data-theme="light"] .reaction-picker {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .applied-reaction-badge {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

