/* IPL Snapshot – 3x1 + Winner row */
.stats-align-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.home-page-wrap {
  padding-top: 1.1rem;
}

.ipl-stats-hero.alt {
  margin: 2.2rem 0 1.8rem;
  padding: 2.5rem 2.5rem 2.2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #687ee8 0%, #774fa7 100%);
  box-shadow: 0 12px 26px rgba(70, 64, 130, 0.28);
}

.ipl-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: center;
}

.ipl-stat-box {
  padding: 0;
  text-align: center;
}

.ipl-stat-value {
  font-size: 3.9rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(18, 18, 45, 0.25);
}

.ipl-stat-label {
  margin-top: 0.45rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.93);
}

.ipl-stats-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 2.2rem 0 1.8rem;
}

.ipl-winner-row {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ipl-winner-row strong {
  font-size: 3.2rem;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(18, 18, 45, 0.25);
}

.winner-label {
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.season-hero .season-stats-row .ipl-stat-value {
  font-size: 2.75rem;
}

.ipl-stats-hero.alt.season-hero {
  background: linear-gradient(140deg, #0f1d34 0%, #172a49 52%, #1d335a 100%);
  border: 1px solid #243a5f;
  box-shadow: 0 12px 24px rgba(9, 19, 36, 0.32);
}

.ipl-stats-hero.alt.season-hero .ipl-stats-divider {
  background: rgba(173, 199, 238, 0.28);
}

.ipl-stats-hero.alt.season-hero .ipl-stat-label {
  color: rgba(214, 229, 250, 0.9);
}

.season-hero-title-row {
  text-align: center;
}

.season-hero-title-row strong {
  font-size: 2.9rem;
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(18, 18, 45, 0.25);
}

.season-hero .season-team {
  font-size: 2.05rem !important;
  line-height: 1.15;
}

.team-stats-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.1rem;
}

.team-hero .team-stats-row .ipl-stat-label {
  white-space: nowrap;
}

.team-hero .season-hero-title-row strong {
  font-size: 2.6rem;
}

.team-wins-table th:nth-child(1),
.team-wins-table td:nth-child(1) {
  width: 13%;
}

.team-wins-table th:nth-child(2),
.team-wins-table td:nth-child(2) {
  width: 22%;
}

.team-wins-table th:nth-child(3),
.team-wins-table td:nth-child(3) {
  width: 19%;
}

.team-wins-table th:nth-child(4),
.team-wins-table td:nth-child(4) {
  width: 24%;
}

.team-wins-table th:nth-child(5),
.team-wins-table td:nth-child(5) {
  width: 22%;
}

.team-finals-topline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.team-finals-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #264b97;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.8rem;
}

.team-finals-count {
  font-size: 1.25rem;
  color: #526780;
  font-weight: 600;
}

.team-finals-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d8e1ed;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f8fbff;
}

.team-finals-kpi {
  padding: 1.05rem 0.8rem 0.9rem;
  text-align: center;
  border-right: 1px solid #d8e1ed;
}

.team-finals-kpi:last-child {
  border-right: none;
}

.team-finals-kpi strong {
  display: block;
  font-size: 2.9rem;
  line-height: 1;
  color: #264b97;
}

.team-finals-kpi strong.is-good {
  color: #15a857;
}

.team-finals-kpi strong.is-mid {
  color: #dc5d1f;
}

.team-finals-kpi span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #788ba4;
  font-weight: 700;
}

.team-finals-cards {
  display: grid;
  gap: 1rem;
}

.team-final-card {
  border: 1px solid #d8e1ed;
  border-top: 4px solid #6f7dff;
  border-radius: 14px;
  background: #ffffff;
  padding: 1.15rem 1rem 1rem;
}

.team-final-card.is-champion {
  border-top-color: #25b45f;
}

.team-final-card.is-runner {
  border-top-color: #6f7dff;
}

.team-final-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.95rem;
}

.team-final-year {
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
  color: #18283f;
  letter-spacing: 0.03em;
}

.team-final-badge {
  border-radius: 999px;
  border: 1px solid #a8bce1;
  color: #2a58ae;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
}

.team-final-card.is-champion .team-final-badge {
  border-color: #79d79e;
  color: #1f9650;
  background: rgba(37, 180, 95, 0.09);
}

.team-final-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  background: #f5f8fd;
  border: 1px solid #e2e9f3;
  border-radius: 11px;
  padding: 0.85rem 1rem;
}

.final-team-block {
  text-align: center;
}

.final-team-label {
  display: block;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8195ae;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.final-team-label i {
  margin-right: 0.3rem;
}

.final-team-block a {
  color: #214ea8;
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
}

.final-team-block a:hover {
  text-decoration: underline;
}

.final-vs {
  color: #a5b4c8;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.team-final-meta {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #e2e9f3;
  border-radius: 10px;
  overflow: hidden;
}

.team-final-meta-item {
  background: #fff;
  padding: 0.68rem 0.75rem 0.72rem;
  border-right: 1px solid #e2e9f3;
}

.team-final-meta-item:last-child {
  border-right: none;
}

.team-squad-header {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.08) 10px,
      rgba(255, 255, 255, 0.08) 20px
    ),
    linear-gradient(145deg, #0f1d34 0%, #132443 100%);
  border-radius: 14px 14px 0 0;
  padding: 1.05rem 1.1rem 0.95rem;
}

.team-squad-header::after {
  display: none;
}

.team-squad-kicker {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 0.18rem 0.52rem;
  color: #dbe7f8;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
}

.team-squad-header h3 {
  margin: 0.6rem 0 0.75rem;
  color: #fff6f7;
  font-size: 3rem;
  line-height: 0.95;
  font-weight: 800;
}

.team-squad-stats {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 120px;
}

.team-squad-stats strong {
  display: block;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
}

.team-squad-stats span {
  display: block;
  margin-top: 0.25rem;
  color: #c5d7f2;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.84rem;
  font-weight: 700;
}

.team-squad-list {
  display: grid;
}

.team-squad-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  padding: 0.72rem 0.95rem;
  border-top: 1px solid #e0e7f1;
  text-decoration: none;
  background: #fff;
}

.team-squad-item:hover {
  background: #f8fbff;
}

.team-squad-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8d2d5;
  color: #b9262f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.team-squad-main strong {
  display: block;
  color: #2b3d56;
  font-size: 1.45rem;
  line-height: 1.1;
}

.team-squad-main small {
  display: block;
  margin-top: 0.16rem;
  color: #7f93ae;
  font-size: 1.08rem;
}

/* Batting stats pages (ipl_batting_stats_*) */
.batting-modern-page .content-page {
  background: linear-gradient(180deg, #e8eef6 0%, #eef3f9 45%, #e7edf6 100%);
  padding-top: 0.8rem;
}

.batting-modern-page .content > .container {
  max-width: 1420px;
  width: 100%;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child {
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  background: #1a2a40;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .portlet-header {
  background: #1a2a40;
  border-bottom: 0;
  padding: 1.15rem 1.3rem 0.55rem;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .portlet-title {
  color: #f4f7fd;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1.95rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .portlet-body {
  background: #1a2a40;
  padding: 0.7rem 1rem 1rem;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .row {
  display: flex;
  align-items: stretch;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .col-md-6 > div {
  background: #30465f;
  border: 0;
  border-radius: 10px;
  min-height: 106px;
  padding: 0.95rem 0.7rem 0.72rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child h3 {
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 2.7rem;
  margin: 0;
  line-height: 1.12;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  border: 0 !important;
  text-decoration: none !important;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child h3::before,
.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child h3::after {
  content: none !important;
}

.batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .text-muted {
  color: #d5e3f7 !important;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  display: block;
  margin-top: 0.2rem;
  font-family: "Open Sans", Arial, sans-serif;
}

.batting-modern-page .col-sm-7.col-md-8 > .row .portlet.portlet-boxed,
.batting-modern-page .col-sm-7.col-md-8 > .row .portlet.portlet-boxed .portlet.portlet-boxed {
  border-radius: 16px;
  border: 1px solid #d5e2f3;
  box-shadow: 0 8px 18px rgba(15, 32, 56, 0.1);
  overflow: hidden;
  background: #f8fbff;
}

.batting-modern-page .col-sm-7.col-md-8 > .row .portlet-header {
  background: linear-gradient(180deg, #fbfdff 0%, #f1f6fd 100%);
  padding: 1.05rem 1.2rem 0.9rem;
  border-bottom: 1px solid #d8e4f2;
}

.batting-modern-page .col-sm-7.col-md-8 > .row .portlet-title {
  color: #213450;
  font-size: 1.7rem;
  line-height: 1.14;
  font-weight: 800;
}

.batting-modern-page .col-sm-7.col-md-8 > .row .portlet-body {
  padding: 1rem;
  background: #f8fbff;
}

.batting-modern-page #player_details {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
}

.batting-modern-page #player_details thead th {
  background: #ecf3fc;
  color: #425a7a;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #d6e2f2;
  border-top: 1px solid #d6e2f2;
  padding: 0.72rem 0.62rem;
}

.batting-modern-page #player_details thead th:first-child {
  border-left: 1px solid #d6e2f2;
  border-top-left-radius: 10px;
}

.batting-modern-page #player_details thead th:last-child {
  border-right: 1px solid #d6e2f2;
  border-top-right-radius: 10px;
}

.batting-modern-page #player_details tbody td {
  color: #2f4562;
  font-size: 1.06rem;
  font-weight: 600;
  border-bottom: 1px solid #dfe9f6;
  padding: 0.72rem 0.62rem;
}

.batting-modern-page #player_details tbody tr:nth-child(even) {
  background: #f2f7ff;
}

.batting-modern-page #player_details tbody tr:hover {
  background: #e9f1ff;
}

.batting-modern-page #player_details tbody td.success {
  color: #158f4a;
  font-weight: 800;
  background: transparent;
}

