:root{font-family:Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;color:#213d42;background:#f4f5ee;font-synthesis:none;font-weight:400;--navy:#142f3c;--mint:#b8edcf;--green:#3d7964;--muted:#7d8e8a;--line:#e0e6db;--orange:#ecab64;--cream:#f7f7f0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button,a,input,select{outline-offset:4px}a{color:inherit;text-decoration:none}button{border:0}svg{flex-shrink:0;vertical-align:middle}p,h1,h2,h3{margin:0}button svg{pointer-events:none}.muted{color:var(--muted);font-size:13px;line-height:1.8}.tiny{font-size:11px}.hidden{display:none!important}.full-width{width:100%}.boot,.offline{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:var(--cream)}.boot-logo{font-size:65px;color:#6a9b87}.boot p{color:#7d8e8a;font-size:14px}.offline h1{font-size:26px}.offline p{color:var(--muted);max-width:600px;text-align:center}.btn{height:42px;padding:0 18px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:650;white-space:nowrap;transition:background .16s,transform .16s}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--navy);color:#f0f7ec}.btn.primary:hover{background:#234956}.btn.secondary{background:#fffef8;color:#3b5755;border:1px solid #dce3d6}.btn.secondary:hover{background:#eef3e9}.btn.submit{background:#e7f2e6;color:#386d57;border:1px solid #d1e0cc}.btn.submit:hover{background:#d7ead4}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:6px;color:#638077;background:transparent}.icon-btn:hover{background:#e4ece1;color:#2d5e4d}.icon-btn.active{background:#e7bc8270;color:#986938}.text-button{display:inline-flex;align-items:center;gap:6px;background:none;padding:0;color:#567266;font-size:11px}.text-button:hover{color:#183e31}.section-kicker{font-size:9px;letter-spacing:2px;font-weight:700;color:#8b9c8e}.eyebrow{font-size:10px;letter-spacing:1.2px;color:#c6dacf;display:inline-flex;align-items:center;gap:8px}.eyebrow i,.status-dot,.live-dot{display:inline-block;width:6px;height:6px;background:#a6dab9;border-radius:50%;flex-shrink:0}.status-dot{background:#7dae91}.status-dot.amber,.amber{background:var(--orange)!important}.eyebrow.dark{color:#799485;letter-spacing:.8px}.brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.logo-mark{height:37px;width:37px;display:inline-flex;align-items:center;justify-content:center;background:#d3efdb;border-radius:11px;color:#244c40}.logo-type{display:flex;flex-direction:column;font-size:16px;line-height:1.3;font-weight:760;letter-spacing:2px}.logo-type small{font-size:7px;letter-spacing:1.4px;font-weight:600;margin-top:4px;opacity:.65}.welcome{height:100vh;min-height:720px;display:grid;grid-template-columns:1.15fr 1fr;background:#f8f8f0}.welcome-world{position:relative;overflow:hidden;background:#142f3c;color:#f7f8eb;padding:40px 7.8%}.welcome-world .brand{position:relative;z-index:2}.welcome-world .logo-mark{background:#31554e;color:#c5ebd0}.welcome-copy{position:relative;z-index:1;margin-top:73px}.welcome-copy h1{font-size:clamp(32px,3.2vw,48px);line-height:1.45;font-weight:650;letter-spacing:-1px;margin:17px 0 20px}.welcome-copy h1 span{color:#b5eac7}.welcome-copy p{color:#99b2ac;font-size:13px;line-height:2.1}.welcome-scene{position:absolute;bottom:36px;left:-5%;width:110%;height:47%;min-height:300px;-webkit-mask-image:linear-gradient(transparent 0%,#000 22%,#000 90%,transparent);mask-image:linear-gradient(transparent 0%,#000 22%,#000 90%,transparent);opacity:.93}.welcome-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#142f3c,transparent 45%);pointer-events:none}.welcome-scene canvas{width:100%;height:100%}.welcome-foot{position:absolute;bottom:29px;left:8%;right:8%;display:flex;justify-content:space-between;gap:12px;z-index:2;color:#a4beb0;font-size:10px}.welcome-foot span{display:flex;align-items:center;gap:6px}.welcome-form{display:flex;align-items:center;justify-content:center;position:relative;padding:45px}.join-wrap{max-width:360px;width:100%;margin-top:15px}.join-wrap h2{font-size:27px;letter-spacing:-.5px;margin-top:14px;margin-bottom:13px;font-weight:670}.join-wrap>.muted{font-size:12px}.join-wrap form{margin-top:35px}label{display:block;font-size:11px;color:#677e71;font-weight:600}input,select{display:block;width:100%;height:43px;background:#fffffb;border:1px solid #dce3d5;border-radius:7px;padding:0 13px;color:#304e46;font-size:12px}input::placeholder{color:#a7b0a3}input:focus,select:focus{outline:2px solid #b9dbbf;border-color:#8fb899}label input,label select{margin-top:8px}form label+label{margin-top:21px}.code-input{font-family:Consolas,monospace;letter-spacing:4px;text-transform:uppercase;font-size:17px}.join-button{margin-top:29px;width:100%;height:47px;justify-content:space-between;padding:0 18px}.form-message{color:#ae6b4f;font-size:11px;line-height:1.7;margin-top:12px;min-height:18px}.connection-note{font-size:10px;color:#8d9a8a;display:flex;align-items:center;gap:6px;margin-top:9px}.welcome-divider{height:1px;background:#e4e8dc;margin:30px 0 23px}.teacher-entry{font-size:11px;width:100%;justify-content:center;gap:8px}.teacher-entry svg:last-child{margin-left:auto}.welcome-right-foot{position:absolute;bottom:30px;color:#a4ae9c;font-size:10px;letter-spacing:2px}.app-header{height:66px;background:#fcfcf5;border-bottom:1px solid #e1e7db;display:flex;align-items:center;padding:0 27px;gap:48px}.app-header .logo-mark{height:34px;width:34px;border-radius:10px}.app-header .logo-type{font-size:15px}.app-header .logo-type small{font-size:6px}.main-nav{display:flex;height:100%;gap:30px;margin-left:25px}.main-nav button{position:relative;display:flex;align-items:center;gap:8px;font-size:11px;color:#819080;background:transparent;padding:0}.main-nav button.active{color:#315e4b;font-weight:650}.main-nav button.active:after{content:"";height:3px;border-radius:3px;background:#719a7d;position:absolute;bottom:0;left:0;right:0}.header-right{display:flex;align-items:center;gap:10px;margin-left:auto}.class-pill{font-family:Consolas,monospace;font-size:10px;color:#668373;background:#edf3e8;padding:6px 9px;border-radius:5px;display:flex;align-items:center;gap:6px;letter-spacing:.6px}.class-pill i{width:5px;height:5px;border-radius:50%;background:#86ae8a}.avatar,.student-avatar{background:#e4ead6;display:inline-flex;align-items:center;justify-content:center;color:#6d7e57;border-radius:50%;font-size:11px;width:27px;height:27px;margin-left:10px}.nickname{font-size:11px;color:#5f7367}.header-right .icon-btn{margin-left:4px}.workshop{display:grid;grid-template-columns:207px minmax(420px,1fr) 365px;height:calc(100vh - 66px);min-height:680px;max-height:1300px;gap:0}.journey{background:#f8f9f1;border-right:1px solid #e1e6db;display:flex;flex-direction:column;overflow:auto}.journey-heading{padding:28px 20px 24px}.journey-heading h2{font-size:12px;margin-top:10px;display:flex;justify-content:space-between;align-items:center;font-weight:650}.journey-heading h2>span{font-size:16px;color:#4b7961;font-weight:650}.journey-heading h2 small{font-size:10px;color:#a2ad98;font-weight:400}.progress-line{height:3px;background:#e6ecde;border-radius:4px;margin-top:17px;overflow:hidden}.progress-line span{height:100%;background:#7da385;display:block;transition:width .3s}.chapter-list{display:flex;flex-direction:column;gap:4px;padding:0 10px}.chapter{display:flex;align-items:center;gap:10px;text-align:left;background:none;padding:13px 9px;border-radius:8px;color:#758575;position:relative;width:100%;min-height:65px}.chapter.selected{background:#e7eede;color:#2e5b43}.chapter.selected:before{content:"";position:absolute;left:-10px;width:3px;height:30px;background:#779a78;border-radius:0 3px 3px 0}.chapter:not(.locked):hover{background:#edf1e5}.chapter>span:nth-child(2){flex:1;min-width:0}.chapter b{display:block;font-size:11px;font-weight:650;white-space:nowrap}.chapter small{display:block;font-size:8px;margin-top:5px;color:#94a08c;line-height:1.5}.chapter-number{height:24px;width:24px;border-radius:7px;border:1px solid #dce5d1;display:flex;align-items:center;justify-content:center;font-size:10px;font-family:Consolas,monospace;flex-shrink:0;color:#8c9b83}.chapter.selected .chapter-number{background:#55785d;color:#e9f4df;border-color:#55785d}.chapter.completed .chapter-number{background:#e0eddb;border-color:#bdd1b3;color:#628461}.chapter.locked{opacity:.55}.journey-bottom{margin-top:auto;padding:27px 22px 24px;position:relative}.little-orbit{font-size:32px;display:block;color:#a2b599;margin-bottom:4px}.journey-bottom p{font-size:11px;line-height:1.9;color:#93a187}.journey-bottom .tiny{display:block;margin-top:15px;color:#6d8b70;font-size:9px}.island-panel{display:flex;flex-direction:column;min-width:0;background:#f5f6ee;overflow:hidden}.mission-header{padding:24px 26px 16px;display:flex;gap:10px;justify-content:space-between;min-height:135px}.mission-header h1{font-size:24px;line-height:1.3;margin:8px 0 9px;letter-spacing:-.4px;font-weight:670}.mission-header p{font-size:10px;color:#879482;line-height:1.85;max-width:630px}.level-tag{font-size:8px;letter-spacing:.2px;padding:3px 5px;background:#e9edde;color:#859473;border-radius:4px}.sound-toggle{margin-top:6px}.mission-goal{min-height:43px;display:flex;align-items:center;gap:10px;padding:10px 26px;background:#eaf0e2;border-top:1px solid #e3e9da;border-bottom:1px solid #e2e8da;font-size:9px;line-height:1.6}.mission-goal>span{color:#6a8867;display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:9px}.mission-goal b{font-weight:500;color:#64765b;flex:1}.mission-goal small{font-size:8px;color:#9ca58e;white-space:nowrap}.scene-wrap{position:relative;min-height:250px;flex:1;overflow:hidden;background:#dfe9e1}.scene-wrap canvas{display:block;width:100%;height:100%}.scene-label{position:absolute;left:20px;top:17px;display:flex;align-items:center;gap:6px;color:#607f70;z-index:1;font-size:8px;background:#f5f9ecb5;padding:5px 8px;border-radius:4px;pointer-events:none}.live-dot{background:#85b28d;width:5px;height:5px;box-shadow:0 0 0 3px #91b89c22}.scene-coordinate{position:absolute;bottom:17px;left:20px;color:#608877;font-size:10px;font-family:Consolas,monospace}.scene-coordinate span{margin-left:8px;font-size:7px;letter-spacing:1px;opacity:.7}.run-overlay{position:absolute;inset:0;z-index:3;backdrop-filter:blur(5px);background:#e7efe3c9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#537564}.run-overlay b{font-size:14px}.run-overlay small{font-size:10px;color:#8da18d}.spinner{width:32px;height:32px;border-radius:50%;border:2px solid #bccdb7;border-top-color:#4e7e5c;animation:spin 1s linear infinite}.mini-spinner{display:inline-block;width:11px;height:11px;border:1px solid #739785;border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite;margin-right:6px;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.completion-banner{position:absolute;bottom:21px;left:50%;transform:translate(-50%);z-index:2;display:flex;align-items:center;gap:10px;background:#f8fff0ee;border:1px solid #d5e5c6;border-radius:10px;padding:12px 18px;box-shadow:0 8px 24px #3d64571a;white-space:nowrap}.completion-banner>span{background:#68936c;color:#f1ffed;border-radius:50%;padding:6px}.completion-banner b{font-size:12px;display:block;color:#4c7350}.completion-banner small{display:block;font-size:9px;color:#91a184;margin-top:5px}.transport{height:47px;background:#f3f6ec;border-bottom:1px solid #e3e8da;display:flex;align-items:center;gap:10px;padding:0 17px;flex-shrink:0}.playback-buttons{display:flex;align-items:center;gap:3px}.playback-buttons .icon-btn{width:26px;height:27px}.transport-divider{width:1px;height:15px;background:#dce5d3;margin:0 5px}.transport select{background:transparent;border:0;font-family:Consolas,monospace;font-size:9px;padding:0 2px;height:26px;width:45px;color:#69816d}.transport input[type=range]{height:3px;min-width:35px;flex:1;width:auto;accent-color:#6c9473;padding:0;border:0;border-radius:0}.tick-counter{font-family:Consolas,monospace;color:#8d9c83;font-size:8px;white-space:nowrap;min-width:46px;text-align:right}.heat-button{margin-left:3px}.island-stats{height:70px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;background:#fafbf3;border-bottom:1px solid #e2e8d9;flex-shrink:0;padding:0 10px}.island-stats>div{display:flex;align-items:center;justify-content:center;gap:10px;height:36px;border-right:1px solid #e4eada;color:#94aa8d}.island-stats>div:last-child{border-right:0}.island-stats span{font-size:8px;color:#a0ad93;line-height:1.5}.island-stats b{display:block;font-size:17px;font-weight:600;color:#52744f;line-height:1.5;letter-spacing:-.4px}.island-stats>div:nth-child(2) b{font-size:13px;line-height:1.9}.console-panel{height:139px;flex-shrink:0;background:#f6f8ee;display:flex;flex-direction:column;min-height:80px}.console-heading{height:34px;display:flex;align-items:center;gap:14px;padding:0 20px;border-bottom:1px solid #e4eada;color:#8e9d84;font-size:8px}.console-heading>span:first-child{display:flex;align-items:center;gap:5px;color:#6e8868;font-weight:600}.console-heading i{height:4px;width:4px;background:#83a17c;border-radius:50%}.console-heading>span:nth-child(2){flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.8;font-size:7px}.console-heading .text-button{font-size:8px;white-space:nowrap}.console-body{padding:11px 20px;overflow:auto;font-size:9px;line-height:1.8;flex:1}.console-idle{color:#9ba98e;font-size:9px;line-height:1.8}.log-line{display:flex;gap:12px;color:#6d8263;margin:2px 0}.log-line time{font-family:Consolas,monospace;color:#a8b59b;font-size:8px}.log-warning{color:#a47944;font-size:10px}.log-error{color:#a55b49;font-size:11px;margin-bottom:9px}.diagnostics{font-family:Cascadia Code,Consolas,Microsoft YaHei,monospace;white-space:pre-wrap;word-break:break-word;font-size:10px;color:#a75f4b;line-height:1.7;margin:0}.diagnostics.warning{color:#907d4d}.code-panel{background:#142a37;display:flex;flex-direction:column;min-width:0;border-left:1px solid #d4dfd0}.code-heading{height:46px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;color:#d2e1d5;padding:0 18px;background:#18323e;border-bottom:1px solid #28424b;font-family:Consolas,monospace;font-size:11px}.code-heading>div{display:flex;align-items:center;gap:8px}.file-dot{height:6px;width:6px;border-radius:2px;background:#9fc7ac}.language-tag{font-size:8px;color:#7b9e97;margin-left:5px;border:1px solid #37534e;border-radius:3px;padding:2px 4px}.code-heading .icon-btn{color:#6f9186;width:26px;height:26px}.code-heading .icon-btn:hover{background:#29473f;color:#c7e6d3}.editor-toolbar{height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#668c85;font-size:8px}.editor-toolbar>span{display:flex;align-items:center;gap:5px}.editor-toolbar i{width:4px;height:4px;background:#84b698;border-radius:50%}#code-editor{min-height:240px;flex:1;overflow:hidden}.editor-footer{height:28px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#577770;font-size:8px}.run-controls{display:flex;gap:9px;padding:14px 15px 16px;border-top:1px solid #2a424b;background:#18323e;flex-shrink:0}.run-controls .btn.primary{background:#b8e4c6;color:#2b5141;flex:1;justify-content:flex-start;height:39px;font-size:11px;padding:0 13px}.run-controls .btn.primary:hover{background:#cef0d8}.run-controls .btn.primary span{margin-left:auto;color:#72987d;font-size:8px;font-family:Consolas,monospace;font-weight:400}.run-controls .btn.submit{background:#284b45;border-color:#3b5b50;color:#c4d9c8;height:39px;font-size:10px;padding:0 13px}.hint-area{background:#f0f3e7;max-height:240px;overflow:auto;flex-shrink:0;border-top:1px solid #dce4d0}.hint-heading{display:flex;align-items:center;justify-content:space-between;background:#edf1e2;width:100%;height:49px;padding:0 17px;color:#6c855d;font-size:10px;border-bottom:1px solid #dce5cf}.hint-heading>span{display:flex;align-items:center;gap:8px}.hint-list{padding:4px 17px 12px}.hint-list.collapsed{display:none}.hint-list details{border-bottom:1px solid #dfe7d3}.hint-list details:last-child{border:0}.hint-list summary{font-size:9px;color:#839575;cursor:pointer;padding:11px 0;list-style:none}.hint-list summary:after{content:"\ff0b";float:right;color:#99ac8d;font-size:11px}.hint-list details[open] summary:after{content:"\2212"}.hint-list summary span{font-family:Consolas,monospace;font-size:8px;color:#a4b196;margin-right:7px}.hint-list details p{font-size:10px;color:#718466;line-height:1.9;padding:0 0 12px}.hint-list .muted{font-size:10px}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:33px}.page-title h1{font-size:27px;font-weight:650;letter-spacing:-.7px;margin:11px 0 13px}.page-title p{font-size:12px;color:#8c9a86;line-height:1.8}.board-page,.teacher-page{padding:38px 45px 50px;max-width:1700px;margin:auto}.board-layout{display:grid;grid-template-columns:1fr 280px;gap:26px}.card{background:#fcfcf5;border:1px solid #e1e7d7;border-radius:12px;overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;border-bottom:1px solid #e4e9dc;gap:15px}.card-heading h2{font-size:13px;font-weight:650;display:flex;align-items:center;gap:9px;color:#57784f}.card-heading select{width:240px;height:34px;font-size:10px;background:#f6f8ed}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap;text-align:left}th{font-weight:400;color:#98a68b;font-size:9px;background:#f7f9ef;padding:15px 23px;border-bottom:1px solid #e6ebdf}td{padding:17px 23px;border-bottom:1px solid #edf0e4;color:#7d8c71}td b{font-weight:550;color:#4e6d46}tbody tr:last-child td{border-bottom:0}.rank{font-family:Consolas,monospace;color:#a0ae90;font-size:12px}.rank.top{background:#f3e5c8;color:#b18543;padding:5px 6px;border-radius:5px}.score-cell{font-size:15px;color:#5b8050;font-family:Consolas,monospace;font-weight:600}.my-row{background:#edf4e5}.you-label{font-size:8px;border:1px solid #b7ccac;border-radius:4px;padding:2px 4px;margin-left:8px;color:#7d9b68}.replay-button{font-size:9px}.board-story{background:#e6eddb;border:1px solid #dbe4cd;border-radius:12px;padding:31px 28px;color:#607c50}.small-island{font-size:80px;color:#b3c5a3;line-height:1;position:relative;margin:5px 0 29px}.small-island span{font-size:21px;position:absolute;color:#e9b46d;left:78px;top:27px}.board-story h2{font-size:25px;line-height:1.5;letter-spacing:-.4px;font-weight:600;margin:12px 0 19px}.board-story p{font-size:11px;line-height:2;color:#8c9d7c}.room-note{margin-top:34px;padding-top:23px;border-top:1px solid #d0ddc1;display:flex;flex-direction:column;gap:8px}.room-note small{font-size:9px;color:#99a88a}.room-note b{font-family:Consolas,monospace;font-size:27px;letter-spacing:5px;font-weight:500}.room-note>span{font-size:9px;color:#8d9c7d}.empty-state{padding:48px 24px;text-align:center;font-size:12px;color:#a0ad91;line-height:1.8}.empty-state>span{display:block;font-size:39px;color:#aec29d;margin-bottom:12px}.empty-state h3,.empty-state h2{font-size:14px;color:#779066;font-weight:550;margin-bottom:10px}.empty-state p{font-size:11px;line-height:1.9}.empty-state.large{padding:90px 25px}.empty-state.large .btn{margin-top:23px}.teacher-page{padding-top:36px}.title-actions{display:flex;gap:10px}.teacher-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:26px}.room-sidebar{padding-top:5px}.sidebar-label{font-size:11px;color:#839575;display:flex;justify-content:space-between;padding:0 10px 20px}.sidebar-label span{font-family:Consolas,monospace;font-size:10px;background:#e7eede;padding:1px 5px;border-radius:4px}.room-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:16px 12px;background:none;border-radius:9px;color:#7b9270;margin-bottom:6px}.room-item:hover{background:#edf2e5}.room-item.active{background:#e6edda}.room-item-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:#d8e4cc;border-radius:9px;color:#78946c;flex-shrink:0}.room-item>span:nth-child(2){flex:1;min-width:0}.room-item b{display:block;font-weight:550;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-item small{display:block;font-size:9px;letter-spacing:.6px;margin-top:5px;color:#9caa8c}.room-item .status-dot{width:5px;height:5px}.teacher-tip{margin:30px 10px 0;border-top:1px solid #dfe6d4;padding:23px 0;color:#9aab8e}.teacher-tip p{font-size:10px;line-height:1.9;margin:9px 0}.teacher-tip small{display:block;font-size:9px;line-height:1.8;word-break:break-all;color:#829c74;font-family:Consolas,monospace}.teacher-main{min-width:0;display:flex;flex-direction:column;gap:20px}.room-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:13px;background:#24463e;color:#ecf5df;padding:25px 30px;position:relative;overflow:hidden;min-height:155px}.room-banner:after{content:"\2601";position:absolute;right:235px;top:13px;font-size:135px;color:#31574b;pointer-events:none}.room-banner>div,.room-code{position:relative;z-index:1}.room-banner .eyebrow{font-size:9px;letter-spacing:1px;color:#a5c4a7}.room-banner h2{font-size:25px;letter-spacing:-.3px;margin:11px 0;font-weight:550}.room-banner p{font-size:10px;color:#99b79a}.room-code{text-align:center;background:#365b4b88;color:#dae8c8;border:1px solid #4b725a;border-radius:9px;min-width:180px;padding:12px 16px}.room-code small{font-size:9px;display:block;letter-spacing:1px;color:#8db193}.room-code b{display:block;font-family:Consolas,monospace;font-size:31px;letter-spacing:5px;font-weight:500;margin:7px 0 6px}.room-code>span{font-size:8px;color:#95b698;display:flex;align-items:center;justify-content:center;gap:6px}.teacher-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.teacher-stats .card{padding:19px 23px}.teacher-stats .card>span{display:flex;align-items:center;gap:8px;color:#91a180;font-size:10px}.teacher-stats b{display:block;font-size:29px;color:#5c7b4d;font-weight:500;letter-spacing:-1px;line-height:1.6;margin:3px 0}.teacher-stats small{font-size:9px;color:#a4b096}.room-controls{display:flex;align-items:flex-end;gap:11px;padding:20px 23px}.room-controls>label:first-child{flex:1;min-width:140px}.room-controls label{font-size:9px}.room-controls select,.room-controls input{height:37px;font-size:10px;padding:0 9px}.duration-label{max-width:95px}.room-controls .btn{height:37px;padding:0 13px;font-size:10px}.students-card .count-badge{font-size:9px;font-family:Consolas,monospace;font-weight:400;background:#e8efdd;color:#94a781;padding:2px 6px;border-radius:4px;margin-left:2px}.student-avatar{margin:0 9px 0 0;width:23px;height:23px;font-size:9px}.state-badge{font-size:9px;display:inline-flex;align-items:center;gap:5px;color:#8ca078}.state-badge i{height:4px;width:4px;border-radius:50%;background:#a3bd8c}.state-badge.busy{color:#b39a66}.state-badge.busy i{background:#dfba7c}.teacher-board .card-heading .tiny{font-size:9px}.modal-overlay{position:fixed;inset:0;z-index:50;background:#10282e80;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:25px}.modal{position:relative;background:#f7f8ef;border:1px solid #e1e9d7;border-radius:15px;width:min(440px,100%);padding:35px;box-shadow:0 28px 100px #0b283044;max-height:90vh;overflow:auto}.modal.wide{width:min(780px,100%)}.modal-close{position:absolute;right:13px;top:13px;color:#8ba081}.modal h2{font-size:23px;letter-spacing:-.5px;font-weight:600;line-height:1.5;margin:14px 0 13px}.modal .muted{font-size:11px;margin-bottom:25px}.modal form{margin-top:26px}.modal form .btn{margin-top:25px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:28px}.api-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.api-grid>div{background:#eef3e5;border:1px solid #e0e8d3;border-radius:8px;padding:17px}.api-grid code{font-family:Consolas,monospace;font-size:12px;color:#4f7b55}.api-grid p{font-size:10px;line-height:1.9;color:#899c79;margin-top:10px}.api-note{font-size:10px;color:#9eac8d;line-height:1.8;margin-top:20px}.replay-stage{height:360px;position:relative;overflow:hidden;border-radius:10px;background:#dfeadd}.replay-stage canvas{width:100%;height:100%;display:block}.replay-controls{display:flex;align-items:center;gap:15px;margin-top:18px}.replay-controls input{accent-color:#72976e;padding:0;height:3px;flex:1}.replay-controls span{font-family:Consolas,monospace;white-space:nowrap;font-size:10px;color:#849877}.log-summary{margin-top:7px;padding-top:7px;border-top:1px solid #e3ead8}.log-summary.incomplete,.log-summary.incomplete time{color:#a2814a}.log-summary.complete,.log-summary.complete time{color:#618456}.log-line.log-warning{color:#a17e43}.log-line.log-warning time{color:#b09c74}.duel-intro{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:19px 23px;background:#eef4e5;border-bottom:1px solid #e2ead7}.duel-intro b{font-size:11px;color:#67865a;font-weight:600}.duel-intro p{font-size:9px;line-height:1.8;color:#92a380;margin-top:6px;max-width:430px}.duel-intro .btn{font-size:10px;height:35px;padding:0 12px}.duel-button{font-size:9px;margin-left:8px}.duel-loading{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:20px 0 15px;gap:20px}.duel-loading p{font-size:11px;color:#91a17e}.duel-result{display:flex;align-items:center;justify-content:center;gap:55px;margin:20px 0 17px}.duel-result>div{display:flex;flex-direction:column;align-items:center;gap:4px}.duel-result>div>span{font-size:12px;color:#6b8a58}.duel-result b{font-family:Consolas,monospace;color:#527b46;font-size:42px;font-weight:500;line-height:1.3}.duel-result small{font-size:8px;color:#a5b591}.duel-vs{font-size:12px;color:#abb899;font-family:Consolas,monospace}.duel-rule{font-size:9px;line-height:1.9;color:#97a587;text-align:center;padding:0 20px;margin-bottom:20px}.duel-stages{display:grid;grid-template-columns:1fr 1fr;gap:13px}.duel-stages>section>span{display:block;font-size:10px;color:#829775;margin:0 0 7px 4px}.duel-stage{height:245px;position:relative;overflow:hidden;border-radius:10px;background:#e0ebdd}.duel-stage canvas{display:block;width:100%;height:100%}.duel-claims{margin-top:22px;border-top:1px solid #e0e8d5;padding-top:16px}.duel-claims>summary{cursor:pointer;font-size:10px;color:#8ca27b}.duel-claims table{margin-top:15px}.duel-claims td,.duel-claims th{font-size:10px;padding:12px 17px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);padding:13px 23px;border-radius:9px;background:#244c3f;color:#ecf7df;font-size:12px;box-shadow:0 9px 35px #173b3433;z-index:100;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;max-width:calc(100% - 40px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%)}#toast.bad{background:#8d6149}.big-screen{min-height:100vh;background:#142f3c;color:#edf5e4;display:grid;grid-template-columns:.9fr 1.1fr;grid-template-rows:110px 1fr 70px;padding:0 5%;column-gap:6%;position:relative;overflow:hidden}.big-screen:before{content:"\2601";position:absolute;font-size:570px;color:#244850;left:-160px;bottom:30px;opacity:.48;pointer-events:none}.big-screen>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.big-screen .brand{color:#e7f2de}.big-screen .logo-mark{background:#34584d;color:#c6e5c5}.screen-room-select{display:flex;align-items:center;gap:10px}.screen-room-select label{font-size:10px;color:#81a69a}.screen-room-select select{background:#214541;border-color:#3c6256;color:#bfd8bc;font-size:11px;width:210px;height:35px}.screen-hero{align-self:center;position:relative;z-index:1}.screen-hero .section-kicker{color:#83a999;font-size:10px;letter-spacing:3px}.screen-hero h1{font-size:clamp(35px,4.8vw,70px);line-height:1.5;font-weight:550;letter-spacing:-2px;margin:24px 0}.screen-hero h1 span{color:#b8e6bd}.screen-hero p{font-size:15px;color:#86a89d;margin:0 0 55px;line-height:1.8}.screen-room-code{border-left:2px solid #639679;padding-left:20px}.screen-room-code small{display:block;color:#779b89;font-size:11px;letter-spacing:3px}.screen-room-code b{display:block;font-family:Consolas,monospace;font-weight:400;font-size:43px;color:#c6e4bf;letter-spacing:10px;margin-top:8px}.screen-board{align-self:center;position:relative;z-index:1;background:#1f403f88;border:1px solid #365c50;border-radius:15px;padding:13px 0;min-height:450px}.screen-board-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 25px 23px;border-bottom:1px solid #365c50}.screen-board-heading h2{font-size:19px;font-weight:500;color:#bad9b5;display:flex;gap:10px;align-items:center}.screen-board-heading>span{font-size:12px;color:#82a98e}.big-screen table{font-size:13px}.big-screen th{background:transparent;border-color:#365c50;color:#7c9d86;font-size:11px;padding:14px 22px}.big-screen td{border-color:#365c50;color:#96b398;padding:18px 22px}.big-screen td b{color:#c0d9b8;font-weight:400}.big-screen .score-cell{color:#c4e8ad;font-size:22px}.big-screen .rank{font-size:16px;color:#82a887}.big-screen .rank.top{background:#4e6243;color:#e9ce94}.big-screen .text-button{color:#83b18c}.big-screen .empty-state{padding-top:100px;color:#75967a}.big-screen .empty-state h3{color:#a4c396}.big-screen footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;color:#719187;font-size:10px;position:relative;z-index:1}.big-screen footer>span:first-child{display:flex;align-items:center;gap:8px}.big-screen .my-row{background:#2e5141}@media(min-width:1550px){.workshop{grid-template-columns:225px minmax(500px,1fr) 420px}.mission-header{padding:28px 31px 19px}.mission-header h1{font-size:28px}.mission-header p{font-size:12px}.mission-goal{font-size:11px;padding:12px 31px}.mission-goal>span{font-size:10px}.mission-goal small{font-size:10px}.chapter b{font-size:12px}.chapter small{font-size:9px}.chapter{min-height:73px}.console-body,.console-idle{font-size:11px}.console-heading{font-size:10px}.console-heading>span:nth-child(2){font-size:9px}.console-heading .text-button,.island-stats span{font-size:10px}.island-stats b{font-size:21px}.island-stats>div:nth-child(2) b{font-size:16px}.hint-list details p{font-size:11px}.hint-list summary{font-size:10px}.code-heading{font-size:12px}.editor-toolbar{font-size:9px}.run-controls .btn.primary{font-size:12px}.console-panel{height:150px}}@media(max-width:1200px){.workshop{grid-template-columns:174px minmax(340px,1fr) 330px}.app-header{gap:22px;padding:0 18px}.main-nav{gap:21px;margin-left:10px}.journey-heading{padding:24px 15px}.chapter-list{padding:0 7px}.chapter{gap:7px;padding:12px 6px}.chapter b{font-size:10px}.chapter small{font-size:7px}.chapter-number{width:21px;height:21px;font-size:9px}.chapter.selected:before{left:-7px}.mission-header{padding:22px 20px 15px}.mission-header h1{font-size:22px}.mission-header p{font-size:9px}.mission-goal{padding:9px 20px;gap:7px}.mission-goal small{display:none}.island-stats{padding:0 5px}.island-stats>div{gap:5px}.island-stats>div svg{width:16px}.island-stats b{font-size:16px}.console-heading{padding:0 15px}.console-body{padding:11px 15px}.nickname{display:none}.teacher-page,.board-page{padding:30px}.teacher-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}.room-controls{flex-wrap:wrap;gap:9px}.room-controls>label:first-child{min-width:200px}.teacher-stats .card{padding:16px}.page-title h1{font-size:24px}.board-layout{grid-template-columns:1fr 235px;gap:20px}.card-heading{padding:18px}.board-story{padding:25px}.card-heading select{width:200px}th,td{padding-left:17px;padding-right:17px}.screen-board td,.screen-board th{padding-left:14px;padding-right:14px}}@media(max-width:1000px){.app-header{gap:16px}.app-header .logo-type{font-size:13px}.main-nav{gap:16px;margin-left:0}.main-nav button{font-size:10px}.header-right{gap:5px}.class-pill{font-size:9px}.avatar{margin-left:5px}.workshop{grid-template-columns:145px minmax(290px,1fr) 310px}.journey-heading{padding:24px 12px}.journey-heading h2{font-size:10px}.chapter b{font-size:9px}.chapter small{font-size:6.5px}.chapter-number{width:19px;height:20px}.chapter{gap:5px;padding-left:5px;padding-right:5px}.chapter>svg{display:none}.chapter{min-height:62px}.mission-header{padding:21px 16px 12px}.mission-header h1{font-size:20px}.mission-goal{padding:9px 16px}.mission-header p{font-size:8px}.mission-goal>span{font-size:8px}.mission-goal b{font-size:8px}.island-stats{height:62px}.island-stats>div{gap:4px}.island-stats>div svg{width:13px}.island-stats span{font-size:7px}.island-stats b{font-size:14px}.island-stats>div:nth-child(2) b{font-size:11px}.transport{padding:0 10px;gap:6px}.tick-counter{font-size:7px}.console-panel{height:127px}.hint-heading{font-size:9px}.welcome-world{padding:34px 7%}.welcome-copy{margin-top:65px}.welcome-copy h1{font-size:34px}.welcome-copy p{font-size:11px}.welcome-foot{font-size:8px;gap:8px}.welcome-foot svg{width:13px}.welcome-form{padding:35px}.join-wrap h2{font-size:24px}.teacher-layout{grid-template-columns:175px minmax(0,1fr);gap:16px}.room-item{padding:13px 9px;gap:7px}.room-item-icon{width:28px;height:28px}.room-banner{padding:23px}.room-banner h2{font-size:22px}.room-code{min-width:155px}.room-code b{font-size:26px}.room-banner p{font-size:9px}.board-layout{grid-template-columns:1fr}.board-story{display:none}}@media(max-width:780px){.welcome{grid-template-columns:1fr;height:auto;min-height:100vh}.welcome-world{height:340px;padding:25px 30px}.welcome-copy{margin-top:30px}.welcome-copy .eyebrow{font-size:8px}.welcome-copy h1{font-size:27px;margin:13px 0}.welcome-copy p{font-size:10px}.welcome-scene{left:40%;width:65%;height:75%;min-height:0;bottom:10px}.welcome-foot{display:none}.welcome-form{min-height:550px;padding:38px 30px 70px}.join-wrap{margin:0;max-width:420px}.welcome-right-foot{bottom:20px;font-size:8px}.app-header{padding:0 13px;height:60px}.app-header .logo-type{font-size:12px}.app-header .logo-type small{font-size:5px}.app-header .logo-mark{width:29px;height:29px}.main-nav{gap:13px;margin-left:auto}.main-nav button{font-size:0;gap:0}.main-nav button svg{width:19px}.header-right .avatar,.header-right .nickname,.header-right>.icon-btn{display:none}.class-pill{font-size:8px;padding:5px}.workshop{height:auto;min-height:0;max-height:none;grid-template-columns:1fr}.journey{border-right:0;border-bottom:1px solid #dee6d4;overflow:hidden}.journey-heading,.journey-bottom{display:none}.chapter-list{display:flex;flex-direction:row;overflow:auto;padding:10px;gap:5px}.chapter{min-width:145px;min-height:50px;gap:7px;padding:9px}.chapter.selected:before{display:none}.chapter b{font-size:10px}.chapter small{font-size:7px}.chapter-number{height:23px;width:23px}.island-panel{height:660px;min-height:660px}.mission-header{min-height:115px}.mission-header p{font-size:10px;line-height:1.7}.mission-goal b{font-size:9px}.mission-goal>span{font-size:9px}.scene-wrap{min-height:270px}.code-panel{height:620px;border-left:0}.code-heading{height:42px}.hint-area{max-height:190px}.code-panel #code-editor{min-height:240px}.code-panel .run-controls{padding:12px 15px}.editor-toolbar{height:30px}.console-body,.console-idle{font-size:10px}.island-stats span{font-size:9px}.island-stats b{font-size:17px}.island-stats>div:nth-child(2) b{font-size:14px}.console-heading{font-size:9px}.console-heading>span:nth-child(2){font-size:8px}.console-heading .text-button{font-size:9px}.island-stats>div svg{width:18px}.mission-header h1{font-size:23px}.mission-goal{min-height:48px}.board-page,.teacher-page{padding:26px 17px}.page-title{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:24px}.page-title h1{font-size:24px;line-height:1.5}.page-title p{font-size:11px}.teacher-layout{grid-template-columns:1fr;gap:20px}.room-sidebar{padding:0}.sidebar-label,.teacher-tip{display:none}#room-list{display:flex;overflow:auto;gap:10px}.room-item{min-width:200px;width:200px}.teacher-stats{gap:9px}.teacher-stats .card{padding:14px 12px}.teacher-stats .card>span{font-size:8px;gap:5px}.teacher-stats .card>span svg{width:15px}.teacher-stats b{font-size:25px}.teacher-stats small{font-size:7px}.room-banner{padding:20px;min-height:135px}.room-banner h2{font-size:20px}.room-banner p{font-size:8px}.room-code{min-width:135px;padding:10px}.room-code b{font-size:25px;letter-spacing:4px}.room-code>span{font-size:7px}.room-controls{padding:18px;gap:10px}.room-controls>label:first-child{min-width:180px}.card-heading{padding:16px}.card-heading h2{font-size:12px}.card-heading select{width:180px;font-size:9px}.teacher-board .card-heading .tiny{font-size:7px}th,td{padding:13px 16px}.api-grid{grid-template-columns:1fr}.modal{padding:29px}.modal h2{font-size:21px}.modal .muted{font-size:10px}.replay-stage{height:300px}.big-screen{grid-template-columns:1fr;grid-template-rows:90px auto 1fr 60px;gap:25px;padding:0 7%}.big-screen>header{flex-wrap:wrap;gap:10px}.big-screen>header>.eyebrow{display:none}.screen-room-select label{display:none}.screen-room-select select{width:160px}.screen-hero h1{font-size:40px;margin:10px 0}.screen-hero h1 br{display:none}.screen-hero p{margin-bottom:20px;font-size:12px}.screen-room-code{position:absolute;right:0;top:25px;padding-left:15px}.screen-room-code b{font-size:25px;letter-spacing:4px}.screen-room-code small{font-size:8px}.screen-hero{padding-right:120px}.screen-hero .section-kicker{font-size:8px;letter-spacing:1px}.screen-board{min-height:350px}.screen-board-heading h2{font-size:17px}.big-screen footer{font-size:8px}.big-screen td{font-size:11px}.big-screen .score-cell{font-size:18px}}@media(max-width:780px){.welcome-world{height:485px}.welcome-copy{z-index:3;max-width:100%;margin-top:25px}.welcome-scene{left:0;width:100%;height:220px;bottom:0;-webkit-mask-image:linear-gradient(transparent 0%,#000 20%,#000 90%,transparent);mask-image:linear-gradient(transparent 0%,#000 20%,#000 90%,transparent)}.welcome-scene:after{background:linear-gradient(180deg,#142f3c,transparent 30%)}.duel-intro{padding:16px;align-items:flex-start;flex-direction:column;gap:12px}.duel-intro p{font-size:10px}.duel-stage{height:180px}.duel-result{gap:35px}.duel-rule{padding:0}.duel-stages{gap:8px}.duel-stages>section>span{font-size:9px}}.welcome{min-height:600px;grid-template-columns:1.05fr 1fr}.welcome-world{padding:32px 7%}.welcome-scene{left:0;width:100%;height:calc(100% - 100px);min-height:0;bottom:5px;-webkit-mask-image:linear-gradient(transparent 0%,#000 15%,#000 90%,transparent);mask-image:linear-gradient(transparent 0%,#000 15%,#000 90%,transparent)}.welcome-scene:after{background:linear-gradient(180deg,#142f3c,transparent 24%)}.welcome-form{padding:38px}.join-wrap{margin-top:0}.join-wrap h2{font-size:24px;margin:0}.join-wrap form{margin-top:27px}.join-wrap .form-message:empty{min-height:0;margin:0}.welcome-divider{margin:24px 0 20px}.journey-bottom{padding:18px 22px}.journey-bottom .tiny{margin-top:0}.page-title{margin-bottom:24px}.page-title h1{margin:0;font-size:25px}.board-story h2{font-size:16px;margin:0 0 18px}.board-story p{font-size:12px;color:#7c8e70}.room-banner{min-height:126px;padding:20px 27px}.room-banner:after{display:none}.big-screen{grid-template-columns:270px minmax(0,1fr);column-gap:5%;grid-template-rows:100px 1fr 60px}.big-screen:before{display:none}.screen-hero h1{font-size:26px;letter-spacing:0;margin:0 0 16px}.screen-hero p{font-size:13px;margin:0 0 25px}.screen-room-code b{font-size:36px;letter-spacing:7px}.modal h2{margin-top:0}@media(max-width:780px){.welcome{grid-template-columns:1fr;height:auto;min-height:100vh}.welcome-world{height:230px;padding:20px 25px}.welcome-scene{height:200px;bottom:-10px;-webkit-mask-image:linear-gradient(transparent 0%,#000 20%,#000 90%,transparent);mask-image:linear-gradient(transparent 0%,#000 20%,#000 90%,transparent)}.welcome-form{min-height:440px;padding:28px 28px 35px}.welcome .brand{z-index:3}.page-title h1{font-size:23px}.room-banner{min-height:115px;padding:18px 20px}.big-screen{grid-template-columns:1fr;grid-template-rows:90px auto 1fr 60px;gap:22px}.screen-hero{padding-right:140px}.screen-hero h1{font-size:25px}.screen-hero p{font-size:11px;margin-bottom:8px}.screen-room-code{top:0}.screen-room-code b{font-size:27px;letter-spacing:4px}}.code-head-actions{display:flex;align-items:center;gap:7px}.guide-manual-button{display:flex;align-items:center;gap:6px;background:#2d5148;color:#d3ead5;border:1px solid #4d7060;border-radius:5px;padding:6px 9px;font:600 10px Segoe UI,Microsoft YaHei,sans-serif;white-space:nowrap}.guide-manual-button:hover{background:#3a6254}.stat-help{background:none;color:#7c9772;border:1px solid #b5c4aa;border-radius:50%;width:13px;height:13px;padding:0;font:9px Arial,sans-serif;vertical-align:middle;line-height:11px}.stat-help:hover{background:#e1ebd8;color:#456b43}.scene-label .stat-help{margin-left:4px;pointer-events:auto}.new-usage{flex-shrink:0;padding:10px 22px 11px;background:#f9fbf1;border-bottom:1px solid #dfe7d4;max-height:151px;overflow:auto}.new-usage-heading{display:flex;gap:14px;align-items:center;margin-bottom:8px}.new-usage h2{font-size:10px;font-weight:650;color:#5b7e4c;white-space:nowrap}.new-usage-tabs{display:flex;gap:5px;overflow-x:auto;min-width:0;padding:1px}.new-usage-tabs button{background:transparent;color:#91a17d;font-size:9px;padding:4px 6px;border-bottom:2px solid transparent;white-space:nowrap}.new-usage-tabs button.selected{color:#54774a;border-bottom-color:#7ba06d}.new-usage-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:15px;align-items:start}.new-usage-detail code{font:10px Consolas,monospace;color:#5f8152}.new-usage-detail p{font-size:9px;color:#899b76;line-height:1.7;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.new-usage-detail .text-button{font-size:9px;margin-top:2px}.new-usage-detail pre{margin:0;padding:7px 9px;background:#eef4e4;border:1px solid #e0e8d5;border-radius:5px;font:10px/1.65 Consolas,Microsoft YaHei,monospace;color:#678159;max-height:67px;overflow:auto}.workshop:has(.with-guide){min-height:760px}.with-guide .mission-header{min-height:117px;padding-top:18px;padding-bottom:12px}.with-guide .scene-wrap{min-height:165px}.with-guide .console-panel{height:105px}.guide-modal{padding:29px}.guide-level{font-size:11px;color:#7e9470;margin-top:5px}.guide-intro{font-size:10px;color:#99a68a;line-height:1.8;margin:12px 0 20px}.guide-section{margin-top:20px}.guide-section h3{font-size:12px;color:#5f8050;font-weight:650;margin-bottom:10px}.guide-card{border:1px solid #dfe7d3;border-radius:7px;background:#f9fbf2;margin-bottom:8px;overflow:hidden}.guide-card>summary{cursor:pointer;padding:13px 15px;display:flex;gap:12px;align-items:center;justify-content:space-between;list-style:none}.guide-card>summary b{font-size:11px;font-weight:600;color:#6c875a}.guide-card>summary code{font:10px Consolas,monospace;color:#91a37d;max-width:58%;white-space:normal;text-align:right}.guide-card[open]>summary{border-bottom:1px solid #e1e8d7;background:#edf4e3}.guide-card-body{padding:14px 17px}.guide-card-body>p{font-size:11px;line-height:1.9;color:#7d916b}.guide-card-body pre{background:#172f38;color:#d8e7cf;padding:15px;border-radius:6px;font:11px/1.8 Consolas,Microsoft YaHei,monospace;overflow:auto;margin:13px 0}.guide-card-body ol{padding-left:20px;font-size:11px;line-height:1.9;color:#80956d}.guide-card-body .guide-timing{font-size:10px;color:#a0aa8b;margin-top:5px}.guide-card-body .guide-pitfall{font-size:10px;color:#a18a5a;background:#f4efde;padding:9px 11px;border-radius:5px;margin-top:10px}.guide-card-actions{display:flex;align-items:center;gap:17px;margin-top:14px}.guide-card-actions .btn{height:31px;font-size:10px;padding:0 10px}.guide-card-actions .text-button{font-size:10px}.guide-empty{font-size:11px;color:#9caa8a;margin:5px 0 14px}.guide-history,.guide-future{margin-top:18px}.guide-history>summary,.guide-future>summary{cursor:pointer;color:#8ca078;font-size:11px;padding:10px 0}.guide-history>.guide-card:first-of-type{margin-top:7px}.guide-future{border-top:1px solid #e3e9da}.guide-future p{font-size:10px;color:#a3af94;line-height:1.8;padding:3px 0}.guide-copy{display:block;resize:vertical;width:100%;min-height:100px;border:1px solid #cbdcc0;border-radius:5px;padding:10px;background:#f5f9ed;color:#5f7d50;font:11px/1.8 Consolas,monospace;margin-top:12px}@media(min-width:1550px){.new-usage h2{font-size:11px}.new-usage-tabs button,.new-usage-detail p,.new-usage-detail code,.new-usage-detail .text-button{font-size:10px}.new-usage-detail pre{font-size:11px}}@media(max-width:1000px)and (min-width:781px){.new-usage{padding:9px 15px}.new-usage-heading{gap:8px}.new-usage-detail{gap:9px}.new-usage-detail p,.new-usage-tabs button{font-size:8px}.guide-manual-button{padding:5px 7px;font-size:9px;gap:4px}}@media(max-width:780px){.workshop:has(.with-guide){min-height:0}.island-panel.with-guide{height:795px;min-height:795px}.new-usage{max-height:155px;padding:10px 17px}.new-usage h2{font-size:11px}.new-usage-tabs button,.new-usage-detail p,.new-usage-detail pre{font-size:10px}.guide-manual-button{font-size:11px;padding:6px 10px}.guide-modal{padding:25px}.guide-card>summary{padding:12px}.guide-card>summary code{font-size:9px}.guide-card-body{padding:12px}.guide-card-actions{gap:12px}.guide-card-actions .text-button{font-size:9px}}.scenario-controls{display:flex;align-items:center;gap:10px;margin-top:11px;flex-wrap:wrap}.scenario-mode{display:flex;gap:1px;border:1px solid #d6e1cb;border-radius:5px;background:#edf2e4;padding:2px}.scenario-mode button{font-size:9px;color:#8b9c7c;padding:4px 8px;border-radius:3px;background:transparent}.scenario-mode button.selected{background:#fffef7;color:#527549;box-shadow:0 1px 3px #6d866011}.scenario-seed{font-size:8px;color:#99a98a;white-space:nowrap}.scenario-seed b{font:9px Consolas,monospace;color:#79956a;font-weight:400}.scenario-controls>.text-button{font-size:9px}.scenario-locked{font-size:8px;color:#ab9a75}.history-button{display:flex;align-items:center;gap:5px;background:transparent;color:#9eb8a3;font-size:9px;padding:3px 0}.history-button:hover{color:#d9e9d3}.history-note{font-size:10px;color:#94a281;line-height:1.8;margin:0 0 19px}.history-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #e2e9d8}.history-state{font-size:10px;color:#a08c5f;margin-right:12px}.history-state.complete{color:#6c935d}.history-state.error{color:#ad765d}.history-row time{font-size:9px;color:#a3af92}.history-row p{font-size:9px;color:#96a586;margin-top:8px}.history-row>div:last-child{display:flex;align-items:center;gap:13px}.history-row .btn{height:31px;font-size:10px;padding:0 11px}.history-row .text-button{font-size:10px}#history-detail{margin-top:21px}#history-detail h3{font-size:12px;color:#789164;font-weight:600}#history-detail pre{padding:15px;background:#19313a;color:#d5e4ce;border-radius:6px;font:11px/1.8 Consolas,Microsoft YaHei,monospace;max-height:240px;overflow:auto;white-space:pre}#history-detail>.text-button{font-size:11px;margin-top:13px}.island-stats{grid-template-columns:repeat(3,1fr);height:59px}.island-stats>div:nth-child(2) b{font-size:17px}.robot-status-list{flex-shrink:0;padding:5px 21px;background:#f5f8ed;border-bottom:1px solid #e3e9d8}.robot-status-row{display:flex;align-items:center;gap:11px;min-height:24px;font-size:9px;color:#98a789;border-left:2px solid transparent;padding:3px 7px}.robot-status-row.active{background:#eaf2e1;border-left-color:#86a576;border-radius:2px;color:#718c60}.robot-status-row b{font:600 10px Consolas,monospace;color:#6d8c5d;min-width:18px}.robot-status-row progress{height:4px;width:65px;border:0;border-radius:3px;appearance:none;background:#dce6d2;accent-color:#88aa74}.robot-status-row progress::-webkit-progress-bar{background:#dce6d2;border-radius:3px}.robot-status-row progress::-webkit-progress-value{background:#88aa74;border-radius:3px}.robot-status-row .robot-energy{min-width:95px;font-family:Consolas,Microsoft YaHei,monospace;font-size:9px}.robot-status-row>.stat-help{margin-left:auto}.run-comparison{font-size:9px;color:#748e62;background:#eff5e6;border-bottom:1px solid #e2e9d7;padding:7px 22px;flex-shrink:0}.board-selects{display:flex;gap:8px;align-items:center}.card-heading .board-selects select:first-child{width:200px}.card-heading .board-selects select:last-child{width:95px}.board-task{font-size:9px;color:#92a37f;padding:10px 23px;border-bottom:1px solid #e1e9d5;background:#f4f8eb}.teacher-mode-label{max-width:105px}.room-task-info{font-size:9px!important;color:#99b79a!important}.workshop:has(.with-guide){min-height:835px}.with-guide .mission-header{min-height:144px}.with-guide .console-panel{height:100px}@media(min-width:1550px){.robot-status-row{font-size:10px}.robot-status-row .robot-energy{font-size:10px;min-width:110px}.scenario-mode button{font-size:10px}.scenario-seed,.scenario-controls>.text-button{font-size:10px}.scenario-seed b{font-size:11px}.run-comparison{font-size:10px}}@media(max-width:1000px)and (min-width:781px){.scenario-controls{gap:6px}.scenario-mode button{font-size:8px;padding:4px 6px}.scenario-seed{font-size:7px}.scenario-seed b{font-size:8px}.robot-status-list{padding:4px 13px}.robot-status-row{gap:6px;font-size:8px}.robot-status-row .robot-energy{font-size:8px;min-width:83px}.robot-status-row progress{width:40px}.card-heading .board-selects select:first-child{width:180px}}@media(max-width:780px){.workshop:has(.with-guide){min-height:0}.island-panel.with-guide{height:875px;min-height:875px}.history-button{font-size:11px}.scenario-mode button{font-size:10px}.scenario-seed{font-size:9px}.scenario-seed b{font-size:10px}.robot-status-row{gap:8px;font-size:10px}.robot-status-row .robot-energy{font-size:9px}.robot-status-row progress{width:45px}.robot-status-list{padding:5px 15px}.run-comparison{padding:8px 16px}.history-row{align-items:flex-start;gap:10px}.history-row>div:last-child{flex-direction:column;gap:9px;align-items:flex-end}.history-row p{font-size:8px}.history-row time{display:block;margin-top:6px}.card-heading .board-selects select:first-child{width:150px}.card-heading .board-selects select:last-child{width:78px}.board-selects{gap:5px}.card-heading:has(.board-selects){align-items:flex-start;flex-direction:column;gap:11px}.board-task{padding:10px 16px;font-size:9px}}.resource-ledger{flex-shrink:0;background:#f6f9ed;border-bottom:1px solid #e0e8d5;padding:0 22px}.resource-ledger>summary{font-size:9px;color:#7c9668;cursor:pointer;padding:8px 0}.resource-table{max-height:104px;overflow:auto;margin-bottom:8px;border:1px solid #e1e9d5;border-radius:5px}.resource-table th{padding:7px 10px;font-size:8px;background:#edf4e3}.resource-table td{padding:6px 10px;font-size:9px;color:#7a9067}.resource-ledger[open]~.scene-wrap{min-height:150px}.island-panel:has(.resource-ledger[open]){overflow-y:auto}.island-panel:has(.resource-ledger[open])>.scene-wrap{flex-shrink:0;min-height:180px}@media(max-width:780px){.resource-ledger{padding:0 17px}.resource-ledger>summary{font-size:10px}.resource-table th{font-size:9px}.resource-table td{font-size:10px}.island-panel.with-guide:has(.resource-ledger[open]){height:auto;min-height:950px}.island-panel.with-guide:has(.resource-ledger[open])>.scene-wrap{height:270px;flex:initial}}.harbor-game{display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,38%);height:calc(100vh - 66px);min-height:540px;background:#dce8df}.game-world{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.task-strip{display:flex;align-items:center;gap:14px;padding:12px 17px;background:#f7f9ef;border-bottom:1px solid #d9e3d2;flex-shrink:0;min-height:78px}.route-launch{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#4d765b;background:#e6eedc;border:1px solid #c7d9bd;border-radius:11px;width:57px;height:55px;flex-shrink:0;box-shadow:0 2px #c8d7bc;font-size:10px}.route-launch:hover{background:#d8e8cc;transform:translateY(-1px)}.task-content{flex:1;min-width:0}.task-title{display:flex;align-items:center;gap:10px;margin-bottom:7px}.task-title>span:first-child{font-size:10px;color:#9ba88c;white-space:nowrap}.task-title h1{font-size:19px;font-weight:650;line-height:1.4;letter-spacing:-.3px;color:#355e46}.task-number{font:9px Consolas,Microsoft YaHei,monospace;color:#8a9d78;margin-left:auto;white-space:nowrap}.task-goal{font-size:10px;line-height:1.7;color:#829374;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-goal svg{margin-right:3px;vertical-align:-3px;color:#84a275}.task-info-button{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;color:#93a382;font-size:8px;padding:8px 2px;flex-shrink:0}.task-info-button:hover{color:#51774e}.brief-drawer{background:#f2f6e8;border-bottom:1px solid #dce5d1;padding:13px 24px;max-height:128px;overflow:auto;flex-shrink:0}.brief-drawer p{font-size:11px;color:#7f946f;line-height:1.9}.brief-drawer p+p{margin-top:8px}.world-stage{position:relative;flex:1;min-height:260px;overflow:hidden;background:#dbe7dd}.world-stage>canvas{display:block;width:100%;height:100%}.world-metrics{position:absolute;left:14px;top:13px;display:flex;gap:0;background:#fbfff2df;border:1px solid #d3e0c8;border-radius:8px;box-shadow:0 3px 15px #5b7e5110;pointer-events:none}.world-metrics>span{font-size:9px;color:#8b9d7a;display:flex;align-items:center;gap:6px;padding:8px 11px;border-right:1px solid #e0e8d7;white-space:nowrap}.world-metrics>span:last-child{border:0}.world-metrics b{font:600 16px Consolas,monospace;color:#527646}.world-metrics small{font:9px Consolas,monospace;color:#a4b195;margin-left:-3px}.world-metrics .stat-help{pointer-events:auto;margin-left:2px}.world-view-tools{position:absolute;top:14px;right:14px;display:flex;align-items:center;gap:4px;background:#f9fdf0d9;border:1px solid #d4e2c9;border-radius:7px;padding:3px 4px;color:#8ba27b;font:9px Consolas,monospace}.world-view-tools>#scene-state{font:8px Microsoft YaHei,sans-serif;padding:0 5px;border-right:1px solid #d8e3cf;margin-right:2px}.view-tool{width:23px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;font-size:15px;color:#6c8b5c;background:transparent}.view-tool:hover{background:#dfead4}.world-view-tools #zoom-label{font-size:8px;min-width:30px;text-align:center}.harbor-game .robot-status-list{position:absolute;bottom:14px;left:15px;max-width:calc(100% - 30px);min-width:300px;border:1px solid #cddfc4;background:#f9fff0eb;border-radius:9px;padding:5px 8px;box-shadow:0 4px 18px #456d4214}.harbor-game .robot-status-row{padding:4px 6px;gap:10px;min-height:26px;font-size:9px}.harbor-game .robot-status-row.active{background:#e8f2de;border-left-color:#7f9e6c}.harbor-game .robot-status-row progress{width:58px}.harbor-game .robot-status-row .robot-energy{font-size:9px;min-width:94px}.harbor-game .resource-ledger{position:absolute;right:14px;top:59px;z-index:2;padding:0 10px;border:1px solid #d1dfc5;background:#fcfff4ee;max-width:min(330px,80%);border-radius:7px;box-shadow:0 3px 17px #48683f14}.harbor-game .resource-ledger>summary{font-size:9px;padding:8px 1px}.harbor-game .resource-table{max-height:145px}.harbor-game .resource-table th,.harbor-game .resource-table td{font-size:8px;padding:6px 8px}.harbor-game .completion-banner{bottom:auto;top:62px;padding:9px 14px;max-width:calc(100% - 32px);white-space:normal}.harbor-game .completion-banner b{font-size:11px}.harbor-game .completion-banner small{font-size:9px}.harbor-game .transport{height:43px;flex:0 0 43px;padding:0 14px;background:#f0f5e6}.harbor-game .transport .icon-btn{height:28px}.harbor-game .transport input[type=range]{height:3px}.harbor-game .transport select{font-size:10px}.harbor-game .tick-counter{font-size:9px;min-width:60px}.harbor-game .console-panel{height:35px;min-height:35px;flex:0 0 35px;display:flex;background:#f8faf1;border-top:1px solid #dce6d2;transition:height .18s,flex-basis .18s}.harbor-game .console-panel.expanded{height:178px;flex-basis:178px}.harbor-game .console-heading{height:34px;min-height:34px;padding:0 16px;gap:12px;border-bottom:0;overflow:hidden}.harbor-game .console-toggle{font-size:10px;color:#6c875a;display:flex;align-items:center;gap:6px;background:none;padding:0;white-space:nowrap}.harbor-game .console-toggle>svg:last-child{transform:rotate(-90deg);transition:transform .15s}.harbor-game .console-panel.expanded .console-toggle>svg:last-child{transform:rotate(90deg)}.harbor-game .console-heading>#console-meta{font-size:9px;min-width:50px;flex:0 1 150px}.harbor-game .run-comparison{background:none;border:0;padding:0;font-size:9px;color:#7d956a;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}.harbor-game .console-body{display:none;padding:10px 18px;font-size:10px;overflow:auto}.harbor-game .console-panel.expanded .console-body{display:block;border-top:1px solid #e4ebd9}.harbor-game .console-idle{font-size:10px}.program-workbench{display:flex;flex-direction:column;min-width:0;min-height:0;background:#142a37;border-left:1px solid #c5d4c2;overflow:hidden}.program-workbench .code-heading{height:44px;flex-shrink:0;padding:0 15px;font-size:11px}.program-workbench .guide-manual-button{font-size:11px;padding:6px 9px}.program-workbench .editor-toolbar{height:31px;flex-shrink:0;padding:0 16px;font-size:9px}.program-workbench .history-button{font-size:10px}.program-workbench #code-editor{min-height:110px;flex:1;overflow:hidden}.program-workbench .editor-footer{height:24px;flex-shrink:0;font-size:9px}.program-workbench .run-controls{flex-shrink:0;padding:11px 13px;gap:10px;background:#18323e;border-top:1px solid #2b454b;min-height:61px}.program-workbench .run-controls .btn.primary{height:39px;font-size:12px;flex:1}.program-workbench .run-controls .btn.primary span{font-size:9px}.hint-tool{background:#28483f;border:1px solid #3f5d4d;color:#bfd7bf;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 11px;font-size:10px;white-space:nowrap}.hint-tool:hover{background:#34594b}.lesson-compact{background:#1b3540;border-top:1px solid #29454b;border-bottom:1px solid #2b454a;padding:9px 14px}.lesson-topline{display:flex;align-items:center;gap:10px;min-width:0}.lesson-topline>span{font-size:9px;color:#6f9385;white-space:nowrap}.lesson-topline>div{display:flex;gap:5px;overflow:auto;min-width:0}.lesson-topline button{background:transparent;font-size:9px;color:#789e8b;padding:3px 6px;border-radius:4px;white-space:nowrap}.lesson-topline button.selected{background:#2b5147;color:#c7e0c5}.lesson-topline button:hover{color:#dfebd4}.lesson-sample{display:flex;align-items:center;gap:10px;min-width:0;margin-top:8px}.lesson-sample code{color:#a9c6ad;font:10px Consolas,Microsoft YaHei,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.lesson-sample>button{display:flex;align-items:center;gap:4px;padding:3px 0;background:none;color:#b6d3b9;font-size:10px;white-space:nowrap}.lesson-drawer{max-height:min(248px,37vh);overflow:auto;flex-shrink:0;border-bottom:1px solid #3c594b;background:#f3f7e9;padding:10px 13px 12px}.lesson-drawer>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.lesson-drawer>header>b{font-size:10px;color:#779267;font-weight:600}.lesson-drawer .guide-card{margin:0;border:0;background:transparent;border-radius:0;overflow:visible}.lesson-drawer .guide-card>summary{display:none}.lesson-drawer .guide-card-body{padding:0}.lesson-drawer .guide-card-body>p{font-size:10px;line-height:1.8}.lesson-drawer .guide-card-body pre{font-size:10px;padding:10px 12px;margin:9px 0}.lesson-drawer .guide-card-body ol{font-size:10px;line-height:1.8;padding-left:18px}.lesson-drawer .guide-card-body .guide-timing{font-size:9px}.lesson-drawer .guide-card-body .guide-pitfall{font-size:9px;padding:7px 9px}.lesson-drawer .guide-card-actions{margin-top:9px;gap:13px}.lesson-drawer .guide-card-actions .btn{font-size:9px;height:27px;padding:0 8px}.lesson-drawer .guide-card-actions .text-button{font-size:9px}.lesson-full-manual{font-size:9px;margin-top:12px}.plain-hints details{border-bottom:1px solid #dde7d1;padding:13px 0}.plain-hints summary{color:#6b885a;font-size:12px;cursor:pointer}.plain-hints p{font-size:11px;line-height:1.9;color:#8d9e7c;margin-top:12px}.route-map-modal{width:min(1100px,100%);padding:28px;max-height:91vh;background:#eef4e5}.route-map-heading{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:25px;padding-right:20px}.route-map-heading h2{font-size:22px;margin:0}.route-map-heading p{font-size:11px;color:#91a37e}.route-legend{margin-left:auto;display:flex;gap:14px;font-size:9px;color:#8ca278}.route-map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.route-group{position:relative;min-width:0}.route-group:after{content:"";height:1px;position:absolute;top:36px;left:50%;width:calc(100% + 20px);background:#bfd1b1}.route-group:last-child:after{display:none}.route-group h3{position:relative;z-index:1;background:#eef4e5;font-size:13px;color:#668954;display:flex;align-items:baseline;gap:8px;padding-bottom:12px}.route-group h3 small{font-size:9px;color:#a3b092;font-family:Consolas,monospace}.route-nodes{display:flex;flex-direction:column;gap:12px;position:relative;padding-top:12px}.route-nodes:before{content:"";position:absolute;top:13px;bottom:22px;left:25px;border-left:1px dashed #bacfad}.route-island{position:relative;z-index:1;display:grid;grid-template-columns:43px 1fr;grid-template-rows:auto auto;gap:4px 8px;min-height:65px;padding:10px 7px 10px 2px;text-align:left;color:#7f9d6c;background:#f8fcedd4;border:1px solid #d7e4ca;border-radius:9px;transition:transform .15s,box-shadow .15s}.route-island:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 6px 14px #627f4820;border-color:#a1be8c}.route-island.current{border-color:#6d9b59;background:#e2efd3;box-shadow:0 0 0 2px #7ca56322}.route-island.locked{background:#e9eee2;opacity:.5}.route-island.complete{color:#688c52}.route-island b{font-size:10px;font-weight:600;line-height:1.6;align-self:end}.route-island>small{font-size:8px;color:#a0b18e;line-height:1.5;grid-column:2}.island-node{grid-row:1/3;align-self:center;width:36px;height:31px;margin-left:7px;position:relative;display:flex;align-items:center;justify-content:center}.island-node:before{content:"";position:absolute;inset:7px 0 0;background:#bdd4ab;border:1px solid #a8c296;transform:rotate(30deg) skew(-25deg);border-radius:4px;box-shadow:3px 4px #89a775}.island-node>span{position:relative;z-index:1;color:#5c8048;font:600 12px Consolas,monospace;transform:translateY(-2px)}.route-island.current .island-node:before{background:#9cc988;box-shadow:3px 4px #699653}.route-island.complete .island-node>span{color:#426f34}.route-island.locked .island-node:before{background:#d2ddc8;box-shadow:3px 4px #b4c2aa}@media(min-width:1600px){.task-strip{min-height:86px;padding:14px 23px}.task-title h1{font-size:22px}.task-goal{font-size:12px}.world-metrics>span{font-size:11px;padding:9px 13px}.world-metrics b{font-size:20px}.world-view-tools>#scene-state{font-size:10px}.harbor-game .robot-status-row{font-size:11px;min-height:29px}.harbor-game .robot-status-row .robot-energy{font-size:11px;min-width:115px}.lesson-topline>span,.lesson-topline button{font-size:10px}.lesson-sample code,.lesson-sample>button{font-size:11px}.harbor-game .console-heading>#console-meta,.harbor-game .run-comparison{font-size:10px}}@media(max-width:1100px)and (min-width:781px){.harbor-game{grid-template-columns:minmax(0,1fr) minmax(360px,40%)}.task-strip{gap:9px;padding:10px 12px}.task-title{gap:7px}.task-title h1{font-size:17px}.task-goal{font-size:9px}.route-launch{width:48px;height:50px;font-size:9px}.task-number{font-size:8px}.world-metrics>span{padding:7px 8px;font-size:8px;gap:5px}.world-metrics b{font-size:14px}.world-view-tools>#scene-state{display:none}.harbor-game .robot-status-row{gap:7px;font-size:8px}.harbor-game .robot-status-row .robot-energy{font-size:8px;min-width:83px}.harbor-game .robot-status-row progress{width:45px}.harbor-game .console-heading>#console-meta{display:none}.lesson-topline{gap:7px}.lesson-topline button{font-size:8px;padding:3px 5px}}@media(max-width:780px){.harbor-game{display:flex;flex-direction:column;height:auto;min-height:0}.game-world{height:620px;min-height:620px;flex-shrink:0}.program-workbench{height:640px;min-height:640px;border-left:0;border-top:1px solid #54735c}.program-workbench #code-editor{min-height:100px}.task-strip{padding:11px 14px;min-height:82px}.task-title h1{font-size:19px}.task-goal{font-size:10px}.world-stage{min-height:290px}.world-metrics>span{font-size:9px}.harbor-game .robot-status-list{min-width:0;bottom:13px;left:12px}.harbor-game .robot-status-row{font-size:9px;gap:8px}.harbor-game .robot-status-row .robot-energy{font-size:9px;min-width:96px}.harbor-game .robot-status-row progress{width:45px}.harbor-game .console-heading>#console-meta{display:none}.harbor-game .run-comparison{font-size:9px}.harbor-game .console-panel.expanded{height:165px;flex-basis:165px}.lesson-drawer{max-height:235px}.lesson-topline>span,.lesson-topline button,.lesson-sample>button{font-size:10px}.lesson-sample code{font-size:11px}.route-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 15px}.route-group:after{display:none}.route-map-modal{padding:24px}.route-map-heading{margin-bottom:19px;gap:10px}.route-map-heading h2{font-size:20px}.route-legend{margin-left:0;width:100%;font-size:9px}.route-island b{font-size:10px}.harbor-game .resource-ledger{max-width:280px}.harbor-game .resource-ledger[open]{top:59px}.harbor-game .resource-table{max-height:140px}}@media(max-width:520px){.task-strip{gap:10px;padding:10px 12px}.route-launch{width:43px;height:49px;font-size:8px}.task-title{gap:7px;flex-wrap:wrap;margin-bottom:5px}.task-title>span:first-child{font-size:9px}.task-title h1{font-size:17px}.task-number{font-size:8px;margin:0}.task-goal{font-size:9px;-webkit-line-clamp:2}.task-info-button{font-size:8px}.world-metrics{left:11px;top:11px}.world-metrics>span{padding:7px 8px;font-size:8px;gap:5px}.world-metrics b{font-size:14px}.world-view-tools{top:53px;right:12px}.world-view-tools>#scene-state{display:none}.world-stage{min-height:285px}.harbor-game .resource-ledger{top:90px;right:12px;max-width:250px}.harbor-game .resource-ledger[open]{top:90px}.harbor-game .robot-status-row{gap:6px;font-size:8px}.harbor-game .robot-status-row .robot-energy{font-size:8px;min-width:84px}.harbor-game .robot-status-row progress{width:37px}.harbor-game .robot-status-row .stat-help{display:none}.route-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.route-map-modal{padding:23px 18px}.route-island{grid-template-columns:36px 1fr;gap:3px 6px;padding-right:5px}.route-island b{font-size:9px}.route-island>small{font-size:7px}.route-legend{gap:10px;font-size:8px}.route-group h3{font-size:12px}.route-nodes{gap:9px}.island-node{width:30px;height:28px;margin-left:4px}.harbor-game .completion-banner{top:90px}.harbor-game .completion-banner b{font-size:10px}.harbor-game .console-heading{padding:0 12px;gap:10px}.harbor-game .console-toggle{font-size:9px}.harbor-game .run-comparison{font-size:8px}}.task-title>span:first-child{font-size:11px}.task-title h1{font-size:20px}.task-goal{font-size:12px;line-height:1.7}.task-number,.route-launch,.task-info-button{font-size:11px}.brief-drawer p{font-size:12px}.lesson-topline>span{font-size:11px}.lesson-topline button{font-size:11px;padding:4px 6px}.lesson-sample code,.lesson-sample>button{font-size:12px}.lesson-compact{padding-top:10px;padding-bottom:10px}.world-metrics>span{font-size:11px;padding:8px 10px}.world-metrics b{font-size:18px}.world-metrics small{font-size:11px}.world-view-tools>#scene-state{font-size:11px}.world-view-tools #zoom-label{font-size:11px;min-width:37px}.view-tool{width:25px;height:27px}.harbor-game .robot-status-row{font-size:11px;gap:10px;min-height:29px}.harbor-game .robot-status-row b{font-size:12px}.harbor-game .robot-status-row .robot-energy{font-size:11px;min-width:116px}.harbor-game .robot-status-row .stat-help{font-size:10px}.harbor-game .console-toggle{font-size:12px}.harbor-game .console-heading>#console-meta,.harbor-game .run-comparison{font-size:11px}.harbor-game .console-body,.harbor-game .console-idle,.harbor-game .log-line{font-size:12px;line-height:1.8}.harbor-game .log-line time{font-size:11px}.harbor-game .diagnostics{font-size:12px}.harbor-game .tick-counter,.harbor-game .transport select{font-size:11px}.program-workbench .run-controls .btn.primary{font-size:14px}.program-workbench .run-controls .btn.primary span{font-size:11px}.program-workbench .hint-tool,.program-workbench .guide-manual-button{font-size:12px}.program-workbench .history-button,.program-workbench .editor-toolbar,.program-workbench .editor-footer{font-size:11px}.guide-intro,.guide-level,.guide-empty,.guide-history>summary,.guide-future>summary,.guide-future p{font-size:12px}.guide-card>summary b{font-size:13px}.guide-card>summary code{font-size:12px}.guide-card-body>p,.guide-card-body ol{font-size:13px;line-height:1.85}.guide-card-body pre,.guide-card-body .guide-timing,.guide-card-body .guide-pitfall{font-size:12px}.guide-card-actions .btn,.guide-card-actions .text-button{font-size:11px}.lesson-drawer>header>b{font-size:12px}.lesson-drawer .guide-card-body>p,.lesson-drawer .guide-card-body ol{font-size:12px;line-height:1.8}.lesson-drawer .guide-card-body pre,.lesson-drawer .guide-card-body .guide-timing,.lesson-drawer .guide-card-body .guide-pitfall{font-size:12px}.lesson-drawer .guide-card-actions .btn,.lesson-drawer .guide-card-actions .text-button,.lesson-full-manual{font-size:11px}.harbor-game .resource-ledger>summary,.harbor-game .resource-table td,.harbor-game .resource-table th{font-size:11px}.harbor-game .completion-banner b{font-size:12px}.harbor-game .completion-banner small{font-size:11px}.plain-hints summary,.plain-hints p{font-size:13px}.modal.wide.route-map-modal{width:min(1020px,calc(100vw - 64px));padding:28px;max-height:calc(100vh - 56px)}.route-map-heading h2{font-size:24px}.route-map-heading p,.route-legend{font-size:11px}.route-map{gap:20px}.route-group h3{font-size:15px;gap:9px}.route-group h3 small{font-size:11px}.route-group:after{height:2px;background:linear-gradient(90deg,#c2d8ae,#a9c68f88);opacity:.65}.route-nodes{gap:12px}.route-nodes:before{left:29px;border-left:3px dotted #b4cca0;opacity:.55}.route-island{grid-template-columns:51px minmax(0,1fr);gap:3px 8px;min-height:75px;padding:8px 3px 8px 0;background:transparent;border-color:transparent;border-radius:13px;box-shadow:none;color:#64824f}.route-island b{font-size:12px;line-height:1.5;font-weight:600;color:#6a8658}.route-island>small{font-size:11px;line-height:1.45;color:#91a37f}.route-island:hover:not(:disabled){background:#f8fcedb8;border-color:transparent;box-shadow:0 4px 13px #77945b0b;transform:translateY(-2px)}.route-island.current{background:#e5f0d773;border-color:transparent;box-shadow:none}.route-island.current b{font-weight:750;color:#426e35}.route-island.complete{background:transparent}.route-island.locked{opacity:1;background:transparent;color:#8e9a83}.route-island.locked b{color:#8a957f}.route-island.locked>small{color:#a0aa95}.island-node{width:42px;height:38px;margin-left:7px}.island-node:before{inset:9px 1px 1px;background:#c2d9ad;border-color:#a5c18e;box-shadow:3px 5px #8eac78}.island-node>span{font-size:14px;transform:translateY(-2px)}.route-island.current .island-node:before{background:#9ac97e;border-color:#739f5b;box-shadow:3px 5px #6f974f,0 0 0 3px #a9c98a25}.route-island.complete .island-node:before{background:#bbd7a3;border-color:#9ebc86;box-shadow:3px 5px #84a66a}.route-island.locked .island-node:before{background:#d9e1d0;border-color:#c8d3be;box-shadow:3px 5px #b9c6ad}.route-island.locked .island-node>span{color:#9ca991}@media(max-width:1100px)and (min-width:781px){.task-goal{font-size:11px}.task-title h1{font-size:18px}.task-number{font-size:11px}.world-metrics>span{padding:8px 7px;font-size:11px}.world-metrics b{font-size:17px}.harbor-game .robot-status-row,.harbor-game .robot-status-row .robot-energy{font-size:11px}.harbor-game .robot-status-row .robot-energy{min-width:116px}.lesson-topline>span,.lesson-topline button{font-size:11px}.harbor-game .console-heading>#console-meta{display:none}}@media(max-width:900px){.modal.wide.route-map-modal{width:calc(100vw - 38px);padding:25px;max-height:calc(100vh - 38px)}.route-map{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 15px}.route-island b{font-size:12px}.route-island>small{font-size:11px}.task-goal{font-size:12px}.task-number{font-size:11px}.lesson-topline>span,.lesson-topline button{font-size:11px}.lesson-sample code,.lesson-sample>button{font-size:12px}.harbor-game .robot-status-row,.harbor-game .robot-status-row .robot-energy{font-size:11px}.harbor-game .robot-status-row .robot-energy{min-width:116px}.harbor-game .run-comparison{font-size:11px}.world-metrics>span{font-size:11px}.guide-card>summary code{font-size:12px}.guide-card-actions .text-button{font-size:11px}}@media(max-width:650px){.world-view-tools{top:58px}.harbor-game .resource-ledger,.harbor-game .resource-ledger[open]{top:99px}.route-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px}.route-legend{font-size:11px;gap:10px}.route-map-heading h2{font-size:22px}.route-island{grid-template-columns:49px minmax(0,1fr);gap:3px 7px}.route-island b{font-size:12px}.route-island>small{font-size:11px}.route-group h3{font-size:14px}.task-title h1{font-size:18px}.task-title>span:first-child,.task-number{font-size:11px}.route-launch,.task-info-button{font-size:11px}.harbor-game .robot-status-row{gap:7px}.harbor-game .robot-status-row progress{width:38px}.harbor-game .robot-status-row .robot-energy{min-width:110px}.harbor-game .console-toggle,.harbor-game .run-comparison,.task-goal{font-size:11px}}@media(max-width:400px){.modal.wide.route-map-modal{padding:22px 15px;width:calc(100vw - 24px)}.route-map{gap:17px 9px}.route-island{grid-template-columns:43px minmax(0,1fr);gap:3px 5px}.island-node{width:36px;height:33px;margin-left:4px}.route-island b{font-size:12px}.route-island>small{font-size:11px}.route-legend{font-size:10px}.world-metrics>span{font-size:11px;padding:8px 6px;gap:4px}.world-metrics b{font-size:17px}.world-metrics small{font-size:11px}.harbor-game .robot-status-row{font-size:11px;gap:6px}.harbor-game .robot-status-row progress{display:none}.harbor-game .robot-status-row .robot-energy{font-size:11px;min-width:112px}}.route-island.current.complete .island-node:before{background:#9ac97e;border-color:#739f5b;box-shadow:3px 5px #6f974f,0 0 0 3px #a9c98a25}.route-island.current.complete{background:#e5f0d773}.access-editor{margin:0 23px 18px;border-top:1px solid #dde6d4}.access-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;padding:16px 0 8px;list-style:none;color:#658453;font-size:12px}.access-editor>summary>span{display:flex;align-items:center;gap:8px}.access-editor>summary>span:after{content:"\2304";font-size:14px;color:#98ac86;margin-left:6px}.access-editor[open]>summary>span:after{content:"\2303"}.access-editor>summary>small{font-size:11px;color:#96a785}.access-editor-body{padding:12px 0 0}.access-mode-options{display:flex;align-items:center;gap:27px;flex-wrap:wrap}.access-mode-options label{display:flex;align-items:center;gap:8px;font-size:12px;color:#738e61;font-weight:500;cursor:pointer}.access-editor input[type=radio],.access-editor input[type=checkbox]{appearance:auto;display:inline-block;width:15px;height:15px;min-width:15px;min-height:15px;accent-color:#6d9857;padding:0;margin:0;border-radius:2px;cursor:pointer}.access-editor-body>#access-description{font-size:12px;line-height:1.8;color:#98a78b;margin-top:13px}.access-level-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px;margin-top:19px}.access-level-groups fieldset{border:0;border-left:1px solid #e0e8d6;padding:0 0 0 12px;min-width:0;margin:0}.access-level-groups fieldset:first-child{border-left:0;padding-left:0}.access-level-groups legend{font-size:12px;color:#69885a;font-weight:650;margin-bottom:13px;padding:0}.access-level-groups label{display:flex;align-items:flex-start;gap:7px;cursor:pointer;margin:0 0 11px;color:#819573;font-size:12px;line-height:1.65;font-weight:400}.access-level-groups label input{margin-top:3px!important}.access-level-groups label>span{min-width:0;flex:1}.access-level-groups label small{font:11px Consolas,monospace;color:#acb79c;margin-right:6px}.access-save-row{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-top:15px}.access-save-row>p{font-size:12px;color:#b07856;line-height:1.7}.access-save-row .btn{font-size:12px;height:36px;padding:0 14px}.leaderboard-actions{white-space:nowrap}.leaderboard-actions .text-button{font-size:11px}.leaderboard-actions .text-button+.text-button{margin-left:13px}.completion-time{font:12px Consolas,Microsoft YaHei,monospace;color:#748b65}.leaderboard-card td,.teacher-board td{font-size:12px}.leaderboard-card th,.teacher-board th,.duel-result small{font-size:11px}.duel-result>div>small+small{margin-top:6px;font-size:11px;color:#93a67f}.duel-vs{font-family:inherit;font-size:12px}.duel-rule{font-size:12px;line-height:1.85}.duel-stages>section>span{font-size:12px}@media(max-width:1100px){.access-level-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px 17px}.access-level-groups fieldset:nth-child(4){border-left:0;padding-left:0}}@media(max-width:780px){.access-editor{margin:0 18px 16px}.access-editor>summary{font-size:12px;align-items:flex-start}.access-editor>summary>small{font-size:11px;line-height:1.7;text-align:right}.access-mode-options{gap:19px}.access-level-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 13px}.access-level-groups fieldset:nth-child(4){border-left:1px solid #e0e8d6;padding-left:12px}.access-level-groups fieldset:nth-child(odd){border-left:0;padding-left:0}.access-level-groups label{font-size:12px}.access-save-row{align-items:flex-start;gap:12px}.access-save-row>p{flex:1;font-size:11px}.access-save-row .btn{font-size:12px}.duel-result{gap:27px}.duel-result>div>span{font-size:12px}.duel-result b{font-size:36px}.duel-rule{font-size:11px;padding:0}.duel-stages>section>span{font-size:11px}.leaderboard-actions .text-button{font-size:11px}}.lesson-topline>div{gap:4px;scrollbar-width:none}.lesson-topline>div::-webkit-scrollbar{display:none}.lesson-topline button{padding-left:5px;padding-right:5px}.route-score-mark{display:inline-flex;align-items:center;gap:3px;margin-left:6px;color:#a18c58;font-size:11px;white-space:nowrap;font-weight:500}.route-island.locked .route-score-mark{color:#b3ac94}.state-badge.offline{color:#a2aaa0}.state-badge.offline i{background:#b2b9af}.teacher-login-switch{margin-top:12px}.teacher-credentials{display:grid;gap:14px;margin:22px 0}.teacher-credentials input{font-family:Consolas,Microsoft YaHei,monospace;font-size:13px}.copy-content{width:100%;resize:vertical;min-height:145px;padding:12px;border:1px solid #dce5d2;border-radius:7px;background:#f7f9f1;color:#49613d;font:13px/1.8 Consolas,Microsoft YaHei,monospace}.title-actions{flex-wrap:wrap}.teacher-page .title-actions>.text-button{font-size:12px}.student-card-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.student-card-actions .text-button{font-size:11px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/*# sourceMappingURL=app.css.map */
