: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-horizontal-items {
  float: left;
}
.nut-horizontal-items li {
  display: block;
  float: left;
  color: var(--nutui-color-title, #1a1a1a);
  background: var(--nutui-color-background-overlay, #ffffff);
  padding: calc(10px * var(--nut-scale-f, 1));
  margin-right: calc(20px * var(--nut-scale-f, 1));
}
.nut-horizontal-items:after {
  content: "";
  display: block;
  visibility: hidden;
  clear: both;
}

.nut-vertical-items li {
  display: block;
  color: var(--nutui-color-title, #1a1a1a);
  background: var(--nutui-color-background-overlay, #ffffff);
  border-radius: calc(7px * var(--nut-scale-f, 1));
  box-shadow: 0 calc(1px * var(--nut-scale-f, 1)) calc(6px * var(--nut-scale-f, 1)) 0 rgb(237, 238, 241);
  margin-top: calc(20px * var(--nut-scale-f, 1));
  padding: calc(14px * var(--nut-scale-f, 1)) calc(15px * var(--nut-scale-f, 1));
  font-size: var(--nutui-font-size-m, calc(13px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  line-height: calc(18px * var(--nut-scale-f, 1));
  font-family: PingFangSC;
  font-weight: 500;
}

.nut-virtualList-box {
  /* #ifndef dynamic*/
  overflow: auto;
  /* #endif */
}

.nut-virtuallist {
  width: 100%;
  overflow: scroll;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.nut-virtuallist-phantom {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: -1;
}
.nut-virtuallist-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.nut-virtuallist-item {
  overflow: hidden;
  margin: var(--nutui-list-item-margin, 0 0 calc(10px * var(--nut-scale-f, 1)) 0);
}

[dir=rtl] .nut-horizontal-items,
.nut-rtl .nut-horizontal-items {
  float: right;
}
[dir=rtl] .nut-horizontal-items li,
.nut-rtl .nut-horizontal-items li {
  float: right;
  margin-right: 0;
  margin-left: calc(20px * var(--nut-scale-f, 1));
}