:root {
  --primary-color: #0f172a;
  --secondary-color: #64748b;
  --accent-color: #0d9488;
  --accent-2: #6366f1;
  --success-color: #059669;
  --danger-color: #dc2626;
  --light-bg: #f1f5f9;
  --border-color: #e2e8f0;
  --panel-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --panel-shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.15);
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
}

body {
  background: #eef2f7;
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(99, 102, 241, 0.09), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(13, 148, 136, 0.06), transparent 45%);
  color: var(--primary-color);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

form {
  margin: 0;
}

.cricket-shell {
  min-height: 100vh;
}

.cricket-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  box-shadow: 0 4px 24px rgba(27, 39, 60, 0.04);
  backdrop-filter: blur(14px);
}

.cricket-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.cricket-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #172033;
  font-weight: 700;
}

.cricket-nav__brand:hover {
  color: #0f6cbd;
}

.cricket-nav__brand-mark {
  border-radius: 8px;
}

.cricket-nav__brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.cricket-nav__brand-title {
  font-size: 1rem;
}

.cricket-nav__brand-subtitle {
  color: #6a7283;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.cricket-nav__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cricket-nav__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  background: #e9f2fb;
  color: #2c3e50;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.cricket-nav__chip--muted {
  background: #f0f2f5;
  color: #5b6574;
}

.cricket-page {
  padding: 2rem 0 3rem;
}

.container--match {
  max-width: 1080px;
}

/* ——— Modern match detail (show) ——— */

.match-page {
  padding-bottom: 3.5rem;
  transition: box-shadow 0.35s ease, filter 0.35s ease;
}

.match-page--flash-four {
  animation: match-boundary-four 1.35s ease-out 1;
}

.match-page--flash-six {
  animation: match-boundary-six 1.35s ease-out 1;
}

@keyframes match-boundary-four {
  0% {
    filter: none;
  }

  12% {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.55), 0 12px 40px rgba(59, 130, 246, 0.2);
    filter: saturate(1.15);
  }

  100% {
    box-shadow: none;
    filter: none;
  }
}

@keyframes match-boundary-six {
  0% {
    filter: none;
  }

  12% {
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.65), 0 12px 44px rgba(234, 179, 8, 0.28);
    filter: saturate(1.2);
  }

  100% {
    box-shadow: none;
    filter: none;
  }
}

.match-chase-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin-top: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(13, 148, 136, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.match-chase-bar__item strong {
  font-weight: 800;
  color: #0f766e;
}

.match-chase-bar__item--muted {
  font-weight: 600;
  color: #64748b;
  font-size: 0.76rem;
}

.match-chase-bar__k {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-right: 0.2rem;
}

.crex-live-strip__need--target {
  color: #fde68a;
}

@media (max-width: 639px) {
  .cricket-page {
    padding: 1rem 0 2.25rem;
  }

  .container--match {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    max-width: 100%;
  }

  .match-topbar {
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
  }

  .match-hero {
    padding: 0.85rem 0.75rem 0.75rem;
    border-radius: var(--radius-lg);
  }

  .match-hero__title {
    font-size: 1.2rem;
  }

  .scoreboard {
    padding: 0.45rem 0.5rem 0.45rem;
  }

  .scoreboard__team {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .scoreboard__figure--split {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.15rem;
  }

  .scoreboard__rw {
    font-size: 1.05rem;
  }

  .scoreboard__ovs {
    font-size: 0.88rem;
  }

  .match-stat-rail {
    margin-bottom: 1.25rem;
  }

  .match-stat {
    padding: 0.75rem 0.75rem 0.7rem;
  }

  .match-centre {
    padding: 1rem 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .match-centre__tabs {
    width: 100%;
    justify-content: center;
  }

  .match-centre__tab {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }

  .match-centre__summary {
    max-width: none;
    width: 100%;
  }

  .crex-live-strip__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .crex-live-strip__score-run {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .crex-live-strip__rates {
    width: 100%;
    justify-content: flex-start;
  }
}

.match-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.match-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.match-topbar__live-poll {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d9488;
  white-space: nowrap;
}

.match-topbar__form {
  margin: 0;
  display: inline-flex;
}

.match-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--panel-shadow);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.match-topbar__back:hover {
  color: #0f6cbd;
  border-color: #c7d8f0;
}

.match-topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.match-topbar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.match-hero {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--panel-shadow-lg);
  padding: 1.1rem 1.15rem 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.match-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #0d9488, #f59e0b);
  opacity: 0.9;
}

.match-hero__grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 992px) {
  .match-hero__grid {
    grid-template-columns: 1fr minmax(240px, 300px);
  }
}

.match-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.match-hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.match-hero__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0f172a;
}

