{
  "version": "0.7.0",
  "updated_at": "2026-11-25",
  "component": {
    "id": "chapter",
    "name": "章節卡",
    "category": "parts",
    "kind": "overlay",
    "status": "final",
    "ref": [
      "E_Chapter"
    ],
    "when": "每章開頭 3 秒",
    "output": "png-transparent",
    "variants": {
      "long": {
        "canvas": "long",
        "status": "final",
        "anchor": {
          "right": 80,
          "top": 600
        },
        "size": {
          "w": 905,
          "h": 250
        },
        "respects": [
          "igBadge",
          "subtitles"
        ]
      },
      "short": {
        "canvas": "short",
        "status": "not-used",
        "note": "Shorts 不用章節卡（KC 2026-11-25 定）"
      }
    },
    "style": {
      "border": "line.cardBorder",
      "radius": "radius.card",
      "numberCell": {
        "width": 230,
        "bg": "color.yellow",
        "number": "type.chapterNumber",
        "label": "type.chapterLabel",
        "labelText": "CHAPTER"
      },
      "panel": {
        "width": 660,
        "bg": "color.ink",
        "color": "color.white",
        "padding": [
          22,
          34
        ]
      },
      "progress": {
        "dots": 10,
        "dotSize": {
          "w": 34,
          "h": 8
        },
        "on": "color.yellow",
        "off": "color.progressOff",
        "text": "type.chapterProgress",
        "textColor": "color.muted"
      }
    },
    "slots": [
      {
        "key": "number",
        "label": "章節編號",
        "required": true
      },
      {
        "key": "pill",
        "label": "地點膠囊",
        "required": false,
        "text": "type.chapterPill",
        "bg": "color.mint",
        "radius": "radius.pill"
      },
      {
        "key": "title",
        "label": "章節標題",
        "required": true,
        "text": "type.chapterTitle"
      },
      {
        "key": "sub",
        "label": "副標",
        "required": false,
        "text": "type.chapterSub",
        "color": "color.yellow"
      },
      {
        "key": "total",
        "label": "總章數",
        "required": true
      }
    ],
    "textLimits": {
      "long": {
        "pill": {
          "type": "type.chapterPill",
          "maxWidth": 560
        },
        "title": {
          "type": "type.chapterTitle",
          "maxWidth": 592
        },
        "sub": {
          "type": "type.chapterSub",
          "maxWidth": 592
        }
      }
    }
  },
  "examples": [
    {
      "id": "chapter-a20",
      "preview": "/previews/chapter-a20.png",
      "is_example": true,
      "component": "chapter",
      "variant": "long",
      "number": 3,
      "total": 10,
      "pill": "A20 興南重劃區",
      "title": "A20 在哪？",
      "sub": "機能偏中壢・交通偏青埔"
    }
  ]
}