/* ============================================================
   Rauenberg · 360° Virtual Tour
   Modern glassmorphism redesign of the Marzipano default chrome
   ============================================================ */

:root {
  /* Surfaces */
  --bg:            #0b0c0e;
  --glass:         rgba(18, 20, 24, 0.55);
  --glass-strong:  rgba(16, 18, 22, 0.78);
  --glass-hover:   rgba(38, 42, 50, 0.72);

  /* Strokes */
  --hairline:      rgba(255, 255, 255, 0.10);
  --hairline-soft: rgba(255, 255, 255, 0.06);

  /* Text */
  --text:          #f4f4f5;
  --text-mute:     rgba(244, 244, 245, 0.62);
  --text-faint:    rgba(244, 244, 245, 0.38);

  /* Accent (warm interior-amber) */
  --accent:        #e0a458;
  --accent-soft:   rgba(224, 164, 88, 0.16);
  --accent-glow:   rgba(224, 164, 88, 0.32);

  /* Shape & motion */
  --radius:        16px;
  --radius-sm:     10px;
  --radius-pill:   999px;
  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft:     cubic-bezier(0.4, 0, 0.2, 1);
  --dur:           0.42s;

  /* Z-stack */
  --z-pano:        1;
  --z-vignette:    2;
  --z-draghint:    5;
  --z-chrome:      10;
  --z-drawer:      20;
  --z-toggle:      30;
  --z-splash:      100;
  --z-modal:       11000;
}

* {
  -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: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   Panorama viewport
   ============================================================ */
#pano {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: var(--z-pano);
}

/* Cinematic vignette + subtle grain layer */
.vignette {
  position: absolute;
  inset: 0;
  z-index: var(--z-vignette);
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%);
  box-shadow: inset 0 0 140px 30px rgba(0,0,0,0.45);
  opacity: 0.9;
  transition: opacity 0.6s var(--ease-soft);
}

/* ============================================================
   Splash / loading veil
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: var(--z-splash);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: radial-gradient(140% 100% at 50% 30%, #15171c 0%, var(--bg) 70%);
  color: var(--text);
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.splash__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 30px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--hairline);
  letter-spacing: -0.02em;
}
.splash__word {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.02em;
}
.splash__spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
}
.splash__caption {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Shared control button (glass pill)
   ============================================================ */
.ctrl {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  color: var(--text);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              transform 0.18s var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.ctrl:hover {
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.18);
}
.ctrl:active { transform: scale(0.94); }
.ctrl .icon {
  width: 19px;
  height: 19px;
  display: block;
}
.ctrl .icon.on  { display: none; }
.ctrl .icon.off { display: block; }
.ctrl.enabled .icon.on  { display: block; }
.ctrl.enabled .icon.off { display: none; }
.ctrl.enabled {
  color: var(--accent);
  border-color: var(--accent-glow);
  background: var(--accent-soft);
}

/* ============================================================
   Top bar (brand · scene name · controls)
   ============================================================ */
#titleBar {
  position: absolute;
  top: 16px;
  left: 72px;
  right: 16px;
  z-index: var(--z-chrome);
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 18px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 8px 30px rgba(0,0,0,0.28);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

/* Single scene: no toggle, so the title bar can go full width. */
body.single-scene #titleBar { left: 16px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  min-width: 0;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}
.brand__name {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

#titleBar .sceneName {
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 12px;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.controls {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   Scene list toggle (floating, left)
   ============================================================ */
#sceneListToggle {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: var(--z-toggle);
}

/* Fullscreen toggle is only shown when screenfull is supported.
   (index.js adds body.fullscreen-enabled when screenfull.enabled). */
#fullscreenToggle { display: none; }
body.fullscreen-enabled #fullscreenToggle { display: inline-flex; }
body.fullscreen-disabled #fullscreenToggle { display: none; }
/* Push the title bar inward when the drawer is open so it doesn't overlap.
   The original chrome reserved the left 40px for the toggle. We keep the
   toggle floating and shift the top bar only when the drawer is open. */
body:not(.multiple-scenes) #sceneListToggle { display: none; }

/* ============================================================
   Scene list drawer
   ============================================================ */
#sceneList {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 320px;
  max-width: 86vw;
  z-index: var(--z-drawer);
  padding: 84px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, rgba(14,16,20,0.92) 0%, rgba(11,12,14,0.88) 100%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  border-right: 1px solid var(--hairline);
  box-shadow: 24px 0 60px rgba(0,0,0,0.35);
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}
#sceneList.enabled { transform: translateX(0); }

