@font-face{font-family:Pixel;src:url(/assets/pixel.ttf) format("truetype");font-display:swap}*{box-sizing:border-box}html,body{margin:0;background:#141313;color:#eee7d8;font-family:Arial,sans-serif;min-height:100%;overscroll-behavior:none}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffd35b;outline-offset:5px}button:disabled{opacity:.35;cursor:not-allowed}button{color:inherit}#app{max-width:1248px;padding:0 32px;margin:auto}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#eee7d8;font-family:Pixel;font-size:13px;line-height:1.5}.brand-symbol{font-size:23px;color:#fff7df;display:grid;place-items:center;background:#b02f21;border:3px solid #642317;box-shadow:inset 0 0 0 2px #e57c42;width:46px;height:46px}.brand small{display:block;font-family:Arial;font-size:9px;letter-spacing:2.2px;color:#827e76;margin-top:6px}nav{display:flex;gap:10px}.icon-button{height:38px;min-width:40px;background:transparent;border:1px solid #393632;border-radius:4px;font-size:22px;display:flex;align-items:center;justify-content:center;gap:8px}.icon-button:hover{background:#2b2724;border-color:#918470}.icon-button span{font-family:Pixel;font-size:8px;padding-right:5px}.icon-button:first-child{padding:0 12px}#cabinet{position:relative;width:100%;aspect-ratio:16/9;background:#000;border:1px solid #484237;box-shadow:0 12px 55px #0009;overflow:hidden;container-type:inline-size;isolation:isolate}#game,#game canvas{position:absolute!important;inset:0;width:100%!important;height:100%!important;display:block;image-rendering:pixelated}#hud{position:absolute;inset:0 0 auto;z-index:3;display:grid;grid-template-columns:1.1fr 1.3fr 1.2fr .8fr .5fr;padding:2.1% 2.5%;font-family:Pixel;color:#fff;font-size:1.8cqw;line-height:1.55;pointer-events:none;gap:3%}#hud strong{font-weight:400;display:block;font-size:1.7cqw}#hud>div:nth-child(3),#hud>div:nth-child(4){text-align:center}.coin-value,.lives{display:flex;gap:10px;align-items:center;align-self:start}.coin-value img{width:1.9cqw;height:2.8cqw;image-rendering:pixelated}.lives img{width:2cqw;image-rendering:pixelated}.lives strong{white-space:nowrap}.overlay{position:absolute;inset:0;z-index:10}.hidden{display:none!important}.menu{background:#bcaaf4 url(/assets/menu.png) center/100% 100%;z-index:20}.character{position:absolute;top:52%;height:23%;width:18%;background:transparent;border:0;left:26%;border-bottom:3px solid transparent}.character.mukesh{left:55%}.character:hover{background:#ffffff16}.character.selected{border-bottom-color:#49340b}.selector{display:none;position:absolute;left:-4%;bottom:3%;color:#713e00;font-size:25px}.selected .selector{display:block}.menu-actions{position:absolute;bottom:3.5%;left:0;width:100%;display:flex;justify-content:center;align-items:center;gap:20px}.pixel-button{border:2px solid #8c826e;box-shadow:3px 3px #000;background:#252322;color:#f7ebd7;padding:17px 22px;font-family:Pixel;font-size:11px;line-height:1.7;transition:transform .12s,background .12s;white-space:nowrap}.pixel-button.primary{background:#f2c75c;color:#2a200c;border-color:#ffe598;box-shadow:4px 4px #6b421e}.pixel-button:hover{transform:translateY(-2px);background:#38342e}.pixel-button.primary:hover{background:#ffdb7d}.pixel-button:active{transform:translate(2px,2px);box-shadow:none}.pixel-button span{margin-left:14px}.text-button{border:0;background:#151313bd;font-family:Pixel;font-size:9px;padding:13px;color:#eae1ce;line-height:1.7}.text-button:hover{color:#ffd572}.loading{position:absolute;inset:auto 0 1%;text-align:center;font-family:Pixel;font-size:9px;color:#fff;background:#382308}.menu .loading{display:block}kbd{font-family:inherit;font-size:.85em;border:1px solid #706959;border-bottom-width:3px;background:#292722;color:#fff5df;border-radius:3px;padding:6px 7px;display:inline-block;margin:2px}.dark{background:#000d;display:grid;place-items:center;z-index:30}.pause-panel{text-align:center;width:80%;max-height:95%;overflow:auto;display:flex;align-items:center;flex-direction:column;gap:11px;padding:20px}.eyebrow{font-family:Pixel;color:#dfac49;font-size:9px;line-height:1.9;letter-spacing:1px}h2{font-family:Pixel;font-size:28px;line-height:1.65;margin:8px 0 15px}.pause-panel p{margin:5px;font-size:16px;color:#ccc0ad}.pause-panel .small{font-size:12px;color:#9a9081}.pause-panel .pixel-button{min-width:280px}.pause-panel .text-button{background:transparent}.interstitial{background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:25;text-align:center}.interstitial h2{font-size:25px;color:#fff;margin:22px 0 12px}.interstitial p{color:#a59c8e;font-size:16px}.interstitial img{height:66px;image-rendering:pixelated;margin-top:16px}#prompt{position:absolute;z-index:8;bottom:22%;left:50%;transform:translate(-50%);white-space:nowrap;font-family:Pixel;font-size:10px;background:#111d;box-shadow:0 2px #f0d58c;color:#fff;padding:7px 13px}#prompt kbd{background:#efc65c;color:#332209;border-color:#ad8034;font-size:10px}#toast{position:absolute;top:20%;left:50%;transform:translate(-50%);z-index:35;text-align:center;background:#111e;color:#fff;font-family:Pixel;font-size:12px;line-height:1.7;padding:14px 20px;opacity:0;pointer-events:none;max-width:90%;transition:opacity .15s}#toast.visible{opacity:1}.game-meta{display:flex;align-items:center;gap:10px;margin:20px 0 0;color:#a89f90;min-height:30px;font-size:13px}.status-dot{height:6px;width:6px;background:#c99946;border-radius:50%;flex-shrink:0}.game-meta p{margin:0;flex:1;line-height:1.6}.game-meta button{border:0;background:none;color:#aaa08f;font-size:9px;letter-spacing:1px;white-space:nowrap}.game-meta button span{border:1px solid #655d4f;border-radius:50%;padding:2px 5px;margin-left:5px}footer{border-top:1px solid #302b25;margin-top:28px;padding:22px 0 30px;display:flex;justify-content:space-between;font-size:9px;color:#706b61;letter-spacing:1.2px}footer a{color:#a49a89;text-decoration:none}footer a:hover{color:#f2c75c}#touch-controls{display:none;justify-content:space-between;margin-top:16px;gap:12px;touch-action:none;-webkit-user-select:none;user-select:none}#touch-controls button{touch-action:none;background:#2a2622;border:1px solid #61533e;color:#e1c99b;font-family:Pixel;font-size:10px;border-radius:8px;width:52px;height:48px;box-shadow:0 4px #090909}#touch-controls button.held{background:#84622d;transform:translateY(3px);box-shadow:none}.dpad,.action-pad{display:flex;align-items:center;gap:8px}.dpad>div{display:flex;flex-direction:column;gap:5px}.dpad>div button{height:35px}.action-pad .jump{width:70px;height:66px;border-color:#a57a3b;background:#ae7e33;color:#1b150b}.winning-pair{display:flex;align-items:center;gap:14px}.winning-pair img{height:70px;image-rendering:pixelated}.winning-pair span{color:#fb6589;font-size:28px}#final-stats{font-family:Pixel;font-size:10px;color:#e9ba61;line-height:2.4;margin:8px}#chapters-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px;width:100%;max-width:540px}#chapters-list button{border:1px solid #544b3a;padding:12px;background:#23201b;font-size:11px;text-align:left}dialog{background:#1d1b18;border:1px solid #635641;color:#f4e7cb;padding:34px;width:min(610px,92vw);max-height:90dvh;box-shadow:0 20px 100px #000;scrollbar-color:#786142 #211f1c}dialog::backdrop{background:#000c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-size:22px;margin:20px 0}dialog h3{font-family:Pixel;font-size:11px;color:#e5ba68;margin:25px 0 15px}.close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:26px;color:#ccc}.controls-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px;font-size:13px}.controls-grid p{margin:0}.hint,.credits{font-size:13px;line-height:1.8;color:#b4aa98}.hint{font-size:12px;color:#a39784}.credits b{color:#e1d1b4}hr{border:0;border-top:1px solid #453b2d;margin-top:25px}.volume{display:flex;align-items:center;gap:20px;font-family:Pixel;font-size:9px;margin:25px 0}.volume input{flex:1;accent-color:#eab754}dialog .pixel-button{width:100%;margin-top:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#cabinet:fullscreen{width:100vw;height:100dvh;aspect-ratio:auto;display:grid;align-items:center;background:#000}#cabinet:fullscreen #game,#cabinet:fullscreen .overlay{width:min(100vw,177.777dvh)!important;height:min(100dvh,56.25vw)!important;top:50%;left:50%;transform:translate(-50%,-50%)}#cabinet:fullscreen #hud{top:calc((100dvh - min(100dvh,56.25vw))/2);left:calc((100vw - min(100vw,177.777dvh))/2);width:min(100vw,177.777dvh)}@media(pointer:coarse){#touch-controls{display:flex}}@media(max-width:700px){#app{padding:0 12px}.topbar{height:76px}.brand{font-size:10px;gap:9px}.brand-symbol{width:36px;height:36px;font-size:19px}.brand small{font-size:7px;letter-spacing:1px}.icon-button{height:32px;min-width:32px;font-size:18px}nav{gap:6px}.icon-button span{font-size:7px}.menu-actions{gap:10px;bottom:3%}.menu-actions .pixel-button{padding:9px 12px;font-size:7px}.menu-actions .text-button{font-size:6px;padding:7px}#hud{font-size:1.7cqw;gap:2%}.pause-panel{padding:8px;gap:5px}.pause-panel h2{font-size:17px;margin:5px}.pause-panel .pixel-button{padding:9px;min-width:190px;font-size:8px}.pause-panel .text-button{font-size:7px;padding:6px}.pause-panel p{font-size:11px}.eyebrow{font-size:7px}.interstitial h2{font-size:16px;margin:12px}.interstitial p{font-size:11px;margin:5px}.interstitial img{height:40px;margin-top:10px}#prompt{font-size:7px;padding:4px 7px}#prompt kbd{font-size:7px;padding:3px 5px}#toast{font-size:8px;padding:8px 12px}.game-meta{font-size:11px;margin-top:14px}.game-meta button{font-size:8px}footer{font-size:7px;margin-top:24px;letter-spacing:.6px}.winning-pair img{height:38px}.winning-pair span{font-size:18px}#final-stats{font-size:7px;margin:0}.victory h2{font-size:13px}.controls-grid{font-size:11px}dialog{padding:25px}#chapters-list{gap:4px;padding:0}#chapters-list button{font-size:9px;padding:7px}}@media(max-width:370px){#touch-controls button{width:43px}.action-pad{gap:5px}.action-pad .jump{width:56px}.brand small{display:none}}@media(max-height:560px)and (orientation:landscape){#app{max-width:960px;padding:0 12px}.topbar{height:48px}.brand small{display:none}main{position:relative}#cabinet{width:min(100%,calc((100dvh - 100px)*1.777));margin:auto}.game-meta{margin:8px auto;width:min(100%,calc((100dvh - 100px)*1.777))}footer{display:none}#touch-controls{position:fixed;bottom:10px;left:10px;right:10px;z-index:40;pointer-events:none;opacity:.7}#touch-controls button{pointer-events:auto}.dpad{margin-right:auto}.action-pad{margin-left:auto}.icon-button{height:30px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(min-width:701px)and (min-height:561px){#app{width:min(100%,calc((100dvh - 195px)*1.77778 + 64px))}.topbar{height:82px}.game-meta{margin-top:14px}footer{margin-top:16px;padding:17px 0 20px}}@media(max-width:700px){#touch-controls{display:flex}}#story-help{position:absolute;right:2%;bottom:4%;z-index:12;background:#171717b8;color:#fff4d3;padding:8px 10px;font:8px Pixel;pointer-events:auto;border:1px solid #766a52;cursor:pointer}#local-playtests{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0;padding:12px;border:1px dashed #74613e;color:#d4bd8f;font:9px Pixel;line-height:1.7}#local-playtests span{flex:1;min-width:190px;font-size:8px}#local-playtests button{border:1px solid #70603e;background:#29241c;padding:8px 10px;font:9px Pixel;color:#f5ddb1}#local-playtests button:hover{background:#493b26}#local-playtests button:disabled{opacity:.4}.fullscreen-exit{display:none}#cabinet:fullscreen .fullscreen-exit{display:block;position:absolute;top:12%;right:2%;z-index:65;width:40px;height:36px;border:1px solid #a5987c;background:#181511bb;color:#fff;font-size:24px}#cabinet:fullscreen #touch-controls{position:absolute;bottom:max(12px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));z-index:60;pointer-events:none;margin:0;opacity:.85}#cabinet:fullscreen #touch-controls button{pointer-events:auto}@media(max-width:700px){#hud{font-size:clamp(7px,2.2cqw,12px);grid-template-columns:1.1fr 1.1fr .85fr .55fr .45fr;gap:2%}#hud strong{font-size:inherit}.coin-value,.lives{gap:4px}}#prompt{bottom:3%;max-width:92%;width:max-content;white-space:normal;display:flex;align-items:center;gap:10px;padding:9px 14px;border:2px solid #f2c75c;background:#18130bf2;color:#fff7dc;font-size:clamp(9px,1.35cqw,14px);line-height:1.6;text-align:left;box-shadow:3px 3px #000;cursor:default;pointer-events:none}#prompt kbd{flex-shrink:0;font-size:inherit;white-space:nowrap}#prompt.actionable{cursor:pointer;pointer-events:auto}#prompt.actionable:hover{background:#3c2c11}@media(max-width:650px){#prompt{gap:5px;padding:5px 8px;bottom:2%;font-size:10px}#prompt kbd{padding:3px 5px}}
