BUILD REQUEST - PL-065 Marble Run Machine - 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-065-marble-run-machine.html. ===== BEGIN SPEC ===== Build "Marble Run Machine": a 3D marble run in a single HTML file using Three.js (from a CDN) with real physics (cannon-es from a CDN, or your own physics code). SCENE - Low-poly toy style. Warm beige background #f3e9d2, soft shadows, one directional light plus one ambient light. Shadows must be visible under every track piece and marble. - A tower 6 m tall built from at least 5 track pieces: 2 zig-zag ramps, 1 spiral, 1 funnel, and 1 elevator lift that carries marbles from the bottom back to the top. - 20 marbles, radius 0.15 m, each one of these 5 colors: #e63946 #f4a261 #2a9d8f #457b9d #9b5de5 (4 of each). Use seed 65 for any randomness. PHYSICS (the hard part) - Marbles roll down the track, collide with each other and the walls, and never pass through the track or fall off the tower. If a marble falls below y = -1, it counts as a FAIL. Do not respawn it to hide this. - The elevator really lifts marbles back to the top, so the run loops forever. - Marbles in the funnel visibly swirl around at least once before dropping through. CONTROLS AND UI - Orbit camera: drag to rotate, scroll or pinch to zoom, and it works on iPhone touch. - Button "Drop marble" adds one marble at the top (max 40). Button "Slow-mo" toggles half speed. - Top-left panel in 16px white text on a dark semi-transparent box: "Marbles: N" (always equals the marbles in the scene), "Loops: N" (goes up by 1 only when a marble enters the elevator), "FPS: N". - The panel must be readable in a frozen frame. RULES FOR EVERY BUILD - Output ONE self-contained file named index.html: inline CSS and JS, any library only from a public CDN, no other files, no build step. Add so there is no favicon 404. - It must open straight from disk in desktop Chrome and on an iPhone in Safari, fill the screen, and resize cleanly with no scrollbars. - Zero console errors or warnings on load and while interacting. - Animation runs on requestAnimationFrame and stays smooth (about 60fps on a laptop). WORK LOOP (do this yourself before answering) 1. Build the file. 2. If you can run code, open it in a browser, read the console, take screenshots at 3 s and 6 s, and test the interactions. If you can't run code, mentally trace the code against the checklist line by line. 3. Mark every checklist item PASS or FAIL. Mark PASS only when it is visibly true on screen, not just present in the code. 4. Fix every FAIL and recheck. Repeat until all items pass. 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.