/* v53: Sports bet place hone ka popup (progress / success / fail). Sirf dikhawat; bet / odds / paisa me koi badlav nahi. */
#bfx{position:fixed;inset:0;z-index:99990;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(4,7,13,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);touch-action:none}
#bfx.on{display:flex;animation:bfxf .18s ease-out}
#bfx .bf{width:min(100%,340px);max-height:calc(100% - 24px);overflow:auto;padding:24px 20px 18px;border-radius:24px;background:var(--s1,#141b2b);border:1px solid var(--ln,#ffffff1f);box-shadow:0 24px 70px #000c;text-align:center;color:var(--tx,#fff);animation:bfxp .22s cubic-bezier(.2,.9,.3,1.15)}
#bfx .bf-ic{position:relative;width:76px;height:76px;margin:0 auto 14px;display:grid;place-items:center}
#bfx .bf-ic svg{width:76px;height:76px;display:block}
#bfx .bf-ring{fill:none;stroke:#ffffff1a;stroke-width:5}
#bfx .bf-arc{fill:none;stroke:var(--gold2,#f5c451);stroke-width:5;stroke-linecap:round;stroke-dasharray:60 160;transform-origin:50% 50%;animation:bfxs 1s linear infinite}
#bfx .bf-ok{fill:none;stroke:#2fd27a;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:60;stroke-dashoffset:60;animation:bfxd .45s .1s ease-out forwards}
#bfx .bf-er{fill:none;stroke:#ff5b62;stroke-width:5;stroke-linecap:round;stroke-dasharray:40;stroke-dashoffset:40;animation:bfxd .4s .1s ease-out forwards}
#bfx .bf-bg{fill:none;stroke-width:5;transition:stroke .2s}
#bfx.ok .bf-bg{stroke:#2fd27a;fill:#2fd27a22}
#bfx.er .bf-bg{stroke:#ff5b62;fill:#ff5b6222}
#bfx .bf h3{margin:0 0 4px;font:800 21px/1.15 var(--disp,var(--sans,system-ui));letter-spacing:.03em;color:var(--gold2,#f5c451)}
#bfx.ok .bf h3{color:#2fd27a}
#bfx.er .bf h3{color:#ff6b72}
#bfx .bf-sub{margin:0 0 14px;font:500 13px/1.4 var(--sans,system-ui);color:var(--mut,#9aa6bd)}
#bfx .bf-box{margin:0 0 14px;padding:10px 12px;border-radius:16px;background:#0005;border:1px solid var(--ln,#ffffff1f);text-align:left}
#bfx .bf-r{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0;font:600 13px/1.25 var(--sans,system-ui)}
#bfx .bf-r+.bf-r{border-top:1px dashed #ffffff18}
#bfx .bf-r span{color:var(--mut,#9aa6bd);font-weight:500}
#bfx .bf-r b{text-align:right;min-width:0;overflow-wrap:anywhere}
#bfx .bf-sd{display:inline-block;padding:2px 9px;border-radius:7px;font:800 11px/1.5 var(--sans,system-ui);letter-spacing:.06em;color:#0a0d14}
#bfx .bf-sd.b{background:#6fb9f2}
#bfx .bf-sd.l{background:#f7a8ba}
#bfx .bf-pg{height:7px;margin:0 0 12px;border-radius:99px;background:#ffffff14;overflow:hidden}
#bfx .bf-pg i{display:block;height:100%;width:6%;border-radius:99px;background:linear-gradient(90deg,var(--gold,#d9a526),var(--gold2,#f5c451));transition:width .35s ease-out}
#bfx.ok .bf-pg i{background:#2fd27a}
#bfx .bf-st{list-style:none;margin:0 0 6px;padding:0;text-align:left}
#bfx .bf-st li{display:flex;align-items:center;gap:10px;padding:4px 2px;font:600 13px/1.3 var(--sans,system-ui);color:#ffffff55;transition:color .2s}
#bfx .bf-st li u{flex:none;width:18px;height:18px;border-radius:50%;border:2px solid #ffffff30;box-sizing:border-box;display:grid;place-items:center;text-decoration:none;font-size:11px;line-height:1;color:#0a0d14}
#bfx .bf-st li.on{color:var(--tx,#fff)}
#bfx .bf-st li.on u{border-color:var(--gold2,#f5c451);border-top-color:transparent;animation:bfxs .8s linear infinite}
#bfx .bf-st li.dn{color:var(--tx,#fff)}
#bfx .bf-st li.dn u{background:#2fd27a;border-color:#2fd27a;animation:none}
#bfx .bf-st li.dn u:after{content:"\2713"}
#bfx .bf-st li.x{color:#ff8c91}
#bfx .bf-st li.x u{background:#ff5b62;border-color:#ff5b62;animation:none}
#bfx .bf-st li.x u:after{content:"\00d7";font-size:14px}
#bfx .bf-warn{margin:8px 0 0;font:700 12.5px/1.4 var(--sans,system-ui);color:var(--gold2,#f5c451)}
#bfx .bf-ft{display:flex;gap:8px;margin-top:14px}
#bfx .bf-ft:empty{display:none}
#bfx .bf-ft button{flex:1;height:46px;border-radius:13px;border:1px solid var(--ln,#ffffff1f);background:var(--s2,#1c2538);color:var(--tx,#fff);font:800 14px var(--sans,system-ui);cursor:pointer}
#bfx .bf-ft button.p{border:0;background:linear-gradient(180deg,var(--gold2,#f5c451),var(--gold,#d9a526));color:var(--ink,#0a0d14)}
#bfx .bf-ft button:active{transform:scale(.97)}
@keyframes bfxs{to{transform:rotate(360deg)}}
@keyframes bfxd{to{stroke-dashoffset:0}}
@keyframes bfxf{from{opacity:0}to{opacity:1}}
@keyframes bfxp{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#bfx .bf,#bfx.on,#bfx .bf-arc,#bfx .bf-st li.on u{animation:none}#bfx .bf-ok,#bfx .bf-er{animation:none;stroke-dashoffset:0}}
