/* Ingredient stickers share the app's warm paper, ink and quiet colours. */
.food-icon {--food-size:40px;display:inline-flex;width:var(--food-size);height:var(--food-size);flex:0 0 var(--food-size);align-items:center;justify-content:center;vertical-align:middle;border:1px solid #d7c5a85c;border-radius:13px;background:radial-gradient(ellipse at 32% 20%,#fffdf4e6,#f2e5cfb3);box-shadow:0 2px 3px #66513d08,inset 0 0 0 2px #fff9ef73;pointer-events:none;}
.food-icon svg {display:block;width:91%;height:91%;overflow:visible;}
.food-label {display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;vertical-align:middle;}
.food-label-name {min-width:0;overflow-wrap:anywhere;font:inherit;color:inherit;line-height:1.5;}
.recipes-page .recipes-theme-chip {gap:6px;padding:5px 10px 5px 5px;}
.recipes-theme-chip .food-icon {--food-size:27px;border-radius:50%;}
.recipes-page .recipes-wheel-stage {--wheel-size:282px;--wheel-radius:92px;width:var(--wheel-size);height:auto;aspect-ratio:1;}
.recipes-page .recipes-wheel-label {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:78px;margin-left:-39px;margin-top:-19px;overflow:visible;font-size:10px;line-height:13px;}
.recipes-wheel-label .food-icon {--food-size:32px;background:none;border:0;box-shadow:none;}
.recipes-wheel-food-name {display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.recipes-page .recipes-wheel-stage:is([data-wheel-count="11"],[data-wheel-count="12"]) .recipes-wheel-label {width:57px;margin-left:-28.5px;font-size:9px;}
.recipes-page .recipes-wheel-stage:is([data-wheel-count="11"],[data-wheel-count="12"]) .food-icon {--food-size:29px;}
.recipes-wheel-stage:is([data-wheel-count="11"],[data-wheel-count="12"]) .recipes-wheel-food-name {max-width:40px;}
.recipes-page .recipes-wheel-result {align-items:center;}
.recipes-page .recipes-wheel-result .food-label {font-size:18px;color:#755c45;}
.recipes-wheel-result .food-icon {--food-size:46px;border-radius:15px;}
.recipes-page .recipes-dish-foods {display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin-top:3px;}
.recipes-dish-foods .food-label {gap:5px;padding:3px 8px 3px 3px;background:#fffaf47d;border:1px solid #d4bfa043;border-radius:11px;font-size:12px;}
.recipes-dish-foods .food-icon {--food-size:29px;border:0;border-radius:8px;background:#f3e8d46b;box-shadow:none;}
.recipes-page .recipe-food-detail {display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;min-width:0;}
.recipe-food-detail > .food-icon {--food-size:44px;border-radius:14px;}
.recipe-food-copy {min-width:0;}
.recipes-page .recipe-food-copy .recipes-food-name {padding-left:0;}
.recipes-page .recipes-history-foods strong .food-label {display:flex;gap:6px;font:inherit;color:inherit;}
.recipes-page .recipes-history-foods .food-icon {--food-size:31px;display:inline-flex;border-radius:9px;margin-bottom:0;}
.recipes-page .recipes-history-foods .food-label-name {font:inherit;color:inherit;margin-bottom:0;}
.recipe-actual-detail .food-icon {--food-size:32px;}
.recipe-actual-detail .food-label {margin-bottom:5px;}
.recipe-energy-form .recipe-energy-edit-row legend {max-width:100%;padding:0 6px 0 0;line-height:1.5;}
.recipe-energy-form .recipe-energy-edit-row legend .food-label {font-size:13px;gap:9px;}
.recipe-energy-edit-row legend .food-icon {--food-size:42px;border-radius:13px;}
.recipe-editor-food-number {display:inline-block;margin-left:9px;padding:1px 5px;border:1px solid #dfd2be80;border-radius:5px;font:10px/1.5 Georgia,serif;color:#967d61;vertical-align:middle;}
.recipe-edit-recommendation .food-icon {--food-size:27px;border-radius:8px;}
.recipe-edit-recommendation .food-label {gap:6px;}
.recipe-history-actual .food-icon {--food-size:27px;border-radius:8px;}
.recipe-history-actual .food-label {gap:6px;}
.recipe-food-pool-preview {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:230px;overflow:auto;padding:3px 3px 8px;margin:7px 0 13px;scrollbar-width:thin;scrollbar-color:#c7b394 transparent;}
.recipe-food-pool-preview:empty {display:none;}
.recipe-food-pool-preview .food-label {display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 5px 7px;border:1px solid #d8c6a84d;border-radius:12px;background:linear-gradient(160deg,#fffaf2c9,#efe3cf5c);font-size:11px;text-align:center;}
.recipe-food-pool-preview .food-icon {--food-size:43px;background:none;border:0;box-shadow:none;}
@media (max-width:760px) {
 .recipes-page .recipe-food-detail {gap:9px;}
 .recipes-history-foods .food-icon {--food-size:30px;}
}
@media (max-width:480px) {
 .recipes-page .recipes-wheel-stage {--wheel-size:250px;--wheel-radius:81px;}
 .recipes-page .recipes-wheel-label {width:67px;margin-left:-33.5px;font-size:9px;}
 .recipes-wheel-label .food-icon {--food-size:28px;}
 .recipes-page .recipes-wheel-stage:is([data-wheel-count="11"],[data-wheel-count="12"]) .recipes-wheel-label {width:46px;margin-left:-23px;font-size:8px;}
 .recipes-page .recipes-wheel-stage:is([data-wheel-count="11"],[data-wheel-count="12"]) .food-icon {--food-size:25px;}
 .recipes-wheel-stage:is([data-wheel-count="11"],[data-wheel-count="12"]) .recipes-wheel-food-name {max-width:32px;}
 .recipe-food-pool-preview {grid-template-columns:repeat(3,minmax(0,1fr));}
 .recipes-page .recipe-food-detail {padding-left:35px;grid-template-columns:39px minmax(0,1fr);}
 .recipe-food-detail > .food-icon {--food-size:39px;}
 .recipe-energy-edit-row legend .food-icon {--food-size:36px;}
}
@media (max-width:360px) {
 .recipes-page .recipes-wheel-stage {--wheel-size:224px;--wheel-radius:72px;}
 .recipes-page .recipes-wheel-label {width:60px;margin-left:-30px;gap:1px;}
 .recipes-wheel-label .food-icon {--food-size:25px;}
 .recipes-wheel-stage:is([data-wheel-count="11"],[data-wheel-count="12"]) .recipes-wheel-food-name {max-width:28px;}
}
