* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -ms-content-zooming: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  background-color: #000;
  color: #fff;
}

a, a:hover, a:active, a:visited {
  text-decoration: none;
  color: inherit;
}

#pano {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#titleBar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0 !important;
  right: 0;
  width: 100vw;
  height: 60px;
  background: #fff;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#titleBar .company-logo-full {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  margin: 0;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

#titleBar .sceneName {
  flex: 1 1 auto;
  text-align: center;
  color: #111;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  margin: 0 auto;
  padding: 0;
  display: block;
}

body.fullscreen-enabled #titleBar {
  right: 80px;
}

body.fullscreen-enabled.mobile #titleBar {
  right: 100px;
}

body.multiple-scenes #titleBar,
body.multiple-scenes.mobile #titleBar {
  left: 0 !important;
}

.mobile #titleBar .sceneName {
  line-height: 40px;
}

#fullscreenToggle {
  display: none;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-180px);
  width: 40px;
  height: 40px;
  padding: 5px;
  background: none;
  border-radius: 8px;
  box-shadow: none;
  z-index: 1200;
}

.mobile #fullscreenToggle {
  left: 50%;
  right: auto;
  bottom: 50px;
  top: auto;
  transform: translateX(-180px);
  width: 40px;
  height: 40px;
  padding: 5px;
}

body.fullscreen-enabled #fullscreenToggle {
  display: block;
}

#fullscreenToggle .icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
}

.mobile #fullscreenToggle .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
}

#fullscreenToggle .icon.on {
  display: none;
}

#fullscreenToggle .icon.off {
  display: block;
}

#fullscreenToggle.enabled .icon.on {
  display: block;
}

#fullscreenToggle.enabled .icon.off {
  display: none;
}

#autorotateToggle {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 50px;
  right: auto;
  top: auto;
  transform: translateX(190px);
  width: 40px;
  height: 40px;
  padding: 5px;
  background: none;
  border-radius: 8px;
  box-shadow: none;
  z-index: 1200;
}

.mobile #autorotateToggle {
  width: 40px;
  height: 40px;
  padding: 5px;
}

.mobile #autorotateToggle .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
}

body.fullscreen-enabled #autorotateToggle {
  right: 40px;
}

body.fullscreen-enabled.mobile #autorotateToggle {
  right: 50px;
}

#autorotateToggle .icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
}

.mobile #autorotateToggle .icon {
  top: 10px;
  right: 10px;
}

#autorotateToggle .icon.on {
  display: none;
}

#autorotateToggle .icon.off {
  display: block;
}

#autorotateToggle.enabled .icon.on {
  display: block;
}

#autorotateToggle.enabled .icon.off {
  display: none;
}

#sceneListToggle {
  display: none;
}

.mobile #sceneListToggle {
  width: 50px;
  height: 50px;
}

#sceneListToggle .text {
  position: absolute;
  top: 5px;
  left: 15px;
  width: 100%;
  line-height: 30px;
}

#sceneListToggle .icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
}

.mobile #sceneListToggle .icon {
  top: 10px;
  right: 10px;
}

#sceneListToggle .icon.on {
  display: none;
}

#sceneListToggle .icon.off {
  display: block;
}

#sceneListToggle.enabled .icon.on {
  display: block;
}

#sceneListToggle.enabled .icon.off {
  display: none;
}

#sceneList {
  display: none;
  background: #fff;
  position: fixed;
  top: 60px;
  left: 0;
  width: 220px;
  height: calc(100vh - 60px);
  padding-top: 0;
  margin-left: 0;
  box-shadow: 2px 0 8px rgba(0,0,0,0.08);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 2100;
}

.mobile #sceneList {
  padding-top: 50px;
}

#sceneList .scenes {
  width: 100%;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
}

.mobile #sceneList {
  width: 100%;
  height: 100%;
  left: -100%;
}

.mobile #sceneList.enabled {
  margin-left: 100%;
}

.mobile #sceneList .scenes {
  height: 100%;
}

