/* MoFutbol v3 product layer */
:root {
  --v30-bg: #050806;
  --v30-ink: #fff7df;
  --v30-muted: rgba(255, 247, 223, .72);
  --v30-soft: rgba(255, 247, 223, .08);
  --v30-line: rgba(255, 247, 223, .16);
  --v30-line-strong: rgba(245, 200, 66, .38);
  --v30-green: #05663a;
  --v30-green-2: #0a2b1c;
  --v30-gold: #f5c842;
  --v30-red: #c92c32;
  --v30-black: #050806;
  --v30-card: rgba(7, 17, 12, .88);
  --v30-card-2: rgba(12, 28, 20, .82);
  --v30-radius: 8px;
  --v30-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

html {
  scroll-padding-top: calc(var(--mf-ux-nav-height, 50px) + .75rem);
}

body {
  overflow-x: hidden;
}

.site-header {
  border-bottom: 1px solid rgba(245, 200, 66, .18) !important;
  background: rgba(3, 9, 6, .94) !important;
  backdrop-filter: blur(18px);
}

.site-brand__name {
  letter-spacing: 0 !important;
}

.site-brand__tag {
  color: var(--v30-gold) !important;
  letter-spacing: .16em !important;
}

.site-nav__icon,
.site-nav__panel-icon {
  display: none !important;
}

.site-nav__toggle,
.site-nav__link,
.site-header__cta,
.site-theme-toggle {
  border-radius: var(--v30-radius) !important;
}

.site-nav__panel,
.site-drawer,
.site-footer {
  border-color: var(--v30-line) !important;
  background: rgba(4, 12, 8, .96) !important;
}

body.mf-v30 {
  background:
    linear-gradient(90deg, rgba(255, 247, 223, .028) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 78% 8%, rgba(201, 44, 50, .18), transparent 24rem),
    linear-gradient(180deg, #06120c 0%, #07150d 42%, #050806 100%);
  color: var(--v30-ink);
  font-family: "Inter", "Archivo", system-ui, sans-serif;
}

body.mf-v30 *,
body.mf-v30 *::before,
body.mf-v30 *::after {
  box-sizing: border-box;
}

body.mf-v30 :where(h1, h2, h3, p, figure) {
  margin: 0;
}

body.mf-v30 :where(a) {
  color: inherit;
}

.mf-v30-shell {
  min-height: 100vh;
}

.mf-v30-frame {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}

.mf-v30-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 200, 66, .2);
  background: #06120c;
}

.mf-v30-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.mf-v30-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.05) brightness(.56);
}

.mf-v30-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 10, 7, .96) 0%, rgba(4, 10, 7, .82) 46%, rgba(78, 8, 14, .56) 100%),
    linear-gradient(180deg, rgba(4, 8, 6, .06), rgba(4, 8, 6, .88));
}

.mf-v30-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 28rem);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: center;
  min-height: clamp(23rem, 44vh, 34rem);
  padding-block: clamp(1.4rem, 3vw, 2.4rem) .9rem;
}

.mf-v30-lead {
  display: grid;
  gap: .9rem;
  max-width: 47rem;
}

.mf-v30-kicker,
.mf-v30-section__head span,
.mf-v30-brief__head,
.mf-v30-brief__lead span,
.mf-v30-match > span,
.mf-v30-utility span,
.mf-v30-story-major > span,
.mf-v30-story-rail span,
.mf-v30-pathway span,
.mf-v30-video span,
.mf-v30-media__rail span,
.mf-v30-close span {
  font-family: "JetBrains Mono", monospace;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--v30-gold);
}

.mf-v30-kicker {
  display: inline-flex;
  width: fit-content;
  gap: .55rem;
  align-items: center;
  border: 1px solid rgba(245, 200, 66, .32);
  border-radius: 999px;
  padding: .42rem .65rem;
  background: rgba(0, 0, 0, .38);
}

.mf-v30-kicker strong {
  color: rgba(255, 247, 223, .72);
  font-weight: 700;
}

.mf-v30-lead h1 {
  max-width: 13ch;
  color: var(--v30-ink);
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: .92;
  letter-spacing: 0;
  text-wrap: balance;
}

