body:has(.fold-game){margin:0;background:#fffcf8}.fold-game{--fn-ink:#51454e;--fn-muted:#786773;--fn-purple:#765587;max-width:1050px;margin:auto;padding:18px 24px 50px;color:var(--fn-ink);font-family:var(--ui2-font-family);line-height:1.5}.fold-game *{box-sizing:border-box}.fold-game [hidden]{display:none!important}.fold-game button{font:inherit;cursor:pointer;min-height:46px;border:1px solid #d9cbd7;border-radius:14px;color:var(--fn-ink);background:#fffafc;font-weight:700;line-height:1.25;transition:background-color .15s,box-shadow .15s;touch-action:manipulation}.fold-game button:disabled{opacity:.44;cursor:default}.fold-game button:hover:not(:disabled){background:#f1e7f2}.fold-game button:focus-visible,.fold-game a:focus-visible,.fold-game summary:focus-visible{outline:3px solid var(--fn-purple);outline-offset:3px}.fn-skip{position:fixed;top:-100px;left:12px;background:#fff;padding:14px;z-index:10000;color:#51454e}.fn-skip:focus{top:10px}.fn-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.fn-top a{display:inline-flex;align-items:center;min-height:44px;color:var(--fn-ink);text-decoration:none}.fn-top>span{padding:7px 12px;background:#eaf2e9;border-radius:20px;color:#526a58;font-size:12px}.fn-heading{margin:20px 0 25px}.fn-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;color:#8c6b7e;margin:0 0 7px}.fn-heading h1{font-size:clamp(33px,5vw,48px);letter-spacing:-.04em;line-height:1.2;margin:0}.fn-heading>p:last-child{font-size:16px;margin:12px 0 0;color:var(--fn-muted)}.fn-home{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;padding:22px;background:#fff7f2;border:1px solid #ead9d2;border-radius:30px;box-shadow:0 10px 40px #806d6a08}.fn-cover{position:relative;align-self:center;border-radius:24px;overflow:hidden;background:#f9efe9}.fn-cover img{display:block;width:100%;height:auto}.fn-cover>span{position:absolute;left:15px;top:14px;background:#fff9efeb;color:#77604e;padding:7px 10px;border:1px solid #e0cbb7;border-radius:20px;font-size:10px;letter-spacing:.06em;font-weight:750}.fn-intro{align-self:center;padding:8px 8px 8px 0}.fn-dialogue{font-size:16px;line-height:1.9;margin:0 0 20px}.fn-how{display:grid;gap:14px;list-style:none;margin:0 0 25px;padding:0;font-size:14px}.fn-how li{display:flex;gap:12px;align-items:center}.fn-how b{display:grid;place-items:center;flex:0 0 28px;height:28px;background:#e7deef;border-radius:50%;color:#705d80;font-size:12px}.fold-game .fn-primary{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 20px;background:#edc3d0;border:1px solid #d9acbb;box-shadow:0 4px 0 #d8a6b7;color:#5f4053}.fold-game .fn-primary:hover:not(:disabled){background:#eab4c7}.fn-note,.fn-small{font-size:12px;color:var(--fn-muted);line-height:1.6;margin:14px 0 0}.fn-level{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px;font-size:13px;font-weight:700}.fn-level ol{list-style:none;display:flex;gap:7px;margin:0;padding:0}.fn-level li{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;border:1px solid #d8cad8;background:#f8f4f8;color:#827181;font-size:12px}.fn-level li[aria-current]{background:#e7dcf0;border:2px solid #9777ab;color:#644874}.fn-level li.is-done{background:#def0e4;border-color:#b4cfbc;color:#476653}#fn-title{font-size:24px;line-height:1.25;margin:0 0 16px;letter-spacing:-.02em}.fn-workspace{display:grid;grid-template-columns:minmax(0,500px) minmax(250px,1fr);gap:36px;align-items:start}.fn-play{min-width:0}.fn-target{display:flex;align-items:center;gap:15px;margin:0 auto 12px;max-width:420px}.fn-target>div:first-child{width:76px;height:76px;flex:0 0 76px;background:#faf1e5;border-radius:17px;padding:5px;border:1px solid #e6d9c6}.fn-target svg{width:100%;height:100%;display:block}.fn-target strong{font-size:14px}.fn-target p{font-size:12px;color:var(--fn-muted);margin:3px 0 6px}.fn-checks{display:flex;gap:12px;font-size:11px;color:#796c75}.fn-checks .is-ok{color:#456952;font-weight:700}.fn-board{width:100%;max-width:420px;aspect-ratio:1;margin:0 auto;border:1px solid #abc7b5;border-radius:23px;box-shadow:0 5px 0 #dbe7da,0 12px 22px #6d816714;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab;overflow:hidden}.fn-board:active{cursor:grabbing}.fn-board>svg{display:block;width:100%;height:100%}.fn-board .is-selected text{fill:#634674;font-weight:900}.fn-feedback{font-size:13px;min-height:39px;margin:12px auto 0;max-width:420px;color:#785870;text-align:center;line-height:1.5}.fn-controls{margin-top:26px;padding:24px;background:#faf5fa;border:1px solid #e2d5e2;border-radius:23px}.fn-control-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;margin-bottom:12px}.fn-control-heading>span{font-size:11px;color:#876a94}.fn-creases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.fn-creases button{min-width:44px;min-height:48px;font-size:16px;position:relative}.fn-creases button>span{font-size:14px;font-weight:400;color:#967a9b;margin-right:2px}.fn-creases button[aria-pressed=true]{background:#e3d4ed;border:2px solid #8d699e;box-shadow:0 2px 0 #b79dc7;color:#5c3b70}.fn-second{margin:23px 0 10px}.fn-directions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fn-directions button{min-height:52px;background:#e4eee9;border-color:#bed3c7;font-size:14px;color:#476453;touch-action:none}.fn-directions button>span{font-size:23px;vertical-align:-1px;margin-right:5px}.fn-small{text-align:center;margin:9px 0 15px;font-size:11px}.fn-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fn-tools button{background:transparent;font-size:13px;min-height:46px}.fn-clear{border-top:1px solid #dacbdc;margin-top:18px;padding-top:18px}.fn-clear>strong{display:block;margin-bottom:12px;font-size:15px;color:#57735d}.fn-help{margin-top:17px;border-top:1px solid #e4d8e5;padding-top:6px}.fn-help summary{font-size:12px;font-weight:650;cursor:pointer;min-height:44px;align-content:center}.fn-help p{font-size:12px;line-height:1.8;color:var(--fn-muted)}.fn-results{max-width:620px;margin:25px auto;padding:32px;background:linear-gradient(130deg,#f8edf3,#eff5ed);border:1px solid #dfd4df;border-radius:28px;text-align:center}.fn-results h2{font-size:28px;line-height:1.45;margin:14px 0 24px}.fn-finished{display:flex;justify-content:center;gap:8px;padding:18px 10px;background:#fffaf4;border-radius:18px}.fn-finished svg{min-width:0;width:18%;max-width:80px}.fn-results>p:not(.fn-eyebrow){font-size:14px}.fn-results ol{list-style:none;margin:24px 0;padding:0;text-align:left}.fn-results li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e0d7df;padding:12px 0;font-size:14px}.fn-results li b{white-space:nowrap}.fn-results button{max-width:360px;margin:auto}
@media(max-width:700px){.fold-game{padding:10px 16px 32px}.fn-top{font-size:12px}.fn-top>span{font-size:10px;padding:7px 9px}.fn-heading{margin:14px 0 20px}.fn-heading h1{font-size:35px}.fn-heading>p:last-child{font-size:14px;margin-top:8px}.fn-home{display:block;padding:12px;border-radius:23px}.fn-cover{border-radius:17px}.fn-cover img{max-height:245px;object-fit:cover}.fn-cover>span{font-size:9px;left:10px;top:10px}.fn-intro{padding:18px 7px 8px}.fn-dialogue{font-size:14px;margin-bottom:17px}.fn-how{font-size:13px;gap:12px;margin-bottom:22px}.fn-note{font-size:11px}.fn-level{font-size:12px;margin:4px 0 8px}.fn-level ol{gap:6px}.fn-level li{width:24px;height:24px;font-size:11px}#fn-title{font-size:21px;margin-bottom:9px}.fn-workspace{display:block;max-width:440px;margin:auto}.fn-target{max-width:340px;gap:10px;margin-bottom:10px}.fn-target>div:first-child{width:62px;height:62px;flex-basis:62px;border-radius:13px;padding:3px}.fn-target strong{font-size:12px}.fn-target p{font-size:10px;line-height:1.35;margin:2px 0 4px}.fn-checks{font-size:10px;gap:9px}.fn-board{max-width:300px;border-radius:19px}.fn-feedback{font-size:11px;min-height:32px;margin-top:9px;max-width:340px}.fn-controls{margin:0;padding:0;background:none;border:0;border-radius:0}.fn-control-heading{font-size:12px;margin-bottom:6px}.fn-control-heading>span{font-size:10px}.fn-creases{gap:6px}.fn-creases button{min-height:44px;font-size:14px;border-radius:11px}.fn-second{margin:12px 0 6px}.fn-directions button{min-height:46px;font-size:13px}.fn-small{margin:6px 0 9px;font-size:10px}.fn-tools button{min-height:44px;font-size:12px}.fn-help{margin-top:10px}.fn-clear{margin-top:13px;padding-top:13px}.fn-clear>strong{font-size:14px}.fn-results{padding:25px 18px;margin-top:18px}.fn-results h2{font-size:24px}.fn-results li{font-size:13px}.fn-results>p:not(.fn-eyebrow){font-size:12px}.fn-finished{padding:12px 8px;gap:4px}}
@media(prefers-reduced-motion:reduce){.fold-game *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
#fn-game[data-phase="complete"] .fn-control-heading,#fn-game[data-phase="complete"] .fn-creases,#fn-game[data-phase="complete"] .fn-directions,#fn-game[data-phase="complete"] .fn-small,#fn-game[data-phase="complete"] .fn-help{display:none}
