.contact-human-shield-card {
    --qq-radius-panel: 16px;
    --qq-radius-tag: 999px;
    --qq-radius-control: 12px;
    --qq-ink: #202b29;
    --qq-copy-light: #65716c;
    margin: 28px 0;
    background: #ffffff;
    border: 1px solid #dbe5e0;
    border-radius: var(--qq-radius-panel);
    padding: 24px 28px;
    box-shadow: 0 4px 20px -4px rgba(7, 24, 15, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contact-human-shield-card.is-verified {
    background: #f7fbf8;
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 6px 22px -6px rgba(34, 197, 94, 0.16);
}

.contact-human-shield-card.is-shaking {
    border-color: #ef4444;
    animation: qqShieldShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes qqShieldShake {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(4px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
    40%, 60% { transform: translate3d(6px, 0, 0); }
}

.human-shield-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef3f0;
}

.human-shield-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.human-shield-pill,
.human-shield-badge {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 6px !important;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1b4b32;
    background: rgba(91, 191, 140, 0.14);
    border: 1px solid rgba(91, 191, 140, 0.28);
    border-radius: var(--qq-radius-tag);
    padding: 4px 10px;
    line-height: 1.2;
}

.human-shield-pill .pill-icon,
.human-shield-pill svg,
.human-shield-badge svg {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    height: 15px !important;
    width: auto !important;
}

.human-shield-pill .pill-text,
.human-shield-badge .pill-text {
    display: inline-block !important;
    white-space: nowrap !important;
}

.human-shield-refresh-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 5px !important;
    font-size: 0.74rem;
    font-weight: 650;
    color: #3b6652;
    background: #ffffff;
    border: 1px solid #d4dfd9;
    border-radius: var(--qq-radius-tag);
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    line-height: 1.2;
}

.human-shield-refresh-btn .btn-icon,
.human-shield-refresh-btn svg {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.human-shield-refresh-btn .btn-text {
    display: inline-block !important;
    white-space: nowrap !important;
}

.human-shield-refresh-btn:hover {
    background: #f0f7f3;
    color: #166534;
    border-color: #5bbf8c;
    transform: translateY(-1px);
}

.human-shield-refresh-btn:active .refresh-icon {
    transform: rotate(180deg);
}

.human-shield-refresh-btn .refresh-icon {
    transition: transform 0.3s ease;
}

.human-shield-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    transition: color 0.2s ease;
}

.shield-dot-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.human-shield-status.is-verified {
    color: #166534;
}

.human-shield-status.is-verified .shield-dot-status {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.human-shield-intro {
    margin-bottom: 18px;
}

.human-shield-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--qq-ink);
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.required-target-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: var(--qq-radius-tag);
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    font-weight: 800;
    font-size: 0.94rem;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08);
}

.required-target-badge .target-emoji {
    font-size: 1.15rem;
    line-height: 1;
}

.required-target-badge .target-name {
    text-decoration: underline decoration-amber-400 decoration-2 underline-offset-2;
}

.human-shield-subtitle {
    margin: 6px 0 0 0;
    font-size: 0.82rem;
    color: var(--qq-copy-light);
    line-height: 1.45;
}

/* TRACK */
.human-slider-track {
    position: relative;
    height: 64px;
    background: #eef3f0;
    border: 1px solid #d4e0d9;
    border-radius: var(--qq-radius-control);
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: inset 0 2px 5px rgba(7, 24, 15, 0.04);
}

.human-slider-rail {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(90deg, rgba(53, 86, 73, 0.22) 0, rgba(53, 86, 73, 0.22) 6px, transparent 6px, transparent 12px);
    pointer-events: none;
    z-index: 0;
}

.human-slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(91, 191, 140, 0.2) 0%, rgba(91, 191, 140, 0.42) 100%);
    pointer-events: none;
    transition: width 0.05s linear;
    z-index: 1;
}

.contact-human-shield-card.is-verified .human-slider-progress {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.48) 100%);
}

