@import url("/assets/css/mofutbol-title-scale.css?v=20261129titles1");

/* Owner-requested public typography and density pass, October 20, 2026.
 * Existing MoFutbol fonts, colors, imagery, chrome and controls remain authoritative.
 * Public page shells and named components only; known account/editor bodies excluded.
 * This source is appended to the current shared density delivery assets. */

html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content {
  --type-hero:clamp(1.5rem,1.9vw,2rem);
  --type-section:clamp(1.08rem,1.35vw,1.3rem);
  --type-card:clamp(.95rem,1.1vw,1.05rem);
  --space-section:clamp(1rem,1.7vw,1.5rem);
  --space-section-tight:clamp(.8rem,1.35vw,1.15rem);
  --space-card:clamp(.75rem,1.2vw,1rem);
  --space-card-lg:clamp(.85rem,1.4vw,1.1rem);
  --space-hero:clamp(1rem,1.7vw,1.5rem);
  --space-gap:clamp(.5rem,1vw,.85rem);
  --space-gap-lg:clamp(.75rem,1.4vw,1.1rem);
  --mf-page-title-size:clamp(1.5rem,1.9vw,2rem);
  --mf-section-title-size:clamp(1.08rem,1.35vw,1.3rem);
  --mf-shell-section-space:clamp(1rem,1.7vw,1.5rem);
  --mf-compact-hero-padding:clamp(1rem,1.7vw,1.5rem);
}

html:root body:is(.mf-system-home,.mf-system-stl,.mf-articles-page,.mf-visual-page,.mf-match-center-page,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page,.mf-diaspora-layout:not(.mf-player-tracker-golden):not(.mf-tracker-map-page)) main#main-content {
  font-size:15px;
}

/* Page headlines: preserve the existing family, case and color. */
html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content#main-content#main-content#main-content :is(h1,.mf-unified-hero-title,.mf-core-title,.vd-title) {
  font-size:clamp(24px,1.9vw,32px)!important;
  line-height:1.08!important;
  margin-block:0 .5rem!important;
}

/* Actual section headings, rather than every h2 nested inside a widget. */
html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content#main-content :is(
  .stl-section-header-row h2,.mf-newsroom-head h2,.mf-newsroom-head--stories h2,
  .mf-v22-section-heading h2,.mf-v22-section-head h2,.mf-home-watch-row__head h2,
  .mf-home-diaspora-network__head h2,.vd-section-head h2,.vd-heading,
  .mf-d2-section-head h2,.mf-d2-network h2,.mf-mc-section-head h2,
  .mf-hs-section-head h2,.mf-hscl-section-head h2,.mf-hscl-section__head h2,.usx-section-head h2,
  .desk-head h2,.mf-world-section-head h2,.mf-core-section-head h2,
  .mf-section-head h2,.mf-block-head h2,.section-header h2,.mc-section-head h2,
  .mf-editorial-head h2,.mf-hub-head h2,.mf-people-directory header h2
) {
  font-size:clamp(18px,1.35vw,21px)!important;
  line-height:1.2!important;
}

/* Compact only established public content sections, keeping their grids intact. */
html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content#main-content :is(
  .stl-section,.mf-v22-section,.mf-d2-section,.mf-mc-section,.vd-section,
  .mf-hs-section,.usx-section,.desk-section,
  .mf-world-section,.mf-core-section,.mf-people-directory,.mf-map-workspace,.mf-hub-section
) {
  padding-block:clamp(1rem,1.7vw,1.5rem)!important;
}

html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content#main-content :is(
  .six-home-hero__inner,.mf-v22-hero__grid,.stl-city-hero>.stl-container,
  .vd-hero__grid,.mf-mc-hero>.mf-mc-shell,.mf-d2-intro,.mf-map-hero,
  .mf-hs-hero__grid,.mf-hscl-hero__grid,.usx-hero__inner,
  .desk-hero>.desk-shell,.mf-worldcup-hero__inner,.mf-people-hero__grid,.mf-core-hero__grid
) {
  padding-block:clamp(1rem,1.7vw,1.5rem)!important;
}

/* Card copy is reduced without scaling compact scoreboards, map labels or tables. */
html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content#main-content :is(
  .mf-newsroom-story h3,.mf-home-watch-row h3,.mf-newsroom-player-card h3,
  .stl-news-card h3,.stl-hub-college-card h3,.stl-pathway-card h3,
  .mf-pro-club-card h3,.mf-d2-card h3,.vd-card h3,.mf-v22-media-card h3,
  .mf-home-spotlight-card h3,.mf-surface-card h3,.mf-info-card h3,.mf-route-card h3,
  .mf-hub-card h3,.mf-platform-card h3,.mf-media-card h3,.story-card-title,
  .article-card h3,.desk-lanes>article h3,.mf-people-card h3
) {
  font-size:clamp(15px,1.1vw,17px)!important;
  line-height:1.3!important;
}

html:root body:is(.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-visual-page,.mf-match-center-page,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page) main#main-content#main-content :is(
  .mf-d2-intro,.mf-d2-card,.mf-d2-network,.mf-newsroom-story,
  .stl-news-card,.mf-pro-club-card,.vd-card,.mf-mc-hero
) p:not([class*="eyebrow"]):not([class*="kicker"]):not([class*="meta"]):not([class*="status"]) {
  font-size:15px!important;
  line-height:1.5!important;
}

