/* TradePlexa 3.3.25 — WIN RATE: metallic anthracite, single native border.
   Do not alter grid/card dimensions or any other KPI.
   Text, percent, icon remain live HTML; video is purely decorative. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion {
  isolation:isolate!important;
  overflow:hidden!important;
  --kpi-color:#d5dade;
  --kpi-border:#9aa5ad;
  --kpi-glow:rgba(192,199,207,.14);
  --kpi-icon-bg:rgba(64,69,74,.48);
  --kpi-icon:#e0e4e7;
  background-color:#0d1115!important;
  background-image:url('../assets/media/tp3325-winrate-anthracite-metal-poster.webp')!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  border-color:#929da5!important; /* only recolor the existing border; never add a second one */
}
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion > video.tp3325-winrate-background {
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:none!important;min-width:0!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;z-index:0!important;
  pointer-events:none!important;opacity:1!important;
}
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion > .ref-icon,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion label,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion strong,
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion > small {
  position:relative!important;z-index:2!important;
}
/* Recolor the existing icon, rather than baking a second icon into the video. */
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion .ref-icon {
  border-color:#a9b3ba!important;
  background:linear-gradient(155deg,rgba(95,101,106,.56),rgba(10,13,17,.90))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 16px rgba(188,196,202,.16)!important;
}
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion .ref-icon img.tp329-original-icon {
  filter:grayscale(1) saturate(0) brightness(1.13) contrast(1.04) drop-shadow(0 0 3px rgba(211,216,220,.3))!important;
}
html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion strong.ref-positive {
  color:#d4dbe0!important;text-shadow:0 0 11px rgba(203,209,213,.17)!important;
}
/* Keep red negative-value semantics if the win rate is below 50%. */
@media (prefers-reduced-motion:reduce) {
  html body #dashboard.page.premium-dashboard .tp68-kpi-strip #refKpis .ref-kpi.ref-card-winrate.tp3325-winrate-motion > video.tp3325-winrate-background {display:none!important;}
}