.sceneList__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 6px 0;
}
.sceneList__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sceneList__count {
  font-family: "Fraunces", serif;
  font-size: 14px;
  color: var(--text-mute);
}

#sceneList .scenes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#sceneList .scene {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--hairline-soft);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 0.18s var(--ease);
}
.no-touch #sceneList .scene:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}
#sceneList .scene:active { transform: scale(0.985); }

.scene__index {
  font-family: "Fraunces", serif;
  font-size: 13px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}
.scene__arrow {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.no-touch #sceneList .scene:hover .scene__arrow {
  opacity: 1;
  transform: translateX(0);
}
.scene__arrow svg { width: 100%; height: 100%; }

#sceneList .scene .text {
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#sceneList .scene.current {
  background: var(--accent-soft);
  border-color: var(--accent-glow);
}
#sceneList .scene.current .text { color: var(--text); }
#sceneList .scene.current .scene__index { color: var(--accent); }
#sceneList .scene.current .scene__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

.sceneList__foot {
  margin-top: auto;
  padding: 16px 6px 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-top: 1px solid var(--hairline-soft);
}

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

/* ============================================================
   Drag hint (auto-fades)
   ============================================================ */
.dragHint {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-draghint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--text-mute);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
}
.dragHint svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  animation: nudge 2.4s ease-in-out infinite;
}
.dragHint.is-visible { opacity: 1; }
.dragHint.is-hidden  { opacity: 0 !important; }
@keyframes nudge {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(2px, -2px); }
  50%      { transform: translate(-2px, 2px); }
  75%      { transform: translate(2px, 2px); }
}

/* ============================================================
   Link hotspot (navigation between scenes)
   ============================================================ */
.link-hotspot {
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  opacity: 0.92;
  transition: opacity 0.2s var(--ease-soft);
}
.no-touch .link-hotspot:hover { opacity: 1; }
.mobile .link-hotspot { width: 66px; height: 66px; }

.link-hotspot-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45));
}

.link-hotspot-tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  margin-left: 8px;
  font-size: 14px;
  font-weight: 500;
  max-width: 300px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  color: var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.link-hotspot-tooltip { pointer-events: none; }
.no-touch .link-hotspot:hover .link-hotspot-tooltip { pointer-events: all; }

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

/* ============================================================
   Info hotspot
   ============================================================ */
.info-hotspot {
  line-height: 1.35;
  opacity: 0.9;
  transition: opacity 0.2s var(--ease-soft) 0.2s;
}
.no-touch .info-hotspot:hover,
.info-hotspot.visible {
  opacity: 1;
  transition: opacity 0.2s var(--ease-soft);
}

.info-hotspot .info-hotspot-header {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: width 0.32s var(--ease) 0.4s,
              border-radius 0.32s var(--ease) 0.4s,
              background 0.32s var(--ease) 0.4s;
}
.mobile .info-hotspot .info-hotspot-header { width: 52px; height: 52px; }

.desktop.no-touch .info-hotspot .info-hotspot-header:hover {
  width: 264px;
  border-radius: var(--radius);
  background: var(--glass-strong);
  transition: width 0.32s var(--ease),
              border-radius 0.32s var(--ease),
              background 0.32s var(--ease);
}
.desktop .info-hotspot.visible .info-hotspot-header,
.desktop.no-touch .info-hotspot.visible .info-hotspot-header:hover {
  width: 264px;
  border-radius: var(--radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  transition: width 0.32s var(--ease),
              border-radius 0.32s var(--ease),
              background 0.32s var(--ease);
}

.info-hotspot .info-hotspot-icon-wrapper { width: 44px; height: 44px; }
.mobile .info-hotspot .info-hotspot-icon-wrapper { width: 52px; height: 52px; }
.info-hotspot .info-hotspot-icon { width: 50%; height: 50%; margin: 25%; }

.info-hotspot .info-hotspot-title-wrapper {
  position: absolute;
  left: 44px;
  top: 0;
  width: 0;
  height: 44px;
  padding: 0;
  overflow: hidden;
  transition: width 0s 0.36s, padding 0s 0.36s;
}
.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 6px;
  transition: width 0s 0.36s, padding 0s 0.36s;
}
.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;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 16px;
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.info-hotspot .info-hotspot-close-wrapper {
  position: absolute;
  left: 264px;
  top: 0;
  height: 44px;
  width: 44px;
  border-top-right-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-left: none;
  visibility: hidden;
  transform: perspective(200px) rotateY(90deg);
  transform-origin: 0 50% 0;
  transition: transform 0.3s 0.3s var(--ease), visibility 0s 0.6s;
}
.desktop .info-hotspot.visible .info-hotspot-close-wrapper {
  visibility: visible;
  transform: perspective(200px) rotateY(0deg);
  transition: transform 0.3s var(--ease), visibility 0s 0s;
}
.info-hotspot .info-hotspot-close-icon { width: 60%; height: 60%; margin: 20%; }

