:root{font:16px "Helvetica Neue",Arial,sans-serif;color:#25333d;background:#eef2f5;--ink:#25333d;--muted:#7b8994;--line:#e4e9ec;--yellow:#f4cb25;--blue:#44aacc;--orange:#f4844f;--purple:#a798d9}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.27;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #3295c1;outline-offset:4px}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;stroke-width:1.7;flex-shrink:0}button{transition:background .16s,transform .16s}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.app{height:100dvh;display:grid;grid-template-rows:88px 88px minmax(0,1fr) 46px}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:900;letter-spacing:-1px}.brand>span:last-child{line-height:1}.brand small{display:block;font-size:12px;letter-spacing:1.8px;font-weight:500;margin-top:7px;color:#8a949b}.brand-mark{width:44px;height:44px;display:grid;place-items:center;background:var(--yellow);border-radius:12px;box-shadow:inset 0 -3px #d9b422}.brand-mark svg{width:29px;height:29px;stroke-width:2}.top-note{font-family:monospace;font-size:12px;letter-spacing:1.5px;color:#9aA4ac}.header-actions{display:flex;align-items:center;gap:23px}.quiet{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;padding:8px 0}.quiet svg{width:17px;height:17px;color:#7b8994}.quiet:hover{color:#d29e00}.header-divider{width:1px;height:24px;background:var(--line)}.icon-button{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0;color:#7b8994;flex-shrink:0}.icon-button:hover{background:#eaf0f4;color:var(--ink)}.icon-button.active{background:#fff1ad;color:#766109}.project-bar{display:flex;justify-content:space-between;align-items:center;padding:0 30px;background:#fff;gap:20px;border-bottom:1px solid #dfe6eb}.project-info{display:flex;align-items:center;gap:14px}.project-dot{width:7px;height:7px;background:var(--yellow);border-radius:2px;transform:rotate(45deg);margin-right:3px}.project-info h1{font-size:19px;letter-spacing:-.4px;margin:0 0 7px;font-weight:600}.project-info>div>span{font-size:12px;color:#8a949d}.sandbox-badge{font:12px monospace;letter-spacing:1.2px;color:#8b969f;border:1px solid var(--line);border-radius:5px;padding:6px 8px;margin-left:9px}.playback{display:flex;align-items:center;gap:14px}.step-button{display:flex;align-items:center;gap:6px;font-size:13px;color:#7c8994;padding:9px}.step-button svg{width:16px;height:16px}.run-button{min-height:44px;padding:12px 18px;background:var(--yellow);border:1px solid #e6bd16;border-radius:9px;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:650;box-shadow:0 2px 0 #d5ad13}.run-button:hover{background:#fbd847}.run-button svg{width:15px;height:15px}.run-button kbd{font:12px monospace;letter-spacing:.5px;border:1px solid #92781b50;border-radius:3px;padding:3px 4px;opacity:.6;margin-left:15px}.run-button.running{background:#283945;border-color:#283945;color:#fff;box-shadow:0 2px 0 #16222b}.run-button.running kbd{border-color:#ffffff60}.workbench{display:flex;min-height:0}.parts-panel{width:246px;background:#fff;border-right:1px solid #dfe6eb;display:flex;flex-direction:column;flex-shrink:0;z-index:5}.parts-heading{display:flex;justify-content:space-between;padding:24px 20px 21px}.parts-heading h2{margin:0 0 9px;font-size:16px;letter-spacing:-.3px;font-weight:600;display:flex;align-items:center;gap:9px}.parts-heading h2>span{font:12px monospace;border-radius:4px;padding:4px 5px;background:#f0f3f5;color:#85939f}.parts-heading p{font-size:12px;color:#8c98a2;margin:0;line-height:1.6}.close-parts{display:none}.part-tabs{display:flex;gap:2px;padding:0 15px 18px}.part-tabs button{flex:1;padding:8px 5px;border-radius:6px;font-size:12px;color:#8b969f}.part-tabs button.active{background:#f1f4f6;color:#273a47;font-weight:600}.part-tabs button:hover{background:#f5f7f8}.parts-list{padding:0 13px 20px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d9e0e5 transparent;flex:1;min-height:0}.part-group-label{font:12px monospace;letter-spacing:1.5px;color:#adb6bc;padding:15px 9px 10px}.part-card{width:100%;display:flex;align-items:center;padding:6px 7px;gap:10px;text-align:left;border-radius:9px;border:1px solid transparent;position:relative;min-height:70px;touch-action:pan-y}.part-card:hover{background:#f6f8fa;border-color:#e6ebef}.part-card:active{cursor:grabbing}.part-card canvas{width:55px;height:54px;flex-shrink:0}.part-card strong{font-size:13px;font-weight:550;display:block;margin-bottom:5px;letter-spacing:-.15px}.part-card small{font-size:12px;color:#929da6;display:block;line-height:1.4}.part-card .part-add{font-size:18px;color:#bdc5cb;position:absolute;right:7px;opacity:0}.part-card:hover .part-add{opacity:1}.parts-footer{border-top:1px solid var(--line);padding:17px 16px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#9aa5ae}.parts-footer svg{width:13px;height:13px}.stage{flex:1;min-width:0;position:relative;overflow:hidden;background:#f1f5f8}#canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px;cursor:default}.stage-heading{position:absolute;left:28px;top:25px;pointer-events:none}.workbench-label{font:12px monospace;letter-spacing:2px;color:#9aa8b3;display:flex;gap:12px;align-items:center}.workbench-label span{color:#bcc5cd;font-size:12px}.stage-help{font-size:12px;color:#a1adb7;margin-top:10px}.canvas-tools{position:absolute;right:25px;top:22px;display:flex;align-items:center;gap:5px;border:1px solid #e0e7ec;background:#ffffffee;box-shadow:0 3px 12px #35495806;padding:5px;border-radius:11px}.canvas-tools>.icon-button{width:34px;height:33px}.canvas-tools svg{width:17px;height:17px}.canvas-tools>span{width:1px;height:19px;background:var(--line);margin:0 6px}.stage-bottom{position:absolute;bottom:24px;left:26px;right:25px;display:flex;justify-content:space-between;align-items:center;gap:12px;pointer-events:none}.stage-bottom>*{pointer-events:auto}.surprise-button{border:1px solid #dce4eb;background:#fff;box-shadow:0 3px 9px #1c2f4206;border-radius:8px;min-height:39px;display:flex;align-items:center;gap:9px;padding:10px 13px;font-size:12px}.surprise-button:hover{background:#fff7ce;border-color:#ecd15d}.surprise-button svg{width:15px;height:15px}.zoom-controls{border:1px solid #dce4eb;background:#fff;box-shadow:0 3px 9px #1c2f4206;border-radius:9px;display:flex;align-items:center;gap:1px;padding:3px}.zoom-controls .icon-button{width:31px;height:30px}.zoom-controls svg{width:15px;height:15px}#zoom-value{min-width:42px;text-align:center;font:12px monospace;color:#81909d}.zoom-line{width:1px;height:16px;background:var(--line);margin:0 5px}.start-hint{position:absolute;left:50%;bottom:26px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;border:1px solid #e0e5e9;box-shadow:0 7px 22px #263c4c0a;border-radius:10px;background:#fff;padding:13px 14px;max-width:400px;white-space:nowrap;pointer-events:auto}.hint-arrow{width:32px;height:32px;display:grid;place-items:center;background:#fff5c9;border-radius:8px;color:#b59618}.hint-arrow svg{width:17px;height:17px}.start-hint>span:nth-child(2){font-size:12px;color:#909ba3;line-height:1.5}.start-hint b{display:block;color:#3c4c58;font-size:12px;font-weight:500;margin-top:3px}.start-hint button{align-self:flex-start;color:#b3bec5;padding:1px}.start-hint button svg{width:12px;height:12px}.status-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;padding:0 22px;border-top:1px solid #dce3e9;font-size:12px;color:#98a4ae}.live-status{display:flex;align-items:center;gap:16px;white-space:nowrap}.live-status>b{font:12px monospace;letter-spacing:1px;color:#7e8b96}#status-indicator{width:6px;height:6px;background:#b8c2ca;border-radius:100%;margin-right:-7px}#status-indicator.running{background:#79b087;box-shadow:0 0 0 3px #79b08719}.status-divider{width:1px;height:14px;background:var(--line)}.simulation-stats{display:flex;align-items:center;gap:24px}.simulation-stats>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.simulation-stats svg{width:13px;height:13px;color:#aeb8bf}.simulation-stats b{font-weight:400;color:#788893;font-variant-numeric:tabular-nums}.simulation-stats button{font:12px monospace;padding:5px 7px;border:1px solid var(--line);border-radius:4px;color:#7b8b96}.inspector{position:absolute;right:23px;top:80px;width:260px;padding:14px 20px 20px;background:#fff;border:1px solid #dde5eb;box-shadow:0 12px 35px #28425312;border-radius:12px;max-height:calc(100% - 165px);overflow:auto;scrollbar-width:thin;scrollbar-color:#dbe3e9 transparent}.inspector-top{display:flex;align-items:center;justify-content:space-between;font:12px monospace;letter-spacing:1px;color:#9ba6ae}.inspector-top .icon-button{width:25px;height:25px}.inspector-top svg{width:14px;height:14px}#part-preview{display:block;width:175px;height:126px;margin:0 auto 4px}.inspector h2{font-size:20px;letter-spacing:-.5px;margin:6px 0 10px}.inspector>p{font-size:13px;color:#84929e;line-height:1.8;margin:0 0 22px}.setting{border-top:1px solid var(--line);padding-top:17px;margin-top:16px}.setting label{font-size:12px;display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.setting strong{font-weight:500;color:#a48a23}.setting input{width:100%;accent-color:#d1a614}.swatches{display:flex;gap:10px}.swatches button{width:25px;height:25px;border-radius:100%;border:3px solid #fff;outline:1px solid #e0e5e8}.swatches button.active{outline:2px solid #445d70}.connection-info{font-size:12px;line-height:1.8;color:#9aa7b0;padding:17px 0 4px}.part-actions{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:9px}.part-actions button{display:flex;justify-content:center;align-items:center;gap:6px;font-size:12px;flex:1;padding:9px 5px;border:1px solid var(--line);border-radius:6px}.part-actions svg{width:13px;height:13px}.part-actions .delete-button{color:#b77a6a}.part-actions button:hover{background:#f5f7f8}.toast{position:absolute;top:81px;left:50%;transform:translateX(-50%);z-index:10;max-width:min(450px,calc(100% - 30px));font-size:13px;line-height:1.6;background:#2b3d4b;color:#f4f6f8;border-radius:9px;box-shadow:0 8px 26px #253e5220;padding:13px 18px;pointer-events:none;animation:toast-in .2s ease-out}.empty-hint{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);text-align:center;max-width:350px;width:90%;color:#738796;pointer-events:none}.empty-hint>svg{width:45px;height:45px;margin-bottom:14px;color:#aebfc9;stroke-width:1}.empty-hint h2{font-size:25px;color:#435b6d;letter-spacing:-.7px;margin:10px 0}.empty-hint p{font-size:14px;line-height:1.8;margin:10px 0 23px}.empty-hint button{pointer-events:auto;margin:0 auto}.mobile-parts{display:none}.dialog{color:#2b3b48;border:1px solid #e0e6eb;border-radius:18px;box-shadow:0 25px 130px #243f5850;width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:42px;overflow:auto;background:#fff}.dialog::backdrop{background:#223e5466;backdrop-filter:blur(7px)}.dialog-close{position:absolute;right:15px;top:15px}.dialog-eyebrow{font:12px monospace;letter-spacing:1.7px;color:#a89855;margin-bottom:22px}.dialog h2{font-size:35px;letter-spacing:-1.2px;line-height:1.14;margin:0 0 16px}.dialog>p{font-size:14px;color:#8a98a3;line-height:1.8;margin:0 0 26px}.guide{display:flex;flex-direction:column;gap:20px;margin-bottom:23px}.guide>div{display:flex;gap:18px}.guide>div>b{font:13px monospace;padding-top:3px;color:#c5b466}.guide p{font-size:13px;color:#8797a3;margin:0;line-height:1.8}.guide strong{display:block;font-size:14px;font-weight:600;color:#344d60;margin-bottom:6px}.help-note{display:flex;align-items:flex-start;gap:10px;padding:15px;background:#f7f9fa;border-radius:8px;font-size:12px;line-height:1.7;color:#8395a3}.help-note svg{width:17px;height:17px;margin-top:2px;color:#b1a15e}.shortcuts{display:flex;flex-wrap:wrap;gap:14px 18px;font-size:12px;color:#8b9aa6;margin:23px 0}.shortcuts>span{display:flex;align-items:center;gap:6px}kbd{font:12px monospace;padding:3px 4px;border:1px solid #dce4ea;border-radius:4px;color:#718698}.yellow-button{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--yellow);border:1px solid #e5bd17;border-radius:8px;font-size:13px;font-weight:550;min-height:42px;padding:12px 16px}.yellow-button:hover{background:#ffda42}.yellow-button svg{width:16px;height:16px}.recipe-list{display:flex;flex-direction:column;gap:12px}.recipe-card{border:1px solid #e0e7ec;border-radius:10px;padding:17px 16px;display:flex;align-items:center;gap:14px;text-align:left;width:100%}.recipe-card:hover{border-color:#dbc153;background:#fffdf3}.recipe-number{font:20px monospace;font-weight:400;background:#f6f2e1;color:#b1a05c;width:50px;height:50px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.recipe-card strong{display:block;font-size:15px;margin-bottom:7px;letter-spacing:-.2px}.recipe-card small{display:block;font-size:12px;color:#99a5ae;line-height:1.7}.recipe-card>svg{width:17px;height:17px;margin-left:auto;color:#aab5bd}.blank-button{display:flex;align-items:center;gap:8px;color:#8b9ca8;font-size:12px;margin-top:25px;padding:4px 0}.blank-button svg{width:15px;height:15px}.noscript{position:fixed;inset:0;z-index:100;background:#fff;display:grid;place-items:center;padding:35px;text-align:center}.drag-over{box-shadow:inset 0 0 0 3px #d1b430}.stage.connecting{cursor:crosshair}@keyframes toast-in{from{opacity:0;margin-top:-5px}to{opacity:1;margin-top:0}}
@media(min-width:1600px){.parts-panel{width:278px}.parts-heading{padding:28px 23px 24px}.parts-heading h2{font-size:18px}.parts-heading p{font-size:13px}.parts-list{padding:0 17px 24px}.part-card{min-height:83px;gap:12px}.part-card canvas{width:65px;height:62px}.part-card strong{font-size:14px}.part-card small{font-size:12px}.part-tabs button{font-size:13px}.parts-footer{font-size:12px}.header{padding:0 35px}.project-bar{padding:0 35px}.project-info h1{font-size:21px}.project-info>div>span{font-size:13px}.run-button{font-size:14px}.stage-heading{left:32px;top:28px}.canvas-tools{right:30px;top:26px}}
@media(max-width:1150px){.app{grid-template-rows:77px 81px minmax(0,1fr) 42px}.header{padding:0 23px}.top-note{display:none}.brand{font-size:23px}.brand-mark{width:39px;height:39px}.brand small{font-size:12px}.project-bar{padding:0 23px}.project-info h1{font-size:18px}.project-info{gap:10px}.project-info>div>span{font-size:12px}.sandbox-badge{display:none}.parts-panel{width:219px}.parts-heading{padding:22px 17px 18px}.parts-heading p{font-size:12px}.part-tabs{padding:0 11px 15px}.parts-list{padding:0 9px 15px}.part-card{gap:7px;padding:6px 5px}.part-card strong{font-size:12px}.part-card small{font-size:12px}.part-card canvas{width:51px;height:50px}.parts-footer{font-size:12px;padding:15px 8px}.stage-heading{left:22px;top:22px}.workbench-label{font-size:12px}.stage-help{font-size:12px;max-width:190px;line-height:1.7}.canvas-tools{right:19px;top:19px;gap:3px;padding:4px}.canvas-tools>.icon-button{width:30px;height:30px}.start-hint{bottom:80px;padding:11px 12px}.stage-bottom{left:20px;right:19px;bottom:22px}.status-bar{padding:0 18px;font-size:12px}.live-status{gap:13px}.live-status>b{font-size:12px;letter-spacing:.7px}.simulation-stats{gap:16px}.inspector{right:19px;width:238px;padding:13px 17px 17px;top:71px;max-height:calc(100% - 140px)}.inspector h2{font-size:19px}.inspector>p{font-size:12px}.header-actions{gap:20px}.run-button kbd{display:none}.playback{gap:10px}}
@media(max-width:850px){.app{grid-template-rows:71px 79px minmax(0,1fr) 41px}.header{padding:0 18px}.brand{font-size:22px;gap:9px}.brand small{font-size:12px;letter-spacing:1.6px}.header-actions{gap:15px}.quiet{font-size:12px;gap:6px}.header-divider{margin-left:1px}.project-bar{padding:0 18px}.project-info h1{font-size:17px}.project-info>div>span{font-size:12px}.playback{gap:5px}.step-button{font-size:12px;padding:8px 5px}.run-button{padding:11px 13px;font-size:12px;gap:8px;min-height:40px}.parts-panel{width:188px}.parts-heading{padding:20px 14px 18px}.parts-heading h2{font-size:15px}.parts-heading p{font-size:12px}.part-tabs{padding:0 7px 12px}.part-tabs button{font-size:12px}.parts-list{padding:0 6px 15px}.part-card{gap:4px;padding:4px 2px;min-height:64px}.part-card strong{font-size:12px;letter-spacing:-.2px}.part-card small{font-size:12px}.part-card canvas{width:48px;height:46px}.part-group-label{font-size:12px;padding:13px 8px 8px}.part-card .part-add{display:none}.parts-footer{padding:13px 5px;font-size:12px;gap:4px}.parts-footer svg{width:11px}.canvas-tools{right:15px;top:18px}.canvas-tools>.icon-button{width:27px;height:28px}.canvas-tools svg{width:15px;height:15px}.canvas-tools>span{margin:0 3px}.stage-heading{left:17px;top:23px}.stage-help{max-width:140px;font-size:12px}.stage-bottom{left:17px;right:15px;bottom:19px}.surprise-button{font-size:12px;padding:9px 11px;min-height:36px}.zoom-controls .icon-button{width:28px;height:27px}#zoom-value{min-width:35px;font-size:12px}.live-status .small-status{display:none}.simulation-stats{gap:13px}.status-bar{padding:0 15px}.inspector{right:15px;top:69px;width:218px;padding:11px 15px 15px}.inspector>p{font-size:12px}.inspector h2{font-size:18px}.inspector-top{font-size:12px}#part-preview{width:146px;height:105px}.part-actions button{font-size:12px}.start-hint{max-width:305px}.hint-arrow{width:28px;height:28px}.start-hint b{font-size:12px}.start-hint>span:nth-child(2){font-size:12px}}
@media(max-width:650px){.app{grid-template-rows:66px 80px minmax(0,1fr) 42px}.header{padding:0 15px}.brand{font-size:22px;gap:9px}.brand small{font-size:12px;letter-spacing:1.4px}.brand-mark{width:34px;height:36px;border-radius:10px}.brand-mark svg{width:24px;height:24px}.header-actions{gap:10px}.header-actions .quiet span{display:none}.header-actions .quiet{padding:8px 4px}.header-actions .quiet svg{width:18px;height:18px}.header-divider{display:none}.header-actions .icon-button{width:26px}.header-actions .icon-button svg{width:18px;height:18px}.project-bar{padding:0 14px;gap:10px}.project-info{gap:0}.project-dot{display:none}.project-info h1{font-size:15px;max-width:190px;line-height:1.2;margin-bottom:6px}.project-info>div>span{font-size:12px;display:block;max-width:180px;line-height:1.45}.playback{gap:4px}.playback>#rewind{width:27px}.playback>#rewind svg{width:17px;height:17px}.step-button{display:none}.run-button{padding:11px 12px;min-height:38px;gap:6px;font-size:12px}.run-button svg{width:13px;height:13px}.parts-panel{position:fixed;top:146px;bottom:42px;left:0;width:250px;z-index:20;box-shadow:10px 0 35px #24445815;transform:translateX(-110%);transition:transform .25s}.parts-panel.open{transform:translateX(0)}.parts-heading{padding:22px 18px 18px}.parts-heading h2{font-size:17px}.parts-heading p{font-size:12px}.close-parts{display:flex;width:27px;height:27px}.part-tabs{padding:0 12px 17px}.part-tabs button{font-size:12px}.parts-list{padding:0 12px 20px}.part-card{gap:10px;min-height:72px}.part-card strong{font-size:13px}.part-card small{font-size:12px}.part-card canvas{width:55px;height:54px}.part-group-label{font-size:12px}.parts-footer{font-size:12px;padding:15px 10px}.stage-heading{top:22px;left:18px}.workbench-label{font-size:12px;letter-spacing:1.5px}.stage-help{font-size:12px;max-width:145px;line-height:1.5}.canvas-tools{top:19px;right:15px;gap:2px}.canvas-tools>.icon-button{width:25px;height:28px}.canvas-tools>span{margin:0 3px}.canvas-tools svg{width:14px;height:14px}.stage-bottom{bottom:18px;left:16px;right:15px}.surprise-button{font-size:12px;gap:6px;padding:9px 10px;min-height:34px}.surprise-button svg{width:13px;height:13px}.mobile-parts{display:flex;align-items:center;gap:7px;position:absolute;left:16px;bottom:64px;background:#fff;border:1px solid #dce4eb;box-shadow:0 3px 10px #2a3e5010;border-radius:8px;padding:11px 13px;font-size:12px;font-weight:550}.mobile-parts svg{width:15px;height:15px}.start-hint{bottom:113px;max-width:310px;gap:8px}.status-bar{padding:0 12px;gap:5px;font-size:12px}.live-status{gap:10px}.live-status>b{font-size:12px;letter-spacing:.6px}.live-status .status-divider,.live-status #parts-metric{display:none}.simulation-stats{gap:12px}.simulation-stats svg{display:none}.simulation-stats>span{gap:4px}.simulation-stats>span:first-child{display:none}.simulation-stats button{font-size:12px;padding:4px 5px}.inspector{top:auto;bottom:111px;right:13px;width:220px;max-height:calc(100% - 178px);padding:12px 16px 15px;z-index:6}#part-preview{width:135px;height:97px}.inspector h2{font-size:18px}.inspector>p{font-size:12px;margin-bottom:14px}.setting{padding-top:13px;margin-top:13px}.toast{top:75px;max-width:calc(100% - 30px);font-size:12px;width:max-content}.dialog{padding:35px 25px;max-height:calc(100dvh - 26px)}.dialog h2{font-size:30px}.dialog-eyebrow{font-size:12px;margin-bottom:18px}.dialog>p{font-size:13px}.guide p{font-size:12px}.guide strong{font-size:13px}.guide>div{gap:13px}.help-note{font-size:12px}.shortcuts{font-size:12px;gap:12px}.yellow-button{font-size:12px}.recipe-card{padding:14px 12px;gap:11px}.recipe-number{width:42px;height:46px;font-size:18px}.recipe-card strong{font-size:13px}.recipe-card small{font-size:12px}.recipe-card>svg{width:14px}.blank-button{font-size:12px}}
@media(max-width:370px){.brand{font-size:19px}.brand small{font-size:12px}.brand-mark{width:31px;height:33px}.header{padding:0 11px}.header-actions{gap:6px}.project-info h1{font-size:14px;max-width:160px}.project-info>div>span{max-width:155px;font-size:12px}.project-bar{padding:0 11px;gap:6px}.run-button{font-size:12px;padding:10px}.playback>#rewind{display:none}.stage-heading{left:13px}.stage-help{max-width:115px;font-size:12px}.canvas-tools{right:12px}.canvas-tools>.icon-button{width:23px}.simulation-stats{gap:8px}.live-status>b{font-size:12px}.status-bar{padding:0 10px}.stage-bottom{left:12px;right:12px}.zoom-controls .icon-button{width:25px}#zoom-value{min-width:32px}.surprise-button{font-size:12px}.mobile-parts{left:12px}.start-hint{max-width:290px}}
@media(max-height:650px){.app{grid-template-rows:61px 68px minmax(0,1fr) 37px}.brand-mark{width:35px;height:35px}.brand{font-size:21px}.brand small{font-size:12px}.project-info h1{font-size:17px}.project-info>div>span{font-size:12px}.run-button{min-height:37px;padding:10px 13px}.parts-heading{padding-top:18px;padding-bottom:15px}.parts-panel{top:129px;bottom:37px}.stage-heading{top:19px}.canvas-tools{top:15px}.stage-bottom{bottom:15px}.start-hint{bottom:67px}.inspector{top:66px;bottom:auto;max-height:calc(100% - 126px)}#part-preview{display:none}.inspector h2{font-size:18px;margin-top:10px}.inspector>p{font-size:12px}.status-bar{font-size:12px}.mobile-parts{bottom:61px}.dialog{padding:31px}.dialog h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.output-setting{display:block;margin-top:14px;color:#7e929f;font-size:12px}.output-setting select{display:block;width:100%;font:12px Arial,sans-serif;color:#415c70;background:#f7f9fb;border:1px solid #dce5eb;padding:10px 8px;border-radius:6px;margin-top:8px;min-height:37px;cursor:pointer}.input-count{line-height:1.7}.parts-list .part-card strong{font-size:14px}.parts-list .part-card small{font-size:12px}.part-card{padding-right:9px}.part-card .part-add{display:none}.quiet,.part-tabs button{font-size:14px}.project-info>div>span,.parts-heading p,.stage-help,.surprise-button,.step-button,.start-hint>span:nth-child(2),.start-hint b{font-size:12px}.inspector>p{font-size:14px}.setting label,.output-setting{font-size:13px}.connection-info{font-size:12px}.part-actions button{font-size:12px}.dialog>p,.guide p{font-size:14px}.help-note{font-size:13px}.recipe-card small{font-size:13px}.parts-panel{width:260px}.parts-list .part-card{min-height:76px}.part-card canvas{width:58px;height:57px}.stage .start-hint{max-width:410px}.start-hint b{font-size:13px}
@media(max-width:1150px) and (min-width:651px){.parts-panel{width:230px}.parts-list .part-card{gap:7px}.part-card canvas{width:48px;height:50px}.parts-list .part-card strong{font-size:13px}.parts-list .part-card small{font-size:12px}.parts-heading p{font-size:12px}.part-tabs button{font-size:13px}.start-hint{bottom:81px}.stage .start-hint{max-width:370px}}
@media(max-width:850px){.stage-help{max-width:130px;font-size:12px}.part-card strong{line-height:1.25}.start-hint{white-space:normal;width:320px}.start-hint b{font-size:12px}.start-hint>span:nth-child(2){font-size:12px}.start-hint>span:nth-child(2){min-width:0}.parts-footer{font-size:12px;line-height:1.5}.parts-heading h2{font-size:17px}}
@media(max-width:650px){.parts-panel{width:270px}.part-card canvas{width:58px;height:57px}.parts-list .part-card{gap:10px}.project-info>div>span{font-size:12px}.stage-help{max-width:140px;font-size:12px}.inspector{width:238px}.inspector>p{font-size:13px}.surprise-button{font-size:12px}.start-hint{width:300px;bottom:113px}.quiet span{display:none}.brand small{display:none}.brand{font-size:23px}.run-button{font-size:12px}.project-info h1{font-size:16px}.stage-heading{max-width:145px}.parts-heading p{font-size:12px}.part-tabs button{font-size:14px}.mobile-parts{font-size:13px}.dialog>p,.guide p{font-size:14px}.help-note{font-size:13px}.recipe-card strong{font-size:14px}}

@media(max-width:650px){.project-info{min-width:0}.project-info>div{min-width:0}.project-info h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.project-info>div>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.playback{flex-shrink:0}}
@media(max-width:370px){.project-info h1{max-width:160px}}
