:root{color-scheme:light;background:#fff}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fff;overscroll-behavior:none}#game-stage{position:fixed;inset:0;background:#fff;touch-action:none;outline:none;-webkit-tap-highlight-color:transparent}#game-stage>canvas{position:absolute!important;inset:0;display:block;width:100%!important;height:100%!important;image-rendering:auto}.loading{position:fixed;inset:0;display:grid;place-items:center;background:#fff;z-index:2;pointer-events:none}.loading-track{width:min(160px,36vw);height:3px;background:#ededed;overflow:hidden;border-radius:2px}#loading-fill{width:100%;height:100%;background:#e8bb3f;transform:scaleX(0);transform-origin:left center;transition:transform .12s linear}.loading[data-error] #loading-fill{background:#c88364;transform:scaleX(1)!important}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){#loading-fill{transition:none}}.game-controls{position:fixed;z-index:1;bottom:max(8px,env(safe-area-inset-bottom));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));display:flex;justify-content:center;align-items:center;gap:16px;color:#938d83;font:12px/1.6 system-ui,sans-serif;pointer-events:none;-webkit-user-select:none;user-select:none}.control-hint{margin:0;text-align:center;text-wrap:balance}.touch-hint{display:none}@media(pointer:coarse){.mouse-hint{display:none}.touch-hint{display:inline}}:root[data-input-mode=mouse] .mouse-hint{display:inline}:root[data-input-mode=mouse] .touch-hint{display:none}:root[data-input-mode=touch] .mouse-hint{display:none}:root[data-input-mode=touch] .touch-hint{display:inline}#restart{display:flex;align-items:center;justify-content:center;flex:0 0 auto;gap:5px;min-width:52px;min-height:44px;padding:0 6px;border:0;border-radius:8px;color:#81796e;background:transparent;font:inherit;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}#restart svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}@media(hover:hover){#restart:hover{color:#534c42;background:#f7f5f0}}#restart:focus-visible{outline:2px solid #e8bb3f;outline-offset:2px}@media(max-width:480px){.game-controls{gap:8px;font-size:11px}}
