img[src*="mobilePopup"], img[src*="popup.4b45b68b082ebbfb236f"], img[src*="popup-grid.png"] {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 140px) !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.modal-body img[src*="mobilePopup"], .modal-body img[src*="popup.4b45b68b082ebbfb236f"], .modal-body img[src*="popup-grid.png"] {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 160px) !important;
}

.modal-body:has(img[src*="mobilePopup"]), .modal-body:has(img[src*="popup.4b45b68b082ebbfb236f"]), .modal-body:has(img[src*="popup-grid.png"]) {
  overflow: auto !important;
}

#banner-pop-modal {
  width: min(1000px, 92vw) !important;
}

#banner-pop-modal > div[class*="loginPopBody"] {
  padding: 0 !important;
  background: transparent !important;
}

#banner-pop-modal img {
  width: 100% !important;
  height: auto !important;
  max-height: calc(100vh - 120px) !important;
  object-fit: contain !important;
  display: block !important;
}

.bw-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  margin-left: 10px;
}

.bw-header-action {
  border: 1px solid rgba(0, 0, 0, 0.25) !important;
  height: 30px;
  padding: 0 14px;
  border-radius: 6px;
  color: #fff !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15) !important;
}

.bw-header-deposit {
  background: #1e8e3e !important;
}

.bw-header-withdraw {
  background: #c5221f !important;
}

.bw-header-apk {
  background: linear-gradient(135deg, #06b6d4, #0284c7) !important;
  text-decoration: none !important;
  color: #fff !important;
}

.bw-header-apk:hover {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9) !important;
  color: #fff !important;
}

.bw-header-action:active {
  transform: translateY(1px);
}

.bw-header-actions,
.bw-header-action {
  pointer-events: auto !important;
}

/* ============================================================
   HOME BANNER POPUP SCREEN CONTAINMENT & PERFECT FIT
   ============================================================ */
.Main_modalOverlay__YKfLw {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  z-index: 10000 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

#banner-pop-modal,
.Main_loginPopModal__FLYLZ,
.Main_bannerPopModal__meY6E {
  width: auto !important;
  max-width: 440px !important;
  min-width: 280px !important;
  max-height: 80vh !important;
  height: auto !important;
  margin: auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: #111827 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  position: relative !important;
  aspect-ratio: auto !important;
}

.Main_loginPopHeader__wtUXZ {
  background: #1e293b !important;
  padding: 6px 12px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  height: auto !important;
  min-height: 36px !important;
}

.Main_bannerPopClose__kXv3K {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  color: #fff !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  font-size: 20px !important;
  line-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border: none !important;
  margin: 0 !important;
  top: 0 !important;
  transition: all 0.2s ease !important;
}

.Main_bannerPopClose__kXv3K:hover {
  background: rgba(239, 68, 68, 0.8) !important;
  transform: scale(1.1) !important;
}

.Main_loginPopBody__Uy7jJ {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-height: 70vh !important;
  overflow: hidden !important;
  background: #000000 !important;
  padding: 0 !important;
  width: 100% !important;
}

.Main_loginPopImage__arDvR,
.Main_bannerPopImage__mvQDk {
  max-height: 68vh !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  #banner-pop-modal,
  .Main_loginPopModal__FLYLZ,
  .Main_bannerPopModal__meY6E {
    max-width: 88vw !important;
    max-height: 75vh !important;
  }

  .Main_loginPopBody__Uy7jJ {
    max-height: 65vh !important;
  }

  .Main_loginPopImage__arDvR,
  .Main_bannerPopImage__mvQDk {
    max-height: 62vh !important;
  }
}

/* ============================================================
   CRIKCODE.COM HIGH-PREMIUM ODDS PAGE & MATCHES LIST DESIGN
   ============================================================ */

/* Main sports section header bars */
.crikcode-inplay-header {
  background: linear-gradient(135deg, #1b3b48 0%, #162e38 100%) !important;
  color: #ffffff !important;
  padding: 10px 16px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-top-left-radius: 6px !important;
  border-top-right-radius: 6px !important;
  border-bottom: 2px solid #2b4c59 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-top: 10px !important;
}

.crikcode-inplay-header i, .crikcode-inplay-header svg {
  color: #38bdf8 !important;
}

/* Category Sub-tabs: In-Play / Upcoming */
.crikcode-match-tabs {
  display: flex !important;
  gap: 6px !important;
  background: #0b131b !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.crikcode-tab-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 6px 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.crikcode-tab-btn.active, .crikcode-tab-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4) !important;
}

.crikcode-tab-badge {
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
}

/* Table Header Row (1 | X | 2) */
.crikcode-table-head {
  background: #e2e8f0 !important;
  color: #1e293b !important;
  display: grid !important;
  grid-template-columns: 1fr 240px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

.crikcode-odds-cols {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  text-align: center !important;
  gap: 2px !important;
}

/* Individual Match Row */
.crikcode-match-row {
  display: grid !important;
  grid-template-columns: 1fr 240px !important;
  align-items: center !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 8px 12px !important;
  transition: background 0.15s ease !important;
}

.crikcode-match-row:hover {
  background: #f8fafc !important;
}

/* Left side match info */
.crikcode-match-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.crikcode-time-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 85px !important;
  font-size: 11px !important;
  color: #166534 !important;
  font-weight: 700 !important;
}

.crikcode-live-pill {
  background: #dc2626 !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
  display: inline-block !important;
}

.crikcode-teams-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}

.crikcode-badges {
  display: flex !important;
  gap: 3px !important;
  margin-left: auto !important;
  margin-right: 8px !important;
}

.crikcode-badge-tag {
  background: #334155 !important;
  color: #f8fafc !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 2px 4px !important;
  border-radius: 2px !important;
}

.crikcode-badge-tv {
  color: #16a34a !important;
  font-size: 12px !important;
}

/* Odds Back / Lay Boxes (Crikcode style) */
.crikcode-odds-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  font-weight: 800 !important;
  transition: transform 0.1s ease !important;
  user-select: none !important;
}

