.fml-home-scoreboard.fml-result-scoreboard,
body:is(.home, .fml-league-info-page) .fml-home .fml-home-scoreboard.fml-result-scoreboard {
    --score-ink: #16191f;
    --score-gold: #f7ce4d;
    --score-crest: clamp(32px, 10vw, 56px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    justify-items: center;
    gap: 8px;
    background: radial-gradient(ellipse at top, #3c3625, transparent 78%), var(--score-ink);
    color: #fff;
    border: 0;
    border-top: 3px solid var(--score-gold);
    border-radius: 11px;
    padding: clamp(9px, 2vw, 16px);
    text-align: center;
    text-decoration: none;
    font-family: system-ui, sans-serif;
    line-height: 1.25;
    box-sizing: border-box;
}
.fml-home-scoreboard.fml-result-scoreboard:hover { color: #fff; text-decoration: none; }
.fml-home-scoreboard.fml-result-scoreboard:focus-visible { outline: 3px solid #a62031; outline-offset: 3px; }
.fml-result-scoreboard .fml-home-match-team {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    font-size: clamp(.72rem, 1.5vw, .99rem);
    font-weight: 750;
    color: #fff;
    overflow-wrap: anywhere;
}
.fml-result-scoreboard .fml-result-crest {
    display: grid;
    place-items: center;
    width: var(--score-crest);
    aspect-ratio: 1;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 24%;
    background: #fff;
    color: #101218;
    font-size: .76em;
    font-weight: 850;
}
.fml-result-scoreboard .fml-result-crest img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fml-result-scoreboard .fml-result-value { display: grid; justify-items: center; gap: 5px; }
.fml-result-scoreboard .fml-home-score {
    display: block;
    padding: 0;
    margin: 0;
    background: none;
    color: var(--score-gold);
    font-size: clamp(1.34rem, 3.6vw, 2.8rem);
    font-weight: 900;
    line-height: var(--score-crest);
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.fml-result-scoreboard .fml-home-score span { padding-inline: .10em; color: #f7ce4dc4; }
.fml-result-scoreboard .fml-result-value small { color: #e2e1dd; font-size: .77rem; font-weight: 720; }
.fml-result-scoreboard .fml-home-match-cta {
    grid-column: 1/-1;
    color: var(--score-gold);
    font-size: .78rem;
    font-weight: 760;
}
:is(.fml-result-scoreboard, .fml-portal-recent-match):is(:hover,:focus-visible) .fml-home-match-cta { text-decoration: underline; }
.fml-home-scoreboard.fml-result-scoreboard.is-large { --score-crest: clamp(48px, 10.5vw, 86px); }
.fml-result-scoreboard.is-large .fml-home-match-team { font-size: clamp(.79rem, 2.5vw, 1.28rem); gap: 10px; }
.fml-result-scoreboard.is-large .fml-result-crest { padding: clamp(5px, 1vw, 10px); }
.fml-result-scoreboard.is-large .fml-home-score { font-size: clamp(2.4rem, 8.5vw, 5.5rem); }
.fml-match-list-details > summary.fml-result-scoreboard {
    border-radius: 12px;
    padding-block: 10px 12px;
    cursor: pointer;
    list-style: none;
}
.fml-match-list-details[open] > summary.fml-result-scoreboard { border-radius: 12px 12px 0 0; }
.fml-match-list-details > summary.fml-result-scoreboard::-webkit-details-marker { display: none; }
.fml-match-list-details > summary.fml-result-scoreboard:focus-visible {
    outline: 2px solid var(--score-gold);
    outline-offset: -5px;
}
.fml-match-list-details > summary.fml-result-scoreboard::after {
    content: "";
    grid-column: 1 / -1;
    width: 8px;
    height: 8px;
    margin: 0 0 3px;
    border: solid var(--score-gold);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.fml-match-list-details[open] > summary.fml-result-scoreboard::after { transform: rotate(225deg); }
.fml-result-scoreboard .fml-result-meta {
    grid-column: 1 / -1;
    color: #e4e0d4;
    font-size: .75rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.fml-match-list > .fml-match-row,
.fml-season-hub .fml-match-list > .fml-match-row {
    min-width: 0;
    border: 1px solid #dededc;
    border-radius: 13px;
    background: #fff;
    color: #101218;
}
.fml-match-list > .fml-match-row .fml-match-meta {
    border-radius: 12px 12px 0 0;
    background: #f5f3ef;
    font-family: system-ui, sans-serif;
}
.fml-match-row.is-result > .fml-match-events-cell > details > summary {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 9px 14px;
    margin: 0;
    border: 0;
    background: #f5f3ef;
    color: #252a34;
    border-radius: 0 0 12px 12px;
    cursor: pointer;
    font: 720 .81rem/1.2 system-ui, sans-serif;
    list-style: none;
}
.fml-match-row.is-result > .fml-match-events-cell > details[open] > summary { border-radius: 0; }
.fml-match-row.is-result > .fml-match-events-cell > details > summary::-webkit-details-marker { display: none; }
.fml-match-row.is-result > .fml-match-events-cell > .fml-match-events > summary::before { content: none; }
.fml-match-row.is-result > .fml-match-events-cell > details > summary::after {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.fml-match-row.is-result > .fml-match-events-cell > details[open] > summary::after { transform: rotate(225deg); }
.fml-match-row.is-result .fml-match-events-summary-label { color: inherit; font-size: inherit; }
.fml-match-row.is-result .fml-match-event-panel { background: #fff; }
.fml-match-row.is-result .fml-capture-report { padding-bottom: 8px; }
.fml-match-row.is-result .fml-match-events { border-radius: 0 0 12px 12px; }

.fml-season-hub .fml-season-matches { border: 0; padding: clamp(10px, 2vw, 20px); }
.fml-season-matches > h3 { margin: 0 0 8px; }
.fml-season-matches .fml-match-status-tabs { margin-bottom: 12px; }
.fml-season-matches .fml-match-status-tabs .fml-season-match-toggle {
    gap: 3px;
    padding: 3px;
    border: 1px solid #dededc;
    border-radius: 10px;
    background: #f5f3ef;
}
.fml-season-matches .fml-season-match-toggle button {
    align-items: center;
    min-height: 44px;
    border-radius: 7px;
    font: 750 .87rem/1.1 system-ui, sans-serif;
}
.fml-season-matches .fml-season-match-toggle button:disabled {
    background: transparent;
    color: #676a70;
    cursor: default;
}
.fml-season-matches .fml-match-list { gap: 12px; margin-block: 0 14px; }
@media (max-width: 739px) {
    .fml-match-row.is-result .fml-result-scoreboard { gap: 6px; }
    .fml-match-row.is-result .fml-result-scoreboard .fml-home-match-team { gap: 4px; }
}
.fml-news-activity .fml-result-scoreboard { margin-top: 6px; }

.fml-match-capture-summary.fml-recap {
    --recap-inset: var(--report-pad, clamp(14px, 2.5vw, 24px));
    margin: clamp(20px, 3.8vw, 42px) 0 0;
    padding: 0;
    color: #101218;
    background: #f5f3ef;
    border: 1px solid #dededc;
    border-top: 3px solid #f7ce4d;
    border-radius: 16px;
    font: 500 .95rem/1.55 system-ui, sans-serif;
}
.fml-match-capture-summary.fml-recap > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px var(--recap-inset);
    color: #101218;
    list-style: none;
    font-size: clamp(1.16rem, 2.4vw, 1.6rem);
    font-weight: 830;
    letter-spacing: -.025em;
}
.fml-recap > summary::-webkit-details-marker { display: none; }
.fml-recap > summary::after {
    content: "";
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.fml-recap[open] > summary::after { transform: rotate(225deg); }
.fml-recap-body { display: grid; gap: 12px; padding: 0 var(--recap-inset) var(--recap-inset); }
.fml-recap .fml-recap-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fml-recap .fml-recap-card { min-width: 0; padding: 12px; border: 1px solid #dededc; border-radius: 10px; background: #fff; }
.fml-recap .fml-recap-card h3 {
    margin: 0 0 8px;
    font: 770 .84rem/1.3 system-ui, sans-serif;
    color: #535966;
    letter-spacing: 0;
}
.fml-recap .fml-recap-headline, .fml-recap .fml-recap-card p { margin: 0; }
.fml-recap .fml-recap-headline {
    font: 840 clamp(1.25rem, 3vw, 1.9rem)/1.16 system-ui,sans-serif;
    color: #101218;
    letter-spacing: -.035em;
}
.fml-recap .fml-recap-story { max-width: 70ch; }
.fml-recap .fml-recap-story p { margin: 0; color: #252a34; font: 500 .95rem/1.58 system-ui,sans-serif; }
.fml-recap .fml-recap-story p + p { margin-top: 8px; }
.fml-recap .fml-recap-story strong { font-weight: 740; }
.fml-recap .fml-recap-card p { font-size: .82rem; font-weight: 500; }
.fml-recap .fml-recap-card strong { color: #101218; font-size: 1.32rem; font-weight: 840; font-variant-numeric: tabular-nums; }
.fml-recap .fml-recap-card strong + p { margin-top: 5px; }
.fml-recap .fml-recap-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0; text-align: center; }
.fml-recap .fml-recap-odds dt { font-size: .73rem; font-weight: 700; }
.fml-recap .fml-recap-odds dd { margin: 0; }
.fml-recap .fml-recap-odds strong { font-size: clamp(.91rem, 2.8vw, 1.12rem); white-space: nowrap; }
.fml-recap .fml-recap-odds + p { color: #535966; margin-top: 8px; font-size: .75rem; }
.fml-recap-notes { border-top: 1px solid #dededc; }
.fml-recap-notes > summary { min-height: 44px; padding: 9px 0; cursor: pointer; font-size: .83rem; font-weight: 730; }
.fml-recap .fml-recap-notes h4 { margin: 12px 0 4px; color: #101218; font: 750 .86rem/1.3 system-ui,sans-serif; }
.fml-recap .fml-recap-notes ul { margin: 0; padding-left: 18px; font: 500 .81rem/1.5 system-ui,sans-serif; }
.fml-recap .fml-recap-notes li + li { margin-top: 5px; }