/* DRAGGABLE HANDLE */
.human-slider-handle {
    position: absolute;
    left: 6px;
    top: 6px;
    width: 50px;
    height: 50px;
    border-radius: var(--qq-radius-control);
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(10, 33, 23, 0.14), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1.5px solid #c9d8d1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 4;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    transition: box-shadow 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
    outline: none;
}

.human-slider-handle:hover {
    box-shadow: 0 4px 14px rgba(10, 33, 23, 0.2);
    border-color: #5bbf8c;
}

.human-slider-handle:focus-visible {
    box-shadow: 0 0 0 3px rgba(91, 191, 140, 0.45);
}

.human-slider-handle.is-dragging {
    cursor: grabbing;
    box-shadow: 0 6px 18px rgba(10, 33, 23, 0.25);
    transform: scale(1.05);
}

.human-slider-handle.is-locked {
    cursor: default;
    background: #16a34a;
    border-color: #15803d;
    box-shadow: 0 3px 12px rgba(22, 163, 74, 0.35);
    transform: none;
}

.cookie-token {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.human-slider-handle:hover .cookie-token {
    transform: rotate(12deg) scale(1.05);
}

.verified-token {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tokenPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tokenPop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* 3 TARGET SLOTS CONTAINER */
.human-slider-slots {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.human-slider-slot {
    position: absolute;
    top: 6px;
    width: 50px;
    height: 50px;
    border-radius: var(--qq-radius-control);
    border: 1.5px dashed #9cb5a8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(10, 33, 23, 0.04);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slot-pos-0 {
    left: calc(38% - 25px);
}

.slot-pos-1 {
    left: calc(68% - 25px);
}

.slot-pos-2 {
    left: calc(96% - 50px);
}

.slot-target-emoji {
    font-size: 1.55rem;
    line-height: 1;
    display: block;
    transition: transform 0.15s ease;
}

.human-slider-slot.is-slot-hover {
    background: #edf8f2;
    border-color: #16a34a;
    border-style: solid;
    transform: scale(1.12);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.32);
}

.human-slider-slot.is-slot-hover .slot-target-emoji {
    transform: scale(1.15);
}

.human-slider-slot.is-matched {
    background: #16a34a;
    border-color: #15803d;
    border-style: solid;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.human-slider-slot.is-faded {
    opacity: 0.25;
    transform: scale(0.92);
}

.human-slider-slot.is-guided {
    animation: slotGuidancePulse 1.2s infinite ease-in-out;
    border-color: #f59e0b;
    border-style: solid;
    background: #fffbeb;
}

@keyframes slotGuidancePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); transform: scale(1.1); }
}

.human-shield-footer-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #166534;
    margin-top: 14px;
    padding: 8px 14px;
    background: #edf8f2;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--qq-radius-tag);
    animation: tokenPop 0.25s ease-out;
}

.contact-checks .human-slider{position:absolute;inset:6px;width:calc(100% - 12px);height:50px;margin:0;padding:0;opacity:0;z-index:5;cursor:grab;touch-action:none}
.contact-checks .human-slider::-webkit-slider-thumb{width:50px;height:50px}
.contact-checks .human-slider::-moz-range-thumb{width:50px;height:50px;border:0}
.contact-checks .human-slider-track:focus-within{outline:3px solid #5cbf8c;outline-offset:3px}
.contact-checks [hidden]{display:none!important}
.contact-checks .human-slider-slot{font-size:1.55rem}
.contact-checks .human-shield-status{white-space:nowrap}
.contact-checks .human-shield-header{flex-wrap:wrap}
.contact-checks .human-status:empty{display:none}
@media(max-width:560px){.contact-human-shield-card{padding:18px 14px}.human-shield-title{font-size:.9rem}.human-shield-header{gap:10px}.human-shield-status{font-size:.72rem}.human-slider-handle,.human-slider-slot{width:42px;height:50px}.contact-checks .human-slider-handle{width:50px}}
@media(prefers-reduced-motion:reduce){.contact-human-shield-card,.contact-human-shield-card *{animation:none!important;transition:none!important}}

