:root {
  --canvas-opacity: 1;
  --poster-base-blur: 0px;
  --revasive-panel-offset: 0px;
}

* {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  font-family: "Arial", sans-serif;
}

.demo-viewport,
.demo-viewport * {
  touch-action: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

canvas {
  opacity: var(--canvas-opacity);
  transition: opacity 0.7s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.demo-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.hidden {
  display: none !important;
}

.viewer-control-hidden {
  display: none !important;
}

html.viewer-immersive #viewerBranding,
html.viewer-immersive #controlsWrap,
html.viewer-immersive #walkHint,
html.viewer-immersive #annotationNav,
html.viewer-immersive #tooltip,
html.viewer-immersive #settingsPanel,
html.viewer-immersive #infoPanel,
html.viewer-immersive #annotations,
html.viewer-immersive .revasive-panel,
html.viewer-immersive .revasive-mobile-overlay {
  display: none !important;
}

.spacer {
  flex-grow: 1;
}

#ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#ui * {
  pointer-events: auto;
}

#collisionFlash {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 12;
  filter: blur(8px);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.1) 16%, rgba(255, 255, 255, 0.035) 34%, rgba(255, 255, 255, 0) 55%);
}

#collisionFlash.active {
  animation: collisionFlashPulse 320ms cubic-bezier(0.17, 0.7, 0.35, 1);
}

@keyframes collisionFlashPulse {
  0% {
    opacity: 0;
  }
  24% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
  }
}
.walkHint {
  position: absolute;
  top: max(60px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  background-color: #0b0b0b;
  border: 1px solid #222222;
  color: #ffffff;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
}

/* branding link for third-party embeds */
#viewerBranding {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #0b0b0b;
  border: 1px solid #222222;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease;
  color: #cccccc;
}
#viewerBranding:hover {
  color: #ffffff;
}
#viewerBranding > .logo-mark {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
#viewerBranding > .logo-name {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
}

/* poster */
#poster {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--poster-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: none !important;
  will-change: filter, opacity;
}

/* loadingWrap */
#loadingWrap {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 0);
  width: auto;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loadingWrap > #loadingText {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#loadingWrap > #loadingBar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(34, 34, 34, 0.96), rgba(0, 0, 0, 0.98));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
#loadingWrap > #loadingBar::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-right-color: rgba(255, 255, 255, 0.24);
  animation: loadingSpinnerSpin 0.95s linear infinite;
}
#loadingWrap > #loadingBar::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* controlsWrap */
#controlsWrap {
  position: absolute;
  left: max(16px, env(safe-area-inset-left));
  right: calc(max(16px, env(safe-area-inset-right)) + var(--revasive-panel-offset));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
#controlsWrap.faded-in {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}
#controlsWrap html.viewer-panel-collapsed #controlsWrap {
  top: 12px;
  left: auto;
  right: 12px;
  bottom: 12px;
  width: var(--revasive-panel-collapsed-visible);
  justify-content: flex-end;
}
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #timelineContainer {
  display: none !important;
}
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer {
  flex-direction: column;
  align-items: stretch;
}
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer .buttonGroup {
  width: 100%;
  flex-direction: column;
}
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer .controlButton,
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer .controlButton.controlButton--labeled,
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer .revasive-theme-toggle {
  width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  justify-content: center;
}
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer .controlButtonLabel,
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer .revasive-theme-toggle > span {
  display: none;
}
#controlsWrap html.viewer-panel-collapsed #controlsWrap > #buttonsContainer .controlButton--help {
  border-right: 0;
  border-bottom: 1px solid #222222;
}
#controlsWrap.faded-out {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s ease-out;
}
#controlsWrap > #timelineContainer {
  height: 30px;
  cursor: pointer;
}
#controlsWrap > #timelineContainer > #line {
  width: 100%;
  height: 50%;
  border-bottom: 4px solid #d9d9d9;
}
#controlsWrap > #timelineContainer > #handle {
  position: absolute;
  top: 16.5px;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  background-color: #ffffff;
}
#controlsWrap > #timelineContainer > #time {
  position: absolute;
  top: 0;
  padding: 2px 4px;
  transform: translate(-50%, -100%);
  font-size: 12px;
  border-radius: 4px;
  color: #ffffff;
  background-color: rgba(11, 11, 11, 0.5);
}
#controlsWrap > #buttonsContainer {
  display: flex;
  gap: 8px;
}
#controlsWrap > #buttonsContainer .buttonGroup {
  display: flex;
  background: #0b0b0b;
  border: 1px solid #222222;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}
