@font-face {
  font-family: "Estedad";
  src: url("fonts/Estedad-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("fonts/Estedad-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

/* Scene-attached labels and information cards use the local Persian font.
   CJK fallbacks supply Chinese glyphs that are not included in Estedad. */
.link-hotspot-tooltip,
.info-hotspot,
.info-hotspot-modal,
.info-hotspot-card {
  font-family: "Estedad", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", Tahoma, sans-serif;
}
.info-hotspot-title {
  font-weight: 700;
}
.info-hotspot-text {
  font-weight: 400;
}

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

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

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

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

.tour-loader {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 19px;
  padding: 24px;
  background: radial-gradient(circle at center, #202c34 0, #0b1014 68%, #050709 100%);
  color: #fff;
  font: 700 clamp(15px, 2.6vw, 20px)/1.8 "Estedad", Tahoma, sans-serif;
  text-align: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .34s ease, visibility 0s linear .34s;
}

.tour-loader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tour-loader.is-error { color: #ffd8d8; }
.tour-loader-mark { display: flex; align-items: center; gap: 9px; height: 34px; direction: ltr; }
.tour-loader-mark i { display: block; width: 11px; height: 11px; border-radius: 50%; background: #70c9fb; animation: tour-loader-pulse .9s ease-in-out infinite; }
.tour-loader-mark i:nth-child(2) { animation-delay: .13s; }
.tour-loader-mark i:nth-child(3) { animation-delay: .26s; }
@keyframes tour-loader-pulse { 0%,100% { transform: translateY(0); opacity: .38; } 50% { transform: translateY(-10px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tour-loader-mark i { animation: none; opacity: 1; } }

.tour-home {
  position: fixed;
  z-index: 18;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(20,27,34,.78);
  box-shadow: 0 5px 18px rgba(0,0,0,.32);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.tour-home svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.tour-home:hover:not(:disabled), .tour-home:focus-visible { transform: translateY(-1px) scale(1.04); background: rgba(35,113,154,.94); outline: none; }
.tour-home:focus-visible { box-shadow: 0 0 0 3px rgba(87,188,241,.45), 0 5px 18px rgba(0,0,0,.32); }
.tour-home:disabled { opacity: .42; cursor: default; }
body.tour-walking .tour-home { pointer-events: none; }

.tour-round-control {
  position: fixed;
  z-index: 18;
  top: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(20,27,34,.78);
  box-shadow: 0 5px 18px rgba(0,0,0,.32);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.tour-round-control[hidden] { display: none; }
.tour-round-control svg { display:block; width:100%; height:100%; fill:currentColor; }
.tour-round-control:focus-visible,.tour-round-control[aria-pressed="true"] { transform:translateY(-1px) scale(1.04); background:rgba(35,113,154,.94); outline:none; }
@media (hover:hover) { .tour-round-control:hover { transform:translateY(-1px) scale(1.04); background:rgba(35,113,154,.94); outline:none; } }
.tour-round-control:focus-visible { box-shadow:0 0 0 3px rgba(87,188,241,.45),0 5px 18px rgba(0,0,0,.32); }
.tour-language { top:68px; left:14px; }
.tour-motion { top:122px; left:14px; }
body.tour-walking .tour-round-control { pointer-events:none; }

.motion-notice { position:fixed; z-index:24; top:14px; left:50%; display:flex; align-items:center; gap:12px; max-width:calc(100vw - 140px); min-height:44px; padding:7px 8px 7px 18px; transform:translateX(-50%); border:1px solid rgba(255,255,255,.48); border-radius:16px; background:rgba(18,25,32,.52); box-shadow:0 10px 36px rgba(0,0,0,.34); color:#fff; font:600 14px/1.35 Arial,Tahoma,sans-serif; -webkit-backdrop-filter:blur(16px) saturate(1.3); backdrop-filter:blur(16px) saturate(1.3); }
.motion-notice[hidden] { display:none !important; }
.motion-notice button { display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px; padding:0; border:1px solid rgba(255,255,255,.38); border-radius:50%; background:rgba(255,255,255,.1); color:#fff; font:400 24px/1 Arial,sans-serif; cursor:pointer; }
.motion-notice button:hover,.motion-notice button:focus-visible { background:rgba(35,113,154,.94); outline:none; }

.tour-report { position:fixed; z-index:18; bottom:14px; left:14px; display:grid; place-items:center; width:44px; height:44px; padding:10px; border:1px solid rgba(255,255,255,.72); border-radius:50%; background:rgba(20,27,34,.78); box-shadow:0 5px 18px rgba(0,0,0,.32); color:#fff; cursor:pointer; -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px); transition:transform .18s ease,background .18s ease; }
.tour-report svg { width:100%; height:100%; fill:currentColor; }
.tour-report:hover,.tour-report:focus-visible { transform:translateY(-1px) scale(1.04); background:rgba(35,113,154,.94); outline:none; }
.report-dialog { position:fixed; z-index:120; inset:0; display:grid; place-items:center; padding:18px; background:rgba(5,9,13,.42); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); }
.report-dialog[hidden] { display:none !important; }
.report-card { position:relative; width:min(440px,100%); max-height:calc(100vh - 36px); overflow:auto; padding:25px; border:1px solid rgba(255,255,255,.48); border-radius:21px; background:rgba(18,25,32,.72); box-shadow:0 24px 80px rgba(0,0,0,.5); color:#fff; -webkit-backdrop-filter:blur(20px) saturate(1.25); backdrop-filter:blur(20px) saturate(1.25); font-family:Arial,"Noto Sans CJK SC","Microsoft YaHei",Tahoma,sans-serif; }
.report-card h2 { margin:0 38px 7px 0; font-size:23px; }
.report-card > p { margin:0 0 20px; color:#c6d1da; font-size:14px; line-height:1.5; }
.report-close { position:absolute; top:14px; right:14px; display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid rgba(255,255,255,.35); border-radius:50%; background:rgba(255,255,255,.08); color:#fff; font:400 25px/1 Arial,sans-serif; cursor:pointer; }
.report-close:hover,.report-close:focus-visible { background:rgba(35,113,154,.94); outline:none; }
.report-card form { display:grid; gap:8px; }
.report-card label { margin-top:6px; color:#dce6ed; font-size:13px; font-weight:700; }
.report-card select,.report-card textarea,.report-card input { width:100%; padding:11px 12px; border:1px solid #4b5e6d; border-radius:10px; background:rgba(10,17,23,.8); color:#fff; font:inherit; line-height:1.4; outline:none; }
.report-card textarea { min-height:112px; resize:vertical; }
.report-card select:focus,.report-card textarea:focus,.report-card input:focus { border-color:#64c7ff; box-shadow:0 0 0 3px rgba(87,188,241,.18); }
.report-submit { min-height:44px; margin-top:10px; border:0; border-radius:11px; background:#237aa7; color:#fff; font:700 14px Arial,Tahoma,sans-serif; cursor:pointer; }
.report-submit:hover,.report-submit:focus-visible { background:#2c91c4; outline:none; }
.report-status { margin:4px 0 0; padding:10px; border-radius:9px; background:rgba(78,177,127,.18); color:#c9f6de; font-size:13px; line-height:1.45; }
.report-status[hidden] { display:none; }
.report-status[data-state="error"] { background:rgba(211,72,72,.2); color:#ffd6d6; }
.report-status[data-state="sending"] { background:rgba(87,188,241,.18); color:#d8f2ff; }
.report-submit:disabled { cursor:wait; opacity:.68; }
.report-card[dir="rtl"] h2 { margin-right:0; margin-left:38px; }
.report-card[dir="rtl"] .report-close { right:auto; left:14px; }

.language-gate { position:relative; z-index:30; width:min(520px,calc(100vw - 28px)); margin-left:max(-260px,calc(-50vw + 14px)); margin-top:-150px; pointer-events:auto; }
.language-gate[hidden] { display:none !important; }
.language-gate-overlay { position:fixed; top:50%; left:50%; z-index:31; margin:0; transform:translate(-50%,-50%); }
.language-card { width:100%; padding:clamp(18px,4vw,30px); border:1px solid rgba(255,255,255,.46); border-radius:22px; background:rgba(18,25,32,.50); box-shadow:0 24px 80px rgba(0,0,0,.42); text-align:center; -webkit-backdrop-filter:blur(18px) saturate(1.3); backdrop-filter:blur(18px) saturate(1.3); font-family:"Estedad","Noto Sans CJK SC","Microsoft YaHei","PingFang SC",Tahoma,sans-serif; }
.language-kicker { color:#70c9fb; font-size:11px; font-weight:800; letter-spacing:.18em; }
.language-card h1 { margin:9px auto 24px; max-width:420px; font-size:clamp(20px,4.5vw,30px); line-height:1.22; }
.language-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.language-options button { display:flex; align-items:center; gap:14px; min-height:76px; padding:12px 16px; border:1px solid #405261; border-radius:13px; background:#18232d; color:#fff; font:inherit; text-align:left; cursor:pointer; }
.language-options button:hover,.language-options button:focus-visible { border-color:#64c7ff; background:#20394b; outline:none; }
.language-options b { display:block; flex:0 0 64px; width:64px; height:40px; overflow:hidden; border:1px solid rgba(255,255,255,.35); border-radius:7px; background:#2a4051; }
.language-options b img { display:block; width:100%; height:100%; object-fit:cover; }
.language-options span { font-size:15px; font-weight:600; }

@media (max-width: 520px) {
  .tour-home,.tour-round-control { top:10px; width:40px; height:40px; padding:9px; }
  .tour-home { left:10px; }
  .tour-language { top:58px; left:10px; }
  .tour-motion { top:106px; left:10px; }
  .motion-notice { top:10px; max-width:calc(100vw - 112px); min-height:40px; padding:5px 6px 5px 14px; gap:9px; font-size:13px; }
  .motion-notice button { flex-basis:28px; width:28px; height:28px; }
  .tour-report { bottom:10px; left:10px; width:40px; height:40px; padding:9px; }
  .report-dialog { padding:10px; }
  .report-card { max-height:calc(100vh - 20px); padding:21px 17px; border-radius:17px; }
  .language-gate { margin-top:-145px; }
  .language-options { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .language-options button { min-height:68px; padding:9px; gap:9px; }
  .language-options b { flex-basis:52px; width:52px; height:33px; }
  .language-options span { font-size:13px; }
}

/* Walk-through scene transition for navigation hotspots. */
.walk-transition {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at center, rgba(5,8,11,.12) 0, rgba(5,8,11,.52) 58%, rgba(2,4,6,.92) 100%),
    rgba(7,10,13,.2);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: opacity .25s ease, backdrop-filter .25s ease, -webkit-backdrop-filter .25s ease;
  pointer-events: none;
}

body.tour-walking .walk-transition {
  pointer-events: auto;
}

body.tour-walking-covered .walk-transition {
  opacity: 1;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

body.tour-walking-arrive #pano {
  animation: tour-walk-arrive .52s cubic-bezier(.2,.75,.25,1) both;
}

body.tour-crossfade .walk-transition {
  background: rgba(3,5,7,.96);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition-duration: .3s;
}

body.tour-crossfade.tour-walking-arrive #pano {
  animation: tour-crossfade-arrive .4s ease-out both;
}

@keyframes tour-walk-arrive {
  from { transform: scale(1.045); filter: blur(4px); }
  to { transform: scale(1); filter: blur(0); }
}

@keyframes tour-crossfade-arrive {
  from { opacity: .35; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .walk-transition { display: none; }
  body.tour-walking-arrive #pano { animation: none; }
}

.removed-tour-ui {
  display: none !important;
}

/* Compact floor map */

.tour-map {
  position: fixed;
  z-index: 16;
  right: 14px;
  bottom: 14px;
  width: 224px;
  color: #26313b;
}

.tour-map-summary {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 7px 27px 7px 7px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 14px;
  background: rgba(250,249,246,0.93);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tour-map-summary:hover,
.tour-map-summary:focus-visible {
  border-color: #e66a50;
  background: rgba(255,255,255,0.98);
  outline: none;
}

.tour-map-mini {
  position: relative;
  flex: 0 0 54px;
  width: 54px;
  height: 66px;
  overflow: hidden;
  border: 1px solid #d8d6d0;
  border-radius: 8px;
  background: #f5f3ef;
}

.tour-route-trail {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.tour-route-trail polyline {
  fill: none;
  stroke: #277cab;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.85));
}

.tour-route-trail circle {
  fill: #277cab;
  stroke: #fff;
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
}

.tour-route-trail circle.current {
  fill: #e75f45;
  r: 2.4px;
}

.tour-route-history {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr) 30px;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 4px;
  border-radius: 9px;
  background: rgba(22,27,32,.76);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tour-map.open > .tour-route-history {
  visibility: hidden;
}

.tour-route-history button {
  width: 30px;
  height: 27px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font: 700 15px/25px Arial,sans-serif;
  cursor: pointer;
}

.tour-route-history button:hover:not(:disabled),
.tour-route-history button:focus-visible:not(:disabled) {
  border-color: #ff8d76;
  background: rgba(231,95,69,.35);
  outline: none;
}

.tour-route-history button:disabled {
  opacity: .28;
  cursor: default;
}

.tour-route-history span {
  overflow: hidden;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-map-mini img,
.tour-map-canvas > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tour-map-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding-left: 10px;
}

.tour-map-eyebrow,
.tour-map-copy > span:last-child,
.tour-map-location small,
.tour-map-header small {
  color: #77818a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tour-map-copy strong {
  overflow: hidden;
  color: #26313b;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-map-copy > span:last-child {
  overflow: hidden;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-map-expand {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #6f777f;
  font-size: 20px;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.tour-map.open .tour-map-expand {
  transform: translateY(-50%) rotate(180deg);
}

.tour-map-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(390px, calc(100vw - 28px));
  max-height: calc(100vh - 120px);
  overflow: hidden auto;
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 16px;
  background: #faf9f6;
  box-shadow: 0 18px 60px rgba(0,0,0,0.5);
}

.tour-map-panel[hidden] {
  display: none;
}

.tour-map-header,
.tour-map-location {
  display: flex;
  align-items: center;
  padding: 12px 14px;
}

.tour-map-header {
  justify-content: space-between;
  border-bottom: 1px solid #e1dfda;
}

.tour-map-header span,
.tour-map-location > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tour-map-header strong,
.tour-map-location strong {
  color: #26313b;
  font-size: 15px;
}

.tour-map-header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ece9e3;
  color: #37414a;
  font-size: 25px;
  line-height: 30px;
  cursor: pointer;
}

.tour-map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1086 / 1448;
  background: #f7f5f1;
}

.tour-map-marker {
  position: absolute;
  z-index: 2;
  left: var(--map-x);
  top: var(--map-y);
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #e75f45;
  box-shadow: 0 2px 7px rgba(0,0,0,0.48);
  transform: translate(-50%, -100%) rotate(-45deg);
  transition: left 0.4s ease, top 0.4s ease;
}

.tour-map-marker::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  content: '';
}

.tour-map-marker-large {
  width: 24px;
  height: 24px;
  border-width: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.5), 0 0 0 7px rgba(231,95,69,0.22);
}

.tour-map-marker-large::after {
  top: 7px;
  left: 7px;
  width: 4px;
  height: 4px;
}

.tour-map-location {
  gap: 11px;
  border-top: 1px solid #e1dfda;
  background: #fff;
}

.tour-map-location-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.tour-route-history-panel {
  flex: 0 0 112px;
  margin: 0;
  background: #26313b;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tour-map-location-pin {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e75f45;
  box-shadow: 0 0 0 5px rgba(231,95,69,0.16);
}

@media (max-width: 500px), (max-height: 500px) {
  .tour-map {
    right: 10px;
    bottom: 10px;
    width: 196px;
  }

  .tour-map-summary {
    min-height: 68px;
    border-radius: 12px;
  }

  .tour-map-mini {
    flex-basis: 43px;
    width: 43px;
    height: 52px;
  }

  .tour-map-copy strong {
    font-size: 13px;
  }

  .tour-map-panel {
    max-height: calc(100vh - 92px);
  }
}

/* Portrait-first map: the plan is the primary content and labels stay small. */

.tour-map {
  width: 184px;
}

.tour-map-summary {
  display: block;
  min-height: 0;
  padding: 6px;
  border-color: transparent;
  border-radius: 13px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tour-map-summary:hover,
.tour-map-summary:focus-visible {
  border-color: transparent;
  background: transparent;
}

.tour-map-mini {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1086 / 1448;
  border: 0;
  border-radius: 9px;
  background: transparent;
}

.tour-map-mini img,
.tour-map-canvas > img {
  filter: drop-shadow(0 0 2px rgba(255,255,255,.85)) drop-shadow(0 2px 5px rgba(0,0,0,.55));
}

.tour-map-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 3px;
  padding: 5px 20px 4px 6px;
  border-radius: 7px;
  background: rgba(22,27,32,.68);
}

.tour-map-copy strong {
  color: #fff;
  font-size: 11px;
}

.tour-map-copy > span:last-child {
  color: rgba(255,255,255,.78);
  font-size: 9px;
  text-align: right;
}

.tour-map-expand {
  top: auto;
  right: 10px;
  bottom: 5px;
  font-size: 15px;
  transform: none;
}

.tour-map.open .tour-map-expand {
  transform: rotate(180deg);
}

.tour-map-panel {
  bottom: 0;
  width: min(400px, calc(100vw - 28px), calc((100vh - 70px) * .75));
  max-height: calc(100vh - 70px);
  overflow: hidden;
  border-color: rgba(255,255,255,.8);
  border-radius: 14px;
  background: #f7f5f1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tour-map-canvas {
  background: #f7f5f1;
}

.tour-map-panel .tour-map-canvas > img {
  filter: none;
}

.tour-map.open .tour-map-summary {
  visibility: hidden;
  pointer-events: none;
}

.tour-map-close {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(38,49,59,.78);
  color: #fff;
  font: 23px/26px Arial,sans-serif;
  cursor: pointer;
}

.tour-map-location {
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-top: 1px solid #e1dfda;
  background: #fff;
}

.tour-map-location strong {
  overflow: hidden;
  color: #26313b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-map-location small {
  flex: none;
  color: #77818a;
  font-size: 8px;
  letter-spacing: 0;
}

@media (max-width: 500px), (max-height: 500px) {
  .tour-map {
    width: 104px;
  }

  .tour-map-copy {
    display: block;
    padding-top: 4px;
  }

  .tour-map-copy strong,
  .tour-map-copy > span:last-child {
    display: block;
    font-size: 7px;
    text-align: left;
  }

  .tour-map-panel {
    width: min(320px, calc(100vw - 20px), calc((100vh - 70px) * .75));
    max-height: calc(100vh - 28px);
  }
}

/* Small coral autorotate control, visually matched to the navigation pointer. */

#autorotateToggle,
.mobile #autorotateToggle {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

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

#autorotateToggle .icon,
.mobile #autorotateToggle .icon {
  top: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.42));
}

/* First-scene introduction */

.welcome-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 20px 20px;
  background: rgba(0,0,0,0.42);
  overflow: auto;
}

.welcome-overlay[hidden] {
  display: none;
}

.welcome-card {
  position: relative;
  width: min(94vw, 960px, calc(88vh * 1.497));
  aspect-ratio: 2650 / 1770;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 18px;
  background: #160000;
  box-shadow: 0 24px 80px rgba(0,0,0,0.65);
}

.welcome-background,
.welcome-copy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.welcome-background {
  opacity: 0.6;
}

.welcome-copy {
  opacity: 1;
}

.welcome-close,
.welcome-start {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(20,0,0,0.82);
  cursor: pointer;
  font: inherit;
}

.welcome-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 36px;
}

.welcome-start {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: 180px;
  padding: 11px 20px;
  border-radius: 999px;
  direction: rtl;
  font-weight: 700;
  white-space: nowrap;
}

.welcome-close:hover,
.welcome-start:hover,
.welcome-close:focus,
.welcome-start:focus {
  border-color: #fff;
  background: rgba(117,0,0,0.95);
  outline: none;
}

@media (max-width: 600px) {
  .welcome-overlay {
    padding: 58px 8px 12px;
    align-items: flex-start;
  }

  .welcome-card {
    width: 100%;
    border-radius: 12px;
  }

  .welcome-close {
    top: 7px;
    right: 7px;
    width: 34px;
    height: 34px;
    font-size: 25px;
    line-height: 29px;
  }

  .welcome-start {
    bottom: 8px;
    min-width: 150px;
    padding: 8px 14px;
    font-size: 13px;
  }
}

#titleBar {
  position: absolute;
  top: 0;
  left: 0;
  right: 40px;
  height: 40px;
  text-align: center;
}

.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 {
  width: 100%;
  height: 100%;
  line-height: 30px;
  padding: 5px;
  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

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

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

#fullscreenToggle {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

.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: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

.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: rgb(103,115,131);
  background-color: rgba(103,115,131,0.8);
}

.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: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);
}

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

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

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

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

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

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

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

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

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

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

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

/* Link hotspot */

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

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

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

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

.link-hotspot-tooltip {
  position: absolute;
  left: 100%;
  top: 14px; /* ( 60 - (16 + 2*8) ) / 2 */

  margin-left: 3px;

  font-size: 16px;

  max-width: 300px;

  padding: 8px 10px;

  border-radius: 5px;

  background-color: rgb(58,68,84);
  background-color: rgba(58,68,84,0.8);

  color: #fff;

  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;

  cursor: pointer;

  opacity: 0;

  -ms-transform: translateX(-8px);
  -webkit-transform: translateX(-8px);
  transform: translateX(-8px);

  -webkit-transition: -ms-transform 0.3s,
                      -webkit-transform 0.3s,
                      transform 0.3s,
                      opacity 0.3s;
  transition: -ms-transform 0.3s,
              -webkit-transform 0.3s,
              transform 0.3s,
              opacity 0.3s;
}

.mobile .link-hotspot {
  top: 19px; /* ( 70 - (16 + 2*8) ) / 2 */
}

.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 */

/* Spatial advertising banner */

.ad-hotspot {
  display: block;
  opacity: 1;
  cursor: pointer;
  transition: opacity 0.2s, filter 0.2s;
}

.ad-hotspot-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  filter: drop-shadow(0 5px 9px rgba(0,0,0,0.65));
}

.no-touch .ad-hotspot:hover {
  opacity: 1;
  filter: brightness(1.08);
}

.ad-hotspot:focus {
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 5px;
}

/* Panorama-anchored privacy blur */

.privacy-blur-hotspot {
  z-index: 75;
  overflow: hidden;
  background: rgba(102,108,114,.2);
  pointer-events: none;
}

.privacy-blur-surface {
  position: absolute;
  inset: calc(-1 * var(--privacy-blur,24px));
  background: rgba(102,108,114,.2);
  -webkit-backdrop-filter: blur(var(--privacy-blur,24px)) saturate(.5);
  backdrop-filter: blur(var(--privacy-blur,24px)) saturate(.5);
}

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

/* The phone backdrop catches outside taps; the content card sizes to its text. */
.mobile .info-hotspot-modal { position:fixed; display:flex; align-items:center; justify-content:center; width:100%; height:100%; padding:max(18px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom)); overflow:auto; }
.info-hotspot-card { width:min(520px,100%); max-height:calc(100dvh - 36px); display:flex; flex-direction:column; border:1px solid rgba(255,255,255,.2); border-radius:15px; overflow:hidden; box-shadow:0 18px 55px rgba(0,0,0,.48); }
.mobile .info-hotspot-modal .info-hotspot-header { position:relative; top:auto; left:auto; right:auto; flex:0 0 50px; width:100%; height:50px; opacity:0; }
.mobile .info-hotspot-modal.visible .info-hotspot-header { opacity:1; }
.mobile .info-hotspot-modal .info-hotspot-text { position:relative; inset:auto; flex:0 1 auto; width:100%; max-height:min(62dvh,520px); padding:14px 16px 17px; overflow-y:auto; white-space:pre-wrap; line-height:1.55; opacity:0; }
.mobile .info-hotspot-modal.visible .info-hotspot-text { opacity:1; }
.info-hotspot-card[dir="rtl"] { text-align:right; }

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

/* Final autorotate sizing override (kept after the original Marzipano rules). */

#autorotateToggle,
.mobile #autorotateToggle {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

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

#autorotateToggle .icon,
.mobile #autorotateToggle .icon {
  top: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.42));
}