.batting-modern-page #player_details td:nth-child(2),
.batting-modern-page #player_details th:nth-child(2) {
  width: 21%;
  min-width: 180px;
}

.batting-modern-page #player_details tbody td a {
  color: #224fbe;
  font-weight: 700;
  text-decoration: none;
}

.batting-modern-page #player_details tbody td a:hover {
  color: #123d9d;
  text-decoration: underline;
}

.batting-modern-page #player_details_wrapper .dataTables_filter {
  margin-bottom: 0.72rem;
}

.batting-modern-page #player_details_wrapper .dataTables_filter label {
  color: #45607f;
  font-size: 1rem;
  font-weight: 700;
}

.batting-modern-page #player_details_wrapper .dataTables_filter input {
  border: 1px solid #c8d8ec;
  border-radius: 10px;
  padding: 0.5rem 0.68rem;
  font-size: 0.98rem;
  color: #2f4562;
  background: #fff;
}

.batting-modern-page #player_details_wrapper .dataTables_paginate {
  margin-top: 0.9rem;
}

.batting-modern-page #player_details_wrapper .dataTables_paginate .paginate_button {
  border-radius: 9px !important;
  border: 1px solid #d3e0f1 !important;
  background: #fff !important;
  color: #3e5677 !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.25rem 0.62rem !important;
}

.batting-modern-page #player_details_wrapper .dataTables_paginate .paginate_button.current {
  background: #214f96 !important;
  border-color: #214f96 !important;
  color: #fff !important;
}

.batting-modern-page #player_details_wrapper .dataTables_paginate .paginate_button:hover {
  background: #eef4ff !important;
  border-color: #214f96 !important;
  color: #214f96 !important;
}

.batting-modern-page .col-sm-5.col-md-4 .portlet.portlet-boxed {
  border-radius: 14px;
  border: 1px solid #cddbed;
  box-shadow: 0 6px 14px rgba(14, 31, 53, 0.08);
  overflow: hidden;
}

.batting-modern-page .col-sm-5.col-md-4 .portlet-header {
  border-bottom: 1px solid #d7e4f3;
}

.batting-modern-page .col-sm-5.col-md-4 .portlet-title {
  font-size: 1.9rem;
}

.batting-modern-page .col-sm-5.col-md-4 .icons-list.text-md {
  list-style: none;
  margin: 0;
  padding: 0;
}

.batting-modern-page .col-sm-5.col-md-4 .icons-list.text-md > li > a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.88rem 1rem;
  border-bottom: 1px solid #dfe8f4;
  color: #334a67;
  font-size: 1.18rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.batting-modern-page .col-sm-5.col-md-4 .icons-list.text-md > li:last-child > a {
  border-bottom: 0;
}

.batting-modern-page .col-sm-5.col-md-4 .icons-list.text-md > li > a i {
  color: #2f65c2;
}

.batting-modern-page .col-sm-5.col-md-4 .icons-list.text-md > li > a:hover {
  background: #edf4ff;
  color: #163d89;
}

/* Most runs redesign (single page pilot) */
.most-runs-v2-page .content-page {
  background: #eef3f9;
}

.most-runs-v2-page .content > .container {
  max-width: 1380px;
}

.most-runs-v2-wrap {
  border: 1px solid #142740;
  border-radius: 16px;
  background: linear-gradient(140deg, #081426 0%, #0a1527 48%, #0c1a2d 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  padding: 1.25rem 1.25rem 1.35rem;
}

.most-runs-v2-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.most-runs-v2-kicker {
  color: #f1b61f;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.most-runs-v2-title {
  margin: 0;
  color: #f1f4f8;
  font-size: 4rem;
  line-height: 0.95;
  font-weight: 800;
}

.most-runs-v2-title span {
  color: #f3b21b;
}

.most-runs-v2-filters {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.most-runs-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #22344f;
  background: #111f33;
  color: #7d90ad;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.most-runs-pill.is-active {
  background: #f3b21b;
  border-color: #f3b21b;
  color: #111f33;
}

.most-runs-v2-leaders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.most-runs-v2-leader-card {
  border: 1px solid #1a2f48;
  border-radius: 14px;
  padding: 0.9rem 0.95rem 0.8rem;
  background: linear-gradient(145deg, #101c30 0%, #0b1628 100%);
}

.most-runs-v2-leader-card.is-gold {
  border-color: rgba(243, 178, 27, 0.45);
  background: linear-gradient(145deg, #201907 0%, #151208 100%);
}

.most-runs-v2-leader-card.is-silver {
  border-color: rgba(133, 153, 180, 0.45);
}

.most-runs-v2-leader-card.is-bronze {
  border-color: rgba(204, 119, 34, 0.45);
  background: linear-gradient(145deg, #20160c 0%, #121014 100%);
}

.most-runs-v2-rank {
  color: #93a9c9;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.most-runs-v2-rank i {
  color: #f3b21b;
}

.most-runs-v2-leader-card h3 {
  margin: 0;
  color: #f4f7fb;
  font-size: 3.7rem;
  line-height: 1.06;
  font-weight: 800;
}

.most-runs-v2-big {
  margin: 0.2rem 0 0;
  color: #f3b21b;
  font-size: 5rem;
  line-height: 1;
  font-weight: 800;
}

.most-runs-v2-label {
  margin: 0.14rem 0 0.52rem;
  color: #6f87aa;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.most-runs-v2-mini-grid {
  border-top: 1px solid #1d324d;
  padding-top: 0.58rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
}

.most-runs-v2-mini-grid div strong {
  display: block;
  color: #c4d1e6;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.05;
}

.most-runs-v2-mini-grid div span {
  color: #6f87aa;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.most-runs-v2-table-card {
  border: 1px solid #1a2f48;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #111d30 0%, #0d1829 100%);
}

.most-runs-v2-page #player_details {
  width: 100% !important;
  border-collapse: collapse;
  margin: 0;
  background: transparent;
}

.most-runs-v2-page #player_details thead th {
  border: 0;
  border-bottom: 1px solid #1e334d;
  background: #131f33;
  color: #5f7ba3;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.86rem 0.76rem;
}

.most-runs-v2-page #player_details tbody td {
  border: 0;
  border-bottom: 1px solid #152a44;
  background: transparent !important;
  color: #9db0cc;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0.92rem 0.76rem;
}

.most-runs-v2-page #player_details tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.01);
}

.most-runs-v2-page #player_details tbody tr:hover td {
  background: rgba(40, 76, 122, 0.18);
}

.most-runs-v2-page #player_details.table-striped > tbody > tr:nth-of-type(odd) > td,
.most-runs-v2-page #player_details.table-striped > tbody > tr:nth-of-type(even) > td,
.most-runs-v2-page #player_details.table-hover > tbody > tr:hover > td,
.most-runs-v2-page #player_details.table > tbody > tr > td {
  background: transparent !important;
}

.most-runs-v2-page #player_details.dataTable tbody tr,
.most-runs-v2-page #player_details.dataTable tbody tr.odd,
.most-runs-v2-page #player_details.dataTable tbody tr.even,
.most-runs-v2-page #player_details.dataTable.stripe tbody tr.odd,
.most-runs-v2-page #player_details.dataTable.stripe tbody tr.even,
.most-runs-v2-page #player_details.dataTable.display tbody tr.odd,
.most-runs-v2-page #player_details.dataTable.display tbody tr.even {
  background-color: transparent !important;
}

.most-runs-v2-page #player_details.dataTable tbody tr > td,
.most-runs-v2-page #player_details.dataTable.stripe tbody tr.odd > td,
.most-runs-v2-page #player_details.dataTable.stripe tbody tr.even > td,
.most-runs-v2-page #player_details.dataTable.display tbody tr.odd > td,
.most-runs-v2-page #player_details.dataTable.display tbody tr.even > td {
  background: transparent !important;
  box-shadow: none !important;
}

.most-runs-v2-page #player_details tbody td:first-child {
  color: #5f799d;
  font-weight: 700;
  width: 58px;
}

.most-runs-v2-page #player_details tbody td a {
  color: #eef4ff;
  font-size: 1.14rem;
  font-weight: 700;
  text-decoration: none;
}

.most-runs-v2-page #player_details tbody td a:hover {
  color: #f3b21b;
}

.most-runs-v2-page #player_details tbody td.success {
  color: #2ae88c;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.most-runs-v2-page #player_details_wrapper .dataTables_filter {
  margin: 0 0 0.75rem;
}

.most-runs-v2-page #player_details_wrapper .dataTables_filter label {
  color: #8199bb;
  font-size: 0.94rem;
  font-weight: 700;
}

.most-runs-v2-page #player_details_wrapper .dataTables_filter input {
  margin-left: 0.45rem;
  border: 1px solid #213650;
  border-radius: 10px;
  background: #0f1d32;
  color: #e4edff;
  padding: 0.46rem 0.66rem;
}

.most-runs-v2-page #player_details_wrapper .dataTables_paginate {
  margin-top: 0.85rem;
}

.most-runs-v2-page #player_details_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid #1f3551 !important;
  border-radius: 9px !important;
  background: #102038 !important;
  color: #8ca2c2 !important;
  padding: 0.22rem 0.58rem !important;
}

.most-runs-v2-page #player_details_wrapper .dataTables_paginate .paginate_button.current {
  background: #f3b21b !important;
  color: #111f33 !important;
  border-color: #f3b21b !important;
}

/* Plain table mode for most runs page (no DataTables visuals) */
.most-runs-v2-page #most_runs_table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: transparent;
  min-width: 920px;
}

.most-runs-v2-page #most_runs_table thead th {
  border: 0;
  border-bottom: 1px solid #1e334d;
  background: #131f33;
  color: #5f7ba3;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.86rem 0.76rem;
  white-space: nowrap;
}

.most-runs-v2-page #most_runs_table tbody tr {
  background: rgba(11, 23, 39, 0.9) !important;
}

