:root{color:#283950;font-synthesis:none;--blue:#4284eb;--blue-dark:#2863c0;--muted:#7a879b;--border:#e6ebf2;--shadow:0 5px 20px #203b6910;background:#f3f6fc;font-family:Inter,Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:340px;margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button{color:inherit;background:0 0;border:0}button,a,select,input{outline-offset:4px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #f3aa32}button:not(:disabled){transition:background .15s,box-shadow .15s,transform .15s}button:not(:disabled):active{transform:translateY(1px)}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}svg{vertical-align:middle;flex-shrink:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.topbar{background:#fff;border-bottom:1px solid #e6ebf2;height:88px}.topbar-inner{justify-content:space-between;align-items:center;gap:24px;max-width:1480px;height:100%;margin:auto;padding:0 42px;display:flex}.brand{white-space:nowrap;align-items:center;gap:9px;display:flex}.brand>svg{width:53px;height:58px}.brand>span{letter-spacing:-1px;color:#2f70d3;font-size:25px;font-weight:800;line-height:1.2}.brand b{color:#3b4a61;font-weight:500}.brand small{letter-spacing:3px;color:#8090a6;margin:4px 0 0 2px;font-size:12px;font-weight:500;display:block}.mode-nav{background:#f4f7fb;border-radius:13px;gap:7px;padding:5px;display:flex}.mode-nav button{color:#77849a;border-radius:9px;align-items:center;gap:9px;min-height:44px;padding:0 22px;font-size:14px;font-weight:600;display:flex}.mode-nav button.active{color:#3277da;background:#fff;box-shadow:0 2px 6px #233c6110}.header-actions{align-items:center;gap:9px;display:flex}.progress-stat{color:#93a0b1;align-items:center;gap:7px;font-size:13px;display:flex}.progress-stat svg{color:#da4;margin-right:2px}.progress-stat b{color:#5d6e85}.header-divider{background:#e9edf3;width:1px;height:22px;margin:0 10px}.icon-button{color:#7d8ba0;border-radius:9px;justify-content:center;align-items:center;min-width:48px;height:48px;padding:0;display:inline-flex}.icon-button:hover:not(:disabled){color:#3379d9;background:#eef4fe}.help-button{color:#64758d;align-items:center;gap:7px;min-height:48px;padding:0 8px;font-size:14px;display:flex}.workspace{max-width:1400px;margin:auto;padding:24px 40px 16px}.journey-row{color:#8c99ab;justify-content:space-between;align-items:center;margin-bottom:25px;font-size:12px;display:flex}.journey-row>span,.save-status{align-items:center;gap:8px;display:flex}.small-dot{background:#86b3f5;border-radius:50%;width:6px;height:6px}.save-status{color:#8093a0;font-size:12px}.save-status svg{color:#7bab98}.mission-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.eyebrow{color:#7e8fa9;letter-spacing:.4px;margin-bottom:9px;font-size:13px}.eyebrow>span{color:#c6d0de;margin:0 8px}h1{letter-spacing:.5px;align-items:center;gap:15px;font-size:29px;line-height:1.3;display:flex}.concept-pill{color:#5c85c3;letter-spacing:0;background:#e6effe;border-radius:7px;padding:6px 11px;font-size:12px;font-weight:500}.level-select{color:#566a84;background:#fff;border:1px solid #e2e8f1;border-radius:10px;align-items:center;gap:10px;min-height:48px;padding:0 16px;font-size:14px;display:flex;box-shadow:0 2px 3px #23436b03}.level-select:hover{border-color:#abc7f0}.level-track{scrollbar-width:thin;align-items:center;gap:0;width:100%;margin:0 0 23px;display:flex;overflow-x:auto}.level-track button{color:#8e9bae;flex:1;align-items:center;gap:11px;min-height:48px;padding:0;font-size:12px;display:flex;position:relative}.level-track button:not(:last-child):after{content:"";background:#e0e6ef;flex:1;height:2px;margin:0 13px}.level-track button:last-child{flex:0}.level-track button>span{background:#f7f9fd;border:1px solid #dce4ef;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:11px;display:flex}.level-track button.current>span{color:#fff;background:#4b8cf0;border-color:#4b8cf0;box-shadow:0 0 0 5px #e5edfc}.level-track button.current{flex:2.5}.level-track button>b{white-space:nowrap;color:#4b7dc1;font-size:12px;font-weight:600}.level-track button.done>span{color:#58a982;background:#e4f3ec;border-color:#cfe7db}.studio{grid-template-columns:minmax(0,1fr) minmax(0,1.13fr);align-items:start;gap:24px;display:grid}.panel{box-shadow:var(--shadow);background:#fff;border:1px solid #e4eaf3;border-radius:20px;overflow:hidden}.panel-heading{justify-content:space-between;align-items:center;padding:21px 24px 0;display:flex}.panel h2{align-items:center;gap:9px;font-size:16px;font-weight:650;display:flex}.blue-dot{background:#64a0f6;border-radius:50%;width:8px;height:8px;margin-right:1px;display:inline-block}.stars-count{color:#9c9b91;background:#fff9e9;border-radius:9px;align-items:center;gap:7px;padding:7px 11px;font-size:13px;display:flex}.stars-count b{color:#9b782c}.map-area{padding:13px 22px 0}.map-svg{width:100%;max-height:475px;margin:0 auto;display:block;overflow:visible}.map-coordinate{fill:#a2b0c4;text-anchor:middle;font-family:inherit;font-size:12px}.map-legend{color:#8a98ab;justify-content:center;gap:21px;margin:9px 0 18px;font-size:12px;display:flex}.map-legend>span{align-items:center;gap:6px;display:flex}.start-marker{background:#e0ecfc;border:1.5px dashed #8bb4eb;border-radius:4px;width:14px;height:14px}.obstacle-marker{clip-path:polygon(10% 40%,45% 0,85% 10%,100% 75%,65% 100%,0 85%);background:#b0c7b7;width:14px;height:12px}.map-meta{color:#91a0b4;border-top:1px solid #edf0f6;justify-content:space-between;align-items:center;padding:14px 0;font-size:12px;display:flex}.map-meta>span{align-items:center;gap:7px;display:flex}.map-meta b{color:#58749b;font-weight:600}.mission-card{background:#f3f7ff;border:1px solid #e6eefc;border-radius:12px;gap:11px;margin:5px 22px 0;padding:16px;display:flex}.mission-icon{color:#6895d8;background:#e4edfe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:36px;display:flex}.mission-card h3{margin-bottom:7px;font-size:14px;font-weight:600}.mission-card p{color:#7f91ac;font-size:13px;line-height:1.85}.mission-rule{color:#6382af;margin-top:7px;font-size:12px;line-height:1.7}.hint-area{justify-content:space-between;align-items:center;gap:10px;padding:10px 22px 12px;display:flex}.hint-button{color:#b0924c;align-items:center;gap:7px;min-height:48px;padding:0;font-size:13px;display:flex}.hint-area>span{color:#a8b0bd;font-size:11px}.hints{gap:8px;padding:0 23px 17px;display:grid}.hints p{color:#8d7b4f;align-items:baseline;gap:9px;font-size:13px;line-height:1.8;display:flex}.hints b{color:#b69745;text-align:center;background:#fff3d6;border-radius:50%;min-width:20px;font-size:11px}.toolbox{border-bottom:1px solid #edf1f7;padding:23px 23px 19px}.section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.section-heading>span{color:#97a4b7;font-size:12px}.section-heading h2 svg{color:#83a4d4}.library-grid{flex-wrap:wrap;gap:12px;margin-top:19px;display:flex}.library-block{border:1px solid var(--block-border);background:var(--block-bg);min-height:59px;color:var(--block-ink);touch-action:none;border-bottom-width:4px;border-radius:11px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;font-weight:600;display:flex;position:relative}.library-block:hover:not(:disabled){filter:brightness(.975);box-shadow:0 3px 6px #345b8710}.library-icon{align-items:center;display:flex}.library-number{background:#ffffffd9;border-radius:7px;justify-content:center;align-items:center;min-width:28px;height:31px;margin-left:4px;font-size:14px;display:flex;box-shadow:0 1px 3px #3f639415}.block-forward{--block-bg:#e6f0ff;--block-border:#b9d3fa;--block-ink:#4e87d7}.block-backward{--block-bg:#e2f5f7;--block-border:#aadce2;--block-ink:#409da9}.block-left{--block-bg:#fff1d9;--block-border:#f1d5a2;--block-ink:#bc9446}.block-right{--block-bg:#eaf3e2;--block-border:#c4dcae;--block-ink:#7f9f57}.block-repeat{--block-bg:#f1eafd;--block-border:#d5c2f3;--block-ink:#9672c8}.block-call{--block-bg:#fdebf0;--block-border:#f0c2d1;--block-ink:#bd7691}.unlock-note{color:#a0adbf;align-items:center;gap:6px;margin-top:14px;font-size:11px;line-height:1.8;display:flex}.program-section{padding:13px 23px 0}.program-heading{margin-bottom:8px}.program-heading h2{font-size:15px}.count-pill{color:#92a0b3;white-space:nowrap;background:#f2f5f9;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:500}.history-actions{align-items:center;display:flex}.history-actions .icon-button{min-width:42px}.tool-separator{background:#e7ecf3;width:1px;height:17px;margin:0 5px}.board-paper{background-color:#fbfcff;background-image:radial-gradient(#dce4f1 1px,#0000 1px);background-size:17px 17px;border:1px solid #e4ebf5;border-radius:12px;min-height:248px;padding:17px 16px 12px}.program-start{color:#8796ab;align-items:center;gap:7px;margin-bottom:16px;font-size:12px;display:flex}.program-start>span:nth-of-type(2){color:#aab5c5;margin-left:4px;font-size:11px}.program-start>b{color:#879ebf;align-items:center;gap:4px;margin-left:auto;font-size:10px;font-weight:500;display:flex}.start-dot{background:#80c5b2;border-radius:50%;width:8px;height:8px;display:inline-block;box-shadow:0 0 0 4px #e6f4ee}.program-list{flex-wrap:wrap;align-items:flex-start;gap:12px;min-height:58px;padding:4px 0 9px;display:flex;position:relative}.program-list.target-container{border-radius:8px}.insert-end{color:#b2c2d9;background:#ffffff70;border:1.5px dashed #cbd8eb;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;min-width:48px;min-height:55px;transition:background .12s;display:flex}.insert-end.empty-target{background:#fbfcffb0;border:1.5px dashed #d7e2f2;flex-direction:column;gap:10px;width:100%;min-height:139px}.empty-target>svg{color:#8cafd9;box-sizing:content-box;background:#edf3fc;border-radius:12px;padding:10px}.empty-target strong{color:#8da3c1;font-size:13px;font-weight:500}.empty-target>span{color:#b0bccd;font-size:11px}.insert-end:hover:not(:disabled),.insert-end.drop-active{color:#3c7cd7;background:#e8f1ff;border-color:#5f96e5}.program-end{color:#b0bac8;align-items:center;gap:8px;margin-top:12px;font-size:11px;display:flex}.program-end>span{border:2px solid #c5cfdd;border-radius:2px;width:8px;height:8px}.block-wrap{max-width:100%;position:relative}.block-wrap.insert-before:before{content:"";z-index:10;background:#337beb;border-radius:4px;width:4px;position:absolute;top:0;bottom:0;left:-8px;box-shadow:0 0 0 3px #d6e8ff}.program-block{border:1.5px solid var(--block-border);background:var(--block-bg);color:var(--block-ink);border-bottom-width:4px;border-radius:10px;max-width:100%;position:relative}.block-top{align-items:center;min-height:54px;padding:0 7px 0 5px;display:flex}.order-number{border:1px solid var(--block-border);color:var(--block-ink);text-align:center;z-index:1;background:#fff;border-radius:5px;min-width:19px;padding:1px 4px;font-size:10px;line-height:15px;position:absolute;top:-9px;left:-5px}.block-handle{touch-action:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:48px;padding:0 7px;font-size:13px;font-weight:600;display:flex}.block-handle>svg:first-child{width:22px;height:22px}.grip{opacity:.4;margin-left:2px}.number-badge select{min-width:48px;height:48px;color:var(--block-ink);background:#ffffffe6;border:1px solid #fff;border-radius:6px;padding:0 5px;font-size:14px;font-weight:650}.program-block.selected{outline-offset:3px;outline:2px solid #568fe1}.program-block.executing{outline-offset:3px;outline:3px solid #f2b630;box-shadow:0 0 0 6px #ffeeb9}.program-block.context-active{border-color:#a17bce;box-shadow:0 0 0 2px #dac5f0}.step-bubble{color:#a58028;background:#fff6d7;border-top:1px solid #ecdba5;border-radius:0 0 6px 6px;padding:4px 8px;font-size:10px;display:block}.loop-wrap{flex:100%}.loop-wrap>.program-block{width:100%}.loop-description{color:#a087bd;flex-wrap:wrap;align-items:center;gap:5px;padding:0 12px 5px;font-size:11px;display:flex}.loop-description>button{align-items:center;gap:3px;min-height:48px;margin-left:auto;font-size:11px;display:flex}.loop-wrap .program-list{background:#ffffff80;border:1px solid #ddccec;border-radius:8px;margin:2px 10px 7px;padding:15px 12px 10px}.loop-wrap .empty-target{min-height:95px}.loop-wrap .empty-target>svg{background:0 0;width:23px;height:23px;padding:0}.loop-wrap .empty-target>span{font-size:10px}.selection-toolbar{justify-content:space-between;align-items:center;gap:5px;min-height:60px;display:flex}.selection-toolbar>span{color:#a2aec0;font-size:11px}.selection-actions{align-items:center;display:flex}.selection-actions .icon-button{min-width:40px;height:48px}.move-select{color:#879ab5;cursor:pointer;background:0 0;border:0;max-width:95px;min-height:48px;font-size:11px}.move-select:disabled{opacity:.4}.function-definitions{gap:13px;margin:5px 0 17px;display:grid}.function-panel{background:#fff9fc;border:1px solid #edd9e4;border-radius:10px;padding:12px}.function-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.function-heading h3{color:#ac7490;align-items:center;gap:9px;font-size:13px;display:flex}.function-heading>span{color:#b39eaa;font-size:10px}.function-symbol{text-align:center;border:1.5px solid;border-radius:6px;min-width:23px;font-size:17px;font-weight:700;line-height:23px;display:inline-block}.function-panel .empty-target{min-height:102px}.function-panel .empty-target>svg{background:0 0;padding:0}.function-executing{outline:2px solid #d59eb9}.player-panel{background:linear-gradient(#fff,#fcfdff);border-top:1px solid #ecf0f6;padding:16px 23px 20px}.player-options{justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;display:flex}.check-label{color:#8c9bb0;cursor:pointer;align-items:center;gap:6px;min-height:48px;font-size:12px;display:flex}.check-label input{accent-color:#6395df;width:15px;height:15px;margin:0 3px 0 0}.speed-control{background:#f3f6fa;border-radius:7px;align-items:center;gap:2px;padding:3px;display:flex}.speed-control>span{color:#98a5b8;margin:0 8px;font-size:11px}.speed-control button{color:#8f9caf;border-radius:5px;min-width:42px;min-height:42px;font-size:12px}.speed-control button.active{color:#5586d0;background:#fff;font-weight:600;box-shadow:0 1px 3px #27497413}.playback-controls{gap:10px;display:flex}.run-button{color:#fff;background:#4a88eb;border:1px solid #3a78d7;border-bottom:4px solid #316dc6;border-radius:11px;flex:1;justify-content:center;align-items:center;gap:12px;min-height:57px;font-size:16px;font-weight:600;display:flex;box-shadow:0 4px 9px #3d83e322}.run-button:hover:not(:disabled){background:#367ade}.run-button svg{width:18px}.pause-button{background:#e9b95c;border-color:#d5a23f}.secondary-control{color:#788aa4;white-space:nowrap;background:#fff;border:1px solid #dce4ef;border-bottom:3px solid #d6dfed;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:54px;padding:0 17px;font-size:13px;display:flex}.secondary-control:hover:not(:disabled){background:#f5f8fe}.execution-feedback{color:#94a4b9;align-items:center;gap:8px;min-height:49px;padding:12px 4px 0;display:flex}.execution-feedback>svg{width:30px;height:33px}.execution-feedback>div{flex-direction:column;gap:5px;display:flex}.execution-feedback strong{font-size:12px;font-weight:400;line-height:1.7}.execution-feedback span{font-size:11px;line-height:1.7}.feedback-success{color:#419c7b}.feedback-error,.feedback-incomplete{color:#b58a41}.feedback-running,.feedback-paused{color:#5b85be}.running-dot{background:#6a9dec;border-radius:50%;width:9px;height:9px;margin:0 8px;animation:1.5s infinite pulse}.next-level-button{color:#469b7d;background:#edf8f3;border:1px solid #d4ecdf;border-radius:9px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:48px;margin-top:12px;font-size:14px;display:flex}.workspace-footer{color:#99a7ba;justify-content:space-between;align-items:center;gap:15px;padding:15px 2px 0;display:flex}.workspace-footer>span{align-items:center;gap:9px;font-size:11px;display:flex}.workspace-footer>div{gap:18px;display:flex}.workspace-footer button{color:#8496b0;align-items:center;gap:7px;min-height:48px;font-size:12px;display:flex}.mobile-tabs{display:none}.notice{z-index:50;color:#5a769e;background:#fff;border:1px solid #d6e3f5;border-radius:13px;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 36px);padding:10px 12px 10px 18px;font-size:14px;line-height:1.7;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #183a6330}.notice>svg{color:#7e9fcc}.modal{color:#3b4e69;border:0;border-radius:22px;width:570px;max-width:calc(100vw - 28px);max-height:88dvh;padding:0;box-shadow:0 25px 90px #203f6240}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#243a5a66}.modal-wide{width:830px}.modal-content{padding:25px 29px 28px}.modal-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:13px;display:flex}.modal-heading h2{font-size:21px;line-height:1.5}.level-modal-intro{color:#8596ad;align-items:center;gap:8px;margin-bottom:25px;font-size:14px;display:flex}.level-modal-intro svg{color:#d6ac52}.chapter{margin-top:25px}.chapter h3{align-items:center;gap:10px;margin-bottom:13px;font-size:14px;display:flex}.chapter h3>span{color:#8b9fbc;background:#edf3fc;border-radius:5px;padding:4px 7px;font-size:11px}.level-cards{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.level-card{text-align:left;background:#fbfcff;border:1px solid #e1e8f2;border-radius:13px;flex-direction:column;gap:8px;min-height:120px;padding:16px 13px;display:flex;position:relative}.level-card:hover,.level-card.selected{background:#edf4ff;border-color:#9bc0f7}.level-card-number{color:#8aaad6;font-size:20px;font-weight:600}.level-card strong{font-size:14px;font-weight:600}.level-card>span:last-of-type{color:#96a5b9;font-size:12px}.level-card b{color:#699bdc;font-size:10px;font-weight:500;position:absolute;top:15px;right:9px}.free-level-card{text-align:left;color:#65a18f;background:#edf7f5;border:1px solid #d2e9e1;border-radius:12px;align-items:center;gap:16px;width:100%;margin-top:25px;padding:15px 18px;display:flex}.free-level-card>span{flex-direction:column;flex:1;gap:7px;display:flex}.free-level-card strong{font-size:14px}.free-level-card small{color:#93b2a8;font-size:12px}.help-intro{background:#f1f6ff;border-radius:13px;align-items:center;gap:17px;margin-bottom:23px;padding:15px;display:flex}.help-intro svg{width:60px;height:65px}.help-intro p{color:#6d8cba;font-size:15px;line-height:1.8}.help-steps{color:#7394c4;gap:17px;padding:0 0 0 25px;font-size:14px;display:grid}.help-steps li{padding-left:5px}.help-steps b,.help-steps span{display:block}.help-steps b{color:#4d6383;margin-bottom:6px;font-weight:600}.help-steps span{color:#899ab2;font-size:13px;line-height:1.8}.keyboard-help{border-top:1px solid #e9edf4;margin-top:22px;padding-top:20px}.keyboard-help strong{font-size:14px}.keyboard-help p{color:#8e9eb4;margin-top:7px;font-size:12px;line-height:1.9}.settings-section{margin:23px 0 20px}.settings-section h3{align-items:center;gap:8px;margin-bottom:10px;font-size:14px;display:flex}.settings-section label{color:#8294af;cursor:pointer;justify-content:space-between;align-items:center;min-height:48px;font-size:13px;display:flex}.settings-section input{accent-color:#548ce0;width:20px;height:20px}.settings-section p{color:#a0acbd;font-size:11px}.storage-note{color:#92a3bb;background:#f5f8fc;border-radius:11px;gap:12px;padding:15px;display:flex}.storage-note svg{color:#81ad9d}.storage-note p{font-size:12px;line-height:1.9}.confirm-copy{color:#8b9ab0;font-size:14px;line-height:1.9}.confirm-actions{justify-content:flex-end;gap:14px;margin-top:25px;display:flex}.danger-button{color:#fff;background:#eb8090;border-radius:10px;align-items:center;gap:9px;min-height:54px;padding:0 20px;font-size:14px;display:flex}.dragging{opacity:.45}.reduce-motion *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.python-toolbox .library-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.python-toolbox .library-block{text-align:left;min-width:0}.python-library-label{gap:5px;min-width:0;display:grid}.python-library-label code,.python-program code{font-family:Consolas,Courier New,monospace;font-size:13px}.python-library-label code{overflow-wrap:anywhere}.python-library-label small{font-size:11px;font-weight:400}.python-tip{color:#687b96;margin-top:14px;font-size:12px;line-height:1.8}.python-tip code{color:#466d9f}.python-program .program-list{flex-direction:column;align-items:stretch}.python-program .block-wrap{flex:none;width:100%}.python-program .block-wrap.insert-before:before{width:auto;height:4px;inset:-8px 0 auto}.python-program .block-top{flex-wrap:wrap;gap:4px;padding:3px 7px}.python-program .block-handle{text-align:left;justify-content:flex-start;min-width:0;max-width:100%}.python-program .block-handle code{overflow-wrap:anywhere}.python-program .block-handle>svg{flex-shrink:0}.python-program .function-heading{flex-wrap:wrap;gap:8px}.python-program .function-heading h3{min-width:0}.python-program .function-heading code{overflow-wrap:anywhere}.python-program .number-badge{align-items:center;gap:5px;margin-left:auto;display:flex}.python-parameter{font-size:11px}.python-program .selection-toolbar>span{overflow-wrap:anywhere;min-width:0}.python-preview{background:#f4f8fe;border:1px solid #dce6f2;border-radius:12px;min-width:0;margin:6px 0 18px;padding:14px}.python-preview h3{color:#476a9a;align-items:center;gap:7px;font-size:13px;display:flex}.python-preview pre{color:#345b87;tab-size:4;background:#fff;border-radius:8px;max-height:280px;margin:12px 0;padding:13px;line-height:1.8;overflow:auto}.python-preview p{color:#687b96;font-size:11px;line-height:1.8}@keyframes pulse{50%{opacity:.4}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.mission-card p{font-size:14px}.mission-rule{font-size:13px}.library-block,.block-handle,.secondary-control{font-size:14px}.history-actions .icon-button,.selection-actions .icon-button{min-width:48px}.speed-control button{min-width:48px;min-height:48px}.mode-nav button{min-height:48px}.workspace-footer button{font-size:13px}.selection-toolbar{flex-wrap:wrap}.selection-toolbar>span{font-size:12px}.execution-feedback strong{font-size:13px}.hint-button{font-size:14px}.program-list.depth-2 .block-top{flex-wrap:wrap}.number-badge{margin-left:auto}.program-block.block-repeat>.block-top{justify-content:flex-start}.program-block.block-repeat>.block-top .number-badge{margin-left:5px}@media (width>=1440px){.workspace{padding-top:28px}.map-svg{max-height:478px}.board-paper{min-height:290px}.insert-end.empty-target{min-height:179px}.function-panel .empty-target,.loop-wrap .empty-target{min-height:102px}}@media (width<=1150px){.workspace{padding:22px 25px}.topbar-inner{padding:0 25px}.studio{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:19px}.mode-nav button{padding:0 14px}.header-divider{margin:0 4px}.panel-heading{padding:18px 18px 0}.toolbox,.program-section{padding-left:17px;padding-right:17px}.player-panel{padding:13px 17px 18px}.map-area{padding:12px 14px 0}.mission-card{margin-left:16px;margin-right:16px}.hint-area{padding-left:16px;padding-right:16px}.concept-pill{display:none}.library-grid{gap:9px}.library-block{padding:8px 9px}.library-number{min-width:25px}.level-track button:not(:last-child):after{margin:0 9px}.level-track button.current{flex:2.8}.secondary-control{padding:0 12px}.selection-toolbar{padding-top:7px}.section-heading>span{font-size:11px}.hint-area>span,.speed-control>span{display:none}.map-legend{gap:14px}.brand>span{font-size:23px}.brand>svg{width:48px}.brand{gap:5px}}@media (width<=900px){.topbar-inner{gap:12px;padding:0 22px}.topbar{height:80px}.mode-nav button{padding:0 12px;font-size:13px}.progress-stat,.header-divider{display:none}.header-actions{gap:2px}.help-button{padding:0 6px}.workspace{max-width:790px}.studio{grid-template-columns:1fr;gap:22px}.map-svg{max-height:440px}.mission-card{margin:4px 22px 0}.map-area{padding:12px 25px 0}.toolbox{padding:23px}.program-section{padding:12px 23px 0}.player-panel{padding:15px 23px 20px}.library-grid{gap:12px}.library-block{padding:8px 13px}.panel-heading{padding:20px 24px 0}.board-paper{min-height:245px}.section-heading>span{font-size:12px}.hint-area{padding-left:23px;padding-right:23px}.hint-area>span{display:block}.map-meta{font-size:13px}.map-column{position:relative}.mission-heading{margin-bottom:13px}.journey-row{margin-bottom:22px}.level-track{margin-bottom:16px}.level-track button.current b{display:none}.level-track button.current{flex:1}.workspace-footer{padding-top:12px}.selection-toolbar{flex-wrap:nowrap}.selection-toolbar>span{font-size:13px}.speed-control>span{display:block}.concept-pill{display:inline-block}}@media (width<=600px){body{min-width:340px}.topbar{height:72px}.topbar-inner{padding:0 13px}.brand>span{font-size:21px}.brand>svg{width:43px;height:49px}.brand small{letter-spacing:2px;font-size:10px}.mode-nav{display:none}.header-actions .icon-button{min-width:44px}.header-actions{gap:0}.help-button>span{display:none}.workspace{padding:18px 14px 12px}.journey-row>span{display:none}.journey-row{justify-content:flex-end;margin-bottom:17px;font-size:11px}.save-status{font-size:11px}.mission-heading{align-items:flex-end;gap:8px;margin-bottom:13px}.eyebrow{margin-bottom:7px;font-size:11px}h1{font-size:24px}.concept-pill{display:none}.level-select{gap:6px;min-height:48px;padding:0 11px;font-size:12px}.level-select>svg:first-child{display:none}.level-track{gap:0;margin-bottom:14px}.level-track button{min-height:48px}.level-track button>span{width:24px;height:24px;font-size:10px}.level-track button:not(:last-child):after{min-width:1px;margin:0 2px}.level-track button.current>span{box-shadow:0 0 0 3px #e5edfc}.mobile-tabs{background:#eaf0fa;border:1px solid #e1e8f4;border-radius:12px;gap:4px;margin-bottom:16px;padding:5px;display:flex}.mobile-tabs button{color:#8395af;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:7px;min-height:48px;font-size:14px;display:flex}.mobile-tabs button[aria-selected=true]{color:#5484c9;background:#fff;box-shadow:0 2px 5px #1c3c6210}.mobile-tabs button>span{color:#839dbd;background:#edf3fd;border-radius:4px;padding:2px 5px;font-size:11px}.studio.mobile-map>.editor-column,.studio.mobile-code>.map-column{display:none}.panel{border-radius:15px}.panel-heading{padding:17px 18px 0}.map-area{padding:8px 12px 0}.map-svg{max-height:none}.map-legend{gap:15px;margin:8px 0 16px;font-size:11px}.map-legend svg{width:15px}.map-meta{padding:13px 5px;font-size:12px}.mission-card{gap:9px;margin:5px 15px 0;padding:13px}.mission-icon{width:30px;height:32px}.mission-card p{font-size:13px}.mission-card h3{font-size:14px}.mission-rule{font-size:12px}.hint-area{padding:7px 16px 9px}.hint-area>span{font-size:10px}.toolbox{padding:19px 15px}.section-heading>span{font-size:10px}.panel h2{font-size:15px}.library-grid{gap:8px;margin-top:15px}.library-block{min-height:58px;padding:7px 9px;font-size:13px}.library-icon svg{width:22px}.library-number{min-width:24px;height:29px;margin-left:1px}.unlock-note{font-size:10px}.program-section{padding:10px 13px 0}.program-heading h2{gap:6px;font-size:14px}.count-pill{padding:4px 6px;font-size:10px}.history-actions .icon-button{min-width:43px}.history-actions{margin-right:-4px}.tool-separator{margin:0 1px}.board-paper{min-height:255px;padding:16px 12px 12px}.program-start>span:nth-of-type(2){font-size:10px}.program-start>b{font-size:9px}.program-list{gap:12px}.block-handle{gap:4px;padding:0 5px;font-size:13px}.block-handle .grip{width:12px}.block-top{padding-right:5px}.selection-toolbar{flex-wrap:wrap;justify-content:flex-end;padding:7px 0}.selection-toolbar>span{flex:1;font-size:11px}.selection-actions .icon-button{min-width:40px}.move-select{max-width:77px}.player-panel{padding:11px 15px 16px}.player-options{margin-bottom:12px}.speed-control>span{display:none}.speed-control button{min-width:41px;min-height:48px}.check-label{gap:4px;font-size:11px}.playback-controls{gap:8px}.run-button{gap:7px;min-height:55px;font-size:14px}.secondary-control{gap:5px;padding:0 11px;font-size:12px}.secondary-control>svg{width:17px}.execution-feedback{padding-top:12px}.execution-feedback strong{font-size:12px}.workspace-footer{flex-wrap:wrap;justify-content:center;gap:4px;padding-top:10px}.workspace-footer>span{display:none}.workspace-footer>div{gap:30px}.workspace-footer button{font-size:12px}.modal{max-height:90dvh}.modal-content{padding:18px 18px 23px}.modal-heading{gap:10px}.modal-heading h2{font-size:18px}.level-cards{gap:8px}.level-card{gap:9px;min-height:125px;padding:13px 9px}.level-card strong{font-size:12px;line-height:1.5}.level-card>span:last-of-type{font-size:10px}.level-card b{font-size:9px;top:17px;right:6px}.level-card-number{font-size:17px}.level-modal-intro{font-size:12px}.chapter h3{font-size:13px}.free-level-card{gap:10px;padding:13px}.free-level-card small{font-size:11px}.free-level-card strong,.help-intro p{font-size:13px}.notice{gap:8px;padding-left:12px;font-size:12px;bottom:15px}.notice>.icon-button{min-width:36px}.function-heading h3{font-size:12px}.function-panel{padding:10px}.function-heading>span{font-size:9px}}@media (width<=390px){.program-heading{flex-wrap:wrap}.program-start>span:nth-of-type(2){display:none}.number-badge select{min-width:43px}.block-handle .grip{display:none}.level-track button>span{width:22px;height:22px}.level-card b,.hint-area>span{display:none}.selection-actions .icon-button{min-width:38px}}@media (width<=600px){.studio.mobile-map>.editor-column{display:block}.studio.mobile-map>.editor-column>.toolbox,.studio.mobile-map>.editor-column>.program-section{display:none}.studio.mobile-map .player-panel{border-top:0}.history-actions .icon-button,.selection-actions .icon-button,.speed-control button,.number-badge select{min-width:48px;min-height:48px}.selection-toolbar{flex-direction:column;align-items:stretch}.selection-toolbar>span{padding:4px}.selection-actions{justify-content:flex-end}.program-heading{flex-wrap:wrap}.level-track{scrollbar-width:thin;gap:4px;overflow-x:auto}.level-track button,.level-track button.current,.level-track button:last-child{flex:0 0 48px;min-width:48px}.level-track button:not(:last-child):after{margin:0 3px}.header-actions .icon-button{min-width:48px}}@media (width>=601px){.level-track button{min-width:48px}.level-track button.current{flex-shrink:0;min-width:max-content}}.program-list.target-container{outline-offset:4px;background-color:#edf4ff40;outline:1.5px dashed #9be}.program-list.target-container:has(>.empty-target){outline:0}@media (width>=901px) and (height<=950px){.topbar{height:76px}.workspace{padding-top:16px}.journey-row{margin-bottom:15px}.mission-heading{margin-bottom:10px}.level-track{margin-bottom:13px}.map-svg{max-height:340px}.map-area{padding-top:8px}.map-legend{margin-bottom:12px}.toolbox{padding-top:18px;padding-bottom:14px}.library-grid{margin-top:13px}.unlock-note{margin-top:9px}.board-paper{min-height:205px}.insert-end.empty-target{min-height:105px}.program-heading{margin-bottom:4px}.program-section{padding-top:7px}.player-panel{padding-top:10px;padding-bottom:15px}.player-options{margin-bottom:9px}.mission-card{padding:12px}.hint-area{padding-top:4px;padding-bottom:6px}.function-panel .empty-target,.loop-wrap .empty-target{min-height:95px}}@media (width<=600px){.studio.mobile-map>.editor-column{z-index:20;position:fixed;bottom:12px;left:14px;right:14px;box-shadow:0 6px 32px #203f6228}.studio.mobile-map>.editor-column .player-options{display:none}.studio.mobile-map>.editor-column .player-panel{padding:12px 14px}.studio.mobile-map .execution-feedback{min-height:43px;padding-top:8px}.workspace:has(.studio.mobile-map){padding-bottom:185px}.map-column{scroll-margin-bottom:190px}}@media (width<=1150px){.python-toolbox .library-grid{grid-template-columns:1fr}}@media (width>=601px) and (width<=900px){.level-track{scrollbar-width:thin;overflow-x:auto}.python-toolbox .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=901px) and (height>=800px){.python-studio>.map-column{position:sticky;top:16px}}@media (width<=600px){.python-program .board-paper{padding-left:10px;padding-right:10px}.python-program .loop-wrap .program-list{margin-left:6px;margin-right:6px;padding-left:7px;padding-right:7px}.python-program .block-handle code{font-size:12px}.python-preview{padding:11px}.python-preview .section-heading{flex-wrap:wrap;gap:6px}}