/* Diaspora magazine uses its current shared component structure. */
html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-nav {
  padding-block:.375rem;
  gap:.375rem;
}
html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-nav a {
  font-size:.8125rem;
  padding-inline:.625rem;
}
html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-section-head {
  gap:.625rem;
  margin-bottom:.75rem;
}
html:root body.mf-diaspora-layout main#main-content#main-content :is(.mf-d2-card__body,.mf-d2-person,.mf-d2-network,.mf-d2-contribute) {
  padding:clamp(.75rem,1.25vw,1rem);
}
html:root body.mf-diaspora-layout main#main-content#main-content :is(.mf-d2-editorial,.mf-d2-people,.mf-d2-network) {
  gap:clamp(.75rem,1.35vw,1rem);
}
html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-person {
  grid-template-columns:88px minmax(0,1fr);
  gap:.75rem;
}
html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-person--text {
  grid-template-columns:1fr;
}
html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-person__links {
  gap:.75rem;
  margin-top:.375rem;
}

/* Preserve reading and entry sizes; font reduction must not make forms zoom. */
html:root body:is(.mf-articles-page,.mf-article-page) main#main-content :is(.mf-article-body,.article-body,.article-content,.mf-article-content) {
  font-size:16px;
  line-height:1.65;
}
html:root body:is(.mf-articles-page,.mf-article-page) main#main-content :is(.mf-article-body,.article-body,.article-content,.mf-article-content) p {
  font-size:16px!important;
  line-height:1.65!important;
}
html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content#main-content#main-content#main-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
  font-size:16px!important;
  min-block-size:44px!important;
}
html:root body:is(.mf-page-shell,.mf-system-page,.mf-system-home,.mf-system-stl,.mf-diaspora-layout,.mf-articles-page,.mf-article-page,.mf-media-page,.mf-multimedia-page,.mf-visual-page,.mf-match-center-page,.mf-system-world,.usx-page,.mf-afcon-page,.mf-hbcu-page,.mf-africa-page):not(:is(.mf-contributor-login-route,.mf-contributor-login-v2,.mf-contributor-dashboard,.mf-editor-page,.mf-editorial-console,.mf-admin-page,.mf-account-page,.mf-login-page)) main#main-content :is(button,.site-button,.stl-btn,.mf-v22-button,.mf-people-button,summary) {
  min-block-size:44px!important;
}

@media(max-width:700px) {
  html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-intro {
    gap:.75rem;
  }
  html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-person {
    grid-template-columns:72px minmax(0,1fr);
    gap:.625rem;
  }
  html:root body.mf-diaspora-layout main#main-content#main-content .mf-d2-person--text {
    grid-template-columns:1fr;
  }
}

html:root main .has-official-card-media{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:center!important;gap:8px!important}
html:root main .has-official-card-photo{grid-template-columns:120px minmax(0,1fr)!important}
html:root main .mf-official-card-logo{display:block!important;width:40px!important;height:40px!important;object-fit:contain!important;max-width:40px!important;margin:0!important}
html:root main .mf-official-card-photo{display:block!important;width:120px!important;height:76px!important;object-fit:cover!important;margin:0!important}
html:root main .mf-official-card-copy{min-width:0}
html:root main .mf-official-card-copy>:is(span,strong,small){display:block;white-space:normal}
html:root main .mf-official-card-copy>:is(strong,small){margin-top:3px}
html:root main .mf-official-card-credit{display:block;font-size:12px;line-height:1.4;margin-top:6px}
@media(max-width:480px){html:root main .has-official-card-photo{grid-template-columns:88px minmax(0,1fr)!important}html:root main .mf-official-card-photo{width:88px!important;height:56px!important}}

/* Owner-important typography resolves older unlayered route overrides. */
@layer mfOwnerCompact {
  html:root main .has-official-card-media{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:8px!important}
  html:root main .has-official-card-photo{grid-template-columns:120px minmax(0,1fr)!important}
  html:root main .mf-official-card-photo{width:120px!important;height:76px!important;max-width:120px!important}
  html:root main .mf-official-card-copy>:is(span,strong,small){display:block!important}
  @media(max-width:480px){html:root main .has-official-card-photo{grid-template-columns:88px minmax(0,1fr)!important}html:root main .mf-official-card-photo{width:88px!important;height:56px!important;max-width:88px!important}}
  html:root body:is(.mf-page-shell,.mf-system-page,.mf-brand-v2) main :is(h1,.mf-unified-hero-title,.mf-core-title,.vd-title){font-size:clamp(24px,1.9vw,32px)!important;line-height:1.12!important}
  html:root body:is(.mf-page-shell,.mf-system-page,.mf-brand-v2) main h2:not(#mf-hscl-2026-board h2):not(.mf-map-panel h2):not(.mf-map-detail h2):not(.mf-ptg-map h2){font-size:clamp(18px,1.35vw,21px)!important;line-height:1.2!important}
  html:root body:is(.mf-page-shell,.mf-system-page,.mf-brand-v2) main h3:not(#mf-hscl-2026-board h3):not(.mf-map-panel h3):not(.mf-map-detail h3):not(.mf-ptg-map h3){font-size:clamp(15px,1.1vw,17px)!important;line-height:1.3!important}
  html:root body:is(.mf-page-shell,.mf-system-page,.mf-brand-v2) main :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-block-size:44px!important}
}
