# GDD-Derived Art Bible

## Gameplay Frames

`ART-GAMEPLAY` is the single gameplay master for `SCR-GAMEPLAY` and `ST-ACTIVE`. It establishes the fixed portrait orthographic composition: top status strip, compact three-way yard, numbered train and dock, visible lime route preview, striped closed branch, red hazard gate, and lower lever basin. The eight standalone companion frames cover onboarding, home, pause, success, failure, settings, accessibility, and legal/error states in the same portrait orientation. `visual-blueprint.png` is built deterministically from this master and the locked board specification before the companions; `implementation-board.png` is built after all frames exist. Board copy is deterministic text from the written package, never generated raster copy.

## Entities

- `E-TRAIN`: chunky block-built toy locomotive, 15-20% of yard width, with a large number plate, two state lights, and a readable front silhouette. States are waiting, previewed, moving, delivered, and failed. Safety orange is the active default; color is paired with the train number and outline.
- `E-DOCK`: three raised destination bays with large matching numerals, open/sealed/failed states, and a stamped confirmation plate. A sealed dock uses a lime check and solid hatch, not color alone.
- `E-SWITCH`: black-and-orange lever on a lower-middle industrial base. Its knob and striped shaft remain visible in idle, drag, cancel, and commit states.
- `E-BRANCH`: three broad rail branches with inset socket plates. Open branches use solid rails and lime arrowheads; cooldown branches use diagonal hatch and a lock glyph.
- `E-HAZARD`: red maintenance gate or striped closure plate, never a realistic crash or injury. Its silhouette, stop icon, and red diagonal stripe communicate failure.

All entities use molded ABS, powder-coated metal, rubber caps, or brushed steel. No entity gains paper fibers, floral ornament, maritime decoration, character faces, or fantasy glow.

## Environments and Objects

- `ENV-YARD` is a flat test-track floor with a warm enamel-white center, graphite perimeter, rivet rows, orange service pipes, and a fixed Y-shaped junction. The route graph is always visually legible above texture.
- `ENV-DEPOT` is the Home and Success context: a modular loading bay with numbered doors, a route badge strip, and a small cosmetic depot plate.
- `ENV-MAINTENANCE` is the failure/error context: graphite service frames, orange pipework, red warning wheel, and clear recovery panel.

The render stack is background floor → rails and plates → entities → route preview/cooldown overlays → HUD and modal controls → result VFX. Texture detail stays outside all hit targets. Runtime art is vector/atlas production UI; these PNGs are reference evidence only.

## UI, HUD, and Icons

- `UI-TOPBAR` anchors inside the top safe area and contains the timer capsule, current train numeral, destination numeral, and pause target. It never overlaps the yard.
- `UI-LEVER` is the 56dp minimum drag basin in the lower-middle reach zone. Orange focus and a lime ghost arrow show the same action in both default and high-contrast modes.
- `UI-SOCKET` uses three 48dp minimum branch plates, each with a direction arrow, open/cooldown hatch, and route outcome preview.
- `UI-RESULT` is a large panel with a single orange primary action and dark secondary actions. Failure uses a red cause header; Success uses a lime stamp.
- `UI-TOGGLE` is a raised industrial row with icon, label, track, and a high-contrast on/off position; no switch relies on color alone.
- `UI-MODAL` is opaque graphite with hazard-stripe edge, trapped focus, and no more than four actions.
- `UI-BADGE` is a cosmetic route tile or depot star with no numeric power value.

All controls remain at least 48x48 logical pixels with 8px separation. Safe-area anchors, focus order, and Back behavior follow `SCR-GAMEPLAY`, `SCR-PAUSE`, `A-TOUCH`, and `A-FOCUS`.

## Typography

Use a bold geometric sans for the title and action labels, a neutral sans for explanatory copy, and tabular open-counter numerals for trains, docks, timers, and routes. Buttons use uppercase labels only when the label remains legible at 100/125/150% scale. The production implementation must use a licensed system or project font with Latin fallback and localization-safe expansion; reference frames may contain rasterized labels but do not define runtime text assets. Minimum essential text is 17 logical px in the 360x640 layout.

## VFX and Motion

- `V-PREVIEW` is a lime route ribbon with arrowheads; it appears within one frame of crossing a socket midpoint and never covers the rails.
- `V-SEAL` is a 180ms dock stamp/check and short haptic pulse after a matching delivery.
- `V-COOLDOWN` is a 220ms branch hatch pulse and lock icon; it remains static after the pulse.
- `V-FAIL` is a 160ms red stripe pulse and cause marker; no screen shake is required.
- `V-PARADE` is a restrained 600ms train loop and square confetti burst on success.
- `V-TRANSITION` is a 140ms opacity transition between screens; reduced motion removes translation and shortens travel to 120ms.

