/* 滑动拼图安全验证：全屏遮罩 + 居中卡片，与参考站一致的交互。 */
body.car-captcha-open { overflow: hidden; }
body.car-captcha-locked { overflow: hidden; }
/* 门帘页：验证通过前盖住真实页面，样式对照参考站。 */
.car-captcha-gate { position: fixed; inset: 0; z-index: 99990; display: none; place-items: center; padding: 24px; background: #f5f6f8; box-sizing: border-box; overflow: auto; }
.car-captcha-gate.open { display: grid; }
.car-captcha-gate-panel { width: 100%; max-width: 360px; margin: auto; padding: 32px 24px; background: #fff; border: 1px solid #eceef1; border-radius: 16px; box-shadow: 0 12px 36px #1b263b08; text-align: center; color: #333; box-sizing: border-box; }
.car-captcha-gate-logo { display: block; width: 108px; max-height: 96px; object-fit: contain; margin: 0 auto 24px; }
.car-captcha-gate-title { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.car-captcha-gate-desc { margin: 0; font-size: 14px; line-height: 1.7; color: #777; }
.car-captcha-gate-start { margin-top: 24px; min-height: 44px; padding: 10px 28px; border: 0; border-radius: 8px; background: #12224a; color: #fff; font-size: 15px; cursor: pointer; }
.car-captcha-gate-start:disabled { opacity: .7; cursor: default; }
[data-site-template="landrover"] .car-captcha-gate-start { background: #0c121c; border-radius: 2px; }
[data-site-template="toyota-hk"] .car-captcha-gate-start { background: #e60012; border-radius: 2px; }
.car-captcha-mask { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 20px; background: #0b1220cc; box-sizing: border-box; }
.car-captcha-mask.open { display: flex; }
.car-captcha-dialog { width: min(400px, calc(100vw - 32px)); max-width: 100%; padding: 0; border: 0; border-radius: 14px; background: transparent; }
.car-captcha-box { padding: 20px; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px #06132b47; }
.car-captcha-title { margin: 0 0 8px; color: #101828; font-size: 19px; font-weight: 650; }
.car-captcha-desc { margin: 0 0 14px; color: #475467; font-size: 13px; line-height: 1.6; }
.car-captcha-image { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: #f2f4f7; }
.car-captcha-bg { display: block; width: 100%; height: auto; user-select: none; }
.car-captcha-piece { position: absolute; height: auto; border-radius: 3px; box-shadow: 0 2px 8px #00000059; pointer-events: none; user-select: none; }
.car-captcha-range { width: 100%; margin: 16px 0 4px; height: 44px; appearance: none; background: transparent; cursor: pointer; }
.car-captcha-range:disabled { cursor: default; opacity: .7; }
.car-captcha-range::-webkit-slider-runnable-track { height: 44px; border: 1px solid #d7dde7; border-radius: 8px; background: #f7f8fa; }
.car-captcha-range::-moz-range-track { height: 44px; border: 1px solid #d7dde7; border-radius: 8px; background: #f7f8fa; }
.car-captcha-range::-webkit-slider-thumb { appearance: none; width: 56px; height: 44px; margin-top: -1px; border: 0; border-radius: 8px; background: #12224a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l6 6-6 6M13 6l6 6-6 6'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: 0 2px 8px #12224a47; cursor: grab; }
.car-captcha-range:active::-webkit-slider-thumb { cursor: grabbing; }
.car-captcha-range::-moz-range-thumb { width: 56px; height: 42px; border: 0; border-radius: 8px; background: #12224a; box-shadow: 0 2px 8px #12224a47; cursor: grab; }
.car-captcha-tip { min-height: 18px; margin: 6px 0 0; color: #b54708; font-size: 12px; }
.car-captcha-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.car-captcha-btn { min-height: 38px; padding: 0 20px; border: 1px solid #d7dde7; border-radius: 8px; background: #fff; color: #344054; font-size: 14px; cursor: pointer; }
.car-captcha-btn:hover { border-color: #b8c2d0; }
.car-captcha-refresh { border-color: #12224a; background: #12224a; color: #fff; }
.car-captcha-refresh:hover { background: #1b3068; border-color: #1b3068; }
[data-site-template="landrover"] .car-captcha-refresh { background: #0c121c; border-color: #0c121c; border-radius: 2px; }
[data-site-template="toyota-hk"] .car-captcha-refresh { background: #e60012; border-color: #e60012; border-radius: 2px; }
@media (max-width: 420px) { .car-captcha-box { padding: 16px; } .car-captcha-title { font-size: 17px; } }
