/* ZoneOT Lens · cursor (Vincent2, 19-nov-2026). Solo se activa con mouse (hover:hover y pointer:fine): lens-cursor.js pone html.zlc-on. */
html.zlc-on, html.zlc-on *{cursor:none !important}
/* en los campos de texto vuelve el cursor de texto (y el lente se esconde) */
html.zlc-on input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=range]),
html.zlc-on textarea, html.zlc-on [contenteditable]:not([contenteditable=false]){cursor:text !important}
html.zlc-on select{cursor:auto !important}

.zlc{position:fixed; left:0; top:0; z-index:2147483000; pointer-events:none; opacity:0; transition:opacity .2s}
.zlc.on{opacity:1}
.zlc-ring, .zlc-dot{position:absolute; left:0; top:0; will-change:transform}
/* el anillo: 40 px en reposo, centrado en la punta del mouse; sigue con inercia */
.zlc-ring{width:40px; height:40px; margin:-20px 0 0 -20px}
.zlc-ring i{position:absolute; inset:0; display:block; border-radius:50%;
  background:url(lens-cursor-192.webp) center/100% 100% no-repeat;
  filter:brightness(.85) drop-shadow(0 4px 8px rgba(0,0,0,.35));
  transition:transform .28s cubic-bezier(.2,.9,.3,1.25), filter .28s}
/* el hueco: un leve brillo teal que se enciende al enfocar */
.zlc-ring b{position:absolute; inset:15.5%; border-radius:50%;
  background:radial-gradient(circle,rgba(20,179,155,.0) 40%,rgba(20,179,155,.28) 100%);
  opacity:0; transform:scale(.6); transition:opacity .25s, transform .28s cubic-bezier(.2,.9,.3,1.25)}
/* el punto: la punta exacta del mouse (sin inercia), para que el clic sea preciso */
.zlc-dot{width:6px; height:6px; margin:-3px 0 0 -3px; border-radius:50%; background:#14B39B;
  box-shadow:0 0 0 1.5px rgba(12,14,16,.55), 0 0 8px rgba(20,179,155,.9); transition:transform .2s}

/* sobre enlaces y botones: el lente se agranda, gira 45° y enfoca */
.zlc.hot .zlc-ring i{transform:scale(1.4) rotate(45deg); filter:brightness(1.05) drop-shadow(0 6px 14px rgba(0,0,0,.4)) drop-shadow(0 0 10px rgba(20,179,155,.45))}
.zlc.hot .zlc-ring b{opacity:1; transform:scale(1.4)}
.zlc.hot .zlc-dot{transform:scale(.7)}
/* clic: se cierra un poco */
.zlc.down .zlc-ring i{transform:scale(.82); transition-duration:.1s}
.zlc.hot.down .zlc-ring i{transform:scale(1.22) rotate(45deg)}
.zlc.down .zlc-dot{transform:scale(1.5)}
/* sobre un campo de texto o un iframe, el lente se esconde */
.zlc.off{opacity:0}

@media (prefers-reduced-motion:reduce){
  .zlc, .zlc-ring i, .zlc-ring b, .zlc-dot{transition:none !important}
  .zlc.hot .zlc-ring i{transform:scale(1.4)}
  .zlc.hot.down .zlc-ring i, .zlc.down .zlc-ring i{transform:none}
}
