/* Original narrated mechanisms. No remote assets or viewing dependencies. */
.learning-scene.motion-story{padding:24px;background:#fff;border:1px solid #E7E7EA;border-radius:14px;color:#18181B;overflow:hidden}.motion-story .scene-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 22px}.motion-story .scene-head h3{font:600 24px/1.3 Inter,sans-serif;letter-spacing:-.025em;margin:0}.motion-story .scene-head small{font:400 11px/1.5 'JetBrains Mono',monospace;color:#71717A}.motion-story .scene-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);align-items:start;gap:28px;height:auto;overflow:visible;min-height:0}.motion-stage{min-width:0;width:100%;height:360px;position:relative;overflow:hidden;border-radius:12px;border:1px solid #33333A;background-color:#0C0C10;background-image:radial-gradient(ellipse at 70% 40%,#36121D55,transparent 60%),linear-gradient(#FFFFFF06 1px,transparent 1px),linear-gradient(90deg,#FFFFFF06 1px,transparent 1px);background-size:auto,28px 28px,28px 28px;color:#FAFAFA}.motion-stage:after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.2;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.17' filter='url(%23n)'/%3E%3C/svg%3E")}.stage-caption,.stage-footer{position:absolute;left:18px;right:18px;display:flex;justify-content:space-between;gap:12px;font:400 9px/1.4 'JetBrains Mono',monospace;color:#A1A1AA;z-index:2}.stage-caption{top:14px}.stage-caption [data-stage-phase]{color:#FF8C99;text-align:right}.stage-footer{bottom:13px}.stage-signal{color:#E11021}.motion-art{position:absolute;inset:30px 6px 26px;display:flex;align-items:center;justify-content:center}.motion-story .motion-svg{width:100%;height:100%;max-height:none;overflow:visible}.motion-story .motion-svg *{stroke:none}.motion-story .motion-svg text{stroke:none!important;fill:#FAFAFA!important;font-family:Inter,sans-serif!important}.motion-story .motion-svg text.motion-label{font-size:19px!important;font-weight:500}.motion-story .motion-svg text.motion-detail{font-size:13px!important;fill:#A1A1AA!important}.motion-story .motion-node rect{fill:#1C1C22!important;stroke:#43434A!important;stroke-width:1!important}.motion-story .motion-node.is-lit rect{fill:#35141D!important;stroke:#FF5268!important;stroke-width:1.5!important;filter:drop-shadow(0 0 7px #E1102133)}.motion-story .motion-edge{fill:none!important;stroke:#4A4A5533!important;stroke-width:1.5!important}.motion-story .motion-edge.is-lit{stroke:#FF5268!important;stroke-width:2!important;filter:drop-shadow(0 0 4px #E1102166)}.motion-story .motion-ring{fill:none!important;stroke:#5F5F6655!important;stroke-width:1!important;stroke-dasharray:3 5}.motion-story .motion-hub{fill:#391420!important;stroke:#FF5268!important;stroke-width:1.5!important}.motion-story .motion-diamond{fill:#30131D!important;stroke:#E11021!important;stroke-width:2!important}.motion-story .motion-dust{fill:#9292A355!important}.motion-story .motion-excluded{fill:none!important;stroke:#FF738377!important;stroke-width:2!important;stroke-dasharray:3 4}.motion-packet{offset-distance:0%;animation:packet-travel 3.2s cubic-bezier(.35,0,.3,1) both;filter:drop-shadow(0 0 6px #FF365A)}.motion-story .motion-packet rect{fill:#FAFAFA!important;stroke:#FF5268!important;stroke-width:1!important}.motion-crawler{offset-distance:0%;animation:packet-travel 3.2s cubic-bezier(.4,.05,.2,.95) both;filter:drop-shadow(0 0 8px #E11021)}.motion-story .crawler-core{fill:#FFF5F7!important;stroke:#FF365A!important;stroke-width:2!important}.motion-story .crawler-halo{fill:#E1102120!important;stroke:#E1102133!important;stroke-width:1!important}.motion-story .crawler-legs path{fill:none!important;stroke:#FF7383!important;stroke-width:2!important;stroke-linecap:round}.crawler-legs{animation:crawler-walk .25s alternate infinite;transform-origin:0 0}.motion-narration{min-width:0;padding:10px 0}.motion-story .motion-narration h4{font:600 23px/1.3 Inter,sans-serif;color:#18181B;letter-spacing:-.02em;margin:12px 0 16px}.motion-story .motion-narration p{font:400 16px/1.65 Inter,sans-serif;color:#52525B;margin:0 0 24px}.motion-step-label{font:500 11px/1.5 'JetBrains Mono',monospace;color:#C20E1C}.motion-step-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.motion-step-list li{border-left:2px solid #E7E7EA;padding-left:12px;font:400 13px/1.5 Inter,sans-serif;color:#71717A}.motion-step-list li.current{color:#C20E1C;font-weight:500;border-color:#C20E1C}.motion-step-list li.passed{color:#18181B}.scene-playback{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0}.scene-playback button{font:500 13px/1.4 Inter,sans-serif;padding:10px 16px;min-height:42px}.scene-playback [data-playback-status]{font-size:12px;color:#71717A;line-height:1.5}.motion-story .motion-experiment{border-top:1px solid #E7E7EA;padding:22px 0 0}.motion-story .motion-experiment h4{margin:0 0 16px;font:600 18px/1.4 Inter,sans-serif}.motion-story .motion-experiment p,.motion-story .scene-output{font:400 15px/1.6 Inter,sans-serif;margin:12px 0}.motion-story .scene-output{border-left:3px solid #C20E1C;padding:12px 16px;background:#FEECEC;color:#18181B}.motion-story .scene-controls{gap:10px;margin-top:20px;display:flex;flex-wrap:wrap}.motion-story .scene-controls button{font-size:13px;white-space:normal;min-height:44px}.graph-source-list{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.graph-source-list button{background:#F7F7F8;color:#18181B;border-color:#D4D4D8;font-size:13px;min-height:44px;white-space:normal}.motion-story .graph-evidence{white-space:pre-line;font:400 14px/1.6 Inter,sans-serif;background:#FAFAFA;border-left:3px solid #C20E1C;padding:16px}.motion-story .graph-query label{display:block;font-size:15px;font-weight:500;margin:0 0 10px}.motion-story .graph-query select{width:100%;font:400 15px/1.4 Inter,sans-serif}.motion-story .motion-experiment textarea{display:block;width:100%;max-width:100%;height:130px;font:400 15px/1.6 'JetBrains Mono',monospace;color:#18181B;background:#FAFAFA;border:1px solid #A1A1AA;border-radius:8px;padding:14px}.motion-story .task-board{grid-template-columns:1fr 1fr}.motion-story .task-lane{min-width:0}.motion-open{display:none}.micro-label{font:500 10px/1.4 'JetBrains Mono',monospace;letter-spacing:.03em;color:#FF8C99}.product-reveal{display:grid;grid-template-columns:.85fr 1.2fr;gap:18px;width:93%;align-items:center}.code-paper{border:1px solid #43434A;background:#18181EE6;padding:16px;border-radius:10px;min-width:0;transition:opacity .5s}.code-paper pre{font:400 11px/1.9 'JetBrains Mono',monospace;white-space:pre-wrap;color:#E4E4E7;margin:16px 0;overflow-wrap:anywhere}.code-dim{opacity:.5}.source-line{height:3px;background:#E11021;width:55%;display:block;animation:source-write 3s ease both}.web-product{width:100%;background:#fff;color:#18181B;border-radius:10px;overflow:hidden;box-shadow:0 15px 35px #0005;transition:all .5s}.product-browser{font:400 10px 'JetBrains Mono',monospace;color:#71717A;padding:10px 12px;border-bottom:1px solid #E7E7EA;background:#F7F7F8}.product-browser span{float:right}.web-content{padding:22px}.web-content h4{font:600 24px/1.05 Inter,sans-serif;margin:14px 0;color:#18181B;letter-spacing:-.04em}.web-content p{font:400 11px/1.6 Inter,sans-serif;margin:12px 0;color:#71717A}.web-content button{font-size:10px;min-height:30px;padding:8px;background:#18181B;white-space:normal}.styled .web-content{background:#FEECEC}.styled .web-content h4{font-size:30px}.styled .web-content button{background:#C20E1C;border-color:#C20E1C}.web-decor{display:flex;justify-content:space-between;border-top:1px solid #C20E2133;margin-top:20px;padding-top:10px;font:400 8px 'JetBrains Mono',monospace}.phone-width{max-width:185px;margin:auto}.borrow-demo{width:90%}.borrow-title{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.borrow-title strong{font:600 22px Inter,sans-serif}.borrow-lanes{display:grid;grid-template-columns:1fr 1fr;gap:22px}.lane-label{display:block;font:400 10px 'JetBrains Mono',monospace;color:#A1A1AA;margin-bottom:12px}.item-card{display:grid;grid-template-columns:32px 1fr;gap:4px 12px;background:#202027;border:1px solid #43434A;border-radius:10px;padding:12px;margin:0 0 10px;animation:card-in .5s ease both}.item-card strong{font:500 13px Inter,sans-serif}.item-card small{grid-column:2;font-size:10px;color:#A1A1AA}.item-icon{grid-row:span 2;color:#FF5268;font-size:28px}.item-away{display:none}.item-card.borrowed{border-color:#C20E1C;background:#39141F}.empty-borrow{border:1px dashed #43434A;border-radius:10px;color:#71717A;padding:20px;font:400 12px/1.6 Inter,sans-serif}.borrow-receipt{margin-top:16px;padding:10px 14px;border-left:2px solid #C20E1C;color:#FF8C99;font:400 11px 'JetBrains Mono',monospace}.phone-stage{display:flex;align-items:center;justify-content:center;gap:36px;width:95%;height:95%}.install-phone{height:280px;width:155px;flex:0 0 auto;background:#18181B;border:3px solid #60606B;border-radius:26px;padding:15px 10px;box-shadow:0 12px 35px #0008}.phone-camera{width:46px;height:8px;border-radius:20px;background:#0A0A0B;margin:0 auto 20px}.phone-address{font:400 8px 'JetBrains Mono',monospace;color:#A1A1AA;text-align:center;margin-bottom:18px}.phone-app{display:flex;flex-direction:column;gap:14px}.app-icon{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#C20E1C;font-size:25px;color:#fff}.phone-app strong{font:500 12px Inter,sans-serif}.phone-line{width:100%;height:8px;background:#3F3F46;border-radius:3px}.phone-line.short{width:70%}.offline-badge{font:400 7px 'JetBrains Mono',monospace;color:#FF8C99}.app-installed .app-icon{animation:app-install .6s ease both}.install-stack{display:grid;gap:14px;min-width:0}.install-chip{padding:12px 14px;border:1px solid #43434A;border-radius:8px;color:#71717A;font:400 11px/1.5 'JetBrains Mono',monospace}.install-chip.lit{color:#FAFAFA;border-color:#C20E1C;background:#39141F}.schema-theatre{width:92%}.json-ticket{border:1px solid #43434A;border-radius:10px;background:#202027;padding:18px}.json-ticket pre{font:400 12px/1.6 'JetBrains Mono',monospace;color:#FAFAFA;margin:12px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.schema-gates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.schema-gate{border:1px solid #43434A;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:8px}.schema-gate b{font:500 12px 'JetBrains Mono',monospace;color:#71717A}.schema-gate strong{font:500 11px Inter,sans-serif}.schema-gate span{font-size:9px;color:#A1A1AA}.schema-gate.lit{border-color:#C20E1C;background:#39141F}.schema-gate.gate-fail{border-style:dashed}.schema-banner{font:400 10px/1.5 'JetBrains Mono',monospace;color:#A1A1AA}.schema-banner.failed{color:#FF7383}.bot-stage{width:90%;height:95%;display:flex;flex-direction:column;align-items:center;justify-content:center}.bot-device{background:#1C1C22;border:1px solid #43434A;border-radius:14px;width:85%;overflow:hidden}.bot-top{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:4px 10px;padding:14px;border-bottom:1px solid #43434A}.bot-avatar{grid-row:span 2;width:30px;height:30px;display:grid;place-items:center;background:#C20E1C;border-radius:9px}.bot-top strong{font:500 13px Inter,sans-serif}.bot-top small{font:400 8px 'JetBrains Mono',monospace;color:#A1A1AA}.bot-thread{padding:14px;display:flex;flex-direction:column;gap:10px;min-height:150px}.message-out,.message-in{border-radius:9px;padding:10px 14px;font:400 12px/1.5 Inter,sans-serif;max-width:85%;animation:card-in .45s ease both}.message-out{align-self:flex-end;background:#C20E1C}.message-in{background:#303038;align-self:flex-start}.message-in small{font-size:9px;color:#A1A1AA;display:block;margin-top:6px}.message-in.fallback{border:1px dashed #FF5268}.bot-typing{display:flex;gap:5px;padding:10px}.bot-typing i{height:5px;width:5px;border-radius:50%;background:#FF7383;animation:typing .8s alternate infinite}.bot-typing i:nth-child(2){animation-delay:.2s}.bot-typing i:nth-child(3){animation-delay:.4s}.command-chip{margin-top:12px;border:1px solid #C20E1C;border-radius:6px;padding:8px 12px;font:400 9px 'JetBrains Mono',monospace;color:#FF8C99}.writing-stage{width:90%;height:94%;position:relative}.floating-draft{position:absolute;left:0;top:16px;width:80%;border:1px solid #43434A;border-radius:12px;background:#24242CEB;padding:22px;box-shadow:0 18px 35px #0006;transform:rotate(-3deg);transition:all .5s}.floating-draft p{font:400 19px/1.5 Inter,sans-serif;color:#FAFAFA;margin:15px 0}.draft-flag{font:400 9px 'JetBrains Mono',monospace;color:#FF8C99}.floating-draft.draft-back{opacity:.3;transform:translate(-10px,-4px) rotate(-6deg)}.floating-draft.reviewed{top:95px;left:18%;transform:translateY(15px) rotate(2deg);opacity:0;background:#FEECEC;color:#18181B;border-color:#C20E1C}.floating-draft.reviewed p{color:#18181B;font-size:16px}.floating-draft.reviewed.visible{opacity:1;transform:translateY(0) rotate(2deg);animation:card-in .7s ease both}.preference-ribbon{position:absolute;top:10px;right:0;background:#C20E1C;padding:10px 16px;border-radius:7px;font:400 10px/1.5 Inter,sans-serif;z-index:2;max-width:90%;opacity:0}.preference-ribbon.visible{opacity:1}.motion-story .motion-node.ready rect{stroke:#FAFAFA!important;fill:#4F1725!important}
@keyframes packet-travel{to{offset-distance:100%}}@keyframes crawler-walk{from{transform:scale(.9) rotate(-8deg)}to{transform:scale(1.1) rotate(8deg)}}@keyframes card-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}@keyframes source-write{from{width:0}to{width:90%}}@keyframes app-install{from{scale:.7}to{scale:1}}@keyframes typing{from{opacity:.2;translate:0 1px}to{opacity:1;translate:0 -2px}}
.motion-story.scene-paused *,.motion-off .motion-story *{animation-play-state:paused!important;transition:none!important}.motion-story.scene-paused .motion-art{--paused:1}
@media(max-width:1300px){.motion-story .scene-body{grid-template-columns:1fr}.motion-narration{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.motion-narration>h4,.motion-narration>p,.motion-narration>.motion-step-label{grid-column:1}.motion-narration>.motion-step-list{grid-column:2;grid-row:1/span 3}.motion-story .motion-stage{height:360px}}
@media(max-width:700px){.learning-scene.motion-story{padding:18px}.motion-story .scene-head{display:block}.motion-story .scene-head small{display:block;margin-top:10px}.motion-story .scene-head h3{font-size:21px}.motion-story .scene-body{display:block}.motion-stage{height:260px!important}.motion-art{inset:30px 0 25px}.stage-caption,.stage-footer{font-size:7px;left:10px;right:10px}.stage-caption [data-stage-phase]{max-width:55%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.motion-narration{display:block;padding:22px 0 0}.motion-story .motion-narration h4{font-size:22px;margin:10px 0 14px}.motion-story .motion-narration p{font-size:16px}.motion-step-list li{font-size:13px;line-height:1.6}.scene-playback{gap:8px}.scene-playback button{font-size:12px;min-height:44px;padding:10px 12px}.scene-playback [data-playback-status]{width:100%;font-size:12px}.graph-source-list{display:grid;grid-template-columns:1fr 1fr}.graph-source-list button{font-size:12px;padding:10px;justify-content:flex-start;text-align:left}.motion-story .motion-svg text{display:none}.product-reveal{display:block;width:85%}.code-paper{display:none}.web-product{max-width:210px;margin:auto}.web-content{padding:18px}.styled .web-content h4{font-size:26px}.web-content p{font-size:12px}.web-content button{font-size:12px}.borrow-title strong{font-size:18px}.borrow-lanes{gap:10px}.item-card{display:block;padding:10px}.item-card strong{font-size:12px;display:block}.item-card small{font-size:10px}.item-icon{font-size:20px}.empty-borrow{font-size:11px;padding:12px}.borrow-receipt{font-size:9px}.phone-stage{gap:14px}.install-phone{width:120px;height:206px;padding:12px 8px;border-radius:20px}.phone-camera{margin-bottom:14px}.phone-address{font-size:7px;margin-bottom:12px}.phone-app{gap:9px}.app-icon{width:32px;height:32px;font-size:19px}.phone-app strong{font-size:10px}.install-chip{font-size:8px;padding:8px}.install-stack{gap:8px}.json-ticket{padding:12px}.json-ticket pre{font-size:9px}.schema-gates{gap:6px;margin:12px 0}.schema-gate{padding:7px;gap:5px}.schema-gate strong{font-size:9px}.schema-gate span{font-size:7px}.schema-banner{font-size:8px}.bot-device{width:100%}.bot-thread{padding:10px;gap:8px;min-height:120px}.message-in,.message-out{font-size:10px;padding:8px 10px}.message-in small{font-size:8px}.bot-top{padding:10px}.command-chip{font-size:8px}.floating-draft{padding:15px;top:10px}.floating-draft p{font-size:14px;margin:10px 0}.floating-draft.reviewed{top:75px;left:12%;width:88%}.floating-draft.reviewed p{font-size:12px}.preference-ribbon{font-size:8px;padding:8px}.micro-label{font-size:8px}.motion-story .task-board{grid-template-columns:1fr}.motion-story .motion-experiment .scene-controls button{font-size:13px}.motion-story .scene-output{font-size:14px}.motion-story .scene-controls{gap:8px}}
/* Preview: compact artwork and one sentence, never a tiny interactive app. */
.learning-scene.motion-story.preview{padding:0;border:0;background:transparent;color:#FAFAFA;border-radius:0;overflow:visible}.motion-story.preview .scene-head,.motion-story.preview .motion-narration,.motion-story.preview .scene-playback,.motion-story.preview .motion-experiment{display:none!important}.motion-story.preview .scene-body{display:block!important;min-height:0!important;height:auto!important;overflow:visible!important}.motion-story.preview .motion-stage{height:135px!important;max-height:190px!important;border-radius:8px}.motion-story.preview .motion-art{inset:10px 12px}.motion-story.preview .stage-caption,.motion-story.preview .stage-footer{display:none}.motion-story.preview .motion-svg{height:100%!important;width:100%!important}.motion-story.preview .scene-output{display:block!important;border:0;background:transparent;color:#D4D4D8;font:400 12px/1.4 Inter,sans-serif;white-space:nowrap;margin:8px 0 0!important;padding:0!important;overflow:hidden;text-overflow:ellipsis}.motion-story.preview .motion-open{display:block;font:400 11px/1.4 Inter,sans-serif;color:#FF8C99;margin-top:3px}.hero-motion:has(.motion-story){height:auto!important;min-height:0!important}.diagram-slide .motion-story.preview .motion-stage{height:120px!important}.diagram-slide .motion-story.preview .motion-open{display:none}.diagram-slide .motion-story.preview{margin-bottom:1cqw}.motion-story.preview .product-reveal{display:grid;grid-template-columns:.6fr 1fr;height:100%;max-width:560px}.motion-story.preview .code-paper{padding:8px}.motion-story.preview .code-paper pre{font-size:7px;margin:6px 0}.motion-story.preview .web-product{width:100%;max-width:220px}.motion-story.preview .product-browser{font-size:6px;padding:5px 8px}.motion-story.preview .web-content{padding:9px}.motion-story.preview .web-content h4{font-size:18px;margin:5px 0}.motion-story.preview .web-content p,.motion-story.preview .web-decor{display:none}.motion-story.preview .web-content button{font-size:8px;min-height:20px;padding:4px}.motion-story.preview .micro-label{font-size:6px}.motion-story.preview .borrow-demo{max-width:500px}.motion-story.preview .borrow-title{margin-bottom:8px;gap:4px}.motion-story.preview .borrow-title strong{font-size:13px}.motion-story.preview .borrow-lanes{gap:16px}.motion-story.preview .lane-label{font-size:7px;margin-bottom:5px}.motion-story.preview .item-card{padding:5px;margin-bottom:5px;grid-template-columns:20px 1fr}.motion-story.preview .item-card strong{font-size:9px}.motion-story.preview .item-card small{font-size:7px}.motion-story.preview .item-icon{font-size:18px}.motion-story.preview .borrow-receipt{display:none}.motion-story.preview .empty-borrow{font-size:9px;padding:8px}.motion-story.preview .install-phone{height:105px;width:65px;border-radius:12px;padding:8px;border-width:2px}.motion-story.preview .phone-camera{height:4px;width:20px;margin:0 auto 6px}.motion-story.preview .phone-address{font-size:4px;margin-bottom:7px}.motion-story.preview .phone-app{gap:6px}.motion-story.preview .phone-app strong{font-size:6px}.motion-story.preview .phone-line,.motion-story.preview .offline-badge{display:none}.motion-story.preview .app-icon{width:20px;height:20px;font-size:12px;border-radius:6px}.motion-story.preview .install-stack{gap:5px}.motion-story.preview .install-chip{font-size:7px;padding:5px 9px}.motion-story.preview .schema-theatre{max-width:490px;display:flex;gap:12px;align-items:center}.motion-story.preview .json-ticket{padding:10px;max-width:240px}.motion-story.preview .json-ticket pre{font-size:8px;margin:6px 0}.motion-story.preview .schema-gates{display:flex;flex-direction:column;margin:0;gap:4px}.motion-story.preview .schema-gate{padding:4px 7px;flex-direction:row;align-items:center;gap:6px}.motion-story.preview .schema-gate b,.motion-story.preview .schema-gate strong{font-size:8px}.motion-story.preview .schema-gate span,.motion-story.preview .schema-banner{display:none}.motion-story.preview .bot-stage{max-width:420px;display:flex;flex-direction:row;gap:16px}.motion-story.preview .bot-device{width:70%}.motion-story.preview .bot-top{padding:5px 8px;grid-template-columns:18px 1fr}.motion-story.preview .bot-avatar{width:18px;height:18px;font-size:10px;border-radius:4px}.motion-story.preview .bot-top strong{font-size:8px}.motion-story.preview .bot-top small{font-size:5px}.motion-story.preview .bot-thread{min-height:45px;padding:6px;gap:4px}.motion-story.preview .message-in,.motion-story.preview .message-out{font-size:7px;padding:4px 7px}.motion-story.preview .message-in small{display:none}.motion-story.preview .command-chip{font-size:7px;padding:7px}.motion-story.preview .writing-stage{max-width:480px}.motion-story.preview .floating-draft{padding:10px;top:0;width:60%}.motion-story.preview .floating-draft p{font-size:10px;margin:8px 0}.motion-story.preview .draft-flag{font-size:5px}.motion-story.preview .floating-draft.reviewed{left:38%;top:25px}.motion-story.preview .preference-ribbon{font-size:6px;top:0;padding:4px 7px;max-width:55%}
@media(max-width:1100px){.motion-story.preview .motion-stage{height:160px!important}.motion-story.preview .scene-output{font-size:13px}.motion-story.preview .motion-open{font-size:12px}}
@media(prefers-reduced-motion:reduce){.motion-story *{animation:none!important;transition:none!important}.motion-packet,.motion-crawler{offset-distance:100%}}
@media(min-width:1101px){.motion-story.preview .motion-stage{height:clamp(68px,10.5cqw,135px)!important}.diagram-slide .motion-story.preview .motion-stage{height:clamp(60px,8cqw,120px)!important}.motion-story.preview .motion-open{display:none}.motion-story.preview .scene-output{font-size:clamp(10px,1.1cqw,12px)}}
.motion-story .motion-svg text.motion-index,.motion-mobile-labels{display:none}
@media(max-width:700px){.motion-story:not(.preview):has(.motion-svg) .motion-stage{height:320px!important}.motion-story:not(.preview):has(.motion-svg) .motion-art{bottom:105px}.motion-story:not(.preview) .motion-svg text.motion-index{display:block!important;font:500 42px 'JetBrains Mono',monospace!important;fill:#FAFAFA!important;stroke:none!important}.motion-mobile-labels{position:absolute;bottom:35px;left:12px;right:12px;display:flex;flex-wrap:wrap;gap:6px;z-index:3}.motion-mobile-labels span{font:400 12px/1.5 Inter,sans-serif;background:#1C1C22;border:1px solid #43434A;border-radius:5px;padding:4px 6px;color:#E4E4E7}.motion-mobile-labels b{font:500 12px 'JetBrains Mono',monospace;color:#FF8C99}.preview .motion-mobile-labels{display:none}.motion-story:not(.preview):has(.schema-theatre) .motion-stage{height:380px!important}.motion-story:not(.preview) .schema-gates{display:flex;flex-wrap:wrap}.motion-story:not(.preview) .schema-gate{flex:1 1 70px;padding:10px}.motion-story:not(.preview) .json-ticket pre{font-size:12px}.motion-story:not(.preview) .schema-gate strong,.motion-story:not(.preview) .schema-gate span,.motion-story:not(.preview) .schema-banner{font-size:12px}.motion-story:not(.preview) .install-chip{font-size:12px;padding:8px}.motion-story:not(.preview) .phone-app strong,.motion-story:not(.preview) .phone-address,.motion-story:not(.preview) .offline-badge{font-size:12px}.motion-story:not(.preview) .phone-app .phone-line{display:none}.motion-story:not(.preview) .install-phone{width:105px}.motion-story:not(.preview) .phone-stage{gap:10px}.motion-story:not(.preview) .item-card small,.motion-story:not(.preview) .empty-borrow,.motion-story:not(.preview) .borrow-receipt,.motion-story:not(.preview) .lane-label{font-size:12px}.motion-story:not(.preview) .message-in,.motion-story:not(.preview) .message-out,.motion-story:not(.preview) .message-in small,.motion-story:not(.preview) .bot-top small,.motion-story:not(.preview) .command-chip{font-size:12px}.motion-story:not(.preview):has(.bot-stage) .motion-stage{height:340px!important}.motion-story:not(.preview) .preference-ribbon,.motion-story:not(.preview) .micro-label,.motion-story:not(.preview) .draft-flag{font-size:12px}.motion-story:not(.preview):has(.writing-stage) .motion-stage{height:340px!important}.motion-story:not(.preview) .floating-draft.reviewed{top:125px}.motion-story:not(.preview) .preference-ribbon{padding:8px}.motion-story:not(.preview) .floating-draft p{font-size:14px}.motion-story:not(.preview) .floating-draft.reviewed p{font-size:14px}}
.motion-story .motion-satellite{fill:none!important;stroke:#A1A1AA15!important;stroke-width:1!important}.motion-story .motion-satellite.is-lit{stroke:#FF526850!important}.motion-story .motion-satellite-dot{fill:#A1A1AA44!important}.motion-story .motion-satellite-dot.is-lit{fill:#FF7383!important;filter:drop-shadow(0 0 4px #E11021)}

/* Manual stepping presents the completed entry state, rather than opacity zero. */
.scene-paused .item-card,.scene-paused .message-in,.scene-paused .message-out,.scene-paused .floating-draft.reviewed.visible,.scene-paused .app-installed .app-icon{animation:none!important}
.scene-paused .source-line{animation:none!important;width:90%}
@media(max-width:700px){
 .motion-story[data-learning-scene="3"] .motion-stage{height:380px!important}
 .motion-story[data-learning-scene="4"] .motion-stage{height:390px!important}
 .motion-story[data-learning-scene="5"] .motion-stage{height:400px!important}
 .motion-story[data-learning-scene="8"] .motion-stage{height:560px!important}
 .motion-story[data-learning-scene="9"] .motion-stage{height:440px!important}
 .motion-story[data-learning-scene="11"] .motion-stage{height:480px!important}
 .motion-story:not(.preview)[data-learning-scene="3"] .motion-art,
 .motion-story:not(.preview)[data-learning-scene="4"] .motion-art,
 .motion-story:not(.preview)[data-learning-scene="5"] .motion-art,
 .motion-story:not(.preview)[data-learning-scene="8"] .motion-art,
 .motion-story:not(.preview)[data-learning-scene="9"] .motion-art,
 .motion-story:not(.preview)[data-learning-scene="11"] .motion-art{inset:40px 10px 40px}
}

.item-card.item-away{display:none!important}
@media(max-width:700px){
 .learning-scene.motion-story:not(.preview)[data-learning-scene="3"] .motion-stage{height:380px!important}
 .learning-scene.motion-story:not(.preview)[data-learning-scene="4"] .motion-stage{height:390px!important}
 .learning-scene.motion-story:not(.preview)[data-learning-scene="5"] .motion-stage{height:400px!important}
 .learning-scene.motion-story:not(.preview)[data-learning-scene="8"] .motion-stage{height:560px!important}
 .learning-scene.motion-story:not(.preview)[data-learning-scene="9"] .motion-stage{height:440px!important}
 .learning-scene.motion-story:not(.preview)[data-learning-scene="11"] .motion-stage{height:480px!important}
 .learning-scene.motion-story:not(.preview) .floating-draft.reviewed{top:85px;width:92%;left:4%;padding:16px}
}

.learning-scene.motion-story:not(.preview)[data-learning-scene="3"] .motion-stage{height:500px!important}
@media(min-width:701px){.learning-scene.motion-story:not(.preview) .floating-draft.reviewed{top:105px}}
@media(max-width:700px){.learning-scene.motion-story:not(.preview)[data-learning-scene="4"] .motion-stage{height:560px!important}}

@media(min-width:701px){.learning-scene.motion-story:not(.preview)[data-learning-scene="11"] .motion-stage{height:420px!important}}
/* Learner preference: continuous ambient stories, without extra playback UI. */
.scene-playback,[data-scene-pause],[data-scene-replay],[data-scene-next],[data-motion-toggle],[data-pause-motion]{display:none!important}
