body[data-game=kitchen] .playground{max-width:1120px}
.cafe-toolbar{display:flex;justify-content:center;gap:12px;margin:20px 0}
.cafe-toolbar button{font-weight:800!important;background:#f5efd9!important}
.cafe-menu,.cafe-book{background:#fffdf5;border:1px solid #d7ddcc;border-radius:24px;padding:20px;margin:18px 0;box-shadow:0 10px 25px #4b59320b}
.cafe-menu-tabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.cafe-menu .chef-recipes{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:0}
.cafe-menu .chef-recipes img{height:92px}
.cafe-kitchen-picture{height:250px;background:#dde6cb url('art/kitchen/kitchen.webp') center 25%/cover no-repeat;border-bottom:6px solid #e7c699}
.chef-workspace{border-radius:26px}
.chef-workspace>header{background:#fffdf4;padding:20px 24px 8px}
.chef-workspace>header>span{color:#667c60}
.chef-workspace .chef-steps{margin:12px 20px;padding:0}
.chef-workspace .chef-recipe-strip{margin:14px 20px}
.cafe-worktop{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:20px;padding:24px;background:linear-gradient(100deg,#edd5afaa,#ffefceaa),url('art/kitchen/kitchen.webp') center bottom/100% auto}
.chef-play-area{background:#fffdf6;border-radius:24px;padding:22px;min-height:460px;box-shadow:0 7px 16px #8d66321c}
.chef-play-area h3{font-size:clamp(17px,2.5vw,23px);margin:3px 0 22px;line-height:1.55}
.chef-shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 25px}
.chef-shelf button{min-height:120px;background:#faf3e1!important;border-bottom:5px solid #dac09b!important;border-radius:15px!important}
.chef-shelf button[aria-pressed=true]{background:#e2edd8!important;outline:3px solid #7b9c78}
body[data-game=kitchen] #level button[aria-pressed=true]{color:#304f47}
.cafe-appliance{touch-action:none}
.chef-shelf .chef-recommended{box-shadow:0 0 0 3px #e8b74a!important}
.chef-shelf img{height:78px}
.chef-shelf span{font-size:13px;line-height:1.35}
.chef-drop{min-height:160px!important;width:96%;background:radial-gradient(ellipse,#fffcf0,#e9e6ca)!important;border:3px dashed #91ab80!important}
.cafe-small-help{color:#627b5d;font-size:13px;line-height:1.8;margin:16px 0 0}
.cafe-guest{align-self:start;background:#fcf9ef;border:1px solid #e0d9c1;border-radius:22px;padding:14px;text-align:center;box-shadow:0 6px 20px #78582e0c}
.cafe-guest-portrait{width:175px;max-width:100%;height:185px;margin:0 auto -10px}
.cafe-guest-portrait>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 3px #886c4110)}
.cafe-speech{position:relative;background:#fffdf8;border:1px solid #dce1ce;border-radius:18px;padding:13px 10px;line-height:1.6}
.cafe-speech:before{content:'';position:absolute;width:14px;height:14px;background:#fffdf8;left:45%;top:-8px;transform:rotate(45deg);border-left:1px solid #dce1ce;border-top:1px solid #dce1ce}
.cafe-speech strong{font-size:16px}
.cafe-speech p{font-size:13px;margin:7px 0}
.cafe-request{display:flex;align-items:center;justify-content:center;gap:6px;background:#f3efd9;border-radius:12px;padding:7px}
.cafe-request img{width:62px;height:50px;object-fit:contain}
.cafe-request span{font-size:12px;line-height:1.5}
.cafe-guest-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:14px 0 12px}
.cafe-guest-choices button{padding:2px!important;min-height:52px!important;border-radius:13px!important}
.cafe-guest-choices img{height:46px;width:100%;object-fit:contain;pointer-events:none}
.cafe-order-button{font-size:13px!important;padding:10px!important;width:100%}
.chef-board{border-width:5px;margin-bottom:20px;padding:14px;max-width:450px}
.chef-board #prepFood.cafe-prep-food{width:min(300px,100%);height:215px;position:relative;margin:auto;touch-action:none}
.cafe-prep-food>img{width:100%;height:100%;object-fit:contain;pointer-events:none;transition:transform .2s}
.cafe-prep-food.pour.started>img,.cafe-prep-food.scoop.started>img{transform:rotate(-20deg) translateY(-10px)}
.cafe-cut{position:absolute;top:17%;height:68%;width:48px;transform:translateX(-50%);padding:0!important;min-height:0!important;background:transparent!important;border:0!important;box-shadow:none!important;touch-action:none}
.cafe-cut>span{display:block;height:85%;border-left:3px dashed #fff6cf;margin-left:50%;filter:drop-shadow(1px 1px 1px #6f503a)}
.cafe-cut b{display:block;font-size:13px;line-height:23px;width:24px;height:24px;border-radius:50%;background:#fff7d5;color:#685126;margin:auto}
.cafe-cut.done{opacity:.8!important}.cafe-cut.done>span{border-color:#84ab76}.cafe-cut.done b{background:#dbecc9;color:#4e7752}
.chef-board progress{display:block;width:80%;height:15px;margin:12px auto 4px;accent-color:#6d986e}
.chef-board #prepPercent{font-size:12px;color:#677955}
.cafe-spoon{position:absolute;left:49%;top:-10%;width:8%;height:74%;border-radius:45% 45% 30% 30%;background:linear-gradient(90deg,#9f714a,#ebc48b,#b78252);transform:rotate(30deg);transform-origin:center 70%;pointer-events:none;box-shadow:1px 1px 3px #5c543144}
.cafe-spoon:after{content:'';position:absolute;bottom:-8%;left:-40%;width:180%;height:32%;border-radius:50%;background:radial-gradient(ellipse,#c3905e,#ebc48b,#af7d50)}
.chef-mix-bowl{width:min(300px,90%)}.chef-ring{font-size:120px}
.cafe-appliance{position:relative;width:min(330px,92%);margin:25px auto 20px}
.cafe-appliance-window{position:relative;overflow:hidden;aspect-ratio:1;display:grid;place-items:center;background:#f5e4b9;box-shadow:inset 0 5px 16px #735d2920}
.cafe-appliance-window>img{width:90%;height:90%;object-fit:contain;filter:saturate(calc(.45 + var(--cooked)*.55));transform:scale(calc(.83 + var(--cooked)*.17));transition:transform .2s,filter .2s}
.cafe-appliance-window>.cafe-cook-food{position:absolute;inset:10%;width:80%;height:80%;filter:none;transform:none;transition:opacity .15s}
.cafe-appliance-window>.cafe-cook-overlay{opacity:var(--browning)}
.cafe-appliance.pan .cafe-appliance-window{border:13px solid #6e7660;border-radius:50%;background:#3c493c;box-shadow:0 8px 0 #596047}
.cafe-appliance.pan:after{content:'';position:absolute;right:-8%;top:42%;width:25%;height:34px;background:linear-gradient(#ba9867,#856441);border-radius:18px;z-index:0}
.cafe-appliance.oven{padding:20px 20px 38px;background:linear-gradient(105deg,#d9e4cd,#a9c39f);border:2px solid #94aa89;border-radius:22px;box-shadow:0 9px 0 #758e69}
.cafe-appliance.oven .cafe-appliance-window{aspect-ratio:1.25;border:8px solid #678060;border-radius:12px;background:radial-gradient(ellipse,#f6d385,#876641)}
.cafe-appliance.oven .cafe-appliance-window:after{content:'';position:absolute;inset:6%;background:linear-gradient(110deg,#ffffff18,transparent 60%);border:1px solid #fff8dc55;border-radius:7px;pointer-events:none}
.cafe-oven-knobs{display:flex;justify-content:space-around;position:absolute;bottom:10px;left:15%;right:15%}
.cafe-oven-knobs i{width:19px;height:19px;border:3px solid #6d8262;background:#f5ebd1;border-radius:50%}
.cafe-appliance.blender{padding:8px 35px 40px;background:linear-gradient(transparent 80%,#d5b58a 80%);border-radius:18px}
.cafe-appliance.blender .cafe-appliance-window{border:8px solid #cdd9c2;border-radius:14px 14px 45px 45px;background:#f4d1c4}
.cafe-appliance.fridge{border:14px solid #c9dfd5;border-radius:25px;background:#d7e9e1;box-shadow:0 6px 0 #93b6a4}
.cafe-appliance.fridge .cafe-appliance-window{background:linear-gradient(#f3faf3,#d4ece9)}
.cafe-appliance.bowl .cafe-appliance-window,.cafe-appliance.cake .cafe-appliance-window{background:#f7edcf;border-radius:50%;border:7px solid #e7d4ad}
.cafe-steam{position:absolute;top:5%;left:20%;right:20%;font-size:35px;letter-spacing:12px;color:#fff5dfaa;pointer-events:none}
.cafe-appliance.needs-flip{animation:cafe-flip-hint 1.4s ease-in-out infinite}
.is-working{background:#d9ebc7!important;color:#395b3b!important;box-shadow:0 0 0 4px #d9c68a66!important}
.chef-plate,.chef-finished-dish{border-radius:24px;overflow:hidden;max-width:410px;touch-action:none}
.chef-topping-tray button{touch-action:none}
.chef-plate{border:1px dashed #c9caa8}
.chef-complete h2{font-size:clamp(20px,2.6vw,28px)}
.cafe-complete-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.cafe-complete-actions .chef-primary{margin:0!important}
.cafe-new-gift{background:#f8e1a9;border:1px solid #e6c771;border-radius:14px;padding:13px;color:#6b5326;font-weight:800}
.cafe-book>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 3px 14px}
.cafe-book h2{margin:5px 0;font-size:clamp(22px,3vw,32px)}
.cafe-book header small{letter-spacing:.13em;color:#76896f;font-size:10px}
.cafe-book header p{font-size:15px;font-weight:700;margin:6px 0}
.cafe-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.cafe-book-grid article{border:1px solid #e0dfc8;border-radius:18px;background:#f8f4e7;padding:10px;text-align:center;overflow:hidden}
.cafe-book-grid .made{background:#f4f7e9;border-color:#b8caa8}
.cafe-book-grid .waiting .cafe-book-dish>img{filter:saturate(.6);opacity:.7}
.cafe-book-grid h3{font-size:14px;margin:12px 0 5px;line-height:1.5}
.cafe-book-grid p,.cafe-book-grid small{font-size:12px;margin:5px 0;display:block}
.cafe-book-grid button{font-size:13px!important;padding:8px 12px!important;width:100%;margin-top:7px}
.cafe-book-dish{position:relative;aspect-ratio:3/2;border-radius:12px;overflow:hidden}
.cafe-book-dish>img{width:100%;height:100%;object-fit:contain}
.cafe-table-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cafe-table-choices button{min-height:110px!important;font-size:13px!important;font-weight:700;display:flex;flex-direction:column;justify-content:center;gap:8px}
.cafe-table-choices small{font-size:11px;font-weight:400}
.cafe-table-choices progress{width:100%;height:10px;accent-color:#7c9d69}
.table-0{background-color:#f4e5c7}
.table-1{background-color:#dce9cc;background-image:repeating-linear-gradient(90deg,transparent 0 22px,#fff4 22px 24px),repeating-linear-gradient(0deg,transparent 0 22px,#fff4 22px 24px)}
.table-2{background-color:#f1dddf;background-image:radial-gradient(circle,#fff8 3px,transparent 4px);background-size:24px 24px}
.table-3{background-color:#d7e6ee;background-image:radial-gradient(ellipse,#fff9 2px,transparent 3px);background-size:20px 20px}
#chefGhost.carrying-plate{width:180px;height:120px;position:fixed}
#chefGhost.carrying-plate>img{width:100%;height:100%}
.cafe-save-error{background:#fff0d2;padding:14px;border-radius:14px}
@keyframes cafe-flip-hint{50%{transform:translateY(-6px) rotate(-2deg)}}
@keyframes cafe-guest-thanks{50%{transform:translateY(-6px) rotate(2deg)}}
.is-delighted{animation:cafe-guest-thanks .7s ease-in-out 2}
@media(max-width:850px){.cafe-worktop{grid-template-columns:minmax(0,1fr) 190px;gap:12px;padding:16px}.chef-play-area{padding:18px}.cafe-guest-portrait{height:145px}.cafe-menu .chef-recipes{grid-template-columns:repeat(4,minmax(0,1fr))}.cafe-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){body[data-game=kitchen] .playground{padding:16px 10px 35px}.cafe-kitchen-picture{height:150px;background-position:center 25%}.cafe-worktop{display:flex;flex-direction:column;padding:12px;gap:12px}.cafe-guest{order:-1;display:grid;grid-template-columns:80px minmax(0,1fr);width:100%;box-sizing:border-box;padding:10px;column-gap:10px;align-items:center}.cafe-guest-portrait{width:80px;height:105px;grid-row:1/3;margin:0}.cafe-speech{padding:8px 9px}.cafe-speech:before{display:none}.cafe-speech strong{font-size:13px}.cafe-speech p{font-size:12px;margin:3px 0}.cafe-request{padding:2px 7px}.cafe-request img{width:42px;height:35px}.cafe-request span{font-size:11px}.cafe-guest-choices{grid-column:2;grid-row:2;margin:7px 0 0;max-width:250px}.cafe-guest-choices button{min-height:45px!important}.cafe-guest-choices img{height:39px}.cafe-order-button{grid-column:1/-1;margin-top:9px;min-height:44px!important;font-size:12px!important}.chef-play-area{padding:18px 10px;min-height:390px}.chef-shelf{gap:7px}.chef-shelf button{min-height:95px}.chef-shelf img{height:58px}.chef-shelf span{font-size:11px}.chef-play-area h3{font-size:17px;margin-bottom:17px}.chef-drop small{font-size:11px}.chef-drop>span{font-size:17px}.chef-steps{flex-wrap:wrap;gap:4px!important}.chef-steps li{min-width:27%}.cafe-toolbar{gap:7px}.cafe-toolbar button{font-size:12px!important;padding:10px!important}.chef-workspace>header{padding:15px 13px 5px}.chef-workspace h2{font-size:21px}.cafe-menu,.cafe-book{padding:12px}.cafe-menu .chef-recipes{grid-template-columns:repeat(3,minmax(0,1fr))}.cafe-menu .chef-recipes img{height:67px}.cafe-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cafe-book-grid h3{font-size:12px}.cafe-book-grid article{padding:7px}.cafe-table-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.chef-board #prepFood.cafe-prep-food{height:185px}.cafe-book>header button{font-size:12px!important;padding:8px!important}.cafe-complete-actions button{font-size:13px!important}.chef-mix-bowl{width:min(270px,90%)}.cafe-appliance{width:min(260px,85%)}.chef-topping-tray{gap:7px;margin:12px 0}.chef-topping-tray button{width:85px}.cafe-small-help{font-size:12px}.chef-plate-actions button{font-size:12px!important}.chef-plate-actions{gap:7px}}
@media(prefers-reduced-motion:reduce){.cafe-appliance.needs-flip,.is-delighted{animation:none}.cafe-appliance-window>img,.cafe-prep-food>img{transition:none}}
