.anwp-stats-table {
  background-color: #e5e7eb;
  color: #000000;
}

a.team__link {
  color: #d4af37;
}

.game-header {
  color: #000000;
}

.anwp-block-header {
  color: #cccccc;
}

.game-header__top {
  color: #000000;
}

.game-list,
.game-list-v2,
.list-group-item {
    background-color: #f1f1f1 !important;
}

/* Download button inside the gallery items */
#dl-gallery .dl-download-btn{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(0,0,0,.75);
  color:#fff !important;
  padding:8px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  z-index:9999;
  line-height:1;
}

/* Desktop: show on hover only */
@media (min-width:768px){
  #dl-gallery .dl-download-btn{ opacity:0; transition:opacity .2s ease, transform .2s ease; }
  #dl-gallery a.e-gallery-item:hover .dl-download-btn,
  #dl-gallery a.elementor-gallery-item:hover .dl-download-btn{
    opacity:1; transform:translateX(-50%) translateY(-2px);
  }
}

/* Mobile: always visible */
@media (max-width:767px){
  #dl-gallery .dl-download-btn{ opacity:1; }
}

/* Elementor Gallery: let height reflow when switching filters */
#dl-gallery .elementor-gallery__container,
#dl-gallery .e-gallery-container,
#dl-gallery .elementor-gallery__gallery {
  height: auto !important;
  min-height: 0 !important;
}

/* REMOVE the gold background behind Current Team (outer wrapper) */
.player-header,
.player-header.anwp-bg-light,
.player-header.anwp-section {
  background: #060644 !important; /* dark blue */
  border: none !important;
}

/* Inner Current Team bar */
.player-header__options {
  background: #060644 !important;
  border: none !important;
}

/* Label "Current Team" */
.player-header__option-title {
  color: #ffffff !important;
  opacity: 0.85;
}

/* Team name */
.player-header__option-value a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

/* Optional: remove any remaining gold padding feel */
.player-header {
  padding: 12px 0 !important;
}

/* Player page: make stats blocks dark blue instead of gold/light */
body.single-sl_player .anwp-bg-light {
  background: #060644 !important;
}

/* "No Data" / stats boxes text */
body.single-sl_player .anwp-sl-nodata,
body.single-sl_player .anwp-sl-nodata * {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Player Stats header text (optional: make it white & clean) */
body.single-sl_player .anwp-block-header {
  color: #ffffff !important;
}

/* If there are borders/lines looking gold */
body.single-sl_player .anwp-border-light,
body.single-sl_player .anwp-border-light * {
  border-color: rgba(255,255,255,0.12) !important;
}

/* Make game score numbers black */
.game-list-v2__scores-number {
  color: #000000 !important;
  font-weight: 700;
}

.anwp-bracket .game-list__team,
.anwp-bracket .game-list__team * {
  color: #000000 !important;
}
.anwp-bracket .game-list__team {
  font-weight: 600;
}

.bracket, .anwp-sl-stages__item--active {
color: #222;
}