/*
 * BulldogMusik custom cursors and scrollbars.
 * Smaller classic cursor shapes; clickable elements use a bulldog paw.
 * Cursor rules run only on fine pointer devices; scrollbar rules are global.
 */

:root {
  scrollbar-color: #f16c1d transparent;
  scrollbar-width: auto;
}

::-webkit-scrollbar {
  width: 14px;
  height: 14px;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #f16c1d;
  border: 2px solid transparent;
  border-radius: 10px;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff8a3d;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  :root {
    --bulldog-cursor-default: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M4%202.5L19%2013.2L12.8%2014.9L15.8%2022.2L12.3%2023.5L9.4%2016.2L4%2020.4Z'%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='1.6'%20stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto;
    --bulldog-cursor-pointer: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%3E%3Cg%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='1.65'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cellipse%20cx='7.7'%20cy='12.9'%20rx='2.75'%20ry='3.35'/%3E%3Cellipse%20cx='12.2'%20cy='8.8'%20rx='2.9'%20ry='3.5'/%3E%3Cellipse%20cx='17.8'%20cy='8.8'%20rx='2.9'%20ry='3.5'/%3E%3Cellipse%20cx='22.3'%20cy='12.9'%20rx='2.75'%20ry='3.35'/%3E%3Cpath%20d='M7.9%2020.8C7.9%2018.1%209.4%2015.9%2011.6%2015.1C12.9%2014.6%2013.6%2015.9%2015%2015.9C16.4%2015.9%2017.1%2014.6%2018.4%2015.1C20.6%2015.9%2022.1%2018.1%2022.1%2020.8C22.1%2024%2019.4%2025.8%2015%2025.8C10.6%2025.8%207.9%2024%207.9%2020.8Z'/%3E%3C/g%3E%3C/svg%3E") 15 15, pointer;
    --bulldog-cursor-text: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M8%204.5H16M12%204.5V19.5M8%2019.5H16'%20fill='none'%20stroke='%23f16c1d'%20stroke-width='3.2'%20stroke-linecap='round'/%3E%3Cpath%20d='M8%204.5H16M12%204.5V19.5M8%2019.5H16'%20fill='none'%20stroke='%23ffffff'%20stroke-width='1.7'%20stroke-linecap='round'/%3E%3C/svg%3E") 12 12, text;
    --bulldog-cursor-grab: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%3E%3Cpath%20d='M6.6%2014.2V9.4C6.6%208.3%207.5%207.5%208.6%207.5C9.6%207.5%2010.5%208.3%2010.5%209.4V13.2H11.4V7.8C11.4%206.7%2012.3%205.9%2013.3%205.9C14.4%205.9%2015.2%206.7%2015.2%207.8V13.2H16.1V9.4C16.1%208.3%2017%207.5%2018%207.5C19.1%207.5%2019.9%208.3%2019.9%209.4V15.5C19.9%2019.5%2017.2%2022.1%2013.5%2022.1H11.9C8.9%2022.1%206.6%2019.8%206.6%2016.8V14.2Z'%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='1.7'%20stroke-linejoin='round'/%3E%3C/svg%3E") 13 13, grab;
    --bulldog-cursor-grabbing: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%3E%3Cpath%20d='M6.5%2014.4V9.9C6.5%208.8%207.4%208%208.5%208C9.5%208%2010.4%208.8%2010.4%209.9V13.1H11.3V8.6C11.3%207.5%2012.2%206.7%2013.2%206.7C14.3%206.7%2015.1%207.5%2015.1%208.6V13.1H16V9.9C16%208.8%2016.9%208%2017.9%208C19%208%2019.8%208.8%2019.8%209.9V15.5C19.8%2019.5%2017.1%2022.1%2013.4%2022.1H11.8C8.8%2022.1%206.5%2019.8%206.5%2016.8V14.4Z'%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='1.7'%20stroke-linejoin='round'/%3E%3Cpath%20d='M9.4%2014.6H18.4'%20stroke='%23f16c1d'%20stroke-width='1.2'%20stroke-linecap='round'/%3E%3C/svg%3E") 13 13, grabbing;
    --bulldog-cursor-disabled: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='12'%20cy='12'%20r='8'%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='2.2'/%3E%3Cpath%20d='M7%2017L17%207'%20stroke='%23f16c1d'%20stroke-width='2.2'%20stroke-linecap='round'/%3E%3C/svg%3E") 12 12, not-allowed;
    --bulldog-cursor-wait: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3E%3Ccircle%20cx='12'%20cy='12'%20r='8'%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='2.2'/%3E%3Cpath%20d='M12%205.5V12L16.5%2015'%20fill='none'%20stroke='%23f16c1d'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") 12 12, wait;
    --bulldog-cursor-help: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%3E%3Cpath%20d='M4%202.5L19%2013.2L12.8%2014.9L15.8%2022.2L12.3%2023.5L9.4%2016.2L4%2020.4Z'%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='1.6'%20stroke-linejoin='round'/%3E%3Ccircle%20cx='19'%20cy='6'%20r='4'%20fill='%23ffffff'%20stroke='%23f16c1d'%20stroke-width='1.6'/%3E%3Cpath%20d='M17.9%205.2C18.1%204.5%2018.6%204.2%2019.3%204.2C20%204.2%2020.6%204.7%2020.6%205.4C20.6%206.7%2019%206.6%2019%207.7M19%209.3V9.4'%20fill='none'%20stroke='%23f16c1d'%20stroke-width='1.2'%20stroke-linecap='round'/%3E%3C/svg%3E") 4 3, help;
  }

  html,
  body,
  body * {
    cursor: var(--bulldog-cursor-default) !important;
  }

  a[href],
  button,
  summary,
  label[for],
  select,
  .button,
  .btn,
  .wp-element-button,
  .wp-block-button__link,
  .elementor-button,
  .elementor-item,
  .menu-item > a,
  .nav-link,
  .clickable,
  [role="button"],
  [onclick],
  [data-toggle],
  [data-bs-toggle],
  [data-action],
  [tabindex]:not([tabindex="-1"]),
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  .suggestion-item,
  .ranked-board-prev,
  .ranked-board-next,
  .account-stats-login {
    cursor: var(--bulldog-cursor-pointer) !important;
  }

  a[href] *,
  button *,
  summary *,
  label[for] *,
  .button *,
  .btn *,
  .wp-element-button *,
  .wp-block-button__link *,
  .elementor-button *,
  .elementor-item *,
  .menu-item > a *,
  .nav-link *,
  .clickable *,
  [role="button"] *,
  [onclick] *,
  [data-toggle] *,
  [data-bs-toggle] *,
  [data-action] *,
  .suggestion-item *,
  .ranked-board-prev *,
  .ranked-board-next *,
  .account-stats-login * {
    cursor: var(--bulldog-cursor-pointer) !important;
  }

  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="password"],
  input[type="url"],
  input[type="tel"],
  input[type="number"],
  textarea,
  [contenteditable="true"] {
    cursor: var(--bulldog-cursor-text) !important;
  }

  [draggable="true"],
  .is-draggable,
  .draggable {
    cursor: var(--bulldog-cursor-grab) !important;
  }

  [draggable="true"]:active,
  .is-draggable:active,
  .draggable:active {
    cursor: var(--bulldog-cursor-grabbing) !important;
  }

  :disabled,
  [disabled],
  [aria-disabled="true"],
  .is-disabled {
    cursor: var(--bulldog-cursor-disabled) !important;
  }

  [aria-busy="true"],
  .is-loading,
  .loading,
  .processing {
    cursor: var(--bulldog-cursor-wait) !important;
  }

  [title],
  abbr,
  .help {
    cursor: var(--bulldog-cursor-help) !important;
  }

  a[href][title],
  button[title],
  .button[title],
  .btn[title],
  .rules-btn,
  [role="button"][title] {
    cursor: var(--bulldog-cursor-pointer) !important;
  }
}
