${p.name} $${p.price}
${p.bio || ""}
$${p.price} value: ${priceTake(p)}
${players.length} legend${players.length > 1 ? "s" : ""} Β· ${goats} GOAT Β· ${legends} Legend tier Β· combined squad value $${totalValue}
Auto-built from the cheapest viable lineup. Tap any name to swap.
${p.bio || ""}
$${p.price} value: ${priceTake(p)}
Cities in ${country} ranked by base cost. Each has a wiki guide + $10 sample trip.
Top user-submitted $10 squads with 2+ ${country} players. π’ Live
No user squads with 2+ ${country} players yet. Be the first to build one β
`; return; } target.innerHTML = `Hall of Fame loading failed.
`; } } function relatedCountries(current, n) { return Object.keys(PLAYERS_BY_COUNTRY) .filter(c => c !== current) .map(c => ({ name: c, flag: PLAYERS_BY_COUNTRY[c][0].flag, count: PLAYERS_BY_COUNTRY[c].length })) .sort((a, b) => b.count - a.count) .slice(0, n); } async function renderDebate(container, kind, key, prompt) { const args = await sbListArguments(kind, key); const pros = args.filter(x => x.side === "pro"); const cons = args.filter(x => x.side === "con"); const liveBadge = window.SUPABASE && window.SUPABASE.on ? `π’ Live` : `πΎ Local`; container.innerHTML = `Text 280μ λλ π€ μμ± 30μ΄. Be civil.