/* Falling-leaf cursor (see assets/js/leaf-cursor.js) */
.lc-layer { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; overflow: hidden; }
.lc-fall { position: absolute; left: 0; top: 0; height: auto; opacity: 0; pointer-events: none; user-select: none; will-change: transform, opacity; filter: drop-shadow(0 1px 1.5px rgba(40,20,10,.28)); }
.lc-cursor { position: fixed; left: 0; top: 0; z-index: 2147483001; width: 36px; pointer-events: none; opacity: 0; transition: opacity .18s; will-change: transform; }
.lc-cursor.lc-seen { opacity: 1; }
.lc-cursor.lc-hide { opacity: 0 !important; }
.lc-cursor img { display: block; width: 100%; height: auto; transform-origin: 30% 80%; transition: transform .16s ease; filter: drop-shadow(0 2px 2px rgba(40,20,10,.4)); user-select: none; }
.lc-cursor.lc-shake img { animation: lc-shake .42s ease-in-out infinite; }
.lc-cursor.lc-press img { transform: scale(.82) rotate(-12deg); }
@keyframes lc-shake {
  0%, 100% { transform: scale(1.18) rotate(0); }
  15% { transform: scale(1.18) rotate(-24deg); }
  32% { transform: scale(1.18) rotate(22deg); }
  48% { transform: scale(1.18) rotate(-17deg); }
  64% { transform: scale(1.18) rotate(14deg); }
  80% { transform: scale(1.18) rotate(-7deg); }
}
/* hide the system pointer only while the leaf is drawn */
html.lc-on, html.lc-on * { cursor: none !important; }
html.lc-on.lc-native, html.lc-on.lc-native * { cursor: auto !important; }
html.lc-on.lc-native a, html.lc-on.lc-native button, html.lc-on.lc-native [role="button"], html.lc-on.lc-native summary { cursor: pointer !important; }
html.lc-on.lc-native input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]), html.lc-on.lc-native textarea { cursor: text !important; }
@media (prefers-reduced-motion: reduce) { .lc-fall { display: none; } }
