     }

        // --- Main Application Logic ---
        async function loadContent() {
            if (isLoading) return;
            showLoading();

            const cachedContent = getCachedContent();
            if (cachedContent) {
                displayContent(cachedContent);
            }

            try {
                const freshContent = await fetchReadmeContent();
                setCachedContent(freshContent);
                // Only re-render if content is new or wasn't cached
           