/* Trofeo Lodigiani V1.6.1 — cursore personalizzato */
.v16-cur, .v16-cur__ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2147483000; }
.v16-cur { opacity: 0; transition: opacity .2s; will-change: transform; }
.v16-cur__icon { position: absolute; left: 0; top: 0; display: grid; place-items: center; transition: transform .16s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.v16-cur__icon svg, .v16-cur__icon img { display: block; width: 100%; height: 100%; }
.v16-cur[data-kind="pallone"] .v16-cur__icon { width: 24px; height: 24px; }
.v16-cur[data-kind="colosseo"] .v16-cur__icon { width: 34px; height: 26px; }
.v16-cur[data-kind="trofeo"] .v16-cur__icon { width: 22px; height: 36px; }
.v16-cur__ring { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #c9a24a; box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 0 18px rgba(201,162,74,.35); opacity: 0; transition: opacity .2s, width .2s, height .2s; }
html[data-cursor]:not([data-cursor="classico"]) .v16-cur.is-on { opacity: 1; }
html[data-cursor]:not([data-cursor="classico"]) .v16-cur.is-on.is-text { opacity: 0; }
html[data-cursor]:not([data-cursor="classico"]) body:has(.v16-cur.is-on.is-hover:not(.is-text)) .v16-cur__ring { opacity: 1; }
/* Colosseo: le arcate si accendono al passaggio su link e pulsanti */
.v16-colo__arch { transition: fill .2s; }
.v16-cur.is-hover .v16-colo__arch { fill: #ffe7a8; }
.v16-cur.is-down .v16-cur__icon { filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }

/* nasconde il cursore di sistema solo con mouse e opzione attiva; i campi di testo restano normali */
@media (hover: hover) and (pointer: fine) {
  html[data-cursor="pallone"], html[data-cursor="pallone"] *,
  html[data-cursor="colosseo"], html[data-cursor="colosseo"] *,
  html[data-cursor="trofeo"], html[data-cursor="trofeo"] * { cursor: none !important; }
  html:not([data-cursor="classico"]) :is(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, [contenteditable="true"]) { cursor: text !important; }
}
@media not ((hover: hover) and (pointer: fine)) { .v16-cur, .v16-cur__ring { display: none; } }

/* anteprime nel pannello */
.v16-cursw { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a3a62, #0f1b35) !important; }
.v16-cursw { overflow: hidden; }
.v16-cursw svg, .v16-cursw img { width: auto; height: 22px; max-width: 70%; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
