@font-face{font-family:Source Serif;src:url(/fonts/SourceSerifPro-Semibold.ttf) format("truetype");font-weight:600;font-display:swap}:root{font-family:Segoe UI,Arial,sans-serif;color:#30392f;background:#f5f3eb;font-synthesis:none;--paper:#fffef9;--ink:#30392f;--green:#295e49;--muted:#697063;--line:#d9ddd1;--serif:"Source Serif",Georgia,serif;accent-color:var(--green);scrollbar-color:#a1ac98 #f5f3eb}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.6}button,select,a{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #b17a2f;outline-offset:4px}::selection{background:#d1e1c8;color:#173e2d}button{transition:background .16s ease,color .16s ease}button:hover{background:#e8ecdf}a{color:inherit;text-underline-offset:4px}button svg{flex-shrink:0}.icon{width:19px;height:19px;display:inline-block;vertical-align:middle;flex-shrink:0}.site-header{height:92px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line);max-width:1376px;margin:0 auto;padding:0 48px}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-family:var(--serif);font-size:26px;letter-spacing:-.7px}.brand-period{color:#507b4f}.header-note{font-size:13px;color:var(--muted);margin-right:auto;padding-left:25px;border-left:1px solid #d0d5c7}.about-button{display:flex;align-items:center;gap:8px;border:0;background:transparent;font-size:13px;min-height:44px;padding:0 12px;border-radius:5px}main{max-width:1280px;margin:auto;padding:0 32px}.intro{display:flex;align-items:center;justify-content:space-between;padding:44px 0 35px}.intro h1{font-family:var(--serif);font-size:43px;font-weight:600;letter-spacing:-1.1px;line-height:1.2;margin:0 0 11px}.intro h1 em{font-style:normal;color:var(--green)}.intro p{font-size:14px;color:#697063;margin:0;line-height:1.6}.pencil-note{display:flex;align-items:center;gap:13px;transform:rotate(-5deg);padding:0 28px 0 25px;color:#617656;font-family:var(--serif);font-size:16px;line-height:1.35}.pencil-note .icon{width:29px;height:29px}.workspace{display:grid;grid-template-columns:284px minmax(0,1fr);border:1px solid #d4d8cb;border-radius:12px;overflow:hidden;background:#eeeee4;align-items:stretch}.settings-panel{padding:29px 25px 22px;background:#f8f8f0;border-right:1px solid #d4d8cb}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.panel-heading h2{font-family:var(--serif);font-size:21px;font-weight:600;letter-spacing:-.35px;margin:0}.panel-heading>.icon{color:#78876a;width:18px}.setting-group{border:0;padding:0;margin:0 0 29px;min-width:0}.setting-group legend,.setting-group label{font-size:12px;font-weight:650;margin-bottom:12px;padding:0;display:block}.segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.segments button{min-height:64px;background:transparent;border:1px solid #d7dbce;border-radius:5px;padding:8px 0;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px}.segments button strong{font-size:12px;font-weight:600;white-space:nowrap}.segments button span{font-size:10px;color:#717869}.segments button[aria-pressed=true]{background:#e9efe2;border:1.5px solid #658361;box-shadow:inset 0 0 0 .2px #658361;color:#295e49}.segments button[aria-pressed=true] span{color:#456443}.segments button:hover{background:#e7edde}.difficulty{gap:0;border:1px solid #d5dacd;border-radius:5px;padding:3px;background:#efefe6}.difficulty button{min-height:36px;padding:6px 0;font-size:12px;border-color:transparent}.difficulty button[aria-pressed=true]{background:#fffef9;border:1px solid #c8d0bd;box-shadow:0 2px 4px #2d432110}.field-note{font-size:11px;color:#707766;line-height:1.6;margin:9px 0 0}.select-wrap select{appearance:none;width:100%;border:1px solid #d0d6c6;border-radius:5px;min-height:44px;padding:9px 27px 9px 12px;color:#3f4939;background:#fffef9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23616e54' stroke-width='1.5'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E") right 11px center/12px no-repeat;font-size:12px}.algorithm-group{margin-bottom:25px}.primary-button{display:flex;justify-content:center;align-items:center;gap:9px;background:var(--green);color:#fffef9;border:1px solid var(--green);border-radius:5px;min-height:43px;padding:10px 18px;font-size:12px;font-weight:600}.primary-button:hover{background:#1e4d39}.generate{width:100%;min-height:46px}.generate-note{font-size:10px;text-align:center;color:#727966;line-height:1.5;margin:11px 0 0;min-height:30px}.sidebar-tip{border-top:1px dashed #cdd3c2;display:flex;gap:10px;margin-top:30px;padding-top:25px}.tip-dot{flex:0 0 6px;height:6px;background:#c69a4e;border-radius:50%;margin-top:5px}.sidebar-tip strong{font-size:11px;font-weight:600}.sidebar-tip p{font-size:11px;color:#73796c;line-height:1.8;margin:7px 0 0}.local-note{display:flex;align-items:center;gap:6px;color:#747d6c;margin-top:35px;font-size:10px;line-height:1.6}.local-note .icon{width:13px;height:13px}.puzzle-workspace{min-width:0;padding:0 30px 15px;background-image:linear-gradient(#c6cec22e 1px,transparent 1px),linear-gradient(90deg,#c6cec22e 1px,transparent 1px);background-size:20px 20px}.puzzle-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:67px}.puzzle-label{font-size:11px;color:#6f7865;display:flex;gap:7px;align-items:center}.live-dot{background:#7a9467;width:6px;height:6px;border-radius:50%;flex-shrink:0}.toolbar-actions{display:flex;align-items:center;gap:9px}.toolbar-actions button{font-size:11px;background:transparent;border:0;border-radius:4px;display:flex;align-items:center;gap:7px;padding:9px 6px;min-height:44px;white-space:nowrap}.toolbar-actions button:hover{background:#e3e7d9}.toolbar-actions .icon{width:16px;height:16px}.toolbar-actions button[aria-pressed=true]{color:#8d5e1d;background:#f2e8d3}.toolbar-divider{height:15px;width:1px;background:#ccd2c1}.worksheet{position:relative;background:var(--paper);max-width:690px;margin:0 auto;padding:24px 37px 18px;border-radius:2px;box-shadow:0 3px 7px #3e493817,0 15px 30px #3e493808;overflow:hidden}.sheet-top{display:flex;justify-content:space-between;align-items:center;color:#818777;font-size:8px;letter-spacing:1.8px}.sheet-number{letter-spacing:.5px;font-variant-numeric:tabular-nums}.sheet-brand{font-weight:600}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.sheet-heading h2{font-family:var(--serif);font-weight:600;font-size:27px;letter-spacing:-.6px;margin:0}.sheet-heading p{color:#848877;font-size:10px;margin:7px 0 0}.difficulty-badge{text-transform:capitalize;background:#edf1e5;border:1px solid #d7dfca;border-radius:4px;padding:5px 9px;color:#66764f;font-size:9px}.maze-container{position:relative;margin:38px 0 12px}.maze-board{width:100%;touch-action:none;border-radius:2px;cursor:crosshair}.maze-board>svg{width:100%;height:auto;display:block;overflow:visible}.start-label{position:absolute;top:-16px;left:0;font-family:var(--serif);font-size:11px;color:#587d50;display:flex;align-items:center;gap:5px;transform:rotate(-4deg);pointer-events:none}.start-label .icon{width:22px;height:15px;transform:rotate(30deg)}.finish-label{position:absolute;bottom:-7px;right:-2px;font-family:var(--serif);font-size:11px;color:#9a7736;transform:rotate(-3deg);pointer-events:none}.sheet-bottom{border-top:1px solid #e6e8dd;margin-top:22px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#929585;font-size:8px}.sheet-bottom>span:first-child{text-transform:uppercase;letter-spacing:.7px;font-size:8px}.sheet-flower{color:#9ca789;width:22px;height:22px}.sheet-flower svg{width:100%;height:100%}.print-name,.print-credit{display:none}.play-bar{max-width:690px;margin:19px auto 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.play-actions{display:flex;gap:7px;align-items:center}.play-actions .primary-button{min-height:41px;padding:9px 14px;white-space:nowrap}.icon-button{min-width:42px;min-height:44px;border:0;background:transparent;border-radius:5px;display:flex;align-items:center;justify-content:center}.play-actions>.icon-button{color:#79836f;min-width:32px}.play-instruction{display:flex;align-items:center;gap:9px;color:#7c8374;font-size:9px;line-height:1.6}.keycaps{display:flex;gap:3px}kbd{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;width:17px;height:19px;border:1px solid #cbd1c1;border-bottom-width:2px;border-radius:3px;background:#f5f6ee;color:#737c66;font-size:11px}.download-button{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;font-size:10px;background:transparent;border:0;border-radius:4px;min-height:44px;padding:5px}.download-button .icon{width:16px;height:16px}.play-feedback{max-width:690px;margin:3px auto 0;display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:25px;color:#64755a;font-size:10px}.play-feedback p{margin:7px 0 0;line-height:1.6}.play-feedback>span{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:9px;color:#768169}.touch-controls{display:none;flex-direction:column;align-items:center;gap:5px;margin-top:15px}.touch-controls>div{display:flex;gap:5px}.touch-controls button{display:flex;align-items:center;justify-content:center;width:49px;height:45px;border:1px solid #c6d0bc;background:#f9faf2;border-radius:7px;color:#365c3f}.touch-controls button:hover{background:#dce7d4}.rotate-up{transform:rotate(-90deg)}.rotate-left{transform:rotate(180deg)}.rotate-down{transform:rotate(90deg)}.is-solved .maze-board{background:#eef4e8}.is-solved .difficulty-badge{background:#295e49;color:#fff}.help-panel{border-top:1px solid #ced5c4;margin-top:38px;padding:24px 0 10px}.help-panel[hidden]{display:none}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.help-heading h2{font-family:var(--serif);font-size:26px;font-weight:600}.help-columns{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:35px}.help-columns h3{font-size:13px}.help-columns p{font-size:12px;line-height:1.9;color:#64705c}.site-footer{max-width:1280px;margin:0 auto;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#7b8371;font-size:10px}.site-footer>span:last-child{display:flex;align-items:center;gap:10px}.site-footer .icon{width:23px;height:15px}.solution-path{stroke-dasharray:1000;stroke-dashoffset:0;animation:trace-in .65s cubic-bezier(.16,1,.3,1)}@keyframes trace-in{0%{stroke-dashoffset:1000}to{stroke-dashoffset:0}}@media(min-width:1500px){.site-header{max-width:1376px}.intro{padding-top:51px;padding-bottom:42px}.worksheet{max-width:655px}.workspace{grid-template-columns:295px minmax(0,1fr)}}@media(max-width:1100px){.site-header{padding:0 32px}.workspace{grid-template-columns:252px minmax(0,1fr)}.settings-panel{padding:25px 20px}.puzzle-workspace{padding:0 20px 15px}.worksheet{padding:23px 25px 17px}.puzzle-label{display:none}.puzzle-toolbar{justify-content:flex-end;min-height:60px}.play-instruction{flex-direction:column;gap:4px}.intro h1{font-size:38px}.pencil-note{padding-right:12px}.sheet-heading h2{font-size:24px}.sidebar-tip,.local-note{margin-top:25px}.play-bar{gap:6px}.download-button span{display:none}}@media(max-width:760px){.site-header{height:76px;padding:0 24px}.brand{font-size:24px}.brand img{width:34px;height:34px}.header-note{display:none}main{padding:0 20px}.intro{padding:30px 0 26px;gap:12px}.intro h1{font-size:34px;max-width:360px}.intro p{font-size:12px;max-width:300px}.pencil-note{font-size:12px;padding:0 5px;gap:5px}.pencil-note .icon{width:22px;height:22px}.workspace{grid-template-columns:205px minmax(0,1fr)}.settings-panel{padding:22px 14px}.panel-heading h2{font-size:19px}.panel-heading>.icon{display:none}.setting-group{margin-bottom:25px}.segments{gap:3px}.segments button strong,.difficulty button{font-size:10px}.select-wrap select{font-size:10px;padding-left:8px}.primary-button{font-size:11px;padding:9px}.puzzle-workspace{padding:0 14px 13px}.worksheet{padding:18px 17px 15px}.sheet-heading h2{font-size:21px;line-height:1.2}.difficulty-badge,.play-instruction{display:none}.toolbar-actions{gap:5px}.toolbar-actions button{font-size:10px}.play-feedback{font-size:9px}.sheet-bottom>span:nth-child(2){display:none}.touch-controls{display:flex}.site-footer{padding:22px 20px}.help-columns{grid-template-columns:1fr 1fr;gap:15px}.help-columns>div:first-child{grid-column:1/-1}.sidebar-tip{margin-top:18px}.local-note{margin-top:22px}}@media(max-width:580px){.site-header{padding:0 20px;height:73px}.about-button{font-size:11px;padding-right:0;gap:6px}.brand{gap:9px;font-size:24px}.about-button .icon{width:17px}.intro{padding:28px 0 26px}.intro h1{font-size:33px;letter-spacing:-.9px;max-width:330px}.intro h1 em{display:block}.intro p{font-size:12px;max-width:265px;line-height:1.7}.pencil-note{display:none}.workspace{display:flex;flex-direction:column;border-radius:9px}.settings-panel{padding:22px 18px 17px;border-right:0;border-bottom:1px solid #d4d8cb;display:grid;grid-template-columns:1fr 1fr;gap:17px 14px}.panel-heading{grid-column:1/-1;margin:0 0 1px}.panel-heading h2{font-size:21px}.panel-heading>.icon{display:block}.setting-group{margin:0}.setting-group legend,.setting-group label{font-size:11px;margin-bottom:10px}.segments button{min-height:55px;gap:3px}.segments button strong{font-size:11px}.segments button span{font-size:9px}.difficulty{gap:0;min-height:55px}.difficulty button{min-height:45px;font-size:10px}.field-note{font-size:10px;margin-top:7px;line-height:1.5}.algorithm-group{grid-column:1/-1}.select-wrap select{font-size:12px;min-height:44px}.algorithm-group .field-note{min-height:15px}.generate{grid-column:1/-1;min-height:45px;font-size:12px;margin-top:1px}.generate-note{grid-column:1/-1;margin:-8px 0 0;font-size:10px;min-height:0}.sidebar-tip,.local-note{display:none}.puzzle-workspace{padding:0 12px 16px}.puzzle-toolbar{min-height:57px;justify-content:space-between}.puzzle-label{display:flex;font-size:9px;gap:5px;max-width:76px;line-height:1.4}.puzzle-label .live-dot{width:5px;height:5px}.toolbar-actions{gap:3px}.toolbar-actions button{padding:7px 3px;gap:4px;font-size:10px}.toolbar-actions .icon{width:14px;height:14px}.toolbar-divider{margin:0 4px}.worksheet{padding:19px 17px 14px}.sheet-top{font-size:7px;letter-spacing:1.5px}.sheet-heading{margin-top:18px}.sheet-heading h2{font-size:24px;letter-spacing:-.5px}.sheet-heading p{font-size:9px;margin-top:6px}.maze-container{margin-top:33px}.sheet-bottom{margin-top:22px;padding-top:10px;font-size:7px}.sheet-bottom>span:nth-child(2){display:block;font-size:7px}.sheet-bottom>span:first-child{font-size:7px;letter-spacing:.3px}.sheet-flower{width:18px;height:18px}.play-bar{margin-top:16px;gap:5px}.play-instruction{display:flex;align-items:flex-start;font-size:8px;max-width:100px;line-height:1.5}.play-instruction .keycaps{display:none}.play-actions{gap:2px}.play-actions .primary-button{min-height:44px;padding:9px 12px;font-size:11px}.play-actions .primary-button .icon{width:16px}.download-button{min-width:32px}.play-feedback{font-size:9px;margin-top:8px;gap:8px}.play-feedback p{margin-top:2px;max-width:245px}.touch-controls{margin-top:14px}.touch-controls button{width:53px;height:46px}.site-footer{align-items:flex-start;font-size:9px;line-height:1.7;padding:24px 20px}.site-footer>span{max-width:145px}.site-footer>span:last-child{max-width:115px;text-align:right;gap:5px}.site-footer .icon{display:none}.help-heading h2{font-size:23px}.help-columns{grid-template-columns:1fr;gap:8px}.help-columns>div:first-child{grid-column:auto}.help-columns p{margin-top:5px}.help-columns h3{margin-bottom:5px}}@media(hover:none)and (min-width:761px){.touch-controls{display:flex}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@page{size:auto;margin:14mm}@media print{html,body{background:#fff!important;color:#111;print-color-adjust:exact;-webkit-print-color-adjust:exact}.site-header,.intro,.settings-panel,.puzzle-toolbar,.play-bar,.play-feedback,.touch-controls,.site-footer,.help-panel{display:none!important}main{padding:0;max-width:none}.workspace{display:block;border:0;background:#fff;border-radius:0;overflow:visible}.puzzle-workspace{padding:0;background:#fff}.worksheet{width:100%;max-width:175mm;box-shadow:none;margin:0 auto;padding:0;break-inside:avoid;overflow:visible}.sheet-top{font-size:9pt;color:#555}.sheet-heading{margin-top:7mm}.sheet-heading h2{font-size:23pt}.sheet-heading p{font-size:10pt;color:#444}.difficulty-badge{display:block;font-size:9pt;color:#333;background:#fff;border-color:#888}.print-name{display:flex;justify-content:space-between;margin-top:9mm;font-size:10pt;color:#555}.maze-container{margin:12mm 0 6mm}.start-label,.finish-label{font-size:10pt}.sheet-bottom{font-size:8pt;color:#555;margin-top:8mm}.sheet-bottom>span:first-child,.sheet-bottom>span:nth-child(2){font-size:8pt;display:block}.print-credit{display:block;text-align:center;margin-top:8mm;color:#666;font-size:8pt}.player-trail,.player-dot{display:none}.maze-board{outline:0!important}.is-solved .maze-board{background:transparent}.is-solved .difficulty-badge{background:#fff;color:#333}}.customize-button,.settings-done{display:none}.worksheet,.play-bar,.play-feedback{max-width:580px}.intro{padding-top:32px;padding-bottom:28px}.site-header{height:80px}.sheet-top,.sheet-heading p,.sheet-bottom,.sheet-bottom>span:first-child{color:#6b735f}.sheet-bottom>span:nth-child(2){color:#6b735f}.field-note,.generate-note,.sidebar-tip p,.local-note,.play-instruction,.play-feedback>span,.site-footer{color:#626e57}.sheet-number,.sheet-top{font-size:9px}.sheet-bottom,.sheet-bottom>span:first-child{font-size:9px}.play-instruction{font-size:10px}.difficulty button{min-height:40px}.play-actions>.icon-button{min-width:44px}.download-button{min-width:44px}.toolbar-actions button{min-height:44px}.segments button span{color:#626e57}@media(min-width:1500px){.worksheet{max-width:580px}}@media(max-width:580px){.site-header{height:73px}.intro{padding:25px 0 24px}.settings-panel{display:none}.workspace.settings-open .settings-panel{display:grid}.settings-done{display:flex;align-items:center;justify-content:center;gap:6px;min-width:64px;min-height:44px;border:1px solid #c6d0bc;border-radius:5px;background:#eff3e8;color:#295e49;font-size:11px}.panel-heading>.icon{display:none}.customize-button{display:flex;align-items:center;gap:5px;background:transparent;border:0;border-radius:4px;padding:8px 3px;min-height:44px;font-size:10px;min-width:75px}.customize-button .icon{width:14px;height:14px}.puzzle-label{display:none}.toolbar-actions button{font-size:10px}.puzzle-toolbar{gap:5px}.worksheet{max-width:none}.sheet-top,.sheet-number{font-size:8px}.sheet-bottom,.sheet-bottom>span:first-child,.sheet-bottom>span:nth-child(2){font-size:7px}.play-instruction{font-size:9px}.play-actions>.icon-button{min-width:38px}.download-button{min-width:38px}.local-note{display:flex;grid-column:1/-1;margin:0;font-size:9px}.play-bar{flex-wrap:wrap}.play-instruction{max-width:90px}.site-footer{font-size:10px}.site-footer>span{max-width:160px}.site-footer>span:last-child{max-width:130px}}@media print{.customize-button,.settings-done{display:none!important}.worksheet{max-width:175mm}.sheet-top,.sheet-number{font-size:9pt}.sheet-bottom,.sheet-bottom>span:first-child,.sheet-bottom>span:nth-child(2){font-size:8pt}}
