{
  "version": 5,
  "title": "Pantry Pendulum",
  "subtitle": "Cook it. Change the swing. Gameplay, screen, and UI implementation guide",
  "theme": {
    "background": "#3A2436",
    "surface": "#573A45",
    "paper": "#F2E2BE",
    "ink": "#3A2436",
    "muted": "#D8C6A7",
    "accent": "#4F7B4A",
    "danger": "#D94B35",
    "gold": "#F6C85F"
  },
  "visualLanguage": {
    "anchorAssetId": "asset-gameplay-active",
    "productDirectionStyleSha256": "d825d8ead7ebbbf2efdfc077172c69b86fb60965dd4b845c74796b76f386a300",
    "palette": {
      "canvas": "#7A421F",
      "canvasPattern": "#3F2117",
      "navigation": "#3A2436",
      "navigationText": "#F2E2BE",
      "surface": "#F2E2BE",
      "surfaceAlt": "#E7CEA0",
      "surfacePattern": "#A97B4D",
      "surfaceText": "#3A2436",
      "mutedText": "#684B3D",
      "border": "#7A4B2D",
      "accent": "#4F7B4A",
      "accentText": "#FFF8E8",
      "danger": "#D94B35",
      "focus": "#F6C85F"
    },
    "typography": {
      "displayStack": "Rockwell Condensed, Roboto Slab, Georgia, serif",
      "bodyStack": "Segoe UI, Trebuchet MS, Arial, sans-serif",
      "displayCase": "none",
      "displayLetterSpacingEm": 0.015
    },
    "material": {
      "canvasPattern": "butcher-block",
      "surfacePattern": "cloth",
      "surfaceTreatment": "stitched-cloth",
      "panelRadiusPx": 14,
      "panelBorderPx": 2,
      "panelDepthPx": 5
    },
    "materialSummary": "Woven cloth tickets and enamel controls sit over a warm butcher-block work surface.",
    "shapeSummary": "Clipped recipe tickets, stitched inner edges, looped cords, and rounded chunky actions.",
    "lightingSummary": "Golden morning task light, warm bounce, and short physical contact shadows.",
    "uiFramingSummary": "Compact cloth rails and tickets preserve the central mobile; aubergine is ink and binding, not the full page field.",
    "worldMotif": "A handmade kinetic test kitchen of countertop rails, recipe clips, utensils, cords, and cooking stations.",
    "forbiddenDefaults": [
      "dark navy or indigo field with cyan action glow",
      "cream parchment with coral hazards and gold trim",
      "bright white gallery with cobalt acrylic controls and realistic restoration hardware",
      "generic candy-plastic hyper-casual gradients on a blank background",
      "technical mass numbers, equations, calibration ticks, or balance-scale diagrams",
      "oversized empty hero regions that shrink the gameplay explanation"
    ],
    "sourceRefs": ["PRD-ART-1", "VIS-PILLAR-1", "ART-GAMEPLAY-1", "ART-UI-1", "UI-FOUNDATION-1"]
  },
  "overview": [
    {"label": "Fantasy", "text": "Conduct a handmade kinetic kitchen mobile and plate a clockwork meal.", "sourceRefs": ["GDD-GENRE-1"]},
    {"label": "Dominant loop", "text": "Read recipe, tug, resolve first contact, transform weight, then re-plan the changed mobile.", "sourceRefs": ["GDD-LOOP-1"]},
    {"label": "Platform", "text": "Portrait mobile, fixed 2.5D, one-thumb drag-release, offline-first.", "sourceRefs": ["PRD-FORMAT-1", "PRD-NETWORK-1"]},
    {"label": "Visual hook", "text": "Raw and prepared ingredients coexist; material, cord angle, and body height reveal changed weight.", "sourceRefs": ["VIS-PILLAR-1"]},
    {"label": "Failure", "text": "Three scorches or an exhausted tug budget; the decisive cause stays visible.", "sourceRefs": ["GDD-FAIL-1"]},
    {"label": "Content", "text": "Sixty deterministic levels across five recipe trays, with four steps maximum.", "sourceRefs": ["GDD-PROGRESSION-1"]}
  ],
  "gameplayFlow": [
    {"step": 1, "title": "Read order", "description": "Match the next ingredient silhouette and station stamp while reading current arm tilt.", "assetId": "asset-gameplay-active", "sourceRefs": ["GDD-LOOP-1", "UX-SCREEN-GAMEPLAY"]},
    {"step": 2, "title": "Pull handle", "description": "Acquire the lower handle and drag inside the visible woven force bound.", "assetId": "asset-gameplay-active", "sourceRefs": ["GDD-RULE-2", "UX-TOUCH-1"]},
    {"step": 3, "title": "Preview first contact", "description": "Read only the short dotted arc and projected first-contact ring; the full solution stays hidden.", "assetId": "asset-gameplay-active", "sourceRefs": ["GDD-PILLAR-2", "UX-STATE-ACTIVE"]},
    {"step": 4, "title": "Resolve", "description": "Release one bounded tug; first valid contact alone is arbitrated during fixed-step motion.", "assetId": "asset-gameplay-active", "sourceRefs": ["GDD-RULE-2", "GDD-RULE-3"]},
    {"step": 5, "title": "Transform and re-plan", "description": "Correct cooking changes material and weight, tilts the shared mobile, and opens a different next route.", "assetId": "asset-gameplay-active", "sourceRefs": ["GDD-CONSEQUENCE-1", "VIS-PILLAR-1"]}
  ],
  "tutorial": [
    {"title": "Pull", "instruction": "Ghost one leftward handle pull, then disappear when the player acquires it.", "sourceRefs": ["GDD-FTUE-2"]},
    {"title": "Touch", "instruction": "Ring the pictured pan and show the next ingredient silhouette without drawing the full route.", "sourceRefs": ["GDD-FTUE-1", "GDD-PILLAR-2"]},
    {"title": "Changed weight", "instruction": "Pause after the first transformation and pair before/after silhouette with the short Heavier now tag.", "sourceRefs": ["GDD-FTUE-2"]},
    {"title": "Use consequence", "instruction": "Level 3 requires the first prepared body to enable the second ingredient's route without verbal help.", "sourceRefs": ["GDD-FTUE-2", "GDD-ACCEPT-1"]}
  ],
  "entityCards": [
    {"title": "Hanging mobile", "description": "Stamped arms, rivets, cotton cords, handle; angle and tension are information.", "sourceRefs": ["ART-ENTITY-1", "GDD-RULE-1"]},
    {"title": "Ingredient pairs", "description": "Raw ceramic changes silhouette and surface when prepared; no faces or mass numbers.", "sourceRefs": ["ART-ENTITY-2", "GDD-RULE-4"]},
    {"title": "Preparation stations", "description": "Pan, chop, steam, chill, and glaze use bold silhouettes, stamped symbols, and contact mouths.", "sourceRefs": ["ART-ENTITY-3", "GDD-RULE-5"]},
    {"title": "Obstacles", "description": "Rubber bumpers redirect, brittle garnish scorches, and sliding rails move after correct transforms.", "sourceRefs": ["ART-ENTITY-4", "GDD-RULE-6"]}
  ],
  "systemCards": [
    {"title": "Bounded tug", "description": "Under 12 pixels cancels; the 92-pixel ring clamps force; input locks during resolution.", "sourceRefs": ["GDD-RULE-2"]},
    {"title": "First contact", "description": "Only the first valid ingredient-station contact changes state in one resolution.", "sourceRefs": ["GDD-RULE-3"]},
    {"title": "Weight transform", "description": "Prepared class changes shared center of mass, timing, amplitude, and reachable routes.", "sourceRefs": ["GDD-CONSEQUENCE-1"]},
    {"title": "Recipe and scorch", "description": "Ordered steps advance on correct contact; three mitts or final incomplete tug fail.", "sourceRefs": ["GDD-FAIL-1", "GDD-RULE-7"]}
  ],
  "screenAssetIds": [
    "asset-gameplay-active",
    "asset-onboarding-fresh",
    "asset-cookbook-home",
    "asset-pause-paused",
    "asset-success-result",
    "asset-failure-result",
    "asset-settings",
    "asset-accessibility",
    "asset-legal-error"
  ],
  "uiTokens": [
    {"id": "color-culinary-roles", "category": "color", "label": "Culinary roles", "value": "oat #F2E2BE; tomato #D94B35; herb #4F7B4A; aubergine #3A2436; butter #F6C85F; flour #FFF8E8", "usage": "World ground, primary/danger, confirmation, ink/edge, focus, and high-value text with non-color redundancy.", "sourceRefs": ["VIS-COLOR-1", "UI-FOUNDATION-1"]},
    {"id": "type-recipe-pair", "category": "typography", "label": "Recipe type pair", "value": "condensed slab display plus humanist sans body; 15px minimum", "usage": "Display for recipe identity; sans for actions, body, settings, and scalable text.", "sourceRefs": ["ART-TYPE-1", "UI-FOUNDATION-2"]},
    {"id": "space-four-grid", "category": "spacing", "label": "Four-pixel grid", "value": "4px base; 8px control gap; 16px screen gutter", "usage": "Keep dense ticket layouts orderly and thumb targets separated.", "sourceRefs": ["UI-FOUNDATION-3", "UX-SAFE-1"]},
    {"id": "shape-enamel-cloth", "category": "shape", "label": "Enamel and cloth", "value": "14px enamel radius; clipped ticket corners; stitched inner edge", "usage": "Separate controls from physical stations while preserving the handmade kitchen identity.", "sourceRefs": ["UI-FOUNDATION-4", "PRD-ART-2"]},
    {"id": "depth-physical-lip", "category": "depth", "label": "Physical lip", "value": "3px edge; 4px lower lip; shallow ticket/contact shadow", "usage": "Explain press and overlay ownership without glass, glow, or ornamental depth.", "sourceRefs": ["UI-FOUNDATION-4", "UX-CONTROL-ACTION"]},
    {"id": "motion-handmade-settle", "category": "motion", "label": "Handmade settle", "value": "120ms press; 180ms ticket; 600ms transform; fixed-step swing", "usage": "Cord leads, ceramic lags, and transformations remain causal; reduced motion uses instant swaps.", "sourceRefs": ["VIS-MOTION-1", "UX-ACCESS-4"]},
    {"id": "focus-butter-halo", "category": "focus", "label": "Butter halo", "value": "3px #F6C85F outer ring plus 1px lift", "usage": "Persistent keyboard focus independent of hover, value, and color role.", "sourceRefs": ["UI-FOUNDATION-5", "UX-ACCESS-6"]},
    {"id": "target-thumb-minimum", "category": "target-size", "label": "Thumb minimum", "value": "44x44px actions; 64x64px handle acquisition", "usage": "All screen controls and direct gameplay acquisition at every supported portrait size.", "sourceRefs": ["UX-TOUCH-1", "UX-TOUCH-2"]}
  ],
  "componentAtlas": {
    "version": 1,
    "assetId": "asset-ui-component-reference",
    "grid": {"columns": 4, "rows": 2},
    "alphaThreshold": 8,
    "paddingPx": 8,
    "safeGutterPx": 48,
    "cells": [
      {"key": "button-tomato", "column": 0, "row": 0},
      {"key": "button-oat", "column": 1, "row": 0},
      {"key": "button-aubergine", "column": 2, "row": 0},
      {"key": "button-herb", "column": 3, "row": 0},
      {"key": "toggle-on", "column": 0, "row": 1},
      {"key": "toggle-off", "column": 1, "row": 1},
      {"key": "tug-handle", "column": 2, "row": 1},
      {"key": "back-button", "column": 3, "row": 1}
    ]
  },
  "componentStates": [
    {
      "id": "enamel-action",
      "label": "Enamel Action",
      "type": "button",
      "rasterDisplayWidthPx": 176,
      "purpose": "Activate primary, secondary, and utility actions with one physical press language.",
      "visualSourceAssetIds": ["asset-ui-component-reference"],
      "renderStyle": {
        "material": "enamel", "geometry": "rounded-rectangle", "cornerRadiusPx": 14, "borderWidthPx": 3,
        "innerSeam": "solid", "innerSeamColor": "#F6C85F", "innerSeamInsetPx": 4,
        "labelFontRole": "display", "labelCase": "uppercase", "ornament": "side-rings"
      },
      "canonicalSkin": {
        "version": 1,
        "viewBox": {"width": 320, "height": 96},
        "layers": [
          {"id": "left-ring-outer", "role": "ornament", "kind": "circle", "cx": 25, "cy": 48, "r": 18, "fill": "#A7652F", "stroke": "$border", "strokeWidth": 4},
          {"id": "left-ring-hole", "role": "ornament", "kind": "circle", "cx": 25, "cy": 48, "r": 8, "fill": "#3A2436", "stroke": "#F6C85F", "strokeWidth": 2},
          {"id": "right-ring-outer", "role": "ornament", "kind": "circle", "cx": 295, "cy": 48, "r": 18, "fill": "#A7652F", "stroke": "$border", "strokeWidth": 4},
          {"id": "right-ring-hole", "role": "ornament", "kind": "circle", "cx": 295, "cy": 48, "r": 8, "fill": "#3A2436", "stroke": "#F6C85F", "strokeWidth": 2},
          {"id": "lower-lip", "role": "surface", "kind": "rect", "x": 40, "y": 25, "width": 240, "height": 61, "rx": 24, "fill": "#3A2436", "stroke": "#7A421F", "strokeWidth": 5},
          {"id": "brass-rim", "role": "edge", "kind": "rect", "x": 35, "y": 13, "width": 250, "height": 64, "rx": 25, "fill": "#F6C85F", "stroke": "$border", "strokeWidth": 4},
          {"id": "enamel-face", "role": "surface", "kind": "rect", "x": 42, "y": 19, "width": 236, "height": 51, "rx": 20, "fill": "$face", "stroke": "#FFF0C7", "strokeWidth": 2},
          {"id": "inner-keyline", "role": "edge", "kind": "rect", "x": 49, "y": 25, "width": 222, "height": 39, "rx": 15, "fill": "none", "stroke": "$text", "strokeWidth": 2},
          {"id": "top-highlight", "role": "highlight", "kind": "path", "d": "M 62 29 Q 160 13 258 29", "fill": "none", "stroke": "#FFF8E8", "strokeWidth": 3, "lineCap": "round"},
          {"id": "focus-halo", "role": "state", "kind": "rect", "x": 30, "y": 8, "width": 260, "height": 72, "rx": 29, "fill": "none", "stroke": "$state", "strokeWidth": 5, "visibleWhen": "highlighted"},
          {"id": "pressed-tone", "role": "state", "kind": "rect", "x": 42, "y": 22, "width": 236, "height": 51, "rx": 20, "fill": "$state", "opacity": 0.28, "visibleWhen": "pressed"},
          {"id": "disabled-stitch", "role": "state", "kind": "rect", "x": 51, "y": 27, "width": 218, "height": 35, "rx": 13, "fill": "none", "stroke": "$state", "strokeWidth": 2, "dash": [6, 5], "visibleWhen": "disabled"},
          {"id": "label", "role": "label", "kind": "text", "x": 160, "y": 48, "text": "$label", "fill": "$text", "fontRole": "display", "fontSize": 23, "fontWeight": 900, "letterSpacing": 1}
        ]
      },
      "inputSummary": "Touch/mouse release-inside or keyboard Enter/Space; controller excluded.",
      "feedbackSummary": "Lip collapse and action-owned audio; no navigation haptic; butter focus remains visible.",
      "variants": [
        {"name": "tomato-primary", "rasterSpriteKey": "button-tomato", "role": "Dominant commit, continue, retry, next", "exampleLabel": "Continue", "face": "#D94B35", "border": "#3A2436", "text": "#FFF8E8", "depthPx": 4, "shape": "14px rounded enamel rectangle", "sourceRefs": ["UX-CONTROL-ACTION"]},
        {"name": "oat-secondary", "rasterSpriteKey": "button-oat", "role": "Safe alternate action", "exampleLabel": "Recipe Map", "face": "#F2E2BE", "border": "#3A2436", "text": "#3A2436", "depthPx": 4, "shape": "14px rounded enamel rectangle", "sourceRefs": ["UX-CONTROL-ACTION"]},
        {"name": "line-utility", "rasterSpriteKey": "button-herb", "role": "Compact utility or navigation", "exampleLabel": "Settings", "face": "#FFF8E8", "border": "#3A2436", "text": "#FFF8E8", "depthPx": 0, "shape": "14px rounded outline rectangle", "sourceRefs": ["UX-CONTROL-ACTION"]}
      ],
      "states": [
        {"name": "Normal", "meaning": "Enabled and idle", "visual": "Full face, three-pixel edge, four-pixel lower lip", "interactive": true, "swatch": "#F2E2BE", "opacity": 1, "scale": 1, "depthScale": 1},
        {"name": "Highlighted", "meaning": "Hovered or keyboard focused", "visual": "Butter halo and one-pixel lift without value change", "interactive": true, "swatch": "#F6C85F", "opacity": 1, "scale": 1.01, "depthScale": 1},
        {"name": "Pressed", "meaning": "Active contact held inside", "visual": "Lip collapses, face moves down, face darkens", "interactive": true, "swatch": "#B83B2C", "opacity": 1, "scale": 0.99, "depthScale": 0},
        {"name": "Disabled", "meaning": "Visible but unavailable", "visual": "Warm gray, dashed inner seam, readable copy, no lip", "interactive": false, "swatch": "#B8AA94", "opacity": 0.72, "scale": 1, "depthScale": 0}
      ],
      "anatomy": [
        {"part": "hit target", "rule": "Never below 44x44 and never shrinks with state."},
        {"part": "face", "rule": "Variant owns fill; state may tone but not change semantic role."},
        {"part": "edge and lip", "rule": "Edge preserves contrast; lip alone expresses physical press depth."},
        {"part": "label or icon", "rule": "Instance data uses humanist sans or solid aubergine silhouette."},
        {"part": "focus halo", "rule": "Keyboard focus remains outside the edge and is independent of hover."}
      ],
      "ownership": {
        "baseComponent": "Owns target, face, edge, lip, label slot, icon slot, and focus slot.",
        "variantRule": "Owns action hierarchy, face/border/text colors, and example role.",
        "stateRule": "Owns halo, offset, tone, opacity, seam, depth, and interactivity.",
        "instanceDataRule": "Owns action label, icon, semantic name, and enabled reason."
      },
      "sourceRefs": ["UX-CONTROL-ACTION", "UI-ACTION-1"]
    },
    {
      "id": "cloth-switch",
      "label": "Cloth Switch",
      "type": "toggle",
      "rasterDisplayWidthPx": 144,
      "purpose": "Expose persistent binary settings with native semantics and redundant value cues.",
      "visualSourceAssetIds": ["asset-ui-component-reference"],
      "rasterSprites": {"off": "toggle-off", "on": "toggle-on"},
      "renderStyle": {
        "material": "cloth", "geometry": "pill", "cornerRadiusPx": 999, "borderWidthPx": 3,
        "innerSeam": "stitched", "innerSeamColor": "#FFF8E8", "innerSeamInsetPx": 4,
        "labelFontRole": "display", "labelCase": "uppercase", "ornament": "none",
        "toggle": {
          "trackWidthPx": 96, "trackHeightPx": 42, "thumbSizePx": 31, "thumbInsetPx": 3,
          "valuePalette": {
            "onFace": "#4F7B4A", "offFace": "#D94B35", "onText": "#FFF8E8", "offText": "#FFF8E8",
            "thumbFace": "#F2E2BE", "thumbBorder": "#3A2436"
          }
        }
      },
      "canonicalSkin": {
        "version": 1,
        "viewBox": {"width": 320, "height": 96},
        "layers": [
          {"id": "track-shadow", "role": "surface", "kind": "rect", "x": 58, "y": 27, "width": 204, "height": 52, "rx": 26, "fill": "#3A2436", "opacity": 0.65},
          {"id": "track-brass", "role": "edge", "kind": "rect", "x": 53, "y": 18, "width": 214, "height": 56, "rx": 28, "fill": "#A7652F", "stroke": "$border", "strokeWidth": 4},
          {"id": "track-cloth", "role": "track", "kind": "rect", "x": 59, "y": 23, "width": 202, "height": 46, "rx": 23, "fill": "$valueFace", "stroke": "#F6C85F", "strokeWidth": 2},
          {"id": "track-stitch", "role": "edge", "kind": "rect", "x": 66, "y": 29, "width": 188, "height": 34, "rx": 17, "fill": "none", "stroke": "$valueText", "strokeWidth": 2, "dash": [4, 4]},
          {"id": "off-word", "role": "value", "kind": "text", "x": 190, "y": 47, "text": "OFF", "fill": "$valueText", "fontRole": "display", "fontSize": 20, "fontWeight": 900, "letterSpacing": 1, "visibleWhen": "off"},
          {"id": "on-word", "role": "value", "kind": "text", "x": 130, "y": 47, "text": "ON", "fill": "$valueText", "fontRole": "display", "fontSize": 20, "fontWeight": 900, "letterSpacing": 1, "visibleWhen": "on"},
          {"id": "thumb-off-rim", "role": "thumb", "kind": "circle", "cx": 84, "cy": 46, "r": 25, "fill": "#F6C85F", "stroke": "$thumbBorder", "strokeWidth": 4, "visibleWhen": "off"},
          {"id": "thumb-off", "role": "thumb", "kind": "circle", "cx": 84, "cy": 46, "r": 19, "fill": "$thumbFace", "stroke": "#FFF8E8", "strokeWidth": 2, "visibleWhen": "off"},
          {"id": "thumb-on-rim", "role": "thumb", "kind": "circle", "cx": 236, "cy": 46, "r": 25, "fill": "#F6C85F", "stroke": "$thumbBorder", "strokeWidth": 4, "visibleWhen": "on"},
          {"id": "thumb-on", "role": "thumb", "kind": "circle", "cx": 236, "cy": 46, "r": 19, "fill": "$thumbFace", "stroke": "#FFF8E8", "strokeWidth": 2, "visibleWhen": "on"},
          {"id": "thumb-stitch-off", "role": "stitch", "kind": "circle", "cx": 84, "cy": 46, "r": 13, "fill": "none", "stroke": "#A97B4D", "strokeWidth": 2, "dash": [3, 3], "visibleWhen": "off"},
          {"id": "thumb-stitch-on", "role": "stitch", "kind": "circle", "cx": 236, "cy": 46, "r": 13, "fill": "none", "stroke": "#A97B4D", "strokeWidth": 2, "dash": [3, 3], "visibleWhen": "on"},
          {"id": "check", "role": "state", "kind": "path", "d": "M 226 46 L 233 53 L 246 38", "fill": "none", "stroke": "#4F7B4A", "strokeWidth": 4, "lineCap": "round", "lineJoin": "round", "visibleWhen": "on"},
          {"id": "focus-halo", "role": "state", "kind": "rect", "x": 48, "y": 13, "width": 224, "height": 66, "rx": 33, "fill": "none", "stroke": "$state", "strokeWidth": 5, "visibleWhen": "focused"},
          {"id": "label", "role": "label", "kind": "text", "x": 160, "y": 89, "text": "$label", "fill": "$text", "fontRole": "body", "fontSize": 11, "fontWeight": 800}
        ]
      },
      "inputSummary": "Touch/mouse click or keyboard Space toggles; focus never changes value.",
      "feedbackSummary": "Knob position, value word, stitch, track color, and confirmed cloth tick; no haptic.",
      "variants": [
        {"name": "standard", "role": "Ordinary audio, caption, or contrast preference", "exampleLabel": "Captions", "face": "#F2E2BE", "border": "#3A2436", "text": "#3A2436", "depthPx": 2, "shape": "Pill cloth track with stitched circular knob", "sourceRefs": ["UX-CONTROL-SWITCH"]},
        {"name": "safety", "role": "Motion or haptic preference requiring extra clarity", "exampleLabel": "Reduced Motion", "face": "#4F7B4A", "border": "#3A2436", "text": "#FFF8E8", "depthPx": 2, "shape": "Pill cloth track with check stitch and word", "sourceRefs": ["UX-CONTROL-SWITCH"]}
      ],
      "states": [
        {"name": "Off", "meaning": "Persistent value false", "visual": "Tomato track, left cream knob, Off word", "interactive": true, "swatch": "#D94B35", "opacity": 1, "scale": 1, "depthScale": 1, "sampleValue": false},
        {"name": "On", "meaning": "Persistent value true", "visual": "Herb track, right flour knob, check stitch, On word", "interactive": true, "swatch": "#4F7B4A", "opacity": 1, "scale": 1, "depthScale": 1, "sampleValue": true},
        {"name": "Focused", "meaning": "Keyboard focus without value change", "visual": "Butter outer halo while current value stays visible", "interactive": true, "swatch": "#F6C85F", "opacity": 1, "scale": 1.01, "depthScale": 1, "sampleValue": true},
        {"name": "Disabled", "meaning": "Value visible but unavailable", "visual": "Warm gray, diagonal stitch, retained value word", "interactive": false, "swatch": "#B8AA94", "opacity": 0.7, "scale": 1, "depthScale": 0, "sampleValue": false}
      ],
      "anatomy": [
        {"part": "native input", "rule": "Checkbox with switch role owns semantics and focus."},
        {"part": "track", "rule": "Shows value color but never acts as the sole cue."},
        {"part": "knob", "rule": "Left/right position and stitch show value."},
        {"part": "value word", "rule": "On or Off remains readable in every state."},
        {"part": "label", "rule": "External setting label expands the same 44-pixel row target."}
      ],
      "ownership": {
        "baseComponent": "Owns native input, target row, track, knob, word, and focus slot.",
        "variantRule": "Owns standard or safety emphasis without owning the value.",
        "stateRule": "Owns current value, focus treatment, disabled texture, and interactivity.",
        "instanceDataRule": "Owns setting label, description, saved value, and availability reason."
      },
      "sourceRefs": ["UX-CONTROL-SWITCH", "UI-SWITCH-1"]
    },
    {
      "id": "tug-handle",
      "label": "Tug Handle",
      "type": "gesture",
      "rasterDisplayWidthPx": 112,
      "purpose": "Aim and commit the only gameplay impulse while exposing bounds and resolution lock.",
      "visualSourceAssetIds": ["asset-ui-component-reference"],
      "renderStyle": {
        "material": "cloth", "geometry": "circle", "cornerRadiusPx": 999, "borderWidthPx": 3,
        "innerSeam": "stitched", "innerSeamColor": "#F6C85F", "innerSeamInsetPx": 5,
        "labelFontRole": "display", "labelCase": "uppercase", "ornament": "knot"
      },
      "canonicalSkin": {
        "version": 1,
        "viewBox": {"width": 320, "height": 96},
        "layers": [
          {"id": "cord-left", "role": "surface", "kind": "path", "d": "M 20 48 C 62 22 88 70 121 47", "fill": "none", "stroke": "#A7652F", "strokeWidth": 8, "lineCap": "round"},
          {"id": "cord-right", "role": "surface", "kind": "path", "d": "M 199 47 C 232 70 258 22 300 48", "fill": "none", "stroke": "#A7652F", "strokeWidth": 8, "lineCap": "round"},
          {"id": "bound-ring", "role": "edge", "kind": "circle", "cx": 160, "cy": 48, "r": 42, "fill": "none", "stroke": "$state", "strokeWidth": 3, "dash": [6, 5]},
          {"id": "grip-shadow", "role": "surface", "kind": "circle", "cx": 162, "cy": 53, "r": 31, "fill": "#3A2436"},
          {"id": "grip-rim", "role": "edge", "kind": "circle", "cx": 160, "cy": 46, "r": 32, "fill": "#F6C85F", "stroke": "$border", "strokeWidth": 4},
          {"id": "grip-face", "role": "surface", "kind": "circle", "cx": 160, "cy": 46, "r": 24, "fill": "$face", "stroke": "#FFF8E8", "strokeWidth": 2},
          {"id": "grip-stitch", "role": "ornament", "kind": "circle", "cx": 160, "cy": 46, "r": 17, "fill": "none", "stroke": "$text", "strokeWidth": 2, "dash": [4, 3]},
          {"id": "knot-left", "role": "ornament", "kind": "path", "d": "M 144 35 Q 128 22 132 48 Q 128 70 145 57", "fill": "none", "stroke": "#A7652F", "strokeWidth": 6, "lineCap": "round"},
          {"id": "knot-right", "role": "ornament", "kind": "path", "d": "M 176 35 Q 192 22 188 48 Q 192 70 175 57", "fill": "none", "stroke": "#A7652F", "strokeWidth": 6, "lineCap": "round"},
          {"id": "label", "role": "label", "kind": "text", "x": 160, "y": 47, "text": "$label", "fill": "$text", "fontRole": "display", "fontSize": 14, "fontWeight": 900}
        ]
      },
      "inputSummary": "Touch or mouse acquires a 64px region, drags inside 92px bound, and releases; keyboard does not simulate physics.",
      "feedbackSummary": "Cord, ring, arc, contact ring, traveling stitch, and gameplay-only haptic explain ownership and consequence.",
      "variants": [
        {"name": "ready-handle", "rasterSpriteKey": "tug-handle", "role": "Ordinary available tug", "exampleLabel": "Pull", "face": "#F2E2BE", "border": "#3A2436", "text": "#3A2436", "depthPx": 3, "shape": "Knotted cloth grip inside woven circular bound", "sourceRefs": ["UX-CONTROL-HANDLE"]},
        {"name": "final-tug", "rasterSpriteKey": "tug-handle", "role": "Last available tug with urgency but identical physics", "exampleLabel": "Last Tug", "face": "#F2E2BE", "border": "#D94B35", "text": "#3A2436", "depthPx": 3, "shape": "Same grip with paprika edge and single knot marker", "sourceRefs": ["UX-CONTROL-HANDLE"]}
      ],
      "states": [
        {"name": "Ready", "meaning": "New tug available", "visual": "Centered grip, relaxed cord, faint woven ring", "interactive": true, "swatch": "#F2E2BE", "opacity": 1, "scale": 1, "depthScale": 1},
        {"name": "Acquired", "meaning": "Pointer owns handle before valid pull", "visual": "Thick cord, solid ring, butter seam", "interactive": true, "swatch": "#F6C85F", "opacity": 1, "scale": 1.03, "depthScale": 1},
        {"name": "Aiming", "meaning": "Valid tug preview", "visual": "Stretched cord, displacement, dotted arc, first-contact ring", "interactive": true, "swatch": "#4F7B4A", "opacity": 1, "scale": 1.04, "depthScale": 1},
        {"name": "Resolving", "meaning": "Fixed-step result running", "visual": "Traveling stitch, no arc, tied acquisition", "interactive": false, "swatch": "#D94B35", "opacity": 1, "scale": 1, "depthScale": 0.5},
        {"name": "Disabled", "meaning": "Level cannot accept input", "visual": "Warm-gray enamel and tied-knot icon", "interactive": false, "swatch": "#B8AA94", "opacity": 0.68, "scale": 1, "depthScale": 0}
      ],
      "anatomy": [
        {"part": "acquisition region", "rule": "Invisible 64x64 target remains constant."},
        {"part": "grip", "rule": "Visible enamel and cloth center follows bounded input."},
        {"part": "cord", "rule": "Thickness and stretch communicate ownership and force direction."},
        {"part": "bound ring", "rule": "Shows maximum drag and cancel return zone."},
        {"part": "prediction", "rule": "Short arc and first-contact ring appear only while aiming."}
      ],
      "ownership": {
        "baseComponent": "Owns acquisition region, grip, cord, ring, and prediction slots.",
        "variantRule": "Owns ordinary versus final-tug urgency without changing physics.",
        "stateRule": "Owns acquisition, displacement, arc visibility, lock, stitch, and interactivity.",
        "instanceDataRule": "Owns current force bound, remaining-tug context, and predicted contact target."
      },
      "sourceRefs": ["UX-CONTROL-HANDLE", "UI-HANDLE-1"]
    }
  ],
  "readinessChecks": [
    {"id": "source-fidelity", "label": "Source fidelity", "requirement": "Every token, component, frame, and board traces to current GDD, market, product, or UX sources.", "evidence": "Manifest source bindings, prompt refs, inventory refs, and embedded hashes are current.", "sourceRefs": ["ART-QA-1", "UI-READY-1"]},
    {"id": "state-coverage", "label": "State coverage", "requirement": "Every required screen and important fresh/active/paused/success/failure/error state has one standalone portrait frame.", "evidence": "Nine unique screen assets and six one-per-asset important-state mappings.", "sourceRefs": ["GDD-ACCEPT-2", "UX-STATE-FRESH"]},
    {"id": "input-coverage", "label": "Input coverage", "requirement": "Touch, mouse, keyboard, and controller policy is explicit for targeting, activation, and feedback.", "evidence": "Phase 06 matrix and HTML input map include all four methods.", "sourceRefs": ["UX-INPUT-1", "UI-INPUT-1"]},
    {"id": "feedback-ownership", "label": "Feedback ownership", "requirement": "Visual, motion, audio, and haptic cues each have one owner, trigger, rule, and suppression condition.", "evidence": "Phase 06 feedback map and HTML feedback cards reproduce all four channels.", "sourceRefs": ["UX-FEEDBACK-1", "UI-FEEDBACK-1"]},
    {"id": "accessibility", "label": "Accessibility", "requirement": "Non-color cues, type scale, high contrast, reduced motion, captions, focus, error recovery, and targets are reviewable.", "evidence": "Accessibility frame, screen contract, tokens, native focus, switches, and reduced-motion CSS.", "sourceRefs": ["ART-ACCESS-1", "UX-ACCESS-1"]},
    {"id": "screen-consistency", "label": "Screen consistency", "requirement": "Every Phase 06 screen appears with purpose, review states, primary input, layout rule, and matching culinary component system.", "evidence": "Screen grid and interactive reference are generated from the current screen inventory and board spec.", "sourceRefs": ["ART-QA-1", "UI-READY-1"]}
  ],
  "implementationNotes": [
    {"label": "Camera", "text": "Never crop a station or change viewpoint during a decision.", "sourceRefs": ["PRD-CAMERA-1"]},
    {"label": "Consequence", "text": "Prepared weight must change cord angle and a later reachable route, not only appearance.", "sourceRefs": ["GDD-CONSEQUENCE-1"]},
    {"label": "Safe area", "text": "Top rail and bottom handle remain inside 16px gutters and device insets.", "sourceRefs": ["UX-SAFE-1"]},
    {"label": "Targets", "text": "Actions stay 44x44; handle acquisition stays 64x64.", "sourceRefs": ["UX-TOUCH-1", "UX-TOUCH-2"]},
    {"label": "No math", "text": "Use qualitative material and motion; never show equations, scales, or mass numbers.", "sourceRefs": ["GDD-NONGOAL-1"]},
    {"label": "Prototype gate", "text": "This package is review evidence; mechanics prototype waits for explicit user acceptance.", "sourceRefs": ["GDD-ACCEPT-LOCK"]}
  ],
  "sourceRefs": [
    "GDD-LOOP-1", "GDD-RULE-2", "GDD-RULE-3", "GDD-CONSEQUENCE-1", "GDD-FAIL-1", "GDD-ACCESS-1", "PRD-FORMAT-1", "PRD-ART-1", "UX-SCREEN-GAMEPLAY", "UX-CONTROL-ACTION", "UX-CONTROL-SWITCH", "UX-CONTROL-HANDLE", "ART-QA-1", "UI-READY-1"
  ]
}
