/* Apex Tale: cursores globais. Carregar este arquivo por ultimo. */
html:root:root:root,
html:root:root:root body,
html:root:root:root body *,
html:root:root:root body *::before,
html:root:root:root body *::after {
  cursor: url("/KLVN/site/cursor/DefaultCursor.cur"), default !important;
}

/* Elementos acionaveis usam o cursor de selecao do jogo. */
html:root:root:root body :is(a, button, summary, label[for], select, option, [href], [onclick], [role="button"], [role="link"], [role="menuitem"], [role="option"], [data-toggle], [data-target], [data-action], [tabindex]:not([tabindex="-1"]), [class*="clickable"], [class*="cursor-pointer"], [style*="cursor: pointer"], [style*="cursor:pointer"]),
html:root:root:root body :is(a, button, summary, label[for], select, [href], [onclick], [role="button"], [role="link"], [data-toggle], [data-target], [data-action], [tabindex]:not([tabindex="-1"]), [class*="clickable"]) *,
html:root:root:root body :is(a, button, summary, label[for], select, [href], [onclick], [role="button"], [role="link"], [data-toggle], [data-target], [data-action], [tabindex]:not([tabindex="-1"]), [class*="clickable"])::before,
html:root:root:root body :is(a, button, summary, label[for], select, [href], [onclick], [role="button"], [role="link"], [data-toggle], [data-target], [data-action], [tabindex]:not([tabindex="-1"]), [class*="clickable"])::after,
html:root:root:root body :is(input, textarea, [contenteditable="true"]) {
  cursor: url("/KLVN/site/cursor/Talk_Cursor.cur"), pointer !important;
}

/* Estados indisponiveis/carregando nunca recorrem ao cursor do sistema. */
html:root:root:root body :is(:disabled, [disabled], [aria-disabled="true"], [aria-busy="true"], .is-loading, .loading),
html:root:root:root body :is(:disabled, [disabled], [aria-disabled="true"], [aria-busy="true"], .is-loading, .loading) * {
  cursor: url("/KLVN/site/cursor/DefaultCursor.cur"), default !important;
}

/* Widgets legados aplicam pointer com seletores muito especificos. */
html:root:root:root body .point,
html:root:root:root body .rb-tab,
html:root:root:root body .rankings-hero__tab,
html:root:root:root body table.dataTable thead th,
html:root:root:root body table.dataTable tbody tr,
html:root:root:root body .logs-date-nav button {
  cursor: url("/KLVN/site/cursor/Talk_Cursor.cur"), pointer !important;
}

/* Trava final de alta especificidade para CSS de terceiros e widgets tardios. */
html:root:not(#apex-cursor-native):not(#apex-cursor-system) body *,
html:root:not(#apex-cursor-native):not(#apex-cursor-system) body *::before,
html:root:not(#apex-cursor-native):not(#apex-cursor-system) body *::after {
  cursor: url("/KLVN/site/cursor/DefaultCursor.cur"), default !important;
}

html:root:not(#apex-cursor-native):not(#apex-cursor-system) body :is(a, button, summary, label[for], select, option, input, textarea, [contenteditable="true"], [href], [onclick], [role="button"], [role="link"], [role="menuitem"], [role="option"], [data-toggle], [data-target], [data-action], [data-rank-tab], [tabindex]:not([tabindex="-1"]), .point, .rb-tab, [class*="clickable"], [class*="cursor-pointer"], [style*="cursor: pointer"], [style*="cursor:pointer"]),
html:root:not(#apex-cursor-native):not(#apex-cursor-system) body :is(a, button, summary, label[for], [href], [onclick], [role="button"], [role="link"], [data-toggle], [data-target], [data-action], [data-rank-tab], [tabindex]:not([tabindex="-1"]), .point, .rb-tab, [class*="clickable"]) * {
  cursor: url("/KLVN/site/cursor/Talk_Cursor.cur"), pointer !important;
}
