.hanzo-active-pcard {
    background: #fff;
    border-radius: 5px;
    padding: 2px 5px 12px;
    font-family:PingFangSC-Medium,PingFang SC;

    &__vendor {
        text-align: center;
        color: #767474;
        font-size: 14px;
        font-weight: 400;
        line-height: 30px;
    }

    &__cover {
        width: 100%;
        height: 194px;
        overflow: hidden;
        position: relative;

        &--con {
            width: 100%;
            height: 100%;
            position: absolute;
            top:0;
            left: 0;
        }

        &--poster {
            position: absolute;
            top:0;
            left:0;
            width: 100%;
            height: 100%;
        }

        &--btn {
            width: 50px;
            height: 50px;
            background-image: url(https://front-xps-cdn.xsyx.xyz/2020/07/09/965696947.png);
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -25px;
            margin-top: -25px;
        }

        &--video {
            // width: 100%;
            height: 194px;
            outline: none;
            background: #000;
        }
    }

    &__title {
        color: #323233;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        margin: 10px 0;
        padding: 0 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        font-family:PingFangSC-Medium,PingFang SC;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    &__rules {
        border-top: 1px solid #E9EAEB;
        font-size: 13px;
        padding: 10px 0;
        margin: 0 5px;

        div {
            display: flex;
            justify-content: space-between;

            p {
                margin: 2px 0;
                color: #FF7320;
            }
        }
    }

    & &__saled {
        font-size: 13px;
        font-weight: 500;
        color: #323233;

        &--count {
            color: #E60012;
        }
    }

    & &__presell {
        color: #0C9DFF;
        padding-left: 24px;
        background-image: url(https://front-xps-cdn.xsyx.xyz/2020/07/08/1125361763.png);
        background-position: left center;
        background-repeat: no-repeat;
        background-size: contain;
        margin: 0; 
        padding-top: 2px;
        padding-bottom: 2px;
    }

    &__operate {
        display: flex;
        justify-content: space-between;
        font-size: 20px;
        padding: 0 5px;

        &--price {
            padding-top: 8px;

            &_big {
                font-size: 30px;
                font-weight: 500;
                color: #E60012;
                line-height: 30px
            }

            &_small {
                font-size: 14px;
                font-weight: 400;
                color: #999999;
                line-height: 20px;
                text-decoration: line-through;
            }
        }

        &--btn {
            display: inline-block;
            width: 145px;
            height: 42px;
            border-radius: 21px;
            font-size: 14px;
            text-align: center;
            color: rgba(255, 255, 255, 1);

            &--active {
                background: #E60012;
                line-height: 42px;
                font-weight: 500;
            }

            &--soldout {
                background: #D8D8D8;
                line-height: 42px;
                font-weight: 500;
            }

            &--waiting {
                background: #0C9DFF;
                position: relative;
            }
        }
    }

    &__wait-text {
        display: inline-block;
        font-weight: 500;      
        font-size: 14px;
        padding-top: 2px;
        line-height: 20px;
        font-family:PingFangSC-Medium,PingFang SC;

        &--hasnowantBuy {
            line-height: 42px;
            padding-top: 0px;
        }
    }

    &__wait-tag {
        display: inline-block;
        line-height: 14px;
        font-size: 11px;
        background: #89C9FF;
        padding: 0 16px;
        border-radius: 7px;
        color: #0791EF;
    }

    &__count-tag {
        width: 22px;
        height: 22px;
        position: absolute;
        top: -10px;
        right: 0px;
        color: #0C9DFF;
        border-radius: 50%;
        border: 1px solid #0C9DFF;
        background: #fff;
        line-height: 22px;
        text-align: center;
    }

    &__live {
        height: 28px;
        border-radius: 0 14px 14px 0;
        position: absolute;
        z-index: 11;
        top: 12px;
        left: 0;
        font-size:14px;
        font-weight:500;
        color:#fff;
        line-height: 28px;
        padding: 0 10px;
        text-align: center;

        &--upcoming {
            background: #20B45F;
        }

        &--living {
            background: #E60012;
            padding: 0 36px 0 9px;

            .living-gif {
                position: absolute;
                right: 10px;
                top: 0;
                width: 28px;
                height: 28px;
                background: url(https://front-xps-cdn.xsyx.xyz/2019/11/08/599993345.png) no-repeat;
                background-size: auto 100%;
                animation: livegif 1.6s steps(8, end) infinite;
                background-position-x: 0%;
            }
        }

        &--finish {
            background: rgba(25,25,25,0.62);
        }
    }
}

@keyframes livegif {
    to {
      background-position-x: 100%;
    }
  }