/* Shared custom cursor: a 22px ink ring that follows the pointer and
   shrinks to an 8px solid dot over links, buttons, and other hover targets.
   Fine pointers only; touch keeps the system cursor. */
.cursor{display:none;position:fixed;top:0;left:0;z-index:10000;width:22px;height:22px;margin:0;
  pointer-events:none;will-change:transform}
.cursor-dot{display:block;box-sizing:border-box;width:22px;height:22px;margin:0;border-radius:50%;
  border:1.5px solid var(--ink,#330404);background:transparent;
  transition:width .2s ease,height .2s ease,margin .2s ease,border-width .2s ease,background-color .2s ease}
@media (hover:hover) and (pointer:fine){
  html,html *{cursor:none!important}
  .cursor.is-on{display:block}
  html:has(a:hover,button:hover,.card:hover,.joy:hover,.shelf-view.is-dragging) .cursor-dot{
    width:8px;height:8px;margin:7px;border-width:0;background:var(--ink,#330404)}
}
@media (prefers-reduced-motion:reduce){
  .cursor-dot{transition:none}
}
