@charset "UTF-8";
:root{color-scheme:dark;--ink:#091b21;--panel:#10262b;--gold:#e1bb76;--gold-soft:#a98d5f;--paper:#f4eddb;--muted:#96adae;--teal:#79d6c2;--border:rgba(208,190,146,.16);font-family:Arial,Helvetica,sans-serif;background:var(--ink);color:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation}button:disabled{cursor:default;opacity:.35}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}svg{display:block}button svg,nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}a{color:inherit;text-decoration:none}.masthead{height:100px;max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:0 5.6%;border-bottom:1px solid var(--border)}.wordmark{display:flex;align-items:center;gap:13px;color:var(--gold)}.wordmark>svg{width:29px;height:40px}.wordmark span{font:26px Georgia,serif;letter-spacing:4.8px}.wordmark small{display:block;font:8px Arial,sans-serif;letter-spacing:3.1px;color:var(--muted);margin-top:5px;text-align:center}.masthead nav{display:flex;align-items:center;gap:28px}.navbutton{display:flex;align-items:center;gap:10px;font-size:12px;min-height:44px;color:#c5d0ca}.iconbutton{display:grid;place-items:center;width:44px;height:44px;color:var(--muted);font:28px Georgia,serif}.iconbutton:hover,.navbutton:hover{color:var(--gold)}main{max-width:1440px;margin:auto;display:grid;grid-template-columns:minmax(0,1.16fr) minmax(380px,1fr);min-height:calc(100svh - 140px)}.world{position:relative;min-height:730px;overflow:hidden;border-right:1px solid var(--border);isolation:isolate}.scene{position:absolute;inset:0}.forest{width:100%;height:100%;object-fit:cover;object-position:52% 50%;position:absolute;inset:0}.dormant{filter:grayscale(.96) brightness(.65) sepia(.08)}.restored{mask-image:linear-gradient(transparent,transparent);-webkit-mask-image:linear-gradient(transparent,transparent);transition:opacity 1.6s ease}.scene-vignette{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,16,21,.4),transparent 25%,rgba(4,16,21,.02) 42%,rgba(4,16,21,.68) 72%,#091b21 100%)}#atmosphere{position:absolute;width:100%;height:100%;inset:0}.chapter-tag{position:absolute;top:31px;left:9.5%;display:flex;gap:13px;align-items:center;font-size:9px;letter-spacing:2.3px;color:var(--gold)}.tiny-star{font-size:24px}.tagline{padding-left:13px;border-left:1px solid #7b795e;color:#cfcec0;font-size:8px;letter-spacing:1.5px}.view-world{position:absolute;right:28px;top:28px;width:40px;height:40px;display:grid;place-items:center;color:#d5d7c7;border:1px solid #a09d7044;border-radius:50%;background:#09202688}.view-world svg{width:17px}.world-caption{position:absolute;left:9.5%;right:11%;bottom:48px}.eyebrow{font-size:9px;font-weight:400;line-height:1.5;letter-spacing:2.1px;color:var(--gold);margin:0}.world h1{font:clamp(44px,4.5vw,69px)/1.07 Georgia,'Times New Roman',serif;letter-spacing:-1.5px;margin:17px 0 17px}.world-caption>p:not(.eyebrow){max-width:290px;color:#adbcb8;font:italic 14px/1.8 Georgia,serif}.restoration{margin-top:31px;display:flex;align-items:center;gap:18px;font-size:10px;color:#a7b8b4;letter-spacing:.3px}.restoration strong{color:var(--gold);font-weight:400}.progress-line{height:2px;flex:1;max-width:200px;background:#d6bc8430}.progress-line>span{display:block;width:0;height:100%;background:var(--gold);box-shadow:0 0 12px #eac78377;transition:width 1.5s}.puzzle-panel{padding:38px 13.5% 20px;display:flex;flex-direction:column;justify-content:center;min-width:0;background:radial-gradient(ellipse at 50% 42%,#17353a 0%,#0f262c 53%,#0c2026 100%)}.puzzle-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.puzzle-top b{font-weight:400}.muted{color:#9dada7;letter-spacing:0;margin-left:4px}.page-icon{color:var(--gold);font-size:25px}.page-dots{display:flex;gap:5px;margin-left:auto;margin-right:16px}.page-dots i{width:4px;height:4px;border-radius:50%;background:#6d827755}.page-dots i.done{background:var(--gold)}.page-dots i.current{outline:1px solid var(--gold);outline-offset:2px}.puzzle-heading h2{font:30px/1.2 Georgia,serif;margin:0 0 10px;letter-spacing:-.4px}.puzzle-heading p{font:italic 13px/1.6 Georgia,serif;color:#a4b5b0;margin:0 0 28px}.board-shell{position:relative;margin:0 -3px;padding:10px;border:1px solid #ad975b26;border-radius:4px;background:linear-gradient(135deg,#233a381c,#07171cb3);box-shadow:0 15px 60px #020b0d33;isolation:isolate}.board-corner{width:17px;height:17px;position:absolute;border-color:var(--gold-soft);border-style:solid;opacity:.8;pointer-events:none}.top-left{left:-1px;top:-1px;border-width:1px 0 0 1px}.top-right{right:-1px;top:-1px;border-width:1px 1px 0 0}.bottom-left{left:-1px;bottom:-1px;border-width:0 0 1px 1px}.bottom-right{right:-1px;bottom:-1px;border-width:0 1px 1px 0}.board{display:grid;grid-template-columns:repeat(var(--n,3),1fr);gap:3px;aspect-ratio:1;width:100%}.tile{min-width:0;position:relative;aspect-ratio:1;border-radius:5px;background:linear-gradient(145deg,#294145,#193037);box-shadow:inset 0 1px 0 #ffffff07,0 1px 1px #0002;padding:0;display:grid;place-items:center;transition:background .2s;overflow:visible}.tile.rune:hover{background:linear-gradient(145deg,#334b4b,#203b3e)}.tile.rune:active{filter:brightness(1.15)}.tile.active{background:linear-gradient(145deg,#35483d,#243b37)}.tile.source,.tile.goal{background:linear-gradient(145deg,#20363b,#132b33)}.tile.source.active,.tile.goal.active{background:radial-gradient(circle,#465239,#253b36)}.tile.stone{background:linear-gradient(135deg,#102a2e,#10262b);box-shadow:none;opacity:.7}.tile.cross{background:#19343a}.tile.stone svg{width:45%;opacity:.18}.tile>svg{width:100%;height:100%;overflow:visible}.groove{fill:none;stroke:#071b22;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}.pipe{fill:none;stroke:#637f7c;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.active .pipe{stroke:#e9c983;filter:drop-shadow(0 0 3px #f5c26088)}.ink-flow{fill:none;stroke:#fff7d5;stroke-width:2.5;stroke-dasharray:4 30;stroke-linecap:round;animation:ink 1.4s linear infinite}.tile.lantern .pipe{stroke:#8aa59d}.rune-ring{fill:none;stroke:#83a39733;stroke-width:.8}.source-symbol{fill:#f2d591;filter:drop-shadow(0 0 5px #e0b65a99)}.goal-symbol{fill:none;stroke:#859991;stroke-width:1.5;stroke-linejoin:round}.active .goal-symbol{stroke:#ffdf90;filter:drop-shadow(0 0 4px #ecc76d)}.leak-dot{fill:#f0c575;opacity:.75}.tile.whispered{outline:2px solid var(--gold);outline-offset:-3px}.board.completed .active{animation:awaken .9s ease}.board-status{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.3px;color:#96aaa5;margin-top:15px;min-height:18px}.board-status #connectionStatus{display:flex;align-items:center;gap:7px}.board-status i{width:5px;height:5px;background:var(--gold);border-radius:50%;box-shadow:0 0 6px #e1bb7677}.board-status .complete{color:var(--gold)}.toolstrip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-bottom:1px solid var(--border);margin-top:22px;padding-bottom:16px}.toolstrip button{font-size:10px;display:flex;gap:8px;justify-content:center;align-items:center;min-height:44px;color:#b7c9c1;border:1px solid #b9be9320;border-radius:5px;transition:background .2s}.toolstrip button:hover:not(:disabled){background:#d1b76b10;border-color:#b9be9360}.toolstrip button svg{width:16px;height:16px}.toolstrip #hintButton{color:var(--gold)}.tip{font-size:11px;color:#a4b7ae;line-height:1.8;text-align:center;min-height:38px;margin:15px 3px 0}.puzzle-footer{display:flex;align-items:center;justify-content:center;gap:9px;font:italic 11px Georgia,serif;color:#768e87;margin-top:11px}.footer-flower{font-size:12px;color:#b59d60}.puzzle-footer button{width:32px;height:32px;border:1px solid #70898240;border-radius:50%;font:12px Georgia,serif;margin-left:auto}.site-footer{display:flex;justify-content:space-between;gap:12px;max-width:1440px;margin:auto;padding:17px 5.6%;font-size:7px;letter-spacing:1.9px;color:#728884;border-top:1px solid var(--border)}.toast{position:fixed;z-index:50;bottom:30px;left:50%;transform:translate(-50%,20px);padding:14px 22px;border-radius:8px;background:#f1e7cc;color:#19332c;font-size:12px;box-shadow:0 8px 35px #0006;opacity:0;pointer-events:none;transition:.3s;max-width:calc(100vw - 32px);width:max-content;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{color:var(--paper);background:linear-gradient(145deg,#18383c,#0e252b);border:1px solid #bbad7755;border-radius:12px;padding:34px;width:440px;max-width:calc(100vw - 28px);max-height:calc(100svh - 36px);box-shadow:0 24px 100px #0008;overflow:auto}dialog::backdrop{background:#020f16b8;backdrop-filter:blur(6px)}dialog h2{font:29px/1.2 Georgia,serif;letter-spacing:-.5px;margin:10px 0 16px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.dialog-head .iconbutton{margin-top:-9px;margin-right:-15px;flex-shrink:0}.dialog-intro{font:italic 14px/1.7 Georgia,serif;color:var(--muted);margin:0 0 20px}.win-dialog{text-align:center;padding:38px}.win-orbit{color:var(--gold);width:84px;height:84px;border:1px solid #dabb7550;border-radius:50%;display:grid;place-items:center;margin:0 auto 27px;font-size:36px;box-shadow:0 0 45px #e5bd4f15,inset 0 0 25px #e5bd4f0a}.win-dialog h2{font-size:32px;margin-top:14px}.win-dialog>p:not(.eyebrow){font:italic 16px/1.65 Georgia,serif;color:#b5c5ba}.win-summary{display:flex;justify-content:center;gap:20px;font-size:10px;color:var(--gold);margin:24px 0}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:51px;border-radius:5px;background:#dfbd7f;color:#10282a;font-size:12px;font-weight:600;padding:0 20px;letter-spacing:.3px}.primary:hover{background:#efd298}.primary span{font-size:21px;font-weight:400}.quiet{min-height:44px;font-size:11px;color:#aebdb3;padding:13px;margin-top:8px}.page-list{display:grid;gap:6px}.page-entry{display:flex;align-items:center;width:100%;gap:13px;padding:12px;text-align:left;border:1px solid #b7be8920;border-radius:6px;min-height:60px}.page-entry:not(:disabled):hover{background:#d9c4890a;border-color:#baa86d66}.page-entry:disabled{opacity:.4}.page-entry .page-num{font:19px Georgia,serif;color:var(--gold);min-width:26px}.page-entry strong{font-size:12px;font-weight:400}.page-entry small{display:block;font-size:9px;line-height:1.5;color:var(--muted);margin-top:4px}.entry-symbol{margin-left:auto;color:var(--gold);font-size:18px}.book-progress{font-size:10px;color:var(--gold);margin:12px 0 22px;letter-spacing:.5px}.book-footnote{font-size:10px;color:#8ea69d;line-height:1.8;margin:22px 0 0}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--border);padding:21px 0}.setting-row strong{font-size:13px;font-weight:400}.setting-row p{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.6}.toggle{width:48px;height:44px;min-width:48px;position:relative}.toggle:before{content:'';position:absolute;inset:10px 0;background:#536b6560;border:1px solid #71857955;border-radius:20px}.toggle span{display:block;position:absolute;top:14px;left:4px;width:16px;height:16px;border-radius:50%;background:#9bb0a5;transition:.2s}.toggle[aria-checked=true]:before{background:#c6ac6e}.toggle[aria-checked=true] span{left:28px;background:#17352f}.instructions{padding-left:20px;color:#aebeb4;font-size:13px;line-height:1.8}.instructions li{padding:0 0 16px 7px}.instructions strong{color:var(--gold);font-weight:400}.world-dialog{width:1100px;padding:0;overflow:hidden;background:#071b21}.expanded-world{position:relative;height:min(740px,85svh)}.expanded-world>img{width:100%;height:100%;object-fit:cover;filter:grayscale(var(--gray,1)) brightness(.85)}.expanded-world>canvas{position:absolute;inset:0;width:100%;height:100%}.expanded-vignette{position:absolute;inset:0;background:linear-gradient(transparent 45%,#061b21 100%)}.expanded-world>.iconbutton{position:absolute;top:14px;right:14px;background:#091b21b3;border-radius:50%;color:#efe8d8}.expanded-caption{position:absolute;bottom:24px;left:8%;right:8%;text-align:center}.expanded-caption h2{font-size:42px;margin:13px 0}.expanded-caption>p:not(.eyebrow){font:italic 15px/1.6 Georgia,serif;color:#becec5}.no-script{position:fixed;inset:40%;background:#18383c;padding:24px;z-index:100}.reduced-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduced-motion .ink-flow{stroke-dasharray:none;opacity:.55}@keyframes ink{to{stroke-dashoffset:-34}}@keyframes awaken{50%{filter:brightness(1.5)}}
[hidden]{display:none!important}.next-inline{margin-top:18px}.tile.turning{animation:tap-glow .22s ease}@keyframes tap-glow{50%{filter:brightness(1.3)}}
@media(min-width:1500px){.masthead{height:110px}main{min-height:780px}.world{min-height:800px}.puzzle-panel{padding-left:15%;padding-right:15%}}
@media(min-width:761px) and (max-height:820px){.masthead{height:78px}.world{min-height:650px}.puzzle-panel{padding-top:22px;padding-bottom:10px}.puzzle-top{margin-bottom:16px}.puzzle-heading p{margin-bottom:18px}.toolstrip{margin-top:12px;padding-bottom:10px}.world-caption{bottom:36px}}
@media(max-width:1050px) and (min-width:761px){main{grid-template-columns:1fr 1fr}.puzzle-panel{padding-left:9%;padding-right:9%}.chapter-tag{left:7%;gap:8px}.tagline{display:none}.world-caption{left:7%;right:7%}.world h1{font-size:50px}.puzzle-heading h2{font-size:27px}}
@media(max-width:760px){.masthead{height:69px;padding:0 6%}.wordmark>svg{width:23px;height:33px}.wordmark{gap:9px}.wordmark span{font-size:20px;letter-spacing:3.6px}.wordmark small{font-size:6px;letter-spacing:2.7px;margin-top:4px}.masthead nav{gap:12px}.navbutton{font-size:10px;gap:6px}.navbutton svg{width:17px}.iconbutton{width:38px}main{display:block;min-height:0}.world{min-height:0;height:235px;border-right:0;border-bottom:1px solid var(--border)}.forest{object-position:50% 52%}.scene-vignette{background:linear-gradient(90deg,#06181da3,transparent 80%),linear-gradient(0deg,#0b2228 0%,transparent 62%)}.chapter-tag{top:14px;left:7%;font-size:7px;letter-spacing:1.8px;gap:7px}.tagline{font-size:6px;letter-spacing:1px;padding-left:8px}.tiny-star{font-size:18px}.view-world{top:13px;right:6%;width:34px;height:34px}.world-caption{left:7%;right:7%;bottom:17px}.world-caption>.eyebrow{display:none}.world h1{font-size:36px;margin:0 0 8px;letter-spacing:-.6px;line-height:1.03}.world h1 br{display:none}.world-caption>p:not(.eyebrow){font-size:11px;margin:0;max-width:260px;line-height:1.5}.restoration{margin-top:14px;gap:13px;font-size:9px;max-width:220px}.progress-line{max-width:115px}.puzzle-panel{padding:23px 7% 16px;max-width:510px;margin:auto;background:none}.puzzle-top{margin-bottom:15px}.puzzle-heading h2{font-size:27px;margin-bottom:7px}.puzzle-heading p{font-size:12px;line-height:1.5;margin-bottom:19px}.board-shell{padding:8px}.page-dots{gap:7px}.eyebrow{font-size:8px}.board-status{margin-top:12px;font-size:10px}.toolstrip{margin-top:15px;padding-bottom:12px;gap:8px}.toolstrip button{font-size:10px;gap:7px;min-height:44px}.tip{font-size:11px;margin-top:12px;min-height:36px}.puzzle-footer{margin-top:8px;font-size:10px}.site-footer{font-size:6px;letter-spacing:1.4px;padding:16px 7%;padding-bottom:max(16px,env(safe-area-inset-bottom))}.expanded-caption h2{font-size:33px}.expanded-world{height:80svh}.expanded-world>img{object-position:53% 50%}dialog{padding:27px}.win-dialog{padding:30px}.world-dialog{padding:0}.win-orbit{width:64px;height:64px;font-size:29px;margin-bottom:21px}.win-dialog h2{font-size:29px}}
@media(max-width:760px) and (min-height:780px){.world{height:215px}}
@media(max-width:380px){.masthead{height:61px}.navbutton span{display:none}.world{height:188px}.world h1{font-size:31px}.puzzle-panel{padding:20px 6% 12px}.puzzle-heading h2{font-size:25px}.tip{font-size:10px}.page-dots{gap:5px}.tile{border-radius:3px}.board{gap:2px}}
@media(prefers-reduced-motion:reduce){body:not(.allow-motion) *{animation:none!important;transition:none!important}}
@media(max-width:760px) and (max-height:950px){.masthead{height:62px}.world{height:170px}.puzzle-panel{padding-top:18px}.puzzle-top{margin-bottom:10px}.puzzle-heading p{margin-bottom:13px}.board-shell{max-width:310px;margin-left:auto;margin-right:auto;width:100%}.toolstrip{margin-top:10px;padding-bottom:8px}.board-status{margin-top:10px}.tip{margin-top:10px}.puzzle-footer{margin-top:3px}}

.fresh-start-setting{margin-top:24px}.fresh-start-setting h3{font:22px/1.2 Georgia,serif;margin:0 0 9px;color:var(--paper)}.fresh-start-setting p{font:12px/1.6 Arial,sans-serif;color:var(--muted);margin:0 0 14px}
