/* Dashboard Win Rate point-of-view (D5). Instead of a text chip, the team whose
   win rate is shown is identified by a FAINT team-logo watermark in the Win Rate
   cell. When the Team filter is "Any team" the card rotates through each team's
   win rate (the logo + numbers change). Anti-vibe compliant: no edge stripe - the
   signal is the watermark logo + the existing rate-good/mid/bad number color. */

#winRateCell {
  overflow: hidden;
}

/* Team-logo watermark, right-anchored like the imagery in the other cells. Bigger and
   raised off the corner, inset enough that its per-team glow (--pov-glow, set in
   paintWinRate from teamGlowColor) isn't clipped by the cell's overflow:hidden. */
.pov-team-logo {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 152px;
  height: 152px;
  object-fit: contain;
  opacity: 0.26;
  filter: drop-shadow(0 0 16px rgba(var(--pov-glow, 29, 233, 255), 0.55)) saturate(1.12);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

#winRateCell > :not(.pov-team-logo) {
  position: relative;
  z-index: 1;
}

/* Trophy: left-anchor the decorative art to the cell's left edge (the default
   right-anchored position collides with the team-logo watermark). Keep it on a
   low z-index so it sits behind the Win Rate eyebrow + number rather than
   overlapping them. */
#winRateCell .trophy-art {
  right: auto;
  left: 0;
  z-index: 0;
}

/* Legacy text chip - hidden if any stale markup remains. */
.pov-cycle { display: none !important; }
