/*
 * v2.3.48.291 — PHP-native homepage performance isolation.
 * Keeps the approved visual components while removing React layout/runtime work.
 */
body.n9-dashboard-page{min-width:0;overflow-x:clip;background:#050b16;color:#e7edf7}
body.n9-dashboard-page .n9-home-php-main{display:block;min-width:0;min-height:60vh;padding:1px 0 34px}
body.n9-dashboard-page .n9-runtime-platform-sections{display:block;min-width:0}
body.n9-dashboard-page .n9-runtime-platform-sections>.n9-platform-sections{width:min(1480px,calc(100% - 48px));max-width:none;margin-inline:auto;padding-inline:34px;box-sizing:border-box}
body.n9-dashboard-page .n9-site-header{position:sticky;top:0;z-index:60}
body.admin-bar.n9-dashboard-page .n9-site-header{top:32px}
body.n9-dashboard-page .n9-home-fallback{width:min(1180px,calc(100% - 32px));margin:28px auto;padding:28px;border:1px solid #1f2c42;border-radius:20px;background:#071222}
body.n9-dashboard-page .n9-home-fallback h1{margin:0;font-family:"Space Grotesk",sans-serif;font-size:clamp(1.5rem,3vw,2.4rem)}

/* Heavy content beneath the first prediction carousel is skipped until it is
   near the viewport. Intrinsic sizes keep scrollbar/layout geometry stable. */
@supports(content-visibility:auto){
  body.n9-dashboard-page .n9-home-posthero>.n9-posthero-section:nth-child(n+2){content-visibility:auto;contain-intrinsic-size:auto 760px}
  body.n9-dashboard-page .n9-runtime-platform-sections .n9-platform-section{content-visibility:auto;contain-intrinsic-size:auto 520px}
  body.n9-dashboard-page .n9-site-footer{content-visibility:auto;contain-intrinsic-size:auto 720px}
}

/* Reserve predictable media boxes before lazy crests enter the viewport. */
body.n9-dashboard-page .n9-posthero-match-team img{aspect-ratio:1/1}
body.n9-dashboard-page .n9-platform-grid-news img{height:auto;aspect-ratio:16/9;object-fit:cover}

html[data-n9-theme="light"] body.n9-dashboard-page{background:#f4f7fb;color:#162238}

@media(max-width:1280px){
  body.n9-dashboard-page .n9-runtime-platform-sections>.n9-platform-sections{width:min(100% - 24px,1180px);padding-inline:0}
}
@media(max-width:782px){body.admin-bar.n9-dashboard-page .n9-site-header{top:46px}}
@media(max-width:760px){
  body.n9-dashboard-page .n9-home-php-main{padding-bottom:18px}
  body.n9-dashboard-page .n9-runtime-platform-sections>.n9-platform-sections{width:calc(100% - 18px)}
}

