.#{$picker-prefix-cls} {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: $picker-zindex + 1;
  width: 100%;
  background: $white;
  border-top-left-radius: .2rem;
  border-top-right-radius: .2rem;
  &-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: $picker-zindex;
    overflow: auto;
  }
  &-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: $picker-zindex;
    height: 100%;
    background-color: $picker-mask-bg-color;

    &-hidden {
      display: none;
    }
  }

  &-header {
    position: relative;
    display: flex;
    align-items: center;
    height: $picker-header-height;
    border-bottom: $border-width-sm solid $gray-12;

    &__item {
      padding: 0 $picker-header-item-padding-x;
      font-size: $picker-header-item-font-size;
      color: $gray-11;

      &--right {
        color: $brand-primary;
        text-align: right;
      }
    }

    &__title {
      flex: 1;
      font-size: $picker-header-title-font-size;
      color: $black;
      font-weight: bolder;
      text-align: center;
    }
    &-tip {
      position: absolute;
      top: $picker-header-height;
      left: 0;
      z-index: 4;
      display: flex;
      align-items: center;
      width: 100%;
      height: $picker-header-height;
      font-size: $picker-header-item-font-size;
      line-height: $picker-header-height;
      background: rgba(255, 255, 255, .6);

      div {
        flex: 1;
      }
    }
  }

  &-body {
    display: flex;
    align-items: center;

    .#{$picker-prefix-cls}-col {
      position: relative;
      display: block;
      width: 100%;
      height: 5 * $picker-col-item-height;
      overflow: hidden;

      &__content {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        margin: 2 * $picker-col-item-height auto;
      }

      &__wheelWrapper {
        display: flex;
      }

      &__wheel {
        flex: 1;
        height: 4rem;
        overflow: hidden;
      }

      &__item {
        height: $picker-col-item-height;
        padding-right: .2rem;
        font-size: $picker-col-item-font-size;
        line-height: $picker-col-item-height;
        color: $gray-11;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        touch-action: manipulation;
        transition: all $transition-time;

        &--selected {
          font-size: $picker-col-item-selected-font-size;
          color: $brand-primary;
          /* & + .#{$picker-prefix-cls}-col__item {
            transform: scaleY(.9);

            & + .#{$picker-prefix-cls}-col__item {
              transform: scaleY(.8);
            }
          } */
        }

        /* &--pre-one {
          transform: scaleY(.9);
        }

        &--pre-two {
          transform: scaleY(.8);
        } */
      }

      &__mask {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        width: 100%;
        height: 100%;
        margin: 0 auto;
        pointer-events: none;
        background-image: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.6)
          ),
          linear-gradient(
            to top,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.6)
          );
        background-repeat: no-repeat;
        background-position: top, bottom;
        background-size: 100% 2 * $picker-col-item-height;
      }

      &__indicator {
        position: absolute;
        top: 2 * $picker-col-item-height;
        left: 0;
        z-index: 3;
        width: 100%;
        height: $picker-col-item-height;
        line-height: $picker-col-item-height;
        text-align: right;
        pointer-events: none;
        border-top: 1px solid $gray-12;
        border-bottom: 1px solid $gray-12;
        span {
          display: inline-block;
          width: 25%;
          margin-left: auto;
          font-size: 0.28rem;
          text-align: center;
        }
      }

      /* &:first-child {
        .#{$picker-prefix-cls}-col__item {
          &--selected {
            & + .#{$picker-prefix-cls}-col__item {
              transform: scaleY(.9) skewX(10deg);

              & + .#{$picker-prefix-cls}-col__item {
                transform: scaleY(.8) skewX(20deg);
              }
            }
          }

          &--pre-one {
            transform: scaleY(.9) skewX(-10deg);
          }

          &--pre-two {
            transform: scaleY(.8) skewX(-20deg);
          }
        }
      } */

      /* &:last-child {
        .#{$picker-prefix-cls}-col__item {
          &--selected {
            & + .#{$picker-prefix-cls}-col__item {
              transform: scaleY(.9) skewX(-10deg);

              & + .#{$picker-prefix-cls}-col__item {
                transform: scaleY(.8) skewX(-20deg);
              }
            }
          }

          &--pre-one {
            transform: scaleY(.9) skewX(10deg);
          }

          &--pre-two {
            transform: scaleY(.8) skewX(20deg);
          }
        }
      } */
    }
  }
}

.picker-col,
.picker-body .picker-col__wheel {
  overflow: auto;
  touch-action: none;
}