:root {
--green: #46e866;
--mint: #b4ffc6;
--amber: #ffd84a;
--dim: #2f9a46;
--screen: #031008;
--font: "VT323", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
background: radial-gradient(ellipse at 50% 30%, #1b1d18 0%, #0a0b09 70%);
font: 23px/1.25 var(--font); color: var(--green); overflow: hidden;
}
a { color: var(--amber); }
@media (max-width: 700px) { .hide-sm { display: none; } }
.room { height: 100%; display: flex; justify-content: center; padding: 2.2vmin; }
.monitor {
width: min(1180px, 100%); height: 100%; display: flex; flex-direction: column;
padding: 3vmin 3vmin 0; border-radius: 34px;
background: linear-gradient(160deg, #3a3d33 0%, #26281f 45%, #1b1d16 100%);
box-shadow: inset 0 2px 0 rgba(255,255,255,.08), inset 0 -6px 18px rgba(0,0,0,.6), 0 30px 80px rgba(0,0,0,.7);
}
.chin { height: 7vmin; min-height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 2vmin; }
.brand { font: 700 15px/1 Menlo, monospace; letter-spacing: 6px; color: #8b8f7d; text-transform: uppercase; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green), 0 0 22px var(--green); animation: led 4s infinite; }
@keyframes led { 0%, 92%, 100% { opacity: 1 } 94% { opacity: .3 } }
.screen {
position: relative; flex: 1; min-height: 0; border-radius: 22px / 26px; overflow: hidden;
background: radial-gradient(ellipse at 50% 45%, #0a2412 0%, var(--screen) 65%, #000 100%);
box-shadow: inset 0 0 0 3px #0b0c09, inset 0 0 70px rgba(0,0,0,.95);
display: flex; flex-direction: column;
animation: poweron .9s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes poweron {
0% { transform: scale(1, .004); filter: brightness(6); }
45% { transform: scale(1, .004); filter: brightness(6); }
70% { transform: scale(1, 1); filter: brightness(2); }
100% { transform: none; filter: none; }
}
.screen::before {
content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 30;
background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px);
}
.screen::after {
content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 31;
background: radial-gradient(ellipse at center, transparent 58%, rgba(0,0,0,.55) 100%);
animation: flicker 7s infinite;
}
@keyframes flicker { 0%, 95%, 100% { opacity: 1 } 96% { opacity: .55 } 97% { opacity: .9 } }
.term, .fkeys, .boot { text-shadow: 0 0 5px rgba(70,232,102,.75), 0 0 14px rgba(70,232,102,.3); }
.amber { color: var(--amber); text-shadow: 0 0 6px rgba(255,216,74,.7); }
.dim { color: var(--dim); }
.status {
display: flex; justify-content: space-between; gap: 12px; padding: 4px 18px;
background: var(--green); color: #021; font-size: 20px; z-index: 5;
}
.fkeys { display: flex; overflow-x: auto; scrollbar-width: none; z-index: 5; border-top: 1px solid #0d3a1a; }
.fkeys::-webkit-scrollbar { display: none; }
.fkeys button {
flex: 1 0 auto; display: flex; gap: 2px; align-items: center; background: none; border: 0; padding: 4px 6px;
font: 20px var(--font); color: var(--amber); cursor: pointer; white-space: nowrap; text-shadow: inherit;
}
.fkeys button span { background: var(--green); color: #021; padding: 0 6px; text-shadow: none; }
.fkeys button:hover span { background: var(--amber); }
.term { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 26px 40px; scroll-behavior: smooth; overscroll-behavior: contain; scrollbar-color: var(--dim) transparent; }
.logo { margin: 0 0 30px; font: 13px/1.05 Menlo, monospace; color: var(--green); white-space: pre; overflow: hidden; }
@media (max-width: 760px) { .logo { font-size: 6.3px; } }
.block { margin: 0 0 46px; max-width: 900px; }
.block > .cmd { color: var(--mint); margin-bottom: 10px; white-space: pre-wrap; min-height: 1.25em; }
.block > .body { transition: opacity .25s; }
.block.pending > .body { opacity: 0; }
.block p { margin: 0 0 12px; }
.big { font-size: clamp(40px, 6vw, 72px); line-height: 1; color: var(--mint); }
.key {
background: none; border: 0; font: inherit; color: var(--amber); cursor: pointer; text-decoration: none; padding: 0;
text-shadow: 0 0 6px rgba(255,216,74,.7);
}
.key:hover, .key:focus-visible { background: var(--amber); color: #021; text-shadow: none; outline: none; }
.box { border: 3px double var(--green); padding: 14px 16px; position: relative; margin: 14px 0; }
.box-title { position: absolute; top: -15px; left: 14px; background: var(--screen); padding: 0 8px; color: var(--mint); }
.modes { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 14px; }
.modes button { background: none; border: 0; font: inherit; color: var(--green); cursor: pointer; padding: 0 4px; text-shadow: inherit; }
.modes button b { color: var(--amber); font-weight: normal; }
.modes button.on { background: var(--green); color: #021; text-shadow: none; }
.modes button.on b { color: #021; }
.line { display: flex; gap: 10px; align-items: baseline; margin: 6px 0; flex-wrap: wrap; }
.pfx { color: var(--mint); flex: none; }
.line input, .prompt input {
flex: 1; min-width: 140px; background: none; border: 0; outline: none; color: var(--green);
font: inherit; caret-color: var(--green); text-shadow: inherit; padding: 0;
}
#output { flex: 1; min-width: 0; word-break: break-word; white-space: pre-wrap; min-height: 1.25em; }
#output.flash { background: rgba(70,232,102,.35); }
.tools { gap: 22px; margin-top: 12px; }
.dir { margin: 0; white-space: pre-wrap; font: inherit; }
.dir .hl { color: var(--amber); }
.gifs { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 10px; scrollbar-color: var(--dim) transparent; }
.gif { flex: none; width: 210px; }
.gif .cap { font-size: 18px; color: var(--dim); white-space: nowrap; }
.gif .frame { border: 2px solid var(--green); padding: 4px; }
.gif img { width: 100%; display: block; clip-path: inset(0 0 100% 0); filter: sepia(1) hue-rotate(60deg) saturate(1.8) brightness(.95); transition: filter .3s; }
.gif.load img { animation: modem 2.6s steps(14) forwards; }
.gif:hover img { filter: none; }
@keyframes modem { to { clip-path: inset(0 0 0 0); } }
.box.video { width: fit-content; max-width: 100%; }
.video video { width: min(300px, 100%); max-height: 62vh; display: block; margin-top: 6px; cursor: pointer; }
.dlbox { margin: 0 0 16px; font: 15px/1.15 Menlo, monospace; white-space: pre; }
.dlbox a { color: var(--amber); text-decoration: none; display: inline-block; }
.dlbox a:hover { background: var(--amber); color: #021; }
@media (max-width: 560px) { .dlbox { font-size: 10px; } }
.shell #history > div { white-space: pre-wrap; margin: 4px 0; }
.prompt { display: flex; gap: 8px; color: var(--mint); }
.boot { position: absolute; inset: 0; z-index: 20; background: #000; padding: 24px 28px; color: var(--green); cursor: pointer; }
.boot pre { margin: 0; font: inherit; white-space: pre-wrap; }
.boot .skip { position: absolute; bottom: 20px; right: 26px; color: var(--dim); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.boot.off { animation: bootoff .35s forwards; }
@keyframes bootoff { to { opacity: 0; visibility: hidden; } }
#rain { position: absolute; inset: 0; z-index: 25; pointer-events: none; opacity: 0; transition: opacity 1s; }
#rain.on { opacity: .55; }
@media (max-width: 700px) {
body { font-size: 20px; }
.room { padding: 0; }
.monitor { border-radius: 0; padding: 10px 10px 0; }
.term { padding: 16px 14px 30px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
.gif img { clip-path: none; }
}
.doc article { max-width: 860px; }
.doc .cmd { color: var(--mint); margin-bottom: 14px; }
.doc h1.big { margin: 0 0 10px; font-weight: normal; }
.doc h2 { font-size: 28px; font-weight: normal; color: var(--amber); margin: 30px 0 8px; text-shadow: 0 0 6px rgba(255,216,74,.6); }
.doc h2::before { content: "> "; color: var(--dim); }
.doc p { margin: 0 0 12px; max-width: 72ch; }
.doc b { color: var(--mint); font-weight: normal; }
.doc .back { margin-top: 40px; }
.fkeys button b { font-weight: normal; }
.doc ol { margin: 0 0 12px; padding-left: 1.6em; max-width: 72ch; }
.doc li { margin: 0 0 6px; }
.doc li::marker { color: var(--dim); }
.i18n-pending .term, .i18n-pending .fkeys { visibility: hidden; }
