import React from 'react' function toneClasses(tone, isPrimary) { const styles = { emerald: 'border-emerald-300/20 bg-emerald-400/12 text-emerald-100', violet: 'border-violet-300/20 bg-violet-400/12 text-violet-100', amber: 'border-amber-300/20 bg-amber-400/12 text-amber-100', rose: 'border-rose-300/20 bg-rose-400/12 text-rose-100', sky: 'border-sky-300/20 bg-sky-400/12 text-sky-100', slate: 'border-slate-300/15 bg-slate-300/10 text-slate-200', } const base = styles[tone] || styles.sky return `${base} ${isPrimary ? 'shadow-[0_0_22px_rgba(255,255,255,0.05)]' : ''}`.trim() } export default function ProfileWorldRecognitionBadge({ recognition, isPrimary = false }) { if (!recognition) { return null } return ( {recognition.label} ) }