/**
 * Plugin UI overrides loaded after the active theme.
 * The plugin owns these match/live/prediction components, so its critical UI fixes
 * must win the cascade.
 */

.tyso-live-page .tyso-live-match-row-link:not(:last-child),
.tyso-live-page .tyso-live-match-list .tyso-live-match-row-link:not(:last-child),
.tyso-live-page .tyso-live-league-group .tyso-live-match-row-link:not(:last-child) {
    border-bottom: 1px solid #d9e9df !important;
}

.tyso-live-row-score b,
.tyso-live-page .tyso-live-row-score b {
    background: #fff0e6 !important;
    color: #c94d00 !important;
}

.tyso-live-row-score small,
.tyso-live-page .tyso-live-row-score small {
    color: #ff5c35 !important;
    font-weight: 900 !important;
}

html.tyso-dark-mode .tyso-live-page .tyso-live-match-row-link:not(:last-child),
html.tyso-dark-mode .tyso-live-page .tyso-live-match-list .tyso-live-match-row-link:not(:last-child),
html.tyso-dark-mode .tyso-live-page .tyso-live-league-group .tyso-live-match-row-link:not(:last-child) {
    border-bottom: 1px solid rgba(122, 154, 138, 0.36) !important;
}

html.tyso-dark-mode .tyso-live-row-score b {
    background: rgba(255, 92, 53, 0.16) !important;
    color: #ff7a1a !important;
    border-color: rgba(255, 122, 26, 0.38) !important;
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.22) inset !important;
}

html.tyso-dark-mode .tyso-live-row-score small {
    color: #ff5c35 !important;
    font-weight: 950 !important;
}

html.tyso-dark-mode .tyso-schedule-container .tyso-match-row.tyso-row-live .tyso-row-score-badge,
html.tyso-dark-mode .tyso-schedule-container .tyso-match-row.tyso-row-live .tyso-row-score > div:first-child,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row.tyso-row-live .tyso-row-score-badge,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row.tyso-row-live .tyso-row-score > div:first-child,
html.tyso-dark-mode .tyso-match-row.tyso-row-live .tyso-row-score-badge,
html.tyso-dark-mode .tyso-match-row.tyso-row-live .tyso-row-score > div:first-child {
    background: rgba(255, 92, 53, 0.16) !important;
    color: #ff7a1a !important;
    border-color: rgba(255, 122, 26, 0.38) !important;
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.22) inset !important;
}

html.tyso-dark-mode .tyso-schedule-container .tyso-match-row.tyso-row-live .tyso-live-mini,
html.tyso-dark-mode .tyso-schedule-container .tyso-match-row.tyso-row-live .blinking-text,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row.tyso-row-live .tyso-live-mini,
html.tyso-dark-mode .tyso-unified-match-list .tyso-match-row.tyso-row-live .blinking-text,
html.tyso-dark-mode .tyso-match-row.tyso-row-live .tyso-live-mini,
html.tyso-dark-mode .tyso-match-row.tyso-row-live .blinking-text {
    color: #ff5c35 !important;
    font-weight: 950 !important;
}

html.tyso-dark-mode .tyso-h2h-card .tyso-h2h-stat-label,
html.tyso-dark-mode .tyso-h2h-card .tyso-h2h-team span {
    color: #e7f2ec !important;
}

html.tyso-dark-mode .tyso-h2h-card .tyso-h2h-team.is-winner span {
    background: rgba(49, 209, 141, 0.14) !important;
    color: #7ee3b1 !important;
}

html.tyso-dark-mode .tyso-h2h-card .tyso-h2h-stat small,
html.tyso-dark-mode .tyso-h2h-card .tyso-h2h-heading p {
    color: #b7c7c0 !important;
}

html.tyso-dark-mode .tyso-h2h-card .tyso-h2h-match-meta strong {
    color: #cfe0d8 !important;
}
