*{box-sizing:border-box}body{margin:0;background:#211d30;color:#fff1df;font:15px/1.5 system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #ffca79;outline-offset:3px}header{max-width:1400px;margin:auto;padding:20px 30px;display:flex;justify-content:space-between}a{color:#ddd0d0;text-decoration:none}.brand{font-weight:900;letter-spacing:1px;color:white}.brand span{color:#ffc76c}main{max-width:1400px;margin:auto;padding:5px 30px 30px}.title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.title small{font-size:10px;letter-spacing:3px;color:#dcb59f}h1{font:700 40px Georgia,serif;margin:5px 0}h1 em{color:#eca19e}.title p{color:#c3adbb}.machine{border-radius:22px;background:#f5e6d2;overflow:hidden;box-shadow:0 24px 80px #0a071940;color:#59414d;border:1px solid #6b5066}.topbar{background:#76596b;color:#fff4df;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;gap:12px}.cafe-name{font-weight:800;letter-spacing:2px;font-size:13px}.wallet{display:flex;align-items:center;gap:15px;font-weight:800}.wallet span{border-radius:30px;background:#5d4558;padding:7px 15px;font-size:13px}.wallet button,.book{border:1px solid #a58c99;border-radius:10px;background:transparent;color:inherit;padding:7px 13px}.workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(430px,1fr);gap:0}.cafe{padding:24px;background:linear-gradient(155deg,#e6d5c6,#edddc5)}.scene{border-radius:15px;overflow:hidden;border:5px solid #f7e9d6;box-shadow:0 10px 25px #72585c25}.scene svg{display:block;width:100%}.chapter{padding:22px 3px 10px}.chapter small{font-size:10px;letter-spacing:2px;font-weight:800;color:#947378}.chapter h2{font:700 26px Georgia;margin:8px 0}.chapter p{color:#826675;font-size:14px;min-height:43px;margin:8px 0 18px}.primary{border:0;border-radius:12px;padding:13px 20px;background:#668d7f;color:#fff7dc;font-weight:800;box-shadow:0 4px 0 #496e62;width:100%}.primary:disabled{background:#aa9b8c;box-shadow:0 4px 0 #918177}.renovation-track{display:flex;gap:5px;margin:22px 0 12px}.renovation-track i{height:5px;flex:1;border-radius:4px;background:#d0bfb0}.renovation-track i.done{background:#6d9785}.book{width:100%;color:#795d69;border-color:#bda394}.kitchen{padding:20px 28px 15px;background:linear-gradient(145deg,#faf0dc,#f5dec6)}.orders-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.orders-heading h2{font:700 20px Georgia;margin:0}.orders-heading span{font-size:11px;color:#917381}.orders{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.order{background:#fff8e9;border:1px solid #e3cabc;border-radius:16px;padding:8px;text-align:center;box-shadow:0 4px 0 #dac1b640}.guest{display:flex;align-items:center;gap:7px;font-size:11px;color:#8a6d78;text-align:left}.avatar{width:25px;height:25px;border-radius:50%;background:#e7c7b5;color:#875c67;display:grid;place-items:center;font-weight:bold}.order-items{display:flex;justify-content:center;align-items:center;min-height:55px}.order-items svg{width:52px;height:52px}.order-items .have{filter:drop-shadow(0 0 4px #62ab78)}.order button{border:0;background:#dfc9b9;border-radius:9px;padding:5px;width:100%;color:#735665;font-size:11px;font-weight:800}.order button.ready{background:#739886;color:#fff9e6;opacity:1;box-shadow:0 2px 0 #52735f}.board-wrap{padding:10px;background:#bfa48f;border-radius:18px;box-shadow:inset 0 3px 8px #7b566331,0 5px 0 #a88a78}.board{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;touch-action:none}.cell{position:relative;aspect-ratio:1;background:#f2dfc2;border:0;border-radius:9px;padding:2px;box-shadow:inset 0 -3px #ddc6aa;color:#705466;touch-action:none;user-select:none}.cell:nth-child(12n+1),.cell:nth-child(12n+3),.cell:nth-child(12n+5),.cell:nth-child(12n+8),.cell:nth-child(12n+10),.cell:nth-child(12n+12){background:#ead1b1}.cell svg{width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 3px 1px #81605d30)}.cell.generator{background:#eac7ac;box-shadow:inset 0 -3px #d0a889}.cell.generator:after{content:'⚡';position:absolute;bottom:3px;right:5px;color:#df994b;font-size:12px}.cell.selected{outline:3px solid #8eae83;outline-offset:-3px;background:#f5eacb}.cell.target{outline:3px solid #df9caf;outline-offset:-3px}.cell .tier{position:absolute;bottom:3px;left:5px;font-size:9px;color:#966d70}.cell.pop svg{animation:pop .35s ease-out}.selection{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px;min-height:33px;font-size:12px}.selection button{border:1px solid #d2b29f;background:#fff4df;color:#89636b;border-radius:8px;padding:5px 12px;white-space:nowrap}.tip{font-size:11px;color:#9a7880;padding:9px 0 0;min-height:38px}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#644d61;color:#fff1db;border-radius:14px;padding:13px 22px;opacity:0;pointer-events:none;transition:.2s;z-index:20;max-width:90vw;box-shadow:0 8px 30px #2d1b3540}.toast.visible{opacity:1;transform:translate(-50%,0)}.drag-ghost{position:fixed;width:80px;height:80px;pointer-events:none;z-index:100;filter:drop-shadow(0 12px 8px #74515255)}.drag-ghost svg{width:100%;height:100%}.rules{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding-top:28px}.rules h2{font-size:15px;color:#efd6b9}.rules p{font-size:13px;color:#b5a1b1}footer{text-align:center;color:#8e7e97;font-size:10px;letter-spacing:2px;padding:25px}dialog{border:0;border-radius:20px;max-width:680px;width:92vw;max-height:85vh;background:#fff0da;color:#6f5060;padding:25px}dialog::backdrop{background:#241a32ad}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{font:700 25px Georgia;margin:0}.dialog-head button{border:0;background:transparent;color:inherit;font-size:20px}.recipe-chain{display:grid;grid-template-columns:repeat(6,1fr);margin:18px 0;gap:8px}.recipe-chain div{text-align:center;font-size:9px}.recipe-chain svg{width:100%}.recipe-chain .unknown{opacity:.35}.machine:fullscreen,.machine.expanded{width:100%;height:100dvh;border:0;border-radius:0;overflow:auto}.machine.expanded{position:fixed;inset:0;z-index:99}.machine:fullscreen .workspace,.machine.expanded .workspace{max-width:1300px;margin:auto}.machine:fullscreen,.machine.expanded{background:#eddcc6}body.expanded-open{overflow:hidden}@keyframes pop{0%{transform:scale(.7)}55%{transform:scale(1.14)}100%{transform:scale(1)}}@media(min-width:1500px){.kitchen{padding:24px 45px}}@media(max-width:850px){header{padding:15px}main{padding:0 12px 20px}.title h1{font-size:32px}.title p{display:none}.topbar{padding:10px 12px}.cafe-name{font-size:10px;letter-spacing:0}.wallet{gap:5px}.wallet span{padding:5px 8px;font-size:10px}.wallet button{font-size:10px;padding:5px}.workspace{grid-template-columns:minmax(210px,.8fr) minmax(330px,1fr)}.cafe{padding:14px}.kitchen{padding:14px}.rules{gap:15px}}@media(max-width:620px){.workspace{display:flex;flex-direction:column}.kitchen{order:-1;padding:14px 12px}.cafe{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;padding:14px}.scene{align-self:start}.chapter{padding:0}.chapter h2{font-size:19px}.chapter p{font-size:11px;margin-bottom:10px;min-height:0}.chapter small{font-size:8px;letter-spacing:1px}.primary{padding:9px;font-size:10px}.book{grid-column:1/-1;font-size:12px}.renovation-track{margin:15px 0 0}.orders{gap:7px}.orders-heading h2{font-size:18px}.board{gap:4px}.board-wrap{padding:7px}.cell{border-radius:7px}.selection{margin-top:12px;font-size:11px}.rules{grid-template-columns:1fr;gap:0}.machine{border-radius:15px}.cafe-name{max-width:95px}.wallet span{padding:4px 6px}.wallet button{max-width:82px}.recipe-chain{gap:4px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.board-wrap{max-width:460px;margin-inline:auto}.board{grid-template-columns:repeat(6,minmax(0,1fr))}.cell{min-width:0;min-height:0}.scene{max-width:400px;margin-inline:auto}.machine:fullscreen .board-wrap,.machine.expanded .board-wrap{max-width:min(510px,calc((100dvh - 250px)*6/7))}@media(max-width:620px){.board-wrap{max-width:460px}.machine:fullscreen .board-wrap,.machine.expanded .board-wrap{max-width:460px}}
.item-actions{display:flex;gap:6px}.pantry-head{display:flex;justify-content:space-between;align-items:center;margin:14px 0 6px;gap:8px}.pantry-head strong{font:700 14px Georgia}.pantry-head span{font-size:10px;color:#957783}.pantry{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;background:#ead6bf;padding:7px;border-radius:12px}.pantry button{height:50px;border:1px dashed #c4a38f;border-radius:8px;background:#fff1d9;color:#b19584;padding:2px}.pantry button svg{width:100%;height:100%}.cell.matchable{outline:2px dashed #709b7c;outline-offset:-4px}.daily-section{margin:15px 0;padding:12px;background:#f5e6d0;border-radius:12px}.daily-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.daily-heading h3{font:700 17px Georgia;margin:0}.daily-heading>span{font-size:9px;color:#997b85}.daily-goal{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.daily-goal>div{flex:1;min-width:0}.daily-goal strong,.daily-goal span{display:block;font-size:11px}.daily-goal span{font-size:10px;color:#a08288;margin-top:2px}.daily-goal progress{display:block;width:100%;height:4px;border:0;border-radius:4px;overflow:hidden;margin-top:5px;accent-color:#789989}.daily-goal progress::-webkit-progress-bar{background:#ddc8b4}.daily-goal progress::-webkit-progress-value{background:#789989}.daily-goal button{border:0;border-radius:8px;background:#789989;color:#fff6df;padding:7px 9px;font-size:10px}.toast button{margin-left:14px;border:1px solid #d8bec7;border-radius:8px;padding:5px 9px;background:transparent;color:#fff0d7;font-size:12px}.machine:fullscreen .board-wrap,.machine.expanded .board-wrap{max-width:min(510px,calc((100dvh - 340px)*6/7))}.machine:fullscreen .scene,.machine.expanded .scene{max-width:330px}.machine:fullscreen .chapter,.machine.expanded .chapter{padding-top:12px}@media(max-width:620px){.selection{flex-wrap:wrap}.selection>span{flex-basis:100%}.item-actions{width:100%}.item-actions button{flex:1;padding:7px}.daily-section{grid-column:1/-1;margin:0}.pantry button{height:43px}.machine:fullscreen .board-wrap,.machine.expanded .board-wrap{max-width:460px}.pantry-head span{font-size:9px}.toast{width:max-content}.toast button{display:block;margin:8px 0 0}}
.toast{visibility:hidden}.toast.visible{visibility:visible}.toast button{pointer-events:auto}
.devices-heading{display:flex;align-items:center;justify-content:space-between;margin:12px 0 6px}.devices-heading h3{font:700 15px Georgia;margin:0}.devices-heading span{font-size:11px;color:#9a7880}.devices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:12px}.devices button{min-width:0;border:1px solid #cfad98;border-radius:11px;background:#eed5ba;color:#715365;padding:4px;display:flex;flex-direction:column;align-items:center;box-shadow:0 2px 0 #c9aa9450}.devices button:active:not(:disabled){transform:translateY(1px)}.devices svg{height:44px;width:52px;pointer-events:none}.devices span{font-size:9px;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.devices small{font-size:9px;color:#a17d74}.devices button:disabled{background:#e2d4c4;filter:grayscale(.65)}.unlock-note{font-size:11px!important;color:#7b8970!important;min-height:0!important;margin:15px 0 0!important}.machine:fullscreen .board-wrap,.machine.expanded .board-wrap{max-width:clamp(320px,calc((100dvh - 510px)*6/7),510px)}@media(max-width:620px){.devices{grid-template-columns:repeat(4,minmax(0,1fr))}.devices svg{height:39px}.devices span{font-size:9px}.machine:fullscreen .board-wrap,.machine.expanded .board-wrap{max-width:460px}}
.order-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:6px 0}.order-items:has(>.ingredient:only-child){grid-template-columns:1fr}.order .ingredient{background:transparent;border:1px solid transparent;padding:3px;display:flex;flex-direction:column;align-items:center;gap:2px;font-weight:400;min-width:0}.ingredient strong{font-size:10px;line-height:1.2;overflow-wrap:anywhere}.ingredient small{font-size:9px;color:#92747a}.ingredient:hover,.ingredient:focus-visible{background:#f5e8cf;border-color:#bfa486}.order-items .have{filter:none;background:#edf1dc}.ingredient.have small{color:#466b51}.recipe-guide{padding:12px 14px;border:1px solid #bdc9a9;border-radius:12px;background:#eef0da;font-size:12px;line-height:1.65;margin-bottom:12px}.devices .device-needed{outline:3px solid #729884;background:#fff5cf;outline-offset:1px}.cell.requested{box-shadow:inset 0 0 0 3px #729884}.tools{margin-top:12px;padding:10px;background:#eedbc2;border-radius:12px}.tools strong{font:700 14px Georgia}.tools small{display:block;font-size:10px;color:#886d78;margin-top:3px}.tool-buttons{display:flex;gap:7px;margin-top:8px}.tool-buttons button{flex:1;border:1px solid #b8a18b;border-radius:8px;background:#fff1d9;color:#715365;padding:7px;font-size:11px}.tool-buttons button:disabled{opacity:.5}@media(max-width:620px){.order-items svg{width:38px;height:38px}.ingredient strong{font-size:9px}.recipe-guide{font-size:11px}.order .ingredient{padding:2px}.order-items{gap:2px}}

/* Warm materials, illustrated guests and a visual recipe path. */
.machine{box-shadow:0 25px 65px #0b071b60,inset 0 1px #ffffff40;border-color:#977587}.topbar{background:linear-gradient(120deg,#654c60,#856475);box-shadow:inset 0 1px #ffffff18,0 3px 10px #5b394c20}.wallet span{background:linear-gradient(#674e62,#563f53);box-shadow:inset 0 1px 3px #30243445,0 1px #d8b9bb30}.cafe{background:radial-gradient(ellipse at 35% 20%,#fff0d6aa,transparent 70%),linear-gradient(145deg,#e6d2bd,#ebdbc7)}.scene{max-width:440px;border:6px solid #fff0d6;box-shadow:0 12px 26px #65494d2b,0 1px 0 #b89a81;position:relative}.kitchen{background:radial-gradient(ellipse at top,#fff8e7 0,transparent 70%),linear-gradient(140deg,#f6e8d2,#eed7ba)}
.order{position:relative;background:linear-gradient(155deg,#fffbed,#f7e7cf);border-color:#dac3a7;box-shadow:0 4px 0 #c7aa8c38,inset 0 1px #fff;transition:border-color .18s,box-shadow .18s}.order.fulfilled{border-color:#88a17c;background:linear-gradient(155deg,#fffbed,#e8ecd4);box-shadow:0 4px 0 #80976b35}.guest{gap:8px;padding-bottom:7px;border-bottom:1px solid #dfc7aa70}.avatar{width:38px;height:38px;flex-shrink:0;background:#e8d2b5;border:2px solid #fff4d9;box-shadow:0 2px 4px #77534825;overflow:hidden}.avatar svg{width:100%;height:100%}.guest-name{font-size:12px;font-weight:800;color:#6a5058}.guest-name small{display:block;font-size:9px;font-weight:400;color:#987c78}.order.fulfilled .guest-name small{color:#5d7c56}.order .ingredient{border-radius:10px}.order-items svg{filter:drop-shadow(0 3px 1px #89644930)}.order button.ready{background:linear-gradient(#86a27c,#638563);box-shadow:0 3px 0 #496a4e,inset 0 1px #dfecc080;padding:7px}.orders-heading span{background:#e8d6c0;padding:3px 8px;border-radius:20px}
.devices{background:linear-gradient(#dbc4a5,#ccb08f);padding:9px;border:1px solid #c4a485;border-radius:15px;box-shadow:inset 0 2px 3px #85664018,0 3px 0 #b99b7c55;gap:8px}.devices button{background:linear-gradient(140deg,#fff0d3,#eac9a4);border:1px solid #c2a182;box-shadow:inset 0 1px #fff8dd,0 3px 0 #aa896c55;padding:6px 3px}.devices svg{filter:drop-shadow(0 3px 1px #7a57402d)}.devices button:disabled{background:#dbcfbd;box-shadow:inset 0 1px #e9decd}.devices .device-needed{background:linear-gradient(#fff6d3,#e8e7ba);outline-offset:1px}.devices small{padding:1px 6px;border-radius:8px;background:#fff3d378;margin-top:3px}
.board-wrap{background:linear-gradient(130deg,#c2a585,#b59776);border:1px solid #ae8e6d;box-shadow:inset 0 2px 6px #7f624c45,0 5px 0 #9f8065,0 9px 14px #815d4720}.cell{background:linear-gradient(140deg,#fff0d3,#e8d1aa);box-shadow:inset 0 1px #fff6e0,inset 0 -3px #cdb18d,0 1px 2px #735c4b25}.cell:nth-child(12n+1),.cell:nth-child(12n+3),.cell:nth-child(12n+5),.cell:nth-child(12n+8),.cell:nth-child(12n+10),.cell:nth-child(12n+12){background:linear-gradient(140deg,#efdbb8,#ddc196)}.cell.selected{background:linear-gradient(140deg,#fff8d7,#e1e6b6)}.cell .tier{width:15px;height:15px;display:grid;place-items:center;border-radius:50%;background:#fff7e0e6;color:#8b6856;box-shadow:0 1px 2px #795f4320;font-size:9px}.pantry{background:linear-gradient(#d6b997,#e0c5a2);box-shadow:inset 0 2px 4px #94745725}.pantry button{background:linear-gradient(#fff0d5,#e8cfab);border-color:#bd9d7e;box-shadow:inset 0 1px #fff7df}.tools{border:1px solid #d8bea0;background:linear-gradient(130deg,#f7e9d0,#e8d2b3)}
.recipe-guide{background:linear-gradient(130deg,#fff7df,#ece8cf);border-color:#c5c6a5;box-shadow:0 3px 0 #aea98622;padding:10px 12px}.recipe-guide-head{display:flex;align-items:center;gap:9px}.recipe-machine{width:42px;height:42px;border-radius:10px;background:#e1dcc0;flex-shrink:0}.recipe-machine svg{width:100%;height:100%}.recipe-guide-head strong,.recipe-guide-head small{display:block}.recipe-guide-head small{font-size:8px;letter-spacing:1px;color:#8b8872}.recipe-guide-head strong{font-size:13px;color:#546b55}.recipe-guide-head button{margin-left:auto;border:0;background:transparent;color:#8c8874;font-size:22px;min-width:36px;min-height:36px}.recipe-steps{display:flex;list-style:none;margin:10px 0 0;padding:0 0 6px;gap:17px;overflow-x:auto;overscroll-behavior-x:contain}.recipe-steps li{flex:1 0 60px;max-width:95px;position:relative;text-align:center}.recipe-steps li+li:before{content:'›';position:absolute;left:-13px;top:14px;font-size:24px;color:#afa686}.recipe-steps li>div{border-radius:11px;background:#fff8e6;border:1px solid #ded4b5;height:52px;box-shadow:0 2px 0 #d5c7a460}.recipe-steps svg{height:100%;width:100%}.recipe-steps span{display:block;font-size:10px;line-height:1.25;margin-top:5px}.recipe-steps small{display:block;font-size:8px;color:#9b8f79;margin-top:3px}.recipe-steps .recipe-goal>div{border:2px solid #91a47c;background:#ecf0d4}.recipe-steps .recipe-present small{color:#658061;font-weight:700}.recipe-guide p{font-size:10px;line-height:1.4;color:#8d816f;margin:5px 0 0}
@media(max-width:620px){.avatar{width:30px;height:30px}.guest{gap:4px;align-items:center}.guest-name{font-size:10px}.guest-name small{font-size:8px}.orders-heading span{font-size:9px}.devices{padding:7px;gap:6px}.devices button{padding:4px 2px}.recipe-guide{padding:9px}.scene{border-width:4px}.recipe-steps{gap:14px}.recipe-steps li{flex-basis:58px}.recipe-steps li+li:before{left:-11px}.recipe-guide-head strong{font-size:12px}}
