:root{--bg:#fff6e8;--card:#fff;--ink:#2d2a32;--muted:#6b6470;--line:#e9dcc8;--tomato:#e8553e;--teal:#1f8a84;--sun:#ffc93c;--green:#2f9a4a;--red:#c62828;--radius:16px;color:var(--ink);background:var(--bg);font-family:Nunito,Trebuchet MS,system-ui,sans-serif;line-height:1.4}*{box-sizing:border-box}body{background:radial-gradient(circle at 10% 0%, #ffe3c2 0, transparent 40%), radial-gradient(circle at 100% 100%, #d9f0c4 0, transparent 40%), var(--bg);min-height:100vh;margin:0}h1,h2{margin:0 0 8px;line-height:1.15}h1{font-size:1.8rem}h2{font-size:1.15rem}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}:focus-visible{outline-offset:2px;outline:4px solid #3a86ff}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.small{color:var(--muted);margin:4px 0 8px;font-size:.9rem}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn{border:3px solid var(--ink);min-height:48px;box-shadow:0 4px 0 var(--ink);background:#fff;border-radius:14px;padding:10px 18px;font-weight:800;transition:transform 80ms,box-shadow 80ms}.btn:active:not(:disabled){box-shadow:0 1px 0 var(--ink);transform:translateY(3px)}.btn.big{min-height:60px;padding:10px 24px;font-size:1.2rem}.btn.run{background:var(--green);color:#fff}.btn.stop,.btn.danger{background:var(--red);color:#fff}.btn.ghost{box-shadow:none;border-color:var(--line);background:0 0}.page{max-width:1000px;margin:0 auto;padding:16px}.brand{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.brand-button{text-align:left;background:0 0;border:0;align-items:center;gap:10px;font-size:1.4rem;font-weight:900;display:flex}.brand-button small{color:var(--tomato);letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;display:block}.brand nav{gap:8px;display:flex}.card{background:var(--card);border:3px solid var(--line);border-radius:var(--radius);margin-bottom:16px;padding:20px}.hero{background:linear-gradient(135deg,#fff 0%,#fff1dc 100%)}.hero h1{color:var(--tomato);font-size:2.2rem}.nick-form label{margin:16px 0 8px;font-weight:800;display:block}.nick-form input{min-width:200px;min-height:52px;font:inherit;border:3px solid var(--ink);border-radius:14px;flex:1;padding:8px 14px;font-size:1.2rem}.form-error{color:var(--red);font-weight:700}.player-list{flex-wrap:wrap;gap:10px;display:flex}.player-chip{border:3px solid var(--line);background:#fff;border-radius:999px;align-items:center;gap:8px;min-height:56px;padding:6px 14px 6px 8px;font-weight:800;display:flex}.player-chip small{color:var(--muted);font-weight:600}.about{background:#f2f8ea;border-color:#cfe3b8}.volunteer-link{color:var(--muted);background:0 0;border:0;min-height:44px;margin:24px auto 0;text-decoration:underline;display:block}.customize-grid{grid-template-columns:auto 1fr;align-items:center;gap:24px;margin:12px 0 20px;display:grid}.preview{background:#f3e6d2;border-radius:24px;padding:20px}.options{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.option{border:3px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:8px;min-height:48px;padding:6px 14px;font-weight:700;display:flex}.option.picked{border-color:var(--ink);background:#fff3c9}.option.picked:after{content:"✓"}.swatch{border:2px solid var(--ink);border-radius:50%;width:22px;height:22px}.map-head{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.map-head div{flex:1}.map-head p{color:var(--muted);margin:0;font-weight:700}.stages{gap:14px;margin:0;padding:0;list-style:none;display:grid}.stages li:nth-child(2n){padding-left:12%}.stage-card{border:3px solid var(--ink);text-align:left;width:100%;box-shadow:0 5px 0 var(--ink);background:#fff;border-radius:20px;align-items:center;gap:16px;padding:14px 18px;display:flex}.stage-card.next{background:#fff3c9;animation:1.6s ease-in-out infinite pulse}.stage-card.done{background:#e6f5dd}.stage-card.locked{box-shadow:none;border-style:dashed}.stage-badge{border:3px solid var(--ink);background:var(--sun);border-radius:50%;flex:none;place-items:center;width:52px;height:52px;font-size:1.4rem;font-weight:900;display:grid}.stage-card.done .stage-badge{background:var(--green);color:#fff}.stage-text{display:grid}.stage-text small{color:var(--muted);font-weight:700}.stage-text strong{font-size:1.25rem}@keyframes pulse{50%{transform:scale(1.02)}}.leaderboard table{border-collapse:collapse;width:100%}.leaderboard th,.leaderboard td{text-align:left;border-bottom:2px solid var(--line);padding:8px 10px}.leaderboard tr.leader{background:#fff3c9}.leaderboard tr.me{outline-offset:-3px;outline:3px solid #3a86ff}.lb-player{align-items:center;gap:8px;font-weight:800;display:flex}.tag{background:var(--ink);color:#fff;border-radius:999px;padding:2px 8px;font-size:.75rem}.rank,.score{font-weight:900}.volunteer .row{margin:16px 0}.confirm{border:3px solid var(--red);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding:12px;display:flex}.confirm p{width:100%;margin:0 0 4px;font-weight:700}.game{max-width:1280px;margin:0 auto;padding:12px 16px 24px}.game-top{align-items:center;gap:16px;display:flex}.game-title{flex:1}.game-title h1{margin:0}.stage-num{color:var(--tomato);text-transform:uppercase;letter-spacing:.08em;font-size:.85rem;font-weight:800}.best-pill{border:3px solid var(--line);background:#fff;border-radius:999px;padding:8px 16px;font-weight:800}.goal{border:3px solid var(--sun);background:#fff3c9;border-radius:14px;margin:10px 0 14px;padding:12px 16px;font-size:1.15rem}.game-main{grid-template-columns:minmax(0,1.1fr) minmax(340px,1fr);align-items:start;gap:20px;display:grid}.board-wrap{position:sticky;top:12px}.note{color:var(--muted);margin:10px 0 0;font-size:.95rem}.board{border:5px solid var(--ink);border-radius:18px;margin:0 auto;display:grid;position:relative;overflow:hidden;box-shadow:0 8px #2d2a3240}.tile{border:1px dashed #2d2a3226;position:relative}.tile.spot{box-shadow:inset 0 0 0 4px #ffc93ce6}.tile-art{width:100%;height:100%;position:absolute;inset:0}.tile-label{border:2px solid var(--ink);white-space:nowrap;background:#ffffffeb;border-radius:8px;padding:0 6px;font-size:clamp(.6rem,1.3vw,.85rem);font-weight:800;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.robot{z-index:2;pointer-events:none;transition:left .45s ease-in-out,top .45s ease-in-out;position:absolute}.robot-shake,.robot-body{width:100%;height:100%}.robot-body{padding:6%;transition:transform .35s ease-in-out}.robot-body svg{filter:drop-shadow(0 4px 2px #00000040);width:100%;height:100%}.robot-shake.bump{animation:.4s shake}@keyframes shake{20%,60%{transform:translate(-8%)}40%,80%{transform:translate(8%)}}.carry-bubble{border:2px solid var(--ink);background:#fff;border-radius:999px;padding:2px;display:flex;position:absolute;top:-8%;right:-8%}.carry-bubble svg{width:clamp(18px,3vw,30px);height:clamp(18px,3vw,30px)}.valve-wheel{transition:transform .6s ease-out}.valve-wheel.on{transform:rotate(180deg)}.grow{transform-box:fill-box;transform-origin:bottom;animation:.6s ease-out grow}@keyframes grow{0%{transform:scale(.4)}}.panel{background:var(--card);border:3px solid var(--line);border-radius:var(--radius);flex-direction:column;min-height:480px;max-height:calc(100vh - 150px);padding:14px 16px;display:flex}.panel h2{justify-content:space-between;align-items:baseline;margin:10px 0 6px;display:flex}.count{color:var(--muted);font-size:.95rem}.checklist{gap:2px;font-weight:700;display:grid}.check{align-items:center;gap:8px;display:flex}.check .box{border:3px solid var(--ink);background:#fff;border-radius:8px;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.check.done{color:var(--green)}.check.done .box{background:var(--green);border-color:var(--green);color:#fff}.carrying{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.carry-item{color:var(--ink);align-items:center;gap:4px;display:inline-flex}.palette{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px;display:grid}.block-btn{border:3px solid var(--ink);color:#fff;min-height:66px;box-shadow:0 4px 0 var(--ink);border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:6px;font-size:1rem;font-weight:900;display:flex}.block-btn:active:not(:disabled){box-shadow:0 1px 0 var(--ink);transform:translateY(3px)}.block-btn .cmd-icon{width:28px;height:28px}.cmd-forward{background:#3a86ff}.cmd-left{background:#9b5de5}.cmd-right{background:#d9480f}.cmd-action{background:#2f9a4a}.cmd-repeat{background:#1f8a84}.program{border:3px dashed var(--line);background:#faf4ea;border-radius:14px;flex-wrap:wrap;flex:auto;align-content:flex-start;gap:8px;min-height:64px;margin:0;padding:10px;list-style:none;display:flex;overflow-y:auto}.program .empty{color:var(--muted);align-self:center}.chip{border:3px solid var(--ink);background:#fff;border-radius:12px;align-items:center;gap:4px;min-height:44px;padding:4px 10px 4px 6px;font-size:.95rem;font-weight:800;display:inline-flex}.chip .cmd-icon{width:22px;height:22px}.chip:disabled{opacity:1;cursor:default}.chip .num{background:var(--ink);color:#fff;border-radius:8px;place-items:center;min-width:24px;height:24px;font-size:.8rem;display:grid}.chip.selected{background:#dbe9ff;outline:3px solid #3a86ff}.chip.active{background:var(--sun);transform:scale(1.1)}.chip.failed{border-color:var(--red);background:#ffd6d6;border-style:dashed}.chip.failed:after{content:"⚠";color:var(--red)}.loop{border:3px solid var(--teal);background:#dff3f1;border-radius:14px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;display:flex}.loop.open{border-style:dashed;box-shadow:0 0 0 4px #1f8a8440}.loop-body{border-left:4px solid var(--teal);flex-wrap:wrap;align-items:center;gap:6px;padding-left:8px;display:flex}.loop-empty{color:var(--teal);font-size:.9rem;font-weight:700}.small-btn{min-height:40px;padding:4px 12px}.edit-bar{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.status{border-radius:12px;min-height:48px;margin:10px 0;padding:10px 14px;font-weight:800}.status.hint{color:#2b4c8c;background:#eef4ff}.status.info{background:#fff3c9}.status.good{color:#1f6b33;background:#e6f5dd}.status.error{color:#8e1c10;background:#ffe1dc}.controls{flex-wrap:wrap;gap:10px;display:flex}.controls .run,.controls .stop{flex:1}.modal-backdrop{z-index:10;background:#2d2a328c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{border:4px solid var(--ink);text-align:center;background:#fff;border-radius:24px;width:min(520px,100%);max-height:100%;padding:24px;animation:.35s ease-out pop;overflow-y:auto}.stars{color:var(--sun);-webkit-text-stroke:2px var(--ink);letter-spacing:.15em;font-size:2.6rem}.done-list{color:var(--green);margin:0 0 12px;padding:0;font-weight:800;list-style:none}.stat-row{justify-content:center;gap:12px;display:flex}.stat-row div{background:#faf4ea;border-radius:14px;padding:10px 18px;display:grid}.stat-row span{color:var(--muted);font-size:.9rem;font-weight:700}.stat-row b{font-size:2rem}.celebrate{color:var(--tomato);font-size:1.1rem;font-weight:800}.lesson{text-align:left;background:#eef4ff;border-radius:12px;padding:12px}.modal-buttons{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}@keyframes pop{0%{opacity:0;transform:scale(.85)}}@media (width<=860px){.game-main{grid-template-columns:1fr}.board-wrap{position:static}.panel{min-height:0;max-height:none}.board{max-width:560px}.customize-grid{grid-template-columns:1fr;justify-items:center}.stages li:nth-child(2n){padding-left:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.cafe-game{max-width:1440px;margin:auto;padding:18px 28px}.cafe-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.cafe-logo{text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-size:1.25rem;font-weight:900;display:flex}.cafe-logo:disabled{opacity:1;cursor:default}.cafe-logo small{color:#9b614d;letter-spacing:.12em;font-size:.65rem;display:block}.cafe-phase{background:#eddfcd;border-radius:30px;gap:8px;padding:6px;font-size:.85rem;font-weight:800;display:flex}.cafe-phase span{color:#796e68;padding:8px 14px}.cafe-phase .current{color:#3a6558;background:#fff;border-radius:24px;box-shadow:0 2px 5px #533c2612}.cafe-phase .complete{color:#337854}.cafe-scoreboard{text-align:right;gap:18px;display:flex}.cafe-scoreboard small{color:#7b675b;font-size:.75rem;font-weight:700;display:block}.cafe-scoreboard strong{font-variant-numeric:tabular-nums;font-size:1.25rem}.cafe-intro{justify-content:space-between;align-items:center;gap:20px;margin:22px 0 16px;display:flex}.cafe-kicker,.eyebrow{color:#a94c32;letter-spacing:.13em;text-transform:uppercase;font-size:.68rem;font-weight:900;display:block}.cafe-intro h1{margin:3px 0 5px;font-size:1.7rem}.cafe-intro p{color:#746153;max-width:520px;margin:0;font-size:.88rem}.shift-picker{gap:6px;display:flex}.shift-picker button{text-align:left;background:#fffaf3;border:2px solid #e4d5c2;border-radius:12px;grid-template-columns:24px auto;align-items:center;column-gap:7px;padding:8px 12px;font-size:.8rem;font-weight:800;display:grid}.shift-picker button>span{background:#e9ddce;border-radius:50%;grid-row:span 2;place-items:center;width:24px;height:24px;display:grid}.shift-picker small{color:#887366;font-weight:600}.shift-picker .picked{background:#edf7ec;border-color:#3d8265}.shift-picker .picked>span{color:#fff;background:#3d8265}.served-pill{color:#3b6b3e;background:#dfeedd;border:1px solid #c2d8b9;border-radius:24px;padding:9px 18px;font-size:.85rem;font-weight:800}.cafe-layout{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:22px;display:grid}.restaurant{background:#f7e9d7;border:3px solid #705042;border-radius:20px;overflow:hidden;box-shadow:0 7px #d8c6ad}.restaurant-awning{background:repeating-linear-gradient(90deg,#ce604d 0 38px,#fff0da 38px 76px);border-bottom:4px solid #ac4838;justify-content:center;align-items:center;gap:10px;height:52px;display:flex;position:relative}.restaurant-awning span{color:#733e31;letter-spacing:.12em;background:#fff8e8;border-radius:7px;padding:5px 16px;font-size:.94rem;font-weight:900;box-shadow:0 2px #683e3340}.restaurant-awning small{color:#805943;background:#fff8e8;border-radius:5px;padding:4px 8px;font-size:.7rem}.dining-room{background:linear-gradient(#f7e3c7 0 110px,#e8d4b9 110px);padding:14px 20px 12px}.customer-row{justify-content:center;gap:12px;min-height:100px;display:flex}.customer-card{text-align:left;background:#fff9ec;border:2px solid #dbc4a5;border-radius:14px;flex:1;align-items:center;min-width:0;max-width:330px;padding:8px;transition:background .15s,transform .15s;display:flex;box-shadow:0 3px #c1a98c}.customer-card:disabled{opacity:1;cursor:default}.customer-card.chosen{background:#fff2c8;border-color:#cc9c2d}.customer-card.waiting:not(:disabled):hover{background:#fff5d5}.customer-card.order-ready{background:#eaf8df;border-color:#2d965b;animation:1.8s ease-in-out infinite ready-pulse;box-shadow:0 3px #4c8a54}.customer-card.happy{background:#edf8e8;border-color:#89bc7c}.customer-card.left{opacity:.6}.customer-avatar{flex:0 0 54px;align-self:end;height:74px;position:relative}.customer-avatar svg{width:100%;height:100%}.customer-avatar b{text-align:center;background:#fff1c1;border:2px solid #846c52;border-radius:50%;width:21px;height:21px;font-size:.7rem;position:absolute;bottom:-1px;left:-2px}.order-bubble{flex:1;gap:2px;min-width:0;padding:3px 4px 3px 8px;display:grid}.order-bubble strong{font-size:.82rem;line-height:1.25}.order-bubble>span{color:#7f6856;font-size:.72rem}.order-bubble .order-food{vertical-align:middle;margin-right:4px;font-size:1.4rem}.order-bubble .order-recipe{margin:2px 0;font-size:.91rem;line-height:1.1}.order-bubble progress{accent-color:#679b4e;width:100%;height:7px}.order-bubble .order-action{color:#4c7651;font-size:.7rem;font-weight:800}.order-bubble .order-points{color:#387743;font-size:1.05rem;font-weight:900}.restaurant-floor-wrap{max-width:390px;margin:10px auto 0}.floor-caption{color:#836b57;justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;font-size:.62rem;font-weight:800;display:flex}.restaurant-floor{aspect-ratio:5/3;border:3px solid #ad8a69;border-radius:10px;grid-template-columns:repeat(5,1fr);display:grid;position:relative;overflow:hidden;box-shadow:0 4px #bea181}.floor-tile{background:#f5e4cd;border:1px solid #b8926a40;position:relative}.floor-tile.alternate{background:#dfc4a3}.floor-tile.dock{background:#8dbec2;box-shadow:inset 0 0 0 3px #497f89}.floor-tile.serve-tile{background:#f4d786;box-shadow:inset 0 0 0 2px #d7ae49}.floor-tile.target{outline-offset:-3px;outline:2px solid #ce9d25}.floor-tile .tile-art{width:100%;height:100%}.table-marker{background:#fff7d9;border:2px solid #8c6b39;border-radius:50%;place-items:center;width:21px;height:21px;font-size:.68rem;display:grid;position:absolute;top:3px;left:5px}.floor-planter{background:#8f775e;place-items:center;height:100%;font-size:2rem;display:grid}.floor-dock-label{text-align:center;color:azure;z-index:2;background:#487c85;width:100%;font-size:.62rem;font-weight:900;position:absolute;bottom:0}.cafe-robot{pointer-events:none;width:20%;height:33.3333%;padding:5px;transition-property:left,top;transition-timing-function:ease-in-out;position:absolute}.cafe-robot>div{height:100%;transition:transform .3s ease-in-out}.cafe-robot svg{filter:drop-shadow(0 3px 1px #5b453b40);width:100%;height:100%}.robot-meal{text-align:center;background:#fffbea;border:2px solid #907356;border-radius:50%;width:30px;height:30px;font-size:1.3rem;position:absolute;bottom:2px;right:3px}.kitchen-counter{background:#b57b51;border-top:7px solid #8c5a3b;padding:12px 20px 18px;box-shadow:inset 0 5px #d49f6a}.counter-label{color:#fff6dd;flex-wrap:wrap;justify-content:space-between;gap:5px;margin-bottom:10px;display:flex}.counter-label strong{font-size:.84rem}.counter-label span{font-size:.73rem}.ingredient-bins{grid-template-columns:repeat(5,1fr);gap:9px;display:grid}.ingredient-bin{background:#fffbec;border:3px solid #795e48;border-radius:12px;justify-items:center;padding:5px;display:grid;position:relative;box-shadow:0 4px #7f573e}.ingredient-bin:disabled{opacity:.65}.ingredient-bin.in-dish{opacity:1;background:#e5f0d3;border-color:#5e814c}.ingredient-bin>span{font-size:1.9rem;line-height:1.25}.ingredient-bin strong{font-size:.7rem}.ingredient-bin b{color:#427344;position:absolute;top:2px;right:5px}.cooking-line{grid-template-columns:1.1fr 1fr 1fr;gap:10px;margin-top:12px;display:grid}.assembly-plate,.cafe-station{text-align:center;background:#f9e9ce;border:2px solid #8b6346;border-radius:13px;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:145px;padding:8px;display:flex}.kitchen-label{color:#856d55;letter-spacing:.08em;font-size:.59rem;font-weight:900}.plate-food{background:#fffdfa;border:3px solid #e6d8c4;border-radius:50%;place-items:center;width:90%;min-height:44px;padding:4px;font-size:1.3rem;display:grid;box-shadow:0 3px #d7c8b3}.plate-food>span{font-size:1.8rem}.assembly-plate strong,.cafe-station strong{font-size:.76rem}.undo-ingredient,.discard-dish{color:#856952;background:0 0;border:0;min-height:28px;margin-top:auto;padding:5px;font-size:.65rem;text-decoration:underline}.cooker-food{font-size:2rem;line-height:1.1}.cafe-station{background:#ede9df}.cafe-station.ready{background:#e2f3cb;border-color:#597c42}.cafe-station.cooking{background:#fff0c7}.cafe-station progress{accent-color:#719d4b;width:95%;height:7px}.cafe-station .cooker-status{color:#5c7349;font-size:.71rem;font-weight:800}.cafe-station .cook-button{color:#fff;background:#ca5a3f;border:2px solid #794932;border-radius:9px;width:100%;min-height:34px;margin-top:auto;padding:5px 12px;font-size:.77rem;box-shadow:0 3px #794932}.robot-workbench{background:#fffdf8;border:2px solid #e4d5c1;border-radius:18px;min-width:0;padding:18px;box-shadow:0 5px #e8dac7}.workbench-title h2{margin:5px 0;font-size:1.2rem}.workbench-title p{color:#887469;margin:0 0 12px;font-size:.77rem}.block-palette{grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px;display:grid}.block-palette .block-btn{min-height:58px;box-shadow:0 3px 0 var(--ink);border-width:2px;border-radius:10px;padding:5px 2px;font-size:.77rem}.block-palette .cmd-icon{width:22px;height:22px}.block-palette .cmd-repeat{grid-column:span 2}.route-tabs{gap:5px;margin-bottom:12px;display:flex}.route-tabs button{background:#f8f1e6;border:2px solid #dfd2bf;border-radius:8px;flex:1;min-height:34px;font-size:.75rem;font-weight:800}.route-tabs button.picked{background:#edf3e6;border-color:#609264}.cafe-program{background:#f3ede3;border:2px dashed #d7c7ae;border-radius:12px;flex-direction:column;gap:5px;min-height:155px;max-height:212px;margin:0;padding:8px;list-style:none;display:flex;overflow-y:auto}.empty-route{text-align:center;color:#93816f;margin:auto;padding:15px;font-size:.8rem}.empty-route>span{color:#bea487;font-size:1.8rem;display:block}.empty-route small{margin-top:6px;font-size:.73rem;display:block}.route-block{text-align:left;color:#fff;border:2px solid #29253140;border-radius:8px;align-items:center;gap:9px;width:100%;min-height:34px;padding:5px 9px;font-size:.78rem;font-weight:800;display:flex}.route-block:disabled{opacity:1;cursor:default}.route-block>b{background:#ffffff24;border-radius:5px;flex-shrink:0;place-items:center;width:19px;height:19px;font-size:.67rem;display:grid}.route-block .cmd-icon{flex-shrink:0;width:19px;height:19px}.route-block small{color:#fff;font-size:.64rem;font-weight:600;display:block}.route-block.selected{outline:3px solid #f5c755}.route-block.active{background:#6e6331;outline:3px solid #eeb92b}.route-block.failed{background:#a93b31;outline:3px solid #c84738}.loop-notice{color:#2b786d;justify-content:space-between;align-items:center;gap:5px;margin-bottom:8px;font-size:.74rem;display:flex}.robot-workbench .edit-bar{gap:5px}.robot-workbench .small-btn{min-height:32px;box-shadow:0 2px 0 var(--ink);border-width:2px;border-radius:8px;padding:3px 7px;font-size:.72rem}.cafe-feedback{color:#786555;background:#f4eee5;border-radius:10px;min-height:42px;margin:12px 0 10px;padding:10px 12px;font-size:.77rem}.cafe-feedback.good{color:#456a34;background:#e7f2dd}.cafe-feedback.error{color:#9b4031;background:#ffe7dc}.test-controls{align-items:center;gap:10px;display:flex}.test-controls>.btn{color:#3c5c74;background:#e8f0f6;border-width:2px;border-color:#506a7d;border-radius:10px;flex:1;min-height:42px;font-size:.87rem;box-shadow:0 3px #506a7d}.clear-route,.hint-toggle{color:#866f5c;background:0 0;border:0;min-height:34px;font-size:.76rem;text-decoration:underline}.hint-toggle{padding:8px 0}.cafe-hint{color:#6e573c;background:#fff1cd;border-radius:8px;margin-bottom:10px;padding:10px;font-size:.76rem}.cafe-hint p{margin:0 0 6px}.cafe-hint small{font-size:.7rem}.open-kitchen{text-align:center;border-top:1px solid #e9dbc7;gap:8px;padding-top:12px;display:grid}.open-kitchen>span{color:#7c6c5d;font-size:.73rem}.open-kitchen .btn{background:#4b8755;border:2px solid #386a42;border-radius:10px;min-height:44px;font-size:.91rem;box-shadow:0 3px #386a42}.cafe-menu{border-top:1px solid #e9dbc7;margin-top:15px;padding-top:8px}.cafe-menu summary{cursor:pointer;color:#8d7158;min-height:30px;padding:4px 0;font-size:.75rem;font-weight:700}.cafe-menu>div{border-bottom:1px solid #eee4d5;align-items:center;gap:8px;padding:8px 0;display:flex}.cafe-menu>div>span{font-size:1.4rem}.cafe-menu p{flex:1;margin:0;font-size:.76rem}.cafe-menu small{color:#8a7667;font-size:.66rem;display:block}.cafe-menu b{color:#8a7667;font-size:.76rem}.robot-job{align-items:center;gap:10px;padding-top:8px;display:flex}.robot-job>div{gap:3px;display:grid}.robot-job strong{font-size:.8rem}.robot-job span{color:#8d7665;font-size:.74rem}.shift-notes{color:#917f70;margin:14px 0 0;font-size:.72rem;line-height:1.7}.cafe-footer{color:#9d8773;justify-content:space-between;gap:10px;margin-top:20px;font-size:.7rem;display:flex}.shift-progress{z-index:5;background:#70a361;height:5px;transition:width .1s linear;position:fixed;bottom:0;left:0}.shift-progress.urgent{background:#cc6048}.rush-lobby{background:#fff1cf;border-color:#e6c885}.round-results{z-index:20;background:#34291de6;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.round-results>.card{text-align:center;background:#fff9ef;max-width:570px;margin:auto;padding:30px}.round-results h2{margin:8px 0 22px;font-size:1.9rem}.round-results .stat-row b{color:#548345;font-size:2.4rem}.next-shift-note{color:#846d57;font-size:.88rem}@keyframes ready-pulse{50%{box-shadow:0 3px #4c8a54,0 0 0 4px #7eb16840}}@media (width>=1180px) and (height<=850px){.cafe-game{padding-top:12px}.cafe-intro{margin-top:14px}.restaurant-floor-wrap{max-width:320px}.customer-row{min-height:90px}.customer-avatar{height:65px}.cafe-program{max-height:170px}.robot-workbench{padding:14px}}@media (width<=1050px){.cafe-game{padding:14px}.cafe-layout{grid-template-columns:minmax(0,1fr) 310px;gap:14px}.cafe-phase{font-size:.7rem}.cafe-phase span{padding:7px 9px}.cafe-intro{align-items:start}.shift-picker button{padding:7px;font-size:.7rem}.customer-row{gap:6px}.customer-card{flex-direction:column;padding:5px}.customer-avatar{flex-basis:auto;align-self:center;width:48px;height:54px}.order-bubble{text-align:center;width:100%;padding:5px 0}.dining-room,.kitchen-counter{padding-left:12px;padding-right:12px}.cafe-intro p{max-width:390px}.shift-picker{flex-wrap:wrap;justify-content:end}.cooking-line{gap:6px}.ingredient-bins{gap:5px}.ingredient-bin>span{font-size:1.5rem}.plate-food{font-size:1rem}}@media (width<=760px){.cafe-header{flex-wrap:wrap;gap:12px}.cafe-logo{font-size:1.07rem}.cafe-phase{order:3;justify-content:center;width:100%}.cafe-scoreboard strong{font-size:1rem}.cafe-intro{flex-direction:column;gap:12px;margin-top:15px}.cafe-intro h1{font-size:1.45rem}.shift-picker{flex-wrap:nowrap;width:100%}.shift-picker button{flex:1;grid-template-columns:20px auto;padding:6px;font-size:.66rem}.shift-picker button>span{width:20px;height:20px}.cafe-layout{grid-template-columns:1fr}.training .restaurant{flex-direction:column;display:flex}.training .kitchen-counter{display:none}.training .robot-workbench{order:initial}.training .cafe-program{max-height:165px}.block-palette{grid-template-columns:repeat(5,1fr)}.block-palette .cmd-repeat{grid-column:auto}.block-palette .block-btn{font-size:.67rem}.restaurant-awning small{display:none}.customer-row{min-height:80px}.customer-card{flex-direction:row}.customer-avatar{flex-basis:42px;width:42px;height:60px}.order-bubble{text-align:left;padding-left:4px}.customer-row:has(.customer-card:nth-child(3)) .customer-card{flex-direction:column}.customer-row:has(.customer-card:nth-child(3)) .customer-avatar{flex-basis:auto}.restaurant-floor-wrap{max-width:285px}.service .cafe-program{min-height:90px;max-height:135px}.served-pill{padding:6px 12px}.cafe-footer{flex-direction:column;gap:3px}.counter-label span{display:none}}@media (prefers-reduced-motion:reduce){.customer-card.order-ready{animation:none}.cafe-robot,.cafe-robot>div,.shift-progress{transition:none}}@media (width>=761px) and (height<=900px){.restaurant-floor-wrap{max-width:290px}.customer-row{min-height:82px}.customer-avatar{height:60px}.cafe-intro{margin-top:12px}.cafe-game{padding-top:12px}}@media (width<=760px){.cafe-game.in-service .cafe-phase{display:none}.service-intro{gap:7px;margin:12px 0;padding-right:0;position:relative}.service-intro h1{font-size:1.25rem}.service-intro p{font-size:.76rem}.service-intro .served-pill{padding:4px 8px;font-size:.65rem;position:absolute;top:18px;right:0}.service .restaurant-floor-wrap{max-width:205px}.service .floor-caption{font-size:.53rem}.service .customer-row{min-height:78px}.service .customer-avatar{height:52px}.service .restaurant-awning{height:42px}.service .cafe-station,.service .assembly-plate{min-height:144px;padding:6px 4px}.service .plate-food{min-height:35px;font-size:.9rem}.service .assembly-plate strong{font-size:.65rem}.service .cooker-food{font-size:1.65rem}.service .cafe-station strong{font-size:.68rem}.service .cook-button{min-height:40px;padding:4px}.service .robot-workbench{padding:12px}}@media (width>=761px) and (height<=850px){.restaurant-floor-wrap{max-width:240px}.dining-room{padding-top:8px;padding-bottom:8px}.kitchen-counter{padding-top:10px;padding-bottom:12px}.cooking-line>div{min-height:130px}.ingredient-bin>span{font-size:1.7rem}.cafe-intro{margin-top:6px}}