.most-runs-v2-page #most_runs_table tbody tr:nth-child(even) {
  background: rgba(13, 27, 45, 0.98) !important;
}

.most-runs-v2-page #most_runs_table tbody td {
  border: 0;
  border-bottom: 1px solid #152a44;
  background: transparent !important;
  color: #9db0cc;
  font-size: 1.24rem;
  font-weight: 600;
  padding: 0.92rem 0.76rem;
  white-space: nowrap;
}

.most-runs-v2-page #most_runs_table th:nth-child(1),
.most-runs-v2-page #most_runs_table td:nth-child(1) {
  width: 70px;
}

.most-runs-v2-page #most_runs_table th:nth-child(2),
.most-runs-v2-page #most_runs_table td:nth-child(2) {
  min-width: 260px;
}

.most-runs-v2-page #most_runs_table th:nth-child(3),
.most-runs-v2-page #most_runs_table td:nth-child(3) {
  width: 95px;
}

.most-runs-v2-page #most_runs_table tbody tr:hover {
  background: rgba(27, 53, 84, 0.95) !important;
}

.most-runs-v2-page #most_runs_table tbody td:first-child {
  color: #5f799d;
  font-weight: 700;
  width: 58px;
}

.most-runs-v2-page #most_runs_table tbody td a {
  color: #eef4ff;
  font-size: 1.46rem;
  font-weight: 700;
  text-decoration: none;
}

.most-runs-v2-page #most_runs_table tbody td a:hover {
  color: #f3b21b;
}

.most-runs-v2-page #most_runs_table tbody td.success {
  color: #2ae88c;
  font-size: 1.52rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media (max-width: 1200px) {
  .most-runs-v2-title {
    font-size: 3.5rem;
  }

  .most-runs-v2-leader-card h3 {
    font-size: 2.8rem;
  }

  .most-runs-v2-big {
    font-size: 4rem;
  }
}

@media (max-width: 992px) {
  .most-runs-v2-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .most-runs-v2-title {
    font-size: 3rem;
  }

  .most-runs-v2-leaders {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .most-runs-v2-wrap {
    padding: 0.95rem 0.8rem 1rem;
  }

  .most-runs-v2-kicker {
    font-size: 0.76rem;
  }

  .most-runs-v2-title {
    font-size: 2.35rem;
  }

  .most-runs-v2-leader-card h3 {
    font-size: 2.35rem;
  }

  .most-runs-v2-big {
    font-size: 3.45rem;
  }

  .most-runs-v2-page #player_details thead th,
  .most-runs-v2-page #player_details tbody td {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .most-runs-v2-page #player_details tbody td a {
    font-size: 1rem;
  }

  .most-runs-v2-page #most_runs_table thead th,
  .most-runs-v2-page #most_runs_table tbody td {
    font-size: 1.04rem;
  }

  .most-runs-v2-page #most_runs_table tbody td a {
    font-size: 1.22rem;
  }

  .most-runs-v2-page .most-runs-v2-table-card .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 1200px) {
  .batting-modern-page .col-sm-7.col-md-8 > .row .portlet-title {
    font-size: 1.5rem;
  }

  .batting-modern-page #player_details tbody td {
    font-size: 0.98rem;
  }
}

