Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

docs: add the first-picture, paused-setting, pointer, help-line and focus-offset rules to the parallel plan

matind8c113a06e78
diff --git a/docs/superpowers/plans/2026-09-29-demo-page-rollout-parallel.md b/docs/superpowers/plans/2026-09-29-demo-page-rollout-parallel.md
index 799b92bd..ca35a658 100644
--- a/docs/superpowers/plans/2026-09-29-demo-page-rollout-parallel.md
+++ b/docs/superpowers/plans/2026-09-29-demo-page-rollout-parallel.md
@@ -27,7 +27,10 @@
- The `hb:pause` / `hb:input` listeners are registered at the top level of the page's inline script; the page reaches player controls by their ids, never by `data-hb-*`.
- `hb:input` can arrive several times for one gesture (a tap sends two; a trackpad sends a stream of wheel events; a held key repeats): the page's handler only stops a Show me run and must be safe to call repeatedly — never a toggle or a counter.
- No stage element uses the class names `seg` or `swatches`: the shared stylesheet styles `.hb-page .seg` and `.swatches` for the Try it controls and would restyle a demo's own element.
- - A stage control with its own focus look (a field's underline, a switch's track) must beat the site focus ring `body.hb :focus-visible` (specificity 0,2,1), e.g. `.stage .field input:focus-visible{outline:none}`; a control without its own focus look keeps the site ring. No page keeps a class the page checks ban anywhere in the file (`lbl`, `note`, `kv`, `btn-row`).
+ - A stage control with its own focus look (a field's underline, a switch's track) must beat the site focus ring `body.hb :focus-visible` (specificity 0,2,1), e.g. `.stage .field input:focus-visible{outline:none}`; one that sets its own `outline-offset` must also beat the stage's inset rule `.hb-page .stage :focus-visible` (0,3,0). A control without its own focus look keeps the site ring, drawn inset inside the stage. No page keeps a class the page checks ban anywhere in the file (`lbl`, `note`, `kv`, `btn-row`).
+ - A page's own step-1 help line stays on one line on laptops — at most about 880px in the site font at 16px (the default loop line is 736px) — or the player bar drops below the first screen.
+ - The first picture (at load, under reduced motion, on a paused arrival) shows the effect, never an empty stage; a setting changed while paused shows the new setting and nothing else (no ghost of the old picture: a canvas that fades instead of clearing is cleared before a paused redraw; a pointer moved while paused shows only at the next Play); a setting whose effect waits on a pending timer re-plans that timer so the change shows soon; Speed changes keep the picture where it is.
+ - Pointer input comes from pointer events (a tap's follow-up `mousemove` would leave a phantom pointer); phone fallbacks apply when the viewport is at most 600px wide or at most 500px tall, so a phone held sideways gets them; README How it works matches the new code even where the sheet says "the rest is unchanged".
- Slow motion multiplies movements and the timers that wait for them, never holds (pauses), on every kind of page, Show me runs included.
- A "Press Tab" page (Focus Ring) also stops its Show me run when the visitor tabs into the stage (a trusted `focusin` the run did not cause); the run's own `focus()` calls fire trusted `focusin` too, so the page ignores focus moves it made itself (for example with a flag set around its own `focus()` call).
- Lanes never edit `assets/`, `tests/`, `tools/`, another category's folder, or another category's cards in the root `index.html`. A lane that needs a shared change stops and reports it; the coordinator makes it on `main` and merges `main` into every lane.