/* ОСЬ — курсор: точка и кольцо с инерцией. */

.has-cur, .has-cur * { cursor: none !important; }

.cur {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  mix-blend-mode: difference;   /* читается и на чёрном кадре, и на белом кафеле */
}
.cur.is-out { opacity: 0; }

.cur__dot,
.cur__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cur__dot {
  width: 6px;
  height: 6px;
  background: #fff;
  transition: opacity 0.2s var(--ease-out), width 0.2s, height 0.2s;
}
.cur__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  display: grid;
  place-items: center;
  transition: width 0.32s var(--ease-out), height 0.32s var(--ease-out),
              border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.cur.is-wide .cur__ring {
  width: 74px;
  height: 74px;
  border-color: rgba(255, 255, 255, 0.9);
}
.cur.is-wide .cur__dot { opacity: 0; }
.cur.is-down .cur__ring { width: 26px; height: 26px; }

.cur__label {
  color: #fff;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out);
  white-space: nowrap;
  font-size: 9px;
}
.cur.is-named .cur__label { opacity: 1; transform: none; }

/* Притяжение кнопок. Сам сдвиг ставит скрипт, здесь только возврат. */
.btn, .slider__btn { transition: transform 0.45s var(--ease-out); }

@media (prefers-reduced-motion: reduce) { .cur { display: none; } }