#controlsWrap > #buttonsContainer .buttonGroup:not(:has(> :not(.hidden))) {
  display: none;
}
#controlsWrap > #buttonsContainer {
  /* controlButton */
}
#controlsWrap > #buttonsContainer .controlButton {
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  background-color: transparent;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
#controlsWrap > #buttonsContainer .controlButton:hover {
  color: #ffffff;
  background-color: #1a1a1a;
  transform: translateY(-1px);
}
#controlsWrap > #buttonsContainer .controlButton {
  /* icon styling */
}
#controlsWrap > #buttonsContainer .controlButton > svg {
  display: block;
  margin: auto;
  width: 18px;
  height: 18px;
}
#controlsWrap > #buttonsContainer .controlButton > svg > g.stroke {
  fill: none;
  stroke: black;
  stroke-width: 2;
  stroke-linejoin: round;
  opacity: 0.22;
}
#controlsWrap > #buttonsContainer .controlButton > svg > g.fill {
  fill: currentColor;
  stroke: none;
}
#controlsWrap > #buttonsContainer .controlButton.controlButton--labeled {
  width: auto;
  min-width: 40px;
  padding: 0 12px;
  font-weight: 500;
}
#controlsWrap > #buttonsContainer .controlButton .controlButtonLabel {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
#controlsWrap > #buttonsContainer .controlButton.controlButton--help {
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  box-shadow: none;
  border-right: 1px solid #222222;
}
#controlsWrap > #buttonsContainer .controlButton.controlButton--help:hover {
  background: #1a1a1a;
}
#controlsWrap > #buttonsContainer .controlButton.controlButton--fullscreen {
  background: transparent;
}
#controlsWrap > #buttonsContainer .controlButton.controlButton--fullscreen:hover {
  background: #1a1a1a;
}
#controlsWrap > #buttonsContainer .controlButton {
  /* active highlight for simple toggle buttons (e.g. voxel overlay) */
}
#controlsWrap > #buttonsContainer .controlButton.active:not(.toggle) {
  color: #ffffff;
}
#controlsWrap > #buttonsContainer .controlButton {
  /* camera toggle styling */
}
#controlsWrap > #buttonsContainer .controlButton.toggle {
  background: linear-gradient(90deg, transparent 0%, transparent 50%, #ffffff 50%, #ffffff 100%);
  background-size: 200% 100%;
  background-position: 100% 0%;
  background-repeat: no-repeat;
  transition: background-position 0.1s ease-in-out;
}
#controlsWrap > #buttonsContainer .controlButton.toggle.left {
  border-radius: 4px 0px 0px 4px;
}
#controlsWrap > #buttonsContainer .controlButton.toggle.left:not(.active) {
  background-position: 0% 0%;
}
#controlsWrap > #buttonsContainer .controlButton.toggle.middle {
  border-radius: 0;
}
#controlsWrap > #buttonsContainer .controlButton.toggle.middle:not(.active) {
  background-position: 0% 0%;
}
#controlsWrap > #buttonsContainer .controlButton.toggle.right {
  border-radius: 0px 4px 4px 0px;
}
#controlsWrap > #buttonsContainer .controlButton.toggle.right:not(.active) {
  background-position: 200% 0%;
}

