/* Suggerimenti di interazione (hints.js) */
.hint-arrow { position: absolute; z-index: 40; display: flex; align-items: center; gap: .6rem; pointer-events: none; opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.hint-arrow.is-on { opacity: 1; transform: none; }
.hint-arrow.is-off { opacity: 0; transform: translateX(8px); transition-duration: .35s; }
.hint-arrow__lbl { font-family: var(--f-m); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--acc); padding: .45rem .7rem; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(44,240,44,.55); }
.hint-arrow__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(44,240,44,.14); border: 1px solid rgba(44,240,44,.5); }
.hint-arrow__i svg { width: 24px; height: 24px; fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hint-arrow.is-on .hint-arrow__i { animation: hintNudge 1.3s var(--ease) infinite; }
.hint-arrow.is-over { flex-direction: column; align-items: flex-start; gap: .45rem; }
.hint-arrow.is-over .hint-arrow__lbl { font-size: .7rem; padding: .38rem .6rem; }
.hint-arrow.is-over .hint-arrow__i { width: 38px; height: 38px; background: rgba(11,12,16,.75); }
@keyframes hintNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(9px); } }

.xk.hint-tap { cursor: pointer; }
.hint-toast { position: absolute; z-index: 30; display: flex; align-items: center; gap: .5rem; max-width: calc(100% - 16px); padding: .55rem .9rem .55rem .6rem; border-radius: 999px; background: rgba(17,18,24,.92); border: 1px solid var(--line-2); color: var(--fg); font-family: var(--f-m); font-size: .8rem; letter-spacing: .02em; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -12px #000; pointer-events: none; opacity: 0; transform: translate(-50%, 6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hint-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hint-toast__i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); flex: none; }
.hint-toast__i svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hint-toast.is-on .hint-toast__i svg { animation: hintDown 1.1s var(--ease) infinite; }
@keyframes hintDown { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@media (max-width: 820px) { .hint-toast { font-size: .74rem; white-space: normal; } }
@media (prefers-reduced-motion: reduce) {
  .hint-arrow, .hint-toast { transition: opacity .2s; transform: none; }
  .hint-arrow.is-on .hint-arrow__i, .hint-toast.is-on .hint-toast__i svg { animation: none; }
  .hint-toast, .hint-toast.is-on { transform: translateX(-50%); }
}
