/* DuoDuo MapleStory-style cursor: public pages only. */
@media (hover: hover) and (pointer: fine) {
  /* The default glove applies as soon as this blocking CSS loads, even before
     deferred cursor.js adds the ready class (the navigation flicker window). */
  html, html * {
    cursor: url('cursor-default.png') 2 2, auto !important;
  }
  html.duoduo-cursor-ready.duoduo-cursor-hover, html.duoduo-cursor-ready.duoduo-cursor-hover * {
    cursor: url('cursor-hover-1.png') 3 2, pointer !important;
  }
  html.duoduo-cursor-ready.duoduo-cursor-hover-alt, html.duoduo-cursor-ready.duoduo-cursor-hover-alt * {
    cursor: url('cursor-hover-2.png') 3 2, pointer !important;
  }
  html.duoduo-cursor-ready.duoduo-cursor-pressed, html.duoduo-cursor-ready.duoduo-cursor-pressed * {
    cursor: url('cursor-pressed.png') 3 2, pointer !important;
  }
  /* Keep the game glove over selected page text, even after selection. */
  html.duoduo-cursor-ready.duoduo-cursor-selecting,
  html.duoduo-cursor-ready.duoduo-cursor-selecting * {
    cursor: url('cursor-default.png') 2 2, auto !important;
  }
  /* Preserve readable insertion cursor in editable fields. */
  html.duoduo-cursor-ready input:not([type=button]):not([type=submit]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),
  html.duoduo-cursor-ready textarea,
  html.duoduo-cursor-ready [contenteditable],
  html.duoduo-cursor-ready [contenteditable] * { cursor: text !important; }
  /* Range sliders are interactive controls, not text fields. */
  html.duoduo-cursor-ready input[type=range],
  html.duoduo-cursor-ready input[type=range]::-webkit-slider-thumb,
  html.duoduo-cursor-ready input[type=range]::-moz-range-thumb { cursor: pointer !important; }
}