.scoreboard {
  padding: 0.55rem 0.7rem 0.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.scoreboard--empty {
  background: linear-gradient(155deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.scoreboard__block {
  padding: 0.35rem 0;
}

.scoreboard__block + .scoreboard__block {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scoreboard--empty .scoreboard__block + .scoreboard__block {
  border-top-color: var(--border-color);
}

.scoreboard__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0;
}

.scoreboard__team--current {
  border-radius: 0.45rem;
  outline: 1px solid rgba(99, 102, 241, 0.45);
  outline-offset: 1px;
  padding: 0.25rem 0.35rem;
  margin: -0.25rem -0.35rem 0.15rem;
}

.scoreboard__live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  margin-top: 0.3rem;
  padding: 0.3rem 0.45rem;
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.92);
}

.scoreboard__live-over {
  font-variant-numeric: tabular-nums;
  color: #a5b4fc;
}

.scoreboard__live-k {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.55);
  margin-right: 0.15rem;
}

.scoreboard__live-status {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.25);
  color: #fecaca;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scoreboard__live-wait {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.55);
}

.scoreboard__team-id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.scoreboard__shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.35), rgba(13, 148, 136, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.scoreboard--empty .scoreboard__shield {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #475569;
}

.scoreboard__team-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.scoreboard__abbr {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.scoreboard__name {
  font-size: 0.74rem;
  color: rgba(241, 245, 249, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scoreboard--empty .scoreboard__name {
  color: var(--secondary-color);
}

.scoreboard__figure {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.scoreboard__figure--split {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.28rem;
  flex-wrap: nowrap;
}

.scoreboard__rw {
  font-size: 1.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.scoreboard__figure--split-chase .scoreboard__rw {
  font-size: 1.28rem;
}

.scoreboard__ovs {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(241, 245, 249, 0.88);
}

.scoreboard__figure--split-chase .scoreboard__ovs {
  font-size: 1.05rem;
  color: #a5b4fc;
}

.scoreboard__ovs--innings {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.72);
}

.scoreboard__ovs-paren {
  font-weight: 700;
  color: rgba(241, 245, 249, 0.45);
}

.scoreboard__team--winner .scoreboard__figure {
  color: #6ee7b7;
}

.scoreboard__team--muted .scoreboard__figure {
  color: #94a3b8;
}

.scoreboard__result {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  font-weight: 700;
  color: #a7f3d0;
  line-height: 1.4;
}

.scoreboard__hint {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.84rem;
  color: var(--secondary-color);
  line-height: 1.45;
}

.match-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.match-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.match-chip--ghost {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border-color);
}

.match-chip.badge {
  padding: 0.38rem 0.8rem;
  font-weight: 700;
}

.match-live-situation {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.06), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.22);
}

.match-live-situation__title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6366f1;
}

.match-live-situation__dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.match-live-situation__pair {
  display: grid;
  grid-template-columns: minmax(5.25rem, 8rem) 1fr;
  gap: 0.2rem 0.75rem;
  align-items: first baseline;
}

.match-live-situation__pair dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.match-live-situation__pair dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.match-live-situation__dd--score,
.match-live-situation__dd--delivery {
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.match-live-situation__pair--inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.match-live-situation__pair--inline > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.5rem;
  align-items: baseline;
}

.match-live-situation__pair--inline > div dt {
  font-size: 0.68rem;
}

.match-live-situation__pair--inline > div dd {
  font-size: 1.05rem;
  font-weight: 800;
}

.match-live-situation__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.match-live-situation--pending {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

/* CREX-style live strip — compact, single-glance layout */
.crex-live-strip {
  margin-top: 0.45rem;
  padding: 0.45rem 0.55rem 0.5rem;
  border-radius: 0.65rem;
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.22);
  color: #e2e8f0;
}

.crex-live-strip__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.35rem;
}

.crex-live-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  flex: 1 1 auto;
  min-width: min(100%, 12rem);
  margin: 0;
}

.crex-live-strip__live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fca5a5;
}

.crex-live-strip__pulse {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.35);
  animation: crex-pulse 1.4s ease-in-out infinite;
}

@keyframes crex-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
  }
}

.crex-live-strip__innings {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.75);
}

.crex-live-strip__score-run {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-wrap: nowrap;
  font-variant-numeric: tabular-nums;
}

.crex-live-strip__score-chip {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(99, 102, 241, 0.35);
  color: #e0e7ff;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.crex-live-strip__over-chip {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #a5b4fc;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.crex-live-strip__rates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  flex: 1 1 auto;
  justify-content: flex-end;
  margin: 0;
  padding: 0.22rem 0.4rem;
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(241, 245, 249, 0.9);
}

