.stream-stories{padding-block:65px 30px}.story-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.story-heading:after{display:none}.story-choices{gap:0;display:flex}.story-choices button{background:0 0;border:0;place-items:center;width:32px;min-height:44px;padding:0;display:grid}.story-choices button span{width:6px;height:6px;transition:transform .18s var(--ease-out), background-color .18s ease;background:#5f6876;border-radius:3px}.story-choices button[aria-pressed=true] span{background:#d4dfef;transform:scaleX(2.5)}.story-film{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:12px 48px;min-width:0;margin-top:28px;display:grid}.story-stage{min-height:330px;transition:height .4s var(--ease-out);background:#151517;border:1px solid #30333c;border-radius:12px;position:relative;overflow:clip}.story-stage-body{padding:20px 24px 48px;display:flow-root}.story-response{letter-spacing:-.015em;overflow-wrap:anywhere;width:min(100%,480px);margin:36px auto 0;font-size:19px;line-height:1.8}.story-response .md-code{letter-spacing:0;font-size:14px}.story-response a:focus{outline:2px solid var(--blue);outline-offset:5px;background:#8abbff14;border-radius:2px}.story-response p+p{margin-top:42px}.story-response ::highlight(stream-story-selection){color:#edf4ff;background-color:#8abbff45}.story-response .story-retained-fallback{background:linear-gradient(#8abbff24,#8abbff24) 0/100% 100% no-repeat;border-radius:3px;transition:background-size .4s linear;@starting-style{background-size:0% 100%}}[data-story-scene=word] .story-response{width:min(100%,340px)}.story-response .stream-character-word{display:inline-block}.story-response .stream-character-long{display:inline}.story-response .stream-letter{white-space:pre;display:inline-block}.story-highlight{pointer-events:none;opacity:0;background:linear-gradient(var(--blue), var(--blue)) left top/12px 1px no-repeat, linear-gradient(var(--blue), var(--blue)) left top/1px 12px no-repeat, linear-gradient(var(--blue), var(--blue)) right bottom/12px 1px no-repeat, linear-gradient(var(--blue), var(--blue)) right bottom/1px 12px no-repeat;transition:transform .4s var(--ease-out), width .4s var(--ease-out), height .4s var(--ease-out), opacity .18s ease;position:absolute;inset:0 auto auto 0}.story-highlight[data-visible=true]{opacity:.55}.story-stage:has(.story-measure[data-visible=true]) .story-highlight{opacity:0}.story-measure{pointer-events:none;opacity:0;width:100%;height:100%;transition:opacity .2s;position:absolute;inset:0}.story-measure[data-visible=true]{opacity:1}.story-measure path{fill:none;stroke:#b2c6e4;stroke-width:1px;stroke-dasharray:1}.story-measure text{fill:#a7b5c9;font-variant-numeric:tabular-nums;font-family:ui-monospace,monospace;font-size:10px}.story-caption{grid-area:1/2/3;padding-top:28px}.story-caption-body{gap:20px;display:grid}.story-caption-art{gap:20px;display:grid;position:relative}.story-text-cloud{pointer-events:none;visibility:hidden;width:100%;height:100%;position:absolute;inset:0}.story-caption-art[data-cloud-reveal=active] .story-text-cloud{visibility:visible}.story-caption-art[data-cloud-reveal=active] [data-story-title],.story-caption-art[data-cloud-reveal=active] [data-story-description]{opacity:0}.story-caption-slot,.story-caption-reserve{display:grid;position:relative}.story-caption-slot>*,.story-caption-reserve>*{grid-area:1/1}.story-caption-reserve{visibility:hidden;pointer-events:none;user-select:none}.story-caption h3{letter-spacing:-.025em;margin:0;font-size:clamp(23px,2.4vw,27px);font-weight:500;line-height:1.2}.story-caption p{color:#a0aaba;max-width:440px;margin:0;font-size:14px;line-height:1.7}.story-guide{color:var(--blue);text-underline-offset:4px;justify-self:start;font-size:12px;text-decoration:underline}.story-interruption{color:#c0a987;width:min(100%,480px);margin:20px auto 0;font-size:12px;line-height:1.6;transition:opacity .18s;@starting-style{opacity:0}}.story-interruption[hidden]{display:none}.story-transport{grid-column:1;align-items:center;gap:18px;padding-block:8px 10px;display:flex}.story-transport button:active,.story-choices button:active{transform:scale(.97)}.story-progress-track{background:#ffffff16;flex:1;height:2px;position:relative}.story-progress-track progress{opacity:0;width:100%;height:100%;position:absolute}.story-progress-track i{background:var(--blue);transform-origin:0;position:absolute;inset:0;transform:scaleX(0)}@media (width<=700px){.story-film{grid-template-columns:1fr;gap:0}.story-stage{min-height:300px}.story-stage-body{padding:18px 18px 42px}.story-response{margin-top:28px;font-size:17px}.story-caption{grid-area:3/1;padding-block:22px 12px}.story-caption-body,.story-caption-art{gap:12px}.story-caption p{font-size:13px}.story-transport{gap:20px}}@media (prefers-reduced-motion:reduce){.story-response .story-retained-fallback{transition:none}.story-highlight{transition:opacity .12s}.story-stage,.story-caption,[data-slow=true] .story-response,[data-slow=true] .story-response .height-surface{transition-duration:.12s}.story-choices button:active{transform:none}}.usage-copy{grid-template-columns:1fr 1fr;column-gap:60px;margin-bottom:36px;display:grid}.usage-copy>.eyebrow{grid-column:1/-1}.usage-copy>h2{grid-row:1/3}.usage-copy>p:not(.eyebrow){color:#9299a6;max-width:440px;margin-top:0}.renderer-note{color:#929caf;grid-column:2;margin-top:12px;font-size:12px}.renderer-note summary{cursor:pointer;padding-block:6px}.renderer-note p{max-width:440px;margin-top:8px;line-height:1.8}.renderer-note[open] p{animation:.18s gentle-arrive}.layer-workbench{grid-template-columns:.9fr 1.1fr;align-items:start;gap:54px;display:grid}.layer-explorer{min-width:0}.layer-explorer-bar{justify-content:space-between;align-items:center;gap:12px;display:flex}.layer-explorer-bar>span{color:#727e90;font-size:11px}.stack-controls{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.loop-play-shape,[data-looping=false] .loop-pause-shape{opacity:0}[data-looping=false] .loop-play-shape{opacity:1}.stack-toggle,.sample-replay{isolation:isolate;color:#c1d2eb;touch-action:manipulation;min-height:38px;transition:background var(--motion-ui) ease, border-color var(--motion-ui) ease, color var(--motion-ui) ease, transform var(--motion-press) var(--ease-out);background:#1c2430;border:1px solid #3d485b;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:7px 13px;font-size:12px;display:inline-flex;position:relative;overflow:hidden;box-shadow:inset 0 1px #d7eaff14,0 3px #10151e}.control-sheen{z-index:0;opacity:0;pointer-events:none;width:45%;transition:transform .24s var(--ease-out), opacity .12s ease;background:linear-gradient(90deg,#0000,#b4d4ff20,#0000);position:absolute;top:-50%;bottom:-50%;left:0;transform:translate(-160%)skew(-18deg)}.stack-toggle>svg,.stack-toggle>span:not(.control-sheen),.sample-replay>svg,.sample-replay>span:not(.control-sheen),.layer-workbench .copy-button>svg,.layer-workbench .copy-button>span:not(.control-sheen){z-index:1;position:relative}.loop-orbit{stroke-dasharray:4 5;opacity:.5;transform-origin:50%;transition:transform .24s var(--ease-out), stroke-dashoffset .24s var(--ease-out), opacity var(--motion-ui) ease}.stack-toggle .loop-control-icon{width:20px;height:20px}[data-looping=true] .loop-orbit{opacity:.85}.stack-toggle:focus-visible .control-sheen,.sample-replay:focus-visible .control-sheen,.copy-button:focus-visible .control-sheen,.layer-choices:focus-within .control-sheen{opacity:1;transform:translate(320%)skew(-18deg)}.stack-toggle svg,.sample-replay svg{stroke:currentColor;stroke-width:1.3px;fill:none;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.stack-toggle:active,.sample-replay:active{transform:scale(.97)}.stack-stage{isolation:isolate;height:350px;position:relative;overflow:clip}.stack-floor{pointer-events:none;background-image:linear-gradient(#899ab916 1px,#0000 1px),linear-gradient(90deg,#899ab916 1px,#0000 1px);background-size:30px 30px;width:310px;height:240px;position:absolute;bottom:-40px;left:calc(50% - 155px);transform:rotateX(56deg)rotate(-35deg);mask-image:radial-gradient(#000 30%,#0000 72%)}.stack-assembly{position:absolute;inset:0;transform:perspective(1000px)rotateX(0)rotateY(0)}.stack-plane{--spacing:22px;--plate-color:#f4f5f8;--plate-ink:#192135;width:260px;height:180px;z-index:calc(3 - var(--level));color:var(--plate-ink);transform:translateY(calc((var(--level) - 1) * var(--spacing)));transition:transform .4s var(--ease-out);touch-action:manipulation;background:0 0;border:0;padding:0;position:absolute;top:calc(50% - 90px);left:calc(50% - 130px)}.stack-plane-chunks{--plate-color:#f8f7fc}.stack-plane-renderer{--plate-color:#eef2f8}.stack-plane-motion{--plate-color:#e9eef9}.stack-plane-renderer[aria-pressed=true],.stack-plane-motion[aria-pressed=true]{transform:translate(16px, calc((var(--level) - 1) * var(--spacing) - 6px)) scale(1.035)}.stack-plane-face{z-index:1;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:110px;height:88px;font-size:12px;font-weight:650;display:flex;position:absolute;top:32px;left:75px;transform:rotate(-31deg)skew(24deg)scaleY(.78)}.stack-plane-face svg{stroke:currentColor;stroke-width:1.8px;fill:none;stroke-linecap:round;stroke-linejoin:round;width:34px;height:34px}.stack-plane-base{stroke:#202945;stroke-width:.8px}.stack-plane-seam{fill:#dce3f1;stroke:#263149;stroke-width:.8px}.stack-plane-shape{width:100%;height:100%;display:block}.stack-plane-surface{fill:var(--plate-color);stroke:#263149;stroke-width:1px;transition:stroke var(--motion-ui) ease}.stack-plane[aria-pressed=true] .stack-plane-surface{stroke:#659aff}[data-separated=true] .stack-plane{--spacing:84px}.stack-axis{color:#505c6f;letter-spacing:.08em;font:9px Consolas,monospace;position:absolute;left:50%;translate:-50%}.stack-axis:after{content:"";background:#344053;width:1px;height:18px;position:absolute;left:50%}.stack-axis-top{top:16px}.stack-axis-top:after{top:18px}.stack-axis-bottom{bottom:16px}.stack-axis-bottom:after{bottom:18px}.layer-choices{isolation:isolate;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;display:grid;position:relative}.layer-choices:before{content:"";pointer-events:none;background:#3b4657;height:1px;position:absolute;top:25px;left:16%;right:16%}.layer-selection{transform-origin:0;pointer-events:none;background:0 0;border:0;width:calc(33.3333% - 5.33333px);height:2px;position:absolute;top:auto;bottom:0;left:0;transform:translate(0)}.layer-route-packet{opacity:0;pointer-events:none;width:calc(33.333% - 38px);height:3px;transition:opacity .12s;position:absolute;top:24px;overflow:hidden}.route-to-renderer{left:calc(16.666% + 19px)}.route-to-motion{left:calc(50% + 19px)}.layer-route-packet i{transform-origin:0;background:#a9d1ff;width:100%;height:100%;animation:1.4s linear infinite paused layer-packet-travel;display:block}.route-to-motion i{animation-delay:.65s}[data-sample-state=receiving] .layer-route-packet{opacity:1}[data-sample-state=receiving] .layer-route-packet i{animation-play-state:running}@keyframes layer-packet-travel{0%{opacity:0;transform:translate(-10%)scaleX(.08)}20%,80%{opacity:.8}to{opacity:0;transform:translate(100%)scaleX(.08)}}.layer-selection:after{content:"";background:#a9d1ff;border-radius:2px;height:2px;position:absolute;bottom:0;left:14px;right:14px}.layer-choices button{z-index:1;color:#a4aec0;touch-action:manipulation;min-width:0;min-height:82px;transition:color var(--motion-ui) ease, transform var(--motion-press) var(--ease-out);background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:12px 8px;font-size:13px;font-weight:600;display:flex;position:relative}.layer-choices button:before{content:"";z-index:-1;filter:drop-shadow(0 1px #d7eaff14)drop-shadow(0 3px #10151e);background:0 0;width:38px;height:30px;position:absolute;top:10px;left:calc(50% - 19px)}.layer-choices button[aria-pressed=true]{color:#ecf4ff;transform:translateY(-3px)scale(1.035)}.layer-choices button:active,.layer-choices button[aria-pressed=true]:active{transform:scale(.97)}.layer-choices button:focus-visible{outline-offset:3px}.layer-choice-icon{fill:none;stroke:currentColor;stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round;color:#8296b4;width:26px;height:26px;transition:color var(--motion-ui) ease;flex:0 0 26px}.layer-choices button[aria-pressed=true] .layer-choice-icon{color:#a9d1ff}.layer-choice-icon>*{transform-box:fill-box;transform-origin:50%;transition:transform var(--motion-ui) var(--ease-out), opacity var(--motion-ui) ease}.choice-packet-b,.choice-line-b,.choice-motion-b{transition-delay:30ms}.choice-packet-c,.choice-line-c,.choice-motion-c{transition-delay:60ms}.layer-choice-label{transition:transform var(--motion-ui) var(--ease-out)}.layer-choices button[aria-pressed=true] .choice-packet-a{transform:translate(-1px,-2px)}.layer-choices button[aria-pressed=true] .choice-packet-b{transform:translate(1px,-2px)}.layer-choices button[aria-pressed=true] .choice-packet-c{transform:translateY(2px)}.layer-choices button[aria-pressed=true] .choice-line-a{transform:translate(1px)}.layer-choices button[aria-pressed=true] .choice-line-c{transform:translate(2px)}.layer-choices button[aria-pressed=true] .choice-motion-a{transform:translateY(-2px)}.layer-choices button[aria-pressed=true] .choice-motion-c{transform:translateY(2px)}.loop-play-shape,.loop-pause-shape{transform-origin:50%;transition:transform var(--motion-ui) var(--ease-out), opacity .12s ease}.stack-toggle[aria-pressed=true]{color:#e0edff;border-color:#6286b4}[data-looping=false] .loop-pause-shape,[data-looping=true] .loop-play-shape{transform:scale(.75)}.copy-icon-sheets,.copy-icon-front,.copy-icon-back,.sample-replay svg{transform-origin:50%;transition:transform var(--motion-ui) var(--ease-out), opacity .12s ease}.copy-icon-check{stroke-dasharray:16;stroke-dashoffset:16px;opacity:0;transition:stroke-dashoffset var(--motion-ui) var(--ease-out), opacity .12s ease}.copy-button[data-copied=true] .copy-icon-sheets{opacity:0;transform:scale(.8)}.copy-button[data-copied=true] .copy-icon-check{stroke-dashoffset:0;opacity:1}.stack-instruction{text-align:center;color:#929caf;margin-top:14px;font-size:11px}.layer-inspector{min-width:0}.layer-detail{min-height:136px;padding:5px 0 24px}.layer-detail-label{color:#797981;letter-spacing:1.6px;text-transform:uppercase;margin-bottom:12px;font-size:10px;font-weight:600;display:block}.layer-detail h3{color:#ededef;letter-spacing:-.7px;font-size:23px;font-weight:550}.layer-detail>p:last-child{color:#929299;max-width:400px;margin-top:9px;font-size:13px;line-height:1.7}.layer-code{background:#151517;border-color:#303035;border-radius:16px;box-shadow:0 16px 48px #00000018}.layer-code>.code-panel-header{background:#19191c;border-bottom-color:#29292e;align-items:center;min-height:56px;padding:10px 18px}.code-file{color:#bdbdc6;align-items:center;gap:8px;font:12px Consolas,monospace;display:inline-flex}.code-file>svg{fill:none;width:17px;height:17px;stroke:var(--blue);stroke-width:1.3px;stroke-linecap:round;stroke-linejoin:round;margin-right:2px}.layer-language{color:#66666f;margin-left:3px;font-size:9px}.layer-code-panel pre{scrollbar-width:thin;scrollbar-color:#35353c transparent;height:278px;padding:22px 18px;font-size:12px;line-height:1.85;overflow:auto;background:0 0!important}.layer-code-panel code{counter-reset:code-line}.layer-code-panel .line:before{counter-increment:code-line;content:counter(code-line);color:#4e4e58;text-align:right;user-select:none;width:18px;margin-right:18px;display:inline-block}.layer-sample-header{background:#121214;border-top:1px solid #29292e;align-items:center;gap:12px;padding:14px 18px 0;display:flex}.layer-sample-header>span{color:#b3b3bc;align-items:center;gap:7px;font-size:11px;display:flex}.layer-sample-header i{width:5px;height:5px;transition:background var(--motion-ui) ease;background:#55555f;border-radius:50%}[data-sample-state=receiving] .layer-sample-header i{background:var(--blue)}.layer-sample-header [data-sample-state]{color:#85858f}.layer-output-label{margin-right:auto;font-weight:600}.layer-workbench .sample-replay,.layer-workbench .copy-button{color:#aaaab4;background:#202023;border:1px solid #323238;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:32px;padding:5px 9px;font-size:11px;display:inline-flex;box-shadow:inset 0 1px #ffffff05}.layer-workbench .copy-button{isolation:isolate;position:relative;overflow:hidden}.layer-inspector .control-sheen{display:none}.sample-replay svg{width:13px;height:13px}.layer-sample{flex-wrap:wrap;align-content:center;align-items:center;gap:7px;min-width:0;min-height:96px;display:flex;overflow:auto}.layer-output-body{background:#121214;grid-template-columns:26px minmax(0,1fr);gap:14px;padding:12px 22px 6px;display:grid}.layer-output-mark{color:var(--blue);align-self:center}.layer-output-mark svg{width:24px;height:24px;display:block}[data-layer=chunks] .layer-output-mark{display:none}[data-layer=chunks] .layer-output-body{grid-template-columns:minmax(0,1fr)}.layer-receipt{color:#686872;background:#121214;justify-content:space-between;align-items:center;gap:20px;padding:8px 22px 20px;font:10px Consolas,monospace;display:flex}.layer-receipt-track{gap:5px;display:flex}.layer-receipt-track span{background:#34343c;border-radius:2px;width:22px;height:3px}.layer-receipt-track [data-received=true]{background:var(--blue)}.workbench-answer{color:#e3e3e9;letter-spacing:-.3px;font-size:18px;line-height:1.7}[data-layer=motion] .workbench-answer [data-stream-morph-key]{animation:workbench-word-enter .32s var(--ease-out) both}@keyframes workbench-word-enter{0%{transform:translateY(.35em)}to{transform:translateY(0)}}.sample-chunk{color:#b4b4be;background:#1d1d21;border:1px solid #323239;border-radius:7px;padding:7px 9px;font:12px Consolas,monospace}.sample-chunk:last-child{color:#bed8fc;background:#8abbff0c;border-color:#8abbff55}@media (hover:hover) and (pointer:fine){.stack-toggle:hover .control-sheen,.sample-replay:hover .control-sheen,.copy-button:hover .control-sheen,.layer-choices:hover .control-sheen{opacity:1;transform:translate(320%)skew(-18deg)}.stack-toggle:hover .loop-orbit{stroke-dashoffset:-9px;opacity:1;transform:rotate(45deg)}.layer-choices button:hover{color:#ecf4ff}.layer-choices button:hover .layer-choice-icon{color:#c1ddff}.layer-choices button:hover .choice-packet-a{transform:translate(-1px,-2px)}.layer-choices button:hover .choice-packet-b{transform:translate(1px,-2px)}.layer-choices button:hover .choice-packet-c{transform:translateY(2px)}.layer-choices button:hover .choice-packet-d{transform:translate(1px,2px)}.layer-choices button:hover .choice-document{transform:translateY(-1px)}.layer-choices button:hover .choice-line-a{transform:translate(1px)}.layer-choices button:hover .choice-line-b{transform:translate(-1px)}.layer-choices button:hover .choice-line-c{transform:translate(2px)}.layer-choices button:hover .choice-motion-a{transform:translateY(-2px)}.layer-choices button:hover .choice-motion-c{transform:translateY(2px)}.sample-replay:hover svg{transform:rotate(-30deg)}.copy-button:not([data-copied=true]):hover .copy-icon-back{transform:translate(-1px,-1px)}.copy-button:not([data-copied=true]):hover .copy-icon-front{transform:translate(1px,1px)}.stack-plane:hover .stack-plane-surface{stroke:#8fbaff}.stack-toggle:hover,.sample-replay:hover,.layer-workbench .copy-button:hover{color:#e5f0ff;border-color:#85a8d4}}@media (width<=800px){.layer-workbench{grid-template-columns:1fr 1.1fr;gap:26px}.usage-copy{column-gap:30px}.stack-axis,.layer-explorer-bar>span{display:none}}@media (width<=600px){.usage-copy{margin-bottom:30px;display:block}.usage-copy>p:not(.eyebrow){margin-top:18px}.layer-workbench{grid-template-columns:1fr;gap:32px}.stack-stage{height:350px}.layer-detail{min-height:128px}.layer-code-panel pre{height:278px;padding-inline:14px;font-size:12px}}@media (hover:none),(pointer:coarse){.stack-toggle,.layer-workbench .sample-replay,.layer-workbench .copy-button,.layer-choices button{min-height:44px}.renderer-note summary{min-height:44px;padding-block:14px}}@media (prefers-reduced-motion:reduce){.layer-route-packet,.control-sheen{display:none}.layer-choice-icon>*,.layer-choice-label,.loop-orbit,.loop-play-shape,.loop-pause-shape,.copy-icon-sheets,.copy-icon-front,.copy-icon-back,.sample-replay svg{transition:opacity .12s;transform:none!important}.copy-icon-check{transition:opacity .12s}[data-layer=motion] .workbench-answer [data-stream-morph-key]{animation:.12s both gentle-arrive}.stack-plane{transition:none}.stack-assembly{transform:none!important}.stack-toggle:active,.sample-replay:active,.layer-choices button:active,.layer-choices button[aria-pressed=true]:active,.layer-choices button[aria-pressed=true]{transform:none}.stack-plane-renderer[aria-pressed=true],.stack-plane-motion[aria-pressed=true]{transform:translateY(calc((var(--level) - 1) * var(--spacing)))}}.featured:not(.is-comparing) .pane-label{display:none}.compact .demo-topbar{background:#17191e;height:34px}.compact .demo-model svg{color:#73849e;width:14px;height:14px}.example-heading{margin:0 6px 12px}.compact:before,.compact:after{content:"";z-index:2;pointer-events:none;opacity:0;width:12px;height:12px;transition:opacity var(--motion-ui) ease, transform var(--motion-ui) var(--ease-out);border-style:solid;border-color:#465978;position:absolute}.compact{position:relative}.compact:before{border-width:1px 0 0 1px;border-top-left-radius:12px;top:0;left:0;transform:translate(3px,3px)}.compact:after{border-width:0 1px 1px 0;border-bottom-right-radius:12px;bottom:0;right:0;transform:translate(-3px,-3px)}.compact[data-state=streaming]:before,.compact[data-state=streaming]:after{opacity:1;transform:translate(0)}.compact .icon-button:active{transform:scale(.94)}@media (hover:hover) and (pointer:fine){.example-card:hover .compact:before,.example-card:hover .compact:after{opacity:.6;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.compact:before,.compact:after{transform:none!important}}
