/* Post Reactions Summary Styles */
.per-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1;
}

.per-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0.75rem;
  border-radius: 16px;
  font-size: 1rem;
  line-height: 1.3;
}

.per-summary-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.per-summary-count {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #374151;
  font-size: 1rem;
}

.per-summary-total {
  font-weight: 600;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Individual reaction styling */
.per-summary-helpful {
  background: rgba(34, 197, 94, 0.1);
}

.per-summary-learned {
  background: rgba(251, 191, 36, 0.1);
}

.per-summary-great {
  background: rgba(168, 85, 247, 0.1);
}

.per-summary-unclear {
  background: rgba(239, 68, 68, 0.1);
}

.per-summary-loved {
  background: rgba(244, 63, 94, 0.1);
}

/* Compact variant for tight spaces */
.per-summary.per-summary-compact {
  gap: 0.5rem;
}

.per-summary-compact .per-summary-item {
  padding: 0.35rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

.per-summary-compact .per-summary-emoji {
  font-size: 1.35rem;
}

/* Minimal variant - just emoji and count, no background */
.per-summary.per-summary-minimal .per-summary-item {
  background: none;
  padding: 0;
  gap: 0.3rem;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .per-summary-item {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .per-summary-count {
    color: #d1d5db;
  }
  
  .per-summary-total {
    color: #9ca3af;
  }
}

/* Mobile responsive */
@media (max-width: 479px) {
  .per-summary {
    font-size: 0.95rem;
    gap: 0.6rem;
  }
  
  .per-summary-item {
    padding: 0.4rem 0.65rem;
    font-size: 0.95rem;
  }
  
  .per-summary-emoji {
    font-size: 1.4rem;
  }
}