/* Kisure Sports Frontend v599
 * Keep global/compact football surfaces visually neutral.
 * Team-derived palettes remain available for Match Centre momentum/stats and
 * other detail-page uses, but are intentionally not painted onto header rows,
 * homepage score cards or Transfer Centre team cells.
 */

/* Global football header: neutral club rows and score capsule. */
.football-header-match-row > b {
    box-shadow: none !important;
}
.football-header-match-row__team img {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/* Homepage live/upcoming/finished score deck: club identity comes from the
   crest/name, not a colored team strip or dual-colored score edge. */
.football-home-board--v550 .ks-match {
    box-shadow: none !important;
}
.football-home-board--v550 .ks-match__teams .ks-team {
    background: transparent !important;
}
.football-home-board--v550 .ks-team__logo-wrap,
.football-home-board--v550 .ks-team__logo {
    outline: none !important;
    box-shadow: none !important;
}
.football-home-board--v550 .ks-match__score {
    box-shadow: none !important;
}

/* Transfer Centre: return From/To cells to the original neutral table design. */
.ks-transfer-table__row .ks-transfer-team-cell > a,
.ks-transfer-table__row .ks-transfer-team-cell > span,
.ks-transfer-table__row .ks-transfer-team-cell > a:hover,
.ks-transfer-table__row .ks-transfer-team-cell > span:hover {
    background: transparent !important;
}
.ks-transfer-table__row .ks-transfer-team-logo {
    outline: none !important;
    box-shadow: none !important;
}

/* Dark mode stays neutral too; do not reintroduce team tints by inheritance. */
html[data-theme="dark"] .football-header-match-row__team img,
body.dark-mode .football-header-match-row__team img,
html[data-theme="dark"] .football-home-board--v550 .ks-team__logo-wrap,
body.dark-mode .football-home-board--v550 .ks-team__logo-wrap,
html[data-theme="dark"] .ks-transfer-table__row .ks-transfer-team-logo,
body.dark-mode .ks-transfer-table__row .ks-transfer-team-logo {
    outline: none !important;
    box-shadow: none !important;
}
