.football-page { background: #0b0b0f; color: #f4f5f8; font-family: "Segoe UI", sans-serif; }
.mc-winning-team { font-weight: 800; color: #fff; }
.mc-visually-hidden { 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; white-space: nowrap!important; border: 0!important; }
.mc-prediction-badge[data-outcome="won"] { color: var(--outcome-win)!important; background: color-mix(in srgb, var(--outcome-win) 20%, transparent); }
.mc-prediction-badge[data-outcome="half_won"] { color: var(--outcome-half-win)!important; background: color-mix(in srgb, var(--outcome-win) 20%, transparent); }
.mc-prediction-badge[data-outcome="lost"] { color: var(--outcome-loss)!important; background: color-mix(in srgb, var(--outcome-loss) 20%, transparent); }
.mc-prediction-badge[data-outcome="half_lost"] { color: var(--outcome-half-loss)!important; background: color-mix(in srgb, var(--outcome-loss) 20%, transparent); }
.mc-prediction-badge[data-outcome="push"] { color: var(--outcome-draw)!important; background: color-mix(in srgb, var(--outcome-draw) 20%, transparent); }
.mc-hero-prediction { margin-top: 22px; padding-top: 18px; border-top: 1px solid #3c3525; }
.mc-hero-prediction .mc-prediction-badge { display: inline-block; padding: 12px 18px; font-size: 13px; font-weight: 600; }
.mc-round-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; }
.mc-round-pagination button { min-width: 32px; height: 38px; padding: 5px; border: 1px solid #343a49; border-radius: 6px; background: #181c26; color: #d6dbe4; font-size: 12px; }
.mc-round-pagination button[aria-current="page"] { background: #ffb800; border-color: #ffb800; color: #171208; font-weight: 700; }
.mc-round-pagination button:hover:not(:disabled) { border-color: #ffb800; }
.mc-round-pagination button:disabled { opacity: .35; cursor: default; }
.mc-page-gap { color: #aab3c2; font-size: 12px; }
.football-page * { box-sizing: border-box; }
.football-page button,.football-page input,.football-page select { font: inherit; }
.football-page button,.football-page select { cursor: pointer; }
.football-page button:focus-visible,.football-page a:focus-visible,.football-page input:focus-visible,.football-page select:focus-visible { outline: 2px solid #ffb800; outline-offset: 4px; }
.mc-skip { position: absolute; left: 20px; top: -100px; }
.mc-skip:focus { top: 12px; z-index: 5; background: #11131a; padding: 12px; }
.mc-header { display: flex; align-items: center; gap: 32px; max-width: 1180px; padding: 12px 28px; margin: auto; border-bottom: 1px solid #292d39; }
.mc-brand { display: block; flex-shrink: 0; }.mc-brand img { display: block; object-fit: contain; width: 130px; height: 78px; }
.mc-header-note { color: #aab3c2; margin-left: auto; font-size: 12px; }
.mc-shell { max-width: 1124px; margin: 34px auto 60px; padding: 0 24px; min-height: 55vh; }
.mc-eyebrow { color: #ffb800; font-size: 11px; font-weight: 650; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.mc-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 26px; }
.mc-heading h1 { font-size: clamp(26px,4vw,40px); letter-spacing: -.8px; line-height: 1.2; margin: 0 0 10px; }.mc-heading p { margin: 0; color: #b8c0cd; line-height: 1.6; }
@media(min-width:801px) {
  .football-hub-page .mc-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; row-gap:0; }
  .football-hub-page .mc-heading > div { display:contents; }
  .football-hub-page .mc-heading .mc-eyebrow,
  .football-hub-page .mc-heading h1 { grid-column:1 / -1; }
}
.mc-updated { display: inline-block; padding: 5px 8px; border: 1px solid #3a3d48; border-radius: 5px; color: #b8c0cd; font-size: 11px; white-space: nowrap; }
.mc-detail-updated { display:flex; justify-content:flex-end; margin:-42px 0 18px; }
.mc-freshness { color: #aab3c2; font-size: 12px; line-height: 1.7; margin: 16px 0; }.mc-freshness strong { color: #e0e4ec; font-weight: 500; }.mc-freshness.mc-stale { border-left: 3px solid #ffb800; padding-left: 12px; }
.mc-layout { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 26px; }
.mc-sidebar { align-self: start; }.mc-sidebar-label { color: #98a3b4; font-size: 11px; letter-spacing: 1px; margin: 0 0 14px; }
.mc-league-link { display: flex; gap: 10px; align-items: center; padding: 13px 10px; background: #241e10; border: 1px solid #655021; border-radius: 8px; font-size: 13px; line-height: 1.6; }.mc-league-link img { width: 32px; height: 32px; object-fit: contain; background: #f4f5f8; border-radius: 5px; padding: 3px; }.mc-league-link small { color: #bec4ce; display: block; font-size: 11px; }.mc-sidebar p { font-size: 12px; line-height: 1.7; color: #aab3c2; }
.mc-panel { border: 1px solid #292d39; background: #11131a; border-radius: 12px; overflow: hidden; }
.mc-toolbar { padding: 18px; border-bottom: 1px solid #292d39; }.mc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }.mc-tabs a,.mc-tabs button { border: 0; text-decoration: none; color: #b8c0cd; background: transparent; border-radius: 6px; padding: 10px 13px; font-size: 13px; }.mc-tabs [aria-current="page"],.mc-tabs [aria-pressed="true"] { background: #ffb800; color: #1b1507; font-weight: 600; }.mc-tabs a:hover,.mc-tabs button:hover { background: #302b1d; color: #ffcf5b; }.mc-tabs [aria-current="page"]:hover,.mc-tabs [aria-pressed="true"]:hover { background: #ffc536; color: #1b1507; }
.mc-filters { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }.mc-filters label { display: grid; gap: 6px; color: #b8c0cd; font-size: 11px; flex: 1; min-width: 135px; }.mc-filters select,.mc-filters input { color-scheme: dark; width: 100%; min-height: 40px; border: 1px solid #343a49; border-radius: 6px; background: #181c26; color: #f4f5f8; padding: 8px; font-size: 13px; min-width: 0; }
.mc-daybar { display: flex; align-items: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }.mc-daybar button,.mc-button { border: 1px solid #343a49; background: #181c26; color: #d6dbe4; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 12px; }.mc-daybar [aria-pressed="true"] { border-color: #ffb800; color: #ffb800; }.mc-daybar button:hover,.mc-button:hover { border-color: #ffb800; color: #ffb800; }
.mc-result-count { font-size: 12px; color: #aab3c2; padding: 16px 18px 10px; }.mc-date-heading { background: #1a1e28; color: #c4ccd8; font-size: 12px; font-weight: 500; padding: 11px 18px; margin: 0; text-transform: capitalize; }
.mc-fixture { display: grid; grid-template-columns: 66px minmax(0,1fr) auto; gap: 16px; padding: 17px 18px; align-items: center; border-bottom: 1px solid #232837; }.mc-fixture:last-child { border-bottom: 0; }.mc-fixture:hover { background: #191d27; }.mc-status { text-align: center; color: #aeb8c7; font-size: 12px; line-height: 1.8; }.mc-status small { font-size: 10px; }.mc-live { color: #ffcf5b; }.mc-fixture-main { text-decoration: none; color: #f4f5f8!important; min-width: 0; }.mc-team-line { display: flex; align-items: center; gap: 10px; min-height: 30px; font-size: 14px; }.mc-team-line strong { margin-left: auto; font-size: 14px; }.mc-team-logo { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }.mc-team-logo[data-outline="true"] { filter: drop-shadow(0 0 1px white) drop-shadow(0 0 1px white); }.mc-team-initial { width: 24px; text-align: center; color: #bdc7d5; }.mc-row-end { min-width: 90px; text-align: right; }.mc-row-end a { display: inline-block; padding: 6px; font-size: 11px; }.mc-prediction-badge { border-radius: 4px; background: #302611; color: #ffcf59!important; text-decoration: none; }
.mc-empty { text-align: center; padding: 38px 20px; color: #bec7d3; line-height: 1.8; }.mc-empty h2 { color: #f4f5f8; font-size: 20px; }.mc-empty p { margin: 8px 0 20px; }.mc-empty .mc-button { display: inline-block; }.mc-load-more { display: block; margin: 18px auto; padding: 12px 24px; }
.mc-table-wrap { overflow-x: auto; }.mc-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }.mc-table th { color: #98a6b8; font-size: 11px; font-weight: 500; }.mc-table td,.mc-table th { padding: 12px 8px; border-bottom: 1px solid #252a38; text-align: center; white-space: nowrap; }.mc-table td:nth-child(2),.mc-table th:nth-child(2) { text-align: left; }.mc-table td:first-child { padding-left: 16px; }.mc-table .mc-team-line { font-size: 13px; }.mc-table .mc-team-logo { width: 28px; height: 28px; }.mc-table .mc-selected { background: #292312; }.mc-table a { text-decoration: none; color: #f4f5f8; }.mc-table-note { padding: 14px 18px; font-size: 11px; color: #aab3c2; line-height: 1.7; }
.mc-back { display: inline-block; font-size: 13px; margin-bottom: 18px; text-decoration: none; }.mc-match-hero { border: 1px solid #383224; border-radius: 14px; padding: 26px; background: radial-gradient(ellipse at top,#302615 0, #151720 70%); text-align: center; }.mc-match-meta { font-size: 12px; color: #c3cbd6; line-height: 1.8; }.mc-match-title { font-size: 13px; color: #bec7d6; font-weight: 500; margin: 0 0 22px; }.mc-scoreboard { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; }.mc-score-team { display: grid; justify-items: center; gap: 12px; font-size: clamp(17px,2.3vw,24px); font-weight: 600; }.mc-score-team img { width: 60px; height: 60px; }.mc-score-team a { color: #f4f5f8; text-decoration: none; }.mc-score { font-size: 34px; font-weight: 650; letter-spacing: 1px; }.mc-score small { display: block; font-size: 11px; color: #b8c4d4; font-weight: 400; letter-spacing: 0; max-width: 140px; }.mc-match-meta-bottom { margin-top: 22px; }.mc-detail-tabs { border-bottom: 1px solid #292d39; margin: 24px 0; padding-bottom: 12px; }
.mc-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.mc-card { padding: 22px; background: #11131a; border: 1px solid #292d39; border-radius: 11px; }.mc-card h2 { font-size: 17px; margin: 0 0 8px; }.mc-card h3 { font-size: 14px; margin: 20px 0 12px; }.mc-small { color: #aab5c5; font-size: 12px; line-height: 1.7; }.mc-card p { margin: 8px 0 14px; }.mc-compare { display: grid; grid-template-columns: minmax(0,1fr) minmax(90px,1.3fr) minmax(0,1fr); align-items: center; gap: 10px; text-align: center; padding: 15px 0; border-bottom: 1px solid #252b38; font-size: 15px; }.mc-compare:last-child { border: 0; }.mc-compare-label { font-size: 11px; color: #aeb8c7; }.mc-form { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; }.mc-form span { display: inline-grid; place-items: center; width: 22px; height: 24px; border-radius: 3px; font-size: 11px; background: #343e4d; color: #e0e5ed; }.mc-form [data-result="W"] { background: color-mix(in srgb, var(--outcome-win) 20%, transparent); color: var(--outcome-win); }.mc-form [data-result="D"] { background: color-mix(in srgb, var(--outcome-draw) 20%, transparent); color: var(--outcome-draw); }.mc-form [data-result="L"] { background: color-mix(in srgb, var(--outcome-loss) 20%, transparent); color: var(--outcome-loss); }.mc-callout { margin: 22px 0; padding: 20px 22px; border-left: 3px solid #ffb800; border-radius: 0 9px 9px 0; background: #241e11; }.mc-callout h2 { font-size: 16px; margin: 0 0 8px; }.mc-callout p { color: #c8cbd1; font-size: 13px; margin: 0 0 14px; }.mc-callout a { font-size: 13px; }.mc-player { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #272d38; font-size: 13px; }.mc-player-number { color: #a9b5c5; width: 24px; }.mc-player-name { display: flex; align-items: baseline; gap: 7px; min-width: 0; }.mc-player-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mc-player-position { flex: 0 0 auto; white-space: nowrap; }.mc-absence-icon { flex: 0 0 24px; font-size: 18px; line-height: 1; text-align: center; }.mc-player small { display: block; color: #afbacb; font-size: 11px; }.mc-player small.mc-player-position { display: inline; }.mc-history-item { display: grid; grid-template-columns: minmax(0,1fr) 50px minmax(0,1fr); gap: 12px; row-gap: 6px; padding: 14px 0; border-bottom: 1px solid #292d39; align-items: center; font-size: 13px; }.mc-history-item time { grid-column: 1 / -1; text-align: center; font-size: 11px; color: #aab5c5; }.mc-history-item strong { text-align: center; }.mc-footer { padding: 22px; text-align: center; font-size: 11px; color: #aab3c2; border-top: 1px solid #252a37; }
.mc-history-item .mc-history-team { display: flex; align-items: center; gap: 7px; text-align: left; min-width: 0; }
.mc-history-item .mc-history-team:last-child { justify-content: flex-start; }
.mc-history-item > .mc-history-team:nth-child(2) { justify-content: flex-end; }
.mc-history-item > .mc-history-team:nth-child(2) .mc-history-name { text-align: right; }
.mc-history-item .mc-history-name { text-align: left; overflow-wrap: anywhere; }
.mc-history-item .mc-team-logo { width: 21px; height: 21px; }
@media(max-width:800px) { .mc-layout { grid-template-columns: 1fr; gap: 18px; }.mc-sidebar { display: flex; align-items: center; gap: 16px; }.mc-sidebar-label,.mc-sidebar p { display: none; }.mc-league-link { padding: 8px 14px; }.mc-header-note { display: none; }.mc-cards { grid-template-columns: 1fr; }.mc-shell { margin-top: 25px; }.mc-header { justify-content: space-between; }.mc-heading { align-items: start; } }
@media(max-width:480px) { .mc-shell { padding: 0 12px; }.mc-header { padding: 8px 14px; gap: 12px; }.mc-brand img { width: 110px; height: 65px; }.mc-heading { display: block; }.mc-updated { margin-top: 14px; }.mc-toolbar { padding: 13px; }.mc-fixture { grid-template-columns: 43px minmax(0,1fr); gap: 10px; padding: 14px 12px; }.mc-row-end { grid-column: 2; text-align: left; min-width: 0; }.mc-row-end:empty { display: none; }.mc-team-line { font-size: 13px; }.mc-filters label { min-width: 125px; }.mc-filters select,.mc-filters input { font-size: 16px; }.mc-match-hero { padding: 20px 12px; }.mc-scoreboard { gap: 10px; }.mc-score-team { font-size: 16px; }.mc-score-team img { width: 46px; height: 46px; }.mc-score { font-size: 25px; }.mc-match-title { font-size: 12px; }.mc-tabs a,.mc-tabs button { padding: 10px; font-size: 12px; }.mc-card { padding: 16px; }.mc-history-item { grid-template-columns: minmax(0,1fr) 42px minmax(0,1fr); gap: 8px; font-size: 12px; }.mc-table td,.mc-table th { padding: 11px 5px; }.mc-table .mc-team-line { font-size: 12px; gap: 6px; }.mc-table .mc-team-logo { width: 24px; height: 24px; }.mc-table .mc-hide-mobile { display: none; } }

/* Readable emphasis and compact names across programme and match history. */
.mc-team-line,.mc-history-name { font-weight: 400; color: #bdc6d4; }
.mc-history-name.mc-winning-team { font-weight: 800; color: #fff; }
.mc-stat-number,.mc-history-item > strong { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.mc-stat-number { font-size: 17px; }
.mc-score-team a { white-space: nowrap; font-size: clamp(13px,2.1vw,22px); }
.mc-history-name { white-space: nowrap; }
.mc-history-item .mc-stat-number { font-size: 14px; }
.mc-round-heading { text-align: center; color: #bdc6d4; font-size: 12px; margin-top: 18px; }
.mc-match-hero {
  --accent-left: rgba(255,184,0,.35);
  --accent-right: rgba(92,225,255,.35);
  background-color: #11131a;
  background-image:
    radial-gradient(180px 180px at 8% 0%,color-mix(in srgb,var(--accent-left) 70%,transparent),transparent 70%),
    radial-gradient(200px 200px at 92% 0%,color-mix(in srgb,var(--accent-right) 70%,transparent),transparent 70%);
}
.mc-date-control { display: flex; position: relative; align-items: stretch; }
.mc-date-control #mc-date { border-radius: 6px 0 0 6px; }
.mc-date-control button { flex: 0 0 46px; min-height: 44px; border: 1px solid #343a49; border-left: 0; border-radius: 0 6px 6px 0; background: #252b38; color: #ffcf59; font-size: 28px; line-height: 1; }
.mc-date-control .mc-native-date { position: absolute; right: 0; bottom: 0; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; pointer-events: none; }
.football-page .mc-date-control .mc-native-date:focus-visible { outline: 0; }
.football-page .mc-date-control [data-calendar]:focus,
.football-page .mc-date-control [data-calendar]:has(+ .mc-native-date:focus) { outline: 2px solid #ffb800; outline-offset: 4px; }
.mc-history-notice { padding: 10px 12px; border-left: 3px solid #ffb800; background: #241e11; color: #e4d3a4; font-size: 13px; line-height: 1.55; }
.mc-scope { display: flex; gap: 6px; margin: 15px 0; }
.mc-scope button { padding: 9px 12px; border-radius: 6px; border: 1px solid #343a49; background: #181c26; color: #c8d0dc; font-size: 12px; }
.mc-scope button[aria-pressed="true"] { background: #ffb800; color: #171208; border-color: #ffb800; font-weight: 700; }
@media(max-width:480px) {
  .mc-history-item .mc-history-name { font-size: 11px; }
  .mc-history-item .mc-history-team { gap: 5px; }
  .mc-compare > div:not(.mc-compare-label) { font-size: 13px; }
}

.mc-date-field { display: grid; gap: 6px; flex: 1; min-width: 135px; }
@media(max-width:360px) {
  .mc-header { gap:8px; }
  .mc-brand img { width:100px; }
}
.mc-date-control button { display: grid; place-items: center; }

/* Larger reading size on the match detail page. */
.football-match-page { font-size: 16px; line-height: 1.55; }
.football-match-page .mc-match-title { font-size: 16px; }
.football-match-page .mc-score-team a { font-size: clamp(16px,2.3vw,25px); }
.football-match-page .mc-score { font-size: 38px; }
.football-match-page .mc-card h2 { font-size: 20px; }
.football-match-page .mc-card h3,.football-match-page .mc-callout h2 { font-size: 18px; }
.football-match-page .mc-small,
.football-match-page .mc-match-meta,
.football-match-page .mc-score small,
.football-match-page .mc-freshness,
.football-match-page .mc-header-note,
.football-match-page .mc-footer,
.football-match-page .mc-table-note { font-size: 14px; }
.football-match-page .mc-back,
.football-match-page .mc-tabs button,
.football-match-page .mc-scope button,
.football-match-page .mc-hero-prediction .mc-prediction-badge,
.football-match-page .mc-callout p,
.football-match-page .mc-callout a { font-size: 15px; }
.football-match-page .mc-compare > div:not(.mc-compare-label) { font-size: 16px; }
.football-match-page .mc-compare-label { font-size: 14px; }
.football-match-page .mc-stat-number { font-size: 21px; }
.football-match-page .mc-form span { width: 26px; height: 28px; font-size: 14px; }
.football-match-page .mc-player { font-size: 16px; }
.football-match-page .mc-player small { font-size: 14px; }
.football-match-page .mc-player-position { font-size: 12px; }
.football-match-page .mc-history-item,
.football-match-page .mc-history-item .mc-history-name { font-size: 15px; }
.football-match-page .mc-history-item time { font-size: 14px; }
.football-match-page .mc-history-item .mc-stat-number { font-size: 18px; }
.football-match-page .mc-table,
.football-match-page .mc-table .mc-team-line { font-size: 15px; }
.football-match-page .mc-table th { font-size: 13px; }
/* Keep the comparison rows aligned when one card summary wraps to a second line. */
@media(min-width:1001px) {
  .football-match-page .mc-form-card > .mc-small:first-of-type,
  .football-match-page .mc-venue-card > .mc-small:first-of-type { min-height: 3.4em; }
}
@media(max-width:1000px) {
  .football-match-page .mc-cards { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .football-match-page .mc-score { font-size: 30px; }
  .football-match-page .mc-history-item { grid-template-columns: minmax(0,1fr) 44px minmax(0,1fr); column-gap: 6px; }
  .football-match-page .mc-history-item .mc-history-name { font-size: 14px; }
  .football-match-page .mc-history-item .mc-stat-number { font-size: 17px; }
  .football-match-page .mc-history-item .mc-team-logo { width: 20px; height: 20px; }
  .football-match-page .mc-compare { grid-template-columns: minmax(0,1fr) minmax(90px,1.2fr) minmax(0,1fr); gap: 8px; }
  .football-match-page .mc-compare > div:not(.mc-compare-label) { font-size: 15px; }
}

/* Keep both five-game sequences and their label on the same line. */
.football-match-page .mc-compare--form {
  grid-template-columns: minmax(0,1fr) max-content minmax(0,1fr);
  column-gap: 6px;
}
@media(max-width:480px) {
  .football-match-page .mc-compare--form { grid-template-columns: minmax(0,1fr) minmax(90px,1.2fr) minmax(0,1fr); }
}
.mc-compare--form > div { min-width: 0; }
.football-match-page .mc-form {
  flex-wrap: nowrap;
  gap: 2px;
  width: 100%;
  max-width: 138px;
  margin-inline: auto;
}
.football-match-page .mc-form span {
  flex: 1 1 26px;
  min-width: 0;
  max-width: 26px;
}

/* Outcome highlights share the prediction statistics palette. */
.mc-compare--win { background: color-mix(in srgb, var(--outcome-win) 15%, transparent); }
.mc-compare--draw { background: color-mix(in srgb, var(--outcome-draw) 15%, transparent); }
.mc-compare--loss { background: color-mix(in srgb, var(--outcome-loss) 15%, transparent); }
.mc-compare--win .mc-compare-label { color: var(--outcome-win); }
.mc-compare--draw .mc-compare-label { color: var(--outcome-draw); }
.mc-compare--loss .mc-compare-label { color: var(--outcome-loss); }
.mc-metric-icon { white-space: nowrap; }

/* Reserve more room for metric labels; keep each icon beside its text. */
.football-match-page .mc-compare--metric,
.football-match-page .mc-compare--win,
.football-match-page .mc-compare--draw,
.football-match-page .mc-compare--loss {
  grid-template-columns: minmax(32px,1fr) minmax(0,3fr) minmax(32px,1fr);
}
@media(max-width:480px) {
  .football-match-page .mc-compare--metric,
  .football-match-page .mc-compare--win,
  .football-match-page .mc-compare--draw,
  .football-match-page .mc-compare--loss {
    grid-template-columns: minmax(0,1fr) minmax(90px,1.2fr) minmax(0,1fr);
  }
}
.mc-compare-label--icons {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  column-gap: 5px;
}

/* Competition navigation shares the programme/results/standings view. */
.mc-leagues { display:grid; gap:8px; }
.mc-league-link { text-decoration:none; color:var(--text, #edf0f6); background:#11151c; border-color:#29313e; }
.mc-league-link[aria-current="page"] { background:#241e10; border-color:#a68032; }
.mc-league-link:hover { border-color:#a68032; }
.mc-league-link img { flex-shrink:0; }
.mc-league-group { min-width:0; }
.mc-league-group > summary { display:flex; align-items:center; gap:7px; padding:10px 8px; border:1px solid #2a3240; border-radius:8px; color:#dce3ed; background:#171c25; cursor:pointer; font-size:12px; font-weight:800; letter-spacing:.04em; list-style:none; }
.mc-league-group > summary::-webkit-details-marker { display:none; }
.mc-league-group > summary:hover { border-color:#a68032; }
.mc-league-group-flag { width:24px; height:24px; object-fit:contain; flex:0 0 24px; }
.mc-league-group-pin { display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center; flex:0 0 24px; font-size:15px; }
.mc-league-group-toggle { margin-left:auto; width:8px; height:8px; border-right:2px solid #ffce61; border-bottom:2px solid #ffce61; transform:rotate(45deg) translateY(-2px); transition:transform .15s ease; }
.mc-league-group[open] .mc-league-group-toggle { transform:rotate(225deg) translate(-1px,-1px); }
.mc-league-group-items { display:grid; gap:8px; padding-top:8px; }
.mc-league-group-items .mc-league-link { min-height:46px; padding:8px 10px; line-height:1.3; }
@media(max-width:800px) {
  .mc-sidebar { display:block; }
  .mc-leagues { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mc-league-group { grid-column:1 / -1; }
  .mc-league-group-items { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mc-league-link { padding:8px; gap:7px; font-size:12px; }
  .mc-league-link img { width:26px; height:26px; }
}
@media(max-width:430px) { .mc-leagues,.mc-league-group-items { grid-template-columns:1fr; } }

/* Mobile competition picker; the full sidebar remains available on desktop. */
.mc-league-picker-trigger { display:none; }
.mc-league-copy { min-width:0; overflow-wrap:anywhere; }
.mc-league-picker { color:#f4f5f8; background:#171c25; border:1px solid #343a49; border-radius:20px 20px 0 0; padding:0; width:100%; max-width:560px; max-height:85vh; max-height:85dvh; margin:auto auto 0; overflow:auto; overscroll-behavior:contain; color-scheme:dark; }
.mc-league-picker::backdrop { background:rgba(0,0,0,.65); }
body.mc-league-picker-open { overflow:hidden; }
.mc-picker-handle { width:36px; height:4px; border-radius:4px; background:#697383; margin:10px auto 0; }
.mc-picker-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 16px; position:sticky; top:0; background:#171c25; z-index:1; }
.mc-picker-heading h2 { margin:0; font-size:18px; }
.mc-picker-close { min-height:44px; padding:8px; border:0; border-radius:6px; color:#c8d0dc; background:transparent; font-size:13px; }
.mc-picker-close span { margin-left:6px; font-size:22px; vertical-align:middle; }
.mc-league-picker .mc-leagues { display:grid; grid-template-columns:1fr; padding:0 16px calc(16px + env(safe-area-inset-bottom,0px)); }
.mc-league-picker .mc-league-group-items { grid-template-columns:1fr; }
.mc-league-picker .mc-league-group > summary { min-height:46px; }
.mc-league-picker .mc-league-link { min-height:48px; font-size:14px; gap:10px; }
.mc-league-picker .mc-league-link > img { width:30px; height:30px; }
.mc-picker-country, .mc-league-link small.mc-picker-country { display:flex; align-items:center; gap:5px; margin-top:3px; color:#b8c0ce; font-size:12px; font-weight:400; }
.mc-picker-country img.mc-picker-country-flag { width:18px; height:18px; flex:0 0 18px; padding:0; border-radius:0; object-fit:contain; background:transparent; }
.mc-picker-check { margin-left:auto; color:#ffbf00; font-size:17px; }
.mc-picker-action { margin-left:auto; flex-shrink:0; color:#ffbf00; font-size:13px; }
.mc-picker-logo { flex:0 0 32px; width:32px; height:32px; object-fit:contain; background:#f4f5f8; border-radius:5px; padding:3px; }
.mc-league-group > summary:focus-visible { outline:2px solid #ffb800; outline-offset:2px; }
@media(max-width:800px) {
  .mc-desktop-leagues { display:none; }
  .mc-league-picker-trigger { display:flex; width:100%; min-height:64px; align-items:center; gap:10px; padding:10px 12px; text-align:left; border:1px solid #a68032; border-radius:9px; background:#241e10; color:#f4f5f8; }
  .mc-league-picker-trigger strong { font-size:14px; font-weight:600; }
}

/* Standings: distinct rows, grouped numbers and a clear points column. */
.mc-table { font-size:14px; }
.mc-table thead { background:#1b2230; }
.mc-table th { padding-top:14px; padding-bottom:14px; color:#c6d0df; font-weight:700; }
.mc-table tbody tr:nth-child(even) { background:#ffffff04; }
.mc-table tbody tr:hover { background:#ffffff09; }
.mc-table tbody tr.mc-selected { background:#292312; }
.mc-table tbody tr.mc-selected:hover { background:#362d17; }
.mc-table td { color:#d4dbe5; }
.mc-table td:first-child { color:#95a3b6; font-size:12px; }
.mc-table td:nth-child(3), .mc-table th:nth-child(3),
.mc-table td:nth-child(7), .mc-table th:nth-child(7),
.mc-table td:last-child, .mc-table th:last-child { border-left:1px solid #343d4c; }
.mc-table td:nth-child(n+3), .mc-table th:nth-child(n+3) { padding-left:12px; padding-right:12px; }
.mc-table td:nth-child(4) { color:var(--outcome-win); }
.mc-table td:nth-child(5) { color:var(--outcome-draw); }
.mc-table td:nth-child(6) { color:var(--outcome-loss); }
.mc-table td:last-child, .mc-table th:last-child { background:#ffb80008; color:#ffce61; }
.mc-table td:last-child strong { display:inline-block; min-width:2ch; font-size:17px; font-weight:800; }
.mc-score-separator { color:#778498; }
.mc-stat-heading-short { display:none; }
.mc-standings { min-width:0; }
.mc-standings-controls { display:none; }
.mc-table-wrap:focus-visible { outline:2px solid #ffb800; outline-offset:-2px; }
@media(max-width:600px) {
  .mc-standings-controls { display:flex; flex-direction:column; align-items:center; gap:8px; padding:14px 12px; }
  .mc-standings-controls .mc-button { min-height:44px; color:#ffcf59; }
  .mc-standings-hint { color:#aab3c2; font-size:12px; text-align:center; }
  .mc-table .mc-hide-mobile { display:none; }
  .mc-standings--expanded .mc-hide-mobile { display:table-cell; }
  .mc-standings--expanded .mc-table { min-width:660px; }
  .mc-standings--expanded .mc-stat-heading-full { display:inline; }
  .mc-standings--expanded .mc-stat-heading-short { display:none; }
}
@media(max-width:1100px) {
  .mc-stat-heading-full { display:none; }
  .mc-stat-heading-short { display:inline; }
  .mc-table td:nth-child(n+3), .mc-table th:nth-child(n+3) { padding-left:8px; padding-right:8px; }
}
@media(max-width:480px) {
  .mc-table td:nth-child(n+3), .mc-table th:nth-child(n+3) { padding-left:6px; padding-right:6px; }
  .mc-table td:last-child strong { font-size:16px; }
}

.mc-season-stats { padding:20px; border-bottom:1px solid #343d4c; }
.mc-season-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; list-style:none; }
.mc-season-heading::-webkit-details-marker { display:none; }
.mc-season-title { font-size:18px; font-weight:700; }
.mc-season-heading a, .mc-summary-reset { color:#ffce61; font-size:13px; text-underline-offset:4px; }
.mc-season-toggle { display:none; margin-left:auto; width:9px; height:9px; border-right:2px solid #ffce61; border-bottom:2px solid #ffce61; transform:rotate(45deg) translateY(-2px); transition:transform .15s ease; }
.mc-season-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:16px 0; }
.mc-season-grid > div { padding:14px; border:1px solid #2c3442; border-radius:8px; background:#151a23; }
.mc-season-stat--link { position:relative; }
.mc-season-stat--link a { color:inherit; text-underline-offset:4px; }
.mc-season-stat--link a::after { content:""; position:absolute; inset:0; border-radius:8px; }
.mc-season-grid > .mc-season-stat--link:hover { border-color:#ffb800; }
.football-page .mc-season-stat--link a:focus-visible { outline:none; }
.mc-season-stat--link a:focus-visible::after { outline:2px solid #ffb800; outline-offset:4px; }
.mc-season-grid dt { font-size:12px; line-height:1.5; color:#aebccc; }
.mc-season-grid dd { font-size:19px; font-weight:700; margin:8px 0 0; font-variant-numeric:tabular-nums; }
@media(max-width:1000px) { .mc-season-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) {
  .mc-season-heading { min-height:44px; cursor:pointer; flex-wrap:nowrap; }
  .mc-season-stats:not([open]) .mc-season-heading a { display:none; }
  .mc-season-toggle { display:block; flex:0 0 9px; }
  .mc-season-stats[open] .mc-season-toggle { transform:rotate(225deg) translate(-1px,-1px); }
}
@media(max-width:480px) { .mc-season-stats { padding:14px; }.mc-season-grid > div { padding:10px; }.mc-season-grid dd { font-size:17px; } }

.mc-profit-positive { color:var(--outcome-win); }.mc-profit-negative { color:var(--outcome-loss); }

/* Keep competition and date compact; wrap only when their combined width cannot fit. */
.mc-history-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 12px; text-align: center; }
.mc-history-meta time { flex: 0 0 auto; white-space: nowrap; }
.mc-history-competition { display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 100%; color: #bdc6d4; font-size: 13px; }
.mc-history-competition img { flex: 0 0 20px; object-fit: contain; }
.mc-recent-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 15px 0; }
.mc-recent-controls .mc-scope { gap: 4px; margin: 0; min-width: 0; }
.mc-recent-controls .mc-scope button { padding: 8px; font-size: 13px; min-height: 36px; white-space: nowrap; }
.mc-recent-competition { flex: 0 1 auto; }
.mc-recent-competition button[data-recent="league"] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mc-recent-competition button[data-recent="all"] { flex-shrink: 0; }
.mc-recent-counts { flex-shrink: 0; margin-left: auto; }
.mc-recent-counts button { min-width: 32px; }
@media(max-width:480px) { .mc-recent-controls .mc-scope button { padding: 8px 6px; font-size: 12px; } }
.mc-recent-card .mc-history-name { white-space: normal; }

/* Keep the programme typography aligned with the larger match-detail view. */
.football-hub-page { font-size:16px; line-height:1.55; }
.football-hub-page .mc-header-note,
.football-hub-page .mc-freshness,
.football-hub-page .mc-footer,
.football-hub-page .mc-table-note,
.football-hub-page .mc-small { font-size:14px; }
.football-hub-page .mc-eyebrow,
.football-hub-page .mc-sidebar-label { font-size:12px; }
.football-hub-page .mc-updated,
.football-hub-page .mc-league-link small,
.football-hub-page .mc-season-grid dt { font-size:13px; }
.football-hub-page .mc-league-link,
.football-hub-page .mc-tabs button,
.football-hub-page .mc-filters select,
.football-hub-page .mc-filters input { font-size:15px; }
.football-hub-page .mc-sidebar p,
.football-hub-page .mc-daybar button,
.football-hub-page .mc-button,
.football-hub-page .mc-result-count,
.football-hub-page .mc-date-heading,
.football-hub-page .mc-status,
.football-hub-page .mc-table,
.football-hub-page .mc-row-end a { font-size:14px; }
.mc-absence-icon img { display: block; width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.mc-fixture { position: relative; isolation: isolate; }
.mc-fixture-main::after { content: ""; position: absolute; inset: 0; }
.mc-row-end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.mc-row-end a { position: relative; z-index: 1; white-space: nowrap; padding: 8px 10px; }
@media(min-width:481px) {
  .mc-fixture { grid-template-columns: 66px minmax(0,1fr) 100px; }
  .mc-row-end { flex-direction: column; align-items: stretch; gap: 4px; text-align: center; }
  .mc-row-end:has(.mc-prediction-badge) a { padding: 3px 8px; line-height: 18px; }
}
@media(max-width:480px) {
  .mc-row-end { justify-content: flex-start; }
}
.football-hub-page .mc-filters label,
.football-hub-page .mc-table th { font-size:13px; }
.football-hub-page .mc-team-line,
.football-hub-page .mc-team-line strong { font-size:16px; }
@media(max-width:480px) {
  .football-hub-page .mc-team-line { font-size:15px; }
  .football-hub-page .mc-table .mc-team-line { font-size:13px; }
  .football-hub-page .mc-tabs button { font-size:14px; }
}

.mc-standings-title { padding: 14px 18px; font-size: 18px; font-weight: 600; color: #f4f5f8; line-height: 1.5; }

.mc-scoreboard { row-gap:12px; }
.mc-team-scorers { grid-row:2; align-self:start; list-style:none; margin:0; padding:0; min-width:0; color:var(--muted); font-size:12px; font-weight:400; line-height:1.6; overflow-wrap:anywhere; }
.mc-team-scorers-home { grid-column:1; }
.mc-team-scorers-away { grid-column:3; }
.mc-live-note { display:block; margin-top:5px; color:var(--muted); font-size:11px; }
@media(max-width:480px) {
  .mc-row-end .mc-details-link { order:-1; }
  .mc-score-team { min-width:0; }
  .mc-score-team a { white-space:normal; overflow-wrap:anywhere; line-height:1.35; }
  .mc-score small { max-width:90px; margin-inline:auto; }
}

/* ScoreCast shell and long English team names. */
.football-page { --outcome-win:#5bdb99; --outcome-half-win:#92e4b7; --outcome-loss:#ff7373; --outcome-half-loss:#ffa5a5; --outcome-draw:#70bdff; }
.mc-brand img { width:180px; height:auto; }
.mc-score-team a,.mc-history-name { white-space:normal; overflow-wrap:anywhere; }
@media(max-width:480px) { .mc-brand img { width:100px; } }

@media(max-width:360px) { .mc-brand img { width:90px; } }

.mc-standings-group { display: block; margin-top: 4px; color: #ffcf5b; font-size: 15px; }
.mc-group-badge { display: block; width: fit-content; margin-bottom: 6px; padding: 2px 7px; border: 1px solid #414653; border-radius: 4px; color: #bec7d3; font-size: 11px; line-height: 1.5; }
