html, body {
  height: 100%;
  margin: 0;
  /* Transparent so the host page shows through any letterbox gutters when embedded in an iframe */
  background-color: transparent;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: #ffffff;
}

b {
  font-weight: 700;
}

i {
  font-style: italic;
}

#tour-root {
  position: relative;
  width: 100%;
  height: 100%;
}

#tour-root:fullscreen,
#tour-root:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background-color: #002d72;
}

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

.overview-map {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
  container-type: size;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.overview-map.is-zoomed {
  cursor: grab;
}

.overview-map.is-panning {
  cursor: grabbing;
}

.overview-map__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(var(--map-pan-x, 0px), var(--map-pan-y, 0px));
  transform-origin: center center;
}

.overview-map__inner {
  position: relative;
  width: min(100cqw, calc(100cqh * var(--map-aspect, 1.7777777778)), var(--map-max-width, 1920px));
  aspect-ratio: var(--map-aspect, 1.7777777778);
}

.overview-map__image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}

.overview-map__marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #ffffff;
  cursor: pointer;
  z-index: 1000;
}

.overview-map__marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%);
  animation: overview-marker-pulse 1.6s ease-out infinite;
}

.overview-map__marker--drone::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 17px;
  transform: translate(-50%, -50%);
  background-image: url("media/icons/drone.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
}

.overview-map__marker > span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%);
  white-space: nowrap;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, .9);
  border: 2px solid #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.overview-map__marker > span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 14px;
  background: #ffffff;
  transform: translateX(-50%);
  pointer-events: none;
}

