.recipe-save-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#21170fc9;overflow:hidden}
.recipe-save-card{box-sizing:border-box;width:min(300px,calc(100vw - 40px));min-height:290px;padding:24px 18px;display:grid;place-items:center;align-content:center;gap:22px;text-align:center;background:#fbf6ea;color:#4a2e1c;box-shadow:0 -5px #4a2e1c,0 5px #4a2e1c,-5px 0 #4a2e1c,5px 0 #4a2e1c;font:700 19px/1.4 "Google Sans","Noto Sans Thai",sans-serif}
.recipe-save-art{width:190px;height:170px;position:relative;display:grid;place-items:center;image-rendering:pixelated}
.recipe-cup{position:absolute;bottom:12px;left:48px;width:94px;height:100px;overflow:hidden;background:#fff6dc;border:7px solid #4a2e1c;clip-path:polygon(0 0,100% 0,90% 100%,10% 100%);box-shadow:inset 0 0 0 5px #e2c9a7}
.recipe-cup-handle{position:absolute;bottom:48px;right:26px;width:34px;height:42px;border:8px solid #4a2e1c;background:#fbf6ea}
.recipe-coffee{position:absolute;bottom:0;left:0;right:0;height:0;background:repeating-linear-gradient(0deg,#6c3d23 0 9px,#84502e 9px 18px);animation:recipe-fill 1.3s steps(9,end) forwards}
.recipe-pour{position:absolute;top:0;left:91px;width:10px;height:48px;background:repeating-linear-gradient(0deg,#9e6540 0 8px,#6c3d23 8px 15px);animation:recipe-drip .35s steps(2,end) infinite}
.recipe-oven{position:relative;width:148px;height:137px;background:#c4713c;border:8px solid #4a2e1c;box-shadow:inset 0 9px #f2ad64,inset 0 -10px #8b452c}
.recipe-oven::before{content:"";position:absolute;top:9px;left:12px;width:70px;height:9px;background:#4a2e1c;box-shadow:0 12px #4a2e1c}
.recipe-oven-light{position:absolute;bottom:12px;left:12px;right:12px;height:69px;border:7px solid #4a2e1c;background:#f9bb69;animation:recipe-heat .45s steps(2,end) infinite alternate}
.recipe-pastry{position:absolute;bottom:6px;left:24px;width:48px;height:27px;background:#ce7a36;clip-path:polygon(0 100%,12% 25%,30% 0,50% 27%,70% 0,88% 25%,100% 100%);box-shadow:inset 0 -6px #8b452c}
.recipe-oven-knob{position:absolute;right:16px;top:10px;width:17px;height:17px;background:#4a2e1c;box-shadow:0 23px #4a2e1c}
.recipe-bell{position:absolute;right:-12px;top:0;padding:3px 7px;background:#ffdb6d;border:3px solid #4a2e1c;color:#4a2e1c;font:700 16px DotGothic16,"Noto Sans Thai",monospace;opacity:0;transform:scale(.5)}
.recipe-save-overlay.is-success .recipe-bell{opacity:1;transform:scale(1);transition:transform .16s steps(3,end)}
.recipe-save-overlay.is-success .recipe-coffee{height:80%}
.recipe-save-overlay.is-success .recipe-pour{display:none}
.recipe-save-overlay.is-error .recipe-pour,.recipe-save-overlay.is-error .recipe-oven-light{animation-play-state:paused}
@keyframes recipe-fill{from{height:0}to{height:80%}}
@keyframes recipe-drip{to{background-position:0 15px}}
@keyframes recipe-heat{to{background:#ffd78a}}
@media(prefers-reduced-motion:reduce){.recipe-coffee{animation:none;height:60%}.recipe-pour,.recipe-oven-light{animation:none}.recipe-bell{transition:none}}
