@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');
:root{--boxboard:#F4EFE6;--paper:#E6DEC8;--ink:#141311;--red:#E02B20;--yellow:#F7B500;--blue:#1858A8;--purple:#6751B6;--purple-dark:#463387;--lime:#BDFF68;--mint:#52D7C8;--font-display:'Archivo Black',Impact,'Arial Black',sans-serif;--font-body:'IBM Plex Sans',system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--boxboard);background-image:radial-gradient(var(--paper) 1.25px,transparent 1.25px);background-size:18px 18px;color:var(--ink);font:500 16px/1.5 var(--font-body);overflow-x:hidden}button,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:4px solid var(--blue);outline-offset:3px}.skip-link{position:absolute;left:10px;top:-100px;z-index:100;background:var(--lime);padding:12px}.skip-link:focus{top:10px}
.masthead{border-bottom:4px solid var(--ink);background:var(--boxboard)}.masthead-inner{max-width:1280px;margin:auto;padding:18px clamp(16px,3.5vw,34px);display:flex;align-items:center;gap:26px;justify-content:space-between}.brand-mark{display:inline-flex;border:3px solid var(--ink);box-shadow:4px 4px 0 var(--ink);font:normal clamp(1.25rem,2vw,1.55rem)/1 var(--font-display);white-space:nowrap}.brand-orbit{padding:10px 13px;background:var(--red);color:var(--boxboard)}.brand-arcade{padding:10px 13px;background:var(--yellow);border-left:3px solid var(--ink)}.masthead-note{font-size:.8rem;letter-spacing:.055em}.masthead-note i{display:inline-block;width:7px;height:7px;background:var(--red);border-radius:100%;vertical-align:middle;margin:0 8px}.shelf-link,.action-link{background:var(--boxboard);border:3px solid var(--ink);box-shadow:4px 4px 0 var(--ink);font-weight:700;font-size:.85rem;letter-spacing:.01em;padding:10px 15px;white-space:nowrap;transition:transform .12s,box-shadow .12s}.shelf-link:hover,.action-link:hover{background:var(--yellow);transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink)}
.page-grid{max-width:1280px;margin:auto;padding:30px clamp(16px,3.5vw,34px) 68px;display:grid;grid-template-columns:minmax(0,780px) minmax(230px,1fr);align-items:start;gap:26px}.game-main{min-width:0}.top-actions{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap}.action-link{min-height:43px;padding:8px 13px;background:var(--paper);font-size:.76rem}.machine{background:var(--purple);border:4px solid var(--ink);box-shadow:9px 9px 0 var(--ink);border-radius:19px 19px 22px 22px;padding:11px;position:relative}.machine:before,.machine:after{content:'';position:absolute;border:3px solid var(--purple-dark);border-radius:50%;width:15px;height:15px;top:76px;background:#392766;box-shadow:inset 2px 2px 0 #231b3f}.machine:before{left:13px}.machine:after{right:13px}.machine-rim{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 13px 16px;color:#F9F3FF;font-weight:700;font-size:.69rem;letter-spacing:.09em}.power-led,.online-lamp{display:inline-block;width:10px;height:10px;background:var(--lime);border:2px solid var(--ink);border-radius:50%;margin-right:7px;box-shadow:0 0 10px rgba(189,255,104,.7)}.bolt{color:var(--lime)}.machine-plate{background:#DFD5FA;border:4px solid var(--ink);border-radius:9px;padding:clamp(10px,2.5vw,24px)}.machine-title{text-align:center;padding:4px 0 20px}.serial{font-size:.66rem;letter-spacing:.15em;font-weight:700;color:#4B3978}.machine-title h1{font:normal clamp(1.45rem,4.4vw,3.35rem)/1.08 var(--font-display);letter-spacing:-.055em;margin:10px 0 8px}.machine-title h1 em{font-style:normal;color:#FF593E;text-shadow:2px 2px 0 var(--ink)}.period{color:#221937}.title-sub{font-weight:700;font-size:.7rem;letter-spacing:.15em;color:#4B3978}.screen-hud{display:grid;grid-template-columns:1.25fr 1.25fr .8fr .9fr;gap:7px;margin-bottom:16px}.hud-cell{background:#151428;border:3px solid var(--ink);box-shadow:inset 0 4px 0 #06070D;min-width:0;color:var(--lime);padding:9px 9px 7px}.hud-cell small{display:block;font-size:.57rem;letter-spacing:.06em;color:#B3AFC7;font-weight:700;white-space:nowrap}.hud-cell strong{font:normal clamp(.85rem,2vw,1.5rem)/1.35 'Courier New',monospace;letter-spacing:-.06em;display:block;white-space:nowrap;overflow:hidden}.hud-small strong{color:#F4C861}.hud-cell:last-child strong{font-size:clamp(.55rem,1.4vw,1rem);line-height:2.0;letter-spacing:-.1em;color:#FF817A}
.crt-housing{background:#29233B;border:4px solid var(--ink);padding:11px;box-shadow:6px 6px 0 rgba(20,19,17,.2);border-radius:12px}.crt-topline,.crt-bottomline{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#E7E2F1;font-size:.61rem;letter-spacing:.07em;font-weight:700;padding:0 3px 10px}.crt-bottomline{padding:9px 3px 0}.crt-topline #level-name{color:var(--lime);text-align:right}.game-screen{position:relative;width:100%;background:#0B1324;border:4px solid #080F1B;overflow:hidden;aspect-ratio:4/5;touch-action:none;box-shadow:inset 0 0 0 2px #455577}canvas{display:block;width:100%;height:100%;object-fit:contain}.game-overlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:14px;background:rgba(4,10,23,.66);backdrop-filter:blur(4px);overflow:auto}.game-overlay[hidden]{display:none!important}.overlay-card{max-width:410px;width:100%;padding:19px clamp(14px,4vw,28px) 23px;border:4px solid var(--ink);background:var(--boxboard);box-shadow:8px 8px 0 var(--ink);position:relative;text-align:center;transform:rotate(-1deg)}.overlay-top{display:flex;justify-content:space-between;padding-bottom:9px;border-bottom:3px solid var(--ink);font-size:.65rem;letter-spacing:.1em;font-weight:700}.overlay-star{font-size:3.15rem;color:#6F55B7;line-height:1.1;margin-top:7px}.overlay-kicker{display:block;font-size:.7rem;letter-spacing:.1em;color:var(--red);font-weight:700;margin:3px 0 9px}.overlay-card h2{font:normal clamp(1.5rem,5vw,2.6rem)/.99 var(--font-display);margin:0 0 13px;letter-spacing:-.035em}.overlay-card h2 span{color:var(--purple)}.overlay-card p{font-size:.85rem;max-width:31ch;margin:0 auto 18px}.big-button{width:100%;min-height:49px;background:var(--yellow);border:3px solid var(--ink);box-shadow:5px 5px 0 var(--ink);padding:9px 12px;font:normal 1rem var(--font-display);display:flex;justify-content:space-between;align-items:center;transition:transform .12s,box-shadow .12s}.big-button:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--ink)}.big-button:active{transform:translate(4px,4px);box-shadow:0 0 0 var(--ink)}.overlay-help{display:block;font-size:.6rem;letter-spacing:.04em;font-weight:700;margin-top:15px}
.machine-controls{display:flex;justify-content:space-between;gap:16px;padding-top:20px;align-items:flex-end}.control-label{display:block;font-size:.65rem;font-weight:700;letter-spacing:.11em;color:#3E306F;margin-bottom:8px}.mini-note{display:block;font-size:.62rem;font-weight:700;color:#584687;margin-bottom:8px}.direction-pair,.control-buttons{display:flex;gap:12px;align-items:center}.direction-button{width:67px;height:52px;border:3px solid var(--ink);border-radius:7px;background:var(--lime);box-shadow:4px 4px 0 var(--ink);font-size:1.45rem;touch-action:none;user-select:none}.direction-button:active,.direction-button.pressed{transform:translate(3px,3px);box-shadow:1px 1px 0 var(--ink)}.control-buttons{gap:10px}.round-action,.square-action{background:#F8A962;border:3px solid var(--ink);box-shadow:4px 4px 0 var(--ink);font-family:var(--font-display);width:70px;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:1rem;border-radius:50%}.square-action{border-radius:8px;background:#F2EAFB;width:62px;font-size:1.2rem}.round-action span,.square-action span{font:700 .55rem var(--font-body)}.round-action:active,.square-action:active{transform:translate(3px,3px);box-shadow:1px 1px 0 var(--ink)}.machine-footer{display:flex;justify-content:space-between;gap:10px;padding:12px 10px 4px;font-size:.61rem;letter-spacing:.07em;color:#F5EBFF;font-weight:700}.manual-card{position:relative;margin:31px 0 0;background:#FDF9EF;padding:28px;border:3px solid var(--ink);box-shadow:6px 6px 0 var(--ink)}.manual-card:before{content:'';position:absolute;top:-13px;right:25px;width:63px;height:24px;background:rgba(247,181,0,.45);transform:rotate(-13deg)}.manual-badge{font-weight:700;color:var(--red);font-size:.66rem;letter-spacing:.13em}.manual-card h2{font:normal clamp(1.32rem,2.7vw,1.72rem)/1.15 var(--font-display);margin:9px 0 14px}.manual-card p{font-size:.87rem;margin:10px 0 0}kbd{display:inline-block;padding:2px 7px;border:2px solid #222;background:var(--paper);box-shadow:1px 2px #222;border-radius:3px;font:700 .77rem var(--font-body);margin:0 2px}
.sidebar{min-width:0;padding-top:60px;display:flex;flex-direction:column;gap:22px}.sidebar-stamp{background:var(--ink);color:var(--boxboard);display:inline-block;align-self:start;font:normal .9rem var(--font-display);padding:9px 12px;transform:rotate(-2deg);margin-bottom:-3px}.side-card{border:3px solid var(--ink);background:#FFF9E9;box-shadow:5px 5px 0 var(--ink);padding:17px}.card-head{display:flex;justify-content:space-between;align-items:center;font-size:.65rem;letter-spacing:.06em;font-weight:700;border-bottom:3px solid var(--ink);padding-bottom:10px}.card-head span:last-child{font-size:1rem}.side-card h2{font:normal 1.1rem/1.2 var(--font-display);margin:16px 0}.legend{display:flex;align-items:center;gap:12px;border-bottom:1px solid #C7BAA6;padding:11px 0}.legend:last-child{border-bottom:0}.legend-chip{width:50px;height:27px;flex-shrink:0;border:3px solid var(--ink);box-shadow:3px 3px 0 var(--ink);background:#EC715B}.legend-chip.armor{background:#F7C34C}.legend-chip.gravity{background:#5BD5EE}.legend-chip.blast{background:#FF7251}.legend-chip.boss{background:#B38AEC}.legend strong{display:block;font-size:.86rem}.legend small{display:block;font-size:.74rem;color:#615C56}.power-guide{background:#F7DAA8}.power-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.power-list span{display:flex;gap:6px;align-items:center;font-size:.66rem;font-weight:700}.power-list b{display:grid;place-items:center;background:var(--ink);color:var(--lime);min-width:30px;height:30px;border:2px solid #1A1712;font-size:.84rem}.power-guide p{font-size:.8rem;margin:16px 0 0}.levels-card{background:#DEE7FC}.levels-card ol{padding-left:22px;margin-bottom:0;font-size:.85rem;font-weight:700}.levels-card li{margin:6px 0}.other-games{background:var(--paper)}.other-games a{display:flex;gap:10px;align-items:center;padding:11px 0;border-bottom:2px solid #B6A994}.other-games a:last-child{border:0}.other-games a>span:nth-child(2){flex:1}.other-games b{display:block;font-size:.85rem}.other-games small{display:block;font-size:.73rem}.other-games .thumb{display:grid;place-items:center;flex-shrink:0;width:49px;height:49px;border:2px solid var(--ink);font-family:var(--font-display);background:var(--yellow)}.thumb.iron{background:#EC6956;font-size:1.7rem}.thumb.snake{background:#78D69B;font-size:1.5rem}.thumb.puzzle{background:#E3C2FD;font-size:.8rem}.sheet-footer{max-width:1280px;margin:0 auto;padding:23px clamp(16px,3.5vw,34px) 38px;display:flex;justify-content:space-between;gap:14px;border-top:3px solid var(--ink);font-size:.72rem;font-weight:700;letter-spacing:.05em}.sheet-footer a:hover{text-decoration:underline}
@media(max-width:1040px){.page-grid{grid-template-columns:minmax(0,1fr);max-width:790px}.sidebar{padding-top:2px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sidebar-stamp{grid-column:1/-1}.masthead-note{display:none}}@media(max-width:560px){.masthead-inner{gap:13px;padding:16px}.brand-mark{font-size:1.1rem}.brand-orbit,.brand-arcade{padding:9px}.shelf-link{font-size:.7rem;padding:9px 10px}.page-grid{padding:16px 11px 40px;gap:16px}.machine{padding:6px;border-radius:13px;box-shadow:5px 5px 0 var(--ink)}.machine-rim{font-size:.54rem;line-height:1.2;padding:7px 6px 10px}.machine:before,.machine:after{display:none}.machine-plate{padding:8px}.machine-title{padding-bottom:13px}.machine-title h1{font-size:clamp(1.4rem,6.2vw,2.25rem)}.machine-title .title-sub{font-size:.56rem}.serial{font-size:.52rem}.screen-hud{gap:4px;margin-bottom:9px}.hud-cell{padding:5px 4px 4px;border-width:2px}.hud-cell small{font-size:.43rem}.hud-cell strong{font-size:clamp(.63rem,2.7vw,.97rem)}.hud-cell:last-child strong{font-size:.59rem;line-height:1.8}.crt-housing{padding:5px;border-width:3px}.crt-topline,.crt-bottomline{font-size:.48rem}.game-screen{border-width:2px}.machine-controls{padding-top:13px;gap:7px;align-items:center}.control-label{font-size:.52rem;margin-bottom:5px}.mini-note{display:none}.direction-pair,.control-buttons{gap:7px}.direction-button{width:45px;height:44px;font-size:1rem}.round-action{width:46px;height:46px;font-size:.71rem}.square-action{width:39px;height:44px;font-size:.93rem}.round-action span,.square-action span{font-size:.41rem}.machine-footer{font-size:.43rem;padding:10px 5px 2px}.overlay-card{padding:13px 10px;box-shadow:4px 4px 0 var(--ink)}.overlay-top{font-size:.47rem}.overlay-star{font-size:1.7rem}.overlay-kicker{font-size:.54rem}.overlay-card h2{font-size:clamp(1.3rem,6.4vw,2.1rem)}.overlay-card p{font-size:.65rem;margin-bottom:12px}.big-button{min-height:38px;font-size:.74rem}.overlay-help{font-size:.45rem;margin-top:10px}.manual-card{padding:20px}.sidebar{grid-template-columns:1fr}.sidebar-stamp{grid-column:auto}.side-card h2{font-size:1.14rem}.sheet-footer{flex-wrap:wrap;font-size:.58rem}.sheet-footer span:last-child{display:none}}@media(max-width:365px){.machine-title h1{font-size:1.26rem}.machine-rim span:last-child{display:none}.direction-button{width:39px;height:40px}.round-action{width:42px;height:42px}.square-action{width:36px;height:40px}.hud-cell small{font-size:.4rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

:root{--player-max:1180px}
.masthead-inner{max-width:1500px;padding-block:11px}
.page-grid{max-width:1500px;grid-template-columns:minmax(0,1fr) 240px;gap:20px;padding-top:16px;padding-bottom:35px}
.top-actions{margin-bottom:10px}
.action-link{min-height:36px;padding:5px 11px}
.machine{padding:7px;border-radius:13px;box-shadow:6px 6px 0 var(--ink)}
.machine:before,.machine:after{display:none}
.machine-rim{padding:3px 9px 7px}
.machine-plate{display:grid;grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:auto auto minmax(0,1fr);gap:9px 13px;padding:12px}
.machine-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:0;gap:12px;flex-wrap:wrap}
.machine-title h1{font-size:clamp(1.35rem,2.6vw,2.4rem);margin:0}
.machine-title .serial,.machine-title .title-sub{font-size:.57rem}
.screen-hud{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;gap:7px}
.hud-cell{padding:5px 9px 4px}
.hud-cell strong{font-size:clamp(.85rem,1.7vw,1.35rem)}
.crt-housing{grid-column:1;grid-row:3;min-width:0;padding:7px}
.crt-topline,.crt-bottomline{font-size:.55rem;padding-bottom:5px}
.crt-bottomline{padding:5px 3px 0}
.game-screen{height:min(64vh,650px);min-height:340px;aspect-ratio:auto;display:flex;align-items:center;justify-content:center}
.game-screen canvas{width:auto;height:100%;max-width:100%;aspect-ratio:4/5;object-fit:contain}
.game-overlay{inset:0}
.overlay-card{max-width:min(380px,95%);padding:12px 17px 15px}
.overlay-card h2{font-size:clamp(1.35rem,2.6vw,2.2rem)}
.overlay-card p{font-size:.75rem;margin-bottom:11px}
.overlay-star{display:none}
.machine-controls{grid-column:2;grid-row:3;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:23px;padding:10px 2px}
.control-left,.control-right{width:100%}
.direction-pair,.control-buttons{flex-wrap:wrap;gap:9px}
.direction-button{width:66px;height:48px}
.round-action,.square-action{width:60px;height:55px}
.control-label{font-size:.6rem}
.mini-note{font-size:.57rem}
.machine-footer{padding:7px 8px 1px}
.sidebar{padding-top:50px;gap:10px}
.sidebar-stamp{font-size:.73rem}
.side-card{padding:12px}
.other-games a{gap:9px;padding:12px 0}
.other-games a img{display:block;width:52px;height:52px;object-fit:cover;flex-shrink:0;border:2px solid var(--ink);background:#eee}
.other-games b{font-size:.83rem}
.other-games small{font-size:.7rem}
.manual-card{margin-top:22px;padding:20px}
.manual-card h2{margin:6px 0 9px}
.manual-card p{margin:7px 0 0}
.machine:fullscreen{width:100vw;height:100dvh;max-width:none;overflow:hidden;border-radius:0;box-shadow:none;display:flex;flex-direction:column}
.machine:fullscreen .machine-plate{flex:1;min-height:0;grid-template-rows:auto auto minmax(0,1fr)}
.machine:fullscreen .crt-housing{min-height:0;display:flex;flex-direction:column}
.machine:fullscreen .game-screen{height:100%;min-height:0;flex:1}
.machine:fullscreen .game-screen canvas{max-height:100%;max-width:100%}
@media(max-width:1100px){.page-grid{grid-template-columns:minmax(0,1fr) 205px;gap:14px}.machine-plate{grid-template-columns:minmax(0,1fr) 155px}.game-screen{height:min(60vh,590px)}.direction-button{width:56px}.round-action,.square-action{width:53px;height:51px}}
@media(max-width:780px){.page-grid{grid-template-columns:minmax(0,1fr);max-width:740px}.sidebar{padding-top:5px;display:block}.other-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.other-games .card-head{grid-column:1/-1}.game-screen{height:min(62vh,610px)}.machine-plate{grid-template-columns:minmax(0,1fr) 160px}}
@media(max-width:540px){.page-grid{padding:10px 9px 30px}.machine-plate{display:flex;flex-direction:column;gap:8px;padding:7px}.machine-title{display:block}.machine-title h1{font-size:1.6rem}.machine-title .serial,.machine-title .title-sub{display:none}.screen-hud{width:100%}.game-screen{height:auto;min-height:0;aspect-ratio:4/5}.game-screen canvas{width:100%;height:100%}.machine-controls{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:7px 2px;gap:10px}.control-label,.mini-note{display:none}.control-buttons{justify-content:flex-end}.direction-button{width:43px;height:42px}.round-action,.square-action{width:44px;height:43px}.round-action span,.square-action span{font-size:.4rem}.other-games{grid-template-columns:1fr}.machine:fullscreen .machine-plate{display:flex}.machine:fullscreen .game-screen{height:auto;min-height:0;flex:1;aspect-ratio:auto}.machine:fullscreen .game-screen canvas{width:auto;height:100%;max-width:100%}}
