/* MoFutbol v2.1 repair layer. Loaded last to stabilize the current site UI. */
:root {
  --mf-v21-ink: #fff8df;
  --mf-v21-paper: #f7efd2;
  --mf-v21-muted: rgba(255, 248, 223, .72);
  --mf-v21-line: rgba(255, 248, 223, .15);
  --mf-v21-green: #057a43;
  --mf-v21-green-deep: #06140d;
  --mf-v21-gold: #f5c842;
  --mf-v21-red: #cd202c;
}

body.mf-home-taste,
body.mf-v21-desk {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(4, 15, 10, .96), rgba(8, 19, 13, .98) 42%, #050806),
    #06100b;
  color: var(--mf-v21-ink);
}

body.mf-home-taste *,
body.mf-v21-desk * {
  letter-spacing: 0 !important;
}

body.mf-home-taste .mf-daily-home,
body.mf-home-taste .mf-daily-section,
body.mf-home-taste .mf-front-page-section,
body.mf-home-taste .mf-home-citysc-schedule,
body.mf-home-taste .mf-weekly-pathway-section,
body.mf-home-taste .mf-home-latest-desk,
body.mf-home-taste .mf-home-product-grid,
body.mf-home-taste .mf-home-route-grid,
body.mf-home-taste .mf-home-side-stack,
body.mf-home-taste .mf-home-command-card,
body.mf-home-taste .mf-home-route-card,
body.mf-home-taste .mf-pathway-preview,
body.mf-home-taste .mf-front-page-grid,
body.mf-home-taste .mf-front-main,
body.mf-home-taste .mf-front-panel,
body.mf-home-taste .mf-daily-tab-panel {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.mf-home-taste .mf-daily-hero {
  position: relative;
  min-height: 0 !important;
  padding: clamp(2.4rem, 5vw, 4.6rem) 0 clamp(1.4rem, 3vw, 2.4rem) !important;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 24, 14, .98), rgba(6, 24, 17, .84) 56%, rgba(65, 13, 16, .68)),
    url("../img/stl-hero/energizer-park-stl.jpg") center/cover no-repeat;
  border-bottom: 1px solid rgba(245, 200, 66, .18);
}

body.mf-home-taste .mf-daily-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 248, 223, .08) 50%, transparent 50.2%),
    repeating-linear-gradient(90deg, rgba(255, 248, 223, .045) 0 1px, transparent 1px 5.2rem),
    linear-gradient(180deg, transparent 72%, rgba(5, 8, 6, .72));
  opacity: .76;
}

body.mf-home-taste .mf-daily-bg {
  display: none !important;
}

body.mf-home-taste .mf-home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, .56fr) !important;
  gap: clamp(1rem, 2.5vw, 2rem) !important;
  align-items: end !important;
}

body.mf-home-taste .mf-home-hero-copy {
  max-width: 48rem;
}

body.mf-home-taste .mf-daily-kicker {
  display: inline-flex;
  width: fit-content;
  gap: .45rem;
  align-items: center;
  border: 1px solid rgba(245, 200, 66, .34);
  border-radius: 999px;
  padding: .4rem .66rem;
  background: rgba(0, 0, 0, .34);
  color: var(--mf-v21-gold);
}

body.mf-home-taste .mf-hero-title-streamlined {
  max-width: 11ch;
  margin: .8rem 0 .75rem;
  color: var(--mf-v21-ink);
  font-family: "Archivo Black", var(--f-heading), sans-serif;
  font-size: clamp(2.45rem, 5.7vw, 5.4rem) !important;
  line-height: .92 !important;
  text-wrap: balance;
}

