/* Cursore animato (vedi assets/js/cursor.js). Attivo solo quando lo script aggiunge .tc-on a <html>. */
@property --a{syntax:'<angle>';inherits:false;initial-value:360deg}
html.tc-on,html.tc-on *{cursor:none!important}
html.tc-on input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),html.tc-on textarea,html.tc-on [contenteditable="true"]{cursor:text!important}
.tc{position:fixed;left:0;top:0;z-index:2147483647;width:0;height:0;pointer-events:none;opacity:0;transition:opacity .2s}
.tc.is-in{opacity:1}
.tc.is-text{opacity:0}
.tc-ring,.tc-tree{position:absolute;left:-22px;top:-22px;width:44px;height:44px;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.tc-tree{background:url(img/cursor-tree-88.png) center/100% 100% no-repeat;transform-origin:50% 82%;transform:rotate(var(--sway,0deg))}
.tc-ring{background:#171715;
  -webkit-mask:url(img/cursor-ring-88.png) center/100% 100% no-repeat,conic-gradient(from 5deg,transparent calc(360deg - var(--a)),#000 0);
  -webkit-mask-composite:source-in;
  mask:url(img/cursor-ring-88.png) center/100% 100% no-repeat,conic-gradient(from 5deg,transparent calc(360deg - var(--a)),#000 0);
  mask-composite:intersect}
.tc.is-dark .tc-ring{background:#FBF9F3}
.tc.is-link .tc-ring{transform:scale(1.32) rotate(-28deg)}
.tc.is-link .tc-tree{transform:scale(1.08) rotate(var(--sway,0deg))}
.tc.is-down .tc-ring{transform:scale(.86)}
.tc.is-link.is-down .tc-ring{transform:scale(1.15) rotate(-28deg)}
.tc-ring.draw{animation:tc-draw .5s cubic-bezier(.5,0,.2,1)}
@keyframes tc-draw{from{--a:0deg}to{--a:360deg}}
@media (prefers-reduced-motion:reduce){
  .tc-ring,.tc-tree{transition:none}
  .tc-ring.draw{animation:none}
}