.crex-live-strip__rate-k {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
  margin-right: 0.12rem;
}

.crex-live-strip__need {
  font-size: 0.7rem;
  font-weight: 600;
  color: #a7f3d0;
}

.crex-live-strip__need strong {
  font-weight: 800;
  color: #ecfdf5;
}

.crex-live-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .crex-live-strip__grid--with-bowler {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 7.5rem);
  }
}

@media (max-width: 520px) {
  .crex-live-strip__grid:not(.crex-live-strip__grid--with-bowler) {
    grid-template-columns: 1fr;
  }

  .crex-live-strip__grid--with-bowler {
    grid-template-columns: 1fr 1fr;
  }

  .crex-live-strip__grid--with-bowler .crex-bowler-row {
    grid-column: 1 / -1;
  }
}

.crex-batter-card {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  padding: 0.35rem 0.4rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.crex-batter-card__avatar {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.45), rgba(13, 148, 136, 0.35));
  color: #f1f5f9;
  font-size: 0.95rem;
}

.crex-batter-card__body {
  min-width: 0;
  flex: 1;
}

.crex-batter-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem;
}

.crex-batter-card__name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crex-batter-card__fig {
  font-size: 0.82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fde68a;
  flex-shrink: 0;
}

.crex-batter-card__balls {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.65);
}

.crex-batter-card__meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-top: 0.12rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
}

.crex-bowler-row {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.35rem 0.4rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.crex-bowler-row__icon {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  font-size: 0.9rem;
}

.crex-bowler-row__body {
  min-width: 0;
  flex: 1;
}

.crex-bowler-row__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem;
}

.crex-bowler-row__name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #f8fafc;
}

.crex-bowler-row__fig {
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fde68a;
  text-align: right;
}

.crex-bowler-row__overs {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.65);
  margin-left: 0.1rem;
}

.crex-bowler-row__econ {
  margin-top: 0.08rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
}

.crex-bowler-row__delivery {
  margin-top: 0.06rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.85);
  text-transform: lowercase;
}

.match-hero__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.match-hero__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.match-hero__tab:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.match-hero__tab--active {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.info-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border: 1px solid var(--border-color);
  height: 100%;
}

.info-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.info-card__line {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--secondary-color);
}

.info-card__dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.info-card__dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}

.info-card__dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-card__dl dt {
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
}

.info-card__dl dd {
  margin: 0;
  font-weight: 600;
  color: #334155;
  text-align: right;
}

.players-card {
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--panel-shadow);
}

.players-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.players-card__lede {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.players-card__team + .players-card__team {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f6;
}

.players-card__team-name {
  margin: 0 0 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #334155;
}

.players-card__shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  font-size: 0.62rem;
  font-weight: 800;
  flex-shrink: 0;
  background: linear-gradient(145deg, #eef2ff, #e0e7ff);
  color: #4338ca;
}

.players-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.players-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.players-card__name {
  font-weight: 600;
  color: #0f172a;
  min-width: 0;
  word-break: break-word;
}

.players-card__role {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.players-card__empty {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
}

.match-stat-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .match-stat-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.match-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1rem 0.95rem;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--panel-shadow);
}

.match-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.match-stat__icon--slate {
  background: #f1f5f9;
  color: #475569;
}

.match-stat__icon--teal {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

.match-stat__icon--violet {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}

.match-stat__icon--amber {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

.match-stat__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.match-stat__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.match-stat__value {
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  word-break: break-word;
}

.match-centre {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--panel-shadow-lg);
  padding: 1.5rem 1.35rem 1.75rem;
  margin-bottom: 1.75rem;
}

.match-centre__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .match-centre__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.match-centre__title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-centre__lede {
  margin: 0;
  font-size: 0.92rem;
  color: var(--secondary-color);
  max-width: 36rem;
}

.match-centre__summary {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  min-width: 0;
  max-width: 320px;
}

.match-centre__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.match-centre__summary-row + .match-centre__summary-row {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed #e2e8f0;
}

.match-centre__summary-row strong {
  font-variant-numeric: tabular-nums;
}

.match-centre__summary-result {
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857;
}

.match-centre__tabs {
  display: inline-flex;
  padding: 0.25rem;
  margin-top: 1.25rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.match-centre__tab {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  transition: background 0.15s ease, color 0.15s ease;
}

.match-centre__tab:hover {
  color: #0f172a;
}

.match-centre__tab--on {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.match-centre__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.15rem;
}

.match-filter__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.45rem;
}

.match-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.match-pill {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  max-width: 100%;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 575px) {
  .match-filter__pills {
    flex-direction: column;
    align-items: stretch;
  }

  .match-pill {
    white-space: normal;
  }
}

.match-pill:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.match-pill--on {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.match-centre__body {
  margin-top: 1.5rem;
}

.inning-panel + .inning-panel {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
}

.inning-panel__title {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.inning-panel__team + .inning-panel__team {
  margin-top: 1.5rem;
}

.inning-panel__team-name {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
}

.inning-panel__team-name span {
  font-weight: 600;
  color: #94a3b8;
}

.match-table-wrap {
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  background: #fafbfc;
}

.match-table {
  margin: 0;
  font-size: 0.88rem;
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(241, 245, 249, 0.65);
}

.match-table thead th {
  padding: 0.65rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.match-table tbody td {
  padding: 0.6rem 0.75rem;
  border-color: #f1f5f9;
  vertical-align: middle;
}

.match-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.04);
}

.match-table__player {
  font-weight: 700;
  color: #0f172a;
}

.match-table--compact {
  font-size: 0.82rem;
}

.empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed #cbd5e1;
  background: #fafbfc;
  color: var(--secondary-color);
  font-size: 0.92rem;
}

.empty-state--tight {
  padding: 1.25rem;
}

.commentary-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.commentary-feed__item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0.75rem;
  padding: 0 0 1.15rem;
}

