.af-page{color:var(--color-text);padding-bottom:calc(var(--space-9) + env(safe-area-inset-bottom,0px))}.af-page [hidden]{display:none!important}.af-page .bp-icon-library{position:absolute;width:0;height:0;overflow:hidden}.af-page .bp-icon{width:23px;height:23px;flex-shrink:0}.af-page button,.af-page select{font:inherit}.af-page button{cursor:pointer}.af-page button:disabled{cursor:default}.af-page button:focus-visible,.af-page select:focus-visible,.af-page [role=button]:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}.af-page img{-moz-user-select:none;user-select:none;-webkit-user-select:none}.af-breadcrumb,.af-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-5)}.af-breadcrumb{font-size:var(--text-xs);color:var(--color-muted);margin-bottom:var(--space-6)}.af-heading{margin-bottom:var(--space-7)}.af-heading h1{font-size:var(--text-3xl);letter-spacing:-.04em;margin:0 0 8px;line-height:var(--leading-tight)}.af-heading>div>p:last-child{max-width:700px;margin:0;font-size:var(--text-sm)}.af-eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--color-green-ink);margin:0 0 8px;line-height:1.5}.af-header-badge{display:flex;gap:12px;align-items:center;border:1px solid #ead8ff;border-radius:var(--radius-lg);background:linear-gradient(135deg,#fff8de,#f2e8ff);padding:14px 18px;font-size:11px;transform:rotate(2deg);box-shadow:0 10px 26px #67518312}.af-header-badge .bp-icon{color:var(--color-peach-ink);width:32px;height:32px}.af-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:var(--space-6);align-items:start}.af-game{border:1px solid var(--color-line);border-radius:var(--radius-xl);box-shadow:0 18px 55px #576a6418;background:var(--color-surface);overflow:hidden}.af-toolbar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#eaf8f0,#f6edff);padding:9px 16px;min-height:62px;gap:8px}.af-toolbar>span{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--color-green-ink)}.af-toolbar>div{display:flex;gap:5px}.af-toolbar button,.af-mission button{padding:0;min-width:44px;width:44px;height:44px;border-radius:var(--radius-md)}.af-mission{display:flex;align-items:center;gap:12px;padding:11px 18px;background:linear-gradient(90deg,#fff7d9,#fff5eb);min-height:84px}.af-mission>div{flex:1}.af-mission .af-eyebrow{margin-bottom:2px;font-size:9px}.af-mission strong{display:block;font-size:14px;line-height:1.45}.af-step{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:var(--color-peach-ink);font-size:11px;font-weight:900;box-shadow:0 5px 13px #9b754d20}.af-progress{display:flex;align-items:center;gap:12px;padding:8px 18px;border-top:1px solid var(--color-line);background:var(--color-background)}.af-progress progress{flex:1;height:9px;border:0;border-radius:var(--radius-pill);overflow:hidden;accent-color:var(--color-green-ink)}.af-progress progress::-webkit-progress-bar{background:#dcefe4}.af-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#6cb28a,#9bd5b3);border-radius:var(--radius-pill)}.af-progress>span{font-size:11px;white-space:nowrap}.af-play-area{position:relative;isolation:isolate}.af-scene{position:relative;height:540px;background-color:#dff4e8;background-position:center;background-size:cover;overflow:hidden;touch-action:none}.af-stage{position:absolute;inset:18px 8px 126px;display:flex;align-items:flex-end;justify-content:space-evenly;gap:4px;z-index:2}.af-animal{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:transparent;border:0;position:relative;padding:0;width:100%;max-width:300px;min-height:285px;touch-action:none;border-radius:var(--radius-xl);color:var(--color-text);-moz-user-select:none;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 13px 8px #38504b2b)}.af-stage[data-many=true] .af-animal{max-width:225px;min-height:235px}.af-animal:disabled{opacity:1}.af-animal-name{font-size:12px;font-weight:900;background:#fffdf0e8;padding:5px 16px;border:1px solid #fff;border-radius:var(--radius-pill);box-shadow:0 5px 15px #4f5d5a20;z-index:3}.af-avatar{display:block;position:relative;width:100%;aspect-ratio:400/366;background-repeat:no-repeat;background-size:200% 200%;background-position:100% 0;transform-origin:50% 92%;animation:af-breathe 3.4s ease-in-out infinite;transition:filter .25s,translate .55s ease-in-out}.af-animal[data-state=hungry] .af-avatar{background-position:100% 0}.af-animal[data-state=eating] .af-avatar{background-position:0 100%;animation:af-nibble 1.65s ease-in-out}.af-animal[data-state=happy] .af-avatar,.af-animal[data-state=full] .af-avatar{background-position:100% 100%;animation:af-hop .95s ease-in-out}.af-animal[data-state=wrong] .af-avatar{background-position:0 0;animation:af-wrong .65s ease-in-out}.af-animal[data-near=true] .af-avatar{filter:drop-shadow(0 0 16px #fff4a8);transform:translateY(-5px) rotate(var(--look,0deg)) scale(calc(var(--animal-scale,1) * 1.03))}.af-animal.af-looking .af-avatar{transform:rotate(-2deg) scale(calc(var(--animal-scale,1) * 1.02))}.af-animal-mood{font-size:10px;font-weight:900;padding:5px 12px;background:#fffdf0e8;border:1px solid #fff;border-radius:var(--radius-pill);box-shadow:0 5px 14px #40534a1c;margin-top:-18px;z-index:3;min-height:26px}.af-animal[data-state=full] .af-animal-mood{background:#dcf4e5;color:var(--color-green-ink)}.af-bite{display:none;position:absolute;left:35%;top:54%;width:24%;aspect-ratio:1;z-index:2;pointer-events:none}.af-bite img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.af-animal[data-state=eating] .af-bite{display:block;animation:af-eat-food 1.55s ease-in-out forwards}.af-delivery{position:absolute;left:0;right:0;bottom:0;height:154px;z-index:4;pointer-events:none}.af-pantry{position:relative;padding:12px 16px 16px;background:linear-gradient(180deg,#fffdf9,#fff1e8);border-top:4px solid #ead7b7;box-shadow:inset 0 5px 9px #866b4a0c;touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none}.af-pantry-label{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:9px}.af-pantry-label>span:first-child{font-size:9px;font-weight:900;letter-spacing:.1em;color:var(--color-peach-ink)}.af-pantry-label b{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#ffe7d7;margin-right:5px}.af-pantry-label>span:last-child{font-size:10px;color:var(--color-muted)}.af-foods{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.af-food{position:relative;width:calc((100% - 45px)/6);max-width:116px;min-width:70px;min-height:105px;border:2px solid #eadfd1;border-radius:18px;padding:5px 3px 6px;background:#fffdf9d9;box-shadow:0 5px #c8b2962b;touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;color:var(--color-text);transition:border-color .2s,transform .2s,box-shadow .2s}.af-food img{width:100%;height:70px;-o-object-fit:contain;object-fit:contain;pointer-events:none;transform:scale(var(--food-scale,1));filter:drop-shadow(0 5px 4px #64533e22)}.af-food>span{display:block;font-size:9px;font-weight:900;line-height:1.25;pointer-events:none}.af-food:hover:not(:disabled),.af-food:focus-visible{transform:translateY(-4px);border-color:#e5b8a0;box-shadow:0 8px #d0aa9130}.af-food[aria-pressed=true]{border-color:#8fbea4;background:#eef9f2}.af-food.af-source{opacity:.35}.af-food:disabled{filter:saturate(.72);opacity:.65}.af-drag-ghost{position:fixed;left:0;top:0;pointer-events:none;z-index:90;will-change:transform}.af-drag-ghost--food{width:92px;height:92px;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 15px 7px #495d4f55)}.af-drag-guide{position:absolute;left:0;top:0;width:44px;height:44px;pointer-events:none;z-index:8;animation:af-guide 2.8s ease-in-out infinite}.af-drag-guide svg{width:100%;height:100%;filter:drop-shadow(0 4px 4px #5b45a844)}.af-hint{animation:af-hint 1.5s ease-in-out infinite}.af-hint-target{filter:drop-shadow(0 0 15px #fff1a6)}.af-sparkles{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:6}.af-sparkles>img{position:absolute}.af-welcome{position:absolute;inset:0;display:flex;align-items:center;flex-direction:column;padding:21px 12px 15px;text-align:center;background:linear-gradient(#fffdf988,#fffdf91c 50%,#fffdf970);z-index:7}.af-scene:has(.af-welcome:not([hidden])){height:620px}.af-tag{border:1px solid #8fae9680;background:#fffdf0e8;border-radius:var(--radius-pill);padding:5px 15px;font-size:9px;letter-spacing:.2em;font-weight:900;color:var(--color-green-ink);box-shadow:0 5px 14px #536a5c14}.af-welcome h2{font-size:clamp(31px,3.7vw,48px);letter-spacing:-.045em;line-height:1.08;margin:13px 0 6px;color:var(--color-green-ink);z-index:1;text-shadow:0 2px 0 #fff}.af-welcome h2 em{font-style:normal;color:var(--color-peach-ink)}.af-welcome>p{font-size:12px;margin:0;z-index:1}.af-cover{width:min(510px,86%);height:auto;max-height:325px;-o-object-fit:cover;object-fit:cover;border-radius:30px;margin:12px 0 -8px;box-shadow:0 16px 35px #3153482b;border:5px solid #fffdf0}.af-start{min-height:55px;min-width:270px;font-size:16px;box-shadow:0 5px #1e5334,0 12px 24px #3e6c3422;z-index:1}.af-welcome-note{font-size:10px;color:var(--color-muted);margin-top:13px}.af-status{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 16px;border-top:1px solid var(--color-line);min-height:67px}.af-status p{margin:0;font-size:11px;flex:1}.af-status-dot{width:9px;height:9px;border-radius:50%;background:#82b99b;box-shadow:0 0 0 5px #e2f3e8}.af-status button{font-size:10px;padding:0 11px;min-height:42px}.af-sidebar{display:grid;gap:16px}.af-card{padding:19px;border:1px solid var(--color-line);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-sm)}.af-card h2{font-size:18px;line-height:1.3;margin:0 0 14px}.af-modes{display:grid;gap:7px}.af-modes button{display:flex;align-items:center;gap:10px;text-align:left;background:var(--color-surface);border:1px solid var(--color-line);border-radius:var(--radius-md);padding:6px 9px;color:var(--color-text);min-height:74px;width:100%}.af-modes button[aria-pressed=true]{border:2px solid var(--color-green-ink);background:linear-gradient(90deg,#eaf7ef,#f8f2ff);padding:5px 8px}.af-modes img{width:51px;height:56px;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 5px 4px #5f574b1f)}.af-modes strong{display:block;font-size:12px;line-height:1.35}.af-modes small{display:block;font-size:9px;margin-top:4px;color:var(--color-muted);line-height:1.4}.af-option-label{display:block;font-weight:900;font-size:13px;margin-bottom:10px}.af-page select{border:1px solid var(--color-line);border-radius:var(--radius-sm);padding:10px;background:var(--color-surface);width:100%;color:var(--color-text);font-size:12px;min-height:44px;max-width:100%}.af-small{font-size:11px;color:var(--color-muted);line-height:1.6}.af-card .af-small:last-child{margin-bottom:0}.af-themes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.af-themes button{border:2px solid transparent;border-radius:12px;padding:3px;background:var(--color-surface-alt);min-height:91px;color:var(--color-text)}.af-themes button[aria-pressed=true]{border-color:var(--color-green-ink)}.af-themes img{width:100%;height:50px;-o-object-fit:cover;object-fit:cover;border-radius:9px}.af-themes span{display:block;font-size:8px;font-weight:900;line-height:1.35;margin:4px 0}.af-parent{padding:15px;display:flex;align-items:flex-start;gap:10px;background:var(--color-yellow-soft);border-radius:var(--radius-md)}.af-parent .bp-icon{color:var(--color-peach-ink)}.af-parent p{margin:0;font-size:11px;line-height:1.65}.af-setting{display:flex;align-items:center;gap:10px;font-size:12px;min-height:44px}.af-setting input{accent-color:var(--color-green-ink);width:20px;height:20px}.af-discovery{padding:15px;background:linear-gradient(90deg,var(--color-primary-soft),#f6efff);display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}.af-discovery label{font-weight:900;font-size:12px}.af-discovery p{font-size:12px;margin:0;grid-column:1/-1}.af-discovery button{font-size:11px;grid-column:1/-1;justify-self:start}.af-overlay{position:absolute;inset:0;z-index:10;background:#35405266;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:16px}.af-dialog{width:min(390px,100%);max-height:100%;overflow:auto;background:var(--color-background);border:3px solid white;border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);padding:20px;display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center}.af-dialog h2{font-size:23px;line-height:1.3;margin:0}.af-dialog p{font-size:12px;margin:0 0 6px}.af-dialog .ui-btn{min-height:46px;width:100%}.af-dialog-sticker{height:110px;width:110px;-o-object-fit:contain;object-fit:contain}.af-complete-art{display:flex;align-items:center;position:relative;height:150px;width:230px}.af-complete-art>img:first-child{position:absolute;z-index:1;right:-20px;top:-17px;width:96px;height:96px;-o-object-fit:contain;object-fit:contain;animation:af-award .7s ease-out}.af-complete-art>img:last-child{width:230px;height:150px;-o-object-fit:cover;object-fit:cover;border-radius:var(--radius-lg);border:4px solid white;box-shadow:0 10px 22px #47524725}.af-earned{display:flex;justify-content:center;flex-wrap:wrap;max-height:100px;overflow:auto}.af-earned img{width:68px;height:72px;-o-object-fit:contain;object-fit:contain;animation:af-award .7s ease-out}.af-collection{display:grid;grid-template-columns:260px 1fr;align-items:center;gap:24px;padding:24px 28px;background:linear-gradient(110deg,#fff8dc,#f6efff);border:1px solid #efe4c6;border-radius:var(--radius-xl);margin-top:28px}.af-collection h2{font-size:21px;line-height:1.3;margin:0 0 10px}.af-collection p:last-child{margin:0}.af-collection ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.af-collection li{text-align:center}.af-collection img{width:82px;max-width:100%;height:88px;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 6px 4px #65594720)}.af-collection span{display:block;font-size:9px;line-height:1.3}.af-collection li[aria-disabled=true] img{filter:grayscale(.8);opacity:.3}.af-voice-note{margin-top:16px}.af-page[data-paused=true] .af-stage *,.af-page[data-paused=true] .af-drag-guide{animation-play-state:paused!important}.af-page[data-reduced=true] *{animation:none!important;transition:none!important}.af-page[data-reduced=true] .af-drag-guide{transform:translate(var(--to-x),var(--to-y))}.af-page[data-reduced=true] .af-animal[data-state=eating] .af-bite{transform:scale(.2)}@keyframes af-breathe{0%,to{transform:scale(var(--animal-scale,1)) translateY(0)}50%{transform:scale(calc(var(--animal-scale,1) * 1.015),calc(var(--animal-scale,1) * 1.025)) translateY(-3px)}}@keyframes af-wrong{0%,to{transform:rotate(0) scale(var(--animal-scale,1))}25%,65%{transform:rotate(-5deg) scale(var(--animal-scale,1))}45%,85%{transform:rotate(5deg) scale(var(--animal-scale,1))}}@keyframes af-nibble{0%,to{transform:translateY(0) scale(var(--animal-scale,1))}20%,80%{transform:translateY(5px) rotate(2deg) scale(var(--animal-scale,1))}45%,60%{transform:translateY(2px) rotate(-1deg) scale(calc(var(--animal-scale,1) * 1.01))}}@keyframes af-hop{0%,to{transform:translateY(0) scale(var(--animal-scale,1))}35%{transform:translateY(-18px) scale(calc(var(--animal-scale,1) * 1.04),calc(var(--animal-scale,1) * .97))}68%{transform:translateY(0) scale(calc(var(--animal-scale,1) * 1.03),calc(var(--animal-scale,1) * .98))}}@keyframes af-eat-food{0%{transform:translateY(22%) scale(.85) rotate(-8deg);opacity:1}45%{transform:translateY(0) scale(.62) rotate(6deg);opacity:1}75%{transform:scale(.32);opacity:.8}to{transform:scale(.08);opacity:0}}@keyframes af-hint{0%,to{box-shadow:0 0 #ffe49a00}50%{box-shadow:0 0 0 5px #ffe49aaa,0 0 22px #ffe49aaa}}@keyframes af-guide{0%,15%{transform:translate(var(--from-x),var(--from-y));opacity:0}25%{opacity:1}75%{transform:translate(var(--to-x),var(--to-y));opacity:1}to{transform:translate(var(--to-x),var(--to-y));opacity:0}}@keyframes af-award{0%{transform:scale(.4) rotate(-18deg)}70%{transform:scale(1.12) rotate(4deg)}to{transform:scale(1) rotate(0)}}@media(max-width:1050px){.af-layout{grid-template-columns:minmax(0,1fr) 285px}.af-food{min-width:66px}.af-heading>div>p:last-child{max-width:580px}}@media(max-width:900px){.af-layout{grid-template-columns:1fr}.af-sidebar{grid-template-columns:1fr 1fr}.af-sidebar .af-card:first-child{grid-row:span 2}.af-parent,.af-setting{grid-column:1/-1}.af-collection{grid-template-columns:220px 1fr}.af-heading{align-items:flex-start}}@media(max-width:640px){.af-page{padding-left:0;padding-right:0}.af-breadcrumb,.af-heading,.af-sidebar,.af-collection,.af-voice-note{margin-left:16px;margin-right:16px}.af-heading{display:block}.af-heading h1{font-size:28px}.af-heading>div>p:last-child{font-size:12px}.af-header-badge{display:none}.af-game{border-left:0;border-right:0;border-radius:0}.af-toolbar{padding:7px 12px}.af-toolbar>span{letter-spacing:.08em}.af-mission{padding:9px 12px}.af-mission strong{font-size:12px}.af-progress{padding:7px 12px}.af-scene{height:480px}.af-stage{inset:12px 2px 118px}.af-animal{max-width:270px;min-height:270px}.af-stage[data-many=true] .af-animal{max-width:165px;min-height:205px}.af-stage[data-many=true] .af-animal-name{font-size:9px;padding:4px 9px}.af-stage[data-many=true] .af-animal-mood{font-size:8px;padding:4px 7px}.af-delivery{height:140px}.af-pantry{padding:10px 8px 13px}.af-pantry-label>span:last-child{display:none}.af-foods{gap:7px;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scroll-snap-type:x proximity;padding:0 3px 7px}.af-food{flex:0 0 79px;min-width:79px;min-height:96px;scroll-snap-align:start}.af-food img{height:62px}.af-scene:has(.af-welcome:not([hidden])){height:560px}.af-welcome{padding:18px 10px 13px}.af-welcome h2{font-size:31px}.af-welcome>p{max-width:330px}.af-cover{width:min(430px,96%);max-height:285px;margin-top:13px}.af-start{min-width:255px;font-size:14px}.af-sidebar{grid-template-columns:1fr}.af-sidebar .af-card:first-child{grid-row:auto}.af-parent,.af-setting{grid-column:auto}.af-collection{display:block;padding:21px}.af-collection ul{margin-top:18px;grid-template-columns:repeat(3,1fr)}.af-collection img{height:82px}.af-status{padding:10px 12px}.af-status button{padding:0 8px}.af-discovery{grid-template-columns:1fr}.af-discovery p,.af-discovery button{grid-column:auto}.af-dialog{padding:17px}.af-breadcrumb{margin-top:12px}}@media(max-width:390px){.af-scene{height:450px}.af-stage{bottom:112px}.af-stage[data-many=true] .af-animal{max-width:145px}.af-welcome h2{font-size:28px}.af-cover{max-height:260px}.af-start{min-width:232px}.af-toolbar>span{font-size:9px}.af-toolbar button{min-width:40px;width:40px;height:40px}}.af-tray{position:absolute;left:50%;bottom:18px;translate:-50% 0;width:clamp(152px,46%,224px);min-height:74px;padding:11px 12px 8px;border:5px solid #fff4d5;border-radius:50%;background:radial-gradient(ellipse at 50% 25%,#fffdf3,#efd29b 82%);box-shadow:0 7px #bb854f,0 13px 14px #38504b50,inset 0 4px 7px #ac754744;color:#573b2a;font:inherit;font-weight:900;pointer-events:auto;cursor:pointer}.af-tray img{position:absolute;left:50%;bottom:25px;translate:-50% 0;width:70px;height:70px;-o-object-fit:contain;object-fit:contain;pointer-events:none}.af-tray span{position:relative}.af-tray img:not([hidden])+span{top:16px}.af-tray.is-drop-target,.af-tray:focus-visible,[data-food-selected=true] .af-tray:not(:disabled){outline:3px solid #90654b;outline-offset:4px}.af-tray.is-drop-target{background:#fff2af}.af-animal[data-from-tray=true]{z-index:3}.af-animal[data-from-tray=true] .af-avatar{translate:var(--tray-x, 0) var(--tray-y, 0)}.af-animal[data-state=approaching] .af-avatar{animation:af-breathe .35s ease-in-out infinite}