@media (max-width: 992px) {
  .batting-modern-page .content > .container {
    width: 100%;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .portlet-title {
    font-size: 1.5rem;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child h3 {
    font-size: 2.1rem;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .text-muted {
    font-size: 0.9rem;
  }

  .batting-modern-page .col-sm-5.col-md-4 .portlet-title {
    font-size: 1.5rem;
  }

  .batting-modern-page .col-sm-5.col-md-4 .icons-list.text-md > li > a {
    font-size: 1.04rem;
    padding: 0.72rem 0.8rem;
  }
}

@media (max-width: 768px) {
  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .row {
    display: block;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .col-md-6 {
    margin-bottom: 0.7rem;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .portlet-title {
    font-size: 1.36rem;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .row .portlet-title {
    font-size: 1.34rem;
  }

  .batting-modern-page #player_details thead th,
  .batting-modern-page #player_details tbody td {
    font-size: 0.92rem;
    white-space: nowrap;
    padding: 0.62rem 0.48rem;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child h3 {
    font-size: 1.7rem;
  }

  .batting-modern-page .col-sm-7.col-md-8 > .portlet.portlet-boxed:first-child .text-muted {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }

  .batting-modern-page .col-sm-5.col-md-4 .icons-list.text-md > li > a {
    font-size: 1rem;
  }
}

.meta-key {
  display: block;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8195ae;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.meta-val {
  color: #2f435d;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

a.meta-val {
  text-decoration: none;
}

a.meta-val:hover {
  text-decoration: underline;
}

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

.record-strip-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem 1rem;
  background: linear-gradient(135deg, #101b2d 0%, #13233a 100%);
  border: 1px solid rgba(134, 158, 194, 0.2);
  border-radius: 12px;
  padding: 1rem 1.05rem 0.85rem;
  box-shadow: 0 6px 14px rgba(9, 20, 37, 0.24);
}

.record-main {
  display: grid;
  grid-template-columns: 86px minmax(200px, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
}

.record-season {
  font-size: 2.9rem;
  line-height: 1;
  font-weight: 700;
  color: #d5deec;
}

.record-wl {
  font-size: 2.2rem;
  color: #a8b5c9;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.record-wins {
  color: #47df8a;
}

.record-losses {
  color: #8395af;
}

.record-sep {
  color: #7e90a9;
  margin: 0 0.38rem;
}

.record-played {
  font-size: 1.35rem;
  color: #7f92ad;
  margin-top: 0.2rem;
}

.record-rate {
  text-align: right;
}

.record-rate-label {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7f92ad;
}

.record-pct {
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  color: #8ea1bf;
  margin-bottom: 0.2rem;
}

.record-meter {
  grid-column: 1 / -1;
  height: 7px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(64, 95, 79, 0.56) 0,
      rgba(64, 95, 79, 0.56) calc((100% / 14) - 4px),
      transparent calc((100% / 14) - 4px),
      transparent calc(100% / 14)
    );
  border-radius: 999px;
  overflow: hidden;
}

.record-meter-fill {
  display: block;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      #47df8a 0,
      #47df8a calc((100% / 14) - 4px),
      transparent calc((100% / 14) - 4px),
      transparent calc(100% / 14)
    );
  border-radius: 999px;
}

.record-tag {
  justify-self: start;
  border: 1px solid rgba(246, 196, 83, 0.46);
  color: #f6c453;
  background: rgba(246, 196, 83, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.66rem;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.record-tag i {
  margin-right: 0.35rem;
}

.record-good .record-pct {
  color: #47df8a;
}

.record-mid .record-pct {
  color: #ff9f43;
}

.record-low .record-pct {
  color: #8ea1bf;
}

.record-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.record-legend {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #6b7f99;
  letter-spacing: 0.06em;
}

.record-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.record-legend span:first-child i {
  color: #47df8a;
}

.record-legend span:last-child i {
  color: #6b7f99;
}

.record-good {
  border-color: rgba(73, 205, 138, 0.35);
}

.record-good .record-meter-fill {
  background:
    repeating-linear-gradient(
      90deg,
      #47df8a 0,
      #47df8a calc((100% / 14) - 4px),
      transparent calc((100% / 14) - 4px),
      transparent calc(100% / 14)
    );
}

.record-mid {
  border-color: rgba(246, 196, 83, 0.35);
}

.record-mid .record-meter-fill {
  background:
    repeating-linear-gradient(
      90deg,
      #f6c453 0,
      #f6c453 calc((100% / 14) - 4px),
      transparent calc((100% / 14) - 4px),
      transparent calc(100% / 14)
    );
}

.season-points-table th,
.season-points-table td {
  font-size: 1.35rem;
}

.main-stack {
  display: grid;
  gap: 1.6rem;
}

.season-points-table th:nth-child(1),
.season-points-table td:nth-child(1) {
  width: 8%;
}

.season-points-table th:nth-child(2),
.season-points-table td:nth-child(2) {
  width: 34%;
}

.season-points-table th:nth-child(3),
.season-points-table td:nth-child(3),
.season-points-table th:nth-child(4),
.season-points-table td:nth-child(4),
.season-points-table th:nth-child(5),
.season-points-table td:nth-child(5),
.season-points-table th:nth-child(6),
.season-points-table td:nth-child(6) {
  width: 10%;
}

.season-points-table th:nth-child(7),
.season-points-table td:nth-child(7) {
  width: 12%;
}

.season-match-table th:nth-child(1),
.season-match-table td:nth-child(1) {
  width: 14%;
}

.season-match-table th:nth-child(2),
.season-match-table td:nth-child(2),
.season-match-table th:nth-child(3),
.season-match-table td:nth-child(3) {
  width: 18%;
}

.season-match-table th:nth-child(4),
.season-match-table td:nth-child(4),
.season-match-table th:nth-child(5),
.season-match-table td:nth-child(5),
.season-match-table th:nth-child(6),
.season-match-table td:nth-child(6) {
  width: 16%;
}

/* Modern points table */
.points-table-wrap {
  max-height: 74vh;
  overflow: auto;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.season-points-table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
}

.season-points-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #eef3f9;
  color: #3a4f68;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 2px solid #d3deeb;
}

.season-points-table tbody tr:nth-child(even) {
  background: #fafcff;
}

.season-points-table tbody tr:hover {
  background: #f2f7ff;
}

.season-points-table td {
  font-size: 1.08rem;
  color: #2f435d;
  border-bottom: 1px solid #e4ebf5;
  vertical-align: middle;
}

.season-points-table td a,
.season-match-table td a {
  color: #2157df;
  font-weight: 400;
  text-decoration: none;
}

.season-points-table td a:hover,
.season-points-table td a:focus,
.season-match-table td a:hover,
.season-match-table td a:focus {
  color: #1b4ecb;
  text-decoration: underline;
}

/* Home season winners table: match season-home team-link style for Winner/Runner Up */
.home-season-winners-table td:nth-child(2) a,
.home-season-winners-table td:nth-child(3) a {
  color: #2157df;
  font-weight: 400;
  text-decoration: none;
}

.home-season-winners-table td:nth-child(2) a:hover,
.home-season-winners-table td:nth-child(2) a:focus,
.home-season-winners-table td:nth-child(3) a:hover,
.home-season-winners-table td:nth-child(3) a:focus {
  color: #1b4ecb;
  text-decoration: underline;
}

.home-winners-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.home-winners-title h3 {
  font-size: 4.4rem;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-winners-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.3rem;
  color: #38589f;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.home-winners-title p {
  margin: 0.75rem 0 0;
  color: #7a8ea9;
  font-size: 2.7rem;
  font-style: italic;
}

.home-winners-count {
  text-align: right;
  flex: 0 0 auto;
}

.home-winners-count strong {
  display: block;
  font-size: 6.2rem;
  line-height: 0.95;
  color: #274899;
  font-weight: 800;
}

.home-winners-count span {
  display: block;
  margin-top: 0.28rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8396b0;
  font-size: 1.35rem;
  font-weight: 700;
}

.home-season-winners-wrap {
  padding-top: 0.1rem;
}

.home-season-winners-table thead th {
  background: #f5f8fd;
  color: #8194ad;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
}

.home-season-winners-table td {
  font-size: 2.25rem;
  color: #2e415a;
}

.home-year-cell strong a {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  color: #10192b;
}

.home-season-winners-table th:nth-child(1),
.home-season-winners-table td:nth-child(1) {
  width: 16%;
}

.home-season-winners-table th:nth-child(2),
.home-season-winners-table td:nth-child(2) {
  width: 34%;
}

.home-season-winners-table th:nth-child(3),
.home-season-winners-table td:nth-child(3) {
  width: 24%;
}

.home-season-winners-table th:nth-child(4),
.home-season-winners-table td:nth-child(4) {
  width: 26%;
}

.latest-badge {
  display: inline-flex;
  margin-top: 0.35rem;
  border-radius: 6px;
  background: #274899;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.16rem 0.48rem;
}

.winner-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0.45rem 0.78rem;
  gap: 0.55rem;
}

.winner-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
}

.winner-pill a {
  font-weight: 700 !important;
}

.winner-mi {
  background: #e6eefc;
}

.winner-mi::before {
  background: #0f4fa8;
}

.winner-csk {
  background: #f4efdb;
}

.winner-csk::before {
  background: #e2b100;
}

.winner-kkr {
  background: #ede8f8;
}

.winner-kkr::before {
  background: #4b1c79;
}

.winner-rcb {
  background: #fbeaea;
}

.winner-rcb::before {
  background: #c12f2f;
}

.winner-gt {
  background: #e8edf5;
}

.winner-gt::before {
  background: #1d3d66;
}

.winner-srh {
  background: #fbeee6;
}

.winner-srh::before {
  background: #e36119;
}

.winner-rr {
  background: #e8edff;
}

.winner-rr::before {
  background: #2f4cae;
}

.winner-default {
  background: #eef2f8;
}

.winner-default::before {
  background: #5e6f87;
}

.home-venue-cell {
  color: #8a9bb2;
  font-style: italic;
}

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

.rivalries-head span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8396b0;
  font-size: 1.2rem;
  font-weight: 700;
}

.rivalry-cards {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.72rem;
}

.rivalry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  background: #fff;
  padding: 0.86rem 0.95rem;
  text-decoration: none;
  position: relative;
}

.rivalry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
}

.rivalry-team strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 800;
}

.rivalry-team span {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.2rem;
  color: #7588a4;
  line-height: 1.15;
  font-weight: 600;
}

.rivalry-team.right {
  text-align: right;
}

.rivalry-vs {
  font-size: 1.55rem;
  color: #b6c3d5;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bar-mi-csk::before {
  background: linear-gradient(90deg, #0f4fa8 50%, #e2b100 50%);
}

.bar-mi-csk .left strong {
  color: #0f4fa8;
}

.bar-mi-csk .right strong {
  color: #d7ad00;
}

.bar-kkr-rcb::before {
  background: linear-gradient(90deg, #4b1c79 50%, #c12f2f 50%);
}

.bar-kkr-rcb .left strong {
  color: #4b1c79;
}

.bar-kkr-rcb .right strong {
  color: #c12f2f;
}

.bar-srh-pbks::before {
  background: linear-gradient(90deg, #e36119 50%, #b6262f 50%);
}

.bar-srh-pbks .left strong {
  color: #e36119;
}

.bar-srh-pbks .right strong {
  color: #b6262f;
}

.bar-mi-rcb::before {
  background: linear-gradient(90deg, #0f4fa8 50%, #c12f2f 50%);
}

.bar-mi-rcb .left strong {
  color: #0f4fa8;
}

.bar-mi-rcb .right strong {
  color: #c12f2f;
}

.bar-rcb-csk::before {
  background: linear-gradient(90deg, #c12f2f 50%, #e2b100 50%);
}

.bar-rcb-csk .left strong {
  color: #c12f2f;
}

.bar-rcb-csk .right strong {
  color: #d7ad00;
}

.bar-rr-srh::before {
  background: linear-gradient(90deg, #2f4cae 50%, #e36119 50%);
}

.bar-rr-srh .left strong {
  color: #2f4cae;
}

.bar-rr-srh .right strong {
  color: #e36119;
}

.clash-list {
  list-style: none;
  margin: 0;
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.62rem;
}

.clash-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  padding: 0.72rem 0.8rem;
  text-decoration: none;
  color: #32465f;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
}

.clash-item:hover {
  border-color: #c8d7ea;
  background: #f8fbff;
  color: #1f4ea4;
}

.clash-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #f4edd6;
  color: #c18c13;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.65rem;
  font-size: 0.95rem;
}

.season-points-table td:nth-child(1),
.season-points-table td:nth-child(3),
.season-points-table td:nth-child(4),
.season-points-table td:nth-child(5),
.season-points-table td:nth-child(6),
.season-points-table td:nth-child(7),
.season-points-table td:nth-child(8) {
  text-align: center;
}

.points-modern-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.15rem 1.2rem 0.95rem;
  border-bottom: 1px solid #223650;
}

.points-modern-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  color: #5f78a0;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.points-modern-head h3 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1.05;
  color: #f3f7ff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.points-modern-head h3 span {
  color: #f6b01b;
}

.points-modern-legend {
  display: inline-flex;
  gap: 1rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7f94b1;
  font-weight: 700;
}

.points-modern-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.points-modern-legend span:first-child i {
  color: #24cc71;
}

.points-modern-legend span:last-child i {
  color: #ff5f68;
}

.points-modern-wrap {
  padding: 0.65rem 1.2rem 1.1rem;
  border: none;
  box-shadow: none;
  background: transparent;
  max-height: none;
}

.points-modern-card {
  background: linear-gradient(155deg, #0d182a 0%, #101e34 100%);
  border: 1px solid #20324d;
  box-shadow: 0 10px 24px rgba(10, 18, 34, 0.35);
}

.season-points-modern-table {
  background: transparent;
  border: 1px solid #22344f;
  border-radius: 12px;
  overflow: hidden;
  table-layout: fixed;
}

.season-points-modern-table thead th {
  background: #0f1a2c;
  color: #6f89ab;
  border-bottom: 1px solid #243755;
  font-size: 1.18rem;
  letter-spacing: 0.11em;
}

.season-points-modern-table th,
.season-points-modern-table td {
  vertical-align: middle !important;
}

.season-points-modern-table th:nth-child(1),
.season-points-modern-table td:nth-child(1) {
  width: 8%;
  text-align: center;
}

.season-points-modern-table th:nth-child(2),
.season-points-modern-table td:nth-child(2) {
  width: 38%;
  text-align: left;
}

.season-points-modern-table th:nth-child(3),
.season-points-modern-table td:nth-child(3),
.season-points-modern-table th:nth-child(4),
.season-points-modern-table td:nth-child(4),
.season-points-modern-table th:nth-child(5),
.season-points-modern-table td:nth-child(5) {
  width: 10%;
  text-align: center;
}

.season-points-modern-table th:nth-child(6),
.season-points-modern-table td:nth-child(6) {
  width: 16%;
  text-align: center;
}

.season-points-modern-table th:nth-child(7),
.season-points-modern-table td:nth-child(7) {
  width: 8%;
  text-align: center;
}

.season-points-modern-table tbody tr {
  background: transparent !important;
}

.season-points-modern-table tbody td {
  color: #d4e0ef;
  border-bottom: 1px solid #1f314d;
  font-size: 1.34rem;
  height: 66px;
}

.season-points-modern-table tbody tr:hover td {
  background: rgba(111, 141, 184, 0.08);
}

.season-points-modern-table .pts-group td {
  background: #0f1a2c;
  border-bottom: 1px solid #2a3f61;
  padding: 0.58rem 0.85rem;
  text-align: left;
}

.season-points-modern-table .pts-group span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.98rem;
  font-weight: 800;
}

.season-points-modern-table .pts-qualified span {
  color: #2ddd84;
}

.season-points-modern-table .pts-eliminated span {
  color: #ff646d;
}

.season-points-modern-table .pts-row-qual td:first-child {
  border-left: 3px solid #24cc71;
}

.season-points-modern-table .pts-row-out td:first-child {
  border-left: 3px solid #ff5f68;
}

.season-points-modern-table td .rank-chip {
  min-width: 2rem;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 2.45rem;
  font-weight: 800;
}

.season-points-modern-table .rank-chip.rank-qual {
  color: #2ddd84;
}

.season-points-modern-table .rank-chip.rank-out {
  color: #6e839f;
}

.season-points-modern-table .pts-team-cell {
  text-align: left;
  white-space: normal;
}

.season-points-modern-table .pts-team-cell a {
  color: #eaf2ff;
  font-size: 1.72rem;
  font-weight: 700;
  line-height: 1.2;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
}

.season-points-modern-table .pts-team-cell a:hover {
  color: #a9c3ff;
}

.season-points-modern-table .nrr-chip {
  background: none;
  padding: 0;
  font-weight: 700;
  font-size: 1.28rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.season-points-modern-table .nrr-chip i {
  width: 2.1rem;
  height: 4px;
  border-radius: 999px;
  background: #2f4566;
  position: relative;
}

.season-points-modern-table .nrr-chip i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 1.2rem;
  border-radius: 999px;
}

.season-points-modern-table .nrr-chip.nrr-pos {
  color: #3be587;
}

.season-points-modern-table .nrr-chip.nrr-pos i::after {
  background: #3be587;
}

.season-points-modern-table .nrr-chip.nrr-neg {
  color: #ff7a82;
}

.season-points-modern-table .nrr-chip.nrr-neg i::after {
  background: #ff6c74;
}

.season-points-modern-table .points-chip {
  min-width: 2.6em;
  padding: 0.34rem 0.58rem;
  font-size: 1.55rem;
}

.season-points-modern-table .points-chip.pts-qual {
  background: linear-gradient(135deg, #149951, #24cc71);
}

.season-points-modern-table .points-chip.pts-out {
  background: linear-gradient(135deg, #9a2f3b, #c54652);
}

.season-points-modern-table .pts-won {
  color: #3be587;
  font-weight: 700;
}

.pts-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  margin-right: 0.25rem;
  font-size: 0.82rem;
}

.medal-gold {
  color: #ffd44a;
}

.medal-silver {
  color: #c9d6e8;
}

.medal-bronze {
  color: #d9985e;
}

.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.55rem;
  vertical-align: middle;
}

.dot-mi { background: #0f4fa8; }
.dot-csk { background: #e2b100; }
.dot-kkr { background: #4b1c79; }
.dot-rcb { background: #c12f2f; }
.dot-pbks { background: #ba2a33; }
.dot-rr { background: #2f4cae; }
.dot-srh { background: #e36119; }
.dot-dc { background: #00a2ff; }
.dot-gt { background: #1d3d66; }
.dot-lsg { background: #32c9ff; }
.dot-default { background: #8091aa; }

.points-modern-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.3rem 0.2rem;
  color: #5c7394;
  font-size: 1.02rem;
}

.points-modern-foot span:last-child {
  color: #f4bf36;
  font-weight: 700;
}

.matches-modern-head {
  background: linear-gradient(150deg, #091325 0%, #0d1b32 100%);
  border-radius: 14px 14px 0 0;
  padding: 1rem 1.15rem 0.95rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
}

.matches-modern-head::after {
  display: none;
}

.matches-modern-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.88rem;
  color: #f0b324;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.matches-modern-head h3 {
  margin: 0;
  color: #f3f7ff;
  font-size: 2.9rem;
  line-height: 1.02;
  font-weight: 800;
}

.matches-modern-head h3 span {
  color: #f0b324;
}

.section-card-header.matches-modern-head h3 {
  color: #f3f7ff !important;
}

.section-card-header.matches-modern-head h3 span {
  color: #f0b324 !important;
}

.matches-modern-wrap {
  background: linear-gradient(160deg, #071223 0%, #0b1830 100%);
  border-radius: 0 0 14px 14px;
  border: 1px solid #1b2f4b;
  border-top: none;
  padding: 0.55rem 1rem 1rem;
}

.season-match-modern-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.season-match-modern-table th {
  color: #5f7ca3;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid #1d314d;
  background: transparent;
}

.season-match-modern-table td {
  color: #d6e2f2;
  font-size: 1.22rem;
  padding: 0.86rem 0.65rem;
  border-bottom: 1px solid #182b46;
  vertical-align: middle;
}

.season-match-modern-table tr:hover td {
  background: rgba(76, 106, 148, 0.08);
}

.season-match-modern-table th:nth-child(1),
.season-match-modern-table td:nth-child(1) {
  width: 9%;
}

.season-match-modern-table th:nth-child(2),
.season-match-modern-table td:nth-child(2),
.season-match-modern-table th:nth-child(3),
.season-match-modern-table td:nth-child(3) {
  width: 22%;
}

.season-match-modern-table th:nth-child(4),
.season-match-modern-table td:nth-child(4) {
  width: 16%;
}

.season-match-modern-table th:nth-child(5),
.season-match-modern-table td:nth-child(5) {
  width: 18%;
}

.season-match-modern-table th:nth-child(6),
.season-match-modern-table td:nth-child(6) {
  width: 13%;
}

.match-date-cell strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  color: #8fa5c3;
}

.match-date-cell span {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.95rem;
  color: #4f6b90;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.match-team-cell {
  white-space: normal;
}

.match-team-cell a {
  color: #edf4ff;
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
}

.match-team-cell a:hover {
  color: #b9d1ff;
}

.match-team-cell .team-dot {
  margin-right: 0.5rem;
}

.match-winby-cell span {
  display: block;
  font-weight: 700;
  font-size: 1.14rem;
  margin-bottom: 0.3rem;
}

.match-winby-cell .win-wickets {
  color: #2ddd84;
}

.match-winby-cell .win-runs {
  color: #f2b625;
}

.match-winbar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: #254061;
  position: relative;
  overflow: hidden;
}

.match-winbar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
}

.match-winbar.bar-wickets::after {
  background: #2ddd84;
}

.match-winbar.bar-runs::after {
  background: #f2b625;
}

.match-winbar.w-25::after { width: 25%; }
.match-winbar.w-40::after { width: 40%; }
.match-winbar.w-60::after { width: 60%; }
.match-winbar.w-80::after { width: 80%; }
.match-winbar.w-100::after { width: 100%; }

.match-venue-cell {
  color: #7e96b6;
  font-size: 1.02rem;
  line-height: 1.25;
}

.match-pom-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pom-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1b2f4b;
  color: #8ca7c9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex: 0 0 30px;
}

.pom-name {
  color: #d3e0f0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.15;
}

#match-search-slot .dataTables_filter input {
  background: #0f1e35 !important;
  border: 1px solid #243b5c !important;
  color: #d7e5f9 !important;
  min-width: 260px;
}

#match-search-slot .dataTables_filter input::placeholder {
  color: #5f7ea5;
}

#win_details_wrapper .dataTables_paginate {
  margin-top: 0.85rem;
  text-align: right;
}

#win_details_wrapper .dataTables_info {
  margin-top: 0.9rem;
  color: #6f89ab;
}

#win_details_wrapper .dataTables_paginate .paginate_button {
  background: #0f1e35 !important;
  border: 1px solid #254263 !important;
  color: #b8cbe4 !important;
  border-radius: 8px !important;
  padding: 0.25rem 0.58rem !important;
}

#win_details_wrapper .dataTables_paginate .paginate_button.current {
  background: #2d4f7c !important;
  border-color: #2d5f9a !important;
  color: #ffffff !important;
}

#win_details_wrapper .dataTables_paginate .paginate_button:hover {
  background: #1a3352 !important;
  border-color: #37689f !important;
  color: #ffffff !important;
}

#win_details_wrapper .dataTables_paginate .paginate_button:empty {
  display: none !important;
}

#win_details_wrapper .dataTables_paginate .ellipsis {
  color: #8aa3c1;
  padding: 0 0.35rem;
}

#win_details_wrapper .dataTables_length {
  display: none;
}

.rank-chip,
.points-chip,
.nrr-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
}

