html, body {
  height: 100%;
  margin: 0;
  background-color: #008063;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

#panorama {
  width: 100%;
  height: 100%;
  background-color: #008063;
}

#back-button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background-color: #008063;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  padding: 10px;
  display: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#back-button svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#back-button:hover {
  background-color: #008063;
}


/* Styled info hotspot flags */
.pnlm-hotspot-base.custom-hotspot.hotspot-info {
  position: absolute;
  transform: translate(-50%, -50%);
}

.pnlm-hotspot-base.custom-hotspot.hotspot-info::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2px;
  height: 80px;
  background-color: #ffffff;
  transform: translateX(-1px);
}

.pnlm-hotspot-base.custom-hotspot.hotspot-info::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #008063;
  border: 2px solid #ffffff;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.pnlm-hotspot-base.custom-hotspot.hotspot-info.pnlm-tooltip > span {
  visibility: visible !important;
  position: absolute !important;
  bottom: 80px !important;
  left: -1px !important;
  padding: 4px 12px;
  background-color: #008063;
  border: 2px solid #ffffff;
  color: #ffffff;
  white-space: nowrap;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

/* Pulsing scene hotspot */
.pnlm-hotspot-base.custom-hotspot.hotspot-scene {
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
}

.pnlm-hotspot-base.custom-hotspot.hotspot-scene::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: #008063;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pnlm-hotspot-base.custom-hotspot.hotspot-scene::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
  animation: hotspot-scene-pulse 1.6s ease-out infinite;
}

@keyframes hotspot-scene-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}

/* Scene tooltip: transparent background and no pointer arrow.*/
.pnlm-hotspot-base.custom-hotspot.hotspot-scene.pnlm-tooltip > span {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 1.2rem;
  bottom: 20px !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-shadow:
  0 0 1px rgba(0, 0, 0, 0.95),
  0 0 3px rgba(0, 0, 0, 0.85),
  0 0 10px rgba(0, 0, 0, 0.55),
  0 1px 2px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  z-index: 1100;
  pointer-events: none;
}
.pnlm-hotspot-base.custom-hotspot.hotspot-scene.pnlm-tooltip > span::after {
  display: none !important;
  content: none !important;
}

/* OPTIONAL: VIDEO OVERLAY START */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}

.video-overlay.is-open {
  display: flex;
}

.video-overlay__inner {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-overlay__inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
/* OPTIONAL: VIDEO OVERLAY END */

/* OPTIONAL: CONTENT OVERLAY START */
.content-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}

.content-overlay.is-open {
  display: flex;
}

.content-overlay__inner {
  position: relative;
  max-width: 520px;
  width: 90vw;
  max-height: 80vh;
  overflow: auto;
  padding: 24px;
  background: #008063;
  color: #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
}

.content-overlay__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.content-overlay__title {
  margin: 0 40px 0 0;
  font-size: 1.3rem;
}

.content-overlay__body {
  margin: 12px 0 16px;
  line-height: 1.5;
}

.content-overlay__link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
}
/* OPTIONAL: CONTENT OVERLAY END */

/* OPTIONAL: SCENE NAV START */
.scene-nav-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1201;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background-color: #008063;
  color: #ffffff;
  font: inherit;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.scene-nav-toggle svg {
  display: block;
}

.scene-nav-toggle:hover,
.scene-nav-toggle:focus-visible,
.scene-nav-toggle.is-open {
  background-color: color-mix(in srgb, #008063 75%, #ffffff 25%);
}

.scene-nav-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.scene-nav {
  position: fixed;
  top: 76px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  width: 280px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  background: color-mix(in srgb, #008063 50%, transparent);
  box-sizing: border-box;
  color: #ffffff;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(100% + 24px));
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.scene-nav.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.scene-nav__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 12px;
  overflow-y: auto;
  box-sizing: border-box;
  list-style: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scene-nav__list::-webkit-scrollbar {
  display: none;
}

.scene-nav__arrow {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0;
  border: none;
  background: linear-gradient(to bottom, color-mix(in srgb, #008063 95%, transparent) 0%, color-mix(in srgb, #008063 80%, transparent) 60%, transparent 100%);
  color: #ffffff;
  cursor: pointer;
  pointer-events: none;
}

.scene-nav__arrow.is-visible {
  display: flex;
  pointer-events: auto;
}

.scene-nav__arrow--up {
  top: 0;
}

.scene-nav__arrow--down {
  bottom: 0;
  background: linear-gradient(to top, color-mix(in srgb, #008063 95%, transparent) 0%, color-mix(in srgb, #008063 80%, transparent) 60%, transparent 100%);
}

.scene-nav__arrow:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
}

.scene-nav__arrow svg {
  display: block;
}

.scene-nav__item {
  margin: 0;
}

.scene-nav__button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.scene-nav__button:hover,
.scene-nav__button:focus-visible,
.scene-nav__button.is-active {
  border-color: #ffffff;
}

.scene-nav__button:not(.scene-nav__button--thumb):hover,
.scene-nav__button:not(.scene-nav__button--thumb):focus-visible,
.scene-nav__button:not(.scene-nav__button--thumb).is-active {
  background: rgba(255, 255, 255, 0.24);
}

.scene-nav__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.scene-nav__button--thumb {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  min-height: 88px;
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.scene-nav__button--thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: background 0.2s ease;
}

.scene-nav__button--thumb:hover::after,
.scene-nav__button--thumb:focus-visible::after,
.scene-nav__button--thumb.is-active::after {
  background: rgba(255, 255, 255, 0.1);
}

.scene-nav__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.scene-nav__button--thumb .scene-nav__thumb {
  position: absolute;
  inset: 0;
  flex: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
  z-index: 0;
  pointer-events: none;
}

.scene-nav__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scene-nav__button--thumb .scene-nav__label {
  position: relative;
  z-index: 2;
  padding: 9px 10px;
  background: color-mix(in srgb, #008063 88%, transparent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
}

@media (max-width: 700px) {
  .scene-nav {
    top: 76px;
    right: 12px;
    bottom: 12px;
    width: 320px;
    max-width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-nav,
  .scene-nav__button {
    transition: none;
  }
}
/* OPTIONAL: SCENE NAV END */
/* OPTIONAL: FORCE LANDSCAPE START */
.force-landscape {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background-color: #008063;
  color: #ffffff;
  text-align: center;
}

@media screen and (orientation: portrait) and (max-width: 1024px) {
  .force-landscape {
    display: flex;
  }
}

.force-landscape__content {
  max-width: 22rem;
}

.force-landscape__icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.force-landscape__phone {
  color: #ffffff;
  animation: force-landscape-rotate 2.4s ease-in-out infinite;
}

.force-landscape__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.force-landscape__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
}

@keyframes force-landscape-rotate {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-90deg);
  }
  50% {
    transform: rotate(-90deg);
  }
  75% {
    transform: rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .force-landscape__phone {
    animation: none;
    transform: rotate(-90deg);
  }
}
/* OPTIONAL: FORCE LANDSCAPE END */

.pnlm-panorama-info {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1200;
  box-sizing: border-box;
  width: fit-content;
  max-width: calc(100vw - 40px);
  background-color: #008063;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 16px;
  font-family: Arial, sans-serif;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

.pnlm-title-box {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  padding: 0.25rem 0.75rem;
}