#sceneList.enabled {
  margin-left: 220px;
}

#sceneList .scene {
  display: block;
  width: 100%;
  height: 30px;
}

.mobile #sceneList .scene {
  height: 40px;
}

#sceneList .scene .text {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile #sceneList .scene .text {
  line-height: 40px;
}

.no-touch #sceneList .scene:hover {
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

#sceneList .scene.current {
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

body.single-scene #sceneList, body.single-scene #sceneListToggle {
  display: none;
}

.link-hotspot {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  opacity: 0.9;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.no-touch .link-hotspot:hover {
  opacity: 1;
}

.mobile .link-hotspot {
  width: 70px;
  height: 70px;
}

.link-hotspot-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.link-hotspot-tooltip {
  position: absolute;
  left: 100%;
  top: 14px;
  margin-left: 3px;
  font-size: 16px;
  max-width: 300px;
  padding: 8px 10px;
  border-radius: 5px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  -ms-transform: translateX(-8px);
  -webkit-transform: translateX(-8px);
  transform: translateX(-8px);
  -webkit-transition: -ms-transform 0.3s,
                      -webkit-transform 0.3s,
                      transform 0.3s,
                      opacity 0.3s;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              opacity 0.3s;
}

.mobile .link-hotspot {
  top: 19px;
}

.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  opacity: 1;
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.link-hotspot-tooltip {
  pointer-events: none;
}
.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  pointer-events: all;
}

.tooltip-fallback .link-hotspot-tooltip {
  display: none;
}
.no-touch .tooltip-fallback .link-hotspot:hover .link-hotspot-tooltip {
  display: block;
}

.info-hotspot {
  position: fixed;
  left: 50%;
  bottom: -1700px;
  top: auto;
  transform: translateX(-50%);
  z-index: 3000;
  line-height: 1.2em;
  opacity: 0.9;
  -webkit-transition: opacity 0.2s 0.2s;
  transition: opacity 0.2s 0.2s;
}

.no-touch .info-hotspot:hover {
  opacity: 1;
  /* Prevent expansion on hover */
}

.info-hotspot.visible {
  opacity: 1;
}

.info-hotspot .info-hotspot-header {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  background-color: rgb(103,115,131);
  cursor: pointer;
  -webkit-transition: none;
  transition: none;
}

.mobile .info-hotspot .info-hotspot-header {
  width: 140px;
  height: 140px;
  border-radius: 70px;
}

.info-hotspot .info-hotspot-icon-wrapper {
  width: 120px;
  height: 120px;
}

.mobile .info-hotspot .info-hotspot-icon-wrapper {
  width: 140px;
  height: 140px;
}

.info-hotspot .info-hotspot-icon {
  width: 100%;
  height: 100%;
  margin: 0;
}

.info-hotspot .info-hotspot-title-wrapper {
  position: absolute;
  left: 40px;
  top: 0;
  width: 0;
  height: 40px;
  padding: 0;
  overflow: hidden;
  -webkit-transition: width 0s 0.4s,
                      padding 0s 0.4s;
  transition: width 0s 0.4s,
              padding 0s 0.4s;
}

.desktop .info-hotspot.visible .info-hotspot-title-wrapper,
.desktop.no-touch .info-hotspot .info-hotspot-header:hover .info-hotspot-title-wrapper {
  width: 220px;
  padding: 0 5px;
  -webkit-transition: width 0s 0.4s,
                      padding 0s 0.4s;
  transition: width 0s 0.4s,
              padding 0s 0.4s;
}