.mf-v30-lead p {
  max-width: 42rem;
  color: rgba(255, 247, 223, .82);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

.mf-v30-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .15rem;
}

.mf-v30-button,
.mf-v30-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  border: 1px solid rgba(255, 247, 223, .22);
  border-radius: var(--v30-radius);
  padding: .68rem .9rem;
  background: rgba(255, 247, 223, .045);
  color: var(--v30-ink);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.mf-v30-button--gold {
  border-color: var(--v30-gold);
  background: var(--v30-gold);
  color: #06120c;
}

.mf-v30-text-link {
  min-height: 2.2rem;
  padding: .55rem .75rem;
  font-size: .88rem;
}

.mf-v30-brief {
  display: grid;
  gap: .7rem;
  align-self: center;
  border: 1px solid var(--v30-line);
  border-radius: var(--v30-radius);
  padding: .85rem;
  background: linear-gradient(145deg, rgba(255, 247, 223, .08), rgba(255, 247, 223, .025)), rgba(3, 13, 9, .82);
  box-shadow: var(--v30-shadow);
  backdrop-filter: blur(16px);
}

.mf-v30-brief__head {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  color: rgba(255, 247, 223, .72);
}

.mf-v30-brief__lead {
  display: grid;
  gap: .45rem;
  border-left: 3px solid var(--v30-red);
  padding: .25rem 0 .25rem .75rem;
}

.mf-v30-brief__lead strong {
  color: var(--v30-ink);
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
  line-height: 1.12;
}

.mf-v30-brief__lead p,
.mf-v30-pathway small,
.mf-v30-media__rail small {
  color: var(--v30-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.mf-v30-brief__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}

.mf-v30-brief__meta a {
  border: 1px solid rgba(255, 247, 223, .14);
  border-radius: var(--v30-radius);
  padding: .55rem;
  background: rgba(0, 0, 0, .18);
  color: rgba(255, 247, 223, .86);
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.mf-v30-signal-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .5rem;
  padding-bottom: .8rem;
}

.mf-v30-signal-strip a {
  display: grid;
  gap: .28rem;
  min-height: 4.2rem;
  border: 1px solid rgba(255, 247, 223, .13);
  border-radius: var(--v30-radius);
  padding: .62rem;
  background: rgba(0, 0, 0, .32);
  text-decoration: none;
}

.mf-v30-signal-strip span {
  color: var(--v30-gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mf-v30-signal-strip strong {
  color: rgba(255, 247, 223, .9);
  font-size: .86rem;
  line-height: 1.2;
}

.mf-v30-section {
  padding-block: clamp(1.5rem, 3.5vw, 2.8rem);
}

.mf-v30-section--desk,
.mf-v30-section--pathway,
.mf-v30-section--close {
  border-block: 1px solid rgba(245, 200, 66, .13);
  background: linear-gradient(180deg, rgba(5, 102, 58, .12), rgba(5, 8, 6, .02));
}

.mf-v30-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}

.mf-v30-section__head h2 {
  max-width: 42rem;
  margin-top: .35rem;
  color: var(--v30-ink);
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.mf-v30-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .7fr) minmax(15rem, .48fr);
  gap: .7rem;
}

.mf-v30-match,
.mf-v30-board__stack article,
.mf-v30-utility,
.mf-v30-story-major,
.mf-v30-story-rail a,
.mf-v30-pathway a,
.mf-v30-video,
.mf-v30-media__rail a,
.mf-v30-close {
  border: 1px solid var(--v30-line);
  border-radius: var(--v30-radius);
  background: linear-gradient(145deg, rgba(255, 247, 223, .065), rgba(255, 247, 223, .018)), var(--v30-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
}

.mf-v30-match {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 20rem;
  overflow: hidden;
  padding: 1rem;
}

.mf-v30-match::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(5, 102, 58, .72), rgba(5, 8, 6, .32)),
    url("../img/stl-hero/energizer-park-stl.jpg") center/cover no-repeat;
  z-index: -1;
  filter: saturate(.9) brightness(.65);
}

.mf-v30-match strong {
  max-width: 30rem;
  color: var(--v30-ink);
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.02;
}

