:root{font:16px/1.5 "Nunito",ui-rounded,"Trebuchet MS",system-ui,sans-serif;color:#203b32;background:#edf2df;--green:#215440;--deep:#163d31;--paper:#fffcf1;--line:#cdd8bc;--orange:#ffc56a}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 40%,#f6f7e8,transparent 68%)}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #ba581c;outline-offset:3px}header{background:var(--deep);color:#fffae7}.top,main{max-width:1060px;margin:auto;padding:0 24px}.top{height:64px;display:flex;align-items:center;justify-content:space-between}.brand{background:none;color:inherit;border:0;display:flex;align-items:center;gap:10px;font-size:1.24rem;font-weight:900;letter-spacing:-.04em}.brand canvas{width:38px}canvas{image-rendering:pixelated}.small,.sub{border:1px solid var(--line);background:transparent;border-radius:9px;padding:9px 14px;font-weight:750}.small{color:#f4f5dc;border-color:#668371;font-size:.9rem}.sub:hover,.choice:hover{background:#eef3db}main{padding-top:28px;padding-bottom:36px}.hero,.play{overflow:hidden;border:1.5px solid #b9c9ac;border-radius:22px;background:var(--paper);box-shadow:0 5px 0 #d6dfc6}.hero{display:grid;grid-template-columns:0.85fr 1.15fr;min-height:340px}.heroText{padding:34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.tag,.eyebrow,.tile span{font:750 .8rem/1.4 ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#4b6954}.tag{display:inline-flex;align-items:center;gap:8px}.tag i{width:10px;height:10px;background:#d59534;transform:rotate(45deg)}h1,h2,p{margin:0}h1{font-size:clamp(2.6rem,5.4vw,4.35rem);line-height:.99;letter-spacing:-.065em;color:var(--deep);margin:12px 0 15px}.hero p{font-size:1.06rem;max-width:32ch}.primary{background:var(--orange);border:2px solid #79512b;border-radius:11px;box-shadow:0 3px 0 #79512b;color:#382c21;padding:10px 23px;font-weight:900}.primary:active{transform:translateY(2px)}.hero .primary{margin-top:19px}.scene{width:100%;height:100%;object-fit:cover;display:block;min-width:0}.maphead,.bar,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.maphead{margin:32px 0 13px}.maphead h2{font-size:1.55rem;letter-spacing:-.04em}.count{font-weight:750;font-size:.95rem;color:#46664e}.trails{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.tile{background:#f9faec;border:1.5px solid var(--line);border-radius:13px;min-height:104px;padding:12px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;transition:transform .15s}.tile:hover{transform:translateY(-3px);border-color:#749477}.tile canvas{width:36px;height:36px}.tile .row{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.tile span{font-size:.75rem}.tile b{font-size:1rem}.bar{margin-bottom:18px}.play{padding:clamp(15px,3vw,34px)}.play h1{font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.17;letter-spacing:-.035em;max-width:40ch}.prompthead{display:flex;justify-content:space-between;align-items:center}.play .eyebrow{display:block}.board{background:#dfebce;border:1px solid #b7c9a1;border-radius:14px;margin:20px 0 12px;padding:12px}.track{display:flex;gap:5px;align-items:flex-end;justify-content:space-between;min-height:83px}.critter{position:relative;display:grid;justify-items:center;align-content:end;flex:1 1 0;min-width:0;border:0;background:transparent;border-radius:6px;padding:0 0 4px;min-height:52px}.critter canvas{width:min(100%,54px);height:auto}.critter em{font-style:normal;font-size:.8rem;font-weight:bold;min-height:20px}.critter .badge{position:absolute;top:-4px;background:#25583e;color:white;border-radius:10px;padding:0 5px;font:700 .85rem/1.4 monospace}.critter.marked{background:#a8d393}.critter.gone canvas{opacity:.32}.pictures canvas{background:#f8ebc5;border:3px solid #926c41}.stairs .critter{border-bottom:5px solid #889884;border-radius:1px;background:#e9efda}.ends{display:flex;justify-content:space-between;border-top:3px solid #8aa779;padding-top:4px;font-weight:800;font-size:.83rem}.hint{color:#405b49;margin-bottom:13px}.choices{display:flex;gap:10px;margin:10px 0 14px}.choice{min-width:65px;background:white;border:2px solid #9ab59b;box-shadow:0 2px 0 #a7b7a0;border-radius:10px;padding:8px 14px;font-size:1.35rem;font-weight:900}.choice:disabled{opacity:.55}.choice.right{background:#d7edbd;opacity:1}.actions{justify-content:flex-start;flex-wrap:wrap}.message{background:#ecf1df;border-left:4px solid #7d9f74;padding:11px 14px;border-radius:4px;margin:12px 0}.message:empty{display:none}.finish{text-align:center;padding:45px}.finish canvas{width:110px}.finish .primary{margin:20px}.speak{padding:5px 11px}.tile.done{background:#e2efcf}.tile.current{border-color:#769e71}.boardnote{font-size:.9rem;color:#3e5947}.status{min-height:1.6em}.tip{font-size:.95rem}.stepLabel{font-weight:bold}.guideNext{margin:0 0 12px}.maphead .count{white-space:nowrap}@media(max-width:720px){main{padding:16px 12px 27px}.top{padding:0 14px;height:54px}.hero{grid-template-columns:1fr}.heroText{padding:20px 22px}.heroText h1{margin:7px 0}.scene{height:auto;max-height:210px;object-fit:cover}.trails{grid-template-columns:repeat(2,1fr)}.tile{min-height:85px}.maphead{margin:22px 0 10px}.play{padding:14px}.board{padding:6px;margin-top:13px}.track{gap:1px}.critter em{font-size:.7rem}.choice{flex:1;min-height:48px}.speak{font-size:.9rem}.stairs .track{min-height:110px}.hero p{max-width:unset}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.critter.nextSpot{outline:3px dashed #9a5917;outline-offset:-2px;background:#ffedb8}.critter.marked .badge{box-shadow:0 1px 1px #537040}.choice.right{border-color:#427743}
/* A step's upper edge sets its height, whether or not an animal is standing on it. */
.track.stairs{gap:0;min-height:145px}
.stairs .critter{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0;border:0;background:transparent;min-height:calc(var(--rise) + 52px)}
.stairs .stone{width:100%;height:var(--rise);background:#abb5a3;border:1px solid #758772;border-top:4px solid #566b58}
.stairs .critter.marked .stone{background:#86bd72;border-top-color:#346b3f}
.stairs .critter.nextSpot .stone{background:#ffe19e;border-top-color:#996128}
.stairs .critter em:empty{display:none}
.stairs .critter.nextSpot{background:#fff2c4}
.stairs .critter .badge{top:auto;bottom:calc(var(--rise) - 8px);right:1px}
.shopGroups{display:grid;text-align:center;gap:4px;border:0}
.shopGroups span{border-top:3px solid #69916c}
.shopGroups span:first-child{border-color:#9a9d8b;color:#535b4f}
.critter:disabled{cursor:default;color:inherit}
.pipReason{border-left:4px solid #76945c;background:#f0f4e4;padding:9px 13px;margin:0 0 7px;border-radius:4px;font-weight:700}

.critter em.unrevealed{visibility:hidden}

.numberSentence{font-size:clamp(1.7rem,5vw,2.4rem);font-weight:850;line-height:1.4;color:var(--deep);font-variant-numeric:tabular-nums}

.liveMath{margin:8px 0 14px;padding:9px 14px;background:#f0f4e4;border-radius:8px}
.liveMath small,.liveMath strong{display:block}
.liveMath strong{font-size:1.65rem;font-variant-numeric:tabular-nums}
.pipStart{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:58px;padding:5px 24px 5px 15px;border:2px solid #754717;border-radius:14px;background:#ffc66a;color:#352613;box-shadow:0 4px 0 #865c2b;font-size:1.25rem;font-weight:850}
.pipStart canvas{width:44px;height:44px}
.pipStart:hover{background:#ffd692}
.pipStart:active{transform:translateY(2px);box-shadow:0 2px 0 #865c2b}
.pipStart[hidden]{display:none}
@media(max-width:720px){.pipStart{width:100%}}

.activeClue{color:#233426;background:#ffe397;text-decoration:underline;text-decoration-color:#946323;text-decoration-thickness:2px;text-underline-offset:.12em;border-radius:.13em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