body.mf-home-taste .mf-hero-title-streamlined span {
  display: block;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.mf-home-taste .mf-home-hero-copy > .stl-muted {
  max-width: 41rem;
  color: rgba(255, 248, 223, .82) !important;
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

body.mf-home-taste .stl-btn {
  min-height: 2.55rem;
  border-radius: 8px !important;
  font-weight: 800;
}

body.mf-home-taste .stl-btn--primary,
body.mf-v21-desk .stl-btn--primary {
  border-color: var(--mf-v21-gold) !important;
  background: var(--mf-v21-gold) !important;
  color: #06100b !important;
  box-shadow: 0 12px 28px rgba(245, 200, 66, .18);
}

body.mf-home-taste .stl-btn--ghost,
body.mf-v21-desk .stl-btn--ghost {
  border-color: rgba(255, 248, 223, .24) !important;
  background: rgba(255, 248, 223, .04) !important;
  color: var(--mf-v21-ink) !important;
}

body.mf-home-taste .mf-home-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

body.mf-home-taste .mf-home-quicklinks a,
body.mf-home-taste .mf-daily-tabs .mf-chip,
body.mf-home-taste .mf-home-chip-list span,
body.mf-home-taste .mf-matchup-team span {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  font-size: .72rem !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  text-wrap: balance;
}

body.mf-home-taste .mf-home-chip-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
  height: auto !important;
  min-height: 0 !important;
}

body.mf-home-taste .mf-home-chip-list span,
body.mf-home-taste .mf-matchup-team span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: .36rem .58rem !important;
  border: 1px solid rgba(245, 200, 66, .24) !important;
  border-radius: 999px !important;
  background: rgba(255, 248, 223, .045) !important;
  color: rgba(255, 248, 223, .88) !important;
  font-family: "JetBrains Mono", var(--f-mono), monospace !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

body.mf-home-taste .mf-daily-board,
body.mf-home-taste .mf-front-main,
body.mf-home-taste .mf-front-panel,
body.mf-home-taste .mf-home-command-card,
body.mf-home-taste .mf-home-route-card,
body.mf-home-taste .mf-pathway-preview,
body.mf-home-taste .mf-pathway-note,
body.mf-home-taste .mf-daily-tab-panel,
body.mf-v21-desk .intro-card {
  border: 1px solid rgba(255, 248, 223, .14) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(145deg, rgba(255, 248, 223, .075), rgba(255, 248, 223, .025)),
    rgba(3, 12, 8, .72) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

body.mf-home-taste .mf-home-hero-rail {
  align-self: stretch;
  padding: clamp(1rem, 2vw, 1.25rem) !important;
  backdrop-filter: blur(16px);
}

body.mf-home-taste .mf-home-feed-list a {
  border-radius: 8px !important;
  border-left: 4px solid var(--mf-v21-red);
}

body.mf-home-taste .mf-home-feed-list {
  display: grid !important;
  gap: .65rem !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.mf-home-taste .mf-home-live-item {
  display: grid !important;
  grid-template-columns: 4rem minmax(0, 1fr) !important;
  gap: .65rem !important;
  align-items: center !important;
  padding: .58rem !important;
  overflow: hidden !important;
}

body.mf-home-taste .mf-home-live-item img {
  width: 4rem !important;
  height: 3rem !important;
  border-radius: 6px !important;
  object-fit: cover !important;
}

body.mf-home-taste .mf-home-live-item span,
body.mf-home-taste .mf-home-live-item strong,
body.mf-home-taste .mf-home-live-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.mf-home-taste .mf-home-live-strip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .55rem !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.mf-home-taste .mf-home-live-dot {
  display: grid !important;
  grid-template-columns: 3.75rem minmax(0, 1fr) !important;
  gap: .5rem !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: .48rem !important;
  border: 1px solid rgba(255, 248, 223, .12) !important;
  border-radius: 8px !important;
  background: rgba(255, 248, 223, .035) !important;
  overflow: hidden !important;
}

body.mf-home-taste .mf-home-live-dot img {
  width: 3.75rem !important;
  height: 2.55rem !important;
  border-radius: 6px !important;
  object-fit: cover !important;
}

body.mf-home-taste .mf-home-live-dot b {
  min-width: 0;
  color: var(--mf-v21-ink);
  font-size: .76rem !important;
  line-height: 1.12 !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.mf-home-taste .mf-home-live-cadence {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .1rem;
  color: rgba(255, 248, 223, .68);
}

body.mf-home-taste .mf-daily-section {
  padding: clamp(2rem, 4.6vw, 4.1rem) 0 !important;
  border-top: 1px solid rgba(255, 248, 223, .08);
}

body.mf-home-taste .mf-daily-section:nth-of-type(even) {
  background:
    linear-gradient(90deg, rgba(205, 32, 44, .08), transparent 25%),
    rgba(255, 248, 223, .018);
}

body.mf-home-taste .stl-section-header-row {
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.mf-home-taste .stl-eyebrow,
body.mf-v21-desk .stl-eyebrow {
  color: var(--mf-v21-gold) !important;
  font-family: "JetBrains Mono", var(--f-mono), monospace;
  font-size: .72rem !important;
  font-weight: 800;
}

body.mf-home-taste .stl-subheading {
  max-width: 24ch;
  color: var(--mf-v21-ink);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem) !important;
  line-height: 1.02 !important;
  text-wrap: balance;
}

body.mf-home-taste .mf-section-intro,
body.mf-home-taste .stl-muted {
  color: var(--mf-v21-muted) !important;
}

body.mf-home-taste .mf-front-page-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .65fr) !important;
  gap: 1rem !important;
  align-items: stretch !important;
}

body.mf-home-taste #home-stl-soccer .mf-home-product-grid {
  display: grid !important;
  grid-template-columns: minmax(16rem, .82fr) minmax(22rem, 1.08fr) minmax(15rem, .68fr) !important;
  gap: 1rem !important;
  align-items: start !important;
}

body.mf-home-taste #home-player-tracker .mf-home-product-grid {
  display: grid !important;
  grid-template-columns: minmax(17rem, .78fr) minmax(0, 1.22fr) !important;
  gap: 1rem !important;
  align-items: start !important;
}

