/* TradePlexa 3.3.29 — RR medio: bronze/gold animated background.
   Video contains NO labels, numbers, icons or frame; these remain native HTML.
   Keep existing KPI dimensions and exactly ONE card border. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-motion {
  isolation:isolate!important;
  overflow:hidden!important;
  background-color:#201004!important;
  background-image:url('../assets/media/tp3329-rrmedio-bronze-motion-poster.webp')!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  /* Existing gold border is retained. Do not create any extra outline or inset frame. */
}
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-motion > video.tp3329-rrmean-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;
}
/* Existing label, live RR value, caption and icon must stay above the video. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-motion > .ref-icon,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-motion label,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-motion strong,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-motion > small {
  position:relative!important;
  z-index:2!important;
}
/* Disable old synthetic decoration, not the actual card border. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-motion::before,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis
.ref-kpi.ref-card-rrmean.tp3329-rrmean-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-rrmean.tp3329-rrmean-motion > video.tp3329-rrmean-background {
    display:none!important;
  }
}
