/* 承認済み4種は枠なしPNG。他のレシピは共通用紙と料理を重ねる。可変情報はHTMLで表示。 */
#wachaDialog .wacha-head #recipeBookGo{display:grid;place-items:center;flex:0 0 auto;width:clamp(30px,6dvh,46px);height:clamp(30px,6dvh,46px);min-height:0;padding:0;background:none;border:0;box-shadow:none}
#recipeBookGo img{width:100%;height:100%;object-fit:contain}
.recipe-composite{position:relative;display:inline-block;flex:none;width:clamp(64px,13dvh,112px);aspect-ratio:1;vertical-align:middle;isolation:isolate}
.recipe-composite img{position:absolute;object-fit:contain;max-width:none;max-height:none;pointer-events:none}
.recipe-composite .recipe-approved{inset:0;width:100%;height:100%;background:none;border:0;border-radius:0;box-shadow:none}
.recipe-composite .recipe-paper{width:84%;height:84%;top:0;left:0}
.recipe-composite .recipe-dish{width:66%;height:66%;right:0;bottom:0;filter:drop-shadow(0 1px 1px #4a301e70)}
.recipe-reward{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;color:#624520;font-weight:800}
#expeditionScreen .recipe-reward .recipe-composite{width:clamp(45px,10dvh,85px)}
#recipeBook{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;border:0;padding:clamp(6px,1.5vw,16px);background:linear-gradient(#173b34a0,#173b3460),url('../assets/backgrounds/bg_02_town_square.png') center/cover;color:#fff1d2;overflow:hidden}
#recipeBook[open]{display:flex;flex-direction:column;gap:6px}
#recipeBook .recipe-book-head{display:flex;align-items:center;gap:8px;flex:none}
#recipeBook h2,#recipeBook h3,#recipeBook p{margin:0}
#recipeBook .recipe-book-head strong{margin-left:auto}
#recipeBook .recipe-book-head button{border:0;background:var(--reg-secondary,url('../assets/ui/registered/button_secondary_teal.png')) center/100% 100% no-repeat;color:#fff1d2;padding:6px 14px;font-weight:bold}
#recipeBook .recipe-book-list{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(135px,100%),1fr));gap:6px;align-content:start}
#recipeBook .recipe-book-card{background:#fff0d1ed;border:1px solid #b28a47;border-radius:8px;color:#4e3b23;padding:5px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;min-width:0;font-size:clamp(10px,1.35vw,14px)}
#recipeBook .recipe-book-card h3{font-size:inherit;overflow-wrap:anywhere}
#recipeBook .recipe-book-card[data-learned=false] .recipe-composite{filter:grayscale(.8);opacity:.65}
#recipeBook .recipe-book-status{color:#5c7954;font-weight:bold}
#recipeBook [data-learned=false] .recipe-book-status{color:#806244}
#recipeBook .recipe-book-costs{display:flex;flex-wrap:wrap;gap:3px;justify-content:center}
#recipeBook .recipe-book-costs span{display:flex;align-items:center;gap:1px}
#recipeBook .recipe-book-costs img{width:22px;height:22px;object-fit:contain}
/* 新レシピ報告でも帰還ボタンが下端に隠れないよう、結果全体をスクロール可能にする。 */
#expeditionScreen[data-page=report] .exp-report{box-sizing:border-box;flex:0 0 auto;min-height:100%;justify-content:center}
#expeditionScreen[data-page=report] .exp-report>*{flex-shrink:0}
#expeditionScreen[data-page=report] .recipe-reward .recipe-composite{width:clamp(55px,15dvh,100px)}
@media(max-height:450px){#expeditionScreen[data-page=report] .exp-report{gap:3px;padding:5px}#expeditionScreen[data-page=report] .exp-report-party img{height:clamp(42px,15dvh,68px)}#expeditionScreen[data-page=report] .exp-report .recipe-reward .recipe-composite{width:clamp(48px,14dvh,64px)}#expeditionScreen[data-page=report] .exp-report>button{min-height:26px;padding:3px 12px}}
