:root{--fw-sky:#ffe0ae;--fw-ink:#2b2d42;--fw-cream:#fff8ea;--fw-teal:#2fb5a4;--fw-teal-edge:#1d8273;--fw-orange:#ff8a1f;--fw-orange-edge:#c25d05;--fw-blue:#3f7fd8;--fw-blue-edge:#2a5aa3;--fw-yellow:#ffc21a;--fw-yellow-edge:#c48f00;--fw-green:#2fd27a;--fw-green-edge:#189a52;--fw-pad:clamp(64px, 9.5vmin, 84px);--fw-font:"Bungee", "Arial Rounded MT Bold", system-ui, sans-serif}*{box-sizing:border-box}body{background:var(--fw-sky);color:var(--fw-ink);margin:0}.fw-page{font-family:var(--fw-font);user-select:none;-webkit-touch-callout:none;touch-action:manipulation;position:fixed;inset:0;overflow:hidden}.fw-stage{position:absolute;inset:0}.fw-stage canvas{display:block}.fw-btn{--face:var(--fw-cream);--edge:#c9b38c;--glyph:var(--fw-ink);border:3px solid var(--fw-ink);background:var(--face);min-width:64px;min-height:64px;color:var(--glyph);font:inherit;box-shadow:inset 0 -6px 0 #00000024, inset 0 4px 0 #ffffff73, 0 6px 0 var(--fw-ink);cursor:pointer;border-radius:12px;place-items:center;padding:0;text-decoration:none;transition:translate 80ms,box-shadow 80ms,opacity .2s;display:grid}.fw-btn svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:square;stroke-linejoin:miter;width:58%;height:58%}.fw-btn:active:not(:disabled){box-shadow:inset 0 -6px 0 #00000024, inset 0 4px 0 #ffffff73, 0 1px 0 var(--fw-ink);translate:0 5px}.fw-btn:focus-visible{outline:4px solid var(--fw-blue);outline-offset:3px}.fw-btn:disabled{opacity:.45;cursor:default}.fw-btn--round{width:64px;height:64px}.fw-top{top:max(14px, env(safe-area-inset-top));right:max(16px, env(safe-area-inset-right));left:max(16px, env(safe-area-inset-left));pointer-events:none;justify-content:space-between;align-items:flex-start;gap:12px;display:flex;position:absolute}.fw-top>*{pointer-events:auto}.fw-status{align-items:stretch;gap:10px;display:flex}.fw-level{grid-auto-flow:column;gap:8px;padding:0 14px;font-size:2.2rem;line-height:1}.fw-level__stars{gap:1px;display:flex}.fw-level__stars .fw-star{width:20px;height:20px}.fw-count{border:3px solid var(--fw-ink);background:#fff8ead1;border-radius:12px;align-items:center;gap:6px;padding:0 14px;font-size:1.7rem;display:flex;box-shadow:0 6px #2b2d4259}.fw-count span{color:#9a7a2c;font-size:1.25rem}.fw-count .fw-star{width:22px;height:22px}.fw-crate-icon{fill:#dc9a52;stroke:#9c5f2c;stroke-width:2.5px;width:28px;height:28px}.fw-star{fill:#2b2d422e;stroke:#2b2d4259;stroke-width:1.5px;stroke-linejoin:round}.fw-star.is-on{fill:#ffd21f;stroke:#b07800}.fw-tools{bottom:max(18px, env(safe-area-inset-bottom));left:max(16px, env(safe-area-inset-left));grid-template-columns:var(--fw-pad) var(--fw-pad);gap:12px;display:grid;position:absolute}.fw-hint{--face:var(--fw-yellow);height:var(--fw-pad)}.fw-reset{--face:var(--fw-blue);--glyph:#fff;height:var(--fw-pad)}.fw-undo{--face:var(--fw-orange);--glyph:#fff;height:calc(var(--fw-pad) * 1.25);grid-column:span 2}.fw-undo svg{stroke-width:3.4px;width:46%;height:72%}.fw-undo.is-nudge{animation:.9s ease-in-out infinite fw-nudge}@keyframes fw-nudge{0%,to{box-shadow:inset 0 -6px 0 #00000024, 0 6px 0 var(--fw-ink), 0 0 0 0 #ff8a1fb3;scale:1}50%{box-shadow:inset 0 -6px 0 #00000024, 0 6px 0 var(--fw-ink), 0 0 0 14px #ff8a1f00;scale:1.08}}.fw-pad{right:max(16px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));grid-template:repeat(3, var(--fw-pad)) / repeat(3, var(--fw-pad));gap:6px;display:grid;position:absolute}.fw-pad .fw-btn{--face:var(--fw-teal);--glyph:#fff}.fw-pad .fw-btn svg{stroke-width:3.6px}.fw-pad__up{grid-area:1/2}.fw-pad__left{grid-area:2/1}.fw-pad__right{grid-area:2/3}.fw-pad__down{grid-area:3/2}.fw-pad__right svg{rotate:90deg}.fw-pad__down svg{rotate:180deg}.fw-pad__left svg{rotate:270deg}.fw-pad .fw-btn.is-hint{--face:var(--fw-green);animation:1s ease-in-out infinite fw-glow}@keyframes fw-glow{50%{scale:1.1}}.fw-veil{background:#ffe0ae8c;place-items:center;padding:16px;animation:.3s ease-out fw-fade;display:grid;position:absolute;inset:0}@keyframes fw-fade{0%{opacity:0}}.fw-card{border:4px solid var(--fw-ink);background:var(--fw-cream);box-shadow:inset 0 -8px 0 #00000014, 0 10px 0 var(--fw-ink);border-radius:18px;justify-items:center;gap:22px;padding:26px 28px 30px;animation:.45s cubic-bezier(.3,1.5,.5,1) fw-drop;display:grid}@keyframes fw-drop{0%{translate:0 -40px;scale:.9}}.fw-card__stars{gap:6px;display:flex}.fw-card__stars .fw-star{width:clamp(70px,14vmin,110px);height:auto}.fw-card__stars .fw-star.is-on{animation:.5s cubic-bezier(.3,1.6,.5,1) backwards fw-pop}.fw-card__stars .fw-star:nth-child(2){animation-delay:.25s}.fw-card__stars .fw-star:nth-child(3){animation-delay:.5s}@keyframes fw-pop{0%{rotate:-30deg;scale:0}}.fw-card__actions{align-items:center;gap:16px;display:flex}.fw-next{--face:var(--fw-green);--glyph:#fff;width:112px;height:88px;animation:1.4s ease-in-out infinite fw-glow}.fw-next svg{fill:currentColor;stroke-linejoin:round}.fw-picker{max-width:100%;max-height:100%;position:relative;overflow:auto}.fw-picker__close{justify-self:end}.fw-picker__grid{grid-template-columns:repeat(5,92px);gap:14px;padding-bottom:8px;display:grid}.fw-tile{align-content:center;gap:2px;height:92px;font-size:2rem;line-height:1}.fw-tile.is-current{--face:#c4f2d6}.fw-tile:disabled{--face:#d9c9a6;opacity:.6}@media (width<=620px){.fw-picker__grid{grid-template-columns:repeat(3,84px)}.fw-tile{height:84px}}@media (width<=460px){.fw-count{display:none}}@media (prefers-reduced-motion:reduce){.fw-undo.is-nudge,.fw-pad .fw-btn.is-hint,.fw-next,.fw-card,.fw-card__stars .fw-star.is-on{animation:none}}
