:root{--navy:#141b33;--navy-2:#1f2a4d;--snow:#f4f7fb;--candy-red:#e2384d;--mint:#3fbf7f;--gold:#f6c453;--ink:#0d1124;--font:"Trebuchet MS", "Segoe UI", system-ui, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;color:var(--snow);font-family:var(--font);background:#05070f;margin:0;overflow:hidden}body{justify-content:center;align-items:center;display:flex}#stage{background:var(--navy);position:relative;overflow:hidden}.game-canvas{image-rendering:pixelated;image-rendering:crisp-edges;display:block}.ui{pointer-events:none;font-size:calc(16px * var(--ui-scale,1));position:absolute;inset:0}.ui>*{pointer-events:auto}.ui [hidden]{display:none!important}.btn{font:inherit;background:var(--candy-red);color:#fff;cursor:pointer;border:0;border-radius:.6em;padding:.55em 1.4em;font-weight:700;box-shadow:0 .25em #8f1a2a}.btn:hover{filter:brightness(1.1)}.btn:disabled{cursor:default;filter:none;background:#5b6075;box-shadow:0 .25em #34384a}.btn-big{font-size:1.6em}.btn-ghost{background:var(--navy-2);box-shadow:0 .25em #0b1022}.title-screen{text-align:center;background:radial-gradient(#141b338c,#05070fe6);flex-direction:column;justify-content:center;align-items:center;gap:1.2em;display:flex;position:absolute;inset:0}.title-logo{flex-direction:column;line-height:.95;display:flex}.title-candy{letter-spacing:.02em;background:repeating-linear-gradient(135deg, #fff 0 .35em, var(--candy-red) .35em .7em);color:#0000;-webkit-text-stroke:.04em #fff;filter:drop-shadow(0 .08em #8f1a2a);-webkit-background-clip:text;background-clip:text;font-size:4.2em;font-weight:900}.title-cartel{color:var(--gold);text-shadow:0 .08em #7a5410;font-size:3.4em;font-weight:900}.title-studio{opacity:.8;font-style:italic}.title-buttons{gap:1em;margin-top:1em;display:flex}.title-hint{opacity:.6;font-size:.85em;position:absolute;bottom:1.2em}.cutscene{z-index:50;background:#000;position:absolute;inset:0}.cutscene-canvas{width:100%;height:100%;image-rendering:pixelated;display:block}.cutscene-text{text-align:center;text-shadow:0 .1em .2em #000;position:absolute;bottom:6%;left:8%;right:8%}.cutscene-caption{font-size:1.5em;line-height:1.35}.cutscene-caption:empty{display:none}.cutscene-speaker{color:var(--gold);margin-bottom:.2em;font-size:1.1em;font-weight:700}.cutscene-skip{position:absolute;top:1.2em;right:1.5em}.hud{pointer-events:none;position:absolute;inset:0}.hud-left{flex-direction:column;gap:.5em;display:flex;position:absolute;top:1em;left:1.2em}.hud-right{flex-direction:column;align-items:flex-end;gap:.4em;display:flex;position:absolute;top:1em;right:1.2em}.hud-row{gap:.6em;display:flex}.cane{background:#0a0e1eb3;border:.15em solid #fff;border-radius:.6em;height:1.1em;transition:width .3s;overflow:hidden;box-shadow:0 .15em #0006}.cane-fill{background:repeating-linear-gradient(135deg, #fff 0 .45em, var(--candy-red) .45em .9em);height:100%;transition:width .15s}.cane-fill.low{filter:saturate(1.6)brightness(.95);animation:.8s infinite alternate pulse}@keyframes pulse{to{opacity:.55}}.hud-weapon,.hud-cocoa,.hud-candy,.hud-prompt{text-shadow:0 .08em #000;background:#0a0e1eb8;border-radius:.5em;padding:.2em .6em;font-weight:700}.hud-cocoa{color:#f3c79b}.hud-candy{color:var(--gold);font-size:1.5em}.hud-candy:before{content:"";background:repeating-conic-gradient(var(--candy-red) 0 45deg, #fff 45deg 90deg);vertical-align:-.05em;border-radius:50%;width:.8em;height:.8em;margin-right:.35em;display:inline-block}.hud-bells{gap:.2em;display:flex}.bell{display:inline-block}.bell svg{fill:#ffffff2e;stroke:#00000080;stroke-width:1px;width:1.6em;height:1.6em}.bell.on svg{fill:var(--gold);stroke:#fff3c4}.bell.on{will-change:transform;animation:.5s infinite alternate ring}@keyframes ring{0%{transform:rotate(-10deg)}to{transform:rotate(10deg)}}.hud-prompt{font-size:1.1em;position:absolute;bottom:12%;left:50%;transform:translate(-50%)}.hit-flash{display:none;position:absolute;inset:0;box-shadow:inset 0 0 6em 2em #e2384dbf}.hit-flash.on{display:block}.hud-frozen{color:#bfefff;text-shadow:0 0 .3em #5fd0ff,0 .08em #164a6b;font-size:2.6em;font-weight:900;position:absolute;top:35%;left:50%;transform:translate(-50%)}.shop{z-index:40;background:#05070f99;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.shop-panel{background:#1b2240;border:.2em solid #f4f7fb;border-radius:1em;width:min(64em,92%);max-height:90%;padding:1em 1.4em;overflow:auto;box-shadow:0 .5em #0006}.shop-head{align-items:center;gap:1em;display:flex}.shop-title{color:var(--gold);flex:1;font-size:1.8em;font-weight:900}.shop-candy{color:var(--gold);font-size:1.4em;font-weight:800}.shop-tabs{gap:.4em;margin:.8em 0;display:flex}.shop-tab{font:inherit;color:#c9d3ef;cursor:pointer;background:#2b3563;border:0;border-radius:.5em .5em 0 0;padding:.4em 1.2em;font-weight:700}.shop-tab[aria-selected=true]{background:var(--candy-red);color:#fff}.shop-grid{grid-template-columns:repeat(auto-fill,minmax(16em,1fr));gap:.7em;display:grid}.shop-sub{letter-spacing:.08em;text-transform:uppercase;opacity:.7;margin:1em 0 .4em;font-size:.85em;font-weight:800}.shop-item{background:#26305a;border-radius:.7em;flex-direction:column;gap:.35em;padding:.7em .9em;display:flex}.shop-item.greyed{opacity:.6}.shop-item-head{justify-content:space-between;align-items:center;display:flex}.shop-item-name{font-size:1.1em;font-weight:800}.shop-item-text{opacity:.85;font-size:.9em}.shop-item-next{color:#7cf3c6;font-size:.85em}.shop-item-actions{align-items:center;gap:.6em;margin-top:auto;display:flex}.price{color:var(--gold);font-weight:800}.price.cant-afford{color:#ff6b7d}.tag{background:#3a4577;border-radius:.4em;padding:.15em .6em;font-size:.85em;font-weight:800}.tag.owned{background:#2f7a4b}.tag.max{background:var(--gold);color:#3a2a00}.pips{gap:.2em;display:flex}.pips i{background:#3a4577;border-radius:50%;width:.6em;height:.6em}.pips i.on{background:var(--gold)}.btn-small{padding:.3em .9em;font-size:.9em}.btn:focus-visible{outline:.15em solid var(--gold);outline-offset:.15em}.shop-message{color:#ffd36b;min-height:1.4em;margin-top:.8em}.confirm{background:#0a0e1eeb;border:.15em solid #fff;border-radius:.8em;padding:1em 1.6em}.mission-toast{z-index:60;border:.12em solid var(--gold);text-align:center;pointer-events:none;background:#0a0e1ee0;border-radius:.7em;max-width:70%;padding:.5em 1.1em;font-weight:700;position:absolute;top:14%;left:50%;transform:translate(-50%)}.mission-objective{text-align:center;pointer-events:none;background:#0a0e1eb8;border-radius:.6em;max-width:50%;padding:.35em 1em;position:absolute;top:1em;left:50%;transform:translate(-50%)}.objective-text{color:#fff;font-weight:800}.objective-text:before{content:"▶ ";color:var(--candy-red)}.objective-hint{color:#c9d3ef;font-size:.85em}.objective-hint:empty{display:none}.map-screen{z-index:45;background:#05070fb3;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.map-panel{text-align:center;background:#1b2240;border:.2em solid #f4f7fb;border-radius:1em;padding:1em 1.2em}.map-head{justify-content:space-between;align-items:baseline;gap:2em;margin-bottom:.6em;display:flex}.map-title{color:var(--gold);font-size:1.5em;font-weight:900}.map-clock{font-size:1.2em;font-weight:800}.map-canvas{width:48em;image-rendering:pixelated;border-radius:.4em}.map-info{margin-top:.5em}.map-keys{opacity:.6;margin-top:.3em;font-size:.85em}.side-jobs{z-index:45;background:#05070f80;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.side-title{color:var(--gold);text-align:center;margin:0 0 .6em;font-size:1.5em;font-weight:900}.side-note{opacity:.7;text-align:center;font-size:.85em}.weather-fog{width:100%;height:100%;image-rendering:pixelated;position:absolute;inset:0;pointer-events:none!important}.ui.cutscene-on .mission-toast{top:42%}.pause-menu{z-index:48;background:#05070f99;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.pause-buttons{flex-direction:column;align-items:stretch;gap:.6em;margin-bottom:1em;display:flex}.controls{grid-template-columns:max-content 1fr;gap:.25em 1em;margin:0;font-size:.9em;display:grid}.controls dt{color:var(--gold);font-weight:800}.controls dd{margin:0}.idle-hint{pointer-events:none;color:#ffe9a8;background:#0a0e1e99;border-radius:.6em;padding:.3em 1em;font-size:.9em;position:absolute;top:1em;left:50%;transform:translate(-50%)}.hud-p2{align-items:center;gap:.4em;font-weight:800;display:flex}.p2-tag{color:#0b1a10;background:#3fbf7f;border-radius:.3em;padding:0 .35em}.cane.small{width:7em;height:.75em}.cane-fill.p2{background:repeating-linear-gradient(135deg,#fff 0 .4em,#3fbf7f .4em .8em)}.p2-text{text-shadow:0 .08em #000;font-size:.85em}.title-controls{flex-direction:column;align-items:center;gap:.5em;margin-top:1em;display:flex}.title-ask{opacity:.85}.title-presets,.pause-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5em;display:flex}.btn[aria-pressed=true]{background:var(--mint);box-shadow:0 .25em #1d6b44}.controls-text{opacity:.85;max-width:34em;margin:.6em 0;font-size:.85em}.hud-buttons{pointer-events:auto;gap:.5em;display:flex;position:absolute;bottom:1.2em;right:1.2em}.hud .hud-buttons button{pointer-events:auto}
