/* DH puzzle check (public/js/puzzle.js) */
.pz { width: 100%; max-width: 340px; margin: 14px 0 6px; font-family: inherit; user-select: none; -webkit-user-select: none; }
.pz-label { font-size: 14px; font-weight: 600; margin: 0 0 6px; color: inherit; display: flex; gap: 8px; justify-content: space-between; align-items: center; }
.pz-new { border: 0; background: none; color: #2563eb; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 2px; white-space: nowrap; color: #60a5fa; }
.pz-img { position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: 10px; overflow: hidden; background: #e5e7eb; }
.pz-img img { position: absolute; display: block; pointer-events: none; -webkit-user-drag: none; }
.pz-bg { inset: 0; width: 100%; height: 100%; }
.pz-piece { left: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)); }
.pz-track { position: relative; height: 48px; margin-top: 8px; border-radius: 24px; background: #eef2f7; border: 1px solid #d5dce6; touch-action: none; }
.pz-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 24px; background: #dbeafe; }
.pz-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-left: 40px; font-size: 13px; color: #64748b; pointer-events: none; }
.pz-knob { position: absolute; left: 0; top: -1px; width: 56px; height: 48px; border-radius: 24px; background: #fff; border: 1px solid #c7d0dc; box-shadow: 0 2px 6px rgba(0,0,0,.18);
           display: flex; align-items: center; justify-content: center; font-size: 22px; color: #2563eb; cursor: grab; touch-action: none; }
.pz-knob:active { cursor: grabbing; }
.pz-msg { min-height: 18px; font-size: 13px; margin-top: 6px; color: #ef4444; font-weight: 600; }
.pz.done .pz-track { background: #dcfce7; border-color: #86efac; }
.pz.done .pz-fill { background: #bbf7d0; }
.pz.done .pz-knob { color: #16a34a; border-color: #86efac; cursor: default; }
.pz.done .pz-msg { color: #22c55e; font-weight: 600; }
.pz.bad .pz-track { animation: pzShake .35s; }
@keyframes pzShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