/* settingsPanel */
#settingsPanel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #222222;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 14px;
  color: #cccccc;
  background-color: #0b0b0b;
}
#settingsPanel > .settingsRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}
#settingsPanel > .settingsRow > button {
  flex-grow: 1;
  height: 34px;
  padding: 0 20px;
  border: 1px solid #222222;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  color: #888888;
  background-color: #111111;
  transition: background-color 250ms ease, color 250ms ease;
}
#settingsPanel > .settingsRow > button:hover {
  color: #ffffff;
  background-color: #1a1a1a;
}
#settingsPanel > .settingsRow > div {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  cursor: pointer;
  color: #888888;
}
#settingsPanel > .settingsRow > div.toggleSwitch {
  padding: 0 4px;
}
#settingsPanel > .settingsRow > div.toggleSwitch .toggleTrack {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background-color: #222222;
  position: relative;
  transition: background-color 200ms ease;
}
#settingsPanel > .settingsRow > div.toggleSwitch .toggleTrack .toggleThumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #555555;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 200ms ease, background-color 200ms ease;
}
#settingsPanel > .settingsRow > div.toggleSwitch.active .toggleTrack {
  background-color: #333333;
}
#settingsPanel > .settingsRow > div.toggleSwitch.active .toggleTrack .toggleThumb {
  transform: translateX(16px);
  background-color: #ffffff;
}
#settingsPanel > .settingsRow > div:hover {
  color: #cccccc;
}
#settingsPanel > .divider {
  width: 100%;
  height: 1px;
  margin: 8px 0;
  background-color: #222222;
}

/* infoPanel */
#infoPanel {
  position: absolute;
  left: max(16px, env(safe-area-inset-left));
  width: min(360px, 100vw - 32px);
  z-index: 30;
  pointer-events: none;
}
#infoPanel > #infoPanelContent {
  position: relative;
  width: 100%;
  max-height: min(68vh, 560px);
  border-radius: 10px;
  border: 1px solid #222222;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  color: #cccccc;
  background: #0b0b0b;
}
#infoPanel > #infoPanelContent::after {
  content: "";
  position: absolute;
  left: var(--help-panel-arrow-left, 18px);
  bottom: -10px;
  width: 18px;
  height: 18px;
  background: #0b0b0b;
  border-left: 1px solid #222222;
  border-bottom: 1px solid #222222;
  transform: rotate(-45deg);
}
#infoPanel > #infoPanelContent > #infoPanelClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  z-index: 2;
  transition: background-color 150ms ease, color 150ms ease;
}
#infoPanel > #infoPanelContent > #infoPanelClose:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}
#infoPanel > #infoPanelContent > #infoPanelClose > svg {
  width: 14px;
  height: 14px;
}
#infoPanel > #infoPanelContent > #viewerTitle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 16px 10px;
  flex-shrink: 0;
  background: #111111;
  border-bottom: 1px solid #222222;
  text-decoration: none;
  white-space: nowrap;
  color: #cccccc;
}
#infoPanel > #infoPanelContent > #viewerTitle > svg {
  height: 20px;
  width: auto;
  flex-shrink: 0;
}
#infoPanel > #infoPanelContent > #viewerTitle > svg > g.stroke {
  fill: black;
  stroke: black;
  stroke-width: 2;
  stroke-linejoin: round;
  opacity: 0.4;
}
#infoPanel > #infoPanelContent > #viewerTitle > svg > g.fill {
  fill: rgba(255, 255, 255, 0.86);
  stroke: none;
}
#infoPanel > #infoPanelContent > #viewerTitle > .title-name {
  font-size: 14px;
  font-weight: bold;
}
#infoPanel > #infoPanelContent > #viewerTitle > .title-version {
  font-size: 12px;
  font-weight: normal;
  color: #888888;
  margin-left: -2px;
}
#infoPanel > #infoPanelContent > #viewerTitle[href] {
  cursor: pointer;
  transition: color 150ms ease;
}
#infoPanel > #infoPanelContent > #viewerTitle[href]:hover {
  color: #ffffff;
}
#infoPanel > #infoPanelContent > #infoPanels {
  padding: 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
