/* Recovery layer: preserve full Oct 24 consolidated QA features and apply approved frosted VISA lettering only. */
/* VISA Network Style: large frosted lettering ONLY, no black rectangle/backing.
   A locally bundled alpha-only mask preserves the approved wordmark shape.
   The background color comes entirely from the existing selected card palette.
   Applies to shared preview, Finance cards, Wallet stack and active carousel. */
.u2-real-card.u2-bg-network.u2-network-visa .u2-glass-v{
  position:absolute!important;
  left:auto!important;
  top:auto!important;
  right:-14%!important;
  bottom:-5%!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:816 / 275!important;
  padding:0!important;
  margin:0!important;
  font-size:0!important;
  line-height:0!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  border:0!important;
  border-radius:0!important;
  -webkit-text-stroke:0 transparent!important;
  text-shadow:none!important;
  transform:none!important;
  opacity:.88!important;
  background:linear-gradient(147deg,
    rgba(255,255,255,.16) 0%,
    rgba(245,255,255,.51) 20%,
    rgba(233,247,249,.27) 46%,
    rgba(255,255,255,.58) 72%,
    rgba(207,239,237,.22) 100%)!important;
  -webkit-mask-image:url('visa-frosted-wordmark-mask.png')!important;
  mask-image:url('visa-frosted-wordmark-mask.png')!important;
  -webkit-mask-size:100% 100%!important;
  mask-size:100% 100%!important;
  -webkit-mask-position:center!important;
  mask-position:center!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
  filter:drop-shadow(0 1px 1px rgba(255,255,255,.11))!important;
  pointer-events:none!important;
  user-select:none!important;
}
/* On previously saved light card colors, let the same frosted cutout have contrast. */
.u2-real-card.u2-bg-network.u2-network-visa:is(.u2-real-ivory,.u2-real-silver,.u2-real-pearl,.u2-real-champagne,.u2-real-sage,.u2-real-mist-blue,.u2-real-dusty-rose,.u2-real-taupe) .u2-glass-v{
  background:linear-gradient(155deg,rgba(24,54,66,.17),rgba(23,52,63,.43) 28%,rgba(11,47,54,.16) 53%,rgba(18,55,62,.42) 76%,rgba(24,58,64,.23))!important;
}
