.emulator_workspace__vJT5Y{scroll-margin-top:85px}.emulator_skeleton__fRkxA{min-height:1120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font-size:13px;color:hsl(var(--muted-foreground))}.emulator_pulse__4QEma{width:44px;height:44px;border-radius:12px;background:hsl(var(--muted));animation:emulator_pulse__4QEma 1.2s ease-in-out infinite}@keyframes emulator_pulse__4QEma{50%{opacity:.4}}.emulator_tool__vgO1t{position:relative;-webkit-text-size-adjust:100%;text-size-adjust:100%;--asm-bg:#fbfbf9;--asm-gutter:#f2f2ee;--asm-line:hsl(var(--border));--asm-fg:#1f2328;--asm-comment:#7a808a;--asm-op:#7c3aed;--asm-num:#b45309;--asm-str:#0f766e;--asm-label:#1d4ed8;--asm-dir:#be185d;--asm-reg:#0e7490;--asm-active:#00000008;--asm-sel:#97b40040;--asm-match:#97b40026;--asm-pc:#d4ff0066;--asm-pc-edge:#7a9400;--asm-err:#e5484d14;--asm-err-edge:#e5484d;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}html.dark .emulator_tool__vgO1t{--asm-bg:#15171c;--asm-gutter:#1b1e24;--asm-fg:#e6e8eb;--asm-comment:#8a919c;--asm-op:#c4a5ff;--asm-num:#ffb86b;--asm-str:#5fd4c4;--asm-label:#7cb4ff;--asm-dir:#ff8cc6;--asm-reg:#67d4ea;--asm-active:#ffffff0a;--asm-sel:#d4ff0033;--asm-match:#d4ff001f;--asm-pc:#d4ff0026;--asm-pc-edge:#d4ff00;--asm-err:#ff6b6b1a;--asm-err-edge:#ff6b6b}.emulator_toolbar__xMhgR{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;padding:12px 16px;border-bottom:1px solid hsl(var(--border))}.emulator_group__FQrH4{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.emulator_group__FQrH4[data-end]{margin-left:auto}.emulator_exampleSelect__Y2GWe,.emulator_speed__LUFas{display:flex;flex-direction:column;gap:4px;font-size:11px;color:hsl(var(--muted-foreground))}.emulator_exampleSelect__Y2GWe select,.emulator_speed__LUFas select{min-height:40px;padding:6px 10px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--background));color:hsl(var(--foreground));font-size:13px;max-width:220px}.emulator_btn__4Httx,.emulator_icon__Jd_nt,.emulator_runBtn__UfOUC{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:6px 13px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground));transition:filter .15s,background .15s}.emulator_btn__4Httx:hover:not(:disabled),.emulator_icon__Jd_nt:hover:not(:disabled){background:hsl(var(--muted))}.emulator_runBtn__UfOUC{background:#d4ff00;border-color:#b9de00;color:#151900;min-width:112px}.emulator_runBtn__UfOUC:hover{filter:brightness(.95)}.emulator_icon__Jd_nt{width:40px;padding:0}.emulator_btn__4Httx:disabled,.emulator_icon__Jd_nt:disabled,.emulator_runBtn__UfOUC:disabled{opacity:.45;cursor:not-allowed}.emulator_layout__KBx5Q{display:grid;grid-template-columns:minmax(0,1fr) 372px}.emulator_editorCol__bzLlJ{min-width:0;display:flex;flex-direction:column;border-right:1px solid hsl(var(--border))}.emulator_editor__g7a0v{flex:1 1 auto;min-height:560px;background:var(--asm-bg);position:relative}.emulator_editorInner__gaVQ_{position:absolute;inset:0}.emulator_editorInner__gaVQ_ .cm-editor{height:100%}.emulator_editorSkeleton__i9e87{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:hsl(var(--muted-foreground))}.emulator_errors__wtAMV{list-style:none;margin:0;padding:8px 10px;max-height:150px;overflow:auto;border-top:1px solid hsl(var(--border));background:hsl(var(--destructive)/.06)}.emulator_errors__wtAMV button{display:block;width:100%;text-align:left;font-size:12.5px;line-height:1.5;padding:5px 6px;border-radius:6px;color:hsl(var(--foreground))}.emulator_errors__wtAMV button:hover{background:hsl(var(--destructive)/.08)}.emulator_errors__wtAMV strong{color:hsl(var(--destructive));font-weight:600;margin-right:6px}.emulator_keys__ZTEG2{font-size:11.5px;line-height:1.6;color:hsl(var(--muted-foreground));padding:8px 14px;border-top:1px solid hsl(var(--border))}.emulator_machineCol__77mNU{min-width:0;padding:14px 16px;display:flex;flex-direction:column;gap:12px}.emulator_statusBar__5eN7L{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;line-height:1.5;padding:8px 10px;border-radius:8px;background:hsl(var(--muted)/.6);min-height:40px}.emulator_dot__u074o{flex-shrink:0;width:8px;height:8px;border-radius:50%;background:hsl(var(--muted-foreground));margin-top:6px}.emulator_statusBar__5eN7L[data-tone=run] .emulator_dot__u074o{background:#22c55e;box-shadow:0 0 0 3px #22c55e33}.emulator_statusBar__5eN7L[data-tone=stop] .emulator_dot__u074o{background:#f59e0b}.emulator_statusBar__5eN7L[data-tone=error]{background:hsl(var(--destructive)/.1);color:hsl(var(--destructive))}.emulator_statusBar__5eN7L[data-tone=error] .emulator_dot__u074o{background:hsl(var(--destructive))}.emulator_screenWrap__SkA_p{display:flex;flex-direction:column;align-items:center;gap:10px}.emulator_screen__rs1So{position:relative;width:100%;max-width:340px;aspect-ratio:1;background:#000;border-radius:10px;padding:6px;box-shadow:inset 0 0 0 1px #ffffff14,0 6px 24px -14px #0008;outline:none;cursor:pointer}.emulator_screen__rs1So canvas{display:block;width:100%;height:100%;image-rendering:pixelated;image-rendering:crisp-edges;border-radius:4px}.emulator_screen__rs1So:focus,.emulator_screen__rs1So:focus-visible{box-shadow:0 0 0 3px #d4ff00,0 6px 24px -14px #0008}.emulator_focusHint__7ws1M{font-size:11.5px;color:hsl(var(--muted-foreground));text-align:center;line-height:1.5}.emulator_pad__Pivws{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,52px);gap:6px;touch-action:none;user-select:none;-webkit-user-select:none}.emulator_pad__Pivws button{display:grid;place-items:center;border-radius:12px;border:1px solid hsl(var(--border));background:hsl(var(--muted)/.6);color:hsl(var(--foreground));touch-action:none}.emulator_pad__Pivws button:active{background:#d4ff00;color:#151900}.emulator_pad__Pivws [data-dir=up]{grid-column:2;grid-row:1}.emulator_pad__Pivws [data-dir=left]{grid-column:1;grid-row:2}.emulator_pad__Pivws [data-dir=down]{grid-column:2;grid-row:2}.emulator_pad__Pivws [data-dir=right]{grid-column:3;grid-row:2}.emulator_screenMeta__n6Ov5{width:100%;max-width:340px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums}.emulator_screenMeta__n6Ov5 code{font-family:var(--mono);color:hsl(var(--foreground))}.emulator_regs__roYbJ{border:1px solid hsl(var(--border));border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:10px}.emulator_regs__roYbJ dl{display:grid;grid-template-columns:repeat(4,1fr) 1.4fr;gap:6px}.emulator_regs__roYbJ dl div{display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 2px;border-radius:7px;background:hsl(var(--muted)/.55)}.emulator_regs__roYbJ dt{font-size:10.5px;font-weight:700;letter-spacing:.06em;color:hsl(var(--muted-foreground))}.emulator_regs__roYbJ dd{font-family:var(--mono);font-size:14px;font-weight:600}.emulator_flags__yTkj9{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}.emulator_flags__yTkj9 button{min-height:36px;border-radius:7px;font-family:var(--mono);font-size:13px;font-weight:700;border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));background:hsl(var(--background))}.emulator_flags__yTkj9 button[aria-pressed=true]{background:#d4ff00;border-color:#b9de00;color:#151900}.emulator_flags__yTkj9 button:disabled{cursor:default}.emulator_counts__ABzV_{font-size:11.5px;color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums;text-align:center}.emulator_options__3kNhp{display:flex;flex-direction:column;gap:8px}.emulator_check__hxadh{display:flex;align-items:center;gap:8px;font-size:13px;min-height:40px;cursor:pointer}.emulator_check__hxadh input{width:18px;height:18px;accent-color:#97b400}.emulator_stateBtns__qkjBV{display:grid;grid-template-columns:1fr 1fr;gap:8px}.emulator_notice__UhRiA{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 16px 0;padding:8px 12px;border-radius:8px;font-size:13px;background:hsl(var(--muted))}.emulator_notice__UhRiA[data-tone=error]{background:hsl(var(--destructive)/.1);color:hsl(var(--destructive))}.emulator_notice__UhRiA button{display:grid;place-items:center;width:32px;height:32px;border-radius:6px}.emulator_panel___VrGs{border-top:1px solid hsl(var(--border));margin-top:0}.emulator_notice__UhRiA+.emulator_panel___VrGs{margin-top:10px}.emulator_tabs__He1Dp{display:flex;gap:2px;padding:8px 12px 0;border-bottom:1px solid hsl(var(--border));overflow-x:auto}.emulator_tabs__He1Dp button{min-height:42px;padding:8px 14px;font-size:13px;font-weight:500;color:hsl(var(--muted-foreground));border-bottom:2px solid transparent;white-space:nowrap}.emulator_tabs__He1Dp button[aria-selected=true]{color:hsl(var(--foreground));border-bottom-color:#97b400;font-weight:600}.emulator_pane__VJdwK{padding:14px 16px 18px;min-height:420px}.emulator_empty__3Z6xt{font-size:13px;color:hsl(var(--muted-foreground));padding:30px 0;text-align:center}.emulator_memNav__UHXNi{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}.emulator_memNav__UHXNi form{display:flex;align-items:flex-end;gap:6px}.emulator_memNav__UHXNi label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:hsl(var(--muted-foreground))}.emulator_memNav__UHXNi input{width:92px;min-height:40px;padding:6px 10px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--background));color:hsl(var(--foreground));font-family:var(--mono);font-size:14px;text-transform:uppercase}.emulator_jumps__nuHJM{display:flex;flex-wrap:wrap;gap:4px}.emulator_jumps__nuHJM button{min-height:40px;min-width:40px;padding:6px 10px;border-radius:8px;font-size:12px;border:1px solid hsl(var(--border));display:inline-flex;align-items:center;justify-content:center}.emulator_jumps__nuHJM button:hover{background:hsl(var(--muted))}.emulator_memScroll__DZ6KW{overflow-x:auto}.emulator_mem__a_uI8{border-collapse:collapse;font-family:var(--mono);font-size:12.5px;font-variant-numeric:tabular-nums;margin:0 auto}.emulator_mem__a_uI8 th{font-weight:500;color:hsl(var(--muted-foreground));padding:3px 6px;text-align:center}.emulator_mem__a_uI8 tbody th{text-align:right;padding-right:10px}.emulator_mem__a_uI8 td{padding:3px 5px;text-align:center;border-radius:4px}.emulator_mem__a_uI8 td[data-zero]{color:hsl(var(--muted-foreground)/.7)}.emulator_mem__a_uI8 td[data-touched]{background:#f59e0b33;color:hsl(var(--foreground))}.emulator_mem__a_uI8 td[data-sp]{box-shadow:inset 0 0 0 1.5px #0ea5e9}.emulator_mem__a_uI8 td[data-pc]{background:#d4ff00;color:#151900}.emulator_mem__a_uI8 .emulator_ascii__ADObW{text-align:left;padding-left:12px;color:hsl(var(--muted-foreground));white-space:pre;letter-spacing:.05em}.emulator_legend__aGp8T{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;font-size:11.5px;color:hsl(var(--muted-foreground))}.emulator_legend__aGp8T span{display:inline-block;width:12px;height:12px;border-radius:3px;margin-left:6px}.emulator_legend__aGp8T span[data-k=pc]{background:#d4ff00}.emulator_legend__aGp8T span[data-k=sp]{box-shadow:inset 0 0 0 1.5px #0ea5e9}.emulator_legend__aGp8T span[data-k=touched]{background:#f59e0b33}.emulator_dis__aIOTC{list-style:none;margin:0;padding:0;font-family:var(--mono);font-size:13px}.emulator_dis__aIOTC li{display:grid;grid-template-columns:56px 100px minmax(0,1fr) auto;align-items:center;gap:10px;padding:3px 8px;border-radius:6px;min-height:30px}.emulator_dis__aIOTC li[data-current]{background:var(--asm-pc);box-shadow:inset 3px 0 0 var(--asm-pc-edge)}.emulator_dis__aIOTC li[data-bp] .emulator_disAddr__76TOe:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#e5484d;margin-right:6px}.emulator_disAddr__76TOe,.emulator_disBytes__awUM3{color:hsl(var(--muted-foreground))}.emulator_disText__J2vru[data-unknown]{color:hsl(var(--destructive))}.emulator_dis__aIOTC button{font-family:inherit;font-size:11.5px;color:hsl(var(--muted-foreground));text-decoration:underline;text-underline-offset:3px;min-height:30px}.emulator_listingHead__9exJ9{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.emulator_listingHead__9exJ9 p{font-size:13px;color:hsl(var(--muted-foreground))}.emulator_listingGrid__00bg_{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.emulator_listingScroll__854QN{max-height:460px;overflow:auto;border:1px solid hsl(var(--border));border-radius:10px}.emulator_listing__0M23a{width:100%;border-collapse:collapse;font-family:var(--mono);font-size:12.5px}.emulator_listing__0M23a th{position:sticky;top:0;background:hsl(var(--card));text-align:left;font-weight:500;font-family:inherit;color:hsl(var(--muted-foreground));padding:6px 10px;border-bottom:1px solid hsl(var(--border))}.emulator_listing__0M23a td{padding:2px 10px;white-space:nowrap;vertical-align:top}.emulator_listing__0M23a td:nth-child(2){color:hsl(var(--muted-foreground))}.emulator_listing__0M23a td button{font-family:inherit;text-align:left;white-space:pre}.emulator_listing__0M23a td button:hover{text-decoration:underline}.emulator_symbols__hSXTR{min-width:0;display:flex;flex-direction:column;gap:8px}.emulator_reference__hBuQa h3,.emulator_symbols__hSXTR h3{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:hsl(var(--muted-foreground))}.emulator_symbols__hSXTR p{font-size:12.5px;color:hsl(var(--muted-foreground))}.emulator_symbols__hSXTR dl{max-height:200px;overflow:auto;font-family:var(--mono);font-size:12.5px}.emulator_symbols__hSXTR dl div{display:flex;justify-content:space-between;gap:10px;padding:2px 0;border-bottom:1px dashed hsl(var(--border))}.emulator_symbols__hSXTR dt{overflow:hidden;text-overflow:ellipsis}.emulator_dump__o5hQg{max-height:200px;overflow:auto;font-family:var(--mono);font-size:12px;line-height:1.55;padding:8px 10px;border-radius:8px;background:hsl(var(--muted)/.6)}.emulator_reference__hBuQa{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.emulator_reference__hBuQa section{display:flex;flex-direction:column;gap:10px}.emulator_reference__hBuQa dl{display:flex;flex-direction:column;gap:6px;font-size:12.5px}.emulator_reference__hBuQa dl div{display:grid;grid-template-columns:110px 1fr;gap:8px}.emulator_reference__hBuQa dt{font-family:var(--mono);font-weight:600}.emulator_reference__hBuQa dd{color:hsl(var(--muted-foreground));line-height:1.5}.emulator_palette__r34Ky{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;list-style:none;padding:0;margin:0;font-family:var(--mono);font-size:11px;color:hsl(var(--muted-foreground))}.emulator_palette__r34Ky li{display:flex;flex-direction:column;align-items:center;gap:3px}.emulator_palette__r34Ky span{width:100%;aspect-ratio:1;border-radius:5px;box-shadow:inset 0 0 0 1px #8884}.emulator_syntax__P7I2p{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:7px;font-size:12.5px;line-height:1.55;color:hsl(var(--muted-foreground))}.emulator_syntax__P7I2p code,.emulator_syntax__P7I2p kbd{font-family:var(--mono);font-size:12px;color:hsl(var(--foreground));background:hsl(var(--muted)/.7);padding:1px 5px;border-radius:4px}.emulator_sr___eSvP{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.emulator_tool__vgO1t button:focus-visible,.emulator_tool__vgO1t input:focus-visible,.emulator_tool__vgO1t select:focus-visible{outline:2px solid #819800;outline-offset:2px}@media(min-width:981px){.emulator_layout__KBx5Q{height:clamp(500px,calc(100dvh - 210px),820px)}.emulator_editor__g7a0v{min-height:0}.emulator_machineCol__77mNU{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable}.emulator_screen__rs1So{max-width:clamp(220px,calc(100dvh - 640px),340px)}.emulator_skeleton__fRkxA{min-height:calc(clamp(500px,calc(100dvh - 210px),820px) + 560px)}}@media(max-width:980px){.emulator_layout__KBx5Q{grid-template-columns:1fr}.emulator_machineCol__77mNU{order:-1;border-bottom:1px solid hsl(var(--border))}.emulator_editorCol__bzLlJ{border-right:0}.emulator_editor__g7a0v{flex:none;min-height:0;height:440px}.emulator_listingGrid__00bg_,.emulator_reference__hBuQa{grid-template-columns:1fr}.emulator_skeleton__fRkxA{min-height:1700px}}@media(max-width:640px){.emulator_toolbar__xMhgR{padding:10px 12px;gap:8px}.emulator_group__FQrH4[data-end]{margin-left:0}.emulator_exampleSelect__Y2GWe,.emulator_speed__LUFas{flex:1 1 140px}.emulator_exampleSelect__Y2GWe select,.emulator_speed__LUFas select{max-width:none;width:100%;min-height:44px}.emulator_btn__4Httx,.emulator_runBtn__UfOUC{min-height:44px;padding:6px 11px}.emulator_icon__Jd_nt{width:44px;min-height:44px}.emulator_runBtn__UfOUC{min-width:96px}.emulator_machineCol__77mNU{padding:12px}.emulator_pad__Pivws{grid-template-columns:repeat(3,60px);grid-template-rows:repeat(2,56px)}.emulator_flags__yTkj9 button{min-height:44px}.emulator_mem__a_uI8 .emulator_ascii__ADObW{display:none}.emulator_mem__a_uI8{font-size:11.5px}.emulator_mem__a_uI8 td,.emulator_mem__a_uI8 th{padding:3px}.emulator_dis__aIOTC li{grid-template-columns:44px 74px minmax(0,1fr) auto;gap:6px;font-size:12px}.emulator_pane__VJdwK{padding:12px}.emulator_jumps__nuHJM button,.emulator_memNav__UHXNi input{min-height:44px}.emulator_editor__g7a0v{height:400px}}@media(prefers-reduced-motion:reduce){.emulator_pulse__4QEma{animation:none}.emulator_btn__4Httx,.emulator_icon__Jd_nt,.emulator_runBtn__UfOUC{transition:none}}