/* TradePlexa 3.3.30 — Profit factor: purple soft animated background.
   No text, numbers, icons or border in the video.
   Keep existing card geometry and original purple border: no double border. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion {
  isolation:isolate!important;
  overflow:hidden!important;
  background-color:#16091f!important;
  background-image:url('../assets/media/tp3330-profit-factor-purple-soft-poster.webp')!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  /* Existing purple border is intentionally preserved. */
}
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion > video.tp3330-profitfactor-background {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:inherit!important;
  object-fit:cover!important;
  object-position:center center!important;
  pointer-events:none!important;
  z-index:0!important;
  opacity:1!important;
}
/* 3.3.31 FIX: the second direct-child div uses display:contents in the
   existing dashboard layout. It creates no stacking box, so assigning z-index
   to that div did NOT raise its children above the absolutely-positioned video.
   Target the actual live label and strong elements instead, as in RR medio.
   Do not change layout, text color, font size, or the original single border. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion > .ref-icon,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion label,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion strong,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion > small {
  position:relative!important;
  z-index:2!important;
}
/* Remove ONLY synthetic decoration, not the real card border. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion::before,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion::after {
  content:none!important;
  display:none!important;
}
@media (prefers-reduced-motion:reduce) {
  html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
  .ref-kpi.ref-card-profitfactor.tp3330-profitfactor-motion > video.tp3330-profitfactor-background {
    display:none!important;
  }
}