.mf-v30-match p {
  max-width: 34rem;
  margin-top: .45rem;
  color: rgba(255, 247, 223, .82);
  font-size: .95rem;
  line-height: 1.45;
}

.mf-v30-board__stack {
  display: grid;
  gap: .55rem;
}

.mf-v30-board__stack article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .4rem .7rem;
  min-height: 6.15rem;
  padding: .72rem;
}

.mf-v30-board__stack span {
  grid-row: span 2;
  min-width: 4.3rem;
  color: var(--v30-gold);
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mf-v30-board__stack strong,
.mf-v30-utility strong,
.mf-v30-story-rail strong,
.mf-v30-pathway strong,
.mf-v30-media__rail strong {
  color: var(--v30-ink);
  font-size: 1rem;
  line-height: 1.16;
}

.mf-v30-board__stack small {
  color: var(--v30-muted);
  line-height: 1.35;
}

.mf-v30-utility,
.mf-v30-media__rail {
  display: grid;
  gap: .55rem;
  padding: .65rem;
}

.mf-v30-utility a,
.mf-v30-media__rail a {
  display: grid;
  gap: .32rem;
  border: 1px solid rgba(255, 247, 223, .12);
  border-radius: var(--v30-radius);
  padding: .68rem;
  background: rgba(0, 0, 0, .18);
  text-decoration: none;
}

.mf-v30-editorial,
.mf-v30-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .62fr);
  gap: .7rem;
}

.mf-v30-editorial .mf-v30-section__head,
.mf-v30-media .mf-v30-section__head {
  grid-column: 1 / -1;
}

.mf-v30-story-major {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 18rem;
  overflow: hidden;
  padding: 1rem;
  background:
    linear-gradient(110deg, rgba(4, 9, 7, .9), rgba(4, 9, 7, .55)),
    url("../img/heroes/shared-hero-live.png") center/cover no-repeat;
}

.mf-v30-story-major h3 {
  max-width: 38rem;
  margin-top: .35rem;
  color: var(--v30-ink);
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.02;
  text-wrap: balance;
}

.mf-v30-story-major p {
  max-width: 42rem;
  margin-top: .5rem;
  color: rgba(255, 247, 223, .8);
  line-height: 1.48;
}

.mf-v30-story-major a,
.mf-v30-video a {
  justify-self: start;
  margin-top: .75rem;
  color: var(--v30-gold);
  font-weight: 900;
  text-decoration: none;
}

.mf-v30-story-rail {
  display: grid;
  gap: .55rem;
}

.mf-v30-story-rail a {
  display: grid;
  gap: .35rem;
  padding: .78rem;
  text-decoration: none;
}

.mf-v30-pathway {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, .75fr));
  gap: .6rem;
}

.mf-v30-pathway a {
  display: grid;
  gap: .4rem;
  min-height: 8.2rem;
  padding: .85rem;
  text-decoration: none;
}

.mf-v30-pathway__primary {
  grid-row: span 2;
  background:
    linear-gradient(145deg, rgba(5, 102, 58, .36), rgba(201, 44, 50, .12)),
    var(--v30-card) !important;
}

.mf-v30-pathway__primary strong {
  max-width: 32rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.mf-v30-video {
  display: grid;
  grid-template-columns: minmax(12rem, .9fr) minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  padding: .7rem;
}

.mf-v30-video figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--v30-radius);
  background: rgba(0, 0, 0, .3);
}

