.MGasnG_lab{--py-yellow:#ffd43b;--py-blue:#4b8bbe;--good:#5ee0a0;--bad:#ff7a7a;--fg:#e8eef8;--fg-dim:#e8eef8a8;--panel:#ffffff0d;--edge:#ffffff1a;border-radius:var(--radius-lg);color:var(--fg);box-shadow:var(--shadow-lg);isolation:isolate;background:radial-gradient(800px 360px at 100% 0,#ffd43b1a,#0000 60%),radial-gradient(700px 420px at 0 100%,#4b8bbe38,#0000 60%),linear-gradient(165deg,#13233a,#0a1220 70%);flex-direction:column;gap:18px;padding:clamp(16px,3vw,28px);display:flex;position:relative}.MGasnG_lab[data-solved]{box-shadow:var(--shadow-lg), 0 0 0 2px #ffd43b80}.MGasnG_head{flex-direction:column;gap:6px;max-width:70ch;display:flex}.MGasnG_kicker{color:var(--py-yellow);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}.MGasnG_title{letter-spacing:-.02em;font-size:clamp(1.6rem,3.4vw,2.3rem)}.MGasnG_story{color:var(--fg-dim)}.MGasnG_grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start;gap:18px;display:grid}@media (max-width:860px){.MGasnG_grid{grid-template-columns:minmax(0,1fr)}}.MGasnG_editor{border:1px solid var(--edge);background:#0b1422;border-radius:16px;margin:0;overflow:hidden}.MGasnG_editorBar{border-bottom:1px solid var(--edge);background:#ffffff08;align-items:center;gap:6px;padding:10px 14px;display:flex}.MGasnG_editorBar i{background:#ff5f57;border-radius:50%;width:10px;height:10px}.MGasnG_editorBar i:nth-child(2){background:#febc2e}.MGasnG_editorBar i:nth-child(3){background:#28c840}.MGasnG_editorBar span{color:var(--fg-dim);font-family:var(--font-mono), ui-monospace, monospace;margin-left:8px;font-size:.78rem}.MGasnG_code{font-family:var(--font-mono), ui-monospace, monospace;margin:0;padding:10px 0;font-size:clamp(.92rem,1.6vw,1.05rem);line-height:1.75;list-style:none;overflow-x:auto}.MGasnG_code li{transition:background-color .25s;position:relative}.MGasnG_lineRow,.MGasnG_lineBtn{width:100%;color:inherit;font:inherit;text-align:left;white-space:pre;background:0 0;border:0;align-items:baseline;padding:0 16px 0 0;display:flex}.MGasnG_lineBtn{cursor:pointer}.MGasnG_lineBtn:hover{background:#ffd43b1a}.MGasnG_lineBtn:focus-visible{outline:2px solid var(--py-yellow);outline-offset:-2px}.MGasnG_ln{color:#e8eef84d;text-align:right;-webkit-user-select:none;user-select:none;flex:none;width:3.2em;padding-right:1em}.MGasnG_code code{font:inherit}.MGasnG_code li[data-current]{box-shadow:inset 3px 0 0 var(--py-blue);background:#4b8bbe47}.MGasnG_code li[data-current] .MGasnG_ln{color:var(--fg)}.MGasnG_code li[data-state=bug]{box-shadow:inset 3px 0 0 var(--bad);background:#ff7a7a29}.MGasnG_code li[data-state=wrong]{animation:.4s MGasnG_shake}.MGasnG_code li[data-state=fixed]{box-shadow:inset 3px 0 0 var(--good);background:#5ee0a024}.MGasnG_code [data-k=kw]{color:#ff8bd1}.MGasnG_code [data-k=str]{color:#a8e07a}.MGasnG_code [data-k=num]{color:var(--py-yellow)}.MGasnG_code [data-k=fn]{color:#7cc7ff}.MGasnG_code [data-k=op]{color:#e8eef8bf}.MGasnG_task{border:1px solid var(--edge);background:var(--panel);border-radius:16px;flex-direction:column;gap:12px;padding:18px;display:flex}.MGasnG_taskTitle{font-size:1.3rem}.MGasnG_taskSub,.MGasnG_goal{color:var(--fg-dim);font-size:.95rem}.MGasnG_goal b{color:var(--fg)}.MGasnG_options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.MGasnG_option{border:1px solid var(--edge);min-height:64px;color:var(--fg);text-align:left;cursor:pointer;transition:border-color .2s, transform .25s var(--ease-out), background-color .2s;background:#0b1422;border-radius:12px;align-items:center;padding:10px 14px;display:flex}.MGasnG_option pre{font-family:var(--font-mono), ui-monospace, monospace;white-space:pre-wrap;margin:0;font-size:.98rem;line-height:1.45}.MGasnG_option:hover:not(:disabled){border-color:var(--py-yellow);transform:translateY(-2px)}.MGasnG_option:disabled{cursor:default}.MGasnG_option[data-state=wrong]{color:#ff7a7abf;border-color:#ff7a7a80;text-decoration:line-through;animation:.4s MGasnG_shake}.MGasnG_option[data-state=right]{border-color:var(--good);background:#5ee0a024;box-shadow:0 0 0 3px #5ee0a033}.MGasnG_compare{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.MGasnG_prompt{flex-wrap:wrap;align-items:center;gap:8px;font-weight:600;display:flex}.MGasnG_stepNum{background:var(--py-yellow);color:#1b1500;border-radius:50%;place-items:center;width:24px;height:24px;font-size:.8rem;font-weight:800;display:inline-grid}.MGasnG_nope{color:var(--bad);font-size:.9rem;font-weight:500}.MGasnG_screen{border:1px solid var(--edge);background:#050a12;border-radius:12px;flex-direction:column;gap:6px;min-width:0;padding:12px 14px;display:flex}.MGasnG_screen pre{color:#d6f5d6;font-family:var(--font-mono), ui-monospace, monospace;white-space:pre-wrap;margin:0;font-size:.95rem;line-height:1.5}.MGasnG_screen[data-tone=good]{border-color:#5ee0a066}.MGasnG_screen[data-tone=bad]{border-color:#ff7a7a66}.MGasnG_screen[data-tone=bad] pre{color:#ffc4c4}.MGasnG_screenLabel{color:var(--fg-dim);font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.08em;text-transform:uppercase;font-size:.7rem}.MGasnG_stepBar{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.MGasnG_stepToggle{min-height:44px;color:var(--fg);cursor:pointer;background:#4b8bbe2e;border:1px solid #4b8bbe99;border-radius:999px;align-items:center;gap:10px;padding:0 18px;font-weight:600;transition:background-color .2s;display:inline-flex}.MGasnG_stepToggle:hover{background:#4b8bbe4d}.MGasnG_stepToggle svg{width:14px;height:14px;fill:var(--py-yellow);transition:transform .25s var(--ease-out)}.MGasnG_stepToggle[aria-expanded=true] svg{transform:rotate(90deg)}.MGasnG_stepCost{color:var(--fg-dim);font-size:.82rem}.MGasnG_stepper{border:1px solid var(--edge);background:var(--panel);border-radius:16px;outline:none;flex-direction:column;gap:12px;padding:16px;display:flex}.MGasnG_controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.MGasnG_controls button{border:1px solid var(--edge);min-width:42px;height:40px;color:var(--fg);cursor:pointer;background:#0b1422;border-radius:10px;padding:0 12px}.MGasnG_controls button:disabled{opacity:.35;cursor:default}.MGasnG_controls .MGasnG_play{background:var(--py-yellow);color:#1b1500;border-color:#0000;min-width:112px;font-weight:700}.MGasnG_counter{color:var(--fg-dim);font-family:var(--font-mono), ui-monospace, monospace;margin-left:auto;font-size:.85rem}.MGasnG_counter b{color:var(--fg)}.MGasnG_now{color:var(--fg-dim)}.MGasnG_now b{color:var(--py-yellow)}.MGasnG_memoryGrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}@media (max-width:640px){.MGasnG_memoryGrid,.MGasnG_options,.MGasnG_compare{grid-template-columns:minmax(0,1fr)}}.MGasnG_memory{border:1px solid var(--edge);background:#0b1422;border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:12px 14px;display:flex}.MGasnG_memory table{border-collapse:collapse;width:100%;font-family:var(--font-mono), ui-monospace, monospace;font-size:.92rem}.MGasnG_memory th,.MGasnG_memory td{border-bottom:1px solid var(--edge);text-align:left;vertical-align:top;padding:6px 8px}.MGasnG_memory th{color:#7cc7ff;width:40%;font-weight:600}.MGasnG_memory th small{color:var(--fg-dim);font-weight:400}.MGasnG_memory td{color:var(--fg);word-break:break-word}.MGasnG_memory tr[data-changed] td{animation:MGasnG_flash .9s var(--ease-out);color:var(--py-yellow)}.MGasnG_empty{color:var(--fg-dim);font-size:.9rem}.MGasnG_success{animation:MGasnG_rise .45s var(--ease-out);background:#ffd43b14;border:1px solid #ffd43b66;border-radius:16px;flex-direction:column;gap:12px;padding:18px;display:flex}.MGasnG_successMain{flex-wrap:wrap;align-items:center;gap:12px;font-size:1.15rem;display:flex}.MGasnG_explain{color:var(--fg)}.MGasnG_successActions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.MGasnG_ghostBtn{border:1px solid var(--edge);min-height:44px;color:var(--fg);cursor:pointer;background:0 0;border-radius:999px;padding:0 18px;font-weight:600}@keyframes MGasnG_shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}@keyframes MGasnG_flash{0%{background:#ffd43b4d}}@keyframes MGasnG_rise{0%{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){.MGasnG_option[data-state=wrong],.MGasnG_code li[data-state=wrong],.MGasnG_memory tr[data-changed] td,.MGasnG_success{animation:none}}.MGasnG_code [data-k=com],.MGasnG_pyHl [data-k=com]{color:#e8eef86b;font-style:italic}.MGasnG_writeCol{flex-direction:column;gap:12px;min-width:0;display:flex}.MGasnG_pyEditor{--line-h:1.6;border:1px solid var(--edge);background:#0b1422;border-radius:16px;overflow:hidden}.MGasnG_pyEditor:focus-within{border-color:#ffd43b8c;box-shadow:0 0 0 3px #ffd43b1f}.MGasnG_barBtn{border:1px solid var(--edge);color:var(--fg-dim);white-space:nowrap;cursor:pointer;background:0 0;border-radius:999px;margin-left:auto;padding:4px 10px;font-size:.76rem;font-weight:600}.MGasnG_barBtn:hover:not(:disabled){color:var(--fg);border-color:#ffffff4d}.MGasnG_pyScroll{min-height:220px;max-height:min(62vh,560px);font-family:var(--font-mono), ui-monospace, monospace;font-size:.95rem;line-height:var(--line-h);cursor:text;display:flex;overflow:auto}.MGasnG_pyGutter{z-index:1;color:#e8eef84d;text-align:right;-webkit-user-select:none;user-select:none;background:#0b1422;flex-direction:column;flex:none;min-width:3em;padding:12px 10px 12px 0;display:flex;position:sticky;left:0}.MGasnG_pyGutter span[data-active]{color:var(--fg)}.MGasnG_pyGutter span[data-error]{color:var(--bad);font-weight:700}.MGasnG_pyArea{min-width:calc(var(--cols) * 1ch + 28px);flex:1 0 auto;display:grid;position:relative}.MGasnG_pyHl,.MGasnG_pyInput{font:inherit;line-height:inherit;letter-spacing:normal;tab-size:4;white-space:pre;overflow-wrap:normal;border:0;grid-area:1/1;margin:0;padding:12px 14px 12px 4px}.MGasnG_pyHl{color:var(--fg);pointer-events:none}.MGasnG_pyLine{min-height:calc(var(--line-h) * 1em);display:block}.MGasnG_pyLine[data-active]{box-shadow:-3px 0 0 var(--py-blue);background:#4b8bbe47}.MGasnG_pyLine[data-error]{box-shadow:-3px 0 0 var(--bad);background:#ff7a7a29}.MGasnG_pyHl [data-k=kw]{color:#ff8bd1}.MGasnG_pyHl [data-k=str]{color:#a8e07a}.MGasnG_pyHl [data-k=num]{color:var(--py-yellow)}.MGasnG_pyHl [data-k=fn]{color:#7cc7ff}.MGasnG_pyHl [data-k=op]{color:#e8eef8bf}.MGasnG_pyInput{width:100%;height:calc(var(--rows) * var(--line-h) * 1em + 24px);resize:none;color:#0000;min-height:100%;caret-color:var(--py-yellow);background:0 0;outline:none;overflow:hidden}.MGasnG_pyInput::selection{color:#0000;background:#4b8bbe73}@media (max-width:640px){.MGasnG_pyScroll{max-height:60vh;font-size:16px}}.MGasnG_writeActions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.MGasnG_runBtn{min-height:44px;color:var(--fg);cursor:pointer;background:#4b8bbe33;border:1px solid #4b8bbe99;border-radius:999px;padding:0 18px;font-weight:700}.MGasnG_runBtn:hover{background:#4b8bbe52}.MGasnG_kbd{color:var(--fg-dim);font-size:.8rem}.MGasnG_kbd kbd{border:1px solid var(--edge);font-family:var(--font-mono), ui-monospace, monospace;border-radius:5px;padding:1px 6px;font-size:.75rem}@media (pointer:coarse){.MGasnG_kbd{display:none}}.MGasnG_console{animation:MGasnG_rise .3s var(--ease-out);flex-direction:column;gap:10px;display:flex}.MGasnG_errorBox{background:#ff7a7a1a;border:1px solid #ff7a7a73;border-radius:12px;flex-direction:column;gap:4px;padding:12px 14px;font-size:.93rem;display:flex}.MGasnG_errorBox b{color:var(--bad);font-family:var(--font-mono), ui-monospace, monospace;font-size:.85rem}.MGasnG_signature{color:var(--py-yellow);font-family:var(--font-mono), ui-monospace, monospace;background:#ffffff0f;border-radius:8px;align-self:flex-start;padding:6px 10px;font-size:.9rem}.MGasnG_examples{flex-direction:column;gap:8px;display:flex}.MGasnG_examples ul{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.MGasnG_examples li{font-family:var(--font-mono), ui-monospace, monospace;overflow-wrap:anywhere;background:#00000038;border-radius:10px;padding:8px 10px;font-size:.88rem}.MGasnG_examples li pre{color:var(--good);font:inherit;white-space:pre-wrap;margin:6px 0 0}.MGasnG_expect{color:var(--good)}.MGasnG_forbid{color:var(--fg);background:#ff7a7a1a;border-radius:10px;padding:8px 12px;font-size:.9rem}.MGasnG_results{border-top:1px solid var(--edge);flex-direction:column;gap:8px;padding-top:12px;display:flex}.MGasnG_resultsHead{color:var(--bad);font-weight:700}.MGasnG_resultsHead[data-ok]{color:var(--good)}.MGasnG_results ol{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.MGasnG_testRow{background:#ff7a7a14;border-radius:10px;align-items:flex-start;gap:10px;padding:8px 10px;font-size:.88rem;display:flex}.MGasnG_testRow[data-pass]{background:#5ee0a014}.MGasnG_testMark{background:var(--bad);color:#0b1422;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:.78rem;font-weight:800;display:grid}.MGasnG_testRow[data-pass] .MGasnG_testMark{background:var(--good)}.MGasnG_testBody{min-width:0;color:var(--fg-dim);flex-direction:column;gap:6px;display:flex}.MGasnG_testBody code,.MGasnG_testBody pre{font-family:var(--font-mono), ui-monospace, monospace;overflow-wrap:anywhere}.MGasnG_testBody>code{color:var(--fg)}.MGasnG_testBody dl{grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:0;display:grid}.MGasnG_testBody dt{color:var(--fg-dim);font-size:.8rem}.MGasnG_testBody dd{color:var(--fg);margin:0}.MGasnG_testBody dd pre{white-space:pre-wrap;margin:0}.MGasnG_testBody dd small{color:var(--py-yellow);display:block}.MGasnG_hintBox{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.MGasnG_stepFree{color:var(--good);font-size:.82rem}@media (prefers-reduced-motion:reduce){.MGasnG_console{animation:none}}.MGasnG_success .btn-ghost{border-color:var(--edge);color:var(--fg)}
