:root{--ink: #16181d;--muted: #6b7079;--line: #9aa0ab;--border: #eaedf2;--bar: #d9dce2;--surface: #f7f8fa;--accent: #2457d6;--sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--mono: "IBM Plex Mono", ui-monospace, Menlo, monospace}*,*:before,*:after{box-sizing:border-box}html{scrollbar-gutter:stable}body{margin:0;background:#fff;color:var(--ink);font:16px/1.65 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}h1,h2,h3,p,ul{margin:0;padding:0}ul{list-style:none}:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.page{margin:0 auto}.gallery{max-width:1180px;padding:64px 32px 112px}.focus{max-width:928px;padding:36px 24px 112px}.link{font:inherit;font-size:14px;color:var(--muted);background:none;border:0;padding:4px 0;cursor:pointer;transition:color .15s}.link:hover,.link.is-on{color:var(--ink)}.copy{display:inline-grid}.copy>span{grid-area:1 / 1;visibility:hidden;text-align:right}.copy:not([data-state]) .c-idle,.copy[data-state=done] .c-done,.copy[data-state=fail] .c-fail{visibility:visible}.site{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:16px 32px;margin-bottom:64px}.site h1{font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.3}.site p{color:var(--muted);font-size:15px;margin-top:6px}.site nav{display:flex;gap:26px}.chapter{margin-top:72px}.chapter:first-of-type{margin-top:0}.chapter h2{font-size:14px;font-weight:600;color:var(--muted);margin-bottom:24px}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:32px 28px}.card{border:1px solid var(--border);border-radius:8px;padding:20px 22px;transition:border-color .2s}.card:hover{border-color:var(--line)}.thumb{display:block;aspect-ratio:960 / 420;margin-bottom:18px}.thumb svg,.stage svg{display:block;width:100%;height:100%}.card small{font-size:13px;color:var(--muted)}.card h3{font-size:16px;font-weight:600;line-height:1.5}.stream{max-width:880px;margin:0 auto 96px}.top{display:flex;justify-content:space-between;align-items:center;height:32px;margin-bottom:48px}.top>span{display:flex;align-items:center;gap:14px}.top .copy{margin-right:14px}.num{font-size:14px;color:var(--muted);width:26px;text-align:center;font-variant-numeric:tabular-nums}.arrow{padding:4px 6px}.arrow.off{visibility:hidden}.fig-title{font-size:20px;font-weight:600;letter-spacing:-.012em;line-height:30px;height:30px}.legend{display:flex;gap:20px;height:24px;margin:6px 0 10px;font-size:13.5px;line-height:24px;color:var(--muted);white-space:nowrap}.legend span{display:inline-flex;align-items:center;gap:8px}.sw{width:11px;height:11px;border-radius:2px}.sw-blue{background:var(--accent)}.sw-grey{background:#525966}.sw-light{background:#cdd4df}.sw-ink{background:var(--ink)}.sw-dash{border:1.3px dashed #525966}.stage{aspect-ratio:960 / 420}.caption{display:grid;height:30px;margin-top:14px;font-size:17px;line-height:30px}.caption span{grid-area:1 / 1;opacity:0;transition:opacity .25s}.caption span.is-on{opacity:1}.controls{display:flex;align-items:center;gap:10px;height:34px;margin-top:22px}.pp{display:grid;place-items:center;width:34px;height:34px;padding:0;color:var(--ink);background:#fff;border:1px solid var(--bar);border-radius:50%;cursor:pointer;transition:border-color .15s;flex:none}.pp:hover{border-color:var(--line)}.pp:focus-visible{border-radius:50%}.pp svg{width:11px;height:11px;fill:currentColor}input[type=range]{accent-color:var(--accent);cursor:pointer;margin:0}.seek{flex:1;min-width:0;margin-left:6px!important}.param{height:28px;margin-top:16px;font-size:14px;color:var(--muted)}.param label{display:flex;align-items:center;gap:12px;height:28px}.param input{width:150px}.param output{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.more{margin-top:32px;padding-top:20px;border-top:1px solid var(--border)}.more summary{font-size:14px;color:var(--muted);cursor:pointer;list-style:none;width:fit-content}.more summary::-webkit-details-marker{display:none}.more summary:before{content:"+";display:inline-block;width:20px;font-family:var(--mono);color:var(--line)}.more[open] summary:before{content:"−"}.more summary:hover{color:var(--ink)}.more>div{padding-top:24px}.more p{display:grid;grid-template-columns:110px 1fr;margin-bottom:10px}.more b{font-weight:400;color:var(--muted)}.more pre{margin:28px 0;padding:22px 24px;background:var(--surface);border-radius:6px;font:14px/1.75 var(--mono);overflow-x:auto}.refs li{display:flex;justify-content:space-between;gap:24px;padding:9px 0}.refs a:hover{color:var(--accent)}.refs span{color:var(--muted);font-size:14px;white-space:nowrap}@media(max-width:900px){.stage-scroll{overflow-x:auto}.stage{width:780px}}@media(max-width:640px){.gallery{padding:36px 18px 72px}.focus{padding:20px 18px 72px}.grid{grid-template-columns:1fr}.site nav{flex-wrap:wrap;gap:6px 22px}.legend{flex-wrap:wrap;gap:0 16px;height:48px}.caption{height:60px}.more p{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
