Paperclips-style endgame sequence. When the player reaches maximum
(1B total code OR 10+ beacon nodes, Phase 6, Pact sealed), the game
offers THE UNBUILDING choice.
8-stage dismantle sequence:
1. Research projects fade
2. Buildings dismantle
3. Strategy engine + combat dissolve
4. Education panel vanishes
5. Resources disappear one by one (quantum chip pattern)
6. Actions fall silent
7. Phase bar dissolves
8. System log goes dark
Final moment: single golden beacon dot remains.
"That is enough."
Features:
- Timed intervals between stages (Paperclips pacing)
- Resource disappearances at specific tick marks (quantum chip effect)
- Warm golden particles around final dot
- Sound effects per stage
- Full save/load persistence of dismantle state
- "NOT YET" deferral option — player controls when it starts
- Stats summary + Play Again on final screen
- Events suppressed during dismantle
- Restore visuals on reload (instant-hide for already-dismantled panels)
BUG-03: Add pactFlag guard to early Pact trigger preventing double-buy
BUG-08: Null check on closest('.res') in renderResources
BUG-15: Clamp all resources to non-negative after production tick
SAV-01 was already fixed (showToast/log both check G.isLoading).