/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-popover {
  position: absolute;
  display: inline-block;
  word-break: normal;
}
.nut-popover-arrow {
  position: absolute;
  width: scale-px(8px);
  height: scale-px(4px);
}
.nut-popover-arrow .nut-icon-ArrowRadius {
  position: absolute;
  color: var(--nutui-popover-content-background-color, #ffffff);
  width: scale-px(8px);
  height: scale-px(4px);
}
.nut-popover-arrow-top {
  bottom: scale-px(-4px);
}
.nut-popover-arrow-bottom {
  top: scale-px(-4px);
}
.nut-popover-arrow-left {
  right: scale-px(-6px);
  transform-origin: center top;
}
.nut-popover-arrow-left.nut-popover-arrow-left {
  top: 50%;
  transform: rotate(90deg) translateY(-50%);
}
.nut-popover-arrow-left.nut-popover-arrow-left-top {
  top: scale-px(16px);
  right: scale-px(-8px);
  transform: rotate(90deg) translateY(0%);
}
.nut-popover-arrow-left.nut-popover-arrow-left-bottom {
  top: auto;
  bottom: scale-px(16px);
  right: scale-px(-8px);
  transform: rotate(90deg) translateY(0%);
}
.nut-popover-arrow-right {
  transform-origin: center top;
}
.nut-popover-arrow-right.nut-popover-arrow-right {
  top: 50%;
  left: scale-px(-6px);
  transform: rotate(-90deg) translateY(-50%);
}
.nut-popover-arrow-right.nut-popover-arrow-right-top {
  top: scale-px(16px);
  left: scale-px(-8px);
  transform: rotate(-90deg) translateY(0%);
}
.nut-popover-arrow-right.nut-popover-arrow-right-bottom {
  bottom: scale-px(16px);
  left: scale-px(-8px);
  transform: rotate(-90deg) translateY(0%);
}
.nut-popover .nut-popover-content {
  position: absolute;
  background: var(--nutui-popover-content-background-color, #ffffff);
  border-radius: var(--nutui-popover-border-radius, var(--nutui-radius-s));
  font-size: var(--nutui-popover-font-size, var(--nutui-font-text));
  color: var(--nutui-popover-text-color, var(--nutui-color-text));
  line-height: scale-px(28px);
  /* #ifndef dynamic*/
  max-height: initial;
  overflow-y: initial;
  /* #endif */
}
.nut-popover .nut-popover-content-group {
  padding: 0 var(--nutui-popover-padding, var(--nutui-spacing-xl));
}
.nut-popover .nut-popover-content .nut-popover-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: scale-px(1px) solid var(--nutui-popover-divider-color, none);
  max-width: var(--nutui-popover-item-width, 160px);
  word-wrap: break-word;
}
.nut-popover .nut-popover-content .nut-popover-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.nut-popover .nut-popover-content .nut-popover-item-icon, .nut-popover .nut-popover-content .nut-popover-item-action-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--nutui-font-text-small);
  height: var(--nutui-font-text-small);
  font-size: var(--nutui-font-text-small);
}
.nut-popover .nut-popover-content .nut-popover-item-icon .nut-icon, .nut-popover .nut-popover-content .nut-popover-item-action-icon .nut-icon {
  width: var(--nutui-font-text-small);
  height: var(--nutui-font-text-small);
  font-size: var(--nutui-font-text-small);
}
.nut-popover .nut-popover-content .nut-popover-item-icon {
  margin-right: var(--nutui-spacing-xxs);
}
.nut-popover .nut-popover-content .nut-popover-item-name {
  width: calc(100% - scale-px(34px));
  word-break: keep-all;
  flex: 1;
}
.nut-popover .nut-popover-content .nut-popover-item-action-icon {
  color: var(--nutui-color-text);
  margin-left: var(--nutui-spacing-base);
}
.nut-popover .nut-popover-content .nut-popover-item.nut-popover-item-disabled {
  color: var(--nutui-popover-disable-color, var(--nutui-color-text-disabled));
  cursor: not-allowed;
}
.nut-popover .nut-popover-content .nut-popover-item.nut-popover-taroitem {
  display: flex;
}
.nut-popover .nut-popover-content-top .nut-popover-arrow-top {
  left: 50%;
  transform-origin: center left;
  transform: rotate(180deg) translateX(-50%);
}
.nut-popover .nut-popover-content-top-right {
  right: 0;
}
.nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right {
  right: scale-px(16px);
  bottom: scale-px(-3.5px);
  transform: rotate(180deg) translateX(0%);
}
.nut-popover .nut-popover-content-top-left {
  left: 0;
}
.nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left {
  left: scale-px(16px);
  bottom: scale-px(-3.5px);
  transform: rotate(180deg) translateX(0%);
}
.nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom {
  left: 50%;
  transform: translateX(-50%);
}
.nut-popover .nut-popover-content-bottom-right {
  right: 0;
}
.nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right {
  right: scale-px(16px);
  transform: translateX(0%);
}
.nut-popover .nut-popover-content-bottom-left {
  left: 0;
}
.nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left {
  left: scale-px(16px);
  transform: translateX(0%);
}
.nut-popover .nut-popover-content-left-bottom {
  bottom: 0;
}
.nut-popover .nut-popover-content-left-top {
  top: 0;
}
.nut-popover .nut-popover-content-right-bottom {
  bottom: 0;
}
.nut-popover .nut-popover-content-right-top {
  top: 0;
}