.commentary-feed__rail {
  width: 4px;
  margin-left: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, #6366f1, #0d9488);
  align-self: stretch;
  min-height: 2.5rem;
}

.commentary-feed__content {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #f1f5f9;
}

.commentary-feed__item:last-child .commentary-feed__content {
  border-bottom: 0;
  padding-bottom: 0;
}

.commentary-feed__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}

.commentary-feed__dot {
  opacity: 0.5;
}

.commentary-feed__badge {
  margin-left: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.72rem;
}

.commentary-feed__text {
  margin: 0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.55;
}

.notes-plain {
  margin: 0;
  padding-left: 1.15rem;
  color: #475569;
  font-size: 0.92rem;
}

.notes-plain li + li {
  margin-top: 0.5rem;
}

.overs-grid {
  display: grid;
  gap: 1.25rem;
}

.over-block {
  border-radius: var(--radius-lg);
  border: 1px solid #e8edf3;
  padding: 1rem 1rem 0.85rem;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.over-block__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.over-block__label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}

.over-block__score {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.over-block__balls {
  display: grid;
  gap: 0.65rem;
}

.ball-card {
  padding: 0.85rem 0.95rem;
  border-radius: 0.65rem;
  border: 1px solid #eef2f6;
  background: #fff;
}

.ball-card--wicket {
  border-color: rgba(220, 38, 38, 0.2);
  background: #fffafa;
}

.ball-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.ball-tag {
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
}

.ball-tag--muted {
  font-weight: 600;
}

.ball-tag--runs {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}

.ball-tag--extra {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.ball-card__line {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  color: #475569;
}

.ball-card__sep {
  margin: 0 0.35rem;
  opacity: 0.55;
  font-size: 0.75rem;
}

.ball-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ball-card__mini-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.ball-card__mini ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.ball-card__mini li span {
  font-weight: 600;
  color: #475569;
}

.ball-card__empty {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.match-detail-frame {
  display: block;
  min-height: 4rem;
  transition: opacity 0.12s ease;
}

.match-detail-frame[aria-busy="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.desk-hero,
.desk-card,
.fixture-card,
.feed-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: var(--panel-shadow);
}

.desk-hero {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.desk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #6a7283;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desk-title {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.desk-subtitle {
  max-width: 48rem;
  margin: 0;
  color: var(--secondary-color);
}

.desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.desk-actions .button_to {
  display: inline-flex;
}

.desk-card {
  padding: 1.25rem;
  height: 100%;
}

.desk-stat-label {
  color: #6a7283;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.desk-stat-value {
  margin-top: 0.45rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.desk-stat-note {
  margin-top: 0.35rem;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.desk-section {
  margin-top: 2rem;
}

.desk-section__title {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.desk-section__copy {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.feature-panel {
  padding: 1.25rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.feature-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.feature-panel__kicker {
  color: #6a7283;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fixture-list {
  display: grid;
  gap: 1rem;
}

.fixture-card {
  padding: 1rem 1.1rem;
}

.fixture-card__top,
.feed-header,
.feed-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.fixture-card__top {
  align-items: start;
}

.fixture-card__teams {
  font-size: 1.15rem;
  font-weight: 600;
}

.fixture-card__sub,
.fixture-card__meta,
.feed-copy,
.timeline-list,
.notes-list,
.sync-list {
  color: var(--secondary-color);
}

.fixture-card__sub {
  font-size: 0.88rem;
}

.fixture-card__meta {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.92rem;
}

.feed-card {
  padding: 1.25rem;
  height: 100%;
}

.match-center-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef1f4;
}

.match-center-scoreboard {
  min-width: 280px;
  display: grid;
  gap: 0.45rem;
}

.match-center-scoreboard__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.match-center-scoreboard__result {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #e2e6eb;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a7f4c;
}

.match-center-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.match-center-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--secondary-color);
  background: #ffffff;
  font-weight: 500;
}

.match-center-tab--active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.match-center-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef1f4;
}

.filter-group {
  display: grid;
  gap: 0.45rem;
}

.filter-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7283;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #f3f5f8;
  color: var(--secondary-color);
  font-size: 0.88rem;
}

.filter-pill--active {
  background: #dfeaf6;
  color: var(--primary-color);
  font-weight: 600;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.section-nav .btn {
  border-radius: 999px;
}

.feed-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.feed-copy {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

.scoreboard-list,
.fact-list,
.timeline-list,
.notes-list,
.sync-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scoreboard-list li,
.fact-list li,
.timeline-list li,
.notes-list li,
.sync-list li {
  padding: 0.75rem 0;
  border-top: 1px solid #eef1f4;
}

.scoreboard-list li:first-child,
.fact-list li:first-child,
.timeline-list li:first-child,
.notes-list li:first-child,
.sync-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.scoreboard-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.scoreboard-line strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.scoreboard-line span {
  text-align: right;
  color: var(--secondary-color);
}

.fact-list li,
.sync-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.snapshot-table th {
  color: #6a7283;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snapshot-table td {
  vertical-align: middle;
}

.scorecard-table th {
  color: #6a7283;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scorecard-table td {
  vertical-align: middle;
}

.inning-block + .inning-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef1f4;
}

.inning-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.team-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.ball-list {
  display: grid;
  gap: 0.85rem;
}

.over-stack {
  display: grid;
  gap: 1rem;
}

.over-card {
  border: 1px solid #e8edf3;
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fafbfd;
}

.over-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.over-card__header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.ball-row {
  border: 1px solid #e8edf3;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  background: #fbfcfd;
}

.ball-row--wicket {
  border-color: rgba(220, 53, 69, 0.28);
  background: #fff8f8;
}

.ball-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.ball-row__commentary {
  color: var(--secondary-color);
  margin-bottom: 0.45rem;
}

.commentary-stream {
  display: grid;
  gap: 0.9rem;
}

.commentary-row {
  border: 1px solid #e8edf3;
  border-radius: 0.75rem;
  padding: 0.95rem 1rem;
  background: #fbfcfd;
}

.commentary-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.commentary-row__text {
  color: var(--secondary-color);
}

.ball-row__detail {
  color: #6a7283;
  font-size: 0.9rem;
}

.ball-row__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.ball-panel {
  border: 1px solid #eef1f4;
  border-radius: 0.6rem;
  background: #ffffff;
  padding: 0.7rem 0.8rem;
}

.ball-panel__title {
  color: #6a7283;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.ball-panel__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.ball-panel__list li {
  color: var(--secondary-color);
}

.ball-panel__list strong {
  color: var(--primary-color);
}

.empty-card {
  padding: 2rem;
  text-align: center;
  color: var(--secondary-color);
}

@media (max-width: 767px) {
  .cricket-nav__bar,
  .fixture-card__top,
  .feed-header,
  .feed-meta,
  .match-center-header,
  .over-card__header {
    flex-direction: column;
    align-items: start;
  }

  .desk-hero {
    padding: 1.4rem;
  }

  .desk-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .desk-actions .button_to,
  .desk-actions a,
  .desk-actions button {
    width: 100%;
  }

  .ball-row__grid {
    grid-template-columns: 1fr;
  }

  .match-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .match-topbar__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .match-topbar__form,
  .match-topbar__back,
  .match-topbar__cta {
    width: 100%;
    justify-content: center;
  }

  .match-centre__summary {
    max-width: none;
  }

  .ball-card__grid {
    grid-template-columns: 1fr;
  }

  .ipl-series-hero__row {
    flex-direction: column;
  }

  .ipl-series-hero__cta {
    width: 100%;
  }

  .ipl-series-hero__btn {
    width: 100%;
    justify-content: center;
  }

  .ipl-featured-grid {
    grid-template-columns: 1fr;
  }

  .ipl-fixture-row__line--teams {
    padding: 0.65rem 0.85rem 0.45rem;
  }

  .ipl-fixture-row__match-link {
    padding: 0.55rem 1.85rem 0.75rem 0.85rem;
  }

  .ipl-fixture-row__inner {
    gap: 0.35rem;
  }

  /* Row had space-between: with column direction that pins meta top + pill bottom */
  .ipl-fixture-row__line--foot {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .ipl-fixture-row__meta {
    flex: 0 1 auto;
  }

  .ipl-fixture-row__pill {
    align-self: flex-start;
  }

  .ipl-fixture-row__teams {
    font-size: 0.92rem;
  }

  .ipl-fixture-row__name {
    font-size: 0.9rem;
  }

  .ipl-fixture-row__chev {
    right: 0.45rem;
    font-size: 0.95rem;
  }
}

/* ——— IPL series home (CREX-inspired) ——— */

.ipl-series {
  padding-bottom: 3rem;
}

.ipl-series-hero {
  background: linear-gradient(135deg, #0b1220 0%, #141e33 50%, #0f172a 100%);
  color: #e8edf5;
  padding: 2rem 0 2.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.ipl-series-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.ipl-series-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 237, 245, 0.55);
}

.ipl-series-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ipl-series-hero__dates {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #a5b4fc;
}

.ipl-series-hero__lede {
  margin: 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(232, 237, 245, 0.78);
}

.ipl-series-hero__live {
  color: #86efac;
  font-weight: 700;
}

.ipl-series-hero__live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
  vertical-align: middle;
}

.ipl-series-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.ipl-series-hero__form {
  margin: 0;
  display: inline-flex;
}

.ipl-series-hero__form--season {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.65rem;
}

.ipl-series-hero__season-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 237, 245, 0.55);
}

.ipl-series-hero__select {
  min-width: 12rem;
  max-width: 100%;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  color: #e8edf5;
}

.ipl-series-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.15rem;
  border: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ipl-series-hero__btn:hover {
  color: #0f172a;
  transform: translateY(-1px);
}

.ipl-series-hero__btn--ghost {
  background: transparent;
  color: #e8edf5;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.ipl-series-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ipl-series__main {
  max-width: 960px;
}

/* Series home tabs (CSS-only, no Bootstrap JS) */
.ipl-series-tabs {
  --ipl-tab-accent: #6366f1;
}

.ipl-series-tabs__state {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ipl-series-tabs__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  margin: 0 0 1.35rem;
  padding: 0 0.1rem;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ipl-series-tabs__tab {
  flex: 0 0 auto;
  padding: 0.65rem 1rem 0.75rem;
  margin-bottom: -1px;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0.5rem 0.5rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.ipl-series-tabs__tab:hover {
  color: #334155;
  background: rgba(99, 102, 241, 0.06);
}

.ipl-series-tabs__tab:focus-visible {
  outline: 2px solid var(--ipl-tab-accent);
  outline-offset: 2px;
}

#series-home-tab-overview:checked ~ .ipl-series-tabs__nav label[for="series-home-tab-overview"],
#series-home-tab-fixtures:checked ~ .ipl-series-tabs__nav label[for="series-home-tab-fixtures"],
#series-home-tab-info:checked ~ .ipl-series-tabs__nav label[for="series-home-tab-info"] {
  color: #0f172a;
  border-bottom-color: var(--ipl-tab-accent);
  background: rgba(99, 102, 241, 0.08);
}

.ipl-series-tabs__panel {
  display: none;
  animation: ipl-tab-fade 0.2s ease;
}

@keyframes ipl-tab-fade {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ipl-series-tabs__panel {
    animation: none;
  }
}

#series-home-tab-overview:checked ~ .ipl-series-tabs__panels .ipl-series-tabs__panel:nth-child(1),
#series-home-tab-fixtures:checked ~ .ipl-series-tabs__panels .ipl-series-tabs__panel:nth-child(2),
#series-home-tab-info:checked ~ .ipl-series-tabs__panels .ipl-series-tabs__panel:nth-child(3) {
  display: block;
}

.ipl-block--flush-top .ipl-block__head {
  border-bottom-color: #e8edf3;
}

.ipl-block {
  margin-bottom: 2.5rem;
}

.ipl-block__head {
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e8edf3;
}

.ipl-block__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.ipl-block__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: #64748b;
}

.ipl-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.ipl-featured-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  position: relative;
}

