:root{font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;color:#244a41;background:#f6f3e8;font-synthesis:none;--ink:#244a41;--muted:#6e7c6e;--line:#d7dfce;--sage:#e9eddd}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #c27f3b;outline-offset:3px}main{max-width:1180px;margin:auto;padding:24px 38px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:17px;font-size:11px;letter-spacing:.12em}.wordmark{font-weight:800;color:var(--ink);text-decoration:none}#journal{color:var(--muted);letter-spacing:.04em}.intro{display:flex;justify-content:space-between;align-items:center;padding:36px 28px 25px 10px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.19em;color:#788571;margin:0 0 10px}h1{font:500 clamp(40px,5vw,64px)/.97 Georgia,serif;letter-spacing:-.04em;margin:0}h1 em{font-weight:400;color:#637e62}h2{font:500 26px/1.12 Georgia,serif;letter-spacing:-.025em;margin:0 0 12px}.lede{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:0}.hero{display:flex;align-items:center;gap:15px}.hero .art{width:180px;height:180px}.hero span{font:italic 17px/1.5 Georgia,serif;color:#8a987e;max-width:150px}.art{display:inline-block;background-image:url('haven.webp');background-size:300% 200%;background-repeat:no-repeat;aspect-ratio:1}.piece0{background-position:0 0}.piece1{background-position:50% 0}.piece2{background-position:100% 0}.piece3{background-position:0 100%}.piece4{background-position:50% 100%}.piece5{background-position:100% 100%}.game{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:18px}.play{padding:20px;border:1px solid #d5dfce;border-radius:22px;background:#fdfcf5;box-shadow:0 8px 30px #2a503909}.boardhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.boardhead h2{font-size:23px;margin:0}.phase{font-size:11px;letter-spacing:.09em;font-weight:800;border:1px solid #e6d9a3;background:#fcf2ce;color:#8c742e;padding:9px 12px;border-radius:30px}.board{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));background:#dce5ca;gap:1px;border:7px solid #b1c4a1;border-radius:13px;overflow:hidden;transition:background .3s,border .3s;position:relative}.cell{position:relative;aspect-ratio:1;min-width:0;width:100%;border:0;padding:0;background:#e5ebd6;border-radius:3px;color:#435d48;display:grid;place-items:center}.cell:nth-child(3n){background:#e1e8d2}.cell.wall{background:#9ab18b;box-shadow:inset 0 2px #c5d2b9}.cell.hedge{background:repeating-linear-gradient(25deg,#608765 0 6px,#739b70 6px 10px);box-shadow:inset 0 1px 4px #355b4766}.cell.moonwall{background:repeating-linear-gradient(-25deg,#797598 0 6px,#8e86ac 6px 10px)}.cell.ghost{opacity:.4;border:2px dashed #7c8f73;background:transparent;box-shadow:none}.cell.ghost.moonwall{border-color:#8d84ae}.cell.void{background:#ccd9dd}.cell.starstone{background:#a8b8d7;border-radius:50%;box-shadow:inset 0 0 0 4px #c9d8ed}.cell.sunbridge{background:#e8ca76;box-shadow:inset 0 0 0 3px #f3dda0}.cell .art{position:absolute;inset:0;width:100%;height:100%;z-index:2}.cell.player{outline:2px solid #b87e33;outline-offset:-2px;z-index:3;background:#fff1bb}.cell.player .art{inset:-10%;width:120%;height:120%}.cell.friend:after{content:'☀';position:absolute;bottom:0;right:0;border-radius:50%;background:#fff6cf;color:#967027;font-size:9px;line-height:12px;width:12px;z-index:4}.cell.friend.owl:after{content:'☾';background:#ddd4f7;color:#66527f}.cell.following{box-shadow:inset 0 0 0 2px #cc9a48}.cell.nudge{animation:nudge 1.3s ease-in-out infinite}.cell.path{background:#d3dfbd}.cell.hiddenfriend .art{opacity:.22}.cell.home:after{content:'HOME';position:absolute;bottom:0;z-index:4;font-size:6px;color:#355a3b;background:#fbf9deaa}.cell.exit:not(.opened) .art{filter:grayscale(1);opacity:.5}.night{background:#2b3d4a;border-color:#596473}.night .cell{background:#344d53;color:#c7d4cd}.night .cell:nth-child(3n){background:#3b5357}.night .wall{background:#536775;box-shadow:inset 0 1px #80929a}.night .void{background:#243642}.night .path{background:#4c625d}.night .player{background:#685f3c}.night .starstone{background:#a7bad3}.night .ghost{background:transparent}.legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:9px;line-height:1.4;color:#7c8875;margin:13px 0}.legend span{display:flex;align-items:center;gap:5px}.legend b{width:9px;height:9px;border-radius:2px;background:#72966c}.legend b.moonwall{background:#8e86ac}.message{font-size:12px;line-height:1.5;margin:0;min-height:37px;color:#536b53;border-top:1px solid #e8eadd;padding-top:10px}aside{display:flex;flex-direction:column;gap:14px}.goal{padding:22px;background:#e8eddd;border-radius:22px}.goal p:not(.eyebrow){font-size:12px;line-height:1.65;color:#68775f}.collection{display:flex;gap:6px}.collection .token{width:43px;border-radius:11px;border:1px dashed #afbd9d;position:relative;opacity:.38}.collection .token.found{opacity:1;background:#fdf7da;border-style:solid}.collection .token.home{background:#d5e3c5}.collection .token.home:after{content:'✓';position:absolute;bottom:0;right:3px;color:#447342;font-weight:800}.collection .art{width:100%;display:block}.controls{padding:17px;background:#fdfcf6;border:1px solid #d7dfce;border-radius:22px}button.primary{width:100%;background:#315e52;color:#fff9e7;border:0;border-radius:11px;padding:13px;font-weight:650;font-size:13px;display:flex;justify-content:space-between;align-items:center}.micro{font-size:10px;line-height:1.55;color:#829079}.dpad{display:grid;grid-template-columns:repeat(3,45px);grid-template-rows:repeat(2,42px);gap:5px;justify-content:center;margin:14px 0}.dpad button{border:1px solid #d0dac3;background:#edf0e4;border-radius:10px;color:#3f6352;font-size:22px}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-row:2;grid-column:1}.dpad button:nth-child(3){grid-row:2;grid-column:2}.dpad button:nth-child(4){grid-row:2;grid-column:3}.tools{display:flex;gap:5px;flex-wrap:wrap}.tools button{font-size:10px;border:1px solid #d9dfce;background:#fafaf0;border-radius:8px;padding:9px 7px;color:#596c51}kbd{font:9px ui-monospace,monospace;opacity:.6;margin-left:5px}button:disabled{opacity:.4;cursor:default}.steps{font-size:10px;color:#8c987f;margin-bottom:0}.finish{display:flex;gap:25px;align-items:center;background:#e4ecd9;border-radius:22px;padding:25px;margin-top:18px}.finish[hidden]{display:none}.finish .art{width:150px;flex-shrink:0}.finish p:not(.eyebrow){font-size:13px;line-height:1.7;color:#68785f}.finish .primary{width:auto;display:block}.guide{margin:26px 4px;color:#718269;font-size:12px;line-height:1.7}.guide summary{cursor:pointer;font-weight:700}.guide p{max-width:800px}footer{border-top:1px solid var(--line);padding:19px 0;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#8b9582}footer a{color:#63806b}@keyframes nudge{50%{box-shadow:inset 0 0 0 4px #f2bd52}}@media(max-width:800px){main{padding:18px}.game{grid-template-columns:minmax(0,1fr) 225px}.hero span{display:none}.hero .art{width:145px}.intro{padding:25px 4px}.goal{padding:18px}.play{padding:13px}.board{border-width:5px}.boardhead h2{font-size:19px}}@media(max-width:620px){main{padding:15px 13px}.intro{padding:24px 3px 20px}h1{font-size:43px}.hero .art{width:105px;height:120px}.lede{font-size:11px;line-height:1.6}.eyebrow{font-size:8px}.game{display:flex;flex-direction:column;gap:12px}.play{padding:12px;border-radius:16px}.boardhead{margin-bottom:12px}.boardhead h2{font-size:21px}.phase{font-size:9px;padding:8px 10px}.board{border-width:4px;gap:1px;border-radius:9px}.cell{border-radius:2px}.cell.player .art{inset:-5%;width:110%;height:110%}.cell.friend:after{font-size:7px;width:9px;line-height:9px}.cell.home:after{font-size:4px}.legend{font-size:8px;gap:5px 10px;margin:10px 0}.message{font-size:11px;min-height:43px}aside{display:grid;grid-template-columns:1fr 1.2fr;gap:10px}.goal{padding:15px 12px;border-radius:16px}.goal h2{font-size:22px}.goal p:not(.eyebrow){font-size:10px}.collection{gap:2px}.collection .token{width:29px;border-radius:7px}.controls{padding:12px;border-radius:16px}.controls .primary{padding:11px 8px;font-size:11px}.controls kbd{display:none}.micro{font-size:8px;line-height:1.5}.dpad{grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,40px);gap:3px;margin:8px 0}.tools{gap:4px}.tools button{font-size:9px;padding:7px 5px}.steps{font-size:8px}.guide{font-size:10px;margin:20px 2px}footer{font-size:8px;flex-direction:column}.finish{padding:18px;gap:12px}.finish .art{width:80px}.finish h2{font-size:24px}.finish p:not(.eyebrow){font-size:10px}header{font-size:8px}.hero{gap:0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
