.family { background: #194f42; border-radius: 35rpx; color: white; min-height: 220rpx; padding: 35rpx; position: relative; overflow: hidden; } .family text, .family strong { display: block; position: relative; z-index: 2; } .family text { color: #a4d6b8; font-size: 23rpx; } .family strong { font-size: 32rpx; width: 55%; margin-top: 20rpx; } .family image { width: 270rpx; height: 205rpx; position: absolute; right: -5rpx; bottom: 0; } .add { font-weight: 800; color: #368764; } .pet { display: flex; align-items: center; gap: 22rpx; } .pet-avatar { width: 125rpx; height: 125rpx; flex: none; border-radius: 28rpx; background: #f1d2a3; display: grid; place-items: center; font-size: 63rpx; overflow: hidden; } .pet-avatar image { width: 100%; height: 100%; } .pet-info { display: flex; flex-direction: column; gap: 6rpx; flex: 1; } .pet-info strong { font-size: 32rpx; } .pet-info text { font-size: 23rpx; color: #8a9c90; } .arrow { font-size: 42rpx; color: #97a99d; } .add-button { margin-top: 25rpx; }