* {
  -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;
}

:root {
  --menu-bg-solid: rgb(34,36,38);
  --menu-bg: rgba(34,36,38,0.88);
  --menu-muted-bg-solid: rgb(48,50,52);
  --menu-muted-bg: rgba(48,50,52,0.9);
  --menu-hover-solid: rgb(64,66,68);
  --menu-hover: rgba(64,66,68,0.9);
  --menu-border: rgba(255,255,255,0.1);
  --menu-soft: rgba(255,255,255,0.08);
}

#pano {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}

#titleBar {
  position: absolute;
  top: 0;
  left: 0;
  right: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  text-align: left;
  background-color: var(--menu-bg-solid);
  background-color: var(--menu-bg);
  border-bottom: 1px solid var(--menu-border);
  backdrop-filter: blur(14px);
}

.mobile #titleBar {
  height: 50px;
  right: 50px;
}

/* If there is a fullscreen button the title bar must make space for it */
body.fullscreen-enabled #titleBar {
  right: 80px;
}

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

/* If there are multiple scenes the title bar must make space for the scene list toggle */
body.multiple-scenes #titleBar {
  left: 40px;
}

body.multiple-scenes.mobile #titleBar {
  left: 50px;
}

#titleBar .sceneName {
  flex: 0 1 auto;
  max-width: 150px;
  height: 26px;
  line-height: 14px;
  padding: 6px 10px;
  border: 1px solid var(--menu-border);
  border-radius: 999px;
  background-color: var(--menu-soft);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.brandLockup {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.brandLogo {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.buildingName {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile #titleBar .sceneName {
  display: none;
}

#fullscreenToggle {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: var(--menu-muted-bg-solid);
  background-color: var(--menu-muted-bg);
  border-bottom: 1px solid var(--menu-border);
}

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

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

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

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

#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;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: var(--menu-muted-bg-solid);
  background-color: var(--menu-muted-bg);
  border-bottom: 1px solid var(--menu-border);
}

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

/* If there is a fullscreen button, autorotate must placed a bit to the left */
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 {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: var(--menu-muted-bg-solid);
  background-color: var(--menu-muted-bg);
  border-bottom: 1px solid var(--menu-border);
}

.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 {
  position: absolute;
  top: 0;
  left: -220px;
  padding-top: 40px;
  width: 220px;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  margin-left: 0;
  -webkit-transition: margin-left 0.5s ease-in-out;
  transition: margin-left 0.5s ease-in-out;
}

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

#sceneList .scenes {
  width: 100%;
  background-color: var(--menu-bg-solid);
  background-color: var(--menu-bg);
  border-right: 1px solid var(--menu-border);
}

.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: var(--menu-hover-solid);
  background-color: var(--menu-hover);
}

#sceneList .scene.current {
  background-color: var(--menu-hover-solid);
  background-color: var(--menu-hover);
}

/* Minimap */

#miniMap {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: min(330px, calc(100vw - 36px));
  padding: 0;
  border: 0;
  background: transparent;
}

.miniMapHeader {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.miniMapHeader strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.22);
}

#miniMapToggle {
  min-width: 64px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(34,36,38,0.58);
  cursor: pointer;
  font-weight: 600;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.miniMapBody {
  position: relative;
  aspect-ratio: 1;
  overflow: visible;
  border: 0;
  margin-top: 0;
  background: transparent;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.28));
}

.miniMapBody img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#miniMapMarkers {
  position: absolute;
  inset: 0;
}

.miniMapMarker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 0;
  color: transparent;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.miniMapMarker span {
  display: none;
}

.miniMapMarker:hover,
.miniMapMarker:focus-visible {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.16);
  outline: none;
}

.miniMapMarker.is-active {
  border-color: #44b6a0;
  background: rgba(68,182,160,0.18);
  box-shadow:
    0 0 0 5px rgba(68,182,160,0.18),
    0 0 0 1px rgba(255,255,255,0.9);
}

.mobile #miniMap {
  right: 12px;
  bottom: 12px;
  width: min(310px, calc(100vw - 24px));
}

.mobile .miniMapHeader {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  height: 34px;
  pointer-events: none;
}

.mobile .miniMapHeader strong {
  display: none;
}