#infoPanel > #infoPanelContent > #infoPanels::-webkit-scrollbar {
  width: 6px;
}
#infoPanel > #infoPanelContent > #infoPanels::-webkit-scrollbar-track {
  background: transparent;
}
#infoPanel > #infoPanelContent > #infoPanels::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
#infoPanel > #infoPanelContent > #infoPanels h1 {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 0 8px 0;
  color: rgba(255, 255, 255, 0.78);
}
#infoPanel > #infoPanelContent > #infoPanels .control-section-intro,
#infoPanel > #infoPanelContent > #infoPanels .control-note {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}
#infoPanel > #infoPanelContent > #infoPanels .control-section-intro {
  margin-bottom: 14px;
}
#infoPanel > #infoPanelContent > #infoPanels .control-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
#infoPanel > #infoPanelContent > #infoPanels .control-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 5px 8px;
  margin: 0 -8px;
  border-radius: 6px;
  font-size: 13px;
}
#infoPanel > #infoPanelContent > #infoPanels .control-item > .control-action {
  text-align: left;
}
#infoPanel > #infoPanelContent > #infoPanels .control-item > .control-key {
  text-align: right;
  color: #888888;
  font-size: 12px;
}
#infoPanel > #infoPanelContent > #infoPanels .control-item:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}
#infoPanel > #infoPanelContent > #infoPanels .control-item.control-item--emphasis {
  background: rgba(255, 255, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
#infoPanel > #infoPanelContent > #infoPanels .control-spacer {
  margin: 14px 0;
}
#infoPanel > #infoPanelContent > #tabs {
  display: flex;
  gap: 24px;
  padding: 8px 16px;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid #222222;
}
#infoPanel > #infoPanelContent > #tabs > .tab {
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
  color: #888888;
  transition: color 150ms ease, border-color 150ms ease;
}
#infoPanel > #infoPanelContent > #tabs > .tab:hover {
  color: #ffffff;
}
#infoPanel > #infoPanelContent > #tabs > .tab.active {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

#infoPanel:not([data-placement=top]) > #infoPanelContent::after {
  display: none;
}

#joystickBase {
  position: absolute;
  width: 56px;
  height: 100px;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  touch-action: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2666666667) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.2666666667) 100%);
  background-color: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease;
}
#joystickBase > #joystick {
  position: absolute;
  left: 8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  touch-action: none;
  background-color: rgba(255, 255, 255, 0.5333333333);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: left 0.1s ease;
}
#joystickBase.mode-2d {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.2666666667) 100%);
  background-color: rgba(0, 0, 0, 0.2);
}
#joystickBase.mode-2d > #joystick {
  left: 30px;
}

#tooltip {
  display: none;
  position: absolute;
  border-radius: 4px;
  padding: 4px 4px;
  font-size: 12px;
  color: #cccccc;
  background-color: #0b0b0b;
}

#annotations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

#annotations * {
  pointer-events: auto;
}

/* annotationNav */
#annotationNav {
  pointer-events: none;
}
#annotationNav.faded-in {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}
#annotationNav.faded-out {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s ease-out;
}
#annotationNav > button {
  pointer-events: auto;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
  background-color: rgba(0, 0, 0, 0.3);
}
#annotationNav > button:hover {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
}
#annotationNav > button > svg {
  display: block;
}
#annotationNav > button > svg > g.stroke {
  fill: none;
  stroke: black;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
}
#annotationNav > button > svg > g.fill {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#annotationNav.desktop {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
}
#annotationNav.desktop > button {
  width: 34px;
  height: 34px;
  background-color: transparent;
}
#annotationNav.desktop > button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
#annotationNav.desktop > #annotationInfo {
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  white-space: nowrap;
  width: 240px;
}
#annotationNav.desktop > #annotationInfo > #annotationNavTitle {
  font-size: 14px;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
}
#annotationNav.touch {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#annotationNav.touch > #annotationInfo {
  display: none;
}
#annotationNav.touch > button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.3);
}
#annotationNav.touch > button:active {
  background-color: rgba(0, 0, 0, 0.4);
}
#annotationNav.touch > #annotationPrev {
  left: max(0px, env(safe-area-inset-left));
  border-radius: 0 6px 6px 0;
}
#annotationNav.touch > #annotationNext {
  right: max(0px, env(safe-area-inset-right));
  border-radius: 6px 0 0 6px;
}

