/* Registered cutouts move gently over a fixed, inpainted background. */
.kitchen-manga-frame { position:relative; width:100%; height:100%; aspect-ratio:16 / 9; overflow:hidden; isolation:isolate; pointer-events:none; user-select:none; }
.kitchen-manga-image,.kitchen-manga-layer-image { display:block; width:100%; height:100%; object-fit:contain; object-position:center; }
.kitchen-manga-fallback { position:relative; z-index:0; opacity:1; visibility:visible; }
.kitchen-manga-layers { position:absolute; z-index:1; inset:0; opacity:0; visibility:hidden; }
.kitchen-manga-layers > .kitchen-manga-layer-image { position:absolute; inset:0; }
.kitchen-manga-frame[data-layers-ready="true"] .kitchen-manga-layers { opacity:1; visibility:visible; }
.kitchen-manga-frame[data-layers-ready="true"] .kitchen-manga-fallback { opacity:0; visibility:hidden; }
.kitchen-manga-figure { position:absolute; z-index:2; inset:0; transform-origin:57% 89%; animation:kitchen-manga-breathe 7.6s ease-in-out infinite; }
.kitchen-manga-leaves { position:absolute; z-index:3; inset:0; }
.kitchen-manga-leaves--crown { clip-path:inset(0 0 65% 55%); transform-origin:94% 3%; animation:kitchen-manga-leaves-crown 8.4s ease-in-out infinite; }
.kitchen-manga-leaves--window { clip-path:inset(35% 0 30% 72%); transform-origin:99.5% 44%; animation:kitchen-manga-leaves-window 9.2s ease-in-out infinite; }
.kitchen-manga-steam { position:absolute; z-index:2; inset:0; display:block; width:100%; height:100%; pointer-events:none; }
.manga-steam-wisp { opacity:0; animation:kitchen-manga-steam 5.6s ease-out infinite; }
.manga-steam-wisp:nth-child(2) { animation-delay:-1.1s; animation-duration:6.2s; }
.manga-steam-wisp:nth-child(3) { animation-delay:-2.2s; animation-duration:5.9s; }
.manga-steam-wisp:nth-child(4) { animation-delay:-3.4s; animation-duration:6.1s; }
.manga-steam-wisp:nth-child(5) { animation-delay:-4.4s; animation-duration:5.8s; }
.kitchen-manga-light { position:absolute; z-index:4; inset:0; display:block; pointer-events:none; background:radial-gradient(ellipse at 27% 54%,#f3b35a 0%,#f2b86b55 28%,transparent 68%); mix-blend-mode:soft-light; opacity:.045; animation:kitchen-manga-light 8s ease-in-out infinite; }
@keyframes kitchen-manga-breathe { 0%,100% { transform:translateY(.07%) rotate(-.35deg); } 50% { transform:translateY(-.06%) rotate(.35deg); } }
@keyframes kitchen-manga-leaves-crown { 0%,100% { transform:rotate(-1.4deg); } 50% { transform:rotate(1.4deg); } }
@keyframes kitchen-manga-leaves-window { 0%,100% { transform:rotate(1.1deg); } 50% { transform:rotate(-1.1deg); } }
@keyframes kitchen-manga-steam { 0% { opacity:0; transform:translate(0,6px); } 32% { opacity:.68; } 100% { opacity:0; transform:translate(4px,-24px); } }
@keyframes kitchen-manga-light { 0%,100% { opacity:.035; } 50% { opacity:.085; } }
body[data-page="cooking"][data-kitchen-motion="paused"] :is(.kitchen-manga-figure,.kitchen-manga-leaves,.manga-steam-wisp,.kitchen-manga-light) { animation-play-state:paused; }
@media (max-width:700px) { .manga-steam-wisp { stroke-width:11; } }
@media (prefers-reduced-motion:reduce) {
 .kitchen-manga-figure,.kitchen-manga-leaves,.manga-steam-wisp,.kitchen-manga-light { animation:none !important; transform:none; }
 .manga-steam-wisp { opacity:.26; }
 .kitchen-manga-light { opacity:.035; }
}