.info-hotspot .info-hotspot-text {
  position: absolute;
  width: 308px;
  height: auto;
  max-height: 220px;
  top: 44px;
  left: 0;
  padding: 14px 16px;
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-mute);
  overflow-y: auto;
  visibility: hidden;
  transform: perspective(200px) rotateX(-89.999deg);
  transform-origin: 50% 0 0;
  transition: transform 0.3s var(--ease), 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;
  transform: perspective(200px) rotateX(0deg);
  transition: transform 0.3s 0.3s var(--ease), visibility 0s 0s;
}

/* ============================================================
   Info hotspot modal (mobile)
   ============================================================ */
.desktop .info-hotspot-modal { display: none; }

.info-hotspot-modal {
  top: 0; left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: var(--z-modal) !important;
  background-color: rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-soft) 0.4s, visibility 0s 0.65s;
}
.info-hotspot-modal.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s var(--ease-soft), visibility 0s 0s;
}

.info-hotspot-modal .info-hotspot-header {
  position: absolute;
  top: 60px;
  left: 16px;
  right: 16px;
  width: auto;
  height: 56px;
  display: flex;
  align-items: center;
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft) 0.2s;
}
.info-hotspot-modal.visible .info-hotspot-header { opacity: 1; }

.info-hotspot-modal .info-hotspot-icon-wrapper { width: 56px; height: 56px; flex-shrink: 0; }
.info-hotspot-modal .info-hotspot-icon { width: 50%; height: 50%; margin: 25%; }

.info-hotspot-modal .info-hotspot-title-wrapper {
  position: absolute;
  top: 0;
  left: 56px;
  right: 56px;
  width: auto;
  height: 56px;
  padding: 0 12px;
}
.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;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 17px;
  -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: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.info-hotspot-modal .info-hotspot-close-icon { width: 50%; height: 50%; }

.info-hotspot-modal .info-hotspot-text {
  position: absolute;
  top: 124px;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 18px;
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
  -moz-user-select: text;
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
.info-hotspot-modal.visible .info-hotspot-text {
  opacity: 1;
  transition: opacity 0.3s var(--ease-soft) 0.4s;
}

/* ============================================================
   View control buttons
   ============================================================ */
.viewControlButton {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  transition: background var(--dur) var(--ease), transform 0.18s var(--ease);
}
.viewControlButton:hover { background: var(--glass-hover); }
.viewControlButton:active { transform: scale(0.92); }

body.view-control-buttons .viewControlButton { display: flex; align-items: center; justify-content: center; }

@media (max-width: 600px) {
  body.view-control-buttons .viewControlButton { display: none; }
}

.viewControlButton .icon {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

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

/* ============================================================
   Mobile tuning
   ============================================================ */
.mobile #titleBar {
  height: 52px;
  top: 12px;
  left: 12px;
  right: 12px;
  padding: 0 6px 0 14px;
}
.mobile .brand__name { display: none; }
.mobile #titleBar .sceneName { font-size: 15px; }
.mobile .ctrl { width: 38px; height: 38px; }

.mobile #sceneListToggle { top: 12px; left: 12px; }
.mobile #sceneList { width: 100%; max-width: 100%; }

.mobile .dragHint { bottom: 24px; font-size: 12px; padding: 8px 14px; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Custom scrollbars inside glass panels */
#sceneList::-webkit-scrollbar,
.info-hotspot-text::-webkit-scrollbar,
.info-hotspot-modal .info-hotspot-text::-webkit-scrollbar { width: 6px; }
#sceneList::-webkit-scrollbar-track,
.info-hotspot-text::-webkit-scrollbar-track,
.info-hotspot-modal .info-hotspot-text::-webkit-scrollbar-track { background: transparent; }
#sceneList::-webkit-scrollbar-thumb,
.info-hotspot-text::-webkit-scrollbar-thumb,
.info-hotspot-modal .info-hotspot-text::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
