:root{--terminal-bg: #0a0e14;--terminal-fg: #39ff14;--terminal-accent: #39ff14;--terminal-dim: #20c20e;--terminal-error: #ff3333;--terminal-cursor: #39ff14;--terminal-bg-secondary: rgba(0, 0, 0, .3);--terminal-accent-05: color-mix(in srgb, var(--terminal-accent) 5%, transparent);--terminal-accent-10: color-mix(in srgb, var(--terminal-accent) 10%, transparent);--terminal-accent-15: color-mix(in srgb, var(--terminal-accent) 15%, transparent);--terminal-accent-30: color-mix(in srgb, var(--terminal-accent) 30%, transparent)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Fira Code,JetBrains Mono,Cascadia Code,Menlo,Monaco,Liberation Mono,Courier New,monospace;background-color:var(--terminal-bg);color:var(--terminal-fg);overflow:hidden;overflow-x:hidden;height:100dvh;width:100vw;max-width:100vw;display:flex;flex-direction:column;font-weight:500;box-shadow:inset 0 0 0 0 var(--terminal-accent);padding:0;transition:box-shadow .3s ease,padding .3s ease}body.border-enabled{box-shadow:inset 0 0 0 4px var(--terminal-accent);padding:4px}#terminal-header{padding:20px 20px 10px;background-color:var(--terminal-bg-secondary);border-bottom:1px solid var(--terminal-dim);position:relative;flex-shrink:0}.header-prompt{color:var(--terminal-fg);font-family:Courier New,monospace;font-size:14px;position:absolute;left:10px;top:20px;z-index:1}.header-ascii{overflow-x:hidden;margin-bottom:5px;text-align:center;position:relative;z-index:2;max-width:100%}.header-ascii-text{font-family:monospace;font-size:10px;line-height:1;margin:0;padding:0;display:inline-block;background:linear-gradient(90deg,#ff6b35,#ff8c42,#ffaa4f,#ffc85c,#e6e669,#c4e676,#9fe683,#7ae690,#5ad69d,#3ac6aa,#1bb6b7,#00a6c4,#0096d1 96%,#0086de);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;font-weight:700}.header-clickable{cursor:pointer;transition:opacity .2s ease,transform .1s ease}.header-clickable:hover{opacity:.8}.header-clickable:active{transform:scale(.98)}.header-tagline{color:var(--terminal-dim);font-size:16px;text-align:center;margin-top:5px;letter-spacing:.5px}#terminal-nav{display:flex;align-items:center;justify-content:center;padding:12px 20px;background-color:var(--terminal-bg-secondary);border-bottom:1px solid var(--terminal-dim);flex-shrink:0}.nav-links{display:flex;gap:20px;flex-wrap:wrap;justify-content:center}.nav-link{color:var(--terminal-fg);text-decoration:none;padding:4px 8px;border:1px solid transparent;cursor:pointer;transition:all .2s ease;font-size:14px;background:none;font-family:inherit;line-height:inherit}.nav-link:hover{color:var(--terminal-accent);border-color:var(--terminal-accent);text-shadow:0 0 5px var(--terminal-accent);background-color:var(--terminal-accent-10)}.nav-link:active{transform:scale(.95)}.nav-link:focus-visible{outline:2px solid var(--terminal-accent);outline-offset:2px}#terminal-container{width:100%;max-width:100vw;flex:1;padding:20px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;position:relative}#terminal-container:before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;background:repeating-linear-gradient(0deg,rgba(0,0,0,.15),rgba(0,0,0,.15) 1px,transparent 1px,transparent 2px);pointer-events:none;z-index:1000}#terminal-container:after{content:"";position:fixed;top:0;left:0;width:100%;height:100%;background:radial-gradient(ellipse at center,var(--terminal-accent) 0%,transparent 70%);opacity:.1;pointer-events:none;z-index:999}body.no-scan-lines #terminal-container:before{display:none}body.no-glow #terminal-container:after{display:none}#terminal-output{flex:1;line-height:1;font-size:var(--terminal-font-size, 16px);font-family:var(--terminal-font-family, "Courier New", monospace);white-space:pre;word-wrap:break-word;max-width:100%;display:flex;flex-direction:column;letter-spacing:.5px}.output-line{margin-bottom:0}.output-error{color:var(--terminal-error)}.output-dim{color:var(--terminal-dim);opacity:.7}#terminal-input-line{display:flex;align-items:center;font-size:var(--terminal-font-size, 16px);font-family:var(--terminal-font-family, "Courier New", monospace);margin-top:0;line-height:1}#terminal-prompt{color:var(--terminal-accent);margin-right:8px;white-space:nowrap;font-weight:700}#terminal-input{flex:1;background:transparent;border:none;outline:none;color:var(--terminal-fg);font-family:inherit;font-size:max(16px,var(--terminal-font-size, 16px));caret-color:var(--terminal-cursor)}#terminal-input::selection{background-color:var(--terminal-accent);color:var(--terminal-bg)}@keyframes blink{0%,49%{opacity:1}50%,to{opacity:0}}#terminal-input{animation:none}.terminal-glow{text-shadow:0 0 5px var(--terminal-accent)}.matrix-rain{position:relative;width:100%;overflow:hidden;font-family:var(--terminal-font-family);font-size:var(--terminal-font-size);line-height:1.5;-webkit-user-select:none;user-select:none}.matrix-column{position:absolute;top:0;white-space:pre;letter-spacing:0;font-variant-ligatures:none;font-feature-settings:normal;will-change:transform}.matrix-char{display:block}.matrix-char-bright{text-shadow:0 0 8px currentColor;animation:matrix-glow .1s infinite}@keyframes matrix-fall{0%{transform:translateY(var(--matrix-start))}to{transform:translateY(var(--matrix-end))}}@keyframes matrix-glow{0%,to{filter:brightness(1.2)}50%{filter:brightness(1.5)}}#terminal-container::-webkit-scrollbar{width:10px}#terminal-container::-webkit-scrollbar-track{background:var(--terminal-bg-secondary)}#terminal-container::-webkit-scrollbar-thumb{background:var(--terminal-dim);border-radius:5px}#terminal-container::-webkit-scrollbar-thumb:hover{background:var(--terminal-accent)}.markdown-output{line-height:1.4;margin:12px 0 4px;white-space:normal}.markdown-output h1{font-size:24px;font-weight:700;margin:16px 0 4px;padding:4px 8px;color:var(--terminal-accent);background-color:var(--terminal-accent-10);border-bottom:2px solid var(--terminal-accent);filter:hue-rotate(180deg)}.markdown-output h2{font-size:20px;font-weight:700;margin:6px 0 3px;color:var(--terminal-accent);filter:hue-rotate(180deg)}.markdown-output h3{font-size:18px;font-weight:700;margin:6px 0 3px;color:var(--terminal-dim)}.markdown-output ul,.markdown-output ol{margin:4px 0 4px 20px}.markdown-output li{margin:2px 0}.markdown-output code{background:var(--terminal-accent-10);padding:2px 6px;border-radius:3px;font-family:Fira Code,JetBrains Mono,Cascadia Code,Menlo,Monaco,Liberation Mono,Courier New,monospace;color:var(--terminal-accent)}.markdown-output pre{background:var(--terminal-bg-secondary);padding:8px;margin:4px 0;border-radius:4px;overflow-x:auto;border-left:3px solid var(--terminal-dim)}.markdown-output pre code{background:none;padding:0}.markdown-output strong{font-weight:700;color:var(--terminal-accent)}.markdown-output em{font-style:italic;opacity:.9}.markdown-output a{color:var(--terminal-accent);text-decoration:underline;cursor:pointer}.markdown-output a:hover{text-shadow:0 0 8px var(--terminal-accent)}.markdown-output p{margin:4px 0}.markdown-output p:has(.tag-link){margin-bottom:32px;margin-left:0}.markdown-output h3~p{margin-left:24px}.markdown-output hr~p,.markdown-output hr~ul{margin-left:0}.markdown-output h2~p,.markdown-output h2~ul,.markdown-output h2~ol,.markdown-output h2~pre{margin-left:24px}.markdown-output h2~h2{margin-left:0}.markdown-output h2~h2~p,.markdown-output h2~h2~ul,.markdown-output h2~h2~ol,.markdown-output h2~h2~pre{margin-left:24px}.markdown-output br{display:none}.markdown-output .fm-title{font-size:26px;margin:4px 0;color:var(--terminal-accent);text-shadow:0 0 10px var(--terminal-accent)}.markdown-output .fm-meta{margin:4px 0;opacity:.8;font-size:14px}.markdown-output .fm-date{color:var(--terminal-dim)}.markdown-output .fm-tags{margin-left:8px}.markdown-output .fm-tag{background:var(--terminal-accent-15);padding:2px 8px;border-radius:3px;margin:0 4px;font-size:12px}.markdown-output .fm-summary{font-style:italic;opacity:.9;margin:6px 0}.markdown-output .fm-divider{border:none;border-top:1px solid var(--terminal-dim);margin:8px 0;opacity:.3}.markdown-output hr{border:none;border-top:1px solid var(--terminal-dim);margin:16px 0;opacity:.3}.markdown-output .tag-link{background:var(--terminal-accent-10);color:var(--terminal-accent);border:1px solid var(--terminal-accent);padding:2px 8px;border-radius:4px;font-family:Fira Code,JetBrains Mono,Cascadia Code,Menlo,Monaco,Liberation Mono,Courier New,monospace;font-size:13px;cursor:pointer;transition:all .2s ease;display:inline-block;margin:0 2px}.markdown-output .tag-link:hover{background:var(--terminal-accent-15);box-shadow:0 0 8px var(--terminal-accent);transform:translateY(-1px)}.markdown-output .tag-link:active{transform:translateY(0)}.markdown-output .tag-link:focus{outline:2px solid var(--terminal-accent);outline-offset:2px}.markdown-output img{max-width:100%;height:auto;display:block;margin:12px 0}.graph-container{position:relative}.markdown-output .side-by-side-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:16px 0;align-items:start}.markdown-output .side-by-side-layout .graph-column{min-height:400px}@media(max-width:768px){.markdown-output .side-by-side-layout{grid-template-columns:1fr}.markdown-output .side-by-side-layout .graph-column{order:-1}}.settings-panel{padding:10px 0 0;max-width:800px;margin:0 auto}.settings-panel h2{color:var(--terminal-accent);margin:0 0 5px;font-size:1.3em;text-transform:uppercase}.settings-section{margin:5px 0;padding:8px;border:1px solid var(--terminal-dim);border-radius:4px;background:var(--terminal-bg-secondary)}.settings-section h3{color:var(--terminal-accent);margin:0 0 5px;font-size:1em;text-transform:uppercase}.theme-buttons-container{display:flex;flex-wrap:wrap;gap:4px}.theme-button{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:#8080801a;border:1px solid var(--terminal-dim);color:var(--terminal-fg);cursor:pointer;font-family:inherit;font-size:13px;transition:all .2s;border-radius:4px}.theme-button:hover{filter:brightness(1.3);box-shadow:0 0 10px currentColor}.theme-button.active{filter:brightness(1.5);font-weight:700;box-shadow:0 0 15px currentColor}.theme-preview{width:20px;height:20px;border-radius:50%;border:1px solid var(--terminal-dim);box-shadow:0 0 5px #0000004d}.color-picker-group{display:flex;align-items:center;gap:8px;margin:3px 0}.color-picker-group label{min-width:100px;color:var(--terminal-fg);font-size:13px}.color-picker-group input[type=color]{width:50px;height:30px;border:1px solid var(--terminal-dim);background:transparent;cursor:pointer;border-radius:4px}.color-picker-group input[type=color]:hover{border-color:var(--terminal-accent)}.color-value{font-family:Courier New,monospace;color:var(--terminal-dim);font-size:12px}.setting-group{margin:4px 0;display:flex;flex-direction:column;gap:3px}.setting-group label{color:var(--terminal-fg);display:flex;align-items:center;gap:8px;font-size:13px}input[type=range]{width:100%;height:18px;background:color-mix(in srgb,var(--terminal-dim) 30%,transparent);border:1px solid color-mix(in srgb,var(--terminal-dim) 30%,transparent);border-radius:3px;outline:none;cursor:pointer;-webkit-appearance:none;appearance:none}input[type=range]::-webkit-slider-runnable-track{width:100%;height:18px;background:color-mix(in srgb,var(--terminal-dim) 30%,transparent);border-radius:3px}input[type=range]::-moz-range-track{width:100%;height:18px;background:color-mix(in srgb,var(--terminal-dim) 30%,transparent);border-radius:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;background:var(--terminal-accent);border-radius:4px;cursor:pointer;box-shadow:0 0 5px currentColor}input[type=range]::-moz-range-thumb{width:18px;height:18px;background:var(--terminal-accent);border-radius:4px;cursor:pointer;border:none;box-shadow:0 0 5px currentColor}input[type=range]:hover::-webkit-slider-thumb{box-shadow:0 0 10px currentColor;opacity:1}input[type=range]:hover::-moz-range-thumb{box-shadow:0 0 10px currentColor;opacity:1}input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:var(--terminal-accent)}select{padding:8px 12px;background:var(--terminal-bg-secondary);border:1px solid var(--terminal-dim);color:var(--terminal-fg);font-family:inherit;font-size:14px;cursor:pointer;border-radius:4px;min-width:200px}select:hover{border-color:var(--terminal-accent)}select:focus{outline:none;border-color:var(--terminal-accent);box-shadow:0 0 5px var(--terminal-accent-30)}select option{background:var(--terminal-bg);color:var(--terminal-fg)}.settings-actions{margin-top:8px;text-align:center;padding-top:8px}.btn-reset{padding:6px 16px;background:#ff33331a;border:1px solid var(--terminal-error);color:var(--terminal-error);cursor:pointer;font-family:inherit;font-size:13px;transition:all .2s;border-radius:4px;font-weight:700}.btn-reset:hover{background:#f333;box-shadow:0 0 10px #ff33334d}details{margin-top:3px}details summary{cursor:pointer;color:var(--terminal-accent);padding:4px 8px;border:1px solid var(--terminal-dim);border-radius:4px;-webkit-user-select:none;user-select:none;background:var(--terminal-bg-secondary);transition:all .2s;font-size:13px}details summary:hover{background:var(--terminal-accent-05);border-color:var(--terminal-accent)}details[open] summary{margin-bottom:5px;background:var(--terminal-accent-10)}@media(max-width:768px){.settings-panel{padding:15px}.theme-button{padding:8px 16px;font-size:13px}.color-picker-group{flex-direction:column;align-items:flex-start;gap:8px}.color-picker-group label{min-width:auto}}@media(max-width:1169px){.header-prompt{display:none}}@media(max-width:1024px){.header-ascii-text{font-size:9px}.header-tagline{font-size:15px}}@media(max-width:768px){.header-ascii-text{font-size:8px}.header-tagline{font-size:14px}}@media(max-width:640px){.header-ascii-text{font-size:7px}.header-tagline{font-size:13px}}@media(max-width:480px){.header-ascii-text{font-size:5px}.header-tagline{font-size:11px}}@media(max-width:375px){.header-ascii-text{font-size:4px}.header-tagline{font-size:9px;letter-spacing:.3px}}@media(max-width:768px){#terminal-nav{padding:8px 10px;flex-direction:column;align-items:flex-start;gap:8px}.nav-brand{font-size:14px}.nav-links{gap:10px}.nav-link{font-size:12px;padding:3px 6px}#terminal-container{padding:10px}#terminal-output,#terminal-input-line{font-size:16px}}@media(max-width:480px){.nav-links{gap:6px}.nav-link{font-size:11px;padding:2px 5px}}@media(max-width:375px){.nav-links{gap:5px}.nav-link{font-size:10px;padding:2px 4px}}