.mobile #miniMapToggle {
  min-width: 74px;
  height: 34px;
  margin-left: auto;
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

.mobile #miniMap.is-collapsed {
  width: auto;
  min-width: 88px;
}

.mobile #miniMap.is-collapsed .miniMapHeader {
  position: static;
  width: auto;
  height: 42px;
}

.mobile #miniMap.is-collapsed #miniMapToggle {
  min-width: 88px;
  height: 42px;
}

.mobile #miniMap.is-collapsed .miniMapBody {
  display: none;
}

/* Hide scene list when only a single scene exists */
body.single-scene #sceneList, body.single-scene #sceneListToggle {
  display: none;
}

/* Link hotspot */

.link-hotspot {
  width: 42px;
  height: 42px;
  margin-left: -21px;
  margin-top: -21px;
  opacity: 0.82;
  -webkit-transition: opacity 0.16s ease;
  transition: opacity 0.16s ease;
}

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

.mobile .link-hotspot {
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.92;
}

.link-hotspot-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(68,182,160,0.48) 0 21%, rgba(255,255,255,0.26) 22% 42%, rgba(255,255,255,0.1) 43% 100%);
  border: 1px solid rgba(255,255,255,0.84);
  box-shadow:
    inset 0 0 0 1px rgba(68,182,160,0.18),
    0 4px 16px rgba(0,0,0,0.22),
    0 0 0 1px rgba(0,0,0,0.05);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  -webkit-transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.link-hotspot-icon::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(68,182,160,0.58);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(68,182,160,0.2);
  -webkit-animation: linkHotspotPulse 2.15s ease-out infinite;
  animation: linkHotspotPulse 2.15s ease-out infinite;
}

.link-hotspot-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  box-shadow:
    0 0 0 4px rgba(68,182,160,0.36),
    0 0 14px rgba(68,182,160,0.28),
    0 2px 8px rgba(0,0,0,0.16);
}

.no-touch .link-hotspot:hover .link-hotspot-icon {
  border-color: rgba(255,255,255,0.86);
  box-shadow:
    inset 0 0 0 1px rgba(68,182,160,0.28),
    0 0 0 5px rgba(68,182,160,0.14),
    0 8px 20px rgba(0,0,0,0.24);
}

.mobile .link-hotspot-icon {
  border-color: rgba(255,255,255,0.9);
}

@-webkit-keyframes linkHotspotPulse {
  0% {
    opacity: 0.72;
    -webkit-transform: scale(0.72);
    transform: scale(0.72);
  }
  72%, 100% {
    opacity: 0;
    -webkit-transform: scale(1.62);
    transform: scale(1.62);
  }
}

@keyframes linkHotspotPulse {
  0% {
    opacity: 0.72;
    -webkit-transform: scale(0.72);
    transform: scale(0.72);
  }
  72%, 100% {
    opacity: 0;
    -webkit-transform: scale(1.62);
    transform: scale(1.62);
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-hotspot-icon::before {
    -webkit-animation: none;
    animation: none;
    opacity: 0.22;
  }
}

.link-hotspot-tooltip {
  position: absolute;
  left: 100%;
  top: 11px;

  margin-left: 8px;

  font-size: 13px;

  max-width: 180px;

  padding: 7px 10px;

  border-radius: 999px;

  background-color: rgb(20,24,28);
  background-color: rgba(20,24,28,0.72);

  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);
}

/* Prevent tooltip from triggering */
.link-hotspot-tooltip {
  pointer-events: none;
}
.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  pointer-events: all;
}

/* Fallback mode without pointer-events (IE8-10) */
.tooltip-fallback .link-hotspot-tooltip {
  display: none;
}
.no-touch .tooltip-fallback .link-hotspot:hover .link-hotspot-tooltip {
  display: block;
}

/* Info hotspot */