.crikcode-odds-box:hover {
  transform: scale(1.03) !important;
}

.crikcode-odds-box.back {
  background: #74c0fc !important;
  color: #0c8599 !important;
}

.crikcode-odds-box.lay {
  background: #ff8787 !important;
  color: #c92a2a !important;
}

.crikcode-odds-price {
  font-size: 13px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1 !important;
}

.crikcode-odds-size {
  font-size: 9px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  margin-top: 2px !important;
}

/* ============================================================
   ODDS PAGE / MATCH DETAIL CUSTOM COMPONENT
   ============================================================ */
.crikcode-detail-container {
  background: #0f172a !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.crikcode-detail-header {
  background: linear-gradient(135deg, #1b3b48 0%, #0f172a 100%) !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.crikcode-market-card {
  background: #ffffff !important;
  border-radius: 6px !important;
  margin: 10px !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
}

.crikcode-market-head {
  background: #1e293b !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.crikcode-runner-row {
  display: grid !important;
  grid-template-columns: 1fr 240px !important;
  align-items: center !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.crikcode-runner-name {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

/* ============================================================
   REAL-TIME SCORECARD WIDGET WITH LIVE BATSMEN & BOWLER DETAILS
   ============================================================ */
.c2p-scorecard-widget {
  position: relative !important;
  width: 100% !important;
  background: linear-gradient(180deg, rgba(8, 20, 44, 0.92) 0%, rgba(12, 28, 56, 0.82) 50%, rgba(18, 45, 25, 0.88) 100%),
              url("https://g1ver.sprintstaticdata.com/v74/static/front/img/scorecard-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 8px !important;
  border-bottom: 3px solid #2e7d32 !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
  margin-bottom: 14px !important;
  color: #ffffff !important;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
}

.c2p-scorecard-hdr {
  background: rgba(0, 0, 0, 0.65) !important;
  padding: 6px 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px !important;
  color: #e2e8f0 !important;
  text-transform: uppercase !important;
}

.c2p-scorecard-scores {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 16px 4px 16px !important;
}

.c2p-team-abbr {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
  text-transform: uppercase !important;
}

.c2p-team-score-val {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-top: 2px !important;
}

.c2p-status-pill {
  background: rgba(0, 40, 90, 0.85) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  color: #60a5fa !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3) !important;
}

.c2p-partnership-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 4px 16px 8px 16px !important;
  font-size: 12px !important;
  color: #e2e8f0 !important;
  font-style: italic !important;
}

.c2p-overs-timeline {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 6px 16px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.c2p-over-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.c2p-ball-circle {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: #795548 !important;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.5) !important;
  margin-left: 3px !important;
}
.c2p-ball-circle.four { background: #c62828 !important; }
.c2p-ball-circle.six { background: #2e7d32 !important; }
.c2p-ball-circle.wicket { background: #d32f2f !important; font-weight: 900 !important; }

.c2p-scorecard-tables {
  padding: 8px 16px 12px 16px !important;
}

.c2p-sc-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 8px !important;
  font-size: 13px !important;
}

.c2p-sc-table th {
  text-align: left !important;
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  padding: 4px 6px !important;
  font-size: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

.c2p-sc-table th.num, .c2p-sc-table td.num {
  text-align: right !important;
}

.c2p-sc-table td {
  padding: 4px 6px !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

