@import url('style-v4.css');
html,body,#app,button,img,svg{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}img,svg{-webkit-user-drag:none;user-drag:none}html,body,#app{touch-action:pan-y}.stage,.table,.tools,.character{touch-action:none}.ingredients,.tool-food-picker,dialog{touch-action:pan-y}.fridge-label{display:none!important}
.character[data-reaction-family] .sprite{background-image:var(--reaction-image)!important;background-size:600% 300%!important;background-position:var(--reaction-x) var(--reaction-y)!important;animation:none!important;transform-origin:center bottom}
.prepared-serving{display:block;position:relative;width:100%;height:100%;isolation:isolate}.prepared-serving>.prepared-art{width:100%;height:100%;position:absolute;inset:0;transform:none!important}.prepared-chunk{display:block;position:absolute;width:17%;height:17%;transform:translate(-50%,-50%) rotate(var(--angle));filter:drop-shadow(0 1px 0 #874a3b88);pointer-events:none}.prepared-chunk>.art-sprite{width:100%;height:100%;border-radius:12% 24% 14% 22%}
.food.burned .food-visual,.appliance-load[data-state=burned]{filter:sepia(.55) saturate(.78) brightness(.73)!important}.food.burned .prepared-serving:after{content:'';position:absolute;inset:25% 20% 24%;border-radius:43%;background:radial-gradient(ellipse at 25% 45%,#63301899 0 4%,transparent 7%),radial-gradient(ellipse at 68% 35%,#6f361b99 0 5%,transparent 9%),radial-gradient(ellipse at 52% 65%,#7e412288 0 7%,transparent 10%);pointer-events:none;mix-blend-mode:multiply}.food.golden .food-visual{filter:sepia(.28) saturate(1.23) brightness(.95)!important}.food.boiled .food-visual{filter:saturate(.92) brightness(.98)}
.food:has(.prepared-serving){width:52%;height:110%}.tool-result-preview>.prepared-serving{width:100%;height:100%}.load-item>.prepared-serving{width:100%;height:100%}.eat-traveller>.prepared-serving,.drag-ghost>.prepared-serving{width:100%;height:100%}.appliance-load{z-index:2}.tool-result-preview{z-index:3}
/* Keep the food's colors visible; use toasted patches instead of a black silhouette. */
.food.burned .food-visual,.appliance-load[data-state=burned]{filter:sepia(.32) saturate(.88) brightness(.88)!important}
.prepared-chunk{width:22%;height:22%}.prepared-sauce{display:block;position:absolute;left:24%;top:28%;width:52%;height:31%;border-radius:42% 48% 40% 55%;background:radial-gradient(ellipse at 32% 20%,#fff7,transparent 35%),var(--sauce-color);opacity:.86;box-shadow:inset 0 -2px 3px #854d2c44;pointer-events:none}.prepared-serving[data-presentation=savory-sandwich] .prepared-sauce{top:57%;height:15%}.prepared-serving[data-presentation=fruit-salad] .prepared-chunk{height:25%;width:25%}
@media(min-width:800px){.food:has(.prepared-serving){height:145%}}
/* Keep every pose behind the counter, including upward reaction movements. */
.character{bottom:-24px}
/* Prepared dishes share the plate anchor and retain a larger, upright silhouette. */
.food:has(.prepared-serving){width:70%;height:180%;margin-top:3px;transform:translate(-50%,-50%)!important}
@media(min-width:800px){.character{bottom:-34px}.food:has(.prepared-serving){width:70%;height:200%}}

/* The counter edge is opaque; no shadow may tint the character area above it. */
.table{box-shadow:inset 0 -6px 0 #84412b88}
