/* Kisure v653 — precise Match Centre live clock.
 * Flashscore-style stack: phase, continuous MM:SS, provider added-time marker.
 */
.article-match-scoreboard--match-page .article-match-scoreboard__score > [data-live-match-centre-clock] {
    grid-column: 1 / -1;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 96px;
    margin-top: 9px;
    line-height: 1.05;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.article-match-scoreboard--match-page [data-live-match-centre-clock]::before,
.article-match-scoreboard--match-page [data-live-match-centre-clock]::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}
.article-match-scoreboard--match-page [data-live-phase-label] {
    display: block;
    color: #fb7185;
    font-size: .74rem;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.article-match-scoreboard--match-page [data-live-clock-time] {
    display: block;
    color: #8de2d7;
    font-size: 1.06rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .015em;
    font-variant-numeric: tabular-nums;
}
.article-match-scoreboard--match-page [data-live-added-time-label] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 19px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(251, 113, 133, .14);
    color: #fda4af;
    font-size: .72rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .025em;
}
.article-match-scoreboard--match-page [data-live-added-time-label][hidden] {
    display: none !important;
}
.article-match-scoreboard--match-page [data-live-match-centre-clock].is-live-clock-halftime [data-live-phase-label] {
    color: #8de2d7;
}
.article-match-scoreboard--match-page [data-live-match-centre-clock].is-live-clock-halftime [data-live-clock-time] {
    color: #fff;
}
@media (max-width: 760px) {
    .article-match-scoreboard--match-page .article-match-scoreboard__score > [data-live-match-centre-clock] {
        min-width: 82px;
        margin-top: 7px;
    }
    .article-match-scoreboard--match-page [data-live-phase-label] { font-size: .68rem; }
    .article-match-scoreboard--match-page [data-live-clock-time] { font-size: .98rem; }
}

/* v663: when a fixture is live, the Match Centre itself is the primary content.
 * Static history/table/story context remains available below factual live data.
 * This is presentation-only ordering; no live status is inferred in CSS/JS. */
.football-match-main-column.is-live-match > * {
    order: 50;
}
.football-match-main-column.is-live-match > #timeline,
.football-match-main-column.is-live-match > [data-kisure-match-commentary] {
    order: 10;
}
.football-match-main-column.is-live-match > #momentum,
.football-match-main-column.is-live-match > [data-kisure-match-momentum] {
    order: 20;
}
.football-match-main-column.is-live-match > #stats,
.football-match-main-column.is-live-match > [data-kisure-match-stats] {
    order: 30;
}
.football-match-main-column.is-live-match > [data-kisure-lineups-fragment] {
    order: 40;
}
.football-match-main-column.is-live-match > #history {
    order: 70;
}
.football-match-main-column.is-live-match > #table {
    order: 80;
}
.football-match-main-column.is-live-match > #articles {
    order: 90;
}

/* v666 strict lifecycle isolation: JS uses the native hidden attribute while an
   open page transitions Upcoming -> Live -> Finished. No component-level display
   rule may accidentally override that lifecycle decision. */
.football-layout--match-page [hidden],
.football-section-tabs--match [hidden],
.article-match-scoreboard--match-page [hidden] {
    display: none !important;
}
