/* Native cursors keep the brush tip aligned with the real click position. */
@media (hover:hover) and (pointer:fine){
  html,body,body *{cursor:url('assets/brush-cursor.svg') 7 51,auto!important}
  html.brush-pressed,html.brush-pressed body,html.brush-pressed body *{cursor:url('assets/brush-cursor-pressed.svg') 7 51,auto!important}
  html.has-art-brush,html.has-art-brush body,html.has-art-brush body *{cursor:none!important}
}
.art-brush{position:fixed;inset:auto;margin:0;padding:0;border:0;background:transparent;overflow:visible;width:86px;height:129px;pointer-events:none;z-index:2147483647;display:none}
.art-brush:popover-open,.art-brush.is-visible{display:block}
.art-brush::backdrop{display:none;pointer-events:none}
.art-brush img{display:block;width:86px;height:129px;max-width:none;transform-origin:28.5px 121.5px;transform:rotate(var(--brush-tilt,0deg));transition:transform .1s ease-out;user-select:none;-webkit-user-drag:none}
.brush-pressed .art-brush img{transform:rotate(calc(var(--brush-tilt,0deg) - 8deg)) scale(.98)}
.ink-touch{position:fixed;z-index:2147483000;pointer-events:none;width:9px;height:7px;border-radius:42% 58% 51% 49%;background:radial-gradient(ellipse,#31382e8c 10%,#4c51404d 40%,transparent 73%);transform:translate(-50%,-50%);animation:ink-touch .46s ease-out both}
@keyframes ink-touch{from{opacity:.65;scale:.65}to{opacity:0;scale:1.9}}
@media(prefers-reduced-motion:reduce){.ink-touch{animation:none;opacity:.35}}
