/* CJGimenez — cursor nativo con señales instantáneas · 13/11/2026
   Normal: punto y marco. Interactivo: rombo. Pulsación: marco compacto.
   Las tres imágenes son estáticas, 32 × 32, con hotspot 16,16.
   No hay seguimiento JS, animación, transición ni cursor oculto. */
@media (pointer: fine) and (forced-colors: none) {
    html,
    body {
        cursor: url("../img/cursor/cj-punto-marco-20261113-r1.svg") 16 16, auto;
    }

    a[href],
    button,
    .btn,
    .tbtn,
    .burger,
    .lang > button,
    .lang-drop button,
    .composer button,
    .chips button,
    .ntab,
    summary,
    .faq summary,
    label[for],
    [role="button"] {
        cursor: url("../img/cursor/cj-punto-rombo-20261113-r1.svg") 16 16, pointer;
    }

    /* :where acota la especificidad; las excepciones nativas siguen después.
       Se excluyen controles desactivados de la señal de pulsación. */
    html :where(a[href], button, .btn, .tbtn, .burger, .lang > button, .lang-drop button, .composer button, .chips button, .ntab, summary, label[for], [role="button"]):where(:not(:disabled):not([aria-disabled="true"])):active {
        cursor: url("../img/cursor/cj-punto-compacto-20261113-r1.svg") 16 16, pointer;
    }

    /* Los controles y sus partes internas siguen gestionados por el navegador. */
    input,
    select,
    select:hover,
    select:active,
    input[type="checkbox"],
    input[type="radio"],
    input[type="file"],
    input[type="range"],
    input[type="color"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    iframe,
    iframe:hover,
    iframe:active,
    video,
    video:hover,
    video:active,
    audio,
    audio:hover,
    audio:active {
        cursor: auto;
    }

    input:not([type]),
    input[type="text"],
    input[type="email"],
    input[type="search"],
    input[type="url"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    textarea,
    textarea:hover,
    textarea:active,
    [contenteditable]:not([contenteditable="false"]),
    [contenteditable]:not([contenteditable="false"]) * {
        cursor: text;
    }

    button:disabled,
    button[aria-disabled="true"],
    input:disabled,
    input[aria-disabled="true"],
    select:disabled,
    textarea:disabled,
    [role="button"][aria-disabled="true"],
    .btn[aria-disabled="true"] {
        cursor: not-allowed;
    }
}
