/* FFV6_STATIC_PAGE_LAYER_GUARD_V1 */
/* Prevent legacy SPA/route layers from showing under static public pages. */

html[data-ffv6-static-page="gallery"] #ff-route-page-host,
html[data-ffv6-static-page="gallery"] #ff-route-host,
html[data-ffv6-static-page="gallery"] #ff-router-host,
html[data-ffv6-static-page="gallery"] #ff-ar-host,
html[data-ffv6-static-page="gallery"] #ff-app-route-host,
html[data-ffv6-static-page="gallery"] .ff-route-page-host,
html[data-ffv6-static-page="gallery"] .ff-router-host,
html[data-ffv6-static-page="gallery"] [data-ff-route-host],
html[data-ffv6-static-page="gallery"] [data-route-host],
html[data-ffv6-static-page="gallery"] .ff-route-layer,
html[data-ffv6-static-page="gallery"] .ff-route-overlay,
html[data-ffv6-static-page="gallery"] .ff-legacy-route-layer,

html[data-ffv6-static-page="affiliates"] #ff-route-page-host,
html[data-ffv6-static-page="affiliates"] #ff-route-host,
html[data-ffv6-static-page="affiliates"] #ff-router-host,
html[data-ffv6-static-page="affiliates"] #ff-ar-host,
html[data-ffv6-static-page="affiliates"] #ff-app-route-host,
html[data-ffv6-static-page="affiliates"] .ff-route-page-host,
html[data-ffv6-static-page="affiliates"] .ff-router-host,
html[data-ffv6-static-page="affiliates"] [data-ff-route-host],
html[data-ffv6-static-page="affiliates"] [data-route-host],
html[data-ffv6-static-page="affiliates"] .ff-route-layer,
html[data-ffv6-static-page="affiliates"] .ff-route-overlay,
html[data-ffv6-static-page="affiliates"] .ff-legacy-route-layer,

html[data-ffv6-static-page="affiliate-submit"] #ff-route-page-host,
html[data-ffv6-static-page="affiliate-submit"] #ff-route-host,
html[data-ffv6-static-page="affiliate-submit"] #ff-router-host,
html[data-ffv6-static-page="affiliate-submit"] #ff-ar-host,
html[data-ffv6-static-page="affiliate-submit"] #ff-app-route-host,
html[data-ffv6-static-page="affiliate-submit"] .ff-route-page-host,
html[data-ffv6-static-page="affiliate-submit"] .ff-router-host,
html[data-ffv6-static-page="affiliate-submit"] [data-ff-route-host],
html[data-ffv6-static-page="affiliate-submit"] [data-route-host],
html[data-ffv6-static-page="affiliate-submit"] .ff-route-layer,
html[data-ffv6-static-page="affiliate-submit"] .ff-route-overlay,
html[data-ffv6-static-page="affiliate-submit"] .ff-legacy-route-layer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Affiliate page specifically: suppress old support-page remnants if a legacy layer injects them. */
html[data-ffv6-static-page="affiliates"] #support-surface-panel,
html[data-ffv6-static-page="affiliates"] #support-page,
html[data-ffv6-static-page="affiliates"] #ff-support-center,
html[data-ffv6-static-page="affiliates"] #ff-support-center-v1,
html[data-ffv6-static-page="affiliates"] .ff-support-center,
html[data-ffv6-static-page="affiliates"] .ff-support-page,
html[data-ffv6-static-page="affiliate-submit"] #support-surface-panel,
html[data-ffv6-static-page="affiliate-submit"] #support-page,
html[data-ffv6-static-page="affiliate-submit"] #ff-support-center,
html[data-ffv6-static-page="affiliate-submit"] #ff-support-center-v1,
html[data-ffv6-static-page="affiliate-submit"] .ff-support-center,
html[data-ffv6-static-page="affiliate-submit"] .ff-support-page {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
