.rubicon-floating {
  position: fixed;
  left: 50px;      /* 처음 표시되는 가로 위치 */
  top: 143px;   /* 처음 표시되는 세로 위치 */
  width: 130px;   /* 이미지 크기 */
  z-index: 9999;
  user-select: none;
  -webkit-user-select: none;
}

/* 닫기 버튼까지 포함한 영역 */
.rubicon-floating::after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: 32px;
  height: 100%;
}

.rubicon-floating-link {
  display: block;
  position: relative;
  touch-action: none;
  cursor: grab;
  -webkit-user-drag: none;
}

.rubicon-floating-link img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

.rubicon-floating.is-dragging .rubicon-floating-link {
  cursor: grabbing;
}

.rubicon-floating-close {
  position: absolute;
  top: 0;
  right: 11px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s;
}

.rubicon-floating:hover .rubicon-floating-close,
.rubicon-floating:focus-within .rubicon-floating-close {
  opacity: 1;
  visibility: visible;
}

.rubicon-floating[hidden] {
  display: none;
}

/* 터치 기기는 호버가 없으므로 닫기 버튼을 항상 표시 */
@media (hover: none) {
  .rubicon-floating-close {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 640px) {
  .rubicon-floating {
    left: 15px;
    bottom: 25px;
    width: 80px;
  }

  .rubicon-floating-close {
	width: 20px;
    height: 20px;
	font-size: 18px;
  }
}