@font-face{font-family:Plex;src:url('/fonts/mono.woff2') format('woff2');font-display:swap}
@font-face{font-family:Workbench;src:url('/fonts/display.woff2') format('woff2');font-display:swap}
:root{color-scheme:dark;--ink:#171b19;--panel:#202521;--line:#3a403a;--cream:#f2f1e6;--green:#c4f898;--muted:#adb5a9;--mono:Plex,'Courier New',monospace;--pixel:Workbench,var(--mono)}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{width:100%;height:100%;margin:0}
body{height:100dvh;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;background:var(--ink);color:var(--cream);font-family:var(--mono);font-size:14px}
button,input{font:inherit}
button{color:inherit;cursor:pointer}
button:focus-visible,input:focus-visible{outline:3px solid #fff4a4;outline-offset:3px}
button:disabled{cursor:wait;opacity:.65}
button, a, input{touch-action:manipulation}
button svg, .rail svg, footer svg,.board svg,.dialog-bar svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:square;stroke-linejoin:miter;flex:none}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
.topbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 max(4vw,calc((100vw - 1560px)/2));border-bottom:1px solid #343a34;background:#161a17}
.brand{display:flex;gap:13px;align-items:center;white-space:nowrap}
.brand span{font-family:var(--pixel);font-size:clamp(21px,2.15vw,32px);letter-spacing:-1.1px;line-height:1;font-weight:400}
.brand b{color:var(--green);font-weight:400}
.brand img{width:37px;height:37px;image-rendering:pixelated}
.utilities{display:flex;gap:9px}
.quiet,.step,.back{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#212621;border:1px solid #454c43;border-radius:4px}
.quiet{min-height:36px;padding:0 13px;font-size:12px;color:#e2e6da}
.quiet:hover,.step:hover,.back:hover{background:#303a2d;border-color:#8aa976;color:#e2ffcc}
.quiet svg{width:15px;height:15px}
main{width:min(92%,1560px);margin:0 auto;min-height:0;display:flex;flex-direction:column;padding:clamp(13px,3.3vh,35px) 0 clamp(12px,2.7vh,28px)}
.section-head{position:relative;flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;row-gap:1px;margin-bottom:clamp(12px,2.5vh,26px)}
.eyebrow,.kicker,.rail,.session-badge,.local-time .muted{font-size:11px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase}
.eyebrow{grid-column:1/-1;display:flex;align-items:center;gap:10px;color:#bdc5b7}
.locator{display:inline-block;width:17px;height:8px;background:repeating-linear-gradient(110deg,var(--green) 0 3px,transparent 3px 5px)}
h1,h2,p{margin:0}
h1{font-family:var(--pixel);font-size:clamp(38px,min(4.35vw,6.8vh),68px);line-height:1.12;font-weight:400;letter-spacing:-.055em}
.terminal-stop,h2>span{color:var(--green)}
.session-badge{align-self:center;display:flex;align-items:center;gap:9px;font-size:11px;color:#c6e6b0;letter-spacing:.08em;border:1px solid #40503c;background:#252e24;padding:5px 10px;border-radius:3px;max-width:40vw;white-space:nowrap;overflow:hidden}
.session-badge span:last-child{overflow:hidden;text-overflow:ellipsis}
.lamp{width:6px;height:6px;flex:none;background:var(--green);box-shadow:0 0 6px #c4f89855}
.console{display:flex;flex:1;flex-direction:column;min-height:0;border:1px solid #494f46;border-radius:6px;overflow:hidden;background:#1c201d;box-shadow:0 3px 0 #101410}
.rail{height:29px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#bdc5b8;background:#292e29;letter-spacing:.1em;border-bottom:1px solid #141914}
.rail>div,.control-strip p,.control-strip>span,footer>span{display:flex;align-items:center;gap:9px}
.rail svg{width:13px;height:13px}
.rail .rail-end{gap:3px}
.rail-end i{width:11px;height:4px;background:#586051;transform:skew(-28deg)}
.viewport{flex:1;min-height:0;position:relative;isolation:isolate;overflow:hidden;container-type:size;background:#101715}
.office,.space,.layer,.game-view{position:absolute;inset:0}
.office{animation:settle 1.8s cubic-bezier(.2,.65,.2,1) both;transform-origin:49.5% 44%}
@keyframes settle{from{transform:scale(1)}to{transform:scale(1.035)}}
.world{position:absolute;width:max(100cqw,160cqh);height:max(100cqh,min(52cqw,125cqh));top:70%;left:50%;transform:translate(-50%,-70%);container-type:inline-size}
.office-art{display:block;width:100%;height:100%;pointer-events:none;user-select:none}
.computer{position:absolute;left:35.65%;top:25.82%;width:27.72%;height:33.77%;padding:0;border:0;overflow:hidden;border-radius:4.4% / 6%;background:#a9c6ac;box-shadow:inset 0 0 10px #183e39;text-align:left;color:#18372d;font-family:var(--mono);container-type:inline-size}
.computer:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#152e250a 0 1px,transparent 1px 3px);box-shadow:inset 0 0 10px 2px #143c3870;z-index:1}
.computer:focus-visible{outline:3px solid #ccff9c;outline-offset:3px}
.workbook{position:absolute;inset:0;display:flex;flex-direction:column;background:#cad7b7;transition:transform .55s,opacity .5s;transform-origin:0 100%;font-size:3.1cqw;filter:contrast(.95)}
.sheet-title,.sheet-menu,.formula,.sheet-tabs{display:flex;align-items:center;flex:none;padding:0 3%;white-space:pre}
.sheet-title{height:12%;background:#176950;color:#f0f0d6;gap:2%;font-weight:bold;font-size:3.8cqw}
.sheet-file{font-size:5cqw}
.win-tools{margin-left:auto;font-size:3.5cqw}
.sheet-menu{height:9%;border-bottom:1px solid #809c85;color:#384e40}
.formula{height:10%;margin:0 1%;border-bottom:1px solid #8d9d84;background:#dce5c9;font-size:2.9cqw}
.formula i{padding:0 3%;margin-right:2%;border-inline:1px solid #8d9d84}
.sheet-grid{flex:1;min-height:0;display:grid;grid-template-columns:.28fr 1.4fr .78fr .78fr .78fr;grid-template-rows:repeat(8,1fr)}
.cell{display:flex;align-items:center;padding:0 6%;font-size:2.75cqw;border-right:1px solid #92aa91;border-bottom:1px solid #92aa91;white-space:nowrap;overflow:hidden}
.cell.axis{justify-content:center;background:#a9bfa4;color:#435c47}
.cell.label{font-weight:bold;color:#1f4939;background:#b4c9ae}
.cell.number{justify-content:flex-end}
.sheet-tabs{height:8%;font-size:2.8cqw;background:#9fb69c}
.sheet-tabs b{background:#d6dec4;padding:0 4%}
.start-prompt{position:absolute;left:50%;top:56%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:3cqw;padding:3.4cqw 5cqw;white-space:nowrap;background:#c8f596;border:2px solid #1c3325;box-shadow:3px 4px 0 #233d2d;font:bold 5.3cqw/1 var(--mono);z-index:2;color:#203221;transition:background .2s}
.pixel-play{width:0;height:0;border-top:.55em solid transparent;border-bottom:.55em solid transparent;border-left:.8em solid #273b2a}
.computer:hover .start-prompt{background:#e6ffbf;box-shadow:3px 5px 0 #233d2d}
.office.entering{animation:enter-desk .9s cubic-bezier(.55,0,.65,1) forwards;z-index:3;pointer-events:none}
.entering .workbook{transform:translateY(76%) scale(.03);opacity:0}
.entering .computer{background:#20332e}
.entering .start-prompt{opacity:0}
@keyframes enter-desk{0%{transform:scale(1.035)}85%{opacity:1}100%{transform:scale(4.7);opacity:0}}
.control-strip{flex:none;min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 17px;border-top:1px solid #40463d;background:#222722;color:#dfdfd4;font-size:13px}
.control-strip p{gap:11px}
.indicator{flex:none;width:7px;height:11px;background:var(--green)}
.control-strip>span{color:#b6bfb0;font-size:12px}
kbd{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;border:1px solid #55604e;border-bottom-width:2px;border-radius:3px;font:14px/1 var(--mono);background:#30372d}
footer{border-top:1px solid #343a34;min-height:36px;display:flex;align-items:center;justify-content:space-between;padding:0 max(4vw,calc((100vw - 1560px)/2));color:#afb6aa;font-size:11px}
.os{gap:10px}
.four-squares{width:10px;height:10px;background:conic-gradient(from 90deg at 45% 45%,transparent 0 25%,#a6b39e 0 50%,transparent 0) 0 0 / 6px 6px}
.muted{color:#889183}
footer svg{width:13px;height:13px}
.local-time .muted{font-size:10px}
.space{background:linear-gradient(#060b1940,#05081555),url('/art/andromeda.webp') center/cover}
.layer{display:grid;place-items:center;padding:14px}
.dialog,.board,.cartridge{background:#1c241ff5;border:1px solid #75806c;box-shadow:4px 5px 0 #080d10aa;border-radius:4px}
.dialog{width:min(390px,100%);text-align:left;overflow:hidden}
.dialog-bar{display:flex;align-items:center;gap:9px;padding:8px 15px;background:#364033;border-bottom:1px solid #62705a;font-size:12px}
.dialog-content{padding:clamp(17px,3vh,28px)}
.kicker{display:block;color:var(--green);letter-spacing:.12em}
.dialog h2{font:400 clamp(27px,4.5vh,40px)/1.15 var(--pixel);letter-spacing:-.055em;margin:5px 0 clamp(12px,2vh,20px)}
.dialog label{display:block;margin:0 0 6px;font-size:13px}
.dialog input{width:100%;color:#fff;background:#121812;border:1px solid #7b8970;border-radius:2px;padding:11px 12px;font-size:16px}
.dialog input::placeholder{color:#98a391}
.notice{color:#f5d2aa;font-size:12px;line-height:1.45}
.notice:not(:empty){margin:8px 0}
.primary,.back{width:100%;font-size:14px;min-height:40px}
.primary{display:inline-flex;justify-content:center;align-items:center;gap:12px;margin-top:16px;border:1px solid #d6fbb7;border-bottom:3px solid #779e5f;border-radius:3px;background:var(--green);color:#1a3423;font-weight:bold}
.primary:hover{background:#dbffb7}
.back{margin-top:9px}
.description{font-size:14px;line-height:1.6;color:#d1d8c9}
.menu-view{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:clamp(8px,2cqh,20px);gap:6px}
.boards{position:absolute;z-index:1;left:2%;right:2%;top:4%;display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}
.board{width:clamp(155px,22cqw,285px);padding:11px 14px;background:#17211fe6;font-size:12px;border-color:#667067}
.board h2{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:normal}
.board h2 svg{width:14px;height:14px;color:var(--green)}
.board p{font-size:11px;color:#c2dfac;margin:5px 0 0}
.board ol{list-style:none;padding:0;margin:8px 0 0;counter-reset:place}
.board li{display:flex;gap:7px;align-items:baseline;counter-increment:place;font-size:12px}
.board li:not(.empty):before{content:'0' counter(place);color:#a8c993}
.board li>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board li>span:last-child:not(:first-child){margin-left:auto}
.board .empty{font-size:11px;color:#aeb8a9}
.carousel{display:flex;align-items:center;justify-content:center;gap:clamp(10px,2.2cqw,32px);touch-action:pan-y}
.step{width:42px;height:42px;background:#202a26e8;flex:none}
.cartridge{display:flex;flex-direction:column;padding:0;overflow:hidden;width:clamp(180px,min(30cqw,63cqh),360px);text-align:left;border-color:#9bab87;transition:transform .16s,border-color .16s}
.cartridge:hover{transform:translateY(-2px);border-color:var(--green)}
.cartridge.change{animation:flip .22s ease-out}
@keyframes flip{from{transform:perspective(700px) rotateY(-14deg);opacity:.55}to{transform:perspective(700px) rotateY(0);opacity:1}}
.cover{display:grid;place-items:center;aspect-ratio:1.85;background-position:center;background-size:cover}
.cover.locked{background:repeating-linear-gradient(135deg,#2d3936 0 2px,#25312e 2px 9px)}
.cover svg{height:35%;width:35%;stroke:#95a790;stroke-width:1.3;fill:none}
.game-details{padding:11px 15px;display:grid;gap:4px}
.game-details strong{font:400 clamp(24px,4cqh,35px)/1.15 var(--pixel)}
.game-details>span:last-child{font-size:12px;color:#c3cbbd}
.dots{display:flex;align-items:center;justify-content:center;gap:0}
.dots button{border:0;background:transparent;padding:9px 4px;min-height:25px}
.dots button:before{content:'';display:block;height:5px;width:6px;background:#b6c0b2}
.dots button[aria-current=true]:before{width:19px;background:var(--green)}
.game-view iframe{display:block;border:0;width:100%;height:100%;background:#192825}
body.playing main{width:100%;padding:0}
body.playing .section-head,body.playing footer,body.playing .rail,body.playing .control-strip{display:none}
body.playing .console{border:0;border-radius:0}
body.playing .topbar{min-height:43px}
body.playing .brand img{width:24px;height:24px}
body.playing .brand span{font-size:19px}
body.expanded main{width:100%;padding:0}
body.expanded .section-head,body.expanded footer{display:none}
@media(max-width:760px){
 .topbar{min-height:55px;padding:0 4%;gap:8px}.brand{gap:8px}.brand img{width:29px;height:29px}.brand span{font-size:21px}
 .utilities{gap:6px}.quiet{padding:0;min-width:35px;min-height:35px}.quiet span{display:none}#logout-button{padding:0 8px}#logout-button span{display:inline}
 main{width:94%;padding-top:18px}.session-badge{font-size:9px;gap:6px;padding:4px 7px}
 .boards{position:static;align-self:stretch;gap:7px;flex:none}.board{width:50%;padding:9px}.board h2{font-size:11px;gap:5px}.board li{font-size:11px}
 .menu-view{justify-content:space-between}.carousel{flex:1;min-height:0}
 .cartridge{width:clamp(165px,min(52cqw,65cqh),300px)}.control-strip{font-size:12px;min-height:44px;padding:8px 10px}
}
@media(max-width:480px) and (orientation:portrait){
 main{width:94%;padding-top:19px;padding-bottom:14px}.section-head{margin-bottom:14px}h1{font-size:40px}.eyebrow{font-size:10px}
 .topbar{padding-inline:3%}.brand span{font-size:19px}.brand img{width:26px;height:26px}.utilities{gap:4px}
 .world{width:max(124cqw,140cqh);height:100cqh}.control-strip>span{display:none}.control-strip{min-height:46px}
 footer{min-height:33px;padding:0 3%;font-size:10px}.os{gap:6px}.local-time{gap:5px}.local-time .muted{display:none}
 .step{width:36px;height:40px}.board h2{font-size:10px}.board .empty{font-size:10px}.brand{gap:5px}
 body.playing .brand span{font-size:15px}
}
@media(max-height:580px){
 .topbar{min-height:44px}.brand img{height:26px;width:26px}.brand span{font-size:21px}.quiet{min-height:30px}
 main{padding:8px 0;width:95%}.section-head{margin-bottom:7px;display:flex;align-items:center;gap:15px}.eyebrow{font-size:9px}h1{font-size:28px}.session-badge{margin-left:auto}.rail{height:21px}.control-strip{min-height:30px;padding-block:3px}footer{min-height:23px}
 .dialog-content{padding:12px 17px}.dialog h2{font-size:25px;margin:3px 0 8px}.dialog-bar{padding:4px 12px}.dialog label,.description{font-size:12px}.dialog input{padding:6px 8px}.dialog .primary,.dialog .back{min-height:30px;margin-top:7px}.notice:not(:empty){margin:3px 0}.layer{padding:6px}
 .game-details{padding:5px 12px;gap:1px}.game-details strong{font-size:21px}.cartridge{width:min(47cqh,180px)}.cover{aspect-ratio:2.4}.board{padding:6px 9px}
}
@media(max-height:500px) and (orientation:landscape){
 .boards{position:absolute;top:6px;left:8px;right:8px}.board{width:22%}.menu-view{justify-content:center}
 .section-head .eyebrow{display:none}.section-head{margin:0 0 4px}h1{font-size:22px}
 .world{width:max(100cqw,160cqh);height:129cqh}.topbar{min-height:37px}.control-strip{min-height:27px}.dialog-content .kicker{display:none}
 .step{width:34px;height:33px}.cartridge{width:min(62cqh,210px)}.dots button{min-height:16px;padding-block:4px}
}
@media(max-width:380px){
 .quiet,#logout-button{min-width:31px;padding:0}.utilities{gap:3px}#logout-button span{display:none}
 .section-head h1{font-size:32px}.brand span{font-size:17px}.topbar{gap:5px}
 body.playing .brand span{font-size:13px}
}
@media(max-height:490px){
 body[data-view=name] .section-head,body[data-view=name] footer{display:none}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
