.bakehouse-screen{--bh-ink:#254c49;--bh-coral:#df785c;--bh-cream:#fffaf0;--bh-teal:#2e7970;max-width:1500px;margin:auto;color:var(--bh-ink)}.bakehouse-shell{position:relative;background:#fffaf0;border:1px solid #e3d5b9;border-radius:30px;overflow:hidden;box-shadow:0 18px 55px #244a3920;font-family:ui-rounded,'Nunito',system-ui,sans-serif}.bh-header{display:flex;align-items:center;gap:14px;padding:15px 22px;background:#fffaf0;border-bottom:1px solid #eadfc9}.bh-header h1{font-size:clamp(22px,2.4vw,34px);margin:0;letter-spacing:-1px;line-height:1.1}.bh-eyebrow{font-size:9px;letter-spacing:2.4px;font-weight:900;margin:0 0 5px;color:#9d7359}.bh-header-tools{margin-left:auto;display:flex;gap:9px}.bh-icon{background:#f3e9d7;border:0;border-radius:16px;min-width:48px;min-height:48px;color:#28594f;font:800 22px inherit;cursor:pointer;padding:10px 13px}.bh-icon span{font-size:12px;vertical-align:middle}.bh-play-area{display:grid;grid-template-columns:minmax(0,1fr) 285px;min-height:580px}.bh-scene{position:relative;overflow:hidden;min-height:580px;background:#dce8d6 url('assets/bakehouse/kitchen.webp') center/cover}.bh-scene:after{content:'';position:absolute;inset:auto 0 0;height:19%;background:linear-gradient(transparent,#9c63302b);pointer-events:none}.bh-scene canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;z-index:2;outline-offset:-5px}.bh-stage-badge{position:absolute;left:24px;bottom:18px;z-index:3;background:#fffaf0e8;border:1px solid #fff;border-radius:30px;padding:10px 18px;font-size:12px;font-weight:800;pointer-events:none}.bh-guest{position:absolute;left:5%;top:3%;height:44%;width:29%;z-index:1;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.bh-guest img{height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 6px 3px #34512622)}.bh-speech{position:absolute;top:2%;left:72%;width:160px;background:white;border-radius:22px 22px 22px 3px;padding:14px;box-shadow:0 5px 20px #33442215;font-size:15px;font-weight:800;line-height:1.4}.bh-welcome{position:absolute;top:30%;left:32%;right:5%;z-index:3;pointer-events:none;font-size:clamp(28px,4vw,56px);font-weight:900;line-height:1.03;letter-spacing:-2px;color:#274c43;text-shadow:0 2px 0 #fff7}.bh-welcome small{display:block;font-size:14px;letter-spacing:1px;margin-top:13px}.bh-controls{background:#fffaf0;padding:24px 20px;display:flex;flex-direction:column;border-left:1px solid #e5dac6;z-index:4}.bh-controls h2{font-size:25px;line-height:1.1;margin:20px 0 8px;letter-spacing:-.7px}.bh-controls p{font-size:14px;line-height:1.5;margin:0 0 15px;color:#60736a}.bh-progress{display:flex;gap:5px}.bh-progress i{height:6px;border-radius:10px;background:#e7dfce;flex:1}.bh-progress i.done{background:#5d9e86}.bh-progress i.now{background:#dc815f}.bh-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bh-tool{position:relative;background:#f5eddf;border:2px solid transparent;border-radius:19px;min-height:85px;padding:10px 5px;color:#38594c;font:800 13px inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:7px;box-shadow:0 3px 0 #e1d6c3;transition:transform .12s,background .12s}.bh-tool:hover{background:#efe1c9;transform:translateY(-2px)}.bh-tool[aria-pressed=true]{border-color:#3a8979;background:#e6f0e4}.bh-tool:disabled{opacity:.55;cursor:default;transform:none}.bh-tool svg{width:48px;height:48px;filter:drop-shadow(0 2px 1px #80604020)}.bh-primary{width:100%;min-height:54px;background:var(--bh-teal);border:0;border-radius:18px;color:white;padding:14px;font:800 16px inherit;cursor:pointer;box-shadow:0 4px 0 #1e554c;margin-top:12px}.bh-primary:active{transform:translateY(2px);box-shadow:0 2px 0 #1e554c}.bh-primary:disabled{opacity:.5;cursor:default}.bh-mode{display:flex;gap:5px;border-radius:12px;background:#e8e0d1;padding:4px;margin-bottom:15px}.bh-mode button{flex:1;background:transparent;border:0;border-radius:9px;min-height:46px;color:#496459;font-weight:800;font-size:12px;cursor:pointer}.bh-mode button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #0001}.bh-recipe-choice{width:100%;flex-direction:row;justify-content:flex-start;min-height:78px;margin-bottom:10px;padding:12px 16px;font-size:16px;gap:15px}.bh-secondary{display:flex;gap:8px;margin-top:auto;padding-top:22px;flex-wrap:wrap}.bh-small{background:none;border:1px solid #d8d2c2;border-radius:12px;color:#536b5e;min-height:44px;padding:8px 10px;font-weight:700;cursor:pointer}.bh-status{font-size:12px!important;min-height:20px;margin:10px 0 0!important}.bh-color-row{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.bh-color{width:42px;height:42px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #c6c5b5;cursor:pointer}.bh-color[aria-pressed=true]{box-shadow:0 0 0 3px #276653}.bh-label{font-size:12px;font-weight:900;letter-spacing:.7px;margin:12px 0 8px}.bh-counter{background:#f2e6d0;border-radius:12px;padding:9px;text-align:center;margin:12px 0;font-size:14px;font-weight:800}.bh-scene-feedback{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);z-index:5;background:#fffaf0ee;color:#2d7861;border-radius:30px;padding:13px 22px;font-size:22px;font-weight:900;pointer-events:none;opacity:0}.bh-scene-feedback.show{animation:bh-pop .9s ease both}.bh-dialog{position:absolute;inset:0;z-index:20;background:#173d37aa;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px)}.bh-dialog[hidden]{display:none}.bh-dialog-panel{background:#fffaf0;border-radius:28px;max-width:760px;width:100%;max-height:90%;overflow:auto;padding:26px;box-shadow:0 24px 80px #0004}.bh-dialog-panel h2{margin:0 0 12px;font-size:27px}.bh-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.bh-gallery-item{border-radius:18px;background:#eee2cf;padding:10px;text-align:center;font-weight:800;font-size:12px}.bh-gallery-item canvas{width:100%;height:auto;background:#fffaf0;border-radius:12px}.bh-dialog-actions{display:flex;gap:10px}.bh-dialog-actions button{flex:1}.bh-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;border-radius:0!important;z-index:99999!important;display:flex;flex-direction:column}.bh-fullscreen .bh-play-area{flex:1;min-height:0}.bh-fullscreen .bh-scene{min-height:0}.bh-card-art img{width:100%;height:100%;object-fit:cover}.bakehouse-shell button:focus-visible,.bakehouse-shell canvas:focus-visible{outline:4px solid #dc794b;outline-offset:3px}.bh-serving .bh-guest{animation:bh-bounce .7s ease 2}.bh-toast-dot{width:12px;height:12px;border-radius:50%;display:inline-block;margin-right:5px}@keyframes bh-pop{0%{opacity:0;transform:translate(-50%,-40%) scale(.8)}20%,75%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-70%) scale(1)}}@keyframes bh-bounce{50%{transform:translateY(-12px) rotate(-3deg)}}
@media(max-width:900px){.bh-play-area{grid-template-columns:minmax(0,1fr) 240px}.bh-controls{padding:18px 14px}.bh-speech{width:130px;font-size:13px}.bh-header{padding:12px}.bh-scene{min-height:530px}.bh-welcome{font-size:38px}}
@media(max-width:620px){.bh-header h1{font-size:23px}.bh-header-tools span{display:none}.bh-eyebrow{font-size:7px}.bh-icon{min-width:44px;min-height:44px;padding:8px}.bh-header{gap:8px}.bh-header-tools{gap:5px}.bh-play-area{display:flex;flex-direction:column;min-height:0}.bh-scene{min-height:320px;aspect-ratio:1.35;flex:0 0 auto}.bh-controls{border-left:0;border-top:1px solid #e5dac6;padding:16px}.bh-controls h2{margin:12px 0 5px;font-size:23px}.bh-controls p{margin-bottom:10px}.bh-tools-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bh-tool{font-size:11px;min-height:72px}.bh-tool svg{width:38px;height:38px}.bh-recipe-choice{display:inline-flex;width:calc(33.333% - 7px);margin-right:7px;flex-direction:column;padding:8px;gap:4px;font-size:12px}.bh-secondary{padding-top:12px;margin-top:0}.bh-welcome{font-size:32px}.bh-speech{width:108px;padding:9px;font-size:11px}.bh-stage-badge{left:12px;bottom:10px;font-size:10px;padding:7px 12px}.bh-fullscreen .bh-play-area{overflow:auto;display:block}.bh-fullscreen .bh-scene{min-height:260px;max-height:48dvh}.bh-fullscreen .bh-controls{min-height:230px}.bh-gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-height:600px) and (min-width:621px){.bh-fullscreen .bh-header{padding:7px 12px}.bh-fullscreen .bh-controls{overflow:auto;padding:10px 14px}.bh-fullscreen .bh-controls h2{font-size:21px;margin-top:10px}.bh-fullscreen .bh-tool{min-height:64px;padding:6px}.bh-fullscreen .bh-secondary{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.bakehouse-shell *{animation:none!important;transition:none!important}.bh-scene-feedback.show{opacity:1}}
.bh-fullscreen .bh-header{width:100%;max-width:none;box-sizing:border-box;justify-content:flex-start}.bh-color{min-height:44px;min-width:44px}.bh-welcome{text-shadow:0 1px 0 #fff9;filter:drop-shadow(0 0 15px #fff9)}
.bh-fullscreen .bh-controls{min-height:0;overflow:auto}.bh-picture-order{display:flex;align-items:center;justify-content:center;gap:6px}.bh-picture-order>span{display:block;width:26px;height:26px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #ccd1bf}.bh-picture-order svg{width:35px;height:35px}.bh-speech small{font-size:10px;display:block;margin-top:6px;text-align:center}.bh-color-row{gap:5px}.bh-color{width:44px;padding:0}

.bh-recipe-art{width:94px;height:65px;object-fit:contain;filter:drop-shadow(0 3px 3px #7b513c20)}@media(max-width:620px){.bh-recipe-art{width:100%;height:58px}}
