body.tour-ui #titleBar {
  display: none;
}

body.tour-ui.fullscreen-enabled #titleBar,
body.tour-ui.fullscreen-enabled.mobile #titleBar,
body.tour-ui.multiple-scenes #titleBar,
body.tour-ui.multiple-scenes.mobile #titleBar {
  left: 50%;
  right: auto;
}

body.tour-ui #titleBar .sceneName {
  height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(15,23,42,0.62);
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  color: #fff;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.tour-ui #sceneListToggle,
body.tour-ui #autorotateToggle,
body.tour-ui #fullscreenToggle {
  top: 14px;
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(15,23,42,0.68);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  z-index: 30;
  transition: background-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.tour-ui #sceneListToggle {
  display: none;
}

body.tour-ui #sceneListToggle {
  left: 14px;
  right: auto;
}

body.tour-ui #autorotateToggle {
  right: 14px;
}

body.tour-ui.fullscreen-enabled #autorotateToggle {
  right: 68px;
}

body.tour-ui #fullscreenToggle,
body.tour-ui.fullscreen-enabled #fullscreenToggle {
  right: 14px;
}

body.tour-ui.no-touch #sceneListToggle:hover,
body.tour-ui.no-touch #autorotateToggle:hover,
body.tour-ui.no-touch #fullscreenToggle:hover {
  background: rgba(30,41,59,0.88);
  transform: translateY(-1px);
}

body.tour-ui #sceneListToggle .icon,
body.tour-ui #autorotateToggle .icon,
body.tour-ui #fullscreenToggle .icon,
body.tour-ui.mobile #sceneListToggle .icon,
body.tour-ui.mobile #autorotateToggle .icon,
body.tour-ui.mobile #fullscreenToggle .icon {
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
}

body.tour-ui #sceneList {
  top: 72px;
  left: 14px;
  right: auto;
  width: 300px;
  max-height: calc(100% - 96px);
  padding-top: 0;
  margin-left: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(-100% - 24px));
  transition: opacity 0.22s ease, transform 0.28s ease;
  z-index: 25;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.tour-ui.tour-ui-ready #sceneList.enabled {
  margin-left: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

body.tour-ui:not(.tour-ui-ready) #sceneList.enabled {
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(-100% - 24px));
}

body.tour-ui #sceneList .scenes {
  width: 100%;
  max-height: calc(100vh - 98px);
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(15,23,42,0.76);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.35) transparent;
}

body.tour-ui #sceneList .scenes::-webkit-scrollbar {
  width: 8px;
}

body.tour-ui #sceneList .scenes::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
}

body.tour-ui #sceneList .scene {
  height: auto;
  min-height: 42px;
  border-radius: 10px;
  color: rgba(255,255,255,0.82);
  transition: background-color 0.18s ease, color 0.18s ease;
}

body.tour-ui #sceneList .scene + .scene {
  margin-top: 3px;
}

body.tour-ui #sceneList .scene .text {
  height: auto;
  min-height: 42px;
  padding: 11px 13px;
  line-height: 1.35;
  direction: rtl;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.tour-ui.no-touch #sceneList .scene:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

body.tour-ui #sceneList .scene.current {
  background: rgba(37,99,235,0.86);
  color: #fff;
  box-shadow: inset -3px 0 0 rgba(255,255,255,0.75);
}

body.tour-ui .viewControlButton {
  bottom: 18px;
  width: 42px;
  height: 42px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(15,23,42,0.58);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.tour-ui .viewControlButton .icon {
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
}

body.tour-ui .viewControlButton-1 {
  margin-left: -151px;
}

body.tour-ui .viewControlButton-2 {
  margin-left: -99px;
}

body.tour-ui .viewControlButton-3 {
  margin-left: -47px;
}

body.tour-ui .viewControlButton-4 {
  margin-left: 5px;
}

body.tour-ui .viewControlButton-5 {
  margin-left: 57px;
}

body.tour-ui .viewControlButton-6 {
  margin-left: 109px;
}

@media (max-width: 820px) {
  body.tour-ui #titleBar {
    top: auto;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  body.tour-ui #titleBar .sceneName {
    font-size: 14px;
  }
}

@media (max-width: 560px), (max-height: 560px) {
  body.tour-ui.mobile #sceneListToggle,
  body.tour-ui.mobile #autorotateToggle,
  body.tour-ui.mobile #fullscreenToggle,
  body.tour-ui #sceneListToggle,
  body.tour-ui #autorotateToggle,
  body.tour-ui #fullscreenToggle {
    top: 10px;
    width: 42px;
    height: 42px;
    padding: 7px;
  }

  body.tour-ui.mobile #sceneListToggle,
  body.tour-ui #sceneListToggle {
    left: 10px;
    right: auto;
  }

  body.tour-ui.mobile #autorotateToggle,
  body.tour-ui #autorotateToggle {
    right: 10px;
  }

  body.tour-ui.fullscreen-enabled.mobile #autorotateToggle,
  body.tour-ui.fullscreen-enabled #autorotateToggle {
    right: 60px;
  }

  body.tour-ui.mobile #fullscreenToggle,
  body.tour-ui.fullscreen-enabled.mobile #fullscreenToggle,
  body.tour-ui #fullscreenToggle,
  body.tour-ui.fullscreen-enabled #fullscreenToggle {
    right: 10px;
  }

  body.tour-ui.mobile #sceneList,
  body.tour-ui #sceneList {
    top: 62px;
    left: 10px;
    right: 10px;
    width: auto;
    height: auto;
    max-height: calc(100% - 92px);
    padding-top: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }

  body.tour-ui.tour-ui-ready.mobile #sceneList.enabled,
  body.tour-ui.tour-ui-ready #sceneList.enabled {
    margin-left: 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.tour-ui.mobile #sceneList .scenes,
  body.tour-ui #sceneList .scenes {
    height: auto;
    max-height: calc(100vh - 94px);
  }

  body.tour-ui.mobile #sceneList .scene,
  body.tour-ui #sceneList .scene {
    min-height: 44px;
  }

  body.tour-ui.mobile #sceneList .scene .text,
  body.tour-ui #sceneList .scene .text {
    min-height: 44px;
    line-height: 1.35;
  }
}
