html[data-design][data-page] #main#main#main .recipe-detail-heading{display:flex;align-items:center;min-height:46px;margin:0 0 12px;padding:0;box-sizing:border-box}
html[data-design][data-page] #main#main#main .recipe-detail-heading>[data-back]{display:none!important}
html[data-design][data-page] #main#main#main .recipe-detail-heading>h1{flex:1;min-width:0;margin:0;text-align:start;font-size:clamp(1.5rem,5.4vw,2.2rem);line-height:1.2;overflow-wrap:anywhere}
html[data-design][data-page] #main#main#main .recipe-detail-sheet{margin-top:0!important}
html[data-design][data-page] #main#main#main .recipe-detail-sheet>.detail-media{display:grid;grid-template-columns:minmax(0,1fr) clamp(90px,26%,120px);align-items:stretch;gap:8px}
html[data-design][data-page] #main#main#main .recipe-detail-sheet>.detail-media>img{width:100%;height:100%;min-height:250px;object-fit:cover;border-radius:18px}
html[data-design][data-page] #main#main#main .recipe-detail-sheet .detail-badges{display:grid;grid-template-rows:repeat(4,minmax(58px,1fr));gap:7px;align-self:stretch;margin:0;min-width:0}
html[data-design][data-page] #main#main#main .recipe-detail-sheet .detail-badges>:is(button,.detail-fact){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0;min-height:58px;margin:0;padding:5px;border:1px solid var(--edge,#cbd5d8);border-radius:12px;background:var(--soft,#e5eff2);color:var(--ink);font:700 .8rem/1.2 var(--al-font,Georgia,serif);box-sizing:border-box}
html[data-design][data-page] #main#main#main .recipe-detail-sheet .detail-badges>[data-save-detail]{background:var(--accent);border-color:var(--accent);color:var(--accent-text,#fff);font-size:.95rem}
html[data-design][data-page] #main#main#main .recipe-detail-sheet .detail-badges svg{width:20px;height:20px;flex:none}
html[data-design][data-page] #main#main#main .recipe-detail-sheet .detail-badges .detail-fact small{font-size:.75rem}
html[data-design][data-page] #main#main#main .recipe-detail-sheet .detail-portion-count{display:flex;align-items:center;justify-content:center;gap:5px;max-width:100%;padding:0;white-space:normal}
html[data-design][data-page] #main#main#main .recipe-detail-sheet [data-detail-delta]{min-width:26px;min-height:30px;padding:2px;background:none;border:0;font:inherit;color:inherit}
html[data-design][data-page] #main#main#main .recipe-detail-sheet .recipe-description{margin:12px 0 16px;font-size:1.05rem;line-height:1.55}
html[data-design][data-page] #main#main#main .recipe-detail-creator{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:12px 0 18px;padding:12px 10px;border:1px solid var(--edge,#cbd5d8);border-radius:16px;background:var(--surface,#fffdf9)}
html[data-design][data-page] #main#main#main .recipe-detail-creator .recipe-author-link{display:flex;align-items:center;gap:9px;flex:1;min-width:0;max-width:100%;padding:0;margin:0;font-size:.9rem;line-height:1.3}
html[data-design][data-page] #main#main#main .recipe-detail-creator .recipe-author-link img{width:64px!important;height:64px!important;flex:none;border-radius:50%!important;background:var(--soft)}
html[data-design][data-page] #main#main#main .recipe-detail-creator .recipe-author-link>span{display:flex;align-items:baseline;gap:5px;min-width:0;white-space:nowrap;overflow:hidden}
html[data-design][data-page] #main#main#main .recipe-detail-creator .recipe-author-link strong{display:inline;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:1.125rem;color:var(--accent)}
html[data-design][data-page] #main#main#main .recipe-detail-summary{display:grid;grid-template-columns:minmax(0,1fr) 112px;align-items:stretch;gap:8px;margin:0 0 14px;padding:0;border:0}
html[data-design][data-page] #main#main#main .recipe-detail-summary>.detail-social{min-width:0;margin:0;padding:5px 8px;display:flex;align-items:center;border-radius:12px;min-height:44px}
html[data-design][data-page] #main#main#main .recipe-detail-summary .rating-block{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;min-width:0}
html[data-design][data-page] #main#main#main .recipe-detail-summary .rating-block>strong{font-size:.8rem}
html[data-design][data-page] #main#main#main .recipe-detail-summary>.recipe-average-rating{grid-column:1/-1;justify-self:end}
html[data-design][data-page] #main#main#main .recipe-detail-summary>.recipe-detail-status{grid-column:1/-1;min-width:0;margin:0;font-size:.85rem;overflow-wrap:anywhere}
html[data-design][data-page] #main#main#main .recipe-detail-reactions{align-self:center;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:7px;min-width:0}
html[data-design][data-page] #main#main#main .recipe-detail-reactions>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:0;width:100%;margin:0;padding:7px 5px;border:1px solid var(--edge);border-radius:12px;background:var(--soft);color:var(--muted);font:inherit;font-size:.85rem;font-weight:600;cursor:pointer}
html[data-design][data-page] #main#main#main .recipe-detail-reactions>button svg{width:18px;height:18px;flex:none;order:-1}
html[data-design][data-page] #main#main#main .recipe-detail-reactions>button>:is(span,strong){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-design][data-page] #main#main#main .recipe-detail-reactions>.recipe-detail-like{border-color:color-mix(in srgb,var(--accent) 40%,var(--surface));background:color-mix(in srgb,var(--accent) 9%,var(--surface));color:var(--accent)}
html[data-design][data-page] #main#main#main .recipe-detail-reactions>button:disabled{opacity:.4;cursor:default}
html[data-design][data-page] #main#main#main .recipe-detail-reactions>.liked{background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--accent)}
html[data-design][data-page] #main#main#main .recipe-detail-reactions>[data-recipe-repost][aria-pressed=true]{background:color-mix(in srgb,#217957 9%,var(--surface));border-color:color-mix(in srgb,#217957 25%,var(--edge));color:#217957}
html[data-design][data-page] #main#main#main .recipe-detail-facts{display:grid;grid-template-columns:repeat(var(--recipe-detail-top-columns,3),minmax(0,1fr));align-items:start;gap:8px 6px;padding:12px 10px;border-radius:16px}
html[data-design][data-page] #main#main#main .recipe-detail-facts>div{min-width:0}
html[data-design][data-page] #main#main#main .recipe-detail-energy-value{display:flex;align-items:baseline;justify-content:center;gap:5px;min-width:0;white-space:nowrap}
html[data-design][data-page] #main#main#main .recipe-detail-energy-value>strong{font-size:clamp(.85rem,3vw,1.0625rem);overflow-wrap:anywhere}
@media(max-width:360px){html[data-design][data-page] #main#main#main .recipe-detail-summary{grid-template-columns:minmax(0,1fr) 106px;gap:6px}html[data-design][data-page] #main#main#main .recipe-detail-summary>.detail-social{padding:5px 6px}html[data-design][data-page] #main#main#main .recipe-detail-facts{padding:12px 7px;column-gap:4px}html[data-design][data-page] #main#main#main .recipe-detail-facts>div>span{font-size:.72rem}html[data-design][data-page] #main#main#main .recipe-detail-energy-value{gap:4px}}
html[data-design][data-page] #main#main#main .recipe-detail-sheet :is(button,a):focus-visible{outline:2px solid var(--accent);outline-offset:3px}

html[data-design][data-page] #main#main#main .recipe-detail-price{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;margin:0;padding:0;border:0}
html[data-design][data-page] #main#main#main .recipe-detail-price>strong .budget-estimate{font:inherit!important;color:inherit}
html[data-design][data-page] #main#main#main .recipe-detail-price>small{font-size:.8rem;color:var(--muted)}
html[data-design][data-page] #main#main#main .recipe-detail-energy{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;margin-top:2px;padding-top:10px;border-top:1px solid var(--edge)}
html[data-design][data-page] #main#main#main .recipe-detail-calories{display:flex;flex-direction:column;align-items:center;gap:4px}
html[data-design][data-page] #main#main#main .recipe-detail-nutriscore{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
html[data-design][data-page] #main#main#main .recipe-detail-score-label{font-size:.85rem;color:var(--ink)}
html[data-design][data-page] #main#main#main .recipe-detail-score{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:0;width:auto;height:auto;min-height:30px;padding:5px 8px;margin:0;border-radius:7px;font-size:.85rem;line-height:1.2;white-space:nowrap}
@media(max-width:360px){
html[data-design][data-page] #main#main#main .recipe-detail-summary .rating-block{gap:5px}
html[data-design][data-page] #main#main#main .recipe-detail-summary .rating-half{flex-basis:10px;width:10px!important;min-width:10px!important;font-size:20px}
html[data-design][data-page] #main#main#main .recipe-detail-summary .rating-half>span{width:20px}
html[data-design][data-page] #main#main#main .recipe-detail-summary .rating-half-right>span{left:-10px}
html[data-design][data-page] #main#main#main .recipe-detail-energy-value>strong{font-size:1.125rem!important}
html[data-design][data-page] #main#main#main .recipe-detail-energy-value>span{font-size:.72rem!important}
}

.recipe-heading-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;max-width:42%;margin-inline-start:12px}.recipe-heading-meta .recipe-average-rating{white-space:nowrap}.recipe-heading-meta .recipe-average-label{display:none}
/* Let the complete title use the mobile width; ratings and date get their own row. */
@media(max-width:600px){
html[data-design][data-page] #main#main#main .recipe-detail-heading{flex-wrap:wrap;gap:6px;align-items:flex-start}
html[data-design][data-page] #main#main#main .recipe-detail-heading>h1{flex:1 0 100%;width:100%;font-size:clamp(1.3rem,5.5vw,1.65rem)!important;line-height:1.18!important;overflow-wrap:break-word;text-wrap:pretty}
html[data-design][data-page] #main#main#main .recipe-detail-heading>.recipe-heading-meta{flex:1 0 100%;max-width:none;margin-inline-start:0;justify-content:flex-start;gap:8px}
}
@media(min-width:901px){html[data-design][data-page] #main#main#main .recipe-detail-sheet>.detail-media{grid-template-columns:minmax(0,1fr);align-content:start}html[data-design][data-page] #main#main#main .recipe-detail-sheet>.detail-media>img{height:auto;aspect-ratio:1;max-height:560px}html[data-design][data-page] #main#main#main .recipe-detail-sheet .detail-badges{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;gap:8px}}
