${s.icon || "๐"}
Online
${escapeHtml(meta.label)}
${escapeHtml(s.name)}
${escapeHtml(urlHost)}
`;
}
function render() {
const grouped = {};
for (const s of SERVICES) (grouped[s.section] ||= []).push(s);
const sections = Object.keys(grouped).sort(
(a, b) => (SECTION_META[a]?.order ?? 99) - (SECTION_META[b]?.order ?? 99),
);
app.innerHTML = sections
.map((key) => {
const meta = SECTION_META[key] || { title: key };
const cards = grouped[key].map((s, i) => cardTemplate(s, i)).join("");
return `