:root{color-scheme:light;--forest-ink:#243b32;--forest-paper:#b8d1bd;--forest-backdrop-filter:none;--forest-backdrop-color:transparent;--forest-backdrop-blend:normal;--forest-tree-filter:none;--forest-ground-filter:none;--forest-actor-filter:none;--forest-light-overlay:radial-gradient(ellipse at 48% 22%, #fff6c724, transparent 65%), linear-gradient(transparent 65%, #243e2926);--forest-tool-ink:#304d3e;--forest-tool-paper:#f7f2d9bd;--forest-tool-border:#f4edcc66;color:var(--forest-ink);background:var(--forest-paper);font-family:Georgia,Times New Roman,serif}:root[data-theme=dark]{color-scheme:dark;--forest-ink:#eee5ca;--forest-paper:#172638;--forest-backdrop-filter:brightness(.48) saturate(.7);--forest-backdrop-color:#233b69;--forest-backdrop-blend:luminosity;--forest-tree-filter:brightness(.66) saturate(.85);--forest-ground-filter:brightness(.48) saturate(.65);--forest-actor-filter:brightness(.82) saturate(.8);--forest-light-overlay:radial-gradient(ellipse at 17% 25%, #a7caff28, transparent 60%), linear-gradient(#142a6040, #10243c30);--forest-tool-ink:#eee5ca;--forest-tool-paper:#213847df;--forest-tool-border:#dce6c633}@media (prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--forest-ink:#eee5ca;--forest-paper:#172638;--forest-backdrop-filter:brightness(.48) saturate(.7);--forest-backdrop-color:#233b69;--forest-backdrop-blend:luminosity;--forest-tree-filter:brightness(.66) saturate(.85);--forest-ground-filter:brightness(.48) saturate(.65);--forest-actor-filter:brightness(.82) saturate(.8);--forest-light-overlay:radial-gradient(ellipse at 17% 25%, #a7caff28, transparent 60%), linear-gradient(#142a6040, #10243c30);--forest-tool-ink:#eee5ca;--forest-tool-paper:#213847df;--forest-tool-border:#dce6c633}}*{box-sizing:border-box}html,body{width:100%;min-height:100%;margin:0}button,summary,a{-webkit-tap-highlight-color:transparent}button{font:inherit}#forest{isolation:isolate;--ground-y:84%;width:100%;height:100svh;min-height:280px;cursor:var(--cursor-normal);background:var(--forest-paper);position:relative;overflow:hidden}.forest-backdrop,.forest-light,#forest-particles{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.forest-backdrop{z-index:-4;background:var(--backdrop) center center / cover no-repeat, linear-gradient(#bdcfbf, #668a73);filter:var(--forest-backdrop-filter);background-color:var(--forest-backdrop-color);background-blend-mode:var(--forest-backdrop-blend)}.forest-light{z-index:-1;background:var(--forest-light-overlay)}.forest-tree,.forest-canopy{z-index:-3;bottom:calc(100% - var(--ground-y));object-fit:contain;width:auto;max-width:none;height:91svh;filter:var(--forest-tree-filter);pointer-events:none;position:absolute;left:50%;transform:translate(-50%)}.forest-grass{z-index:-3;width:auto;max-width:none;height:7.82031svh;left:50%;top:calc(var(--ground-y) - 91svh * 76 / 1024);image-rendering:pixelated;filter:var(--forest-ground-filter);pointer-events:none;position:absolute;transform:translate(-50%)}.forest-ground{z-index:-2;left:0;right:0;top:calc(var(--ground-y) - 17px);background:var(--ground) center top / auto 256px repeat;filter:var(--forest-ground-filter);pointer-events:none;position:absolute;bottom:0}#forest-particles{z-index:1}.forest-cast{z-index:2;pointer-events:none;position:absolute;inset:0}.forest-mailbox{z-index:2;pointer-events:auto;touch-action:manipulation;cursor:var(--cursor-hover);filter:var(--forest-actor-filter);--u:min(.32px, calc((100vw - 20px) / 1224));width:calc(var(--u) * var(--mw));height:calc(var(--u) * var(--mh));left:calc(50% + var(--u) * 700);top:calc(84% - var(--u) * (var(--mh) - 4));background:0 0;border:0;padding:0;position:absolute}.forest-mailbox:before{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.forest-mailbox canvas,.mailbox-fallback{width:100%;height:100%;image-rendering:pixelated;position:absolute;inset:0}.mailbox-fallback{background-repeat:no-repeat;background-size:calc(var(--mframes) * 100%) 100%;background-position:0 0}#forest[data-runtime] .mailbox-fallback,#forest:not([data-runtime]) .forest-mailbox canvas{display:none}#forest:not([data-runtime]) .forest-mailbox{pointer-events:none}.mailbox-letter{width:40%;height:auto;image-rendering:pixelated;transform:translateY(calc(var(--letter-t,0) * -140%));opacity:calc(1 - var(--letter-t,0));pointer-events:none;position:absolute;top:6%;left:2%}@media (forced-colors:active){.forest-mailbox:focus-visible{outline:2px solid buttontext}}.forest-actor{pointer-events:auto;touch-action:manipulation;cursor:var(--cursor-hover);background:0 0;border:0;border-radius:30%;padding:0;position:absolute;transform:translate(-50%)}.forest-actor canvas{width:100%;height:100%;image-rendering:pixelated;filter:var(--forest-actor-filter);display:block;position:relative}.actor-fallback{image-rendering:pixelated;filter:var(--forest-actor-filter);background-size:400% 100%;position:absolute;inset:0}[data-rendered=true] .actor-fallback,#forest:not([data-runtime]) .forest-tools{display:none}#forest:not([data-runtime]) .forest-actor{pointer-events:none;width:min(30vw,200px);height:min(30vw,200px);top:calc(84% - min(29vw,193.36px));left:28%}#forest:not([data-runtime]) .forest-actor[data-group=maple]{width:min(22.5vw,150px);height:min(22.5vw,150px);top:calc(84% - min(21.75vw,145px));left:73%}.actor-shadow{filter:blur(3px);background:#16332452;border-radius:50%;width:70%;height:7%;position:absolute;top:94%;left:15%}.speech{color:#2e4034;pointer-events:none;background:#fff7dfed;border-radius:14px 14px 14px 3px;width:max-content;max-width:min(190px,42vw);padding:10px 13px;font-size:13px;line-height:1.4;position:absolute;bottom:83%;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #20332930}[hidden]{display:none!important}.night-cast,.night-set,.night-sky{z-index:2;pointer-events:none;position:absolute;inset:0}.night-set{z-index:1}.night-sky{z-index:-4;overflow:hidden}:root[data-theme=dark] .forest-cast,:root:not([data-theme=dark]) .night-cast,:root:not([data-theme=dark]) .night-set,:root:not([data-theme=dark]) .night-sky{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme]) .forest-cast{display:none}:root:not([data-theme]) .night-cast,:root:not([data-theme]) .night-set,:root:not([data-theme]) .night-sky{display:block}}.night-lantern,.night-moon{max-width:none;image-rendering:pixelated;display:block;position:absolute}.night-moon{opacity:.95;width:clamp(30px,4.4vw,60px);height:auto;top:7%;left:12%}.star{opacity:.55;background:#fff4cf;width:2px;height:2px;position:absolute}.star[data-big]{width:3px;height:3px;box-shadow:0 0 4px #fff4cf88}#forest[data-motion=running] .star{animation:star-twinkle 5.5s ease-in-out var(--delay,0s) infinite}@keyframes star-twinkle{0%,to{opacity:.25}50%{opacity:.85}}.night-lantern{transform-origin:50% 0;transform:rotate(var(--sway,0deg))}.night-glow{left:var(--glow-x,50%);top:var(--glow-y,84%);width:calc(var(--night-k,.4) * 1700px);height:calc(var(--night-k,.4) * 560px);pointer-events:none;background:radial-gradient(closest-side,#ffcf7a3d,#ffb45a1a 55%,#0000);position:absolute;transform:translate(-50%,-62%)}.night-actor{pointer-events:auto;touch-action:manipulation;cursor:var(--cursor-hover);background:0 0;border:0;border-radius:30%;padding:0;position:absolute}.night-actor:before{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.night-actor canvas{width:100%;height:100%;image-rendering:pixelated;filter:var(--forest-actor-filter);display:block;position:absolute;inset:0}.night-fallback{image-rendering:pixelated;filter:var(--forest-actor-filter);background-position:0 0;background-size:400% 100%;position:absolute;inset:0}.night-actor[data-rendered=true] .night-fallback{display:none}.night-actor .actor-shadow{top:95%}.night-actor[data-sleeper=maple] .speech{left:0;transform:none}.night-actor[data-sleeper=woman] .speech{border-radius:14px 14px 3px;left:auto;right:0;transform:none}.snore{color:#eaf2ff;text-shadow:0 1px #10243c;opacity:0;pointer-events:none;font:700 calc(10px + .6vw)/1 system-ui,sans-serif;position:absolute;top:4%;left:62%}#forest[data-motion=running] .night-actor[data-pose=asleep] .snore{opacity:var(--snore-opacity,0);transform:translate(calc(var(--snore-t,0) * 10px), calc(var(--snore-t,0) * -22px))}#forest:not([data-runtime]) .night-cast{--u:min(.375px, calc((100vw - 20px) / 1224))}#forest:not([data-runtime]) .night-lantern,#forest:not([data-runtime]) .night-glow{display:none}#forest:not([data-runtime]) .night-actor{pointer-events:none;width:calc(var(--u) * var(--cw));height:calc(var(--u) * var(--ch));left:calc(50% + var(--u) * (var(--sx) - var(--ax)));top:calc(84% - var(--u) * (var(--ch) - 4))}.forest-tools{z-index:5;top:max(18px, env(safe-area-inset-top));right:max(18px, env(safe-area-inset-right));gap:8px;display:flex;position:absolute}.forest-tools button{border:1px solid var(--forest-tool-border);background:var(--forest-tool-paper);width:44px;height:44px;color:var(--forest-tool-ink);cursor:var(--cursor-hover);border-radius:50%;place-items:center;font-size:21px;display:grid;box-shadow:0 3px 14px #20382c1a}.appearance-icon{pointer-events:none;display:none}#theme[data-mode=auto] [data-icon=auto],#theme[data-mode=day] [data-icon=day],#theme[data-mode=night] [data-icon=night]{display:block}.forest-tools button:hover{filter:brightness(1.12)}button:active,summary:active,a:active{cursor:var(--cursor-pressed)}:focus-visible{outline-offset:4px;outline:3px solid #fff3b6;box-shadow:0 0 0 6px #314e48}.forest-credit{z-index:6;left:max(18px, env(safe-area-inset-left));bottom:max(14px, env(safe-area-inset-bottom));color:#fff3da;max-width:min(480px,100% - 36px);font:11px/1.6 system-ui,sans-serif;position:absolute}.forest-credit summary{width:fit-content;cursor:var(--cursor-hover);background:#18372ed9;border:1px solid #eee0b833;border-radius:8px;padding:5px 10px}.forest-credit a{color:inherit;text-underline-offset:3px;cursor:var(--cursor-hover)}.forest-credit>div{background:#18372ef5;border:1px solid #eee0b84d;border-radius:12px;width:min(480px,100vw - 36px);max-height:60svh;padding:12px 18px;position:absolute;bottom:calc(100% + 8px);overflow:auto;box-shadow:0 10px 35px #102c3755}.forest-credit p{margin:6px 0 12px}.track-list{border-bottom:1px solid #eee0b833;gap:4px;margin:0 0 10px;padding:0 0 8px;list-style:none;display:grid}.track-list button{width:100%;min-height:32px;color:inherit;font:inherit;text-align:left;cursor:var(--cursor-hover);background:0 0;border:1px solid #0000;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:5px 8px;display:flex}.track-list button:hover,.track-list button:focus-visible{background:#eee0b818;border-color:#eee0b844}.track-list button[aria-current=true]{background:#eee0b829;border-color:#eee0b880}.track-list button[aria-pressed=true] .track-title:before{content:"♪ "}.track-list .track-shuffle .track-title:after{content:" ⤨"}.track-len{opacity:.7;font-variant-numeric:tabular-nums}#forest:not([data-runtime]) .track-list{display:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.no-script{color:#fff3da;font:12px/1.5 system-ui,sans-serif;position:absolute;bottom:50px;left:18px;right:18px}@media (height<=450px){.forest-tools{top:10px;right:10px}.forest-credit{bottom:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (forced-colors:active){.forest-tools button,.forest-credit summary,.speech{border:1px solid buttontext}}
