@font-face{font-family:Air Eight;src:url('assets/air-eight.woff') format('woff');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--blue:#352879;--border:#6c5eb5;--lavender:#b4a5ed;--white:#fff;--cyan:#70a4b2;--mint:#b8c76f;--yellow:#d5d487;--pink:#b86962;--ink:#17142f;--line:#6c5eb5}*{box-sizing:border-box}body{margin:0;background:var(--border);color:var(--lavender);font-family:'Air Eight',monospace;font-size:14px;line-height:1.6;text-transform:uppercase}main{max-width:1136px;margin:28px auto;padding:24px 40px 0;background:var(--blue);border:4px solid var(--lavender);box-shadow:12px 12px 0 #35287966}header{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:2px solid var(--border);padding-bottom:18px;font-size:12px}.brand{color:var(--white);text-decoration:none}.brand span{color:var(--lavender)}.edition{color:var(--blue);background:var(--lavender);padding:3px 8px;white-space:nowrap}.heading{display:flex;justify-content:space-between;gap:20px;margin:32px 0 30px;align-items:end}.eyebrow{font-size:12px;margin:0 0 16px;color:var(--lavender)}h1{font-size:72px;line-height:1.03;margin:0;font-weight:400;letter-spacing:1px;color:var(--white)}h1 span{color:var(--yellow)}.title-star{color:var(--cyan);font-size:56px;margin-left:20px;display:inline-block;vertical-align:middle}.boot-copy{font-size:12px;line-height:1.7;padding:0 4px 0 0}.boot-copy p{margin:0 0 16px}.boot-copy p:first-child{color:var(--yellow)}.ready{color:var(--white);display:flex;align-items:center;gap:12px}.ready i{width:12px;height:14px;background:var(--lavender)}.cabinet{border:4px solid var(--lavender);background:var(--blue);padding:12px;box-shadow:8px 8px 0 #17142f}.hud{display:flex;justify-content:space-between;align-items:center;padding:4px 8px 16px;gap:10px}.hud small{display:block;color:var(--lavender);font-size:10px;margin-bottom:7px}.hud strong{font-size:24px;line-height:1;color:var(--white);font-weight:400}.hud-mid{text-align:center}.hud-mid span{color:#dd9891;letter-spacing:4px;font-size:20px;line-height:1}.best{text-align:right}.best strong{color:var(--yellow)}.screen{position:relative;border:4px solid var(--ink);overflow:hidden;background:var(--ink);aspect-ratio:3/2}.screen canvas{display:block;width:100%;height:100%;image-rendering:pixelated;outline-offset:-5px}.screen canvas:focus-visible{outline:3px solid var(--yellow)}.crt:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0 3px,#0002 3px 4px);opacity:.45}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#17142fc9;padding:20px;text-align:center}.overlay[hidden]{display:none}.start-card{max-width:94%;padding:26px 20px 24px;background:var(--blue);border:4px double var(--lavender);box-shadow:8px 8px 0 #0004}.tiny{font-size:12px;color:var(--cyan)}h2{font-size:32px;line-height:1.2;font-weight:400;margin:24px 0 16px;color:var(--white)}.start-card p{font-size:12px;line-height:1.8;margin:0 auto 24px;color:var(--lavender);max-width:560px}button{font:inherit;font-size:10px;line-height:1.4;text-transform:uppercase;cursor:pointer;border:2px solid var(--lavender);background:var(--blue);color:var(--lavender);border-radius:0;min-height:44px;padding:10px 12px}button:hover{background:var(--lavender);color:var(--blue)}button:focus-visible,a:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}button:disabled{opacity:.45;cursor:default}.primary{background:var(--yellow);color:var(--blue);border:2px solid var(--yellow);box-shadow:4px 4px 0 var(--ink);font-size:16px;min-height:52px;min-width:240px}.primary:hover{background:var(--white);border-color:var(--white)}.primary:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}.start-hint{font-size:8px;margin-top:20px;color:var(--lavender)}.screen-corner{position:absolute;bottom:8px;right:10px;font-size:8px;color:var(--lavender);pointer-events:none}.console{display:flex;gap:10px;align-items:center;padding:14px 4px 2px}.site-status{display:flex;gap:8px;align-items:center;flex:1;font-size:10px;color:var(--mint)}.status-dot{width:8px;height:8px;background:var(--mint)}#shield{display:flex;gap:4px}#shield i{display:block;width:10px;height:16px;background:var(--mint)}#shield i.empty{background:var(--ink)}.burst{color:var(--yellow);border-color:var(--yellow)}kbd{font:inherit;font-size:10px;border:1px solid var(--lavender);padding:2px 3px;white-space:nowrap;color:var(--white)}.burst kbd{margin-left:8px}.under{display:flex;justify-content:space-between;gap:24px;margin:36px 0 28px}.manual{flex:1}.section-label{font-size:12px;margin:0 0 20px;color:var(--white);line-height:1.6}.section-label:before{content:'>';color:var(--yellow);margin-right:8px}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide p{font-size:10px;line-height:2;margin:0}.guide b{display:block;font-weight:400;color:var(--yellow);font-size:10px;margin-bottom:8px}.guide em{font-style:normal;color:var(--yellow);font-size:16px;vertical-align:-1px}.guide .mint{color:var(--mint)}.settings{display:flex;flex-direction:column;gap:8px;padding-top:0}.settings button{font-size:8px;min-height:40px;width:148px;padding:8px}.touch-controls{display:none}footer{border-top:2px solid var(--border);display:flex;justify-content:space-between;gap:20px;padding:20px 0 22px;font-size:8px;line-height:2}footer span:last-child{text-align:right}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(pointer:coarse){.touch-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px}.touch-controls p{font-size:10px;line-height:1.8}#joystick{width:104px;height:104px;flex-shrink:0;border:3px solid var(--lavender);background:var(--ink);position:relative;touch-action:none;user-select:none}#stick{position:absolute;left:28px;top:28px;width:42px;height:42px;background:var(--lavender);color:var(--blue);display:grid;place-items:center;font-size:24px;border:3px solid var(--white)}.joy-label{position:absolute;bottom:4px;left:31px;font-size:8px;color:var(--lavender)}#touch-burst{width:86px;height:86px;color:var(--yellow);border-color:var(--yellow);touch-action:none;font-size:12px;flex-shrink:0}#touch-burst small{font:inherit;font-size:8px}.console .burst{display:none}}
@media(max-width:900px){main{margin:16px; padding:20px 24px 0}.heading{margin-top:24px}h1{font-size:64px}.boot-copy{font-size:10px}.eyebrow{font-size:10px}.hud strong{font-size:20px}.guide{gap:14px}.settings button{width:130px}.site-status{font-size:8px}}
@media(max-width:700px){body{font-size:12px}main{margin:10px;padding:16px 12px 0;border-width:3px;box-shadow:5px 5px 0 #35287966}header{font-size:8px;padding-bottom:12px;gap:8px}.brand span{display:none}.edition{padding:3px 5px}.heading{margin:22px 0 24px;gap:8px;align-items:end}.eyebrow{font-size:7px;max-width:240px;line-height:1.7;margin-bottom:10px}h1{font-size:48px;letter-spacing:0}.title-star{font-size:32px;margin-left:8px}.boot-copy{font-size:8px;line-height:1.8;padding:0 0 4px}.boot-copy p{margin:0 0 10px}.boot-copy p:nth-child(2){display:none}.ready{gap:5px}.ready i{width:8px;height:9px}.cabinet{padding:5px;border-width:2px;box-shadow:4px 4px 0 var(--ink)}.hud{padding:5px 3px 10px;gap:4px}.hud small{font-size:7px;margin-bottom:5px}.hud strong{font-size:16px}.hud-mid span{font-size:14px;letter-spacing:2px}.screen{border-width:2px}.overlay{padding:8px}.start-card{padding:13px 8px 12px;border-width:3px;max-width:96%;box-shadow:4px 4px 0 #0004}.tiny{font-size:7px}h2{font-size:20px;margin:12px 0 10px}.start-card p{font-size:8px;line-height:1.7;margin-bottom:12px}.primary{font-size:12px;min-width:184px;min-height:44px;padding:8px}.start-hint{font-size:6px;margin-top:11px}.screen-corner{font-size:5px;bottom:4px;right:5px}.console{padding:8px 2px 2px;gap:6px}.site-status{gap:4px;font-size:6px}.status-dot{width:5px;height:5px}#shield{gap:3px}#shield i{width:6px;height:11px}.console button{font-size:7px;padding:6px;min-height:38px}.console kbd{display:none}.console #pause span{display:none}.under{margin:27px 0 20px;display:block}.section-label{font-size:9px;margin-bottom:14px}.guide{gap:10px}.guide p{font-size:8px;line-height:1.9}.guide b{font-size:7px}.guide kbd{font-size:8px}.guide em{font-size:12px}.settings{flex-direction:row;padding-top:22px;gap:6px}.settings button{width:0;flex:1;min-height:44px;font-size:7px;padding:6px 3px}footer{font-size:6px;padding:16px 0;gap:12px}.touch-controls{gap:10px}.touch-controls p{font-size:8px}}
@media(max-width:400px){h1{font-size:40px}.title-star{font-size:24px;margin-left:4px}.boot-copy{font-size:7px}.eyebrow{font-size:6px}.hud small{font-size:6px}.hud strong{font-size:14px}.start-card{padding:8px 6px}.tiny{font-size:6px}h2{font-size:17px;margin:9px 0 6px}.start-card p{font-size:7px;line-height:1.6;margin-bottom:8px}.start-hint{font-size:5px;margin-top:8px}.guide{gap:6px}.guide p{font-size:7px}.guide b{font-size:6px}.guide kbd{font-size:7px}.touch-controls p{font-size:7px}#joystick{width:96px;height:96px}#stick{left:24px;top:24px}.joy-label{left:27px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Compact screen overlays stay inside the playfield, including 320px phones. */
@media(max-width:700px){.boot-copy p{display:none}.start-card{padding:8px}.start-card h2{margin:8px 0}.start-card p{line-height:1.5;margin-bottom:10px}.start-hint{margin-top:8px}.site-status{font-size:8px}.hud small{font-size:7px}footer{font-size:8px}}
@media(max-width:400px){.start-card .tiny,.start-card .start-hint{display:none}.start-card{padding:8px 5px}.start-card p{font-size:7px;margin-bottom:8px}.site-status{font-size:7px}.guide b{font-size:7px}.hud small{font-size:7px}footer{font-size:7px}}
@media(max-width:700px){.console button{min-height:44px}}
@media(max-width:700px){#pause{min-width:44px;min-height:44px}}
@media(max-width:400px){.hud strong{font-size:12px}}
/* A hand-authored character portrait from John's reference photo, not a photograph. */
.heading{align-items:center}.crew-portrait{width:208px;flex:0 0 208px;margin:0;text-align:center}.crew-portrait a{display:block;border:2px solid var(--lavender);background:var(--blue);box-shadow:5px 5px 0 var(--ink)}.crew-portrait a:hover{border-color:var(--yellow)}.crew-portrait img{display:block;width:100%;height:auto;image-rendering:pixelated}.crew-portrait figcaption{font-size:10px;color:var(--white);margin-top:12px;line-height:1.5}.crew-portrait figcaption span{display:block;color:var(--lavender);font-size:6px;margin-top:4px}
@media(max-width:900px){.crew-portrait{width:176px;flex-basis:176px}}
@media(max-width:700px){.heading{display:grid;grid-template-columns:minmax(0,1fr) 112px;align-items:center;gap:8px}.heading h1{font-size:40px}.crew-portrait{width:112px}.crew-portrait a{box-shadow:3px 3px 0 var(--ink)}.crew-portrait figcaption{font-size:7px;margin-top:8px}.crew-portrait figcaption span{font-size:5px;margin-top:4px;line-height:1.5}.heading .eyebrow{font-size:6px;max-width:210px}}
@media(max-width:400px){.heading{grid-template-columns:minmax(0,1fr) 88px}.heading h1{font-size:32px}.crew-portrait{width:88px}.crew-portrait figcaption{font-size:6px}.crew-portrait figcaption span{font-size:5px}.heading .eyebrow{font-size:5px}}
/* SVG already snaps its character shapes; let the browser rasterize at display size. */
.crew-portrait img{image-rendering:auto}
/* Original airflow cartridge mark, not Commodore trademark artwork. */
.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:block;flex:none;image-rendering:pixelated}
/* A quiet 11.8-second boot vignette: no flashing, scanline motion or audio. */
.is-booting{overflow:hidden}.boot[hidden]{display:none}.boot{position:fixed;inset:0;z-index:100;background:var(--border);display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}.boot-frame{width:min(840px,100%);max-height:100%;display:flex;flex-direction:column;border:4px solid var(--lavender);background:var(--blue);box-shadow:12px 12px 0 #35287966}.boot-terminal{padding:42px 32px 28px;height:520px;min-height:0;flex:1 1 auto;overflow:auto;font-size:16px;line-height:1.75;position:relative}.boot-system,.boot-memory{text-align:center;white-space:nowrap;font-size:inherit;margin:0 0 14px}.boot-memory{margin-bottom:32px}#boot-text{font:inherit;white-space:pre-wrap;margin:0;min-height:224px}.boot-cursor{display:inline-block}.boot-loading{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center;margin-top:20px;font-size:12px;color:var(--yellow)}.boot-loading[hidden]{display:grid;visibility:hidden}.boot-loading img{image-rendering:pixelated}.boot-track{grid-column:1/-1;height:10px;border:2px solid var(--lavender);padding:2px}.boot-track i{display:block;width:0;height:100%;background:var(--lavender)}.boot-controls{flex:none;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:2px solid var(--border);padding:16px 24px;font-size:10px}.boot-controls button{min-height:44px;color:var(--yellow);border-color:var(--yellow)}.boot-controls button:focus-visible{outline-offset:4px}.boot-controls button:hover{color:var(--blue);background:var(--yellow)}
@media(max-width:700px){.brand{gap:8px}.brand-mark{width:24px;height:24px}.boot{padding:12px}.boot-frame{border-width:3px;box-shadow:5px 5px 0 #35287966}.boot-terminal{padding:26px 16px 20px;font-size:clamp(6px,1.9vw,13px);height:360px;min-height:0}.boot-memory{margin-bottom:26px}#boot-text{min-height:180px}.boot-loading{font-size:10px;margin-top:18px}.boot-controls{padding:12px;font-size:7px;gap:8px}.boot-controls button{font-size:8px;padding:10px 8px}.boot-controls button span{display:none}}
@media(max-height:600px) and (min-width:701px){.boot{padding:12px}.boot-terminal{padding:16px 24px;font-size:12px;min-height:0}.boot-memory{margin-bottom:12px}#boot-text{min-height:180px}.boot-loading{position:absolute;right:24px;bottom:22px;width:180px;font-size:10px}.boot-controls{padding:10px 24px}}
@media(prefers-reduced-motion:reduce){.boot{display:none}}

/* Two independent channels, with comfortable keyboard/touch volume targets. */
.settings{width:224px;flex-shrink:0}.settings button{width:100%;min-height:44px}.audio-mixer{border:2px solid var(--border);padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.audio-channel{min-width:0}.audio-channel button{font-size:8px;padding:6px 3px}.audio-channel label{display:flex;justify-content:space-between;gap:3px;margin-top:9px;font-size:7px}.audio-channel output{color:var(--yellow)}.audio-channel input{width:100%;height:44px;display:block;margin:0;accent-color:var(--yellow);cursor:pointer}.audio-channel input:focus-visible{outline:3px solid var(--yellow);outline-offset:1px}#audio-status{grid-column:1/-1;font-size:7px;line-height:1.8;margin:0;color:var(--cyan)}.display-settings{display:grid;grid-template-columns:1fr 1fr;gap:8px}.display-settings button{font-size:7px;padding:6px 3px}
@media(max-width:900px) and (min-width:701px){.under{flex-wrap:wrap}.manual{flex-basis:100%}.settings{width:100%;display:grid;grid-template-columns:1fr 220px;align-items:start}.audio-mixer{grid-template-columns:1fr 1fr}.audio-channel label{font-size:8px}.display-settings{grid-template-columns:1fr}}
@media(max-width:700px){.settings{display:flex;flex-direction:column;width:100%;gap:10px}.settings button{width:100%;flex:none}.audio-mixer{grid-template-columns:1fr 1fr;gap:14px}.audio-channel label{font-size:8px}.audio-channel button{font-size:9px}.display-settings button{font-size:8px}#audio-status{font-size:7px}}

/* A small maker's signature, separate from the First Air game identity. */
footer{flex-wrap:wrap;align-items:center}
.creator-credit{width:fit-content;display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:8px 4px;color:var(--lavender);font-size:10px;line-height:1.6;text-decoration:none}
.creator-credit img{display:block;flex:none;image-rendering:pixelated}
.creator-credit .creator-arrow{font-size:16px;line-height:1;text-align:left;color:var(--lavender)}
.creator-credit:hover,.creator-credit:focus-visible{color:var(--yellow)}
.creator-credit:hover>span:not(.creator-arrow),.creator-credit:focus-visible>span:not(.creator-arrow){text-decoration:underline;text-underline-offset:5px}
@media(max-width:700px){.creator-credit{flex-basis:100%;font-size:8px;gap:10px;padding:6px 0}footer>span:last-child{flex-basis:100%;text-align:center}}
@media(max-width:400px){.creator-credit{gap:8px}.creator-credit .creator-arrow{font-size:12px}}
