/* Navigation shared by letter and the seven wordless chapters. */
.controls{display:flex;align-items:center;gap:18px}#back{width:76px;height:76px;padding:20px;border-radius:50%;border:3px solid #35572f;background:#fff5c4;color:#36572f;box-shadow:0 6px 0 #35572f,0 10px 0 #36572f15;display:grid;place-items:center;cursor:pointer;transition:transform .18s,background .18s}#back[hidden]{display:none}#back svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#back:hover{background:#fffbe4;transform:translateY(-2px)}#back:active{transform:translateY(4px)}#back:focus-visible,#activity-action:focus-visible{outline:4px solid #cf8873;outline-offset:6px}#back:disabled{opacity:.45;cursor:wait}.garden[data-slide="2"] #action svg{transform:none}
.garden[data-slide="3"] .greeting,.garden[data-slide="3"] .characters,.garden[data-slide="3"] .planting,.garden[data-slide="3"]>.butterfly,.garden[data-slide="3"]>.pollen{visibility:hidden}
#journey{position:absolute;inset:0;z-index:9;background:#f5f4df;overflow:hidden}#journey[hidden]{display:none}#journey-title{position:absolute;top:5%;left:8%;right:8%;margin:0;text-align:center;font:400 clamp(36px,6cqw,65px)/1.1 'Lilita One',sans-serif;color:#456f49;outline:none;letter-spacing:.5px;text-shadow:0 3px 0 #fff9d6}