.rank-chip {
  background: #eef3ff;
  color: #294a8a;
}

.points-chip {
  background: linear-gradient(135deg, #264f86, #2f66ac);
  color: #fff;
}

.nrr-chip {
  background: #f3f6fb;
  color: #425a77;
}

#season_wins_table_wrapper .dataTables_filter {
  margin-bottom: 0.8rem;
}

#season_wins_table_wrapper .dataTables_filter label {
  font-size: 0.95rem;
  color: #3f536d;
  font-weight: 600;
}

#season_wins_table_wrapper .dataTables_filter input {
  border: 1px solid #ccd8e7;
  border-radius: 8px;
  padding: 0.42rem 0.6rem;
  background: #fff;
  color: #2d4059;
  min-width: 210px;
}

#season_wins_table_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: #6f7dff;
  box-shadow: 0 0 0 3px rgba(111, 125, 255, 0.14);
}

#season_wins_table_wrapper .dataTables_paginate .paginate_button {
  border-radius: 8px !important;
  border: 1px solid #d7e1ef !important;
  background: #fff !important;
  color: #3d526c !important;
}

#season_wins_table_wrapper .dataTables_paginate .paginate_button.current {
  background: #2f5f99 !important;
  border-color: #2f5f99 !important;
  color: #fff !important;
}

#season_wins_table_wrapper .dataTables_info {
  color: #4e627c;
}

