BUILD REQUEST - PL-078 Bioluminescent Jelly - please build this now I'm sending you this as my request: please build the one-file HTML app described below. Start now and do the whole build in your answer to this message. - This is a build job, not a document to summarize, review or discuss. Don't ask me anything first: if a detail is unclear, pick the most sensible option and keep going. - The spec is everything between the BEGIN SPEC and END SPEC lines. Follow all of it exactly. - If your tool can create files, also save the finished file as PL-078-bioluminescent-jelly.html. ===== BEGIN SPEC ===== PL-078 "Bioluminescent Jelly": build an interactive 3D bioluminescent jellyfish with soft-body squish physics in a single HTML file using Three.js (CDN). SCENE - Deep sea: background gradient #02060f to #04162b, 300 or more floating plankton specks drifting slowly, soft god-rays from above, fog so far things fade to dark. - One large jellyfish (bell about 3 units wide) with a translucent glowing bell (cyan #5ff2ff to violet #a06bff gradient, fresnel rim glow, see-through so internal organs show), 4 ruffled oral arms, and 16 or more long thin tentacles that trail with a delayed, wavy follow motion. - Soft body: the bell is a mesh whose vertices are pushed by a spring-damper system. The bell pulses on its own every 2.5 s (contracts to about 70 percent width, then relaxes) and each pulse pushes the jelly up and forward by a visible amount, then it sinks slowly. - Light pulses travel down the bell and tentacles with every contraction (an animated emissive wave). - Poking: click or tap the bell and the bell dents at that point (vertices push inward up to 0.5 units, then spring back with 2 to 3 visible wobbles in about 1.2 s) and the jelly flashes brighter and darts away from the touch. - Drag on empty water orbits the camera. Add 3 small baby jellies (bell 0.5 wide) that bob around and flee when the big one pulses. - HUD (top-left, 16 px, white on dark): "Pulses: N" (counts real contractions) and "Pokes: N" (counts real pokes). - Fixed seed 78. CHECKLIST 1. A screenshot at 3 s shows a clearly translucent glowing bell, visible tentacles longer than twice the bell width, and plankton in the water. 2. The bell visibly contracts to about 70 percent width every 2.5 s and the jelly moves up with each pulse; Pulses counter matches the real contractions (watch for 30 s). 3. A poke dents the bell by at least 0.3 units and it wobbles back; Pokes counter goes up by exactly 1 per poke. 4. Tentacles trail with a delay and never pass through the bell or stretch more than 1.5 times their rest length. 5. Light waves travel down the body on each pulse. 6. Smooth (about 60 fps desktop, 30 or more on iPhone) and zero console errors. RULES FOR EVERY BUILD - Output ONE self-contained file named index.html: inline CSS and JS, three.js from a public CDN only (for example https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js with an import map, or the r128 script tag), no other files, no build step, no external images, models, fonts or audio. Add so there is no favicon 404. - It must open straight from disk in desktop Chrome and on an iPhone in Safari with touch, fill the screen, resize cleanly, and show no scrollbars at 390x844 or 1280x720. Cap devicePixelRatio at 2. Clamp the frame time to 0.05 s. Pause when the tab is hidden. - Zero console errors or warnings on load and while interacting. Never log in a per-frame loop. - Public-safe: no real people, no brand names or logos, no copyrighted characters. - Every on-screen counter or readout must change only because of the real event it names (never a timer that fakes it) and must also be available as window.__stats so it can be checked by script. - A frozen frame must be readable: every label, counter and button has contrast of at least 4.5:1 against what is behind it and text at least 14 px. WORK LOOP (do this yourself before answering; take as many turns as you need) 1. Build the file. 2. If you can run code: open it in a real browser, read the console, take screenshots at 3 s, 10 s and 20 s, and exercise every interaction. If you cannot run code, trace the code against the checklist line by line and say so. 3. Mark every checklist item PASS or FAIL with the measured number or what you saw. Mark PASS only when it is visibly true on screen, not just present in code. 4. Fix every FAIL and recheck. Repeat until all items pass or you run out of turns, then say which still fail. 5. Final answer: the complete index.html in ONE code block, output once, then the checklist with PASS/FAIL. Nothing else. ===== END SPEC ===== Now build it. Reply with ONE complete HTML file in ONE code block.