/* Revasive Branding */
.revasive-logo-image {
  display: block;
  width: auto;
  height: 22px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

/* Revasive Poster Animation */
#poster.revasive-poster-visible {
  display: block;
  animation: posterPulse 2.4s ease-in-out infinite;
}

#poster.revasive-poster-exit {
  display: block;
  animation: posterExit 2s ease-in-out forwards;
}

#poster.fade-out {
  animation: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}

@keyframes posterPulse {
  0%, 100% {
    filter: blur(var(--poster-base-blur, 0px));
  }
  50% {
    filter: blur(calc(var(--poster-base-blur, 0px) + 2px));
  }
}
@keyframes posterExit {
  0% {
    opacity: 1;
    filter: blur(var(--poster-base-blur, 0px)) saturate(1);
  }
  35% {
    opacity: 1;
    filter: blur(var(--poster-base-blur, 0px)) saturate(1);
  }
  52% {
    opacity: 1;
    filter: blur(calc(var(--poster-base-blur, 0px) + 20px)) saturate(0.95);
  }
  64% {
    opacity: 0.95;
    filter: blur(calc(var(--poster-base-blur, 0px) + 14px)) saturate(0.97);
  }
  80% {
    opacity: 0.8;
    filter: blur(calc(var(--poster-base-blur, 0px) + 10px)) saturate(0.98);
  }
  90% {
    opacity: 0.55;
    filter: blur(calc(var(--poster-base-blur, 0px) + 6px)) saturate(0.99);
  }
  100% {
    opacity: 0;
    filter: blur(calc(var(--poster-base-blur, 0px) + 2px)) saturate(1);
  }
}
@keyframes loadingSpinnerSpin {
  to {
    transform: rotate(360deg);
  }
}
/* Revasive Loading */
#loadingWrap.fade-out {
  opacity: 0;
  transform: translate(-50%, 10px) scale(0.94);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Revasive Error State */
#revasive-error {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  z-index: 1000;
}

.revasive-error-content {
  text-align: center;
  color: #cccccc;
  max-width: 400px;
  padding: 40px;
}
.revasive-error-content h2 {
  font-size: 24px;
  margin: 16px 0 8px;
  color: #ffffff;
}
.revasive-error-content p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.revasive-error-content .revasive-error-contact a {
  color: #ffffff;
  text-decoration: none;
}

.revasive-error-icon {
  color: #888888;
}

/* Revasive Property Panel (Desktop) */
.revasive-panel {
  --revasive-panel-collapsed-visible: 72px;
  --revasive-panel-width: 320px;
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  height: auto;
  width: min(var(--revasive-panel-width), 100vw - 24px);
  max-width: min(26vw, 100vw - 24px);
  background: #0b0b0b;
  border: 1px solid #222222;
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  display: flex;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.revasive-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
}
.revasive-panel.closed {
  transform: translateX(calc(100% - var(--revasive-panel-collapsed-visible)));
}

.revasive-panel-toggle {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #1a1a1a;
  border: 1px solid #222222;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 150ms ease, transform 150ms ease;
}
.revasive-panel-toggle:hover {
  background: #222222;
  transform: scale(1.05);
}
.revasive-panel-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}
.revasive-panel-toggle svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.closed .revasive-panel-toggle svg {
  transform: rotate(180deg);
}

.revasive-panel-content {
  padding: 62px 20px 24px;
  width: 100%;
  height: 100%;
  overscroll-behavior: contain;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.2s ease;
}

html.viewer-route .revasive-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  border-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: min(var(--revasive-panel-width), 100vw - 72px);
  max-width: min(420px, 100vw - 72px);
}

