/* 2026-06-22 honest product review fixes: compact, visible, MoFutbol-native. */

:root {
  --mf-review-panel: rgba(6, 18, 13, .9);
  --mf-review-panel-strong: rgba(10, 32, 24, .95);
  --mf-review-line: rgba(245, 200, 66, .34);
  --mf-review-green: #21d17a;
  --mf-review-gold: #ffd735;
  --mf-review-red: #f25555;
}

/* Release gate: every visible interactive target keeps a 44px hit area. */
html body .site-header .site-brand,
html body .site-footer .site-brand {
  min-height: 44px !important;
}

html body main summary {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  min-width: 44px !important;
  min-height: 44px !important;
  height: auto !important;
}

html body .mf-tracker-official-board__summary {
  box-sizing: border-box;
  min-height: 44px !important;
}

html body.mf-match-center-page main#main-content .mf-matchday-overview__following {
  display: grid !important;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: start;
  white-space: normal;
}

/* Keep data-heavy hubs visually stable while their final sections are composed. */
html body.mf-prehydrate-guard:not(.mf-finish-polish-ready) main#main-content {
  min-height: calc(100vh + 12rem) !important;
  visibility: hidden;
}

html body.mf-prehydrate-guard.mf-finish-polish-ready main#main-content {
  visibility: visible;
}

@media (max-width: 700px) {
  body.mf-v44-players .mf-player-tracker-hero .mf-tracker-hero-bg::before,
  body.mf-v44-players .mf-player-tracker-hero .mf-tracker-hero-bg::after {
    content: none !important;
    display: none !important;
  }
}

/* Reserve the real post-load footprint of the two densest live hubs. */
html body.stl-soccer-hub-page main#main-content .mf-daily-hero {
  min-height: 465px !important;
}

@media (min-width: 900px) {
  html body.stl-soccer-hub-page main#main-content .mf-daily-hero {
    height: 400px !important;
    min-height: 400px !important;
    overflow: hidden;
  }

  html body.stl-soccer-hub-page main#main-content #tier-pro {
    min-height: 900px !important;
  }

  html body.mf-us-soccer-page main#main-content #mf-us-route-grid {
    min-height: 18.5rem !important;
  }
}

html body.mf-diaspora-overview-page main#main-content .mf-da-daily[data-authority-daily-pending] {
  display: block !important;
  min-height: 436px !important;
}

html body.mf-diaspora-overview-page main#main-content .mf-da-command[data-authority-command-pending] {
  display: block !important;
  min-height: 113px !important;
}

/* World Cup page: compact official FIFA tournament lane */
body.mf-world-cup-page #wc2026-fifa-tournaments {
  padding: clamp(1rem, 2vw, 1.45rem) 0 !important;
  border-top: 1px solid rgba(245, 200, 66, .22);
  border-bottom: 1px solid rgba(245, 200, 66, .18);
  background:
    radial-gradient(circle at 12% 0, rgba(245, 200, 66, .12), transparent 18rem),
    radial-gradient(circle at 86% 18%, rgba(45, 184, 75, .12), transparent 17rem),
    linear-gradient(135deg, rgba(4, 14, 15, .96), rgba(6, 20, 18, .95));
}

body.mf-world-cup-page #wc2026-fifa-tournaments .stl-container {
  display: grid;
  gap: .72rem;
}

body.mf-world-cup-page .mf-fifa-tournament-lane__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

body.mf-world-cup-page .mf-fifa-tournament-lane__head h2 {
  margin: .12rem 0 0;
  color: #fff;
  font-family: var(--f-heading);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 1;
}

body.mf-world-cup-page .mf-fifa-tournament-lane__head p {
  max-width: 70ch;
  margin: .34rem 0 0;
  color: rgba(235, 246, 252, .76);
  font-size: .86rem;
  line-height: 1.45;
}

body.mf-world-cup-page .mf-fifa-tournament-lane__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .58rem;
}

body.mf-world-cup-page .mf-fifa-tournament-card {
  display: grid;
  align-content: start;
  gap: .36rem;
  min-height: 8.2rem;
  padding: .72rem;
  border: 1px solid rgba(245, 200, 66, .24);
  border-radius: .92rem;
  background: rgba(2, 12, 12, .72);
  color: #f7fbff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body.mf-world-cup-page .mf-fifa-tournament-card--primary {
  background:
    linear-gradient(135deg, rgba(245, 200, 66, .15), rgba(45, 184, 75, .1)),
    rgba(2, 12, 12, .76);
}

body.mf-world-cup-page .mf-fifa-tournament-card:hover,
body.mf-world-cup-page .mf-fifa-tournament-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245, 200, 66, .66);
  background: rgba(245, 200, 66, .1);
}

body.mf-world-cup-page .mf-fifa-tournament-card span {
  color: #f7d34d;
  font: 900 .66rem/1.1 var(--f-mono, monospace);
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.mf-world-cup-page .mf-fifa-tournament-card strong {
  color: #fff;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  line-height: 1.08;
}

body.mf-world-cup-page .mf-fifa-tournament-card p {
  margin: 0;
  color: rgba(235, 246, 252, .74);
  font-size: .8rem;
  line-height: 1.35;
}

body.mf-world-cup-page .mf-fifa-tournament-card small,
body.mf-world-cup-page .mf-fifa-tournament-lane__note {
  color: rgba(235, 246, 252, .6);
  font-size: .72rem;
  line-height: 1.35;
}

body.mf-world-cup-page .mf-fifa-tournament-lane__note {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem .8rem;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: .58rem;
}

body.mf-world-cup-page .mf-wc-section-nav a[href="#wc2026-fifa-tournaments"] {
  border-color: rgba(245, 200, 66, .34);
}

/* World Cup bracket: calm the hero motion so the board reads like a utility. */
body.mf-world-cup-page #wc2026-knockout.mf-wc-v42-board::before,
body.mf-world-cup-page #wc2026-knockout.mf-wc-v42-board::after,
body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-match.is-selected::after {
  animation: none !important;
}

body.mf-world-cup-page #wc2026-knockout.mf-wc-v42-board::before {
  opacity: .12 !important;
  transform: none !important;
}

body.mf-world-cup-page #wc2026-knockout.mf-wc-v42-board::after {
  opacity: .08 !important;
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-match::after {
  display: none !important;
}

@media (max-width: 980px) {
  body.mf-world-cup-page .mf-fifa-tournament-lane__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.mf-world-cup-page .mf-fifa-tournament-lane__head {
    align-items: start;
    display: grid;
  }

  body.mf-world-cup-page .mf-fifa-tournament-lane__grid {
    grid-template-columns: 1fr;
  }

  body.mf-world-cup-page .mf-fifa-tournament-card {
    min-height: 0;
  }
}

