@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-wght-normal-BzFMHfZw.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:var(--ink);font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#233d33;--muted:#4c6051;--paper:#fffdf6;--accent:#ad442a;--green:#245c49;--line:#dedfd0;-webkit-font-smoothing:antialiased;background:#f5f2e7;font-family:Nunito Variable,sans-serif}*,:before,:after{box-sizing:border-box}body{background-image:radial-gradient(circle,#afa48a35 .8px,#0000 .9px);background-size:15px 15px;min-width:280px;min-height:100vh;margin:0}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance;font-family:Bricolage Grotesque Variable,sans-serif}p{text-wrap:pretty}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,#level-title:focus-visible{outline-offset:3px;outline:3px solid #185d9d}[hidden]{display:none!important}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.masthead{background:#fbf8ee;border-bottom:1px solid #dedacc}.masthead-inner{justify-content:space-between;align-items:center;gap:16px;width:min(1120px,100% - 64px);min-height:76px;margin:auto;display:flex}.brand{white-space:nowrap;letter-spacing:-.045em;align-items:center;gap:11px;font-size:clamp(1.25rem,3vw,1.65rem);font-weight:850;display:flex}.brand em{color:var(--accent);font-style:normal}.brand-icon{background:#245c49;border-radius:12px;flex:0 0 40px;place-items:center;height:40px;display:inline-grid;position:relative;box-shadow:inset 0 -3px #153d30}.brand-icon i{background:#fff0c8;border-radius:5px 5px 4px 4px;width:16px;height:19px;margin-top:-3px;position:relative}.brand-icon i:before{content:"";background:#245c49;border-radius:2px;height:6px;position:absolute;inset:3px 3px auto;box-shadow:inset 4px 0 #34715a}.brand-icon i:after{content:"";border:2px solid #fff0c8;border-top-width:0;height:6px;position:absolute;bottom:-3px;left:3px;right:3px;transform:perspective(4px)rotateX(18deg)}.level-picker{align-items:center;gap:12px;display:flex}.level-picker-label{color:var(--muted);font-size:.85rem;font-weight:850}.level-list{gap:7px;margin:0;padding:0;list-style:none;display:flex}.level-badge{color:#536655;background:#edede2;border:1px solid #d5dacb;border-radius:13px;place-items:center;width:42px;height:42px;font-weight:900;display:grid;position:relative}.level-badge[aria-current]{background:var(--green);color:#fffdf4;border-color:var(--green)}.level-tick{color:#203d31;background:#f0c868;border-radius:50%;width:16px;height:16px;font-size:.69rem;line-height:16px;display:none;position:absolute;top:-5px;right:-5px}.cleared .level-tick{display:block}main{width:min(1120px,100% - 64px);margin:0 auto;padding:38px 0 48px}.loading{padding:24px 0}.loading .button{margin-top:12px}.intro{margin-bottom:26px}.level-number{color:#345743;letter-spacing:.045em;text-transform:uppercase;background:#e6ebd9;border-radius:999px;align-items:center;gap:8px;padding:5px 12px;font-size:.78rem;font-weight:900;display:inline-flex}.level-number:before{content:"";background:#3f7357;border-radius:50%;width:7px;height:7px}.intro h2{letter-spacing:-.058em;width:fit-content;margin-top:7px;font-size:clamp(2.35rem,5.3vw,4.3rem);font-weight:850;line-height:1}.objective{color:var(--muted);margin-top:8px;font-size:clamp(1rem,2.4vw,1.23rem);font-weight:750}.game-layout{grid-template:"board tools""board feedback"1fr/minmax(0,1fr) minmax(286px,320px);align-items:start;gap:14px 22px;display:grid}.panel{background:var(--paper);border:1px solid var(--line);border-radius:23px;box-shadow:0 3px #423e2310,0 9px 23px #46341910}.board-card{grid-area:board;min-width:0;padding:14px}.board-heading{justify-content:space-between;align-items:center;gap:8px;padding:3px 5px 11px;display:flex}.board-heading h3{font-size:1.05rem;font-weight:850}.board-key{color:#42584a;align-items:center;gap:5px;font-size:.8rem;font-weight:850;display:flex}.key-start,.key-goal{color:#fffdf4;background:#2f6957;border-radius:5px;place-items:center;width:19px;height:19px;font-size:.64rem;display:inline-grid}.key-goal{background:#a64b2e;margin-left:7px;font-size:.85rem}.board{--columns:6;--rows:5;aspect-ratio:var(--columns) / var(--rows);isolation:isolate;background:#a4b689;border-radius:11px;position:relative;overflow:hidden}.board canvas,.cells{width:100%;height:100%;position:absolute;inset:0}.cells{grid-template:repeat(var(--rows), minmax(0, 1fr)) / repeat(var(--columns), minmax(0, 1fr));display:grid}.cell{appearance:none;background:0 0;border:0;border-radius:9px;min-width:0;padding:0;position:relative}.cell[aria-disabled=true]{cursor:default}.cell:not([aria-disabled=true]):hover{background:#f7ffe942}.cell:focus-visible{z-index:1;outline-offset:-4px;outline:3px solid #173b58;box-shadow:inset 0 0 0 6px #ffffec}.cell[aria-pressed=true]{box-shadow:inset 0 0 0 3px #2c634c,inset 0 0 0 6px #fff0a9}.cell[aria-pressed=true]:before{content:"✓";color:#fffdf4;background:#245c49;border-radius:50%;place-items:center;width:20px;height:20px;font-size:.75rem;font-weight:900;display:grid;position:absolute;top:5px;right:5px}.cell.problem{box-shadow:inset 0 0 0 3px #a34228,inset 0 0 0 5px #fff3d4}.cell.problem:after{content:"!";aspect-ratio:1;color:#fffdf4;background:#a34228;border-radius:50%;place-items:center;width:clamp(16px,3.2vw,24px);font-size:clamp(.75rem,2vw,1rem);font-weight:950;display:grid;position:absolute;bottom:4px;right:4px}.cell-badge{pointer-events:none;color:#fffdf6;background:#2f6957;border-radius:5px;padding:1px 5px;font-size:clamp(.59rem,1.7vw,.78rem);font-weight:900;line-height:1.25;position:absolute;top:7%;left:50%;transform:translate(-50%)}.cell-badge.goal{background:#a64b2e}.cell-badge.switch{color:#483818;background:#ffe198;top:auto;bottom:6%}.cell-badge.badge-bottom{top:auto;bottom:7%}.tools{grid-area:tools;padding:19px}.tools-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 8px;margin-bottom:12px;display:flex}.tools h3{letter-spacing:-.032em;font-size:1.38rem;font-weight:850}.inventory-summary{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.79rem;font-weight:800}.rack{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.rack-piece{background:#f1f3e7;border:1px solid #dce1ce;border-radius:14px;grid-template-rows:60px auto;justify-items:center;padding:5px 4px 8px;font-size:.93rem;font-weight:900;display:grid;position:relative}.rack-piece[aria-pressed=true]{background:#e4efd7;border-color:#427957;box-shadow:inset 0 0 0 1px #427957}.rack-piece[aria-pressed=true]:after{content:"✓";color:#245c49;font-size:.78rem;position:absolute;top:6px;left:7px}.rack-piece[aria-disabled=true]{cursor:default;background:#f2f1e9}.rack-piece[aria-disabled=true] canvas{opacity:.52}.rack-piece[aria-disabled=false]:hover{background:#dcead4}.rack-piece canvas{width:61px;height:61px}.piece-name{grid-row:2}.rack-piece:has(canvas[hidden]){color:var(--muted);border-style:dashed}.queue{color:var(--muted);background:#f0eee3;border-radius:11px;justify-content:space-between;align-items:center;gap:5px;margin-top:8px;padding-left:8px;font-size:.83rem;font-weight:750;display:flex}.queue-preview{align-items:center;gap:4px;display:flex}.queue canvas{width:33px;height:33px}.queue strong{color:var(--ink)}.queue-preview:has(canvas[hidden]){gap:7px}.queue-preview:has(canvas[hidden]) strong{color:var(--muted);font-weight:750}.tool-guide{min-height:2.7em;color:var(--muted);margin:11px 0;font-size:.89rem;font-weight:750}.edit-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.button{border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:5px;min-height:43px;padding:5px 9px;font-weight:850;line-height:1.16;transition:background-color .14s,transform .14s;display:inline-flex}.button:not([aria-disabled=true]):active,.rack-piece[aria-disabled=false]:active{transform:scale(.96)}.secondary{background:#f4f3e9;border-color:#e3e3d6;font-size:.86rem}.secondary:not([aria-disabled=true]):hover{background:#e7ebd8}.button[aria-disabled=true]{cursor:default}.secondary[aria-disabled=true]{color:#556257;background:#f6f5ee}.cycle{white-space:nowrap;flex:none}.symbol{flex:none;font-size:1.12em}.switch-control{text-align:left;background:#fff3ce;border-color:#dbc785;justify-content:flex-start;gap:8px;width:100%;margin-top:9px;padding:7px 10px}.switch-control small{color:#5e4d27;margin-top:2px;font-size:.77rem;display:block}.switch-arrow{text-align:center;width:20px}.switch-arrow:before{content:"→";font-size:1.2rem}.switch-control[aria-pressed=true] .switch-arrow:before{content:"↱"}.run-actions{border-top:1px dashed #d9decc;gap:4px;margin-top:15px;padding-top:15px;display:grid}.primary{color:#fffdf5;background:#ad442a;border-radius:13px;gap:9px;min-height:51px;font-size:1.12rem;box-shadow:0 3px #80321d}.primary[aria-disabled=false]:hover{background:#983b26}.primary[aria-disabled=true]{background:#764839}.play-icon{border:6px solid #0000;border-left:9px solid;border-right-width:0;width:0;height:0}.reset{color:#496051;background:0 0;font-size:.91rem}.reset:hover{background:#f0f1e5}.feedback{color:#493a26;background:#f8edcc;border:1px solid #e8dab4;border-radius:15px;grid-area:feedback;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 12px;min-height:71px;padding:12px 14px;display:grid}.feedback[data-kind=warning],.feedback[data-kind=network]{color:#593023;background:#f8e3d6;border-color:#edc9b8}.feedback[data-kind=success],.feedback[data-kind=running]{color:#254735;background:#e6efdc;border-color:#d2e0c3}.feedback-icon{color:#654623;background:#eece85;border-radius:10px;place-items:center;width:38px;height:38px;font-size:1.2rem;font-weight:900;display:grid}[data-kind=success] .feedback-icon,[data-kind=running] .feedback-icon{color:#24503d;background:#b7d0ac}[data-kind=warning] .feedback-icon,[data-kind=network] .feedback-icon{color:#6e2f20;background:#eab9a4}.feedback h3{font-size:1rem;font-weight:850}.feedback p{margin-top:1px;font-size:.93rem;font-weight:700}.next{color:#fffdf6;white-space:nowrap;background:#295e49;grid-column:2;justify-self:start;padding-inline:12px;font-size:.86rem}.next:hover{background:#174937}@media (width>=851px){.board{aspect-ratio:auto;height:min(540px,83.3333vw - 363.333px);max-height:540px}}@media (width<=850px){.masthead-inner,main{width:min(620px,100% - 32px)}main{padding-top:25px}.game-layout{grid-template:"board""tools""feedback"/minmax(0,1fr);gap:11px}.tools{padding:13px}.tools-heading{margin-bottom:8px}.run-actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.reset{padding-inline:10px}}@media (width<=470px){.masthead-inner,main{width:calc(100% - 24px)}.masthead-inner{gap:4px;min-height:62px}.brand{gap:6px;font-size:clamp(1.02rem,4.7vw,1.25rem)}.brand-icon{border-radius:9px;flex-basis:31px;height:31px}.brand-icon i{transform:scale(.82)}.level-picker-label{display:none}.level-list{gap:3px}.level-badge{border-radius:9px;width:clamp(33px,9.5vw,42px);height:42px}main{padding-block:18px 26px}.intro{margin-bottom:14px}.intro h2{font-size:clamp(1.95rem,9vw,2.8rem)}.objective{margin-top:5px}.board-card{border-radius:14px;padding:5px}.board-heading{padding:5px 4px 7px}.board{border-radius:8px}.tools{border-radius:15px}.tools h3{font-size:1.15rem}.rack{gap:7px}.rack-piece{grid-template:45px/48px 1fr;place-items:center start;padding:3px 4px}.rack-piece canvas{width:49px;height:49px}.piece-name{grid-area:1/2;font-size:.82rem}.queue{margin-top:6px}.queue canvas{width:28px;height:28px}.tool-guide{min-height:0;margin:7px 0}.run-actions{margin-top:9px;padding-top:9px}}@media (prefers-reduced-motion:reduce){.button{transition:none}}