body.mf-home-taste #mf-match-center-preview {
  display: block !important;
}

body.mf-home-taste .mf-home-route-grid,
body.mf-home-taste .mf-pathway-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .72rem !important;
}

body.mf-home-taste .mf-home-route-card,
body.mf-home-taste .mf-pathway-card {
  padding: .95rem !important;
}

body.mf-home-taste .mf-home-route-card h3,
body.mf-home-taste .mf-pathway-preview h3,
body.mf-home-taste .mf-home-command-card h3,
body.mf-home-taste .mf-front-main h3,
body.mf-home-taste .mf-front-panel h3 {
  color: var(--mf-v21-ink) !important;
  font-size: clamp(1rem, 1.25vw, 1.2rem) !important;
  line-height: 1.1 !important;
  text-wrap: balance;
}

body.mf-home-taste .mf-home-route-card p,
body.mf-home-taste .mf-pathway-preview p,
body.mf-home-taste .mf-home-command-card p,
body.mf-home-taste .mf-front-main p,
body.mf-home-taste .mf-front-panel p {
  color: rgba(255, 248, 223, .7) !important;
  font-size: .88rem !important;
  line-height: 1.45 !important;
}

body.mf-home-taste .mf-front-actions,
body.mf-home-taste .mf-pathway-actions,
body.mf-home-taste .mf-daily-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

body.mf-home-taste .mf-matchup-crest-board {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .55rem !important;
  height: auto !important;
  min-height: 0 !important;
  padding: .65rem !important;
  border-radius: 8px !important;
}

body.mf-home-taste .mf-matchup-team {
  display: grid !important;
  justify-items: center !important;
  gap: .35rem !important;
  min-width: 5.6rem !important;
  max-width: 8.5rem !important;
}

body.mf-home-taste .mf-matchup-team__logo,
body.mf-home-taste .mf-matchup-logo-fallback {
  width: clamp(3rem, 6vw, 4.25rem) !important;
  height: clamp(3rem, 6vw, 4.25rem) !important;
}

body.mf-home-taste .mf-player-feature-photo,
body.mf-home-taste .mf-player-feature-photo img,
body.mf-home-taste .mf-pathway-card img {
  height: auto !important;
  max-height: 260px !important;
}

body.mf-home-taste .mf-player-feature-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px !important;
}

