:root{color:#eee9d8;font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--muted:#a1b4af;--gold:#f4c57c;--line:#354846;background:#101f25;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 28% 48%,#1e3435 0,#0000 58%);min-width:280px;margin:0}button{font:inherit;cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible{outline-offset:4px;outline:3px solid #fff0bb}[hidden]{display:none!important}.app{max-width:1120px;margin:auto;padding:28px 28px 16px}.masthead{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.eyebrow{letter-spacing:2px;color:var(--gold);margin:0 0 8px;font-size:11px}.eyebrow span{letter-spacing:1px;color:var(--muted);padding-left:16px}h1{letter-spacing:5px;margin:0;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:35px;font-weight:500;line-height:1.3}h1 span{color:var(--gold)}.help-button{width:44px;height:44px;color:var(--gold);background:0 0;border:1px solid #5b6960;border-radius:50%;font-family:Georgia,serif;font-size:23px}.help-button:hover{background:#2f403b}.game-layout{grid-template-columns:minmax(0,1fr) 284px;align-items:start;gap:34px;display:grid}.forest-panel{border:1px solid var(--line);background:#13292c;border-radius:12px;overflow:hidden;box-shadow:0 16px 54px #06131555}.forest-heading{letter-spacing:2px;color:#c4cdbd;justify-content:space-between;align-items:center;padding:17px 22px 0;font-size:12px;display:flex}.forest-heading span:last-child{color:#a0ada2;letter-spacing:3px;font-family:Georgia,serif}.board{aspect-ratio:720/520;isolation:isolate;position:relative}canvas{width:100%;height:100%;display:block}#nodes{position:absolute;inset:0}.node{opacity:1;background:0 0;border:1px solid #0000;border-radius:11px;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;width:74px;height:68px;padding:28px 2px 4px;line-height:1.2;transition:background .18s,border-color .18s;display:flex;position:absolute;transform:translate(-50%,-20%)}.node:disabled{color:#c4cec0}.node.available{background:linear-gradient(#0000,#1b3234dd);border-color:#a58a5680}.node.available:hover,.node.available:focus-visible{border-color:var(--gold);background:#4c4835b0}.node.current{background:#1c393ba6;border-color:#71908480}.node .node-label{white-space:nowrap;letter-spacing:.5px;background:#122529e6;border-radius:4px;padding:3px 4px;font-size:12px}.node .node-label b{color:#fff3c8;margin-right:4px;font-family:Georgia,serif;font-size:14px}.node .fuel-bar{background:#3e4d47;border-radius:4px;width:45px;height:3px;overflow:hidden}.node .fuel-bar i{background:#e8b26d;width:0;height:100%;transition:background .2s;display:block}.node.lit .node-label{color:#ffe2a8}.node.low .fuel-bar i{background:#f09a76}.node.low .node-label{color:#ffb798}.node.expired .node-label{color:#efa58e}.node.start{padding-bottom:12px}.node.start .node-label{letter-spacing:2px;color:#d2dcce;font-size:11px}.node.available:before{content:"";opacity:.85;border:1px solid #d4b074;border-radius:50%;width:32px;height:22px;position:absolute;top:4px;transform:rotate(-12deg)}.map-key{letter-spacing:.3px;color:#b6c3b5;border-top:1px solid #35484699;flex-wrap:wrap;justify-content:center;gap:16px;padding:14px;font-size:10px;display:flex}.map-key span{align-items:center;gap:6px;display:inline-flex}.path-key{border-top:2px dashed #baab81;width:12px}.fire-key{background:#e8ac60;border-radius:70% 30% 65% 35%;width:7px;height:11px;transform:rotate(15deg)}.notebook{padding-top:12px}.chapter{color:var(--gold);letter-spacing:1px;align-items:center;gap:9px;font-size:10px;display:flex}.chapter-rule{background:var(--gold);width:18px;height:1px}h2{letter-spacing:1.5px;margin:13px 0 15px;font-family:Yu Mincho,Hiragino Mincho ProN,serif;font-size:25px;font-weight:500;line-height:1.65}.goal{color:#b9c7ba;margin:0 0 22px;font-size:13px;line-height:1.8}.goal strong{color:#eee8d1;letter-spacing:1px;font-weight:500}.progress{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:17px;padding-bottom:15px;display:flex}.progress>div:first-child{align-items:center;gap:15px;display:flex}.small-label{letter-spacing:1px;color:#aebcae;font-size:10px}.progress strong{color:var(--gold);font-family:Georgia,serif;font-size:26px;font-weight:400}.progress small{color:#9eafa0;font-size:15px}#embers{gap:6px;display:flex}#embers i{border:1px solid #708272;border-radius:70% 30% 65% 35%;width:8px;height:13px;transform:rotate(13deg)}#embers i.on{background:var(--gold);border-color:var(--gold);box-shadow:0 0 12px #ffc4775c}.time-card{background:#273b38;border:1px solid #43554a;border-radius:7px;align-items:center;gap:12px;padding:12px 11px;display:flex}.time-card>span{color:var(--gold);text-align:center;width:23px;font-size:20px;font-weight:300}.time-card strong{color:#f2dab2;font-size:12px;font-weight:500}.time-card p{color:#c4cebc;margin:5px 0 0;font-size:10px;line-height:1.5}.time-card.walking{background:#3b3f2e;border-color:#6d6140}.status{color:#bac9ba;min-height:40px;margin:12px 0;font-size:11px;line-height:1.8}.actions{gap:8px;display:flex}.actions button{background:#1a3032;border:1px solid #536351;border-radius:6px;min-height:44px;padding:11px 13px;font-size:12px}.actions button:hover:enabled{border-color:var(--gold);color:var(--gold)}.actions button:disabled{opacity:.35}.actions #undo{flex:1}.actions #pause{width:44px;padding:10px}.route-log{border-top:1px solid var(--line);margin-top:19px;padding-top:13px}.route-log p{letter-spacing:1px;color:#d4d8c3;overflow-wrap:anywhere;margin:8px 0 0;font-family:Georgia,Yu Gothic UI,serif;font-size:13px;line-height:1.8}.quiet-note{color:#92a898;margin:17px 0 0;font-family:Yu Mincho,serif;font-size:12px;line-height:1.9}.result{border-left:2px solid var(--gold);margin:8px 0 18px;padding:0 0 0 14px}.result .small-label{color:var(--gold);margin:0}.result h3{color:#ffe3ae;margin:7px 0;font-family:Yu Mincho,serif;font-size:21px;font-weight:500}.result p:not(.small-label){color:#c3cebb;margin:8px 0 12px;font-size:11px;line-height:1.7}.primary{color:#25362f;letter-spacing:.5px;background:#eed3a1;border:0;border-radius:5px;min-height:44px;padding:12px 20px;font-size:12px;font-weight:600}.primary:hover{background:#ffe5b5}.result.failed{border-color:#d59077}.result.failed h3{color:#efb396}footer{letter-spacing:2px;color:#8c9d90;justify-content:space-between;margin-top:20px;font-size:8px;display:flex}dialog{color:#e8e8d4;background:#1b3032;border:1px solid #748165;border-radius:12px;width:calc(100% - 36px);max-width:440px;padding:0;box-shadow:0 22px 90px #0008}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#071315ce}.dialog-content{padding:30px}.dialog-content h2{margin-top:9px;font-size:24px}.dialog-content ol{padding-left:22px;font-size:13px;line-height:1.9}.dialog-content li{margin-bottom:10px;padding-left:4px}.dialog-content p:not(.eyebrow){color:#c4cfbd;font-size:12px;line-height:1.9}.dialog-content .keyboard-note{font-size:11px!important}.dialog-content .primary{width:100%;margin-top:12px}@media (min-width:760px) and (max-height:760px){.app{max-width:1030px;padding-top:18px}.masthead{margin-bottom:17px}h1{font-size:30px}.game-layout{gap:28px}.notebook{padding-top:7px}.notebook h2{margin:10px 0;font-size:23px}.goal{margin-bottom:15px}.quiet-note{margin-top:12px}footer{margin-top:15px}}@media (max-width:759px){.app{max-width:530px;padding:18px 16px 15px}.masthead{margin-bottom:16px}.eyebrow{letter-spacing:1.5px;margin-bottom:7px;font-size:9px}.eyebrow span{padding-left:10px;font-size:9px}h1{letter-spacing:3px;font-size:28px}.help-button{width:44px;height:44px}.game-layout{grid-template-columns:1fr;gap:17px}.forest-heading{letter-spacing:1px;padding:12px 15px 0;font-size:11px}.map-key{gap:10px;padding:11px 7px;font-size:9px}.node{border-radius:7px;gap:2px;width:58px;height:53px;padding:18px 0 3px}.node .node-label{letter-spacing:0;padding:3px;font-size:10px}.node .node-label b{margin-right:3px;font-size:12px}.node .fuel-bar{width:34px;height:3px}.node.start{padding-bottom:9px}.node.start .node-label{font-size:10px}.node.available:before{width:25px;height:17px;top:1px}.notebook{grid-template-columns:1fr 1fr;column-gap:14px;padding:0 4px;display:grid}.chapter,.notebook h2,.goal,.quiet-note{display:none}.progress{border:0;grid-area:1/1;align-self:center;margin:0;padding:0}.progress>div:first-child{gap:9px}.progress .small-label{font-size:10px}.progress strong{font-size:25px}.progress #embers{display:none}.time-card{grid-area:1/2;gap:6px;padding:9px 8px}.time-card>span{width:17px;font-size:16px}.time-card strong{white-space:nowrap;font-size:10px}.time-card p{margin-top:3px;font-size:9px}.status{grid-column:1/-1;min-height:0;margin:11px 0;font-size:11px}.actions{grid-column:1/-1}.route-log{grid-column:1/-1;align-items:baseline;gap:13px;margin-top:13px;padding-top:9px;display:flex}.route-log p{margin:0;font-size:12px}.result{grid-column:1/-1;margin:0 0 15px}.result h3{font-size:20px}.result p:not(.small-label){font-size:12px}.result .primary{width:100%}footer{letter-spacing:1px;margin-top:19px;font-size:7px}.dialog-content{padding:25px}}.mission{display:none}.help-button{flex:0 0 44px;min-width:44px}.notebook h2{white-space:pre-line}.board{aspect-ratio:720/600}.board-tools{justify-content:space-between;align-items:center;gap:12px;margin:-7px 0 18px;display:flex}.board-tools label{color:#bdcbb8;letter-spacing:1px;align-items:center;gap:11px;font-size:11px;display:flex}.board-tools select,.board-tools button{color:#e4d8b6;min-height:44px;font:inherit;background:#203635;border:1px solid #536351;border-radius:6px;padding:9px 12px;font-size:12px}.board-tools select{cursor:pointer}.board-tools button:hover{border-color:var(--gold);color:var(--gold)}.board-tools select:focus-visible{outline-offset:3px;outline:3px solid #fff0bb}.forest-heading span:last-child{letter-spacing:1.1px;font-size:10px}@media (min-width:760px){.app{max-width:clamp(900px,120dvh + 8px,1120px)}}.node{height:112px;transform:translate(-50%,-65%)}.node.available:before{top:39px}@media (max-width:759px){h1{letter-spacing:2px;white-space:nowrap;font-size:clamp(23px,6.9vw,28px)}.mission{letter-spacing:.5px;color:#d4d9c4;margin:-3px 0 13px;font-size:11px;line-height:1.7;display:block}.board-tools{gap:8px;margin:0 0 13px}.board-tools label{letter-spacing:0;gap:7px;font-size:10px}.board-tools select,.board-tools button{padding:8px 9px;font-size:11px}.node{height:64px;transform:translate(-50%,-56%)}.node.available:before{top:17px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
