/**
 * Curseur suiveur boutique — manette / clé / viseur (ex-angler @code_candy)
 * Thèmes par boutique via html.lgk-storefront--*
 *
 * --angler-bone : teinte contrastée (lisible sur fond clair ET sombre).
 * Pas de mix-blend screen (blanchissait le trait sur zones blanches).
 */

html.lgk-angler-on {
  --angler-lure: #00d4ff;
  --angler-bone: #5b6b7c;
  --angler-glow: rgba(0, 212, 255, 0.55);
  --angler-eye: #7ee8ff;
}

html.lgk-storefront--legeekshop.lgk-angler-on {
  --angler-lure: #00d4aa;
  --angler-bone: #3d6b5f;
  --angler-glow: rgba(0, 212, 170, 0.55);
  --angler-eye: #5ff0d0;
}

html.lgk-storefront--wayne.lgk-angler-on,
html.storefront-wayne-outfitters.lgk-angler-on {
  --angler-lure: #d4af37;
  --angler-bone: #6b5a28;
  --angler-glow: rgba(212, 175, 55, 0.5);
  --angler-eye: #f5e6a8;
}

html.lgk-storefront--candy-geekland.lgk-angler-on,
html.storefront-candy-geekland.lgk-angler-on {
  --angler-lure: #ff4d8d;
  --angler-bone: #8a3a55;
  --angler-glow: rgba(255, 77, 141, 0.55);
  --angler-eye: #ff9ec0;
}

html.lgk-storefront--deal-geekland.lgk-angler-on,
html.storefront-deal-geekland.lgk-angler-on {
  --angler-lure: #f59e0b;
  --angler-bone: #8a5a12;
  --angler-glow: rgba(245, 158, 11, 0.55);
  --angler-eye: #fcd34d;
}

html.lgk-storefront--digital-geekland.lgk-angler-on,
html.storefront-digital-geekland.lgk-angler-on {
  --angler-lure: #22d3ee;
  --angler-bone: #4a3d7a;
  --angler-glow: rgba(167, 139, 250, 0.55);
  --angler-eye: #a78bfa;
}

html.lgk-storefront--fivem.lgk-angler-on,
html.storefront-fivem.lgk-angler-on {
  --angler-lure: #39ff14;
  --angler-bone: #2d6b22;
  --angler-glow: rgba(57, 255, 20, 0.5);
  --angler-eye: #b8ff9e;
}

html.lgk-storefront--gotham-airsoft.lgk-angler-on,
html.storefront-gotham-airsoft.lgk-angler-on {
  --angler-lure: #84cc16;
  --angler-bone: #3f5c18;
  --angler-glow: rgba(132, 204, 22, 0.5);
  --angler-eye: #bef264;
}

html.lgk-storefront--erotica.lgk-angler-on,
html.storefront-erotica.lgk-angler-on {
  --angler-lure: #fb7185;
  --angler-bone: #8a3a48;
  --angler-glow: rgba(251, 113, 133, 0.55);
  --angler-eye: #fda4af;
}

html.lgk-theme--light.lgk-angler-on {
  --angler-bone: #2c323c;
}

.lgk-angler-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 340px !important;
  height: 340px !important;
  inset: auto !important;
  pointer-events: none !important;
  /* Au-dessus cart (100100), toast (100300) et navi-slide (2147483646) */
  z-index: 2147483647 !important;
  mix-blend-mode: normal;
  opacity: 1;
  will-change: transform;
  contain: strict;
  transition: opacity 0.12s ease;
}

html.lgk-theme--light .lgk-angler-canvas {
  mix-blend-mode: normal;
  opacity: 1;
}

/* Curseur système masqué hors champs de saisie */
@media (hover: hover) and (pointer: fine) {
  html.lgk-angler-on:not(.lgk-admin-mode) body,
  html.lgk-angler-on:not(.lgk-admin-mode) body *:not(input):not(textarea):not(select):not([contenteditable="true"]) {
    cursor: none !important;
  }

  html.lgk-angler-on:not(.lgk-admin-mode) input,
  html.lgk-angler-on:not(.lgk-admin-mode) textarea,
  html.lgk-angler-on:not(.lgk-admin-mode) select,
  html.lgk-angler-on:not(.lgk-admin-mode) [contenteditable="true"] {
    cursor: text !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lgk-angler-canvas {
    display: none !important;
  }
}
