.gm-cursor-canvas,
.gm-cursor-wake,
.gm-liquid-cursor {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.gm-cursor-canvas {
  width: 100vw;
  height: 100vh;
}

.gm-cursor-wake {
  overflow: hidden;
}

.gm-cursor-wake i {
  --gm-wake-opacity: 0;
  --gm-wake-length: 0px;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--gm-wake-length);
  height: 30px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.18)),
    radial-gradient(ellipse at 78% 22%, rgba(255,255,255,.3), transparent 28%),
    rgba(233,30,150,.028);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -4px 10px rgba(9,9,9,.18);
  opacity: var(--gm-wake-opacity);
  translate: -50% -50%;
  transform: translate3d(-100px,-100px,0);
  backdrop-filter: blur(2px) saturate(1.25) brightness(1.08);
  -webkit-backdrop-filter: blur(2px) saturate(1.25) brightness(1.08);
  will-change: transform, opacity;
}

.gm-cursor-wake i:nth-child(2) { height: 24px; }
.gm-cursor-wake i:nth-child(3) { height: 19px; }
.gm-cursor-wake i:nth-child(4) { height: 14px; }
.gm-cursor-wake i:nth-child(5) { height: 9px; }

[data-gm-cursor-mode-active]:not([data-gm-cursor-mode-active="glass-wake"]) .gm-cursor-wake { opacity: 0; }

.gm-liquid-cursor {
  --gm-cursor-angle: 0deg;
  --gm-cursor-stretch: .392;
  --gm-cursor-squash: 1;
  --gm-mark-compensation: 2.55;
  --gm-mark-compensation-y: 1;
  inset: auto;
  top: 0;
  left: 0;
  width: 148px;
  height: 58px;
  opacity: 0;
  translate: -50% -50%;
  transform: translate3d(-100px,-100px,0);
  transition: opacity .16s ease;
  will-change: transform;
}

.gm-liquid-cursor.is-visible { opacity: 1; }

.gm-cursor-shadow {
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: rgba(0,0,0,.34);
  filter: blur(13px);
  opacity: .75;
  transform: translateY(8px) scaleX(var(--gm-cursor-stretch)) scaleY(var(--gm-cursor-squash));
}

.gm-cursor-lens {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -1px 0 rgba(255,255,255,.11),
    inset 7px 0 15px rgba(255,255,255,.06),
    inset -7px 0 18px rgba(233,30,150,.07),
    0 6px 18px rgba(0,0,0,.22);
  transform: rotate(var(--gm-cursor-angle)) scaleX(var(--gm-cursor-stretch)) scaleY(var(--gm-cursor-squash));
  transition: transform .12s ease-out, border-color .2s ease, box-shadow .2s ease;
  will-change: transform;
}

.gm-lens-backdrop {
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.24), transparent 25%),
    radial-gradient(circle at 70% 76%, rgba(233,30,150,.1), transparent 38%),
    rgba(255,255,255,.025);
  backdrop-filter: blur(3px) saturate(1.45) contrast(1.14) brightness(1.08);
  -webkit-backdrop-filter: blur(3px) saturate(1.45) contrast(1.14) brightness(1.08);
}

.gm-lens-reflection {
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background:
    linear-gradient(112deg, transparent 17%, rgba(255,255,255,.22) 31%, transparent 43%),
    radial-gradient(ellipse at 28% 12%, rgba(255,255,255,.55), transparent 22%);
  mix-blend-mode: screen;
  opacity: .48;
  transform: translateX(var(--gm-reflection-x, 0));
}

.gm-lens-rim {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: inherit;
  box-shadow: inset 0 0 11px rgba(255,255,255,.08);
}

.gm-cursor-mark {
  position: relative;
  z-index: 2;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
  transform: scale(var(--gm-mark-compensation), var(--gm-mark-compensation-y));
}

[data-gm-cursor-skin-active="bubble"] .gm-cursor-lens {
  border-color: rgba(255,255,255,.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 29% 23%, rgba(255,255,255,.32), transparent 18%),
    radial-gradient(circle at 70% 74%, rgba(233,30,150,.09), transparent 38%),
    rgba(255,255,255,.018);
  box-shadow:
    inset 5px 7px 12px rgba(255,255,255,.18),
    inset -7px -8px 14px rgba(9,9,9,.3),
    0 7px 18px rgba(0,0,0,.28);
}

[data-gm-cursor-skin-active="bubble"] .gm-lens-backdrop { opacity: .42; }
[data-gm-cursor-skin-active="bubble"] .gm-lens-reflection { opacity: .9; }
[data-gm-cursor-skin-active="bubble"] .gm-lens-rim { inset: 3px; opacity: .7; }
[data-gm-cursor-skin-active="bubble"] .gm-cursor-mark {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.95);
  box-shadow: none;
  clip-path: polygon(50% 96%, 8% 57%, 2% 35%, 8% 17%, 23% 6%, 37% 8%, 50% 22%, 63% 8%, 77% 6%, 92% 17%, 98% 35%, 92% 57%);
  filter: drop-shadow(0 0 3px rgba(255,255,255,.32));
}

[data-gm-cursor-skin-active="prism"] .gm-cursor-lens {
  border-color: rgba(255,255,255,.58);
  border-radius: 42% 58% 48% 52% / 52% 41% 59% 48%;
  background:
    linear-gradient(128deg, transparent 26%, rgba(255,255,255,.34) 42%, transparent 55%),
    conic-gradient(from 205deg at 54% 48%, rgba(233,30,150,.19), rgba(61,192,255,.17), rgba(255,225,92,.12), rgba(233,30,150,.19));
  box-shadow:
    inset 8px 6px 15px rgba(255,255,255,.2),
    inset -8px -8px 16px rgba(44,131,255,.12),
    5px 5px 0 rgba(233,30,150,.12),
    -4px -3px 0 rgba(80,198,255,.1);
}

