.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-c335c0b2]{position:fixed;right:12px;bottom:calc(14px + env(safe-area-inset-bottom,0px));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}@media(max-width:640px){.feedback-fab[data-v-c335c0b2]{right:10px;padding:6px 11px;font-size:11px}}.feedback-fab[data-v-c335c0b2]:active{transform:translateY(1px)}.feedback-card[data-v-c335c0b2]{width:min(92vw,460px)}.shot-list[data-v-c335c0b2]{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.shot-item[data-v-c335c0b2]{position:relative;width:64px;height:64px;border:1px solid #e4e7ed;border-radius:6px;overflow:hidden}.shot-item img[data-v-c335c0b2]{width:100%;height:100%;object-fit:cover;cursor:zoom-in}.shot-del[data-v-c335c0b2]{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-c335c0b2]{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-c335c0b2]{cursor:not-allowed;color:#c0c4cc}.shot-tip[data-v-c335c0b2]{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}:root{--brand: #ffc32b;--brand-deep: #f27f0c;--ink: #1f2d3d;--ink-2: #41546b;--ink-3: #71849d;--line: #e3e9f0;--bg: #f2f5f9;--radius-sm: 8px;--radius: 12px;--shadow-1: 0 1px 2px rgba(31, 45, 61, .04), 0 6px 16px rgba(31, 45, 61, .06);--shadow-2: 0 2px 6px rgba(31, 45, 61, .08), 0 12px 28px rgba(31, 45, 61, .1)}::selection{background:#ffe9a8;color:#4a3800}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #f0b215;outline-offset:2px}.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}.icon-btn.back-btn{width:auto;height:32px;gap:1px;padding:0 11px 0 7px;border:1px solid rgba(150,100,0,.28);background:#ffffffe0;box-shadow:0 1px 2px #7850001f;color:#4a3800;font-size:13px;font-weight:700}.icon-btn.back-btn .back-arrow{font-size:19px;line-height:1;margin-top:-3px}.icon-btn.back-btn:hover{background:#fff;border-color:#96640080}@media(max-width:620px){.icon-btn.back-btn{width:32px;padding:0}.icon-btn.back-btn .back-text{display:none}}.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-map{margin:10px 0 12px;padding:10px 10px 4px;border:1px solid #e8edf4;border-radius:10px;background:linear-gradient(180deg,#fbfdff,#f4f8ff)}.hb-map-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}.hb-map-title{color:#1f2d3d;font-size:12px;font-weight:700}.hb-map-toggle{padding:0;border:0;background:none;color:#e8930c;font-size:11.5px;cursor:pointer}.hb-map-toggle:hover{color:#b57f00}.hb-map-list{position:relative;margin:0;padding:0 0 0 4px;list-style:none}.hb-map-list:before{content:"";position:absolute;left:15px;top:12px;bottom:14px;width:2px;border-radius:2px;background:linear-gradient(180deg,#f0b215,#9fc0ea)}.hb-node{position:relative;margin-bottom:2px}.hb-node-btn{display:flex;align-items:flex-start;gap:8px;width:100%;padding:5px 6px 5px 0;border:1px solid transparent;border-radius:8px;background:none;text-align:left;cursor:pointer}.hb-node-btn:hover{background:#fff;border-color:#f5e0a8}.hb-node-no{position:relative;z-index:1;flex:none;width:20px;height:20px;margin-left:6px;border:2px solid #f0b215;border-radius:50%;background:#fff;color:#b57f00;font-size:11px;font-weight:700;line-height:16px;text-align:center}.hb-node.open .hb-node-no{background:#f0b215;color:#fff}.hb-node-body{flex:1;min-width:0}.hb-node-title{display:block;color:#1f2d3d;font-size:12px;font-weight:600;line-height:1.5}.hb-node.open .hb-node-title{color:#b57f00}.hb-node-meta{display:flex;align-items:center;gap:5px;color:#93a1b2;font-size:10.5px;line-height:1.6}.hb-node-lv{flex-shrink:0;padding:0 5px;border:1px solid currentColor;border-radius:999px;font-size:10px;font-style:normal;line-height:1.5}.hb-chapter-icon{flex-shrink:0;font-size:13px;line-height:1.4}.hb-chapter{margin-bottom:10px;border:1px solid #e8edf4;border-left:3px 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}.code-body{flex:1;display:flex;flex-direction:column;min-height:0}.code-unfold{flex:none;padding:9px 14px;border:0;border-bottom:1px solid #eceff3;background:#fbfcfe;color:#6d7f93;font-size:12.5px;text-align:left;cursor:pointer}.code-unfold:hover{color:#b57d09;background:#fff8e6}.filebar-fold{position:sticky;right:0;flex:none;margin-left:auto;align-self:center;padding:4px 9px;border:1px solid #dfe6ee;border-radius:6px;background:#fff;color:#6d7f93;font-size:12px;cursor:pointer;white-space:nowrap;box-shadow:-6px 0 8px -8px #0f1e324d}.filebar-fold:hover{border-color:#f5c95e;color:#b57d09}@media(min-width:901px){.hk-body.no-center{grid-template-columns:var(--left-w, 300px) 44px var(--right-w, 360px)}.hk-body.no-center.no-left{grid-template-columns:56px 44px var(--right-w, 360px)}.hk-center.code-folded .code-unfold{height:100%;padding:14px 4px;border-bottom:0;border-right:1px solid #eceff3;writing-mode:vertical-rl;letter-spacing:2px}}.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}.fork-btn{padding:3px 10px;border:0;border-radius:999px;background:#f0a500;color:#4a3800;font-size:12px;font-weight:700;cursor:pointer}.fork-btn:hover{background:#e29a00}.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}.stage-body-game{flex:1;min-height:0}.game-panel{flex:1;min-height:0;display:flex;flex-direction:column;background:#0d1117;border:1px solid #21262d;border-radius:10px;overflow:hidden}.game-panel:fullscreen{border:0;border-radius:0}.game-head{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#161b22;border-bottom:1px solid #21262d;color:#c9d1d9;font-size:12px;flex-wrap:wrap}.game-head b{color:#e6edf3;font-weight:600;white-space:nowrap}.game-hint{flex:1;min-width:0;color:#8b949e;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-head .link{background:none;border:0;color:#58a6ff;cursor:pointer;font-size:12px;padding:2px 4px;white-space:nowrap}.game-head .link:hover{text-decoration:underline}.game-head .link:disabled{color:#6e7681;cursor:default}.game-body{flex:1;position:relative;display:flex;align-items:center;justify-content:center;min-height:0;padding:6px}.game-frame-box{position:relative;border-radius:6px;overflow:hidden;background:#000}.game-frame{width:100%;height:100%;border:0;display:block;background:#7f7f7f}.game-state{color:#8b949e;font-size:14px;text-align:center;padding:24px}.game-error{color:#ff7b72}.game-error-panel{position:absolute;left:16px;right:16px;bottom:16px;max-height:45%;display:flex;flex-direction:column;border-radius:10px;background:#161b22f7;border:1px solid #f85149;box-shadow:0 12px 40px #00000080;overflow:hidden}.game-error-head{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f851491f;color:#ff7b72;font-size:13px}.game-error-head .link{background:none;border:0;color:#8b949e;cursor:pointer;font-size:12px}.game-error-head .link:hover{color:#c9d1d9}.game-error-body{margin:0;padding:12px;overflow:auto;color:#c9d1d9;font:12px/1.6 Consolas,Courier New,monospace;white-space:pre-wrap;word-break:break-word}.game-tip{position:absolute;left:10px;right:10px;bottom:10px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 12px;border-radius:8px;background:#161b22eb;border:1px solid #30363d;color:#c9d1d9;font-size:11px;line-height:1.5;text-align:center}.game-tip b{color:#f0b429;font-weight:600}.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-icon{font-size:14px;line-height:1}.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{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:#fff8e6;color:#8a5b00;font-size:15px;font-weight:600;white-space:nowrap}.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:#3a4c60;font-size:13px}.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}.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(290px,100%),1fr));gap:12px}.share-item{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"thumb thumb" "icon meta" "actions actions";align-items:center;gap:6px 10px;padding:10px 12px;border:1px solid #e3e9f0;border-radius:12px;background:#fff}.share-item:hover{border-color:#f5c95e;box-shadow:0 8px 20px #f7a90024}.share-item.clickable{cursor:pointer}.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-thumb-wrap{grid-area:thumb;position:relative}.share-thumb{margin:0;width:100%;aspect-ratio:16 / 9;padding:8px 10px;box-sizing:border-box;border-radius:10px;overflow:hidden;color:#d7e3f1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.6;white-space:pre;text-align:left}.thumb-py{background:linear-gradient(160deg,#1e2d3d,#16212e)}.thumb-cpp{background:linear-gradient(160deg,#2b2338,#1d1626)}.thumb-scratch{background:linear-gradient(160deg,#4b3f7a,#2f2750)}.share-thumb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;white-space:normal;text-align:center;font-family:inherit}.share-thumb-empty .empty-mark{font-size:26px;line-height:1;opacity:.92}.share-thumb-empty .empty-text{font-size:11.5px;letter-spacing:.1em;color:#e2ecf8b3}.share-thumb .tok-com{color:#7d8b9c;font-style:italic}.share-thumb .tok-str{color:#9ecb7a}.share-thumb .tok-num{color:#d9a066}.share-thumb .tok-pre{color:#d8b26a}.thumb-py .tok-kw{color:#c792ea}.thumb-py .tok-fn{color:#6fb7ef}.thumb-cpp .tok-kw{color:#82aaff}.thumb-cpp .tok-fn{color:#7fd3c8}.share-cover{display:block;width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:10px;background:#f2f5f9}.cover-lang{position:absolute;right:8px;top:6px;padding:1px 6px;border-radius:4px;background:#14202e73;color:#e8f0f8eb;font-size:10px;font-style:normal;letter-spacing:.04em}.cover-flags{position:absolute;left:8px;top:6px;display:flex;gap:4px}.cover-flag{padding:1px 6px;border-radius:4px;font-size:10px;font-style:normal;line-height:1.6}.cover-flag.mine{background:#f7a900e6;color:#4a3800}.cover-flag.link{background:#4a6b96e0;color:#fff}.cover-flag.class{background:#2f7d54e0;color:#fff}.cover-flag.revoked{background:#14202ead;color:#e7eef7}.share-item.revoked .share-cover,.share-item.revoked .share-thumb{filter:grayscale(1);opacity:.55}.share-item.revoked .share-title{color:#8494a7}.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}.share-owner{display:flex;align-items:flex-start;gap:6px;width:100%;min-width:0;color:#26374a;font-size:15px;font-weight:700;line-height:1.3}.share-owner .share-avatar{flex:none;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#fff3c9;color:#b8791a;font-size:11px;font-style:normal;font-weight:700;text-transform:uppercase}.share-owner .share-name{flex:1 1 auto;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.share-meta .share-sub{flex:none;min-width:0;padding-left:27px;color:#93a1b2;font-size:11.5px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-item.clickable:hover .share-title{color:#b8791a}.share-actions{grid-area:actions;display:flex;align-items:center;gap:14px;padding-top:6px;border-top:1px dashed #eef1f6}.share-actions .act{display:inline-flex;align-items:center;gap:4px;padding:2px 0;border:0;background:none;color:#8b9aad;font-size:12.5px;line-height:1.4;cursor:pointer;transition:color .15s}.share-actions .act i{font-style:normal;font-size:13px;line-height:1}.share-actions .act b{font-weight:600;font-size:12px}.share-actions .act:hover{color:#d97706}.share-actions .act.on{color:#e8542f}.share-actions .act.withdraw{margin-left:auto;color:#a6b3c2;font-size:12px}.share-actions .act.withdraw:hover{color:#d4380d}.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}.scratch.is-full .scratch-body,.scratch.is-full .scratch-stage{height:100vh}.scratch.is-full .scratch-frame{min-height:0;height:100vh}.exit-full{position:fixed;top:12px;right:14px;z-index:40;padding:8px 14px;border:1px solid #d8dee7;border-radius:8px;background:#fffffff2;color:#2b3a4b;font-size:13px;cursor:pointer;box-shadow:0 6px 16px #1f2d3d29}.exit-full:hover{border-color:#f0b215;color:#b57f00}.panel.attachments{width:auto;flex-shrink:0;padding:14px;border-left:0;background:none;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}.panel.attachments li{flex-wrap:wrap;row-gap:3px;word-break:break-word}.panel.attachments li span{flex:1 1 100%}.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}.share-view-tag{margin-left:8px;padding:3px 10px;border-radius:999px;background:#eef3fb;color:#4a6b96;font-size:12px;font-weight:600;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-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}}@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{width:100%;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}}.label-short{display:none}@media(max-width:900px){.console{height:min(170px,30vh)}.share-actions .act{padding:8px 0}.hk-left.collapsed{max-height:none;height:56px;border-bottom:1px solid #eceff3}.hk-left:not(.collapsed){flex-direction:column}.hk-left:not(.collapsed) .left-body{flex-direction:column}.hk-left.collapsed .left-body{flex-direction:row;overflow:visible}.hk-left .rail{width:100%;flex:1 1 auto;min-width:0;flex-direction:row;align-items:center;gap:0;padding:0 4px;border-right:0;border-bottom:1px solid #eceff3;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.hk-left .rail::-webkit-scrollbar{height:0}.hk-left .rail button{flex:none;flex-direction:row;gap:4px;padding:10px 12px}.hk-left .rail button i{font-size:15px}.hk-left .rail-toggle{position:sticky;right:0;margin-top:0;margin-left:auto;background:#fbfcfe;box-shadow:-8px 0 8px -8px #0f1e3240}.hk-left .left-foot{display:none}.stage-body-game .game-panel{flex:none;height:min(62vh,460px)}.scratch-body{flex-direction:column}.scratch-body .hk-left{width:100%;max-height:38vh}.scratch-body .hk-left.collapsed{max-height:56px;height:56px}.scratch-stage{flex:none;height:min(78vh,640px)}.scratch-frame{min-height:0}}@media(max-width:640px){.app-bar{padding:8px 10px;gap:8px}.app-brand{gap:6px}.app-brand-text{font-size:14px}.app-logo{width:22px;height:22px}.app-nav-item{padding:6px;font-size:12px}.bar-right{flex:none}.bar-right .ghost{white-space:nowrap;padding:6px 10px;font-size:13px}.user{display:none}.home{padding:18px 14px calc(84px + env(safe-area-inset-bottom))}.home-head{margin-bottom:18px}.home-head h1{font-size:20px}.home-head p{font-size:12px;line-height:1.65}.practice-card{padding:14px}.works{margin-top:24px}.share-item{padding:12px}.share-thumb{font-size:11px}.works-head{flex-wrap:wrap;row-gap:8px}.share-filters{display:grid;grid-template-columns:1fr auto;gap:8px;width:100%}.share-search{grid-column:1}.share-select{grid-column:2}.share-filters .link{justify-self:start;padding:6px 0}.login-page{padding:18px 14px calc(24px + env(safe-area-inset-bottom));align-items:flex-start}.login-card{padding:24px 18px}.login-card input,.login-card .code-row input{font-size:16px}.hk-top{padding:6px 8px;gap:6px}.hk-top .lang-select{max-width:108px;font-size:12px;padding:5px 6px}.top-right{width:auto;flex:1 1 auto;margin-left:auto;justify-content:flex-end;gap:5px}.top-right .btn{flex:0 0 auto;font-size:12px;padding:6px 9px}.btn .label-long{display:none}.btn .label-short{display:inline}.pyright-status,.top-right .classroom-btn{display:none}.practice-bar{padding:6px 10px;gap:6px;font-size:12px}.practice-bar-tip{display:none}}@media(max-width:380px){.hk-top .lang-select{max-width:92px}.top-right .btn{padding:6px 7px}.app-brand-text{display:none}}.resume-bar{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 18px;padding:10px 14px;border:1px dashed #f0b215;border-radius:12px;background:#fffdf3;color:#5f4200;cursor:pointer;text-align:left}.resume-bar:hover{border-color:#e0a100;background:#fff9e2}.resume-icon{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#ffe9a8;color:#8a5b00;font-size:15px}.resume-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.resume-text b{font-size:14px}.resume-text small{color:#8a7a5c;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resume-go{flex:none;font-size:13px;font-weight:600;color:#b8791a}.more-group{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px}.more-group-title{font-size:12px;color:#6b7c93;white-space:nowrap}.more-group .lang-select{flex:1;max-width:130px;font-size:12px;padding:5px 6px}.skeleton-list{display:flex;flex-direction:column;gap:10px}.skeleton-row{height:58px;border-radius:12px;background:linear-gradient(90deg,#f1f3f6 25%,#e9edf2 37%,#f1f3f6 63%);background-size:400% 100%;animation:skeleton-sweep 1.4s ease infinite}.skeleton-row.tall{height:112px}@keyframes skeleton-sweep{0%{background-position:100% 50%}to{background-position:0 50%}}@media(prefers-reduced-motion:reduce){.skeleton-row{animation:none}}@media(min-width:641px){.home{max-width:1320px;padding:44px 32px 72px}.home-head h1{font-size:26px;letter-spacing:-.01em}.home-head p{max-width:760px;color:var(--ink-3)}.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{padding:16px;border-radius:var(--radius)}.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-1);border-color:#f5c95e}.card b{font-size:15px}.card small{font-size:12px}.works{margin-top:40px}.works-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}}.works-head h2{position:relative;padding-left:10px;font-size:17px;font-weight:700;color:var(--ink)}.works-head h2:before{content:"";position:absolute;left:0;top:50%;width:3px;height:15px;margin-top:-7.5px;border-radius:2px;background:var(--brand-deep)}.works-empty{display:flex;align-items:center;gap:10px;margin:0;padding:18px 20px;border:1px dashed #d7e0ea;border-radius:var(--radius);background:#fafcfe;color:var(--ink-3);font-size:13px;line-height:1.7}.works-empty:before{content:"📄";flex:none;font-size:18px;line-height:1}.login-page{background:radial-gradient(1100px 460px at 50% -12%,#fff6de,#fff6de00 70%)}.login-card{position:relative;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow-2)}.login-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#ffc32b,#f27f0c)}.login-card input{border-radius:var(--radius-sm)}.login-card .primary{border-radius:var(--radius-sm);transition:background .15s ease}.login-card .primary:hover{background:#e39a00}.login-card .code-row button{border-radius:var(--radius-sm)}.app-bar{box-shadow:0 1px #1f2d3d0d}.app-brand-text{font-weight:700;letter-spacing:.01em}.bar-right .user{color:#7a5c1e;font-size:12px}.share-item{border-radius:var(--radius)}@media(min-width:641px){.share-item{padding:12px 14px}.share-meta b{font-size:15px}.hk-top .top-right{padding-left:10px;border-left:1px solid rgba(138,91,0,.18)}}
