/* v23: visual category colors, independent of the opposing nation. */

/* Combined admin list: every rating card has the same Japanese-blue styling. */
body.admin-v20-page .dashboard-unified-row.kind-rating[data-kind="rating"],
body.admin-v20-page .dashboard-unified-row.kind-rating[data-kind="rating"].opponent-brazil,
body.admin-v20-page .dashboard-unified-row.kind-rating[data-kind="rating"].opponent-uruguay,
body.admin-v20-page .dashboard-unified-row.kind-rating[data-kind="rating"].opponent-new-zealand,
body.admin-v20-page .dashboard-unified-row.kind-rating[data-kind="rating"].opponent-venezuela,
body.admin-v20-page .dashboard-unified-row.kind-rating[data-kind="rating"].opponent-ecuador{
  background:#eaf3ff!important;
  border:1px solid #b1d2f2!important;
  border-left:5px solid #2168b0!important;
  color:#183e69;
}

/* Dedicated rating management: cancel old :has(opponent) color overrides. */
body.admin-v20-page #list .j3-v14-item{
  --match-bg:#eaf3ff!important;
  --match-accent:#2168b0!important;
  --match-ink:#163e6b!important;
  background:#eaf3ff!important;
  border:1px solid #b1d2f2!important;
  border-left:5px solid #2168b0!important;
}

/* Public match list: scoring cards use one cool blue regardless of country. */
body.public-home-v670 .latest-wrap .match-row,
body.public-home-v670 .past-wrap .match-row,
body.public-home-v670 .past-wrap .match-row:nth-child(even){
  background:#eaf3ff!important;
  border-left:5px solid #2168b0;
}

/* The team name remains readable, but no country-specific yellow/grey/etc. */
body.public-home-v670 .match-opponent,
body.public-home-v670 .opponent-brazil .match-opponent{
  background:#fff!important;
  border:1px solid #a7c8e9!important;
  color:#174a79!important;
}

/* Other scoring pages also avoid special opponent-country backgrounds. */
body.rating-form-v670.opponent-brazil #matchTitle,
body.results-v670.opponent-brazil #title{
  background:#eaf3ff!important;
  border-left-color:#2168b0!important;
  color:#174a79!important;
}
body.series-v670 .series-match-links .btn.opponent-brazil,
body.series-v670 .series-table td.match-score-cell.brazil-col{
  background:#eaf3ff!important;
  border-color:#b1d2f2!important;
}
body.series-v670 .series-table th.match-score-head.brazil-col{
  background:#dcecff!important;
  color:#174a79!important;
}