.ipl-featured-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.12);
  transform: translateY(-2px);
  color: inherit;
}

.ipl-featured-card--live {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.12);
}

.ipl-featured-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ipl-featured-card__live {
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #dcfce7;
  color: #166534;
}

.ipl-featured-card__badge {
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #64748b;
}

.ipl-featured-card__when {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}

.ipl-featured-card__teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
}

.ipl-featured-card__abbr {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.ipl-featured-card__vs {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

.ipl-featured-card__lines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ipl-featured-card__score-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.ipl-featured-card__score-row strong {
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.ipl-featured-card__score--muted {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.ipl-featured-card__result {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  line-height: 1.35;
}

.ipl-featured-card__venue {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.76rem;
  color: #94a3b8;
}

.ipl-fixture-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ipl-fixture-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid #eef2f6;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ipl-fixture-row:hover {
  border-color: #c7d2fe;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.08);
}

.ipl-fixture-row__line--teams {
  padding: 0.75rem 1rem 0.55rem;
}

.ipl-fixture-row__team-link {
  text-decoration: none;
  color: inherit;
  border-radius: 0.5rem;
  transition: background 0.12s ease;
}

.ipl-fixture-row__team-link:hover {
  background: rgba(99, 102, 241, 0.08);
  color: inherit;
}

.ipl-fixture-row__match-link {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.65rem 2.1rem 0.85rem 1rem;
  border-top: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}

.ipl-fixture-row__match-link:hover {
  background: rgba(248, 250, 252, 0.95);
  color: inherit;
}

.ipl-fixture-row__inner {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ipl-fixture-row__line--foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-top: 0.1rem;
}

.ipl-fixture-row__teams {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.ipl-fixture-row__side {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.ipl-fixture-row__side--end {
  justify-content: flex-end;
}

.ipl-fixture-row__shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.4rem;
  font-size: 0.58rem;
  font-weight: 800;
  flex-shrink: 0;
  background: linear-gradient(145deg, #eef2ff, #e0e7ff);
  color: #4338ca;
}

.ipl-fixture-row__name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.ipl-fixture-row__vs {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  padding: 0 0.15rem;
}

.ipl-fixture-row__scores {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.15rem 0 0;
  margin-top: 0;
}

.ipl-fixture-row__score-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

.ipl-fixture-row__score-abbr {
  font-weight: 800;
  color: #334155;
  flex-shrink: 0;
}

.ipl-fixture-row__score-fig {
  font-weight: 700;
  color: #0f172a;
  text-align: right;
  min-width: 0;
  word-break: break-word;
}

.ipl-fixture-row__result {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  line-height: 1.4;
}

.ipl-fixture-row__meta {
  flex: 1 1 10rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.76rem;
  color: #64748b;
  min-width: 0;
}

.ipl-fixture-row__meta-line {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.35;
}

.ipl-fixture-row__meta-line .bi {
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.ipl-fixture-row__meta-line--venue {
  word-break: break-word;
}

.ipl-fixture-row__pill {
  flex-shrink: 0;
  align-self: center;
}

.ipl-pill {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ipl-pill--live {
  background: #fee2e2;
  color: #b91c1c;
}

.ipl-pill--soon {
  background: #fef9c3;
  color: #a16207;
}

.ipl-pill--done {
  background: #ecfdf5;
  color: #047857;
}

.ipl-fixture-row__chev {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 1rem;
  pointer-events: none;
}

.players-card--standalone {
  margin-top: 0.35rem;
}

.players-card__list--single {
  max-height: min(28rem, 70vh);
  overflow-y: auto;
}

.team-page {
  padding-bottom: 3rem;
}

.team-hero {
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--panel-shadow-lg);
}

.team-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.45), rgba(13, 148, 136, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.team-hero__meta {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(241, 245, 249, 0.75);
}

.team-hero__abbr {
  font-weight: 700;
  color: #a5b4fc;
}

.team-hero__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.team-section {
  margin-bottom: 2rem;
}

.team-section__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.team-section__lede {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
}

.team-section__empty {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
}

.team-fixture-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.team-fixture-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 2rem 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #eef2f6;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.team-fixture-row:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
  color: inherit;
}

.team-fixture-row__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.team-fixture-row__vs {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.8rem;
}

.team-fixture-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.team-fixture-row__pill {
  flex-shrink: 0;
}

.team-fixture-row__chev {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  color: #cbd5e1;
  font-size: 1rem;
  pointer-events: none;
}

.player-page {
  padding-bottom: 3rem;
}

.player-hero {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #1e293b 100%);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--panel-shadow-lg);
}

.player-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.player-hero__meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(241, 245, 249, 0.65);
}

.player-hero__id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  word-break: break-all;
}

.player-api-profile {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--panel-shadow);
}

.player-api-profile__title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.player-api-profile__dl {
  margin: 0;
  display: grid;
  gap: 0.65rem 1.25rem;
}

@media (min-width: 520px) {
  .player-api-profile__dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.player-api-profile__dl div {
  margin: 0;
}

.player-api-profile__dl dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.player-api-profile__dl dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: #0f172a;
}

.player-summary-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .player-summary-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.player-summary {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--panel-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.player-summary__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.player-summary__value {
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.player-summary__hint {
  font-size: 0.8rem;
  color: #64748b;
}

.player-section {
  margin-bottom: 2rem;
}

.player-section__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.player-section__lede {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
}

.player-stats-table {
  font-size: 0.85rem;
}

.player-stats-table__match {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  color: #0f6cbd;
  font-weight: 700;
}

.player-stats-table__match:hover {
  text-decoration: underline;
}

.player-stats-table__teams {
  font-weight: 800;
  color: #0f172a;
}

.player-stats-table__when {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
}

.player-ball-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.player-ball-feed__item {
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  background: #fff;
  border: 1px solid #eef2f6;
}

.player-ball-feed__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
}

.player-ball-feed__match {
  font-weight: 800;
  color: #0f6cbd;
  text-decoration: none;
}

.player-ball-feed__match:hover {
  text-decoration: underline;
}

.player-ball-feed__over {
  font-weight: 700;
  color: #334155;
  font-variant-numeric: tabular-nums;
}

.player-ball-feed__role {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.player-ball-feed__runs {
  font-weight: 700;
  color: #059669;
}

.player-ball-feed__wicket {
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  background: #fee2e2;
  color: #b91c1c;
}

.player-ball-feed__text {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #475569;
}

.match-table__player-link {
  color: #0f6cbd;
  font-weight: 700;
  text-decoration: none;
}

.match-table__player-link:hover {
  text-decoration: underline;
}

.players-card__name-link {
  color: #0f6cbd;
  font-weight: 700;
  text-decoration: none;
}

.players-card__name-link:hover {
  text-decoration: underline;
}

.scoreboard__team--link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.scoreboard__team--link:hover {
  opacity: 0.92;
}

.scoreboard--empty .scoreboard__team--link {
  color: inherit;
}

.ipl-series-info {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e8edf3;
}

.ipl-series-info__title {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.ipl-series-info__dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.ipl-series-info__dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}

.ipl-series-info__dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ipl-series-info__dl dt {
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
}

.ipl-series-info__dl dd {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

.ipl-empty {
  padding: 2rem 0 3rem;
}

.ipl-empty__card {
  max-width: 28rem;
  margin: 0 auto;
  padding: 2.5rem 1.75rem;
  text-align: center;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow: var(--panel-shadow);
}

.ipl-empty__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.ipl-empty__text {
  margin: 0 0 1.25rem;
  color: #64748b;
  line-height: 1.5;
}

/* ——— Admin (HTTP Basic–protected) ——— */
.admin-body {
  margin: 0;
  min-height: 100vh;
  background: #f1f5f9;
  color: #0f172a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.admin-header {
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid #1e293b;
}

.admin-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.admin-header__brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.admin-header__title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #f8fafc;
  text-decoration: none;
}

.admin-header__title:hover {
  color: #e2e8f0;
}

.admin-header__muted {
  font-size: 0.8rem;
  color: #94a3b8;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.admin-nav__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
}

.admin-nav__link:hover {
  color: #fff;
}

.admin-nav__link--out {
  color: #a5b4fc;
}

.admin-main.container {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  max-width: 960px;
}

.admin-page-title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-breadcrumb {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
}

.admin-card {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.admin-card__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
}

.admin-card__lede {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #475569;
}

.admin-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.75rem 1rem;
}

.admin-stats dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.admin-stats dd {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.admin-hint {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.admin-hint code {
  font-size: 0.78rem;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background: #f1f5f9;
}

.admin-hint--warn {
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.admin-divider {
  margin: 1.25rem 0;
  border: none;
  border-top: 1px solid #e2e8f0;
}

.admin-card__lede--continued {
  margin-top: 0;
}

.admin-form {
  max-width: 32rem;
}

.admin-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.admin-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.admin-input {
  padding: 0.5rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.4rem;
  font-size: 0.92rem;
  max-width: 100%;
}

.admin-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 0.45rem;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
}

.admin-btn:hover {
  background: #e2e8f0;
}

.admin-btn--primary {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}

.admin-btn--primary:hover {
  background: #1d4ed8;
}

.admin-btn--small {
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}

.admin-flash {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.45rem;
  font-size: 0.9rem;
}

.admin-flash--notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.admin-flash--alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.admin-table__truncate {
  max-width: 14rem;
}

.admin-table__actions {
  white-space: nowrap;
}

.admin-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-code {
  font-size: 0.78rem;
  word-break: break-all;
}

.admin-muted {
  color: #64748b;
}

.admin-dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .admin-dl {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-dl div {
  margin: 0;
}

.admin-dl dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.admin-dl dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.admin-actions {
  margin-top: 1rem;
}
