/* ============================================================================
   كورة لايف — تنسيقات المراهنات (متناسقة مع ثيم الموقع الداكن)
   ============================================================================ */

/* صف الأودز على بطاقة المباراة */
.bet-odds-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.odds-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e8edf5;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.odds-btn:hover { background: rgba(255, 255, 255, 0.06); }
.odds-btn .ob-tag { color: #8a96a8; font-size: 11px; font-weight: 700; }
.odds-btn .ob-val { color: #ffd24a; }
.odds-btn.active {
  background: linear-gradient(135deg, #1db954, #0e8c3d);
  border-color: #1db954;
}
.odds-btn.active .ob-tag, .odds-btn.active .ob-val { color: #fff; }

/* زر سلة الرهان العائم (FAB) */
.bet-slip-fab {
  position: fixed;
  left: 16px;
  bottom: 78px;
  z-index: 1400;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1db954, #0e8c3d);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.4);
  cursor: pointer;
}
.bet-slip-fab.show { display: flex; }
.bet-slip-fab svg { width: 24px; height: 24px; }
.bet-slip-fab span {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: #ff3b5c;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0e1a;
}

/* السلة المنزلقة */
.bet-slip-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1450;
}
.bet-slip-overlay.show { opacity: 1; pointer-events: auto; }
.bet-slip {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #121826;
  border-radius: 22px 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 80vh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 12px);
}
.bet-slip.open { transform: translateY(0); }
.bs-handle {
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 10px auto 6px;
}
.bs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 12px;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}
.bs-close {
  background: none;
  border: none;
  color: #8a96a8;
  font-size: 18px;
  cursor: pointer;
}
.bs-list { padding: 0 14px; }
.bs-empty { color: #6b7688; text-align: center; padding: 24px 0; font-size: 14px; }
.bs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.bs-rm {
  background: none;
  border: none;
  color: #ff3b5c;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}
.bs-item-main { flex: 1; text-align: right; }
.bs-pick { color: #fff; font-weight: 800; font-size: 14px; }
.bs-match { color: #8a96a8; font-size: 12px; margin-top: 2px; }
.bs-odds { color: #ffd24a; font-weight: 900; font-size: 15px; }
.bs-foot {
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 6px;
}
.bs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #aeb8c8;
  font-size: 13px;
  margin-bottom: 8px;
}
.bs-row b { color: #fff; font-weight: 900; }
.bs-win b { color: #1db954; font-size: 16px; }
.bs-stake {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px 12px;
  margin: 6px 0 10px;
}
.bs-stake label { color: #8a96a8; font-size: 13px; font-weight: 700; }
.bs-stake input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
}
.bs-cur { color: #8a96a8; font-weight: 700; }
.bs-chips { display: flex; gap: 6px; margin-bottom: 12px; }
.bs-chip {
  flex: 1;
  padding: 8px 4px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #cdd6e3;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.bs-chip:hover { background: rgba(255, 255, 255, 0.07); }
.bs-login {
  background: rgba(255, 210, 74, 0.1);
  border: 1px solid rgba(255, 210, 74, 0.3);
  color: #ffd24a;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.bs-place {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #1db954, #0e8c3d);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}
.bs-place:disabled { opacity: 0.5; cursor: not-allowed; }

/* أنواع الرهان: أحادي / تراكمي */
.bs-modes { display: flex; gap: 8px; padding: 10px 18px 4px; }
.bs-mode { flex: 1; padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.03); color: #c2cad6; font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.bs-mode.active { background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; border-color: transparent; }
.bs-item-dim { opacity: .4; }
.bs-acca-warn { background: rgba(255,193,7,.1); border: 1px solid rgba(255,193,7,.3); color: #ffce5a; border-radius: 9px; padding: 8px 10px; font-size: 12px; font-weight: 700; margin-bottom: 10px; text-align: center; }
.bs-acca-ok { background: rgba(29,185,84,.1); border: 1px solid rgba(29,185,84,.3); color: #2fe06a; border-radius: 9px; padding: 8px 10px; font-size: 12px; font-weight: 700; margin-bottom: 10px; text-align: center; }
.bs-single-info { background: rgba(75,184,250,.1); border: 1px solid rgba(75,184,250,.3); color: #6cc5ff; border-radius: 9px; padding: 8px 10px; font-size: 12px; font-weight: 700; margin-bottom: 10px; text-align: center; }
/* وميض عند تغيّر الأودز في القسيمة */
.bs-odds-flash { animation: bsOddsFlash .6s ease; }
@keyframes bsOddsFlash { 0% { color: #4bb8fa; transform: scale(1.25); } 100% { color: #ffd24a; transform: scale(1); } }

/* Toast */
.bet-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 1600;
  background: #1f2738;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  max-width: 90vw;
  text-align: center;
}
.bet-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══ شاشة الرهان الكاملة (تتوقّف فوق شريط التنقل ليبقى ظاهراً وقابلاً للضغط) ═══ */
.bet-screen {
  position: fixed; top: 0; left: 0; right: 0;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  z-index: 120;
  background: #0a0e1a; transform: translateY(120%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column; overflow: hidden;
  padding-top: env(safe-area-inset-top);
}
.bet-screen.open { transform: translateY(0); }
.bsc-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.bsc-back { background: none; border: none; color: #8a96a8; font-size: 20px; cursor: pointer; }
.bsc-title { flex: 1; color: #fff; font-weight: 900; font-size: 16px; }
.bsc-bal { background: rgba(29,185,84,.12); color: #1db954; padding: 6px 12px; border-radius: 10px; font-weight: 900; font-size: 13px; }
/* جرس الإشعارات */
.bsc-bell { position: relative; background: none; border: none; color: #cdd6e3; cursor: pointer; padding: 4px; display: inline-flex; }
.bsc-bell-badge { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ff3b5c; color: #fff; font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
/* نافذة الإشعارات */
.bs-notifs-ov { position: fixed; inset: 0; z-index: 1595; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .25s; display: flex; align-items: flex-end; }
.bs-notifs-ov.open { opacity: 1; pointer-events: auto; }
.bs-notifs-box { width: 100%; max-height: 80vh; display: flex; flex-direction: column; background: #121826; border-radius: 24px 24px 0 0; padding: 0 16px 24px; max-width: 460px; margin: 0 auto; }
.bs-notifs-head { display: flex; align-items: center; justify-content: space-between; color: #fff; font-weight: 900; font-size: 17px; padding: 8px 4px 12px; }
.bs-notifs-close { background: none; border: none; color: #8a96a8; font-size: 18px; cursor: pointer; }
.bs-notifs-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.bs-notif { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.bs-notif.unread { background: rgba(75,184,250,.07); border-color: rgba(75,184,250,.25); }
.bs-notif-ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; }
.bs-notif-success .bs-notif-ic { background: rgba(29,185,84,.15); color: #2fe06a; }
.bs-notif-error .bs-notif-ic { background: rgba(255,59,92,.15); color: #ff6b81; }
.bs-notif-info .bs-notif-ic { background: rgba(75,184,250,.15); color: #4bb8fa; }
.bs-notif-main { flex: 1; min-width: 0; }
.bs-notif-title { color: #fff; font-weight: 800; font-size: 14px; }
.bs-notif-body { color: #aeb8c8; font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.bs-notif-time { color: #6b7688; font-size: 11px; margin-top: 5px; }
.bsc-tabs { display: flex; gap: 8px; padding: 10px 16px; }
.bsc-tab { flex: 1; padding: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: #aeb8c8; border-radius: 10px; font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.bsc-tab.active { background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; border-color: #1db954; }
.bsc-body { flex: 1; overflow-y: auto; padding: 8px 12px 90px; }
.bsc-empty { color: #6b7688; text-align: center; padding: 40px 0; font-size: 14px; }
.bsc-league { color: #ffd24a; font-weight: 800; font-size: 14px; padding: 16px 4px 10px; display: flex; align-items: center; gap: 8px; }
.bsc-league::before { content: ''; width: 4px; height: 16px; background: linear-gradient(180deg,#ffd24a,#ff9d2a); border-radius: 2px; }

/* بطاقة مباراة الرهان */
.bm-card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 14px; margin-bottom: 14px; box-shadow: 0 4px 18px -8px rgba(0,0,0,.5); }
.bm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; }
.bm-live { color: #ff3b5c; font-size: 12px; font-weight: 800; }
.bm-time { display: inline-flex; align-items: center; gap: 5px; color: #8a96a8; font-size: 12px; font-weight: 700; }
.bm-time svg { opacity: .8; }
.bm-league-tag { color: #ffd24a; font-size: 11px; font-weight: 800; background: rgba(255,210,74,.1); padding: 4px 10px; border-radius: 8px; white-space: nowrap; max-width: 50%; overflow: hidden; text-overflow: ellipsis; }

/* الفرق + الشعارات */
.bm-teams { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; gap: 8px; }
.bm-team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.bm-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: rgba(255,255,255,.06); padding: 4px; }
.bm-logo-ph { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 900; }
.bm-team-name { color: #fff; font-weight: 800; font-size: 13px; text-align: center; line-height: 1.25; max-width: 100%; }
.bm-vs { color: #6b7688; font-size: 13px; font-weight: 900; align-self: center; padding-top: 16px; letter-spacing: 1px; }

/* كتلة سوق */
.bm-mkt-block { margin-bottom: 10px; }
.bm-mkt-hint { color: #8a96a8; font-size: 11.5px; font-weight: 800; margin: 0 2px 6px; }
.bm-odds-row { display: flex; gap: 7px; }
.bm-odds { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 4px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); color: #e8edf5; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; min-height: 52px; transition: background .15s, border-color .15s; }
.bm-odds:active { background: rgba(255,255,255,.08); }
.bm-odds.disabled { opacity: .35; }
.bm-odds .bm-tag { color: #aeb8c8; font-size: 10.5px; font-weight: 700; text-align: center; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bm-odds .bm-val { color: #ffd24a; font-size: 15px; }
.bm-odds.active { background: linear-gradient(135deg,#1db954,#0e8c3d); border-color: #1db954; }
.bm-odds.active .bm-tag, .bm-odds.active .bm-val { color: #fff; }

/* زر عرض كل الأسواق — عرض كامل تحت */
.bm-more { width: 100%; margin-top: 6px; background: rgba(75,184,250,.1); border: 1px solid rgba(75,184,250,.25); color: #4bb8fa; font-size: 12.5px; font-weight: 800; padding: 11px; border-radius: 12px; cursor: pointer; font-family: inherit; }
.bm-more:active { background: rgba(75,184,250,.2); }

/* أسواق المباراة (overlay) */
.bm-markets { position: fixed; inset: 0; z-index: 1520; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .25s; display: flex; align-items: flex-end; }
.bm-markets.open { opacity: 1; pointer-events: auto; }
.bmm-inner { width: 100%; max-height: 82vh; overflow-y: auto; background: #121826; border-radius: 22px 22px 0 0; padding-bottom: 24px; }
.bmm-load { color: #8a96a8; text-align: center; padding: 30px; }
.bmm-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.06); position: sticky; top: 0; background: #121826; }
.bmm-head button { background: none; border: none; color: #8a96a8; font-size: 18px; cursor: pointer; }
.bmm-head b { color: #fff; font-size: 14px; }
.bmm-list { padding: 8px 14px; }
.bmm-mk { margin-bottom: 14px; }
.bmm-mk-name { display: flex; align-items: center; gap: 8px; color: #aeb8c8; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.bmm-help { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(75,184,250,.4); background: rgba(75,184,250,.12); color: #4bb8fa; font-family: inherit; font-size: 11px; font-weight: 900; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.bmm-help:active { background: rgba(75,184,250,.25); }
.bmm-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.bmm-pick { flex: 1; min-width: 30%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: #e8edf5; font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.bmm-pick .bmm-pick-lbl { text-align: right; line-height: 1.25; }
.bmm-pick b { color: #ffd24a; flex-shrink: 0; }
.bmm-pick.active { background: linear-gradient(135deg,#1db954,#0e8c3d); border-color: #1db954; }
.bmm-pick.active b { color: #fff; }

/* رهاناتي */
.mb-ticket { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 14px; margin-bottom: 12px; border-right: 4px solid #8a96a8; box-shadow: 0 3px 14px -8px rgba(0,0,0,.5); }
.mb-ticket.won { border-right-color: #1db954; }
.mb-ticket.lost { border-right-color: #ff3b5c; }
.mb-ticket.pend { border-right-color: #ffd24a; }
.mb-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mb-type { display: inline-flex; align-items: center; gap: 6px; color: #aeb8c8; font-size: 12px; font-weight: 800; }
.mb-st { font-size: 11.5px; font-weight: 900; padding: 4px 10px; border-radius: 8px; }
.mb-st.won { color: #1db954; background: rgba(29,185,84,.12); } .mb-st.lost { color: #ff3b5c; background: rgba(255,59,92,.12); } .mb-st.pend { color: #ffd24a; background: rgba(255,210,74,.12); }
.mb-sel { display: flex; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 700; margin-top: 4px; }
.mb-sel b { color: #ffd24a; }
.mb-match { color: #6b7688; font-size: 11px; margin-top: 2px; }
.mb-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); color: #aeb8c8; font-size: 12px; }
.mb-foot-left { display: inline-flex; align-items: center; gap: 5px; }
.mb-foot-lbl { color: #6b7688; font-size: 11px; }
.mb-foot-left b { color: #e8edf5; font-weight: 800; }
.mb-foot-dot { color: #3a4150; margin: 0 2px; }
.mb-result { font-weight: 900; color: #aeb8c8; }
.mb-result.mb-w { color: #1db954; }
.mb-result.mb-l { color: #ff7a8a; }

/* ═══ زر عائم: راهن على المباراة (داخل التفاصيل) ═══ */
.md-bet-fab {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 14px);
  z-index: 1490;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b3b, #c81d25);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 59, 59, 0.4);
  animation: mbfPop .3s ease;
  max-width: 90%;
}
.md-bet-fab.show { display: inline-flex; }
.md-bet-fab .mbf-ico { width: 17px; height: 17px; flex-shrink: 0; }
.md-bet-fab .mbf-txt { white-space: nowrap; }
.md-bet-fab .mbf-od {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
@keyframes mbfPop {
  from { transform: translateX(-50%) translateY(16px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* إخفاء زر "راهن على المباراة" العائم عند فتح قسم الرهان (التاب نفسه) */
body.bet-screen-open .md-bet-fab { display: none !important; }
/* داخل تفاصيل المباراة: زر "راهن" فقط — نخفي دائرة القسيمة حتى لا تتكدّس */
body.md-detail-open .bet-slip-fab { display: none !important; }

/* ═══ شريط القسيمة داخل overlay الأسواق ═══ */
.bmm-slipbar { display: none; position: sticky; bottom: 0; background: #0e1422; border-top: 1px solid rgba(29,185,84,.3); padding: 12px 14px; flex-direction: column; gap: 8px; }
.bmm-slipbar.show { display: flex; }
.bmm-sb-count { color: #aeb8c8; font-size: 12px; font-weight: 700; text-align: center; }
.bmm-sb-btn { width: 100%; padding: 13px; border: none; border-radius: 12px; background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; font-family: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }

/* رفع FAB فوق كل شي */
.bet-slip-fab { z-index: 1560 !important; }

/* أزرار حفظ/مشاركة القسيمة */
.bs-actions { display: flex; gap: 8px; margin-top: 10px; }
.bs-act { flex: 1; padding: 11px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #cdd6e3; border-radius: 11px; font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.bs-act:hover { background: rgba(255,255,255,.08); }
.bs-act svg { width: 17px; height: 17px; flex-shrink: 0; }
.bs-act-danger { color: #ff7a8a; border-color: rgba(255,90,110,.25); }
.bs-act-danger:hover { background: rgba(255,90,110,.1); }
.bs-code { background: rgba(75,184,250,.08); border: 1px dashed rgba(75,184,250,.4); border-radius: 12px; padding: 12px; text-align: center; margin-top: 10px; }
.bs-code-label { color: #8a96a8; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.bs-code-val { color: #4bb8fa; font-weight: 900; font-size: 24px; letter-spacing: 3px; margin-bottom: 10px; }
.bs-code-actions { display: flex; gap: 8px; }
.bs-code-btn { flex: 1; padding: 9px; border: 1px solid rgba(75,184,250,.3); background: rgba(75,184,250,.12); color: #4bb8fa; border-radius: 10px; font-family: inherit; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.bs-code-btn:active { background: rgba(75,184,250,.22); }

/* شريط استرداد القسيمة في قائمة المباريات */
.bsc-redeem-bar { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 10px; padding: 12px; border: 1px dashed rgba(255,210,74,.4); background: rgba(255,210,74,.07); color: #ffd24a; border-radius: 12px; font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.bsc-redeem-bar:active { background: rgba(255,210,74,.14); }

/* نافذة استرداد القسيمة */
.bs-redeem-ov { position: fixed; inset: 0; z-index: 1595; background: rgba(0,0,0,.65); opacity: 0; pointer-events: none; transition: opacity .25s; display: flex; align-items: flex-end; }
.bs-redeem-ov.open { opacity: 1; pointer-events: auto; }
.bs-redeem-box { width: 100%; background: #121826; border-radius: 24px 24px 0 0; padding: 0 22px 28px; max-width: 460px; margin: 0 auto; }
.bs-redeem-title { color: #fff; text-align: center; font-size: 19px; font-weight: 900; margin: 4px 0; }
.bs-redeem-sub { color: #8a96a8; text-align: center; font-size: 13px; margin-bottom: 16px; }
.bs-redeem-input { width: 100%; box-sizing: border-box; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 16px; color: #fff; font-family: inherit; font-size: 22px; font-weight: 900; text-align: center; letter-spacing: 4px; outline: none; margin-bottom: 12px; }
.bs-redeem-input:focus { border-color: #ffd24a; }
.bs-redeem-btn { width: 100%; padding: 15px; border: none; border-radius: 14px; background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; font-family: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
.bs-redeem-btn:disabled { opacity: .6; }
.bs-redeem-cancel { width: 100%; padding: 12px; border: none; background: none; color: #8a96a8; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 8px; }

/* ═══ سجل القسائم (رهاناتي) ═══ */
.mb-stats { display: flex; gap: 8px; margin-bottom: 10px; }
.mb-stat { flex: 1; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 4px; text-align: center; }
.mb-stat b { display: block; color: #fff; font-size: 20px; font-weight: 900; }
.mb-stat span { color: #8a96a8; font-size: 11px; font-weight: 700; margin-top: 2px; display: block; }
.mb-stat.win b { color: #1db954; } .mb-stat.lose b { color: #ff3b5c; } .mb-stat.pend b { color: #ffd24a; }
.mb-summary { display: flex; align-items: center; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; }
.mb-sum-item { flex: 1; text-align: center; }
.mb-sum-lbl { display: block; color: #8a96a8; font-size: 11px; font-weight: 700; margin-bottom: 3px; }
.mb-sum-item b { color: #e8edf5; font-size: 15px; font-weight: 900; }
.mb-sum-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.08); }
.mb-sum-won { color: #1db954 !important; }
.mb-filters { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; }
.mb-filter { flex-shrink: 0; padding: 8px 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: #aeb8c8; border-radius: 20px; font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.mb-filter.active { background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; border-color: #1db954; }
.mb-sels { margin: 8px 0; }
.mb-selrow { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.mb-selrow:last-child { border-bottom: none; }
.mb-selmark { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,212,74,.15); color: #ffd24a; flex-shrink: 0; }
.mb-selmark.won { background: rgba(29,185,84,.15); color: #1db954; }
.mb-selmark.lost { background: rgba(255,59,92,.15); color: #ff3b5c; }
.mb-selinfo { flex: 1; min-width: 0; }
.mb-sel-label { color: #fff; font-size: 13px; font-weight: 700; }
.mb-sel-odds { color: #ffd24a; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.mb-foot b.mb-w { color: #1db954; }
.mb-date { color: #5a6678; font-size: 11px; text-align: left; margin-top: 8px; }

/* ═══ نافذة تسجيل الدخول ═══ */
.blg-ov { position: fixed; inset: 0; background: rgba(0,0,0,.65); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 1580; }
.blg-ov.show { opacity: 1; pointer-events: auto; }
.blg-box { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1590; background: #121826; border-radius: 24px 24px 0 0; padding: 0 22px 28px; transform: translateY(105%); transition: transform .3s cubic-bezier(.22,1,.36,1); max-width: 460px; margin: 0 auto; }
.blg-box.open { transform: translateY(0); }
.blg-handle { width: 42px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); margin: 12px auto 14px; }
.blg-logo { text-align: center; margin-bottom: 8px; }
.blg-logo img { width: 56px; height: 56px; border-radius: 14px; }
.blg-title { color: #fff; text-align: center; font-size: 20px; font-weight: 900; margin: 4px 0; }
.blg-sub { color: #8a96a8; text-align: center; font-size: 13px; margin-bottom: 16px; }
.blg-err { background: rgba(255,59,92,.12); border: 1px solid rgba(255,59,92,.3); color: #ff6b81; border-radius: 10px; padding: 10px; text-align: center; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.blg-input { width: 100%; box-sizing: border-box; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; margin-bottom: 10px; text-align: right; outline: none; }
.blg-input:focus { border-color: #1db954; }
.blg-btn { width: 100%; padding: 15px; border: none; border-radius: 14px; background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; font-family: inherit; font-size: 16px; font-weight: 900; cursor: pointer; margin-top: 4px; }
.blg-btn:disabled { opacity: .6; }
.blg-cancel { width: 100%; padding: 12px; border: none; background: none; color: #8a96a8; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 8px; }
/* زر "إنشاء حساب جديد" — بارز ثانوي */
.blg-create { width: 100%; padding: 13px; border: 1px solid rgba(29,185,84,.5); border-radius: 13px; background: rgba(29,185,84,.08); color: #2fe06a; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; margin-top: 10px; }
.blg-create:active { background: rgba(29,185,84,.16); }
/* زر "الدخول بحساب آخر" — شبح خفيف داخل وضع الموافقة */
.blg-ghost { width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: transparent; color: #c2cad6; font-family: inherit; font-size: 14px; font-weight: 800; cursor: pointer; margin-top: 10px; }
.blg-ghost:active { background: rgba(255,255,255,.04); }
.bsc-login { background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; border: none; padding: 8px 18px; border-radius: 10px; font-family: inherit; font-weight: 900; font-size: 13px; cursor: pointer; }
.mb-loginbtn { display: inline-block; margin-top: 12px; background: linear-gradient(135deg,#1db954,#0e8c3d); color: #fff; border: none; padding: 10px 24px; border-radius: 11px; font-family: inherit; font-weight: 900; font-size: 14px; cursor: pointer; }
