/* PATCH_ID: b2c_i18n_no_flash_en_first_20260709 */

/*
  Very short i18n no-flash mask.
  Lower z-index than product/artist transition layers.
*/

html.b2c-i18n-locking body::before,
html.b2c-i18n-route-lock body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9000;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.78), rgba(255,255,255,.50) 34%, rgba(255,255,255,.16) 72%),
    linear-gradient(135deg, rgba(245,232,255,.08), rgba(255,234,246,.10));
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  opacity:1;
}

/* Do not cover stronger custom transitions */
body:has(.b2c-artist-gate-v3)::before,
body:has(.b2c-artist-gate)::before,
body:has(.b2c-product-morph-float)::before,
body:has(.b2c-product-morph-veil)::before{
  display:none !important;
}

/* Hide only during the first tiny language boot window */
html.b2c-i18n-locking #root,
html.b2c-i18n-locking #app{
  opacity:.001;
}

html.b2c-i18n-ready #root,
html.b2c-i18n-ready #app{
  opacity:1;
}

/* Route mask is visual only; do not move layout. */
html.b2c-i18n-route-lock #root,
html.b2c-i18n-route-lock #app{
  filter:blur(.4px);
}
