.thisway {
  --thisway-default-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
}
.thisway-popover__container {
  position: absolute;
  pointer-events: auto;
  top: 0;
  left: 0;
  transform: translate(calc(1px * var(--thisway-popover-x)), calc(1px * var(--thisway-popover-y)));
}.thisway-highlight {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  border-style: solid;
  border-color: var(--thisway-highlight-border-color);
  box-sizing: content-box;
  border-width: calc(var(--thisway-highlight-border-width) * 1px);
  border-radius: calc(var(--thisway-highlight-border-width) * 2px);
}
.thisway-highlight-pulse {
  position: absolute;
  animation: hotspot-pulse 1.5s infinite;
  opacity: 0.4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  box-sizing: content-box;
  padding: calc(var(--thisway-highlight-border-width) * 1px);
  border-radius: calc(var(--thisway-highlight-border-width) * 2px);
  transform: translate(calc(var(--thisway-highlight-border-width) * -1px), calc(var(--thisway-highlight-border-width) * -1px));
}
@keyframes hotspot-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--thisway-highlight-border-color, #3082ed);
  }
  50% {
    box-shadow: 0 0 0 10px var(--thisway-highlight-border-color, #3082ed);
  }
  100% {
    box-shadow: 0 0 0 0 var(--thisway-highlight-border-color, #3082ed);
  }
}
  .thisway-progress {
    font-size: 14px;
  }
@keyframes reduction {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.thisway-stretch {
  margin: auto;
}

.thisway-popover {
  animation: reduction 200ms linear;
  display: flex;
  flex-direction: column;
  padding: 16px;
  max-width: 280px;
  min-width: 280px;
  border-radius: 10px;
  overflow: visible;
  background-color: var(--thisway-color-primary);
  color: var(--thisway-color-text);
  position: relative;
  box-shadow: var(--thisway-default-shadow);
  box-sizing: border-box;
}
.thisway-popover.thisway-popover__mode-1 .thisway-popover-description {
  background-color: var(--thisway-color-primary);
  color: var(--thisway-color-text);
}
.thisway-popover.thisway-popover__mode-1 .thisway-popover-prev {
  padding: 0;
}
.thisway-popover.thisway-popover__mode-1 .thisway-progress {
  margin-right: auto;
}
.thisway-popover.thisway-popover__mode-2 .thisway-popover-title {
  order: 2;
}
.thisway-popover.thisway-popover__mode-2 .thisway-popover-description {
  background-color: var(--thisway-color-primary);
  color: var(--thisway-color-text);
  order: 3;
}
.thisway-popover.thisway-popover__mode-2 .thisway-popover-footer {
  order: 4;
  justify-content: flex-end;
}
.thisway-popover.thisway-popover__mode-2 .thisway-popover-prev {
  padding: 0;
}
.thisway-popover.thisway-popover__mode-2 .thisway-popover-close {
  top: 14px;
  right: 14px;
}
.thisway-popover.thisway-popover__mode-2 .thisway-progress {
  font-size: 20px;
  order: 1;
}
.thisway-popover.thisway-popover__mode-3 {
  padding-top: 0;
  background: linear-gradient(to bottom, var(--thisway-color-primary) 40px, #fff 40px);
}
.thisway-popover.thisway-popover__mode-3.thisway-popover-left .thisway-popover__arrow-center, .thisway-popover.thisway-popover__mode-3.thisway-popover-left .thisway-popover__arrow-end, .thisway-popover.thisway-popover__mode-3.thisway-popover-right .thisway-popover__arrow-center, .thisway-popover.thisway-popover__mode-3.thisway-popover-right .thisway-popover__arrow-end {
  background-color: white;
}
.thisway-popover.thisway-popover__mode-3.thisway-popover-top .thisway-popover__arrow-start, .thisway-popover.thisway-popover__mode-3.thisway-popover-top .thisway-popover__arrow-center, .thisway-popover.thisway-popover__mode-3.thisway-popover-top .thisway-popover__arrow-end {
  background-color: white;
}
.thisway-popover.thisway-popover__mode-3 .thisway-popover-title {
  line-height: 40px;
  height: 40px;
  font-size: 18px;
  order: 1;
  background-color: var(--thisway-color-primary);
}
.thisway-popover.thisway-popover__mode-3 .thisway-popover-description {
  color: #333333;
  order: 3;
}
.thisway-popover.thisway-popover__mode-3 .thisway-popover-footer {
  order: 4;
}
.thisway-popover.thisway-popover__mode-3 .thisway-popover-prev {
  background-color: var(--thisway-color-text);
  color: var(--thisway-color-primary);
  border: 1px solid var(--thisway-color-primary);
  flex: 0 0 30px;
  border-radius: 50%;
  padding: 0;
}
.thisway-popover.thisway-popover__mode-3 .thisway-popover-next {
  background-color: var(--thisway-color-primary);
  color: var(--thisway-color-text);
  border: 1px solid var(--thisway-color-text);
  max-width: 210px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.thisway-popover.thisway-popover__mode-3 .thisway-popover-close {
  top: 8px;
  right: 10px;
}
.thisway-popover.thisway-popover__mode-3 .thisway-progress {
  color: #999;
  margin: 10px 0 5px;
  order: 2;
}
.thisway-popover-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  margin: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
@supports (-webkit-line-clamp: 2) {
  .thisway-popover-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
.thisway-popover-description {
  margin-top: 5px;
  margin-bottom: 0;
  white-space: pre-line;
  font-size: 14px;
  line-height: 20px;
  font-style: normal;
  word-wrap: break-word;
}
.thisway-popover-description a {
  text-decoration: underline;
}
.thisway-popover-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.thisway-popover-footer button {
  text-decoration: none;
  cursor: pointer;
  outline: 0;
  height: 30px;
  min-width: 30px;
  border-radius: 50px;
  padding: 0 18px;
  font-size: 13px;
  line-height: 20px;
}
.thisway-popover-footer button:not(:last-child) {
  margin-right: 10px;
}
.thisway-popover-top .thisway-popover__arrow {
  bottom: 0;
  transform: translate(-50%, 50%) rotate(45deg);
}
.thisway-popover-bottom .thisway-popover__arrow {
  top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.thisway-popover-left .thisway-popover__arrow {
  right: 0;
  transform: translate(50%, -50%) rotate(45deg);
}
.thisway-popover-right .thisway-popover__arrow {
  left: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.thisway-popover__arrow {
  position: absolute;
  width: 10px;
  height: 10px;
  display: block;
  background-color: var(--thisway-color-primary);
}
.thisway-popover-right .thisway-popover__arrow-start, .thisway-popover-left .thisway-popover__arrow-start {
  top: 20px;
}
.thisway-popover-right .thisway-popover__arrow-center, .thisway-popover-left .thisway-popover__arrow-center {
  top: 50%;
}
.thisway-popover-right .thisway-popover__arrow-end, .thisway-popover-left .thisway-popover__arrow-end {
  bottom: 10px;
}
.thisway-popover-top .thisway-popover__arrow-start, .thisway-popover-bottom .thisway-popover__arrow-start {
  left: 20px;
}
.thisway-popover-top .thisway-popover__arrow-center, .thisway-popover-bottom .thisway-popover__arrow-center {
  left: 50%;
}
.thisway-popover-top .thisway-popover__arrow-end, .thisway-popover-bottom .thisway-popover__arrow-end {
  right: 10px;
}
.thisway-popover-screen .thisway-popover__arrow, .thisway-popover-over .thisway-popover__arrow {
  display: none;
}
.thisway-popover-prev {
  background-color: var(--thisway-color-primary);
  color: var(--thisway-color-text);
  border: 1px solid var(--thisway-color-text);
}
.thisway-popover-prev > span {
  margin: 0 15px;
}
.thisway-popover-next {
  background-color: var(--thisway-color-text);
  color: var(--thisway-color-primary);
  border: 1px solid var(--thisway-color-primary);
}
.thisway-popover-close {
  font-size: 24px;
  position: absolute;
  opacity: 0.8;
  padding: 0;
  border: none;
  color: var(--thisway-color-text);
  background-color: transparent;
  top: 8px;
  right: 8px;
  z-index: 1;
  line-height: 1;
}
.thisway-popover-close:hover {
  opacity: 1;
  border: none;
}.thisway-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
}
.thisway-mask path {
  pointer-events: auto;
}