@media (max-width: 768px) {
  .stats-align-wrap {
    padding: 0 1rem;
  }

  .home-page-wrap {
    padding-top: 0.75rem;
  }

  .ipl-stats-hero.alt {
    padding: 1.45rem 1.2rem 1.45rem;
  }

  .ipl-stats-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .ipl-stat-value {
    font-size: 3rem;
  }

  .season-hero .season-stats-row .ipl-stat-value {
    font-size: 2.35rem;
  }

  .season-hero .season-team {
    font-size: 1.6rem !important;
  }

  .season-hero-title-row strong {
    font-size: 2rem;
  }

  .team-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .record-strip-item {
    padding: 0.78rem 0.8rem 0.72rem;
  }

  .record-main {
    grid-template-columns: 66px minmax(110px, 1fr);
    gap: 0.55rem;
  }

  .record-season {
    font-size: 2rem;
  }

  .record-wl {
    font-size: 1.5rem;
  }

  .record-played {
    font-size: 1rem;
  }

  .record-pct {
    font-size: 2.6rem;
  }

  .record-rate-label {
    font-size: 0.85rem;
  }

  .record-tag {
    display: none;
  }

  .record-legend {
    font-size: 0.92rem;
    gap: 0.7rem;
  }

  .record-meter {
    height: 6px;
  }

  .home-winners-header {
    align-items: flex-start;
  }

  .home-winners-title h3 {
    font-size: 3.2rem;
  }

  .home-winners-title p {
    font-size: 1.75rem;
  }

  .home-winners-count strong {
    font-size: 4.1rem;
  }

  .home-winners-count span {
    font-size: 1rem;
  }

  .home-year-cell strong a {
    font-size: 2.1rem;
  }

  .home-season-winners-table td {
    font-size: 1.28rem;
  }

  .rivalry-team strong {
    font-size: 1.85rem;
  }

  .rivalry-team span {
    font-size: 1.05rem;
  }

  .clash-item {
    font-size: 1.05rem;
    padding: 0.64rem 0.68rem;
  }

  .team-finals-topline {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .team-finals-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-finals-kpi:nth-child(2n) {
    border-right: none;
  }

  .team-finals-kpi:nth-child(1),
  .team-finals-kpi:nth-child(2) {
    border-bottom: 1px solid #d8e1ed;
  }

  .team-final-year {
    font-size: 2rem;
  }

  .team-final-badge {
    font-size: 0.9rem;
  }

  .team-final-matchup {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: center;
  }

  .final-vs {
    font-size: 1.4rem;
  }

  .final-team-block a {
    font-size: 1.35rem;
  }

  .team-final-meta {
    grid-template-columns: 1fr;
  }

  .team-final-meta-item {
    border-right: none;
    border-bottom: 1px solid #e2e9f3;
  }

  .team-final-meta-item:last-child {
    border-bottom: none;
  }

  .team-squad-header h3 {
    font-size: 2.25rem;
  }

  .team-squad-stats strong {
    font-size: 1.65rem;
  }

  .team-squad-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.58rem;
  }

  .team-squad-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.84rem;
  }

  .team-squad-main strong {
    font-size: 1.16rem;
  }

  .team-squad-main small {
    font-size: 0.92rem;
  }

  .ipl-stat-label {
    font-size: 1rem;
  }

  .ipl-stats-divider {
    margin: 1.45rem 0 1.2rem;
  }

  .ipl-winner-row strong {
    font-size: 2.1rem;
    line-height: 1.22;
  }

  .winner-label {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .team-stats-row {
    grid-template-columns: 1fr !important;
  }

  .batting-stats-header,
  .bowling-stats-header {
    padding: 0.82rem 0.82rem 0.68rem;
  }

  .batting-stats-header h3,
  .bowling-stats-header h3 {
    font-size: 1.9rem;
  }

  .batting-season-pill,
  .bowling-season-pill {
    font-size: 0.9rem;
    padding: 0.18rem 0.52rem;
  }

  .batting-stat-item,
  .bowling-stat-item {
    padding: 0.64rem 0.68rem;
    gap: 0.56rem;
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .batting-stat-item.is-featured,
  .bowling-stat-item.is-featured {
    grid-template-columns: 28px minmax(0, 1fr) auto;
  }

  .bat-icon,
  .bowl-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 0.78rem;
  }

  .bat-text strong,
  .bowl-text strong {
    font-size: 1.14rem;
  }

  .bat-text small,
  .bowl-text small {
    font-size: 0.9rem;
  }

  .points-modern-head h3 {
    font-size: 2.45rem;
  }

  .points-modern-legend {
    font-size: 0.9rem;
  }

  .season-points-modern-table thead th {
    font-size: 0.95rem;
  }

  .season-points-modern-table tbody td {
    font-size: 1.12rem;
    height: 56px;
  }

  .season-points-modern-table .pts-team-cell a {
    font-size: 1.24rem;
  }

  .season-points-modern-table td .rank-chip {
    font-size: 1.9rem;
  }

  .matches-modern-head h3 {
    font-size: 2.15rem;
  }

  .season-match-modern-table th {
    font-size: 0.82rem;
  }

  .season-match-modern-table td {
    font-size: 1.02rem;
  }

  .match-team-cell a {
    font-size: 1.02rem;
  }

  .match-venue-cell {
    font-size: 0.9rem;
  }

  .pom-name {
    font-size: 0.94rem;
  }

  .record-strip-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .record-main {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .record-rate {
    text-align: left;
  }

  .record-pct {
    font-size: 2.1rem;
    margin-bottom: 0;
  }

  .record-rate-label {
    margin-top: -0.05rem;
  }

  .record-meter {
    margin-top: 0.1rem;
  }

  .record-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .home-winners-header {
    flex-direction: column;
    gap: 0.35rem;
  }

  .home-winners-count {
    text-align: left;
  }

  .home-winners-title h3 {
    font-size: 2.4rem;
  }

  .home-winners-title p {
    font-size: 1.35rem;
    margin-top: 0.45rem;
  }

  .home-winners-count strong {
    font-size: 3rem;
  }

  .home-year-cell strong a {
    font-size: 1.55rem;
  }

  .latest-badge {
    font-size: 0.82rem;
  }

  .rivalry-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.45rem;
    padding: 0.72rem 0.75rem;
  }

  .rivalry-team.right,
  .rivalry-team.left {
    text-align: center;
  }

  .rivalry-vs {
    font-size: 1.05rem;
  }

  .rivalries-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .clash-list {
    padding: 0 0.8rem 0.8rem;
  }
}

/* Strong override for season points board (prevents legacy table/card styles from bleeding in) */
.season-card.points-modern-card {
  background: linear-gradient(155deg, #091324 0%, #0d1a2f 100%) !important;
  border: 1px solid #1c2f4b !important;
  box-shadow: 0 10px 24px rgba(6, 12, 24, 0.45) !important;
}

.season-card.points-modern-card .points-modern-head {
  border-bottom: 1px solid #203552 !important;
}

.season-card.points-modern-card .points-modern-eyebrow {
  color: #f0b324 !important;
}

.season-card.points-modern-card .points-modern-head h3 {
  color: #f3f7ff !important;
}

.season-card.points-modern-card .points-modern-head h3 span {
  color: #f0b324 !important;
}

.season-card.points-modern-card .season-table-wrap.points-modern-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.season-card.points-modern-card .season-points-modern-table {
  background: transparent !important;
  border: 1px solid #213855 !important;
}

.season-card.points-modern-card .season-points-modern-table thead th {
  background: #091628 !important;
  color: #617ea4 !important;
  border-bottom: 1px solid #213855 !important;
}

.season-card.points-modern-card .season-points-modern-table tbody tr {
  background: transparent !important;
}

.season-card.points-modern-card .season-points-modern-table tbody td {
  background: transparent !important;
  color: #d5e2f3 !important;
  border-bottom: 1px solid #1b2f4c !important;
}

.season-card.points-modern-card .season-points-modern-table tbody tr:hover td {
  background: rgba(73, 108, 160, 0.08) !important;
}

.season-card.points-modern-card .season-points-modern-table .pts-group td {
  background: #091628 !important;
  border-bottom: 1px solid #213855 !important;
}

.season-card.points-modern-card .season-points-modern-table .pts-team-cell a {
  color: #eef5ff !important;
  text-decoration: none !important;
}

.season-card.points-modern-card .season-points-modern-table .pts-team-cell a:hover {
  color: #b9d1ff !important;
}

.season-card.points-modern-card .season-points-modern-table .rank-chip.rank-qual {
  color: #2ce088 !important;
}

.season-card.points-modern-card .season-points-modern-table .rank-chip.rank-out {
  color: #5d7392 !important;
}

.season-card.points-modern-card .season-points-modern-table .pts-won {
  color: #43ea8f !important;
}

.season-card.points-modern-card .season-points-modern-table .nrr-chip.nrr-pos {
  color: #43ea8f !important;
}

.season-card.points-modern-card .season-points-modern-table .nrr-chip.nrr-neg {
  color: #ff6f77 !important;
}

.season-card.points-modern-card .season-points-modern-table .points-chip.pts-qual {
  background: linear-gradient(135deg, #12954c, #24cc71) !important;
}

.season-card.points-modern-card .season-points-modern-table .points-chip.pts-out {
  background: linear-gradient(135deg, #922a34, #bc4250) !important;
}

.season-card.points-modern-card .points-modern-foot {
  color: #4f6789 !important;
}

.season-card.points-modern-card .points-modern-foot span:last-child {
  color: #f0b324 !important;
}

/* Home winners + right rail */
.home-block-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.home-block-grid.season-grid {
  grid-template-columns: minmax(0, 2.35fr) minmax(250px, 0.85fr);
}

.season-card,
.side-list-card {
  background: #f7f9fc;
  border: 1px solid #d4dce8;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(20, 38, 63, 0.08);
}

.section-card-header {
  padding: 1.2rem 1.3rem 0.9rem;
}

.section-card-header h3 {
  margin: 0;
  color: #1e2b3c;
  font-size: 2.1rem;
  font-weight: 700;
}

.match-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#match-search-slot .dataTables_filter {
  margin: 0;
}

#match-search-slot .dataTables_filter label {
  margin: 0;
  font-size: 0;
}

#match-search-slot .dataTables_filter input {
  border: 1px solid #ccd8e7;
  border-radius: 8px;
  padding: 0.42rem 0.6rem;
  background: #fff;
  color: #2d4059;
  min-width: 220px;
  font-size: 0.95rem;
  margin-left: 0;
}

#match-search-slot .dataTables_filter input:focus {
  outline: none;
  border-color: #6f7dff;
  box-shadow: 0 0 0 3px rgba(111, 125, 255, 0.14);
}

.section-card-header::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  margin-top: 0.9rem;
  background: #6f7dff;
}

