@font-face{font-family:DM Sans;src:url(/assets/dm-sans-regular-CB7WfZ8W.ttf)}@font-face{font-family:DM Sans;src:url(/assets/dm-sans-bold-BQ0abr9c.ttf);font-weight:700}@font-face{font-family:Fraunces;src:url(/assets/fraunces-bold-B0HoQ3Hm.ttf);font-weight:700}:root{color:#253d2c;--rose:#a93848;--cream:#fff9eb;--leaf:#294531;--ease:cubic-bezier(.16,1,.3,1);background:#e9ecd0;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid var(--rose);outline-offset:4px}[hidden]{display:none!important}#app,#world{width:100%;height:100dvh;position:absolute;inset:0}#world{touch-action:none;display:block}header{z-index:4;top:max(20px,env(safe-area-inset-top));pointer-events:none;justify-content:space-between;display:flex;position:absolute;left:clamp(18px,3vw,34px);right:clamp(18px,3vw,34px)}.brand,.top-actions{pointer-events:auto}.brand{color:inherit;text-align:left;background:0 0;border:0;padding:0;font:700 clamp(25px,3vw,34px) Fraunces,serif}.brand span{letter-spacing:.09em;border-left:1px solid #526c4d77;margin-left:14px;padding-left:14px;font:700 11px DM Sans,sans-serif}.top-actions{gap:8px;display:flex}.icon-button{width:44px;height:44px;color:var(--leaf);background:#fff9ebdf;border:0;border-radius:50%;font-size:22px;box-shadow:0 4px 18px #314a2520}.icon-button[aria-pressed=false]{opacity:.55}.screen{z-index:3;position:absolute}.card{background:#fff9ebee;border-radius:24px;width:min(440px,100vw - 36px);padding:28px 30px;top:50%;left:clamp(18px,5.5vw,80px);transform:translateY(-43%);box-shadow:0 15px 50px #283c2024}.eyebrow{color:#596b42;letter-spacing:.16em;margin-bottom:16px;font-size:10px;font-weight:700;display:block}.card h1{letter-spacing:-.045em;margin:0 0 18px;font:700 clamp(48px,6vw,78px)/.96 Fraunces,serif}.card h1 em{color:var(--rose);font-style:normal}.card p{margin:0 0 20px;font-size:15px;line-height:1.5}.primary,.secondary,.quiet{border:0;border-radius:13px;min-height:48px;padding:12px 18px;font-weight:700}.primary{background:var(--rose);color:#fff;box-shadow:0 8px 24px #81334030}.secondary{color:var(--leaf);background:#dfe8cf}.quiet{color:#425b3b;background:0 0;text-decoration:underline}.controls{color:#526c4d;margin:18px 0 0!important;font-size:11px!important}.chapters{gap:7px;max-height:min(36vh,285px);padding-right:4px;display:grid;overflow:auto}.chapter{width:100%;color:inherit;text-align:left;background:#fffdf6;border:1px solid #7a956344;border-radius:12px;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.chapter:hover:not(:disabled){background:#f1f5e5}.chapter:disabled{opacity:.52;cursor:not-allowed}.chapter-number{color:var(--rose);font:700 16px Fraunces,serif}.chapter strong,.chapter small{display:block}.chapter small{color:#55704d;margin-top:2px;font-size:10px}.chapter-status{font-size:16px}.collection-open{justify-content:space-between;align-items:center;width:100%;margin-top:14px;display:flex}.story{padding:20px clamp(20px,6vw,92px) max(24px,env(safe-area-inset-bottom));isolation:isolate;color:#fff;justify-content:space-between;align-items:flex-end;gap:22px;display:flex;inset:auto 0 0}.story:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#15261600,#152616b3 36px,#152616ed);position:absolute;inset:-36px 0 0}.story-copy{max-width:620px}.story h2{margin:0;font:700 clamp(26px,3.5vw,44px)/1.1 Fraunces,serif}.story .eyebrow{color:#d5e8af;margin-bottom:8px}.story p{color:#edf5dd;margin:7px 0 0}.story-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.story .quiet{color:#fff}#hud{z-index:3;text-align:center;background:#fff9ebdf;border-radius:15px;gap:24px;padding:9px 20px;display:flex;position:absolute;top:20px;left:50%;transform:translate(-50%);box-shadow:0 5px 25px #314a251a}#hud div{min-width:54px}#hud span{letter-spacing:.1em;font-size:9px;font-weight:700;display:block}#hud strong{font-variant-numeric:tabular-nums;font-size:25px;line-height:1.25;display:block}#score{color:var(--rose)}#lives{color:var(--rose);font-size:16px!important}#journey{z-index:3;background:#fff9ebd9;border-radius:10px;width:min(320px,68vw);padding:7px 11px;position:absolute;top:101px;left:50%;transform:translate(-50%)}#journey div{justify-content:space-between;font-size:11px;display:flex}#journey i{background:#d6dfbf;border-radius:10px;height:5px;margin-top:6px;display:block;overflow:hidden}#journey b{background:var(--rose);width:0;height:100%;transition:width .1s linear;display:block}#toast{z-index:4;opacity:0;color:#fff;text-align:center;max-width:calc(100vw - 32px);transition:opacity .2s,transform .25s var(--ease);pointer-events:none;background:#294531e8;border-radius:30px;padding:10px 18px;font-weight:700;position:absolute;bottom:130px;left:50%;transform:translate(-50%,12px)}#toast.visible{opacity:1;transform:translate(-50%)}footer{z-index:3;bottom:max(22px,env(safe-area-inset-bottom));pointer-events:none;justify-content:space-between;font-size:12px;font-weight:700;display:flex;position:absolute;left:30px;right:30px}footer span{background:#fff9ebd9;border-radius:30px;padding:8px 13px}.result h1{font-size:clamp(42px,5vw,64px)}.result-score{align-items:baseline;gap:8px;margin:-6px 0 17px;display:flex}.result-score strong{color:var(--rose);font:700 56px Fraunces,serif}.result-actions{flex-wrap:wrap;gap:8px;display:flex}.collection{max-height:80dvh;overflow:auto}.toys{grid-template-columns:repeat(2,1fr);gap:9px;margin:16px 0;display:grid}.toy-card{background:#fffdf6;border:1px solid #7a956344;border-radius:13px;padding:13px}.toy-card.locked{filter:grayscale();opacity:.62}.toy-icon,.toy-image{color:#fff;border-radius:50%;place-items:center;width:33px;height:33px;margin-bottom:8px;font-weight:700;display:grid}.toy-image{object-fit:contain;background:#e5ebd4}.toy-card strong,.toy-card small{display:block}.toy-card small{color:#57714d;margin-top:2px;font-size:10px}.pause-screen{z-index:6;text-align:center;background:#e9ecd0ee;place-content:center;padding:24px;display:grid;position:absolute;inset:0}.pause-screen h2{margin:5px 0 18px;font:700 42px/1.08 Fraunces,serif}.pause-screen .quiet{margin-top:8px}#touch{z-index:5;pointer-events:none;position:absolute;inset:0}#touch>div{left:18px;bottom:max(56px,env(safe-area-inset-bottom));gap:9px;display:flex;position:absolute}#touch button{pointer-events:auto;touch-action:none;width:59px;height:59px;color:var(--leaf);background:#fff9ebdc;border:2px solid #fff9eb;border-radius:50%;font-size:24px;font-weight:700}#touch #jump{right:18px;bottom:max(52px,env(safe-area-inset-bottom));background:var(--rose);color:#fff;width:76px;height:76px;font-size:11px;position:absolute}#hit-flash{z-index:2;pointer-events:none;opacity:0;transition:opacity .14s;position:absolute;inset:0;box-shadow:inset 0 0 90px #c2454499}#error{z-index:10;background:var(--cream);text-align:center;place-content:center;padding:30px;display:grid;position:absolute;inset:0}#error button{color:#fff;background:var(--rose);border:0;border-radius:8px;padding:12px}@media (width>=761px){.card{width:min(370px,100vw - 36px);left:clamp(18px,3vw,44px)}}@media (width<=760px){header{top:max(14px,env(safe-area-inset-top))}.brand{font-size:25px}.brand span{display:none}.icon-button{width:40px;height:40px}.card{top:auto;bottom:max(18px,env(safe-area-inset-bottom));border-radius:19px;padding:21px;transform:none}.card h1{margin-bottom:11px;font-size:48px}.card p{margin-bottom:13px;font-size:13px}.chapters{max-height:30dvh}.chapter{padding:8px 10px}.story{padding:16px 20px max(20px,env(safe-area-inset-bottom));flex-direction:column;align-items:flex-start;gap:10px}.story h2{font-size:27px}.story-actions{width:100%}.story-actions .primary{flex:1}#hud{gap:13px;padding:7px 14px;top:64px}#hud strong{font-size:21px}#journey{top:134px}footer{font-size:10px;bottom:12px;left:12px;right:12px}footer .desktop-hint{display:none}#toast{font-size:13px;bottom:142px}.collection{max-height:none;top:75px;bottom:18px}.touch-device .controls{display:none}}@media (height<=550px) and (width>=650px){.card{width:min(330px,100vw - 36px);max-height:calc(100dvh - 24px);padding:14px 20px;top:50%;left:clamp(175px,27vw,250px);overflow:auto;transform:translateY(-50%)}.card h1{margin-bottom:7px;font-size:40px}.card p{margin-bottom:8px;font-size:12px}.card .eyebrow{margin-bottom:7px}.chapters{max-height:132px}.controls{margin-top:10px!important}.collection-open{margin-top:9px}.controls,header .brand span{display:none}#hud{top:13px}#journey{top:82px}.story{padding-top:12px;padding-bottom:12px}footer{bottom:10px}}@media (width<=760px) and (height<=650px){.card{padding:16px}.card h1{margin-bottom:8px;font-size:40px}.card p{margin-bottom:9px;font-size:12px}.card .eyebrow{margin-bottom:8px}.chapters{max-height:20dvh}.chapter{padding:6px 8px}.collection-open{margin-top:9px}.controls{display:none}.collection{grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;display:grid;top:64px;bottom:12px;overflow:hidden}.collection h1{margin:0}.collection .toys{gap:6px;min-height:0;margin:0;overflow:auto}.collection .toy-card{padding:8px}.collection .toy-icon,.collection .toy-image{width:28px;height:28px;margin-bottom:5px}.collection .toy-card small{font-size:9px}}@media (height<=550px) and (width>=650px){.collection{grid-template-rows:auto auto minmax(0,1fr) auto;gap:7px;display:grid;overflow:hidden}.collection h1{margin:0}.collection .toys{min-height:0;margin:0;overflow:auto}.collection-close{align-self:end}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}
