.receptacle {
  overflow-y: auto;
  height: 100%;
}
.container {
  position: relative;
  z-index: 98;
  height: 100%;
  display: inline-block;
  cursor: pointer;
  .itemTab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    height: 100%;
    transition: all 0.3s;
    color: var(--easyv-text-4);
  }
  &:hover {
    .itemTab {
      color: var(--easyv-text-3);
      background: linear-gradient(0deg, rgba(107, 111, 130, 0.57), rgba(107, 111, 130, 0.57)), #3d404c;
    }
    .list {
      display: block;
      box-shadow: 5px 5px 32px rgba(0, 0, 0, 0.3);
    }
  }

  :global(.iconfont) {
    font-size: 24px;
  }
}

.list {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  background: var(--easyv-background-6);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  width: 352 + 17px; // 17px为windows下滚动条宽度
  max-height: 376px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 10px 5px;
  color: #999;
  &::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    display: block;
  }
  &::-webkit-scrollbar-thumb {
    background: #24262e;
  }
  &::-webkit-scrollbar-track {
    background: transparent;
  }
}

.nodata {
  text-align: center;
  padding: 20px;
}

.classifyBox {
  width: 100%;
  height: 360px;
  display: flex;
  overflow: hidden;
  .classify {
    width: 80px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #24262e;
    .item {
      height: 60px;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: color 0.3s;
      &:hover {
        color: #2491f7;
      }
    }
    .classify_list {
      flex: 1;
      .active {
        background: #2491f7;
        color: #fff;
      }
    }
    .link {
      height: 40px;
    }
  }
  .subclassification {
    width: 115px;
    height: 100%;
    background: #181b25;
    overflow-y: auto;
    .subItem {
      height: 48px;
      padding: 0 20px;
      text-align: left;
      line-height: 48px;
      color: #999;
      transition: color 0.3s;
      &:hover {
        color: #fafafa;
      }
      span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .subActive {
      color: #fafafa;
      background-color: #3a89fe;
    }
  }
  .classifiedContent {
    border-left: 1px solid #131621;
    padding: 4px 7px;
    width: 345px;
    flex: 1;
    .contentItem {
      .title {
        font-weight: 500;
        font-size: 12px;
        line-height: 20px;
        color: #fafafa;
        text-align: left;
        padding-left: 4px;
        padding-top: 12px;
        padding-bottom: 8px;
        max-width: 300px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .containerList {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        .containerItem {
          width: 100px;
          margin: 0 5px 6px 5px;
          .cover {
            width: 100px;
            height: 60px;
            background-color: #181926;
            // border: 1px solid transparent;
            transition: border 0.3s;
            :global {
              .easyv-image {
                height: 100%;
                width: 100%;
              }
              .easyv-image-img-placeholder {
                background-color: #24262e;
              }
            }
            img {
              object-fit: contain;
              width: 100%;
              height: 100%;
            }
          }
          span {
            font-size: 12px;
            line-height: 14px;
            text-align: center;
            color: #999999;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-top: 4px;
            display: inline-block;
            transition: color 0.3s;
          }
          &:hover {
            .cover {
              border-color: #2491f7;
            }
            span {
              color: #fff;
            }
          }
          position: relative;

          &::after {
            content: none;
            background: linear-gradient(117.21deg, #007ff4 17.16%, #7ebdfc 96.93%), #ffffff;
            box-shadow: inset 1px 1px 2px rgba(233, 242, 255, 0.25);
            width: 28px;
            height: 16px;
            border-radius: 0 0 0 2px;
            position: absolute;
            font-size: 10px;
            text-align: center;
            line-height: 16px;
            color: #fff;
            right: 0;
            top: 0;
          }
        }
        .edition_3 {
          &::after {
            content: '尊享';
          }
        }
        .edition_2 {
          &::after {
            content: '高级';
          }
        }
      }
      .open {
        text-align: right;
        line-height: 20px;
        color: #3a89fe;
        margin-right: 5px;
      }
      &:last-child {
        .open {
          margin-bottom: 12px;
        }
      }
    }
  }
}

.emptySimple {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  & > span {
    margin-top: 5px;
  }
}

.preview {
  :global {
    .easyv-popover-arrow {
      display: none !important;
    }

    .easyv-popover-inner {
      width: 247px;
      // height: 182px;
      background-color: #3e414c;
      box-shadow: 0px 4px 26px rgba(0, 0, 0, 0.55);
      border-radius: 0;
    }

    .easyv-popover-title {
      color: #ffffff;
      border-bottom: unset;
      min-height: 20px;
      line-height: 20px;
      padding: 8px;
    }

    .easyv-popover-inner-content {
      padding: 0 8px 8px;
    }
  }
}

.content {
  width: 231px;
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  :global {
    .easyv-image {
      width: 100%;
    }
    .easyv-image-img {
      max-height: 138px;
      object-fit: contain;
    }
  }
}