.info-hotspot .info-hotspot-title-wrapper:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.info-hotspot .info-hotspot-title {
  display: inline-block;
  vertical-align: middle;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.info-hotspot .info-hotspot-close-wrapper {
  position: absolute;
  left: 260px;
  top: 0;
  height: 40px;
  width: 40px;
  border-top-right-radius: 5px;
  background-color: rgb(78,88,104);
  visibility: hidden;
  -ms-transform: perspective(200px) rotateY(90deg);
  -webkit-transform: perspective(200px) rotateY(90deg);
  transform: perspective(200px) rotateY(90deg);
  -ms-transform-origin: 0 50% 0;
  -webkit-transform-origin: 0 50% 0;
  transform-origin: 0 50% 0;
  -webkit-transition: -ms-transform 0.3s 0.3s,
                      -webkit-transform 0.3s 0.3s,
                      transform 0.3s 0.3s,
                      visibility 0s 0.6s;
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0.6s;
}

.desktop .info-hotspot.visible .info-hotspot-close-wrapper {
  visibility: visible;
  -ms-transform: perspective(200px) rotateY(0deg);
  -webkit-transform: perspective(200px) rotateY(0deg);
  transform: perspective(200px) rotateY(0deg);
  -webkit-transition: -ms-transform 0.3s,
                      -webkit-transform 0.3s,
                      transform 0.3s,
                      visibility 0s 0s;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              visibility 0s 0s;
}

.info-hotspot .info-hotspot-close-icon {
  width: 70%;
  height: 70%;
  margin: 15%;
}

.info-hotspot .info-hotspot-text {
  position: absolute;
  width: 300px;
  height: auto;
  max-height: 200px;
  top: 40px;
  left: 0;
  padding: 10px;
  background-color: rgb(58,68,84);
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  overflow-y: auto;
  -ms-transform: perspective(200px) rotateX(-89.999deg);
  -webkit-transform: perspective(200px) rotateX(-89.999deg);
  transform: perspective(200px) rotateX(-89.999deg);
  -ms-transform-origin: 50% 0 0;
  -webkit-transform-origin: 50% 0 0;
  transform-origin: 50% 0 0;
  -webkit-transition: -ms-transform 0.3s,
                      -webkit-transform 0.3s,
                      transform 0.3s,
                      visibility 0s 0.3s;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              visibility 0s 0.3s;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.desktop .info-hotspot.visible .info-hotspot-text {
  visibility: visible;
  -ms-transform: perspective(200px) rotateX(0deg);
  -webkit-transform: perspective(200px) rotateX(0deg);
  transform: perspective(200px) rotateX(0deg);
  -webkit-transition: -ms-transform 0.3s 0.3s,
                      -webkit-transform 0.3s 0.3s,
                      transform 0.3s 0.3s,
                      visibility 0s 0.3s;
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0.3s;
}

.desktop .info-hotspot-modal {
  display: none;
}

.info-hotspot-modal {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 11000 !important;
  background-color: rgba(0,0,0,.5);
  line-height: 1.2em;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.2s ease-in-out 0.5s,
                      visibility 0s 0.7s;
  transition: opacity 0.2s ease-in-out 0.5s,
              visibility 0s 0.7s;
}

.info-hotspot-modal.visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.2s ease-in-out,
                      visibility 0s 0s;
  transition: opacity 0.2s ease-in-out,
              visibility 0s 0s;
}

.info-hotspot-modal .info-hotspot-header {
  position: absolute;
  top: 60px;
  left: 10px;
  right: 10px;
  width: auto;
  height: 50px;
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out 0.2s;
  transition: opacity 0.3s ease-in-out 0.2s;
}

.info-hotspot-modal.visible .info-hotspot-header {
  opacity: 1;
  -webkit-transition: opacity 0.3s ease-in-out 0.2s;
  transition: opacity 0.3s ease-in-out 0.2s;
}

.info-hotspot-modal .info-hotspot-icon-wrapper {
  width: 50px;
  height: 50px;
}

.info-hotspot-modal .info-hotspot-icon {
  width: 90%;
  height: 90%;
  margin: 5%;
}

.info-hotspot-modal .info-hotspot-title-wrapper {
  position: absolute;
  top: 0;
  left: 50px;
  right: 50px;
  width: auto;
  height: 50px;
  padding: 0 10px;
}

.info-hotspot-modal .info-hotspot-title-wrapper:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.info-hotspot-modal .info-hotspot-title {
  display: inline-block;
  vertical-align: middle;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.info-hotspot-modal .info-hotspot-close-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: rgb(78,88,104);
  background-color: rgba(78,88,104,0.8);
  cursor: pointer;
}

.info-hotspot-modal .info-hotspot-close-icon {
  width: 70%;
  height: 70%;
  margin: 15%;
}

.info-hotspot-modal .info-hotspot-text {
  position: absolute;
  top: 110px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 10px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  overflow-y: auto;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.info-hotspot-modal.visible .info-hotspot-text {
  opacity: 1;
  -webkit-transition: opacity 0.3s ease-in-out 0.4s;
  transition: opacity 0.3s ease-in-out 0.4s;
}

.viewControlButton {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 40px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s, box-shadow 0.2s;
}

body.view-control-buttons .viewControlButton {
  display: block;
}

@media (max-width: 600px) {
  body.view-control-buttons .viewControlButton {
    display: none;
  }
}

.viewControlButton .icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
}

.mobile #fullscreenToggle .icon,
.mobile #autorotateToggle .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
}

