/* ==================================================
   🔥 Competitions 2030 (Bento, Brackets, Groups) 🔥
   ================================================== */
.h2030-comp-page { padding-bottom: 60px; background: var(--bg-matrix); }
.h2030-section-wrapper { margin-bottom: 34px; }
.h2030-section-head { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.h2030-section-title { font-size:24px; font-weight:900; color:var(--text-matrix); margin:0; border-right:4px solid var(--accent-matrix, #10b981); padding-right:15px; line-height:1.25; }
.h2030-section-desc { margin:0; color:#64748b; font-size:13px; font-weight:700; line-height:1.8; }
.h2030-empty-state { background:var(--surface-matrix); padding:30px; border-radius:16px; text-align:center; border:1px solid var(--border-matrix); color:#64748b; font-weight:800; box-shadow: var(--shadow-soft); }

/* الهيدر المشترك للبطولات */
.h2030-comp-hero { position: relative; background: #0f172a; padding: 40px 0; overflow: hidden; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.h2030-comp-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15), transparent 50%); }
.h2030-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.12; filter:blur(28px); transform:scale(1.08); }
.h2030-comp-hero-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content:space-between; gap: 20px; flex-wrap:wrap; }
.h2030-comp-hero-main { display:flex; align-items:center; gap:20px; min-width:280px; flex:1; }
.h2030-comp-logo { width: 100px; height: 100px; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); padding: 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.h2030-comp-logo img { width: 100%; height: 100%; object-fit: contain; }
.h2030-comp-fallback { font-size:42px; }
.h2030-comp-copy { display:flex; flex-direction:column; gap:10px; }
.h2030-comp-title { color: #fff; font-size: 32px; font-weight: 900; margin: 0; line-height:1.12; }
.h2030-comp-desc { margin:0; color:#cbd5e1; line-height:1.85; font-size:14px; max-width:760px; }
.h2030-comp-badge { align-self:flex-start; background: rgba(255,255,255,0.1); color: #cbd5e1; padding: 4px 12px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.h2030-comp-facts { display:grid; grid-template-columns:repeat(2, minmax(0, 180px)); gap:12px; margin-top:6px; }
.h2030-comp-fact { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:12px; display:flex; flex-direction:column; gap:6px; }
.h2030-comp-fact span { font-size:12px; font-weight:800; color:#cbd5e1; }
.h2030-comp-fact strong { font-size:18px; font-weight:900; color:#fff; }
.h2030-comp-leader { min-width:260px; max-width:280px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.1); border-radius:18px; padding:16px; box-shadow:0 10px 25px rgba(0,0,0,.18); }
.h2030-comp-leader-kicker { display:block; color:#dbeafe; font-size:12px; font-weight:900; margin-bottom:10px; }
.h2030-comp-leader-team { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.h2030-comp-leader-team img { width:40px; height:40px; object-fit:contain; }
.h2030-comp-leader-team strong { color:#fff; font-size:18px; font-weight:900; }
.h2030-comp-leader-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; color:#cbd5e1; font-size:12px; font-weight:800; }
.h2030-comp-leader-meta b { color:#fff; font-size:14px; font-weight:900; }

/* 1. نظام الدوري */
.h2030-league-table-card { background: var(--surface-matrix); border: 1px solid var(--border-matrix); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-soft); overflow-x: auto; }
.h2030-table { width: 100%; border-collapse: collapse; text-align: right; min-width: 600px; }
.h2030-table th { color: #64748b; font-size: 12px; font-weight: 800; padding: 12px; border-bottom: 1px solid var(--border-matrix); text-align:center; white-space:nowrap; }
.h2030-table td { padding: 12px; font-size: 14px; font-weight: 800; color: var(--text-matrix); border-bottom: 1px dashed rgba(15,23,42,0.05); text-align:center; white-space:nowrap; }
.h2030-table .is-right { text-align:right; }
.h2030-table tr.is-top { background: rgba(16, 185, 129, 0.05); }
.h2030-table tr.is-danger { background: rgba(239, 68, 68, 0.05); }
.h2030-team-cell { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.h2030-team-cell img { width: 24px; height: 24px; object-fit:contain; }
.h2030-team-cell a, .h2030-team-cell span { color:var(--text-matrix); text-decoration:none; font-weight:800; }
.h2030-team-cell a:hover { color:var(--accent-matrix); }
.h2030-row-badge { margin-inline-start:auto; display:inline-flex; align-items:center; justify-content:center; min-height:24px; padding:0 8px; border-radius:999px; font-size:10px; font-weight:900; }
.h2030-row-badge.is-top { background:rgba(16,185,129,.12); color:#047857; }
.h2030-row-badge.is-danger { background:rgba(239,68,68,.12); color:#b91c1c; }
.h2030-pts { color: #10b981; font-weight: 900; font-size: 16px; }

/* 2. شجرة الإقصائيات */
.h2030-bracket-wrapper { width: 100%; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 0 16px; scrollbar-width: thin; }
.h2030-bracket-tree { display: flex; gap: 18px; min-width: max-content; padding: 0 4px; align-items:flex-start; }
.h2030-bracket-col { display: flex; flex-direction: column; gap: 14px; flex: 0 0 290px; scroll-snap-align: start; }
.h2030-round-title { text-align: center; font-size: 14px; font-weight: 900; color: #fff; background: #0f172a; padding: 10px; border-radius: 12px; margin-bottom: 2px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.h2030-match-node { display:block; background: var(--surface-matrix); border: 1px solid var(--border-matrix); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-soft); position: relative; text-decoration:none; }
.h2030-match-node::after { content: ''; position: absolute; right: -18px; top: 50%; width: 18px; height: 2px; background: var(--border-matrix); }
.h2030-bracket-col:last-child .h2030-match-node::after { display: none; }
.h2030-node-team { display: flex; justify-content: space-between; align-items: center; gap:8px; padding: 8px 0; border-bottom: 1px solid rgba(15,23,42,0.05); }
.h2030-node-team:last-child { border: none; }
.h2030-n-info { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--text-matrix); min-width:0; }
.h2030-n-info span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.h2030-n-info img { width: 22px; height: 22px; object-fit:contain; flex:0 0 22px; }
.h2030-n-score { font-size: 16px; font-weight: 900; color: var(--text-matrix); }
.h2030-node-team.is-winner .h2030-n-score { color: #10b981; }

/* 3. شبكة المجموعات */
.h2030-groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.h2030-regions-grid { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.h2030-group-card { background: var(--surface-matrix); border: 1px solid var(--border-matrix); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-soft); }
.h2030-group-card .h2030-league-table-card { padding:0; border:0; box-shadow:none; background:transparent; }
.h2030-group-name { font-size: 18px; font-weight: 900; color: var(--text-matrix); margin: 0 0 15px 0; padding-right: 12px; border-right: 4px solid #3b82f6; }
.h2030-group-name.is-west { border-color:#10b981; }
.h2030-group-name.is-east { border-color:#ef4444; }

/* 4. بطاقات الإحصائيات */
.h2030-stats-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:20px; }
.h2030-stat-box { background:var(--surface-matrix); padding:20px; border-radius:20px; box-shadow:var(--shadow-soft); border:1px solid var(--border-matrix); }
.h2030-stat-box h4 { font-size:18px; font-weight:900; margin:0 0 20px; color:var(--text-matrix); }
.h2030-stat-box ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.h2030-stat-box li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:12px; border-bottom:1px dashed var(--border-matrix); }
.h2030-stat-box li:last-child { border-bottom:0; padding-bottom:0; }
.h2030-stat-rank { font-weight:900; color:#64748b; font-size:14px; background:var(--bg-matrix); width:24px; height:24px; display:flex; align-items:center; justify-content:center; border-radius:6px; flex:0 0 24px; }
.h2030-stat-player { display:flex; flex-direction:column; gap:4px; flex:1; min-width:0; }
.h2030-stat-player strong { font-size:14px; font-weight:800; color:var(--text-matrix); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.h2030-stat-player small { font-size:12px; color:#64748b; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.h2030-stat-box b { color:#10b981; font-size:18px; font-weight:900; }
.h2030-stat-box b.is-assist { color:#3b82f6; }

/* 5. Universal Match Card 2030 */
.h2030-comp-matches-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 15px; 
    margin-bottom: 10px;
}
.h2030-comp-match-card { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: var(--surface-matrix); 
    border: 1px solid var(--border-matrix); 
    border-radius: 16px; 
    padding: 18px 15px; 
    box-shadow: var(--shadow-soft); 
    transition: 0.3s ease; 
    text-decoration: none !important;
}
.h2030-comp-match-card:hover { 
    transform: translateY(-4px); 
    border-color: var(--accent-matrix); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.h2030-comp-match-team { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
    flex: 1; 
    min-width: 0; 
}
.h2030-comp-match-team img { 
    width: 45px; 
    height: 45px; 
    object-fit: contain; 
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}
.h2030-comp-match-team .t-name { 
    font-size: 14px; 
    font-weight: 800; 
    color: var(--text-matrix); 
    text-align: center; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    width: 100%; 
}
.h2030-comp-match-center { 
    flex: 0 0 90px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    border-left: 1px dashed var(--border-matrix);
    border-right: 1px dashed var(--border-matrix);
    padding: 0 10px;
}
.h2030-comp-match-center .m-score { 
    font-size: 26px; 
    font-weight: 900; 
    color: var(--text-matrix); 
    line-height: 1; 
    letter-spacing: 1px;
}
.h2030-comp-match-center .m-status-finished { 
    font-size: 11px; 
    font-weight: 800; 
    color: #64748b; 
    margin-top: 6px; 
    background: rgba(15,23,42,0.05); 
    padding: 2px 8px; 
    border-radius: 6px;
    text-align:center;
}
.h2030-comp-match-center .m-time { 
    font-size: 22px; 
    font-weight: 900; 
    color: #10b981; 
    line-height: 1; 
    letter-spacing: 1px;
}
.h2030-comp-match-center .m-date { 
    font-size: 12px; 
    font-weight: 800; 
    color: var(--text-matrix); 
    margin-top: 6px; 
}

/* 6. أخبار البطولة */
.h2030-news-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:15px; }
.h2030-news-card { display:flex; gap:15px; align-items:center; background: var(--surface-matrix); border: 1px solid var(--border-matrix); border-radius: 16px; padding: 12px; transition: 0.3s; text-decoration:none; box-shadow:var(--shadow-soft); }
.h2030-news-card:hover { transform:translateY(-3px); border-color:var(--accent-matrix); }
.h2030-news-thumb { width: 100px; height: 100px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background:#e2e8f0; display:flex; align-items:center; justify-content:center; color:#475569; font-weight:800; }
.h2030-news-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.h2030-news-body { flex:1; min-width:0; }
.h2030-news-body h4 { color: var(--text-matrix); font-size: 14px; font-weight: 800; margin: 0 0 10px 0; line-height: 1.6; }
.h2030-news-body time { display:flex; align-items:center; gap:5px; color: #64748b; font-size: 11px; font-weight: 700; }

@media (max-width: 991px) {
  .h2030-comp-hero-content { flex-direction:column; align-items:stretch; }
  .h2030-comp-leader { max-width:none; }
}

@media (max-width: 767px) {
  .h2030-league-table-card {
    overflow: hidden;
    border-radius: 18px;
  }

  .h2030-table {
    min-width: 0;
    table-layout: fixed;
  }

  .h2030-table .hide-sm,
  .h2030-table .hide-md {
    display: none !important;
  }

  .h2030-table th,
  .h2030-table td {
    padding: 10px 6px;
    font-size: 12px;
  }

  .h2030-table .td-rank {
    width: 34px;
    font-size: 13px;
  }

  .h2030-table .td-played,
  .h2030-table .td-points {
    width: 52px;
    font-size: 13px;
  }

  .h2030-team-cell {
    min-width: 0;
    gap: 6px;
  }

  .h2030-team-cell img {
    width: 20px;
    height: 20px;
  }

  .h2030-team-cell a,
  .h2030-team-cell span {
    font-size: 12px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .h2030-row-badge {
    display: none;
  }

  .h2030-stars-box {
    padding: 14px;
    border-radius: 18px;
  }

  .h2030-star-item {
    grid-template-columns: 30px minmax(0,1fr) 54px;
    padding: 10px;
    border-radius: 14px;
  }

  .h2030-star-rank {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 12px;
  }

  .h2030-star-copy strong {
    font-size: 14px;
  }

  .h2030-star-copy small {
    font-size: 11px;
  }

  .h2030-star-metric {
    min-width: 54px;
    padding: 8px 6px;
  }

  .h2030-star-metric b {
    font-size: 16px;
  }

  .h2030-comp-match-card {
    grid-template-columns: minmax(0,1fr) 82px minmax(0,1fr);
    min-height: 96px;
    padding: 14px 10px;
    gap: 8px;
    border-radius: 18px;
  }

  .h2030-comp-match-team {
    gap: 8px;
  }

  .h2030-comp-match-team img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .h2030-comp-match-team .t-name {
    font-size: 13px;
  }

  .h2030-comp-match-center {
    width: 82px;
    min-width: 82px;
    max-width: 82px;
    padding: 0 6px;
  }

  .h2030-comp-match-center .m-score,
  .h2030-comp-match-center .m-time {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
    .h2030-comp-matches-grid { grid-template-columns: 1fr; gap: 12px; }
    .h2030-comp-match-card { padding: 15px 10px; }
    .h2030-comp-match-team img { width: 38px; height: 38px; }
    .h2030-comp-match-team .t-name { font-size: 13px; }
    .h2030-comp-match-center { flex: 0 0 80px; }
    .h2030-comp-match-center .m-score { font-size: 22px; }
    .h2030-comp-match-center .m-time { font-size: 18px; }
    .h2030-comp-facts { grid-template-columns:1fr; }
    .h2030-groups-grid, .h2030-stats-grid, .h2030-news-grid { grid-template-columns:1fr; }
}

@media (max-width: 575px) {
  .h2030-table { min-width: 420px; }
  .h2030-table .hide-md { display:none; }
  .h2030-team-cell { min-width: 160px; }
  .h2030-team-cell img { width:22px; height:22px; }
  .h2030-team-cell a, .h2030-team-cell span { font-size:12px; }
  .h2030-bracket-col { flex-basis: 232px; }
  .h2030-round-title { font-size:13px; }
  .h2030-n-info { font-size:13px; }
}


/* ==================================================
   🔥 Saudi League final polish (responsive cards/table/stars) 🔥
   ================================================== */
.h2030-league-table-card { overflow: visible; }
.h2030-table { table-layout: fixed; }
.h2030-table .td-rank,
.h2030-table .td-played,
.h2030-table .td-points { font-weight: 900; }
.h2030-table .td-points { color: #10b981; }

.h2030-stars-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr);
  gap: 18px;
}
.h2030-stars-box {
  background: var(--surface-matrix, #ffffff);
  border: 1px solid var(--border-matrix, #e2e8f0);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.h2030-stars-box.is-assists {
  background: var(--surface-matrix, #ffffff);
}
.h2030-stars-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.h2030-stars-head h4 {
  margin: 0;
  color: var(--text-matrix, #0f172a) !important;
  font-size: 18px;
  font-weight: 900;
}
.h2030-stars-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--bg-matrix, #f8fafc);
  color: var(--text-matrix, #475569);
  font-size: 11px;
  font-weight: 900;
}
.h2030-stars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.h2030-star-item {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border-matrix, #e2e8f0);
  background: var(--bg-matrix, #f8fafc);
}
.h2030-star-rank {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,.06);
  color: var(--text-matrix, #475569);
  font-size: 13px;
  font-weight: 900;
}
.h2030-star-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.h2030-star-copy strong {
  color: var(--text-matrix, #0f172a) !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h2030-star-copy small {
  color: var(--text-matrix, #64748b) !important;
  opacity: .82;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h2030-star-metric {
  min-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(16,185,129,.12);
}
.h2030-star-metric.is-assist {
  background: rgba(59,130,246,.12);
}
.h2030-star-metric b {
  color: #059669;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.h2030-star-metric.is-assist b {
  color: #2563eb;
}
.h2030-star-metric span {
  color: var(--text-matrix, #64748b);
  opacity: .82;
  font-size: 10px;
  font-weight: 900;
}

.h2030-comp-matches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.h2030-comp-match-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  flex-direction: row !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 10px;
  min-height: 112px;
  padding: 16px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #081325 0%, #0f1d35 100%);
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 18px 38px rgba(2,8,23,.14);
  direction: ltr;
}
.h2030-comp-match-card:hover {
  border-color: rgba(16,185,129,.45);
  box-shadow: 0 18px 38px rgba(2,8,23,.18);
}
.h2030-comp-match-team {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  min-width: 0;
  text-align: center;
}
.h2030-comp-match-team.is-home {
  direction: rtl;
}
.h2030-comp-match-team.is-away {
  direction: rtl;
}
.h2030-comp-match-team img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}
.h2030-comp-match-team .t-name {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h2030-comp-match-center {
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed rgba(255,255,255,.14);
  border-right: 1px dashed rgba(255,255,255,.14);
  padding: 0 8px;
}
.h2030-comp-match-center .m-score {
  color: #ffffff;
  font-size: 24px;
}
.h2030-comp-match-center .m-status-finished {
  color: #dbe4f0;
  background: rgba(255,255,255,.08);
}
.h2030-comp-match-center .m-time {
  color: #22c55e;
  font-size: 24px;
}
.h2030-comp-match-center .m-date {
  color: #cbd5e1;
  font-size: 12px;
}

@media (max-width: 991px) {
  .h2030-stars-grid,
  .h2030-comp-matches-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .h2030-league-table-card {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .h2030-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .h2030-table thead {
    display: none;
  }

  .h2030-table tbody {
    display: block;
  }

  .h2030-table tr {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 58px 62px;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--surface-matrix, #ffffff);
    border: 1px solid var(--border-matrix, #e2e8f0);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 10px;
  }

  .h2030-table td {
    border: 0;
    padding: 0;
    white-space: normal;
  }

  .h2030-table .hide-sm,
  .h2030-table .hide-md {
    display: none !important;
  }

  .h2030-table .td-rank {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bg-matrix, #f8fafc);
    font-size: 15px;
    font-weight: 900;
  }

  .h2030-table .td-team {
    grid-column: 2 / 5;
    grid-row: 1;
  }

  .h2030-table .td-played,
  .h2030-table .td-points {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    background: var(--bg-matrix, #f8fafc);
    font-weight: 900;
  }

  .h2030-table .td-played::before,
  .h2030-table .td-points::before {
    content: attr(data-label);
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 3px;
  }

  .h2030-table .td-played { grid-column: 3; grid-row: 2; }
  .h2030-table .td-points { grid-column: 4; grid-row: 2; }

  .h2030-team-cell {
    min-width: 0;
    gap: 8px;
  }

  .h2030-team-cell img {
    width: 24px;
    height: 24px;
  }

  .h2030-team-cell a,
  .h2030-team-cell span {
    font-size: 13px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .h2030-row-badge {
    display: none;
  }

  .h2030-stars-box {
    padding: 14px;
    border-radius: 18px;
  }

  .h2030-star-item {
    grid-template-columns: 30px minmax(0,1fr) 54px;
    padding: 10px;
    border-radius: 14px;
  }

  .h2030-star-rank {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 12px;
  }

  .h2030-star-copy strong {
    font-size: 14px;
  }

  .h2030-star-copy small {
    font-size: 11px;
  }

  .h2030-star-metric {
    min-width: 54px;
    padding: 8px 6px;
  }

  .h2030-star-metric b {
    font-size: 16px;
  }

  .h2030-comp-match-card {
    grid-template-columns: minmax(0,1fr) 82px minmax(0,1fr);
    min-height: 96px;
    padding: 14px 10px;
    gap: 8px;
    border-radius: 18px;
  }

  .h2030-comp-match-team {
    gap: 8px;
  }

  .h2030-comp-match-team img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .h2030-comp-match-team .t-name {
    font-size: 13px;
  }

  .h2030-comp-match-center {
    width: 82px;
    min-width: 82px;
    max-width: 82px;
    padding: 0 6px;
  }

  .h2030-comp-match-center .m-score,
  .h2030-comp-match-center .m-time {
    font-size: 20px;
  }
}


/* ==================================================
   🔥 Final mobile corrections (league table + dates/cards) 🔥
   ================================================== */
.h2030-league-table-card {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.h2030-league-table-card::-webkit-scrollbar { display: none; }

@media (max-width: 767px) {
  .h2030-league-table-card {
    overflow-x: hidden !important;
    border-radius: 18px;
  }

  .h2030-table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
  }

  .h2030-table thead {
    display: table-header-group !important;
  }

  .h2030-table tbody {
    display: table-row-group !important;
  }

  .h2030-table tr {
    display: table-row !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
  }

  .h2030-table th,
  .h2030-table td {
    display: table-cell !important;
    padding: 10px 4px !important;
    border-bottom: 1px solid var(--border-matrix) !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    background: transparent !important;
    font-size: 12px !important;
  }

  .h2030-table .hide-sm,
  .h2030-table .hide-md,
  .h2030-table .h2030-row-badge {
    display: none !important;
  }

  .h2030-table .td-rank {
    width: 32px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  .h2030-table .td-played,
  .h2030-table .td-points {
    width: 46px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  .h2030-table .is-right,
  .h2030-table .td-team {
    text-align: right !important;
  }

  .h2030-team-cell {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    gap: 6px !important;
  }

  .h2030-team-cell img {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
  }

  .h2030-team-cell a,
  .h2030-team-cell span {
    display: block !important;
    min-width: 0 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .h2030-table tbody tr.is-top td:first-child {
    box-shadow: inset 3px 0 0 #10b981;
  }

  .h2030-table tbody tr.is-danger td:first-child {
    box-shadow: inset 3px 0 0 #ef4444;
  }

  .h2030-comp-matches-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .h2030-comp-match-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr) !important;
    align-items: center !important;
    min-height: 96px !important;
    padding: 14px 10px !important;
    gap: 8px !important;
    border-radius: 18px !important;
    direction: ltr !important;
  }

  .h2030-comp-match-team {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .h2030-comp-match-team.is-home,
  .h2030-comp-match-team.is-away {
    direction: rtl !important;
  }

  .h2030-comp-match-team img {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
  }

  .h2030-comp-match-team .t-name {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .h2030-comp-match-center {
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    padding: 0 6px !important;
  }

  .h2030-comp-match-center .m-score,
  .h2030-comp-match-center .m-time {
    font-size: 20px !important;
  }

  .h2030-comp-match-center .m-date,
  .h2030-comp-match-center .m-status-finished {
    font-size: 11px !important;
  }
}


/* ==================================================
   🔥 World Cup Special (Saudi Highlights) 🔥
   ================================================== */
.h2030-worldcup-saudi-wrap .h2030-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.h2030-worldcup-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.h2030-worldcup-kicker .h2030-section-head {
  margin: 0;
}
.h2030-worldcup-kicker .h2030-section-title {
  margin-bottom: 0;
}
.h2030-worldcup-kicker-flag {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(16,185,129,.12);
  font-size: 18px;
}
.h2030-worldcup-groups-grid {
  align-items: start;
}
.h2030-worldcup-group-card {
  padding: 18px;
}
.h2030-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.h2030-group-header .h2030-group-name {
  margin: 0;
  padding: 0;
  border: 0;
}
.h2030-worldcup-group-table-wrap {
  overflow: hidden;
  border-radius: 16px;
}
.h2030-worldcup-table {
  min-width: 0;
  table-layout: fixed;
}
.h2030-worldcup-table th,
.h2030-worldcup-table td {
  padding: 11px 8px;
}
.h2030-worldcup-table th:first-child,
.h2030-worldcup-table td:first-child {
  width: auto;
}
.h2030-worldcup-table th:nth-child(2),
.h2030-worldcup-table td:nth-child(2),
.h2030-worldcup-table th:nth-child(3),
.h2030-worldcup-table td:nth-child(3),
.h2030-worldcup-table th:nth-child(4),
.h2030-worldcup-table td:nth-child(4) {
  width: 56px;
}
.h2030-worldcup-table .h2030-team-cell {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px 22px minmax(0,1fr);
  gap: 8px;
  align-items: center;
}
.h2030-worldcup-rank {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #64748b;
  background: var(--bg-matrix);
  border-radius: 999px;
}
.h2030-worldcup-table .h2030-team-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.h2030-worldcup-team-name {
  min-width: 0;
  color: var(--text-matrix);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h2030-worldcup-team-name.is-saudi-team {
  color: #10b981;
  font-weight: 900;
}
.is-saudi-group {
  background: linear-gradient(145deg, var(--surface-matrix), rgba(16,185,129,0.05));
  border: 2px solid #10b981;
  box-shadow: 0 10px 30px rgba(16,185,129,0.12);
  position: relative;
  z-index: 2;
}
.saudi-group-badge {
  background: #10b981;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(16,185,129,0.25);
  white-space: nowrap;
}
.is-highlighted-team td {
  background: rgba(16,185,129,0.08) !important;
}

@media (max-width: 767px) {
  .h2030-worldcup-groups-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .h2030-worldcup-group-card {
    padding: 14px;
    border-radius: 18px;
  }

  .h2030-group-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
    align-items: flex-start;
  }

  .saudi-group-badge {
    font-size: 10px;
    padding: 4px 8px;
  }

  .h2030-worldcup-table th,
  .h2030-worldcup-table td {
    padding: 9px 6px;
    font-size: 12px;
  }

  .h2030-worldcup-table th:nth-child(3),
  .h2030-worldcup-table td:nth-child(3) {
    display: none;
  }

  .h2030-worldcup-table th:nth-child(2),
  .h2030-worldcup-table td:nth-child(2),
  .h2030-worldcup-table th:nth-child(4),
  .h2030-worldcup-table td:nth-child(4) {
    width: 48px;
  }

  .h2030-worldcup-table .h2030-team-cell {
    grid-template-columns: 20px 18px minmax(0,1fr);
    gap: 6px;
  }

  .h2030-worldcup-table .h2030-team-cell img {
    width: 18px;
    height: 18px;
  }

  .h2030-worldcup-rank {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .h2030-worldcup-team-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
    font-size: 12px;
  }
}