:root{--accent:#4b674f;--forest:#4b674f;--canvas:#faf6e9;--clay:#b45f3f}.header-note{letter-spacing:.08em}.game-intro h1{letter-spacing:-.065em}.intro-map{width:230px;max-width:100%;height:155px;display:block;margin:23px 0 10px;fill:none;stroke-linecap:round;stroke-linejoin:round}.sketch-ground{stroke:#cacbb8;stroke-width:1}.sketch-tree{stroke:var(--forest);stroke-width:1.4}.sketch-tent{stroke:var(--clay);stroke-width:1.6}.sketch-path{stroke:#bfa681;stroke-width:1;stroke-dasharray:3 6}.level-picker{flex:none;min-width:78px;padding:10px}.level-picker span:first-child{font:20px var(--serif)}.level-picker span:last-child{font-size:10px;color:var(--muted)}.camp-card{position:relative;background:var(--canvas);border:1px solid #c1c7b2;padding:19px 20px 13px;box-shadow:4px 4px 0 #d8d9ca60}.camp-heading{display:flex;align-items:center;justify-content:space-between;margin:0 1px 11px;font:10px/1.5 ui-monospace,monospace;letter-spacing:.1em;color:#66715c}.camp-heading span:last-child{font-family:inherit;letter-spacing:0}.camp-board{display:grid;grid-template-columns:22px repeat(var(--size),minmax(0,1fr));gap:0;width:100%;isolation:isolate}.camp-cell{border:0;border-right:1px solid #d5dbc7;border-bottom:1px solid #d5dbc7;border-radius:0;padding:0;min-width:0;width:100%;aspect-ratio:1;position:relative;background:#f0f1df;color:var(--ink);display:flex;align-items:center;justify-content:center;touch-action:manipulation;transition:background .15s;outline-offset:-3px!important}.camp-cell.first-row{border-top:1px solid #d5dbc7}.camp-cell.first-col{border-left:1px solid #d5dbc7}.camp-cell svg{width:72%;height:72%;overflow:visible;fill:none;stroke-linejoin:round;stroke-linecap:round;stroke-width:1.65}.camp-cell[data-value="1"]{background:#fbefd9}.camp-cell[data-value="2"]{background:#e4e9d5}.camp-cell .tent-body{fill:#d8996e;stroke:var(--clay)}.camp-cell .tent-door{fill:#624d39;stroke:#624d39}.camp-cell .tent-rope{stroke:#896f4f;stroke-width:1}.camp-cell .tree-leaf{fill:#91a87a;stroke:#4a6748}.camp-cell .tree-trunk{stroke:#705d42}.camp-cell .grass-mark{stroke:#839074;stroke-width:1.2}.camp-cell.tree{background:#e6ead6;cursor:default}.camp-cell.tree:disabled{opacity:1}.camp-cell:hover:not(:disabled){background:#e8dfc6}.camp-cell:focus-visible{z-index:2;outline:2px solid #684f30}.camp-cell.hinted{box-shadow:inset 0 0 0 3px #bd9653}.camp-cell.conflict{box-shadow:inset 0 0 0 2px #a8563e}.camp-cell.conflict::after{content:'!';position:absolute;right:3px;top:1px;font-size:11px;font-weight:700;color:#a2472d}.clue{display:flex;align-items:center;justify-content:center;font:18px var(--serif);color:#727763;min-width:0;position:relative}.clue.col{height:27px}.clue.row{padding-right:3px}.clue.matched{font-weight:700;color:#405b3c;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}.clue.excess{color:#a2472d;text-decoration:underline wavy;text-underline-offset:3px}.clue.zero{color:#a1a38f}.clue.matched.zero{color:#67775a}.map-key{display:flex;justify-content:center;gap:14px;padding-top:12px;font-size:9px;color:#7b7c68}.map-key span{display:flex;gap:4px;align-items:center}.map-key i{font-style:normal;font-size:14px;line-height:1}.key-tree{color:var(--forest)}.key-tent{color:var(--clay)}.key-grass{color:#81906e}.mark-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:17px 0 8px}.mark-tool{min-height:44px;border:1px solid #c7cdbb;background:transparent;font-size:12px;display:flex;align-items:center;justify-content:center;gap:7px}.mark-tool span{font-size:19px;line-height:1}.mark-tool.active{background:#e0e6d4;border-color:#5b7054;font-weight:600;box-shadow:inset 0 -2px #5b7054}.mark-tool[data-mode="1"].active{background:#efe1cc;border-color:#a26e48;box-shadow:inset 0 -2px #a26e48}.status-line{margin:7px 0;min-height:43px;word-break:keep-all}.status-line.warning{color:#a2472d}.completion{border-top:1px solid #829673;border-bottom:1px solid #829673;margin:16px 0;padding:18px 0;display:flex;align-items:center;gap:15px;justify-content:space-between}.completion h3{font-size:14px;line-height:1.6;font-weight:500;margin:4px 0}.completion p{font-size:11px;color:var(--muted);line-height:1.7;margin:4px 0}.completion .primary-button{flex:none;white-space:nowrap}.progress-note{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:5px;font-size:10px;color:var(--muted)}.save-note{font-size:10px;color:#848777;line-height:1.7;margin:3px 0 0}.level-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.level-list button{min-height:74px;border:1px solid #cbd1be;background:none;display:flex;gap:10px;align-items:center;text-align:left;padding:9px}.level-list .current{border-color:var(--forest);background:#e6eadc}.level-list .level-digit{font:23px var(--serif);color:#7b886e}.level-list .level-name{font-size:11px;line-height:1.5}.level-list small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.camp-card.solved{border-color:#74866a}.camp-card.solved .camp-cell[data-value="1"]{background:#ead7b6}.camp-card.victory-finishing .camp-cell[data-value="1"] svg{transform-origin:50% 85%;animation:tent-up .7s cubic-bezier(.2,.8,.3,1.2) both;animation-delay:calc(var(--cell-delay)*30ms)}.camp-card.victory-finishing .tree svg{animation:tree-sway 1.3s ease-in-out both;transform-origin:50% 85%}.camp-card.victory-finishing{animation:camp-glow 1.4s ease-out}.game-toolbar button{flex:1}@keyframes tent-up{0%{transform:scale(.8,.7)}50%{transform:scale(1.08,1.12)}100%{transform:scale(1)}}@keyframes tree-sway{0%,100%{transform:rotate(0)}30%{transform:rotate(-6deg)}65%{transform:rotate(5deg)}}@keyframes camp-glow{50%{box-shadow:0 0 0 7px #c5d0b77a,5px 5px 0 #d8d9ca60}}@media(max-width:700px){.header-note{display:none}.camp-card{padding:14px 14px 11px}.camp-heading{font-size:9px}.map-key{gap:12px}.mark-tools{margin-top:13px}.game-intro .tagline br{display:none}.status-line{font-size:11px}.completion{gap:8px}.completion h3{font-size:12px}.completion .primary-button{padding:9px 10px;font-size:11px}}@media(max-width:380px){.camp-card{padding:11px 0 9px}.camp-heading{padding:0 10px}.camp-board{grid-template-columns:24px repeat(var(--size),minmax(0,1fr))}.clue{font-size:16px}.clue.col{height:24px}.map-key{gap:10px;font-size:8px}.stage-bar h2{font-size:15px}.stage-bar p{font-size:10px}.completion{display:block}.completion .primary-button{margin-top:9px;width:100%}.camp-card[data-size="6"] .camp-cell{min-height:44px}}@media(max-height:450px) and (min-width:500px){.game-shell{max-width:720px}.game-layout{display:grid;grid-template-columns:155px minmax(0,1fr);gap:22px;padding:18px 0}.game-intro{margin:0}.game-intro h1{font-size:31px}.game-intro .tagline{font-size:12px}.game-intro .tagline br{display:block}.camp-card{padding:9px 8px}.camp-board{grid-template-columns:22px repeat(var(--size),minmax(0,1fr))}.camp-heading{margin-bottom:3px}.map-key{padding-top:8px}.stage-bar p{max-width:195px}.game-intro .rules{display:none}.camp-cell{min-height:44px}}
