/* TradePlexa 3.3.14 — Rendimento totale / Performance mese / Trade totali.
   Video decorativo approvato. Nessuna logica delle statistiche viene alterata.
   Il ritaglio del video rimuove la cornice interna: l'unico bordo è della card.
*/
html body #dashboard #refHeroV67.tp68-hero-grid .tp68-summary-card.tp3313-summary-motion {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 1px solid #6b59df !important;
  border-left-color: #20bce8 !important;
  border-right-color: #a52ff3 !important;
  background-color: #06152d !important;
  background-image: url('../assets/media/tp3314-summary-neon-poster.webp') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  box-sizing: border-box !important;
}
/* Original pseudo elements remain hidden to avoid a second inner frame. */
html body #dashboard #refHeroV67.tp68-hero-grid .tp68-summary-card.tp3313-summary-motion::before,
html body #dashboard #refHeroV67.tp68-hero-grid .tp68-summary-card.tp3313-summary-motion::after {
  display: none !important;
  content: none !important;
}
/* Video fills the WHOLE card behind the live text; never takes up grid space. */
html body #dashboard #refHeroV67.tp68-hero-grid .tp68-summary-card.tp3313-summary-motion > video.tp3313-summary-video {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  z-index: 0 !important;
  pointer-events: none !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  opacity: 1 !important;
}
/* Soft darkening above the glow keeps labels and numbers readable. */
html body #dashboard #refHeroV67.tp68-hero-grid .tp68-summary-card.tp3313-summary-motion > .tp3313-summary-shade {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, rgba(1, 8, 27, .22) 0%, rgba(1, 8, 27, .22) 57%, rgba(1, 8, 27, .05) 100%) !important;
  pointer-events: none !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}
html body #dashboard #refHeroV67.tp68-hero-grid .tp68-summary-card.tp3313-summary-motion > .tp68-summary-stat {
  position: relative !important;
  z-index: 3 !important;
  min-width: 0 !important;
}
/* Static background for people who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html body #dashboard #refHeroV67.tp68-hero-grid .tp68-summary-card.tp3313-summary-motion > video.tp3313-summary-video {
    display: none !important;
  }
}
