:root{--phosphor-green:#3f3;--phosphor-green-dim:#2acc2a;--phosphor-green-bright:#6f6;--phosphor-glow:rgba(51,255,51,.5);--screen-bg:#0a0a0a;--bezel-color:#2a2a2a;--border-color:#1a1a1a;--ansi-red:#f33;--ansi-yellow:#ff3;--ansi-blue:#33f;--ansi-magenta:#f3f;--ansi-cyan:#3ff;--ansi-white:#fff}[data-theme=amber]{--phosphor-green:#fb0;--phosphor-green-dim:#c90;--phosphor-green-bright:#fd3;--phosphor-glow:rgba(255,187,0,.5);--screen-bg:#0a0a0a;--bezel-color:#2a2a2a;--border-color:#1a1a1a;--ansi-red:#f60;--ansi-yellow:#fd0;--ansi-blue:#06f;--ansi-magenta:#f0a;--ansi-cyan:#0cf;--ansi-white:#fff}body{color:var(--phosphor-green);font-smooth:never;-webkit-font-smoothing:none;-moz-osx-font-smoothing:grayscale;text-rendering:geometricPrecision;background:#1a1a1a;min-height:100vh;margin:0;padding:20px;font-family:Courier New,Courier,Lucida Console,monospace;font-size:16px;line-height:19.2px;transition:color .3s,background-color .3s;overflow-x:hidden}.terminal-screen:before{content:"";pointer-events:none;z-index:10;background:repeating-linear-gradient(0deg,rgba(0,0,0,.15) 0,transparent 1px,transparent 2px);position:absolute;top:0;bottom:0;left:0;right:0}.terminal-screen:after{content:"";pointer-events:none;z-index:11;background:radial-gradient(transparent 0%,transparent 60%,rgba(0,0,0,.15) 100%);position:absolute;top:0;bottom:0;left:0;right:0}@keyframes flicker{0%,98%{opacity:1}99%{opacity:.98}to{opacity:1}}.terminal-screen{animation:.15s linear infinite flicker}.terminal-text{text-shadow:0 0 3px var(--primary-color),0 0 6px var(--primary-color),0 0 9px var(--primary-color);filter:contrast(1.2)brightness(1.1)}.ansi-red{color:var(--ansi-red)}.ansi-yellow{color:var(--ansi-yellow)}.ansi-blue{color:var(--ansi-blue)}.ansi-magenta{color:var(--ansi-magenta)}.ansi-cyan{color:var(--ansi-cyan)}.ansi-white{color:var(--ansi-white)}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}@keyframes loading-dots{0%,20%{content:"LOADING..."}25%,45%{content:"LOADING."}50%,70%{content:"LOADING.."}75%,95%{content:"LOADING..."}to{content:"LOADING...."}}.loading-text{animation:1.5s infinite loading-dots}.cursor{background:var(--phosphor-green);width:9.6px;height:16px;box-shadow:0 0 4px var(--phosphor-glow);vertical-align:top;margin-left:0;animation:.53s infinite blink-cursor;display:inline-block}@keyframes blink-cursor{0%,49%{opacity:1}50%,to{opacity:0}}.terminal{box-sizing:border-box;background:linear-gradient(145deg,#d4c4a8,#c4b498);border:3px solid #b8a890;border-radius:2px;width:670px;max-width:670px;margin:0 auto;padding:30px 25px 25px;position:relative;box-shadow:0 8px 24px rgba(0,0,0,.25),0 4px 12px rgba(0,0,0,.15),inset 0 2px rgba(255,255,255,.4),inset 0 1px 1px rgba(255,255,255,.3),inset 0 -2px rgba(0,0,0,.15),inset 0 -1px rgba(0,0,0,.1)}.terminal:before{content:"";pointer-events:none;border:1px solid rgba(168,152,128,.5);border-radius:1px;position:absolute;top:8px;bottom:8px;left:8px;right:8px}.terminal:after{content:"";pointer-events:none;border-radius:inherit;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,0,0,.02) 2px,rgba(0,0,0,.02) 4px);position:absolute;top:0;bottom:0;left:0;right:0}.terminal-screen{background:var(--screen-bg);box-sizing:border-box;font-smooth:never;-webkit-font-smoothing:none;-moz-osx-font-smoothing:grayscale;width:614px;height:307px;text-rendering:geometricPrecision;image-rendering:pixelated;will-change:opacity;letter-spacing:0;word-spacing:0;font-variant-ligatures:none;font-feature-settings:"liga" 0;white-space:pre;border:4px solid #1a1a1a;margin:0 auto;font-family:Courier New,Courier,Lucida Console,monospace;font-size:16px;line-height:19.2px;position:relative;transform:translateZ(0);box-shadow:inset 0 0 30px rgba(0,0,0,.9),inset 0 0 15px rgba(0,0,0,.8),0 1px 2px rgba(255,255,255,.1),0 0 0 1px #0d0d0d}.terminal-display{box-sizing:border-box;flex-direction:column;width:100%;height:100%;margin:0;padding:0;display:flex;position:relative;overflow:hidden}.terminal-content{box-sizing:border-box;width:614px;max-width:614px;height:268px;max-height:268px;color:var(--phosphor-green);text-shadow:0 0 2px currentColor,0 0 4px var(--phosphor-green),0 0 8px var(--phosphor-glow);white-space:pre;font-family:inherit;font-size:inherit;line-height:inherit;letter-spacing:0;word-spacing:0;will-change:text-shadow;-webkit-backface-visibility:hidden;backface-visibility:hidden;scrollbar-width:none;-ms-overflow-style:none;flex:auto;margin:0;padding:0;overflow-x:hidden;overflow-y:auto}.terminal-content::-webkit-scrollbar{display:none}.terminal-content pre{transform-origin:50%;z-index:3;white-space:pre;letter-spacing:0;word-spacing:0;width:100%;margin:0;padding:0;font-family:Courier New,monospace;font-size:16px;line-height:1.2;display:block;position:relative;overflow:visible;transform:none}.ascii-box{border:2px solid var(--primary-color);background:var(--primary-glow);box-shadow:0 0 10px var(--primary-glow);margin:15px 0;padding:15px}.ascii-box pre{letter-spacing:0;word-spacing:0;font-variant-numeric:tabular-nums;margin:0;padding:0;font-family:Courier New,monospace;font-size:14px;line-height:1.3}.menu-item{color:var(--primary-color);padding:2px 0;text-decoration:none;display:block}.menu-item:hover{background:var(--primary-color);color:#000}.menu-key{color:var(--ansi-yellow);font-weight:700}.status-line{white-space:nowrap;text-overflow:clip;width:614px;height:19.2px;min-height:19.2px;max-height:19.2px;color:var(--phosphor-green);text-shadow:0 0 2px currentColor,0 0 4px var(--phosphor-green),0 0 8px var(--phosphor-glow);background:rgba(51,255,51,.03);border-bottom:1px solid rgba(51,255,51,.3);flex:0 0 19.2px;margin:0;padding:0;font-family:inherit;font-size:16px;line-height:19.2px;overflow:hidden}.command-line{white-space:nowrap;text-overflow:clip;width:614px;height:19.2px;min-height:19.2px;max-height:19.2px;color:var(--phosphor-green);text-shadow:0 0 2px currentColor,0 0 4px var(--phosphor-green),0 0 8px var(--phosphor-glow);background:rgba(51,255,51,.03);border-top:1px solid rgba(51,255,51,.3);flex:0 0 19.2px;margin:4px 0 0;padding:0;font-family:inherit;font-size:16px;line-height:19.2px;overflow:hidden}.emulator-canvas{image-rendering:pixelated;image-rendering:crisp-edges;image-rendering:-moz-crisp-edges;image-rendering:-webkit-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-ms-crisp-edges;background:var(--screen-bg);box-sizing:border-box;border:none;outline:none;margin:0;padding:0;display:block;width:100%!important;height:100%!important}input,textarea,select{background:var(--background-color);border:1px solid var(--primary-color);color:var(--primary-color);font-family:inherit;font-size:inherit;padding:5px}input:focus,textarea:focus,select:focus{outline:2px solid var(--primary-color);box-shadow:0 0 10px var(--primary-glow)}button{background:var(--primary-color);color:#000;border:2px solid var(--primary-color);font-family:inherit;font-size:inherit;cursor:pointer;padding:5px 15px;font-weight:700}button:hover{background:var(--background-color);color:var(--primary-color)}@media (min-width:768px){.terminal-screen{width:614px!important;height:307px!important}}@media (max-width:767px) and (min-width:481px){.terminal{transform-origin:top;transform:scale(.75)}}@media (max-width:480px){.terminal{transform-origin:top;transform:scale(.52)}body{padding:10px}}.boot-content{min-height:200px;margin:20px 0}.memory-check,.tape-loading{margin:10px 0}.skip-message{opacity:.7;font-size:12px;position:absolute;bottom:20px;right:20px}.tape-loader{z-index:1000;background:rgba(0,0,0,.95);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.tape-drive{max-width:64ch;margin:0 auto}.tape-complete{text-align:center;margin-top:20px;font-size:18px;font-weight:700}.system-info-overlay{z-index:1000;background:rgba(0,0,0,.9);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.system-info{max-width:64ch;margin:0 auto}@media print{body{color:#000!important;background:#fff!important;margin:0!important;padding:20px!important;font-family:Courier New,Courier,monospace!important;font-size:12px!important;line-height:1.2!important}.terminal{max-width:none!important;box-shadow:none!important;background:#fff!important;padding:20px!important}.terminal-screen{background:#fff!important;border:2px solid #000!important;width:auto!important;height:auto!important}.status-line{color:#fff!important;background:#000!important;border-bottom:2px solid #000!important}.command-line{border-top:2px solid #000!important}.cursor,.tape-loader,.system-info-overlay,.terminal-screen:before,.terminal-screen:after{display:none!important}}
