/* Scene dimensions match imageBounds() in the movement engine. */
#kitchen-scene,#alchemy-scene{overflow:hidden;background:radial-gradient(ellipse at 50% 48%,#493620,#1c1710 54%,#080b09 100%)}
#alchemy-scene{background:radial-gradient(ellipse at 50% 48%,#273630,#141c20 54%,#07090e 100%)}
:is(#kitchen-scene,#alchemy-scene) .workshop-map-image{position:absolute;left:25%;top:6%;width:50%;height:88%;object-fit:contain;image-rendering:auto;pointer-events:none;user-select:none;filter:drop-shadow(0 0 24px #000c)}
body:is(.scene-kitchen,.scene-alchemy) #player.pixel-player{transform:translate(-50%,-78%)!important;transform-origin:center bottom;z-index:28}
body:is(.scene-kitchen,.scene-alchemy) :is(#minimap,#view-toggle,#creator-toggle){display:none!important}
.workshop-room-content{position:absolute;pointer-events:none;isolation:isolate}
.workshop-room-content button{position:absolute;margin:0;padding:0;border:0;background:transparent;color:#f7e5bf;cursor:pointer;pointer-events:auto;font-family:var(--pf-ui,system-ui,sans-serif);touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.workshop-room-content button:focus-visible{outline:2px solid #f2ca7e;outline-offset:4px;border-radius:4px}
.workshop-crafting-station{transform:translate(-50%,-100%);z-index:3}
.workshop-crafting-station::before{content:'';position:absolute;left:8%;right:8%;bottom:0;height:15%;border-radius:50%;box-shadow:0 0 11px 2px #eaba6222;transition:box-shadow .18s}
.workshop-room-alchemy .workshop-crafting-station::before{box-shadow:0 0 11px 2px #9deec92b}
.workshop-crafting-station:is(:hover,:focus-visible)::before{box-shadow:0 0 16px 4px #eed09460}
.workshop-room-alchemy .workshop-crafting-station:is(:hover,:focus-visible)::before{box-shadow:0 0 16px 4px #9deec963}
.workshop-station-label{position:absolute;left:50%;bottom:-2%;transform:translateX(-50%);padding:4px 8px;border:1px solid #9d7b42aa;border-radius:4px;background:#211c15ec;box-shadow:0 2px 4px #0005;font-size:clamp(10px,.75vw,13px);font-weight:650;white-space:nowrap;letter-spacing:.02em}
.workshop-room-alchemy .workshop-station-label{border-color:#6c9c87aa;background:#12231fee;color:#d0f2e4}
:is(#kitchen-scene,#alchemy-scene) .workshop-room-exit{width:16%;height:6.5%;min-width:0;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;z-index:4;border:0!important;box-shadow:none!important;background:transparent!important;white-space:nowrap;text-shadow:0 1px 3px #000,0 0 6px #000;color:#fff1cc;font-size:clamp(9px,.7vw,12px);font-weight:650}
.workshop-room-exit>span:first-child{font-size:22px;line-height:1;color:#e2b86b;text-shadow:0 0 12px #ffd28299}
.workshop-room-exit:is(:hover,:focus-visible)>span:first-child{color:#fff4d9}
.workshop-hearth-light,.workshop-alchemy-light{position:absolute;transform:translate(-50%,-50%);pointer-events:none;mix-blend-mode:screen;z-index:0;width:35%;height:27%;animation:workshop-firelight 3.2s ease-in-out infinite alternate}
.workshop-hearth-light{background:radial-gradient(ellipse,#ffb14d30 0%,#ea6c2218 40%,transparent 72%)}
.workshop-alchemy-light{background:radial-gradient(ellipse,#8ce1ba27 0%,#58917c18 40%,transparent 72%);animation-duration:4.7s}
.workshop-cooking-steam,.workshop-alchemy-vapor{position:absolute;transform:translate(-50%,-50%);width:12%;height:14%;pointer-events:none;z-index:1}
.workshop-cooking-steam i,.workshop-alchemy-vapor i{position:absolute;left:50%;bottom:10%;width:14%;height:16%;border-radius:50%;background:#fff3da;filter:blur(3px);opacity:0;animation:workshop-steam-rise 4.8s ease-out infinite}
.workshop-cooking-steam i:nth-child(2){left:40%;animation-delay:-1.6s}.workshop-cooking-steam i:nth-child(3){left:58%;animation-delay:-3.2s}
.workshop-alchemy-vapor i{background:#a6ecce;animation-duration:5.8s;width:12%;height:14%}
.workshop-alchemy-vapor i:nth-child(2){left:42%;animation-delay:-1.4s}.workshop-alchemy-vapor i:nth-child(3){left:56%;animation-delay:-2.9s}.workshop-alchemy-vapor i:nth-child(4){left:48%;animation-delay:-4.3s}
.workshop-room-content:not([data-active="true"]) *{animation-play-state:paused}
body.tiled-city-enabled #city-scene .city-sprite:is([data-sprite-key="houseKitchen"],[data-sprite-key="houseAlchemy"]){pointer-events:auto;cursor:pointer}
.city-workshop-name{position:absolute;transform:translate(-50%,-50%);pointer-events:none;color:#ffe8b8;background:#18291eea;border:1px solid #96815099;border-radius:3px;padding:3px 7px;font:600 clamp(9px,.7vw,12px)/1.2 var(--pf-ui,system-ui,sans-serif);white-space:nowrap;box-shadow:0 2px 4px #0005}
@keyframes workshop-firelight{0%{opacity:.68}35%{opacity:.89}70%{opacity:.77}100%{opacity:1}}
@keyframes workshop-steam-rise{0%{opacity:0;transform:translate(0,0) scale(.5)}15%{opacity:.16}65%{opacity:.08}100%{opacity:0;transform:translate(12%,-260%) scale(2.3)}}
@media(max-width:600px){.workshop-station-label{font-size:10px;padding:3px 6px}.city-workshop-name{font-size:10px}}
@media(prefers-reduced-motion:reduce){.workshop-room-content *{animation:none!important}}
