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

body {
  font-family: 'Mona Sans', sans-serif;
  color: #ffffff;
}
#tour-root {
  position: relative;
  width: 100%;
  height: 100%;
}

#tour-root:fullscreen,
#tour-root:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background-color: #DC8633; /* your brand color */
}

.top-bar-controls {
  position: absolute;
  top: 20px;
  right: 76px; /* leave room for other top-right controls */
  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: #DC8633;
  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: color-mix(in srgb, #DC8633 75%, #ffffff 25%);
}

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

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

#back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 46px;
  height: 46px;
  padding: 0;
  z-index: 1201;
  background-color: #DC8633;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-sizing: border-box;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#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 {
  background-color: color-mix(in srgb, #DC8633 75%, #ffffff 25%);
}

#back-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}


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

.pnlm-hotspot-base.custom-hotspot.hotspot-info::before {
  /* Flagpole */
  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 {
  /* Dot at hotspot coordinates */
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #DC8633;
  border: 2px solid #ffffff;
  transform: translateX(-50%);
  box-sizing: border-box;
}

/* Info hotspot: the base div has class pnlm-tooltip too (no nested tooltip div). */
.pnlm-hotspot-base.custom-hotspot.hotspot-info.pnlm-tooltip {
  padding: 0;
  background: none;
  border: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Label text is in a direct child span. Position at top of flagpole (80px), not at base. */
.pnlm-hotspot-base.custom-hotspot.hotspot-info.pnlm-tooltip > span {
  visibility: visible !important;
  position: absolute !important;
  bottom: 80px !important;
  left: -1px !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  padding: 4px 12px;
  background-color: #DC8633;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: 'Mona Sans', sans-serif;
  font-size: 1rem;
  white-space: nowrap;
  border-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  max-width: none;
  text-align: left;
  transition: none;
}

/* Taller info hotspot: double-height flagpole and label at top of pole. */
.pnlm-hotspot-base.custom-hotspot.hotspot-info.tall::before {
  height: 160px;
}
.pnlm-hotspot-base.custom-hotspot.hotspot-info.pnlm-tooltip.tall > span {
  bottom: 160px !important;
}

.pnlm-hotspot-base.custom-hotspot.hotspot-info.short::before {
  height: 20px;
}
.pnlm-hotspot-base.custom-hotspot.hotspot-info.pnlm-tooltip.short > span {
  bottom: 20px !important;
}

/* Left-facing info hotspot: label flag extends left from flagpole with mirrored radii. */
.pnlm-hotspot-base.custom-hotspot.hotspot-info.pnlm-tooltip.left > span {
  left: auto !important;
  right: -1px !important;
  text-align: right;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Hide Pannellum's default tooltip triangle (::after) on the label span. */
.pnlm-hotspot-base.custom-hotspot.hotspot-info.pnlm-tooltip > span::after {
  display: none !important;
  content: none !important;
}


/* 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: #DC8633;
  border: 2px solid #ffffff;
  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.5rem;
  bottom: 20px !important;
  font-family: 'Mona Sans', 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;
  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: #DC8633;
  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, #DC8633 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, #DC8633 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, #DC8633 95%, transparent) 0%, color-mix(in srgb, #DC8633 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, #DC8633 95%, transparent) 0%, color-mix(in srgb, #DC8633 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, #DC8633 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);
  }
}

/*
 * Narrower sidebar on phone-width viewports. Deliberately keyed off width
 * alone rather than `orientation: portrait` — when this tour is embedded in
 * an <iframe>, orientation is evaluated against the iframe's own box, not
 * the device. A host page that still uses a fixed 16:9 iframe (hasn't added
 * the portrait aspect-ratio override from the README) renders a wide, short
 * iframe even on a portrait phone, which reports as landscape from inside.
 * The iframe's rendered *width* stays phone-width regardless, so that's the
 * reliable signal here.
 */
@media (max-width: 480px) {
  .scene-nav {
    top: 76px;
    right: 12px;
    bottom: 12px;
    width: 220px;
    max-width: calc(100vw - 96px);
  }
}

@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: #DC8633;
  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 CONTENT PANEL START */
.scene-content-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1200;
  box-sizing: border-box;
  width: min(340px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  background-color: #DC8633;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 16px;
  font-family: 'Mona Sans', sans-serif;
  overflow: hidden;
}

.scene-content-panel__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
}

.scene-content-panel__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
}

.scene-content-panel__toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background-color: #DC8633;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.scene-content-panel__toggle:hover,
.scene-content-panel__toggle:focus-visible {
  background-color: color-mix(in srgb, #DC8633 75%, #ffffff 25%);
}

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

.scene-content-panel__toggle-icon {
  display: block;
}

.scene-content-panel__toggle-icon--expand {
  display: none;
}

.scene-content-panel.is-collapsed .scene-content-panel__toggle-icon--collapse {
  display: none;
}

.scene-content-panel.is-collapsed .scene-content-panel__toggle-icon--expand {
  display: block;
}

.scene-content-panel.is-title-only {
  width: fit-content;
  max-width: calc(100vw - 40px);
}

.scene-content-panel.is-title-only .scene-content-panel__toggle {
  display: none;
}

.scene-content-panel.is-title-only .scene-content-panel__header {
  padding-right: 0.75rem;
}

.scene-content-panel.is-title-only .scene-content-panel__title {
  flex: 0 1 auto;
}

.scene-content-panel__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 0.75rem;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

.scene-content-panel.is-expanded {
  max-height: 60vh;
}

.scene-content-panel.is-expanded .scene-content-panel__body {
  max-height: calc(60vh - 48px);
  opacity: 1;
  overflow-y: auto;
  padding: 0 0.75rem 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.9) rgba(255, 255, 255, 0.2);
}

.scene-content-panel.is-expanded .scene-content-panel__body::-webkit-scrollbar {
  width: 8px;
}

.scene-content-panel.is-expanded .scene-content-panel__body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.scene-content-panel.is-expanded .scene-content-panel__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.scene-content-panel.is-expanded .scene-content-panel__body::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
  background-clip: padding-box;
}

.scene-content-panel__images {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.scene-content-panel__images[hidden] {
  display: none;
}

.scene-content-panel__images--layout-side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.scene-content-panel__image {
  display: block;
  width: 100%;
  max-height: min(240px, 32vh);
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.12);
}

.scene-content-panel__images--count-1 .scene-content-panel__image--portrait {
  width: auto;
  max-width: 100%;
  max-height: min(320px, 40vh);
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.scene-content-panel__text {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

@media screen and (orientation: landscape) and (max-width: 1024px) {
  :root {
    --tour-chrome-top: 76px;
    --tour-chrome-bottom: 20px;
    --tour-sidebar-height: calc(100vh - var(--tour-chrome-top) - var(--tour-chrome-bottom));
  }

  .scene-content-panel.is-expanded {
    display: flex;
    flex-direction: column;
    max-height: var(--tour-sidebar-height);
  }

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

  .scene-content-panel__image {
    max-height: min(240px, calc(var(--tour-sidebar-height) - 7rem));
  }

  .scene-content-panel__images--count-1 .scene-content-panel__image--portrait {
    max-height: min(320px, calc(var(--tour-sidebar-height) - 5rem));
  }

  .scene-content-panel__images--layout-stacked .scene-content-panel__image {
    max-height: min(200px, calc((var(--tour-sidebar-height) - 6rem) / 2));
  }

  .scene-content-panel__images--layout-stacked .scene-content-panel__image--portrait {
    max-height: min(260px, calc((var(--tour-sidebar-height) - 5rem) / 2));
  }

  .scene-content-panel__images--layout-side-by-side .scene-content-panel__image {
    max-height: min(160px, calc(var(--tour-sidebar-height) - 7rem));
  }
}

@media screen and (orientation: landscape) and (max-width: 700px) {
  :root {
    --tour-chrome-bottom: 12px;
  }
}
/* OPTIONAL: SCENE CONTENT PANEL 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: #DC8633;
  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: #DC8633;
  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%, #DC8633 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 */
