.ty-tour {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.ty-tour__mask {
  position: fixed;
  inset: 0;
  pointer-events: auto;
}
.ty-tour__mask-svg {
  width: 100%;
  height: 100%;
}
.ty-tour__mask-block {
  pointer-events: auto;
  cursor: not-allowed;
}
.ty-tour__arrow, .ty-tour__arrow::before {
  width: calc(var(--ty-tour-arrow-size) * 2);
  height: calc(var(--ty-tour-arrow-size) * 2);
  box-sizing: border-box;
  position: absolute;
}
.ty-tour__arrow::before {
  content: "";
  transform: rotate(45deg);
}
.ty-tour__panel-wrapper {
  position: absolute;
  pointer-events: auto;
}
.ty-tour__panel-wrapper_centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ty-tour__panel {
  position: relative;
  border-radius: var(--ty-tour-panel-radius);
  box-shadow: var(--ty-tour-panel-shadow);
  max-width: var(--ty-tour-panel-max-width);
  min-width: var(--ty-tour-panel-min-width);
}
.ty-tour__panel_default {
  background-color: var(--ty-tour-panel-bg-default);
  color: var(--ty-tour-panel-color-default);
}
.ty-tour__panel_default .ty-tour__arrow::before {
  background: var(--ty-tour-panel-bg-default);
  box-shadow: 2px 2px 5px var(--ty-popup-arrow-shadow);
}
.ty-tour__panel_default .ty-tour__description {
  color: var(--ty-tour-description-color-default);
}
.ty-tour__panel_primary {
  background-color: var(--ty-tour-panel-bg-primary);
  color: var(--ty-tour-panel-color-primary);
}
.ty-tour__panel_primary .ty-tour__arrow::before {
  background: var(--ty-tour-panel-bg-primary);
}
.ty-tour__panel_primary .ty-tour__description {
  color: var(--ty-tour-description-color-primary);
}
.ty-tour__panel_primary .ty-tour__indicator {
  background-color: var(--ty-tour-indicator-bg-primary);
}
.ty-tour__panel_primary .ty-tour__indicator_active {
  background-color: var(--ty-tour-indicator-bg-active-primary);
}
.ty-tour__panel_primary .ty-tour__close-btn {
  color: var(--ty-tour-close-color-primary);
}
.ty-tour__panel_primary .ty-tour__close-btn:hover {
  color: var(--ty-tour-close-color-hover-primary);
  background-color: var(--ty-tour-close-bg-hover-primary);
}
.ty-tour__panel_zoom-enter {
  opacity: 0;
  transform: scale(var(--ty-tour-zoom-scale-from));
}
.ty-tour__panel_zoom-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--ty-tour-zoom-duration) ease-out, transform var(--ty-tour-zoom-duration) ease-out;
}
.ty-tour__panel_zoom-enter-done {
  opacity: 1;
  transform: scale(1);
}
.ty-tour__panel_zoom-exit {
  opacity: 1;
  transform: scale(1);
}
.ty-tour__panel_zoom-exit-active {
  opacity: 0;
  transform: scale(var(--ty-tour-zoom-scale-from));
  transition: opacity var(--ty-tour-zoom-duration) ease-in, transform var(--ty-tour-zoom-duration) ease-in;
}
.ty-tour__panel_zoom-exit-done {
  opacity: 0;
  display: none;
}
.ty-tour__close-btn {
  position: absolute;
  top: var(--ty-tour-close-offset);
  right: var(--ty-tour-close-offset);
  width: var(--ty-tour-close-size);
  height: var(--ty-tour-close-size);
  line-height: var(--ty-tour-close-size);
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--ty-tour-close-radius);
  padding: 0;
  font-size: var(--ty-tour-close-font-size);
  color: var(--ty-tour-close-color);
}
.ty-tour__close-btn:hover {
  background-color: var(--ty-tour-close-bg-hover);
}
.ty-tour__cover {
  padding: var(--ty-tour-cover-padding);
  text-align: center;
}
.ty-tour__cover img {
  max-width: 100%;
  border-radius: var(--ty-tour-panel-radius) var(--ty-tour-panel-radius) 0 0;
}
.ty-tour__title {
  padding: var(--ty-tour-title-padding);
  font-weight: var(--ty-tour-title-font-weight);
  font-size: var(--ty-tour-title-font-size);
  line-height: var(--ty-tour-title-line-height);
}
.ty-tour__description {
  padding: var(--ty-tour-description-padding);
  font-size: var(--ty-tour-description-font-size);
  line-height: var(--ty-tour-description-line-height);
}
.ty-tour__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ty-tour-footer-padding);
}
.ty-tour__indicators {
  display: flex;
  gap: var(--ty-tour-indicators-gap);
}
.ty-tour__indicator {
  width: var(--ty-tour-indicator-size);
  height: var(--ty-tour-indicator-size);
  border-radius: 50%;
  background-color: var(--ty-tour-indicator-bg-default);
  transition: background-color var(--ty-tour-indicator-transition-duration);
}
.ty-tour__indicator_active {
  background-color: var(--ty-tour-indicator-bg-active-default);
}
.ty-tour__actions {
  display: flex;
  gap: var(--ty-tour-actions-gap);
  margin-left: auto;
}
[data-popper-placement^=top] > .ty-tour__arrow {
  bottom: calc(var(--ty-tour-arrow-size) * -1);
}
[data-popper-placement^=top] > .ty-tour__arrow::before {
  box-shadow: 3px 3px 7px var(--ty-popup-arrow-shadow);
}
[data-popper-placement^=bottom] > .ty-tour__arrow {
  top: calc(var(--ty-tour-arrow-size) * -1);
}
[data-popper-placement^=bottom] > .ty-tour__arrow::before {
  box-shadow: -2px -2px 5px var(--ty-popup-arrow-shadow);
}
[data-popper-placement^=left] > .ty-tour__arrow {
  right: calc(var(--ty-tour-arrow-size) * -1);
}
[data-popper-placement^=left] > .ty-tour__arrow::before {
  box-shadow: 3px -3px 7px var(--ty-popup-arrow-shadow);
}
[data-popper-placement^=right] > .ty-tour__arrow {
  left: calc(var(--ty-tour-arrow-size) * -1);
}
[data-popper-placement^=right] > .ty-tour__arrow::before {
  box-shadow: -3px 3px 7px var(--ty-popup-arrow-shadow);
}