.info-hotspot {
  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;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

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

.info-hotspot .info-hotspot-header {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: rgb(103,115,131);
  cursor: pointer;
  -webkit-transition: width 0.3s ease-in-out 0.5s,
                      border-radius 0.3s ease-in-out 0.5s;
  transition: width 0.3s ease-in-out 0.5s,
              border-radius 0.3s ease-in-out 0.5s;
}

.mobile .info-hotspot .info-hotspot-header {
  width: 50px;
  height: 50px;
  border-radius: 25px;
}

.desktop.no-touch .info-hotspot .info-hotspot-header:hover {
  width: 260px;
  border-radius: 5px;
  -webkit-transition: width 0.3s ease-in-out,
                      border-radius 0.3s ease-in-out;
  transition: width 0.3s ease-in-out,
              border-radius 0.3s ease-in-out;
}

.desktop .info-hotspot.visible .info-hotspot-header,
.desktop.no-touch .info-hotspot.visible .info-hotspot-header:hover {
  width: 260px;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  -webkit-transition: width 0.3s ease-in-out,
                      border-radius 0.3s ease-in-out;
  transition: width 0.3s ease-in-out,
              border-radius 0.3s ease-in-out;
}

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

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

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

.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;
  visibility: hidden;
  /* rotate(90deg) causes transition flicker on Firefox 58 */
  -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 0s;
  transition: -ms-transform 0.3s 0.3s,
              -webkit-transform 0.3s 0.3s,
              transform 0.3s 0.3s,
              visibility 0s 0s;
}

/* Info hotspot modal */

.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;
}

/* View control buttons */

.viewControlButton {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

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

/* Hide controls when width is too small */
@media (max-width: 600px) {
  body.view-control-buttons .viewControlButton {
    display: none;
  }
}

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

/* Center is at margin-left: -20px */
.viewControlButton-1 {
  margin-left: -145px;
}
.viewControlButton-2 {
  margin-left: -95px;
}
.viewControlButton-3 {
  margin-left: -45px;
}
.viewControlButton-4 {
  margin-left: 5px;
}
.viewControlButton-5 {
  margin-left: 55px;
}
.viewControlButton-6 {
  margin-left: 105px;
}

/* UI polish overrides */

:root {
  --ui-panel: rgba(28,30,31,0.62);
  --ui-panel-strong: rgba(28,30,31,0.82);
  --ui-panel-soft: rgba(255,255,255,0.08);
  --ui-line: rgba(255,255,255,0.16);
  --ui-line-strong: rgba(255,255,255,0.26);
  --ui-text: rgba(255,255,255,0.94);
  --ui-muted: rgba(255,255,255,0.72);
  --ui-accent: #44b6a0;
  --ui-gold: #d7a642;
  --ui-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

#titleBar,
#sceneListToggle,
#autorotateToggle,
#fullscreenToggle,
#sceneList .scenes,
.mobile #miniMap:not(.is-collapsed) {
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
}

#titleBar {
  top: 14px;
  left: 72px;
  right: auto;
  width: auto;
  min-width: 330px;
  max-width: calc(100vw - 160px);
  height: 44px;
  padding: 0 12px;
  gap: 12px;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  background-color: var(--ui-panel);
  box-shadow: var(--ui-shadow);
  z-index: 1200;
}

body.multiple-scenes #titleBar,
body.fullscreen-enabled #titleBar {
  left: 72px;
  right: auto;
}

#titleBar .sceneName {
  flex: 0 0 auto;
  max-width: 140px;
  height: 28px;
  line-height: 16px;
  padding: 6px 11px;
  border-color: rgba(215,166,66,0.26);
  background: rgba(215,166,66,0.12);
  color: var(--ui-muted);
  font-size: 12px;
}

.brandLockup {
  flex: 0 1 auto;
  gap: 11px;
}

.brandLogo {
  width: 34px;
  height: 34px;
}

.buildingName {
  font-size: 15px;
  color: var(--ui-text);
}

#sceneListToggle,
#autorotateToggle,
#fullscreenToggle {
  top: 14px;
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background-color: var(--ui-panel);
  box-shadow: var(--ui-shadow);
  z-index: 1300;
}

#sceneListToggle {
  left: 16px;
}

#autorotateToggle,
#fullscreenToggle {
  right: 16px;
}

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

body.fullscreen-enabled #fullscreenToggle {
  right: 16px;
}

#sceneListToggle .icon,
#autorotateToggle .icon,
#fullscreenToggle .icon {
  top: 7px;
  right: 7px;
  width: 28px;
  height: 28px;
  opacity: 0.92;
}

