/* Slider puzzle captcha */
.puzzle { width: 100%; max-width: 360px; margin: 6px 0 4px; user-select: none; }
.puzzle-stage { position: relative; width: 100%; aspect-ratio: 300 / 160; border-radius: 12px; overflow: hidden; background: #141a2f;
  border: 1px solid rgba(255,255,255,.12); }
.puzzle-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.puzzle-piece { position: absolute; left: 0; top: 0; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); pointer-events: none; }
.puzzle-ok { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: #10b981; color: #fff;
  display: grid; place-items: center; font-weight: 800; }
.puzzle-track { position: relative; margin-top: 8px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); }
.puzzle-hint { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; color: #8b93b3; pointer-events: none; transition: opacity .2s; }
.puzzle.moved .puzzle-hint { opacity: 0; }
.puzzle-range { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; cursor: grab; z-index: 1; }
.puzzle-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 38px; border-radius: 999px; background: #3b6ef5;
  box-shadow: 0 4px 14px rgba(59,110,245,.45); border: 2px solid #fff; cursor: grab; }
.puzzle-range::-moz-range-thumb { width: 40px; height: 34px; border-radius: 999px; background: #3b6ef5; border: 2px solid #fff; cursor: grab; }
.puzzle.done .puzzle-range::-webkit-slider-thumb { background: #10b981; }
.puzzle.done .puzzle-range::-moz-range-thumb { background: #10b981; }

.puzzle-ok[hidden] { display: none !important; }
