/* Sports */
.sx { padding: 0 0 80px; max-width: 1600px; margin: 0 auto; }
.sx-strip { display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 8px 12px; background: #101835; border-bottom: 1px solid #172043; position: sticky; top: 0; z-index: 5; }
.sx-strip::-webkit-scrollbar { display: none; }
.sx-strip button { position: relative; flex: none; width: 42px; height: 40px; display: grid; place-items: center; color: #8d97cf; border-radius: 10px; transition: .15s; }
.sx-strip button:hover { color: #fff; background: #172148; }
.sx-strip button.on { color: #fff; background: #1c2853; box-shadow: inset 0 -2px 0 #3d5afe; }
.sx-strip u { position: absolute; top: 5px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ff3b4d; box-shadow: 0 0 0 2px #101835; }
.sx-sep { width: 1px; height: 24px; background: #1c2649; margin: 0 6px; flex: none; }
.sx-chips { display: flex; gap: 8px; padding: 12px 16px 4px; flex-wrap: wrap; }
.sx-chips button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9px; background: #151f41; color: #aab3e6; font-weight: 800; font-size: 11px; letter-spacing: .06em; }
.sx-chips button.on { background: #3d5afe; color: #fff; }
#spBody { padding: 8px 16px 0; }
.sx-ban { position: relative; overflow: hidden; border-radius: 16px; min-height: 190px; background: linear-gradient(100deg, #141d3d 0%, #1c2853 55%, #4a1631 100%); margin: 8px 0 16px; display: flex; align-items: center; }
.sx-ban-t { position: relative; z-index: 2; padding: 28px 30px; }
.sx-ban-t small { color: #ff6b86; font-weight: 800; letter-spacing: .14em; font-size: 11px; }
.sx-ban-t h2 { margin: 6px 0 6px; font-size: clamp(28px, 5vw, 46px); font-weight: 800; letter-spacing: -.01em; }
.sx-ban-t p { color: #b6bfef; font-size: 14px; margin: 0; }
.sx-ban-art { position: absolute; right: 0; top: 0; height: 100%; width: 60%; max-width: 520px; }
.sx-sec { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; margin: 20px 0 12px; }
.sx-sec svg { color: #f5b83d; }
.sx-pulse { width: 10px; height: 10px; border-radius: 50%; background: #ff3b4d; box-shadow: 0 0 0 0 rgba(255,59,77,.6); animation: sppulse 1.6s infinite; }
@keyframes sppulse { 70% { box-shadow: 0 0 0 9px rgba(255,59,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,77,0); } }
.sx-title { display: flex; align-items: center; gap: 10px; margin: 8px 16px 4px; } .sx-title h2 { margin: 0; font-size: 22px; font-weight: 800; } .sx-title svg { color: #7f8cff; }
.sx-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .sx-row::-webkit-scrollbar { display: none; }
.sx-row .sx-card { flex: 0 0 310px; }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sx-pop { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; padding-bottom: 2px; } .sx-pop::-webkit-scrollbar { display: none; }
.sx-pop button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: #151f41; color: #aab3e6; font-weight: 700; font-size: 13px; white-space: nowrap; }
.sx-pop button svg { width: 15px; height: 15px; } .sx-pop button.on { background: #3d5afe; color: #fff; }
.sx-card { background: #141d3f; border: 1px solid #1a2449; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sx-card.live { border-color: #3a2150; background: linear-gradient(180deg, #182245, #141d3f); }
.sx-h { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #8d97cf; font-weight: 600; }
.sx-lgn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-live { color: #ff5468; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .sx-live i { width: 6px; height: 6px; border-radius: 50%; background: #ff3b4d; animation: sppulse 1.6s infinite; }
.sx-fin { color: #7f89c4; }
.sx-t { display: flex; align-items: center; gap: 9px; min-height: 26px; }
.sx-n { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-sc { font-size: 16px; min-width: 22px; text-align: right; color: #d6dcff; } .sx-sc.w { color: #fff; }
.sx-lg { width: 24px; height: 24px; border-radius: 50%; object-fit: contain; flex: none; }
.sx-lgf { display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: #3a4690; }
.sx-mk { display: flex; gap: 6px; }
.sx-od { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 8px; background: #1a2651; color: #b7c0f0; font-size: 12px; transition: .12s; }
.sx-od b { color: #fff; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sx-od:hover:not(:disabled) { background: #4b5164; } .sx-od.on { background: #3d5afe; color: #fff; } .sx-od:disabled { opacity: .45; cursor: default; }
.sx-od span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-na { color: #6f79b4; font-size: 12.5px; padding: 8px 0 2px; }
.sx-empty { color: #7f89c4; text-align: center; padding: 48px 16px; font-size: 14px; }
/* betslip */
.slip { position: fixed; right: 16px; bottom: 16px; width: 340px; max-width: calc(100vw - 24px); z-index: 60; background: #172145; border-radius: 14px 14px 10px 10px; box-shadow: 0 16px 50px rgba(0,0,0,.55); overflow: hidden; }
.sl-h { width: 100%; display: flex; align-items: center; gap: 9px; padding: 13px 16px; background: #3d5afe; color: #fff; font-size: 15px; }
.sl-h em { font-style: normal; background: #fff; color: #3d5afe; border-radius: 99px; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.sl-chev { margin-left: auto; font-style: normal; opacity: .85; }
.sl-b { display: none; padding: 12px; max-height: 60vh; overflow-y: auto; } .slip.open .sl-b { display: block; }
.sl-empty { text-align: center; padding: 26px 8px; color: #98a1d4; display: flex; flex-direction: column; gap: 4px; align-items: center; } .sl-empty b { color: #fff; } .sl-empty small { font-size: 12px; } .sl-ic { color: #5a67c2; margin-bottom: 4px; }
.sl-leg { display: flex; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid #212d59; } .sl-leg > div { flex: 1; min-width: 0; } .sl-leg small { display: block; color: #8d97cf; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sl-leg span { font-weight: 700; font-size: 13.5px; }
.sl-leg b { font-variant-numeric: tabular-nums; } .sl-leg button { color: #7f89c4; padding: 4px; }
.sl-stake { margin: 12px 0 8px; } .sl-stake label { font-size: 12px; color: #98a1d4; display: block; margin-bottom: 6px; }
.sl-in { display: flex; gap: 6px; } .sl-in input { flex: 1; min-width: 0; background: #111a3c; border: 1px solid #4a4f60; color: #fff; border-radius: 8px; padding: 10px 12px; font-size: 15px; font-weight: 700; } .sl-in button { background: #212d59; color: #cfd6ff; border-radius: 8px; padding: 0 12px; font-weight: 800; }
.sl-sum { display: flex; justify-content: space-between; padding: 5px 2px; font-size: 13.5px; color: #98a1d4; } .sl-sum b { color: #fff; } .sl-sum .g { color: #38d98a; }
.sl-go { width: 100%; margin-top: 10px; } .sl-clear { width: 100%; padding: 10px; color: #7f89c4; font-size: 12.5px; }
/* my bets */
.sx-bets { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 14px; }
.sx-bet { background: #141d3f; border: 1px solid #1a2449; border-radius: 12px; padding: 12px; } .sx-bet.won { border-color: #1f7a52; } .sx-bet.lost { opacity: .8; }
.sx-bh { display: flex; justify-content: space-between; margin-bottom: 6px; } .sx-st { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: #212d59; } .sx-st.won { background: #1f7a52; } .sx-st.lost { background: #7a2430; } .sx-st.open { background: #3d5afe; }
.sx-bl { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13px; border-top: 1px solid #1a2449; } .sx-bl small { display: block; color: #8d97cf; } .sx-bl i { font-style: normal; margin-left: 6px; } .sx-bl i.win { color: #38d98a; } .sx-bl i.lose { color: #ff5468; }
.sx-bf { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid #1a2449; padding-top: 8px; font-size: 12px; color: #8d97cf; } .sx-bf b { display: block; color: #fff; font-size: 13px; }
@media (max-width: 999px) {
  .slip { right: 8px; left: 8px; width: auto; bottom: 8px; max-width: none; }
  .sx-row .sx-card { flex-basis: 280px; } .sx-grid { grid-template-columns: 1fr; }
  #spBody { padding: 8px 12px 0; } .sx-ban { min-height: 150px; } .sx-ban-t { padding: 20px; }
}
/* footer language menu */
.ft-lang { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; user-select: none; }
.lg-cur { display: inline-flex; align-items: center; gap: 10px; }
.lg-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); background: #172043; border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.55); z-index: 20; min-width: 190px; } .lg-menu[hidden] { display: none; }
.lg-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; color: #c9d0ff; font-weight: 600; font-size: 13.5px; text-align: left; } .lg-menu button:hover { background: #1f2a51; }
.lg-menu em { margin-left: auto; color: #3d8bff; font-style: normal; } .lg-menu small { margin-left: auto; color: #6f79b4; font-size: 10.5px; }
.fl { width: 22px; height: 22px; border-radius: 50%; flex: none; display: inline-block; }
.fl-gb { background: radial-gradient(circle, #fff 0 18%, #c8102e 19% 30%, #fff 31% 40%, #4c546c 41%); }
.fl-de { background: linear-gradient(#080b13 0 33%, #d00 33% 66%, #ffce00 66%); }
.fl-es { background: linear-gradient(#c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75%); }
.fl-fr { background: linear-gradient(90deg, #48516c 0 33%, #fff 33% 66%, #e1202e 66%); }
.fl-in { background: linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66%); }
