/* Zen Drops — "I'm not a robot" picture check (assets/human-check.js, api/human-check.php).
   .hv is the tick box inside the form; .hv-pop is the picture pop-up, which the script
   moves to <body> so it sits above everything on the page. */
.hv,.hv-pop{--hv-ink:#0f172a;--hv-mid:#475569;--hv-edge:#e2e8f0;--hv-accent:#f97316;--hv-ok:#16a34a}
.hv button,.hv-pop button{font:inherit;cursor:pointer;background:none;border:0;padding:0;color:inherit}

/* ---------------------------------------------------------------- the tick box */
.hv{max-width:500px;border-radius:16px;background:#f8fafc;border:1.5px solid transparent;padding:12px;
  transition:border-color .25s,background .25s}
.hv.is-bad{border-color:rgba(220,38,38,.5);background:#fef2f2}
.hv__head{display:flex;align-items:center;gap:12px;padding:8px 14px 8px 8px;border-radius:14px;background:#fff;border:1px solid var(--hv-edge)}
.hv__box{flex:1;display:flex;align-items:center;gap:14px;min-height:54px;padding:4px 8px!important;border-radius:10px;text-align:left}
.hv__box:focus-visible{outline:2px solid var(--hv-ink);outline-offset:2px}
.hv__tick{position:relative;flex:none;width:32px;height:32px;border-radius:9px;border:2px solid #94a3b8;background:#fff;
  display:grid;place-items:center;transition:border-color .2s,background .2s}
.hv__box:hover .hv__tick{border-color:var(--hv-ink)}
.hv__tick svg{width:18px;height:18px;color:#fff;opacity:0;transform:scale(.4);transition:opacity .2s,transform .3s cubic-bezier(.3,1.5,.5,1)}
.hv__spin{position:absolute;inset:3px;border-radius:50%;border:3px solid rgba(249,115,22,.25);border-top-color:var(--hv-accent);opacity:0;
  animation:hv-spin .8s linear infinite;pointer-events:none}
.hv[data-state="loading"] .hv__tick,.hv[data-state="checking"] .hv__tick{border-color:transparent}
.hv[data-state="loading"] .hv__tick .hv__spin,.hv[data-state="checking"] .hv__tick .hv__spin{opacity:1}
.hv[data-state="challenge"] .hv__tick{border-color:var(--hv-accent)}
.hv[data-state="passed"] .hv__tick{background:var(--hv-ok);border-color:var(--hv-ok)}
.hv[data-state="passed"] .hv__tick svg{opacity:1;transform:none}
.hv__label{font-size:16px;font-weight:600;line-height:1.25;color:var(--hv-ink)}
.hv[data-state="passed"] .hv__label{color:#15803d}
.hv__seal{flex:none;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:8.5px;letter-spacing:.12em;
  line-height:1.15;text-align:center;text-transform:uppercase;color:#64748b;font-weight:600}
.hv__seal svg{width:24px;height:24px;color:var(--hv-accent)}
.hv__msg{margin:10px 2px 0;font-size:13.5px;line-height:1.4;color:#b91c1c}
.hv__msg:empty{display:none}
.hv__note{margin:10px 2px 2px;font-size:12.5px;line-height:1.45;color:var(--hv-mid)}
.hv__note a{color:var(--hv-ink);text-decoration:none;white-space:nowrap}
.hv__note a:hover{color:var(--hv-accent)}
.hv__off{margin:10px 2px 0;font-size:13.5px;color:#b91c1c}
.hv-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* ---------------------------------------------------------------- the pop-up */
html.hv-lock,html.hv-lock body{overflow:hidden}
.hv-pop{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:16px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.hv-pop[hidden]{display:none}
.hv-pop__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  animation:hv-fade .2s ease-out}
.hv-pop .hv__panel{position:relative;width:100%;max-width:460px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;
  padding:16px;border-radius:18px;background:#fff;box-shadow:0 24px 60px rgba(15,23,42,.35);animation:hv-up .25s ease-out}
.hv__top{display:flex;align-items:stretch;gap:10px}
.hv__q{flex:1;margin:0;padding:12px 14px;border-radius:10px;background:var(--hv-accent);color:#fff;font-family:Poppins,Inter,sans-serif;font-weight:700;
  text-transform:uppercase;font-size:20px;line-height:1.1;display:flex;align-items:center}
.hv-pop .hv__close{flex:none;width:44px;border-radius:10px;border:1px solid var(--hv-edge);display:grid;place-items:center;color:var(--hv-mid);
  transition:border-color .2s,color .2s}
.hv-pop .hv__close:hover{border-color:var(--hv-ink);color:var(--hv-ink)}
.hv-pop .hv__close:focus-visible{outline:2px solid var(--hv-ink);outline-offset:2px}
.hv__close svg{width:20px;height:20px}
.hv__sub{margin:10px 2px 10px;font-size:13.5px;color:var(--hv-mid)}
.hv__grid{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#fff;-webkit-user-select:none;user-select:none}
.hv__img{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.hv__cells{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:1.645%}
.hv-pop .hv__cell{position:relative;border-radius:8%;border:3px solid transparent;background:transparent;
  transition:border-color .15s,background .15s,transform .2s}
.hv-pop .hv__cell:hover{border-color:rgba(15,23,42,.22)}
.hv-pop .hv__cell:focus-visible{outline:none;border-color:var(--hv-ink)}
.hv-pop .hv__cell[aria-pressed="true"]{border-color:var(--hv-accent);background:rgba(249,115,22,.16);transform:scale(.93)}
.hv__mark{position:absolute;top:6px;left:6px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--hv-accent);
  color:#fff;box-shadow:0 0 0 2px #fff;opacity:0;transform:scale(.4);transition:opacity .15s,transform .25s cubic-bezier(.3,1.5,.5,1)}
.hv__mark svg{width:15px;height:15px}
.hv__cell[aria-pressed="true"] .hv__mark{opacity:1;transform:none}
.hv__veil{position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.72);opacity:0;pointer-events:none;transition:opacity .2s}
.hv__veil .hv__spin{position:relative;inset:auto;width:44px;height:44px;opacity:1}
.hv-pop[data-state="checking"] .hv__veil{opacity:1;pointer-events:auto}
.hv-pop .hv__msg{margin:12px 2px 0}
.hv__bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.hv-pop .hv__new{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px 0 12px;border-radius:999px;border:1px solid #cbd5e1;
  font-size:14px;font-weight:600;color:#334155;transition:border-color .2s,color .2s}
.hv-pop .hv__new:hover{border-color:var(--hv-ink);color:var(--hv-ink)}
.hv__new svg{width:17px;height:17px}
.hv-pop .hv__verify{height:44px;padding:0 26px;border-radius:999px;background:var(--hv-accent);color:#fff;font-size:13px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;transition:background .2s,opacity .2s}
.hv-pop .hv__verify:hover:not(:disabled){background:#c2410c}
.hv-pop .hv__verify:disabled{opacity:.45;cursor:not-allowed}
.hv-pop .hv__new:focus-visible,.hv-pop .hv__verify:focus-visible{outline:2px solid var(--hv-ink);outline-offset:2px}

@keyframes hv-spin{to{transform:rotate(360deg)}}
@keyframes hv-up{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes hv-fade{from{opacity:0}to{opacity:1}}
@media(max-width:520px){
  .hv{padding:0;background:none;border:0}
  .hv.is-bad .hv__head{border-color:rgba(220,38,38,.55)}
  .hv__seal{display:none}
  .hv-pop{padding:10px}
  .hv-pop .hv__panel{padding:12px;border-radius:16px}
  .hv__q{font-size:17px;padding:10px 12px}
  .hv-pop .hv__new{padding:0 14px 0 11px;font-size:13.5px;white-space:nowrap}
  .hv-pop .hv__verify{padding:0 20px}
}
@media(prefers-reduced-motion:reduce){.hv *,.hv-pop *{animation-duration:.01ms!important;transition:none!important}}
