*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.mast{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0 24px;border-bottom:1px solid var(--line);font-size:14px;letter-spacing:0}.brand{display:flex;align-items:center;gap:10px;font-size:19px;letter-spacing:-.04em;font-weight:800;color:var(--fg)}.nav-actions{display:flex;gap:20px}.text-button{padding:10px 0;background:none;border:0;color:var(--muted);font-size:14px;font-weight:600}.text-button:hover{color:var(--fg)}.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:750;color:var(--muted);margin:0 0 12px}.edition{font-size:14px;color:var(--muted);line-height:1.7}.afterword{display:flex;justify-content:space-between;gap:32px;align-items:center;padding:60px 0}.afterword h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.05em;line-height:1.12;margin:0}.afterword p{font-size:16px;color:var(--muted);line-height:1.7;margin:0}.site-footer{display:flex;justify-content:space-between;gap:20px;padding:22px 0 8px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.footer-dot{padding:0 8px;opacity:.4}dialog{background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:20px;padding:36px;max-width:560px;width:calc(100% - 32px);max-height:85dvh;box-shadow:0 30px 100px #0005}dialog::backdrop{background:#080b1577;backdrop-filter:blur(8px)}dialog h2{font-size:30px;letter-spacing:-.04em;line-height:1.1}.help-copy{font-size:16px;line-height:1.65;color:var(--muted)}.close{float:right;border:0;background:none;font-size:30px;color:var(--muted);width:44px;height:44px}.toast{position:fixed;z-index:10;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;border:1px solid var(--line);border-radius:12px;padding:16px 22px;background:var(--panel);color:var(--fg);font-size:16px;box-shadow:0 8px 30px #0003;overflow-wrap:anywhere}.toast a{text-decoration:underline}.skip-link{position:fixed;top:-100px;left:16px;z-index:20;background:var(--accent);color:var(--bg);padding:12px}.skip-link:focus{top:8px}@media(max-width:700px){.mast{padding-bottom:16px}.brand{font-size:17px}.brand img{width:30px;height:30px}.nav-actions{gap:12px}.text-button{font-size:14px}.afterword{display:block;padding:36px 0}.afterword p{margin-top:18px}.site-footer{flex-direction:column;gap:8px}dialog{padding:24px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
:root{--bg:#f6f7f9;--fg:#17191e;--panel:#fff;--muted:#626770;--accent:#3455ff;--line:#dedfe5}body{background:var(--bg);color:var(--fg)}.workshop{max-width:1400px;padding:24px 40px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:flex-end;margin:44px 0 34px;gap:20px}.heading h1{font-size:clamp(36px,5.2vw,72px);font-weight:750;letter-spacing:-.06em;line-height:1.03;margin:0}.heading h1 em{font-style:normal;color:var(--accent)}.lead{font-size:19px;color:var(--muted);margin:16px 0 0;line-height:1.5}.heading .edition{text-align:right}#scenes{display:flex;gap:0;margin:0 0 20px;overflow-x:auto;border-bottom:1px solid var(--line);padding-bottom:0;scrollbar-width:thin}#scenes button{flex:1;min-width:120px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted);box-shadow:none;padding:16px 12px 18px;display:flex;gap:8px;justify-content:center;align-items:center;transition:color .2s}#scenes button:hover{transform:none;background:#e9ecf5;color:var(--fg)}#scenes button[aria-pressed=true]{background:transparent;color:var(--accent);border-bottom-color:var(--accent);box-shadow:none}.tab-name{font-size:14px;font-weight:650;overflow-wrap:normal;white-space:nowrap}.tab-num{display:none}.tab-symbol{display:none}.bench{border:1px solid var(--line);background:var(--panel);border-radius:20px;box-shadow:0 8px 40px #222b4410;overflow:hidden}.bench-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px 12px}.scene-copy{min-height:0}.scene-copy h2{font-size:26px;letter-spacing:-.035em;color:var(--fg);margin:0 0 6px}.scene-copy .eyebrow{font-size:12px;color:var(--muted)}#scene-caption{font-size:16px;color:var(--muted);line-height:1.5;max-width:750px}.controls{display:flex}.controls button{height:44px;background:#f3f4f7;border:1px solid var(--line);border-radius:9px;color:#424854;padding:0 16px;font-size:14px;font-weight:600}.connect-help{padding:4px 28px 18px;margin:0;font-size:14px;color:var(--muted);gap:12px;line-height:1.5}.socket-demo{font-size:18px;color:var(--accent);letter-spacing:2px}.viewport{background:#fcfcfa;overflow-x:auto}.viewport #machine{display:block;width:100%;max-width:none;height:auto;touch-action:none;user-select:none}.process-bar{display:flex;align-items:center;justify-content:center;gap:32px;background:#fff;border-top:1px solid var(--line);padding:22px 28px}.clock{min-width:120px;text-align:right}.clock>span{font-size:11px;color:var(--muted);letter-spacing:.04em}.clock strong{font-size:32px;color:var(--fg)}.clock small{font-size:17px}.process-bar .run{min-width:250px;border:0;border-radius:12px;background:var(--accent);color:#fff;font-size:18px;font-weight:700;letter-spacing:0;padding:18px 28px;box-shadow:none}.process-bar .run:hover{background:#2646e8}.process-bar .run[aria-pressed=true]{background:#df4d36;box-shadow:none;border:0;color:#fff}.process-bar .run[aria-pressed=true]:hover{background:#c83b28}.timer-note{font-size:14px;line-height:1.5;color:var(--muted)}.bench-foot{background:#f5f6fa;padding:12px 28px;min-height:48px;border-top:1px solid var(--line)}.status-icon{background:#e6eafa;color:var(--accent);font-size:18px}#status{font-size:14px;line-height:1.6;color:#4e5668}.bench.success .bench-foot{background:#eaf6ee}.path-reward{background:#eaf6ee;padding:24px 28px}.path-reward p{font-size:16px}.zoom{display:none}.unit-label{fill:#3c434c;font-size:16px}.tag{font-size:11px}.brand>span{all:unset}.heading .eyebrow{font-size:12px}
@media(max-width:900px){.workshop{padding:20px}.heading h1{font-size:48px}.heading .edition{display:none}.timer-note{display:none}.scene-copy>p:last-child{max-width:none}.heading{margin-top:30px}.controls button{padding:0 12px}}
@media(max-width:560px){.workshop{padding:14px 12px}.heading{margin:28px 0 22px}.heading h1{font-size:39px}.heading .eyebrow{font-size:11px;letter-spacing:.06em}.lead{font-size:16px;margin-top:12px}#scenes{margin-bottom:12px}#scenes button{min-width:110px;padding:13px 10px}.tab-name{font-size:14px}.bench-head{padding:18px 16px 10px;align-items:flex-start;gap:12px;flex-wrap:wrap}.scene-copy{width:100%}.controls{width:auto}.controls button{height:40px}.scene-copy h2{font-size:23px}#scene-caption{font-size:16px}.connect-help{padding:6px 16px 12px;font-size:14px}.socket-demo{display:none}.zoom{display:block;border:0;background:transparent;color:var(--accent);padding:8px 16px;margin:0;font-size:14px}.viewport #machine{width:900px}.viewport.fitted #machine{width:100%}.process-bar{gap:16px;padding:16px}.clock{min-width:100px}.clock>span{font-size:10px}.clock strong{font-size:26px}.process-bar .run{min-width:0;flex:1;font-size:17px;padding:16px}.bench-foot{padding:12px 16px}.path-reward{padding:16px}.path-reward p{font-size:16px}.site-footer{font-size:13px}.afterword h2{font-size:30px}}