html.viewer-route .revasive-panel-content {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.revasive-panel.closed .revasive-panel-content {
  opacity: 0;
  pointer-events: none;
}

.revasive-panel-header {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #222222;
}

.revasive-panel-address {
  font-size: 30px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.revasive-panel-location {
  font-size: 12px;
  font-family: var(--font-mono);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.revasive-panel-mls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.revasive-panel-mls:hover {
  color: #ffd2a6;
}

.revasive-panel-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, 0.9fr);
  gap: 18px;
  margin-bottom: 20px;
  align-items: start;
}

.revasive-panel-details {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #cccccc;
}

.revasive-panel-pricing {
  display: grid;
  gap: 10px;
}

.revasive-price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid #222222;
}

.revasive-price-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.revasive-price-value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.revasive-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.revasive-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.56);
}
.revasive-stat-icon > svg {
  width: 16px;
  height: 16px;
}

.revasive-panel-agent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 14px;
  background: #111111;
  border: 1px solid #222222;
  border-left: 2px solid #444444;
  border-radius: 8px;
}

.revasive-agent-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.revasive-agent-photo,
.revasive-agent-avatar {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  border: 1px solid #222222;
}

.revasive-agent-photo {
  -o-object-fit: cover;
     object-fit: cover;
}

.revasive-agent-avatar,
.revasive-compact-avatar,
.revasive-mobile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.revasive-agent-avatar {
  font-size: 24px;
}

.revasive-agent-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  align-self: stretch;
}
.revasive-agent-info .revasive-agent-name {
  font-size: 30px;
  color: #ffffff;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.revasive-agent-info .revasive-agent-company-row {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}
.revasive-agent-info .revasive-agent-company {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.revasive-panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.revasive-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 32px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  width: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  text-align: left;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  cursor: pointer;
}
.revasive-btn .revasive-btn-main {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.revasive-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.revasive-copy-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.58);
}

.revasive-copy-feedback {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: none;
}

.revasive-copy-icon {
  opacity: 0.7;
  transition: opacity 0.14s ease;
}

.revasive-copy-trigger.is-copied .revasive-copy-feedback {
  display: inline;
}
.revasive-copy-trigger.is-copied .revasive-copy-icon {
  display: none;
}

.revasive-btn-phone {
  background: #111111;
  border-color: #222222;
  border-radius: 6px;
  color: #ffffff;
}
.revasive-btn-phone:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.revasive-btn-email {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 6px;
  color: #ffffff;
}
.revasive-btn-email:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

.revasive-panel-section {
  margin-top: 18px;
}

.revasive-panel-section-title {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 10px;
}

.revasive-panel-compact {
  position: absolute;
  top: 52px;
  left: 0;
  width: var(--revasive-panel-collapsed-visible);
  padding: 8px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.revasive-panel.closed .revasive-panel-compact {
  opacity: 1;
  pointer-events: auto;
}

.revasive-compact-photo,
.revasive-compact-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #222222;
}

.revasive-compact-photo {
  -o-object-fit: cover;
     object-fit: cover;
}

.revasive-compact-avatar {
  font-size: 13px;
}

.revasive-compact-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 0;
  border-top: 1px solid #222222;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.revasive-compact-item.is-copied::after {
  content: "Copied!";
  position: absolute;
  top: 100%;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.revasive-compact-item--action {
  padding: 8px 0;
}

.revasive-compact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.revasive-compact-icon > svg {
  width: 16px;
  height: 16px;
}

.revasive-compact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.revasive-panel-placeholder {
  padding: 14px;
  border: 1px solid #222222;
  border-radius: 6px;
  background: #111111;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.6;
}

.revasive-panel-placeholder--media {
  min-height: 120px;
  display: flex;
  align-items: center;
}

.revasive-panel-placeholder--description {
  min-height: 220px;
  white-space: pre-wrap;
}

/* Revasive Mobile Overlay */
.revasive-mobile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, #000000);
  z-index: 100;
}

.revasive-mobile-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.revasive-mobile-agent {
  flex: 1;
}
.revasive-mobile-agent strong {
  font-size: 13px;
  color: #ffffff;
}

.revasive-mobile-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.revasive-mobile-photo,
.revasive-mobile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #222222;
}