/* 2026-07-13 audit fixes: clearer CTAs, calmer freshness, stronger Youth Pathway graph. */
body.mf-system-home .mf-v22-button--primary,
body.mf-system-home .mf-v22-button--primary:visited {
  color: #06110c !important;
  background: linear-gradient(135deg, #ffd735, #c8f230 58%, #55e58d) !important;
  border-color: rgba(255, 255, 255, .22) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.mf-system-home .mf-v22-button--primary :where(span, strong, small),
body.mf-system-home .mf-v22-button--primary img + span {
  color: #06110c !important;
}

body.mf-system-home .mf-v22-button--primary:hover,
body.mf-system-home .mf-v22-button--primary:focus-visible {
  color: #06110c !important;
  filter: saturate(1.04) brightness(1.02);
  box-shadow: 0 0 0 2px rgba(200, 242, 48, .38), 0 16px 36px rgba(200, 242, 48, .24) !important;
}

.mf-polish-freshness {
  transform: scale(.86);
  transform-origin: top right;
  opacity: .72;
  border-color: rgba(200, 242, 48, .2) !important;
  background: rgba(4, 18, 12, .62) !important;
  box-shadow: none !important;
}

.mf-polish-freshness:hover,
.mf-polish-freshness:focus-within {
  opacity: .92;
}

.mf-polish-freshness span {
  color: rgba(200, 242, 48, .82) !important;
}

.mf-polish-freshness strong {
  color: rgba(244, 247, 251, .58) !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-section[aria-labelledby="youth-pathway-graph-title"] {
  padding-block: clamp(1rem, 2vw, 1.6rem) !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-section[aria-labelledby="youth-pathway-graph-title"] .stl-section-header-row {
  align-items: center !important;
  margin-bottom: .68rem !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-section[aria-labelledby="youth-pathway-graph-title"] .stl-section-header-row p {
  max-width: 58ch !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-graph-grid {
  grid-template-columns: minmax(30rem, 1.05fr) minmax(20rem, .95fr) !important;
  min-height: 0 !important;
  gap: clamp(.75rem, 1.5vw, 1rem) !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-pyramid {
  min-height: 0 !important;
  padding: .82rem !important;
  border-color: rgba(245, 200, 66, .28) !important;
  background:
    linear-gradient(180deg, rgba(5, 21, 17, .94), rgba(2, 10, 8, .98)),
    linear-gradient(90deg, rgba(245, 200, 66, .09), rgba(143, 216, 255, .06), rgba(40, 184, 75, .1)) !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-pyramid::before {
  content: "Tap a stage to open official links";
  display: inline-flex;
  width: fit-content;
  margin: 0 0 .55rem;
  padding: .32rem .55rem;
  border: 1px solid rgba(245, 200, 66, .28);
  border-radius: 999px;
  color: rgba(247, 248, 241, .74);
  background: rgba(0, 0, 0, .24);
  font: 850 .62rem/1 var(--f-mono, monospace);
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-pyramid__field,
body.mf-youth-pathway-guide main#main-content .mf-youth-pyramid__tiers::before {
  opacity: .18 !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-pyramid__tiers {
  gap: .48rem !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-stage-node {
  width: 100% !important;
  min-height: 5.15rem !important;
  grid-template-columns: 3.7rem minmax(0, 1fr) auto !important;
  gap: .56rem !important;
  padding: .58rem .66rem .76rem !important;
  border-left-width: 4px !important;
  background:
    linear-gradient(90deg, rgba(2, 12, 12, .96), rgba(7, 26, 20, .88)),
    var(--stage-bg, none) right center / auto 132% no-repeat,
    rgba(12, 31, 23, .96) !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-stage-node:hover,
body.mf-youth-pathway-guide main#main-content .mf-youth-stage-node:focus-visible,
body.mf-youth-pathway-guide main#main-content .mf-youth-stage-node.is-active {
  transform: translateY(-1px) !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-stage-node__mark {
  width: 3.25rem !important;
  min-height: 3.25rem !important;
  border-radius: 12px !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-stage-label strong {
  color: #fff !important;
  font-size: clamp(.95rem, 1.2vw, 1.08rem) !important;
  line-height: 1.05 !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-stage-label small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(247, 248, 241, .76) !important;
  line-height: 1.28 !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-stage-focus {
  grid-column: 2 / -1 !important;
  gap: .28rem !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-stage-focus em {
  min-height: 1.28rem !important;
  padding: .18rem .38rem !important;
  font-size: .52rem !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-node-logos {
  max-width: 7.6rem;
  overflow: hidden;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-node-logo {
  width: 2rem !important;
  height: 2rem !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-inspector {
  position: static !important;
  padding: .76rem !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-inspector__hero {
  min-height: 8.8rem !important;
}

body.mf-youth-pathway-guide main#main-content .mf-youth-inspector__links {
  max-height: 13.2rem !important;
}

body.mf-page-shell :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid rgba(200, 242, 48, .8) !important;
  outline-offset: 3px !important;
}

body.mf-page-shell :where(.stl-btn--primary, .mf-v22-button--primary, .mf-matchday-watchlist__head a):focus-visible {
  box-shadow: 0 0 0 3px rgba(200, 242, 48, .32) !important;
}

body.mf-page-shell main .mf-compact-board__toggle {
  display: none !important;
}

body.mf-page-shell main .mf-compact-board__body,
body.mf-page-shell main .mf-compact-board__body[hidden] {
  display: block !important;
}

body.mf-page-shell main .mf-compact-board,
body.mf-page-shell main .mf-compact-board.is-collapsed,
body.mf-page-shell main .mf-compact-board.is-open {
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding-top: clamp(.7rem, 1.4vw, 1.25rem) !important;
}

body.mf-page-shell :where(.mf-daily-hero, .mf-kit-hero, .stl-city-hero, .mf-worldcup-hero, .mf-afcon-hero, .mf-diaspora-hero, .mf-player-directory-hero, .mf-unified-hero) {
  min-height: auto !important;
  padding-top: clamp(1.1rem, 3vw, 2.25rem) !important;
  padding-bottom: clamp(1rem, 2.4vw, 1.8rem) !important;
}

body.mf-page-shell :where(.mf-hero-title-streamlined, .stl-heading, .mf-daily-hero h1, .mf-kit-hero h1, .mf-worldcup-hero h1, .mf-afcon-hero h1) {
  font-size: clamp(1.7rem, 4vw, 3.6rem) !important;
  line-height: .98 !important;
  letter-spacing: 0 !important;
  max-width: 14ch;
}

body.mf-page-shell :where(.stl-muted, .mf-section-intro, p) {
  text-wrap: pretty;
}

.mf-review-band {
  padding-block: clamp(1rem, 2vw, 1.75rem);
}

.mf-today-stl {
  border: 1px solid var(--mf-review-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(245, 200, 66, .09), transparent 28%),
    linear-gradient(180deg, var(--mf-review-panel-strong), rgba(2, 8, 5, .96));
  box-shadow: 0 22px 58px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.mf-today-stl__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border-bottom: 1px solid rgba(245, 200, 66, .22);
}

.mf-today-stl__head h2 {
  margin: .12rem 0 0;
  color: #fff;
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: clamp(1.25rem, 2.7vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.mf-today-stl__head p {
  margin: .35rem 0 0;
  color: rgba(235, 244, 231, .72);
  max-width: 68ch;
}

.mf-today-stl__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: clamp(.9rem, 2vw, 1.25rem);
}

.mf-today-stl__card {
  min-height: 145px;
  display: grid;
  align-content: space-between;
  gap: .75rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(245, 200, 66, .2);
  border-radius: 16px;
  background: rgba(9, 28, 19, .82);
  padding: .95rem;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mf-today-stl__card:hover,
.mf-today-stl__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 53, .72);
  background: rgba(14, 44, 30, .95);
}

.mf-today-stl__card span {
  color: var(--mf-review-gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mf-today-stl__card strong {
  display: block;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.08;
}

.mf-today-stl__card small {
  color: rgba(235, 244, 231, .7);
  line-height: 1.35;
}

.mf-today-stl__card--accent {
  background:
    linear-gradient(135deg, rgba(255, 215, 53, .2), transparent 55%),
    rgba(12, 36, 27, .96);
}

.mf-today-stl__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0 clamp(.9rem, 2vw, 1.25rem) clamp(.9rem, 2vw, 1.25rem);
}

.mf-review-lanes,
.mf-worldcup-pillars,
.mf-editorial-franchise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.mf-review-lane,
.mf-worldcup-pillar,
.mf-editorial-franchise-card {
  border: 1px solid rgba(245, 200, 66, .22);
  border-radius: 16px;
  background: rgba(8, 24, 17, .86);
  padding: .95rem;
  color: inherit;
  text-decoration: none;
  min-height: 128px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.mf-review-lane:hover,
.mf-review-lane:focus-visible,
.mf-worldcup-pillar:hover,
.mf-worldcup-pillar:focus-visible,
.mf-editorial-franchise-card:hover,
.mf-editorial-franchise-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 53, .7);
  background: rgba(12, 39, 28, .96);
}

.mf-review-lane span,
.mf-worldcup-pillar span,
.mf-editorial-franchise-card span {
  color: var(--mf-review-gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mf-review-lane strong,
.mf-worldcup-pillar strong,
.mf-editorial-franchise-card strong {
  display: block;
  margin-top: .35rem;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.1;
}

.mf-review-lane small,
.mf-worldcup-pillar small,
.mf-editorial-franchise-card small {
  display: block;
  margin-top: .45rem;
  color: rgba(235, 244, 231, .72);
  line-height: 1.38;
}

.mf-worldcup-pillar:nth-child(3n + 1),
.mf-editorial-franchise-card:nth-child(4n + 1) {
  border-left: 4px solid var(--mf-review-green);
}

.mf-worldcup-pillar:nth-child(3n + 2),
.mf-editorial-franchise-card:nth-child(4n + 2) {
  border-left: 4px solid var(--mf-review-gold);
}

.mf-worldcup-pillar:nth-child(3n + 3),
.mf-editorial-franchise-card:nth-child(4n + 3) {
  border-left: 4px solid var(--mf-review-red);
}

body.mf-transfer-radar-page .mf-transfer-photo--pending,
body.mf-transfer-radar-page .mf-transfer-featured__country-panel--pending,
body.mf-transfer-radar-page .mf-transfer-featured__country-panel {
  background:
    linear-gradient(135deg, rgba(245, 200, 66, .24), transparent),
    rgba(9, 28, 19, .92);
  border: 1px solid rgba(245, 200, 66, .34);
}

body.mf-transfer-radar-page .mf-transfer-table th:nth-child(6),
body.mf-transfer-radar-page .mf-transfer-table td:nth-child(6) {
  width: 8rem;
}

body.mf-city-radar-page [data-city-radar-native] {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.mf-city-radar-page [data-city-radar-native] > * {
  min-height: 190px;
}

body.mf-city-radar-page .mf-home-spotlight-card {
  overflow-wrap: anywhere;
}

.mf-finish-polish-ready .mf-podcast-source-count:empty,
.mf-finish-polish-ready .stl-record-val:empty {
  display: none !important;
}

.mf-youth-pathway-guide .mf-polish-hero__grid,
.mf-citysc-polish-page .mf-polish-hero__grid {
  align-items: stretch;
}

.mf-youth-pathway-guide .mf-youth-pathway-cards,
.mf-youth-pathway-guide .mf-youth-next-grid,
.mf-youth-pathway-guide .mf-youth-guide-grid,
.mf-citysc-polish-page .mf-citysc-snapshot-grid,
.mf-citysc-polish-page .mf-citysc-coverage-grid,
.mf-watch-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.mf-youth-pathway-guide .mf-youth-next-grid,
.mf-citysc-polish-page .mf-citysc-snapshot-grid,
.mf-watch-flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mf-youth-card,
.mf-youth-step,
.mf-youth-guide,
.mf-citysc-card,
.mf-citysc-link-card,
.mf-watch-flow-card,
.mf-polish-note-card {
  border: 1px solid rgba(245, 200, 66, .24);
  border-radius: 16px;
  background: rgba(8, 24, 17, .86);
  color: #fff;
  padding: clamp(.9rem, 1.8vw, 1.2rem);
  min-height: 120px;
}

.mf-youth-card span,
.mf-youth-step span,
.mf-youth-guide span,
.mf-citysc-card span,
.mf-citysc-link-card span,
.mf-watch-flow-card span,
.mf-polish-note-card span {
  color: var(--mf-review-gold);
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mf-youth-card h3,
.mf-youth-step h3,
.mf-youth-guide h3,
.mf-citysc-card h3,
.mf-citysc-link-card h3,
.mf-watch-flow-card h3,
.mf-polish-note-card h3 {
  margin: .45rem 0 .35rem;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.08;
}

.mf-youth-watch,
.mf-citysc-fallback {
  border: 1px solid rgba(33, 209, 122, .34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(33, 209, 122, .12), transparent 42%),
    rgba(8, 24, 17, .9);
  padding: clamp(1rem, 2.2vw, 1.45rem);
}

.mf-citysc-link-grid,
.mf-youth-submit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.mf-match-polish-hero .mf-polish-hero__grid,
.mf-match-polish-hero .mf-match-utility,
.mf-match-polish-hero .mf-match-utility__grid,
.mf-match-polish-hero .mf-match-feature-card,
.mf-match-polish-hero .mf-match-tile {
  min-width: 0;
}

.mf-match-polish-hero .mf-match-feature-card,
.mf-match-polish-hero .mf-match-tile,
.mf-match-polish-hero .mf-polish-hero__copy {
  overflow-wrap: anywhere;
}

.mf-match-polish-hero .mf-unified-hero-title {
  font-size: clamp(1.65rem, 4vw, 3.1rem) !important;
}

.mf-media-page .mf-watch-flow-grid {
  margin-top: 1rem;
}

@media (max-width: 1100px) {
  .mf-today-stl__grid,
  .mf-review-lanes,
  .mf-worldcup-pillars,
  .mf-editorial-franchise-grid,
  .mf-youth-pathway-guide .mf-youth-pathway-cards,
  .mf-youth-pathway-guide .mf-youth-next-grid,
  .mf-youth-pathway-guide .mf-youth-guide-grid,
  .mf-citysc-polish-page .mf-citysc-snapshot-grid,
  .mf-citysc-polish-page .mf-citysc-coverage-grid,
  .mf-watch-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.mf-page-shell :where(.mf-daily-hero, .mf-kit-hero, .stl-city-hero, .mf-worldcup-hero, .mf-afcon-hero, .mf-diaspora-hero, .mf-player-directory-hero, .mf-unified-hero) {
    padding-top: .95rem !important;
    padding-bottom: .85rem !important;
  }

  body.mf-page-shell :where(.mf-hero-title-streamlined, .stl-heading, .mf-daily-hero h1, .mf-kit-hero h1, .mf-worldcup-hero h1, .mf-afcon-hero h1) {
    font-size: clamp(1.55rem, 9vw, 2.35rem) !important;
    max-width: 11ch;
  }

  .mf-today-stl__head {
    align-items: start;
    flex-direction: column;
  }

  .mf-today-stl__grid,
  .mf-review-lanes,
  .mf-worldcup-pillars,
  .mf-editorial-franchise-grid,
  body.mf-city-radar-page [data-city-radar-native],
  .mf-youth-pathway-guide .mf-youth-pathway-cards,
  .mf-youth-pathway-guide .mf-youth-next-grid,
  .mf-youth-pathway-guide .mf-youth-guide-grid,
  .mf-citysc-polish-page .mf-citysc-snapshot-grid,
  .mf-citysc-polish-page .mf-citysc-coverage-grid,
  .mf-watch-flow-grid,
  .mf-match-polish-hero .mf-polish-hero__grid,
  .mf-match-polish-hero .mf-match-utility__grid {
    grid-template-columns: 1fr !important;
  }

  .mf-today-stl__card,
  .mf-review-lane,
  .mf-worldcup-pillar,
  .mf-editorial-franchise-card {
    min-height: 112px;
  }

  .mf-match-polish-hero .mf-match-utility,
  .mf-match-polish-hero .mf-match-feature-card,
  .mf-match-polish-hero .mf-match-tile {
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mf-today-stl__card,
  .mf-review-lane,
  .mf-worldcup-pillar,
  .mf-editorial-franchise-card {
    transition: none;
  }
}

/* Release gate: keep compact footer visuals while giving every desktop action
   a full 44px pointer and keyboard target. */
@media (min-width: 821px) {
  body .site-footer .site-socials > a {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px !important;
  }

  body .site-footer__nav a,
  body .site-footer__bottom a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding-block: 10px !important;
  }
}

/* 2026-06-23 public polish: touch targets, shorter mobile routes, cleaner media scan. */
body.mf-page-shell :where(
  .stl-btn,
  .site-button,
  .site-nav__link,
  .site-nav__toggle,
  .site-header__cta,
  .site-theme-toggle,
  .site-drawer a,
  .site-drawer button,
  .site-socials a,
  .mf-chip,
  .platform-pill,
  .mf-platform-rail a,
  .mf-matchday-tabs button,
  .mf-matchday-card-actions a,
  .mf-watch-flow-card,
  .mf-home-quicklinks a,
  .stl-directory-tabs button,
  .stl-directory-lanes button,
  .mf-diaspora-filter-chips button,
  .mf-diaspora-country-button,
  .mf-podcast-source-filters button,
  .filter-btn
) {
  min-height: 44px;
}

body.mf-page-shell :where(.stl-btn, .site-button, .site-header__cta, .site-theme-toggle, .filter-btn) {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

body.mf-page-shell :where(.site-nav__link, .site-nav__toggle) {
  align-items: center;
}

body.mf-page-shell {
  overflow-x: clip;
}

body.mf-page-shell :where(.stl-btn, .site-button, .filter-btn, .platform-pill, .mf-chip, .site-nav__link) {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

body.mf-page-shell :where(.mf-chip-row, .mf-page-actions, .mf-hero-chip-row, .mf-daily-actions, .stl-directory-lanes, .stl-directory-tabs, .mf-diaspora-filter-chips) {
  max-width: 100%;
}

body.mf-podcast-page :where(.mf-studio-section, .mf-podcast-image-strip),
body.mf-media-page .mf-watch-flow-card:nth-child(n+7) {
  display: none !important;
}

body.mf-media-page .mf-watch-flow-card p,
body.mf-podcast-page :where(.mf-podcast-card p, .mf-podcast-route-card p, .mf-podcast-feature p),
body.mf-system-stl :where(.mf-today-stl__card small, .mf-review-lane small, .mf-home-spotlight-card p),
body.mf-diaspora-page :where(.mf-diaspora-story-card p, .mf-diaspora-route-card p, .mf-diaspora-player-card p) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body.mf-match-center-main .mf-player-directory-hero .stl-heading,
body.mf-system-match .mf-editorial-hero .stl-heading {
  max-width: 16ch;
}

body.mf-match-center-main .mc-section-head {
  align-items: start;
}

body.mf-match-center-main .mc-board-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.mf-system-stl :where(.stl-section, .mf-review-band),
  body.mf-stl-directory-page :where(.stl-section, .mf-review-band),
  body.mf-city-radar-page :where(.stl-section, .mf-review-band),
  body.mf-diaspora-page :where(.stl-section, .mf-review-band),
  body.mf-media-page :where(.stl-section, .mf-review-band) {
    padding-block: .72rem !important;
  }

  body.mf-system-stl :where(.stl-container, .mf-daily-grid, .mf-home-spotlight-grid),
  body.mf-stl-directory-page :where(.stl-container, .stl-directory-grid),
  body.mf-city-radar-page :where(.stl-container),
  body.mf-diaspora-page :where(.stl-container),
  body.mf-media-page :where(.stl-container) {
    gap: .62rem !important;
  }

  body.mf-system-stl :where(.mf-today-stl__card, .mf-review-lane, .mf-home-spotlight-card, .stl-card),
  body.mf-stl-directory-page :where(.stl-directory-card, .stl-directory-detail, .stl-card),
  body.mf-city-radar-page :where(.mf-home-spotlight-card, .mf-review-lane, .stl-card),
  body.mf-diaspora-page :where(.mf-diaspora-player-card, .mf-diaspora-route-card, .mf-diaspora-story-card, .mf-diaspora-fixture-card, .stl-card),
  body.mf-media-page :where(.mf-watch-flow-card, .mf-media-platform-card, .stl-card) {
    min-height: 0 !important;
    padding: .72rem !important;
  }

  body.mf-system-stl :where(.mf-today-stl__card small, .mf-review-lane small, .mf-home-spotlight-card p),
  body.mf-stl-directory-page :where(.stl-directory-card p, .stl-directory-detail p),
  body.mf-city-radar-page :where(.mf-home-spotlight-card p, .mf-review-lane small),
  body.mf-diaspora-page :where(.mf-diaspora-story-card p, .mf-diaspora-route-card p, .mf-diaspora-player-card p),
  body.mf-media-page :where(.mf-watch-flow-card p, .mf-hub-proof-card strong) {
    -webkit-line-clamp: 2;
  }

  body.mf-page-shell :where(.site-drawer a, .site-drawer button, .stl-btn, .site-button, .site-header__cta, .site-theme-toggle, .filter-btn) {
    min-height: 46px;
  }
}

/* 2026-07-11 10/10 polish sprint: clearer CTAs, mobile drawer, media fallbacks, no mobile dead scroll. */
html.site-drawer-open {
  overflow: hidden;
}

.site-drawer[aria-hidden="false"] {
  visibility: visible;
}

.site-backdrop.is-open {
  backdrop-filter: blur(6px);
}

.site-drawer a:focus-visible,
.site-drawer button:focus-visible,
.site-nav__menu-button:focus-visible {
  outline: 3px solid #c8f230;
  outline-offset: 3px;
}

body.mf-system-home .mf-v22-button--primary,
body.mf-system-home .mf-v22-button--primary:visited {
  border-color: rgba(200, 242, 48, .86) !important;
  background: linear-gradient(135deg, #ffd84a 0%, #c8f230 100%) !important;
  color: #061009 !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 0 0 1px rgba(200, 242, 48, .18), 0 12px 30px rgba(200, 242, 48, .16) !important;
}

body.mf-system-home .mf-v22-button--primary :where(span, strong, small),
body.mf-system-home .mf-v22-button--primary img {
  color: #061009 !important;
  opacity: 1 !important;
  filter: none !important;
}

body.mf-system-home .mf-v22-button--primary:hover,
body.mf-system-home .mf-v22-button--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(200, 242, 48, .35), 0 16px 38px rgba(200, 242, 48, .24) !important;
}

body.mf-page-shell main :where(.stl-btn, .site-button, .mf-v22-button, .mf-v44-card a, .mf-match-tile a, .mf-tracker-link-card a) {
  text-wrap: balance;
}

body.mf-page-shell :where(.stl-eyebrow, .mf-daily-meta, .mf-media-card__meta, .mc-meta, .mc-badge, .site-footer__nav h2, .site-footer__nav h3, .mf-mini-note, small) {
  letter-spacing: min(.11em, .08rem);
}

body.mf-diaspora-page {
  overflow-x: clip !important;
}

body.mf-diaspora-page main#main-content :where(.mf-diaspora-fix-hero__copy, .mf-diaspora-fix-hero__panel, .mf-diaspora-control-deck, .mf-diaspora-tabs, .mf-diaspora-stat-grid, .mf-diaspora-quick-rail) {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 760px) {
  body.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel .mf-diaspora-stat-grid,
  body.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck .mf-diaspora-stat-grid,
  body.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck .mf-diaspora-quick-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }

  body.mf-diaspora-page main#main-content .mf-diaspora-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }

  body.mf-diaspora-page main#main-content .mf-diaspora-tabs a,
  body.mf-diaspora-page main#main-content .mf-diaspora-stat-grid article {
    width: auto !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px) {
  body.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel .mf-diaspora-stat-grid,
  body.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck .mf-diaspora-stat-grid,
  body.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck .mf-diaspora-quick-rail,
  body.mf-diaspora-page main#main-content .mf-diaspora-tabs {
    grid-template-columns: 1fr !important;
  }
}

.mf-polish-media-fallback {
  position: relative;
  min-height: 8rem;
  display: grid !important;
  place-items: center;
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 216, 74, .16), transparent 36%),
    radial-gradient(circle at 78% 68%, rgba(31, 203, 116, .14), transparent 34%),
    linear-gradient(135deg, rgba(7, 24, 18, .96), rgba(4, 10, 8, .98)) !important;
}

.mf-polish-media-fallback__mark {
  display: inline-grid;
  place-items: center;
  gap: .45rem;
  color: #f7fbff;
  font-family: var(--f-heading, sans-serif);
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  text-align: center;
}

.mf-polish-media-fallback__mark img {
  width: 3.2rem !important;
  height: 3.2rem !important;
  object-fit: contain !important;
  opacity: .92;
}

.mf-polish-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .8rem;
}

.mf-polish-trust-row span {
  flex: 1 1 14rem;
  border: 1px solid rgba(245, 200, 66, .18);
  border-radius: 999px;
  padding: .5rem .68rem;
  background: rgba(255, 255, 255, .045);
  color: rgba(244, 247, 251, .82);
  font-size: .78rem;
  line-height: 1.25;
}

.mf-polish-freshness {
  position: absolute;
  z-index: 3;
  right: clamp(.75rem, 3vw, 2rem);
  top: clamp(.65rem, 2vw, 1.3rem);
  display: inline-grid;
  gap: .12rem;
  max-width: min(15rem, calc(100% - 1.5rem));
  border: 1px solid rgba(200, 242, 48, .28);
  border-radius: 999px;
  padding: .42rem .68rem;
  background: linear-gradient(135deg, rgba(6, 18, 12, .92), rgba(12, 30, 18, .84));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  color: #f7fbff;
  pointer-events: none;
}

body.mf-page-shell main > section:first-child {
  position: relative;
}

.mf-polish-freshness span,
.mf-polish-freshness strong {
  display: block;
  font-family: var(--f-mono, monospace);
  line-height: 1.05;
  text-transform: uppercase;
}

.mf-polish-freshness span {
  color: #c8f230;
  font-size: .58rem;
  letter-spacing: .08em;
}

.mf-polish-freshness strong {
  color: rgba(244, 247, 251, .78);
  font-size: .52rem;
  letter-spacing: .04em;
}

.mf-polish-start-action,
.mf-polish-start-target {
  position: relative;
}

.mf-polish-start-action::before,
.mf-polish-start-target::before {
  content: attr(data-mf-start-label);
  position: absolute;
  z-index: 4;
  left: .65rem;
  top: -.72rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.25rem;
  border: 1px solid rgba(200, 242, 48, .38);
  border-radius: 999px;
  padding: .18rem .46rem;
  background: #c8f230;
  color: #061009;
  font-family: var(--f-mono, monospace);
  font-size: .54rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.mf-polish-filter-feedback {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mf-polish-ticker-toggle {
  display: none;
}

.mf-polish-loading-state {
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 242, 48, .2) !important;
}

.mf-polish-loading-state::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(200, 242, 48, .08), transparent);
  transform: translateX(-100%);
  animation: mf-polish-loading-sheen 1.35s ease-in-out infinite;
}

.mf-polish-empty-state {
  border: 1px solid rgba(245, 200, 66, .18) !important;
  border-radius: 16px;
  padding: .75rem .9rem;
  background: rgba(255, 255, 255, .035);
  color: rgba(244, 247, 251, .78);
}

.mf-polish-external-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .42rem;
  height: .42rem;
  min-width: .42rem;
  min-height: .42rem;
  margin-left: .28rem;
  border: 0;
  border-radius: 999px;
  background: #c8f230;
  box-shadow: 0 0 0 2px rgba(200, 242, 48, .12);
  color: transparent;
  font-size: 0;
  line-height: 1;
  vertical-align: middle;
}

a[data-mf-external-polished] {
  position: relative;
}

.stl-btn .mf-polish-external-mark,
.site-button .mf-polish-external-mark,
.mf-v44-card a .mf-polish-external-mark {
  position: absolute;
  right: .42rem;
  top: .42rem;
  margin-left: 0;
}

.mf-polish-back-top {
  position: fixed;
  z-index: 80;
  right: clamp(.8rem, 2vw, 1.35rem);
  bottom: clamp(.8rem, 2vw, 1.35rem);
  min-height: 2.75rem;
  min-width: 2.75rem;
  border: 1px solid rgba(200, 242, 48, .42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 18, 12, .95), rgba(12, 34, 20, .95));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .36);
  color: #c8f230;
  cursor: pointer;
  font-family: var(--f-mono, monospace);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(.6rem);
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}

.mf-polish-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mf-polish-back-top:hover,
.mf-polish-back-top:focus-visible {
  border-color: rgba(200, 242, 48, .82);
  outline: none;
}

.mf-polish-podcast-intro {
  border-bottom: 1px solid rgba(245, 200, 66, .16);
  background:
    radial-gradient(circle at 18% 22%, rgba(200, 242, 48, .12), transparent 34%),
    linear-gradient(135deg, rgba(6, 18, 12, .94), rgba(8, 22, 18, .9));
  padding-block: clamp(1rem, 2.2vw, 1.45rem);
}

.mf-polish-podcast-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.mf-polish-podcast-intro h1 {
  margin: .18rem 0 .35rem;
  max-width: 20ch;
  color: #fff;
  font-size: clamp(1.65rem, 3.2vw, 2.85rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.mf-polish-podcast-intro p {
  margin: 0;
  max-width: 68ch;
  color: rgba(244, 247, 251, .78);
}

.mf-polish-podcast-intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
}

body.mf-podcast-page .mf-podcast-source-board {
  margin-top: .85rem;
}

body.mf-podcast-page .mf-podcast-source-board__head {
  padding-block: .85rem !important;
}

body.mf-podcast-page .mf-podcast-source-board__head h2 {
  max-width: 28ch;
  font-size: clamp(1.2rem, 2vw, 1.9rem) !important;
  line-height: 1.05 !important;
}

.mf-polish-contributor-primer {
  display: grid;
  gap: .42rem;
  margin: 0 0 .9rem;
  border: 1px solid rgba(200, 242, 48, .24);
  border-radius: 18px;
  padding: clamp(.85rem, 1.8vw, 1.15rem);
  background:
    linear-gradient(135deg, rgba(200, 242, 48, .1), transparent 42%),
    rgba(7, 22, 15, .9);
}

.mf-polish-contributor-primer span {
  color: #c8f230;
  font-family: var(--f-mono, monospace);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mf-polish-contributor-primer strong {
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.08;
}

.mf-polish-contributor-primer p {
  margin: 0;
  max-width: 72ch;
  color: rgba(244, 247, 251, .76);
}

.mf-polish-contributor-primer div {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .25rem;
}

.mf-polish-contributor-primer a {
  border: 1px solid rgba(245, 200, 66, .22);
  border-radius: 999px;
  padding: .44rem .68rem;
  color: #f5c842;
  font-family: var(--f-mono, monospace);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.mf-polish-removed-social-toast {
  display: none !important;
}

body.mf-article-page .mf-article-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem);
  gap: clamp(1rem, 2.4vw, 1.65rem);
}

body.mf-article-page .mf-article-detail--story {
  max-width: 50rem;
  border: 1px solid rgba(245, 200, 66, .16);
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 200, 66, .08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 242, .055), rgba(255, 255, 255, .024));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

body.mf-article-page .mf-article-main-img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
}

body.mf-article-page .mf-article-copy {
  max-width: 66ch;
  margin-inline: auto;
  color: rgba(255, 252, 236, .92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.45vw, 1.28rem);
  line-height: 1.82;
  letter-spacing: .003em;
}

body.mf-article-page .mf-article-copy p {
  margin: 0 0 1.3em;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.mf-article-page .mf-article-copy p:first-child {
  color: rgba(255, 252, 236, .96);
  font-size: clamp(1.22rem, 1.65vw, 1.42rem) !important;
  line-height: 1.72 !important;
}

body.mf-article-page .mf-article-copy :where(h2, h3) {
  margin: 1.65em 0 .55em;
  color: #fff;
  font-family: var(--f-heading, "Archivo Black", sans-serif);
  line-height: 1.04;
}

body.mf-article-page .mf-article-copy a {
  color: #f5c842;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

body.mf-article-page .mf-article-tags {
  max-width: 66ch;
  margin-inline: auto;
}

body.mf-article-page .mf-article-sidebar {
  font-size: .92rem;
}

body.mf-diaspora-page .mf-diaspora-fix-hero {
  display: block !important;
  min-height: auto !important;
  align-items: center !important;
  padding-top: clamp(1rem, 2.4vw, 1.65rem) !important;
  padding-bottom: clamp(.9rem, 2vw, 1.35rem) !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero {
  min-height: 0 !important;
}

body.mf-diaspora-page .mf-diaspora-fix-hero__grid {
  grid-template-columns: minmax(0, .96fr) minmax(18rem, .54fr) !important;
  gap: clamp(.9rem, 1.8vw, 1.35rem) !important;
  align-items: start !important;
}

body.mf-diaspora-page .mf-diaspora-fix-hero__copy {
  display: grid;
  align-self: start !important;
  align-content: start !important;
  gap: .55rem;
  height: auto !important;
  padding: 0 !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__grid {
  align-items: start !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__copy,
html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  padding: .65rem !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__copy {
  padding-left: 0 !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__copy h1 {
  max-width: 13.5ch !important;
  font-size: clamp(2.35rem, 4.35vw, 4.35rem) !important;
  line-height: .88 !important;
}

body.mf-diaspora-page .mf-diaspora-fix-hero__copy h1 {
  margin: .25rem 0 .3rem !important;
  max-width: 9.5ch !important;
  font-size: clamp(2.45rem, 4.9vw, 4.85rem) !important;
  line-height: .86 !important;
}

body.mf-diaspora-page .mf-diaspora-fix-hero__copy p {
  max-width: 62ch !important;
  font-size: clamp(.95rem, 1.25vw, 1.08rem) !important;
  line-height: 1.38 !important;
}

body.mf-diaspora-page .mf-diaspora-actions {
  margin-top: .55rem !important;
  gap: .45rem !important;
}

body.mf-diaspora-page .mf-diaspora-fix-hero__panel {
  padding: clamp(.8rem, 1.4vw, 1.1rem) !important;
}

body.mf-diaspora-page .mf-diaspora-stat-grid {
  margin-top: .65rem !important;
  gap: .45rem !important;
}

body.mf-diaspora-page .mf-diaspora-stat-grid article {
  padding: .62rem !important;
}

body.mf-diaspora-page .mf-diaspora-stat-grid strong {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem) !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel .mf-diaspora-stat-grid {
  gap: .45rem !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel .mf-diaspora-stat-grid a {
  min-height: 4.35rem !important;
  align-content: center !important;
  gap: .12rem !important;
  padding: .55rem .62rem !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel .mf-diaspora-stat-grid strong {
  font-size: clamp(1rem, 1.45vw, 1.32rem) !important;
  line-height: .92 !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel .mf-diaspora-stat-grid small {
  display: none !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__panel .mf-diaspora-stat-grid span {
  font-size: .68rem !important;
  line-height: 1.05 !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-hero-media {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .45rem !important;
  margin-top: .45rem !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-hero-media a {
  min-height: 3.8rem !important;
  padding: .48rem !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-hero-media span {
  font-size: .54rem !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-hero-media strong {
  font-size: .72rem !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-hero-status {
  gap: .35rem !important;
  margin-top: .45rem !important;
}

html body.mf-diaspora-page main#main-content .mf-diaspora-hero-status span {
  padding: .28rem .45rem !important;
  font-size: .58rem !important;
}

body.mf-diaspora-page .mf-diaspora-tabs {
  padding: .45rem !important;
  gap: .45rem !important;
}

body.mf-diaspora-page .mf-diaspora-tabs a {
  min-height: 2.35rem !important;
  padding: .48rem .72rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-command {
  padding: clamp(.85rem, 1.6vw, 1.25rem) !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-main {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-overview-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .36fr);
  gap: .75rem;
  align-items: stretch;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-automation-panel {
  max-width: none;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-agent-stack {
  display: grid;
  gap: .5rem;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-agent-stack article {
  padding: .62rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-source-list {
  margin-top: .6rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower {
  width: min(100%, 94rem) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .8rem !important;
  align-items: stretch !important;
}

body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-hub-lower {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel,
body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel,
body.mf-diaspora-overview-page main#main-content .mf-diaspora-hub-lower > .mf-diaspora-hub-panel {
  grid-column: 1 / -1 !important;
  max-width: none !important;
  width: 100%;
  padding: clamp(.85rem, 1.6vw, 1.2rem) !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(5, 27, 31, .96), rgba(7, 49, 58, .9)),
    radial-gradient(circle at 86% 28%, rgba(53, 212, 135, .18), transparent 34%) !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .7rem;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-panel-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)) !important;
  gap: .72rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-card {
  min-height: 0 !important;
  padding: .85rem !important;
  border-color: rgba(245, 200, 66, .26) !important;
  background:
    linear-gradient(180deg, rgba(3, 17, 19, .72), rgba(3, 12, 14, .95)),
    rgba(255, 255, 255, .045) !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-card:hover,
body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(53, 212, 135, .7) !important;
  background:
    linear-gradient(180deg, rgba(6, 42, 43, .82), rgba(3, 13, 14, .98)),
    rgba(255, 255, 255, .06) !important;
}

body.mf-world-cup-page #wc2026-knockout :where(.mf-wc-selected-slot, .mf-wc-slot-detail, [class*="selected"]) {
  min-height: 0 !important;
}

body.mf-world-cup-page #wc2026-knockout :where(.mf-wc-selected-slot, .mf-wc-slot-detail, [class*="selected"]) :where(p, small) {
  max-width: 42ch;
  line-height: 1.28;
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-board__head {
  gap: clamp(.8rem, 2vw, 1.35rem);
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-board__head h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: .92;
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-status,
body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-detail {
  border-color: rgba(245, 200, 66, .34);
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 200, 66, .14), transparent 34%),
    linear-gradient(135deg, rgba(5, 27, 19, .94), rgba(2, 13, 11, .9));
  box-shadow: 0 14px 40px rgba(0, 0, 0, .24);
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-detail {
  align-self: stretch;
  padding: clamp(.8rem, 1.5vw, 1rem);
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-detail__teams {
  gap: .45rem;
  padding: .68rem;
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-detail__teams b {
  font-size: clamp(.95rem, 1.3vw, 1.12rem);
  line-height: 1.05;
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-match {
  position: relative;
  isolation: isolate;
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-match::after {
  content: "";
  position: absolute;
  inset: .45rem;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(245, 200, 66, .16), transparent);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity .22s ease, transform .22s ease;
}

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-match:hover::after,
body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-match.is-selected::after {
  opacity: 1;
  transform: translateX(0);
}

@keyframes mf-polish-loading-sheen {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 760px) {
  .mf-polish-freshness {
    position: static;
    margin: .45rem .75rem 0;
    width: fit-content;
  }

  .mf-score-ribbon {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .35rem;
    max-height: none !important;
    min-height: 2.65rem;
    padding-right: .35rem;
  }

  .mf-polish-ticker-toggle {
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 200, 66, .3);
    border-radius: 999px;
    padding: .35rem .58rem;
    background: rgba(255, 255, 255, .045);
    color: #f5c842;
    font-family: var(--f-mono, monospace);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .mf-score-ribbon.mf-polish-ticker-collapsed [data-top-events-rail] {
    display: none !important;
  }

  .mf-score-ribbon.mf-polish-ticker-open {
    grid-template-columns: auto 1fr;
  }

  .mf-score-ribbon.mf-polish-ticker-open [data-top-events-rail] {
    grid-column: 1 / -1;
    display: block !important;
    max-width: 100%;
    overflow-x: auto;
  }

  .mf-score-ribbon__utility {
    justify-self: end;
  }

  .mf-polish-start-action::before,
  .mf-polish-start-target::before {
    top: -.62rem;
    left: .55rem;
    font-size: .5rem;
  }

  .mf-polish-back-top {
    right: .75rem;
    bottom: .75rem;
    min-height: 2.55rem;
    min-width: 2.55rem;
  }

  body.mf-system-home :where(.mf-v22-hero, .mf-daily-hero) {
    padding-top: .7rem !important;
    padding-bottom: .65rem !important;
  }

  body.mf-system-home .mf-v22-hero__grid {
    gap: .72rem !important;
    padding-top: .85rem !important;
    padding-bottom: .85rem !important;
  }

  body.mf-system-home :where(.mf-v22-hero__copy, .mf-v22-hero__links, .mf-v22-quick-hubs) {
    gap: .55rem !important;
  }

  body.mf-system-home :where(.mf-v22-hero h1, .mf-daily-hero h1, #home-hero-title) {
    font-size: clamp(1.85rem, 8.2vw, 2.42rem) !important;
    line-height: .95 !important;
  }

  body.mf-system-home .mf-v22-hero__lede {
    display: -webkit-box;
    max-width: 100% !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: .92rem !important;
    line-height: 1.22 !important;
  }

  body.mf-system-home .mf-v22-hero-kicker {
    max-width: 100%;
    font-size: .58rem !important;
  }

  body.mf-system-home .mf-v22-now-line {
    min-height: 0 !important;
    padding: .58rem !important;
    gap: .25rem !important;
  }

  body.mf-system-home .mf-v22-now-line strong {
    font-size: .86rem !important;
    line-height: 1.08 !important;
  }

  body.mf-system-home .mf-v22-now-line small {
    display: none !important;
  }

  body.mf-system-home :where(.mf-v22-card, .mf-v22-link, .mf-v22-tool, .mf-v22-lane, .mf-v22-actions a, .mf-v22-button) {
    min-height: 0 !important;
    padding-block: .58rem !important;
  }

  body.mf-system-home :where(.mf-v22-grid, .mf-v22-actions, .mf-v22-tool-grid, .mf-v22-lane-grid, .mf-v22-quick-grid) {
    gap: .5rem !important;
  }

  body.mf-system-home .mf-v22-hero .mf-v22-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  body.mf-system-home .mf-v22-hero .mf-v22-actions .mf-v22-button--primary {
    grid-column: 1 / -1;
  }

  body.mf-system-home .mf-v22-hero .mf-v22-actions :where(.mf-v22-button, .mf-v22-text-link) {
    width: 100% !important;
    min-height: 2.55rem !important;
  }

  body.mf-system-home :where(.mf-v22-league-doors, .mf-v22-quick-routes) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: .5rem !important;
    max-height: 3.45rem;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: .2rem;
    scroll-snap-type: x mandatory;
  }

  body.mf-system-home :where(.mf-v22-league-doors, .mf-v22-quick-routes) > a {
    flex: 0 0 min(62%, 13rem) !important;
    min-height: 2.85rem !important;
    max-height: 3.05rem;
    overflow: hidden;
    padding: .48rem .55rem !important;
    scroll-snap-align: start;
  }

  body.mf-system-home :where(.mf-v22-league-doors, .mf-v22-quick-routes) > a strong {
    font-size: .82rem !important;
    line-height: 1.04 !important;
  }

  body.mf-system-home .mf-v22-league-doors a :where(small, p),
  body.mf-system-home .mf-v22-quick-routes a :where(small, p) {
    display: none !important;
  }

  .mf-polish-podcast-intro__inner {
    grid-template-columns: 1fr;
  }

  .mf-polish-podcast-intro__actions {
    justify-content: flex-start;
  }

  .mf-polish-podcast-intro h1 {
    font-size: clamp(1.6rem, 8vw, 2.25rem);
  }

  body.mf-contributor-page :where(.mf-contributor-hero, #portal) {
    padding-top: .8rem !important;
  }

  body.mf-contributor-page #contributor-process {
    padding-block: .8rem !important;
  }

  body.mf-contributor-page #contributor-process .stl-section-header-row {
    margin-bottom: .65rem !important;
  }

  body.mf-contributor-page #contributor-process .stl-section-header-row p,
  body.mf-contributor-page #contributor-process .mf-contributor-process-flow p,
  body.mf-contributor-page #contributor-process .mf-contributor-process-steps p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.mf-contributor-page #contributor-process .mf-contributor-process-brand {
    padding: .58rem !important;
  }

  body.mf-contributor-page #contributor-process .mf-contributor-process-brand img {
    width: 2.4rem !important;
    height: 2.4rem !important;
  }

  body.mf-contributor-page #contributor-process :where(.mf-contributor-process-graph, .mf-contributor-process-flow) {
    max-height: 11.5rem;
    overflow-y: auto;
    padding-right: .25rem;
  }

  body.mf-contributor-page #contributor-process .mf-contributor-process-steps {
    max-height: 7.8rem;
    overflow-y: auto;
    padding-right: .25rem;
  }

  body.mf-contributor-page #contributor-process :where(.mf-contributor-process-flow li, .mf-contributor-process-steps article) {
    min-height: 0 !important;
    padding: .58rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero {
    padding-top: .85rem !important;
    padding-bottom: .9rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero__grid {
    grid-template-columns: 1fr !important;
    gap: .7rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero__copy h1 {
    max-width: 9.8ch !important;
    font-size: clamp(2.05rem, 13vw, 3.45rem) !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero__copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: .92rem !important;
    line-height: 1.3 !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero__panel {
    padding: .7rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.mf-diaspora-page .mf-diaspora-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }

  body.mf-diaspora-page .mf-diaspora-tabs a {
    flex: 0 0 auto;
    min-width: 8.5rem;
  }

  body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-overview-topline {
    grid-template-columns: 1fr !important;
  }

  body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: .25rem;
    scroll-snap-type: x proximity;
  }

  body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-card {
    flex: 0 0 min(82%, 21rem);
    scroll-snap-align: start;
  }

  body.mf-article-page .mf-article-detail-grid {
    grid-template-columns: 1fr !important;
  }

  body.mf-article-page .mf-article-detail--story {
    padding: clamp(1rem, 4vw, 1.25rem) !important;
  }

  body.mf-article-page .mf-article-copy {
    max-width: 100%;
    font-size: clamp(1.08rem, 4.6vw, 1.18rem);
    line-height: 1.74;
  }

  body.mf-article-page .mf-article-copy p:first-child {
    font-size: clamp(1.14rem, 5vw, 1.28rem);
    line-height: 1.66;
  }

  body.mf-article-page .mf-article-sidebar {
    position: static;
  }

  body.mf-world-cup-page #wc2026-knockout {
    padding-block: 1rem !important;
  }

  body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-board__head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .7rem;
  }

  body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-board__head > * {
    width: 100% !important;
  }

  body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-board__head h1 {
    max-width: 100%;
    font-size: clamp(1.75rem, 8.4vw, 2.35rem);
  }

  body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-status {
    padding: .72rem !important;
  }

  body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-grid {
    grid-template-columns: 1fr !important;
    gap: .58rem !important;
  }

  body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-grid__slots {
    grid-template-columns: 1fr !important;
    max-height: 10.8rem !important;
    overflow-y: auto;
  }

body.mf-world-cup-page #wc2026-knockout .mf-wc-v42-detail {
    padding: .72rem !important;
  }
}

/* 2026-07-13 Diaspora UX audit fixes: clearer IA, compact mobile entry, readable route cards. */
body.mf-diaspora-page .mf-diaspora-route-strip {
  gap: .4rem !important;
}

body.mf-diaspora-page .mf-diaspora-route-strip button {
  min-height: 2.1rem !important;
  padding: .42rem .7rem !important;
}

body.mf-diaspora-page .mf-diaspora-hero-proof {
  gap: .4rem !important;
  margin-top: .45rem !important;
}

body.mf-diaspora-page .mf-diaspora-hero-proof span {
  padding: .45rem .55rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-agent-stack article {
  gap: .16rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-agent-stack article small,
body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-automation-note {
  color: rgba(247, 251, 243, .74) !important;
  line-height: 1.38 !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-deck__guide div {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__links > span {
  border: 1px solid rgba(245, 200, 66, .24);
  border-radius: 999px;
  color: rgba(247, 251, 243, .78);
  font-size: .72rem;
  padding: .35rem .55rem;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__sources {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

@media (max-width: 760px) {
  body.mf-diaspora-page .mf-diaspora-fix-hero {
    padding-top: .65rem !important;
    padding-bottom: .65rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero__copy {
    gap: .38rem !important;
    padding: .58rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero__copy h1 {
    max-width: 11.5ch !important;
    font-size: clamp(1.95rem, 10vw, 2.75rem) !important;
    line-height: .92 !important;
    margin: .1rem 0 !important;
  }

  body.mf-diaspora-page .mf-diaspora-fix-hero__copy p {
    -webkit-line-clamp: 2 !important;
    font-size: .88rem !important;
    line-height: 1.32 !important;
  }

  body.mf-diaspora-page .mf-diaspora-route-strip,
  body.mf-diaspora-page .mf-diaspora-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .36rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-route-strip button,
  body.mf-diaspora-page .mf-diaspora-actions a {
    min-height: 2.25rem !important;
    padding: .42rem .48rem !important;
    width: auto !important;
  }

  body.mf-diaspora-page .mf-diaspora-actions a:first-child {
    grid-column: 1 / -1;
  }

  body.mf-diaspora-page .mf-diaspora-hero-proof {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: .32rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-hero-proof span {
    min-width: 0 !important;
    padding: .36rem .3rem !important;
    text-align: center;
  }

  body.mf-diaspora-page .mf-diaspora-hero-proof strong {
    font-size: 1rem !important;
  }

  body.mf-diaspora-page .mf-diaspora-section-nav {
    margin-top: .15rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mf-polish-loading-state::after {
    animation: none;
    display: none;
  }

  .mf-polish-back-top {
    transition: none;
  }
}

@media (max-width: 760px) {
  html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-route-strip,
  html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-route-strip button,
  html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-actions a {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 2.2rem !important;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-actions a:first-child {
    grid-column: 1 / -1 !important;
  }
}

/* 2026-07-13 Product Design pass: STL Soccer Today radar polish. */
body.stl-soccer-hub-page .mf-daily-hero {
  padding-block: clamp(.85rem, 2vw, 1.35rem) !important;
}

body.stl-soccer-hub-page .mf-daily-hero .mf-home-hero-grid {
  align-items: start !important;
  gap: clamp(.85rem, 1.7vw, 1.25rem) !important;
}

body.stl-soccer-hub-page .mf-daily-hero .mf-home-hero-copy {
  gap: .52rem !important;
}

body.stl-soccer-hub-page .mf-daily-hero .mf-hero-title-streamlined {
  max-width: 13ch !important;
  font-size: clamp(2rem, 3.35vw, 3.15rem) !important;
  line-height: .96 !important;
}

body.stl-soccer-hub-page .mf-daily-hero .mf-home-hero-copy > p {
  max-width: 58ch !important;
  font-size: .95rem !important;
  line-height: 1.42 !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer {
  margin-top: .45rem !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .stl-container {
  width: 100% !important;
  padding-inline: 0 !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl {
  border-color: rgba(255, 216, 77, .24) !important;
  border-radius: 1rem !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22) !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__head {
  align-items: center !important;
  padding: .72rem .85rem .52rem !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__head h2 {
  font-size: clamp(1.15rem, 2vw, 1.62rem) !important;
  letter-spacing: -.02em !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__head p {
  display: none !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__grid {
  gap: .5rem !important;
  padding: .68rem .85rem !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__card {
  min-height: 7.6rem !important;
  padding: .7rem !important;
  border-radius: .85rem !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__card strong {
  font-size: clamp(.92rem, 1.2vw, 1.08rem) !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__card small {
  -webkit-line-clamp: 2 !important;
  font-size: .78rem !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__card em {
  font-size: .68rem !important;
  padding: .34rem .52rem !important;
}

body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__actions {
  padding: 0 .85rem .75rem !important;
}

@media (max-width: 760px) {
  body.stl-soccer-hub-page .mf-daily-hero .mf-hero-title-streamlined {
    font-size: clamp(1.75rem, 8.5vw, 2.35rem) !important;
    max-width: 12ch !important;
  }

  body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__head {
    align-items: start !important;
    display: grid !important;
  }

  body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity;
  }

  body.stl-soccer-hub-page #today-in-stl-soccer .mf-today-stl__card {
    flex: 0 0 min(78%, 18rem);
    scroll-snap-align: start;
  }
}

/* 2026-07-13 Diaspora comment pass: remove duplicate live guide, tighten hero/control/routes. */
html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__copy h1,
body.mf-diaspora-page .mf-diaspora-fix-hero__copy h1 {
  max-width: 12.5ch !important;
  font-size: clamp(1.85rem, 2.9vw, 3rem) !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-live-board {
  display: none !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-deck {
  padding: clamp(.72rem, 1.2vw, .95rem) !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-deck__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, .26fr) !important;
  gap: .65rem !important;
  align-items: stretch !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck > .mf-diaspora-control-deck__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, .28fr) !important;
  gap: .65rem !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck > .mf-diaspora-control-deck__top > .mf-diaspora-control-metrics {
  width: auto !important;
}

html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck > .mf-diaspora-control-deck__top > .mf-diaspora-control-spotlights {
  width: auto !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-spotlights {
  padding: .68rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-spotlights__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .65rem !important;
  margin-bottom: .55rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-spotlights__head strong {
  font-size: clamp(1rem, 1.55vw, 1.28rem) !important;
  line-height: 1.05 !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-spotlights__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .5rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-tile {
  min-height: 7.25rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-tile > a:first-child {
  padding: .65rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-tile strong {
  font-size: .96rem !important;
  line-height: 1.06 !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-tile small {
  -webkit-line-clamp: 1 !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-tile__route {
  border: 1px solid rgba(245, 200, 66, .28);
  border-radius: 999px;
  color: var(--mf-yellow, #f5d742);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 900;
  margin: 0 .65rem .65rem;
  padding: .32rem .5rem;
  text-decoration: none;
  width: fit-content;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-metrics {
  align-content: start !important;
  gap: .42rem !important;
  grid-template-columns: 1fr !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-metrics a {
  padding: .5rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-deck__guide {
  margin-top: .55rem !important;
  padding: .55rem .65rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) {
  padding: .85rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-panel-head {
  align-items: center !important;
  margin-bottom: .52rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-panel-head h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-panel-head p {
  max-width: 56ch !important;
  font-size: .82rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-grid {
  gap: .52rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-pathway-card {
  padding: .68rem !important;
  gap: .42rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__flags {
  gap: .36rem !important;
  margin: .1rem 0 !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__flags span {
  min-height: 2.2rem !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: .86rem !important;
  line-height: 1.35 !important;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__notes,
body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__sources {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .8rem;
  padding: .42rem .55rem;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__notes summary,
body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__sources summary {
  cursor: pointer;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__notes ul,
body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-pathway-card__sources div {
  margin-top: .42rem;
}

@media (max-width: 900px) {
  body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-deck__top,
  body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-spotlights__grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  html body.mf-page-shell.mf-diaspora-page main#main-content .mf-diaspora-fix-hero__copy h1,
  body.mf-diaspora-page .mf-diaspora-fix-hero__copy h1 {
    font-size: clamp(1.8rem, 8.4vw, 2.38rem) !important;
    max-width: 13ch !important;
  }

  body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-control-spotlights__head,
  body.mf-diaspora-page #mf-diaspora-section-app .mf-diaspora-hub-lower > .mf-diaspora-hub-panel:nth-child(2) .mf-diaspora-panel-head {
    align-items: start !important;
    display: grid !important;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck {
    padding: .62rem !important;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck > .mf-diaspora-control-deck__top {
    grid-template-columns: 1fr !important;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-spotlights {
    padding: .6rem !important;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-spotlights__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: .5rem !important;
    overflow-x: auto !important;
    padding-bottom: .2rem !important;
    scroll-snap-type: x proximity;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-tile {
    flex: 0 0 min(76%, 18rem) !important;
    min-height: 8rem !important;
    scroll-snap-align: start;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.mf-page-shell.mf-diaspora-page main#main-content #mf-diaspora-section-app .mf-diaspora-control-deck__guide {
    display: grid !important;
    gap: .45rem !important;
  }
}

/* Final audit override: keep high-priority UX fixes above earlier polish layers. */
html body.mf-system-home .mf-v22-hero .mf-v22-actions .mf-v22-button--primary,
html body.mf-system-home .mf-v22-hero .mf-v22-actions .mf-v22-button--primary:visited {
  color: #06110c !important;
  background: linear-gradient(135deg, #ffd735, #c8f230 58%, #55e58d) !important;
  opacity: 1 !important;
  filter: saturate(1.02) !important;
  text-shadow: none !important;
}

html body.mf-system-home .mf-v22-hero .mf-v22-actions .mf-v22-button--primary * {
  color: #06110c !important;
  opacity: 1 !important;
  filter: none !important;
}

html body.mf-page-shell .mf-polish-freshness {
  transform: scale(.86) !important;
  transform-origin: top right !important;
  opacity: .72 !important;
  border-color: rgba(200, 242, 48, .2) !important;
  background: rgba(4, 18, 12, .62) !important;
  box-shadow: none !important;
}

html body.mf-page-shell .mf-polish-freshness span {
  color: rgba(200, 242, 48, .82) !important;
}

html body.mf-page-shell .mf-polish-freshness strong {
  color: rgba(244, 247, 251, .58) !important;
}

html body.mf-youth-pathway-guide main#main-content .mf-youth-graph-grid {
  grid-template-columns: minmax(30rem, 1.05fr) minmax(20rem, .95fr) !important;
  min-height: 0 !important;
}

html body.mf-youth-pathway-guide main#main-content .mf-youth-pyramid {
  min-height: 0 !important;
  padding: .82rem !important;
}

html body.mf-youth-pathway-guide main#main-content .mf-youth-stage-node {
  width: 100% !important;
  min-height: 5.15rem !important;
}

/* Match Center and article rendering hardening */
html body.mf-match-center-page .mf-matchday-topline {
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, .65fr) !important;
  align-items: stretch !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

html body.mf-match-center-page .mf-matchday-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

html body.mf-article-page .mf-article-detail-grid,
html body.mf-article-page .mf-article-detail--story,
html body.mf-article-page .mf-article-sidebar {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* A focused first viewport with secondary coverage available on demand */
html body.mf-system-home .mf-v22-hero--single-focus .mf-v22-hero__grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

html body.mf-system-home .mf-v22-hero--single-focus .mf-v22-hero__copy {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
}

html body.mf-system-home .mf-v22-hero__secondary {
  min-height: 44px !important;
  padding-inline: .35rem !important;
  border: 0 !important;
  background: transparent !important;
  color: #f6e5a6 !important;
  box-shadow: none !important;
}

html body.mf-system-home .mf-v22-hero-explore {
  margin-top: .15rem;
  border-top: 1px solid rgba(245, 200, 66, .18);
}

html body.mf-system-home .mf-v22-hero-explore > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .58rem 0;
  color: #f6e5a6;
  cursor: pointer;
  font: 800 .75rem/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .03em;
  text-transform: uppercase;
}

html body.mf-system-home .mf-v22-hero-explore > summary::marker {
  color: #c8f230;
}

html body.mf-system-home .mf-v22-hero-explore__content {
  display: grid;
  gap: .65rem;
  padding-bottom: .15rem;
}

html body.mf-system-home .mf-v22-hero-explore .mf-v22-find-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.mf-system-home .mf-v22-hero-explore .mf-v22-find-panel > .mf-v22-kicker {
  grid-column: 1 / -1;
}

html body.mf-system-home .mf-v22-route-preview,
html body.mf-system-home .mf-v22-feature--top .mf-v24-story-meta {
  display: none !important;
}

html body.mf-system-home .mf-v22-feature__media:empty,
html body.mf-system-home .mf-v22-feature__media:has(img[src=""]) {
  position: relative;
  min-height: 18rem;
  background:
    linear-gradient(145deg, rgba(5, 23, 15, .28), rgba(5, 23, 15, .72)),
    url("/assets/img/homepage/mofutbol-hero-grassroots-pro.png") center/cover no-repeat;
}

html body.mf-system-home .mf-v22-feature__media:empty::after,
html body.mf-system-home .mf-v22-feature__media:has(img[src=""])::after {
  content: "MoFutbol story image";
  position: absolute;
  inset: auto 1rem 1rem;
  color: #fff;
  font-weight: 800;
}

html body.mf-page-shell .mf-polish-freshness {
  opacity: 1 !important;
}

html body.mf-page-shell .mf-polish-freshness strong {
  color: #f4f7fb !important;
}

/* Keep the article breadcrumb compact so the story owns the hero. */
body.mf-page-shell.mf-article-page .mf-article-hero__shell > .mf-article-breadcrumb {
  display: flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.mf-page-shell.mf-article-page .mf-article-hero__shell > .mf-article-breadcrumb a {
  min-height: 2.25rem !important;
  margin: 0 !important;
  padding: .34rem .7rem !important;
}

/* Relax the dense desktop masthead without increasing its height. */
@media (min-width: 1181px) {
  html body.mf-page-shell .site-header__inner {
    gap: .45rem !important;
  }

  html body.mf-page-shell .site-nav__list {
    gap: .22rem !important;
    padding: 0 !important;
  }

  html body.mf-page-shell .site-nav__list > li > a,
  html body.mf-page-shell .site-nav__list > li > button {
    min-height: 2.75rem !important;
    padding: .46rem .6rem !important;
    border-color: transparent !important;
    border-radius: .78rem !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.mf-page-shell .site-header__actions {
    gap: .32rem !important;
  }

  html body.mf-page-shell .site-header__cta,
  html body.mf-page-shell .site-header__theme-toggle {
    min-height: 2.75rem !important;
  }

  html body.mf-page-shell .site-header__cta {
    padding-inline: .72rem !important;
  }

  html body.mf-page-shell .site-header__cta--media,
  html body.mf-page-shell .site-nav__menu-button {
    display: none !important;
  }
}

/* Let the live strip inform without competing with the page. */
@media (min-width: 761px) {
  html body.mf-page-shell .mf-score-ribbon {
    background: rgba(3, 16, 11, .94) !important;
    box-shadow: none !important;
  }

  html body.mf-page-shell .mf-score-ribbon__brand {
    min-width: 94px !important;
    background: rgba(200, 242, 48, .08) !important;
  }

  html body.mf-page-shell .mf-score-ribbon__card {
    min-width: 158px !important;
    max-width: 192px !important;
    background: transparent !important;
    border-color: rgba(255, 255, 255, .07) !important;
    box-shadow: none !important;
  }

  html body.mf-page-shell .mf-score-ribbon__track {
    animation-duration: 76s !important;
  }

  html body.mf-match-center-page .mf-matchday-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  html body.mf-match-center-page .mf-matchday-summary > :first-child {
    display: none !important;
  }
}

@media (min-width: 900px) {
  html body.mf-system-home .mf-v22-hero--single-focus .mf-v22-hero__copy {
    display: grid !important;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr) !important;
    grid-template-areas:
      "kicker kicker"
      "title title"
      "lede lede"
      "actions now"
      "explore explore" !important;
  }

  html body.mf-system-home .mf-v22-hero-kicker { grid-area: kicker; }
  html body.mf-system-home .mf-v22-hero__copy > h1 { grid-area: title; }
  html body.mf-system-home .mf-v22-hero__lede { grid-area: lede; }
  html body.mf-system-home .mf-v22-actions { grid-area: actions; }
  html body.mf-system-home .mf-v22-now-line { grid-area: now; max-width: 34rem; }
  html body.mf-system-home .mf-v22-hero-explore { grid-area: explore; }
}

@media (max-width: 1080px) {
  html body.mf-match-center-page .mf-matchday-topline {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  html body.mf-match-center-page .mf-matchday-summary {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.mf-system-home .mf-v22-hero-explore__content .mf-v22-league-doors,
  html body.mf-system-home .mf-v22-hero-explore__content .mf-v22-quick-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.mf-system-home .mf-v22-hero-explore__content a {
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }

  html body.mf-system-home .mf-v22-hero-explore .mf-v22-find-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
/* Final public-facing chrome cleanup. */
@media (min-width: 861px) {
  html body.mf-match-center-page {
    padding-top: 0 !important;
  }

  html body.mf-match-center-page .site-header {
    position: sticky !important;
    top: 0 !important;
    min-height: 55px !important;
    margin: 0 !important;
    transform: none !important;
  }

  html body.mf-match-center-page .mf-score-ribbon {
    top: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 760px) {
  html body.mf-match-center-page .site-footer {
    margin-top: .75rem !important;
  }

  html body.mf-match-center-page .site-footer__inner {
    min-height: 0 !important;
    padding: .75rem 0 .45rem !important;
  }

  html body.mf-match-center-page .site-footer__brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: .75rem !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  html body.mf-match-center-page .site-footer .site-socials {
    display: grid !important;
    grid-template-columns: repeat(4, 44px) !important;
    gap: .35rem !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  html body.mf-match-center-page .site-footer .site-footer__brand .site-socials > a {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: .45rem !important;
    justify-content: center !important;
  }

  html body.mf-match-center-page .site-footer__bottom {
    min-height: 0 !important;
    padding: .35rem 0 .5rem !important;
  }

  html body.mf-system-home main.mf-v22-home > :where(.mf-v22-diaspora, .mf-v22-community, .mf-v20-platform-highlight) {
    padding-block: .8rem !important;
  }

  html body.mf-system-home :where(.mf-v22-diaspora__links, .mf-v22-community-grid, .mf-v20-platform-grid) {
    display: flex !important;
    grid-template-columns: none !important;
    gap: .65rem !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: .1rem .05rem .4rem !important;
  }

  html body.mf-system-home :where(.mf-v22-diaspora__links, .mf-v22-community-grid, .mf-v20-platform-grid)::-webkit-scrollbar {
    display: none;
  }

  html body.mf-system-home .mf-v22-diaspora__links > a {
    flex: 0 0 min(78vw, 18rem) !important;
    min-height: 15rem !important;
    scroll-snap-align: start;
  }

  html body.mf-system-home .mf-v22-community-grid > a {
    flex: 0 0 min(68vw, 15rem) !important;
    min-height: 8.5rem !important;
    scroll-snap-align: start;
  }

  html body.mf-system-home .mf-v20-platform-grid > a {
    flex: 0 0 min(78vw, 18rem) !important;
    min-height: 13.5rem !important;
    scroll-snap-align: start;
  }
}

@media (min-width: 861px) {
  html body.mf-match-center-page .mf-matchday-card-grid--balanced-four {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Homepage editorial order: establish the diaspora desk before the lead story. */
html body.mf-system-home main#main-content.mf-v22-home > .mf-v22-diaspora {
  order: 1 !important;
}

html body.mf-system-home main#main-content.mf-v22-home > .mf-v22-section[aria-labelledby="featured-story-title"] {
  order: 2 !important;
}

html body.mf-system-home main#main-content.mf-v22-home > .mf-v20-platform-highlight {
  order: 3 !important;
}

/* Annotation cleanup: remove full-width decorative section backdrops, not card surfaces. */
html body.mf-system-home main#main-content.mf-v22-home > :where(
  .mf-v22-diaspora,
  .mf-v20-platform-highlight,
  .mf-v22-worldcup,
  .mf-v22-section[aria-labelledby="latest-articles-title"]
) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html body.mf-system-home main#main-content.mf-v22-home > :where(
  .mf-v22-diaspora,
  .mf-v22-worldcup,
  .mf-v22-section[aria-labelledby="latest-articles-title"]
)::before,
html body.mf-system-home main#main-content.mf-v22-home > :where(
  .mf-v22-diaspora,
  .mf-v22-worldcup,
  .mf-v22-section[aria-labelledby="latest-articles-title"]
)::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

html body.mf-system-home.mf-home-v22 main#main-content.mf-v22-home > section.mf-v22-worldcup {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html body.mf-system-home.mf-home-v22 main#main-content.mf-v22-home > section.mf-v22-worldcup::before,
html body.mf-system-home.mf-home-v22 main#main-content.mf-v22-home > section.mf-v22-worldcup::after,
html body.mf-system-home.mf-home-v22 main#main-content.mf-v22-home > section.mf-v20-platform-highlight::before,
html body.mf-system-home.mf-home-v22 main#main-content.mf-v22-home > section.mf-v20-platform-highlight::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

@media (min-width: 900px) {
  html body.mf-system-home.mf-home-v22 main#main-content.mf-v22-home > .mf-v22-hero--single-focus .mf-v22-hero__grid {
    width: min(calc(100% - 2rem), 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
  }

  html body.mf-system-home.mf-home-v22 main#main-content.mf-v22-home > .mf-v22-hero--single-focus .mf-v22-hero__copy {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
}
/*
 * Release gate: the dynamic STL hub produces compact source and filter actions.
 * Preserve the compact typography while keeping their complete hit areas at
 * least 44px at every supported viewport.
 */
html body.stl-soccer-hub-page main#main-content :where(
  .stl-btn,
  .stl-hub-tier-link,
  .stl-hub-tryout-source,
  .stl-hub-tryout-filter,
  .stl-hub-tryout-more-toggle,
  [data-tryout-search]
) {
  min-height: 44px !important;
  box-sizing: border-box !important;
}

html body.stl-soccer-hub-page main#main-content :where(
  .stl-btn,
  .stl-hub-tier-link,
  .stl-hub-tryout-source,
  .stl-hub-tryout-filter,
  .stl-hub-tryout-more-toggle
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-block: .55rem !important;
}
