/* MYJUVE Fantasy v0.4.73 — prevent narrow-to-full-width layout flash.
   Newspaper initially renders shortcodes in a centered 1000px-ish content column.
   Older JS used requestAnimationFrame after DOMContentLoaded to calculate offsets,
   making every page visibly expand after first paint. Pure CSS computes the viewport
   breakout during initial style/layout, with no state, network, timeout or opacity changes.
   Scoped strictly to the seven public MYJUVE Fantasy pages. */
body:has(.mjfv-app[data-mjfv-page]) .mjfv-app:is(
 [data-mjfv-page="main"],
 [data-mjfv-page="team"],
 [data-mjfv-page="transfers"],
 [data-mjfv-page="tournaments"],
 [data-mjfv-page="club"],
 [data-mjfv-page="rules"],
 [data-mjfv-page="issues"]
){
 box-sizing:border-box!important;
 display:block!important;
 position:relative!important;
 left:calc(50% - 50vw)!important;
 right:auto!important;
 width:100vw!important;
 min-width:0!important;
 max-width:none!important;
 margin-left:0!important;
 margin-right:0!important;
 transform:none!important;
 /* Any old JS-calculated viewport dimensions must not affect layout. */
 --mjfvt-edge-offset:0px;
 --mjfvt-edge-width:100%;
 --mjft-edge-offset:0px;
 --mjft-edge-width:100%;
}
/* Avoid a horizontal scrollbar from 100vw rounding and browser scrollbars,
   without touching unrelated WordPress pages. */
html:has(.mjfv-app[data-mjfv-page]),
body:has(.mjfv-app[data-mjfv-page]){
 overflow-x:clip;
}
@supports not (overflow:clip){
 html:has(.mjfv-app[data-mjfv-page]),
 body:has(.mjfv-app[data-mjfv-page]){overflow-x:hidden;}
}
/* Mobile retains the exact same full-bleed rule: do not revert to theme width. */
@media(max-width:700px){
 body:has(.mjfv-app[data-mjfv-page]) .mjfv-app[data-mjfv-page]{
  left:calc(50% - 50vw)!important;
  width:100vw!important;
  max-width:none!important;
 }
}
