/* M39: new chapter scoped to the existing unified Center, no Inventory mechanics. */
.ufm25-center .ufm39-story .ufm39-flow{
  display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr);
  align-items:center;gap:9px;margin:14px 0 16px;
}
.ufm25-center .ufm39-story .ufm39-flow>div{min-width:0;background:#101e2c;border:1px solid #36546e;border-radius:9px;padding:12px 10px;text-align:center}
.ufm25-center .ufm39-story .ufm39-flow strong{display:block;color:#e7bb7c;font-size:12px;line-height:1.4}
.ufm25-center .ufm39-story .ufm39-flow small{display:block;color:#b5c8d7;font-size:10px;margin-top:5px;line-height:1.45}
.ufm25-center .ufm39-story .ufm39-flow>span{color:#9acaa9;text-align:center;font-size:24px}
.ufm39-toast{position:fixed;right:18px;bottom:188px;z-index:2147481802;box-sizing:border-box;width:min(355px,calc(100vw - 28px));max-width:calc(100vw - 28px);background:#122536;border:1px solid #478a70;border-left:4px solid #8fdbac;border-radius:12px;padding:14px 16px;color:#eaf5ed;box-shadow:0 16px 40px #000a;opacity:0;transform:translateY(12px);transition:opacity .25s,transform .25s;pointer-events:none}
.ufm39-toast.ufm39-show{opacity:1;transform:translateY(0)}
.ufm39-toast small{display:block;color:#9adbb2;font-size:10px;font-weight:850;letter-spacing:1.1px;margin-bottom:6px}
.ufm39-toast strong{display:block;font-size:14px;margin-bottom:5px}
.ufm39-toast span{display:block;font-size:12px;line-height:1.5;color:#c7d8d0}
@media(max-width:680px){
 .ufm25-center .ufm39-story .ufm39-flow{grid-template-columns:1fr;gap:6px}
 .ufm25-center .ufm39-story .ufm39-flow>span{transform:rotate(90deg);font-size:19px;line-height:1}
 .ufm39-toast{right:14px;bottom:130px;width:calc(100vw - 28px)}
}
@media(prefers-reduced-motion:reduce){.ufm39-toast{transition:none}}
