.main-content--football { padding-block: 1.5rem 4rem; }
.football-center { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
.football-center a { text-decoration: none; }
.football-crumb { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); font-size: .875rem; }
.football-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: clamp(1.35rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 3rem);
    border-radius: 1rem;
    color: #fff;
    background: radial-gradient(ellipse at 90% 110%, #0872ec 0%, transparent 56%), linear-gradient(110deg, #071a45, #0046c8);
    border-bottom: 4px solid #2181ff;
}
.football-kicker { font-weight: 700; font-size: .875rem; letter-spacing: .11em; text-transform: uppercase; color: #c5deff; }
.football-hero h1 { font-size: clamp(2rem, 5vw, 3.65rem); font-weight: 850; letter-spacing: -.045em; line-height: 1.06; margin: .35rem 0; overflow-wrap: anywhere; }
.football-hero p { margin: .7rem 0 0; color: #e1edff; }
.football-hero > div { min-width: 0; }
.football-hero .football-badge { box-sizing: content-box; width: clamp(2.4rem, 12vw, 4.5rem); height: clamp(2.4rem, 12vw, 4.5rem); padding: .5rem; background: #fff; border-radius: .75rem; }
.football-tabs { display: flex; align-items: flex-start; gap: .4rem; overflow: auto; padding: .45rem; background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; }
.football-tabs a, .football-dates nav a { min-height: 2.75rem; padding: .65rem .95rem; border-radius: .48rem; font-weight: 700; white-space: nowrap; }
.football-tabs a[aria-current], .football-dates a[aria-current] { background: var(--brand); color: white; }
.football-tabs a[aria-current]:hover, .football-dates a[aria-current]:hover { color: #fff; }
.football-tabs a:not([aria-current]):hover, .football-dates nav a:not([aria-current]):hover { background: var(--soft); color: var(--action); }
.football-league-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
.football-layout { min-width: 0; display: grid; gap: 1.2rem; }
.football-layout--sidebar { grid-template-columns: minmax(0, 1fr) minmax(16rem, .36fr); align-items: start; }
.football-main { min-width: 0; }
.football-dates { display: flex; justify-content: space-between; align-items: center; gap: .65rem; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; padding: .6rem; }
.football-dates nav { display: flex; gap: .2rem; }
.football-dates nav a { font-size: .925rem; }
.football-controls { display: flex; align-items: end; gap: .5rem; flex-wrap: wrap; }
.football-controls input:not([type="hidden"]), .football-controls select, .football-controls button {
    min-height: 2.75rem; border: 1px solid var(--line); border-radius: .5rem; padding: .45rem .65rem;
    background: var(--surface); color: var(--ink);
}
.football-controls button { background: var(--brand); color: white; font-weight: 700; border-color: transparent; }
.football-controls button:hover { background: #155dd6; }
.football-controls label { font-size: .875rem; font-weight: 650; }
.football-controls label > input, .football-controls label > select { display: block; width: 100%; font-size: 1rem; }
.football-catalog-filter { display: grid; grid-template-columns: 1.4fr 1fr auto; padding: .85rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); }
.football-catalog-filter label { min-width: 0; }
.football-content { display: grid; gap: .8rem; }
.football-dates + .football-content, .football-catalog-filter + .football-content { margin-top: .85rem; }
.football-content-title { margin: .2rem 0 0; font-size: 1.35rem; letter-spacing: -.025em; }
.football-update { margin: 0; font-size: .875rem; color: var(--muted); }
.football-empty { margin: 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; color: var(--muted); }
.football-retry { color: var(--action); font-weight: 700; }
.football-panel { background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; overflow: hidden; }
.football-panel-title { margin: 0; min-height: 3.2rem; display: flex; align-items: center; gap: .55rem; padding: .65rem .95rem; border-bottom: 1px solid var(--line); background: var(--soft); font-size: 1rem; font-weight: 770; }
.football-panel-title small { margin-left: auto; color: var(--muted); font-size: .825rem; }
.football-badge { flex: none; object-fit: contain; }
.football-badge--empty { display: grid; place-items: center; width: 24px; height: 24px; color: var(--action); border-radius: 50%; background: var(--soft); }
.football-flag { width: 26px; height: 18px; }
.football-team { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.football-team span:last-child { overflow-wrap: anywhere; }
.football-fixture { display: grid; grid-template-columns: clamp(4.6rem, 15%, 7rem) minmax(0, 1fr) 2rem; align-items: center; gap: .75rem; padding: .65rem .95rem; }
.football-fixture + .football-fixture { border-top: 1px solid var(--line); }
.football-fixture:hover, .football-shortcuts a:hover, .football-catalog-list a:hover { background: var(--soft); color: var(--action); }
.football-fixture-status { color: var(--muted); font-size: .875rem; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.football-center .is-live { color: #aa1537; font-weight: 800; }
[data-theme="dark"] .football-center .is-live { color: #ff9bb0; }
.football-fixture-teams, .football-score { display: grid; gap: .3rem; font-weight: 680; }
.football-score { justify-items: center; font-variant-numeric: tabular-nums; }
.football-score span { background: var(--soft); border-radius: .25rem; width: 100%; text-align: center; }
.football-shortcuts a, .football-catalog-list a { display: flex; align-items: center; gap: .6rem; min-height: 2.85rem; padding: .48rem .85rem; font-weight: 680; }
.football-shortcuts a + a, .football-catalog-list a + a { border-top: 1px solid var(--line); }
.football-shortcuts .football-all { color: var(--action); }
.football-catalog-list small { margin-left: auto; color: var(--muted); }
.football-country-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; align-items: start; }
.football-club { padding: .9rem; display: flex; align-items: center; gap: .8rem; }
.football-club h2 { margin: 0; font-size: 1rem; }
.football-club p { margin: .2rem 0 0; color: var(--muted); font-size: .875rem; }
.football-scroll { overflow-x: auto; }
.football-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.football-table th, .football-table td { padding: .65rem .8rem; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
.football-table thead { font-weight: 740; color: var(--muted); font-size: .875rem; }
.football-table tbody tr:last-child > * { border-bottom: 0; }
.football-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--canvas) 75%, var(--surface)); }
.football-form { display: flex; gap: .2rem; }
.football-form span { display: inline-grid; place-items: center; min-width: 1.35rem; min-height: 1.35rem; border-radius: .25rem; font-size: .8rem; font-weight: 750; background: var(--soft); }
.football-form .football-form-w { color: #135330; background: #d9f6e4; }
.football-form .football-form-l { color: #94183b; background: #ffdee6; }
.football-player-stats summary { cursor: pointer; }
.football-player-stats summary::after { content: '+'; margin-left: auto; }
.football-player-stats[open] summary::after { content: '−'; }

.match-center { --match-home: #2a5fd0; --match-away: #bf623b; display: grid; min-width: 0; gap: .9rem; }
.match-board { border-top: 3px solid var(--brand); text-align: center; }
.match-board-meta { display: flex; justify-content: space-between; align-items: center; gap: .45rem .85rem; flex-wrap: wrap; padding: .65rem clamp(.75rem, 3vw, 1.4rem); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.football-league-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 720; }
.match-board-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(.4rem, 3vw, 2rem); padding: clamp(1rem, 3vw, 1.8rem) clamp(.5rem, 3vw, 1.8rem); background: linear-gradient(180deg, var(--soft), var(--surface) 92%); }
.match-board-score .football-team { flex-direction: column; justify-content: center; line-height: 1.24; font-size: clamp(.88rem, 2.35vw, 1.4rem); font-weight: 800; }
.match-board-score .football-badge { width: clamp(2.55rem, 7vw, 4.65rem); height: clamp(2.55rem, 7vw, 4.65rem); }
.match-score-result { display: grid; justify-items: center; gap: .25rem; min-width: 0; font-variant-numeric: tabular-nums; }
.match-score-result > strong { white-space: nowrap; line-height: 1.05; letter-spacing: -.045em; font-size: clamp(1.95rem, 6vw, 4.3rem); }
.match-score-result > .match-score-kickoff { font-size: clamp(1.6rem, 5vw, 2.85rem); }
.match-score-result > strong span { color: var(--muted); font-weight: 500; }
.match-score-result > span { font-size: .78rem; font-weight: 700; }
.match-status { padding: .15rem .58rem; border-radius: 1rem; background: var(--canvas); color: var(--muted); }
.match-scorers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .6rem clamp(.65rem, 3vw, 1.4rem) .8rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); text-align: left; }
.match-scorers ul { display: flex; flex-wrap: wrap; align-content: start; gap: .35rem .8rem; margin: 0; padding: 0; list-style: none; }
.match-scorers .match-scorers-away { justify-content: flex-end; text-align: right; }
.match-scorers li { overflow-wrap: anywhere; }
.match-scorers b { margin-inline-start: .15rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.match-tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; border: 1px solid var(--line); border-radius: .68rem; background: var(--surface); }
.match-tabs a { display: grid; place-items: center; min-height: 2.65rem; padding: .38rem clamp(.5rem, 2.7vw, 1.25rem); border-radius: .42rem; color: var(--muted); font-size: .9rem; font-weight: 740; text-align: center; }
.match-tabs a:hover, .match-tabs a[aria-current] { background: var(--soft); color: var(--action); }
.match-overview { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 1fr); gap: .9rem; align-items: start; }
.match-overview-side, .match-tab-panel { display: grid; gap: .9rem; min-width: 0; }
.match-card { min-width: 0; }
.match-card-title { margin: 0; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: 1.04rem; letter-spacing: -.017em; }
.match-card-empty { margin: 0; padding: .9rem 1rem; color: var(--muted); }
.match-event-teams, .match-pitch-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: .55rem .85rem; background: color-mix(in srgb, var(--canvas) 60%, var(--surface)); font-size: .86rem; font-weight: 740; }
.match-event-teams > :last-child { flex-direction: row-reverse; text-align: right; }
.match-event-teams .football-badge { width: 1.25rem; height: 1.25rem; }
.match-timeline { position: relative; margin: 0; padding: .25rem .65rem; list-style: none; }
.match-timeline::before { position: absolute; inset: 0 auto 0 50%; width: 1px; background: var(--line); content: ''; }
.match-timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .35rem .5rem; min-height: 3.14rem; padding-block: .4rem; }
.match-timeline li + li { border-top: 1px solid var(--line); }
.match-timeline .match-period { display: flex; justify-content: center; min-height: 2rem; padding: .25rem; }
.match-period span { padding: .12rem .5rem; border-radius: .32rem; background: var(--soft); color: var(--action); font-size: .72rem; font-weight: 740; }
.match-event-minute { grid-column: 2; grid-row: 1; min-width: 2.55rem; padding: .12rem .25rem; border: 1px solid var(--line); border-radius: .32rem; background: var(--surface); color: var(--muted); font-size: .76rem; text-align: center; font-weight: 740; font-variant-numeric: tabular-nums; }
.match-event-body { display: flex; align-items: center; gap: .36rem; grid-column: 3; grid-row: 1; line-height: 1.25; overflow-wrap: anywhere; }
.match-event-home .match-event-body { grid-column: 1; flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.match-event-unknown .match-event-body { grid-column: 1 / -1; grid-row: 2; justify-self: center; padding: .18rem .4rem; border-radius: .32rem; background: var(--surface); }
.match-event-body b { display: block; font-size: .88rem; }
.match-event-body div > span { color: var(--muted); font-size: .73rem; }
.match-event-mark { flex: none; display: inline-grid; place-items: center; width: 1.28rem; height: 1.28rem; color: var(--action); font-size: .94rem; font-weight: 780; }
.match-event-mark--yellow::before, .match-event-mark--red::before { width: .58rem; height: .8rem; border-radius: .12rem; background: #e9ad24; content: ''; }
.match-event-mark--red::before { background: #ce3651; }
.match-event-mark--review { font-size: .53rem; }
.match-event-mark--miss { color: var(--muted); }
.match-facts { display: grid; gap: .48rem; margin: 0; padding: .65rem 1rem .8rem; font-size: .86rem; }
.match-facts > div { display: grid; grid-template-columns: 1fr 1.1fr; gap: .5rem; }
.match-facts dt { color: var(--muted); }
.match-facts dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.match-more { display: block; margin: 0 .9rem .8rem; color: var(--action); font-size: .86rem; font-weight: 740; }

.match-comparisons { margin: 0; padding: .35rem .9rem .7rem; }
.match-comparison { display: grid; padding-block: .49rem; }
.match-comparison + .match-comparison { border-top: 1px solid var(--line); }
.match-comparison dt { grid-area: 1 / 1; padding: 0 3.1rem .7rem; color: var(--muted); text-align: center; font-size: .84rem; font-weight: 650; }
.match-comparison dd { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: space-between; margin: 0; font-variant-numeric: tabular-nums; font-weight: 810; font-size: .89rem; }
.match-comparison dd span + span { text-align: right; }
.match-comparison progress { grid-column: 1 / -1; display: block; width: 100%; height: .38rem; margin-top: .3rem; appearance: none; overflow: hidden; border: 0; border-radius: 1rem; color: var(--match-home); background: var(--match-away); }
.match-comparison progress::-webkit-progress-bar { background: var(--match-away); }
.match-comparison progress::-webkit-progress-value { background: var(--match-home); border-inline-end: 1px solid var(--surface); }
.match-comparison progress::-moz-progress-bar { background: var(--match-home); border-inline-end: 1px solid var(--surface); }

.match-pitch-teams > div { display: flex; align-items: center; gap: .45rem; }
.match-pitch-teams > div:last-child { justify-content: end; text-align: right; }
.match-pitch-teams b { flex: none; padding: .08rem .35rem; border-radius: .3rem; background: var(--soft); color: var(--action); white-space: nowrap; }
.match-pitch { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(17rem, 37vw, 29rem); margin: .85rem; padding: .95rem 1.1rem; overflow: hidden; border-radius: .7rem; background: repeating-linear-gradient(90deg, #29714f 0 10%, #236747 10% 20%); color: #fff; }
.match-pitch-markings { position: absolute; z-index: -1; inset: 6% 4%; border: 1px solid #bce2bf94; pointer-events: none; }
.match-pitch-markings::before, .match-pitch-markings::after, .match-pitch-markings i { position: absolute; content: ''; }
.match-pitch-markings::before { left: 50%; top: 0; height: 100%; border-left: 1px solid #bce2bf94; }
.match-pitch-markings::after { top: 50%; left: 50%; width: min(16%, 6.2rem); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid #bce2bf94; border-radius: 50%; }
.match-pitch-markings i { top: 25%; width: 12%; height: 50%; border: 1px solid #bce2bf94; }
.match-pitch-markings i:first-child { left: -1px; }
.match-pitch-markings i:last-child { right: -1px; }
.match-pitch-side, .match-pitch-side ul { display: flex; min-width: 0; }
.match-pitch-side--away { flex-direction: row-reverse; }
.match-pitch-side ul { flex: 1; flex-direction: column; align-items: stretch; justify-content: space-evenly; gap: .3rem; margin: 0; padding: .2rem .12rem; list-style: none; }
.match-pitch-side--away ul { flex-direction: column-reverse; }
.match-pitch-side li { min-width: 0; display: grid; justify-items: center; gap: .15rem; text-align: center; }
.match-pitch-side li b { display: grid; place-items: center; width: clamp(1.45rem, 3.8vw, 2.15rem); height: clamp(1.45rem, 3.8vw, 2.15rem); border: 1px solid #ffffff80; border-radius: 50%; background: #143c8d; font-size: clamp(.68rem, 1.4vw, .93rem); }
.match-pitch-side--away li b { background: #8e452a; }
.match-pitch-side li span { display: block; width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(.62rem, 1.45vw, .86rem); font-weight: 740; text-shadow: 0 1px 2px #123f2a; }
.match-rosters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: .75rem .85rem; }
.match-roster { min-width: 0; padding: .7rem; border: 1px solid var(--line); border-radius: .55rem; }
.match-roster h3 { display: flex; justify-content: space-between; align-items: center; gap: .3rem; flex-wrap: wrap; margin: 0; font-size: .93rem; }
.match-roster h4 { margin: .7rem 0 .22rem; font-size: .84rem; }
.match-roster p { margin: .25rem 0; color: var(--muted); font-size: .82rem; }
.match-roster ul { margin: 0; padding: 0; list-style: none; }
.match-roster li { display: flex; gap: .4rem; padding-block: .22rem; font-size: .84rem; overflow-wrap: anywhere; }
.match-roster li b { flex: none; min-width: 1.3rem; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 880px) {
    .football-layout--sidebar { grid-template-columns: minmax(0, 1fr) minmax(13rem, .4fr); }
    .football-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .match-overview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 650px) {
    .football-layout--sidebar, .football-country-grid { grid-template-columns: minmax(0, 1fr); }
    .football-catalog-filter { grid-template-columns: minmax(0, 1fr); }
    .football-controls button { width: auto; }
    .football-dates nav a { padding-inline: .65rem; }
    .football-fixture { padding-inline: .65rem; gap: .45rem; }
    .match-tabs a { flex: 1 1 5rem; }
    .match-pitch { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); min-height: 29rem; padding: .5rem; margin: .6rem; background: repeating-linear-gradient(0deg, #29714f 0 10%, #236747 10% 20%); }
    .match-pitch-markings { inset: 4% 5%; }
    .match-pitch-markings::before { top: 50%; left: 0; width: 100%; height: 0; border-top: 1px solid #bce2bf94; }
    .match-pitch-markings i { left: 25%; top: auto; width: 50%; height: 11%; }
    .match-pitch-markings i:first-child { top: -1px; left: 25%; }
    .match-pitch-markings i:last-child { bottom: -1px; right: auto; }
    .match-pitch-side { flex-direction: column; }
    .match-pitch-side--away { flex-direction: column-reverse; }
    .match-pitch-side ul { flex-direction: row; align-items: center; }
    .match-pitch-side--away ul { flex-direction: row-reverse; }
    .match-pitch-side li { flex: 1; }
}
