/* Theme: exactly one palette is active. To switch back, comment out "blue" and uncomment "amber". */
/* amber */
:root{--bg:#0b0800;--edge:#050300;--core:#1c1200;--fg:#ffb000;--dim:#b98300;--hl:#ffd060;--glow:rgba(255,160,0,.45)}
/* blue */
/* :root{--bg:#00070f;--edge:#000308;--core:#001a33;--fg:#6fc3ff;--dim:#4a90d0;--hl:#c4e8ff;--glow:rgba(60,160,255,.5)} */
:root{color-scheme:dark}
*{box-sizing:border-box}
html{min-height:100%;background:var(--edge) radial-gradient(ellipse at 50% 35%,var(--core) 0,var(--bg) 55%,var(--edge) 100%) fixed}
body{margin:0;padding:2rem 1.25rem;max-width:46rem;margin-inline:auto;color:var(--fg);font:16px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-shadow:0 0 1px var(--glow),0 0 7px var(--glow)}
/* CRT glass: scanlines, then a vignette. Both ignore the pointer. */
body::before,body::after{content:"";position:fixed;inset:0;pointer-events:none}
body::before{z-index:2;background:repeating-linear-gradient(to bottom,transparent 0 2px,rgba(0,0,0,.2) 2px 4px)}
body::after{z-index:3;background:radial-gradient(ellipse at center,transparent 55%,rgba(0,0,0,.6) 100%);box-shadow:inset 0 0 6rem rgba(0,0,0,.55)}
::selection{background:var(--fg);color:var(--bg);text-shadow:none}
a{color:var(--hl);text-decoration:underline;text-underline-offset:.15em}
a:hover,a:focus-visible{background:var(--fg);color:var(--bg);text-shadow:none;box-shadow:0 0 8px var(--glow);outline:0}
h1{font-size:1rem;margin:0 0 1rem;font-weight:normal;overflow-wrap:break-word}
.dim,.note{color:var(--dim)}
pre{white-space:pre-wrap;margin:0;font:inherit}
.prompt::before{content:"$ ";color:var(--dim)}
.tree{white-space:pre;line-height:1.3;overflow-x:auto}
.tree i{font-style:normal;color:var(--dim)}
@media (max-width:30rem){.note{display:none}}
.cursor{display:inline-block;width:.6em;height:1em;background:var(--fg);box-shadow:0 0 8px var(--glow);vertical-align:text-bottom;animation:b 1s steps(1) infinite}
@keyframes b{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.cursor{animation:none}}
footer{margin-top:3rem;color:var(--dim);font-size:.85rem}
/* Drop the glass when it would get in the way. */
@media (prefers-contrast:more),print{body{text-shadow:none}body::before,body::after{display:none}}
@media print{html{background:#fff}body,a,.dim,.note,.tree i{color:#000}}
