/* A toy garden, a moonlit maze and a little café share the original paper palette. */
.maze-launch{background:linear-gradient(145deg,#f4f6e9,#e7eddf);border-color:#d4dec5}.puzzle-launch{background:linear-gradient(145deg,#f7f1e7,#eee0d2);border-color:#e5d3bf}.kitchen-launch{background:linear-gradient(145deg,#fff0eb,#f3e2e6);border-color:#e8cbd0}
.maze-launch .play-kind{color:#687e57}.puzzle-launch .play-kind{color:#977553}.kitchen-launch .play-kind{color:#a4707e}
.maze-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;width:77px;height:77px;padding:6px;border:1px solid #c0d0ad;background:#dce5cd;border-radius:17px;transform:rotate(-8deg);box-shadow:0 4px 0 #98ab8025}.maze-mini i{background:#92ad7f;border-radius:4px;font-style:normal;font-size:19px;display:grid;place-items:center}.maze-mini i:nth-child(2),.maze-mini i:nth-child(5),.maze-mini i:nth-child(8),.maze-mini i:nth-child(9){background:#faf4db}
.puzzle-card-art{position:relative;gap:18px}.puzzle-card-art>span{font-size:41px;transform:rotate(-9deg)}.puzzle-card-art>span:last-child{transform:rotate(15deg);font-size:38px}.puzzle-card-art i{position:absolute;left:32px;top:43px;color:#be9660;font-size:25px;font-style:normal}.kitchen-card-art{position:relative}.kitchen-card-art>span:nth-child(1){font-size:28px;transform:rotate(-15deg);margin-bottom:25px}.kitchen-card-art>span:nth-child(2){font-size:59px;transform:rotate(8deg);margin-left:-8px}.kitchen-card-art>span:last-child{font-size:23px;color:#cd9a63;align-self:flex-start;margin-top:16px}
.adventure-intro{text-align:center;border:1px solid #dce4d1;background:linear-gradient(145deg,#f7f8f0,#edf2e4);border-radius:23px;padding:22px 15px;margin:19px 0 25px}.adventure-intro.puzzle{background:linear-gradient(145deg,#fbf5ec,#f0e5d7);border-color:#e7d7c4}.adventure-intro-art{display:block;font-size:42px;margin:0 0 14px}.adventure-intro>strong{font-size:18px}.adventure-intro p{font-size:12px;color:#727d67;line-height:1.9;margin:12px 0 0}.adventure-intro.puzzle p{color:#8d7967}
.journey-summary,.world-header,.world-stats{display:flex;align-items:center;justify-content:space-between;gap:10px}.journey-summary{font-size:12px;margin:18px 0;color:var(--muted)}.journey-summary strong{color:var(--purple-dark)}.chapter{padding:16px;border:1px solid #dce4d1;border-radius:19px;background:#f3f6ed;margin-bottom:14px}.chapter h3{font-size:13px;margin:0 0 13px;color:#657c52}.chapter.ocean{background:#edf4f5;border-color:#d4e3e8}.chapter.ocean h3{color:#5b7e8d}.chapter.moon{background:#f3edf7;border-color:#e1d5ea}.chapter.moon h3{color:#846899}.level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.level-button{border:1px solid #dce1d4;border-radius:13px;min-height:67px;padding:10px 4px;background:#fffdf6;color:#70855e;display:flex;flex-direction:column;align-items:center;gap:6px}.level-button>span{font-size:21px;font-weight:750}.level-button small{font-size:9px;color:var(--muted)}.level-button:disabled{opacity:.5;filter:grayscale(.5)}.world-header{margin:20px 0 14px}.world-chapter{font-size:12px;background:#f1f4e8;padding:9px 13px;border-radius:14px;color:#6b805a}.world-stage{font-size:12px;font-weight:700;color:#8c759c;letter-spacing:2px}.world-stats{font-size:12px;margin:12px 4px 15px;color:#7b6c59}.world-stats>span:last-child{color:var(--muted);font-variant-numeric:tabular-nums}
.world-board{--floor:#f8f2d9;--wall:#91ac80;--wall-top:#b3c69f;--wall-edge:#718c62;position:relative;width:100%;border-radius:20px;border:7px solid #d7e2c8;background:var(--floor);overflow:hidden;touch-action:none;box-shadow:0 5px 0 #a7bc9625;outline-offset:4px}.world-board.ocean{--floor:#f1edda;--wall:#86b3be;--wall-top:#aecfd5;--wall-edge:#6998a5;border-color:#d3e7e8}.world-board.moon{--floor:#eee8f7;--wall:#a497bb;--wall-top:#c1b4d1;--wall-edge:#86779f;border-color:#dfd5eb}
.world-tiles{display:grid;grid-template-columns:repeat(var(--cells),minmax(0,1fr));aspect-ratio:1}.world-tile{aspect-ratio:1;position:relative;display:grid;place-items:center;font-size:clamp(15px,4vw,26px);border:.5px solid #c3b99e18;line-height:1;min-width:0;min-height:0}.world-tile.hedge{background:var(--wall);border:1px solid var(--wall-edge);border-top:4px solid var(--wall-top);border-radius:6px;box-shadow:inset 0 -3px 0 #596d5820}.world-tile.hedge:after{content:'·';color:#e4f0d580;position:absolute;font-size:24px;top:2px;left:6px}.world-tile.visited:not(.hedge):before{content:'';position:absolute;width:9%;height:9%;background:#c9b98b;border-radius:50%;bottom:15%;left:15%}.world-tile.plate{color:#bca267;background:#e8dcb9;box-shadow:inset 0 0 0 3px #f7efda;border-radius:8px;font-size:24px}.world-tile.settled{background:#d6e7bd;box-shadow:inset 0 0 0 3px #b3cb91}.world-tile.exit{background:#f6e1a3;border-radius:8px}.world-bear{position:absolute;display:grid;place-items:center;aspect-ratio:1;font-size:clamp(20px,6vw,37px);line-height:1;transform:translate(-50%,-50%);transition:left .11s,top .11s;filter:drop-shadow(0 3px 0 #8c673327);pointer-events:none}.world-message{text-align:center;min-height:38px;color:#7f6c92;font-size:12px;line-height:1.8;margin:18px 0 12px}.world-controller{display:flex;align-items:center;justify-content:center;gap:24px}.direction-pad{display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(3,44px);gap:5px}.direction-pad button{border:1px solid #d6c8e3;border-radius:13px;background:#f1eaf8;color:#83669e;box-shadow:0 3px 0 #d4c7e2;font-size:25px;padding:0;min-width:44px;min-height:44px;font-weight:700;touch-action:manipulation}.direction-pad button:active{box-shadow:none;transform:translateY(2px)}.direction-pad button.hinted{background:#ffe5a0;border-color:#d4ac54;box-shadow:0 3px 0 #d6b86d}.direction-pad button[data-dir=up]{grid-area:1/2}.direction-pad button[data-dir=left]{grid-area:2/1}.direction-pad button[data-dir=right]{grid-area:2/3}.direction-pad button[data-dir=down]{grid-area:3/2}.direction-pad>span{grid-area:2/2;display:grid;place-items:center;font-size:18px;opacity:.4}.world-tools{display:grid;gap:12px}.world-tools .secondary{font-size:11px;padding:11px 12px;min-height:44px}.world-legend{text-align:center;font-size:10px;color:var(--muted);margin:19px 0 7px;line-height:1.8}.world-result{margin-top:24px}
.kitchen-tabs{display:flex;gap:9px;margin:19px 0 15px}.kitchen-tabs button{flex:1;padding:12px 8px;border:1px solid #e9d3d8;background:#fff7f5;border-radius:14px;font-size:12px;min-height:44px}.kitchen-tabs button[aria-pressed=true]{background:#f4e1e6;color:#9d6475;border-color:#d5a4b4;font-weight:750}.kitchen-scene{position:relative;overflow:hidden;border:1px solid #e6d8c3;border-radius:23px;background:radial-gradient(ellipse at 8% 70%,#e3eacb 0,transparent 37%),radial-gradient(ellipse at 96% 65%,#efdcde 0,transparent 38%),#fff7e8;margin-top:13px}.shop-awning{height:29px;background:repeating-linear-gradient(90deg,#d9a5b2 0 29px,#fff0df 29px 58px);border-bottom:5px solid #b8768c66;border-radius:0 0 9px 9px}.shop-sign{font-size:9px;letter-spacing:2px;color:#a77c79;display:flex;align-items:center;justify-content:center;gap:9px;margin:12px 0}.shop-sign span{color:#c4a369}.chef-bubble{position:relative;z-index:1;width:calc(100% - 42px);margin:9px auto 0;border:1px solid #e6d4b8;background:#fffdf5;border-radius:15px;padding:11px 10px;font-size:12px;text-align:center;line-height:1.7;color:#8d7163;min-height:44px}.chef-bubble:after{content:'';position:absolute;width:10px;height:10px;border-right:1px solid #e6d4b8;border-bottom:1px solid #e6d4b8;background:#fffdf5;bottom:-6px;left:calc(50% - 5px);transform:rotate(45deg)}.chef-portrait{width:160px;height:137px;margin:12px auto -20px;position:relative}.chef-face{display:block;width:100%;height:100%}.chef-reaction{position:absolute;right:-20px;top:37px;font-size:43px;color:#cc839b;transform:rotate(12deg)}.kitchen-scene[data-reaction=heart] .chef-reaction{color:#d48198}.kitchen-scene[data-reaction=sour] .chef-face{transform:rotate(-7deg)}.kitchen-scene[data-reaction=cold] .chef-reaction{color:#8bb9c9}.kitchen-scene[data-reaction=cold] .chef-mouth{d:path('M77 120q4 -9 8 0q4 -9 8 0q4 -9 8 0')}.kitchen-scene[data-reaction=surprise] .chef-mouth{d:path('M83 116a8 10 0 1 0 16 0a8 10 0 1 0 -16 0')}.kitchen-scene[data-reaction=cloud] .chef-face{transform:rotate(5deg)}.kitchen-counter{border-top:8px solid #d4b798;background:repeating-linear-gradient(0deg,#e8d1b3 0 23px,#e2c8a7 23px 24px);height:133px;position:relative}.kitchen-counter:after{content:'✦ MADE WITH A LITTLE LOVE ✦';position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:1.4px;color:#a98465}
.dish-art{width:152px;height:103px;position:relative;margin:4px auto 0;display:flex;align-items:center;justify-content:center}.dish-vessel{position:relative;width:128px;height:53px;border-radius:8px 8px 70px 70px;background:#fff9ee;border:2px solid #d0b597;box-shadow:0 5px 0 #b5906e20;display:flex;align-items:center;justify-content:center;margin-top:17px}.dish-vessel:after{content:'';position:absolute;bottom:12px;left:18px;right:18px;border-bottom:1px solid #e9c9bb}.food-pieces{display:flex;justify-content:center;gap:0;position:absolute;top:-12px;font-size:31px;line-height:1}.food-pieces i{font-style:normal;transform:rotate(-14deg);margin:0 -3px}.food-pieces i:nth-child(even){transform:rotate(13deg)}.dish-art:not(.filled) .dish-vessel{opacity:.55}.dish-topping{position:absolute;top:6px;left:50%;transform:translateX(-50%);font-size:28px;color:#e4b857;filter:drop-shadow(0 2px 0 #b27c5120)}
.dish-art.blend .dish-vessel{width:68px;height:80px;margin-top:7px;border-radius:5px 5px 20px 20px;background:linear-gradient(90deg,#fff7 0 8px,transparent 8px),var(--dish-mix);border:3px solid #fff9eb;outline:1px solid #c6ac90;transform:rotate(-5deg)}.dish-art.blend .dish-vessel:before{content:'';position:absolute;width:5px;height:35px;background:#b39bc9;top:-21px;right:16px;border:2px solid #f9edfa;border-radius:4px;transform:rotate(15deg)}.dish-art.blend .food-pieces{font-size:16px;top:39px;opacity:.6}.dish-art.blend .dish-vessel:after{display:none}.dish-art.blend .dish-topping{top:0}
.dish-art.bake .dish-vessel{height:58px;width:97px;border-radius:14px 14px 20px 20px;background:repeating-linear-gradient(90deg,#cb9c76 0 10px,#d9b18c 10px 12px);border-color:#b58c67;transform:rotate(3deg)}.dish-art.bake .dish-vessel:before{content:'';position:absolute;top:-18px;width:107px;height:35px;border-radius:25px 25px 15px 15px;background:var(--dish-mix);border:2px solid #d1ad8b}.dish-art.bake .food-pieces{font-size:20px;top:-13px}.dish-art.bake .dish-topping{top:-1px}.dish-art.bake .dish-vessel:after{display:none}
.dish-art.freeze .dish-vessel{height:32px;width:111px;margin-top:51px;border-radius:10px 10px 40px 40px;background:#e9d5eb;border-color:#b99ac1}.ice-scoop{width:47px;height:44px;position:absolute;top:-33px;left:11px;border-radius:50% 50% 40% 40%;background:var(--dish-mix);border:1px solid #fff6;box-shadow:inset 6px 6px 0 #fff2}.ice-scoop:nth-child(2){left:51px;transform:rotate(15deg)}.ice-scoop:nth-child(3){top:-62px;left:31px;transform:rotate(-12deg)}.dish-art.freeze .dish-topping{top:-3px}.dish-art.freeze:not(.filled) .ice-scoop{display:none}
.dish-caption{text-align:center;font-size:11px;line-height:1.8;color:var(--muted);padding:11px 7px;min-height:42px}.kitchen-section-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 11px}.kitchen-section-heading h3,.kitchen-step{font-size:13px;margin:0}.kitchen-section-heading>span{font-size:11px;color:#a87b83}.ingredient-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ingredient{min-height:65px;background:#fff9f1;border:1px solid #eadcc9;border-radius:14px;padding:9px 3px;display:flex;flex-direction:column;align-items:center;gap:6px}.ingredient>span{font-size:27px;line-height:1.1}.ingredient small{font-size:10px;color:#917c68}.ingredient.selected{border-color:#cdbb99;background:#f8efd9}.ingredient:disabled{opacity:.6}.ingredient-tray{display:flex;flex-wrap:wrap;gap:6px;padding:11px 0;min-height:53px}.ingredient-tray button{border:1px solid #e7d5d4;background:#fcf0eb;border-radius:10px;font-size:10px;padding:9px 10px;min-height:44px}.ingredient-tray>span{font-size:10px;color:var(--muted);padding:10px 0}.kitchen-step{margin:15px 0 11px}.kitchen-methods,.kitchen-toppings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.kitchen-methods button,.kitchen-toppings button{border:1px solid #e6d8e8;background:#faf5fb;border-radius:13px;padding:10px 3px;min-height:61px;display:flex;flex-direction:column;align-items:center;gap:5px}.kitchen-methods button>span{font-size:24px}.kitchen-methods small,.kitchen-toppings small{font-size:10px}.kitchen-methods button[aria-pressed=true],.kitchen-toppings button[aria-pressed=true]{border-color:#a58cbb;background:#eee3f7;box-shadow:inset 0 0 0 1px #bda4d2}.kitchen-toppings button>span{font-size:23px;color:#ba9467}.kitchen-serve{margin-top:22px}.snack-result{text-align:center;background:#f5ecf4;border:1px solid #e4d5e7;border-radius:19px;margin:17px 0;padding:19px 15px}.snack-result>strong{font-size:20px;color:#9b6b8a}.snack-result p{font-size:12px;color:var(--muted);line-height:1.8}.snack-result .secondary{font-size:11px;min-height:44px}.recipe-save{border-top:1px dashed #e2d5df;margin-top:23px;padding-top:19px}.recipe-save>div{display:flex;gap:7px}.recipe-save input{min-width:0;flex:1;font-size:12px}.recipe-save .secondary{font-size:11px;padding:10px 12px;white-space:nowrap;min-height:44px}.recipe-save>p{font-size:11px;color:#8c729f;line-height:1.7;margin:9px 0;min-height:18px}.kitchen-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.kitchen-footer .secondary{font-size:11px;min-height:44px}.kitchen-footer>span{font-size:11px;color:var(--muted)}.recipe-book,.reaction-book{border:1px solid #e5d8e6;border-radius:17px;background:#fcf8fb;margin:11px 0;padding:15px}.recipe-book summary,.reaction-book summary{cursor:pointer;min-height:28px;font-size:12px;color:#85618e;line-height:1.8}.recipe-book summary>span,.reaction-book summary>span{font-size:10px;color:var(--muted);margin-left:8px}.empty-menu{font-size:11px;color:var(--muted);line-height:1.8}.recipe-row{display:flex;align-items:center;gap:6px;border-top:1px solid #ece1ec;margin-top:12px;padding-top:10px}.recipe-load{flex:1;display:flex;align-items:center;gap:12px;text-align:left;background:none;border:0;padding:8px 0;min-width:0}.recipe-load>span:first-child{font-size:29px}.recipe-load strong{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.recipe-load small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.recipe-remove{width:44px;height:44px;background:#f7eff6;border:1px solid #eaddeb;border-radius:13px;font-size:21px;color:#af8cae;flex-shrink:0}.reaction-album{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.reaction-album>span{padding:12px 3px;border:1px dashed #e0d3e5;border-radius:13px;display:flex;flex-direction:column;align-items:center;gap:9px;color:#b6a4bf;background:#f8f4fa}.reaction-album>span.discovered{background:#fff2e4;border:1px solid #e9d6bf;color:#b38c66}.reaction-album b{font-size:25px;line-height:1}.reaction-album small{font-size:9px}.picture-order{border:1px solid #e8d5a7;background:#fff8df;border-radius:17px;padding:15px 10px}.order-title{display:block;text-align:center;font-size:12px;color:#9c824c;font-weight:700}.picture-order>div{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 8px}.picture-order>div>span{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:25px;color:#c19b51}.picture-order small{font-size:9px;color:#9a855e}.picture-order b{font-size:12px;color:#bba878}.picture-order p{font-size:10px;text-align:center;color:#9a855e;line-height:1.7;margin:11px 0 0}
@media(max-width:760px){.maze-mini{width:67px;height:67px}.puzzle-card-art{gap:9px}.puzzle-card-art>span{font-size:32px}.puzzle-card-art>span:last-child{font-size:30px}.puzzle-card-art i{left:20px;top:40px}.kitchen-card-art>span:nth-child(1){font-size:22px}.kitchen-card-art>span:nth-child(2){font-size:47px}.kitchen-card-art>span:last-child{font-size:18px}.world-bear{font-size:26px}.world-tile{font-size:20px}.world-board[style*="11"] .world-bear{font-size:21px}.world-board[style*="11"] .world-tile{font-size:17px}}
@media(max-width:350px){.world-controller{gap:14px}.direction-pad{grid-template-columns:repeat(3,44px);gap:4px}.world-tools .secondary{font-size:10px;padding:10px 8px}.world-board{border-width:5px;border-radius:16px}.world-bear{font-size:23px}.world-tile{font-size:18px}.world-board[style*="11"] .world-bear{font-size:19px}.world-board[style*="11"] .world-tile{font-size:15px}.chapter{padding:12px}.level-button small{font-size:8px}.picture-order>div{gap:7px}.recipe-save>div{flex-wrap:wrap}.recipe-save .secondary{flex:1}.recipe-save input{flex-basis:100%}.kitchen-counter{height:125px}.kitchen-card-art{gap:0}.kitchen-card-art>span:nth-child(1){font-size:18px}.kitchen-card-art>span:nth-child(2){font-size:41px}.kitchen-card-art>span:last-child{font-size:14px}}
.kitchen-scene{scroll-margin-top:83px}.snack-result-actions{display:flex;gap:8px;justify-content:center}.snack-result-actions .primary,.snack-result-actions .secondary{flex:1;font-size:11px;padding:11px 7px;min-height:44px}#kitchenPreview{margin:17px 0 0;font-size:11px;min-height:44px}.kitchen-serve{margin-top:7px}
@media(prefers-reduced-motion:reduce){.world-bear{transition:none}}
