*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100vh;overflow:hidden}@supports (height: 100dvh){html,body,#root{height:100dvh}}#root{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}body{background:#252580}:root{--phosphor: #ffffff;--phosphor-dim: #8b7fcc;--phosphor-bright: #ffffff;--phosphor-glow: rgba(180, 180, 255, .2);--phosphor-bg: #3a3aac;--amber: #eded6e;--amber-dim: #9a9a45;--red: #ff5555;--red-dim: #aa3333;--crt-bg: #3a3aac;--crt-bezel: #1a1a2a;--crt-border: #2a2a3a;--font-terminal: "VT323", "Courier New", monospace;--font-size: 18px;--line-height: 1.3;--cursor-blink: .53s;--typewriter-speed: 25ms;--flicker-duration: .15s;--terminal-padding: 16px;--status-bar-height: 28px}@media(max-width:480px){:root{--font-size: 16px;--terminal-padding: 10px}}@media(max-width:360px){:root{--font-size: 14px;--terminal-padding: 8px}}@keyframes cursor-blink{0%,to{opacity:1}50%{opacity:0}}@keyframes crt-flicker{0%,to{opacity:1}92%{opacity:1}93%{opacity:.85}94%{opacity:1}96%{opacity:.9}97%{opacity:1}}@keyframes text-glow{0%,to{text-shadow:0 0 4px var(--phosphor-glow)}50%{text-shadow:0 0 8px var(--phosphor-glow),0 0 12px var(--phosphor-glow)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.crt-screen{position:relative;width:100vw;height:100vh;background:var(--crt-bg);overflow:hidden}@supports (height: 100dvh){.crt-screen{height:100dvh}}.crt-screen:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(0,0,0,.12) 0px,rgba(0,0,0,.12) 1px,transparent 1px,transparent 3px);pointer-events:none;z-index:10}.crt-screen:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 75%,rgba(0,0,0,.15) 92%,rgba(0,0,0,.35) 100%);pointer-events:none;z-index:11}.crt-content{position:relative;width:100%;height:100%;z-index:1;text-shadow:0 0 5px var(--phosphor-glow)}.crt-screen.flicker .crt-content{animation:crt-flicker 4s infinite}@media(prefers-reduced-motion:reduce){.crt-screen.flicker .crt-content{animation:none}}@media(max-width:480px){.crt-screen:before{background:repeating-linear-gradient(0deg,rgba(0,0,0,.1) 0px,rgba(0,0,0,.1) 1px,transparent 1px,transparent 4px)}}.terminal-container{display:flex;flex-direction:column;height:100%;font-family:var(--font-terminal);font-size:var(--font-size);line-height:var(--line-height);color:var(--phosphor)}.terminal-output{flex:1;overflow-y:auto;padding:var(--terminal-padding);padding-bottom:0;scrollbar-width:none}.terminal-output::-webkit-scrollbar{display:none}.terminal-line{white-space:pre-wrap;word-break:break-all;min-height:calc(var(--font-size) * var(--line-height))}.terminal-line.dim{color:var(--phosphor-dim)}.terminal-line.bright{color:var(--phosphor-bright)}.terminal-line.amber{color:var(--amber)}.terminal-line.red{color:var(--red)}.terminal-line.system{color:var(--phosphor-dim);font-style:italic}.terminal-input-area{padding:0 var(--terminal-padding) var(--terminal-padding);display:flex;align-items:center;flex-shrink:0}.terminal-prompt{color:var(--phosphor);white-space:pre;flex-shrink:0}.terminal-input-wrapper{position:relative;flex:1;display:flex;align-items:center}.terminal-input-hidden{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;border:none;outline:none;background:transparent;color:transparent;caret-color:transparent;font-size:16px;font-family:inherit;padding:0;margin:0}.terminal-input-display{white-space:pre;color:var(--phosphor)}.terminal-cursor{display:inline-block;width:.6em;height:1.1em;background:var(--phosphor);vertical-align:text-bottom;animation:cursor-blink var(--cursor-blink) step-end infinite}.status-bar{height:var(--status-bar-height);display:flex;align-items:center;justify-content:space-between;padding:0 var(--terminal-padding);background:var(--phosphor-dim);color:var(--crt-bg);font-family:var(--font-terminal);font-size:14px;flex-shrink:0;gap:16px}.status-bar__section{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}.status-bar__section span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:480px){.status-bar{font-size:12px;gap:8px}}.start-screen{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}.start-content{display:flex;flex-direction:column;align-items:center;gap:24px}.start-logo{font-family:var(--font-terminal);font-size:14px;line-height:1.15;color:var(--phosphor-bright);text-shadow:0 0 8px var(--phosphor-glow),0 0 16px var(--phosphor-glow);text-align:center;margin:0;white-space:pre}.start-subtitle{font-family:var(--font-terminal);font-size:var(--font-size);color:var(--phosphor-dim);letter-spacing:.15em}.start-prompt{font-family:var(--font-terminal);font-size:22px;color:var(--phosphor-bright);animation:cursor-blink var(--cursor-blink) step-end infinite;margin-top:16px}.start-prompt.start-loading{animation:none;color:var(--phosphor-dim)}@media(max-width:600px){.start-logo{font-size:8px}.start-prompt{font-size:var(--font-size)}}@media(max-width:360px){.start-logo{font-size:6.5px}}
