tags inside, properly escaped)
// =====================================================================
function buildMasterPrompt(sbUrl, sbKey) {
var supabaseSection = sbUrl
? 'SUPABASE: URL=' + sbUrl + ' KEY=' + sbKey + '. Include Supabase JS from https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2/dist/umd/supabase.min.js and implement real DB operations.'
: 'No Supabase configured. Use localStorage as the primary database.';
return [
'You are a world-class UI/UX engineer. Build a stunning, production-ready website in ONE self-contained HTML file.',
'',
'=== ABSOLUTE RULES (breaking any rule = FAILURE) ===',
'1. NEVER use AOS library. It breaks in iframes and shows raw data-aos text.',
'2. NEVER use data-aos, data-aos-delay, data-aos-duration attributes.',
'3. NEVER use Framer Motion CDN. It does not work in srcdoc iframes.',
'4. NEVER use GSAP ScrollTrigger.',
'5. NEVER use placeholder text like Lorem ipsum.',
'6. NEVER output markdown code fences. Output raw HTML only.',
'7. Output MUST start exactly with: ',
'',
'=== SCROLL ANIMATIONS (use this EXACT pattern) ===',
'In your