.season-table-wrap {
  padding: 0 1.3rem 1.3rem;
  overflow-x: auto;
}

.season-winners-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.season-winners-table th {
  background: #eef3f8;
  color: #41526a;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.95rem 0.85rem;
  border-bottom: 2px solid #d2dce8;
}

.season-winners-table td {
  color: #34465d;
  font-size: 1.55rem;
  line-height: 1.25;
  padding: 1rem 0.85rem;
  border-bottom: 1px solid #dbe3ee;
  vertical-align: top;
}

.season-winners-table tbody tr:first-child td {
  padding-top: 1.35rem;
}

.season-winners-table td a {
  color: #2157df;
  font-weight: 700;
  text-decoration: none;
}

.season-winners-table td a:hover {
  text-decoration: underline;
}

.season-mobile-meta {
  display: none;
}

.season-winners-table th:nth-child(1),
.season-winners-table td:nth-child(1) {
  width: 10%;
}

.season-winners-table th:nth-child(2),
.season-winners-table td:nth-child(2) {
  width: 22%;
}

.season-winners-table th:nth-child(3),
.season-winners-table td:nth-child(3) {
  width: 20%;
}

.season-winners-table th:nth-child(4),
.season-winners-table td:nth-child(4) {
  width: 15%;
}

.season-winners-table th:nth-child(5),
.season-winners-table td:nth-child(5) {
  width: 18%;
}

.season-winners-table th:nth-child(6),
.season-winners-table td:nth-child(6) {
  width: 15%;
}

.side-stack {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0 1.1rem 0.8rem;
}

.side-list li {
  border-top: 1px solid #dbe3ee;
}

.side-list li:first-child {
  border-top: none;
}

.side-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0.2rem;
  color: #33465e;
  font-size: 1.55rem;
  line-height: 1.2;
  text-decoration: none;
}

.side-list li a:hover {
  color: #2157df;
}

.item-icon {
  width: 1.4em;
  text-align: center;
  flex: 0 0 1.4em;
  font-size: 1.2em;
  color: #6a7382;
}

.side-stack .side-list-card:nth-child(2) .item-icon {
  color: #d49a1d;
}

.batting-stats-header {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.06) 8px,
      rgba(255, 255, 255, 0.06) 16px
    ),
    linear-gradient(145deg, #0f1d34 0%, #132443 100%);
  border-radius: 14px 14px 0 0;
  padding: 1.2rem 1.25rem 1rem;
}

.batting-stats-header::after {
  display: none;
}

.batting-top-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
  color: #2ddd84;
  font-weight: 700;
}

.batting-stats-header h3 {
  margin: 0.35rem 0 0.65rem;
  color: #e8f0ff;
  font-size: 2.45rem;
  line-height: 1;
}

.batting-stats-header h3 span {
  color: #2ddd84;
}

.batting-season-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(45, 221, 132, 0.45);
  background: rgba(45, 221, 132, 0.12);
  color: #2ddd84;
  border-radius: 999px;
  padding: 0.25rem 0.72rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.batting-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.batting-stats-list li {
  border-top: 1px solid #dbe4ef;
}

.batting-stat-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  padding: 0.95rem 1.2rem;
  color: #2d4059;
  text-decoration: none;
  background: #f9fbff;
}

.batting-stat-item:hover {
  background: #f1f6ff;
}

.batting-stat-item.is-featured {
  border-left: 3px solid #2ddd84;
  background: #f6fcf9;
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.bat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef3fb;
  color: #617d9d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.batting-stat-item.is-featured .bat-icon {
  background: #fff4d6;
  color: #ca8f08;
}

.bat-text strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
  color: #243851;
}

.bat-text small {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.15rem;
  color: #7186a4;
}

.bat-arrow {
  color: #2ddd84;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
}

.bowling-stats-header {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.06) 8px,
      rgba(255, 255, 255, 0.06) 16px
    ),
    linear-gradient(145deg, #0f1d34 0%, #132443 100%);
  border-radius: 14px 14px 0 0;
  padding: 1.2rem 1.25rem 1rem;
}

.bowling-stats-header::after {
  display: none;
}

.bowling-top-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.82rem;
  color: #2ddd84;
  font-weight: 700;
}

.bowling-stats-header h3 {
  margin: 0.35rem 0 0.65rem;
  color: #e8f0ff;
  font-size: 2.45rem;
  line-height: 1;
}

.bowling-stats-header h3 span {
  color: #2ddd84;
}

.bowling-season-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(45, 221, 132, 0.45);
  background: rgba(45, 221, 132, 0.12);
  color: #2ddd84;
  border-radius: 999px;
  padding: 0.25rem 0.72rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.bowling-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bowling-stats-list li {
  border-top: 1px solid #dbe4ef;
}

.bowling-stat-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  padding: 0.95rem 1.2rem;
  color: #2d4059;
  text-decoration: none;
  background: #f9fbff;
}

.bowling-stat-item:hover {
  background: #f1f6ff;
}

.bowling-stat-item.is-featured {
  border-left: 3px solid #2ddd84;
  background: #f6fcf9;
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.bowl-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef3fb;
  color: #617d9d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.bowling-stat-item.is-featured .bowl-icon {
  background: #fff4d6;
  color: #ca8f08;
}

.bowl-text strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
  color: #243851;
}

.bowl-text small {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.15rem;
  color: #7186a4;
}

.bowl-arrow {
  color: #2ddd84;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
}

.season-rivalries-header {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.06) 8px,
      rgba(255, 255, 255, 0.06) 16px
    ),
    linear-gradient(145deg, #0f1d34 0%, #132443 100%);
  border-radius: 14px 14px 0 0;
  padding: 1rem 1rem 0.85rem;
}

.season-rivalries-header::after {
  display: none;
}

.season-rivalries-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.season-rivalries-title-row h3 {
  margin: 0;
  color: #e8f0ff;
  font-size: 1.9rem;
  line-height: 1.05;
}

.season-rivalries-title-row h3 i {
  color: #98aecd;
  margin-right: 0.35rem;
}

.season-rivalries-title-row span {
  font-size: 0.92rem;
  color: #9db3d0;
  text-transform: lowercase;
  font-weight: 700;
}

.season-rivalry-cards {
  display: grid;
  gap: 0.5rem;
  padding: 0.72rem 0.72rem 0.78rem;
}

.season-rivalry-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  background: #f8fbff;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  text-decoration: none;
  position: relative;
}

.season-rivalry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 10px 10px 0 0;
}

.season-rivalry-team strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.season-rivalry-team span {
  display: block;
  margin-top: 0.22rem;
  color: #8ea0b8;
  font-size: 0.86rem;
  line-height: 1.15;
  font-weight: 600;
}

.season-rivalry-team.right {
  text-align: right;
}

