/* ============================================================
   Lyupa&Co — карандаш-курсор, след из точек и лапа кота.
   Только десктоп (hover + fine pointer); на мобильных отключено.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html.pencil-on, html.pencil-on * { cursor: none !important; }
}

.pencil {
  position: fixed; left: 0; top: 0; z-index: 9999;
  width: 44px; height: 44px; pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.pencil svg { width: 100%; height: 100%; transform-origin: 8.6px 35.4px; transition: transform .18s ease; overflow: visible; }
.pencil.is-link svg { transform: rotate(-14deg) scale(1.1); }
.pencil.is-down svg { transform: translate(1px, -1px) scale(.92); }

.pencil-trail {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
}

.cat-paw {
  position: fixed; left: 0; top: 0; z-index: 9997;
  width: 38px; height: 38px; pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) rotate(-24deg) scale(.6);
  transition: opacity .18s ease;
  will-change: transform, opacity;
}
.cat-paw svg { width: 100%; height: 100%; overflow: visible; }
.cat-paw.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pencil, .pencil-trail, .cat-paw { display: none !important; }
}
