.entry-content .fml-match-report,
.fml-match-report,
.entry-content .fml-fixture-preview-body,
.fml-fixture-preview-body {
    --report-ink: #101218;
    --report-yellow: #f7ce4d;
    --report-red: #b71e2d;
    --report-paper: #f5f3ef;
    --report-white: #fff;
    --report-muted: #535966;
    --report-line: #dededc;
    --report-home: #edbd32;
    --report-away: #293142;
    --report-radius: 16px;
    --report-pad: clamp(14px, 2.6vw, 30px);
}

.fml-match-report {
    color: var(--report-ink);
    font-family: system-ui, sans-serif;
    max-width: 1140px;
    margin: 0 auto clamp(2rem, 5vw, 4rem);
    min-width: 0;
}

.fml-match-report *,
.fml-match-report *::before,
.fml-match-report *::after { box-sizing: border-box; }

.fml-match-report :is(h2, h3, p, ul, ol),
.fml-season-matches .fml-match-report :is(h2, h3, p, ul, ol) { margin: 0; }
.fml-match-report :is(h2, h3) {
    color: var(--report-ink);
    font-family: inherit;
    font-weight: 820;
    letter-spacing: -.025em;
    line-height: 1.18;
}
.fml-match-report h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
.fml-match-report h3, .fml-season-matches .fml-match-report h3 { font-size: clamp(1.12rem, 2vw, 1.36rem); }
.fml-match-report.is-inline { margin: 0; }
.fml-match-report.is-inline > .fml-report-hero { border: 0; border-radius: 0; }
.fml-match-report.is-inline .fml-report-scorers { border-top: 0; margin-top: 0; padding-top: 0; }
.fml-inline-report-body { min-width: 0; }
.fml-inline-report-body[role="status"], .fml-inline-report-message { padding: 10px 14px; margin: 0; }
.fml-season-hub .fml-season-matches { overflow: visible; }
.fml-match-report, .fml-match-report [id] { scroll-margin-top: 7rem; }
.fml-match-report :is(a, button):focus-visible { outline: 3px solid #9f1425; outline-offset: 3px; }

.fml-report-hero {
    background: radial-gradient(ellipse at 50% -20%, #474023, transparent 70%), #16191f;
    color: #fff;
    border-radius: var(--report-radius);
    border-top: 4px solid var(--report-yellow);
    isolation: isolate;
    overflow: hidden;
    padding: var(--report-pad);
    position: relative;
}
.fml-report-hero::before {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 14% 10% -54%;
    transform: perspective(440px) rotateX(34deg) rotate(-9deg);
    border: 2px solid #f7ce4d26;
    background:
        radial-gradient(circle at center, transparent 12%, #f7ce4d25 12.3% 12.8%, transparent 13.1%),
        linear-gradient(90deg, transparent 49.7%, #f7ce4d25 49.8% 50.2%, transparent 50.3%),
        repeating-linear-gradient(90deg, transparent 0 12.5%, #ffffff04 12.5% 25%);
    pointer-events: none;
}
.fml-report-hero-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ffffff26;
    font-size: .82rem;
    font-weight: 650;
    color: #e2e1dd;
}
.fml-report-hero-top a { color: #fff; font-weight: 750; white-space: nowrap; text-decoration: none; }
.fml-report-hero-top a:hover { color: var(--report-yellow); text-decoration: underline; }
.fml-report-discussion { margin: .75rem 0 0; text-align: center; }
.fml-report-discussion a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    text-underline-offset: .18em;
}
.fml-report-discussion a:hover { color: var(--report-yellow); }
.fml-report-hero-top > span { text-align: right; }
.fml-report-meta-dot { padding: 0 .15em; color: var(--report-yellow); }
.fml-report-hero .fml-result-scoreboard.is-large {
    max-width: 720px;
    margin: clamp(18px, 3.4vw, 36px) auto 0;
    background: transparent;
    border: 0;
    padding: 0;
}

.fml-match-report .fml-report-scorers {
    max-width: 640px;
    margin: clamp(12px, 2.5vw, 22px) auto 0;
    padding-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 5vw, 60px);
}
.fml-report-scorers ul { padding: 0; list-style: none; min-width: 0; }
.fml-report-scorers li { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; padding: 2px 0; line-height: 1.4; font-size: clamp(.74rem, 1.6vw, .9rem); }
.fml-report-scorers li span { overflow-wrap: anywhere; }
.fml-report-scorers b { color: var(--report-yellow); white-space: nowrap; }

.fml-report-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 9px;
    align-items: center;
    background: var(--report-white);
    padding: 5px 0;
    border-bottom: 1px solid var(--report-line);
    margin-bottom: clamp(14px, 3vw, 26px);
}
.entry-content .fml-report-nav a,
.fml-report-nav a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    min-height: 44px;
    padding: 0 clamp(7px, 1.5vw, 15px);
    color: var(--report-ink);
    font-size: clamp(.77rem, 1.5vw, .96rem);
    font-weight: 750;
    text-decoration: none;
    border-radius: 9px;
}
.fml-report-nav a:hover { background: var(--report-paper); }
.fml-report-nav a[aria-selected="true"] { background: var(--report-yellow); }
.fml-report-nav a[aria-selected="true"]:hover { background: #ffe28c; }
.fml-report-nav[role="tablist"] { position: sticky; top: var(--fml-desktop-toolbar, 0px); z-index: 5; }
.fml-match-report .fml-report-panel[hidden] { display: none; }
.fml-report-panel { margin-top: 0; }
@media (min-width: 1025px) {
    .fml-report-nav[role="tablist"] { top: calc(var(--fml-report-site-nav-height, 68px) + var(--wp-admin--admin-bar--height, 0px)); }
}
@media (max-width: 782px) {
    .admin-bar .fml-report-nav[role="tablist"] { top: 46px; }
}
@media (max-width: 600px) {
    .admin-bar .fml-report-nav[role="tablist"] { top: 0; }
}
.fml-report-media-jump b { font-size: .82em; }

.fml-report-overview-grid,
.fml-report-stat-grid,
.fml-report-ratings-grid { display: grid; gap: clamp(12px, 2.2vw, 22px); }
.fml-report-overview-grid { margin: 16px 0 0; }
.fml-report-overview-side { display: grid; align-content: start; gap: 14px; min-width: 0; }
.fml-report-card {
    min-width: 0;
    padding: var(--report-pad);
    background: var(--report-paper);
    border: 1px solid var(--report-line);
    border-radius: var(--report-radius);
}
.fml-report-key-stats { border-top: 3px solid var(--report-yellow); }

.fml-report-stat-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--report-line); }
.fml-report-stat-teams span { display: flex; align-items: baseline; gap: 6px; font-size: .77rem; font-weight: 750; line-height: 1.2; color: var(--report-muted); overflow-wrap: anywhere; }
.fml-report-stat-teams span::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--report-home); }
.fml-report-stat-teams .is-away { flex-direction: row-reverse; text-align: right; }
.fml-report-stat-teams .is-away::before { background: var(--report-away); }
.fml-report-stat { padding: 10px 0 6px; min-width: 0; }
.fml-report-stat-values, .fml-report-rings { display: grid; grid-template-columns: minmax(2.2rem, auto) minmax(0, 1fr) minmax(2.2rem, auto); align-items: center; gap: 6px; }
.fml-report-stat-values { grid-template-columns: minmax(52px, 20%) minmax(0, 1fr) minmax(52px, 20%); }
.fml-report-stat-values > strong { font-size: clamp(1.05rem, 2.5vw, 1.6rem); line-height: 1.18; font-weight: 830; font-variant-numeric: tabular-nums; }
.fml-report-stat-values .is-away { text-align: right; }
.fml-report-stat-name { text-align: center; font-weight: 650; line-height: 1.2; font-size: clamp(.76rem, 1.6vw, .93rem); overflow-wrap: anywhere; }
.fml-report-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.fml-report-bars span { display: flex; background: #e0ded9; height: 5px; border-radius: 5px; overflow: hidden; }
.fml-report-bars span:first-child { justify-content: flex-end; }
.fml-report-bars span:first-child i { background: var(--report-home); }
.fml-report-bars span:last-child i { background: var(--report-away); }
.fml-report-bars i { border-radius: 5px; }
.fml-report-possession {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 62px;
    margin-top: 7px;
    border: 2px solid var(--report-ink);
    border-radius: 7px;
    background: linear-gradient(to right, var(--report-home) var(--home-share), var(--report-away) var(--home-share));
}
.fml-report-possession span {
    position: absolute;
    inset: 5px;
    border: 1px solid #fff9;
    background: linear-gradient(to right, transparent calc(50% - .5px), #fff9 calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
}
.fml-report-possession span::before, .fml-report-possession span::after {
    content: "";
    position: absolute;
    top: 23%;
    bottom: 23%;
    width: 12%;
    border: 1px solid #fff9;
}
.fml-report-possession span::before { left: 0; border-left: 0; }
.fml-report-possession span::after { right: 0; border-right: 0; }
.fml-report-possession::after { content: ""; width: 25px; aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; }

.fml-report-shot-diagram {
    display: grid;
    gap: 7px;
    margin: 5px 0 9px;
    padding: 7px 7px 0;
    border: 1px solid var(--report-line);
    border-radius: 10px;
    background: #e9e6de;
}
.fml-report-shot-band {
    display: grid;
    grid-template-columns: minmax(35px, 1fr) auto minmax(35px, 1fr);
    align-items: center;
    gap: 5px;
    padding: 7px;
    min-height: 44px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--report-home) var(--home-share), var(--report-away) var(--home-share));
    text-align: center;
}
.fml-report-shot-band.is-on_target {
    margin-inline: clamp(0px, 3vw, 36px);
    min-height: 72px;
    border: 3px solid var(--report-ink);
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    background:
        repeating-linear-gradient(to right, transparent 0 15px, #10121839 15px 16px),
        repeating-linear-gradient(to bottom, transparent 0 15px, #10121839 15px 16px),
        linear-gradient(to right, var(--report-home) var(--home-share), var(--report-away) var(--home-share));
}
.fml-report-shot-band.is-zero { background-color: #d7d4cc; background-image: none; }
.fml-report-shot-band strong, .fml-report-shot-band span { z-index: 0; justify-self: center; }
.fml-report-shot-band strong {
    min-width: 2.05em;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: clamp(.94rem, 2.1vw, 1.24rem);
    font-variant-numeric: tabular-nums;
}
.fml-report-shot-band strong.is-home { color: var(--report-ink); background: var(--report-yellow); }
.fml-report-shot-band strong.is-away { color: #fff; background: var(--report-away); }
.fml-report-shot-band span {
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--report-ink);
    font-size: clamp(.69rem, 1.5vw, .86rem);
    font-weight: 720;
    line-height: 1.25;
}
.fml-report-rings { padding: 6px 0 8px; }
.fml-report-ring { --ring: var(--report-home); width: clamp(49px, 13vw, 76px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring) var(--fill), #deddd7 0); padding: 5px; }
.fml-report-ring.is-away { --ring: var(--report-away); }
.fml-report-ring b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--report-paper); font-size: clamp(.8rem, 2.2vw, 1.05rem); font-variant-numeric: tabular-nums; }

.fml-report-award {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px var(--report-pad);
    border-radius: 12px;
    background: #fbe8a6;
    line-height: 1.25;
}
.fml-report-award > span:first-child { color: #675010; font-size: 1.5rem; }
.fml-report-award :is(small, strong) { display: block; overflow-wrap: anywhere; }
.fml-report-award small, .fml-report-award > span:last-child { font-size: .77rem; color: #564620; }
.fml-report-award > span:last-child { text-align: right; max-width: 100px; overflow-wrap: anywhere; }

.fml-match-report .fml-report-timeline { padding: 5px 0 0; list-style: none; }
.fml-report-timeline li { display: grid; grid-template-columns: minmax(42px, 13%) minmax(0, 1fr); align-items: start; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid #e5e2dc; }
.fml-report-timeline li:last-child { border-bottom: 0; }
.fml-report-minute { font-weight: 800; font-size: .78rem; font-variant-numeric: tabular-nums; line-height: 1.35; padding: 10px 0; white-space: nowrap; }
.fml-report-event { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; gap: 5px 8px; padding: 6px 8px; border-inline-start: 3px solid var(--report-home); background: #fff; border-radius: 5px 8px 8px 5px; }
.fml-report-timeline .is-away .fml-report-event { justify-self: end; border-inline-start-color: var(--report-away); max-width: 94%; }
.fml-report-timeline .is-neutral .fml-report-event { border-inline-start-color: var(--report-line); }
.fml-report-event > div { min-width: 0; flex: 1 1 94px; }
.fml-report-event :is(strong, small) { display: block; overflow-wrap: anywhere; line-height: 1.22; }
.fml-report-event strong { font-size: .89rem; }
.fml-report-event small { font-size: .72rem; color: var(--report-muted); margin-top: 2px; }
.fml-report-event > :is(.fml-report-injury-outcome, .fml-report-injury-outcome-label) {
    max-width: 100%;
    margin: 0 0 0 auto;
}
.fml-match-report .fml-report-injury-outcome-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    padding: .35rem .55rem;
    border-radius: var(--md-control-radius, 8px);
    background: var(--md-soft, var(--report-paper));
    color: var(--report-ink);
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.fml-match-report .fml-report-injury-outcome > summary {
    list-style: none;
    cursor: pointer;
}
.fml-report-injury-outcome > summary::-webkit-details-marker { display: none; }
.fml-report-injury-outcome > summary::after {
    content: "";
    width: .39rem;
    height: .39rem;
    flex: 0 0 .39rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-.12rem) rotate(45deg);
}
.fml-report-injury-outcome[open] > summary::after { transform: translateY(.1rem) rotate(225deg); }
.fml-report-injury-outcome > summary:focus-visible {
    outline: 2px solid var(--md-focus, #216176);
    outline-offset: 2px;
}
.fml-report-injury-outcome > small { padding: .2rem .55rem; }
.fml-report-event-icon { flex: 0 0 17px; color: #4e4322; font-size: 1.04rem; line-height: 1; text-align: center; }
.fml-report-event-icon:is(.is-yellow_card, .is-red_card) { flex: 0 0 11px; height: 15px; margin-inline: 3px; border-radius: 2px; background: #edbd32; transform: rotate(-7deg); }
.fml-report-event-icon.is-red_card { background: var(--report-red); }
.fml-report-event-icon:is(.is-injury, .is-injury_subbed, .is-injury_not_subbed) { color: var(--report-red); font-weight: 850; }
.fml-report-event-score { border-radius: 5px; padding: 3px 6px; background: var(--report-ink); color: #fff; font-size: .75rem; white-space: nowrap; }
.fml-report-event .fml-report-event-clip { color: var(--report-ink); background: var(--report-yellow); border-radius: 6px; padding: 6px 8px; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: .76rem; font-weight: 790; text-decoration: none; }
.fml-report-event-clip:hover { text-decoration: underline; }

.fml-report-media, .fml-report-stat-section, .fml-report-ratings { margin-top: clamp(20px, 3.8vw, 42px); }
.fml-report-media h2, .fml-report-stat-section > h2 { margin-bottom: 12px; }
.fml-report-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.fml-report-media-card { min-width: 0; overflow: hidden; border-radius: var(--report-radius); border: 1px solid var(--report-line); background: var(--report-paper); }
.fml-report-media-card:only-child { max-width: 640px; width: 100%; grid-column: 1/-1; }
.fml-report-media-card [data-fml-video-container] { background: #181b22; aspect-ratio: 16 / 9; }
.fml-report-media-card button, .fml-report-media-card iframe { display: block; width: 100%; height: 100%; border: 0; }
.fml-report-media-card button[hidden] { display: none; }
.fml-report-media-card button { position: relative; padding: 0; background: #181b22; overflow: hidden; cursor: pointer; }
.fml-report-media-card button:focus-visible { outline-offset: -4px; outline-color: var(--report-yellow); }
.fml-report-media-card button img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .77; }
.fml-report-media-card button span {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; border-radius: 50%;
    width: 62px; height: 62px; padding-left: 3px;
    color: var(--report-ink); background: var(--report-yellow);
    font-size: 1.3rem; box-shadow: 0 4px 20px #0007;
}
.fml-report-media-card button:hover span { background: #ffe28c; }
.fml-report-media-copy { padding: 14px 16px 16px; }
.fml-report-media-copy p { color: var(--report-muted); font-size: .79rem; font-weight: 750; margin-bottom: 5px; }
.fml-report-media-copy h3 { margin: 0 0 7px; overflow-wrap: anywhere; }
.fml-report-media-copy a { color: #971f30; font-size: .86rem; font-weight: 750; }

.fml-report-ratings .fml-report-muted { font-size: .8rem; color: var(--report-muted); margin: 6px 0 14px; }
.fml-report-roster { min-width: 0; background: #fff; border-radius: 10px; border: 1px solid var(--report-line); overflow: hidden; }
.fml-report-roster h3 { padding: 11px 10px; border-left: 4px solid var(--report-home); }
.fml-report-roster.is-away h3 { border-color: var(--report-away); }
.fml-report-roster table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: .81rem; line-height: 1.24; }
.fml-report-roster :is(td, th) { background: transparent; color: var(--report-ink); padding: 7px 6px; border: 0; border-top: 1px solid #e7e5df; text-align: center; font-variant-numeric: tabular-nums; }
.fml-report-roster :is(td, th):first-child { text-align: left; padding-left: 9px; overflow-wrap: anywhere; }
.fml-report-roster thead { background: #f1efe9; }
.fml-report-roster th small { display: block; color: var(--report-muted); font-weight: 550; font-size: .68rem; }
.fml-report-rating { display: inline-block; min-width: 2.4em; padding: 3px 5px; border-radius: 6px; font-weight: 830; background: #eee; }
.fml-report-rating.is-top { background: var(--report-yellow); }
.fml-report-rating.is-solid { background: #e4ebdc; color: #243d28; }
.fml-report-rating.is-low { background: #f7e1dd; color: #732e29; }


@media (min-width: 740px) {
    .fml-report-overview-grid.has-two-columns { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; }
    .fml-report-stat-grid, .fml-report-ratings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .fml-report-timeline li { grid-template-columns: minmax(0, 1fr) minmax(38px, auto) minmax(0, 1fr); }
    .fml-report-minute { grid-column: 2; grid-row: 1; text-align: center; }
    .fml-report-event { grid-column: 1; grid-row: 1; width: 100%; }
    .fml-report-timeline .is-away .fml-report-event { grid-column: 3; max-width: none; }
    .fml-report-timeline .is-neutral .fml-report-event { grid-column: 1 / -1; width: fit-content; }
    .fml-report-roster :is(td, th) { padding-inline: 9px; }
}
@media (max-width: 739px) {
    .fml-report-timeline .is-home .fml-report-event { justify-self: start; max-width: 94%; }
    .fml-report-event { width: min(100%, 255px); }
    .fml-report-timeline li.is-untimed { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
    .fml-report-nav { gap: 3px; }
    .entry-content .fml-report-nav a, .fml-report-nav a { padding-inline: 6px; }
    .fml-report-roster :is(td, th) { padding-inline: 4px; }
}

.fml-report-hero h1.fml-result-scoreboard.is-large {
    font: 740 1rem/1.25 system-ui, sans-serif;
    color: #fff;
}
.fml-match-report [data-fml-report-panel] > .fml-recap:first-child {
    margin: 0 0 clamp(12px, 2.6vw, 23px);
    border-top: 3px solid var(--report-yellow);
    background: var(--report-paper);
}
.fml-match-report [data-fml-report-panel] > .fml-recap .fml-recap-headline {
    font: 700 clamp(1.34rem, 3.3vw, 2.35rem)/1.13 Georgia, serif;
}
.fml-match-report .fml-recap-story { max-width: 75ch; }
.fml-match-report .fml-recap-notes .fml-recap-card { margin: 10px 0; }

/* Fixtures share the report's cards, stat rows, legends, and charts. */
.entry-content .fml-fixture-preview-body,
.fml-fixture-preview-body {
    --report-pad: clamp(11px, 2.6vw, 23px);
    --report-radius: 12px;
    color: var(--report-ink);
    font-family: system-ui, sans-serif;
}
.fml-fixture-preview-body .fml-report-card,
.fml-fixture-preview-body .fml-report-card *,
.fml-fixture-preview-body .fml-report-card *::before,
.fml-fixture-preview-body .fml-report-card *::after { box-sizing: border-box; }
.fml-fixture-preview-body .fml-report-card h4 {
    color: var(--report-ink);
    font: 820 clamp(1.08rem, 2vw, 1.36rem)/1.18 system-ui, sans-serif;
    letter-spacing: -.025em;
}
.fml-fixture-preview-body .fml-report-stat-teams { margin-top: 9px; }
.fml-fixture-preview-body .fml-report-card :is(.fml-report-stat-values, .fml-report-rings) > :last-child { justify-self: end; }
.fml-fixture-preview-body .fml-report-stat-values > strong { overflow-wrap: anywhere; }
.fml-fixture-preview-body .fml-match-preview-section > .fml-report-card + .fml-report-card,
.fml-fixture-preview-body .fml-match-preview-section > :is(.fml-fixture-muted, .fml-match-event-panel-meta, p) + .fml-report-stat-grid { margin-top: 10px; }
.fml-fixture-preview-body .fml-report-card .fml-report-stat + .fml-report-stat { border-top: 1px solid var(--report-line); }
.fml-report-stat-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
    color: var(--report-muted);
    font-size: .83rem;
    font-weight: 550;
}
.fml-report-stat-details > :last-child { text-align: right; }
.fml-fixture-preview-body .fml-report-card .fml-fixture-stat-note { margin: 7px 0; color: var(--report-muted); font-size: .78rem; font-weight: 500; }
.fml-fixture-preview-body .fml-fixture-outlook .fml-fixture-lead { margin: 6px 0 0; font-size: .87rem; font-weight: 650; }
.fml-fixture-forecast-plot { margin: 10px 0 8px; }
.fml-fixture-forecast-plot .fml-fixture-outlook-track { display: flex; gap: 3px; height: 7px; border-radius: 6px; overflow: hidden; }
.fml-fixture-forecast-plot .fml-fixture-outlook-track span { flex-basis: 0; background: var(--report-home); }
.fml-fixture-forecast-plot .fml-fixture-outlook-track span:nth-child(2) { background: #aaa69d; }
.fml-fixture-forecast-plot .fml-fixture-outlook-track span:nth-child(3) { background: var(--report-away); }
.fml-fixture-forecast-plot .fml-fixture-outlook-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; color: var(--report-muted); font-size: .74rem; line-height: 1.2; overflow-wrap: anywhere; }
.fml-fixture-outlook-values > :nth-child(2) { text-align: center; }
.fml-fixture-outlook-values > :nth-child(3) { text-align: right; }
.fml-fixture-outlook-values strong { display: block; margin-bottom: 3px; color: var(--report-ink); font-size: clamp(1.03rem, 2.5vw, 1.43rem); font-weight: 820; font-variant-numeric: tabular-nums; }
.fml-fixture-preview-body .fml-fixture-summary-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 9px;
    padding-block: 8px;
    border-top: 1px solid var(--report-line);
    color: var(--report-muted);
    font-size: .8rem;
}
.fml-fixture-summary-stat strong { color: var(--report-ink); }
.fml-fixture-preview-body .fml-fixture-form-grid > div:last-child { text-align: right; }
.fml-fixture-preview-body .fml-fixture-form-grid > div:last-child ul { justify-content: flex-end; }
@media (max-width: 400px) {
    .fml-fixture-preview-body .fml-match-preview-section { padding: 8px; }
    .fml-fixture-preview-body .fml-report-shot-band { margin-inline: 0; }
}

.fml-lineup-view { display: grid; gap: 7px; min-width: 0; }
.fml-lineup-head { display: flex; align-items: end; justify-content: space-between; gap: 8px; padding: 2px 2px 4px; }
.fml-lineup-head .fml-lineup-shape { font-size: clamp(1.32rem, 4vw, 1.85rem); letter-spacing: -.065em; line-height: 1; color: var(--report-ink); }
.fml-lineup-head p { color: var(--report-muted); font-size: .77rem; text-align: right; line-height: 1.3; }
.fml-lineup-head small { display: block; margin-top: 3px; }
.fml-lineup-pitch {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: clamp(5px, 1.5vw, 12px);
    padding: 12px 5px;
    border-radius: 10px;
    background: radial-gradient(ellipse at 50% 52%, #283847, #18232e 80%);
}
.fml-lineup-pitch::before,
.fml-lineup-pitch::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.fml-lineup-pitch::before {
    inset: 5px;
    border: 1px solid #c2d5e239;
    border-radius: 6px;
    background: linear-gradient(transparent calc(50% - .5px), #c2d5e239 0 calc(50% + .5px), transparent 0);
}
.fml-lineup-pitch::after {
    inset: 50% auto auto 50%;
    width: clamp(55px, 28%, 124px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid #c2d5e239;
    border-radius: 50%;
}
.fml-lineup-view .fml-lineup-row {
    display: flex;
    justify-content: center;
    gap: clamp(3px, .9vw, 8px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.fml-lineup-view .fml-lineup-pick {
    flex: 0 1 91px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fml-fixture-preview-body .fml-lineup-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 2px;
    min-height: 74px;
    padding: 3px;
    border: 1px solid #ffffff4d;
    border-radius: 7px;
    background: #273544;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.05;
}
.fml-fixture-preview-body .fml-lineup-card:hover,
.fml-fixture-preview-body .fml-lineup-card:focus-visible {
    border-color: var(--report-yellow);
    background: #354759;
    outline-color: var(--report-yellow);
}
.fml-lineup-card-top { display: flex; align-items: center; justify-content: space-between; gap: 2px; width: 100%; font-size: .61rem; }
.fml-lineup-card-top > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fml-lineup-card-top > .fml-lineup-overall { flex-shrink: 0; }
.fml-lineup-overall {
    padding: 2px 3px;
    border-radius: 3px;
    background: var(--report-yellow);
    color: var(--report-ink);
    font-size: .68rem;
    font-weight: 820;
    font-variant-numeric: tabular-nums;
}
.fml-lineup-card .fml-fixture-portrait {
    width: clamp(23px, 7.4vw, 40px);
    height: clamp(23px, 7.4vw, 40px);
    max-width: 100%;
}
.fml-lineup-view .fml-fixture-portrait img { width: 100%; height: 100%; object-fit: contain; }
.fml-lineup-name { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: clamp(.63rem, 1.6vw, .77rem); }
.fml-lineup-match-rating { color: #c9d7e7; font-size: .65rem; font-variant-numeric: tabular-nums; }
.fml-lineup-key { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: .71rem; color: var(--report-muted); }
.fml-lineup-key .fml-lineup-match-rating { font-weight: 800; color: var(--report-ink); }
.fml-lineup-hint { font-size: .73rem; }
.fml-lineup-alternatives { margin-top: 2px; border-top: 1px solid var(--report-line); font-size: .82rem; }
.fml-lineup-view .fml-lineup-alternatives > summary {
    display: list-item;
    min-height: 0;
    padding: 7px 0;
    cursor: pointer;
    color: var(--report-ink);
    font-size: .82rem;
    font-weight: 750;
    text-align: start;
    list-style: disclosure-closed inside;
}
.fml-lineup-view .fml-lineup-alternatives[open] > summary { list-style-type: disclosure-open; }
.fml-lineup-view .fml-lineup-alternatives > summary::after { display: none; }
.fml-lineup-option-list { display: grid; gap: 8px; }
.fml-fixture-preview-body .fml-lineup-option { padding: 9px; }
.fml-fixture-preview-body .fml-lineup-option h4 { font-size: .94rem; }
.fml-fixture-preview-body .fml-lineup-option p { margin-top: 4px; color: var(--report-muted); font-size: .78rem; line-height: 1.4; }
.fml-lineup-option-players { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.fml-lineup-option-players > div {
    display: grid;
    align-content: start;
    gap: 3px;
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--report-line);
    border-radius: 6px;
    background: var(--report-white);
    overflow-wrap: anywhere;
}
.fml-lineup-option-players > div:first-child { border-top: 2px solid var(--report-home); }
.fml-lineup-option-players a { font-size: .81rem; font-weight: 750; line-height: 1.2; }
.fml-lineup-option-players small { color: var(--report-muted); font-size: .7rem; line-height: 1.3; }
.fml-lineup-option-label { font-weight: 750; }
.fml-lineup-option-players .fml-fixture-portrait { width: 30px; height: 30px; }

.fml-lineup-dialog {
    box-sizing: border-box;
    width: min(355px, calc(100% - 28px));
    max-height: calc(100% - 28px);
    padding: 15px;
    border: 1px solid var(--report-line);
    border-top: 4px solid var(--report-yellow);
    border-radius: 14px;
    background: var(--report-paper);
    color: var(--report-ink);
    overflow: auto;
}
.fml-lineup-dialog::backdrop { background: #101218af; }
.fml-lineup-dialog[open] { animation: fml-lineup-flip .24s ease-out both; }
@keyframes fml-lineup-flip {
    from { transform: perspective(700px) rotateY(60deg); opacity: .6; }
    to { transform: perspective(700px) rotateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .fml-lineup-dialog[open] { animation: none; } }
.fml-lineup-back-head { display: flex; align-items: center; gap: 12px; }
.fml-lineup-back .fml-fixture-portrait { width: 62px; height: 62px; flex: none; }
.fml-lineup-back-head h4 { font-size: 1.15rem; line-height: 1.2; overflow-wrap: anywhere; }
.fml-lineup-back-head p { color: var(--report-muted); font-size: .82rem; }
.fml-lineup-metrics { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px; margin: 12px 0; }
.fml-lineup-metrics div { padding: 6px 8px; border: 1px solid var(--report-line); border-radius: 7px; background: var(--report-white); }
.fml-lineup-metrics dt { font-weight: 650; font-size: .73rem; line-height: 1.25; }
.fml-lineup-metrics dd { margin: 3px 0 0; font-size: 1.17rem; font-weight: 820; line-height: 1.2; font-variant-numeric: tabular-nums; }
.fml-lineup-metrics dd small { color: var(--report-muted); font-size: .7rem; }
.fml-lineup-profile { display: inline-block; padding: 6px 0; font-weight: 750; font-size: .84rem; }
.fml-lineup-dialog form { margin-top: 6px; }
.fml-lineup-dialog button {
    min-height: 42px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    background: var(--report-yellow);
    color: var(--report-ink);
    font: 760 .85rem/1.25 system-ui, sans-serif;
    cursor: pointer;
}
.fml-lineup-dialog :focus-visible { outline: 2px solid #745609; outline-offset: 3px; }

.fml-fixture-preview-body .fml-fixture-forecast-details { display: grid; gap: 10px; }
.fml-fixture-preview-body .fml-fixture-forecast-details > details { margin-top: 0; }
.fml-fixture-model-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 9px;
    padding: 9px 11px;
    border-inline-start: 3px solid var(--report-yellow);
    border-radius: 6px;
    background: var(--report-paper);
    font-size: .8rem;
}
.fml-fixture-model-summary > strong { color: var(--report-ink); }
.fml-fixture-model-summary > :is(span, small) { color: var(--report-muted); }
.fml-fixture-model-summary > small { flex-basis: 100%; font-size: .75rem; }

.fml-fixture-model-summary > p { flex-basis: 100%; font-size: .81rem; line-height: 1.4; }

.fml-watch-panel { display: grid; gap: 7px; }
.fml-watch-panel > h4 { font-size: 1.02rem; }
.fml-watch-panel > .fml-report-stat-grid { gap: 8px; }
.fml-fixture-preview-body .fml-watch-card {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-inline-start: 3px solid var(--report-home);
}
.fml-fixture-preview-body .fml-watch-card.is-away { border-inline-start-color: var(--report-away); }
.fml-watch-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.fml-watch-head .fml-fixture-portrait img { width: 100%; height: 100%; object-fit: contain; }
.fml-watch-head a { display: block; font-size: .86rem; font-weight: 800; overflow-wrap: anywhere; line-height: 1.2; }
.fml-watch-head small, .fml-watch-sample { color: var(--report-muted); font-size: .7rem; }
.fml-watch-head small { display: block; line-height: 1.3; margin-top: 2px; }
.fml-watch-value {
    display: flex;
    align-items: baseline;
    gap: 1px;
    padding: 4px 5px;
    border-radius: 5px;
    background: #f9e8af;
    color: var(--report-ink);
    font-size: .95rem;
    font-variant-numeric: tabular-nums;
}
.fml-watch-value small { font-size: .64rem; }
.fml-watch-card p { margin: 0; font-size: .8rem; line-height: 1.4; }

.fml-tactical-shapes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.fml-tactical-shape { flex: 1 1 110px; min-width: 0; display: grid; align-content: start; gap: 3px; }
.fml-tactical-shape > span { font-weight: 700; font-size: .79rem; overflow-wrap: anywhere; }
.fml-tactical-shape > strong { font-size: 1.1rem; line-height: 1.2; }
.fml-tactical-shape > small { color: var(--report-muted); font-size: .72rem; line-height: 1.35; }
.fml-tactical-pitch {
    --pitch-dot: var(--report-home);
    display: grid;
    gap: 5px;
    max-width: 145px;
    padding: 8px 10px;
    border: 1px solid #3c4b5c;
    border-radius: 6px;
    background: linear-gradient(#253342 calc(50% - .5px), #526071 0 calc(50% + .5px), #253342 0);
}
.fml-tactical-shape.is-away .fml-tactical-pitch { --pitch-dot: #c5d3e4; }
.fml-tactical-pitch > div { display: flex; gap: 5px; justify-content: center; }
.fml-tactical-pitch i { width: 6px; height: 6px; border-radius: 50%; background: var(--pitch-dot); }

.fml-fixture-preview-body .fml-tactical-feature {
    display: grid;
    gap: 9px;
    border-top: 3px solid var(--report-yellow);
    background: #fcfaf3;
}
.fml-tactical-feature-label {
    color: #6e5311;
    font-size: .73rem;
    font-weight: 830;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.fml-fixture-preview-body .fml-tactical-story h3 {
    margin: 0 0 7px;
    color: var(--report-ink);
    font: 700 clamp(1.45rem, 4.7vw, 2.15rem)/1.08 Georgia, serif;
    letter-spacing: -.028em;
    overflow-wrap: anywhere;
}
.fml-fixture-preview-body .fml-tactical-story > p { color: var(--report-ink); font-size: .91rem; line-height: 1.45; max-width: 64ch; }
.fml-tactical-story-chart {
    margin: 11px 0 0;
    padding: 9px 10px;
    border: 1px solid var(--report-line);
    border-radius: 8px;
    background: var(--report-white);
}
.fml-tactical-story-chart .fml-report-stat-teams { margin-top: 0; }
.fml-tactical-story-chart figcaption {
    margin-top: 6px;
    color: var(--report-muted);
    font-size: .71rem;
    line-height: 1.35;
}
.fml-fixture-preview-body .fml-tactical-feature > details { margin: 1px 0 0; }
.fml-tactical-story-chart.is-past { --report-away: #84909d; }
.fml-tactical-story-chart.is-past.is-away { --report-home: #293142; }
.fml-tactical-story-chart .fml-tactical-samples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
}
.fml-tactical-samples .is-away { text-align: end; }
.fml-tactical-samples small {
    grid-column: 1 / -1;
    margin-top: 2px;
    text-align: center;
    font-size: inherit;
}

/* Keep the score, goals and section navigation readable in nested reports. */
.fml-match-report .fml-report-scorers:not(:has(> ul + ul)) {
    grid-template-columns: minmax(0, 1fr);
}
.fml-match-report .fml-report-scorers ul > li {
    color: var(--report-white) !important;
    padding-block: .28rem;
    border: 0 !important;
}
.fml-match-report .fml-report-scorers li > span {
    color: inherit !important;
    overflow-wrap: break-word;
}
.fml-match-report .fml-report-scorers li > b { font-variant-numeric: tabular-nums; }
.fml-match-report .fml-report-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-inline-size: 100%;
    padding: .3rem .4rem;
    gap: .25rem;
}
.fml-match-report .fml-report-nav > a {
    flex: none;
    display: inline-flex !important;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
    padding-inline: .5rem;
}
.fml-match-report .fml-report-play-icon {
    display: inline-block;
    flex: none;
    vertical-align: middle;
}
@media (max-width: 430px) {
    .fml-match-report .fml-report-scorers { gap: .65rem; }
    .fml-match-report .fml-report-nav > a { padding-inline: .4rem; }
}