[data-gm-cursor-skin-active="prism"] .gm-lens-backdrop { opacity: .18; }
[data-gm-cursor-skin-active="prism"] .gm-lens-reflection { opacity: .72; }
[data-gm-cursor-skin-active="prism"] .gm-lens-rim { inset: 8px; opacity: .48; }

[data-gm-cursor-skin-active="gel"] .gm-cursor-lens {
  border-color: rgba(255,127,201,.48);
  border-radius: 60% 40% 54% 46% / 42% 58% 45% 55%;
  background:
    radial-gradient(circle at 31% 24%, rgba(255,255,255,.42), transparent 17%),
    radial-gradient(circle at 67% 70%, rgba(92,5,56,.58), transparent 44%),
    rgba(233,30,150,.42);
  box-shadow:
    inset 8px 7px 14px rgba(255,255,255,.2),
    inset -10px -9px 18px rgba(71,0,41,.46),
    0 8px 18px rgba(0,0,0,.3);
}

[data-gm-cursor-skin-active="gel"] .gm-lens-backdrop { opacity: 0; }
[data-gm-cursor-skin-active="gel"] .gm-lens-reflection { opacity: .66; }
[data-gm-cursor-skin-active="gel"] .gm-lens-rim { opacity: .25; }
[data-gm-cursor-skin-active="gel"] .gm-cursor-mark { border-color: #fff; background: rgba(75,0,43,.2); }

.gm-liquid-cursor.is-pressed .gm-cursor-lens {
  border-color: rgba(255,255,255,.72);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.08), inset 0 0 24px rgba(233,30,150,.1), 0 3px 10px rgba(0,0,0,.26);
  transform: rotate(var(--gm-cursor-angle)) scaleX(calc(var(--gm-cursor-stretch) * .88)) scaleY(calc(var(--gm-cursor-squash) * .88));
}

.gm-custom-cursor-active,
.gm-custom-cursor-active * { cursor: none !important; }

.gm-cursor-customizer {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 85;
  color: #F5F5F5;
  transition: opacity .16s ease;
}

[data-gm-cookie]:not([hidden]) ~ .gm-cursor-customizer {
  opacity: 0;
  pointer-events: none;
}

.gm-cursor-launcher,
.gm-cursor-close {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(245,245,245,.24);
  border-radius: 6px;
  background: #0C0C0C;
  color: rgba(245,245,245,.8);
  appearance: none;
  -webkit-appearance: none;
}

.gm-cursor-launcher {
  width: 50px;
  height: 50px;
  margin-left: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,.34);
}

.gm-cursor-launcher svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gm-cursor-launcher[aria-expanded="true"] { border-color: #E91E96; color: #E91E96; }

.gm-cursor-panel {
  position: absolute;
  right: 0;
  bottom: 60px;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(245,245,245,.18);
  border-radius: 6px;
  background: #0A0A0A;
  box-shadow: 0 18px 46px rgba(0,0,0,.46);
}

.gm-cursor-panel-head,
.gm-cursor-enable {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gm-cursor-panel-head {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(245,245,245,.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(245,245,245,.62);
}

.gm-cursor-close { width: 30px; height: 30px; }
.gm-cursor-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.gm-cursor-launcher:hover,
.gm-cursor-close:hover { border-color: rgba(245,245,245,.58); color: #F5F5F5; }
.gm-cursor-launcher:focus-visible,
.gm-cursor-close:focus-visible,
.gm-cursor-options button:focus-visible,
.gm-cursor-enable input:focus-visible + .gm-cursor-switch { outline: 2px solid #E91E96; outline-offset: 3px; }

.gm-cursor-enable {
  min-height: 48px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: rgba(245,245,245,.78);
}

.gm-cursor-enable input { position: absolute; opacity: 0; pointer-events: none; }
.gm-cursor-switch {
  position: relative;
  width: 38px;
  height: 22px;
  border: 1px solid rgba(245,245,245,.25);
  border-radius: 999px;
  background: rgba(245,245,245,.08);
}
.gm-cursor-switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(245,245,245,.7);
  transition: transform .18s ease, background .18s ease;
}
.gm-cursor-enable input:checked + .gm-cursor-switch { border-color: #E91E96; background: rgba(233,30,150,.18); }
.gm-cursor-enable input:checked + .gm-cursor-switch i { transform: translateX(16px); background: #E91E96; }

.gm-cursor-fieldset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.gm-cursor-fieldset:last-child { margin-bottom: 0; }
.gm-cursor-fieldset legend {
  margin: 0 0 8px;
  padding: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: .14em;
  color: rgba(245,245,245,.4);
}

.gm-cursor-options {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(245,245,245,.18);
  border-radius: 6px;
  background: rgba(245,245,245,.12);
}
.gm-cursor-options-mode { grid-template-columns: repeat(3, minmax(0,1fr)); }
.gm-cursor-options-skin { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gm-cursor-options button {
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: #0C0C0C;
  color: rgba(245,245,245,.56);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .04em;
  appearance: none;
  -webkit-appearance: none;
}
.gm-cursor-options button:hover { color: #F5F5F5; }
.gm-cursor-options button[aria-pressed="true"] { background: #E91E96; color: #fff; }

[data-gm-theme="light"] .gm-cursor-wake i {
  border-color: rgba(20,17,14,.26);
  background: linear-gradient(90deg, rgba(20,17,14,.025), rgba(233,30,150,.12));
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .gm-cursor-canvas,
  .gm-cursor-wake,
  .gm-liquid-cursor,
  .gm-cursor-customizer { display: none !important; }
}