Audio cues are lever tick, preview chirp, dock chime, failure buzzer, and success roll. Haptics are optional. Effects budget is below 12 simultaneous particles, under 2ms CPU on target devices, and never obscures an interactive route.

## Accessibility

`A-COLOR` pairs every semantic color with numeral, silhouette, icon, or hatch. `A-TEXT` supports 100/125/150% without clipping. `A-MOTION` removes camera shake, long travel, glow sweeps, and flashing while preserving resolve order. `A-HAPTIC` is independent of audio and visuals. `A-CONTRAST` adds thick black outlines and opaque panels at a minimum 4.5:1 text contrast target. `A-TOUCH` guarantees 48x48 hit areas and forgiving drag sockets. `A-FOCUS` defines heading → timer → train/dock → yard summary → lever → primary → secondary → navigation. `A-ASSISTIVE` exposes train number, dock number, branch state, cooldown, and projected outcome as labels.

## Export Rules

Reference frames are PNG, portrait 360x800, sRGB, named by asset ID: `gameplay-active.png`, `onboarding-fresh.png`, `home-atlas.png`, `pause-overlay.png`, `success-result.png`, `failure-result.png`, `settings.png`, `accessibility.png`, and `legal-error.png`. Production sources should be layered vector or atlas assets at 1x/2x/3x, with whole-pixel rails, 9-sliced panels, stable pivots for lever/trains, and no runtime texture larger than 2048px. Keep the initial package under 150MB installed and 250MB peak memory.

## Do and Don't

Do keep the lime preview, orange lever, numbered plates, solid rail geometry, hazard hatch, and opaque control panels immediately readable (`P-01`, `M-02`, `M-03`, `A-COLOR`). Do use the same industrial kit in every screen. Do make success/failure states show their concrete route cause (`ST-SUCCESS`, `ST-FAILURE`).

Don't use navy/indigo, cream paper, cyan action lines, coral hazards, serif editorial headings, papercraft, magical garden glow, soft gallery pastels, decorative map flourishes, or microtext. Don't invent coins, power-ups, extra branches, train stats, shops, characters, or narrative. Drift into any of these makes the visual package resemble prior factory boards or hides the single-switch mechanic.

## Provenance

All raster frames were generated with OpenAI `gpt-image-2` through Codex on 2026-08-24. `ART-GAMEPLAY` was generated first with no image reference. Every companion frame references the accepted gameplay master. Prompts are stored in `image-prompts/` and name the exact source IDs they implement. The images are reference evidence with no production license claim beyond this package lineage; production art must be recreated from approved rules and licensed/runtime-safe sources. Package lineage is `2026-08-switchrush-en-us` / `switchrush`.

## QA

Machine QA checks PNG validity, exact 360x800 portrait dimensions, unique standalone bytes, one gameplay master, prompt/source-ref coverage, screen/state/inventory coverage, source snapshot hashes, deterministic 2048x1152 and 3840x2160 board dimensions, and implementation-board asset membership. Manual Codex review must separately inspect the implementation board and every full-resolution frame for traceability, screen/state coverage, fidelity to the GDD/UX, gameplay readability, safe areas, accessibility, no invented mechanics, cross-run differentiation, and budget before design lock.

## Traceability Index

`SCR-ONBOARDING` `SCR-HOME` `SCR-GAMEPLAY` `SCR-PAUSE` `SCR-SUCCESS` `SCR-FAILURE` `SCR-SETTINGS` `SCR-ACCESSIBILITY` `SCR-LEGAL`; `ST-FRESH` `ST-ACTIVE` `ST-PAUSED` `ST-SUCCESS` `ST-FAILURE` `ST-ERROR`; `M-01` `M-02` `M-03` `M-04` `M-05` `M-06`; `E-TRAIN` `E-DOCK` `E-SWITCH` `E-BRANCH` `E-HAZARD`; `ENV-YARD` `ENV-DEPOT` `ENV-MAINTENANCE`; `UI-TOPBAR` `UI-LEVER` `UI-SOCKET` `UI-RESULT` `UI-TOGGLE` `UI-MODAL` `UI-BADGE`; `A-COLOR` `A-TEXT` `A-MOTION` `A-HAPTIC` `A-CONTRAST` `A-TOUCH` `A-FOCUS` `A-ASSISTIVE`; `V-PREVIEW` `V-SEAL` `V-COOLDOWN` `V-FAIL` `V-PARADE` `V-TRANSITION`.
