/* 滑块拼图验证码（PC 与 H5 共用） */
.slc {
    width: 300px;
    max-width: 100%;
    margin: 10px 0;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.slc-stage {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid #ddd;
    background: #f7f7f7;
}

.slc-bg {
    display: block;
    width: 100%;
    height: auto;
}

.slc-piece {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    cursor: move;
    /* 用内阴影描边而不是 border，避免 1px 边框把拼图块整体推开导致对不上缺口 */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 2px 6px rgba(0, 0, 0, .35);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: none;
}

.slc-track {
    position: relative;
    height: 40px;
    width: 100%;
    margin-top: 8px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.slc-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #e8f4ff;
}

.slc-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 100%;
    background: #fff;
    border-right: 1px solid #ddd;
    text-align: center;
    line-height: 38px;
    cursor: pointer;
    z-index: 4;
}

.slc-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-left-color: #888;
    margin-left: 6px;
}

.slc-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 38px;
    text-align: center;
    color: #999;
    pointer-events: none;
}

.slc-loading .slc-text {
    color: #999;
}

.slc-pass .slc-track {
    border-color: #67c23a;
    background: #f0f9eb;
}

.slc-pass .slc-btn {
    background: #67c23a;
    border-right-color: #67c23a;
}

.slc-pass .slc-arrow {
    border-left-color: #fff;
}

.slc-pass .slc-text {
    color: #67c23a;
}

.slc-fail .slc-track {
    border-color: #f56c6c;
    background: #fef0f0;
}

.slc-fail .slc-text {
    color: #f56c6c;
}

.slc-error .slc-track {
    border-color: #f56c6c;
}

.slc-error .slc-text {
    color: #f56c6c;
}