.no-touch #sceneListToggle:hover,
.no-touch #autorotateToggle:hover,
.no-touch #fullscreenToggle:hover {
  border-color: var(--ui-line-strong);
  background-color: var(--ui-panel-strong);
}

#sceneListToggle.enabled {
  border-color: rgba(215,166,66,0.72);
  box-shadow: 0 0 0 3px rgba(215,166,66,0.18), var(--ui-shadow);
}

#sceneList {
  top: 70px;
  left: 16px;
  width: 248px;
  max-height: calc(100% - 88px);
  padding-top: 0;
  margin-left: 0;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(-280px,0,0);
  transform: translate3d(-280px,0,0);
  -webkit-transition: opacity 0.22s ease, -webkit-transform 0.22s ease;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 1250;
}

#sceneList.enabled {
  margin-left: 0;
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

#sceneList .scenes {
  width: 100%;
  max-height: calc(100vh - 88px);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background-color: var(--ui-panel-strong);
  box-shadow: var(--ui-shadow);
}

#sceneList .scene {
  height: 38px;
  margin: 1px 0;
  border-radius: 12px;
  color: var(--ui-muted);
}

#sceneList .scene .text {
  padding: 0 12px;
  line-height: 38px;
  font-size: 14px;
  font-weight: 560;
}

.no-touch #sceneList .scene:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--ui-text);
}

#sceneList .scene.current {
  background-color: rgba(215,166,66,0.18);
  color: var(--ui-text);
}

#miniMap {
  width: min(310px, calc(100vw - 36px));
  opacity: 0.92;
  -webkit-transition: opacity 0.18s ease, width 0.18s ease, bottom 0.18s ease;
  transition: opacity 0.18s ease, width 0.18s ease, bottom 0.18s ease;
}

.no-touch #miniMap:hover {
  opacity: 1;
}

.miniMapBody {
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.24));
}

.miniMapMarker {
  width: 30px;
  height: 30px;
}

.miniMapMarker.is-active {
  border-color: var(--ui-accent);
  background: rgba(68,182,160,0.2);
  box-shadow:
    0 0 0 6px rgba(68,182,160,0.18),
    0 0 0 1px rgba(255,255,255,0.94);
}

#zoomControls {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1160;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background-color: rgba(28,29,28,0.56);
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
  opacity: 0.72;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-transition: opacity 0.18s ease, background-color 0.18s ease, -webkit-transform 0.18s ease;
  transition: opacity 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.no-touch #zoomControls:hover {
  opacity: 1;
  background-color: rgba(32,33,32,0.72);
}

.zoomControlButton {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--ui-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
  -webkit-appearance: none;
  appearance: none;
  -webkit-transition: background-color 0.16s ease, border-color 0.16s ease, -webkit-transform 0.16s ease;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

#zoomInButton::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 3px 16px no-repeat;
  border-radius: 2px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#zoomOutButton::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.no-touch .zoomControlButton:hover,
.zoomControlButton:focus-visible {
  border-color: var(--ui-line-strong);
  background: rgba(255,255,255,0.16);
  outline: none;
}

.zoomControlButton:active {
  -webkit-transform: scale(0.94);
  transform: scale(0.94);
}

#sceneLoadStatus {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 1190;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 40px);
  padding: 10px 14px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background-color: rgba(28,29,28,0.58);
  color: var(--ui-text);
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-transform: translate3d(-50%,10px,0);
  transform: translate3d(-50%,10px,0);
  -webkit-transition: opacity 0.18s ease, -webkit-transform 0.18s ease;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#sceneLoadStatus.is-visible {
  opacity: 1;
  -webkit-transform: translate3d(-50%,0,0);
  transform: translate3d(-50%,0,0);
}

.sceneLoadSpinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.28);
  border-top-color: var(--ui-accent);
  border-radius: 999px;
  -webkit-animation: sceneLoadSpin 0.82s linear infinite;
  animation: sceneLoadSpin 0.82s linear infinite;
}

@-webkit-keyframes sceneLoadSpin {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes sceneLoadSpin {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.mobile #titleBar {
  top: 8px;
  left: 58px;
  right: 58px;
  min-width: 0;
  max-width: none;
  height: 42px;
  padding: 0 10px;
  border-radius: 14px;
}

body.multiple-scenes.mobile #titleBar,
body.fullscreen-enabled.mobile #titleBar {
  left: 58px;
  right: 58px;
}

