/* RHAD45 cube pointer, carried over from the LP and webinar v1. Fine mouse pointers only; off under reduced motion. */
.cube3d { --s: 50px; position: relative; display: inline-block; width: var(--s); height: var(--s); cursor: grab; touch-action: none; perspective: 700px; flex: none; }
.cube3d.is-drag { cursor: grabbing; }
.cube3d__body { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-35.26deg) rotateY(45deg); }
.cube3d__body i { position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.cube3d .f-front  { transform: translateZ(calc(var(--s) / 2)); background: #C40F2C; }
.cube3d .f-back   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background: #C40F2C; }
.cube3d .f-right  { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: #8E0A20; }
.cube3d .f-left   { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: #8E0A20; }
.cube3d .f-top    { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: #F03131; }
.cube3d .f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #6E0818; }
.cube3d--live { --s: 18px; margin-right: 6px; perspective: 260px; }

.cur { --glow: 0; position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.cur.is-on { opacity: 1; }
.cur.is-native { opacity: 0; }
.cur__hop { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; transform-origin: 50% 100%; }
.cur .cube3d.cur__cube { --s: 16px; cursor: none; perspective: 240px; display: block;
  transform: scale(calc(1 + var(--glow) * .35));
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)) drop-shadow(0 0 calc(var(--glow) * 12px) rgba(255, 90, 95, var(--glow))); }
.cur.is-hot .cur__hop { animation: cur-hop 1.1s infinite; }
@keyframes cur-hop {
  0%        { transform: translateY(0) scale(1, 1); animation-timing-function: ease-out; }
  10%       { transform: translateY(1px) scale(1.22, .78); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  20%       { transform: translateY(-4.4px) scale(.84, 1.2); animation-timing-function: ease-out; }
  32%       { transform: translateY(-9.6px) scale(1, 1); animation-timing-function: ease-in; }
  44%       { transform: translateY(-2.6px) scale(.9, 1.14); animation-timing-function: ease-in; }
  50%       { transform: translateY(1px) scale(1.24, .76); animation-timing-function: ease-out; }
  59%       { transform: translateY(-3.6px) scale(.95, 1.06); animation-timing-function: ease-in; }
  67%       { transform: translateY(0) scale(1.1, .9); animation-timing-function: ease-out; }
  76%, 100% { transform: translateY(0) scale(1, 1); }
}
.cur__orb { position: absolute; inset: -2px; border-radius: 50%; opacity: 0; transform: scale(.7);
  background: radial-gradient(circle at 35% 30%, #FFD0D4 0%, #FF5A5F 28%, #D21131 62%, #7A0818 100%); /* slop-ok: the LP cube pointer orb, ported unchanged */
  box-shadow: 0 0 10px rgba(255, 77, 109, .55); } /* slop-ok: the LP cube pointer orb, ported unchanged */
.cur.is-hot .cur__orb { animation: cur-orb 1.1s infinite; }
@keyframes cur-orb { 0%, 22% { opacity: 0; transform: scale(.7); } 30%, 36% { opacity: 1; transform: scale(1.12); } 45%, 100% { opacity: 0; transform: scale(.7); } }
.cur.is-hot .cur__cube { animation: cur-cube 1.1s infinite; }
@keyframes cur-cube { 0%, 22% { opacity: 1; } 30%, 36% { opacity: 0; } 45%, 100% { opacity: 1; } }
.cur.is-hot .cur__cube .cube3d__body i { animation: cur-round 1.1s infinite; }
@keyframes cur-round { 0%, 18% { border-radius: 0; } 30%, 36% { border-radius: 50%; } 48%, 100% { border-radius: 0; } }
.cur__ring { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; opacity: 0;
  border: 2px solid rgba(255, 120, 130, .95); box-shadow: 0 0 10px rgba(255, 77, 109, .9), inset 0 0 8px rgba(255, 255, 255, .6); } /* slop-ok: the LP cube pointer click rings, ported unchanged */
.has-cur, .has-cur * { cursor: none !important; }
.has-cur :is(input, textarea, select, [contenteditable]) { cursor: auto !important; }
.has-cur :is(input[type="checkbox"], input[type="radio"]) { cursor: none !important; }
@media (prefers-reduced-motion: reduce) { .cur { display: none; } }