.revasive-mobile-photo {
  -o-object-fit: cover;
     object-fit: cover;
}

.revasive-mobile-avatar {
  font-size: 11px;
}

.revasive-mobile-actions {
  display: flex;
  gap: 8px;
}

.revasive-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #222222;
  color: #ffffff;
  text-decoration: none;
}
.revasive-mobile-btn:hover {
  background: #222222;
}

/* Revasive Watermark */
#revasive-watermark {
  position: absolute;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  opacity: 0.32;
  z-index: 50;
  pointer-events: none;
  display: inline-flex;
}
#revasive-watermark img {
  max-height: 36px;
  max-width: 132px;
}

#revasive-watermark.is-home-link {
  opacity: 0.48;
  pointer-events: auto;
}

/* ============================================================
   Glass Mode Variant
   Activated by adding .viewer-glass to <html>
   ============================================================ */
html.viewer-glass .revasive-panel {
  background: rgba(12, 12, 12, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: -14px 0 34px rgba(0, 0, 0, 0.18), 0 8px 32px rgba(0, 0, 0, 0.12);
}
html.viewer-glass .revasive-panel::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%);
}
html.viewer-glass .revasive-panel-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
html.viewer-glass .revasive-panel-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
html.viewer-glass .revasive-panel-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
html.viewer-glass .revasive-panel-agent {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  border-left-color: rgba(255, 255, 255, 0.2);
}
html.viewer-glass .revasive-agent-photo {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}
html.viewer-glass .revasive-btn-phone,
html.viewer-glass .revasive-btn-email {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}
html.viewer-glass .revasive-btn-phone:hover,
html.viewer-glass .revasive-btn-email:hover {
  background: rgba(255, 255, 255, 0.12);
}
html.viewer-glass .revasive-price-item {
  border-left-color: rgba(255, 255, 255, 0.08);
}
html.viewer-glass .revasive-panel-placeholder {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
}
html.viewer-glass .revasive-compact-photo {
  border-color: rgba(255, 255, 255, 0.08);
}
html.viewer-glass .revasive-compact-item {
  border-top-color: rgba(255, 255, 255, 0.06);
}
html.viewer-glass #viewerBranding {
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html.viewer-glass #controlsWrap > #buttonsContainer .buttonGroup {
  background: rgba(8, 8, 8, 0.58);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}
html.viewer-glass #settingsPanel {
  background-color: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.08);
}
html.viewer-glass #infoPanelContent {
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.08);
}
html.viewer-glass #infoPanelContent::after {
  background: rgba(8, 8, 8, 0.82);
  border-left-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
html.viewer-glass .revasive-mobile-btn {
  background: rgba(255, 255, 255, 0.15);
  border-color: transparent;
}
html.viewer-glass .revasive-mobile-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Theme Toggle Button */
.revasive-theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 36px;
  background: #0b0b0b;
  border: 1px solid #222222;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  white-space: nowrap;
}
.revasive-theme-toggle:hover {
  color: #ffffff;
  background: #1a1a1a;
}
.revasive-theme-toggle.active {
  color: #ffffff;
  background: #1a1a1a;
  border-color: #444444;
}
.revasive-theme-toggle > svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

html.viewer-glass .revasive-theme-toggle {
  background: rgba(8, 8, 8, 0.58);
  border-color: rgba(255, 255, 255, 0.08);
}
html.viewer-glass .revasive-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}
html.viewer-glass .revasive-theme-toggle.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Mobile Panel Override */
@media (max-width: 768px) {
  .revasive-panel {
    --revasive-panel-collapsed-visible: 60px;
    top: 12px;
    bottom: 12px;
    right: 8px;
    height: auto;
    max-height: calc(100% - 24px);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  .revasive-panel-toggle {
    top: 14px;
    left: 10px;
    width: 36px;
    height: 36px;
  }
  .revasive-panel-content {
    padding: 60px 16px 20px;
  }
  .revasive-panel-details {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/*# sourceMappingURL=viewer.css.map */