:root{--shell:#dc7028;--shell-light:#f4a052;--shell-dark:#8a3c1a;--page-background:#2f2514;--panel-background:#512c1a;--panel-border:#91512d;--button-background:#763d20;--button-border:#b66b3a;--text:#fff1df;--text-muted:#e4c5ac;--lcd-background:#a9ae91;--focus:var(--shell-light);color:var(--text);background:var(--page-background);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}main{max-width:780px;margin:auto;padding:24px 18px 40px}h1{margin:8px 0;font-size:clamp(1.8rem,6vw,2.7rem)}h1 span{color:var(--shell-light)}header p,.help{color:var(--text-muted);line-height:1.5}.eyebrow{letter-spacing:.14em;font-size:.75rem}.loader{background:var(--panel-background);border:1px solid var(--panel-border);border-radius:12px;margin:20px 0;padding:16px}button,.file{font:inherit;border:1px solid var(--button-border);background:var(--button-background);color:#fff;cursor:pointer;border-radius:8px;min-height:46px;padding:10px 16px}button:disabled{opacity:.45;cursor:default}button:focus-visible,.file:focus-within{outline:3px solid var(--focus);outline-offset:3px}button.held{background:var(--shell);color:#1e120d}.file{margin:8px;display:inline-block;position:relative}.file input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.toolbar{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.screen{background:var(--lcd-background);border:10px solid var(--shell);box-shadow:0 0 0 1px var(--shell-light);border-radius:8px;justify-content:center;display:flex;position:relative;overflow:hidden}canvas{object-fit:contain;aspect-ratio:960/1266;background:var(--lcd-background);width:100%;max-height:65svh;display:block}.controls{justify-content:space-between;align-items:center;gap:30px;padding:20px 8px;display:flex}[data-button]{touch-action:none;-webkit-user-select:none;user-select:none}.dpad{grid-template-rows:repeat(2,54px);grid-template-columns:repeat(3,54px);gap:5px;display:grid}.dpad [data-button=up]{grid-column:2}.dpad [data-button=left]{grid-area:2/1}.dpad [data-button=down]{grid-area:2/2}.dpad [data-button=right]{grid-area:2/3}.jump{background:var(--shell);color:#23150e;border-color:var(--shell-light);border-radius:50%;min-width:92px;min-height:92px}.help{font-size:.85rem}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem}details{color:var(--text-muted)}button[aria-pressed=true]{background:var(--shell-dark)}.playing main{padding-top:8px}.playing header p,.playing .loader{display:none}.playing h1{margin:0 0 8px;font-size:1.3rem}@media (width<=400px){main{padding:14px 10px}.toolbar{gap:5px}.toolbar button{padding:8px 10px}.file{margin-left:0}}@media (width<=600px){.playing .toolbar{gap:4px;margin-bottom:8px}.playing .toolbar button{min-height:44px;padding:8px;font-size:.85rem}.playing canvas{max-height:calc(100svh - 250px)}.playing .controls{gap:16px;padding:12px 4px}}.pause-frame{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}@media (orientation:landscape) and (height<=500px){.playing #player{grid-template-columns:minmax(0,1fr) 180px;gap:8px 14px;display:grid}.playing .toolbar,.playing .help,.playing details{grid-column:1/-1}.playing .toolbar{margin-bottom:0}.playing .screen{grid-area:2/1}.playing canvas{max-height:calc(100svh - 125px)}.playing .controls{flex-direction:column;grid-area:2/2;justify-content:center;gap:10px;padding:0}}.photo-artwork{--cabinet-width:min(100%, 63.75svh)}.photo-artwork main{padding-block:8px}.playing.photo-artwork main{flex-direction:column;justify-content:center;min-height:100svh;display:flex}.photo-artwork .screen{width:var(--cabinet-width);box-shadow:none;background:0 0;border:0;border-radius:0;margin-inline:auto}.photo-artwork .console{flex:none;width:106.383%;margin-block:-8.1% -11%}.photo-artwork canvas{aspect-ratio:2906/3875;width:100%;max-height:none}.photo-artwork .console:after{content:"";z-index:1;pointer-events:none;background:var(--page-background);position:absolute;inset:0;-webkit-mask:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20750%201000'%20preserveAspectRatio='none'%3e%3c!--%20The%20outline%20is%20inset%20by%201.9%20viewBox%20units,%20about%201%20CSS%20pixel%20on%20a%20390px%20phone.%20--%3e%3cdefs%3e%3cpolygon%20id='outline'%20points='%2041.66,82.62%2042.95,80.9%20339.32,80.9%20340.13,62.54%20341.6,59.92%20405.7,60.89%20407.67,62.86%20409.26,80.89%20707.05,81.9%20709.09,84.61%20700.08,468.71%20704.63,473.76%20705.33,491.54%20700.83,499.54%20717.34,912.9%20716.71,917.1%20714.72,919.1%20411.97,918.11%20410.47,903.12%20330.56,902.08%20329.06,915.08%2030.85,912.11%2027.4,908.27%2027.4,902.04%2046.17,498.62%2042.4,490.58%2042.4,472.57%2047.66,464.55%20'/%3e%3cmask%20id='outside'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='750'%20height='1000'%3e%3crect%20width='750'%20height='1000'%20fill='white'/%3e%3c!--%20Cut%20the%20feathered%20silhouette%20out%20of%20the%20static%20tabletop%20cover.%20--%3e%3cg%20fill='black'%20stroke='black'%20stroke-linejoin='round'%3e%3cuse%20href='%23outline'%20stroke-width='3'%20opacity='0.12'/%3e%3cuse%20href='%23outline'%20stroke-width='1.8'%20opacity='0.25'/%3e%3cuse%20href='%23outline'%20stroke-width='0.8'%20opacity='0.45'/%3e%3cuse%20href='%23outline'%20stroke='none'/%3e%3c/g%3e%3c/mask%3e%3c/defs%3e%3crect%20width='750'%20height='1000'%20fill='white'%20mask='url(%23outside)'/%3e%3c/svg%3e") 50%/100% 100% no-repeat;mask:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20750%201000'%20preserveAspectRatio='none'%3e%3c!--%20The%20outline%20is%20inset%20by%201.9%20viewBox%20units,%20about%201%20CSS%20pixel%20on%20a%20390px%20phone.%20--%3e%3cdefs%3e%3cpolygon%20id='outline'%20points='%2041.66,82.62%2042.95,80.9%20339.32,80.9%20340.13,62.54%20341.6,59.92%20405.7,60.89%20407.67,62.86%20409.26,80.89%20707.05,81.9%20709.09,84.61%20700.08,468.71%20704.63,473.76%20705.33,491.54%20700.83,499.54%20717.34,912.9%20716.71,917.1%20714.72,919.1%20411.97,918.11%20410.47,903.12%20330.56,902.08%20329.06,915.08%2030.85,912.11%2027.4,908.27%2027.4,902.04%2046.17,498.62%2042.4,490.58%2042.4,472.57%2047.66,464.55%20'/%3e%3cmask%20id='outside'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='750'%20height='1000'%3e%3crect%20width='750'%20height='1000'%20fill='white'/%3e%3c!--%20Cut%20the%20feathered%20silhouette%20out%20of%20the%20static%20tabletop%20cover.%20--%3e%3cg%20fill='black'%20stroke='black'%20stroke-linejoin='round'%3e%3cuse%20href='%23outline'%20stroke-width='3'%20opacity='0.12'/%3e%3cuse%20href='%23outline'%20stroke-width='1.8'%20opacity='0.25'/%3e%3cuse%20href='%23outline'%20stroke-width='0.8'%20opacity='0.45'/%3e%3cuse%20href='%23outline'%20stroke='none'/%3e%3c/g%3e%3c/mask%3e%3c/defs%3e%3crect%20width='750'%20height='1000'%20fill='white'%20mask='url(%23outside)'/%3e%3c/svg%3e") 50%/100% 100% no-repeat}.cabinet-controls,.photo-artwork .controls{display:none}.photo-artwork .cabinet-controls{z-index:2;pointer-events:none;width:100%;height:100%;display:block;position:absolute;top:0;left:50%;transform:translate(-50%)}.console-poster{object-fit:fill;pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;inset:0}.console-poster[hidden],.boot-status{display:none}.booting .boot-status,.boot-error .boot-status{z-index:3;text-align:center;background:#321b12e6;border-radius:4px;width:46%;padding:8px;font-size:clamp(10px,2cqw,14px);display:block;position:absolute;top:28%;left:27%}.boot-status p{margin:0}.boot-status button{min-height:32px;font-size:inherit;margin-top:8px;padding:4px 10px}.cabinet-button{color:#0000;pointer-events:auto;touch-action:none;background:0 0;border:0;border-radius:30%;min-width:0;min-height:0;padding:0;position:absolute}.cabinet-button.held{background:#ffffff1f;outline:1px solid #fff1df99}.cabinet-button:focus-visible{outline:2px solid var(--shell-light);outline-offset:1px}@media (orientation:portrait) and (width<=600px){.photo-artwork{--cabinet-width:min(100%, 72svh)}.photo-artwork main{padding-inline:4px}}@media (orientation:landscape) and (height<=500px){.photo-artwork{--cabinet-width:min(100%, max(160px, calc((100svh - 96px) * .815)))}.photo-artwork #player{display:block}}.console{width:100%;position:relative;container-type:inline-size}.language-switch{z-index:3;background:#321b12e0;border-radius:7px;gap:2px;padding:3px;display:flex;position:fixed;top:12px;right:12px}.language-switch button{color:#e4c5ac;letter-spacing:.04em;background:0 0;border:0;min-width:30px;min-height:28px;padding:3px 5px;font-size:.7rem}.language-switch button[aria-pressed=true]{background:var(--shell);color:#23150e}.console-help,.touch-hint{display:none}.utility-controls{justify-content:center;gap:6px;margin:8px 0 0;display:flex}.utility-controls button{border-radius:6px;min-height:36px;padding:5px 12px;font-size:.75rem}.photo-artwork .toolbar,.photo-artwork .help{display:none}.playing.photo-artwork header{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.photo-artwork .console-help,.photo-artwork .touch-hint{z-index:2;pointer-events:none;color:#493723;letter-spacing:.025em;text-align:center;white-space:pre-line;text-shadow:none;text-transform:none;filter:blur(min(.055cqw,.35px));opacity:.92;margin:0;font:400 min(2.4cqw,13px)/1.25 Arial,Helvetica,sans-serif;display:block;position:absolute}.photo-artwork .console-help{width:46%;top:49.5%;left:27%}.photo-artwork .touch-hint{width:56%;top:40.6%;left:22%}.photo-artwork details{max-width:var(--cabinet-width);margin:9px auto 0;font-size:.7rem}@media (width<=600px){.utility-controls button{min-height:44px}.language-switch button{min-width:32px;min-height:32px}}canvas:focus-visible{outline:none}.start-hint,.bottom-hint{display:none}.photo-artwork :is(.start-hint,.bottom-hint){color:var(--text);text-align:center;white-space:pre-line;margin:0 auto;font:500 clamp(12px,3vw,14px)/1.25 Arial,Helvetica,sans-serif;display:block}.photo-artwork .start-hint{margin-bottom:6px}.photo-artwork .bottom-hint{margin-top:6px}.playing details{display:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.photo-artwork .language-switch,.photo-artwork .utility-controls{background:0 0;flex-direction:column;gap:.7cqw;width:8.5%;margin:0;padding:0;display:flex;position:absolute;top:15.6%;transform:none}.photo-artwork .language-switch{left:78.75%;right:auto}.photo-artwork .utility-controls{left:12.75%}.photo-artwork .language-switch button,.photo-artwork .utility-controls button{width:100%;min-width:0;height:6.2cqw;min-height:0;box-shadow:none;color:#493723;letter-spacing:.035em;text-transform:uppercase;text-shadow:0 0 .3px #49372333;white-space:nowrap;background:0 0;border:0;border-radius:0;padding:0;font:600 min(1.55cqw,8px)/1.15 Arial,Helvetica,sans-serif;position:relative}.photo-artwork .language-switch button:before,.photo-artwork .utility-controls button:before{content:"";filter:blur(min(.07cqw,.45px));background:linear-gradient(#41413c,#353630);border:1px solid #302b22a6;border-radius:1.5cqw;width:4.1cqw;height:2.2cqw;position:absolute;top:0;left:50%;transform:translate(-50%);box-shadow:inset 0 1px 1px #ffffff17,0 0 .14cqw .25cqw #b97517,0 0 .22cqw .4cqw #63380da6,0 .5cqw .65cqw .1cqw #3d1f086b}.photo-artwork .button-label{filter:blur(min(.055cqw,.35px));opacity:.92;position:absolute;top:3.7cqw;left:50%;transform:translate(-50%)}.photo-artwork .language-switch button[aria-pressed=true]:before,.photo-artwork .utility-controls button[aria-pressed=true]:before{background:linear-gradient(#30312c,#363730);box-shadow:inset 0 1px 1px #0000003d,0 0 .14cqw .25cqw #b97517,0 0 .22cqw .4cqw #63380da6,0 .45cqw .6cqw .1cqw #3d1f0866}@media (pointer:coarse){.cabinet-button{pointer-events:none}.cabinet-button:after,.photo-artwork :is(.language-switch,.utility-controls) button:after{content:"";pointer-events:auto;position:absolute}.cabinet-button:after{inset:var(--touch-inset);clip-path:var(--touch-clip,none)}.photo-artwork :is(.language-switch,.utility-controls) button:after{inset:-.35cqw -4cqw}}