.journey-world{position:absolute;top:20%;bottom:22%;left:3%;right:3%;border:3px solid #dde0bd;border-radius:28px;overflow:hidden;background:#c4e2d5;isolation:isolate}.activity-scene{position:absolute;inset:0;overflow:hidden}.scene-background{position:absolute;inset:0;width:100%;height:100%;display:block}.scene-actors,.scene-props{position:absolute;inset:0;pointer-events:none}.scene-actors{z-index:2}.scene-props{z-index:3}.actor{position:absolute;left:24%;bottom:9%;width:27%;height:64%;transform:translateX(-50%);isolation:isolate}.actor-gebii{left:76%}.actor-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;transform-origin:50% 90%;animation:actor-breathe 4s ease-in-out infinite}.actor-gebii .actor-image{animation-delay:-2s}.actor-shadow{position:absolute;left:24%;right:24%;bottom:0;height:4%;border-radius:50%;background:#495d4730;filter:blur(3px);z-index:-1}.together .actor-feliks{left:37%}.together .actor-gebii{left:63%}.together .actor{width:25%;height:65%}.night .actor-shadow{background:#27394740}
.held-object{position:absolute;z-index:4;right:8%;top:35%;width:16%;height:27%;transform:rotate(12deg);transform-origin:bottom;animation:phone-rock 2s ease-in-out infinite}.held-object:empty{display:none}.held-object svg{width:100%;height:100%;overflow:visible}.pose-game .held-object,.pose-arcade .held-object{top:auto;bottom:23%;left:24%;right:auto;width:54%;height:21%;transform:none;animation:controller-play .35s ease-in-out infinite alternate}.pose-game .held-object::before,.pose-game .held-object::after,.pose-arcade .held-object::before,.pose-arcade .held-object::after{content:'';position:absolute;top:36%;width:16%;height:32%;border-radius:50%;background:#efb58b;border:2px solid #856650;z-index:2}.pose-game .held-object::before,.pose-arcade .held-object::before{left:0}.pose-game .held-object::after,.pose-arcade .held-object::after{right:0}.kind-game .actor-image,.kind-arcade .actor-image{animation:game-bounce 3s infinite}.kind-phone .actor:not([data-mood="flat"]):not([data-mood="sad"]) .actor-image,.kind-happy .actor-image{animation:phone-chat 4.6s infinite}.actor[data-mood="flat"] .actor-image{animation:flat-sigh 5s infinite}.actor[data-mood="sad"] .actor-image{animation:sad-sway 4s infinite}.kind-listen .actor-feliks .actor-image{animation:listen-nod 2.8s infinite}.kind-listen[data-listener="gebii"] .actor-gebii .actor-image{animation:listen-nod 2.8s infinite}.kind-listen[data-listener="gebii"] .actor-feliks .actor-image{animation:sad-sway 4s infinite}
.connection{position:absolute;width:25%;height:18%;left:37.5%;top:32%;z-index:1}.connection svg{width:100%;height:100%;overflow:visible}.signal-line{animation:none}.signal-heart{transform-origin:120px 40px;animation:signal-heart 3s ease-in-out infinite}.listening-bubble{position:absolute;left:66%;top:18%;background:#fff3d8;border:2px solid #b49a7c;border-radius:20px 20px 20px 4px;padding:10px;display:flex;gap:5px}#journey-world[data-listener="gebii"] .listening-bubble{left:18%}.listening-bubble i,.conversation i{width:5px;height:5px;border-radius:50%;background:#a99279;animation:dot-pulse 1.2s infinite}.listening-bubble i:nth-child(2),.conversation i:nth-child(2){animation-delay:.2s}.listening-bubble i:nth-child(3),.conversation i:nth-child(3){animation-delay:.4s}
.solo-book{position:absolute;left:14%;bottom:12%;width:20%;height:20%;animation:controller-play 3s infinite alternate}.solo-mug{position:absolute;right:15%;bottom:16%;width:12%;height:17%}.solo-book svg,.solo-mug svg{width:100%;height:100%;overflow:visible}.work-desk{position:absolute;left:24%;bottom:5%;width:35%;height:31%;transform:translateX(-50%);z-index:5}.desk-right{left:76%}.work-desk::before{content:'';position:absolute;inset:42% 0 auto;height:17%;border-radius:8px;background:#d5ac7e;border:3px solid #a28160}.work-desk::after{content:'';position:absolute;left:6%;right:6%;top:59%;height:42%;border-left:6px solid #a28160;border-right:6px solid #a28160}.work-desk>svg{position:absolute;width:65%;height:80%;bottom:44%;left:17.5%;z-index:1}.work-desk>i,.work-desk>b{position:absolute;top:42%;left:23%;width:14%;height:10%;border-radius:50%;background:#f5bc91;border:2px solid #bd8c67;z-index:2;animation:typing .3s infinite alternate}.work-desk>b{left:62%;animation-delay:-.15s}.kind-work .actor-image{animation:working-nod 2.4s infinite}.kind-work .actor-gebii .actor-image{animation-delay:-1.2s}
.pose-bed{height:63%;width:31%;bottom:10%}.pose-bed .actor-image{bottom:4%;height:96%}.bed{position:absolute;inset:30% 0 -3%;background:#bfaad0;border:4px solid #9c85a5;border-radius:24px 24px 10px 10px;z-index:-1}.bed i{position:absolute;top:3%;left:10%;right:10%;height:28%;border-radius:16px;background:#fff0da}.blanket{position:absolute;bottom:0;left:-3%;right:-3%;height:38%;border:3px solid #8a9d94;border-radius:15px 15px 8px 8px;background:repeating-linear-gradient(0deg,#a8c6bc 0 18px,#b3d2c7 18px 21px);z-index:3;animation:blanket-breathe 4s infinite}.actor-gebii .blanket{background:repeating-linear-gradient(0deg,#ccabbb 0 18px,#dcbbcb 18px 21px);border-color:#a78c9d}.pose-bed .held-object{top:29%;right:0;z-index:4}.kind-bed .connection{top:21%}
.video-frame{position:absolute;inset:-5% -4% -5%;border:5px solid #657c77;border-radius:23px;background:#fff3d522;z-index:3;box-shadow:0 4px 0 #415d4820}.video-frame::after{content:'';position:absolute;bottom:3%;left:38%;width:24%;height:4px;border-radius:3px;background:#657c77}.pose-video .held-object{display:none}.pose-video{height:57%;width:24%;bottom:13%}.kind-video .connection{top:35%}
.hug-sprite{position:absolute;height:76%;width:52%;left:24%;bottom:8%;object-fit:contain;object-position:bottom;transform-origin:50% 90%;animation:hug-sway 4s infinite}.love-particles{position:absolute;inset:0}.love-particles i{position:absolute;left:40%;bottom:67%;font:32px Georgia,serif;font-style:normal;color:#ce827a;animation:love-rise 3.8s infinite}.love-particles i:nth-child(2){left:57%;bottom:56%;animation-delay:-1.4s;font-size:24px}.love-particles i:nth-child(3){left:49%;bottom:78%;animation-delay:-2.6s;font-size:19px}
.shared-table{position:absolute;left:21%;right:21%;bottom:4%;height:24%;border:4px solid #aa825f;border-radius:50%;background:#e5bb8b;box-shadow:0 9px 0 #b78b64;z-index:6}.plate,.cup{position:absolute;top:10%;width:33%;height:65%}.plate svg,.cup svg{width:100%;height:100%;overflow:visible}.left-plate{left:8%}.right-plate{right:8%}.cup{width:23%;height:65%}.table-hand{position:absolute;top:8%;width:12%;height:15%;border:2px solid #b78765;border-radius:50%;background:#f3ba90;animation:eating-hand 3s ease-in-out infinite}.hand-left{left:24%}.hand-right{right:24%;animation-delay:-1.5s}.kind-eat .actor-image,.kind-family .actor-image{animation:phone-chat 3s infinite}.table-talk .table-hand{animation-duration:5s}.conversation{position:absolute;left:calc(50% - 26px);top:32%;display:flex;gap:7px;padding:12px;border:2px solid #b3a58b;border-radius:20px;background:#fff5df}.kind-talk .actor-image{animation:listen-nod 3s infinite}.kind-talk .actor-gebii .actor-image{animation-delay:-1.5s}
.family-member{position:absolute;bottom:10%;width:22%;height:46%;z-index:2}.family-member svg{width:100%;height:auto}.relative-left{left:1%}.relative-right{right:1%}.kind-family .actor-feliks{left:38%}.kind-family .actor-gebii{left:62%}.kind-family .actor{height:58%;width:24%;bottom:12%}.kind-family .shared-table{left:3%;right:3%;height:26%;bottom:0}.kind-family .plate{width:28%;top:9%}.kind-family .left-plate{left:18%}.kind-family .right-plate{right:18%}
.kind-walk .actor-image{animation:walking-step .28s infinite alternate}.kind-walk .actor-gebii .actor-image{animation-delay:-.14s}.kind-walk .scene-background{width:106%;animation:walking-background 6s linear infinite alternate}.kind-arcade .actor-feliks{left:27%}.kind-arcade .actor-gebii{left:73%}.kind-arcade .actor{height:57%;bottom:7%}.kind-arcade .scene-background{animation:none}
.photo-booth{position:absolute;left:19%;right:19%;top:16%;bottom:0;border:10px solid #fff3da;border-bottom-width:26px;border-radius:8px;box-shadow:0 8px 18px #59495730;z-index:5;pointer-events:none}.photo-booth::before,.photo-booth::after{content:'';position:absolute;top:0;bottom:0;width:7%;background:repeating-linear-gradient(90deg,#c89eb4 0 8px,#b78ca4 8px 14px)}.photo-booth::before{left:0}.photo-booth::after{right:0}.photo-booth>i{position:absolute;top:-7px;left:calc(50% - 8px);width:16px;height:10px;border-radius:8px;background:#6e7d72}.photo-flash{position:absolute;inset:0;background:#fff9ee;z-index:7;pointer-events:none;animation:photo-flash 5s 1 both}.kind-photo .actor-image{animation:photo-pose 5s infinite}.kind-photo .actor-gebii .actor-image{animation-delay:-.3s}
.tiles{position:absolute;inset:0;display:grid;grid-template-columns:repeat(8,1fr);gap:4px;padding:6% 7%;transform:rotate(-3deg)}.tiles>i{position:relative;background:#fff9dc;border:2px solid #629878;border-bottom-width:5px;border-radius:3px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:2px;animation:tile-play 4s calc(var(--n)*-.3s) infinite}.tiles b{display:block;width:4px;height:4px;border:1px solid #b76b5a;border-radius:50%}.table-mahjong{background:#87ad8a;border-color:#678d6c}.table-mahjong .table-hand{top:15%;animation:tile-hand 3s infinite alternate}.table-mahjong .hand-right{animation-delay:-1.5s}
.pottery-bench{position:absolute;left:31%;right:31%;bottom:4%;height:31%;border-radius:18px;background:#d1ab81;border:3px solid #9d7d5b;z-index:6}.wheel{position:absolute;left:12%;right:12%;top:24%;height:42%;border:3px solid #6f8b87;border-radius:50%;background:repeating-radial-gradient(ellipse,#a8c1b6 0 7px,#88a79b 8px 10px);animation:wheel-spin 2s linear infinite}.clay{position:absolute;bottom:49%;left:32%;width:36%;height:65%;border:3px solid #ab7756;border-radius:45% 45% 30% 30%;background:repeating-linear-gradient(0deg,#d3a07d 0 12px,#c38f6c 13px 15px);transform-origin:bottom;animation:clay-shape 5s infinite}.clay-hand{position:absolute;bottom:58%;width:18%;height:20%;background:#efb68d;border:2px solid #a77b5a;border-radius:50%;animation:pottery-hands 5s infinite}.clay-left{left:17%;rotate:-20deg}.clay-right{right:17%;rotate:20deg}.kind-pottery .actor-feliks{left:32%;rotate:7deg}.kind-pottery .actor-gebii{left:68%;rotate:-7deg}.kind-pottery .actor-image{animation:working-nod 3s infinite}
.travel-plane{position:absolute;left:3%;top:8%;width:55%;height:37%;animation:plane-arrive 2.5s ease-out both,plane-hover 4s 2.5s infinite}.travel-plane>svg{width:100%;height:100%;overflow:visible}.travel-plane>img{position:absolute;left:44%;top:43%;width:12%;height:25%;object-fit:cover;object-position:top;clip-path:circle(40% at 50% 40%)}.kind-flight .actor-gebii{left:76%;height:48%;bottom:10%;animation:welcoming 2s infinite}.kind-meet .actor-feliks{animation:meet-left 2.5s ease-out both}.kind-meet .actor-gebii{animation:meet-right 2.5s ease-out both}.kind-goodbye .actor-feliks{animation:goodbye-left 3s ease-in-out both}.kind-goodbye .actor-gebii{animation:goodbye-right 3s ease-in-out both}.kind-goodbye .actor-image{animation:walking-step .35s 8 alternate}.suitcase{position:absolute;bottom:8%;width:9%;height:16%;border:3px solid #97775f;border-radius:9px;background:repeating-linear-gradient(90deg,#d5ae7f 0 7px,#c89b70 8px 10px)}.suitcase::before{content:'';position:absolute;top:-20%;left:25%;right:25%;height:20%;border:3px solid #97775f;border-bottom:0;border-radius:6px 6px 0 0}.suitcase-left{left:11%}.suitcase-right{right:11%}.kind-goodbye .connection{top:23%;left:25%;width:50%}
.activity-control{position:absolute;left:50%;bottom:5%;transform:translateX(-50%);display:flex;align-items:center;flex-direction:column;gap:12px;z-index:13}#activity-action{display:grid;place-items:center;width:73px;height:73px;border:3px solid #456c3d;border-radius:50%;background:#dcebb8;box-shadow:0 6px 0 #456c3d,0 11px 0 #456c3d12;color:#456c3d;cursor:pointer;transition:background .2s,transform .2s}#activity-action svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}#activity-action:hover{background:#edf5ce;transform:translateY(-2px)}#activity-action:active{transform:translateY(4px);box-shadow:0 2px 0 #456c3d}#activity-action:disabled{opacity:.65;cursor:wait}
.garden[data-slide="3"] .controls{z-index:12;left:6%;right:6%;bottom:5%;justify-content:space-between;pointer-events:none}.garden[data-slide="3"] .controls button{pointer-events:auto;width:60px;height:60px;padding:13px}.garden[data-slide="3"] .controls button svg{width:28px;height:28px}.garden[data-slide="3"] #action:disabled{opacity:.35;cursor:default}

@keyframes activity-in{from{opacity:.1;scale:.97}to{opacity:1;scale:1}}@keyframes scene-next{from{translate:85% 0;opacity:.3}to{translate:0 0;opacity:1}}@keyframes scene-back{from{translate:-85% 0;opacity:.3}to{translate:0 0;opacity:1}}@keyframes actor-breathe{50%{transform:translateY(-4px) rotate(.5deg)}}@keyframes phone-rock{50%{rotate:-7deg}}@keyframes phone-chat{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(2deg) translateY(-5px)}}@keyframes flat-sigh{50%{transform:translateY(3px) rotate(-1deg)}}@keyframes sad-sway{50%{transform:rotate(-2deg) translateY(3px)}}@keyframes listen-nod{0%,70%,100%{transform:rotate(0)}40%,55%{transform:rotate(3deg) translateY(4px)}}@keyframes controller-play{to{translate:0 -3px;rotate:3deg}}@keyframes game-bounce{50%{transform:translateY(-3px) rotate(-1deg)}}@keyframes signal-flow{to{stroke-dashoffset:-60}}@keyframes signal-heart{50%{scale:1.12}}@keyframes dot-pulse{50%{opacity:.25;translate:0 -3px}}@keyframes typing{to{translate:0 -3px}}@keyframes working-nod{50%{transform:translateY(4px) rotate(1deg)}}@keyframes blanket-breathe{50%{scale:1 1.02}}@keyframes hug-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg) translateY(-3px)}}@keyframes love-rise{0%{opacity:0;translate:0 20px}30%{opacity:1}100%{opacity:0;translate:15px -50px}}@keyframes eating-hand{50%{translate:5px -12px;rotate:-15deg}}@keyframes walking-step{from{transform:rotate(-3deg) translateY(0)}to{transform:rotate(3deg) translateY(-6px)}}@keyframes walking-background{to{translate:-5% 0}}@keyframes arcade-lights{50%{filter:brightness(1.12)}}@keyframes photo-flash{0%,5%,100%{opacity:0}2%{opacity:.85}}@keyframes photo-pose{0%,45%,100%{transform:rotate(0)}50%,95%{transform:rotate(-5deg)}}@keyframes tile-play{0%,80%,100%{translate:0 0}90%{translate:0 -5px}}@keyframes tile-hand{to{translate:8px -10px}}@keyframes wheel-spin{50%{scale:1.03 .96}}@keyframes clay-shape{0%,100%{scale:1 1}50%{scale:.8 1.2}}@keyframes pottery-hands{50%{translate:0 -12px;scale:.9 1}}@keyframes plane-arrive{from{translate:-115% 20%;rotate:-8deg}to{translate:0 0;rotate:0}}@keyframes plane-hover{50%{translate:8px -8px}}@keyframes welcoming{50%{rotate:2deg}}@keyframes meet-left{from{translate:-70% 0}to{translate:0 0}}@keyframes meet-right{from{translate:70% 0}to{translate:0 0}}@keyframes goodbye-left{from{translate:0 0}to{translate:-45% 0}}@keyframes goodbye-right{from{translate:0 0}to{translate:45% 0}}
@media(max-width:700px){#back{width:66px;height:66px;padding:16px}.controls{gap:14px}#journey-title{top:5.5%;font-size:clamp(35px,11cqw,54px)}.journey-world{top:19%;bottom:22%;left:3%;right:3%;border-radius:23px}.actor{width:39%;height:66%;left:23%;bottom:12%}.actor-gebii{left:77%}.together .actor{width:37%;height:66%}.together .actor-feliks{left:32%}.together .actor-gebii{left:68%}.connection{left:36%;width:28%;top:30%}.held-object{right:2%;width:19%;top:40%}.pose-bed{width:39%;height:57%;bottom:13%}.pose-bed .held-object{top:33%}.pose-video{width:31%;height:50%;bottom:16%}.video-frame{border-width:4px;border-radius:16px}.kind-video .connection{top:29%}.solo-book{left:9%;width:27%;bottom:14%;height:15%}.solo-mug{right:10%;width:17%;bottom:17%;height:12%}.work-desk{width:43%;left:23%;height:25%;bottom:10%}.desk-right{left:77%}.work-desk>svg{width:75%;left:12.5%;height:54%}.work-desk::after{border-width:4px}.hug-sprite{left:12%;width:76%;height:69%;bottom:12%}.love-particles i{font-size:24px}.shared-table{left:8%;right:8%;height:20%;bottom:9%;border-width:3px}.table-hand{border-width:1px}.kind-talk .conversation{top:30%}.kind-family .actor{height:52%;width:30%;bottom:15%}.kind-family .actor-feliks{left:34%}.kind-family .actor-gebii{left:66%}.family-member{width:25%;height:34%;bottom:10%}.relative-left{left:-4%}.relative-right{right:-4%}.kind-family .shared-table{bottom:5%;height:23%;left:0;right:0}.photo-booth{left:8%;right:8%;top:21%;bottom:6%;border-width:6px;border-bottom-width:20px}.kind-arcade .actor{height:53%;width:34%;bottom:12%}.kind-arcade .actor-feliks{left:25%}.kind-arcade .actor-gebii{left:75%}.tiles{gap:2px;padding:9% 5%}.tiles>i{border-width:1px;border-bottom-width:4px}.tiles b{width:3px;height:3px}.pottery-bench{left:22%;right:22%;bottom:10%;height:22%}.kind-pottery .actor-feliks{left:29%}.kind-pottery .actor-gebii{left:71%}.travel-plane{left:0;top:9%;width:79%;height:29%}.kind-flight .actor-gebii{left:77%;height:43%;width:35%;bottom:12%}.listening-bubble{top:25%;padding:8px;gap:4px}.activity-control{bottom:5.5%;gap:10px}#activity-action{width:67px;height:67px}.garden[data-slide="3"] .controls{bottom:5.5%;left:6%;right:6%}.garden[data-slide="3"] .controls button{width:54px;height:54px;padding:12px}.suitcase{width:11%;height:12%;bottom:10%}.suitcase-left{left:8%}.suitcase-right{right:8%}}
@media(orientation:landscape) and (max-height:600px){#back{width:50px;height:50px;padding:11px}#back svg{width:28px;height:28px}#journey-title{top:3%;font-size:30px}.journey-world{top:20%;bottom:21%;left:9%;right:9%;border-radius:18px}.actor{height:73%;width:21%;bottom:8%}.together .actor{height:73%;width:21%}.hug-sprite{height:84%;bottom:5%}.pose-bed{height:74%;width:25%;bottom:7%}.pose-video{height:62%;width:18%;bottom:12%}.video-frame{border-width:3px;border-radius:12px}.work-desk{height:29%;width:31%;bottom:4%}.activity-control{bottom:3%;gap:7px}#activity-action{width:48px;height:48px}#activity-action svg{width:25px;height:25px}.garden[data-slide="3"] .controls{bottom:3%;left:7%;right:7%}.garden[data-slide="3"] .controls button{width:43px;height:43px;padding:9px}.shared-table{bottom:0;height:25%;left:28%;right:28%}.kind-family .shared-table{left:10%;right:10%;height:27%}.kind-family .actor{height:66%;bottom:7%}.family-member{height:48%;bottom:6%;width:20%}.photo-booth{top:8%;bottom:0;border-width:5px;border-bottom-width:13px}.travel-plane{width:43%;height:42%;top:5%}.kind-flight .actor-gebii{height:63%;bottom:7%}.kind-arcade .actor{height:70%}.pottery-bench{height:30%;bottom:0;left:36%;right:36%}.conversation{top:22%;padding:7px}.listening-bubble{top:10%;padding:6px}.letter-scene{padding-bottom:85px}}
@media(prefers-reduced-motion:reduce){.activity-scene *,.activity-scene{animation:none!important;transition:none!important}.photo-flash{display:none}.travel-plane{translate:0 0}.love-particles{display:none}}

/* One small world, without cards or chapter pagination. */
#journey{--ease-out:cubic-bezier(.23,1,.32,1);background:#e2ead6}
#journey-title{z-index:8;top:5%;pointer-events:none;font-size:clamp(36px,6cqw,62px);color:#45664b;text-shadow:0 3px 0 #fff5d7;letter-spacing:-.5px}
#journey[data-night="true"] #journey-title{color:#fff0ca;text-shadow:0 3px 0 #34465b}
.journey-world{inset:0;border:0;border-radius:0;background:transparent}
.actor{height:59%;bottom:20%}
.together .actor{height:59%}
.scene-background{pointer-events:none}
.connection{top:29%;width:21%;left:39.5%}
.work-desk{bottom:17%;height:20%}
.solo-book{bottom:23%;width:14%;left:17%;height:12%}
.solo-mug{bottom:25%;right:18%;width:8%;height:10%}
.pose-bed{height:57%;bottom:20%}
.kind-bed .connection{top:23%}
.pose-video{height:50%;bottom:23%}
.hug-sprite{height:65%;bottom:19%}
.shared-table{bottom:15%;height:18%}
.kind-family .actor{bottom:22%;height:49%}
.kind-family .shared-table{bottom:16%;height:20%}
.family-member{bottom:21%;height:35%}
.pottery-bench{bottom:17%;height:22%}
.photo-booth{top:23%;bottom:17%}
.kind-flight .actor-gebii{bottom:21%}
.travel-plane{top:20%;height:29%}
.kind-arcade .actor{bottom:20%}
.suitcase{bottom:20%}
.activity-control{bottom:max(5.5%,env(safe-area-inset-bottom));gap:0}
#activity-action{width:72px;height:72px;background:#e9ad9d;color:#6e483d;border-color:#795b43;box-shadow:0 5px 0 #795b43,0 8px 0 #795b4314;transition:transform 140ms var(--ease-out),background 140ms ease}
#activity-action svg{width:30px;height:30px;stroke-width:2.1}
.story-heart{fill:#fff0dc}
.story-replay{display:none}
#activity-action[data-replay="true"] .story-heart{display:none}
#activity-action[data-replay="true"] .story-replay{display:block}
.garden[data-slide="3"] .controls{bottom:max(5.5%,env(safe-area-inset-bottom))}
.garden[data-slide="3"] .controls button{width:56px;height:56px;transition:transform 140ms cubic-bezier(.23,1,.32,1),background 140ms ease}
#activity-action:hover{background:#e9ad9d;transform:none}
#back:hover,#action:hover{transform:none}
#activity-action:active,.garden[data-slide="3"] .controls button:active{transform:translateY(3px) scale(.97)}
#activity-action:focus-visible{outline-color:#fff5d7;outline-offset:7px}
@media(hover:hover) and (pointer:fine){
  #activity-action:hover{background:#f2bbab;transform:translateY(-2px)}
  #back:hover,#action:hover{transform:translateY(-2px)}
  #activity-action:active,.garden[data-slide="3"] .controls button:active{transform:translateY(3px) scale(.97)}
}
/* Ambient motion should never compete with their faces. */
.actor-image{animation-duration:5.4s}
.love-particles i{animation-duration:5s;animation-iteration-count:2}
#journey[hidden] *{animation-play-state:paused!important}
@media(max-width:700px){
  #journey-title{top:6%;font-size:clamp(35px,11cqw,48px)}
  .actor{height:59%;width:43%;bottom:22%;left:23%}
  .actor-gebii{left:77%}
  .together .actor{width:40%;height:59%}
  .together .actor-feliks{left:31%}.together .actor-gebii{left:69%}
  .connection{top:32%;width:28%;left:36%}
  .work-desk{width:43%;bottom:19%;height:16%}
  .work-desk>svg{height:62%}
  .solo-book{bottom:25%;width:24%;left:11%;height:11%}
  .solo-mug{bottom:26%;right:12%;width:14%;height:9%}
  .pose-bed{height:47%;width:40%;bottom:22%}
  .pose-bed .held-object{top:27%}
  .kind-bed .connection{top:30%}
  .pose-video{height:43%;width:34%;bottom:24%}
  .kind-video .connection{top:30%}
  .hug-sprite{height:62%;bottom:21%;width:84%;left:8%}
  .shared-table{bottom:18%;height:14%}
  .kind-family .actor{height:43%;width:31%;bottom:23%}
  .kind-family .actor-feliks{left:34%}.kind-family .actor-gebii{left:66%}
  .family-member{height:27%;bottom:19%;width:25%}
  .kind-family .shared-table{bottom:18%;height:17%}
  .pottery-bench{height:16%;bottom:20%;left:25%;right:25%}
  .kind-pottery .actor-feliks{left:29%}.kind-pottery .actor-gebii{left:71%}
  .photo-booth{top:30%;bottom:19%}
  .travel-plane{top:22%;width:80%;height:22%}
  .kind-flight .actor-gebii{height:40%;bottom:23%}
  .kind-arcade .actor{height:48%;bottom:22%}
  .suitcase{bottom:21%;height:10%}
  .listening-bubble{top:34%}
  #activity-action{width:68px;height:68px}
  .garden[data-slide="3"] .controls button{width:52px;height:52px}
}
@media(orientation:landscape) and (max-height:600px){
  #journey-title{top:3%;font-size:30px}
  .actor,.together .actor{height:60%;width:20%;bottom:20%}
  .pose-bed{height:57%;width:23%;bottom:21%}
  .pose-video{height:48%;width:17%;bottom:22%}
  .hug-sprite{height:66%;bottom:18%}
  .work-desk{height:18%;bottom:16%;width:29%}
  .shared-table{bottom:15%;height:19%}
  .kind-family .actor{height:50%;bottom:22%}
  .kind-family .shared-table{height:21%;bottom:15%}
  .family-member{height:35%;bottom:21%}
  .pottery-bench{height:21%;bottom:16%}
  .photo-booth{top:20%;bottom:16%}
  .travel-plane{height:31%;width:43%;top:18%}
  .kind-flight .actor-gebii{height:48%;bottom:20%}
  .kind-arcade .actor{height:55%;bottom:20%}
  .suitcase{height:12%;bottom:19%}
  #activity-action{width:48px;height:48px}
  .activity-control,.garden[data-slide="3"] .controls{bottom:3%}
  .garden[data-slide="3"] .controls button{width:43px;height:43px}
}
@media(prefers-reduced-motion:reduce){#activity-action,.garden[data-slide="3"] .controls button{transition:none}}

.room-window{position:absolute;top:17%;width:23%;height:27%;pointer-events:none}.window-left{left:12.5%}.window-right{right:12.5%}.room-window svg{width:100%;height:100%;display:block}
@media(max-width:700px){.room-window{top:17%;width:31%;height:21%}.window-left{left:7%}.window-right{right:7%}}
@media(orientation:landscape) and (max-height:600px){.room-window{top:15%;width:19%;height:25%}.window-left{left:14.5%}.window-right{right:14.5%}}
/* Leave their smiles visible above the duvet. */
.pose-bed .blanket{height:32%}
@media(max-width:700px){.pose-bed .held-object{top:38%}}
#journey[data-paused="true"] *{animation-play-state:paused!important}

/* Camera travel: the whole strip moves, keeping both edges joined. */
.memory-track{position:absolute;inset:0;transition:transform 680ms cubic-bezier(.65,0,.35,1);will-change:transform}
.memory-track>.activity-scene{overflow:hidden}
.memory-track>.activity-scene:not([data-active="true"]) *{animation-play-state:paused!important}
#journey-title{transition:color 240ms ease,text-shadow 240ms ease}
/* Integrated work poses keep the hands, keyboard and table in one perspective. */
.pose-work{width:35%;height:58%;bottom:20%}
.workstation-image{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.coffee-stand{position:absolute;left:87%;bottom:21%;width:10%;height:13%;border-top:9px solid #ac815c;border-left:5px solid #ac815c;border-right:5px solid #ac815c;border-radius:5px 5px 0 0}
.resting-mug{position:absolute;bottom:100%;left:18%;width:64%;aspect-ratio:80/70}
.resting-mug svg{display:block;width:100%;height:100%;overflow:visible}
/* Weather stays behind the people. A few details are enough to mark a season. */
.season-weather{position:absolute;inset:0;pointer-events:none;z-index:1}
.season-weather i{display:none;position:absolute;width:3px;height:9px;background:#a2c3ce;border-radius:3px;left:16%;top:27%;opacity:.5;transform:rotate(12deg)}
[data-season="rain"] .season-weather i{display:block;animation:window-rain 2.8s linear infinite}
[data-season="rain"] .season-weather i:nth-child(2){left:20%;top:24%;animation-delay:-1.2s}
[data-season="rain"] .season-weather i:nth-child(3){left:24%;top:29%;animation-delay:-.6s}
[data-season="rain"] .season-weather i:nth-child(4){left:77%;top:25%;animation-delay:-1.9s}
[data-season="rain"] .season-weather i:nth-child(5){left:81%;top:28%;animation-delay:-.4s}
[data-season="golden"] .season-weather i{display:block;width:8px;height:4px;background:#c89559;border-radius:80% 0 80% 0;left:9%;top:41%;animation:season-leaf 8s ease-in-out infinite}
[data-season="golden"] .season-weather i:nth-child(2){left:89%;top:35%;animation-delay:-4s}
[data-season="golden"] .season-weather i:nth-child(n+3){display:none}
@keyframes window-rain{from{transform:translateY(-8px) rotate(12deg);opacity:0}30%,70%{opacity:.5}to{transform:translateY(15px) rotate(12deg);opacity:0}}
@keyframes season-leaf{0%{transform:translate(0,0) rotate(-20deg);opacity:0}20%,70%{opacity:.6}100%{transform:translate(24px,52px) rotate(80deg);opacity:0}}
@media(max-width:700px){.pose-work{width:46%;height:53%;bottom:22%}.coffee-stand{left:84%;width:13%;height:10%;bottom:21%;border-top-width:6px;border-left-width:3px;border-right-width:3px}.resting-mug{width:65%;left:15%}}
@media(orientation:landscape) and (max-height:600px){.pose-work{width:28%;height:58%;bottom:20%}.coffee-stand{height:12%;width:9%;bottom:20%}}
@media(prefers-reduced-motion:reduce){.memory-track{transition:none!important}.season-weather{display:none}}

/* Windblown leaves belong outdoors, not in bedrooms or at the arcade. */

