Build a complete, working, single-file HTML tool for smoothly animating between SVG shapes.
Include all CSS and JavaScript in the HTML. It must run locally in a modern browser without a build process, server or external runtime dependencies.
**Core animation**
- Accept 2–5 SVG states through upload or drag and drop.
- Allow replacing, removing and reordering states.
- Morph corresponding paths using cubic Bézier interpolation.
- Reconcile different segment counts through curve subdivision that preserves their geometry.
- Provide path pairing, direction reversal and starting-anchor alignment controls.
- Clearly explain incompatible structures without silently dropping or distorting shapes.
- Include a working three-state example on first launch.
**SVG support**
Support paths, circles, ellipses, rectangles, lines, polygons, polylines, compound paths and transforms. Support safe local ``, `