/* container for arrows */
.arrownav-wrapper {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* arrows (no background, no hover fluff) */
.arrownav-arrow {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
	
}

.arrownav-arrow svg{
  display: block;               /* avoids baseline weirdness */
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  transform-box: fill-box;      /* crucial for svg centering */
  transition: transform .75s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

.arrownav-arrow:hover svg{
  transform: scale(1.75);
}


/* positions */
.arrownav-left  { left: 10px;  top: 50%; transform: translateY(-50%); }
.arrownav-right { right: 10px; top: 50%; transform: translateY(-50%); }

/* svg look */
.arrownav-arrow svg {
  width: 308px;
  height: 308px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

polyline {
    stroke-width: 1.5;
}

/* ===== cursor follower ===== */
#arrownav-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 350px;
  height: 350px;
  pointer-events: none;
  z-index: 99999;
}


#arrownav-cursor img {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: auto;
}

.arrownav-cursor-preview {
  margin-top: 6px;
  width: 48px;
  height: 48px;
  border: 1px solid #ddd;
  display: inline-block;
  overflow: hidden;
}
.arrownav-cursor-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {

  .arrownav-arrow {
    top: auto;
    bottom: 14px;           /* vertical position on mobile */
    transform: none;        /* kill desktop centering */
  }

  .arrownav-left {
    left: 24px;
  }

  .arrownav-right {
    right: 24px;
  }
}

