.sprite:not(.dough){background-image:var(--bread-image,none);background-position:center!important;background-size:contain;background-repeat:no-repeat;filter:none!important}
.bread-growth .growth-dough,.bread-growth .growth-finished{position:absolute;inset:0;width:100%;height:100%;transition:opacity .3s linear}
.bread-growth .growth-finished{background:none;filter:none}
.growth-finished:before,.growth-finished:after{content:"";position:absolute;inset:0}
.growth-finished:before{background:#ffe9b6;mask:var(--bread-image) center/contain no-repeat;-webkit-mask:var(--bread-image) center/contain no-repeat}
.growth-finished:after{background:var(--bread-image) center/contain no-repeat;opacity:var(--crust,0)}
.reward-progress{border:1px dashed #c8ceba;border-radius:10px;padding:12px 15px;margin:18px 0;font-size:14px;line-height:1.8;color:var(--green)}
.reward-progress summary{cursor:pointer}.reward-progress p{margin:8px 0 0}
.tier-tag{font:13px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#788068}
.unlock-note{font-family:BakeryHand,cursive;color:#a76c44;font-size:20px;margin:8px 0}
@media(prefers-reduced-motion:reduce){.bread-growth .growth-dough,.bread-growth .growth-finished{transition:none}}

.catalog-open{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid #aebc9f;border-radius:8px 12px 9px 7px;background:#edf0e3;color:var(--green);font:20px/1.5 BakeryHand,cursive;text-align:left}
.catalog-open span{font:13px/1.4 -apple-system,sans-serif;color:var(--muted)}
.catalog-eyebrow{margin-top:24px}.catalog-title{font-family:BakeryHand,cursive}
.catalog-tabs{display:flex;gap:8px;margin:22px 0;flex-wrap:wrap}.catalog-tabs button{flex:1;padding:8px;border:1px solid #cbd2bc;border-radius:8px;background:#fffaf0;color:var(--green);font:18px/1.4 BakeryHand,cursive;white-space:nowrap}
.catalog-tabs button[aria-pressed=true]{background:var(--green);color:#fffaf0;border-color:var(--green)}
.catalog-tier{padding:8px 0 25px;margin-bottom:18px;border-bottom:1px dashed #cbd2bc}.catalog-tier-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.catalog-tier-heading h3{font:23px/1.5 BakeryHand,cursive;margin:0}.catalog-tier-heading>span{white-space:nowrap;font-size:13px;color:var(--muted)}
.catalog-status{display:inline-block;background:#edf0e3;color:#536546;border-radius:6px;padding:3px 9px;font-size:12px;margin:10px 0 0}.catalog-condition{font-size:14px;line-height:1.8;margin:10px 0 17px;color:var(--muted)}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.catalog-bread{background:#fffaf0;border:1px solid #e1dece;border-radius:10px;padding:10px 7px;text-align:center}.catalog-bread.is-collected{border-color:#8ea278;background:#f0f2e8}.catalog-bread .sprite{width:100%;max-width:135px;margin:auto}.catalog-bread h4{font:18px/1.4 BakeryHand,cursive;margin:8px 0 5px}.catalog-bread>span{font-size:12px;color:var(--muted)}.catalog-footnote{line-height:1.8}
@media(max-width:480px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-tier-heading h3{font-size:21px}.catalog-open{font-size:18px}.catalog-open span{font-size:12px}.catalog-tabs{gap:5px}.catalog-tabs button{font-size:16px;padding:8px 5px}}

/* Keep every loaf inside the oven cavity, including its final rise. */
#dough-place{left:44%;top:50%;width:10%;height:15%}
#dough-place>.bread-growth,#dough-place>.sprite{width:100%;height:100%;min-height:0;aspect-ratio:auto}