.viewControlButton-1 {
  margin-bottom: 100px; 
  margin-left: -20px;
}
.viewControlButton-2 {
  margin-bottom: 0px;
  margin-left: -20px;
}
.viewControlButton-3 {
  margin-bottom: 50px;
  margin-left: -70px;
}
.viewControlButton-4 {
  margin-bottom: 50px;
  margin-left: 30px;
}
.viewControlButton-5 {
  margin-bottom: 50px;
  margin-left: -125px;
}
.viewControlButton-6 {
  margin-bottom: 50px;
  margin-left: 85px;
}
.viewControlButton-7 {
  margin-bottom: 50px;
  margin-left: 140px;
}

.viewControlButton-7 .icon.on  { display: none; }
.viewControlButton-7 .icon.off { display: inline; }

.viewControlButton-7.active .icon.on  { display: inline; }
.viewControlButton-7.active .icon.off { display: none; }

.floor-plan-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 1200;
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.floor-plan-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}
.floor-plan-label {
  font-size: 16px;
  color: #2196f3;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.1;
}

.floor-plan-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  display: flex;
}
.floor-plan-modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  padding: 24px 24px 16px 24px;
  position: relative;
  max-width: 480px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.floor-plan-image {
  max-width: 400px;
  max-height: 60vh;
  border-radius: 8px;
  display: block;
}
.floor-plan-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 10;
}
.floor-plan-close:hover {
  background: #eee;
}
@media (max-width: 600px) {
  .floor-plan-btn {
    width: 70px;
    height: 70px;
    bottom: 10px;
    right: 10px;
  }
  .floor-plan-icon {
    width: 32px;
    height: 32px;
  }
  .floor-plan-label {
    font-size: 12px;
  }
  .floor-plan-modal-content {
    max-width: 95vw;
    padding: 10px 10px 6px 10px;
  }
  .floor-plan-image {
    max-width: 90vw;
    max-height: 40vh;
  }
}

#floorPlanModal {
  display: none;
}
.company-logo-bottom {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.company-logo-bottom img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
@media (max-width: 600px) {
  .company-logo-bottom {
    width: 70px;
    height: 70px;
    bottom: 10px;
  }
  .company-logo-bottom img {
    width: 50px;
    height: 50px;
  }
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600&display=swap');

#autorotateToggle, #fullscreenToggle, #sceneListToggle {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s, box-shadow 0.2s;
}

#autorotateToggle:hover, #fullscreenToggle:hover, #sceneListToggle:hover,
#autorotateToggle:focus, #fullscreenToggle:focus, #sceneListToggle:focus {
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.22);
}

#autorotateToggle .icon, #fullscreenToggle .icon, #sceneListToggle .icon {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12));
}