.mobile .brandLockup {
  gap: 8px;
}

.mobile .brandLogo {
  width: 30px;
  height: 30px;
}

.mobile .buildingName {
  font-size: 13px;
}

.mobile #sceneListToggle,
.mobile #autorotateToggle,
.mobile #fullscreenToggle {
  top: 8px;
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: 14px;
}

.mobile #sceneListToggle {
  left: 8px;
}

.mobile #autorotateToggle,
.mobile #fullscreenToggle {
  right: 8px;
}

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

.mobile #sceneListToggle .icon,
.mobile #autorotateToggle .icon,
.mobile #fullscreenToggle .icon {
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
}

.mobile #sceneList {
  top: 58px;
  left: 8px;
  width: calc(100% - 16px);
  height: auto;
  max-height: calc(100% - 74px);
  padding-top: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translate3d(0,-12px,0);
  transform: translate3d(0,-12px,0);
}

.mobile #sceneList.enabled {
  margin-left: 0;
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.mobile #sceneList .scenes {
  height: auto;
  max-height: calc(100vh - 74px);
  padding: 8px;
  border-radius: 18px;
}

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

.mobile #sceneList .scene .text {
  line-height: 42px;
  font-size: 15px;
}

.mobile #miniMap {
  right: 12px;
  bottom: 14px;
  z-index: 1180;
  width: min(320px, calc(100vw - 24px));
  opacity: 1;
}

.mobile #zoomControls {
  left: 12px;
  bottom: 14px;
  z-index: 1170;
  gap: 6px;
  padding: 5px;
  opacity: 0.94;
}

.mobile #sceneLoadStatus {
  bottom: 72px;
  padding: 10px 13px;
  font-size: 12px;
}

.mobile .zoomControlButton {
  width: 44px;
  height: 44px;
}

.mobile #zoomInButton::before {
  width: 16px;
  height: 16px;
}

.mobile #zoomOutButton::before {
  width: 15px;
  height: 3px;
}

.mobile #miniMap:not(.is-collapsed) {
  left: 12px;
  right: 12px;
  width: auto;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 24px;
  background-color: rgba(28,30,31,0.38);
  box-shadow: 0 18px 36px rgba(0,0,0,0.34);
}

.mobile #miniMap:not(.is-collapsed) .miniMapHeader {
  position: static;
  display: flex;
  height: 36px;
  margin-bottom: 4px;
  padding: 0 2px;
  pointer-events: auto;
}

.mobile #miniMap:not(.is-collapsed) .miniMapHeader strong {
  display: block;
  font-size: 14px;
  color: var(--ui-text);
}

.mobile #miniMap:not(.is-collapsed) #miniMapToggle {
  position: relative;
  min-width: 38px;
  width: 38px;
  height: 34px;
  margin-left: auto;
  padding: 0;
  font-size: 0;
  border-color: var(--ui-line-strong);
  background: rgba(255,255,255,0.08);
}

.mobile #miniMap:not(.is-collapsed) #miniMapToggle::before,
.mobile #miniMap:not(.is-collapsed) #miniMapToggle::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 11px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.mobile #miniMap:not(.is-collapsed) #miniMapToggle::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.mobile #miniMap:not(.is-collapsed) #miniMapToggle::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.mobile #miniMap:not(.is-collapsed) .miniMapBody {
  width: 100%;
  margin: 0;
  filter: none;
}

.mobile #miniMap.is-collapsed {
  width: auto;
  min-width: 92px;
}

.mobile #miniMap.is-collapsed .miniMapHeader {
  height: 44px;
}

.mobile #miniMap.is-collapsed #miniMapToggle {
  min-width: 92px;
  height: 44px;
  border-color: var(--ui-line);
  background-color: var(--ui-panel);
  box-shadow: var(--ui-shadow);
}

#sceneList,
.mobile #sceneList {
  display: none;
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: none;
  transform: none;
  -webkit-transition: none;
  transition: none;
}

#sceneList.enabled,
.mobile #sceneList.enabled {
  display: block;
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}
