:root{--ink:#191719;--cream:#e9dfc8;--orange:#ee815b;--muted:#888079}*{box-sizing:border-box}body{margin:0;background:var(--ink);color:var(--cream);font-family:'Courier New',monospace}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #fbd98b;outline-offset:6px}button:disabled{cursor:wait}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.entry{position:relative;height:100svh;min-height:600px;overflow:hidden;background:#6a352d;isolation:isolate}.machine{position:absolute;inset:0;will-change:transform;transition:transform 1.25s cubic-bezier(.65,.01,.28,1);background:linear-gradient(90deg,#562d28 0%,#a75037 2%,#dc8554 3%,#b45a3e 4%,#b45a3e 96%,#77392c 98%,#362b29 100%);border:8px solid #352727}.machine:before,.machine:after{content:'';position:absolute;top:0;bottom:0;width:14px;background:linear-gradient(90deg,#e3a76c,#ac573c,#713c2e);z-index:2;box-shadow:3px 0 0 #4c2d28}.machine:before{left:2.7%}.machine:after{right:2.7%;transform:scaleX(-1)}.cabinet-serial{position:absolute;z-index:6;top:25px;left:6%;font-size:9px;letter-spacing:1px;color:#3e2926;font-weight:bold}.cabinet-serial span{display:block;font-size:7px;margin-top:5px;color:#603b2d}.sound-toggle{border:1px solid #ffffff40;background:#211d2b60;padding:9px 12px;letter-spacing:1px;font-size:8px;display:flex;gap:8px;align-items:center}.sound-toggle:hover{border-color:#ffc887}.sound-icon{color:#ffc887;font-size:17px}.entry-sound{position:absolute;right:6%;top:23px;z-index:6;background:#4a2c2980}.marquee{position:absolute;top:2.2%;height:12%;left:20%;right:20%;border:8px solid #482c2b;background:#e0b77b;box-shadow:0 0 0 3px #e7a265,inset 0 0 20px #875638aa,0 8px 0 #7b3d2b;display:flex;align-items:center;justify-content:center;gap:6%;color:#a64834;text-align:center;text-shadow:2px 2px #edcb92;font-size:clamp(20px,3.5vw,50px);font-weight:900;letter-spacing:4px;line-height:1}.marquee small{display:block;font-size:7px;letter-spacing:4px;margin-top:8px;text-shadow:none;color:#6d4533}.marquee-star{font-size:32px}.crt-region{position:absolute;left:8%;right:8%;top:17%;height:53%;background:#25232b;border:15px solid #352a2c;border-radius:35px;box-shadow:0 0 0 5px #724c39,0 0 0 8px #de8e58,inset 0 0 30px 12px #000,0 10px 0 #703f31;overflow:visible}.crt-region>canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;border-radius:20px;filter:saturate(.8)}.crt-region:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(transparent 0 3px,#0004 3px 4px);border-radius:20px;pointer-events:none;box-shadow:inset 0 0 65px 15px #18131f99}.glass-glare{position:absolute;inset:0;z-index:1;border-radius:20px;pointer-events:none;background:linear-gradient(110deg,#fff1,transparent 37%,transparent 75%,#fff1);border-top:3px solid #eedbc91a}.screen-copy{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;text-shadow:3px 3px #302333aa}.screen-copy>span{font-size:9px;letter-spacing:3px;color:#dcc7b4;margin-top:4%}.screen-copy h1{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(36px,5.7vw,84px);letter-spacing:3px;line-height:1.05;margin:20px 0;color:#ffe1a5}.screen-copy p{font-size:10px;letter-spacing:4px;color:#ffd39b;animation:blink 2.4s steps(2,end) infinite}.crt-label{position:absolute;bottom:-30px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:3px;color:#d9a875;z-index:2}.control-deck{position:absolute;left:4%;right:4%;top:74%;height:17%;background:linear-gradient(#d98e5b,#bc6846 65%,#9a4a34 66%);border-top:5px solid #eeb47a;border-bottom:5px solid #733c2d;box-shadow:0 5px 0 #df8a58;overflow:visible;z-index:1}.deck-stripe{position:absolute;inset:0;background:linear-gradient(120deg,transparent 10%,#f7bf7933 10% 12%,transparent 12% 14%,#f7bf7933 14% 16%,transparent 16%)}.joystick{position:absolute;left:15%;top:43%;width:80px;height:22px;border-radius:50%;background:#402b29;box-shadow:0 5px 0 #9e593d}.joystick:before{content:'';position:absolute;left:36px;bottom:8px;width:11px;height:48px;background:linear-gradient(90deg,#645043,#d5ab78,#6f5947);transform:rotate(-9deg);transform-origin:bottom}.joystick i{position:absolute;left:19px;bottom:46px;width:42px;height:40px;border-radius:50%;background:radial-gradient(circle at 32% 22%,#ef9561 0 9%,#bc4b35 12% 44%,#7d302b 75%);box-shadow:2px 3px 0 #633427}.deck-copy{position:absolute;left:32%;top:22%;font-size:18px;font-weight:900;letter-spacing:3px;color:#60392d}.deck-copy span{display:block;font-size:7px;letter-spacing:1.4px;margin-top:9px;color:#613b2f}.start-button{position:absolute;right:22%;top:9%;width:110px;height:53px;border:3px solid #eca66d;border-radius:50%;background:radial-gradient(ellipse at 45% 30%,#d9633e,#8b2b22);box-shadow:0 6px 0 #58271f,0 8px 0 4px #35282a,0 0 0 4px #39282a;transform:rotate(-5deg);transition:all .15s;display:flex;align-items:center;justify-content:center;z-index:4}.start-button span{font-size:20px;font-weight:900;color:#ffd39f;text-shadow:1px 2px #511c17;letter-spacing:1px}.start-button:hover{background:#e77c40;box-shadow:0 6px 0 #58271f,0 8px 0 4px #35282a,0 0 0 4px #39282a,0 0 40px #fc8d4d77}.start-button:active,.start-button.activated{transform:translateY(5px) rotate(-5deg);background:#ffb55f;box-shadow:0 1px 0 #58271f,0 3px 0 4px #35282a,0 0 0 4px #39282a,0 0 70px #ffb455}.start-button.activated span{color:#fff5d2}.start-caption{position:absolute;right:18.5%;top:74%;font-size:7px;letter-spacing:1px;color:#f2c18c}.speaker{position:absolute;right:6%;top:23%;width:8%;height:40%;background:repeating-linear-gradient(#58372c 0 2px,transparent 2px 7px);transform:skewY(-5deg)}.cabinet-lower{position:absolute;bottom:0;left:7%;right:7%;height:7%;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#f0bd86;letter-spacing:2px}.coin-slot{display:flex;gap:10px;align-items:center;padding:9px 18px;background:#784434;border:2px solid #e5985d;color:#dab57f;font-size:7px}.coin-slot i{display:block;width:35px;height:5px;background:#302628;box-shadow:0 2px #d1a071}.cabinet-wear{position:absolute;inset:0;pointer-events:none;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");mix-blend-mode:multiply;z-index:5}.entry.departing .cabinet-serial,.entry.departing>.sound-toggle{opacity:0;transition:opacity .3s}.entry.departing .machine{z-index:10}
.world{position:relative;isolation:isolate;min-height:650px;height:100svh;overflow:hidden;color:#fff1d4;background:#211a35;animation:arrive .7s ease both;touch-action:pan-y}.scenery{position:absolute;inset:-3%;z-index:-3;animation:sceneryDrift 18s ease-in-out infinite alternate;pointer-events:none}.scenery canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated;will-change:transform,opacity}#landscapePrevious{opacity:0}.world:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(#17101c80,transparent 60%,#13132170);z-index:-1}.world-grain{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(transparent 0 3px,#0002 3px 4px);opacity:.25;z-index:5}.world-header{display:flex;align-items:center;justify-content:space-between;margin:0 4.5%;height:75px;border-bottom:1px solid #fff3;position:relative;z-index:6}.exit-button{border:0;background:none;font-size:10px;letter-spacing:1px;padding:12px 0}.world-brand{font-size:12px;letter-spacing:2px;font-weight:bold}.world-brand b{color:#ffb16b;margin-left:8px}.world-heading{position:absolute;top:14%;left:7%;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:1.5px;color:#e8bfa0}.world-heading h2{font-family:Impact,'Arial Narrow',sans-serif;text-transform:uppercase;font-size:clamp(35px,4.3vw,65px);line-height:1.02;font-weight:900;letter-spacing:1px;margin:15px 0}.world-heading p{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.3px}.game-select{position:absolute;top:35%;left:64%;transform:translateX(-50%);display:flex;gap:50px;z-index:2}.select-label{position:absolute;top:-28px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:2px;white-space:nowrap;color:#e7c6a2}.select-label span{display:inline-block;animation:arrowBounce 1.5s steps(2,end) infinite}.game-icon{position:relative;border:0;background:none;padding:14px 10px 25px;min-width:133px;display:flex;flex-direction:column;align-items:center;color:#fff0d0;transition:filter .2s;isolation:isolate}.cartridge{display:block;width:100px;height:100px;filter:drop-shadow(5px 7px 0 #17142170);transition:transform .25s;animation:cartridgeFloat 4s ease-in-out infinite}.game-icon:nth-of-type(2) .cartridge{animation-delay:-2s}.cartridge svg{width:100%;height:100%;image-rendering:pixelated;shape-rendering:crispEdges}.game-number{font-size:7px;letter-spacing:2px;opacity:.7;margin-bottom:7px}.game-icon strong{font-size:10px;letter-spacing:.5px;margin-top:7px;text-shadow:2px 2px #28202a}.game-sub{font-size:6px;letter-spacing:1px;opacity:.6;margin-top:7px}.game-icon:hover .cartridge,.game-icon:focus-visible .cartridge{filter:drop-shadow(0 0 14px #ffc28d99);transform:translateY(-7px)}.game-icon:hover strong{color:#ffd492}.portal-ring{position:absolute;bottom:0;left:19%;width:62%;height:10px;border-radius:50%;border:1px solid #e8b98c66;background:#e7bd8d20;box-shadow:0 0 14px #e7bd8d22;z-index:-1}.game-icon.is-selected .portal-ring{animation:portalPulse .6s ease-in-out infinite;border-color:#ffe3b4;box-shadow:0 0 30px #ffdca3}.game-icon.is-selected .cartridge{filter:drop-shadow(0 0 20px #ffd89abb);animation:cartridgeFloat 1s ease-in-out infinite}.game-icon.is-opening:after{content:'';position:absolute;inset:0;background:#ffda91;animation:portalFlash .5s ease-out forwards;z-index:-1}.players{position:absolute;inset:0;pointer-events:none;z-index:3}.player{pointer-events:auto;position:absolute;left:52%;bottom:24%;width:100px;height:165px;background:none;border:none;display:flex;flex-direction:column;align-items:center;padding:0;translate:-50% 0;transform-origin:50% 85%;will-change:translate,scale,opacity}.player-two{left:74%}.player canvas{width:80px;height:120px;image-rendering:pixelated;filter:drop-shadow(5px 5px 0 #13132030);animation:bob 2.5s steps(2,end) infinite}.player-two canvas{animation-delay:-1.3s}.player-tag{font-size:10px;letter-spacing:2px;color:#fbd086;text-shadow:2px 2px #20182c;margin-bottom:5px;line-height:14px}.player-tag span{margin-left:4px}.player-two .player-tag{color:#99d0cc}.player-name{background:#251e33d9;color:#e8d4b8;padding:6px;font-size:7px;letter-spacing:1px;margin-top:3px;white-space:nowrap}.player-bubble{position:absolute;bottom:180px;left:50%;transform:translateX(-50%);background:#f1d6a8;color:#3a2b30;white-space:nowrap;font-size:9px;padding:9px 12px;box-shadow:3px 3px #312733;opacity:0;transition:opacity .15s}.player-bubble:after{content:'';position:absolute;bottom:-5px;left:50%;border-width:5px 5px 0 0;border-color:#f1d6a8 transparent transparent transparent;border-style:solid}.player.is-greeting .player-bubble{opacity:1}.player.is-walking canvas{animation:walkBob .22s steps(2,end) infinite}.player.is-entering .player-tag,.player.is-entering .player-name{opacity:0}.action-status{position:absolute;left:0;right:0;bottom:19%;text-align:center;font-size:7px;letter-spacing:1.5px;opacity:.8;color:#f7d5a7;pointer-events:none;z-index:4}.scene-controls{position:absolute;bottom:47px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:28px;z-index:4}.scene-controls>button{width:38px;height:38px;border:1px solid #fff5;background:#201c2b80;font-size:20px;transition:background .15s}.scene-controls>button:hover{background:#bd7259}.scene-center{min-width:220px;text-align:center}.scene-dots{display:flex;justify-content:center;gap:9px;margin-bottom:12px}.scene-dots button{width:7px;height:7px;padding:0;border:0;background:#fff5;position:relative}.scene-dots button:before{content:'';position:absolute;inset:-7px}.scene-dots button[aria-pressed=true]{background:#ffc581;box-shadow:0 0 0 2px #ffc58150}.scene-center>span{font-size:8px;letter-spacing:1.5px}.swipe-hint{position:absolute;bottom:18px;left:0;right:0;text-align:center;font-size:7px;letter-spacing:2px;opacity:.55}.world-particles{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}.world-particles i{position:absolute;width:3px;height:3px;background:#f5c58a;opacity:0;animation:mote 12s linear infinite;box-shadow:0 0 9px #f6bd77}.world.is-routing .game-icon{pointer-events:none}.world.is-routing .scene-controls{opacity:.5;pointer-events:none}
dialog{border:1px solid #d0ad82;background:#282328;color:var(--cream);width:min(540px,90vw);max-height:85svh;padding:30px;box-shadow:8px 8px 0 #0c0c12;border-radius:0}dialog[open]{animation:panelEnter .3s ease-out}dialog::backdrop{background:#0a0818c9;backdrop-filter:blur(5px)}.panel-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #fff2;padding-bottom:17px;font-size:9px;letter-spacing:1px}.panel-top button{border:0;background:none;font-size:20px}.panel-title{font-family:Impact,'Arial Narrow',sans-serif;font-size:42px;line-height:1.05;font-weight:900;margin:30px 0 20px;text-transform:uppercase;letter-spacing:1px}.panel-copy{font:14px/1.8 Arial,sans-serif;color:#bcb1a7}.empty-slot{border:1px dashed #b08d695c;padding:30px;margin:25px 0 5px;display:flex;flex-direction:column;gap:12px;align-items:center}.empty-slot b{color:var(--orange);font-size:28px}.empty-slot span{font-size:9px;letter-spacing:1px;color:#a89b8d}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:25px}.team-card{border:1px solid #fff2;padding:20px 16px}.team-card b{display:block;color:var(--orange);font-size:12px;margin-bottom:12px}.team-card p{font:12px/1.7 Arial,sans-serif;color:#bcb1a7}.panel-foot{font-size:8px;letter-spacing:1px;color:#8e7f72;margin-top:25px}
@keyframes arrive{from{opacity:0}to{opacity:1}}@keyframes bob{50%{transform:translateY(-3px)}}@keyframes walkBob{50%{transform:translateY(-3px)}}@keyframes blink{50%{opacity:.45}}@keyframes sceneryDrift{from{transform:translate(-.6%,0) scale(1.01)}to{transform:translate(.6%,-.5%) scale(1.025)}}@keyframes mote{0%{translate:0 40px;opacity:0}20%,70%{opacity:.45}100%{translate:35px -90px;opacity:0}}@keyframes cartridgeFloat{50%{translate:0 -6px}}@keyframes portalPulse{50%{scale:1.13;opacity:.6}}@keyframes portalFlash{from{opacity:.8;scale:.4}to{opacity:0;scale:1.4}}@keyframes arrowBounce{50%{translate:0 4px}}@keyframes panelEnter{from{opacity:0;transform:scale(.94) translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:760px){.entry{min-height:580px}.machine{border-width:5px}.cabinet-serial{top:17px;left:7%;font-size:7px;letter-spacing:0}.cabinet-serial span{font-size:5px}.entry-sound{top:13px;right:7%;font-size:6px;padding:6px}.marquee{left:8%;right:8%;top:9%;height:10%;font-size:clamp(21px,6vw,38px);border-width:5px;letter-spacing:1px;gap:12px}.marquee small{font-size:5px;letter-spacing:2px;margin-top:7px}.marquee-star{font-size:19px}.crt-region{left:7%;right:7%;top:23%;height:43%;border-width:9px;border-radius:22px;box-shadow:0 0 0 3px #724c39,0 0 0 6px #de8e58,0 8px 0 #703f31}.crt-region>canvas,.crt-region:after,.glass-glare{border-radius:13px}.screen-copy h1{font-size:clamp(25px,7.4vw,46px);letter-spacing:1px;margin:20px 0}.screen-copy>span{font-size:6px;letter-spacing:1px}.screen-copy p{font-size:6px;letter-spacing:2px}.crt-label{font-size:5px;letter-spacing:1px;bottom:-23px}.control-deck{top:71%;height:18%;left:5%;right:5%}.joystick{left:12%;width:61px;height:19px;top:40%}.joystick:before{height:34px;left:28px;width:9px}.joystick i{left:15px;bottom:33px;width:33px;height:32px}.deck-copy{left:11%;top:72%;font-size:8px;letter-spacing:1px}.deck-copy span{display:none}.start-button{right:13%;top:13%;width:90px;height:47px}.start-button span{font-size:16px}.start-caption{right:9%;top:76%;font-size:5px}.speaker{display:none}.cabinet-lower{height:9%;font-size:5px;letter-spacing:1px}.coin-slot{font-size:5px;padding:7px 9px;gap:7px}.coin-slot i{width:22px}.world{min-height:700px}.world-header{height:65px;margin:0 6%}.world-brand{font-size:9px;letter-spacing:1px}.exit-button{font-size:10px}.exit-button span{display:none}.world .sound-toggle{font-size:6px;padding:6px}.world-heading{top:12%;left:8%}.world-heading h2{font-size:33px;margin:12px 0}.world-heading p{font-size:10px;max-width:270px;line-height:1.5}.eyebrow{font-size:7px}.game-select{top:38%;left:50%;gap:25px}.game-icon{min-width:125px;padding:7px 7px 20px}.cartridge{width:88px;height:88px}.game-icon strong{font-size:8px}.game-sub{font-size:5px}.select-label{font-size:6px;letter-spacing:1px;top:-25px}.game-number{font-size:6px}.player{left:30%;bottom:23%;width:80px;height:141px}.player-two{left:70%}.player canvas{width:64px;height:96px}.player-tag{font-size:8px}.player-name{font-size:6px;padding:5px}.player-bubble{bottom:150px;font-size:7px;padding:7px 9px}.action-status{font-size:5px;letter-spacing:.8px;bottom:19%}.scene-controls{gap:18px;bottom:53px}.scene-center{min-width:195px}.scene-controls>button{width:34px;height:34px}.swipe-hint{bottom:24px;font-size:6px;letter-spacing:1px}dialog{padding:23px}.panel-title{font-size:34px}}
@media(max-height:680px) and (min-width:761px){.world-heading{top:17%}.world-heading h2{font-size:36px}.game-select{top:32%}.cartridge{width:80px;height:80px}.player{height:135px;bottom:22%}.player canvas{width:64px;height:96px}.action-status{bottom:17%}.scene-controls{bottom:35px}.swipe-hint{bottom:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.game-icon strong{background:#282334b8;padding:6px 8px}.game-number{background:#28233466;padding:4px 6px}.world[data-scene="3"] .world-heading{color:#272630}.world[data-scene="3"] .world-heading .eyebrow{color:#38343e}

/* A raised cooperative cartridge sits directly above GAME 01. */
.game-select{top:16%;left:67%;display:grid;grid-template-columns:150px 150px;grid-template-rows:165px 165px;gap:22px 42px}
.game-icon{height:165px;min-width:0;padding:7px 4px 20px}.game-high{grid-column:1;grid-row:1}.game-icon[data-panel="projects"]{grid-column:1;grid-row:2}.game-icon[data-panel="team"]{grid-column:2;grid-row:2}
.game-high:before{content:'2P';position:absolute;right:12px;top:32px;z-index:2;background:#f6d796;color:#51415d;padding:4px;font-size:7px;box-shadow:2px 2px #44354e}
.game-high .game-number b{color:#f6d796;margin-left:6px}.game-high strong{font-size:8px}.game-high .portal-ring{border-style:dashed;border-color:#c3aedc}
.player{bottom:18%;transform-origin:50% 84%}.player-two{left:74%}.player canvas{animation:none!important}.player.is-greeting .player-bubble{opacity:1}.player-bubble{bottom:170px;z-index:7;max-width:205px;white-space:nowrap;line-height:1.4;font-size:10px;letter-spacing:0;pointer-events:none}
.player.is-supporting .player-tag{color:#f1d094}.player.is-climbing .player-tag{color:#d7b9ef}.player.is-supporting{z-index:3}.player.is-climbing{z-index:4}
.game-high.is-unlocked .game-number{background:#8c7444aa}.game-high.is-unlocked:before{content:'★';background:#f8d781}
.world.is-social .action-status{color:#ffdda0}.coop-badge{margin:28px auto 20px;display:flex;justify-content:center;align-items:center;gap:18px;font-size:32px;color:#e2b776}.coop-badge b{font-size:14px;color:#b7a5cc;border:1px solid #8c7f9c;padding:17px;background:#35303e}.replay-button{margin-top:20px;width:100%;border:1px solid #c9a676;background:#594333;color:#ffdda3;box-shadow:3px 3px #17151c;padding:15px;font-size:10px;letter-spacing:1px}.replay-button:hover{background:#75563b}
@media(min-width:761px) and (max-height:750px){.game-select{top:18%;grid-template-rows:135px 135px;gap:12px 38px}.game-icon{height:135px;padding-bottom:12px}.game-icon .cartridge{width:75px;height:75px}.game-icon .game-number{margin-bottom:2px}.game-icon .game-sub{font-size:5px}.game-icon strong{font-size:8px;padding:4px 6px;margin-top:2px}.game-high:before{top:29px}.world-heading h2{font-size:36px}.player{bottom:18%}}
@media(max-width:760px){.world-heading{top:10.5%}.world-heading h2{font-size:30px}.world-heading p{font-size:9px}.game-select{top:28%;left:50%;grid-template-columns:125px 125px;grid-template-rows:126px 126px;gap:20px 25px}.game-icon{height:126px;padding:4px 5px 16px}.game-number{font-size:6px;padding:2px 4px;line-height:8px;margin-bottom:3px}.game-icon .cartridge{width:64px;height:64px}.game-icon strong{font-size:7px;padding:4px 5px;margin-top:2px;line-height:10px}.game-icon .game-sub{display:none}.game-high:before{right:15px;top:22px;font-size:6px;padding:3px}.select-label{font-size:6px;top:-20px}.player{bottom:18.5%}.player-bubble{bottom:145px;font-size:8px;max-width:165px;padding:7px 8px}.action-status{bottom:14.5%;font-size:5px;letter-spacing:.5px}.world.is-social .action-status{font-size:6px}}
@media(max-width:760px) and (max-height:740px){.world-heading h2{font-size:25px}.world-heading p{font-size:8px}.world-heading{top:11%}.game-select{top:28%;grid-template-rows:108px 108px;gap:16px 25px}.game-icon{height:108px;padding-bottom:12px}.game-icon .cartridge{width:51px;height:51px}.game-icon strong{font-size:6px}.game-high:before{right:21px}.player{height:128px;bottom:18%}.player canvas{width:56px;height:84px}.player-bubble{bottom:132px}.action-status{bottom:15%}}
.player-two .player-bubble{bottom:208px}
@media(max-width:760px){.player-two .player-bubble{bottom:177px}}
@media(max-width:760px) and (max-height:740px){.player-two .player-bubble{bottom:164px}}

.action-status{bottom:14.5%}.world.is-coop .game-icon:not(.game-high){opacity:.38;transition:opacity .4s}.world.is-coop .game-high{filter:drop-shadow(0 0 12px #d2b8f766)}
/* Moving scenery and focus must not scroll the arcade screen internally. */
.world,.entry{overflow:clip}

/* The entry stays over the prepared world until the camera has finished. */
.entry.is-camera{position:fixed;inset:0;z-index:30;height:100dvh;min-height:0;will-change:opacity}.entry.is-camera .machine{transition:none;transform-origin:0 0}.world.is-preparing{animation:none!important}
.about-folder{display:none}.about-effects{position:absolute;inset:0;pointer-events:none;z-index:2}.about-effects>canvas,#jetDust{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.about-effects .route-door{display:none}
.jetpack,.carried-plank{display:none;pointer-events:none}.player.is-jetpack .jetpack{display:block;position:absolute;top:48px;left:5px;width:15px;height:38px;z-index:1;background:linear-gradient(90deg,#5e7283 0 25%,#b3c4c5 25% 60%,#485969 60%);border:2px solid #2f2b3c;box-shadow:-4px 4px #d89e5f}.player.is-jetpack[data-facing="-1"] .jetpack{left:auto;right:5px;box-shadow:4px 4px #d89e5f}.jetpack:after{content:'';position:absolute;left:1px;top:34px;width:9px;height:35px;background:linear-gradient(#fff1bb,#ffc55c 25%,#ed6844 70%,transparent);clip-path:polygon(0 0,100% 0,85% 65%,50% 100%,15% 65%);animation:jetFlame .16s steps(2,end) infinite;filter:drop-shadow(0 0 7px #ffb355)}.player.is-building .carried-plank{display:block;position:absolute;width:75px;height:7px;top:70px;left:8px;background:#ce9c5b;border-top:2px solid #f2cc8a;box-shadow:1px 2px #68482d;transform:rotate(-24deg);z-index:2}.player.is-on-ladder canvas{filter:drop-shadow(4px 3px 0 #16132150)}.player.is-on-ladder .player-name{opacity:.35}.player.is-on-ladder .player-tag{color:#ffe0a4}.player.is-doorway .player-name{opacity:.5}
.jet-mote{position:absolute;width:5px;height:7px;background:#ffcf83;box-shadow:0 0 10px #e48e55;animation:exhaust .65s ease-out forwards}.route-door{position:absolute;width:72px;height:124px;border:6px solid #b88f68;background:#f6c579;box-shadow:4px 6px #15142166,inset 0 0 16px #fddd99;perspective:400px;transform-origin:50% 100%;opacity:0;transition:opacity .25s}.route-door.is-visible{display:block;opacity:1}.door-leaf{position:absolute;inset:0;background:linear-gradient(90deg,#5b4050,#8c5c60);border:3px solid #342a3c;transform-origin:0 50%;transition:transform .45s ease;backface-visibility:hidden}.door-leaf:before{content:'';position:absolute;inset:10px 8px;border:2px solid #b07a6a}.door-leaf i{position:absolute;width:5px;height:5px;background:#edc28a;right:7px;top:57%}.route-door.is-open .door-leaf{transform:rotateY(-100deg)}.route-door>span{position:absolute;left:0;right:0;top:-20px;text-align:center;font-size:7px;letter-spacing:1px;color:#f5cc94}.door-light{position:absolute;inset:0;box-shadow:0 0 25px #ffd793aa;opacity:0;transition:opacity .3s}.route-door.is-open .door-light{opacity:1}
.about-services{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.about-services span{padding:7px 9px;border:1px solid #a38c6a55;font-size:8px;color:#e6bd85}.about-names{display:flex;gap:10px;margin:20px 0}.about-names>div{flex:1;padding:13px 15px;border:1px solid #fff2}.about-names small{display:block;color:#b08e72;font-size:7px;letter-spacing:1px;margin-bottom:7px}.about-names b{font-size:15px;color:#f3d2a3}.contact-box{border-top:1px solid #fff2;margin-top:22px;padding-top:17px}.contact-box h4{font-size:10px;letter-spacing:1px;margin:0 0 12px}.contact-row{display:flex;justify-content:space-between;gap:14px;padding:9px 0;font-size:10px;color:#baaea1}.contact-row span:last-child{color:#8f837a;font-size:9px}.contact-note{font:11px/1.6 Arial,sans-serif;color:#94877d;margin:12px 0 0}dialog.about-panel{width:min(620px,90vw)}
@keyframes jetFlame{50%{height:24px;opacity:.7}}@keyframes exhaust{to{translate:-14px 45px;opacity:0;scale:.3}}
@media(min-width:761px){.world-heading{display:none}.about-folder{display:flex;position:absolute;right:4%;top:100px;width:125px;height:145px;z-index:2;padding-top:5px}.about-folder .cartridge{width:88px;height:76px}.about-folder .game-number{font-size:6px;margin-bottom:3px}.about-folder strong{font-size:12px;padding:6px 12px;margin-top:2px}.about-folder .game-sub{font-size:6px;margin-top:6px}.about-folder .portal-ring{bottom:0}.world.is-about-route .game-select{opacity:.4;transition:opacity .4s}}
@media(max-width:760px){.player.is-jetpack .jetpack{top:38px;width:12px;height:31px}.jetpack:after{top:27px;width:7px;height:26px}.contact-row{font-size:9px}.contact-row span:last-child{font-size:8px}}

.world.is-ready{animation:none!important}

/* One portal follows the physical CRT instead of swapping two unrelated screens. */
main{min-height:100dvh}.entry,.world{height:100dvh;min-height:0}.world.is-camera-world{position:fixed;inset:0;z-index:40;opacity:0;min-height:0;will-change:clip-path,opacity;pointer-events:none}.entry.departing .screen-copy{opacity:0;transition:opacity .2s ease-out}.entry.is-camera .machine{backface-visibility:hidden}.world:not(.is-camera-world){opacity:1}
@media(max-width:760px){.game-select{top:22%;grid-template-rows:126px 126px;gap:20px 25px}.about-folder{display:flex;position:absolute;left:calc(50% + 12.5px);top:22%;width:125px;height:126px;min-width:0;padding:4px 5px 16px;z-index:2}.about-folder .cartridge{width:64px;height:64px}.about-folder strong{font-size:9px;padding:4px 9px;line-height:10px}.about-folder .game-number{font-size:6px;padding:2px 4px;margin-bottom:3px}.about-folder .game-sub{display:none}.about-folder .portal-ring{bottom:0}.world.is-about-route .game-select{opacity:.35}.route-door{width:60px;height:110px;border-width:5px}.player-bubble{max-width:140px}.about-panel{max-height:88dvh}}
@media(max-width:760px) and (max-height:740px){.game-select{top:19%;grid-template-rows:108px 108px;gap:16px 25px}.about-folder{top:19%;height:108px;padding-bottom:12px}.about-folder .cartridge{width:51px;height:51px}.about-folder strong{font-size:8px}.player{bottom:18%}}

/* Attach the backpack to the slimmer reference-based silhouettes. */
.player.is-jetpack .jetpack{left:18px;top:59px;width:14px;height:32px}.player.is-jetpack[data-facing="-1"] .jetpack{left:auto;right:18px}.jetpack:after{top:28px}@media(max-width:760px){.player.is-jetpack .jetpack{left:14px;top:47px;width:11px;height:26px}.player.is-jetpack[data-facing="-1"] .jetpack{left:auto;right:14px}.jetpack:after{top:22px}}

/* A real round arcade button and short, manually replayable work scenes. */
.start-button{width:88px;height:88px;border-radius:50%;top:0;background:radial-gradient(circle at 35% 25%,#ef9760,#b8472d 55%,#81251f)}
.start-caption{top:auto;bottom:2%}
.work-controls{position:absolute;left:5%;top:104px;z-index:5;display:flex;gap:9px}.work-controls button{background:#302a3be8;border:1px solid #d5b88866;box-shadow:3px 3px #17151e;padding:10px 13px;font-size:9px;letter-spacing:1px}.work-controls button:hover{background:#614637}.work-controls button[aria-pressed="true"]{color:#ffdb96;border-color:#e7be7d}
.work-effects{position:absolute;inset:0;pointer-events:none;z-index:2}.work-effects canvas{position:absolute;width:100%;height:100%;inset:0;image-rendering:pixelated;transition:opacity .35s}.work-effects.is-vanishing canvas{opacity:0}.work-spark{position:absolute;color:#ffdda0;font-size:19px;text-shadow:0 0 12px #ffa656;animation:workSpark .7s ease-out both;pointer-events:none}.player.is-working{z-index:4}.player.is-working .player-name{opacity:.4}.player.is-working .player-bubble{z-index:8}.world.is-working .action-status{color:#ffda9c}
@keyframes workSpark{0%{opacity:0;scale:.2;translate:0 20px}30%{opacity:1;scale:1.1}100%{opacity:0;scale:.3;translate:var(--spark-x) -32px}}
@media(max-width:760px){.start-button{width:72px;height:72px;top:5%;right:16%}.start-caption{right:11%;bottom:1%;top:auto}.work-controls{left:6%;top:80px;gap:6px}.work-controls button{font-size:7px;padding:8px 10px}.player.is-working .player-bubble{max-width:170px;white-space:normal;min-width:125px}}

/* Desktop reading sizes; keep the compact phone layout. */
@media(min-width:761px){
  .sound-toggle{font-size:12px;padding:11px 14px}.sound-icon{font-size:21px}
  .marquee small{font-size:12px;letter-spacing:2px}.screen-copy>span{font-size:14px}.screen-copy p{font-size:16px}.crt-label{font-size:11px;letter-spacing:2px}
  .deck-copy{font-size:23px}.deck-copy span{font-size:11px}.start-caption{font-size:12px;right:15%;letter-spacing:.5px}.cabinet-lower{font-size:12px}.coin-slot{font-size:11px}
  .world-brand{font-size:18px}.exit-button{font-size:14px}.work-controls button{font-size:14px;padding:12px 16px}
  .game-select{grid-template-columns:220px 160px;grid-template-rows:205px 205px;gap:20px 24px}
  .game-icon{height:205px}.select-label{font-size:12px;letter-spacing:1px;top:-30px}
  .game-icon .game-number{font-size:12px;letter-spacing:1px;margin-bottom:4px;line-height:16px}.game-icon strong{font-size:14px;line-height:1.35;padding:5px 7px;margin-top:5px}.game-icon .game-sub{font-size:10px;letter-spacing:.5px;margin-top:5px}
  .game-high:before{font-size:11px;right:30px;top:31px}
  .about-folder{width:180px;height:190px}.about-folder strong{font-size:18px}.about-folder .game-sub{font-size:11px}
  .player-tag{font-size:13px;line-height:18px}.player-name{font-size:12px;letter-spacing:.5px}
  .player-two .player-bubble{bottom:258px}
  .player-bubble{font-size:16px;line-height:1.5;width:max-content;max-width:320px;white-space:normal;padding:12px 16px}
  .action-status,.world.is-social .action-status{font-size:12px;letter-spacing:.6px;padding:0 24px;line-height:1.5}
  .scene-center{min-width:300px}.scene-center>span{font-size:12px;letter-spacing:1px}.scene-controls>button{width:44px;height:44px;font-size:25px}.swipe-hint{font-size:11px;letter-spacing:1px}
  dialog{width:min(700px,90vw);padding:34px}dialog.about-panel{width:min(740px,90vw)}.panel-top{font-size:13px}.panel-top button{font-size:27px}.panel-title{font-size:48px}.panel-copy{font-size:18px;line-height:1.7;color:#d5cbc0}
  .about-services span{font-size:12px}.about-names small{font-size:12px}.about-names b{font-size:21px}.contact-box h4{font-size:15px}.contact-row{font-size:16px}.contact-row span:last-child{font-size:14px;color:#baaea1}.contact-note{font-size:15px}.panel-foot,.empty-slot span{font-size:12px}.replay-button{font-size:14px}
}
@media(min-width:761px) and (max-height:750px){
  .game-select{top:17%;grid-template-rows:170px 170px;gap:14px 24px}.game-icon{height:170px}.game-icon .cartridge{width:75px;height:75px}.game-icon .game-number{margin-bottom:2px}.game-icon strong{font-size:14px;margin-top:3px;padding:4px 6px}.game-icon .game-sub{font-size:10px;margin-top:3px}.about-folder{height:180px}.about-folder .cartridge{width:88px;height:76px}.about-folder strong{font-size:18px}.scene-controls{bottom:39px}.swipe-hint{bottom:14px}
}

/* Project cartridges live on the left; scene buttons stay beside the footer. */
.game-select{left:6%;transform:none;grid-template-columns:220px;width:220px}
.work-controls{left:auto;top:auto;right:4.5%;bottom:28px}
.player.is-rocket-flight:after{content:'';position:absolute;left:36%;top:112px;width:28%;height:55px;background:linear-gradient(#fff3b2,#ffc465 35%,#ed714c 70%,transparent);clip-path:polygon(10% 0,90% 0,75% 60%,50% 100%,25% 60%);filter:drop-shadow(0 0 10px #ffa84b);animation:boostTrail .14s steps(2,end) infinite;pointer-events:none}
@keyframes boostTrail{50%{height:35px;opacity:.6}}
@media(max-width:1100px) and (min-width:761px){.work-controls{bottom:110px}}
@media(max-width:760px){.game-select{left:7%;width:125px;grid-template-columns:125px}.work-controls{left:auto;right:6%;top:auto;bottom:14px;gap:6px}.work-controls button{font-size:8px;padding:9px 11px}.swipe-hint{left:6%;right:auto;max-width:145px;bottom:22px;text-align:left;font-size:5px;letter-spacing:.3px}.player.is-rocket-flight:after{top:86px;height:40px}}
@media(max-width:760px) and (max-height:740px){.player.is-rocket-flight:after{top:76px}}

/* Two jobs in every scene: build and test, sketch and collect notes. */
.work-tool{display:none;position:absolute;pointer-events:none;z-index:4;left:56%;top:77px;width:25px;height:36px;background:#272a3a;border:3px solid #a5a7a1;box-shadow:2px 3px #161422;image-rendering:pixelated}.player[data-facing="-1"] .work-tool{left:20%}.work-tool i{position:absolute;inset:3px 2px 6px;background:repeating-linear-gradient(#91bbaa 0 3px,#d7e3be 3px 5px)}.work-tool b{position:absolute;inset:5px 0;text-align:center;font-size:15px;color:#243c31;animation:mobileCheck .8s steps(2,end) infinite}.player.is-testing .work-tool,.player.is-planning .work-tool{display:block}.player.is-planning .work-tool{width:30px;height:32px;border:3px solid #a27d57;background:#e8cd8d}.player.is-planning .work-tool i{inset:4px 3px;background:repeating-linear-gradient(#d5a56d 0 2px,#f2dfaa 2px 5px)}.player.is-planning .work-tool b{font-size:12px;color:#765675;inset:6px 0}.idea-note{position:absolute;width:15px;height:15px;background:#e6b967;box-shadow:3px 3px #4c35424d;animation:notesFly .7s cubic-bezier(.2,.6,.3,1) forwards}.idea-note:after{content:'';position:absolute;left:3px;right:3px;top:5px;height:2px;background:#8f687b;box-shadow:0 4px #8f687b}
#ladderDust,#ideaNotes{position:absolute;inset:0;pointer-events:none}.ladder-dust{position:absolute;width:9px;height:7px;background:#dcb17b;box-shadow:4px 3px #9d7560;animation:ladderDust .7s ease-out forwards}.ladder-thud{position:absolute;font-size:15px;letter-spacing:2px;font-weight:bold;color:#ffe4ac;animation:ladderThud .7s ease-out forwards}.world.is-ladder-impact #ladderCanvas{animation:ladderBounce .25s ease-out}.world.is-ladder-impact .scenery{animation:ladderShake .2s ease-out}
@keyframes mobileCheck{50%{color:#e7f2c0;translate:0 2px}}@keyframes notesFly{to{translate:var(--note-x) var(--note-y);rotate:20deg;scale:.7;opacity:.1}}@keyframes ladderDust{from{opacity:.9;scale:.5}to{translate:var(--dust-x) var(--dust-y);opacity:0;scale:1.5}}@keyframes ladderThud{to{translate:0 -25px;opacity:0}}@keyframes ladderBounce{40%{translate:0 -7px}75%{translate:0 2px}to{translate:0 0}}@keyframes ladderShake{25%,75%{translate:-3px 2px}50%{translate:3px -2px}to{translate:0 0}}
@media(max-width:760px){.work-tool{top:61px;left:54%;width:21px;height:29px;border-width:2px}.player.is-planning .work-tool{width:25px;height:27px;border-width:2px}.work-tool b{font-size:12px}.ladder-thud{font-size:10px}.world.is-working .action-status{font-size:5px;letter-spacing:0;padding:0 12px}}
@media(max-width:760px) and (max-height:740px){.work-tool{top:56px}}

/* Each new world has its own scenery and quiet atmospheric animation. */
.world[data-scene="1"]:after{background:linear-gradient(#11101e66,transparent 58%,#11142166)}
.world[data-scene="2"]:after{background:linear-gradient(#19182e66,transparent 48%,#151a304d)}
#sceneAtmosphere{pointer-events:none}

.world[data-scene="2"] .world-header{color:#f3d9da;border-bottom-color:#e5c6d033}
.world[data-scene="2"] .world-brand b,.world[data-scene="2"] .sound-icon{color:#c4dcda}
.world[data-scene="2"] .sound-toggle{background:#29253fcc;color:#f0d8d8;border-color:#c4b2cd55}
.world[data-scene="2"] .select-label,.world[data-scene="2"] .swipe-hint{color:#f5dfe0;opacity:.95}
.world[data-scene="2"] .game-number{opacity:1;background:#37334e8c}
.world[data-scene="2"] .game-icon .game-sub{color:#f4dce0;opacity:1;background:#302840b3;padding:3px 4px}
.world[data-scene="2"] .scene-center>span,.world[data-scene="2"] .action-status{background:#343344c7;color:#fff1d4}
.world[data-scene="2"] .scene-center>span{padding:4px 7px}
.world[data-scene="2"] .action-status{left:50%;right:auto;translate:-50% 0;width:max-content;max-width:94%;padding:4px 10px}

/* START and its caption share one axis, without a tilted label. */
.start-control{position:absolute;left:75%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:15px;z-index:4}
.start-control .start-button{position:relative;inset:auto;flex:none;transform:none;padding:0;transition:transform .15s,background .15s,box-shadow .15s}
.start-control .start-button span{display:block;line-height:1;letter-spacing:1px;text-indent:1px}
.start-control .start-button:active,.start-control .start-button.activated{transform:translateY(5px)}
.start-control .start-caption{position:static;display:block;white-space:nowrap;text-align:center;line-height:1.2}
.world.is-about-route .door-leaf{transition-duration:.2s}
.world.is-about-route .door-light{transition-duration:.15s}
@media(max-width:760px){.start-control{left:73%;gap:13px}}
@media(min-width:761px){.start-control{gap:clamp(8px,1.5svh,15px)}.start-control .start-button{width:clamp(60px,10.5svh,88px);height:clamp(60px,10.5svh,88px)}.start-control .start-button span{font-size:clamp(14px,2.2svh,20px)}}

/* AVGT title inside the CRT; the cabinet controls keep their original geometry. */
.screen-copy h1{font-size:clamp(58px,8.5vw,112px);letter-spacing:7px;line-height:.98;margin:16px 0}
.screen-copy h1 span{display:block;font-size:.65em;letter-spacing:3px;line-height:1.2}
@media(max-width:760px){
  .screen-copy h1{font-size:clamp(42px,12vw,72px);letter-spacing:4px;margin:18px 0}.screen-copy h1 span{letter-spacing:1px}
  .game-select>.is-mobile-project .game-number{font-size:8px;line-height:12px;letter-spacing:.8px}
  .game-select>.is-mobile-project strong{font-size:12px;line-height:1.3;margin-top:4px}
  .game-select>.is-mobile-project .game-sub{display:block;font-size:8px;line-height:1.5;letter-spacing:.2px;max-width:126px;margin-top:4px;white-space:normal}
  .game-select .select-label{font-size:7px;letter-spacing:.5px;white-space:nowrap}
}


/* Two independent project cartridges in every world; the purple boost is always above. */
.game-select .project-cartridge strong{overflow-wrap:anywhere}
@media(max-width:760px){
  .game-select{display:grid;grid-template-columns:140px;grid-template-rows:136px 136px;gap:12px;width:140px}
  .game-select>.project-cartridge{display:flex;width:140px;height:136px;min-height:0;padding:5px 7px 16px;transform:none}
  .project-cartridge .cartridge{width:62px;height:62px}
  .game-select>.project-cartridge .game-number{font-size:8px;line-height:11px;margin:0 0 2px;padding:2px 4px}
  .game-select>.project-cartridge strong{font-size:12px;line-height:1.2;padding:3px 5px;margin-top:2px}
  .game-select>.project-cartridge .game-sub{display:block;font-size:7px;line-height:1.3;letter-spacing:0;white-space:nowrap;max-width:130px;margin-top:3px}
  .game-select>.game-high:before{right:12px;top:24px;font-size:6px;padding:2px 3px}
}
@media(max-width:760px) and (max-height:740px){
  .game-select{grid-template-rows:114px 114px;gap:10px}
  .game-select>.project-cartridge{height:114px;padding-bottom:12px}
  .project-cartridge .cartridge{width:49px;height:49px}
  .game-select>.project-cartridge strong{font-size:11px}
  .game-select>.project-cartridge .game-sub{font-size:6px;margin-top:2px}
  .game-select>.game-high:before{top:23px;right:22px}
}

/* Telegram contacts retain the readable contact-row type size. */
.contact-row a{color:#f3d2a3;text-underline-offset:4px;text-decoration-thickness:1px;white-space:nowrap}
.contact-row a:hover{color:#fff1d4}
.contact-row a:focus-visible{outline:2px solid #f3d2a3;outline-offset:5px}

.project-link{display:block;text-decoration:none;text-align:center;margin-top:16px;color:#fff1d4}

/* Keep the portal still while its entry target is being approached. */
.game-icon.is-selected .cartridge{animation:none;transform:none}
