/* The game is a portrait surface at every browser size. */
:root{--paper:#f5ead5;--white:#fff8e8;--ink:#604f3c;--muted:#947f65;--green:#829371;--pink:#cf8c6b;--line:#ccb28d;--shadow:0 12px 32px #3c281b26;font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:#e7e9dc;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:grid;place-items:center}button,input{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);padding:10px 16px}button:hover{background:#efe6d4}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible{outline:3px solid #738a65;outline-offset:2px}h1,h2,h3,p{margin:0}small{color:var(--muted)}[hidden]{display:none!important}.primary{background:var(--green);border-color:#5d7456;color:#fff9e8;font-weight:600;box-shadow:0 3px 0 #4e6649}.primary:hover{background:#607957}.text-button,.quiet{border:0;background:transparent;font-size:12px;padding:8px}.food{display:block;aspect-ratio:1;background-image:url('assets/food-portrait-v3-a1adbbc0da77.webp');background-size:300% 200%;background-repeat:no-repeat;width:100%}.food-0{background-position:0 0}.food-1{background-position:50% 0}.food-2{background-position:100% 0}.food-3{background-position:0 100%}.food-4{background-position:50% 100%}.food-5{background-position:100% 100%}
.person{display:block;width:64px;height:64px;background:url('assets/people-portrait-v4-62f74ba6c6fa.webp') 0 0/300% 200% no-repeat;flex-shrink:0}.person-1{background-position:50% 0}.person-2{background-position:100% 0}.person-3{background-position:0 100%}
.opening{width:100%;position:relative;min-height:100dvh;overflow:hidden;background:#e4d6be}.opening>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:60% 58%}.opening:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f8f1e6ed,#f8f1e6ad 28%,#f8f1e620 55%,transparent)}.opening-copy{position:relative;z-index:1;max-width:450px;padding:12dvh 0 60px 7vw}.opening-kicker{font-size:12px;letter-spacing:5px;color:#857655}.opening-copy h1{font-family:"Songti SC",serif;font-size:clamp(58px,6vw,93px);letter-spacing:10px;line-height:1.25;margin:25px 0;color:#44513a}.opening-copy p{font-size:14px;line-height:2.1;letter-spacing:1px;color:#706d58}.opening-copy button{margin-top:35px;font-size:16px;padding:17px 25px;min-width:230px}.opening-copy>small{display:block;font-size:10px;letter-spacing:2px;margin-top:17px}
#play-screen{container-type:inline-size;--game-width:min(100vw,calc((100dvh - 200px) / 1.4),440px);position:relative;display:flex;flex-direction:column;width:var(--game-width);height:calc(var(--game-width) * 1.4 + 200px);margin:auto;background:#f7edda;overflow:hidden;box-shadow:0 0 45px #6e6c491c}
.topbar{flex:0 0 54px;display:flex;align-items:center;gap:8px;padding:6px 10px;background:#f8edda;border-bottom:2px solid #b29b7c;z-index:6}.brand{flex:1;min-width:0}.brand h1{font-size:14px;font-weight:800;white-space:nowrap;letter-spacing:.5px}.brand p{display:none}.day-info{display:grid;gap:2px;font-size:11px;white-space:nowrap;color:#715f47}.day-info small{font-size:9px;color:#948267}.cash-info{display:flex;align-items:center;gap:5px;background:#fff9e8;border:2px solid #b29b7c;border-radius:18px;padding:4px 7px;box-shadow:0 2px 0 #cbb793}.cash-info b{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.coin{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:2px solid #ba864b;background:#f2c872;color:#97643b;font-size:12px;font-weight:bold}.icon-button{min-height:34px;min-width:30px;padding:3px;border:2px solid #b29b7c;border-radius:12px;background:#fff8e5;letter-spacing:1px;font-size:12px;box-shadow:0 2px 0 #cbb793}
.game-shell{position:relative;flex:1;min-height:0;display:flex;width:100%;padding:0}.scene-shell{display:flex;flex-direction:column;width:100%;min-height:0}.scene{position:relative;flex:1;min-height:0;overflow:hidden;background:#eed8b9}.shop-world{position:absolute;inset:0}.world-svg{display:block;width:100%;height:100%}.world-backdrop{pointer-events:none}.world-person,.dirty-dishes{pointer-events:none}.world-object{cursor:pointer}.world-object:focus-visible .hit-area{stroke:#748b58;stroke-width:1.8;fill:transparent}.world-object:focus-visible{outline:none}.world-label{pointer-events:none}.world-label rect{fill:#fff8e7;stroke:#bd9c77;stroke-width:1}.world-label text{fill:#816c51;font-size:10px;font-weight:600}.world-label.occupied rect{fill:#dce5be;stroke:#a0ae7e}.world-label.dirty rect{fill:#f3d7a5;stroke:#c49562}.order-bubble{filter:drop-shadow(0 2px 2px #705c3d25)}.order-name{font-size:10px;fill:#a26c51}.order-dish{font-size:12px;font-weight:600;fill:#695c42}.scene-heading,#speech{display:none!important}.world-status{position:absolute;left:8px;bottom:8px;display:flex;gap:4px;font-size:9px;color:#7e7057;pointer-events:none}.world-status span{background:#fff5dfc9;border:1px solid #dcc5a4;padding:3px 6px;border-radius:7px}.world-status #counter-text{display:none}.earning{position:absolute;left:58%;top:76%;z-index:8;font-size:24px;font-weight:800;color:#58754e;background:#fff7e3e8;border-radius:12px;padding:6px 10px;animation:float-up 1.8s forwards}@keyframes float-up{0%{transform:translateY(10px);opacity:0}15%,70%{opacity:1}100%{transform:translateY(-35px);opacity:0}}
.menu-board{position:absolute;top:clamp(2px,1.5cqw,6px);left:60%;right:4%;z-index:4;padding:2px;background:transparent;pointer-events:none}.board-heading{display:block;text-align:center;margin-bottom:4px}.board-heading small,.daily-goal,.notebook-teaser{display:none}.board-heading h2{font-size:clamp(9px,2.75cqw,11px);line-height:clamp(11px,3.5cqw,14px);font-weight:700;color:#96785a;letter-spacing:1px}#menu-list{display:grid;grid-template-columns:1fr;gap:3px}.dish-menu{display:grid;grid-template-columns:clamp(19px,6.5cqw,26px) minmax(0,1fr);align-items:center;gap:3px;min-width:0;min-height:clamp(25px,8cqw,32px);padding:2px 4px;border:1px solid #c4a884;border-radius:10px;background:#fff9e8;box-shadow:0 2px 0 #d7c4a5}.dish-menu>div{min-width:0}.dish-menu h3{font-size:clamp(8px,2.5cqw,10px);font-weight:700;white-space:nowrap;line-height:1.25}.dish-menu small{display:block;font-size:clamp(7px,2.25cqw,9px);color:#927652;line-height:1.25;white-space:nowrap}.dish-menu.locked{opacity:.6}
.action-dock{flex:0 0 74px;display:flex;align-items:center;gap:7px;padding:8px 10px;background:#fff5df;border-top:2px solid #b29b7c;z-index:5}.task-food{width:44px;flex-shrink:0}.task-text{flex:1;min-width:0}.phase-tag{font-size:9px;font-weight:600;color:#b77950;display:block;margin-bottom:2px}.action-dock h3{font-size:14px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-dock p{font-size:11px;color:#8d785c;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-dock>.primary{flex-shrink:0;min-width:96px;min-height:44px;padding:9px 10px;font-size:13px;border-radius:14px;background:#d38c63;border:2px solid #a46d4b;box-shadow:0 3px 0 #a46d4b}.action-dock>.primary:hover{background:#c67c52}.primary span{margin-left:3px}.game-nav{flex:0 0 72px;display:grid;grid-template-columns:repeat(3,1fr);padding:6px 7px;gap:5px;background:#e7ddbd;border-top:2px solid #b29b7c;z-index:6}.game-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 2px;border:1.5px solid #bba27e;background:#fff6df;border-radius:14px;font-size:11px;font-weight:600;color:#806544;box-shadow:0 2px 0 #bba27e}.game-nav button:hover{background:#f2e6c8}.game-nav svg{width:27px;height:27px;fill:#eee0b6;stroke:#987455;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.game-nav b{position:absolute;top:-2px;right:9px;font-size:8px;line-height:16px;min-width:16px;padding:0 3px;border-radius:8px;background:#ce8b63;border:1px solid #fff4df;color:#fff8e8}.game-nav #notebook-button svg{fill:#f6d18b}.game-nav #kitchen-button svg{fill:#dbe3c0}
dialog{width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 44px);padding:26px 30px;border:1px solid #d9d0c0;border-radius:22px;background:var(--white);color:var(--ink);box-shadow:0 24px 90px #2b241b40;overflow:auto}dialog::backdrop{background:#2930285c;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-top small{font-size:10px;letter-spacing:3px;color:var(--pink)}.dialog-top h2{font-family:"Songti SC",serif;font-size:27px;margin-top:5px}.close{border:0;background:#ede8dc;min-width:38px;min-height:38px;border-radius:50%;padding:0;font-size:22px}.intro-copy{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:16px}.prep-row{display:grid;grid-template-columns:88px 1fr auto;align-items:center;gap:12px;border-top:1px solid var(--line);padding:12px 0}.prep-row h3{font-size:16px;margin-bottom:7px}.prep-row p{font-size:11px;color:var(--muted);line-height:1.6}.stepper{display:flex;align-items:center;gap:12px}.stepper button{padding:6px;min-width:42px;font-size:21px}.stepper b{min-width:20px;text-align:center;font-size:17px}.budget{display:flex;justify-content:space-between;gap:10px;background:#eeefe1;border-radius:12px;padding:13px 16px;margin:12px 0 20px}.budget small{display:block;font-size:10px}.budget b{font-size:18px;display:block;margin-top:4px}.modal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.modal-foot p{font-size:11px;color:var(--muted);max-width:65%;line-height:1.6}.callout{background:#f2e7d8;border:1px solid #e2d2bc;border-radius:12px;padding:14px 17px;margin:15px 0;font-size:12px;line-height:1.75}.callout button{margin-top:10px}
.chop-layout{display:grid;grid-template-columns:1fr 175px;gap:20px}.chop-work{position:relative;background:#efe1c7;border:8px solid #b89367;border-radius:20px;min-height:230px;overflow:hidden}.chop-food{position:absolute;width:220px;height:220px;left:calc(50% - 110px);top:0}.cut-target{position:absolute;width:38px;top:16%;height:70%;padding:0;border:0;border-left:3px dashed #fffaf1;border-radius:0;background:transparent;transform:translateX(-50%);z-index:3;touch-action:none}.cut-target:hover{background:#fffaf12b;transform:translateX(-50%)}.cut-target.done{border-left:4px solid var(--green);background:#fffaf122;cursor:default}.cut-target .cut-label{position:absolute;top:-28px;left:-12px;font-size:10px;border-radius:7px;padding:3px 4px;background:#fffcf1;white-space:nowrap}.cut-target .food{width:85px;position:absolute;top:6px;left:-35px;opacity:0;transform:rotate(-15deg);pointer-events:none}.cut-target:hover .food{opacity:1}.cut-target.done .food{animation:chop .3s forwards}@keyframes chop{0%{opacity:1;transform:translateY(-20px) rotate(-15deg)}65%{opacity:1;transform:translateY(65px) rotate(-15deg)}100%{opacity:0;transform:translateY(65px) rotate(-15deg)}}.customer-note{border-left:1px solid var(--line);padding-left:18px}.customer-note .person{width:54px;height:72px}.customer-note strong{font-size:14px}.customer-note p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:8px}.preferences{display:grid;gap:9px;margin-top:18px}.pref-row{display:flex;gap:7px;align-items:center}.pref-row small{width:42px;font-size:11px}.pref-row button{font-size:12px;padding:7px 14px}.pref-row .selected{background:#e3e9d7;color:var(--green);border-color:#adbc95}.food-caption{font-size:11px;margin-top:13px;color:var(--muted)}
.dining-layout{display:grid;grid-template-columns:190px 1fr;gap:22px}.interior-art{width:100%;max-height:340px;object-fit:cover;border-radius:13px}.table-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.table-item{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:120px;border:1px solid #d9d7c5;background:#eef0e3;border-radius:12px;gap:8px;text-align:center}.table-item.dirty{background:#f7e8dc;border-color:#dab79b}.table-item.occupied{background:#e8e5d9}.table-item h3{font-size:15px}.table-item small{font-size:11px}.table-item button{font-size:11px;padding:8px 14px;min-height:35px}.table-item.dirty .food{width:40px;height:40px}
.lesson-layout{display:grid;grid-template-columns:1fr 180px;gap:25px}.lesson-stage{position:relative;background:#eee8da;border-radius:15px;min-height:250px;display:flex;align-items:center;justify-content:center;overflow:hidden}.lesson-goose{width:190px;cursor:grab;touch-action:none}.lesson-goose.glazed{filter:sepia(.18) saturate(1.3);animation:glaze .5s}.lesson-target{min-height:155px;width:135px;padding:15px;border:2px dashed #a3af90;background:#f5f6ea;border-radius:12px;font-size:13px;line-height:1.8;display:grid;place-items:center;text-align:center}.lesson-target.over{background:#e0e9d0;border-style:solid}.lesson-notes{font-size:12px;line-height:1.8;color:var(--muted)}.lesson-notes strong{display:block;color:var(--ink);font-size:15px;margin-bottom:9px}.lesson-progress{display:flex;gap:7px;margin:16px 0}.lesson-progress span{height:5px;border-radius:4px;flex:1;background:#ded8c8}.lesson-progress .done{background:var(--green)}.choices{display:grid;gap:10px}.choices button{text-align:left;font-size:13px}.lesson-counter{font-size:11px;color:var(--muted)}@keyframes glaze{50%{filter:sepia(.5) saturate(1.6)}}
.ledger-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.ledger-stats div{padding:14px 12px;background:#efe9dc;border-radius:12px}.ledger-stats small{display:block;font-size:10px}.ledger-stats b{font-size:20px;display:block;margin-top:6px}.ledger-stats div:last-child{background:#e3e9d8;color:var(--green)}.sales-table{width:100%;border-collapse:collapse;font-size:13px}.sales-table td,.sales-table th{padding:11px 5px;border-bottom:1px solid var(--line);text-align:left}.sales-table td:last-child,.sales-table th:last-child{text-align:right}.success{text-align:center;padding:10px}.success .food{width:150px;margin:auto}.success h3{font-family:"Songti SC",serif;font-size:27px;margin:10px 0}.success p{font-size:13px;color:var(--muted);line-height:1.8}.success .total{font-size:35px;color:var(--green);margin-top:15px;font-family:Georgia,serif}.knowledge-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.knowledge-card{padding:16px;border:1px solid var(--line);border-radius:12px;background:#f8f2e6}.knowledge-card.locked{background:#eeeade;color:#9b968b}.knowledge-card small{font-size:10px;letter-spacing:2px}.knowledge-card h3{font-size:15px;margin:7px 0}.knowledge-card p{font-size:12px;line-height:1.85;color:var(--muted)}.knowledge-card a,.source-link{font-size:10px;color:var(--green)}.reference-tabs{display:flex;gap:8px;margin-bottom:15px;flex-wrap:wrap}.reference-tabs .selected{background:var(--green);color:#fff}.reference-image{display:block;width:100%;max-height:420px;object-fit:contain;background:white;border-radius:10px}.reference-caption{font-size:12px;color:var(--muted);line-height:1.8;margin-top:12px}.source-link{display:inline-block;margin-top:10px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(12px);opacity:0;z-index:40;background:#414d38;color:#fffaf1;padding:12px 22px;border-radius:12px;font-size:13px;max-width:90%;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* Dialogs are compact portrait sheets; the existing game actions are unchanged. */
dialog{width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 42px);padding:20px;border-radius:22px;background:#fff8e8;border:2px solid #b29b7c}dialog::backdrop{background:#3f382d70;backdrop-filter:blur(2px)}.dialog-top{margin-bottom:16px;gap:10px}.dialog-top h2{font-size:22px}.dialog-top small{font-size:9px;letter-spacing:2px}.intro-copy{font-size:12px}.close{min-width:32px;min-height:32px;font-size:20px}.prep-row{grid-template-columns:52px 1fr auto;gap:7px;padding:9px 0}.prep-row h3{font-size:13px}.prep-row p{font-size:10px}.stepper{gap:6px}.stepper button{min-width:31px;min-height:36px;font-size:18px}.stepper b{font-size:15px}.budget{padding:11px 13px}.budget b{font-size:17px}.modal-foot{gap:10px;flex-wrap:wrap}.modal-foot p{font-size:10px;max-width:55%}.modal-foot .primary{font-size:12px;min-height:44px;padding:10px 12px}.chop-layout{grid-template-columns:1fr;gap:11px}.chop-work{min-height:220px;border-width:6px}.cut-target .cut-label{font-size:9px;top:-22px}.customer-note{display:flex;align-items:center;gap:9px;border:0;padding:0}.customer-note .person{width:52px;height:52px}.customer-note strong{font-size:12px}.customer-note p{font-size:10px;line-height:1.6;margin-top:3px}.preferences{margin-top:13px;gap:7px}.pref-row button{font-size:11px;min-height:37px}.dining-layout{grid-template-columns:1fr;gap:12px}.interior-art{display:none}.table-list{gap:8px}.table-item{min-height:108px}.table-item h3{font-size:13px}.table-item small{font-size:10px}.table-item button{min-height:38px;font-size:11px}.lesson-layout{grid-template-columns:1fr;gap:13px}.lesson-stage{min-height:205px}.lesson-goose{width:150px}.lesson-target{width:110px;min-height:142px;font-size:12px}.lesson-notes{font-size:11px;line-height:1.7}.lesson-notes strong{font-size:13px}.ledger-stats{grid-template-columns:1fr 1fr;gap:8px}.ledger-stats b{font-size:21px}.sales-table{font-size:12px}.callout{font-size:11px;padding:11px 13px}.knowledge-grid{grid-template-columns:1fr;gap:10px}.knowledge-card{padding:13px}.knowledge-card h3{font-size:14px}.knowledge-card p{font-size:11px}.reference-tabs{gap:5px}.reference-tabs button{font-size:10px;padding:7px 8px;min-height:35px}.reference-caption{font-size:11px}.reference-image{max-height:53dvh}.success h3{font-size:23px}.success p{font-size:11px}.toast{max-width:min(90%,420px);font-size:11px;padding:10px 16px;bottom:86px}.home-button{display:none}
@media(max-width:760px){.opening-copy{padding:10dvh 26px 40px;max-width:330px}.opening:after{background:linear-gradient(90deg,#f8f1e6ed,#f8f1e697 52%,#f8f1e62b)}.opening-copy h1{font-size:64px}.opening>img{object-position:45% 50%}}
@media(max-height:500px){#play-screen{--game-width:min(100vw,280px);width:var(--game-width);height:calc(var(--game-width) * 1.4 + 200px);margin:0 auto}.game-shell{flex:none;height:calc(var(--game-width) * 1.4 + 74px)}.topbar{gap:5px;padding:7px}.brand h1{font-size:11px}.day-info{font-size:9px}.day-info small{display:none}.cash-info{padding:3px}.cash-info b{font-size:12px}.coin{width:18px;height:18px;font-size:9px}.icon-button{min-width:26px;min-height:30px}.task-food{width:30px}.action-dock{padding:7px}.action-dock h3{font-size:11px}.action-dock>.primary{min-width:75px;font-size:10px}.task-text p{font-size:8px}.menu-board{top:2px;padding:2px}.board-heading{margin-bottom:3px}.board-heading h2{font-size:9px;line-height:12px}.dish-menu{grid-template-columns:21px 1fr;min-height:27px;gap:2px;padding:2px}.dish-menu h3{font-size:8px}.dish-menu small{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.meal{display:block;aspect-ratio:1;width:100%;overflow:hidden;pointer-events:none}.meal.chop-food{width:220px;height:220px}.chop-steps{display:flex;justify-content:center;gap:12px;margin:0 0 12px;font-size:11px;color:#aa967a}.chop-steps .current{color:#657951;font-weight:700}.chop-steps .done{color:#8d9a78}.notebook-section+.notebook-section{margin-top:24px}.notebook-heading{font-size:15px;color:#76825f;padding:0 0 9px;margin-bottom:10px;border-bottom:1px solid #ccb28d}

@container(max-width:330px){.topbar{gap:5px;padding:6px 7px}.brand h1{font-size:11px;letter-spacing:0}.day-info{font-size:9px}.day-info small{font-size:8px}.cash-info{padding:3px 5px;gap:3px}.cash-info b{font-size:14px}.coin{width:20px;height:20px;font-size:10px}.icon-button{min-width:27px;min-height:32px}.task-food{width:34px}.action-dock{padding:7px;gap:5px}.action-dock h3{font-size:11px}.action-dock p{font-size:9px}.action-dock>.primary{min-width:84px;padding:8px 7px;font-size:11px}}

/* Motion frames share measured shoe anchors; every pose keeps the art scale. */
.opening-load{width:230px;margin-top:15px;font-size:10px;line-height:1.6;color:#796b53}.opening-load progress{display:block;width:100%;height:5px;margin-bottom:7px;border:0;border-radius:4px;overflow:hidden;accent-color:#829371}.opening-load progress::-webkit-progress-bar{background:#d8c8ab}.opening-load progress::-webkit-progress-value{background:#829371}.opening-copy>small{line-height:1.8}
.actor-frame{pointer-events:none}.actor .animated-frame{animation:pose-four var(--cycle) steps(1,end) infinite}.actor.two-frames .animated-frame{animation-name:pose-two}
@keyframes pose-four{0%,24.999%{opacity:1}25%,100%{opacity:0}}
@keyframes pose-two{0%,79.999%{opacity:1}80%,100%{opacity:0}}
.two-frames .actor-frame:nth-child(2){animation-name:pose-gesture}
@keyframes pose-gesture{0%,29.999%{opacity:0}30%,49.999%{opacity:1}50%,100%{opacity:0}}
.actor[data-actor-action="wait"] .actor-art{animation:wait-breathe 2.8s ease-in-out infinite}
@keyframes wait-breathe{50%{translate:0 -.7px}}
.queue-patience .patience-fill{fill:#87a473}.queue-patience.soon .patience-fill{fill:#d1a14d}.queue-patience.urgent .patience-fill{fill:#cb7458}
.queue-sign rect{fill:#fff4dce8;stroke:#c4a27b;stroke-width:.7}.queue-sign text{font-size:8px;fill:#98724d;font-weight:600}
.order-bubble.soon>path{stroke:#c79a54;fill:#fff0d3}.order-bubble.urgent>path{stroke:#bf7159;fill:#ffe4cc}.order-bubble.urgent .order-name,.order-bubble.urgent .order-dish{fill:#b5684e}
.staff-preview{display:block;width:100%;height:100%;overflow:visible}.chop-chef{position:absolute;width:122px;height:122px;right:-8px;bottom:0;pointer-events:none;z-index:2}.meal.chop-food{left:calc(42% - 100px);width:200px;height:220px}
.queue-hint{padding:9px 11px;margin-bottom:14px;border:1px solid #bac49e;border-radius:12px;background:#eef0df}.queue-hint>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.queue-hint b{font-size:11px;color:#687d52}.queue-hint span{font-size:10px;color:#8b785d}.queue-hint.soon{background:#fbefd5;border-color:#ddbd78}.queue-hint.urgent{background:#fce3d4;border-color:#d6987b}.queue-hint.urgent b{color:#ac654d}.wait-track{height:4px;background:#dfdecb;border-radius:4px;margin:7px 0 0;overflow:hidden}.wait-track-fill{display:block;height:100%;background:#87a473;border-radius:4px;transition:width .3s linear}.soon .wait-track-fill{background:#d1a14d}.urgent .wait-track-fill{background:#cb7458}.queue-chips{display:flex;flex-wrap:wrap;gap:11px;margin-top:7px}.queue-chip{display:flex;align-items:center;gap:3px}.queue-chip .person{width:20px;height:23px}.queue-chip small{font-size:9px}.queue-chip em{display:block;font-size:9px;font-style:normal;white-space:nowrap;margin-top:2px}.queue-chip.urgent small{color:#b16a50}
.table-item.cleaning{background:#eee9cf;border-color:#cbb889}.chop-work[aria-busy="true"]{box-shadow:inset 0 0 0 2px #d5b079}.chop-work[aria-busy="true"] .cut-target .food{opacity:0}.chop-work[aria-busy="true"] .cut-label{opacity:.55}
@media(prefers-reduced-motion:reduce){.actor-frame.animated-frame{opacity:0!important}.actor-frame.animated-frame:first-child{opacity:1!important}}

/* Concrete craft objects and named steps replace the generic lesson target. */
.lesson-road{display:flex;list-style:none;gap:5px;padding:0;margin:0 0 15px}.lesson-road li{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;color:#b09d80;min-width:0}.lesson-road b{display:grid;place-items:center;width:24px;height:24px;border:1px solid #c9b595;border-radius:50%;font-size:11px;background:#eee6d5}.lesson-road span{font-size:9px;white-space:nowrap}.lesson-road .current{color:#9f6947;font-weight:600}.lesson-road .current b{background:#e7b486;color:#fff8e7;border-color:#b78558}.lesson-road .done b{background:#d9e1c2;color:#738660;border-color:#aab990}.lesson-tools{font-size:10px;line-height:1.6;color:#8b785e;margin-bottom:11px}.lesson-tools b{color:#6b7755;margin-right:5px}.lesson-stage{height:260px;min-height:260px;border:1px solid #d5c2a3;background:#eee6d1}.lesson-prop{display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}.skin-goose{position:absolute;left:50%;top:8px;transform:translateX(-50%);width:155px;height:222px}.skin-goose.glazed{filter:saturate(1.15)}.skin-tool{position:absolute;left:9px;top:67px;width:86px;height:116px;padding:4px;border:1.5px solid #ccb58d;background:#fff6df;touch-action:none;z-index:4}.skin-tool .lesson-prop{height:72px}.skin-tool span{font-size:10px;display:block;margin-top:7px}.skin-tool.loaded{background:#f4dfb6;border-color:#b7945b;box-shadow:0 0 0 2px #e6bc7033}.skin-zone{position:absolute;min-height:32px;padding:3px 6px;border:1px dashed #a88055;border-radius:9px;background:#fff5dce6;font-size:10px;z-index:3;transform:translateX(-50%)}.skin-zone:active{transform:translateX(-50%)}.skin-neck{left:calc(50% + 43px);top:58px}.skin-body{left:calc(50% + 5px);top:127px}.skin-leg{left:calc(50% + 27px);top:190px}.skin-zone.done:disabled{opacity:1;color:#72835b;border-style:solid;background:#dce5bfe8;border-color:#a0b180}.stage-tip{position:absolute;bottom:6px;left:8px;right:8px;font-size:9px;text-align:center;line-height:1.5;color:#967755;background:#fff5dcbd;border-radius:8px;padding:5px}.lesson-notes strong{font-size:12px;margin:10px 0 4px;color:#6e7c57}.lesson-notes p{font-size:11px;line-height:1.75}.lesson-result{padding:9px 11px;margin-top:12px;border-radius:10px;background:#e7ebd6;font-size:10px;line-height:1.7}.lesson-result b{color:#6c8054;font-size:10px}.lesson-goose{position:absolute;top:12px;left:5px;width:124px;height:207px;z-index:3;touch-action:none}.lesson-goose small{display:block;text-align:center;font-size:9px;color:#a4845b;white-space:nowrap}.lesson-target{position:absolute;right:5px;top:14px;width:165px;height:213px;min-height:0;padding:4px;border:1.5px dashed #aab38d;border-radius:12px;display:block;background:#ffffff18}.lesson-target>.lesson-prop:not(.placed-goose){height:180px}.lesson-target span{position:absolute;bottom:3px;left:0;right:0;font-size:9px;line-height:1.4;text-align:center}.lesson-target.over,.lesson-target.placed{border-style:solid;background:#e7ecd3}.lesson-arrow{position:absolute;left:40%;top:104px;font-size:22px;color:#b9996a}.lesson-target .placed-goose{position:absolute;width:55px;height:115px;top:37px;left:calc(50% - 27px);z-index:2}.placement-stage.is-placed .lesson-target{left:50%;right:auto;transform:translateX(-50%);width:187px}.placement-stage.is-placed .lesson-target .placed-goose{top:47px;width:53px;height:103px}.check-stage{display:block;height:335px}.drying-example{position:relative;width:155px;height:174px;margin:8px auto 4px}.drying-example>.placed-goose{position:absolute;left:50px;top:34px;width:58px;height:112px}.drying-example span{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:9px;color:#987b56}.check-stage .choices{padding:10px;gap:7px}.check-stage .choices button{font-size:11px;min-height:44px;line-height:1.5}.recipe-link{width:100%;font-size:11px;min-height:44px;margin-bottom:19px;text-align:left;background:#e7ebd6;color:#6b7c52;border-color:#b2bb94}.recipe-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 14px}.recipe-tabs button{font-size:10px;min-height:33px;padding:5px 8px}.recipe-tabs .selected{background:#dde5c8;color:#708456;border-color:#a6b98f}
@media(max-width:360px){.skin-tool{left:4px;width:70px;height:106px}.skin-tool span{font-size:9px}.skin-goose{width:136px}.lesson-target{width:138px;right:2px}.lesson-goose{width:102px}.lesson-arrow{left:39%;font-size:18px}.lesson-road span{font-size:8px}.chop-chef{width:105px;height:105px;right:-10px}.meal.chop-food{width:185px;height:220px;left:calc(42% - 92px)}}
.placement-display .lesson-target .placed-goose{top:48px;height:65px;width:42px;left:calc(33% - 21px)}.placement-display.is-placed .lesson-target .placed-goose{top:52px;height:65px}
.placement-drying .lesson-target svg.placed-goose,.placement-drying.is-placed .lesson-target svg.placed-goose{top:46px;left:calc(33% - 23px);width:46px;height:80px}.drying-example>.placed-goose{left:23px;top:43px;width:46px;height:80px}
.audio-settings{display:grid;gap:8px;margin:15px 0}.audio-settings button{display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:left;background:#eeeeda}.audio-settings b{display:grid;place-items:center;border-radius:10px;width:36px;height:23px;background:#829371;color:#fff6df;font-size:11px}.audio-settings button[aria-pressed="false"] b{background:#baa98b}
.chop-chef{right:20px}
@media(max-width:360px){.chop-chef{right:5px}.meal.chop-food{width:165px;left:calc(36% - 82.5px)}}
