@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(./fredoka-hebrew-wght-normal.DdnsCkLr.woff2)format("woff2-variations");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(./fredoka-latin-ext-wght-normal.CYrqKuxd.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:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(./fredoka-latin-wght-normal.DM6njrJ3.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(./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(./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(./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(./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(./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{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--cream:#fbf1df;--weave:#5c39820d;--card:#fffaf0;--ink:#2d1b4e;--muted:#72628c;--line:#e4d5bd;--stitch:#d9c5a6;--primary:#ff5d5d;--primary-edge:#c93b43;--on-primary:#fff;--soft:#f3e6cf;--soft-edge:#dcc9a8;--night:#2d1b4e;--night-2:#452a75;--on-night:#fff6e4;--gold:#ffb627;--star-off:#e3d8c4;--success:#15966b;--flame:#f4701f;--chapter:#ff5d5d;--chapter-edge:#c93b43;--on-chapter:#fff;--on-yarn:#fff;--confetti-0:#ff5d5d;--confetti-1:#ffb627;--confetti-2:#2ec4a0;--confetti-3:#6c4ad6;--display:"Fredoka Variable", "Trebuchet MS", sans-serif;--body:"Nunito Variable", "Segoe UI", sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--cream:#1a1029;--weave:#ffffff06;--card:#281a40;--ink:#f8eedc;--muted:#b6a7cf;--line:#443160;--stitch:#5a4480;--primary-edge:#b42f39;--soft:#3a2858;--soft-edge:#271a3f;--night:#3b2469;--night-2:#52328a;--star-off:#4a3a66;--success:#4bd6a8}}[data-chapter=coton]{--chapter:#ff5d5d;--chapter-edge:#c93b43}[data-chapter=lin]{--chapter:#d98324;--chapter-edge:#a15e12}[data-chapter=chanvre]{--chapter:#4f9d3a;--chapter-edge:#377228}[data-chapter=laine]{--chapter:#1d9c8c;--chapter-edge:#127166}[data-chapter=mohair]{--chapter:#2a8fd6;--chapter-edge:#1b68a2}[data-chapter=alpaga]{--chapter:#4f6be0;--chapter-edge:#364cac}[data-chapter=cachemire]{--chapter:#7c52d9;--chapter-edge:#5a37a8}[data-chapter=soie]{--chapter:#d43f9c;--chapter-edge:#a02a74}[data-chapter=velours]{--chapter:#a81f4d;--chapter-edge:#7c1236}[data-chapter=or]{--chapter:#c28a00;--chapter-edge:#8f6500}*{box-sizing:border-box}body,html{margin:0;padding:0}body{background-color:var(--cream);background-image:repeating-linear-gradient(0deg,var(--weave) 0 2px,transparent 2px 6px),repeating-linear-gradient(90deg,var(--weave) 0 2px,transparent 2px 6px);min-height:100dvh;color:var(--ink);font-family:var(--body);-webkit-tap-highlight-color:transparent;font-size:17px;line-height:1.45}.bead-word,.btn,.chapter-banner,.eyebrow,.node,.pill,.puzzle-number,.stat strong,.xp-total,h1,h2,h3{font-family:var(--display)}h1{margin:0;font-size:1.7rem;line-height:1.15}h1,h2{font-weight:600}h2{margin:0 0 8px;font-size:1.2rem}ol,p,ul{margin:0}ol,ul{padding:0;list-style:none}a{color:inherit}button,input,textarea{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:8px}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{vertical-align:-.2em;flex:none;width:1.15em;height:1.15em}.muted,.notice{color:var(--muted)}.small{font-size:.85rem}.ad-label,.center,.chapter-banner,.footer,.locked-card,.notice,.reward,.stat{text-align:center}.shell{flex-direction:column;max-width:520px;min-height:100dvh;margin:0 auto;display:flex}.content{padding:16px 16px calc(92px + env(safe-area-inset-bottom));flex:1}.content-game{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.stack{flex-direction:column;gap:14px;display:flex}.notice{margin-top:40px}.page-title{margin-top:4px}.card{background:var(--card);box-shadow:0 4px 0 var(--line);border-radius:22px;padding:18px;position:relative}.card:after{content:"";border:2px dashed var(--stitch);pointer-events:none;opacity:.7;border-radius:17px;position:absolute;inset:6px}.card>*{z-index:1;position:relative}.card>*+*{margin-top:10px}.eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--chapter);font-size:.8rem}.btn,.eyebrow,.hero p,.hud-xp strong,.pill,.ring-label{font-weight:600}.btn{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px 18px;font-size:1.02rem;text-decoration:none;transition:transform 80ms,box-shadow 80ms;display:inline-flex}.btn:active:not(:disabled){transform:translateY(3px)}.btn:disabled{opacity:.45;cursor:default}.btn-primary{background:var(--chapter);color:var(--on-chapter);box-shadow:0 4px 0 var(--chapter-edge)}.btn-primary:active{box-shadow:0 1px 0 var(--chapter-edge)}.btn-soft{background:var(--soft);box-shadow:0 4px 0 var(--soft-edge)}.btn-soft:active:not(:disabled){box-shadow:0 1px 0 var(--soft-edge)}.btn-light{background:var(--on-night);color:#2d1b4e;box-shadow:0 4px #0000004d}.btn-wide{width:100%}.btn-icon{background:var(--soft);width:46px;min-height:46px;box-shadow:0 3px 0 var(--soft-edge);padding:0}.hud{z-index:10;background:var(--night);min-height:68px;color:var(--on-night);border-radius:0 0 22px 22px;align-items:center;gap:10px;padding:10px 16px;display:flex;position:sticky;top:0;box-shadow:0 4px #0000002e}.hud-brand{font-family:var(--display);font-size:1.3rem}.hud-level{width:48px;height:48px;color:inherit;flex:none;text-decoration:none;position:relative}.ring{width:100%;height:100%;transform:rotate(-90deg)}.ring circle{fill:none;stroke-width:6px}.ring-track{stroke:#ffffff2e}.ring-value{stroke:var(--gold);stroke-linecap:round;transition:stroke-dashoffset .6s}.ring-label{font-family:var(--display);place-items:center;font-size:1.05rem;display:grid;position:absolute;inset:0}.hud-xp{flex-direction:column;flex:1;min-width:0;line-height:1.2;display:flex}.badge strong,.bead-sound,.beat-par,.daily-bonus,.hud-xp strong,.level-up strong,.level-up-link,.sound,.tab{font-family:var(--display)}.hud-xp small{opacity:.8;white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.pill{white-space:nowrap;background:#7f64aa38;border-radius:999px;align-items:center;gap:5px;padding:6px 10px;display:inline-flex}.pill-flame{color:#ffb37a}.pill-flame.off{filter:grayscale();opacity:.65}.pill-yarn .icon{color:var(--primary)}.tabbar{z-index:10;width:100%;max-width:520px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--card);box-shadow:0 -3px 0 var(--line);border-radius:22px 22px 0 0;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tab{min-height:48px;color:var(--muted);border-radius:14px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px;font-size:.8rem;text-decoration:none;display:flex}.tab .icon{width:24px;height:24px}.tab.router-link-exact-active{color:var(--primary);background:#ff5d5d1f}.hero{justify-content:space-between;align-items:center;gap:12px;display:flex}.hero h1{color:var(--primary);letter-spacing:-.01em;font-size:2.3rem;font-weight:700}.hero p{color:var(--muted)}.card-daily{background:linear-gradient(135deg,var(--night),var(--night-2));color:var(--on-night);box-shadow:0 4px #00000040}.card-daily:after{border-color:#fff6e44d}.card-daily .eyebrow{color:var(--gold)}.daily-bonus{font-size:1.25rem;font-weight:500}.quests{flex-direction:column;gap:12px;display:flex}.quest-top{justify-content:space-between;gap:10px;font-size:.95rem;font-weight:700;display:flex}.quest-reward{color:var(--muted);white-space:nowrap;align-items:center;gap:3px;font-weight:600;display:inline-flex}.quest-reward .icon{color:var(--primary)}.quests .done .quest-top>span{color:var(--success)}.quests .done .bar span{background:var(--success)}.bar{background:var(--soft);border-radius:999px;height:10px;margin-top:5px;overflow:hidden}.bar span{border-radius:inherit;background:var(--gold);height:100%;transition:width .4s;display:block}.mini-stars{color:var(--gold);gap:2px;display:inline-flex}.mini-stars .dim{color:var(--star-off)}.card-daily .mini-stars .dim{color:#ffffff40}.footer{color:var(--muted);justify-items:center;gap:4px;padding:8px 0;font-size:.75rem;display:grid}.footer nav{flex-wrap:wrap;justify-content:center;gap:4px 14px;display:flex}.footer a{color:inherit}.prose p{line-height:1.55}.ad-slot{gap:4px;min-height:120px;margin-top:8px;display:grid}.ad-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.7rem}.reward-ad{margin-top:8px}.map{flex-direction:column;gap:8px;display:flex}.chapter-banner{background:var(--chapter);color:var(--on-chapter);box-shadow:0 4px 0 var(--chapter-edge);border-radius:16px;margin:8px 0 14px;padding:10px 16px;font-size:1.15rem}.nodes-wrap{position:relative}.map-thread{width:100%;height:100%;position:absolute;inset:0}.map-thread path{fill:none;stroke:var(--chapter);stroke-width:5px;stroke-linecap:round;stroke-dasharray:2 11;opacity:.75}.node,.nodes{position:relative}.node-row,.nodes{flex-direction:column;display:flex}.node-row{height:110px;transform:translateX(var(--offset));align-items:center;gap:3px;padding-top:3px}.node{background:var(--chapter);width:68px;height:68px;color:var(--on-chapter);box-shadow:0 5px 0 var(--chapter-edge),inset 0 0 0 4px #ffffff59;border-radius:50%;place-items:center;font-size:1.45rem;font-weight:600;text-decoration:none;transition:transform 80ms;display:grid}.node:active,.puzzle-card:active{transform:translateY(3px)}.node.locked{background:var(--soft);color:var(--muted);box-shadow:0 5px 0 var(--soft-edge)}.node.current{animation:1.8s ease-in-out infinite pulse}.node-stars{background:var(--card);border-radius:999px;align-items:center;gap:3px;margin-top:3px;padding:1px 8px;font-weight:700;display:inline-flex}.node-stars .icon{color:var(--gold)}.tier-header{align-items:center;gap:12px;display:flex}.entry input,.game-bar h1,.tier-header>div{flex:1;min-width:0}.tier-header .pill{color:inherit}.tier-header .pill .icon{color:var(--gold)}.locked-card>.icon{width:40px;height:40px;color:var(--muted)}.puzzle-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.puzzle-card{background:var(--card);box-shadow:0 4px 0 var(--line);border-radius:18px;flex-direction:column;align-items:center;gap:4px;padding:14px 6px 10px;text-decoration:none;transition:transform 80ms;display:flex}.puzzle-number{color:var(--chapter);font-size:1.5rem;font-weight:600}.puzzle-card.solved{background:var(--chapter);box-shadow:0 4px 0 var(--chapter-edge)}.puzzle-card.solved .puzzle-number{color:var(--on-chapter)}.puzzle-card.solved .mini-stars .dim{color:#0003}.game{flex-direction:column;gap:12px;display:flex}.game-bar{align-items:center;gap:10px;display:flex}.bead-word,.game-bar h1{font-size:1.15rem}.game-bar .pill{color:inherit}.objective{color:var(--muted);justify-content:space-between;align-items:center;font-weight:700;display:flex}.objective .mini-stars .icon{width:22px;height:22px;transition:color .25s}.badge>div,.badges,.console,.level-up,.rules,.stat,.thread,.unlocks,.xp-lines{flex-direction:column}.bead,.thread{align-items:center;display:flex}.bead{background:var(--card);max-width:100%;min-height:46px;box-shadow:0 3px 0 var(--line);border-radius:999px;justify-content:center;gap:10px;padding:7px 8px 7px 18px}.bead-word{overflow-wrap:anywhere;font-weight:500}.bead-sound{background:var(--chapter);color:var(--on-chapter);border-radius:999px;padding:2px 10px;font-size:.85rem;font-weight:600}.bead-anchor{background:var(--night);color:var(--on-night);box-shadow:0 3px #0000004d}.bead-target{box-shadow:none;border:3px dashed var(--chapter);background:0 0;padding-right:18px}.bead-reached{background:var(--success);color:#fff;border:3px solid var(--success);animation:.4s pop}.bead-new{animation:.3s pop}.stitch{height:34px}.stitch svg{height:100%;display:block;overflow:visible}.stitch-line{stroke:var(--chapter);stroke-width:4px;stroke-dasharray:80;animation:.35s ease-out both draw}.stitch-line,.stitch-open{fill:none;stroke-linecap:round}.stitch-open{stroke:var(--stitch);stroke-width:3px;stroke-dasharray:1 8}.console{background:var(--card);box-shadow:0 4px 0 var(--line);border-radius:22px;gap:10px;padding:16px;display:flex}.entry input,.error,.hint,.prompt,.skip{font-weight:700}.sound{color:var(--chapter);white-space:nowrap;font-size:1.35em}.entry{gap:8px;display:flex}.entry input{border:2px solid var(--line);background:var(--cream);border-radius:16px;min-height:48px;padding:8px 14px;font-size:1.05rem}.entry input:focus{border-color:var(--chapter);outline:none}.error{color:var(--primary-edge);font-size:.92rem;animation:.3s shake}.hint{align-items:flex-start;gap:6px;font-size:.95rem;display:flex}.hint .icon{color:var(--gold)}.skip{color:var(--muted);align-self:center;padding:10px;font-size:.9rem}.console-actions{grid-template-columns:1fr 1.3fr;gap:10px;display:grid}.console-actions .btn{padding:8px;font-size:.95rem}.cost{align-items:center;gap:2px;font-size:.85rem;display:inline-flex}.cost .icon{color:var(--primary)}.burst,.reward{overflow:hidden}.reward-stars{color:var(--star-off);justify-content:center;gap:6px;display:flex}.big-star .icon{width:52px;height:52px}.big-star.on{color:var(--gold);animation:.45s cubic-bezier(.2,1.6,.4,1) both star-in}.big-star:nth-child(2) .icon{width:64px;height:64px}.reward-tip{color:var(--muted);font-size:.92rem}.beat-par{color:var(--success);font-weight:600}.level-up{background:linear-gradient(135deg,var(--night),var(--night-2));color:var(--on-night);border-radius:16px;padding:12px;animation:.5s pop;display:flex}.level-up-link{min-height:44px;color:inherit;justify-content:center;align-items:center;gap:4px;font-weight:600;display:inline-flex}.level-up strong{color:var(--gold);font-size:1.3rem}.xp-total{color:var(--chapter);font-size:2.2rem;font-weight:700;line-height:1.1}.xp-lines{gap:3px;font-size:.92rem;display:flex}.xp-lines li{justify-content:space-between;gap:10px;display:flex}.pelote-gain{justify-content:center;align-items:center;gap:6px;font-weight:700;display:flex}.pelote-gain .icon{color:var(--primary)}.unlocks{gap:4px;font-size:.92rem;font-weight:700;display:flex}.unlocks:empty{display:none}.unlocks li{color:var(--success);justify-content:center;align-items:center;gap:6px;display:flex}.reward-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.reward-actions .btn{padding:8px;font-size:.95rem}.solution{color:var(--muted);overflow-wrap:anywhere;font-size:.88rem}textarea{border:2px solid var(--line);background:var(--cream);border-radius:12px;width:100%;padding:8px}.burst{pointer-events:none;z-index:0;position:absolute;inset:0}.burst-piece{border-radius:4px;width:8px;height:16px;animation:1.4s ease-in both fall;position:absolute;top:-14px}.stat-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.stat{background:var(--card);box-shadow:0 4px 0 var(--line);border-radius:18px;align-items:center;padding:12px 4px;display:flex}.stat strong{color:var(--primary);font-size:1.5rem;font-weight:600}.stat span{color:var(--muted);font-size:.75rem;font-weight:700;line-height:1.2}.badges{gap:10px;display:flex}.badge{opacity:.55;align-items:center;gap:12px;display:flex}.badge>div{line-height:1.25;display:flex}.badge strong{font-weight:500}.badge small{color:var(--muted)}.badge-icon{background:var(--soft);border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:grid}.badge.earned{opacity:1}.badge.earned .badge-icon{background:var(--gold);color:#2d1b4e}.overlay{z-index:30;background:#140a2899;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{width:100%;max-width:460px;max-height:90dvh;animation:.25s pop;overflow:auto}.rules{gap:8px;padding-left:22px;list-style:decimal;display:flex}.example{overflow-wrap:anywhere;font-size:.95rem}@keyframes pop{0%{opacity:0;transform:scale(.8)}70%{transform:scale(1.04)}to{opacity:1;transform:scale(1)}}@keyframes draw{0%{stroke-dashoffset:80px}to{stroke-dashoffset:0}}@keyframes shake{25%{transform:translate(-4px)}75%{transform:translate(4px)}}@keyframes pulse{50%{transform:scale(1.08)}}@keyframes star-in{0%{transform:scale(0)rotate(-40deg)}to{transform:scale(1)rotate(0)}}@keyframes fall{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(520px)}}@media (prefers-reduced-motion:reduce){*,:after,:before{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.burst{display:none}}
