/* 滑块弹窗统一样式，全站统一 */
.puzzle-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f8;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    width:372px;
}
#puzzleCanvas {
    display: block;
    width: 100%;
    height: auto;
    touch-action: none;
    cursor: default;
}
.puzzle-piece-float {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(79, 106, 245, 0.30);
    cursor: grab;
    touch-action: none;
    will-change: transform;
    z-index: 10;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
}
.slider-track-wrap {
    margin-top: 16px;
}
.slider-track {
    position: relative;
    width: 100%;
    height: 48px;
    background: #f1f5fb;
    border-radius: 24px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.track-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    border-radius: 24px;
    background: linear-gradient(90deg, #a5b8fc, #6d8aff);
    pointer-events: none;
}
.track-fill.success {
    background: linear-gradient(90deg, #34d399, #22d3ee);
}
.track-fill.error {
    background: linear-gradient(90deg, #f87171, #fb7185);
}
.track-hint {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    color: #8a9ab8;
    pointer-events: none;
    white-space: nowrap;
}
.track-hint.hidden {
    opacity: 0;
}
.slider-thumb {
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(79, 106, 245, 0.25);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.slider-thumb.success {
    background: #34d399;
}
.slider-thumb.error {
    background: #f87171;
}
.captcha-status {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    min-height: 22px;
}
.captcha-status.idle {color:#8a9ab8;}
.captcha-status.success {color:#059669;}
.captcha-status.error {color:#dc2626;}


.gap-mark {
    position: absolute;
    top: 45px;
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.35);
    border: 2px dashed rgba(255,255,0.9);
    border-radius: 3px;
    box-sizing: border-box;
}
.puzzle-wrapper {
    position: relative;
    overflow: hidden;
}