/* -------------------------
   IPL BUTTON
-------------------------- */
.scoop-btn {
  background: linear-gradient(90deg, #ff7c02, #ff4b2b);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
  transition: transform .18s ease;
}
.scoop-btn:hover { transform: translateY(-3px); }

/* ---------------------------
   SCOOPLINER — Full Detail Cards (Centered, Blue BG)
---------------------------- */
.cricket-section-bg {
  background: linear-gradient(180deg, #153a45 0%, #0f2a30 55%, #0c2327 100%);
  padding: 48px 20px 80px;
  color: #dbeef9;
}

.cricket-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.cricket-inner {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
  padding: 26px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(2,8,12,0.45) inset;
}

/* header thumbnail */
.header-thumb {
  float: right;
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  margin-left: 10px;
}

/* variables */
:root{
  --card-bg: rgba(10,14,18,0.65);
  --text-color: #ffff;
  --muted: rgba(230, 238, 248, 0.82);
  --border-color: rgba(109, 33, 33, 0.05);
  --accent: #66c6ff;
  --accent-soft: rgba(102,198,255,0.12);
}

/* ticker */
#live-ticker {
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 14px;
  border-radius:10px;
  background: linear-gradient(90deg, rgba(10,16,20,0.5), rgba(8,12,18,0.35));
  border:1px solid rgba(255,255,255,0.03);
  color:var(--text-color);
  font-weight:700;
  overflow-x:auto;
  box-shadow:0 8px 24px rgba(1,6,10,0.6);
}
#live-ticker .dot { width:10px; height:10px; border-radius:50%; background:#ff3b3b; box-shadow:0 0 8px rgba(255,59,59,0.28); animation:scoop-pulse 1.3s infinite; }
#live-ticker #ticker-text { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1 1 auto; }
#live-ticker .arrow { opacity:0.7; font-size:16px; }

/* tabs */
.cricket-tabs { display:flex; gap:10px; margin:16px 0 18px; flex-wrap:wrap; }
.tab-btn { padding:8px 14px; background:transparent; color:var(--muted); border-radius:999px; font-weight:700; border:1px solid transparent; cursor:pointer; transition:.18s; font-size:13px; }
.tab-btn.active { background: linear-gradient(90deg,#00c6ff,#0072ff); color:#fff; box-shadow:0 8px 22px rgba(0,0,0,0.45); }

/* panel */
.tab-content { display:none; margin-top:6px; }
.tab-content.active { display:block; }

/* matches list */
.matches-list { display:grid; grid-template-columns:1fr; gap:12px; margin-top:12px; }

/* full detail card */
.cricket-card {
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(6,8,12,0.45));
  color:var(--text-color);
  border-radius:12px;
  padding:14px;
  border:1px solid rgba(255,255,255,0.03);
  box-shadow:0 10px 34px rgba(1,6,10,0.6);
  transition:transform .16s ease, box-shadow .16s ease;
}
.cricket-card:hover { transform:translateY(-6px); box-shadow:0 22px 56px rgba(1,6,10,0.7); }

/* top row: name + badges */
.card-top {
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.match-name { font-weight:800; font-size:16px; color:var(--text-color); margin-right:8px; max-width:78%; }
.badges { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

/* badge style */
.badge {
  background: rgba(255,255,255,0.03);
  color:var(--muted);
  padding:6px 8px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,0.02);
  font-weight:700;
}
.badge.on { background: linear-gradient(90deg,#1b8fff,#66c6ff); color:#fff; border-color:rgba(102,198,255,0.12); }

/* teams block */
.team-block { display:flex; gap:12px; align-items:center; margin-top:12px; }
.team { display:flex; gap:12px; align-items:center; min-width:0; flex:1 1 auto; }
.logo { width:44px; height:44px; border-radius:8px; object-fit:cover; background:#08141a; box-shadow:0 2px 8px rgba(0,0,0,0.6); flex:0 0 auto; }
.team .name { font-weight:800; font-size:15px; color:var(--text-color); }
.team .innings { display:block; font-weight:700; color:var(--text-color); margin-top:4px; font-size:14px; }
.team .sub { display:block; font-size:12px; color:var(--muted); margin-top:6px; }

/* center score separator */
.score-sep { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; flex:0 0 120px; text-align:center; }
.score-big { font-weight:900; font-size:16px; color:var(--text-color); }
.score-small { font-size:12px; color:var(--muted); }

/* bottom details */
.card-meta { display:flex; gap:12px; flex-wrap:wrap; margin-top:12px; color:var(--muted); font-size:13px; align-items:center; }

/* small helper */
.icon-dot { width:8px; height:8px; border-radius:50%; background:#4ade80; display:inline-block; margin-right:6px; vertical-align:middle; }

/* responsive */
@media (max-width:880px) {
  .logo { width:36px; height:36px; }
  .score-sep { flex:0 0 100px; }
}
@media (max-width:560px) {
  .team-block { flex-direction:column; align-items:flex-start; gap:10px; }
  .score-sep { order:3; flex:0 0 auto; }
  .card-top { flex-direction:column; align-items:flex-start; gap:10px; }
}
/* FIX: Tab button better in light mode */
@media (prefers-color-scheme: light) {
  .tab-btn {
    color: #333 !important;
    border: 1px solid #d0d0d0 !important;
    background: #fff !important;
  }
  .tab-btn:hover {
    background: #f2f2f2 !important;
  }
  .tab-btn.active {
    background: linear-gradient(90deg, #0072ff, #00c6ff) !important;
    color: #fff !important;
    border-color: transparent !important;
  }
}
