/*
 * Kisure FE925 — Unified Match Centre + exact supplied score-card geometry.
 * Presentation/layout only. Match/live/event/lineup/stat ownership is unchanged.
 */

/* Keep the semantic H1 in the document while the visible score card owns the hero space. */
html body.site-body main.football-page .football-match-page-heading--seo[data-kisure-match-heading="seo-preserved"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    min-height: 0 !important;
}

/* FE925: score card, tabs and all match sections are one actual main-column flow. */
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] {
    width: 100% !important;
    margin-top: 0 !important;
    align-items: start !important;
    overflow: visible !important;
}

html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-main-column {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    gap: clamp(16px, 1.55vw, 24px) !important;
    align-content: start !important;
}

html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-main-column > :is(
    .article-match-scoreboard--match-page,
    .football-section-tabs--match,
    .football-section,
    .football-prematch-centre
) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* The removed AD-65226/header_banner must never reopen a visual split if stale markup is served. */
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-match-main-column > .ad-slot,
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] [data-placement="header_banner"],
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] [data-ad-code="AD-65226"] {
    display: none !important;
}

/* Sidebar begins beside the score card, not below any removed hero/ad area. */
@media (min-width: 992px) {
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 370px) !important;
        gap: var(--kisure-layout-final-gap, clamp(18px, 2vw, 28px)) !important;
    }

    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-main-column {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-sidebar-stack {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: start !important;
        margin-top: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   Exact supplied reference geometry — same composition on desktop/tablet/mobile
   -------------------------------------------------------------------------- */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] {
    --ks925-card-pad: 12px;
    --ks925-main-x: 48px;
    --ks925-crest-w: 56px;
    --ks925-crest-h: 64px;
    --ks925-team-size: 24px;
    --ks925-score-size: 40px;
    --ks925-status-size: 14px;
    --ks925-event-size: 14px;
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 var(--ks925-card-pad) 16px !important;
    border: 1px solid rgba(229, 231, 235, .90) !important;
    border-radius: 22px !important;
    background: #fff !important;
    color: #1e293b !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06) !important;
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::before,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    z-index: 10 !important;
    pointer-events: none !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::before {
    left: 0 !important;
    background: var(--ks-home-team-color, #0B9CA0) !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::after {
    right: 0 !important;
    background: var(--ks-away-team-color, #087C78) !important;
}

/* Reference row 1: competition badge + title, centered in the available header. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__meta {
    min-height: 52px !important;
    margin: 0 !important;
    padding: 14px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    background: transparent !important;
    text-align: center !important;
    line-height: 1.2 !important;
    position: relative !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-cluster {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow {
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow .ks-follow-control {
    position: relative !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow .ks-member-follow-button {
    min-height: 34px !important;
    padding: 8px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.08) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s ease, background-color .2s ease !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow .ks-member-follow-button:hover {
    background: #1f2937 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,.10) !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-mark {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    color: var(--ks-primary, #0B9CA0) !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-mark img {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    object-fit: contain !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-mark i {
    font-size: 17px !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-copy {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #111827 !important;
    white-space: normal !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-link,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-link strong {
    color: #111827 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    text-decoration: none !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-copy small {
    color: #6b7280 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
}

/* Reference row 2: date + venue strip. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__context {
    min-height: 42px !important;
    margin: 0 calc(-1 * var(--ks925-card-pad)) !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px 24px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    background: #fff !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__context > :is(span, a) {
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #6b7280 !important;
    text-decoration: none !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__context i {
    color: #6b7280 !important;
    font-size: 14px !important;
}

/* Reference row 3: HOME (name + crest) / score / AWAY (crest + name). */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__main {
    width: 100% !important;
    max-width: 880px !important;
    min-height: 112px !important;
    margin: 0 auto !important;
    padding: 32px var(--ks925-main-x) 16px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) var(--ks925-crest-w) minmax(94px, 118px) var(--ks925-crest-w) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px 20px !important;
    text-align: center !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__team,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__team strong {
    min-width: 0 !important;
    margin: 0 !important;
    color: #111827 !important;
    font-size: var(--ks925-team-size) !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: -.02em !important;
    text-decoration: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__team--home {
    text-align: right !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__team--away {
    text-align: left !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__crest {
    width: var(--ks925-crest-w) !important;
    height: var(--ks925-crest-h) !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .12)) !important;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), filter .25s ease !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__crest:hover {
    transform: scale(1.08) !important;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .18)) !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__crest img {
    width: var(--ks925-crest-w) !important;
    height: var(--ks925-crest-h) !important;
    max-width: 100% !important;
    display: block !important;
    object-fit: contain !important;
}

html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score {
    min-width: 0 !important;
    min-height: 72px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-content: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    color: #111827 !important;
    text-align: center !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    white-space: nowrap !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > b {
    color: #111827 !important;
    font-size: var(--ks925-score-size) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -.03em !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > em {
    width: 13px !important;
    height: 1em !important;
    display: inline-grid !important;
    place-items: center !important;
    background: transparent !important;
    border: 0 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > em::before {
    content: "-" !important;
    color: #111827 !important;
    font-size: calc(var(--ks925-score-size) * .70) !important;
    line-height: 1 !important;
    font-style: normal !important;
    font-weight: 500 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > span {
    flex: 0 0 100% !important;
    margin-top: 8px !important;
    color: #6b7280 !important;
    font-size: var(--ks925-status-size) !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"].is-live .article-match-scoreboard__score > span,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"].is-live [data-live-phase-label],
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"].is-live [data-live-clock-time] {
    color: var(--ks-primary, #0B9CA0) !important;
}

/* Keep additional match facts; they sit between score and event lines without changing data ownership. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--halftime,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--penalties {
    width: min(100%, 880px) !important;
    max-width: 880px !important;
    margin: -2px auto 4px !important;
    padding: 0 var(--ks925-main-x) !important;
    display: flex !important;
    justify-content: center !important;
    color: #6b7280 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__halftime-pill,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__penalty-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #6b7280 !important;
    box-shadow: none !important;
    font-size: 12px !important;
}

/* Reference scorer row; every existing rich lane uses exactly the same 5/2/5 visual geometry. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support {
    width: min(100%, 880px) !important;
    max-width: 880px !important;
    min-height: 34px !important;
    margin: 0 auto !important;
    padding: 6px var(--ks925-main-x) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 5fr) minmax(34px, 2fr) minmax(0, 5fr) !important;
    align-items: center !important;
    gap: 8px !important;
    border: 0 !important;
    background: transparent !important;
    color: #4b5563 !important;
    font-size: var(--ks925-event-size) !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support--goals {
    margin-top: 12px !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support[hidden] {
    display: none !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col strong {
    min-width: 0 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col strong {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    color: #4b5563 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col--home,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col--home strong {
    text-align: right !important;
    align-items: flex-end !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col--away,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col--away strong {
    text-align: left !important;
    align-items: flex-start !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__player-link,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col strong span {
    color: #4b5563 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    transition: color .15s ease !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__player-link:hover {
    color: #0f172a !important;
    font-weight: 600 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-center {
    min-width: 0 !important;
    width: 100% !important;
    display: grid !important;
    place-items: center !important;
    color: #4b5563 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-center .football-event-icon {
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    color: #4b5563 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    transition: transform .3s ease !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-center .football-event-icon:hover {
    transform: rotate(45deg) !important;
}

/* Single-lane assist fallback keeps the exact center axis. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support--single {
    grid-template-columns: 1fr !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support--single .article-match-scoreboard__support-center {
    width: auto !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* Preserve referee/attendance/season as a restrained final row. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--last {
    width: min(100%, 880px) !important;
    max-width: 880px !important;
    min-height: 30px !important;
    margin: 8px auto 0 !important;
    padding: 8px var(--ks925-main-x) 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px 18px !important;
    border: 0 !important;
    color: #6b7280 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--last :is(a, span) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #6b7280 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--last i {
    color: #6b7280 !important;
}

/* Match tabs are part of the same continuous main-column flow. */
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-section-tabs--match {
    margin: 0 !important;
}

/* Dark mode maps the exact geometry to Kisure charcoal surfaces, without changing composition. */
html[data-theme="dark"] body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] {
    border-color: #344448 !important;
    background: #172124 !important;
    color: #eef7f7 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18) !important;
}
html[data-theme="dark"] body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] :is(
    .article-match-scoreboard__meta,
    .article-match-scoreboard__context
) {
    border-color: #2b3a3e !important;
    background: #172124 !important;
}
html[data-theme="dark"] body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] :is(
    .article-match-scoreboard__competition-link,
    .article-match-scoreboard__competition-link strong,
    .article-match-scoreboard__team,
    .article-match-scoreboard__team strong,
    .article-match-scoreboard__score,
    .article-match-scoreboard__score > b
) {
    color: #f4fbfb !important;
}
html[data-theme="dark"] body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] :is(
    .article-match-scoreboard__competition-copy small,
    .article-match-scoreboard__context,
    .article-match-scoreboard__context > span,
    .article-match-scoreboard__context > a,
    .article-match-scoreboard__context i,
    .article-match-scoreboard__score > span,
    .article-match-scoreboard__support,
    .article-match-scoreboard__support-col strong,
    .article-match-scoreboard__support-col strong span,
    .article-match-scoreboard__player-link,
    .article-match-scoreboard__details--last,
    .article-match-scoreboard__details--last :is(a, span),
    .article-match-scoreboard__details--last i
) {
    color: #aebfc3 !important;
}
html[data-theme="dark"] body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] :is(
    .article-match-scoreboard__halftime-pill,
    .article-match-scoreboard__penalty-pill
) {
    border-color: #344448 !important;
    background: #1d2a2e !important;
    color: #b8c9cc !important;
}

/* Tablet: exact same composition, only proportional dimensions reduce. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] {
        --ks925-main-x: 32px;
        --ks925-crest-w: 48px;
        --ks925-crest-h: 56px;
        --ks925-team-size: 20px;
        --ks925-score-size: 36px;
        --ks925-status-size: 13px;
        --ks925-event-size: 13px;
    }
}

/* Mobile: DO NOT change the composition. Same league/context/team-score-team/event rows, scaled only. */
@media (max-width: 767.98px) {
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] {
        --ks925-card-pad: 8px;
        --ks925-main-x: 10px;
        --ks925-crest-w: 40px;
        --ks925-crest-h: 48px;
        --ks925-team-size: clamp(12px, 3.65vw, 16px);
        --ks925-score-size: clamp(30px, 9vw, 36px);
        --ks925-status-size: 11px;
        --ks925-event-size: 11px;
        border-radius: 22px !important;
        padding-bottom: 12px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::before,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::after {
        width: 3px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__meta {
        min-height: 48px !important;
        padding: 12px 14px !important;
        gap: 7px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-mark,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-mark img {
        width: 22px !important;
        height: 22px !important;
        flex-basis: 22px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-link,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-link strong {
        font-size: 13px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-copy small {
        font-size: 11px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow {
        right: 10px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow .ks-member-follow-button {
        min-height: 30px !important;
        padding: 7px 10px !important;
        font-size: 11px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-cluster {
        max-width: calc(100% - 82px) !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__context {
        min-height: 40px !important;
        padding: 9px 10px !important;
        gap: 5px 12px !important;
        font-size: 10.5px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__main {
        min-height: 98px !important;
        padding-top: 24px !important;
        padding-bottom: 12px !important;
        grid-template-columns: minmax(0, 1fr) var(--ks925-crest-w) minmax(68px, 82px) var(--ks925-crest-w) minmax(0, 1fr) !important;
        column-gap: 6px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score {
        min-height: 64px !important;
        gap: 4px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > span {
        margin-top: 6px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--halftime,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--penalties {
        padding-inline: 8px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support {
        min-height: 30px !important;
        padding: 5px 8px !important;
        grid-template-columns: minmax(0, 5fr) minmax(26px, 2fr) minmax(0, 5fr) !important;
        gap: 5px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support--goals {
        margin-top: 9px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-center .football-event-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 14px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--last {
        min-height: 26px !important;
        padding: 6px 8px 0 !important;
        gap: 5px 10px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--last :is(a, span) {
        font-size: 9.5px !important;
    }
}

/* ========================================================================== 
   FE925 FINAL OWNERSHIP
   One responsive Match Centre layout, normal Kisure typography, common cards.
   ========================================================================== */

/* Never import or impose a separate score-card font. Text inherits the site's normal page font. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"],
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] :is(
    a, button, strong, b, em, small, span, time
) {
    font-family: inherit !important;
}

/* Reclaim layout ownership from older display:contents Match Centre rules. */
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] {
    --ks925-sidebar-width: clamp(280px, 24vw, 340px);
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, var(--ks925-sidebar-width)) !important;
    gap: clamp(16px, 1.8vw, 26px) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
}
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-main-column {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    gap: 14px !important;
    align-content: start !important;
}
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-sidebar-stack {
    display: flex !important;
    flex-direction: column !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: end !important;
    align-self: start !important;
    gap: 14px !important;
}
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-sidebar-stack > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Tablet landscape keeps a restrained rail; portrait/tablet/mobile becomes one column. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] {
        --ks925-sidebar-width: 280px;
        grid-template-columns: minmax(0, 1fr) 280px !important;
        gap: 16px !important;
    }
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-sidebar-stack {
        max-width: 280px !important;
    }
}
@media (max-width: 1023.98px) {
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-main-column,
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-sidebar-stack {
        grid-column: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-main-column { grid-row: 1 !important; }
    html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] > .football-match-sidebar-stack {
        grid-row: 2 !important;
        position: static !important;
        top: auto !important;
    }
}

/* One Kisure card language across the whole Match Centre. */
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-match-main-column > :is(
    .article-match-scoreboard--match-page,
    .football-section-tabs--match,
    .football-section,
    .football-prematch-centre,
    .football-match-history-v618
),
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-match-main-column > [data-kisure-lineups-fragment] > .football-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: var(--ks865-radius-sm, 10px) !important;
    box-sizing: border-box !important;
}
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-match-main-column > :is(
    .football-section,
    .football-prematch-centre,
    .football-match-history-v618
),
html body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-match-main-column > [data-kisure-lineups-fragment] > .football-section {
    border: 1px solid var(--ks865-border, #d8e1e3) !important;
    background: var(--surface, #fff) !important;
    box-shadow: none !important;
}
html[data-theme="dark"] body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-match-main-column > :is(
    .football-section,
    .football-prematch-centre,
    .football-match-history-v618
),
html[data-theme="dark"] body.site-body main.football-page .football-layout--match-page[data-kisure-match-content-layout="unified-v925"] .football-match-main-column > [data-kisure-lineups-fragment] > .football-section {
    border-color: #30393c !important;
    background: #242424 !important;
}

/* Match stats is the corner/radius reference for the score card and all outer sections. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] {
    --ks925-card-radius: var(--ks865-radius-sm, 10px);
    overflow: hidden !important;
    border-radius: var(--ks925-card-radius) !important;
    border: 1px solid var(--ks865-border, #d8e1e3) !important;
    box-shadow: none !important;
    font-family: inherit !important;
}

/* Team accents float inside the edge; they never run through the rounded corners. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::before,
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::after {
    top: 10px !important;
    bottom: 10px !important;
    width: 4px !important;
    border-radius: 999px !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::before { left: 3px !important; }
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::after { right: 3px !important; }

/* Keep the score on one horizontal axis at every width, including live clock/status. */
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score {
    display: grid !important;
    grid-template-columns: auto 12px auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-content: center !important;
    place-content: center !important;
    column-gap: 4px !important;
    row-gap: 7px !important;
    flex-wrap: nowrap !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > b:first-of-type { grid-column: 1 !important; grid-row: 1 !important; }
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > em { grid-column: 2 !important; grid-row: 1 !important; }
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > b:last-of-type { grid-column: 3 !important; grid-row: 1 !important; }
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > span {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
}
html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"].is-live .article-match-scoreboard__score > span {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
}

/* Mobile is the same composition, made readable instead of vertically squeezed. */
@media (max-width: 767.98px) {
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] {
        --ks925-card-pad: 6px;
        --ks925-main-x: 5px;
        --ks925-crest-w: 34px;
        --ks925-crest-h: 40px;
        --ks925-team-size: clamp(11px, 3.15vw, 13px);
        --ks925-score-size: clamp(27px, 7.7vw, 31px);
        --ks925-status-size: 10.5px;
        --ks925-event-size: clamp(10px, 2.75vw, 11px);
        border-radius: var(--ks865-radius-sm, 10px) !important;
        padding: 0 6px 9px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::before,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"]::after {
        top: 8px !important;
        bottom: 8px !important;
        width: 3px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__meta {
        min-height: 44px !important;
        padding: 8px 8px 8px 10px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        justify-content: initial !important;
        gap: 6px !important;
        text-align: left !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-cluster {
        max-width: none !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-copy {
        min-width: 0 !important;
        gap: 4px !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-mark,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-mark img {
        width: 18px !important;
        height: 18px !important;
        flex: 0 0 18px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-link,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-link strong {
        font-size: 11.5px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__competition-copy small {
        font-size: 9.5px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        justify-self: end !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__follow .ks-member-follow-button {
        min-height: 28px !important;
        padding: 6px 9px !important;
        font-size: 10.5px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__context {
        min-height: 34px !important;
        margin-inline: -6px !important;
        padding: 7px 8px !important;
        gap: 4px 10px !important;
        font-size: 9.75px !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__context > :is(span, a) {
        max-width: 50% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__main {
        width: 100% !important;
        min-height: 88px !important;
        padding: 18px 4px 8px !important;
        grid-template-columns: minmax(60px, 1fr) var(--ks925-crest-w) minmax(64px, 72px) var(--ks925-crest-w) minmax(60px, 1fr) !important;
        column-gap: 4px !important;
        row-gap: 0 !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__team,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__team strong {
        font-size: var(--ks925-team-size) !important;
        line-height: 1.08 !important;
        letter-spacing: -.01em !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score {
        min-height: 58px !important;
        grid-template-columns: auto 9px auto !important;
        column-gap: 2px !important;
        row-gap: 4px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > b {
        font-size: var(--ks925-score-size) !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > em {
        width: 9px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__score > em::before {
        font-size: 18px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--halftime,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--penalties {
        margin-top: -1px !important;
        margin-bottom: 4px !important;
        padding-inline: 4px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__halftime-pill,
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__penalty-pill {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support {
        min-height: 27px !important;
        padding: 4px 5px !important;
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) !important;
        gap: 4px !important;
        font-size: var(--ks925-event-size) !important;
        line-height: 1.2 !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support--goals {
        margin-top: 6px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-col strong {
        gap: 1px !important;
        line-height: 1.2 !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__support-center .football-event-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 13px !important;
    }

    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--last {
        min-height: 23px !important;
        margin-top: 4px !important;
        padding: 4px 5px 0 !important;
        gap: 4px 8px !important;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__details--last :is(a, span) {
        font-size: 9px !important;
    }
}

/* Very narrow phones: same structure, a final proportional reduction only. */
@media (max-width: 389.98px) {
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] {
        --ks925-crest-w: 30px;
        --ks925-crest-h: 36px;
        --ks925-team-size: 10.5px;
        --ks925-score-size: 26px;
        --ks925-event-size: 9.75px;
    }
    html body.site-body main.football-page .article-match-scoreboard--match-page[data-kisure-match-scorecard-version="925"] .article-match-scoreboard__main {
        grid-template-columns: minmax(52px, 1fr) 30px 60px 30px minmax(52px, 1fr) !important;
        column-gap: 3px !important;
    }
}
