:root{color-scheme:dark;--bg:#080e0b;--panel:#0d1811;--green:#a6fca1;--bright:#c9ffc3;--muted:#76a17c;--border:#2c4932;--ink:#061009;font-family:'Courier New',monospace;background:var(--bg);color:var(--green);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 40% 20%,#17291b55,transparent 60%);min-height:100svh}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--bright);outline-offset:5px}button:disabled{opacity:.35;cursor:default}button{border:1px solid var(--border);border-radius:3px;background:transparent;color:var(--green);min-height:44px}button:hover:not(:disabled){background:#a6fca118;border-color:var(--green)}.terminal{max-width:1200px;margin:auto;padding:32px 38px 20px}.masthead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding-bottom:22px}.brand{color:var(--green);text-decoration:none;font-size:22px;letter-spacing:3px;font-weight:bold;display:flex;align-items:center;gap:12px}.brand-icon{font-size:29px}.version{color:var(--muted);font-size:13px;letter-spacing:0}.online{font-size:10px;letter-spacing:1.5px;color:var(--muted)}.online i,.light{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:6px;box-shadow:0 0 8px #a6fca177}.intro{padding:34px 0 28px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);margin:0 0 15px}h1{font-size:clamp(25px,3.1vw,39px);line-height:1.24;letter-spacing:-1.5px;margin:0 0 14px}h1 span{color:#638c69}.subtitle{font-size:12px;color:#8ca991;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:30px}.reader-panel{min-width:0}.screen-top,.screen-bottom{border:1px solid var(--border);display:flex;justify-content:space-between;font-size:10px;letter-spacing:.7px;color:var(--muted);padding:13px 17px;background:#101c14}.screen-top{border-radius:9px 9px 0 0}.screen{height:362px;background:#041008;position:relative;overflow:hidden;border-left:1px solid var(--border);border-right:1px solid var(--border);box-shadow:inset 0 0 85px #000b}.screen::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:5;background:repeating-linear-gradient(0deg,transparent,transparent 2px,#0002 2px,#0002 4px);box-shadow:inset 0 0 45px #0008;border-radius:8px}.screen-grid{position:absolute;inset:0;background:radial-gradient(ellipse,#27513119,transparent 70%);pointer-events:none}.read-guide{position:absolute;top:50%;left:12px;right:12px;height:44px;transform:translateY(-50%);border-top:1px solid #497d4530;border-bottom:1px solid #497d4530;display:flex;align-items:center;justify-content:space-between;color:#a6fca177;font-size:22px;pointer-events:none}.story-track{position:absolute;top:50%;left:38px;right:38px;will-change:transform;font-size:20px;line-height:44px;letter-spacing:.1px;text-shadow:0 0 12px #a6fca144;opacity:0}.reading .story-track{opacity:1}.story-line{height:44px;white-space:pre;text-align:left}.screen-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:#07150cee;z-index:4}.screen-overlay[hidden]{display:none}.boot-label{font-size:9px;color:var(--muted);letter-spacing:1px}.boot-symbol{font-size:38px;line-height:1;margin:22px 0;color:#8ad583;text-shadow:0 0 22px #a6fca155}.screen-overlay h2{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}.screen-overlay p{font-size:11px;line-height:1.8;color:var(--muted)}.screen-overlay .boot-prompt{color:var(--green);font-size:10px;letter-spacing:1.3px;margin-top:22px}.cursor{animation:blink 1.1s steps(2,start) infinite}@keyframes blink{to{visibility:hidden}}.progress-track{height:3px;background:#192f1d}#progress-fill{height:100%;width:0;background:var(--green);box-shadow:0 0 9px #a6fca188}.screen-bottom{border-top:0;border-radius:0 0 8px 8px;font-size:9px}.playback{display:grid;grid-template-columns:1fr 2.1fr 1fr;gap:10px;margin-top:17px}.playback button{font-size:11px;font-weight:bold;min-height:50px}.primary{background:var(--green);color:var(--ink);border-color:var(--green);font-weight:bold}.primary:hover:not(:disabled){background:#d5ffd0;color:var(--ink)}.secondary{background:#132019}.keyboard-hint{text-align:center;color:#63816a;font-size:9px;margin:16px 0 0;display:flex;gap:8px;align-items:center;justify-content:center}kbd{font-family:inherit;border:1px solid #304636;border-radius:3px;padding:3px 4px;font-size:9px}.controls{display:flex;flex-direction:column;gap:23px}.section-label{font-size:10px;letter-spacing:1px;color:var(--muted);display:flex;justify-content:space-between;margin-bottom:14px}.control-block{border-bottom:1px solid var(--border);padding-bottom:21px}.speed-display{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.speed-display button{height:38px;width:38px;font-size:21px}.speed-display>div{text-align:center}.speed-display output{display:block;font-size:48px;letter-spacing:-3px;line-height:1}.speed-display>div>span{display:block;font-size:8px;letter-spacing:1.5px;color:var(--muted);margin-top:8px}input[type=range]{width:100%;accent-color:var(--green);height:25px;cursor:pointer;margin:0}.range-labels{display:flex;justify-content:space-between;font-size:7px;color:var(--muted);letter-spacing:.6px;margin:3px 0 12px}.presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.presets button{min-height:32px;font-size:10px}.selected{background:#a6fca116!important;border-color:#81c581!important;color:var(--bright)!important}select{width:100%;background:#132019;color:var(--green);padding:12px 30px 12px 12px;border:1px solid var(--border);border-radius:3px;font-size:12px;min-height:45px}.story-meta{display:flex;justify-content:space-between;gap:7px;color:var(--muted);font-size:8px;letter-spacing:.2px;margin-top:10px}.text-button{border:0;font-size:9px;letter-spacing:.8px;padding:0;min-height:36px;margin-top:8px}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mode{padding:11px 8px;text-align:left}.mode>span{font-size:10px;font-weight:bold}.mode small{display:block;font-size:8px;color:var(--muted);line-height:1.5;margin-top:6px}.mode-note{font-size:9px;color:var(--muted);line-height:1.6;margin:11px 0 0}.record{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1px}.record span small{display:block;font-size:7px;color:var(--muted);margin-top:6px}.record strong{font-size:24px;font-weight:normal;letter-spacing:-1px}.record strong small{font-size:8px;color:var(--muted);letter-spacing:0}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);margin-top:34px;padding-top:12px;color:#63816a;font-size:8px;letter-spacing:1px;gap:15px}footer button{border:0;font-size:8px;color:#7da084}footer small{font-size:7px;letter-spacing:0}.results{border:1px solid #587c50;background:#102016;padding:25px;margin-top:25px;border-radius:5px}.results h2{font-size:23px;margin:0 0 10px}.results p{font-size:12px;color:var(--muted);line-height:1.7}.question{border:0;padding:16px 0;margin:0}.question legend{font-size:13px;padding-top:15px;line-height:1.5}.answers{display:flex;flex-wrap:wrap;gap:10px}.answers label{display:flex;align-items:center;gap:8px;border:1px solid var(--border);padding:12px;font-size:11px;cursor:pointer}.answers label:has(:checked){border-color:var(--green);background:#a6fca111}input[type=radio]{accent-color:var(--green)}.results button{padding:0 22px;margin:10px 10px 0 0;font-size:12px}.results .feedback{color:var(--bright)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}textarea{width:100%;height:125px;background:#07130b;border:1px solid var(--border);color:var(--green);padding:10px;font-size:12px;resize:vertical;line-height:1.6;margin:8px 0}#custom-panel label,#custom-error{font-size:10px;color:var(--muted);line-height:1.6}#custom-panel button{font-size:10px;padding:0 12px}.no-effects .screen::after{display:none}.no-effects .story-track{text-shadow:none}.no-effects .cursor{animation:none}
@media(min-width:900px){.screen{height:390px}.intro{padding-bottom:32px}.control-block{padding-bottom:17px}.controls{gap:20px}}
@media(max-width:760px){.terminal{padding:19px 18px max(18px,env(safe-area-inset-bottom))}.masthead{padding-bottom:15px}.brand{font-size:18px;letter-spacing:2px;gap:8px}.online{font-size:8px;letter-spacing:0}.brand-icon{font-size:24px}.intro{padding:25px 0 22px}h1{font-size:29px;letter-spacing:-1px}.eyebrow{font-size:8px;margin-bottom:12px}.subtitle{font-size:10px;line-height:1.6;max-width:290px}.workspace{grid-template-columns:1fr;gap:29px}.screen{height:305px}.story-track{left:27px;right:27px;font-size:17px;line-height:40px}.story-line{height:40px}.read-guide{height:40px;left:8px;right:8px}.screen-top{font-size:8px;padding:12px}.screen-bottom{font-size:8px;padding:12px}.playback{gap:7px;grid-template-columns:1fr 2.5fr 1fr}.playback button{font-size:10px}.playback .secondary span{display:none}.playback .secondary{font-size:20px}.keyboard-hint{display:none}.controls{display:grid;grid-template-columns:1fr;gap:22px}.speed-display output{font-size:42px}.control-block{padding-bottom:20px}.presets button{min-height:40px}.section-label{font-size:10px}.range-labels{font-size:8px}.mode small{font-size:10px}.mode-note{font-size:11px}.story-meta{font-size:9px}.text-button{font-size:10px}.record{padding-top:0}.boot-symbol{margin:15px 0}.screen-overlay h2{font-size:18px}.boot-label{font-size:8px}footer{margin-top:25px;flex-wrap:wrap;font-size:7px;justify-content:space-between;gap:4px}footer>span:last-child{display:none}.answers{flex-direction:column}.results{padding:18px}.question legend{font-size:12px}.results button{width:100%;margin-right:0}}
@media(prefers-reduced-motion:reduce){.cursor{animation:none}.screen::after{display:none}}