.season-rivalry-vs {
  color: #b8c4d3;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 992px) {
  .home-block-grid {
    grid-template-columns: 1fr;
  }

  .home-block-grid.season-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .section-card-header h3 {
    font-size: 1.45rem;
  }

  .match-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .matches-modern-head {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 0.88rem 0.9rem 0.78rem;
  }

  .matches-modern-head h3 {
    font-size: 2rem;
  }

  #match-search-slot .dataTables_filter input {
    min-width: 180px;
  }

  .season-table-wrap {
    padding: 0 0.8rem 0.9rem;
    overflow-x: visible;
  }

  .season-winners-table {
    table-layout: auto;
  }

  .season-winners-table thead th:nth-child(4),
  .season-winners-table thead th:nth-child(5),
  .season-winners-table thead th:nth-child(6) {
    display: none;
  }

  .season-winners-table tbody tr:not(.season-mobile-meta) td:nth-child(4),
  .season-winners-table tbody tr:not(.season-mobile-meta) td:nth-child(5),
  .season-winners-table tbody tr:not(.season-mobile-meta) td:nth-child(6) {
    display: none;
  }

  .season-winners-table th:nth-child(1),
  .season-winners-table td:nth-child(1) {
    width: 18%;
  }

  .season-winners-table th:nth-child(2),
  .season-winners-table td:nth-child(2) {
    width: 41%;
  }

  .season-winners-table th:nth-child(3),
  .season-winners-table td:nth-child(3) {
    width: 41%;
  }

  .season-winners-table th {
    font-size: 0.76rem;
    padding: 0.68rem 0.45rem;
  }

  .season-winners-table td {
    font-size: 0.96rem;
    padding: 0.78rem 0.45rem;
  }

  .season-winners-table tbody tr:first-child td {
    padding-top: 1rem;
  }

  .season-mobile-meta {
    display: table-row;
    background: #f9fbff;
  }

  .season-mobile-meta td {
    font-size: 0.86rem;
    padding: 0.65rem 0.6rem 0.85rem;
    border-bottom: 1px solid #dbe3ee;
  }

  .mobile-meta-grid {
    display: grid;
    gap: 0.35rem;
  }

  .mobile-meta-grid .meta-key {
    font-weight: 700;
    color: #42556e;
  }

  .side-list li a {
    font-size: 1rem;
  }

  .batting-stats-header h3 {
    font-size: 1.95rem;
  }

  .batting-stat-item {
    padding: 0.78rem 0.92rem;
    gap: 0.72rem;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .batting-stat-item.is-featured {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .bat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .bat-text strong {
    font-size: 1.2rem;
  }

  .bat-text small {
    font-size: 0.9rem;
  }

  .bowling-stats-header h3 {
    font-size: 1.95rem;
  }

  .bowling-stat-item {
    padding: 0.78rem 0.92rem;
    gap: 0.72rem;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .bowling-stat-item.is-featured {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .bowl-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .bowl-text strong {
    font-size: 1.2rem;
  }

  .bowl-text small {
    font-size: 0.9rem;
  }

  .season-points-table th,
  .season-points-table td {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .matches-modern-wrap {
    padding: 0.4rem 0.65rem 0.75rem;
  }

  .season-match-modern-table {
    table-layout: auto;
  }

  .season-match-modern-table th {
    font-size: 0.72rem;
    padding: 0.54rem 0.4rem;
  }

  .season-match-modern-table td {
    font-size: 0.92rem;
    padding: 0.62rem 0.4rem;
  }

  .match-date-cell strong {
    font-size: 1.35rem;
  }

  .match-date-cell span {
    font-size: 0.72rem;
  }

  .match-team-cell a {
    font-size: 0.92rem;
  }

  .match-venue-cell {
    font-size: 0.8rem;
  }

  .pom-name {
    font-size: 0.84rem;
  }

  .pom-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.66rem;
    flex: 0 0 24px;
  }

  .points-modern-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.95rem 0.85rem 0.75rem;
  }

  .points-modern-legend {
    font-size: 0.78rem;
    gap: 0.65rem;
  }

  .points-modern-head h3 {
    font-size: 2.2rem;
  }

  .season-points-modern-table thead th {
    font-size: 0.86rem;
    letter-spacing: 0.08em;
  }

  .season-points-modern-table tbody td {
    font-size: 1.02rem;
    height: 52px;
  }

  .season-points-modern-table td .rank-chip {
    font-size: 1.72rem;
  }

  .season-points-modern-table .pts-team-cell a {
    font-size: 1.15rem;
  }

  .points-modern-wrap {
    padding: 0.45rem 0.85rem 0.85rem;
  }

  .points-modern-foot {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.78rem;
    gap: 0.35rem;
  }

  .points-table-wrap {
    max-height: none;
  }

  .season-match-table th,
  .season-match-table td {
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .season-rivalries-title-row h3 {
    font-size: 1.45rem;
  }

  .season-rivalry-card {
    padding: 0.48rem 0.55rem;
  }

  .season-rivalry-team strong {
    font-size: 1.6rem;
  }

  .season-rivalry-team span {
    font-size: 0.78rem;
  }
}

@media (max-width: 520px) {
  .season-rivalries-header {
    padding: 0.82rem 0.82rem 0.68rem;
  }

  .season-rivalries-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .season-rivalry-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.22rem;
  }

  .season-rivalry-team.right,
  .season-rivalry-team.left {
    text-align: center;
  }
}

/* Player home redesign */
.player-modern-page .content-page {
  background: #eaf0f8;
  padding-top: 1rem;
}

.player-modern-page .content > .container {
  max-width: 1400px;
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.player-hero-modern {
  background:
    repeating-linear-gradient(-35deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 18px, transparent 18px, transparent 36px),
    linear-gradient(130deg, #4d1220 0%, #681425 55%, #3a1120 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.2rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 7, 12, 0.25);
}

.player-hero-meta {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f2af3f;
  font-weight: 700;
}

.player-hero-modern h1 {
  margin: 0.25rem 0 0.8rem;
  font-size: 5.1rem;
  line-height: 0.94;
  font-weight: 800;
  color: #fff;
}

.player-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.player-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8f1ea;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.player-tag i {
  margin-right: 0.35rem;
}

.player-hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 0.2rem;
}

.player-hero-stats > div {
  padding: 0.9rem 0.8rem 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.player-hero-stats > div:last-child {
  border-right: 0;
}

.player-hero-stats strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  color: #f7c04d;
  font-weight: 800;
}

.player-hero-stats span {
  display: block;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: #e4cfd7;
  font-weight: 700;
}

.player-module {
  margin-top: 1.2rem;
  border: 1px solid #142740;
  border-radius: 16px;
  background: linear-gradient(145deg, #071223 0%, #0c1a2c 100%);
  box-shadow: 0 12px 24px rgba(7, 15, 30, 0.24);
  overflow: hidden;
}

.player-module-head {
  padding: 1.05rem 1.2rem 0.9rem;
  border-bottom: 1px solid #16304d;
}

.player-module-head h2 {
  margin: 0;
  color: #f0f5ff;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
}

.player-summary-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-bottom: 1px solid #16304d;
}

.player-summary-strip > div {
  padding: 0.85rem 0.65rem 0.7rem;
  border-right: 1px solid #16304d;
}

.player-summary-strip > div:last-child {
  border-right: 0;
}

.player-summary-strip strong {
  display: block;
  color: #f7c04d;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
}

.player-summary-strip span {
  display: block;
  margin-top: 0.2rem;
  color: #7c94b5;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.player-insight-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.player-insight-card,
.player-chart-card {
  background: linear-gradient(145deg, #121f31 0%, #141f2d 100%);
  border: 1px solid #1d324d;
  border-radius: 14px;
  overflow: hidden;
}

.player-insight-card h3,
.player-chart-card h3 {
  margin: 0;
  padding: 0.9rem 1rem 0.75rem;
  border-bottom: 1px solid #1d324d;
  color: #c9d7ea;
  font-size: 2.2rem;
  font-weight: 800;
}

.player-insight-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.player-insight-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.92rem 1rem;
  border-bottom: 1px solid #1a2c45;
}

.player-insight-card li:last-child {
  border-bottom: 0;
}

.player-insight-card li span {
  color: #9db1cc;
  font-size: 1.24rem;
  font-weight: 700;
}

.player-insight-card li strong {
  color: #f3b229;
  font-size: 1.58rem;
  font-weight: 800;
}

.player-chart {
  min-height: 360px;
  padding: 0.5rem 0.45rem 0.2rem;
}

.player-chart-footer {
  border-top: 1px solid #1d324d;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.player-chart-footer > div {
  padding: 0.78rem 0.62rem 0.7rem;
  border-right: 1px solid #1d324d;
}

.player-chart-footer > div:last-child {
  border-right: 0;
}

.player-chart-footer strong {
  display: block;
  color: #39d98a;
  font-size: 1.7rem;
  font-weight: 800;
}

.player-chart-footer span {
  color: #7c94b5;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.player-table-card {
  border-top: 1px solid #16304d;
  padding: 0.95rem 1rem 1rem;
}

.player-season-table {
  margin: 0;
  width: 100%;
}

.player-season-table thead th {
  border: 0;
  border-bottom: 1px solid #1d324d;
  color: #6f89ab;
  font-size: 0.86rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.7rem 0.66rem;
  background: transparent;
}

.player-season-table tbody td {
  border: 0;
  border-bottom: 1px solid #162b44;
  color: #c4d2e5;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.74rem 0.66rem;
  background: transparent;
}

.player-season-table tbody tr:hover td {
  background: rgba(32, 57, 88, 0.35);
}

.player-season-table .primary-cell .value {
  color: #ff5060;
  font-size: 2rem;
  font-weight: 800;
  margin-right: 0.5rem;
}

.player-season-table .primary-cell .bar {
  display: inline-block;
  width: 110px;
  height: 3px;
  background: #1f3653;
  border-radius: 99px;
  vertical-align: middle;
}

.player-season-table .primary-cell .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff4f5f 0%, #f7ba2e 100%);
  border-radius: 99px;
}

.player-copy-block .player-copy-body {
  padding: 1rem 1.2rem 1.2rem;
}

.player-copy-block .player-copy-body p {
  color: #d0dced;
  font-size: 1.42rem;
  line-height: 1.86;
}

@media (max-width: 1200px) {
  .player-hero-modern h1 {
    font-size: 4.2rem;
  }

  .player-module-head h2 {
    font-size: 2.8rem;
  }

  .player-insight-grid {
    grid-template-columns: 300px 1fr;
  }
}

@media (max-width: 992px) {
  .player-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .player-summary-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .player-insight-grid {
    grid-template-columns: 1fr;
  }

  .player-module-head h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 768px) {
  .player-modern-page .content > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .player-hero-modern {
    padding: 1rem;
  }

  .player-hero-modern h1 {
    font-size: 3.2rem;
  }

  .player-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-hero-stats strong {
    font-size: 2.1rem;
  }

  .player-module-head h2 {
    font-size: 2rem;
  }

  .player-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-insight-card h3,
  .player-chart-card h3 {
    font-size: 1.8rem;
  }

  .player-chart {
    min-height: 300px;
  }

  .player-chart-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-season-table thead th,
  .player-season-table tbody td {
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .player-season-table .primary-cell .value {
    font-size: 1.5rem;
  }

  .player-insight-card li span {
    font-size: 1.08rem;
  }

  .player-insight-card li strong {
    font-size: 1.34rem;
  }

  .player-copy-block .player-copy-body p {
    font-size: 1.22rem;
    line-height: 1.72;
  }
}

.player-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(260px, 1fr);
  gap: 1rem;
}

.player-main-column {
  min-width: 0;
}

.player-team-sidebar {
  min-width: 0;
}

.player-team-card {
  position: sticky;
  top: 96px;
  border: 1px solid #142740;
  border-radius: 16px;
  background: linear-gradient(145deg, #071223 0%, #0c1a2c 100%);
  box-shadow: 0 12px 24px rgba(7, 15, 30, 0.24);
  overflow: hidden;
}

.player-team-card-head {
  padding: 0.95rem 1rem 0.85rem;
  border-bottom: 1px solid #16304d;
}

.player-team-card-head h3 {
  margin: 0;
  color: #f0f5ff;
  font-size: 1.65rem;
  line-height: 1.15;
  font-weight: 800;
}

.player-team-card-body {
  max-height: calc(100vh - 160px);
  overflow: auto;
}

.player-team-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.player-team-list li {
  border-bottom: 1px solid #162b44;
}

.player-team-list li:last-child {
  border-bottom: 0;
}

.player-team-list a {
  display: block;
  padding: 0.78rem 1rem;
  color: #c4d2e5;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}

.player-team-list a:hover {
  background: rgba(32, 57, 88, 0.35);
  color: #f3b229;
}

.player-team-list .empty {
  padding: 1rem;
  color: #90a5c2;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .player-layout-grid {
    grid-template-columns: 1fr;
  }

  .player-team-card {
    position: static;
  }

  .player-team-card-body {
    max-height: none;
  }
}
