Chance Card: The Twist. Native 1920×1080, 6s at 30fps.
A twist mid-explainer. An orange "Chance" card is drawn off its deck and flipped over: the twist is printed on it, with its effect in big green (good) or red (bad) type.
Motion. The deck is set down; the top card is drawn up and across (ease-out) and flips about its vertical axis with a lift (ease in-out); the shadow follows. Why it moves. character: a Chance card signals "something unexpected happens" in a way everyone recognises.
Mount
Copy every manifest file into your project (plus af-tabletop-runtime). Mount with a unique host id, data-composition-id="af-tabletop-chance-card-16x9", data-composition-src="compositions/af-tabletop-chance-card-16x9.html", data-duration="6" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
Content slots
Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
label: {"type":"string","minLength":1,"maxLength":14}text (required): {"type":"string","minLength":1,"maxLength":90}effect: {"type":"string","minLength":1,"maxLength":16}good: {"type":"boolean"}
good false prints the effect in red; true (default) in green.
Style: colourway (cream, kitchen, sky), accent (optional hex), footer, round (e.g. 3/5), exit (lift or cut).
Timing
6s. Everything has landed by 3.6s (60%), then the scene holds for reading (the lamp light drifts slowly over the table; text stays still) and every piece is lifted off the table over the last 0.5 s, leaving the empty table.
Example
``json { "label": "Chance", "text": "Your boiler breaks. Pay the repair from your safety net, not a credit card.", "effect": "-£400", "good": false } ``