.scan-container {
  position: relative;
  width: 320rpx;
  height: 400rpx;
  margin: 40rpx auto;
}

.face-outline {
  width: 100%;
  height: 100%;
  border: 6rpx solid #e5e5e5;
  border-radius: 50% 50% 45% 45%;
  position: relative;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  left: 10rpx;
  right: 10rpx;
  height: 6rpx;
  background: linear-gradient(90deg, transparent, #E6508C, #DCB982, #E6508C, transparent);
  animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
  0% { top: 0; opacity: 0.5; }
  50% { opacity: 1; }
  100% { top: calc(100% - 6rpx); opacity: 0.5; }
}

.scan-hint {
  text-align: center;
  font-size: 26rpx;
  color: #666666;
  margin-bottom: 24rpx;
}

.scan-progress {
  text-align: center;
  background: #f0f9ff;
  padding: 16rpx 28rpx;
  border-radius: 24rpx;
  font-size: 26rpx;
  color: #006699;
  width: fit-content;
  margin: 0 auto;
}

.highlight {
  color: #E6508C;
  font-weight: 600;
}

.detected-tags {
  text-align: center;
  margin-top: 24rpx;
}

.detected-tag {
  background: #fdf2f8;
  border: 2rpx solid #E6508C;
  color: #E6508C;
  padding: 10rpx 24rpx;
  border-radius: 24rpx;
  font-size: 24rpx;
  display: inline-block;
  margin: 6rpx;
  animation: tagPulse 1s ease-in-out;
}

@keyframes tagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.btn-primary::after {
  border: none;
}
