# game.ui.looks
Tumblestep's four complete looks (`storybook`, `neonArcade`, `pixelRetro`, `parchmentFantasy`) and the code that applies
the one `game.look` names to every part: `restyle(tree)` recolours, refonts and reshapes the game's own screens by role
(background, ink, border, shadow), `applyInc`, `applyMenus`, `applyScore` and `applyControls` push the look into
incrementalKit, menusKit, scoreKit and controlsKit. Each look also names its soundstage music set and its grade strength.
# game.ui.style
Tumblestep's "sticker storybook" UI kit: the palette (cream, coral, sunshine, mint, ink plum), the display face
(ArchivoBlack) and body face (Comic Neue), and node builders for rounded cream cards with a plum outline and soft
drop, coral primary buttons, chips, and the stepped TUMBLESTEP title where each letter sits on its own little step.
# game.events
Tumblestep's per-peer event bus and shared run state. Every system (director, camera, feel, UI) talks through it, so
none requires another's internals. Each player runs their own copy locally.
# game.rules
Tumblestep's tuning in one place: the push, scoring (Bonks from distance, impacts, combos, coins, toys, areas), run end,
slow motion, the upgrade list (main shop and the Golden Steps shop), milestones, the tumbler roster unlocks and the
prestige (Rebirth) rule. `game.economy` feeds these to incrementalKit.
# game.economy
Wires Tumblestep's economy into incrementalKit: the Bonks and Golden Steps currencies, the main and golden upgrade
shops, milestones (depths, first visit to each area, combos, impacts), records, the tumbler roster and outfit
unlocks, Rebirth, and the per-player settings and tumbler choice saved with the player's progress.
# game.run.wreck
Tumblestep's part durability and break-off, on breakawayKit. The run director calls `attach(handle, character, hooks)` right after it spawns the tumbler (hooks: `credit` scores a snap, `onWreck` ends a wrecked run), `detach()` before it despawns it, and `settle(bonks)` at the end of a run to turn what is left (integrity 0..1, snaps) into the results bonus: "Not a scratch!", "Battered but rolling" or "Total wreck!".
- Each character has its own toughness profile (`PROFILES`); the Hard Hat upgrade switches any of them to `armouredHead`.
- The Build upgrades become breakawayKit modifiers (`modifiers()`): Reinforced Seams and Glass Bones scale durability, Padded Joints the soft-bump threshold, Break Bounty the points per snap; Big Snaps grows the payout with every part already gone.
- The durability HUD is breakawayKit's: `applyDisplay(kind)` with a kind from `DISPLAYS` (paper doll, bars, chips, rings, line, pixel hearts); the game's look picks its style (storybook = cartoon, neonArcade = sciFi, pixelRetro = pixel, parchmentFantasy = fantasy).
- Bus events: `snap { part, class, style, point, integrity, n }` and `wrecked { reason, integrity }`.