/* Custom cursor (cursor.js): a bright dot plus a trailing ring that springs after it. Mouse/trackpad only.
   .cur-ring is only a positioned point (JS moves it); the visible circle is its <i>, so size/press effects never
   scale the translation. */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cur-dot, .cur-ring, .cur-label { display: block; box-sizing: border-box; position: fixed; left: 0; top: 0; z-index: 100000; pointer-events: none; will-change: transform; }
html { --cur: #C9F24D; --cur-ink: #0D0D0F; --cur-ring: rgba(201, 242, 77, 0.55); --cur-fill: rgba(201, 242, 77, 0.14); }
html[data-theme="light"] { --cur: #2547E8; --cur-ink: #FFFFFF; --cur-ring: rgba(37, 71, 232, 0.5); --cur-fill: rgba(37, 71, 232, 0.1); }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--cur); box-shadow: 0 0 0 1.5px rgba(13, 13, 15, 0.55);
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, opacity 0.2s ease; }
.cur-ring { width: 0; height: 0; }
.cur-ring i { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; box-sizing: border-box; border-radius: 50%;
  border: 1.5px solid var(--cur-ring); background: var(--cur-fill);
  transition: left 0.35s cubic-bezier(.3, 1.5, .5, 1), top 0.35s cubic-bezier(.3, 1.5, .5, 1), width 0.35s cubic-bezier(.3, 1.5, .5, 1),
    height 0.35s cubic-bezier(.3, 1.5, .5, 1), background-color 0.25s ease, border-color 0.25s ease, border-width 0.25s ease, scale 0.18s ease, opacity 0.2s ease; }
/* Hovering something you can use: the ring opens up into an outline. */
.is-hover .cur-ring i { left: -32px; top: -32px; width: 64px; height: 64px; background: transparent; border: 2px solid var(--cur); }
.is-hover .cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
/* Dragging: a filled ring that JS stretches along the direction of travel. */
.is-drag .cur-ring i { left: -25px; top: -25px; width: 50px; height: 50px; background: var(--cur-fill); border: 2px solid var(--cur); }
/* Press: squeeze in; release: a springy pop with a little wobble. */
.is-down .cur-ring i { scale: 0.72; }
.cur-ring.pop i { animation: cur-pop 0.45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes cur-pop { 0% { transform: scale(0.75) rotate(0); } 35% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(0.95) rotate(5deg); } 100% { transform: none; } }
.cur-label { padding: 5px 8px 4px; border-radius: 999px; background: var(--cur); color: var(--cur-ink); box-shadow: 0 6px 14px rgba(5, 8, 30, 0.3);
  font: 700 10px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; scale: 0.6; transform-origin: 0 0; transition: opacity 0.18s ease, scale 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.cur-label.on { opacity: 1; scale: 1; }
.cur-hidden .cur-dot, .cur-hidden .cur-ring, .cur-hidden .cur-label { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .cur-ring.pop i { animation: none; } .cur-ring i { transition: none; } }
