/* Template overrides */
@font-face {
  font-family: "NeoSansArabic";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: local("Segoe UI"), local("Tahoma"), local("Arial");
}

.loading-placeholder .AY_Match {
  opacity: 0.6;
}

.api-status {
  font-size: 11px;
  color: #888;
  text-align: center;
  padding: 4px;
}

.MtCard {
  background: var(--match-bg);
  border-radius: var(--rounded);
  margin-bottom: 15px;
  overflow: hidden;
}

.backMatch {
  padding: 20px;
}

.McInner {
  justify-content: center;
  gap: 20px;
}

.McTeam {
  text-align: center;
  flex: 1;
}

.TmFlag {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.TmNeam {
  font-size: 18px;
  font-weight: 500;
}

.matchvs {
  font-size: 24px;
  font-weight: bold;
  color: var(--main_color);
}

.AY-MatchInfo {
  margin: 20px 0;
}

.AY-MatchInfo h2 {
  margin-bottom: 10px;
}

.no-matches {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
}

/* Match detail */
.ht-score {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.goals-col h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--main_color);
}

.goals-list {
  list-style: none;
  padding: 0;
}

.goals-list li {
  padding: 6px 10px;
  background: var(--Gray1);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 14px;
}

.goal-min {
  color: var(--main_color);
  font-weight: bold;
  margin-right: 6px;
}

.goal-og, .goal-pen {
  font-size: 12px;
  color: #888;
}

.cards-list {
  list-style: none;
  padding: 0;
}

.cards-list li {
  padding: 8px 12px;
  background: var(--Gray1);
  border-radius: 6px;
  margin-bottom: 6px;
}

.stats-table {
  background: var(--Gray1);
  border-radius: 8px;
  overflow: hidden;
}

.stats-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 10px 15px;
  background: var(--DarkColor);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.stat-row {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid var(--Gray3);
  gap: 10px;
}

.stat-val {
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

.stat-label {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-bottom: 4px;
  color: #666;
}

.stat-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--Gray3);
}

.stat-bar-home {
  background: var(--main_color);
  transition: width 0.5s;
}

.stat-bar-away {
  background: var(--yrsdaybg);
  transition: width 0.5s;
}

/* News page */
.news-excerpt {
  font-size: 13px;
  color: #666;
  margin: 6px 0;
  line-height: 1.5;
}

.news-meta {
  font-size: 11px;
  color: #999;
}

.news-more-card .gr-info {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: var(--main_color);
  color: #fff;
}

.news-more-card h3 {
  color: #fff !important;
}

@media screen and (max-width: 500px) {
  .goals-grid {
    grid-template-columns: 1fr;
  }
  .stats-header {
    font-size: 11px;
  }
}
