/* Comment Reactions Overlay Styling */

.na-comment-reactions-overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 12px;
  padding: 8px 4px;
  margin-bottom: 8px;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 200px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform-origin: bottom left;
}

.na-reactions-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.na-reaction-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.na-reaction-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.na-reaction-btn-like {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.na-reaction-btn-like:hover {
  background: rgba(255, 255, 255, 0.2);
}

.na-comment-like-count {
  font-size: 12px;
  color: var(--mute, #999);
  margin-top: 4px;
  display: inline-block;
}

.na-comment-reactions-display {
  font-size: 14px;
  margin-top: 4px;
  display: block;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .na-comment-reactions-overlay {
    position: fixed;
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    max-width: calc(100vw - 20px);
    width: max-content;
    z-index: 5000;
  }

  .na-reactions-menu {
    justify-content: center;
  }
}
