.animated-illustration{display:flex;flex-direction:column;justify-content:center;align-items:stretch;padding:25px;gap:16px;min-width:0}.animated-illustration:before,.animated-illustration:after{pointer-events:none}.step-demo{position:relative;z-index:1;isolation:isolate;min-width:0;width:100%;margin:0 auto;overflow:hidden;text-align:left;box-shadow:0 5px 24px #32553b06;color:#365d50}.demo-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.demo-eyebrow{font-weight:650;color:#71856b}.demo-position{font-size:11px;font-variant-numeric:tabular-nums;color:#7b8b73;flex-shrink:0}.demo-stage{position:relative;width:100%;overflow:hidden}.step-demo .demo-title{display:block;font-family:var(--serif);font-weight:400;line-height:1.25;color:#365d50}.step-demo .demo-caption{margin:6px 0 14px;color:#667d5c}.demo-beats{display:flex;gap:6px;padding:0 14px 12px}.demo-beats button{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:1px solid #dce5d3;border-radius:6px;background:#f5f7ee;font-size:11px;color:#75886b;text-align:center;line-height:1.4}.demo-beats button[aria-pressed=true]{background:#e5efdc;border-color:#a7bf98;color:#365d42}.demo-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid #e2e9d9;padding:9px 13px;background:#f6f8ef}.demo-controls button{padding:8px 12px;font-size:12px;color:#486c3c;border-radius:5px;background:#e8eedf}.demo-controls button:hover,.demo-beats button:hover{background:#dce9d1}.demo-controls button:focus-visible,.demo-beats button:focus-visible{outline:2px solid #365d50;outline-offset:2px}.demo-table-layout{z-index:1;position:relative;width:100%;font-size:12px;color:#5e7952;text-align:left}.demo-table-layout>summary{padding:10px 4px;min-height:44px;cursor:pointer}.demo-layout-content{display:flex;flex-direction:column;align-items:center;gap:15px;max-width:100%;overflow:hidden;padding:14px 0}.demo-layout-content>.diagram,.demo-layout-content>.game-placement{width:100%}.demo-builder-slot{margin:22px 0 28px}.demo-play-slot{margin:24px 0}.step-demo .demo-example-note{margin:0}
@media(max-width:900px){.setup-card>.animated-illustration{order:-1;border-bottom:1px solid var(--border)}}
@media(max-width:800px){.animated-illustration{padding:20px 14px}.demo-position{font-size:12px}.demo-table-layout>summary{font-size:14px}.demo-builder-slot{margin:23px 0}.demo-controls{padding:10px}}
@media(max-width:380px){.animated-illustration{padding:16px 9px}.demo-beats{padding-left:10px;padding-right:10px}.demo-beats button{font-size:11px}.demo-top{gap:6px}}
@media print{.step-demo,.demo-table-layout,.animated-illustration,.demo-builder-slot,.demo-play-slot,.demo-phase-story{display:none!important}}