.nut-popover-dark {
  background: var(--nutui-popover-text-color, var(--nutui-color-text));
  color: var(--nutui-popover-content-background-color, #ffffff);
}
.nut-popover-dark .nut-popover-arrow .nut-icon-ArrowRadius {
  color: var(--nutui-popover-text-color, var(--nutui-color-text));
}
.nut-popover-dark .nut-popover-content {
  background: var(--nutui-popover-text-color, var(--nutui-color-text)) !important;
  color: var(--nutui-popover-content-background-color, #ffffff) !important;
}
.nut-popover-dark .nut-popover-content .nut-popover-item-action-icon {
  color: rgba(255, 255, 255, 0.8);
}

[dir=rtl] .nut-popover .nut-popover-content .nut-popover-item-name,
.nut-rtl .nut-popover .nut-popover-content .nut-popover-item-name {
  margin-left: 0;
  margin-right: scale-px(4px);
}
[dir=rtl] .nut-popover .nut-popover-content .nut-popover-item-action-icon,
.nut-rtl .nut-popover .nut-popover-content .nut-popover-item-action-icon {
  right: auto;
}
[dir=rtl] .nut-popover .nut-popover-content-top .nut-popover-arrow-top,
.nut-rtl .nut-popover .nut-popover-content-top .nut-popover-arrow-top {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
[dir=rtl] .nut-popover .nut-popover-content-top-right,
.nut-rtl .nut-popover .nut-popover-content-top-right {
  right: auto;
  left: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right,
.nut-rtl .nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right {
  right: auto;
  left: scale-px(16px);
}
[dir=rtl] .nut-popover .nut-popover-content-top-left,
.nut-rtl .nut-popover .nut-popover-content-top-left {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left,
.nut-rtl .nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left {
  left: auto;
  right: scale-px(16px);
}
[dir=rtl] .nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom,
.nut-rtl .nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-right,
.nut-rtl .nut-popover .nut-popover-content-bottom-right {
  right: auto;
  left: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right,
.nut-rtl .nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right {
  right: auto;
  left: scale-px(16px);
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-left,
.nut-rtl .nut-popover .nut-popover-content-bottom-left {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left,
.nut-rtl .nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left {
  left: auto;
  right: scale-px(16px);
}

.nut-popover-enter-from,
.nut-popover-leave-active {
  transform: scale(0.8);
  opacity: 0;
}

.nut-popover-enter-active {
  transition-timing-function: ease-out;
}

.nut-popover-leave-active {
  transition-timing-function: ease-in;
}

.nut-popover-content-bg {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 999;
}

[dir=rtl] .nut-popover-content-bg,
.nut-rtl .nut-popover-content-bg {
  left: auto;
  right: 0;
}

.nut-popover-wrapper {
  display: inline-block;
}

.nut-popover-content-copy {
  position: absolute;
  top: scale-px(-99999px);
}