@font-face{font-family:'Patrick Hand';font-style:normal;font-weight:400;font-display:swap;src:url('./assets/fonts/patrick-hand-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Darumadrop One';font-style:normal;font-weight:400;font-display:swap;src:url('./assets/fonts/DarumadropOne-Latin.ttf') format('truetype')}
:root{font-family:'Patrick Hand',cursive;color:#fff5dd;font-synthesis:none;--cream:#fff2cd;--ink:#593822;--orange:#ca6934}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#be743d}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffcc60;outline-offset:5px}button:disabled{cursor:default}#game,#world{position:fixed;inset:0;width:100%;height:100%}#world{display:block;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(48,28,17,.58),transparent 61%),linear-gradient(0deg,rgba(43,25,16,.28),transparent 22%,transparent 76%,rgba(38,22,10,.14));transition:background 1s}body.playing .vignette{background:linear-gradient(0deg,rgba(43,25,16,.34),transparent 20%,transparent 75%,rgba(38,22,10,.18))}.topbar{position:absolute;top:30px;left:38px;right:38px;display:flex;align-items:center;justify-content:space-between;z-index:5}.wordmark{color:var(--cream);text-decoration:none;display:flex;align-items:center;gap:11px;font-size:20px;font-weight:700;letter-spacing:3px;text-shadow:0 2px 12px #67351b55}.brand-icon{font-size:30px;font-weight:400}.brand-en{font-size:10px;letter-spacing:2.1px;font-weight:500;border-left:1px solid #fff3;padding-left:13px}.top-actions{display:flex;gap:10px}.icon-button{position:relative;background:#51322144;border:1px solid #fff4;color:var(--cream);width:42px;height:42px;border-radius:50%;backdrop-filter:blur(12px);font-size:20px}.icon-button:hover{background:#51322199}.off-line{position:absolute;width:20px;height:1px;background:var(--cream);transform:rotate(-40deg);left:11px;top:22px}.intro{position:absolute;left:7.4%;bottom:16%;z-index:3;max-width:460px;animation:arrive 1.2s both}.chapter{font-size:14px;letter-spacing:3px;display:flex;align-items:center;gap:12px}.chapter>span{border:1px solid #ffdb9a75;padding:6px 8px;border-radius:5px;letter-spacing:1px;font-size:12px}h1{font-family:'Patrick Hand',cursive;font-size:clamp(40px,4.3vw,74px);font-weight:600;line-height:1.3;letter-spacing:2px;margin:22px 0 24px;text-shadow:0 6px 35px #41241855}.intro p{font-size:16px;line-height:1.9;color:#fff0d3dc;letter-spacing:.5px;margin:0 0 30px}.primary{background:var(--cream);color:var(--ink);border:0;padding:17px 24px;border-radius:9px;min-width:208px;font-size:16px;font-weight:600;display:inline-flex;align-items:center;justify-content:space-between;gap:42px;box-shadow:0 8px 22px #3d241022;transition:transform .2s,background .2s}.primary:hover{background:#fff9e8;transform:translateY(-2px)}.primary span{font-size:22px;font-weight:400}.intro-foot{display:flex;gap:10px;align-items:center;font-size:12px;letter-spacing:.4px;margin-top:20px;color:#ffe5b7b3}.tiny-star{font-size:20px}.intro-foot i{width:3px;height:3px;background:#ffe5b777;border-radius:50%}.intro-note{position:absolute;bottom:56px;right:44px;text-align:right;font-size:14px;letter-spacing:1px;color:#fff5da;line-height:1.7}.intro-note div{font-size:12px;opacity:.66;margin-top:5px}.loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:16px 28px;background:#52301cbb;border-radius:50px;backdrop-filter:blur(14px);z-index:12;font-size:14px}.hidden{display:none!important}.mission{position:absolute;left:38px;top:105px;background:#51322166;border:1px solid #ffebc126;backdrop-filter:blur(18px);padding:18px 21px;border-radius:14px;min-width:215px}.eyebrow{font-size:11px;letter-spacing:2px;opacity:.65}.mission-title{font-size:17px;font-weight:500;letter-spacing:.6px;margin-top:7px}.piece-dots{display:flex;gap:9px;margin:17px 0 10px}.piece-dots span{width:18px;height:18px;border:1px solid #ffda9777;border-radius:4px;transform:rotate(-8deg);background:#fff3c713}.piece-dots span.found{background:#ffdc81;box-shadow:0 0 14px #ffcf6166;border-color:#ffdc81}.mission #count{font-size:12px;opacity:.72}.clock{position:absolute;left:50%;top:33px;transform:translateX(-50%);display:flex;gap:9px;align-items:center;background:#53352155;padding:9px 17px;border:1px solid #fff2;border-radius:30px;backdrop-filter:blur(12px);font-size:16px;font-variant-numeric:tabular-nums}.clock-icon{font-size:23px}.clock.urgent{color:#ffc29e}.dog-state{position:absolute;top:96px;right:39px;font-size:13px;letter-spacing:.3px;color:#ffefcc;display:flex;align-items:center;gap:9px;background:#51322166;padding:10px 15px;border-radius:30px;backdrop-filter:blur(12px)}.dog-state:before{content:'';width:6px;height:6px;border-radius:50%;background:#edbf67}.dog-state.chase{background:#ae3928d9}.dog-state.chase:before{background:#ffcf90;animation:blink .6s infinite alternate}.dog-state.safe{background:#37665ccc}.bottom-left{position:absolute;left:36px;bottom:35px;display:flex;gap:17px;align-items:center}.journal-button{display:flex;gap:12px;align-items:center;background:#fff0caed;border:0;color:var(--ink);padding:13px 17px;border-radius:10px;font-size:14px}.journal-button>span:first-child{font-size:23px}.hint-button{background:transparent;border:0;color:#ffeacd;font-size:12px;padding:10px}.controls{position:absolute;bottom:35px;left:50%;transform:translateX(-50%);display:flex;gap:18px;white-space:nowrap;align-items:center;font-size:12px;color:#fff2cebc}.controls>span{display:flex;gap:4px;align-items:center}kbd{font-family:inherit;display:inline-block;border:1px solid currentColor;border-radius:4px;font-size:10px;line-height:18px;min-width:19px;text-align:center;padding:0 4px;opacity:.85}.location{position:absolute;right:39px;bottom:39px;font-size:13px;letter-spacing:2px}.stamina-wrap{position:absolute;bottom:76px;left:50%;transform:translateX(-50%);height:3px;width:130px;border-radius:5px;background:#fff3;overflow:hidden;opacity:0;transition:opacity .4s}#stamina{height:100%;width:100%;background:#ffdf93}.crosshair{position:absolute;width:4px;height:4px;background:#fff9;border-radius:50%;top:50%;left:50%;pointer-events:none}.collect{position:absolute;bottom:21%;left:50%;transform:translateX(-50%);border:1px solid #ffedb5a1;background:#4c3328c9;color:#fff2cf;backdrop-filter:blur(12px);border-radius:10px;padding:12px 17px;display:flex;align-items:center;gap:10px;font-size:15px;box-shadow:0 0 32px #ffd55a22}.collect kbd{font-size:14px;width:24px;line-height:24px}.collect>span{font-size:23px;color:#ffdc83}.toast{position:absolute;top:19%;left:50%;transform:translate(-50%,-12px);background:#fff1d7ed;color:#5f422c;padding:14px 23px;border-radius:10px;font-size:14px;opacity:0;transition:.35s;pointer-events:none;z-index:15;box-shadow:0 10px 40px #40271220;max-width:min(500px,85vw);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.subtitle{position:absolute;bottom:13%;left:50%;transform:translateX(-50%);font-size:16px;letter-spacing:.5px;text-shadow:0 2px 9px #22170a;background:#30241977;padding:11px 23px;border-radius:8px;pointer-events:none;opacity:0;transition:opacity .4s;max-width:80%;text-align:center}.subtitle.show{opacity:1}.overlay{position:absolute;inset:0;background:#34271969;backdrop-filter:blur(10px);z-index:20;display:flex;align-items:center;justify-content:center;padding:24px;animation:arrive .3s}.paper{background:#fbf0da;color:#59402d;border:1px solid #fff8dc;box-shadow:0 24px 100px #29170955;border-radius:18px;position:relative;max-height:calc(100dvh - 48px);overflow:auto}.pause-paper{width:470px;padding:40px}.paper h2{font-family:'Patrick Hand',cursive;font-size:32px;font-weight:600;line-height:1.45;letter-spacing:1px;margin:13px 0 18px}.paper p{font-size:14px;line-height:1.9;color:#896e58}.paper .primary{background:#a45833;color:#fff3d8;box-shadow:none}.paper .primary:hover{background:#89452b}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 10px;margin:27px 0}.help-grid>div{display:flex;align-items:center;gap:9px;font-size:13px}.help-grid kbd{font-size:11px;min-width:56px}.paper .help-note{font-size:12px;line-height:1.9;border-top:1px solid #69432322;padding-top:17px;margin-bottom:26px}.text-button{display:block;margin-top:18px;border:0;background:none;font-size:12px;color:#96745c;padding:0}.close{position:absolute;right:23px;top:18px;border:0;background:none;color:#8b6a50;font-size:29px;font-weight:300}.journal-paper{width:930px;padding:37px 40px}.journal-paper h2{margin:10px 0}.journal-paper>p{margin:0 0 26px}.puzzle-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:32px;align-items:center}.puzzle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;aspect-ratio:1.5;background:#bca37c42;padding:8px;border-radius:9px}.puzzle-tile{position:relative;border:0;border-radius:3px;background-color:#d7c8af;background-image:url('./assets/memory.jpg');background-size:300% 200%;box-shadow:0 1px 3px #5e3b2522;transition:transform .2s,outline .1s}.puzzle-tile.missing{background-image:none;display:flex;align-items:center;justify-content:center;color:#ad9577;font-size:28px;border:1px dashed #a58a6044;box-shadow:none}.puzzle-tile.selected{outline:3px solid #c77e36;outline-offset:2px;transform:scale(.96);z-index:1}.puzzle-tile:not(.missing):hover{filter:brightness(1.06)}.memories{display:flex;flex-direction:column;gap:15px}.memory{display:flex;gap:12px;font-size:13px;color:#876d53;line-height:1.6}.memory>span{font-size:11px;color:#b18c65;padding-top:3px}.memory strong{display:block;font-size:13px;font-weight:500;color:#674a33}.memory.locked{opacity:.4}.puzzle-status{font-size:12px;letter-spacing:.5px;text-align:center;color:#a08061;margin-top:26px}.ending-paper{width:990px;display:grid;grid-template-columns:1.04fr 1fr;overflow:hidden}.ending-image{min-height:520px}.ending-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:49% 50%}.ending-copy{padding:40px 40px 28px}.ending-copy h2{font-size:37px;line-height:1.5}.ending-copy p{font-size:13px;line-height:1.9}.ending-stats{font-size:12px;letter-spacing:.8px;color:#a98254;margin:20px 0}.ending-copy .primary{font-size:14px;padding:14px 19px;gap:18px}.end-note{display:block;font-size:11px;text-align:center;margin-top:22px;opacity:.5;letter-spacing:3px}#touch-controls{display:none}@keyframes arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes blink{from{opacity:.3}to{opacity:1}}
@media(max-width:1050px){.controls{bottom:30px;font-size:10px;gap:9px;left:57%}.location{bottom:76px}.bottom-left{gap:5px;left:24px}.topbar{left:25px;right:25px}.mission{left:25px}.dog-state{right:25px}.intro{left:7%;bottom:15%}.brand-en{display:none}.journal-paper{padding:28px}.puzzle-layout{gap:23px}.ending-copy{padding:28px}.ending-copy h2{font-size:30px}}@media(max-width:650px){.topbar{top:19px;left:20px;right:20px}.wordmark{font-size:17px}.intro{left:27px;bottom:12%;max-width:85%}h1{font-size:44px}.intro p{font-size:14px}.intro-note{display:none}.intro-foot{font-size:10px}.chapter{font-size:12px}.mission{top:83px;left:19px;padding:13px 15px;min-width:168px}.mission-title{font-size:14px}.piece-dots{gap:7px;margin:13px 0 9px}.piece-dots span{width:15px;height:15px}.eyebrow{font-size:10px}.clock{top:23px;padding:5px 11px;font-size:14px}.dog-state{top:86px;right:17px;font-size:10px;padding:9px}.controls{display:none}.bottom-left{bottom:23px;left:19px}.journal-button{padding:10px 12px;font-size:12px;gap:8px}.location{right:19px;bottom:27px;font-size:11px}.hint-button{font-size:11px}.subtitle{bottom:30%;font-size:13px;width:85%}.collect{bottom:37%;font-size:13px;white-space:nowrap}.overlay{padding:16px}.paper{max-height:calc(100dvh - 32px)}.pause-paper{padding:27px}.paper h2{font-size:28px}.journal-paper{padding:25px 20px}.journal-paper>p{font-size:12px;margin-bottom:18px}.puzzle-layout{grid-template-columns:1fr;gap:20px}.memories{display:grid;grid-template-columns:1fr 1fr;gap:12px}.memory{font-size:10px;gap:7px}.memory strong{font-size:11px}.puzzle-status{font-size:10px;margin-top:17px}.ending-paper{display:block;width:420px;overflow:auto}.ending-image{height:210px;min-height:0}.ending-copy{padding:24px}.ending-copy h2{font-size:26px;margin:9px 0 13px}.ending-copy h2 br{display:none}.ending-copy p{font-size:12px}.ending-stats{margin:15px 0}.end-note{margin-top:16px}.toast{top:28%;font-size:12px}.stamina-wrap{bottom:285px}}
@media(pointer:coarse){#touch-controls{display:block}#joystick{position:absolute;bottom:104px;left:35px;width:104px;height:104px;border-radius:50%;background:#fff2;border:1px solid #fff5;touch-action:none}#stick{position:absolute;left:32px;top:32px;width:38px;height:38px;background:#fff6;border:1px solid #fffa;border-radius:50%;pointer-events:none}#touch-run{position:absolute;bottom:120px;right:31px;border:1px solid #fff7;color:#fff4da;background:#54321d55;width:64px;height:64px;border-radius:50%;touch-action:none}#touch-controls>span{position:absolute;right:23px;bottom:96px;font-size:10px;opacity:.65}.controls{display:none}.crosshair{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* English typography and room for longer localized labels. */
.wordmark{letter-spacing:.3px}.brand-en{letter-spacing:1.4px}.chapter{letter-spacing:1.5px}h1{letter-spacing:-1.8px;line-height:1.12}.intro p{letter-spacing:0}.mission{min-width:237px}.mission-title{letter-spacing:0}.location{letter-spacing:.5px}.paper h2{letter-spacing:-.7px}.pause-paper{width:500px}.help-grid{column-gap:18px}.help-grid>div{font-size:12px}.help-grid kbd{flex-shrink:0}.memories{gap:13px}.memory{line-height:1.5}.intro-foot{letter-spacing:0}.ending-stats{line-height:1.7}.journal-paper h2{font-size:30px}
@media(max-width:650px){.wordmark{font-size:16px;gap:6px}.brand-icon{font-size:24px}.intro{max-width:calc(100% - 48px)}h1{font-size:45px;letter-spacing:-1.3px}.intro p{font-size:13px;line-height:1.75}.intro p br{display:none}.chapter{font-size:11px;letter-spacing:1px}.intro-foot{gap:7px;font-size:10px}.mission{min-width:0;width:178px}.mission-title{font-size:13px}.mission .eyebrow{font-size:9px;letter-spacing:.5px}.dog-state{font-size:10px;max-width:145px}.location{bottom:77px;font-size:11px}.journal-paper h2{font-size:27px}.help-grid{grid-template-columns:1fr;gap:12px}.memory strong{font-size:12px}.memory{font-size:11px}.ending-copy h2 br{display:block}.ending-copy p{font-size:13px}.paper h2{font-size:27px}}

/* Jump and treat controls. */
.treat-pouch{position:absolute;top:146px;right:39px;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #ffebc144;border-radius:12px;background:#51322177;color:#fff2d1;backdrop-filter:blur(12px);font-size:13px;transition:background .2s,border-color .2s}.treat-pouch>span{font-size:20px}.treat-pouch b{font-weight:500;font-variant-numeric:tabular-nums}.treat-pouch.ready{background:#72522dcc;border-color:#ffe3a2}.feed-dog{position:absolute;bottom:calc(21% + 65px);left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;white-space:nowrap;border:1px solid #e9c487cc;background:#796037dd;color:#fff0cc;backdrop-filter:blur(12px);border-radius:10px;padding:12px 17px;font-size:15px;box-shadow:0 0 30px #ffc86222}.feed-dog kbd{font-size:14px;line-height:24px;width:24px}.feed-dog>span{font-size:21px}.dog-state.snacking{background:#668051dc}.dog-state.snacking:before{background:#fce3a1}.controls{gap:13px}.controls kbd{flex-shrink:0}
@media(max-width:1250px){.controls{bottom:86px;left:50%;gap:12px}.stamina-wrap{bottom:117px}.location{bottom:39px}}
@media(max-width:650px){.treat-pouch{top:129px;right:17px;font-size:12px;padding:8px 10px;gap:7px}.treat-pouch>span{font-size:18px}.feed-dog{bottom:calc(37% + 62px);font-size:13px}.location{bottom:77px}.stamina-wrap{bottom:285px}}
@media(pointer:coarse){#touch-jump{position:absolute;bottom:196px;right:31px;width:64px;height:64px;border:1px solid #fff7;border-radius:50%;color:#fff4da;background:#54321d55;touch-action:none;font-size:13px}.feed-dog kbd,.treat-pouch kbd{display:none}.feed-dog{z-index:2}}

/* Hand-lettered storybook typography. */
:root{font-size:17px}.wordmark{font-family:'Patrick Hand',cursive;font-size:31px;font-weight:700;letter-spacing:0}.brand-en{font-family:'Patrick Hand',cursive;font-weight:400;font-size:13px;letter-spacing:1.2px}.chapter{font-size:17px;letter-spacing:1px}.chapter>span{font-size:15px}.intro{max-width:490px}h1{font-size:clamp(63px,6.1vw,94px);font-weight:700;line-height:.98;letter-spacing:-1px;transform:rotate(-2deg);transform-origin:left bottom;margin-top:25px;margin-bottom:28px}.intro p{font-size:21px;line-height:1.5;letter-spacing:.15px}.primary{font-size:22px;font-weight:400;line-height:1.1;border-radius:11px 15px 12px 9px;padding:16px 23px}.primary>span{font-size:24px}.intro-foot{font-size:16px;gap:11px}.intro-note{font-size:21px;letter-spacing:.3px}.intro-note div{font-size:17px}.loading{font-size:20px}.eyebrow{font-size:14px;letter-spacing:1.7px}.mission{min-width:257px}.mission-title{font-size:23px;font-weight:400;line-height:1.1}.mission #count{font-size:17px}.clock{font-size:22px;padding:6px 17px;min-width:100px;justify-content:center}.dog-state{font-size:18px;line-height:1.2;letter-spacing:0}.journal-button{font-size:19px}.hint-button{font-size:17px}.controls{font-size:16px;gap:13px;bottom:85px}.stamina-wrap{bottom:117px}kbd{font-size:13px;font-weight:400;min-width:20px;line-height:21px;border-radius:4px 6px 4px 5px}.location{font-size:19px;letter-spacing:.3px}.treat-pouch{font-size:18px;top:150px}.treat-pouch b{font-weight:400}.collect,.feed-dog{font-size:20px}.collect kbd,.feed-dog kbd{font-size:17px}.toast{font-size:19px;line-height:1.4;max-width:min(560px,85vw)}.subtitle{font-size:22px;line-height:1.35}.paper h2{font-family:'Patrick Hand',cursive;font-weight:700;font-size:46px;line-height:1.05;letter-spacing:0}.paper p{font-size:20px;line-height:1.45}.pause-paper{width:525px}.help-grid{gap:15px 10px}.help-grid>div{font-size:18px;line-height:1.2}.help-grid kbd{font-size:15px;min-width:60px;line-height:25px}.paper .help-note{font-size:17px;line-height:1.5}.text-button{font-size:17px}.journal-paper{width:1000px}.journal-paper h2{font-size:45px}.journal-paper>p{font-size:20px}.memory{font-size:17px;line-height:1.35}.memory>span{font-size:14px}.memory strong{font-size:19px;font-weight:400}.memories{gap:14px}.puzzle-status{font-size:17px;letter-spacing:0}.ending-copy h2{font-size:50px;line-height:1.04}.ending-copy p{font-size:19px;line-height:1.4}.ending-copy .primary{font-size:21px}.ending-stats{font-size:16px;letter-spacing:0}.end-note{font-size:15px;letter-spacing:2px}.close{font-family:sans-serif}
@media(max-width:1050px){.controls{font-size:14px;gap:10px;left:50%;bottom:88px}.journal-paper{padding:29px}.puzzle-layout{grid-template-columns:1.15fr 1fr;gap:24px}.ending-copy h2{font-size:44px}.ending-copy p{font-size:18px}.mission{min-width:234px}.mission-title{font-size:21px}}
@media(max-width:650px){.wordmark{font-size:24px;gap:6px}.brand-icon{font-size:23px}.clock{top:20px;min-width:76px;font-size:19px;padding:5px 11px}.intro{left:26px;bottom:11%;max-width:calc(100% - 47px)}h1{font-size:67px;line-height:.99;margin-top:20px;margin-bottom:22px}.chapter{font-size:15px;letter-spacing:.5px}.chapter>span{font-size:13px}.intro p{font-size:19px;line-height:1.4}.intro-foot{font-size:14px;gap:8px;flex-wrap:wrap}.primary{font-size:21px}.mission{width:188px;min-width:0;padding:13px 14px}.mission .eyebrow{font-size:12px;letter-spacing:0}.mission-title{font-size:18px}.mission #count{font-size:15px}.dog-state{font-size:14px;padding:9px 10px;max-width:145px;right:13px}.treat-pouch{top:132px;right:14px;font-size:16px;padding:9px 10px}.journal-button{font-size:17px}.hint-button{font-size:15px}.location{font-size:16px;bottom:77px}.collect,.feed-dog{font-size:18px}.toast{font-size:17px}.subtitle{font-size:20px}.paper h2{font-size:38px}.paper p{font-size:18px}.help-grid{grid-template-columns:1fr}.help-grid>div{font-size:17px}.paper .help-note{font-size:16px}.eyebrow{font-size:12px;letter-spacing:1.2px}.journal-paper{padding:25px 20px}.journal-paper h2{font-size:39px}.journal-paper>p{font-size:17px}.puzzle-layout{grid-template-columns:1fr;gap:18px}.memory{font-size:15px;line-height:1.25}.memory strong{font-size:17px}.memory>span{font-size:12px}.memories{gap:13px}.puzzle-status{font-size:15px;line-height:1.3}.ending-copy h2{font-size:40px}.ending-copy p{font-size:18px}.ending-copy .primary{font-size:20px}.ending-stats{font-size:15px}.end-note{font-size:13px}.stamina-wrap{bottom:285px}}
@media(pointer:coarse){#touch-run,#touch-jump{font-family:'Patrick Hand',cursive;font-size:20px}#touch-controls>span{font-size:14px}}

@media(max-width:650px){.wordmark{font-size:24px}.brand-icon{display:none}.top-actions{gap:6px}.icon-button{width:36px;height:36px;font-size:18px}.off-line{left:8px;top:19px}}

/* Compact hand-lettered UI. */
:root{font-family:'Patrick Hand',cursive;font-size:16px}.wordmark{font-size:20px;font-weight:400;letter-spacing:.4px}.intro{max-width:420px;bottom:17%}.chapter{font-size:14px;letter-spacing:1px}.chapter>span{font-size:12px}h1{font-family:'Patrick Hand',cursive;font-weight:400;font-size:clamp(60px,6.4vw,91px);line-height:1.03;letter-spacing:1px;transform:none;margin:21px 0 23px}.intro p{font-size:17px;line-height:1.6;letter-spacing:0;margin-bottom:29px}.primary{font-size:17px;font-weight:400;min-width:165px;padding:16px 21px;gap:30px}.primary>span{font-family:sans-serif}.loading{font-size:17px}.mission{min-width:0;width:208px;padding:17px 19px}.mission-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.mission-title{font-size:16px;font-weight:400;margin:0}.mission #count{font-size:14px;white-space:nowrap}.piece-dots{margin:14px 0 0;justify-content:space-between;gap:7px}.piece-dots span{width:17px;height:17px}.clock{font-size:18px;min-width:98px;padding:8px 14px}.clock-icon{font-family:sans-serif}.dog-state{font-size:14px;letter-spacing:0;padding:10px 13px}.treat-pouch{font-size:16px;top:146px;gap:10px}.journal-button{font-size:15px}.hint-button{font-size:14px}.controls{font-size:13px;bottom:36px;gap:16px;color:#fff2ce9e}.stamina-wrap{bottom:77px}kbd{font-family:'Patrick Hand',cursive;font-size:12px;font-weight:400;line-height:20px;padding:0 5px}.location{font-size:14px;letter-spacing:.5px}.collect,.feed-dog{font-size:16px}.collect kbd,.feed-dog kbd{font-size:14px}.toast{font-size:16px;line-height:1.45;max-width:min(410px,85vw);padding:13px 19px}.subtitle{font-size:17px;line-height:1.5;letter-spacing:0}.paper h2,.journal-paper h2{font-family:'Patrick Hand',cursive;font-size:32px;font-weight:400;line-height:1.2;letter-spacing:0}.paper p{font-size:15px;line-height:1.8}.pause-paper{width:500px}.help-grid>div{font-size:14px;line-height:1.5}.help-grid kbd{font-size:12px;min-width:65px}.paper .help-note{font-size:14px;line-height:1.8}.text-button{font-size:14px}.journal-paper{width:910px}.journal-paper>p{font-size:15px}.puzzle-layout{grid-template-columns:1.4fr 1fr;gap:28px}.memory{font-size:14px;line-height:1.7}.memory>span{font-size:12px}.memories{gap:20px}.puzzle-status{font-size:13px}.ending-copy{display:flex;flex-direction:column;justify-content:center}.ending-copy h2{font-size:36px;line-height:1.2;margin:20px 0}.ending-copy p{font-size:15px;line-height:1.8}.ending-copy .primary{font-size:16px;align-self:flex-start}.ending-stats{font-size:13px;letter-spacing:0;margin:17px 0 24px}.eyebrow{font-size:12px;letter-spacing:1px}
@media(max-width:1050px){.controls{bottom:85px;left:50%;font-size:12px;gap:15px}.stamina-wrap{bottom:116px}.puzzle-layout{gap:23px}.ending-copy h2{font-size:30px}.ending-copy p{font-size:14px}}
@media(max-width:650px){.wordmark{font-size:15px}.clock{font-size:15px;min-width:83px;top:21px;padding:7px 11px}.intro{bottom:14%;left:26px;max-width:calc(100% - 48px)}h1{font-size:65px;line-height:1.05;margin:20px 0}.chapter{font-size:13px}.intro p{font-size:15px;line-height:1.6}.primary{font-size:16px;min-width:155px}.mission{width:175px;padding:14px}.mission-title{font-size:14px}.mission #count{font-size:12px}.piece-dots span{width:15px;height:15px}.dog-state{font-size:12px;right:15px}.treat-pouch{font-size:14px;top:130px;right:15px}.journal-button{font-size:14px;gap:8px}.hint-button{font-size:13px}.location{font-size:12px;bottom:77px}.toast{font-size:14px}.subtitle{font-size:15px;max-width:86%}.collect,.feed-dog{font-size:14px}.paper h2,.journal-paper h2{font-size:27px}.paper p,.journal-paper>p{font-size:14px}.help-grid>div{font-size:14px}.paper .help-note{font-size:13px}.journal-paper{padding:27px 20px}.puzzle-layout{grid-template-columns:1fr;gap:20px}.memories{gap:13px}.memory{font-size:13px;line-height:1.6}.memory>span{font-size:11px}.puzzle-status{font-size:12px}.ending-copy h2{font-size:29px}.ending-copy p{font-size:14px}.ending-copy .primary{font-size:15px}.ending-stats{font-size:12px}.eyebrow{font-size:11px}.stamina-wrap{bottom:285px}}
@media(pointer:coarse){#touch-run,#touch-jump{font-family:'Patrick Hand',cursive;font-size:15px}#touch-controls>span{font-size:12px}}

/* Rounded storybook letters with a light, static crayon texture on the cover. */
:root{--font-display:'Darumadrop One','Patrick Hand',cursive;--font-ui:'Patrick Hand',cursive;font-family:var(--font-ui)}
.wordmark,h1,.paper h2,.journal-paper h2{font-family:var(--font-display);font-weight:400;font-synthesis:none;letter-spacing:.2px}
.wordmark{font-size:27px;line-height:1.2}
.intro h1{font-size:clamp(72px,7.4vw,106px);line-height:1.08;letter-spacing:.4px;margin:16px 0 22px;color:#fff1cf;text-shadow:0 3px 16px #39251542;-webkit-mask-image:url('./assets/fonts/ink-grain.svg');mask-image:url('./assets/fonts/ink-grain.svg');-webkit-mask-size:96px 96px;mask-size:96px 96px;-webkit-mask-repeat:repeat;mask-repeat:repeat}
.intro p{font-size:21px;line-height:1.45;letter-spacing:.2px}
.chapter{font-size:17px;letter-spacing:.7px}.chapter>span{font-size:14px}
.primary{font-family:var(--font-display);font-size:22px;line-height:1.25;padding:13px 22px 16px;min-height:54px}
.paper h2,.journal-paper h2{font-size:37px;line-height:1.22}.ending-copy h2{font-size:42px}
.paper p,.journal-paper>p{font-size:18px;line-height:1.65}
.help-grid>div,.paper .help-note,.memory{font-size:16px;line-height:1.5}
.mission-title{font-size:19px}.mission #count{font-size:16px}.clock{font-size:21px;font-variant-numeric:tabular-nums}
.dog-state,.journal-button,.hint-button,.location{font-size:17px}.controls{font-size:15px}
.collect,.feed-dog,.toast{font-size:18px}.subtitle{font-size:20px}.loading{font-size:20px}
kbd{font-family:var(--font-ui);font-size:14px}.text-button,.puzzle-status,.ending-stats{font-size:16px}
.ending-copy .primary{font-family:var(--font-display);font-size:22px}
@media(max-width:650px){
  .wordmark{font-size:23px}.intro h1{font-size:76px;line-height:1.09;margin:14px 0 18px}
  .intro p{font-size:19px}.chapter{font-size:15px}.primary{font-size:21px}
  .paper h2,.journal-paper h2{font-size:32px}.ending-copy h2{font-size:34px}
  .paper p,.journal-paper>p,.help-grid>div,.paper .help-note{font-size:16px}
  .mission-title{font-size:16px}.mission #count{font-size:14px}.clock{font-size:18px}
  .dog-state,.hint-button,.location{font-size:14px}.journal-button{font-size:16px}
  .collect,.feed-dog,.toast{font-size:16px}.subtitle{font-size:18px}.memory{font-size:15px}
  .puzzle-status,.ending-stats{font-size:14px}.ending-copy .primary{font-size:21px}
}
