/* Fill popups on the bot page. Quiet for buys, a brief burst for a recorded profit, plain red for a loss. */
#botFillPopup{position:fixed;top:12px;right:12px;z-index:900;width:380px;max-width:calc(100vw - 24px)}
.bfp-toast{--bfp-tone:#4a5158;position:relative;display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;min-height:58px;padding:12px 14px;overflow:hidden;text-align:left;color:#08090a;background:#fff;border:1px solid var(--bfp-tone);border-radius:12px;box-shadow:0 12px 32px rgba(8,9,10,.2);font-family:inherit;font-variant-numeric:tabular-nums;cursor:pointer;animation:bfpDrop .46s cubic-bezier(.2,.9,.3,1) both}
.bfp-quiet{--bfp-tone:#7A5A10}
.bfp-win{--bfp-tone:#0E6B52}
.bfp-loss{--bfp-tone:#B3261E}
.bfp-badge{position:relative;display:block;flex:none;width:34px;height:34px}
.bfp-glyph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bfp-tone);color:#fff;font-size:17px;font-weight:700}
.bfp-ring{position:absolute;inset:0;display:block;border:2px solid var(--bfp-tone);border-radius:50%;animation:bfpRing .7s ease-out .22s both}
.bfp-spark{position:absolute;left:15px;top:15px;display:block;width:4px;height:4px;border-radius:50%;background:var(--bfp-tone);animation:bfpSpark .7s ease-out .22s both}
.bfp-words{display:block;flex:1 1 auto;min-width:0}
.bfp-title{display:block;font-size:14px;font-weight:650;overflow-wrap:anywhere}
.bfp-sub{display:block;margin-top:2px;font-size:12px;line-height:1.35;color:#4a5158;overflow-wrap:anywhere}
.bfp-money{flex:none;font-size:20px;font-weight:700;color:var(--bfp-tone)}
.bfp-life{position:absolute;left:0;right:0;bottom:0;display:block;height:3px;background:var(--bfp-tone);transform-origin:left;animation:bfpLife 5s linear both}
@keyframes bfpDrop{0%{transform:translateY(-130%);opacity:0}62%{transform:translateY(5px);opacity:1}100%{transform:translateY(0);opacity:1}}
@keyframes bfpRing{0%{transform:scale(.5);opacity:.75}100%{transform:scale(3);opacity:0}}
@keyframes bfpSpark{0%{transform:rotate(var(--bfp-angle)) translateY(0) scale(1);opacity:1}100%{transform:rotate(var(--bfp-angle)) translateY(-34px) scale(.3);opacity:0}}
@keyframes bfpLife{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){
  .bfp-toast,.bfp-life{animation:none}
  .bfp-ring,.bfp-spark{display:none}
}
