@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}:root{--door:#17424a;--door-deep:#0f2f36;--plate:#e3ece4;--plate-line:#b9cbc3;--ink:#0d2a30;--ink-soft:#46636a;--brass:#e0b04a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-text-size-adjust:100%;font-family:Bricolage Grotesque Variable,system-ui,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}html,body{overscroll-behavior:none;background:var(--door);height:100%;color:var(--plate);margin:0;overflow:hidden}button,input{font:inherit;touch-action:manipulation}button{cursor:pointer;border:0}:focus-visible{outline:3px solid var(--brass);outline-offset:2px}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}#app{max-width:30rem;height:100dvh;padding:calc(env(safe-area-inset-top) + .5rem) calc(env(safe-area-inset-right) + 1rem) calc(env(safe-area-inset-bottom) + .75rem) calc(env(safe-area-inset-left) + 1rem);-webkit-user-select:none;user-select:none;grid-template-rows:auto auto minmax(0,1fr) auto;gap:.5rem;margin:0 auto;display:grid}.top{grid-template-columns:1fr auto 1fr;align-items:center;display:grid}.text-button{min-height:44px;color:var(--plate);background:0 0;justify-self:start;padding:0;font-weight:600}#open-settings{justify-self:end}.dial{aspect-ratio:1;width:clamp(72px,12dvh,108px)}.dial svg{width:100%;display:block;overflow:visible}.dial-rim{fill:var(--brass)}.dial-knob{fill:var(--door-deep)}.dial-mark{stroke:var(--brass);stroke-width:5px;stroke-linecap:round}#dial-turn{transform-origin:60px 60px;transition:transform .5s cubic-bezier(.3,1.5,.5,1)}#dial-ticks path{stroke:var(--door-deep);stroke-width:5px;stroke-linecap:round}#dial-ticks .used{opacity:.22}.dial-count{fill:var(--plate);text-anchor:middle;dominant-baseline:central;font-size:30px;font-weight:700}.summary{text-align:center;margin:0;font-size:.95rem;font-weight:500}.board{background:var(--plate);color:var(--ink);overscroll-behavior:contain;outline-offset:-3px;border-radius:18px;padding:.25rem .75rem;overflow-y:auto}#rows{flex-direction:column;min-height:100%;margin:0;padding:0;list-style:none;display:flex}.row{border-bottom:1px solid var(--plate-line);flex:1 0 auto;grid-template-columns:1.6rem 1fr auto;align-items:center;gap:.5rem;min-height:44px;max-height:64px;scroll-margin:.5rem;display:grid}.row:last-child{border-bottom:0}.row b{font-variant-numeric:tabular-nums;color:var(--ink-soft);font-weight:500}.row.current b{color:var(--ink);font-weight:800}.row.todo .cells,.row.todo .pins{opacity:.45}.row.current{min-height:58px}.cells{justify-content:center;gap:2px;display:flex}.cell{background:0 0;border-radius:12px;place-items:center;width:40px;height:40px;padding:0;display:grid}.row.current .cell{width:46px;height:50px}.row.current .tile{width:38px;height:38px}.cell[aria-pressed=true]{box-shadow:inset 0 0 0 3px var(--ink)}.tile{background:var(--c);width:32px;height:32px;color:var(--s);border-radius:9px;place-items:center;display:grid;box-shadow:inset 0 0 0 1.5px #0d2a3059}.tile svg{fill:currentColor;width:56%}.no-shapes .tile svg{display:none}.tile.empty{background:0 0;box-shadow:inset 0 0 0 2px #8aa59d}.c0{--c:#d63a3f;--s:#ffe3df}.c1{--c:#2f62d8;--s:#dfe9ff}.c2{--c:#f5cf2e;--s:#584600}.c3{--c:#23945a;--s:#dcf7e6}.c4{--c:#8d46c4;--s:#f2e2ff}.c5{--c:#f08428;--s:#4a2200}.c6{--c:#fffdf6;--s:#53686d}.c7{--c:#22262b;--s:#cfd6dc}.pins{align-items:flex-end;gap:4px;height:26px;display:flex}.pin{background:#9db3ab;border-radius:3px;flex:none;width:8px;height:5px;display:block}.pin.misplaced{height:14px;box-shadow:inset 0 0 0 2px var(--ink);background:#fff}.pin.placed{background:var(--ink);height:26px}.palette{grid-template-columns:repeat(var(--n), 1fr);gap:.4rem;display:grid}.palette button{background:var(--door-deep);border-radius:14px;place-items:center;height:50px;padding:0;display:grid}.palette .tile{border-radius:11px;width:calc(100% - 8px);height:42px}.palette .tile svg{width:24px}.palette button:active .tile{transform:scale(.94)}.palette button:disabled{opacity:.4}.actions{grid-template-columns:1fr 1.7fr;gap:.5rem;margin-top:.6rem;display:grid}.primary,.secondary{border-radius:14px;min-height:50px;padding:0 1rem;font-weight:700}.primary{background:var(--brass);color:var(--ink)}.secondary{background:var(--door-deep);color:var(--plate)}.primary:disabled,.secondary:disabled{opacity:.45;cursor:default}dialog{background:var(--plate);width:min(26rem,100% - 2rem);max-height:calc(100dvh - 4rem);color:var(--ink);overscroll-behavior:contain;border:0;border-radius:22px;padding:1.25rem;overflow-y:auto}dialog::backdrop{background:#081c21b3}dialog h2{margin:0 0 .5rem;font-size:1.6rem;line-height:1.15}dialog p{margin:0 0 .9rem;line-height:1.45}dialog form>.primary{width:100%}.legend{gap:.7rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.legend li{grid-template-columns:12px 1fr;align-items:end;gap:.75rem;line-height:1.35;display:grid}fieldset{border:0;margin:0;padding:0}legend{padding:0;font-weight:700}.level,.stepper,.switch{border-bottom:1px solid var(--plate-line);align-items:center;gap:.6rem;min-height:46px;display:flex}.level span{font-weight:600}.level small{color:var(--ink-soft);margin-left:auto;font-size:.85rem}input[type=radio],input[type=checkbox]{width:22px;height:22px;accent-color:var(--door);flex:none;margin:0}#custom{border-left:4px solid var(--brass);padding-left:.75rem}.stepper,.switch{justify-content:space-between}.stepper>span{align-items:center;display:flex}.stepper button{width:44px;height:44px;color:var(--ink);background:0 0;border-radius:12px;font-size:1.5rem}.stepper button:disabled{opacity:.25}.stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:1.6rem;font-weight:700}dialog .hint{color:var(--ink-soft);margin:.5rem 0 0;font-size:.9rem}.reveal{justify-content:center;gap:.5rem;margin-bottom:.75rem;display:flex}.reveal .tile{width:46px;height:46px}html[data-status=won] .dial-rim{fill:#7fd1a0}@media (width<=392px){.cells{gap:0}.row.current .cell{width:42px}.row.current .tile{width:34px;height:34px}}@media (width<=350px){.cells{gap:0}.cell,.row.current .cell{width:36px}.row.current .tile{width:32px;height:32px}.pin{width:6px}.pins{gap:3px}}@media (prefers-reduced-motion:reduce){#dial-turn{transition:none}}
