.xiaokuDetail {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  img {
    -moz-user-select: none;
    /* 火狐浏览器 */
    -webkit-user-drag: none;
    /* 谷歌、Safari和Opera浏览器 */
    -webkit-user-select: none;
    /* 谷歌、Safari和Opera浏览器 */
    -ms-user-select: none;
    /* IE10+浏览器 */
    user-select: none;
    /* 通用 */
    -webkit-touch-callout: none;
    /* iOS Safari */
  }
}
.detailContainer {
  flex: 1 auto;
  background: #ffffff;
  border-radius: 20px;
  :global {
    .n-tabs-tab-pad {
      width: 40px !important;
    }

    .n-tabs-nav {
      padding: 22px 32px 18px;
    }

    .n-tabs-tab {
      color: #8b8d98;
      font-size: max(20px, 15Px);
      padding-top: 8px;
      padding-bottom: 8px;
      line-height: 28px;

      &.n-tabs-tab--active {
        font-weight: 600 !important;
        color: #131415 !important;
      }
    }

    .n-tabs-tab__label {
      z-index: 10;
    }

    .n-tabs-bar {
      height: 10px;
      background: linear-gradient(
        90deg,
        #77bbff 0%,
        rgba(163, 231, 255, 0.22) 100%
      );
      z-index: 0;
      bottom: 8px;
      transition-duration: 0.03;
    }

    .n-tabs-bar--disabled {
      background-color: #fff !important;
    }

    .n-tab-pane {
      padding-top: 0px !important;
    }
  }

  .inputSearch {
    width: 480px;
    :global {
      .n-button {
        padding: 0 24px;
        // font-size: max(16px, 13px) !important;
        color: #ffffff;
        --n-border: none !important;
        background: linear-gradient(312deg, #1b7af8 0%, #3cbbff 100%);
      }
      .n-input__input-el {
        // font-size: max(16px, 13px) !important;
        color: #000000;
      }

      .n-input__placeholder {
        // font-size: max(16px, 13px) !important;
      }
    }
  }

  .searchSection {
    position: relative;
    margin: 0 32px;
  }

  .searchSectionHide {
    visibility: hidden;
    opacity: 0;
    height: 0 !important;
    line-height: 0 !important;
  }
}

.searchGroup {
  background: #f5f6f7;
  border-radius: 12px;
  padding: 20px 24px 30px;
  position: relative;

  &.searchGroupOnly {
    padding-bottom: 6px;
  }

  .hideItem {
    visibility: hidden;
    opacity: 0;
    height: 0 !important;
    line-height: 0 !important;
  }

  .btnType {
    gap: 0px 24px !important;

    :global {
      .n-button {
        height: 37px;
        padding: 0 24px;
        font-size: max(18px, 13px);
        color: rgba(0, 0, 0, 0.6);

        &.n-button--primary-type {
          font-weight: bold;
          color: #fff;
        }
      }
    }
  }

  :global {
    .n-form {
      position: relative;
    }

    .n-form-item {
      .n-form-item-label,  .n-form-item-blank {
        min-height: auto !important;
      }
      .n-form-item-label__text {
        font-size: max(17px, 13Px);
        // cursor: pointer;
        display: flex;
        align-items: center;
        padding: 4px 0;
        font-weight: 600;
        color: #131415;
        line-height: 24px;
      }

      .n-button {
        height: 32px;
        font-size: max(17px, 13Px);
        border-radius: 8px;
        color: rgba(0, 0, 0, 0.6);
      }

      .n-button--primary-type {
        color: #131415;
        background-color: #d2ecff !important;
      }
    }

    .n-form-item-feedback-wrapper {
      min-height: 14px;
    }
  }

  .moreSearch {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: max(17px, 12Px);
    color: rgba(0,0,0,0.6);
    cursor: pointer;
    background: url('./images/search-bg.png') no-repeat center;
    background-size: contain;
    width: 222px;
    line-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;

    &::after {
      content: '';
      display: inline-block;
      width: 12px;
      height: 12px;
      background: url('./images/icon-arrow-down.svg') no-repeat center;
      background-size: contain;
      margin-left: 6px;
      margin-top: -1px;
    }

    &:hover {
      color: #1677FF;
      &::after {
        background-image: url('./images/icon-arrow-up.svg');
      }
    }

    &.activeSearch::after {
      transform: rotate(180deg);
      // background-image: url('./images/icon-arrow-up.svg');
    }
  }
}

.teachingModal {
  width: 1100px;
}

.spaceSection {
  width: 100%;
  transition: 1s all ease-in;

  & > div {
    height: 34px !important;
    display: flex !important;
    align-items: center;
    line-height: var(--n-blank-height);
  }
}

.collapseWrap {
  width: 98%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.collaoseGroup {
  position: absolute;
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.collaoseBtn {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.collaoseBtn.isStart {
  transform: rotate(-180deg);
}

.collapsSection {
  // padding-top: 10px;
}

.isHidden {
  overflow: hidden;
  transition: 1s all ease-in;
}

.hideButton {
  visibility: hidden;
  height: 0 !important;
  line-height: 0 !important;
}

.popSelect {
  font-size: 16px;
  width: 200px;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
  border-radius: 11px;
  --n-option-height: 34px;

  :global {
    .n-base-select-option__content {
      width: 80% !important;
    }
  }
}

.spaceSection2 {
  width: 100%;
  transition: 1s all ease-in;
  padding-right: 40px;

  & > div {
    // height: 34Px !important;
    // display: flex !important;
    // align-items: center;
    &:last-child {
      // margin-left: -12Px;
    }
  }
}

.textBtn {
  background: transparent;
  border-radius: 8px;
  padding: 4px 20px;
  font-size: max(17px, 13Px);
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 500;
  line-height: 24px;

  .iconArrow {
    display: inline-block;
    margin-left: 8px;
    width: 8px;
    height: 5px;
    background: url('../content-information/images/icon-arrow2.png') no-repeat
      center center / contain;
    transform: rotate(180deg);
  }

  &:hover,
  &.textBtnActive {
    background: #d2ecff;
    font-weight: 500;
    color: #131415;
  }

  &:hover {
    .iconArrow {
      transform: rotate(0deg);
    }
  }
}

.sectionContainer {
  padding: 24px 32px;
  gap: 24px;
  flex: 1 auto;
  display: flex;
  flex-wrap: wrap;

  &.noSearchContainer {
    padding-top: 0;
  }
}

.wrapList {
  min-height: 100%;
  height: calc(100vh - 64px - 64px - 56px - 80px);

  &.wrapListEmpty {
    :global {
      .n-scrollbar-content {
        min-height: 100%;
        display: flex;
        flex-direction: column;
      }
    }
    .empty {
      height: 100%;
      flex: 1 auto;
    }
  }
  .loadingSection {
    min-height: calc(100vh - 64px - 64px - 56px - 80px);
  }
  .loadingSectionEmpty {
    display: flex;
    flex-direction: column;
  }
}

.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  // height: 50vh;
  // height: 100%;
}

.loadingWrap {
  display: flex;
  justify-content: center;
  min-height: 80px;
  position: relative;

  &.showLoading {
    height: 0;
    opacity: 0;
    min-height: 0;
    display: none;
  }
}

.sectionItem {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  border-radius: 12px;
  width: 402px;
  background: #f5f6f7;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid #f7f8f9;
  box-sizing: border-box;
  &:hover {
    transform: scale(1.01);
    border: 2px solid rgba(0, 122, 254, 1);
    transition: all .2s ease;
  }

  .img {
    width: 60px;
    height: 60px;
    background: #ddf2ff;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    img {
      width: inherit;
      height: inherit;
    }
  }

  .infos {
    display: flex;
    flex-direction: column;

    .topName {
      font-weight: 600;
      font-size: max(20px, 14Px);
      color: #131415;
      line-height: 28px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 270px;

      span {
        color: #198cfe;
        font-weight: bold;
      }
    }

    .types {
      display: flex;
      padding-top: 4px;
      & > div {
        margin-right: 4px;
      }

      .hot {
        background: #fff3f3;
        border-radius: 3px;
        border: 1px solid rgba(254, 67, 67, 0.5);
        font-size: max(12px, 11Px);
        color: #fe4343;
        padding: 0 5px;
        line-height: 14Px;
        display: flex;
        align-items: center;
        &::before {
          content: '';
          display: inline-block;
          width: 10px;
          height: 12px;
          background: url('./images/icon-fire.png') no-repeat center;
          background-size: contain;
          margin-right: 3px;
          vertical-align: middle;
        }
        span {
          vertical-align: text-top;
        }
      }
      .sing,
      .song {
        background: #ffffff;
        font-size: max(12px, 11Px);
        border-radius: 3px;
        line-height: 16Px;
        padding: 0 4px;
        line-height: 1;
        display: flex;
        align-items: center;
      }
      .sing {
        border: 1px solid rgba(243, 130, 26, 0.5);
        color: #f3821a;
      }
      .song {
        border: 1px solid rgba(21, 178, 253, 0.5);
        color: #00adff;
      }
      .author {
        color: #777777;
        font-size: max(14px, 12Px);
        display: flex;
        align-items: center;
        line-height: 1;
      }
    }
  }
}
