.sound-panel[data-v-50fdbaf2]{display:flex;flex-direction:column;width:100%;min-width:0;border:1px solid #dde3ea;border-radius:8px;background:#f4f6f9;color:#233043;font-size:13px;overflow:hidden}.sound-panel button[data-v-50fdbaf2]{font:inherit}.sp-tabs[data-v-50fdbaf2]{display:flex;gap:6px;padding:8px;border-bottom:1px solid #dde3ea;background:#e9eef4}.sp-tab[data-v-50fdbaf2]{flex:1;padding:6px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#5b6b7f;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.sp-tab[data-v-50fdbaf2]:hover{background:#dfe7f1;color:#2b7fd4}.sp-tab[data-v-50fdbaf2]:active{background:#d2dfee}.sp-tab.active[data-v-50fdbaf2]{border-color:#c9dcf2;background:#fff;color:#2b7fd4;font-weight:600}.sp-body[data-v-50fdbaf2]{flex:1;min-height:0;max-height:420px;padding:10px;overflow:auto;background:#f4f6f9}.sp-group+.sp-group[data-v-50fdbaf2]{margin-top:12px}.sp-group-title[data-v-50fdbaf2]{margin-bottom:6px;color:#6b7c91;font-size:12px}.sp-grid[data-v-50fdbaf2]{display:grid;grid-template-columns:repeat(auto-fill,minmax(74px,1fr));gap:6px}.sp-item[data-v-50fdbaf2]{padding:8px 4px;border:1px solid #d7e0ea;border-radius:6px;background:#fff;color:#31465e;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:border-color .15s ease,color .15s ease,background .15s ease,transform .1s ease}.sp-item[data-v-50fdbaf2]:hover{border-color:#2b7fd4;color:#2b7fd4}.sp-item[data-v-50fdbaf2]:active{transform:translateY(1px);background:#f0f6fd}.sp-item.selected[data-v-50fdbaf2]{border-color:#2b7fd4;background:#e8f2fd;color:#1d6ac0;box-shadow:inset 0 0 0 1px #2b7fd4}.sp-mine[data-v-50fdbaf2]{display:flex;flex-direction:column;gap:6px}.sp-empty[data-v-50fdbaf2]{margin:6px 0;color:#7b8b9e;font-size:12px;line-height:1.7}.sp-row[data-v-50fdbaf2]{display:flex;align-items:stretch;gap:4px}.sp-row-main[data-v-50fdbaf2]{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid #d7e0ea;border-radius:6px;background:#fff;color:#31465e;cursor:pointer;text-align:left;transition:border-color .15s ease,color .15s ease,background .15s ease}.sp-row-main[data-v-50fdbaf2]:hover:not(:disabled){border-color:#2b7fd4;color:#2b7fd4}.sp-row-main[data-v-50fdbaf2]:active:not(:disabled){background:#f0f6fd}.sp-row-main[data-v-50fdbaf2]:disabled{cursor:not-allowed;opacity:.6}.sp-row.selected .sp-row-main[data-v-50fdbaf2]{border-color:#2b7fd4;background:#e8f2fd;color:#1d6ac0}.sp-row-name[data-v-50fdbaf2]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-row-tag[data-v-50fdbaf2]{flex:none;color:#8b9aad;font-size:11px}.sp-row-del[data-v-50fdbaf2]{flex:none;width:28px;border:1px solid #d7e0ea;border-radius:6px;background:#fff;color:#7b8b9e;cursor:pointer;transition:color .15s ease,border-color .15s ease}.sp-row-del[data-v-50fdbaf2]:hover{border-color:#d9534f;color:#c9302c}.sp-note[data-v-50fdbaf2]{margin:8px 0 0;color:#7b8b9e;font-size:11px;line-height:1.6}.sp-foot[data-v-50fdbaf2]{display:flex;gap:6px;padding:8px;border-top:1px solid #dde3ea;background:#eef2f7}.sp-btn[data-v-50fdbaf2]{flex:1;min-width:0;padding:7px 4px;border:1px solid #cfdae7;border-radius:6px;background:#fff;color:#31465e;cursor:pointer;white-space:nowrap;transition:border-color .15s ease,color .15s ease,background .15s ease,transform .1s ease}.sp-btn[data-v-50fdbaf2]:hover{border-color:#2b7fd4;color:#2b7fd4}.sp-btn[data-v-50fdbaf2]:active{transform:translateY(1px);background:#e8f2fd}.sp-btn.recording[data-v-50fdbaf2]{border-color:#d9534f;background:#fdeceb;color:#c9302c}.sp-btn.danger[data-v-50fdbaf2]:hover{border-color:#d9534f;color:#c9302c}.sp-file[data-v-50fdbaf2]{display:none}.sp-msg[data-v-50fdbaf2]{margin:0;padding:6px 10px;border-top:1px solid #dde3ea;background:#eef2f7;color:#5b6b7f;font-size:12px}.feedback-fab[data-v-2ae55600]{position:fixed;right:12px;bottom:14px;z-index:2000;padding:7px 13px;border:0;border-radius:18px;background:#ffc93c;color:#4a3b00;font-size:12px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 6px 18px #0000002e}.feedback-fab[data-v-2ae55600]:active{transform:translateY(1px)}.feedback-card[data-v-2ae55600]{width:min(92vw,460px)}.shot-list[data-v-2ae55600]{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.shot-item[data-v-2ae55600]{position:relative;width:64px;height:64px;border:1px solid #e4e7ed;border-radius:6px;overflow:hidden}.shot-item img[data-v-2ae55600]{width:100%;height:100%;object-fit:cover;cursor:zoom-in}.shot-del[data-v-2ae55600]{position:absolute;top:2px;right:2px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#0000008c;color:#fff;font-size:13px;line-height:18px;cursor:pointer}.shot-add[data-v-2ae55600]{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:1px dashed #c0c4cc;border-radius:6px;color:#909399;font-size:20px;cursor:pointer}.shot-add.disabled[data-v-2ae55600]{cursor:not-allowed;color:#c0c4cc}.shot-tip[data-v-2ae55600]{margin:6px 0 0;color:#909399;font-size:12px;line-height:1.4}:root{color:#33475b;background:#f2f5f9;font-family:Inter,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px}button,select,textarea{font:inherit}.hk{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;color:#33475b}.hk-top{min-height:46px;display:flex;align-items:center;gap:8px;padding:0 10px;background:#ffc32b;border-bottom:1px solid #f0b215}.hk-top.is-collapsed{min-height:26px;padding:0 8px;gap:8px}.hk-top.is-collapsed>:not(.top-collapse):not(.top-collapse-hint){display:none}.top-collapse{margin-left:0}.hk-top.is-collapsed .top-collapse{margin-left:auto}.top-collapse-hint{display:none;align-items:center;color:#6b4c00;font-size:11px}.hk-top.is-collapsed .top-collapse-hint{display:inline-flex}.top-left{display:flex;align-items:center;gap:2px}.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:6px;background:transparent;color:#5f4200;font-size:15px;cursor:pointer}.icon-btn:hover{background:#ffffff8c}.mode-switch{display:inline-flex;border:1px solid #f0b215;border-radius:6px;overflow:hidden;background:#fff}.mode-switch button{padding:5px 16px;border:0;background:transparent;color:#5f4200;font-size:13px;cursor:pointer}.mode-switch button.active{background:#ffdd57;color:#4a3800;font-weight:700}.mode-switch button:disabled{opacity:.5;cursor:not-allowed}.top-right{display:flex;align-items:center;gap:8px;margin-left:auto}.work-name{width:150px;padding:6px 10px;border:1px solid #f0b215;border-radius:5px;background:#fff;color:#33475b;font-size:12px;outline:none}.lang-select{padding:6px 8px;border:1px solid #f0b215;border-radius:5px;background:#fff;color:#33475b;font-size:12px}.engine-select{border-style:dashed}.engine-select:disabled{opacity:.55;cursor:wait}.btn{border:0;border-radius:5px;padding:7px 14px;font-size:13px;cursor:pointer;white-space:nowrap}.top-right .btn{flex-shrink:0}.btn:disabled{opacity:.55;cursor:wait}.btn.save,.btn.run{background:#f27f0c;color:#fff}.btn.save:hover,.btn.run:hover{background:#e07308}.btn.judge{background:#16a34a;color:#fff}.btn.judge:hover{background:#15803d}.btn.share{background:#4a7dff;color:#fff}.btn.debug{background:#fff;color:#e8930c;border:1px solid #f0b215}.btn.stop{background:#e2543f;color:#fff}.btn.block{display:block;width:100%;text-align:center}.more-wrap{position:relative}.btn.more{display:inline-flex;align-items:center;gap:4px;background:#fff;color:#5f4200;border:1px solid #f0b215}.btn.more:hover,.btn.more.on{background:#fff3c9}.more-caret{font-size:10px}.more-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:40;display:flex;flex-direction:column;gap:2px;min-width:196px;padding:6px;border:1px solid #e8edf4;border-radius:8px;background:#fff;box-shadow:0 12px 28px #1f2d3d2e}.more-item{display:flex;align-items:center;gap:6px;width:100%;padding:8px 10px;border:0;border-radius:6px;background:none;color:#33475b;font-size:13px;text-align:left;white-space:nowrap;cursor:pointer}.more-item:hover{background:#fff7e0;color:#b37300}.more-item:disabled{opacity:.6;cursor:wait}.more-item.danger{color:#e2543f}.more-split{height:1px;margin:4px 2px;background:#eef2f7}.message{position:fixed;top:62px;left:50%;transform:translate(-50%);padding:9px 20px;border-radius:6px;background:#26a06ff2;color:#fff;font-size:13px;z-index:60;box-shadow:0 6px 16px #1f2d3d2e;max-width:70vw}.toast-enter-active,.toast-leave-active{transition:opacity .25s ease,transform .25s ease}.toast-enter-from,.toast-leave-to{opacity:0;transform:translate(-50%) translateY(-8px)}.hk-body{flex:1;display:grid;grid-template-columns:var(--left-w, 300px) 1fr var(--right-w, 360px);min-height:0}.hk-body.no-right{grid-template-columns:var(--left-w, 300px) 1fr 44px}.hk-left{position:relative;display:flex;min-height:0;border-right:1px solid #eceff3;background:#fff;overflow:hidden}.hk-left.collapsed .panel{display:none}.hk-left.left-shell{flex-direction:column}.left-body{display:flex;flex:1;min-height:0;overflow:hidden}.left-foot{display:flex;align-items:center;gap:4px;padding:5px 8px 5px 10px;border-top:1px solid #eceff3;background:#fcfdff;color:#9aa8b8;font-size:12px}.left-foot-label{margin-right:auto;color:#9aa8b8}.left-foot button{width:22px;height:22px;border:1px solid #dce4ee;border-radius:4px;background:#fff;color:#6d7f93;cursor:pointer}.left-foot button:hover{border-color:#f0b215;color:#b57f00}.left-foot b{min-width:40px;text-align:center;color:#6d7f93}.rail{width:56px;padding:8px 0;display:flex;flex-direction:column;gap:4px;border-right:1px solid #eceff3;background:#fff;flex-shrink:0}.rail-toggle{margin-top:auto}.rail button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;border:0;background:none;color:#7b8b9e;font-size:11px;cursor:pointer}.rail button i{font-style:normal;font-size:18px}.rail button:hover{background:#faf6ec}.rail button.active{background:#fff7e0;color:#d98f00}.panel{flex:1;min-height:0;overflow:auto;padding:14px}.panel h2{margin:0 0 10px;font-size:14px;color:#1f2d3d}.panel h3{margin:12px 0 8px;font-size:12px;color:#7b8b9e}.tpl-level{display:flex;align-items:center;gap:6px;width:100%;margin:12px 0 6px;padding:8px 0 6px;border:0;border-top:1px solid #eef2f7;background:none;color:#c98a00;font-size:12px;font-weight:700;text-align:left;cursor:pointer}.tpl-level:first-of-type{margin-top:2px;border-top:0}.tpl-level:hover{color:#a86f00}.tpl-caret{width:12px;font-size:11px}.tpl-name{flex:1}.tpl-level small{color:#b9a06a;font-weight:400}.tip{margin:0 0 12px;color:#8a97a8;font-size:12px;line-height:1.7}.cat-list{list-style:none;margin:0;padding:0}.cat-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;margin-bottom:6px;border-radius:6px;background:#fafbfc;color:#41546b;font-size:13px}.cat-list i{width:12px;height:12px;border-radius:3px}.cat-list small{margin-left:auto;color:#9aa8b8}.list-item{display:flex;flex-direction:column;gap:3px;width:100%;margin-bottom:8px;padding:10px 12px;border:1px solid #e8edf4;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.list-item:hover{border-color:#f5c95e;background:#fffdf4}.list-item b{color:#1f2d3d;font-size:13px}.list-item small{color:#93a1b2;font-size:11px}.list-item.current{border-color:#f0a400;background:#fff8e3}.list-item.danger b{color:#e2543f}.kb-entry b{color:#b57f00}.kb-search{width:100%;height:30px;margin-bottom:10px;padding:0 10px;border:1px solid #dbe3ec;border-radius:7px;background:#fff;color:#41546b;font-size:12px;outline:none}.kb-search:focus{border-color:#e8b65a;box-shadow:0 0 0 2px #e8b65a2e}.kb-count{margin:0 0 8px;color:#9aa8b8;font-size:11px}.kb-card{margin-bottom:8px;border:1px solid #e8edf4;border-radius:8px;background:#fff;overflow:hidden}.kb-card.open{border-color:#f5c95e}.kb-head{display:flex;align-items:flex-start;gap:6px;width:100%;padding:9px 10px 2px;border:0;background:none;text-align:left;cursor:pointer}.kb-caret{flex-shrink:0;color:#b9a06a;font-size:11px;line-height:18px}.kb-title{flex:1;color:#1f2d3d;font-size:12.5px;font-weight:700;line-height:1.5}.kb-card.open .kb-title{color:#b57f00}.kb-summary{margin:0;padding:0 10px 9px 16px;color:#93a1b2;font-size:11px;line-height:1.6}.kb-body{padding:0 10px 10px 16px;border-top:1px dashed #eef2f7}.kb-points{margin:8px 0;padding-left:15px;color:#41546b;font-size:12px;line-height:1.75}.kb-points li{margin-bottom:2px}.kb-code{margin:0 0 8px;padding:8px 9px;border-radius:6px;background:#f7f9fc;color:#41546b;font-size:11px;line-height:1.55;overflow-x:auto}.kb-actions{display:flex;gap:6px}.kb-btn{padding:5px 10px;border:1px solid #f0a400;border-radius:6px;background:#fff7e0;color:#b57f00;font-size:11px;cursor:pointer}.kb-btn:hover{background:#ffe8b3}.kb-btn.ghost{border-color:#dbe3ec;background:#fff;color:#6d7f93}.kb-btn.ghost:hover{background:#f1f3f6}.kb-empty{margin:6px 0;color:#9aa8b8;font-size:12px}.hb-toolbar{display:flex;align-items:center;gap:8px;margin:0 0 8px}.hb-toolbar .kb-count{margin:0;flex:1}.hb-mini{padding:3px 8px;border:1px solid #dbe3ec;border-radius:6px;background:#fff;color:#6d7f93;font-size:11px;cursor:pointer}.hb-mini:hover{border-color:#f0a400;color:#b57f00;background:#fffdf4}.hb-chapter{margin-bottom:10px;border:1px solid #e8edf4;border-radius:8px;background:#fff;overflow:hidden}.hb-chapter.open{border-color:#f5c95e}.hb-chapter-head{display:flex;align-items:center;gap:6px;width:100%;padding:9px 10px 4px;border:0;background:none;text-align:left;cursor:pointer}.hb-chapter-title{flex:1;color:#1f2d3d;font-size:12.5px;font-weight:700;line-height:1.5}.hb-chapter.open .hb-chapter-title{color:#b57f00}.hb-badge{flex-shrink:0;padding:1px 6px;border-radius:999px;background:#fff3c9;color:#b57f00;font-size:10px}.hb-min{flex-shrink:0;color:#b9a06a;font-size:10.5px}.hb-chapter-meta{display:flex;align-items:center;gap:6px;margin:0;padding:0 10px 4px 22px}.hb-chapter-summary{margin:0;padding:0 10px 8px 22px;color:#93a1b2;font-size:11px;line-height:1.6}.hb-chapter.open .hb-chapter-summary{color:#8a97a8}.hb-chapter-body{padding:0 10px 10px}.hb-item{margin-bottom:10px;padding:10px;border-radius:7px;background:#fbfcfe;border-left:3px solid #ffe08a}.hb-item:last-child{margin-bottom:0}.hb-item-title{margin:0 0 4px;color:#1f2d3d;font-size:12.5px;font-weight:700}.hb-item .kb-summary{padding:0;margin:0 0 2px}.hb-item .kb-points{margin:6px 0 0}.hb-item .kb-code{margin:8px 0 6px;background:#fff}.category-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:#fff7e0;color:#b57f00;font-size:12.5px;font-weight:700}.panel-row{margin-bottom:8px}.split{height:1px;margin:12px 0;background:#eef2f7}.file-label{overflow:hidden}.badge{display:inline-flex;padding:3px 8px;border-radius:4px;background:#fff3c9;color:#d98f00;font-size:12px}.question-content{color:#41546b;line-height:1.8;font-size:13px;word-break:break-word}.panel{padding:calc(14px * var(--ui-scale, 1))}.panel h2{font-size:calc(14px * var(--ui-scale, 1));margin-bottom:calc(10px * var(--ui-scale, 1))}.panel h3{font-size:calc(12px * var(--ui-scale, 1));margin:calc(12px * var(--ui-scale, 1)) 0 calc(8px * var(--ui-scale, 1))}.panel .tip{font-size:calc(12px * var(--ui-scale, 1));margin-bottom:calc(12px * var(--ui-scale, 1))}.panel .cat-list li{font-size:calc(13px * var(--ui-scale, 1));gap:calc(8px * var(--ui-scale, 1));padding:calc(8px * var(--ui-scale, 1)) calc(10px * var(--ui-scale, 1));margin-bottom:calc(6px * var(--ui-scale, 1));border-radius:calc(6px * var(--ui-scale, 1))}.cat-list i{width:calc(12px * var(--ui-scale, 1));height:calc(12px * var(--ui-scale, 1));border-radius:calc(3px * var(--ui-scale, 1))}.panel .cat-list small{font-size:calc(12px * var(--ui-scale, 1))}.panel .list-item{gap:calc(3px * var(--ui-scale, 1));margin-bottom:calc(8px * var(--ui-scale, 1));padding:calc(10px * var(--ui-scale, 1)) calc(12px * var(--ui-scale, 1));border-radius:calc(8px * var(--ui-scale, 1))}.panel .list-item b{font-size:calc(13px * var(--ui-scale, 1))}.panel .list-item small{font-size:calc(11px * var(--ui-scale, 1))}.panel .tpl-level{font-size:calc(12px * var(--ui-scale, 1));gap:calc(6px * var(--ui-scale, 1));margin:calc(12px * var(--ui-scale, 1)) 0 calc(6px * var(--ui-scale, 1));padding:calc(8px * var(--ui-scale, 1)) 0 calc(6px * var(--ui-scale, 1))}.panel .tpl-caret{font-size:calc(11px * var(--ui-scale, 1));width:calc(12px * var(--ui-scale, 1))}.panel .badge{font-size:calc(12px * var(--ui-scale, 1));padding:calc(3px * var(--ui-scale, 1)) calc(8px * var(--ui-scale, 1))}.panel .question-content{font-size:calc(13px * var(--ui-scale, 1))}.panel .btn{font-size:calc(13px * var(--ui-scale, 1));padding:calc(7px * var(--ui-scale, 1)) calc(14px * var(--ui-scale, 1));border-radius:calc(5px * var(--ui-scale, 1))}.panel .panel-row{margin-bottom:calc(8px * var(--ui-scale, 1))}.panel .split{margin:calc(12px * var(--ui-scale, 1)) 0}.panel .panel-actions{position:sticky;bottom:0;margin-top:calc(4px * var(--ui-scale, 1));padding-top:calc(8px * var(--ui-scale, 1));background:#fff}.panel .open-badge{margin-left:calc(8px * var(--ui-scale, 1));padding:calc(1px * var(--ui-scale, 1)) calc(7px * var(--ui-scale, 1));border-radius:999px;background:#e8f7ee;color:#1f9d63;font-size:calc(11px * var(--ui-scale, 1));font-weight:400}.panel .blocks-close{background:#f27f0c;color:#fff}.panel .blocks-close:hover{background:#e07308}.rail{width:calc(56px * var(--rail-scale, 1))}.rail button{font-size:calc(11px * var(--rail-scale, 1))}.rail button i{font-size:calc(18px * var(--rail-scale, 1))}.hk-left.collapsed .rail,.hk-body.no-left .rail{width:56px}.hk-left.collapsed .rail button,.hk-body.no-left .rail button{font-size:11px}.hk-left.collapsed .rail button i,.hk-body.no-left .rail button i{font-size:18px}.hk-center{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;overflow:hidden}.filebar{display:flex;align-items:center;gap:2px;padding:6px 10px 0;background:#fafbfc;border-bottom:1px solid #eceff3;overflow-x:auto}.filetab{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #eceff3;border-bottom:0;border-radius:6px 6px 0 0;background:#f1f3f6;color:#6d7f93;font-size:12px;cursor:pointer;white-space:nowrap}.filetab.active{background:#fff;color:#d98f00;font-weight:600}.filetab.add{border-style:dashed;color:#9aa8b8}.filetab-close{color:#a3b1c0;font-size:13px}.filetab-close:hover{color:#e2543f}.editor-head{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 12px;border-bottom:1px solid #eceff3;color:#7b8b9e;font-size:12px}.file-name{color:#41546b}.pyright-status{color:#26a06f}.runner-note{margin-left:auto;color:#9aa8b8}.draft-state{color:#a4b1c0}.share-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid #f3e2b8;background:#fffaf0;color:#8a6d1f;font-size:12px}.share-bar b{color:#b57d09}.share-bar-error{color:#c0392b}.share-bar-actions{margin-left:auto;display:inline-flex;align-items:center;gap:12px}.editor{flex:1;min-height:140px;overflow:auto;--cm-font-size: 15px}.cm-editor{height:100%;font-size:var(--cm-font-size);background:#fff;color:#59574c}.cm-scroller{overflow:auto;font-size:var(--cm-font-size);line-height:1.7}.cm-gutters{background:#fbfcfe;color:#a3b1c0;border-right:1px solid #eceff3}.cm-activeLine{background:#fffbea}.cm-activeLineGutter{background:#fff3c9;color:#b57f00}.editor-foot{display:flex;align-items:center;gap:12px;min-height:36px;padding:0 12px;border-top:1px solid #eceff3;color:#7b8b9e;font-size:12px}.foot-group{display:inline-flex;gap:6px}.zoom{margin-left:auto;display:inline-flex;align-items:center;gap:4px;color:#9aa8b8}.zoom-label{font-style:normal;color:#9aa8b8}.zoom button{width:22px;height:22px;border:1px solid #dce4ee;border-radius:4px;background:#fff;color:#6d7f93;cursor:pointer}.zoom b{min-width:40px;text-align:center;color:#6d7f93}.blocks-host{flex:1;min-height:0;position:relative}.blocks-host .injectionDiv{position:absolute;top:0;right:0;bottom:0;left:0}.console{position:relative;display:flex;flex-direction:column;height:var(--console-h, 250px);min-height:90px;flex-shrink:0;border-top:1px solid #4a483e;background:#59574c;color:#fff}.console.collapsed{height:auto;min-height:34px}.resizer{position:absolute;z-index:6}.resizer-x{top:0;bottom:0;width:7px;cursor:col-resize}.resizer-y{left:0;right:0;height:7px;cursor:row-resize}.hk-left>.resizer-x{right:-3px}.hk-right>.resizer-x{left:-3px}.console>.resizer-y{top:-3px}.resizer:hover,.resizer:active{background:#f27f0c73}body.resizing{cursor:col-resize}body.resizing iframe{pointer-events:none}body.resizing *{-webkit-user-select:none!important;user-select:none!important}.console-head{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 14px 0 6px;color:#ffffffd9;font-size:13px}.head-icon.fold{width:24px;font-size:12px}.console-head b{color:#fff}.head-time{color:#ffffff8c;font-size:12px}.head-actions{margin-left:auto;display:inline-flex;gap:6px}.head-icon{border:0;background:none;color:#ffffffb3;font-size:14px;cursor:pointer}.head-icon:hover{color:#fff}.console-body{flex:1;min-height:0;overflow:auto;padding:4px 14px 10px;font:14px/21px Monaco,Menlo,Ubuntu Mono,Consolas,Source Code Pro,monospace}.cline{white-space:pre-wrap;word-break:break-all;color:#fff}.cline.success{color:#95c901}.err-pos{color:#fff;cursor:pointer}.err-pos:hover{text-decoration:underline}.err-en{color:#ff6b68;margin-top:2px;white-space:pre-wrap}.err-en i,.err-zh i{font-style:normal;margin-right:5px;font-size:12px}.err-zh{color:#bfbeb7;margin-left:5px;white-space:pre-wrap}.err-tail{margin-top:16px;color:#ff6b68;display:flex;align-items:center;gap:8px}.ai-btn{border:0;border-radius:4px;padding:2px 8px;background:#8a7ef6;color:#fff;font-size:12px;cursor:pointer}.ai-btn:hover{background:#7a6df0}.inline-input{display:flex;align-items:center;gap:2px;padding:2px 0}.inline-prompt{color:#fff;white-space:pre;flex-shrink:0}.inline-field{flex:1;min-width:40px;border:0;border-bottom:1px solid rgba(255,255,255,.5);background:transparent;outline:none;color:#fff;caret-color:#fff;font:14px/21px Monaco,Menlo,Ubuntu Mono,Consolas,Source Code Pro,monospace}.inline-field::placeholder{color:#ffffff80}.inline-eof{flex-shrink:0;margin-left:6px;padding:1px 8px;border:1px solid rgba(255,255,255,.35);border-radius:5px;background:transparent;color:#fffc;font-size:12px;cursor:pointer}.inline-eof:hover{background:#ffffff1f;color:#fff}.hk-right{position:relative;display:flex;flex-direction:column;gap:8px;min-height:0;padding:12px;border-left:1px solid #eceff3;background:#fff;overflow:auto}.hk-right.collapsed{padding:0;overflow:hidden}.right-expand{flex:1;border:0;background:#fafbfc;color:#7b8b9e;font-size:16px;cursor:pointer}.right-expand:hover{background:#fff3c9;color:#d98f00}.stage-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;color:#41546b;font-size:13px}.stage-body{display:flex;flex-direction:column;gap:8px;min-height:0}.stage-view{flex:1;min-height:0;overflow:auto;display:flex;align-items:flex-start;justify-content:flex-start}.stage-actions{display:inline-flex;align-items:center;gap:10px}.turtle-canvas{position:relative;flex:none;margin:auto;width:calc(200% * var(--stage-zoom, 1));aspect-ratio:1 / 1;overflow:hidden;border:1px solid #e3e9f0;border-radius:8px;background:#fff}.turtle-host{position:absolute;top:0;right:0;bottom:0;left:0}.turtle-canvas canvas{position:absolute!important;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important;margin:0!important}.stage-axis-label{position:absolute;z-index:5;pointer-events:none;color:#93a2b3;font-size:12px;line-height:16px;padding:0 3px;border-radius:3px;background:#ffffffb8}.stage-axis-label.top{top:4px;left:50%;transform:translate(-50%)}.stage-axis-label.bottom{bottom:4px;left:50%;transform:translate(-50%)}.stage-axis-label.left{left:4px;top:50%;transform:translateY(-50%)}.stage-axis-label.right{right:4px;top:50%;transform:translateY(-50%)}.stage-hover{position:absolute;z-index:6;pointer-events:none;padding:3px 7px;border-radius:5px;white-space:nowrap;background:#3a3e46db;color:#fff;font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}.stage-zoom{display:inline-flex;align-items:center;gap:2px;color:#7b8b9e}.stage-zoom b{min-width:34px;text-align:center;font-weight:400}.stage-actions .link.on{color:#d98f00}.turtle-canvas.grid-on{background-image:linear-gradient(to right,rgba(120,145,175,.26) 1px,transparent 1px),linear-gradient(to bottom,rgba(120,145,175,.26) 1px,transparent 1px);background-size:calc(100% / 14) calc(100% / 14)}.turtle-canvas.grid-on:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none;background:linear-gradient(to bottom,transparent calc(50% - 1px),rgba(120,150,190,.5) calc(50% - 1px),rgba(120,150,190,.5) calc(50% + 1px),transparent calc(50% + 1px)) 0 0 / 100% 100% no-repeat,linear-gradient(to right,transparent calc(50% - 1px),rgba(120,150,190,.5) calc(50% - 1px),rgba(120,150,190,.5) calc(50% + 1px),transparent calc(50% + 1px)) 0 0 / 100% 100% no-repeat}.stage-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;background:#1f29378c;display:flex;align-items:center;justify-content:center}.stage-modal-body{width:min(92vw,1100px);max-height:88vh;display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:12px;background:#fff;box-shadow:0 18px 60px #00000059}.stage-modal-head{display:flex;align-items:center;justify-content:space-between;color:#41546b;font-size:14px}.stage-big{display:block;margin:0 auto;width:auto;height:auto;max-width:100%;max-height:74vh;border:1px solid #e3e9f0;border-radius:8px;background:#fff}.share-dialog{width:min(92vw,460px);gap:12px}.share-dialog-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#41546b;font-size:13px}.share-dialog-row>span:first-child{width:62px;flex:none;color:#7b8b9e}.share-dialog-input{flex:1;min-width:180px;padding:6px 10px;border:1px solid #dfe6ee;border-radius:6px;font-size:13px;color:#1f2d3d}.share-dialog-input:focus{outline:none;border-color:#f5c95e}.share-dialog-radio{display:inline-flex;align-items:center;gap:5px;color:#41546b;font-size:13px;cursor:pointer}.share-dialog-radio.disabled{color:#b6c0cc;cursor:not-allowed}.share-dialog-textarea{width:100%;min-height:72px;padding:8px 10px;border:1px solid #dfe6ee;border-radius:6px;font-family:inherit;font-size:13px;color:#1f2d3d;resize:vertical;box-sizing:border-box}.share-dialog-textarea:focus{outline:none;border-color:#f5c95e}.share-dialog-note{margin:0;color:#8a97a8;font-size:12px;line-height:1.7}.share-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.confirm-card{gap:14px}.confirm-message{margin:0;color:#41546b;font-size:13px;line-height:1.8;white-space:pre-line}.btn.danger{background:#e2543f;color:#fff}.btn.danger:hover{background:#cd4632}.cm-lintRange-error{background:#ff6b681f!important;border-bottom:2px wavy #ef6d77}.cm-lintRange-warning{background:#e8b65a1f!important;border-bottom:2px wavy #e8b65a}.cm-lintRange-info{background:none!important;border-bottom:2px wavy #6fb3ef}.cm-lintRange-active{background:#ef6d7733!important}.cm-lint-marker-error,.cm-lint-marker-warning{width:1.1em;height:1.1em}.cm-punct-fix{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:13px}.cm-punct-fix-label{color:#41546b}.cm-punct-fix-btn{min-width:26px;height:24px;padding:0 8px;border:1px solid #e8b65a;border-radius:6px;background:#fff7e6;color:#c97c00;font-size:14px;font-weight:700;cursor:pointer}.cm-punct-fix-btn:hover{background:#ffe8b3}.editor .cm-panels-top{border-bottom:1px solid #eceff3}.editor .cm-panel.cm-search{padding:6px 34px 6px 10px;background:#fafbfc;font-size:12px;color:#41546b}.editor .cm-panel.cm-search .cm-textfield{height:26px;padding:0 8px;border:1px solid #dbe3ec;border-radius:6px;background:#fff;color:#41546b;font-size:12px;outline:none}.editor .cm-panel.cm-search .cm-textfield:focus{border-color:#e8b65a;box-shadow:0 0 0 2px #e8b65a2e}.editor .cm-panel.cm-search .cm-button{height:26px;padding:0 10px;border:1px solid #dbe3ec;border-radius:6px;background:#fff;background-image:none;color:#6d7f93;font-size:12px}.editor .cm-panel.cm-search .cm-button:hover{background:#f1f3f6;color:#c97c00}.editor .cm-panel.cm-search label{display:inline-flex;align-items:center;gap:3px;color:#7b8b9e;white-space:nowrap}.editor .cm-panel.cm-search input[type=checkbox]{accent-color:#e8b65a;margin:0}.editor .cm-panel.cm-search [name=close]{width:24px;height:24px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#9aa8b8;font-size:14px;line-height:1}.editor .cm-panel.cm-search [name=close]:hover{background:#f1f3f6;color:#c97c00}.editor .cm-searchMatch{background:#ffe9a8;border-radius:2px}.editor .cm-searchMatch-selected{background:#ffcf6b;box-shadow:0 0 0 1px #e8a13a inset}.head-wait{padding:1px 8px;border-radius:999px;background:#fff4e0;color:#c97c00;font-size:11px;animation:wait-pulse 1.4s ease-in-out infinite}@keyframes wait-pulse{0%,to{opacity:1}50%{opacity:.45}}.cm-sig-tip{padding:5px 9px;border-radius:6px;background:#2f3b4a;color:#e8eef6;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;box-shadow:0 4px 14px #141e2d2e}@media(max-width:1180px){.hk-body{grid-template-columns:240px 1fr 300px}}@media(max-width:1320px){.hk-top{gap:6px;padding:0 8px}.work-name{width:112px}.top-right{gap:6px}}@media(max-width:1100px){.work-name{display:none}.btn{padding:6px 10px}}@media(max-height:760px){.hk-top{min-height:42px}.console-head{padding:4px 10px}.hk-right{padding:8px;gap:6px}}@media(max-width:960px){.hk-body{grid-template-columns:1fr}.hk-left{max-height:42vh;border-right:0;border-bottom:1px solid #eceff3}.hk-right{border-left:0;border-top:1px solid #eceff3}}.shell{height:100vh;display:flex;flex-direction:column;overflow:hidden;background:#f2f5f9}.shell>*{min-height:0}.shell>.home,.shell>.login-page{flex:1;overflow:auto}.auth-expired-bar{flex:none;display:flex;align-items:center;gap:12px;padding:9px 16px;background:#fff1f0;border-bottom:1px solid #ffa39e;color:#a8071a;font-size:13px}.auth-expired-text{flex:1;line-height:1.5}.auth-expired-go{flex:none;padding:6px 14px;border:0;border-radius:6px;background:#d4380d;color:#fff;font-weight:600;cursor:pointer}.auth-expired-go:hover{background:#ad2102}.app-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;border-bottom:1px solid #e3e9f0;background:#ffc32b}.brand,.app-brand{border:0;background:none;color:#4a3800;font-size:15px;font-weight:700;cursor:pointer}.app-brand{display:inline-flex;align-items:center;gap:8px;flex:none}.app-logo{width:26px;height:26px;border-radius:6px;object-fit:contain;background:#fff}.app-brand-text{white-space:nowrap}.app-nav{flex:1;min-width:0;display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none}.app-nav::-webkit-scrollbar{display:none}.app-nav-item{flex:none;padding:6px 10px;border:0;border-radius:6px;background:none;color:#4a3800;font-size:13px;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer}.app-nav-item:hover{background:#ffffff8c}.bar-right{display:flex;align-items:center;gap:14px}.account-btn{display:inline-flex;align-items:center;gap:6px;max-width:132px}.account-avatar{flex:none;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#f7a900;color:#fff;font-size:12px;font-weight:700}.account-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu-head{padding:5px 10px 7px;margin-bottom:2px;border-bottom:1px solid #eef2f7;color:#93a1b2;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user{color:#6b5310;font-size:13px}.ghost{border:1px solid #f0b215;border-radius:5px;padding:6px 12px;background:#fff;color:#6d7f93;cursor:pointer}.toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%);padding:10px 18px;border-radius:6px;background:#238b67f2;color:#fff;font-size:13px;z-index:50}.login-page{flex:1;display:flex;align-items:center;justify-content:center;padding:32px 16px}.login-card{width:100%;max-width:380px;padding:34px 30px;border:1px solid #e3e9f0;border-radius:12px;background:#fff;box-shadow:0 8px 24px #1f2d3d0f}.login-card h1{margin:0 0 8px;font-size:22px;color:#1f2d3d}.login-card .sub{margin:0 0 24px;color:#7b8b9e;font-size:13px;line-height:1.6}.login-card label{display:block;margin-bottom:16px;color:#5b6c80;font-size:13px}.login-card input{width:100%;margin-top:7px;padding:10px 12px;border:1px solid #dce4ee;border-radius:5px;color:#33475b;background:#fbfcfe;outline:none}.login-card input:focus{border-color:#f0b215}.login-card input:disabled{background:#f4f6fa;color:#7b8b9e;cursor:not-allowed}.login-card .error{margin:0 0 14px;color:#d9453a;font-size:13px}.login-card .primary{width:100%;padding:11px;border:0;border-radius:5px;background:#f7a900;color:#fff;font-size:15px;cursor:pointer}.login-card .primary:disabled{opacity:.6;cursor:wait}.login-card .tip{margin:16px 0 0;color:#9aa8b8;font-size:12px;text-align:center}.login-card .links{display:flex;justify-content:space-between;margin-top:14px;font-size:13px}.login-card .link{border:0;padding:0;background:none;color:#2b7bd6;font-size:13px;cursor:pointer}.login-card .link:hover{text-decoration:underline}.login-card .code-row{display:flex;gap:8px;margin-top:7px}.login-card .code-row input{margin-top:0;flex:1}.login-card .code-row button{flex:0 0 auto;padding:10px 12px;border:1px solid #f0b215;border-radius:5px;background:#fff;color:#8a6a2a;font-size:13px;cursor:pointer;white-space:nowrap}.login-card .code-row button:disabled{opacity:.6;cursor:not-allowed}.login-card .hint{margin:12px 0 0;color:#9aa8b8;font-size:12px;line-height:1.6}.home{flex:1;padding:40px 24px 56px;max-width:1080px;margin:0 auto;width:100%}.home-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px;flex-wrap:wrap}.home-head h1{margin:0 0 8px;font-size:24px;color:#1f2d3d}.home-head p{margin:0;color:#7b8b9e;font-size:13px}.who{color:#5b6c80;font-size:13px}.practice{margin-bottom:22px}.practice-card{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid #f5d99a;border-radius:12px;background:linear-gradient(180deg,#fffaf0,#fff)}.practice-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.practice-head b{color:#b06f00;font-size:14px;letter-spacing:1px}.practice-langs{display:inline-flex;gap:4px}.practice-lang{padding:3px 10px;border:1px solid #f0d9a8;border-radius:999px;background:#fff;color:#8a6a2a;font-size:12px;cursor:pointer}.practice-lang.on{border-color:#f27f0c;background:#f27f0c;color:#fff}.practice-title{margin:0;color:#1f2d3d;font-size:18px}.practice-desc{margin:0;color:#7b8b9e;font-size:13px}.practice-week{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.practice-day{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#f2f5f9;color:#9aa8b8;font-size:12px}.practice-day.on{background:#f27f0c;color:#fff}.practice-day.today{box-shadow:0 0 0 2px #f5d99a}.practice-week-tip{margin-left:6px;color:#9aa8b8;font-size:12px}.practice-rank{flex-basis:100%;color:#8a6a2a;font-size:12px}.comment-list{max-height:46vh;overflow:auto;margin:4px 0 10px;padding:2px 0}.comment-item{display:flex;gap:8px;padding:7px 0;border-top:1px dashed #eef2f7;font-size:13px;line-height:1.6}.comment-item:first-child{border-top:0}.comment-item b{flex:none;color:#5b6c80;font-size:12px}.comment-item span{color:#1f2d3d;word-break:break-word}.comment-item.teacher{background:#fffaf0;border-radius:6px;padding:7px 8px}.comment-item.teacher b{color:#b06f00}.share-actions .link.comment{color:#1f6fb2}.practice-rank b{color:#d97706}.practice-tip{margin:0;color:#b06f00;font-size:13px}.practice-actions{display:flex;gap:10px}.practice{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}@media(max-width:900px){.practice{grid-template-columns:minmax(0,1fr)}}.levelmap-card{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid #d9e6f5;border-radius:12px;background:linear-gradient(180deg,#f7fbff,#fff)}.levelmap-card .practice-head b{color:#1f6fb2}.levelmap-bar{height:8px;border-radius:999px;background:#e8f0fa;overflow:hidden}.levelmap-bar>span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#63b3ed,#3182ce);transition:width .3s ease}.levelmap-levels{display:grid;grid-template-columns:repeat(auto-fit,minmax(66px,1fr));gap:6px}.levelmap-level{display:flex;flex-direction:column;gap:3px;padding:6px 8px;border:1px solid #e2ebf6;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.levelmap-level:hover{border-color:#8fc3ee;background:#f4faff}.levelmap-level b{color:#245b8f;font-size:12px}.levelmap-level small{color:#7b8b9e;font-size:11px}.levelmap-level.full{border-color:#9ad8b0;background:#f2fbf5}.levelmap-track{display:block;height:4px;border-radius:999px;background:#eef3f9;overflow:hidden}.levelmap-track>span{display:block;height:100%;background:#3d9be9}.levelmap-level.full .levelmap-track>span{background:#2fa96b}@media(max-width:640px){.levelmap-levels{grid-template-columns:repeat(2,minmax(0,1fr))}}.tpl-stat{white-space:nowrap}.tpl-done{margin-right:4px;color:#1f9d55}.tpl-bugfix{display:inline-block;margin-right:4px;padding:0 5px;border-radius:4px;background:#ffe6e0;color:#d1452c;font-size:10px;font-weight:600;vertical-align:1px}.list-item.done{border-color:#c9e9d4;background:#f7fdf9}.list-item.bugfix b{color:#b3402a}.classroom-dialog{width:420px;max-width:calc(100vw - 32px)}.classroom-tip{margin:0 0 10px;color:#5b6c80;font-size:13px;line-height:1.7}.classroom-warn{margin:4px 0 10px;color:#b06f00;font-size:12px}.classroom-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:#5b6c80;font-size:13px}.classroom-row select{flex:1;height:30px;padding:0 8px;border:1px solid #d9e2ec;border-radius:6px;background:#fff;color:#1f2d3d;font-size:13px}.classroom-clock{margin:6px 0 12px;color:#d1452c;font-family:Consolas,Menlo,monospace;font-size:40px;font-weight:700;letter-spacing:2px;text-align:center}.classroom-result{margin:6px 0 12px;padding:12px;border-radius:8px;background:#fff6f4;text-align:center}.classroom-result.success{background:#f2fbf5}.classroom-result b{display:block;color:#b3402a;font-size:15px}.classroom-result.success b{color:#1f9d55}.classroom-result p{margin:6px 0 0;color:#5b6c80;font-size:13px}.btn.classroom-chip{background:#fff4e6;border:1px solid #f2c894;color:#b06f00;font-family:Consolas,Menlo,monospace}.point-card{position:fixed;right:20px;bottom:20px;z-index:60;width:300px;max-width:calc(100vw - 32px);padding:14px 16px;border:1px solid #f5d99a;border-radius:12px;background:#fffdf6;box-shadow:0 12px 30px #1f2d3d29}.point-card-head{display:block;color:#b06f00;font-size:14px}.point-card-name{margin:6px 0 8px;color:#1f2d3d;font-size:13px}.point-card-list{margin:0 0 10px;padding:0;list-style:none}.point-card-list li{padding:7px 0;border-top:1px dashed #f0e3c2}.point-card-list li:first-child{border-top:0}.point-card-list b{display:block;color:#9a5f00;font-size:12px}.point-card-list span{display:block;margin-top:2px;color:#7b8b9e;font-size:11px;line-height:1.6}.point-card-foot{display:flex;gap:8px}.point-card-foot .btn{flex:1;padding:6px 10px;font-size:12px}.point-card-close{position:absolute;top:6px;right:8px;border:0;background:none;color:#b9a06a;font-size:16px;cursor:pointer}.practice-bar{display:flex;align-items:center;gap:10px;padding:5px 12px;border-bottom:1px solid #f5d99a;background:#fffaf0;color:#8a6a2a;font-size:12px;flex-wrap:wrap}.practice-bar-title{padding:1px 8px;border-radius:999px;background:#f27f0c;color:#fff;font-size:11px}.practice-bar-name{color:#1f2d3d;font-size:13px}.practice-bar-state{color:#9aa8b8}.practice-bar-state.done{color:#1f9d55}.practice-bar-tip{margin-left:auto;color:#9aa8b8}.cards{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.card{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #e3e9f0;border-radius:10px;background:#fff;color:inherit;text-align:left;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.card:hover{transform:translateY(-2px);border-color:#f5c95e;box-shadow:0 8px 20px #f7a90024}.card-icon{font-size:22px}.card-badge{align-self:flex-start;padding:2px 6px;border-radius:4px;background:#fff3c9;color:#d98f00;font-size:10px}@media(max-width:1000px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:640px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}.works{margin-top:36px}.works-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.works-head h2{margin:0;font-size:16px;color:#1f2d3d}.works-tip{color:#7b8b9e;font-size:13px}.works-warn{margin:0 0 12px;padding:8px 12px;border-radius:8px;background:#fff5f4;color:#c0392b;font-size:13px}.works-group{margin-bottom:18px}.works-group h3{margin:0 0 10px;font-size:13px;color:#7b8b9e}.works-group h3 small{color:#a8b5c4}.works-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.work-item{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid #e3e9f0;border-radius:10px;background:#fff;color:inherit;text-align:left;cursor:pointer}.work-item:hover{border-color:#f5c95e;box-shadow:0 6px 16px #f7a9001f}.work-item b{color:#1f2d3d;font-size:14px;word-break:break-all}.work-item small{color:#93a1b2;font-size:12px}.work-icon{font-size:16px}.works-empty{color:#71849d;font-size:13px}.share-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(330px,100%),1fr));gap:12px}.share-item{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon meta" "actions actions";align-items:center;gap:8px 12px;padding:14px 16px;border:1px solid #e3e9f0;border-radius:12px;background:#fff}.share-item:hover{border-color:#f5c95e;box-shadow:0 8px 20px #f7a90024}.share-item .work-icon{grid-area:icon;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f5f8fc;font-size:18px}.share-meta{grid-area:meta;display:flex;flex-direction:column;gap:3px;min-width:0}.share-meta b{color:#1f2d3d;font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}.share-meta small{color:#93a1b2;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mine-tag{margin-left:6px;padding:1px 6px;border-radius:8px;background:#fff3d6;color:#b57d09;font-size:11px;font-style:normal}.onlylink-tag{margin-left:6px;padding:1px 6px;border-radius:8px;background:#eef3fb;color:#4a6b96;font-size:11px;font-style:normal}.class-tag{margin-left:6px;padding:1px 6px;border-radius:8px;background:#eaf7ef;color:#2f7d54;font-size:11px;font-style:normal}.revoked-tag{margin-left:6px;padding:1px 6px;border-radius:8px;background:#f0f2f5;color:#8494a7;font-size:11px;font-style:normal}.share-actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 12px;padding-top:8px;border-top:1px dashed #eef1f6}.share-filters{margin-left:auto;display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.share-search{width:190px;padding:5px 10px;border:1px solid #dfe6ee;border-radius:6px;font-size:13px;color:#1f2d3d}.share-search:focus{outline:none;border-color:#f5c95e}.share-select{padding:5px 8px;border:1px solid #dfe6ee;border-radius:6px;background:#fff;font-size:13px;color:#41546b}.link-active{color:#b57d09;font-weight:600}.link:disabled{color:#c3ccd6;cursor:not-allowed}.link.on{color:#b57d09;font-weight:600}.link.like{font-variant-numeric:tabular-nums}.share-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}.share-tab{padding:5px 12px;border:1px solid #e3e9f0;border-radius:999px;background:#fff;color:#5c6b7f;font-size:13px;cursor:pointer}.share-tab:hover{border-color:#f5c95e}.share-tab.active{border-color:#f5c95e;background:#fff8e8;color:#b57d09;font-weight:600}.share-tab em{margin-left:4px;color:#a8b5c4;font-size:11px;font-style:normal}.share-sort{margin-left:auto;display:inline-flex;align-items:center;gap:10px}.share-pager{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px;color:#7b8b9e;font-size:13px}.card b{font-size:14px;color:#1f2d3d}.card small{color:#8394a7;font-size:11px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.scratch{flex:1;display:flex;flex-direction:column;min-height:0}.scratch-frame{flex:1;min-width:0;height:100%;min-height:560px;border:0;background:#fff}.scratch-empty{flex:1;min-width:0;padding:36px 28px;color:#41546b;line-height:1.8}.attachments{width:var(--scratch-side-w, 300px);flex-shrink:0;padding:22px;border-left:1px solid #e3e9f0;background:#fbfcfe;overflow:auto}.attachments h3{margin:0 0 14px;font-size:15px;color:#1f2d3d}.attachments ul{margin:0;padding:0;list-style:none}.attachments li{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #eef2f7;color:#41546b;font-size:13px;word-break:break-all}.attachments li span{flex:1}.attachments .tag{flex-shrink:0;padding:1px 6px;border-radius:4px;background:#eef2f7;color:#7b8b9e;font-size:12px}.attachments .tag.cloud{background:#fff3c9;color:#d98f00}.attachments .save-cloud{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:13px}.attachments .save-cloud small{color:#93a1b2}.attachments .cloud-error{margin:0 0 10px;color:#c0392b;font-size:12px;line-height:1.6}.panel-tip{margin:8px 0 0;color:#c0392b;font-size:12px;line-height:1.6}.panel-hint{margin:6px 0 0;color:#93a1b2;font-size:12px;line-height:1.6}.link{border:0;background:none;color:#e8930c;cursor:pointer;font-size:13px}.link.danger{color:#e2543f}.empty{color:#71849d;font-size:13px}.hidden-input{display:none}.mode-tag{display:inline-flex;align-items:center;padding:5px 14px;color:#5f4200;font-size:13px;font-weight:700;white-space:nowrap}.scratch-body{flex:1;display:flex;min-height:0;background:#fff}.scratch-body .hk-left{width:var(--rail-w, 320px);flex-shrink:0;border-right:1px solid #eceff3;background:#fff}.scratch-stage{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0}.scratch-frame{flex:1;min-width:0;height:100%;min-height:480px;border:0;background:#fff}.scratch-resizer{flex-shrink:0;width:7px;cursor:col-resize;background:#f1f3f6}.scratch-resizer:hover{background:#ffd98a}.scratch-empty{flex:1;min-width:0;overflow:auto;padding:36px 28px;color:#41546b;line-height:1.8}.scratch-empty h2{margin-top:0;font-size:18px;color:#1f2d3d}.scratch-empty code{padding:2px 6px;border-radius:4px;background:#fff3c9;color:#d98f00}.draft-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 12px;background:#fff7e0;border-bottom:1px solid #f5e0a8;color:#8a6d1f;font-size:13px}.draft-bar span{flex:1;min-width:150px}.draft-bar .btn{padding:5px 12px;font-size:13px}.attachments h3{display:flex;align-items:center;justify-content:space-between;gap:8px}.tpl-card{margin-bottom:10px;padding:10px 12px;border:1px solid #e8edf4;border-radius:8px;background:#fff}.tpl-card b{display:block;color:#1f2d3d;font-size:13px}.tpl-card small{display:block;margin-top:2px;color:#93a1b2;font-size:11px}.tpl-steps{margin:8px 0 6px;padding-left:18px;color:#41546b;font-size:12px;line-height:1.8}.tpl-blocks{margin:0;padding:7px 9px;border-radius:6px;background:#f6f8fb;color:#6d7f93;font-size:11px;line-height:1.7;word-break:break-word}.tpl-actions{margin-top:8px}.tpl-actions .btn{padding:6px 10px;font-size:12px}.tpl-disabled{background:#f2f5f9;color:#9aa8b8;border:1px dashed #dce4ee}.outline-level{margin:12px 0 6px;padding-top:8px;border-top:1px solid #eef2f7;color:#c98a00;font-size:12px}.outline-level:first-of-type{margin-top:2px;padding-top:0;border-top:0}.outline-list{margin:0 0 4px;padding-left:18px;color:#41546b;font-size:12px;line-height:1.9}@media(max-width:900px){.scratch-body{flex-direction:column}.scratch-body .hk-left{width:auto;max-height:38vh;border-right:0;border-bottom:1px solid #eceff3}.scratch-frame{min-height:62vh}.attachments{width:auto;max-height:38vh;border-left:0;border-top:1px solid #eceff3}.scratch-resizer{display:none}}@media(max-width:900px){.hk-top{flex-wrap:wrap;min-height:0;gap:6px;padding:6px 8px}.top-left{gap:0}.icon-btn{width:30px;height:30px;font-size:15px}.mode-switch button{padding:5px 10px}.top-right{width:100%;margin-left:0;gap:6px;flex-wrap:wrap}.work-name{flex:1 1 96px;width:auto;min-width:0}.btn{padding:7px 10px}.message{top:8px;max-width:88vw}.hk-body,.hk-body.no-right,.hk-body.no-left{display:block;overflow:auto}.hk-left{max-height:38vh;border-right:0;border-bottom:1px solid #eceff3}.hk-left.collapsed{max-height:none}.editor{min-height:46vh}.hk-right{min-height:0;padding:10px;border-left:0;border-top:1px solid #eceff3}.hk-right.collapsed{min-height:46px}.right-expand{width:100%;min-height:44px}.console{height:min(240px,42vh)}.resizer,.editor-head .runner-note{display:none}.turtle-canvas{max-width:min(calc(200% * var(--stage-zoom, 1)),52vh)}}@media(max-width:560px){.app-bar{padding:8px 12px;gap:8px}.brand,.app-brand{font-size:14px}.app-nav-item{padding:6px 8px;font-size:12px}.account-label{display:none}.bar-right{gap:8px}.user{font-size:12px}.runner-note{display:none}.work-name{flex:1 1 110px}.top-right .btn{flex:1 1 auto;padding:7px 9px}.hk-top .mode-switch{order:3}}