/* Carousel Bar Styles */
.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  width: 100%;
  position: relative;
  background: rgba(255,255,255,0.5); /* semi-transparent */
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 100;
}
.carousel-bar-track-container {
  overflow-x: auto;
  flex: 1;
  margin: 0 8px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding-right: 12px; /* Add space at end for last image */
}
.carousel-bar-track-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.carousel-bar-track {
  display: flex;
  gap: 12px;
  padding: 0 0 0 0;
  margin: 0;
  list-style: none;
}
.carousel-bar-slide {
  min-width: 80px;
  max-width: 120px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 12px;
  overflow: hidden;
}
.carousel-bar-slide img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  transition: box-shadow 0.2s;
}
.carousel-bar-slide:hover img, .carousel-bar-slide.active img {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transform: scale(1.05);
}
.carousel-bar-btn {
  display: none !important;
}

/* Position carousel bar at left bottom */
.carousel-bar-bottom-left {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 340px;
  max-width: 90vw;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.5); /* semi-transparent */
  z-index: 2000;
}

.carousel-bar-no-btns {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.carousel-bar-no-btns .carousel-bar-track-container {
  margin: 0;
}

@media (max-width: 600px) {
  .carousel-bar-bottom-left {
    left: 8px;
    bottom: 8px;
    width: 96vw;
    max-width: 96vw;
    border-radius: 12px;
    padding: 2px 0;
  }
  .carousel-bar-slide img {
    height: 40px;
  }
}

/* --- Vertical Carousel Bar Styles for Mobile & Landscape --- */
@media (max-width: 600px), (max-height: 600px) {
  #sceneCarouselBar.carousel-bar-bottom-left {
    left: 8px;
    right: auto;
    bottom: 90px;
    top: auto;
    width: 64px;
    height: auto;
    max-width: 64px;
    max-height: 60vh;
    margin: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    border-radius: 16px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .carousel-bar-track-container {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    padding: 8px 0 8px 0;
    margin: 0;
  }
  .carousel-bar-track {
    flex-direction: column !important;
    gap: 12px;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
  }
  .carousel-bar-slide {
    min-width: 48px;
    min-height: 48px;
    max-width: 54px;
    max-height: 54px;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
  }
  .carousel-bar-slide img {
    width: 100%;
    height: 48px;
    max-width: 54px;
    max-height: 54px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
  }
}

@media (max-width: 400px), (max-height: 400px) {
  #sceneCarouselBar.carousel-bar-bottom-left {
    width: 44px;
    max-width: 44px;
    border-radius: 8px;
  }
  .carousel-bar-slide,
  .carousel-bar-slide img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 6px;
  }
}

#loadingScreen {
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at center, #222 0%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s;
  overflow: hidden;
}
.loading-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: popin 1.2s cubic-bezier(.23,1.12,.62,1.01);
}
@keyframes popin {
  0% { transform: scale(0.7) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.loading-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 36px;
  border-radius: 32px;
  background: linear-gradient(135deg, #fff 80%, #2196f3 100%);
  box-shadow: 0 8px 32px 0 rgba(33,150,243,0.18), 0 2px 24px 0 rgba(0,0,0,0.18);
  border: 4px solid #2196f3;
  animation: logoPulse 1.8s infinite alternate;
}
@keyframes logoPulse {
  0% { box-shadow: 0 8px 32px 0 rgba(33,150,243,0.18), 0 2px 24px 0 rgba(0,0,0,0.18); }
  100% { box-shadow: 0 0 64px 16px rgba(33,150,243,0.28), 0 2px 24px 0 rgba(0,0,0,0.18); }
}
.loading-spinner {
  width: 56px;
  height: 56px;
  border: 7px solid #fff;
  border-top: 7px solid #2196f3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 18px;
  box-shadow: 0 0 16px 2px #2196f3;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loading-text {
  color: #fff;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 10px;
  text-shadow: 0 2px 8px #2196f3, 0 1px 2px #000;
  animation: fadein 1.2s 0.5s both;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .loading-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
    border-radius: 16px;
    border-width: 2px;
  }
  .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 4px;
    margin-bottom: 10px;
  }
  .loading-text {
    font-size: 1rem;
    margin-top: 6px;
  }
}