body.mf-home-taste .mf-player-feature-photo img,
body.mf-home-taste .mf-pathway-card img {
  width: 100% !important;
  object-fit: cover !important;
}

body.mf-home-taste .mf-pathway-card--logo img {
  width: 4rem !important;
  height: 4rem !important;
  object-fit: contain !important;
}

body.mf-home-taste .mf-daily-ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 248, 223, .12);
  border-bottom: 1px solid rgba(255, 248, 223, .12);
  background: rgba(0, 0, 0, .34);
}

body.mf-v21-desk .stl-city-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(22rem, 52vh, 34rem);
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 200, 66, .18);
}

body.mf-v21-desk .stl-city-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 19, 12, .18), rgba(205, 32, 44, .2)),
    linear-gradient(180deg, transparent 58%, rgba(5, 8, 6, .88));
}

body.mf-v21-desk .stl-city-hero .stl-container {
  position: relative;
  z-index: 1;
}

body.mf-v21-desk .stl-heading,
body.mf-v21-desk .mf-unified-hero-title {
  max-width: 13ch;
  color: var(--mf-v21-ink);
  font-size: clamp(2.2rem, 4.8vw, 4.6rem) !important;
  line-height: .94 !important;
  text-wrap: balance;
}

body.mf-v21-desk .mf-unified-hero-copy,
body.mf-v21-desk .stl-muted {
  max-width: 45rem;
  color: rgba(255, 248, 223, .78) !important;
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.55;
}

body.mf-v21-desk .stl-section {
  padding: clamp(2rem, 4.5vw, 4rem) 0;
  background:
    linear-gradient(90deg, rgba(5, 122, 67, .12), transparent 30%),
    #06100b;
}

body.mf-v21-desk .intro-card {
  display: flex;
  min-height: 13.5rem;
  flex-direction: column;
  gap: .65rem;
  padding: 1rem !important;
}

body.mf-v21-desk .intro-card-title {
  margin: 0;
  color: var(--mf-v21-ink);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.08;
  text-wrap: balance;
}

body.mf-v21-desk .intro-card-desc {
  color: rgba(255, 248, 223, .7);
  font-size: .9rem;
  line-height: 1.48;
}

body.mf-v21-desk .intro-card .stl-btn {
  width: fit-content;
  margin-top: auto;
  border-radius: 8px !important;
}

body.mf-v21-desk .grid-3 {
  align-items: stretch;
}

body.mf-v21-desk .form-control {
  min-height: 2.75rem;
  border: 1px solid rgba(255, 248, 223, .18);
  border-radius: 8px;
  background: rgba(0, 0, 0, .32);
  color: var(--mf-v21-ink);
}

body.mf-v21-desk .form-control::placeholder {
  color: rgba(255, 248, 223, .48);
}

body.mf-v21-desk .mf-directory-filter-row .stl-btn {
  border-radius: 8px !important;
}

@media (max-width: 1120px) {
  body.mf-home-taste #home-stl-soccer .mf-home-product-grid,
  body.mf-home-taste #home-player-tracker .mf-home-product-grid,
  body.mf-home-taste .mf-front-page-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  body.mf-home-taste .mf-home-hero-grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  body.mf-home-taste .mf-hero-title-streamlined,
  body.mf-v21-desk .stl-heading,
  body.mf-v21-desk .mf-unified-hero-title {
    max-width: 12ch;
    font-size: clamp(2.1rem, 12vw, 3.35rem) !important;
  }

  body.mf-home-taste .mf-home-route-grid,
  body.mf-home-taste .mf-pathway-grid {
    grid-template-columns: 1fr !important;
  }

  body.mf-home-taste .stl-section-header-row {
    align-items: start;
  }
}

@media (max-width: 560px) {
  body.mf-home-taste .mf-daily-hero {
    padding-top: 1.6rem !important;
  }

  body.mf-home-taste .mf-daily-actions .stl-btn,
  body.mf-v21-desk .hero-ctas .stl-btn {
    width: 100%;
    justify-content: center;
  }
}