.overview-map__marker > span.left {
  left: auto;
  right: calc(100% + 10px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.overview-map__marker > span.left::before {
  left: 100%;
  top: 50%;
  width: 10px;
  height: 2px;
  transform: translateY(-50%);
}

.overview-map__marker > span.right {
  left: calc(100% + 10px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.overview-map__marker > span.right::before {
  left: auto;
  right: 100%;
  top: 50%;
  width: 10px;
  height: 2px;
  transform: translateY(-50%);
}

.overview-map__marker > span.down {
  top: calc(100% + 14px);
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
}

.overview-map__marker > span.down::before {
  top: auto;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: 14px;
  transform: translateX(-50%);
}

.overview-map__poi {
  position: absolute;
  transform: translate(-14px, -50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: auto;
  background-color: #002d72;
  opacity: 0.88;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  box-sizing: border-box;
  box-shadow: none;
  z-index: 900;
}

.overview-map__poi:hover {
  z-index: 1001;
}

.overview-map__poi-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.overview-map__poi-icon img {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.88;
}

.overview-map__poi-label {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

@keyframes overview-marker-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Match top-corner control buttons (back + scene nav toggle). */
#back-button,
.scene-nav-toggle {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 20px;
  width: 46px;
  height: 46px;
  padding: 0;
  z-index: 1201;
  background-color: #002d72;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#back-button {
  left: 20px;
  display: none;
}

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

#back-button:hover,
#back-button:focus-visible,
.scene-nav-toggle:hover,
.scene-nav-toggle:focus-visible,
.scene-nav-toggle.is-open {
  background-color: #003f9f;
}

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

/* Scene title pill — matches scene-content-panel title-only styling (egaa-tour). */
.pnlm-panorama-info {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  z-index: 1200 !important;
  box-sizing: border-box;
  width: fit-content;
  max-width: calc(100vw - 40px);
  margin: 0 !important;
  padding: 0 !important;
  background-color: #002d72 !important;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 16px;
  font-family: 'Source Sans 3', sans-serif !important;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  text-align: left;
}

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

.pnlm-author-box:empty {
  display: none;
}

.pnlm-author-box:not(:empty) {
  display: block;
  padding: 0 0.75rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 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: #002d72;
  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: #002d72;
  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: #002d72;
  border-radius: 50%;
  border: 2px solid #ffffff;
  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;
}

.pnlm-hotspot-base.custom-hotspot.hotspot-scene.hotspot-scene-drone {
  width: 40px;
  height: 40px;
}

.pnlm-hotspot-base.custom-hotspot.hotspot-scene.hotspot-scene-drone::before {
  width: 32px;
  height: 32px;
  background-image: url("media/icons/drone-white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
}

.pnlm-hotspot-base.custom-hotspot.hotspot-scene.hotspot-scene-drone::after {
  width: 40px;
  height: 40px;
}

.pnlm-hotspot-base.custom-hotspot.hotspot-scene.hotspot-scene-drone.pnlm-tooltip
  > span {
  bottom: 36px !important;
}

@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;
  bottom: 20px !important;
  font-size: 1.6rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  white-space: nowrap;
  z-index: 1100;
  pointer-events: none;
  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);
}
.pnlm-hotspot-base.custom-hotspot.hotspot-scene.pnlm-tooltip > span::after {
  display: none !important;
  content: none !important;
}

/* OPTIONAL: SCENE NAV START */
.scene-nav-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
}

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

.scene-nav {
  position: fixed;
  top: 76px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  width: 240px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  background: #002d7277;
  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__overview {
  flex: 0 0 auto;
  padding: 0;
}

.scene-nav__overview-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}

.scene-nav__overview-button:hover,
.scene-nav__overview-button:focus-visible {
  border-color: #ffffff;
}

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

.scene-nav__overview-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.scene-nav__overview-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: #002d72dd;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.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, #002d72ee 0%, #002d72cc 60%, #002d7200 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.has-overview .scene-nav__arrow--up {
  top: var(--scene-nav-overview-height, 0px);
}

.scene-nav__arrow--down {
  bottom: 0;
  background: linear-gradient(to top, #002d72ee 0%, #002d72cc 60%, #002d7200 100%);
}

.scene-nav__arrow:hover,
.scene-nav__arrow:focus-visible {
  color: #ffffff;
}

.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: #002d72dd;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

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

@media (orientation: landscape) and (max-height: 500px) {
  #back-button,
  .scene-nav-toggle {
    top: 12px;
    width: 36px;
    height: 36px;
  }

  #back-button {
    left: 12px;
  }

  .scene-nav-toggle {
    right: 12px;
  }

  #back-button svg,
  .scene-nav-toggle svg {
    width: 18px;
    height: 18px;
  }

  .scene-nav {
    top: 56px;
  }

  .scene-nav__overview-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
  }

  .scene-nav__overview-thumb {
    flex: 0 0 auto;
    width: 56px;
    height: 42px;
    aspect-ratio: auto;
  }

  .scene-nav__overview-label {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    background: transparent;
    font-size: 0.75rem;
  }

  .scene-nav__list {
    gap: 6px;
    padding: 8px;
  }

  .scene-nav__arrow {
    height: 28px;
  }

  .scene-nav__button--thumb {
    min-height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-nav,
  .scene-nav__button {
    transition: none;
  }
}
/* OPTIONAL: SCENE NAV END */

/* 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: #002d72;
  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: TOP BAR CONTROLS START */
.top-bar-controls {
  position: absolute;
  top: 20px;
  right: 76px;
  z-index: 1201;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-bar-controls[hidden] {
  display: none;
}

.top-bar-controls__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background-color: #002d72;
  color: #ffffff;
  font: inherit;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.top-bar-controls__btn[hidden] {
  display: none;
}

.top-bar-controls__btn .top-bar-controls__icon--enter {
  display: block;
}

.top-bar-controls__btn .top-bar-controls__icon--exit {
  display: none;
}

.top-bar-controls__btn.is-fullscreen .top-bar-controls__icon--enter {
  display: none;
}

.top-bar-controls__btn.is-fullscreen .top-bar-controls__icon--exit {
  display: block;
}

.top-bar-controls__btn:hover,
.top-bar-controls__btn:focus-visible {
  background-color: #003f9f;
}

.top-bar-controls__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (orientation: landscape) and (max-height: 500px) {
  .top-bar-controls {
    top: 12px;
    right: 56px;
  }

  .top-bar-controls__btn {
    width: 36px;
    height: 36px;
  }

  .top-bar-controls__icon {
    width: 18px;
    height: 18px;
  }
}
/* OPTIONAL: TOP BAR CONTROLS END */

/* OPTIONAL: ROTATE HINT START */
.rotate-hint {
  position: fixed;
  /* sits on its own row below the round tour controls, so it can use the full
     width without colliding with them */
  top: calc(76px + env(safe-area-inset-top));
  left: calc(12px + env(safe-area-inset-left));
  right: calc(12px + env(safe-area-inset-right));
  z-index: 11000;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: fit-content;
  max-width: none;
  margin: 0 auto;
  padding: 8px 8px 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background-color: #002d72;
  color: #ffffff;
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: 0.9rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rotate-hint[hidden] {
  display: none;
}

.rotate-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rotate-hint__icon {
  flex: 0 0 auto;
  color: #ffffff;
  animation: rotate-hint-rotate 2.4s ease-in-out infinite;
}

.rotate-hint__text {
  flex: 1 1 auto;
  min-width: 0;
}

.rotate-hint__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background-color: #ffffff;
  color: #002d72;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.rotate-hint__action[hidden] {
  display: none;
}

.rotate-hint__action:hover,
.rotate-hint__action:focus-visible {
  background-color: color-mix(in srgb, #ffffff 85%, #002d72 15%);
}

.rotate-hint__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
}

.rotate-hint__close:hover,
.rotate-hint__close:focus-visible {
  background-color: rgba(255, 255, 255, 0.2);
}

.rotate-hint__action:focus-visible,
.rotate-hint__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

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

@media (prefers-reduced-motion: reduce) {
  .rotate-hint {
    transition: none;
  }

  .rotate-hint__icon {
    animation: none;
    transform: rotate(-90deg);
  }
}
/* OPTIONAL: ROTATE HINT END */
/* NARROW LAYOUT START */
/* Narrow viewports are a supported shape, not a blocked one -- keep the chrome
   inside the safe area and stop the content panel from eating the panorama.
   Width-based rather than `orientation: portrait`, because inside an iframe an
   orientation query describes the iframe's box, not the device: a fixed 16:9
   embed reads as landscape even on a phone held upright. */
@media screen and (max-width: 480px) {
  .scene-content-panel {
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: calc(20px + env(safe-area-inset-left));
  }

  .scene-content-panel.is-expanded {
    display: flex;
    flex-direction: column;
    max-height: 55vh;
  }

  .scene-content-panel.is-expanded .scene-content-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }

  .scene-content-panel__image {
    max-height: min(200px, 26vh);
  }

  .scene-content-panel__images--layout-stacked .scene-content-panel__image {
    max-height: min(150px, 18vh);
  }

  .scene-content-panel__images--layout-side-by-side .scene-content-panel__image {
    max-height: min(140px, 18vh);
  }

  .scene-nav {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}
/* NARROW LAYOUT END */
