@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #mr-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 25px;
    height: 34px;
    border: 1px solid rgba(169, 125, 66, .78);
    border-radius: 50% 50% 3px 3px;
    background: rgba(255, 248, 238, .24);
    box-shadow: 0 3px 15px rgba(80, 54, 37, .12);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-100px, -100px, 0);
    transition: opacity .2s ease, width .35s ease, height .35s ease, border-color .35s ease;
    perspective: 140px;
    will-change: transform;
  }
  #mr-cursor::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50% 50% 2px 2px;
    background: linear-gradient(120deg, rgba(224, 190, 138, .57), rgba(169, 112, 77, .32));
    border: 1px solid rgba(169, 125, 66, .5);
    transform-origin: left center;
    transition: transform .65s cubic-bezier(.2,.75,.15,1), background .4s ease;
  }
  #mr-cursor::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    right: 5px;
    top: 52%;
    border-radius: 50%;
    background: #8f5647;
    transition: opacity .2s ease;
  }
  #mr-cursor.visible { opacity: .8; }
  #mr-cursor.open { width: 31px; height: 42px; border-color: #a97d42; }
  #mr-cursor.open::before { transform: rotateY(-65deg); }
  #mr-cursor.open::after { opacity: 0; }
  #mr-cursor.pressed::before { transform: rotateY(-82deg); }
}
