/**
 * Zookzy slider puzzle captcha — shared (login, register modal, contacts, profile actions).
 * Do not duplicate in auth-pages-extra / contacts-page; link this file instead.
 */
.zc-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.zc-puzzle {
  margin: 0.5rem 0 0.35rem;
}

.zc-puzzle-hint {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: var(--color-gray);
  line-height: 1.35;
}

.zc-puzzle-scroll {
  overflow-x: hidden;
  margin-bottom: 0.35rem;
}

.zc-puzzle-inner {
  width: 100%;
  max-width: 100%;
}

.zc-puzzle-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 6px color-mix(in srgb, var(--z-text-headline) 12%, transparent);
}

.zc-puzzle-bgimg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  border-radius: var(--radius-lg);
}

.zc-puzzle-controls {
  width: 100%;
  max-width: 100%;
  margin-top: 0.4rem;
  position: relative;
  z-index: 1;
  /* iOS: global html/body touch-action:pan-y blocks horizontal range drag */
  touch-action: pan-x manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.zc-puzzle-floating {
  position: absolute;
  left: 0;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  filter: drop-shadow(0 2px 4px color-mix(in srgb, var(--z-text-headline) 20%, transparent));
}

.zc-puzzle-range {
  width: 100%;
  accent-color: var(--color-primary);
  touch-action: pan-x manipulation;
  -webkit-appearance: none;
  appearance: none;
  height: 36px;
  background: transparent;
  cursor: pointer;
}

.zc-puzzle-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}

.zc-puzzle-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--color-primary, #0d9488);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
}

.zc-puzzle-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}

.zc-puzzle-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary, #0d9488);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
}

.mpi-captcha-verify {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mpi-captcha-verify:active {
  filter: brightness(0.95);
}

.zc-puzzle-hint-foot {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--color-gray-dark-secondary);
}

.zc-puzzle-sponsor {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  text-align: center;
}

.zc-puzzle-sponsor-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.zc-puzzle-sponsor-link:hover {
  text-decoration: underline;
}

.auth-captcha-modal .zc-puzzle {
  margin-bottom: 0.75rem;
}

.contact-form .zc-puzzle {
  margin-top: 0.65rem;
}

.contact-form .zc-puzzle-stage {
  max-width: 100%;
}

.contacts-page .zc-puzzle-stage {
  max-width: min(100%, 420px);
}
