:root,
page {
  --nut-scale-f: 1;
  --nut-scale-font: var(--nut-scale-f, 1);
  --nut-scale-icon: var(--nut-scale-f, 1);
  --nut-icon-height: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
  --nut-icon-width: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
  --nut-icon-line-height: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
}

/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-avatar {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--nutui-avatar-normal-width, calc(40px * var(--nut-scale-f, 1)));
  height: var(--nutui-avatar-normal-height, calc(40px * var(--nut-scale-f, 1)));
}
.nut-avatar-round {
  border-radius: calc(999px * var(--nut-scale-f, 1));
  overflow: hidden;
}
.nut-avatar-square {
  border-radius: var(--nutui-avatar-square, calc(5px * var(--nut-scale-f, 1)));
}
.nut-avatar-first-child {
  margin-left: 0;
  margin-right: 0;
}
.nut-avatar-img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
}
.nut-avatar-icon {
  background-size: 100% 100%;
}
.nut-avatar-text {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nut-avatar-large {
  width: var(--nutui-avatar-large-width, calc(60px * var(--nut-scale-f, 1)));
  height: var(--nutui-avatar-large-height, calc(60px * var(--nut-scale-f, 1)));
}
.nut-avatar-large-img {
  width: var(--nutui-avatar-large-width, calc(60px * var(--nut-scale-f, 1)));
  height: var(--nutui-avatar-large-height, calc(60px * var(--nut-scale-f, 1)));
}
.nut-avatar-large-icon {
  width: var(--nutui-avatar-large-width, calc(60px * var(--nut-scale-f, 1)));
  height: var(--nutui-avatar-large-height, calc(60px * var(--nut-scale-f, 1)));
}
.nut-avatar-large-text {
  width: var(--nutui-avatar-large-width, calc(60px * var(--nut-scale-f, 1)));
  height: var(--nutui-avatar-large-height, calc(60px * var(--nut-scale-f, 1)));
}
.nut-avatar-small {
  width: var(--nutui-avatar-small-width, calc(32px * var(--nut-scale-f, 1)));
  height: var(--nutui-avatar-small-height, calc(32px * var(--nut-scale-f, 1)));
}
.nut-avatar-small-text {
  width: var(--nutui-avatar-small-width, calc(32px * var(--nut-scale-f, 1)));
  height: var(--nutui-avatar-small-height, calc(32px * var(--nut-scale-f, 1)));
}