:root{color-scheme:light;--ink:#394b41;--paper:#f8f5ec;--green:#536e59;--line:#dcded0}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Yu Gothic','Meiryo',sans-serif;font-weight:500}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:1px solid #c9d1c1;background:#fffdf7;border-radius:24px;padding:11px 19px;min-height:46px;font-size:16px;font-weight:700;transition:background .2s,transform .2s}button:hover{background:#e8eedf}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,svg [role=button]:focus-visible{outline:3px solid #365f78;outline-offset:4px}header{max-width:1376px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 42px 18px}.brand{font-size:17px;letter-spacing:.13em;color:var(--ink);text-decoration:none;font-weight:800}.brand span{font-size:12px;letter-spacing:.08em;margin-left:16px;font-weight:500}.tools{display:flex;gap:10px}.tools button{font-size:14px;padding:9px 18px}main{max-width:1376px;margin:auto;padding:0 42px}.intro{display:flex;align-items:center;justify-content:space-between;padding:28px 5px 30px}.eyebrow{font-size:13px;letter-spacing:.12em;color:#566951;margin:0 0 10px}h1{font-size:clamp(30px,3.1vw,44px);letter-spacing:.08em;font-weight:800;margin:0;line-height:1.5}h1 span{white-space:nowrap}h1 i{font-style:normal;color:#b9884f;font-size:32px;display:inline-block;margin-left:17px;vertical-align:middle}.subtitle{font-size:17px;letter-spacing:.07em;margin:9px 0 0}.edition{font-size:13px;line-height:2;text-align:right;color:#556750;letter-spacing:.06em}.edition span{font-size:12px;color:#6b7463}.game{border:1px solid #bdc9ad;border-radius:24px;overflow:hidden;background:#cadbb4;position:relative;box-shadow:0 12px 30px #65734e0b;isolation:isolate}.mapcaption{display:flex;justify-content:space-between;position:absolute;top:18px;left:23px;right:23px;z-index:2;font-size:13px;letter-spacing:.07em;pointer-events:none;color:#4b6048}.mapcaption span{background:#f9f6e9e8;padding:8px 13px;border-radius:20px}.mapcaption b{color:#9a7044;font-size:17px;margin-right:6px}#world{display:block;width:100%;height:auto;max-height:68vh;min-height:340px;touch-action:manipulation;user-select:none}#world [role=button]{cursor:pointer}#world [role=button]:hover{filter:brightness(1.04)}.walkbar{min-height:66px;display:flex;align-items:center;justify-content:space-between;padding:12px 23px;background:#f2edda;border-top:1px solid #d0ceae;gap:12px}#hint{font-size:17px;letter-spacing:.03em}.arrows{display:flex;gap:9px}.arrows button{font-size:24px;min-width:57px;padding:4px 15px;background:#fbf8ef;border-color:#c6cbb7;border-radius:15px}footer{display:flex;justify-content:space-between;align-items:center;min-height:83px;gap:20px}footer p{font-size:13px;line-height:1.9;letter-spacing:.04em;color:#5d6a58}footer button{border:none;background:transparent;font-size:13px;padding-right:4px;text-decoration:underline;text-underline-offset:5px}.mobile{display:none}#speech{position:absolute;bottom:85px;left:50%;transform:translateX(-50%);background:#fffdf6;border:2px solid #b6c19f;box-shadow:0 6px 20px #435e4320;border-radius:20px;width:max-content;max-width:calc(100% - 30px);padding:13px 50px 15px 23px;z-index:4;pointer-events:auto}#speech:after{content:'';position:absolute;left:50%;bottom:-10px;width:17px;height:17px;background:#fffdf6;border-bottom:2px solid #b6c19f;border-right:2px solid #b6c19f;transform:rotate(45deg)}#speaker{font-size:12px;color:#596c50;letter-spacing:.09em}#words{font-size:20px;line-height:1.7;margin:4px 0 0;font-weight:700;white-space:pre-line}#closeSpeech{position:absolute;right:5px;top:7px;border:0;background:none;font-size:24px;padding:0;width:40px;min-height:40px;color:#65755a}dialog{border:1px solid #bdc7ac;border-radius:25px;background:#fffdf6;color:var(--ink);padding:34px;max-width:540px;width:calc(100% - 32px);box-shadow:0 20px 100px #334a4030}dialog::backdrop{background:#344c4675;backdrop-filter:blur(3px)}dialog h2{font-size:26px;line-height:1.5;margin:0 0 22px}dialog p{font-size:17px;line-height:1.9}.close{position:absolute;right:12px;top:9px;border:0;background:transparent;font-size:26px;padding:0;width:44px}.small{font-size:13px!important;color:#65705f}.memory{padding:16px 0;border-bottom:1px solid #e0e3d3;display:flex;gap:16px;align-items:center}.memory .icon{font-size:30px}.memory h3{font-size:18px;margin:0 0 6px}.memory p{font-size:15px;line-height:1.7;margin:0}.empty{padding:20px;background:#edf1e5;border-radius:15px}#reset{font-size:14px;margin-top:25px;background:transparent}.dialogActions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.person .body{transform-box:fill-box;transform-origin:bottom center;animation:none}#child .body{animation-delay:-1s}#seller .body{animation-delay:-2s}#hatObject{animation:hatWiggle 4s ease-in-out infinite}.looseApple:nth-child(2){animation:appleRock 4s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.helped .body{animation:none}.happy .body{animation:none}.sparkle{animation:sparkle 1.3s ease-out forwards}@keyframes breathe{50%{translate:0 -2px;rotate:.7deg}}@keyframes hatWiggle{50%{translate:2px -2px}}@keyframes appleRock{50%{translate:3px 0}}@keyframes happy{50%{translate:0 -5px;rotate:-3deg}}@keyframes sparkle{0%{opacity:0;scale:.5}30%{opacity:1;scale:1}100%{opacity:0;translate:0 -27px}}@media(max-width:650px){header{padding:18px 18px 8px}.brand{font-size:14px}.brand span{display:none}.tools{gap:7px}.tools button{font-size:12px;padding:8px 12px;min-height:42px}main{padding:0 14px}.intro{padding:22px 5px 21px}.eyebrow{font-size:11px;letter-spacing:.04em}h1{font-size:29px;letter-spacing:.025em}h1 i{font-size:22px;margin-left:6px}.subtitle{font-size:14px}.edition{display:none}.game{border-radius:20px}#world{height:60vh;height:60svh;min-height:360px;max-height:560px}.mapcaption{top:12px;left:12px;right:12px;font-size:10px}.mapcaption span{padding:6px 9px}.mapcaption b{font-size:13px}.walkbar{padding:10px 13px;min-height:72px}#hint{font-size:14px;max-width:185px;line-height:1.7}.arrows{gap:6px}.arrows button{min-width:46px;padding:3px 9px}#speech{bottom:92px;padding:12px 40px 12px 16px}#words{font-size:18px}footer{min-height:78px;padding:0 5px}footer p{font-size:11px}.mobile{display:block}dialog{padding:28px 23px}dialog h2{font-size:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.storybook .oldScenery{display:none}.storybook .person>.body{display:none}.storybook #playerBody>:not(.paintedSprite){display:none}.storybook #wornHat{display:none}.storybook .person>.paintedSprite{transform-box:fill-box;transform-origin:bottom center;animation:none}.storybook .person.happy>.paintedSprite{animation:none}.storybook #world{background:#bdc69a}.storybook #door{filter:drop-shadow(2px 2px 2px #413f3730)}

/* Independent navigation, including on small screens. */
.tools{flex-wrap:wrap;justify-content:flex-end} .tools #reset{margin:0;background:#fffdf7;font-size:14px} @media(max-width:650px){header{flex-wrap:wrap;gap:12px}.tools{width:100%;justify-content:flex-start;gap:6px}.tools button,.tools #reset{font-size:12px;padding:8px 11px}}

.storybook #playerBody>#heldStick{display:block;pointer-events:none}

.places{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.places button{font-size:14px}.places button[aria-pressed=true]{background:#536e59;color:#fffdf7;border-color:#536e59}.storybook #playerBody>#heldExtra{display:block;pointer-events:none}@media(max-width:650px){.places{gap:6px}.places button{font-size:12px;padding:8px 12px}}

#watering path{animation:waterFlow .5s linear infinite}@keyframes waterFlow{to{stroke-dashoffset:-30}}

#wiping{pointer-events:none;animation:wipeBench .65s ease-in-out infinite alternate}@keyframes wipeBench{from{transform:translate(0,0)}to{transform:translate(58px,5px)}}

.titleLogo{width:min(100%,490px);height:auto;display:block;max-height:140px;object-fit:contain;object-position:left center}@media(max-width:650px){.titleLogo{max-width:330px;max-height:105px}}

#world [role=button]:focus{outline:none}.keyboardFocus #world [role=button]:focus{outline:3px solid #365f78;outline-offset:4px}

.storybook #playerBody>#heldTownItem{display:block}.subtitleRow{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:9px}.subtitleRow .subtitle{margin:0}.subtitleRow #reset{margin:0;padding:7px 17px;min-height:38px;font-size:12px;font-weight:500;background:#fffdf7;border-color:#d7ddcd}@media(max-width:650px){.subtitleRow{gap:9px}.subtitleRow .subtitle{font-size:13px}.subtitleRow #reset{font-size:11px;padding:6px 12px;min-height:36px}}

.subtitleRow #journal{margin:0;padding:7px 17px;min-height:38px;font-size:12px;font-weight:500;background:#fffdf7;border-color:#d7ddcd}@media(max-width:650px){.subtitleRow .subtitle{flex-basis:100%}.subtitleRow #journal{font-size:11px;padding:6px 12px;min-height:36px}}

#player{pointer-events:none}

