.sprite .cooked-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.sprite[data-type="egg-raw"]>img:first-child{opacity:.70}
#arrange{position:absolute;right:16px;top:210px;background:#579e98;color:white}
button:disabled{opacity:.45;cursor:default}
#heat,#brew,#arrange,#serve{display:none!important}
#guide{max-width:74%;pointer-events:none}
#phase{display:block;font-size:12px;margin-bottom:5px;color:#ad4b68}
#guide strong{display:block}
.flow-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
#nextAction{background:#579e98;color:white;font-weight:bold;flex:1;min-width:160px;font-size:16px;min-height:46px}
#anotherRecipe{font-size:14px;box-shadow:none;background:transparent;border-color:#d9babd}
#undo{font-size:14px;color:#ad4b68}
.sprite.selected{filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px #579e98)}
#itemActions{position:absolute;z-index:160;top:220px;left:16px;right:16px;margin:auto;max-width:370px;padding:14px;background:#fff7e9f7;border:2px solid white;border-radius:16px;box-shadow:3px 5px 0 #ae657746}
#itemActions p{font-size:14px;line-height:1.4;margin:8px 0}
#itemActions div{display:flex;gap:8px;flex-wrap:wrap}
#putAway{background:#ad4b68;color:white}
@media(max-width:440px){#itemActions{top:218px;padding:12px}#guide{max-width:73%}#anotherRecipe{font-size:14px;padding:6px}#nextAction{min-width:135px}}
.sprite.cracking>img:first-child{clip-path:polygon(0 0,55% 0,46% 23%,54% 47%,46% 67%,55% 100%,0 100%);animation:shell-left .45s ease forwards}
.sprite.cracking .shell-right{position:absolute;inset:0;clip-path:polygon(55% 0,100% 0,100% 100%,55% 100%,46% 67%,54% 47%,46% 23%);animation:shell-right .45s ease forwards}
@keyframes shell-left{to{transform:translate(-50%,-25%) rotate(-30deg);opacity:0}}
@keyframes shell-right{to{transform:translate(50%,-25%) rotate(30deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.sprite.cracking>img{animation:none}}
/* Pictorial controls: details remain available to assistive technology. */
button svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
#instruction,#phase,footer>small,#itemHint,#shelf button span,#progress span{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#guide{width:fit-content;padding:10px 14px;max-width:70%}
#guide strong{font-size:14px}#progress{display:flex;gap:7px;margin-top:8px}
#progress span{position:static!important;clip-path:none;width:8px;height:8px;font-size:0;border-radius:50%;background:#d4bdb7}#progress span.done{background:#579e98}
#book,#sound,#reset,#anotherRecipe,#undo,#moveItem,#putAway,#closeItem{min-width:44px;min-height:44px;padding:9px}
#sound[aria-pressed="false"]{opacity:.65}#itemActions{max-width:245px}#itemActions div{margin-top:10px}
.flow-actions{align-items:center;justify-content:center}
#nextAction{flex:0 0 auto;min-width:76px;width:76px;min-height:76px;padding:8px;border-radius:22px;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
#nextAction[hidden]{display:none}#nextAction img{width:40px;height:36px;object-fit:contain}
#nextAction.heat-dial{position:relative;width:96px;height:96px;border-radius:50%;background:#fff2d9;color:#615049;border:3px solid #fff;box-shadow:0 4px 0 #ae657747;touch-action:none}
.dial-face{position:absolute;width:58px;height:58px;left:16px;top:12px;border:2px solid #6b534c;border-radius:50%;background:#78b4aa;box-shadow:inset 0 -5px 0 #579e98;transform:rotate(var(--dial-angle,0deg));transition:transform .12s ease}
.hot .dial-face{transform:rotate(var(--dial-angle,65deg));background:#df826e;box-shadow:inset 0 -5px 0 #b96458}
.dial-mark{position:absolute;left:24px;top:4px;width:7px;height:25px;background:#fff7e9;border-radius:5px}
.dial-flame{position:absolute;bottom:1px;left:34px}.dial-flame svg{width:23px;height:23px}.hot .dial-flame{color:#bc4859}
.heat-dial:before{content:'';position:absolute;left:44px;top:2px;width:6px;height:6px;border-radius:50%;background:#615049}
.heat-dial:after{content:'';position:absolute;right:5px;top:26px;width:7px;height:7px;border-radius:50%;background:#bc4859}
.hint-button{animation:control-glow 1.8s ease-in-out infinite}
.sprite.hint-source{animation:object-glow 1.8s ease-in-out infinite}
.sprite.hint-source:after{content:'✦';position:absolute;right:8%;top:-8%;color:#fff4ad;font-size:26px;text-shadow:0 0 9px #eab462;pointer-events:none}
.sprite.hint-target:before{content:'';position:absolute;inset:12% 8%;border:2px dashed #fff6d6;border-radius:50%;pointer-events:none;opacity:.8}
#status:not(.warning){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#shelf button{min-width:74px}#shelf button img{width:62px;height:62px;object-fit:contain}
#recipes .planned,#recipes>small{display:none}#recipePreview{display:block;width:145px;height:130px;object-fit:contain;margin:18px auto}
#recipeHelp{background:transparent;margin-bottom:8px}#recipeHelp[aria-expanded="true"]{background:#dceae5}
@keyframes control-glow{50%{box-shadow:0 0 0 4px #fff2c3,0 0 18px #ffe3a3}}
@keyframes object-glow{50%{filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #ffe3a3)}}
@media(prefers-reduced-motion:reduce){.hint-button,.sprite.hint-source{animation:none}.hint-button{outline:3px solid #f7ce7c}.sprite.hint-source{filter:drop-shadow(0 0 5px #fff)}.dial-face{transition:none}}