.mf-v30-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-v30-video h3 {
  margin-top: .35rem;
  color: var(--v30-ink);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.mf-v30-video p {
  margin-top: .45rem;
  color: var(--v30-muted);
  line-height: 1.45;
}

.mf-v30-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .75fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.mf-v30-close h2 {
  margin-top: .35rem;
  color: var(--v30-ink);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.02;
}

.mf-v30-close p {
  max-width: 44rem;
  margin-top: .45rem;
  color: var(--v30-muted);
  line-height: 1.48;
}

.mf-v30-close nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.mf-v30-close nav a {
  border: 1px solid rgba(255, 247, 223, .14);
  border-radius: var(--v30-radius);
  padding: .7rem;
  background: rgba(0, 0, 0, .18);
  color: var(--v30-ink);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 980px) {
  .mf-v30-hero__grid,
  .mf-v30-board,
  .mf-v30-editorial,
  .mf-v30-media,
  .mf-v30-close {
    grid-template-columns: 1fr;
  }

  .mf-v30-hero__grid {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .mf-v30-lead h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 9vw, 4rem);
  }

  .mf-v30-signal-strip,
  .mf-v30-pathway {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mf-v30-pathway__primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .mf-v30-frame {
    width: min(100% - 1.1rem, 1240px);
  }

  .mf-v30-section {
    padding-block: 1.25rem;
  }

  .mf-v30-lead h1 {
    max-width: 10.8ch;
    font-size: clamp(2.2rem, 11.2vw, 3.05rem);
    line-height: .95;
  }

  .mf-v30-lead p {
    font-size: .98rem;
  }

  .mf-v30-actions,
  .mf-v30-brief__meta,
  .mf-v30-pathway,
  .mf-v30-close nav {
    grid-template-columns: 1fr;
  }

  .mf-v30-actions {
    display: grid;
  }

  .mf-v30-button {
    width: 100%;
  }

  .mf-v30-signal-strip {
    display: grid;
    grid-auto-columns: minmax(10.8rem, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    padding-bottom: .65rem;
  }

  .mf-v30-section__head {
    display: grid;
    align-items: start;
    margin-bottom: .7rem;
  }

  .mf-v30-match {
    min-height: 16rem;
  }

  .mf-v30-board__stack article,
  .mf-v30-video {
    grid-template-columns: 1fr;
  }

  .mf-v30-story-major {
    min-height: 16rem;
  }
}

@media (max-width: 760px) {
  .site-footer__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .8rem !important;
  }

  .site-footer__brand,
  .site-footer__nav,
  .site-footer__nav ul,
  .site-footer__bottom {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .site-footer__nav {
    position: static !important;
    left: auto !important;
    right: auto !important;
  }

  .site-footer__nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .35rem .55rem !important;
    padding: 0 !important;
  }

  .site-footer__nav li {
    margin: 0 !important;
  }

  .site-footer__nav a {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

/* v3 route polish for legacy pages loading the product layer */
body.mf-page-shell:not(.mf-v30) {
  background:
    linear-gradient(90deg, rgba(255, 247, 223, .025) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(180deg, #06120c 0%, #07150d 46%, #050806 100%) !important;
  color: var(--v30-ink);
}

body.mf-page-shell:not(.mf-v30) :where(.stl-section, .mf-worldcup-section) {
  padding-block: clamp(1.35rem, 3vw, 2.45rem) !important;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-daily-hero, .mf-editorial-hero, .mf-diaspora-hero, .mf-worldcup-hero, .mf-player-spotlight-submit) {
  min-height: auto !important;
  padding-block: clamp(1.55rem, 3.4vw, 2.65rem) !important;
  border-bottom: 1px solid rgba(245, 200, 66, .18) !important;
  background-color: #06120c !important;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-daily-grid, .mf-home-hero-grid, .mf-editorial-hero__grid, .mf-polish-hero__grid, .mf-diaspora-hero__inner, .mf-worldcup-hero__grid, .mf-player-spotlight-grid) {
  min-height: 0 !important;
  gap: clamp(.85rem, 1.8vw, 1.35rem) !important;
  align-items: center !important;
  padding-block: 0 !important;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-daily-lead, .mf-polish-hero__copy, .mf-diaspora-hero__inner > div:first-child, .mf-worldcup-hero__copy, .mf-player-spotlight-copy) {
  display: grid;
  gap: .68rem !important;
  max-width: 48rem !important;
}

body.mf-page-shell:not(.mf-v30) :where(h1, .stl-heading, .mf-unified-hero-title, .mf-worldcup-hero__title, .mf-hero-title-streamlined) {
  max-width: 13.5ch !important;
  color: var(--v30-ink) !important;
  font-family: "Archivo", "Inter", system-ui, sans-serif !important;
  font-size: clamp(2.05rem, 3.8vw, 3.4rem) !important;
  line-height: .96 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-hero-title-streamlined span) {
  display: block !important;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-lede, .stl-muted, .mf-worldcup-hero__lede, .mf-diaspora-hero p, .mf-player-spotlight-copy p) {
  max-width: 42rem !important;
  color: rgba(255, 247, 223, .8) !important;
  font-size: clamp(.95rem, 1.18vw, 1.06rem) !important;
  line-height: 1.5 !important;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-daily-actions, .mf-home-hero-actions, .mf-page-actions, .mf-diaspora-actions, .mf-worldcup-hero__actions, .mf-spotlight-process) {
  gap: .45rem !important;
  margin-top: .1rem !important;
}

body.mf-page-shell:not(.mf-v30) :where(.stl-btn, .site-button, .mf-chip, .mf-tracker-modebar a, .mf-tracker-lane-chips a) {
  border-radius: var(--v30-radius) !important;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-home-quicklinks, .mf-hub-proof-row, .mf-polish-stat-row, .mf-worldcup-hero__stats, .mf-worldcup-hero__flags, .mf-worldcup-hero__ticker) {
  gap: .45rem !important;
  margin-top: .35rem !important;
}

body.mf-page-shell:not(.mf-v30) :where(.mf-hub-proof-card, .mf-daily-board, .mf-match-feature-card, .mf-match-tile, .mf-player-polish-card, .mf-worldcup-hero__media, .mf-worldcup-hero__media-card, .mf-media-audio-station, .mf-player-spotlight-form, .mf-player-spotlight-copy, .mf-tracker-link-card, .mf-tracker-route-card, .mf-tracker-lane-panel, .mf-tracker-player-media, .site-newsletter-shell) {
  border-color: var(--v30-line) !important;
  border-radius: var(--v30-radius) !important;
  background-color: rgba(7, 17, 12, .86) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset !important;
}

body.mf-media-page .mf-media-hero-video,
body.mf-page-shell .mf-match-utility,
body.mf-page-shell .mf-player-card-deck,
body.mf-page-shell .mf-worldcup-hero__media {
  align-self: center !important;
}

body.mf-media-page .mf-media-hero-video {
  padding: .72rem !important;
}

body.mf-media-page .mf-media-hero-video__frame {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
}

body.mf-media-page .mf-media-hero-video__frame iframe {
  height: 100% !important;
}

body.mf-page-shell .mf-match-utility {
  display: grid !important;
  gap: .55rem !important;
}

body.mf-page-shell .mf-match-feature-card,
body.mf-page-shell .mf-match-tile {
  padding: .72rem !important;
}

body.mf-page-shell .mf-match-feature-card h2,
body.mf-page-shell .mf-tracker-link-card h3,
body.mf-page-shell .mf-tracker-player-media h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem) !important;
  line-height: 1.05 !important;
}

body.mf-page-shell .mf-match-utility__grid {
  gap: .45rem !important;
}

body.mf-page-shell .mf-player-tracker-hero .mf-player-card-deck {
  gap: .5rem !important;
}

body.mf-page-shell .mf-player-tracker-hero .mf-player-polish-card {
  padding: .58rem !important;
}

body.mf-page-shell .mf-player-tracker-hero .mf-player-polish-card__media {
  min-height: 0 !important;
}

body.mf-page-shell .mf-player-tracker-hero .mf-player-polish-card__media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

body.mf-page-shell .mf-tracker-link-console,
body.mf-page-shell .mf-tracker-player-media__grid,
body.mf-page-shell .mf-media-player-grid,
body.mf-page-shell .mf-media-platform-grid,
body.mf-page-shell .mf-media-card-grid {
  gap: .7rem !important;
}

body.mf-world-cup-page .mf-worldcup-hero__media-figure {
  max-height: 18rem !important;
}

body.mf-world-cup-page .mf-worldcup-hero__media-figure img {
  height: 100% !important;
  object-fit: cover !important;
}

.mf-v30-signal-strip::-webkit-scrollbar {
  display: none;
}

@media (max-width: 760px) {
  body.mf-page-shell:not(.mf-v30) :where(.mf-daily-hero, .mf-editorial-hero, .mf-diaspora-hero, .mf-worldcup-hero, .mf-player-spotlight-submit) {
    padding-block: 1rem !important;
  }

  body.mf-page-shell:not(.mf-v30) :where(.mf-daily-grid, .mf-home-hero-grid, .mf-editorial-hero__grid, .mf-polish-hero__grid, .mf-diaspora-hero__inner, .mf-worldcup-hero__grid, .mf-player-spotlight-grid) {
    gap: .78rem !important;
  }

  body.mf-page-shell:not(.mf-v30) :where(h1, .stl-heading, .mf-unified-hero-title, .mf-worldcup-hero__title, .mf-hero-title-streamlined) {
    max-width: 12ch !important;
    font-size: clamp(1.8rem, 8vw, 2.25rem) !important;
    line-height: .98 !important;
  }

  body.mf-page-shell:not(.mf-v30) :where(.mf-lede, .stl-muted, .mf-worldcup-hero__lede, .mf-diaspora-hero p, .mf-player-spotlight-copy p) {
    font-size: .95rem !important;
    line-height: 1.42 !important;
  }

  body.mf-page-shell .mf-player-tracker-hero .mf-polish-hero__copy {
    text-align: left !important;
  }

  body.mf-page-shell .mf-player-tracker-hero h1 {
    max-width: 17ch !important;
    font-size: clamp(1.65rem, 7.2vw, 2.05rem) !important;
    line-height: 1 !important;
  }

  body.mf-page-shell .mf-player-tracker-hero h1 br {
    display: none !important;
  }

  body.mf-page-shell:not(.mf-v30) :where(.mf-daily-actions, .mf-home-hero-actions, .mf-page-actions, .mf-diaspora-actions, .mf-worldcup-hero__actions) {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.mf-page-shell:not(.mf-v30) :where(.mf-daily-actions > *, .mf-home-hero-actions > *, .mf-page-actions > *, .mf-diaspora-actions > *, .mf-worldcup-hero__actions > *) {
    width: 100% !important;
  }

  body.mf-media-page .mf-hub-proof-row,
  body.mf-media-page .mf-daily-hero [data-sponsor-zone="media-feature"],
  body.mf-page-shell .mf-player-tracker-hero .mf-player-card-deck article:not(.mf-player-polish-card--feature),
  body.mf-page-shell .mf-match-utility .mf-match-tile:nth-child(n+3),
  body.mf-diaspora-page .mf-diaspora-hero .mf-hub-proof-row {
    display: none !important;
  }

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

  body.mf-page-shell .mf-match-tile strong {
    font-size: .84rem !important;
    line-height: 1.08 !important;
  }

  body.mf-page-shell .mf-match-tile small {
    font-size: .7rem !important;
    line-height: 1.22 !important;
  }

  body.mf-page-shell .mf-player-tracker-hero .mf-player-polish-card--feature {
    grid-template-columns: minmax(5.4rem, .44fr) minmax(0, 1fr) !important;
  }

  body.mf-page-shell .mf-player-tracker-hero .mf-player-polish-card--feature .mf-player-polish-card__media {
    align-self: stretch !important;
  }

  body.mf-page-shell .mf-player-tracker-hero .mf-player-polish-card--feature .mf-player-polish-card__media img {
    height: 100% !important;
    max-height: 8rem !important;
  }

  body.mf-page-shell .mf-player-tracker-hero .mf-player-polish-card dl,
  body.mf-page-shell .mf-player-tracker-hero .mf-player-update {
    display: none !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__media {
    display: none !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .45rem !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__stat {
    min-height: 0 !important;
    padding: .58rem !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__stat strong {
    font-size: 1.2rem !important;
    line-height: 1 !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__stat span {
    font-size: .72rem !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__flags {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .45rem !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__flag {
    min-height: 0 !important;
    padding: .55rem !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__flag img {
    width: 1.6rem !important;
    height: auto !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__flag strong {
    font-size: .78rem !important;
    line-height: 1.05 !important;
  }

  body.mf-world-cup-page .mf-worldcup-hero__flag small,
  body.mf-world-cup-page .mf-worldcup-hero__ticker {
    display: none !important;
  }

  .mf-v30-signal-strip {
    scrollbar-width: none;
  }
}

@media (max-width: 480px) {
  body.mf-page-shell .mf-match-utility__grid {
    grid-template-columns: 1fr !important;
  }
}
