/* PLB | Interacciones globales v1.1.0 – únicamente puntero fino y movimiento permitido */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.plb-cursor-enabled,
  html.plb-cursor-enabled body,
  html.plb-cursor-enabled body * {
    cursor: none !important;
  }

  /* Controles nativos y capas de terceros conservan el puntero habitual. */
  html.plb-cursor-enabled input:not([type="button"]):not([type="submit"]):not([type="reset"]),
  html.plb-cursor-enabled textarea,
  html.plb-cursor-enabled [contenteditable="true"] { cursor: text !important; }
  html.plb-cursor-enabled select { cursor: auto !important; }
  html.plb-cursor-enabled #wpadminbar,
  html.plb-cursor-enabled #wpadminbar *,
  html.plb-cursor-enabled .cky-consent-container,
  html.plb-cursor-enabled .cky-consent-container *,
  html.plb-cursor-enabled .cky-modal,
  html.plb-cursor-enabled .cky-modal *,
  html.plb-cursor-enabled .cky-btn-revisit-wrapper,
  html.plb-cursor-enabled .cky-btn-revisit-wrapper * { cursor: auto !important; }
  html.plb-cursor-enabled #wpadminbar a,
  html.plb-cursor-enabled .cky-consent-container button,
  html.plb-cursor-enabled .cky-modal button,
  html.plb-cursor-enabled .cky-btn-revisit-wrapper button { cursor: pointer !important; }

  /* GeneratePress: cabeceras y footer tienen selectores propios para enlaces.
     Estos selectores mas especificos evitan que reaparezca la flecha nativa
     sin afectar a los clics, al foco ni a los controles de terceros. */
  html.plb-cursor-enabled body #masthead,
  html.plb-cursor-enabled body #masthead *,
  html.plb-cursor-enabled body #site-navigation,
  html.plb-cursor-enabled body #site-navigation *,
  html.plb-cursor-enabled body #mobile-header,
  html.plb-cursor-enabled body #mobile-header *,
  html.plb-cursor-enabled body #sticky-navigation,
  html.plb-cursor-enabled body #sticky-navigation *,
  html.plb-cursor-enabled body .main-navigation,
  html.plb-cursor-enabled body .main-navigation *,
  html.plb-cursor-enabled body #colophon,
  html.plb-cursor-enabled body #colophon *,
  html.plb-cursor-enabled body .site-footer,
  html.plb-cursor-enabled body .site-footer * {
    cursor: none !important;
  }

  .plb-global-cursor-dot,
  .plb-global-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147480000;
    border-radius: 50%;
    pointer-events: none !important;
    opacity: 0;
    transition: opacity .14s ease, width .18s ease, height .18s ease, background .18s ease;
    transform: translate3d(-100px,-100px,0) translate(-50%,-50%);
    will-change: transform;
  }
  .plb-global-cursor-dot {
    width: 9px;
    height: 9px;
    background: #b8f327;
    box-shadow: 0 0 14px rgba(184,243,39,.75);
  }
  .plb-global-cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(184,243,39,.68);
    background: rgba(184,243,39,.035);
  }
  html.plb-cursor-enabled.plb-cursor-visible .plb-global-cursor-dot,
  html.plb-cursor-enabled.plb-cursor-visible .plb-global-cursor-ring { opacity: 1; }
  html.plb-cursor-enabled .plb-global-cursor-ring.is-hover {
    width: 58px;
    height: 58px;
    background: rgba(184,243,39,.09);
  }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .plb-global-cursor-dot, .plb-global-cursor-ring { display: none !important; }
}

/* Botones principales PLB: mismo radio de píldora que Google Ads.
   Se limita a CTAs; NO afecta a campos, tarjetas, CookieYes ni navegación. */
body .plb-home .plb-cta,
body .plbseo .plbseo-btn {
  border-radius: 999px !important;
}
